@majoo-ui/react 1.60.24 → 1.60.25-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.umd.js CHANGED
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('prop-types'), require('@stitches/react'), require('@majoo-ui/core'), require('react-i18next'), require('moment'), require('@majoo-ui/icons'), require('react/jsx-runtime'), require('@radix-ui/react-avatar'), require('@radix-ui/react-tooltip'), require('@radix-ui/react-progress'), require('react-transition-group'), require('@majoo-ui/helpers'), require('superagent'), require('@radix-ui/react-label'), require('@radix-ui/react-checkbox'), require('@radix-ui/react-radio-group'), require('react-hook-form'), require('@radix-ui/react-switch'), require('downshift'), require('react-infinite-scroller'), require('lodash.debounce'), require('@floating-ui/react'), require('otp-input-react'), require('@radix-ui/react-dialog'), require('@radix-ui/react-toggle-group'), require('dayzed'), require('@radix-ui/react-separator'), require('@radix-ui/react-slider'), require('@radix-ui/react-tabs'), require('@radix-ui/react-accordion'), require('react-table'), require('react-dom'), require('@radix-ui/react-alert-dialog'), require('@radix-ui/react-dropdown-menu'), require('@radix-ui/react-aspect-ratio'), require('react-color/lib/components/common'), require('react-color/lib/helpers/color'), require('react-step-wizard'), require('@monsonjeremy/react-leaflet'), require('leaflet/dist/leaflet.css'), require('leaflet-defaulticon-compatibility/dist/leaflet-defaulticon-compatibility.css'), require('leaflet-defaulticon-compatibility'), require('recharts'), require('draft-js'), require('react-draft-wysiwyg'), require('react-contextmenu'), require('react-loading-skeleton'), require('react-loading-skeleton/dist/skeleton.css'), require('react-virtual'), require('react-ui-scrollspy'), require('react-image-crop'), require('browser-image-compression'), require('react-table-sticky')) :
3
- typeof define === 'function' && define.amd ? define(['exports', 'react', 'prop-types', '@stitches/react', '@majoo-ui/core', 'react-i18next', 'moment', '@majoo-ui/icons', 'react/jsx-runtime', '@radix-ui/react-avatar', '@radix-ui/react-tooltip', '@radix-ui/react-progress', 'react-transition-group', '@majoo-ui/helpers', 'superagent', '@radix-ui/react-label', '@radix-ui/react-checkbox', '@radix-ui/react-radio-group', 'react-hook-form', '@radix-ui/react-switch', 'downshift', 'react-infinite-scroller', 'lodash.debounce', '@floating-ui/react', 'otp-input-react', '@radix-ui/react-dialog', '@radix-ui/react-toggle-group', 'dayzed', '@radix-ui/react-separator', '@radix-ui/react-slider', '@radix-ui/react-tabs', '@radix-ui/react-accordion', 'react-table', 'react-dom', '@radix-ui/react-alert-dialog', '@radix-ui/react-dropdown-menu', '@radix-ui/react-aspect-ratio', 'react-color/lib/components/common', 'react-color/lib/helpers/color', 'react-step-wizard', '@monsonjeremy/react-leaflet', 'leaflet/dist/leaflet.css', 'leaflet-defaulticon-compatibility/dist/leaflet-defaulticon-compatibility.css', 'leaflet-defaulticon-compatibility', 'recharts', 'draft-js', 'react-draft-wysiwyg', 'react-contextmenu', 'react-loading-skeleton', 'react-loading-skeleton/dist/skeleton.css', 'react-virtual', 'react-ui-scrollspy', 'react-image-crop', 'browser-image-compression', 'react-table-sticky'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.React = {}, global.React, global.PropTypes, global.react, global.core, global.reactI18next, global.moment, global.icons, global.jsxRuntime, global.AvatarPrimitive, global.TooltipPrimitive, global.ProgressPrimitive, global.reactTransitionGroup, global.helpers, global.request, global.LabelPrimitive, global.CheckboxPrimitive, global.RadioGroupPrimitive, global.reactHookForm, global.SwitchPrimitive, global.Downshift, global.InfiniteScroll, global.debounce, global.react$1, global.OTPInput, global.DialogPrimitive, global.ToggleGroupPrimitive, global.dayzed, global.SeparatorPrimitive, global.SliderPrimitive, global.TabsPrimitive, global.AccordionPrimitive, global.reactTable, global.ReactDOM, global.ADialog, global.DropdownMenuPrimitive, global.AspectRatioPrimitive, global.common, global.color, global.StepWizard$1, global.reactLeaflet, null, null, null, global.recharts, global.draftJs, global.reactDraftWysiwyg, global.reactContextmenu, global.ReactSkeleton, null, global.reactVirtual, global.ScrollSpy, global.ReactCrop, global.imageCompressionComponent, global.reactTableSticky));
5
- })(this, (function (exports, React, PropTypes, react, core, reactI18next, moment, icons, jsxRuntime, AvatarPrimitive, TooltipPrimitive, ProgressPrimitive, reactTransitionGroup, helpers, request, LabelPrimitive, CheckboxPrimitive, RadioGroupPrimitive, reactHookForm, SwitchPrimitive, Downshift, InfiniteScroll, debounce, react$1, OTPInput, DialogPrimitive, ToggleGroupPrimitive, dayzed, SeparatorPrimitive, SliderPrimitive, TabsPrimitive, AccordionPrimitive, reactTable, ReactDOM, ADialog, DropdownMenuPrimitive, AspectRatioPrimitive, common, color, StepWizard$1, reactLeaflet, leaflet_css, leafletDefaulticonCompatibility_css, leafletDefaulticonCompatibility, recharts, draftJs, reactDraftWysiwyg, reactContextmenu, ReactSkeleton, skeleton_css, reactVirtual, ScrollSpy, ReactCrop, imageCompressionComponent, reactTableSticky) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('prop-types'), require('@stitches/react'), require('@majoo-ui/core'), require('react-i18next'), require('moment'), require('react/jsx-runtime'), require('@majoo-ui/icons'), require('@radix-ui/react-avatar'), require('@radix-ui/react-tooltip'), require('@radix-ui/react-progress'), require('react-transition-group'), require('@majoo-ui/helpers'), require('superagent'), require('@radix-ui/react-label'), require('@radix-ui/react-checkbox'), require('@radix-ui/react-radio-group'), require('react-hook-form'), require('@radix-ui/react-switch'), require('downshift'), require('react-infinite-scroller'), require('lodash.debounce'), require('@floating-ui/react'), require('otp-input-react'), require('@radix-ui/react-dialog'), require('@radix-ui/react-toggle-group'), require('dayzed'), require('@radix-ui/react-separator'), require('@radix-ui/react-slider'), require('@radix-ui/react-tabs'), require('@radix-ui/react-accordion'), require('react-table'), require('react-dom'), require('@radix-ui/react-alert-dialog'), require('@radix-ui/react-dropdown-menu'), require('@radix-ui/react-aspect-ratio'), require('react-color/lib/components/common'), require('react-color/lib/helpers/color'), require('react-step-wizard'), require('@monsonjeremy/react-leaflet'), require('leaflet/dist/leaflet.css'), require('leaflet-defaulticon-compatibility/dist/leaflet-defaulticon-compatibility.css'), require('leaflet-defaulticon-compatibility'), require('recharts'), require('draft-js'), require('react-draft-wysiwyg'), require('react-contextmenu'), require('react-loading-skeleton'), require('react-loading-skeleton/dist/skeleton.css'), require('react-virtual'), require('react-ui-scrollspy'), require('react-image-crop'), require('browser-image-compression'), require('react-table-sticky')) :
3
+ typeof define === 'function' && define.amd ? define(['exports', 'react', 'prop-types', '@stitches/react', '@majoo-ui/core', 'react-i18next', 'moment', 'react/jsx-runtime', '@majoo-ui/icons', '@radix-ui/react-avatar', '@radix-ui/react-tooltip', '@radix-ui/react-progress', 'react-transition-group', '@majoo-ui/helpers', 'superagent', '@radix-ui/react-label', '@radix-ui/react-checkbox', '@radix-ui/react-radio-group', 'react-hook-form', '@radix-ui/react-switch', 'downshift', 'react-infinite-scroller', 'lodash.debounce', '@floating-ui/react', 'otp-input-react', '@radix-ui/react-dialog', '@radix-ui/react-toggle-group', 'dayzed', '@radix-ui/react-separator', '@radix-ui/react-slider', '@radix-ui/react-tabs', '@radix-ui/react-accordion', 'react-table', 'react-dom', '@radix-ui/react-alert-dialog', '@radix-ui/react-dropdown-menu', '@radix-ui/react-aspect-ratio', 'react-color/lib/components/common', 'react-color/lib/helpers/color', 'react-step-wizard', '@monsonjeremy/react-leaflet', 'leaflet/dist/leaflet.css', 'leaflet-defaulticon-compatibility/dist/leaflet-defaulticon-compatibility.css', 'leaflet-defaulticon-compatibility', 'recharts', 'draft-js', 'react-draft-wysiwyg', 'react-contextmenu', 'react-loading-skeleton', 'react-loading-skeleton/dist/skeleton.css', 'react-virtual', 'react-ui-scrollspy', 'react-image-crop', 'browser-image-compression', 'react-table-sticky'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.React = {}, global.React, global.PropTypes, global.react, global.core, global.reactI18next, global.moment, global.jsxRuntime, global.icons, global.AvatarPrimitive, global.TooltipPrimitive, global.ProgressPrimitive, global.reactTransitionGroup, global.helpers, global.request, global.LabelPrimitive, global.CheckboxPrimitive, global.RadioGroupPrimitive, global.reactHookForm, global.SwitchPrimitive, global.Downshift, global.InfiniteScroll, global.debounce, global.react$1, global.OTPInput, global.DialogPrimitive, global.ToggleGroupPrimitive, global.dayzed, global.SeparatorPrimitive, global.SliderPrimitive, global.TabsPrimitive, global.AccordionPrimitive, global.reactTable, global.ReactDOM, global.ADialog, global.DropdownMenuPrimitive, global.AspectRatioPrimitive, global.common, global.color, global.StepWizard$1, global.reactLeaflet, null, null, null, global.recharts, global.draftJs, global.reactDraftWysiwyg, global.reactContextmenu, global.ReactSkeleton, null, global.reactVirtual, global.ScrollSpy, global.ReactCrop, global.imageCompressionComponent, global.reactTableSticky));
5
+ })(this, (function (exports, React, PropTypes, react, core, reactI18next, moment, jsxRuntime, icons, AvatarPrimitive, TooltipPrimitive, ProgressPrimitive, reactTransitionGroup, helpers, request, LabelPrimitive, CheckboxPrimitive, RadioGroupPrimitive, reactHookForm, SwitchPrimitive, Downshift, InfiniteScroll, debounce, react$1, OTPInput, DialogPrimitive, ToggleGroupPrimitive, dayzed, SeparatorPrimitive, SliderPrimitive, TabsPrimitive, AccordionPrimitive, reactTable, ReactDOM, ADialog, DropdownMenuPrimitive, AspectRatioPrimitive, common, color, StepWizard$1, reactLeaflet, leaflet_css, leafletDefaulticonCompatibility_css, leafletDefaulticonCompatibility, recharts, draftJs, reactDraftWysiwyg, reactContextmenu, ReactSkeleton, skeleton_css, reactVirtual, ScrollSpy, ReactCrop, imageCompressionComponent, reactTableSticky) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -57,7 +57,7 @@
57
57
  var ReactCrop__default = /*#__PURE__*/_interopDefaultLegacy(ReactCrop);
58
58
  var imageCompressionComponent__default = /*#__PURE__*/_interopDefaultLegacy(imageCompressionComponent);
59
59
 
60
- var _jsxFileName$12 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\majoo-provider\\ThemeProvider.js";
60
+ var _jsxFileName$$ = "/home/alfiantryp/Project/majoo-ui/packages/react/src/majoo-provider/ThemeProvider.js";
61
61
  function ThemeProvider({
62
62
  theme,
63
63
  children
@@ -66,7 +66,7 @@
66
66
  className: theme,
67
67
  __self: this,
68
68
  __source: {
69
- fileName: _jsxFileName$12,
69
+ fileName: _jsxFileName$$,
70
70
  lineNumber: 5,
71
71
  columnNumber: 10
72
72
  }
@@ -1503,7 +1503,7 @@
1503
1503
  globalStyles();
1504
1504
  };
1505
1505
 
1506
- var _jsxFileName$11 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\majoo-provider\\MajooProvider.js";
1506
+ var _jsxFileName$_ = "/home/alfiantryp/Project/majoo-ui/packages/react/src/majoo-provider/MajooProvider.js";
1507
1507
  function MajooProvider({
1508
1508
  children,
1509
1509
  theme: theme$1 = theme,
@@ -1519,7 +1519,7 @@
1519
1519
  theme: theme$1,
1520
1520
  __self: this,
1521
1521
  __source: {
1522
- fileName: _jsxFileName$11,
1522
+ fileName: _jsxFileName$_,
1523
1523
  lineNumber: 14,
1524
1524
  columnNumber: 5
1525
1525
  }
@@ -1532,7 +1532,7 @@
1532
1532
  disableGlobalStyle: PropTypes__default["default"].bool
1533
1533
  };
1534
1534
 
1535
- const Box = styled('div', {
1535
+ var Box = styled('div', {
1536
1536
  variants: {
1537
1537
  mobileOnly: {
1538
1538
  true: {
@@ -1563,7 +1563,7 @@
1563
1563
  return variants;
1564
1564
  }
1565
1565
 
1566
- const Flex$1 = styled('div', {
1566
+ var Flex$1 = styled('div', {
1567
1567
  display: 'flex',
1568
1568
  variants: {
1569
1569
  direction: {
@@ -1628,30 +1628,48 @@
1628
1628
  flexWrap: 'wrap-reverse'
1629
1629
  }
1630
1630
  },
1631
- gap: seqNumberVariants$1(value => ({
1632
- gap: `$spacing-${value < 10 ? '0' + value : value}`
1633
- }), 12),
1634
- m: seqNumberVariants$1(value => ({
1635
- m: `$spacing-${value < 10 ? '0' + value : value}`
1636
- }), 12),
1637
- mt: seqNumberVariants$1(value => ({
1638
- mt: `$spacing-${value < 10 ? '0' + value : value}`
1639
- }), 12),
1640
- mb: seqNumberVariants$1(value => ({
1641
- mb: `$spacing-${value < 10 ? '0' + value : value}`
1642
- }), 12),
1643
- mr: seqNumberVariants$1(value => ({
1644
- mr: `$spacing-${value < 10 ? '0' + value : value}`
1645
- }), 12),
1646
- ml: seqNumberVariants$1(value => ({
1647
- ml: `$spacing-${value < 10 ? '0' + value : value}`
1648
- }), 12),
1649
- mx: seqNumberVariants$1(value => ({
1650
- mx: `$spacing-${value < 10 ? '0' + value : value}`
1651
- }), 12),
1652
- my: seqNumberVariants$1(value => ({
1653
- my: `$spacing-${value < 10 ? '0' + value : value}`
1654
- }), 12),
1631
+ gap: seqNumberVariants$1(function (value) {
1632
+ return {
1633
+ gap: "$spacing-".concat(value < 10 ? '0' + value : value)
1634
+ };
1635
+ }, 12),
1636
+ m: seqNumberVariants$1(function (value) {
1637
+ return {
1638
+ margin: "$spacing-".concat(value < 10 ? '0' + value : value)
1639
+ };
1640
+ }, 12),
1641
+ mt: seqNumberVariants$1(function (value) {
1642
+ return {
1643
+ marginTop: "$spacing-".concat(value < 10 ? '0' + value : value)
1644
+ };
1645
+ }, 12),
1646
+ mb: seqNumberVariants$1(function (value) {
1647
+ return {
1648
+ marginBottom: "$spacing-".concat(value < 10 ? '0' + value : value)
1649
+ };
1650
+ }, 12),
1651
+ mr: seqNumberVariants$1(function (value) {
1652
+ return {
1653
+ marginRight: "$spacing-".concat(value < 10 ? '0' + value : value)
1654
+ };
1655
+ }, 12),
1656
+ ml: seqNumberVariants$1(function (value) {
1657
+ return {
1658
+ marginLeft: "$spacing-".concat(value < 10 ? '0' + value : value)
1659
+ };
1660
+ }, 12),
1661
+ mx: seqNumberVariants$1(function (value) {
1662
+ return {
1663
+ marginRight: "$spacing-".concat(value < 10 ? '0' + value : value),
1664
+ marginLeft: "$spacing-".concat(value < 10 ? '0' + value : value)
1665
+ };
1666
+ }, 12),
1667
+ my: seqNumberVariants$1(function (value) {
1668
+ return {
1669
+ marginTop: "$spacing-".concat(value < 10 ? '0' + value : value),
1670
+ marginBottom: "$spacing-".concat(value < 10 ? '0' + value : value)
1671
+ };
1672
+ }, 12),
1655
1673
  mobileOnly: {
1656
1674
  true: {
1657
1675
  '@lg': {
@@ -1669,29 +1687,278 @@
1669
1687
  }
1670
1688
  }
1671
1689
  });
1672
- Flex$1.propTypes = {
1673
- direction: PropTypes__default["default"].string,
1674
- align: PropTypes__default["default"].string,
1675
- justify: PropTypes__default["default"].string,
1676
- wrap: PropTypes__default["default"].string,
1677
- gap: PropTypes__default["default"].number,
1678
- m: PropTypes__default["default"].number,
1679
- mt: PropTypes__default["default"].number,
1680
- mb: PropTypes__default["default"].number,
1681
- mr: PropTypes__default["default"].number,
1682
- ml: PropTypes__default["default"].number,
1683
- mx: PropTypes__default["default"].number,
1684
- my: PropTypes__default["default"].number
1685
- };
1686
1690
  Flex$1.defaultProps = {
1687
1691
  direction: 'row',
1688
1692
  align: 'stretch',
1689
1693
  justify: 'start',
1690
- wrap: 'noWrap',
1691
- gap: 0
1694
+ wrap: 'noWrap'
1692
1695
  };
1693
1696
  Flex$1.displayName = 'Flex';
1694
1697
 
1698
+ var GridComponent = styled('div', {
1699
+ display: 'grid',
1700
+ variants: {
1701
+ align: {
1702
+ start: {
1703
+ alignItems: 'start'
1704
+ },
1705
+ center: {
1706
+ alignItems: 'center'
1707
+ },
1708
+ end: {
1709
+ alignItems: 'end'
1710
+ },
1711
+ stretch: {
1712
+ alignItems: 'stretch'
1713
+ },
1714
+ baseline: {
1715
+ alignItems: 'baseline'
1716
+ }
1717
+ },
1718
+ justify: {
1719
+ start: {
1720
+ justifyContent: 'start'
1721
+ },
1722
+ center: {
1723
+ justifyContent: 'center'
1724
+ },
1725
+ end: {
1726
+ justifyContent: 'end'
1727
+ },
1728
+ between: {
1729
+ justifyContent: 'space-between'
1730
+ }
1731
+ },
1732
+ flow: {
1733
+ row: {
1734
+ gridAutoFlow: 'row'
1735
+ },
1736
+ column: {
1737
+ gridAutoFlow: 'column'
1738
+ },
1739
+ dense: {
1740
+ gridAutoFlow: 'dense'
1741
+ },
1742
+ rowDense: {
1743
+ gridAutoFlow: 'row dense'
1744
+ },
1745
+ columnDense: {
1746
+ gridAutoFlow: 'column dense'
1747
+ }
1748
+ },
1749
+ columns: seqNumberVariants$1(function (value) {
1750
+ return {
1751
+ gridTemplateColumns: "repeat(".concat(value, ", 1fr)")
1752
+ };
1753
+ }, 10),
1754
+ rows: seqNumberVariants$1(function (value) {
1755
+ return {
1756
+ gridTemplateRows: "repeat(".concat(value, ", 1fr)")
1757
+ };
1758
+ }, 10),
1759
+ placeItems: {
1760
+ stretch: {
1761
+ placeItems: 'stretch'
1762
+ },
1763
+ start: {
1764
+ placeItems: 'start'
1765
+ },
1766
+ end: {
1767
+ placeItems: 'end'
1768
+ },
1769
+ center: {
1770
+ placeItems: 'center'
1771
+ },
1772
+ left: {
1773
+ placeItems: 'left'
1774
+ },
1775
+ right: {
1776
+ placeItems: 'right'
1777
+ }
1778
+ },
1779
+ gap: {
1780
+ 1: {
1781
+ gap: '$spacing-03'
1782
+ },
1783
+ 2: {
1784
+ gap: '$spacing-05'
1785
+ },
1786
+ 3: {
1787
+ gap: '$spacing-06'
1788
+ },
1789
+ 4: {
1790
+ gap: '$spacing-07'
1791
+ },
1792
+ 5: {
1793
+ gap: '$spacing-08'
1794
+ },
1795
+ 6: {
1796
+ gap: '$spacing-09'
1797
+ },
1798
+ 7: {
1799
+ gap: '$spacing-10'
1800
+ },
1801
+ 8: {
1802
+ gap: '$spacing-11'
1803
+ },
1804
+ 9: {
1805
+ gap: '$spacing-12'
1806
+ }
1807
+ },
1808
+ gapX: {
1809
+ normal: {
1810
+ columnGap: 'normal'
1811
+ },
1812
+ 1: {
1813
+ columnGap: '$spacing-03'
1814
+ },
1815
+ 2: {
1816
+ columnGap: '$spacing-05'
1817
+ },
1818
+ 3: {
1819
+ columnGap: '$spacing-06'
1820
+ },
1821
+ 4: {
1822
+ columnGap: '$spacing-07'
1823
+ },
1824
+ 5: {
1825
+ columnGap: '$spacing-08'
1826
+ },
1827
+ 6: {
1828
+ columnGap: '$spacing-09'
1829
+ },
1830
+ 7: {
1831
+ columnGap: '$spacing-10'
1832
+ },
1833
+ 8: {
1834
+ columnGap: '$spacing-11'
1835
+ },
1836
+ 9: {
1837
+ columnGap: '$spacing-12'
1838
+ }
1839
+ },
1840
+ gapY: {
1841
+ 1: {
1842
+ rowGap: '$spacing-03'
1843
+ },
1844
+ 2: {
1845
+ rowGap: '$spacing-05'
1846
+ },
1847
+ 3: {
1848
+ rowGap: '$spacing-06'
1849
+ },
1850
+ 4: {
1851
+ rowGap: '$spacing-07'
1852
+ },
1853
+ 5: {
1854
+ rowGap: '$spacing-08'
1855
+ },
1856
+ 6: {
1857
+ rowGap: '$spacing-09'
1858
+ },
1859
+ 7: {
1860
+ rowGap: '$spacing-10'
1861
+ },
1862
+ 8: {
1863
+ rowGap: '$spacing-11'
1864
+ },
1865
+ 9: {
1866
+ rowGap: '$spacing-12'
1867
+ }
1868
+ },
1869
+ mobileOnly: {
1870
+ true: {
1871
+ '@lg': {
1872
+ display: 'none !important'
1873
+ }
1874
+ }
1875
+ },
1876
+ desktopOnly: {
1877
+ true: {
1878
+ display: 'none !important',
1879
+ '@lg': {
1880
+ display: 'grid !important'
1881
+ }
1882
+ }
1883
+ }
1884
+ }
1885
+ });
1886
+ var Grid = function Grid(_a) {
1887
+ var children = _a.children,
1888
+ props = __rest(_a, ["children"]);
1889
+ return jsxRuntime.jsx(GridComponent, __assign({}, props, {
1890
+ css: __assign(__assign({}, props.css), {
1891
+ gridAutoColumns: props.autoColumns,
1892
+ gridAutoRows: props.autoRows,
1893
+ gridTemplateColumns: props.templateColumns,
1894
+ gridTemplateRows: props.templateRows
1895
+ })
1896
+ }, {
1897
+ children: children
1898
+ }), void 0);
1899
+ };
1900
+ Grid.propTypes = {
1901
+ align: PropTypes__default["default"].string,
1902
+ justify: PropTypes__default["default"].string,
1903
+ autoColumns: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1904
+ autoRows: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1905
+ autoFlow: PropTypes__default["default"].string,
1906
+ templateColumns: PropTypes__default["default"].string,
1907
+ templateRows: PropTypes__default["default"].string,
1908
+ columns: PropTypes__default["default"].number,
1909
+ rows: PropTypes__default["default"].number,
1910
+ gap: PropTypes__default["default"].number,
1911
+ gapX: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1912
+ gapY: PropTypes__default["default"].number
1913
+ };
1914
+ Grid.displayName = 'Grid';
1915
+ function spanFn(value) {
1916
+ return value === 'auto' ? 'auto' : "span ".concat(value, "/span ").concat(value);
1917
+ }
1918
+ var GridItemComponent = styled('div', {
1919
+ variants: {
1920
+ colSpan: __assign({
1921
+ auto: spanFn('auto')
1922
+ }, seqNumberVariants$1(function (value) {
1923
+ return {
1924
+ gridColumn: spanFn(value)
1925
+ };
1926
+ }, 10)),
1927
+ rowSpan: __assign({
1928
+ auto: spanFn('auto')
1929
+ }, seqNumberVariants$1(function (value) {
1930
+ return {
1931
+ gridRow: spanFn(value)
1932
+ };
1933
+ }, 10))
1934
+ }
1935
+ });
1936
+ var GridItem = function GridItem(_a) {
1937
+ var children = _a.children,
1938
+ props = __rest(_a, ["children"]);
1939
+ return jsxRuntime.jsx(GridItemComponent, __assign({}, props, {
1940
+ css: __assign(__assign({}, props.css), {
1941
+ gridArea: props.area,
1942
+ gridColumnStart: props.colStart,
1943
+ gridColumnEnd: props.colEnd,
1944
+ gridRowStart: props.rowStart,
1945
+ gridRowEnd: props.rowEnd
1946
+ })
1947
+ }, {
1948
+ children: children
1949
+ }), void 0);
1950
+ };
1951
+ GridItem.propTypes = {
1952
+ gridArea: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1953
+ colSpan: PropTypes__default["default"].number,
1954
+ rowSpan: PropTypes__default["default"].number,
1955
+ colStart: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1956
+ colEnd: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1957
+ rowStart: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1958
+ rowEnd: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number])
1959
+ };
1960
+ GridItem.displayName = 'Grid Item';
1961
+
1695
1962
  function _extends() {
1696
1963
  _extends = Object.assign ? Object.assign.bind() : function (target) {
1697
1964
  for (var i = 1; i < arguments.length; i++) {
@@ -1722,279 +1989,8 @@
1722
1989
  return target;
1723
1990
  }
1724
1991
 
1725
- const _excluded$B = ["children"],
1726
- _excluded2$4 = ["children"];
1727
- var _jsxFileName$10 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\layout\\grid\\Grid.js";
1728
- const GridComponent = styled('div', {
1729
- display: 'grid',
1730
- variants: {
1731
- align: {
1732
- start: {
1733
- alignItems: 'start'
1734
- },
1735
- center: {
1736
- alignItems: 'center'
1737
- },
1738
- end: {
1739
- alignItems: 'end'
1740
- },
1741
- stretch: {
1742
- alignItems: 'stretch'
1743
- },
1744
- baseline: {
1745
- alignItems: 'baseline'
1746
- }
1747
- },
1748
- justify: {
1749
- start: {
1750
- justifyContent: 'start'
1751
- },
1752
- center: {
1753
- justifyContent: 'center'
1754
- },
1755
- end: {
1756
- justifyContent: 'end'
1757
- },
1758
- between: {
1759
- justifyContent: 'space-between'
1760
- }
1761
- },
1762
- flow: {
1763
- row: {
1764
- gridAutoFlow: 'row'
1765
- },
1766
- column: {
1767
- gridAutoFlow: 'column'
1768
- },
1769
- dense: {
1770
- gridAutoFlow: 'dense'
1771
- },
1772
- rowDense: {
1773
- gridAutoFlow: 'row dense'
1774
- },
1775
- columnDense: {
1776
- gridAutoFlow: 'column dense'
1777
- }
1778
- },
1779
- columns: seqNumberVariants$1(value => ({
1780
- gridTemplateColumns: `repeat(${value}, 1fr)`
1781
- }), 10),
1782
- rows: seqNumberVariants$1(value => ({
1783
- gridTemplateRows: `repeat(${value}, 1fr)`
1784
- }), 10),
1785
- placeItems: {
1786
- stretch: {
1787
- placeItems: 'stretch'
1788
- },
1789
- start: {
1790
- placeItems: 'start'
1791
- },
1792
- end: {
1793
- placeItems: 'end'
1794
- },
1795
- center: {
1796
- placeItems: 'center'
1797
- },
1798
- left: {
1799
- placeItems: 'left'
1800
- },
1801
- right: {
1802
- placeItems: 'right'
1803
- }
1804
- },
1805
- gap: {
1806
- 1: {
1807
- gap: '$spacing-03'
1808
- },
1809
- 2: {
1810
- gap: '$spacing-05'
1811
- },
1812
- 3: {
1813
- gap: '$spacing-06'
1814
- },
1815
- 4: {
1816
- gap: '$spacing-07'
1817
- },
1818
- 5: {
1819
- gap: '$spacing-08'
1820
- },
1821
- 6: {
1822
- gap: '$spacing-09'
1823
- },
1824
- 7: {
1825
- gap: '$spacing-10'
1826
- },
1827
- 8: {
1828
- gap: '$spacing-11'
1829
- },
1830
- 9: {
1831
- gap: '$spacing-12'
1832
- }
1833
- },
1834
- gapX: {
1835
- normal: {
1836
- columnGap: 'normal'
1837
- },
1838
- 1: {
1839
- columnGap: '$spacing-03'
1840
- },
1841
- 2: {
1842
- columnGap: '$spacing-05'
1843
- },
1844
- 3: {
1845
- columnGap: '$spacing-06'
1846
- },
1847
- 4: {
1848
- columnGap: '$spacing-07'
1849
- },
1850
- 5: {
1851
- columnGap: '$spacing-08'
1852
- },
1853
- 6: {
1854
- columnGap: '$spacing-09'
1855
- },
1856
- 7: {
1857
- columnGap: '$spacing-10'
1858
- },
1859
- 8: {
1860
- columnGap: '$spacing-11'
1861
- },
1862
- 9: {
1863
- columnGap: '$spacing-12'
1864
- }
1865
- },
1866
- gapY: {
1867
- 1: {
1868
- rowGap: '$spacing-03'
1869
- },
1870
- 2: {
1871
- rowGap: '$spacing-05'
1872
- },
1873
- 3: {
1874
- rowGap: '$spacing-06'
1875
- },
1876
- 4: {
1877
- rowGap: '$spacing-07'
1878
- },
1879
- 5: {
1880
- rowGap: '$spacing-08'
1881
- },
1882
- 6: {
1883
- rowGap: '$spacing-09'
1884
- },
1885
- 7: {
1886
- rowGap: '$spacing-10'
1887
- },
1888
- 8: {
1889
- rowGap: '$spacing-11'
1890
- },
1891
- 9: {
1892
- rowGap: '$spacing-12'
1893
- }
1894
- },
1895
- mobileOnly: {
1896
- true: {
1897
- '@lg': {
1898
- display: 'none !important'
1899
- }
1900
- }
1901
- },
1902
- desktopOnly: {
1903
- true: {
1904
- display: 'none !important',
1905
- '@lg': {
1906
- display: 'grid !important'
1907
- }
1908
- }
1909
- }
1910
- }
1911
- });
1912
- const Grid = _ref => {
1913
- let {
1914
- children
1915
- } = _ref,
1916
- props = _objectWithoutPropertiesLoose(_ref, _excluded$B);
1917
- return /*#__PURE__*/React__default["default"].createElement(GridComponent, _extends({}, props, {
1918
- css: Object.assign({}, props.css, {
1919
- gridAutoColumns: props.autoColumns,
1920
- gridAutoRows: props.autoRows,
1921
- gridTemplateColumns: props.templateColumns,
1922
- gridTemplateRows: props.templateRows
1923
- }),
1924
- __self: undefined,
1925
- __source: {
1926
- fileName: _jsxFileName$10,
1927
- lineNumber: 200,
1928
- columnNumber: 5
1929
- }
1930
- }), children);
1931
- };
1932
- Grid.propTypes = {
1933
- align: PropTypes__default["default"].string,
1934
- justify: PropTypes__default["default"].string,
1935
- autoColumns: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1936
- autoRows: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1937
- autoFlow: PropTypes__default["default"].string,
1938
- templateColumns: PropTypes__default["default"].string,
1939
- templateRows: PropTypes__default["default"].string,
1940
- columns: PropTypes__default["default"].number,
1941
- rows: PropTypes__default["default"].number,
1942
- gap: PropTypes__default["default"].number,
1943
- gapX: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1944
- gapY: PropTypes__default["default"].number
1945
- };
1946
- Grid.displayName = 'Grid';
1947
- function spanFn(value) {
1948
- return value === 'auto' ? 'auto' : `span ${value}/span ${value}`;
1949
- }
1950
- const GridItemComponent = styled('div', {
1951
- variants: {
1952
- colSpan: Object.assign({
1953
- auto: spanFn('auto')
1954
- }, seqNumberVariants$1(value => ({
1955
- gridColumn: spanFn(value)
1956
- }), 10)),
1957
- rowSpan: Object.assign({
1958
- auto: spanFn('auto')
1959
- }, seqNumberVariants$1(value => ({
1960
- gridRow: spanFn(value)
1961
- }), 10))
1962
- }
1963
- });
1964
- const GridItem = _ref2 => {
1965
- let {
1966
- children
1967
- } = _ref2,
1968
- props = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
1969
- return /*#__PURE__*/React__default["default"].createElement(GridItemComponent, _extends({}, props, {
1970
- css: Object.assign({}, props.css, {
1971
- gridArea: props.area,
1972
- gridColumnStart: props.colStart,
1973
- gridColumnEnd: props.colEnd,
1974
- gridRowStart: props.rowStart,
1975
- gridRowEnd: props.rowEnd
1976
- }),
1977
- __self: undefined,
1978
- __source: {
1979
- fileName: _jsxFileName$10,
1980
- lineNumber: 265,
1981
- columnNumber: 5
1982
- }
1983
- }), children);
1984
- };
1985
- GridItem.propTypes = {
1986
- gridArea: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1987
- colSpan: PropTypes__default["default"].number,
1988
- rowSpan: PropTypes__default["default"].number,
1989
- colStart: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1990
- colEnd: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1991
- rowStart: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1992
- rowEnd: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number])
1993
- };
1994
- GridItem.displayName = 'Grid Item';
1995
-
1996
- const _excluded$A = ["children", "isCollapse", "css", "contentHeader"];
1997
- var _jsxFileName$$ = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\layout\\pageContainer\\PageContainer.js";
1992
+ const _excluded$y = ["children", "isCollapse", "css", "contentHeader"];
1993
+ var _jsxFileName$Z = "/home/alfiantryp/Project/majoo-ui/packages/react/src/layout/pageContainer/PageContainer.js";
1998
1994
  const StyledDiv$2 = styled(Flex$1, {
1999
1995
  justifyContent: 'center',
2000
1996
  marginLeft: 'auto',
@@ -2037,7 +2033,7 @@
2037
2033
  css,
2038
2034
  contentHeader
2039
2035
  } = _ref,
2040
- props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
2036
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
2041
2037
  return /*#__PURE__*/React__default["default"].createElement(StyledDiv$2, _extends({
2042
2038
  id: "retina-container",
2043
2039
  css: Object.assign({
@@ -2046,7 +2042,7 @@
2046
2042
  }, props, {
2047
2043
  __self: undefined,
2048
2044
  __source: {
2049
- fileName: _jsxFileName$$,
2045
+ fileName: _jsxFileName$Z,
2050
2046
  lineNumber: 43,
2051
2047
  columnNumber: 5
2052
2048
  }
@@ -2460,8 +2456,8 @@
2460
2456
  }), void 0);
2461
2457
  });
2462
2458
 
2463
- const _excluded$z = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock", "icon"];
2464
- var _jsxFileName$_ = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\banner\\Banner.js";
2459
+ const _excluded$x = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock", "icon"];
2460
+ var _jsxFileName$Y = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/banner/Banner.js";
2465
2461
  const Context$2 = /*#__PURE__*/React__namespace.createContext();
2466
2462
  const StyledBanner = styled(Flex$1, {
2467
2463
  maxWidth: '100%',
@@ -2563,7 +2559,7 @@
2563
2559
  }, props, {
2564
2560
  __self: undefined,
2565
2561
  __source: {
2566
- fileName: _jsxFileName$_,
2562
+ fileName: _jsxFileName$Y,
2567
2563
  lineNumber: 111,
2568
2564
  columnNumber: 3
2569
2565
  }
@@ -2584,7 +2580,7 @@
2584
2580
  }, props, {
2585
2581
  __self: undefined,
2586
2582
  __source: {
2587
- fileName: _jsxFileName$_,
2583
+ fileName: _jsxFileName$Y,
2588
2584
  lineNumber: 128,
2589
2585
  columnNumber: 3
2590
2586
  }
@@ -2620,7 +2616,7 @@
2620
2616
  return /*#__PURE__*/React__namespace.createElement(Context$2.Consumer, {
2621
2617
  __self: undefined,
2622
2618
  __source: {
2623
- fileName: _jsxFileName$_,
2619
+ fileName: _jsxFileName$Y,
2624
2620
  lineNumber: 159,
2625
2621
  columnNumber: 5
2626
2622
  }
@@ -2632,7 +2628,7 @@
2632
2628
  color: variant ? generateVariant(variant) : generateVariant(value.variant),
2633
2629
  __self: undefined,
2634
2630
  __source: {
2635
- fileName: _jsxFileName$_,
2631
+ fileName: _jsxFileName$Y,
2636
2632
  lineNumber: 161,
2637
2633
  columnNumber: 9
2638
2634
  }
@@ -2658,7 +2654,7 @@
2658
2654
  const BannerClose = () => /*#__PURE__*/React__namespace.createElement(Context$2.Consumer, {
2659
2655
  __self: undefined,
2660
2656
  __source: {
2661
- fileName: _jsxFileName$_,
2657
+ fileName: _jsxFileName$Y,
2662
2658
  lineNumber: 193,
2663
2659
  columnNumber: 3
2664
2660
  }
@@ -2670,7 +2666,7 @@
2670
2666
  },
2671
2667
  __self: undefined,
2672
2668
  __source: {
2673
- fileName: _jsxFileName$_,
2669
+ fileName: _jsxFileName$Y,
2674
2670
  lineNumber: 195,
2675
2671
  columnNumber: 7
2676
2672
  }
@@ -2679,7 +2675,7 @@
2679
2675
  size: "16px",
2680
2676
  __self: undefined,
2681
2677
  __source: {
2682
- fileName: _jsxFileName$_,
2678
+ fileName: _jsxFileName$Y,
2683
2679
  lineNumber: 202,
2684
2680
  columnNumber: 9
2685
2681
  }
@@ -2690,14 +2686,14 @@
2690
2686
  direction: "column",
2691
2687
  __self: undefined,
2692
2688
  __source: {
2693
- fileName: _jsxFileName$_,
2689
+ fileName: _jsxFileName$Y,
2694
2690
  lineNumber: 210,
2695
2691
  columnNumber: 5
2696
2692
  }
2697
2693
  }, /*#__PURE__*/React__namespace.createElement(Flex$1, {
2698
2694
  __self: undefined,
2699
2695
  __source: {
2700
- fileName: _jsxFileName$_,
2696
+ fileName: _jsxFileName$Y,
2701
2697
  lineNumber: 211,
2702
2698
  columnNumber: 7
2703
2699
  }
@@ -2706,7 +2702,7 @@
2706
2702
  direction: "row",
2707
2703
  __self: undefined,
2708
2704
  __source: {
2709
- fileName: _jsxFileName$_,
2705
+ fileName: _jsxFileName$Y,
2710
2706
  lineNumber: 212,
2711
2707
  columnNumber: 9
2712
2708
  }
@@ -2716,7 +2712,7 @@
2716
2712
  },
2717
2713
  __self: undefined,
2718
2714
  __source: {
2719
- fileName: _jsxFileName$_,
2715
+ fileName: _jsxFileName$Y,
2720
2716
  lineNumber: 213,
2721
2717
  columnNumber: 27
2722
2718
  }
@@ -2729,21 +2725,21 @@
2729
2725
  },
2730
2726
  __self: undefined,
2731
2727
  __source: {
2732
- fileName: _jsxFileName$_,
2728
+ fileName: _jsxFileName$Y,
2733
2729
  lineNumber: 214,
2734
2730
  columnNumber: 11
2735
2731
  }
2736
2732
  }, props.title && /*#__PURE__*/React__namespace.createElement(BannerTitle, {
2737
2733
  __self: undefined,
2738
2734
  __source: {
2739
- fileName: _jsxFileName$_,
2735
+ fileName: _jsxFileName$Y,
2740
2736
  lineNumber: 222,
2741
2737
  columnNumber: 29
2742
2738
  }
2743
2739
  }, props.title), props.description && /*#__PURE__*/React__namespace.createElement(BannerDescription, {
2744
2740
  __self: undefined,
2745
2741
  __source: {
2746
- fileName: _jsxFileName$_,
2742
+ fileName: _jsxFileName$Y,
2747
2743
  lineNumber: 223,
2748
2744
  columnNumber: 35
2749
2745
  }
@@ -2756,7 +2752,7 @@
2756
2752
  closeCenter: !props.title && !props.link,
2757
2753
  __self: undefined,
2758
2754
  __source: {
2759
- fileName: _jsxFileName$_,
2755
+ fileName: _jsxFileName$Y,
2760
2756
  lineNumber: 226,
2761
2757
  columnNumber: 9
2762
2758
  }
@@ -2765,7 +2761,7 @@
2765
2761
  size: "16px",
2766
2762
  __self: undefined,
2767
2763
  __source: {
2768
- fileName: _jsxFileName$_,
2764
+ fileName: _jsxFileName$Y,
2769
2765
  lineNumber: 234,
2770
2766
  columnNumber: 11
2771
2767
  }
@@ -2778,7 +2774,7 @@
2778
2774
  variant: props.variant,
2779
2775
  __self: undefined,
2780
2776
  __source: {
2781
- fileName: _jsxFileName$_,
2777
+ fileName: _jsxFileName$Y,
2782
2778
  lineNumber: 238,
2783
2779
  columnNumber: 9
2784
2780
  }
@@ -2797,7 +2793,7 @@
2797
2793
  bannerBlock,
2798
2794
  icon
2799
2795
  } = _ref,
2800
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$z);
2796
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$x);
2801
2797
  return /*#__PURE__*/React__namespace.createElement(StyledBanner, _extends({
2802
2798
  variant: variant,
2803
2799
  hasAction: !!onClick,
@@ -2806,7 +2802,7 @@
2806
2802
  }, rest, {
2807
2803
  __self: undefined,
2808
2804
  __source: {
2809
- fileName: _jsxFileName$_,
2805
+ fileName: _jsxFileName$Y,
2810
2806
  lineNumber: 260,
2811
2807
  columnNumber: 5
2812
2808
  }
@@ -2823,7 +2819,7 @@
2823
2819
  },
2824
2820
  __self: undefined,
2825
2821
  __source: {
2826
- fileName: _jsxFileName$_,
2822
+ fileName: _jsxFileName$Y,
2827
2823
  lineNumber: 262,
2828
2824
  columnNumber: 9
2829
2825
  }
@@ -2834,7 +2830,7 @@
2834
2830
  },
2835
2831
  __self: undefined,
2836
2832
  __source: {
2837
- fileName: _jsxFileName$_,
2833
+ fileName: _jsxFileName$Y,
2838
2834
  lineNumber: 269,
2839
2835
  columnNumber: 11
2840
2836
  }
@@ -2849,7 +2845,7 @@
2849
2845
  onRemove: onRemove,
2850
2846
  __self: undefined,
2851
2847
  __source: {
2852
- fileName: _jsxFileName$_,
2848
+ fileName: _jsxFileName$Y,
2853
2849
  lineNumber: 272,
2854
2850
  columnNumber: 9
2855
2851
  }
@@ -3459,8 +3455,8 @@
3459
3455
  Card.Label = StyledLabel$2;
3460
3456
  Card.Description = StyledDescription$3;
3461
3457
 
3462
- const _excluded$y = ["children"];
3463
- var _jsxFileName$Z = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\breadcrumb\\Breadcrumb.js";
3458
+ const _excluded$w = ["children"];
3459
+ var _jsxFileName$X = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/breadcrumb/Breadcrumb.js";
3464
3460
  const BreadcrumbStyle = styled('nav', {
3465
3461
  wordWrap: 'break-word',
3466
3462
  '& li+li:before': {
@@ -3505,7 +3501,7 @@
3505
3501
  return /*#__PURE__*/React__default["default"].createElement(BreadcrumbLinkStyle, _extends({}, props, aria, {
3506
3502
  __self: undefined,
3507
3503
  __source: {
3508
- fileName: _jsxFileName$Z,
3504
+ fileName: _jsxFileName$X,
3509
3505
  lineNumber: 42,
3510
3506
  columnNumber: 10
3511
3507
  }
@@ -3515,19 +3511,19 @@
3515
3511
  let {
3516
3512
  children
3517
3513
  } = _ref,
3518
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$y);
3514
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$w);
3519
3515
  return /*#__PURE__*/React__default["default"].createElement(BreadcrumbStyle, _extends({}, rest, {
3520
3516
  "aria-label": "breadcrumb",
3521
3517
  __self: undefined,
3522
3518
  __source: {
3523
- fileName: _jsxFileName$Z,
3519
+ fileName: _jsxFileName$X,
3524
3520
  lineNumber: 47,
3525
3521
  columnNumber: 5
3526
3522
  }
3527
3523
  }), /*#__PURE__*/React__default["default"].createElement(Ol, {
3528
3524
  __self: undefined,
3529
3525
  __source: {
3530
- fileName: _jsxFileName$Z,
3526
+ fileName: _jsxFileName$X,
3531
3527
  lineNumber: 48,
3532
3528
  columnNumber: 7
3533
3529
  }
@@ -3777,8 +3773,8 @@
3777
3773
  };
3778
3774
  Badge.displayName = 'Badge';
3779
3775
 
3780
- const _excluded$x = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
3781
- var _jsxFileName$Y = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\avatar\\Avatar.js";
3776
+ const _excluded$v = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
3777
+ var _jsxFileName$W = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/avatar/Avatar.js";
3782
3778
  const StyledAvatar = styled(AvatarPrimitive__namespace.Root, {
3783
3779
  width: '32px',
3784
3780
  height: '32px',
@@ -3822,7 +3818,7 @@
3822
3818
  onClick,
3823
3819
  css
3824
3820
  } = _ref,
3825
- props = _objectWithoutPropertiesLoose(_ref, _excluded$x);
3821
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$v);
3826
3822
  return /*#__PURE__*/React__default["default"].createElement(StyledAvatar, _extends({
3827
3823
  className: className,
3828
3824
  onClick: onClick,
@@ -3830,7 +3826,7 @@
3830
3826
  }, props, {
3831
3827
  __self: this,
3832
3828
  __source: {
3833
- fileName: _jsxFileName$Y,
3829
+ fileName: _jsxFileName$W,
3834
3830
  lineNumber: 46,
3835
3831
  columnNumber: 5
3836
3832
  }
@@ -3840,7 +3836,7 @@
3840
3836
  onLoadingStatusChange: onLoadingStatusChange,
3841
3837
  __self: this,
3842
3838
  __source: {
3843
- fileName: _jsxFileName$Y,
3839
+ fileName: _jsxFileName$W,
3844
3840
  lineNumber: 47,
3845
3841
  columnNumber: 21
3846
3842
  }
@@ -3848,21 +3844,21 @@
3848
3844
  delayMs: delayMs,
3849
3845
  __self: this,
3850
3846
  __source: {
3851
- fileName: _jsxFileName$Y,
3847
+ fileName: _jsxFileName$W,
3852
3848
  lineNumber: 48,
3853
3849
  columnNumber: 7
3854
3850
  }
3855
3851
  }, children !== undefined ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, children) : /*#__PURE__*/React__default["default"].createElement(StyledIcon, {
3856
3852
  __self: this,
3857
3853
  __source: {
3858
- fileName: _jsxFileName$Y,
3854
+ fileName: _jsxFileName$W,
3859
3855
  lineNumber: 52,
3860
3856
  columnNumber: 11
3861
3857
  }
3862
3858
  }, /*#__PURE__*/React__default["default"].createElement(icons.UserFilled, {
3863
3859
  __self: this,
3864
3860
  __source: {
3865
- fileName: _jsxFileName$Y,
3861
+ fileName: _jsxFileName$W,
3866
3862
  lineNumber: 53,
3867
3863
  columnNumber: 13
3868
3864
  }
@@ -3879,8 +3875,8 @@
3879
3875
  delayMs: 0
3880
3876
  };
3881
3877
 
3882
- const _excluded$w = ["className", "src", "alt", "width", "height", "objectFit", "fallback", "fallbackTitle", "css", "cssFallback", "rounded"];
3883
- var _jsxFileName$X = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\image\\Image.js";
3878
+ const _excluded$u = ["className", "src", "alt", "width", "height", "objectFit", "fallback", "fallbackTitle", "css", "cssFallback", "rounded"];
3879
+ var _jsxFileName$V = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/image/Image.js";
3884
3880
  const ContainerFallback = styled(Flex$1, {
3885
3881
  boxSizing: 'border-box',
3886
3882
  border: '2px dashed #C0C4C4',
@@ -3929,7 +3925,7 @@
3929
3925
  cssFallback,
3930
3926
  rounded
3931
3927
  } = _ref,
3932
- props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
3928
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
3933
3929
  const {
3934
3930
  t
3935
3931
  } = reactI18next.useTranslation('translation');
@@ -3948,7 +3944,7 @@
3948
3944
  }, props, {
3949
3945
  __self: this,
3950
3946
  __source: {
3951
- fileName: _jsxFileName$X,
3947
+ fileName: _jsxFileName$V,
3952
3948
  lineNumber: 61,
3953
3949
  columnNumber: 7
3954
3950
  }
@@ -3964,14 +3960,14 @@
3964
3960
  }, cssFallback),
3965
3961
  __self: this,
3966
3962
  __source: {
3967
- fileName: _jsxFileName$X,
3963
+ fileName: _jsxFileName$V,
3968
3964
  lineNumber: 75,
3969
3965
  columnNumber: 7
3970
3966
  }
3971
3967
  }, /*#__PURE__*/React__default["default"].createElement(TextFallback, {
3972
3968
  __self: this,
3973
3969
  __source: {
3974
- fileName: _jsxFileName$X,
3970
+ fileName: _jsxFileName$V,
3975
3971
  lineNumber: 76,
3976
3972
  columnNumber: 9
3977
3973
  }
@@ -4029,6 +4025,337 @@
4029
4025
  fallbackTitle: 'Tidak ada foto'
4030
4026
  };
4031
4027
 
4028
+ var zIndices$2 = core.foundations.zIndices;
4029
+ var slideUpAndFade$2 = keyframes({
4030
+ '0%': {
4031
+ opacity: 0,
4032
+ transform: 'translateY(2px)'
4033
+ },
4034
+ '100%': {
4035
+ opacity: 1,
4036
+ transform: 'translateY(0)'
4037
+ }
4038
+ });
4039
+ var slideRightAndFade$2 = keyframes({
4040
+ '0%': {
4041
+ opacity: 0,
4042
+ transform: 'translateX(-2px)'
4043
+ },
4044
+ '100%': {
4045
+ opacity: 1,
4046
+ transform: 'translateX(0)'
4047
+ }
4048
+ });
4049
+ var slideDownAndFade$2 = keyframes({
4050
+ '0%': {
4051
+ opacity: 0,
4052
+ transform: 'translateY(-2px)'
4053
+ },
4054
+ '100%': {
4055
+ opacity: 1,
4056
+ transform: 'translateY(0)'
4057
+ }
4058
+ });
4059
+ var slideLeftAndFade$2 = keyframes({
4060
+ '0%': {
4061
+ opacity: 0,
4062
+ transform: 'translateX(2px)'
4063
+ },
4064
+ '100%': {
4065
+ opacity: 1,
4066
+ transform: 'translateX(0)'
4067
+ }
4068
+ });
4069
+ var StyledContent$6 = styled(TooltipPrimitive__namespace.Content, {
4070
+ zIndex: zIndices$2.tooltip,
4071
+ borderRadius: 8,
4072
+ padding: '8px',
4073
+ fontSize: '$helper',
4074
+ letterSpacing: '$helper',
4075
+ lineHeight: '$helper',
4076
+ fontWeight: '400',
4077
+ backgroundColor: '$white',
4078
+ boxShadow: '$large',
4079
+ '@media (prefers-reduced-motion: no-preference)': {
4080
+ animationDuration: '400ms',
4081
+ animationTimingFunction: 'cubic-bezier(0.16, 1, 0.3, 1)',
4082
+ animationFillMode: 'forwards',
4083
+ willChange: 'transform, opacity',
4084
+ '&[data-state="delayed-open"]': {
4085
+ '&[data-side="top"]': {
4086
+ animationName: slideDownAndFade$2
4087
+ },
4088
+ '&[data-side="right"]': {
4089
+ animationName: slideLeftAndFade$2
4090
+ },
4091
+ '&[data-side="bottom"]': {
4092
+ animationName: slideUpAndFade$2
4093
+ },
4094
+ '&[data-side="left"]': {
4095
+ animationName: slideRightAndFade$2
4096
+ }
4097
+ }
4098
+ }
4099
+ });
4100
+ var TriggerSpan = styled('span', {
4101
+ display: 'flex'
4102
+ });
4103
+ var StyledArrow$1 = styled(TooltipPrimitive__namespace.Arrow, {
4104
+ boxShadow: '$large'
4105
+ });
4106
+ var TooltipBase = styled(TooltipPrimitive__namespace.Root, {
4107
+ defaultVariants: {
4108
+ color: 'ligth'
4109
+ }
4110
+ });
4111
+ // Exports
4112
+ var Provider = TooltipPrimitive__namespace.Provider;
4113
+ var TooltipTrigger = TooltipPrimitive__namespace.Trigger;
4114
+ var TooltipContent = StyledContent$6;
4115
+ var dark = {
4116
+ color: core.foundations.colors.white,
4117
+ backgroundColor: core.foundations.colors.gray800
4118
+ };
4119
+ var ligth = {
4120
+ color: core.foundations.colors.textPrimary,
4121
+ backgroundColor: core.foundations.colors.bgWhite
4122
+ };
4123
+ var darkArrow = {
4124
+ fill: core.foundations.colors.gray800
4125
+ };
4126
+ var lightArrow = {
4127
+ fill: core.foundations.colors.bgWhite
4128
+ };
4129
+ var Tooltip$1 = function Tooltip(_a) {
4130
+ var children = _a.children,
4131
+ label = _a.label,
4132
+ color = _a.color,
4133
+ css = _a.css,
4134
+ withClick = _a.withClick,
4135
+ side = _a.side,
4136
+ align = _a.align,
4137
+ delayDuration = _a.delayDuration,
4138
+ rest = __rest(_a, ["children", "label", "color", "css", "withClick", "side", "align", "delayDuration"]);
4139
+ var _b = React.useState(false),
4140
+ open = _b[0],
4141
+ setOpen = _b[1];
4142
+ return jsxRuntime.jsx(Provider, {
4143
+ children: jsxRuntime.jsxs(TooltipBase, __assign({}, rest, {
4144
+ open: withClick ? open : undefined,
4145
+ delayDuration: delayDuration
4146
+ }, {
4147
+ children: [jsxRuntime.jsx(TooltipTrigger, __assign({
4148
+ asChild: true
4149
+ }, {
4150
+ children: jsxRuntime.jsx(TriggerSpan, __assign({
4151
+ onClick: function () {
4152
+ return withClick && !open && setOpen(true);
4153
+ }
4154
+ }, {
4155
+ children: children
4156
+ }), void 0)
4157
+ }), void 0), jsxRuntime.jsx(TooltipPrimitive__namespace.Portal, {
4158
+ children: jsxRuntime.jsxs(StyledContent$6, __assign({
4159
+ align: align,
4160
+ side: side,
4161
+ sideOffset: 5,
4162
+ css: color === 'dark' ? __assign(__assign({}, dark), css) : __assign(__assign({}, ligth), css),
4163
+ onPointerDownOutside: function () {
4164
+ return setTimeout(function () {
4165
+ setOpen(false);
4166
+ }, 100);
4167
+ }
4168
+ }, {
4169
+ children: [label, jsxRuntime.jsx(StyledArrow$1, {
4170
+ offset: 10,
4171
+ css: color === 'dark' ? darkArrow : lightArrow
4172
+ }, void 0)]
4173
+ }), void 0)
4174
+ }, void 0)]
4175
+ }), void 0)
4176
+ }, void 0);
4177
+ };
4178
+ Tooltip$1.defaultProps = {
4179
+ color: 'dark',
4180
+ side: 'bottom',
4181
+ align: 'center',
4182
+ label: '',
4183
+ children: jsxRuntime.jsx("div", {}, void 0),
4184
+ delayDuration: 200
4185
+ };
4186
+
4187
+ const _excluded$t = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
4188
+ var _jsxFileName$U = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/progress/Progress.js";
4189
+ const StyledProgress$1 = react.styled(ProgressPrimitive__namespace.Root, {
4190
+ position: 'relative',
4191
+ overflow: 'hidden',
4192
+ background: '$chartLightGreen',
4193
+ width: 'auto',
4194
+ height: '12px',
4195
+ variants: {
4196
+ rounded: {
4197
+ true: {
4198
+ borderRadius: '100px'
4199
+ }
4200
+ },
4201
+ color: {
4202
+ green: {
4203
+ backgroundColor: '$chartLightGreen'
4204
+ },
4205
+ orange: {
4206
+ backgroundColor: '$chartLightOrange'
4207
+ },
4208
+ blue: {
4209
+ backgroundColor: '$chartLightBlue'
4210
+ },
4211
+ purple: {
4212
+ backgroundColor: '$chartLightPurple'
4213
+ },
4214
+ yellow: {
4215
+ backgroundColor: '$chartLightYellow'
4216
+ },
4217
+ red: {
4218
+ backgroundColor: '$chartLightRed'
4219
+ },
4220
+ dark: {
4221
+ backgroundColor: '$chartLightGray'
4222
+ }
4223
+ },
4224
+ size: {
4225
+ xs: {
4226
+ height: '4px'
4227
+ },
4228
+ sm: {
4229
+ height: '8px'
4230
+ },
4231
+ m: {
4232
+ height: '12px'
4233
+ },
4234
+ l: {
4235
+ height: '16px'
4236
+ },
4237
+ xl: {
4238
+ height: '20px'
4239
+ }
4240
+ }
4241
+ }
4242
+ });
4243
+ const StyledIndicator$3 = react.styled(ProgressPrimitive__namespace.Indicator, {
4244
+ backgroundColor: '$chartGreen',
4245
+ height: '60%',
4246
+ transition: 'width 660ms cubic-bezier(0.65, 0, 0.35, 1)',
4247
+ variants: {
4248
+ rounded: {
4249
+ true: {
4250
+ borderRadius: '100px'
4251
+ }
4252
+ },
4253
+ color: {
4254
+ green: {
4255
+ backgroundColor: '$chartGreen'
4256
+ },
4257
+ orange: {
4258
+ backgroundColor: '$chartOrange'
4259
+ },
4260
+ blue: {
4261
+ backgroundColor: '$chartBlue'
4262
+ },
4263
+ purple: {
4264
+ backgroundColor: '$chartPurple'
4265
+ },
4266
+ yellow: {
4267
+ backgroundColor: '$chartYellow'
4268
+ },
4269
+ red: {
4270
+ backgroundColor: '$chartRed'
4271
+ },
4272
+ dark: {
4273
+ backgroundColor: '$chartDark'
4274
+ }
4275
+ },
4276
+ size: {
4277
+ xs: {
4278
+ height: '100%'
4279
+ },
4280
+ sm: {
4281
+ height: '100%'
4282
+ },
4283
+ m: {
4284
+ margin: "2px 2px 0"
4285
+ },
4286
+ l: {
4287
+ margin: "3px 3px 0"
4288
+ },
4289
+ xl: {
4290
+ margin: "4px 4px 0"
4291
+ }
4292
+ }
4293
+ }
4294
+ });
4295
+ function Progress$1(_ref) {
4296
+ let {
4297
+ className,
4298
+ value,
4299
+ max,
4300
+ getValueLabel,
4301
+ color,
4302
+ size,
4303
+ rounded,
4304
+ width
4305
+ } = _ref,
4306
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
4307
+ return /*#__PURE__*/React__default["default"].createElement(StyledProgress$1, _extends({
4308
+ className: className,
4309
+ value: value,
4310
+ max: max,
4311
+ getValueLabel: getValueLabel,
4312
+ color: color,
4313
+ size: size,
4314
+ rounded: rounded,
4315
+ css: Object.assign({
4316
+ width: width
4317
+ }, props.css)
4318
+ }, props, {
4319
+ __self: this,
4320
+ __source: {
4321
+ fileName: _jsxFileName$U,
4322
+ lineNumber: 88,
4323
+ columnNumber: 5
4324
+ }
4325
+ }), /*#__PURE__*/React__default["default"].createElement(StyledIndicator$3, {
4326
+ color: color,
4327
+ size: size,
4328
+ rounded: rounded,
4329
+ css: {
4330
+ width: `${value}%`
4331
+ },
4332
+ __self: this,
4333
+ __source: {
4334
+ fileName: _jsxFileName$U,
4335
+ lineNumber: 89,
4336
+ columnNumber: 7
4337
+ }
4338
+ }));
4339
+ }
4340
+ Progress$1.propTypes = {
4341
+ className: PropTypes__default["default"].string,
4342
+ value: PropTypes__default["default"].number,
4343
+ max: PropTypes__default["default"].number,
4344
+ getValueLabel: PropTypes__default["default"].func,
4345
+ color: PropTypes__default["default"].string,
4346
+ size: PropTypes__default["default"].string,
4347
+ rounded: PropTypes__default["default"].bool,
4348
+ width: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number])
4349
+ };
4350
+ Progress$1.defaultProps = {
4351
+ max: 100,
4352
+ color: 'green',
4353
+ size: 'm',
4354
+ rounded: true
4355
+ };
4356
+
4357
+ const ToastContext = /*#__PURE__*/React__namespace.createContext({});
4358
+
4032
4359
  var objectDefineProperties = {};
4033
4360
 
4034
4361
  var DESCRIPTORS$6 = descriptors;
@@ -4565,383 +4892,6 @@
4565
4892
 
4566
4893
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
4567
4894
 
4568
- const _excluded$v = ["children", "label", "color", "css", "withClick", "side", "align", "delayDuration"];
4569
- var _jsxFileName$W = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\tooltip\\Tooltip.js";
4570
- const {
4571
- zIndices: zIndices$2
4572
- } = core.foundations;
4573
- const slideUpAndFade$2 = keyframes({
4574
- '0%': {
4575
- opacity: 0,
4576
- transform: 'translateY(2px)'
4577
- },
4578
- '100%': {
4579
- opacity: 1,
4580
- transform: 'translateY(0)'
4581
- }
4582
- });
4583
- const slideRightAndFade$2 = keyframes({
4584
- '0%': {
4585
- opacity: 0,
4586
- transform: 'translateX(-2px)'
4587
- },
4588
- '100%': {
4589
- opacity: 1,
4590
- transform: 'translateX(0)'
4591
- }
4592
- });
4593
- const slideDownAndFade$2 = keyframes({
4594
- '0%': {
4595
- opacity: 0,
4596
- transform: 'translateY(-2px)'
4597
- },
4598
- '100%': {
4599
- opacity: 1,
4600
- transform: 'translateY(0)'
4601
- }
4602
- });
4603
- const slideLeftAndFade$2 = keyframes({
4604
- '0%': {
4605
- opacity: 0,
4606
- transform: 'translateX(2px)'
4607
- },
4608
- '100%': {
4609
- opacity: 1,
4610
- transform: 'translateX(0)'
4611
- }
4612
- });
4613
- const StyledContent$6 = styled(TooltipPrimitive__namespace.Content, {
4614
- zIndex: zIndices$2.tooltip,
4615
- borderRadius: 8,
4616
- padding: '8px',
4617
- fontSize: '$helper',
4618
- letterSpacing: '$helper',
4619
- lineHeight: '$helper',
4620
- fontWeight: '400',
4621
- backgroundColor: '$white',
4622
- boxShadow: '$large',
4623
- '@media (prefers-reduced-motion: no-preference)': {
4624
- animationDuration: '400ms',
4625
- animationTimingFunction: 'cubic-bezier(0.16, 1, 0.3, 1)',
4626
- animationFillMode: 'forwards',
4627
- willChange: 'transform, opacity',
4628
- '&[data-state="delayed-open"]': {
4629
- '&[data-side="top"]': {
4630
- animationName: slideDownAndFade$2
4631
- },
4632
- '&[data-side="right"]': {
4633
- animationName: slideLeftAndFade$2
4634
- },
4635
- '&[data-side="bottom"]': {
4636
- animationName: slideUpAndFade$2
4637
- },
4638
- '&[data-side="left"]': {
4639
- animationName: slideRightAndFade$2
4640
- }
4641
- }
4642
- }
4643
- });
4644
- const TriggerSpan = styled('span', {
4645
- display: 'flex'
4646
- });
4647
- const StyledArrow$1 = styled(TooltipPrimitive__namespace.Arrow, {
4648
- boxShadow: '$large'
4649
- });
4650
- const TooltipBase = styled(TooltipPrimitive__namespace.Root, {
4651
- defaultVariants: {
4652
- color: 'ligth'
4653
- }
4654
- });
4655
-
4656
- // Exports
4657
- const Provider = TooltipPrimitive__namespace.Provider;
4658
- const TooltipTrigger = TooltipPrimitive__namespace.Trigger;
4659
- const dark = {
4660
- color: core.foundations.colors.white,
4661
- backgroundColor: core.foundations.colors.gray800
4662
- };
4663
- const ligth = {
4664
- color: core.foundations.colors.textPrimary,
4665
- backgroundColor: core.foundations.colors.bgWhite
4666
- };
4667
- const darkArrow = {
4668
- fill: core.foundations.colors.gray800
4669
- };
4670
- const lightArrow = {
4671
- fill: core.foundations.colors.bgWhite
4672
- };
4673
- const Tooltip$1 = _ref => {
4674
- let {
4675
- children,
4676
- label,
4677
- color,
4678
- css,
4679
- withClick,
4680
- side,
4681
- align,
4682
- delayDuration
4683
- } = _ref,
4684
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$v);
4685
- const [open, setOpen] = React.useState(false);
4686
- return /*#__PURE__*/React__default["default"].createElement(Provider, {
4687
- __self: undefined,
4688
- __source: {
4689
- fileName: _jsxFileName$W,
4690
- lineNumber: 91,
4691
- columnNumber: 5
4692
- }
4693
- }, /*#__PURE__*/React__default["default"].createElement(TooltipBase, _extends({}, rest, {
4694
- open: withClick ? open : undefined,
4695
- delayDuration: delayDuration,
4696
- __self: undefined,
4697
- __source: {
4698
- fileName: _jsxFileName$W,
4699
- lineNumber: 92,
4700
- columnNumber: 7
4701
- }
4702
- }), /*#__PURE__*/React__default["default"].createElement(TooltipTrigger, {
4703
- asChild: true,
4704
- __self: undefined,
4705
- __source: {
4706
- fileName: _jsxFileName$W,
4707
- lineNumber: 93,
4708
- columnNumber: 9
4709
- }
4710
- }, /*#__PURE__*/React__default["default"].createElement(TriggerSpan, {
4711
- onClick: () => withClick && !open && setOpen(true),
4712
- __self: undefined,
4713
- __source: {
4714
- fileName: _jsxFileName$W,
4715
- lineNumber: 94,
4716
- columnNumber: 11
4717
- }
4718
- }, children)), /*#__PURE__*/React__default["default"].createElement(TooltipPrimitive__namespace.Portal, {
4719
- __self: undefined,
4720
- __source: {
4721
- fileName: _jsxFileName$W,
4722
- lineNumber: 96,
4723
- columnNumber: 9
4724
- }
4725
- }, /*#__PURE__*/React__default["default"].createElement(StyledContent$6, {
4726
- align: align,
4727
- side: side,
4728
- sideOffset: 5,
4729
- css: color === 'dark' ? Object.assign({}, dark, css) : Object.assign({}, ligth, css),
4730
- onPointerDownOutside: () => setTimeout(() => {
4731
- setOpen(false);
4732
- }, 100),
4733
- __self: undefined,
4734
- __source: {
4735
- fileName: _jsxFileName$W,
4736
- lineNumber: 97,
4737
- columnNumber: 11
4738
- }
4739
- }, label, /*#__PURE__*/React__default["default"].createElement(StyledArrow$1, {
4740
- offset: 10,
4741
- css: color === 'dark' ? darkArrow : lightArrow,
4742
- __self: undefined,
4743
- __source: {
4744
- fileName: _jsxFileName$W,
4745
- lineNumber: 109,
4746
- columnNumber: 13
4747
- }
4748
- })))));
4749
- };
4750
- Tooltip$1.propTypes = {
4751
- children: PropTypes__default["default"].node,
4752
- label: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].node]),
4753
- color: PropTypes__default["default"].string,
4754
- side: PropTypes__default["default"].oneOf(['top', 'bottom', 'right', 'left']),
4755
- align: PropTypes__default["default"].oneOf(['start', 'center', 'end'])
4756
- };
4757
- Tooltip$1.defaultProps = {
4758
- color: 'dark',
4759
- side: 'bottom',
4760
- align: 'center',
4761
- label: '',
4762
- children: /*#__PURE__*/React__default["default"].createElement("div", {
4763
- __self: undefined,
4764
- __source: {
4765
- fileName: _jsxFileName$W,
4766
- lineNumber: 130,
4767
- columnNumber: 13
4768
- }
4769
- }),
4770
- delayDuration: 200
4771
- };
4772
-
4773
- const _excluded$u = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
4774
- var _jsxFileName$V = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\progress\\Progress.js";
4775
- const StyledProgress$1 = react.styled(ProgressPrimitive__namespace.Root, {
4776
- position: 'relative',
4777
- overflow: 'hidden',
4778
- background: '$chartLightGreen',
4779
- width: 'auto',
4780
- height: '12px',
4781
- variants: {
4782
- rounded: {
4783
- true: {
4784
- borderRadius: '100px'
4785
- }
4786
- },
4787
- color: {
4788
- green: {
4789
- backgroundColor: '$chartLightGreen'
4790
- },
4791
- orange: {
4792
- backgroundColor: '$chartLightOrange'
4793
- },
4794
- blue: {
4795
- backgroundColor: '$chartLightBlue'
4796
- },
4797
- purple: {
4798
- backgroundColor: '$chartLightPurple'
4799
- },
4800
- yellow: {
4801
- backgroundColor: '$chartLightYellow'
4802
- },
4803
- red: {
4804
- backgroundColor: '$chartLightRed'
4805
- },
4806
- dark: {
4807
- backgroundColor: '$chartLightGray'
4808
- }
4809
- },
4810
- size: {
4811
- xs: {
4812
- height: '4px'
4813
- },
4814
- sm: {
4815
- height: '8px'
4816
- },
4817
- m: {
4818
- height: '12px'
4819
- },
4820
- l: {
4821
- height: '16px'
4822
- },
4823
- xl: {
4824
- height: '20px'
4825
- }
4826
- }
4827
- }
4828
- });
4829
- const StyledIndicator$3 = react.styled(ProgressPrimitive__namespace.Indicator, {
4830
- backgroundColor: '$chartGreen',
4831
- height: '60%',
4832
- transition: 'width 660ms cubic-bezier(0.65, 0, 0.35, 1)',
4833
- variants: {
4834
- rounded: {
4835
- true: {
4836
- borderRadius: '100px'
4837
- }
4838
- },
4839
- color: {
4840
- green: {
4841
- backgroundColor: '$chartGreen'
4842
- },
4843
- orange: {
4844
- backgroundColor: '$chartOrange'
4845
- },
4846
- blue: {
4847
- backgroundColor: '$chartBlue'
4848
- },
4849
- purple: {
4850
- backgroundColor: '$chartPurple'
4851
- },
4852
- yellow: {
4853
- backgroundColor: '$chartYellow'
4854
- },
4855
- red: {
4856
- backgroundColor: '$chartRed'
4857
- },
4858
- dark: {
4859
- backgroundColor: '$chartDark'
4860
- }
4861
- },
4862
- size: {
4863
- xs: {
4864
- height: '100%'
4865
- },
4866
- sm: {
4867
- height: '100%'
4868
- },
4869
- m: {
4870
- margin: "2px 2px 0"
4871
- },
4872
- l: {
4873
- margin: "3px 3px 0"
4874
- },
4875
- xl: {
4876
- margin: "4px 4px 0"
4877
- }
4878
- }
4879
- }
4880
- });
4881
- function Progress$1(_ref) {
4882
- let {
4883
- className,
4884
- value,
4885
- max,
4886
- getValueLabel,
4887
- color,
4888
- size,
4889
- rounded,
4890
- width
4891
- } = _ref,
4892
- props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
4893
- return /*#__PURE__*/React__default["default"].createElement(StyledProgress$1, _extends({
4894
- className: className,
4895
- value: value,
4896
- max: max,
4897
- getValueLabel: getValueLabel,
4898
- color: color,
4899
- size: size,
4900
- rounded: rounded,
4901
- css: Object.assign({
4902
- width: width
4903
- }, props.css)
4904
- }, props, {
4905
- __self: this,
4906
- __source: {
4907
- fileName: _jsxFileName$V,
4908
- lineNumber: 88,
4909
- columnNumber: 5
4910
- }
4911
- }), /*#__PURE__*/React__default["default"].createElement(StyledIndicator$3, {
4912
- color: color,
4913
- size: size,
4914
- rounded: rounded,
4915
- css: {
4916
- width: `${value}%`
4917
- },
4918
- __self: this,
4919
- __source: {
4920
- fileName: _jsxFileName$V,
4921
- lineNumber: 89,
4922
- columnNumber: 7
4923
- }
4924
- }));
4925
- }
4926
- Progress$1.propTypes = {
4927
- className: PropTypes__default["default"].string,
4928
- value: PropTypes__default["default"].number,
4929
- max: PropTypes__default["default"].number,
4930
- getValueLabel: PropTypes__default["default"].func,
4931
- color: PropTypes__default["default"].string,
4932
- size: PropTypes__default["default"].string,
4933
- rounded: PropTypes__default["default"].bool,
4934
- width: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number])
4935
- };
4936
- Progress$1.defaultProps = {
4937
- max: 100,
4938
- color: 'green',
4939
- size: 'm',
4940
- rounded: true
4941
- };
4942
-
4943
- const ToastContext = /*#__PURE__*/React__namespace.createContext({});
4944
-
4945
4895
  var anObject$d = anObject$j;
4946
4896
 
4947
4897
  // `RegExp.prototype.flags` getter implementation
@@ -5582,8 +5532,8 @@
5582
5532
  return matches;
5583
5533
  }
5584
5534
 
5585
- const _excluded$t = ["id", "title", "description", "position", "dismissAfter", "variant", "onClick", "onRemove", "isExternalOfAction", "onClickOfAction", "captionOfAction", "hrefOfAction"];
5586
- var _jsxFileName$U = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\Toast.js";
5535
+ const _excluded$s = ["id", "title", "description", "position", "dismissAfter", "variant", "onClick", "onRemove", "isExternalOfAction", "onClickOfAction", "captionOfAction", "hrefOfAction"];
5536
+ var _jsxFileName$T = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/Toast.js";
5587
5537
  const TOAST_WIDTH = 576;
5588
5538
  const ANIMATION_DURATION = 400;
5589
5539
  const TOP_RIGHT_POSITION = 'top-right';
@@ -5751,7 +5701,7 @@
5751
5701
  captionOfAction,
5752
5702
  hrefOfAction
5753
5703
  } = _ref,
5754
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$t);
5704
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$s);
5755
5705
  const [isOpen, setIsOpen] = React__namespace.useState(false);
5756
5706
  const isMobile = useMediaQuery(`(max-width: 767px`);
5757
5707
  const close = React__namespace.useCallback(() => {
@@ -5780,7 +5730,7 @@
5780
5730
  onExited: onRemove,
5781
5731
  __self: undefined,
5782
5732
  __source: {
5783
- fileName: _jsxFileName$U,
5733
+ fileName: _jsxFileName$T,
5784
5734
  lineNumber: 216,
5785
5735
  columnNumber: 5
5786
5736
  }
@@ -5795,7 +5745,7 @@
5795
5745
  }, rest, {
5796
5746
  __self: undefined,
5797
5747
  __source: {
5798
- fileName: _jsxFileName$U,
5748
+ fileName: _jsxFileName$T,
5799
5749
  lineNumber: 227,
5800
5750
  columnNumber: 9
5801
5751
  }
@@ -5805,7 +5755,7 @@
5805
5755
  onClick: onClick,
5806
5756
  __self: undefined,
5807
5757
  __source: {
5808
- fileName: _jsxFileName$U,
5758
+ fileName: _jsxFileName$T,
5809
5759
  lineNumber: 235,
5810
5760
  columnNumber: 11
5811
5761
  }
@@ -5813,7 +5763,7 @@
5813
5763
  direction: "column",
5814
5764
  __self: undefined,
5815
5765
  __source: {
5816
- fileName: _jsxFileName$U,
5766
+ fileName: _jsxFileName$T,
5817
5767
  lineNumber: 236,
5818
5768
  columnNumber: 13
5819
5769
  }
@@ -5821,7 +5771,7 @@
5821
5771
  direction: "row",
5822
5772
  __self: undefined,
5823
5773
  __source: {
5824
- fileName: _jsxFileName$U,
5774
+ fileName: _jsxFileName$T,
5825
5775
  lineNumber: 237,
5826
5776
  columnNumber: 15
5827
5777
  }
@@ -5829,7 +5779,7 @@
5829
5779
  variant: variant,
5830
5780
  __self: undefined,
5831
5781
  __source: {
5832
- fileName: _jsxFileName$U,
5782
+ fileName: _jsxFileName$T,
5833
5783
  lineNumber: 238,
5834
5784
  columnNumber: 17
5835
5785
  }
@@ -5841,7 +5791,7 @@
5841
5791
  },
5842
5792
  __self: undefined,
5843
5793
  __source: {
5844
- fileName: _jsxFileName$U,
5794
+ fileName: _jsxFileName$T,
5845
5795
  lineNumber: 239,
5846
5796
  columnNumber: 17
5847
5797
  }
@@ -5849,7 +5799,7 @@
5849
5799
  justify: "between",
5850
5800
  __self: undefined,
5851
5801
  __source: {
5852
- fileName: _jsxFileName$U,
5802
+ fileName: _jsxFileName$T,
5853
5803
  lineNumber: 247,
5854
5804
  columnNumber: 21
5855
5805
  }
@@ -5864,7 +5814,7 @@
5864
5814
  },
5865
5815
  __self: undefined,
5866
5816
  __source: {
5867
- fileName: _jsxFileName$U,
5817
+ fileName: _jsxFileName$T,
5868
5818
  lineNumber: 248,
5869
5819
  columnNumber: 23
5870
5820
  }
@@ -5873,7 +5823,7 @@
5873
5823
  color: "secondary",
5874
5824
  __self: undefined,
5875
5825
  __source: {
5876
- fileName: _jsxFileName$U,
5826
+ fileName: _jsxFileName$T,
5877
5827
  lineNumber: 262,
5878
5828
  columnNumber: 19
5879
5829
  }
@@ -5888,7 +5838,7 @@
5888
5838
  hasTitle: !!title,
5889
5839
  __self: undefined,
5890
5840
  __source: {
5891
- fileName: _jsxFileName$U,
5841
+ fileName: _jsxFileName$T,
5892
5842
  lineNumber: 266,
5893
5843
  columnNumber: 17
5894
5844
  }
@@ -5897,7 +5847,7 @@
5897
5847
  size: "16px",
5898
5848
  __self: undefined,
5899
5849
  __source: {
5900
- fileName: _jsxFileName$U,
5850
+ fileName: _jsxFileName$T,
5901
5851
  lineNumber: 276,
5902
5852
  columnNumber: 19
5903
5853
  }
@@ -5912,7 +5862,7 @@
5912
5862
  },
5913
5863
  __self: undefined,
5914
5864
  __source: {
5915
- fileName: _jsxFileName$U,
5865
+ fileName: _jsxFileName$T,
5916
5866
  lineNumber: 280,
5917
5867
  columnNumber: 17
5918
5868
  }
@@ -5934,8 +5884,8 @@
5934
5884
  dismissAfter: 5000
5935
5885
  };
5936
5886
 
5937
- const _excluded$s = ["preventDuplicate"];
5938
- var _jsxFileName$T = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\ToastContainer.js";
5887
+ const _excluded$r = ["preventDuplicate"];
5888
+ var _jsxFileName$S = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/ToastContainer.js";
5939
5889
  const ToastBox = styled(Flex$1, {
5940
5890
  position: 'fixed',
5941
5891
  variants: {
@@ -5982,7 +5932,7 @@
5982
5932
  },
5983
5933
  __self: undefined,
5984
5934
  __source: {
5985
- fileName: _jsxFileName$T,
5935
+ fileName: _jsxFileName$S,
5986
5936
  lineNumber: 43,
5987
5937
  columnNumber: 5
5988
5938
  }
@@ -5990,7 +5940,7 @@
5990
5940
  position: position,
5991
5941
  __self: undefined,
5992
5942
  __source: {
5993
- fileName: _jsxFileName$T,
5943
+ fileName: _jsxFileName$S,
5994
5944
  lineNumber: 44,
5995
5945
  columnNumber: 7
5996
5946
  }
@@ -5998,14 +5948,14 @@
5998
5948
  const {
5999
5949
  preventDuplicate
6000
5950
  } = item,
6001
- toast = _objectWithoutPropertiesLoose(item, _excluded$s);
5951
+ toast = _objectWithoutPropertiesLoose(item, _excluded$r);
6002
5952
  return /*#__PURE__*/React__namespace.createElement(Toast, _extends({
6003
5953
  key: preventDuplicate ? toast.id : `${toast.id}-${index}`,
6004
5954
  onRemove: () => removeToast(toast.id)
6005
5955
  }, toast, {
6006
5956
  __self: undefined,
6007
5957
  __source: {
6008
- fileName: _jsxFileName$T,
5958
+ fileName: _jsxFileName$S,
6009
5959
  lineNumber: 47,
6010
5960
  columnNumber: 18
6011
5961
  }
@@ -7231,8 +7181,8 @@
7231
7181
  return message;
7232
7182
  };
7233
7183
 
7234
- const _excluded$r = ["id", "disabledOfflineIntercept"];
7235
- var _jsxFileName$S = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\context\\ToastProvider.js";
7184
+ const _excluded$q = ["id", "disabledOfflineIntercept"];
7185
+ var _jsxFileName$R = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/context/ToastProvider.js";
7236
7186
  let toastCount = 0;
7237
7187
  const ToastProvider = ({
7238
7188
  children,
@@ -7261,7 +7211,7 @@
7261
7211
  id,
7262
7212
  disabledOfflineIntercept
7263
7213
  } = toast,
7264
- rest = _objectWithoutPropertiesLoose(toast, _excluded$r);
7214
+ rest = _objectWithoutPropertiesLoose(toast, _excluded$q);
7265
7215
 
7266
7216
  // eslint-disable-next-line no-plusplus
7267
7217
  const uniqueId = ++toastCount;
@@ -7301,7 +7251,7 @@
7301
7251
  },
7302
7252
  __self: undefined,
7303
7253
  __source: {
7304
- fileName: _jsxFileName$S,
7254
+ fileName: _jsxFileName$R,
7305
7255
  lineNumber: 81,
7306
7256
  columnNumber: 5
7307
7257
  }
@@ -7310,7 +7260,7 @@
7310
7260
  position: TOP_RIGHT_POSITION,
7311
7261
  __self: undefined,
7312
7262
  __source: {
7313
- fileName: _jsxFileName$S,
7263
+ fileName: _jsxFileName$R,
7314
7264
  lineNumber: 83,
7315
7265
  columnNumber: 7
7316
7266
  }
@@ -7319,7 +7269,7 @@
7319
7269
  position: TOP_LEFT_POSITION,
7320
7270
  __self: undefined,
7321
7271
  __source: {
7322
- fileName: _jsxFileName$S,
7272
+ fileName: _jsxFileName$R,
7323
7273
  lineNumber: 87,
7324
7274
  columnNumber: 7
7325
7275
  }
@@ -7328,7 +7278,7 @@
7328
7278
  position: BOTTOM_RIGHT_POSITION,
7329
7279
  __self: undefined,
7330
7280
  __source: {
7331
- fileName: _jsxFileName$S,
7281
+ fileName: _jsxFileName$R,
7332
7282
  lineNumber: 91,
7333
7283
  columnNumber: 7
7334
7284
  }
@@ -7337,7 +7287,7 @@
7337
7287
  position: BOTTOM_LEFT_POSITION,
7338
7288
  __self: undefined,
7339
7289
  __source: {
7340
- fileName: _jsxFileName$S,
7290
+ fileName: _jsxFileName$R,
7341
7291
  lineNumber: 95,
7342
7292
  columnNumber: 7
7343
7293
  }
@@ -7350,8 +7300,8 @@
7350
7300
  children
7351
7301
  }) => condition ? wrapper(children) : children;
7352
7302
 
7353
- const _excluded$q = ["count", "maxCount", "css"];
7354
- var _jsxFileName$R = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormGroup\\FormGroup.js";
7303
+ const _excluded$p = ["count", "maxCount", "css"];
7304
+ var _jsxFileName$Q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormGroup/FormGroup.js";
7355
7305
  const formLabelClassStyle = {
7356
7306
  alignItems: 'start !important',
7357
7307
  '& > div': {
@@ -7454,7 +7404,7 @@
7454
7404
  maxCount,
7455
7405
  css
7456
7406
  } = _ref,
7457
- props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
7407
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
7458
7408
  const withCounter = Boolean(count || maxCount);
7459
7409
  return /*#__PURE__*/React__default["default"].createElement(ConditionalWrapper, {
7460
7410
  condition: withCounter,
@@ -7463,7 +7413,7 @@
7463
7413
  css: css,
7464
7414
  __self: undefined,
7465
7415
  __source: {
7466
- fileName: _jsxFileName$R,
7416
+ fileName: _jsxFileName$Q,
7467
7417
  lineNumber: 115,
7468
7418
  columnNumber: 9
7469
7419
  }
@@ -7476,14 +7426,14 @@
7476
7426
  },
7477
7427
  __self: undefined,
7478
7428
  __source: {
7479
- fileName: _jsxFileName$R,
7429
+ fileName: _jsxFileName$Q,
7480
7430
  lineNumber: 116,
7481
7431
  columnNumber: 11
7482
7432
  }
7483
7433
  }, count, "/", maxCount), children),
7484
7434
  __self: undefined,
7485
7435
  __source: {
7486
- fileName: _jsxFileName$R,
7436
+ fileName: _jsxFileName$Q,
7487
7437
  lineNumber: 112,
7488
7438
  columnNumber: 5
7489
7439
  }
@@ -7493,7 +7443,7 @@
7493
7443
  }, props, {
7494
7444
  __self: undefined,
7495
7445
  __source: {
7496
- fileName: _jsxFileName$R,
7446
+ fileName: _jsxFileName$Q,
7497
7447
  lineNumber: 123,
7498
7448
  columnNumber: 7
7499
7449
  }
@@ -7501,8 +7451,8 @@
7501
7451
  };
7502
7452
  FormGroup.displayName = 'FormGroup';
7503
7453
 
7504
- const _excluded$p = ["children", "htmlFor", "variant", "variants", "tooltipLabel", "count", "maxCount", "labelCss"];
7505
- var _jsxFileName$Q = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormLabel\\Label.js";
7454
+ const _excluded$o = ["children", "htmlFor", "variant", "variants", "tooltipLabel", "count", "maxCount", "labelCss"];
7455
+ var _jsxFileName$P = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormLabel/Label.js";
7506
7456
  const StyledLabel$1 = styled(LabelPrimitive__namespace.Root, Text$1, {
7507
7457
  display: 'inline-block',
7508
7458
  fontSize: '$label',
@@ -7534,13 +7484,13 @@
7534
7484
  maxCount,
7535
7485
  labelCss
7536
7486
  } = _ref,
7537
- props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
7487
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
7538
7488
  return /*#__PURE__*/React__default["default"].createElement(Flex$1, {
7539
7489
  justify: "between",
7540
7490
  className: "form-label",
7541
7491
  __self: undefined,
7542
7492
  __source: {
7543
- fileName: _jsxFileName$Q,
7493
+ fileName: _jsxFileName$P,
7544
7494
  lineNumber: 36,
7545
7495
  columnNumber: 5
7546
7496
  }
@@ -7550,7 +7500,7 @@
7550
7500
  }, props, {
7551
7501
  __self: undefined,
7552
7502
  __source: {
7553
- fileName: _jsxFileName$Q,
7503
+ fileName: _jsxFileName$P,
7554
7504
  lineNumber: 37,
7555
7505
  columnNumber: 7
7556
7506
  }
@@ -7560,7 +7510,7 @@
7560
7510
  css: labelCss,
7561
7511
  __self: undefined,
7562
7512
  __source: {
7563
- fileName: _jsxFileName$Q,
7513
+ fileName: _jsxFileName$P,
7564
7514
  lineNumber: 38,
7565
7515
  columnNumber: 9
7566
7516
  }
@@ -7575,7 +7525,7 @@
7575
7525
  },
7576
7526
  __self: undefined,
7577
7527
  __source: {
7578
- fileName: _jsxFileName$Q,
7528
+ fileName: _jsxFileName$P,
7579
7529
  lineNumber: 42,
7580
7530
  columnNumber: 11
7581
7531
  }
@@ -7583,14 +7533,14 @@
7583
7533
  label: tooltipLabel,
7584
7534
  __self: undefined,
7585
7535
  __source: {
7586
- fileName: _jsxFileName$Q,
7536
+ fileName: _jsxFileName$P,
7587
7537
  lineNumber: 56,
7588
7538
  columnNumber: 11
7589
7539
  }
7590
7540
  }, /*#__PURE__*/React__default["default"].createElement(StyledHelpIcon, {
7591
7541
  __self: undefined,
7592
7542
  __source: {
7593
- fileName: _jsxFileName$Q,
7543
+ fileName: _jsxFileName$P,
7594
7544
  lineNumber: 57,
7595
7545
  columnNumber: 13
7596
7546
  }
@@ -7599,7 +7549,7 @@
7599
7549
  color: "disable",
7600
7550
  __self: undefined,
7601
7551
  __source: {
7602
- fileName: _jsxFileName$Q,
7552
+ fileName: _jsxFileName$P,
7603
7553
  lineNumber: 62,
7604
7554
  columnNumber: 9
7605
7555
  }
@@ -7618,8 +7568,8 @@
7618
7568
  };
7619
7569
  FormLabel.displayName = 'FormLabel';
7620
7570
 
7621
- const _excluded$o = ["children", "error", "errorMessage"];
7622
- var _jsxFileName$P = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormHelper\\Helper.js";
7571
+ const _excluded$n = ["children", "error", "errorMessage"];
7572
+ var _jsxFileName$O = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormHelper/Helper.js";
7623
7573
  const StyledHelper = styled(Text$1, {
7624
7574
  display: 'inline-block',
7625
7575
  color: '$textSecondary',
@@ -7637,7 +7587,7 @@
7637
7587
  error,
7638
7588
  errorMessage
7639
7589
  } = _ref,
7640
- props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
7590
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
7641
7591
  const errorByMessage = !!errorMessage;
7642
7592
  if (error === undefined && errorByMessage) {
7643
7593
  return /*#__PURE__*/React__default["default"].createElement(StyledHelper, _extends({
@@ -7647,7 +7597,7 @@
7647
7597
  }, props, {
7648
7598
  __self: undefined,
7649
7599
  __source: {
7650
- fileName: _jsxFileName$P,
7600
+ fileName: _jsxFileName$O,
7651
7601
  lineNumber: 22,
7652
7602
  columnNumber: 7
7653
7603
  }
@@ -7663,7 +7613,7 @@
7663
7613
  }, props, {
7664
7614
  __self: undefined,
7665
7615
  __source: {
7666
- fileName: _jsxFileName$P,
7616
+ fileName: _jsxFileName$O,
7667
7617
  lineNumber: 31,
7668
7618
  columnNumber: 5
7669
7619
  }
@@ -7674,7 +7624,7 @@
7674
7624
  };
7675
7625
  FormHelper.displayName = 'FormHelper';
7676
7626
 
7677
- var _jsxFileName$O = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\CheckboxGroup.js";
7627
+ var _jsxFileName$N = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/CheckboxGroup.js";
7678
7628
  const CheckboxContext = /*#__PURE__*/React.createContext();
7679
7629
  const CheckboxGroup = ({
7680
7630
  children,
@@ -7715,7 +7665,7 @@
7715
7665
  value: values,
7716
7666
  __self: undefined,
7717
7667
  __source: {
7718
- fileName: _jsxFileName$O,
7668
+ fileName: _jsxFileName$N,
7719
7669
  lineNumber: 35,
7720
7670
  columnNumber: 5
7721
7671
  }
@@ -7732,7 +7682,7 @@
7732
7682
  };
7733
7683
  CheckboxGroup.displayName = 'CheckboxGroup';
7734
7684
 
7735
- var _jsxFileName$N = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\CheckOutline.js";
7685
+ var _jsxFileName$M = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/CheckOutline.js";
7736
7686
  const CheckOutline$1 = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
7737
7687
  xmlns: "http://www.w3.org/2000/svg",
7738
7688
  xmlSpace: "preserve",
@@ -7749,7 +7699,7 @@
7749
7699
  }, props, {
7750
7700
  __self: undefined,
7751
7701
  __source: {
7752
- fileName: _jsxFileName$N,
7702
+ fileName: _jsxFileName$M,
7753
7703
  lineNumber: 4,
7754
7704
  columnNumber: 3
7755
7705
  }
@@ -7761,7 +7711,7 @@
7761
7711
  },
7762
7712
  __self: undefined,
7763
7713
  __source: {
7764
- fileName: _jsxFileName$N,
7714
+ fileName: _jsxFileName$M,
7765
7715
  lineNumber: 19,
7766
7716
  columnNumber: 5
7767
7717
  }
@@ -7773,13 +7723,13 @@
7773
7723
  },
7774
7724
  __self: undefined,
7775
7725
  __source: {
7776
- fileName: _jsxFileName$N,
7726
+ fileName: _jsxFileName$M,
7777
7727
  lineNumber: 26,
7778
7728
  columnNumber: 5
7779
7729
  }
7780
7730
  }));
7781
7731
 
7782
- var _jsxFileName$M = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\MinusOutline.js";
7732
+ var _jsxFileName$L = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/MinusOutline.js";
7783
7733
  const SvgMinusOutline = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
7784
7734
  xmlns: "http://www.w3.org/2000/svg",
7785
7735
  xmlSpace: "preserve",
@@ -7796,7 +7746,7 @@
7796
7746
  }, props, {
7797
7747
  __self: undefined,
7798
7748
  __source: {
7799
- fileName: _jsxFileName$M,
7749
+ fileName: _jsxFileName$L,
7800
7750
  lineNumber: 4,
7801
7751
  columnNumber: 3
7802
7752
  }
@@ -7808,7 +7758,7 @@
7808
7758
  },
7809
7759
  __self: undefined,
7810
7760
  __source: {
7811
- fileName: _jsxFileName$M,
7761
+ fileName: _jsxFileName$L,
7812
7762
  lineNumber: 19,
7813
7763
  columnNumber: 5
7814
7764
  }
@@ -7820,14 +7770,14 @@
7820
7770
  d: "M14.31 10.41H3.9v-2.6h10.41z",
7821
7771
  __self: undefined,
7822
7772
  __source: {
7823
- fileName: _jsxFileName$M,
7773
+ fileName: _jsxFileName$L,
7824
7774
  lineNumber: 26,
7825
7775
  columnNumber: 5
7826
7776
  }
7827
7777
  }));
7828
7778
 
7829
- const _excluded$n = ["id", "checked", "indeterminate", "disabled", "onCheckedChange", "label", "index", "value"];
7830
- var _jsxFileName$L = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\InputCheckbox.js";
7779
+ const _excluded$m = ["id", "checked", "indeterminate", "disabled", "onCheckedChange", "label", "index", "value"];
7780
+ var _jsxFileName$K = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/InputCheckbox.js";
7831
7781
  const StyledIndicator$2 = styled(CheckboxPrimitive__namespace.Indicator, {
7832
7782
  alignItems: 'center',
7833
7783
  display: 'flex',
@@ -7885,7 +7835,7 @@
7885
7835
  index,
7886
7836
  value
7887
7837
  } = _ref,
7888
- props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
7838
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
7889
7839
  const context = React.useContext(CheckboxContext);
7890
7840
  const [isChecked, setChecked] = React.useState(false);
7891
7841
  React.useEffect(() => {
@@ -7906,28 +7856,28 @@
7906
7856
  }, props, {
7907
7857
  __self: undefined,
7908
7858
  __source: {
7909
- fileName: _jsxFileName$L,
7859
+ fileName: _jsxFileName$K,
7910
7860
  lineNumber: 64,
7911
7861
  columnNumber: 5
7912
7862
  }
7913
7863
  }), /*#__PURE__*/React__default["default"].createElement(StyledIndicator$2, {
7914
7864
  __self: undefined,
7915
7865
  __source: {
7916
- fileName: _jsxFileName$L,
7866
+ fileName: _jsxFileName$K,
7917
7867
  lineNumber: 77,
7918
7868
  columnNumber: 7
7919
7869
  }
7920
7870
  }, indeterminate ? /*#__PURE__*/React__default["default"].createElement(SvgMinusOutline, {
7921
7871
  __self: undefined,
7922
7872
  __source: {
7923
- fileName: _jsxFileName$L,
7873
+ fileName: _jsxFileName$K,
7924
7874
  lineNumber: 77,
7925
7875
  columnNumber: 41
7926
7876
  }
7927
7877
  }) : /*#__PURE__*/React__default["default"].createElement(CheckOutline$1, {
7928
7878
  __self: undefined,
7929
7879
  __source: {
7930
- fileName: _jsxFileName$L,
7880
+ fileName: _jsxFileName$K,
7931
7881
  lineNumber: 77,
7932
7882
  columnNumber: 60
7933
7883
  }
@@ -7940,14 +7890,14 @@
7940
7890
  gap: 4,
7941
7891
  __self: undefined,
7942
7892
  __source: {
7943
- fileName: _jsxFileName$L,
7893
+ fileName: _jsxFileName$K,
7944
7894
  lineNumber: 84,
7945
7895
  columnNumber: 5
7946
7896
  }
7947
7897
  }, /*#__PURE__*/React__default["default"].createElement(Checkbox, _extends({}, props, {
7948
7898
  __self: undefined,
7949
7899
  __source: {
7950
- fileName: _jsxFileName$L,
7900
+ fileName: _jsxFileName$K,
7951
7901
  lineNumber: 85,
7952
7902
  columnNumber: 7
7953
7903
  }
@@ -7963,14 +7913,14 @@
7963
7913
  },
7964
7914
  __self: undefined,
7965
7915
  __source: {
7966
- fileName: _jsxFileName$L,
7916
+ fileName: _jsxFileName$K,
7967
7917
  lineNumber: 86,
7968
7918
  columnNumber: 7
7969
7919
  }
7970
7920
  }, props.label)) : /*#__PURE__*/React__default["default"].createElement(Checkbox, _extends({}, props, {
7971
7921
  __self: undefined,
7972
7922
  __source: {
7973
- fileName: _jsxFileName$L,
7923
+ fileName: _jsxFileName$K,
7974
7924
  lineNumber: 101,
7975
7925
  columnNumber: 5
7976
7926
  }
@@ -7987,8 +7937,8 @@
7987
7937
  };
7988
7938
  InputCheckbox.displayName = 'InputCheckbox';
7989
7939
 
7990
- const _excluded$m = ["children", "size"];
7991
- var _jsxFileName$K = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputGroup\\InputGroup.js";
7940
+ const _excluded$l = ["children", "size"];
7941
+ var _jsxFileName$J = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputGroup/InputGroup.js";
7992
7942
  const InputGroupStyle = styled('div', {
7993
7943
  display: 'flex',
7994
7944
  width: '100%',
@@ -8127,7 +8077,7 @@
8127
8077
  children,
8128
8078
  size = 'lg'
8129
8079
  } = _ref,
8130
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$m);
8080
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$l);
8131
8081
  const isLetter = children.some(child => child.type.name === 'InputPrefix' || child.type.name === 'InputSuffix' || child.type.name === 'InputLeftElement' || child.type.name === 'InputRightElement');
8132
8082
  const isElement = children.some(child => child.type.name === 'InputLeftElement' || child.type.name === 'InputRightElement');
8133
8083
  const clone = children.map((child, index) => {
@@ -8150,7 +8100,7 @@
8150
8100
  isElement: isElement,
8151
8101
  __self: undefined,
8152
8102
  __source: {
8153
- fileName: _jsxFileName$K,
8103
+ fileName: _jsxFileName$J,
8154
8104
  lineNumber: 169,
8155
8105
  columnNumber: 10
8156
8106
  }
@@ -8326,8 +8276,8 @@
8326
8276
  children: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].node])
8327
8277
  };
8328
8278
 
8329
- const _excluded$l = ["disabled", "readOnly"];
8330
- var _jsxFileName$J = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputText\\InputText.js";
8279
+ const _excluded$k = ["disabled", "readOnly"];
8280
+ var _jsxFileName$I = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputText/InputText.js";
8331
8281
  const disabledStyle = {
8332
8282
  backgroundColor: '$formDisable',
8333
8283
  color: '$textDisable',
@@ -8500,7 +8450,7 @@
8500
8450
  disabled,
8501
8451
  readOnly
8502
8452
  } = _ref,
8503
- props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
8453
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
8504
8454
  return /*#__PURE__*/React__default["default"].createElement(StyledInput$1, _extends({
8505
8455
  ref: ref,
8506
8456
  disabled: disabled,
@@ -8510,7 +8460,7 @@
8510
8460
  }, props, {
8511
8461
  __self: undefined,
8512
8462
  __source: {
8513
- fileName: _jsxFileName$J,
8463
+ fileName: _jsxFileName$I,
8514
8464
  lineNumber: 185,
8515
8465
  columnNumber: 3
8516
8466
  }
@@ -8528,8 +8478,8 @@
8528
8478
  };
8529
8479
  InputText.displayName = 'InputText';
8530
8480
 
8531
- const _excluded$k = ["disabled", "readOnly"];
8532
- var _jsxFileName$I = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTextArea\\InputTextArea.js";
8481
+ const _excluded$j = ["disabled", "readOnly"];
8482
+ var _jsxFileName$H = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTextArea/InputTextArea.js";
8533
8483
  const StyledTextArea = styled(StyledInput$1, {
8534
8484
  variants: {
8535
8485
  size: {
@@ -8550,7 +8500,7 @@
8550
8500
  disabled,
8551
8501
  readOnly
8552
8502
  } = _ref,
8553
- props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
8503
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
8554
8504
  const textareaRef = React.useRef(null);
8555
8505
  React.useEffect(() => {
8556
8506
  if (textareaRef.current) {
@@ -8584,7 +8534,7 @@
8584
8534
  }, props, {
8585
8535
  __self: undefined,
8586
8536
  __source: {
8587
- fileName: _jsxFileName$I,
8537
+ fileName: _jsxFileName$H,
8588
8538
  lineNumber: 51,
8589
8539
  columnNumber: 5
8590
8540
  }
@@ -8607,21 +8557,21 @@
8607
8557
 
8608
8558
  const InputRadioContext = /*#__PURE__*/React__default["default"].createContext();
8609
8559
 
8610
- var _jsxFileName$H = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadioGroup.js";
8560
+ var _jsxFileName$G = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadioGroup.js";
8611
8561
  const RadioGroup = styled(RadioGroupPrimitive__namespace.Root, Flex$1);
8612
8562
  function InputRadioGroup(props) {
8613
8563
  return (props == null ? void 0 : props.children) && /*#__PURE__*/React__default["default"].createElement(InputRadioContext.Provider, {
8614
8564
  value: props,
8615
8565
  __self: this,
8616
8566
  __source: {
8617
- fileName: _jsxFileName$H,
8567
+ fileName: _jsxFileName$G,
8618
8568
  lineNumber: 13,
8619
8569
  columnNumber: 7
8620
8570
  }
8621
8571
  }, /*#__PURE__*/React__default["default"].createElement(RadioGroup, _extends({}, props, {
8622
8572
  __self: this,
8623
8573
  __source: {
8624
- fileName: _jsxFileName$H,
8574
+ fileName: _jsxFileName$G,
8625
8575
  lineNumber: 14,
8626
8576
  columnNumber: 9
8627
8577
  }
@@ -8640,8 +8590,8 @@
8640
8590
  };
8641
8591
  InputRadioGroup.displayName = 'InputRadioGroup';
8642
8592
 
8643
- const _excluded$j = ["id", "disabled", "css", "inputType", "inputProps", "description", "readOnly"];
8644
- var _jsxFileName$G = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadio.js";
8593
+ const _excluded$i = ["id", "disabled", "css", "inputType", "inputProps", "description", "readOnly"];
8594
+ var _jsxFileName$F = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadio.js";
8645
8595
  const INDICATOR_BASE_STYLES = {
8646
8596
  alignItems: 'center',
8647
8597
  display: 'flex',
@@ -8806,7 +8756,7 @@
8806
8756
  description,
8807
8757
  readOnly
8808
8758
  } = _ref,
8809
- props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
8759
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
8810
8760
  function renderInputType(type, checkedValue, onValueChange) {
8811
8761
  switch (type) {
8812
8762
  case 'number':
@@ -8819,7 +8769,7 @@
8819
8769
  asChild: true,
8820
8770
  __self: this,
8821
8771
  __source: {
8822
- fileName: _jsxFileName$G,
8772
+ fileName: _jsxFileName$F,
8823
8773
  lineNumber: 171,
8824
8774
  columnNumber: 11
8825
8775
  }
@@ -8835,7 +8785,7 @@
8835
8785
  asChild: true,
8836
8786
  __self: this,
8837
8787
  __source: {
8838
- fileName: _jsxFileName$G,
8788
+ fileName: _jsxFileName$F,
8839
8789
  lineNumber: 184,
8840
8790
  columnNumber: 11
8841
8791
  }
@@ -8854,7 +8804,7 @@
8854
8804
  },
8855
8805
  __self: this,
8856
8806
  __source: {
8857
- fileName: _jsxFileName$G,
8807
+ fileName: _jsxFileName$F,
8858
8808
  lineNumber: 198,
8859
8809
  columnNumber: 11
8860
8810
  }
@@ -8864,7 +8814,7 @@
8864
8814
  return /*#__PURE__*/React__default["default"].createElement(InputRadioContext.Consumer, {
8865
8815
  __self: undefined,
8866
8816
  __source: {
8867
- fileName: _jsxFileName$G,
8817
+ fileName: _jsxFileName$F,
8868
8818
  lineNumber: 217,
8869
8819
  columnNumber: 5
8870
8820
  }
@@ -8881,7 +8831,7 @@
8881
8831
  outlined: outlined,
8882
8832
  __self: undefined,
8883
8833
  __source: {
8884
- fileName: _jsxFileName$G,
8834
+ fileName: _jsxFileName$F,
8885
8835
  lineNumber: 222,
8886
8836
  columnNumber: 11
8887
8837
  }
@@ -8896,7 +8846,7 @@
8896
8846
  css: css,
8897
8847
  __self: undefined,
8898
8848
  __source: {
8899
- fileName: _jsxFileName$G,
8849
+ fileName: _jsxFileName$F,
8900
8850
  lineNumber: 223,
8901
8851
  columnNumber: 13
8902
8852
  }
@@ -8905,7 +8855,7 @@
8905
8855
  gap: 4,
8906
8856
  __self: undefined,
8907
8857
  __source: {
8908
- fileName: _jsxFileName$G,
8858
+ fileName: _jsxFileName$F,
8909
8859
  lineNumber: 233,
8910
8860
  columnNumber: 15
8911
8861
  }
@@ -8916,14 +8866,14 @@
8916
8866
  }, props, {
8917
8867
  __self: undefined,
8918
8868
  __source: {
8919
- fileName: _jsxFileName$G,
8869
+ fileName: _jsxFileName$F,
8920
8870
  lineNumber: 234,
8921
8871
  columnNumber: 17
8922
8872
  }
8923
8873
  }), /*#__PURE__*/React__default["default"].createElement(StyledIndicator$1, {
8924
8874
  __self: undefined,
8925
8875
  __source: {
8926
- fileName: _jsxFileName$G,
8876
+ fileName: _jsxFileName$F,
8927
8877
  lineNumber: 235,
8928
8878
  columnNumber: 19
8929
8879
  }
@@ -8935,7 +8885,7 @@
8935
8885
  },
8936
8886
  __self: undefined,
8937
8887
  __source: {
8938
- fileName: _jsxFileName$G,
8888
+ fileName: _jsxFileName$F,
8939
8889
  lineNumber: 240,
8940
8890
  columnNumber: 17
8941
8891
  }
@@ -11089,8 +11039,8 @@
11089
11039
  }(React__default["default"].Component);
11090
11040
  NumberFormat.defaultProps = defaultProps;
11091
11041
 
11092
- const _excluded$i = ["placeholder", "value", "size", "isInvalid", "readOnly", "disabled", "control", "name", "maxValueLength", "maxLength", "thousandSeparator"];
11093
- var _jsxFileName$F = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputNumber\\InputNumber.js";
11042
+ const _excluded$h = ["placeholder", "value", "size", "isInvalid", "readOnly", "disabled", "control", "name", "maxValueLength", "maxLength", "thousandSeparator"];
11043
+ var _jsxFileName$E = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputNumber/InputNumber.js";
11094
11044
  const StyledInput = styled(NumberFormat, {
11095
11045
  // Reset
11096
11046
  appearance: 'none',
@@ -11285,7 +11235,7 @@
11285
11235
  maxLength,
11286
11236
  thousandSeparator
11287
11237
  } = _ref,
11288
- props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
11238
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
11289
11239
  return /*#__PURE__*/React__default["default"].createElement(ConditionalWrapper, {
11290
11240
  condition: Boolean(control),
11291
11241
  wrapper: child => /*#__PURE__*/React__default["default"].createElement(reactHookForm.Controller, {
@@ -11303,14 +11253,14 @@
11303
11253
  }),
11304
11254
  __self: undefined,
11305
11255
  __source: {
11306
- fileName: _jsxFileName$F,
11256
+ fileName: _jsxFileName$E,
11307
11257
  lineNumber: 225,
11308
11258
  columnNumber: 9
11309
11259
  }
11310
11260
  }),
11311
11261
  __self: undefined,
11312
11262
  __source: {
11313
- fileName: _jsxFileName$F,
11263
+ fileName: _jsxFileName$E,
11314
11264
  lineNumber: 222,
11315
11265
  columnNumber: 5
11316
11266
  }
@@ -11328,7 +11278,7 @@
11328
11278
  }, props, {
11329
11279
  __self: undefined,
11330
11280
  __source: {
11331
- fileName: _jsxFileName$F,
11281
+ fileName: _jsxFileName$E,
11332
11282
  lineNumber: 234,
11333
11283
  columnNumber: 7
11334
11284
  }
@@ -11350,9 +11300,7 @@
11350
11300
  InputNumber.name = 'InputText';
11351
11301
  InputNumber.displayName = 'InputNumber';
11352
11302
 
11353
- const _excluded$h = ["className", "children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"];
11354
- var _jsxFileName$E = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\tag\\Tag.js";
11355
- const TagWrapper$4 = styled('div', {
11303
+ var TagWrapper$4 = styled('div', {
11356
11304
  boxSizing: 'border-box',
11357
11305
  listStyle: 'none',
11358
11306
  display: 'inline-flex',
@@ -11394,6 +11342,10 @@
11394
11342
  }
11395
11343
  },
11396
11344
  type: {
11345
+ default: {
11346
+ background: '$bgGray',
11347
+ color: '$textPrimary'
11348
+ },
11397
11349
  success: {
11398
11350
  background: '$bgSuccess',
11399
11351
  color: '$textGreen'
@@ -11410,13 +11362,13 @@
11410
11362
  }
11411
11363
  }
11412
11364
  });
11413
- const TagComponent$1 = styled('span', {
11365
+ var TagComponent$1 = styled('span', {
11414
11366
  textAlign: 'center',
11415
11367
  whiteSpace: 'nowrap',
11416
11368
  overflow: 'hidden',
11417
11369
  textOverflow: 'ellipsis'
11418
11370
  });
11419
- const StyledIconRight$1 = styled('div', {
11371
+ var StyledIconRight$1 = styled('div', {
11420
11372
  marginLeft: '6px',
11421
11373
  display: 'flex',
11422
11374
  verticalAlign: 'middle',
@@ -11436,89 +11388,51 @@
11436
11388
  }
11437
11389
  }
11438
11390
  });
11439
- const StyledIconLeft$3 = styled('div', {
11391
+ var StyledIconLeft$3 = styled('div', {
11440
11392
  margin: '0 3px',
11441
11393
  display: 'flex',
11442
11394
  verticalAlign: 'middle',
11443
11395
  alignItems: 'center',
11444
11396
  color: 'inherit'
11445
11397
  });
11446
- const Tag = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
11447
- let {
11448
- children,
11449
- onClick,
11450
- size,
11451
- icon,
11452
- isRemovable,
11453
- disabled,
11454
- type,
11455
- onRemove,
11456
- readOnly
11457
- } = _ref,
11458
- props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
11459
- return /*#__PURE__*/React__default["default"].createElement(TagWrapper$4, _extends({
11398
+ var Tag = /*#__PURE__*/React__default["default"].forwardRef(function (_a, ref) {
11399
+ var children = _a.children,
11400
+ onClick = _a.onClick,
11401
+ size = _a.size,
11402
+ icon = _a.icon,
11403
+ isRemovable = _a.isRemovable,
11404
+ disabled = _a.disabled,
11405
+ type = _a.type,
11406
+ onRemove = _a.onRemove,
11407
+ readOnly = _a.readOnly,
11408
+ props = __rest(_a, ["children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"]);
11409
+ return jsxRuntime.jsxs(TagWrapper$4, __assign({
11460
11410
  ref: ref,
11461
11411
  onClick: onClick,
11462
11412
  size: size,
11463
11413
  disabled: disabled,
11464
11414
  type: type,
11465
- readOnly: readOnly,
11466
- css: Object.assign({}, props.css)
11415
+ readOnly: readOnly
11467
11416
  }, props, {
11468
- __self: undefined,
11469
- __source: {
11470
- fileName: _jsxFileName$E,
11471
- lineNumber: 84,
11472
- columnNumber: 7
11473
- }
11474
- }), icon !== undefined ? /*#__PURE__*/React__default["default"].createElement(StyledIconLeft$3, {
11475
- __self: undefined,
11476
- __source: {
11477
- fileName: _jsxFileName$E,
11478
- lineNumber: 94,
11479
- columnNumber: 31
11480
- }
11481
- }, icon) : null, /*#__PURE__*/React__default["default"].createElement(TagComponent$1, {
11482
- __self: undefined,
11483
- __source: {
11484
- fileName: _jsxFileName$E,
11485
- lineNumber: 95,
11486
- columnNumber: 9
11487
- }
11488
- }, children), isRemovable ? /*#__PURE__*/React__default["default"].createElement(StyledIconRight$1, {
11489
- disabled: disabled,
11490
- onClick: onRemove,
11491
- readOnly: readOnly,
11492
- __self: undefined,
11493
- __source: {
11494
- fileName: _jsxFileName$E,
11495
- lineNumber: 97,
11496
- columnNumber: 11
11497
- }
11498
- }, /*#__PURE__*/React__default["default"].createElement(icons.CloseOutline, {
11499
- size: 16,
11500
- color: colors$8.iconSecondary,
11501
- style: {
11502
- verticalAlign: 'middle'
11503
- },
11504
- __self: undefined,
11505
- __source: {
11506
- fileName: _jsxFileName$E,
11507
- lineNumber: 98,
11508
- columnNumber: 13
11509
- }
11510
- })) : null);
11417
+ children: [icon !== undefined ? jsxRuntime.jsx(StyledIconLeft$3, {
11418
+ children: icon
11419
+ }, void 0) : null, jsxRuntime.jsx(TagComponent$1, {
11420
+ children: children
11421
+ }, void 0), isRemovable ? jsxRuntime.jsx(StyledIconRight$1, __assign({
11422
+ disabled: disabled,
11423
+ onClick: onRemove,
11424
+ readOnly: readOnly
11425
+ }, {
11426
+ children: jsxRuntime.jsx(icons.CloseOutline, {
11427
+ size: 16,
11428
+ color: colors$8.iconSecondary,
11429
+ style: {
11430
+ verticalAlign: 'middle'
11431
+ }
11432
+ }, void 0)
11433
+ }), void 0) : null]
11434
+ }), void 0);
11511
11435
  });
11512
- Tag.propTypes = {
11513
- size: PropTypes__default["default"].string,
11514
- disabled: PropTypes__default["default"].bool,
11515
- type: PropTypes__default["default"].string,
11516
- icon: PropTypes__default["default"].element,
11517
- isRemovable: PropTypes__default["default"].bool,
11518
- onRemove: PropTypes__default["default"].func,
11519
- onClick: PropTypes__default["default"].func,
11520
- readOnly: PropTypes__default["default"].bool
11521
- };
11522
11436
  Tag.defaultProps = {
11523
11437
  size: 'sm',
11524
11438
  isRemovable: false,
@@ -11527,7 +11441,7 @@
11527
11441
  };
11528
11442
 
11529
11443
  const _excluded$g = ["size", "isInvalid", "placeholder", "onChange", "onEnter", "onInputChange", "value", "disabled", "readOnly", "max", "maxChar", "pattern", "helperText", "unremovableTags", "onRemoveItem"];
11530
- var _jsxFileName$D = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTags\\InputTags.js";
11444
+ var _jsxFileName$D = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTags/InputTags.js";
11531
11445
  const Wrapper$2 = styled('div', {
11532
11446
  margin: 0,
11533
11447
  flexDirection: 'column',
@@ -11824,7 +11738,7 @@
11824
11738
  };
11825
11739
 
11826
11740
  const _excluded$f = ["id", "defaultChecked", "dataOnLabel", "dataOffLabel", "disabled"];
11827
- var _jsxFileName$C = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSwitch\\InputSwitch.js";
11741
+ var _jsxFileName$C = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSwitch/InputSwitch.js";
11828
11742
  const StyledThumb$1 = styled(SwitchPrimitive__namespace.Thumb, {
11829
11743
  display: 'block',
11830
11744
  width: '16px',
@@ -11929,7 +11843,7 @@
11929
11843
  };
11930
11844
  InputSwitch.displayName = 'InputSwitch';
11931
11845
 
11932
- var _jsxFileName$B = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\CloseFilled.js";
11846
+ var _jsxFileName$B = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/CloseFilled.js";
11933
11847
  const SvgCloseFilled = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
11934
11848
  width: props.size,
11935
11849
  height: props.size,
@@ -11988,7 +11902,7 @@
11988
11902
  size: 24
11989
11903
  };
11990
11904
 
11991
- var _jsxFileName$A = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\SearchOutline.js";
11905
+ var _jsxFileName$A = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/SearchOutline.js";
11992
11906
  const SvgSearchOutline = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
11993
11907
  width: props.size,
11994
11908
  height: props.size,
@@ -12029,7 +11943,7 @@
12029
11943
  };
12030
11944
 
12031
11945
  const _excluded$e = ["size", "onChange", "css", "disabled", "withDebounce", "defaultValue", "mobileOnly", "desktopOnly"];
12032
- var _jsxFileName$z = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\InputSearchbox.js";
11946
+ var _jsxFileName$z = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/InputSearchbox.js";
12033
11947
  const {
12034
11948
  colors: colors$7
12035
11949
  } = core.foundations;
@@ -12328,7 +12242,7 @@
12328
12242
  });
12329
12243
 
12330
12244
  const _excluded$d = ["children"];
12331
- var _jsxFileName$y = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\popover\\Popover.js";
12245
+ var _jsxFileName$y = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/popover/Popover.js";
12332
12246
  const {
12333
12247
  zIndices: zIndices$1
12334
12248
  } = core.foundations;
@@ -13841,7 +13755,7 @@
13841
13755
  }), void 0);
13842
13756
  });
13843
13757
 
13844
- var _jsxFileName$x = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\icon\\CheckOutline.js";
13758
+ var _jsxFileName$x = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/icon/CheckOutline.js";
13845
13759
  const CheckOutline = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
13846
13760
  xmlns: "http://www.w3.org/2000/svg",
13847
13761
  xmlSpace: "preserve",
@@ -13925,7 +13839,7 @@
13925
13839
  }
13926
13840
 
13927
13841
  const _excluded$c = ["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"];
13928
- var _jsxFileName$w = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\InputSelectCheck.js";
13842
+ var _jsxFileName$w = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/InputSelectCheck.js";
13929
13843
  function _await(value, then, direct) {
13930
13844
  if (direct) {
13931
13845
  return then ? then(value) : value;
@@ -15246,7 +15160,7 @@
15246
15160
  collapsibleLimit: 5
15247
15161
  };
15248
15162
 
15249
- var _jsxFileName$v = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectTag\\InputSelectTag.js";
15163
+ var _jsxFileName$v = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectTag/InputSelectTag.js";
15250
15164
  const InputSelectTag = /*#__PURE__*/React__namespace.forwardRef((props, ref) => {
15251
15165
  return /*#__PURE__*/React__namespace.createElement(InputSelectCheck, _extends({
15252
15166
  ref: ref,
@@ -15307,7 +15221,7 @@
15307
15221
  defaultValue: []
15308
15222
  };
15309
15223
 
15310
- var _jsxFileName$u = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCreatable\\InputCreatable.js";
15224
+ var _jsxFileName$u = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCreatable/InputCreatable.js";
15311
15225
  const Wrapper = styled('div', {
15312
15226
  margin: 0,
15313
15227
  flexDirection: 'column',
@@ -16489,7 +16403,7 @@
16489
16403
 
16490
16404
  const _excluded$b = ["children"],
16491
16405
  _excluded2$3 = ["children", "showOverlay"];
16492
- var _jsxFileName$t = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\drawer\\Drawer.js";
16406
+ var _jsxFileName$t = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/drawer/Drawer.js";
16493
16407
  const Context$1 = /*#__PURE__*/React__default["default"].createContext();
16494
16408
  const {
16495
16409
  sizes
@@ -16839,7 +16753,7 @@
16839
16753
 
16840
16754
  const _excluded$a = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size", "withMaxWidth", "mobileOnly", "desktopOnly"],
16841
16755
  _excluded2$2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
16842
- var _jsxFileName$s = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\buttonGroup\\ButtonGroup.js";
16756
+ var _jsxFileName$s = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/buttonGroup/ButtonGroup.js";
16843
16757
  const ScrollButton$1 = styled(Button$4, {
16844
16758
  width: '28px',
16845
16759
  outline: '$btnPrimary solid 1px',
@@ -17374,7 +17288,7 @@
17374
17288
  });
17375
17289
  DateNumber.displayName = 'DateNumber';
17376
17290
 
17377
- var _jsxFileName$r = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\TimePicker.js";
17291
+ var _jsxFileName$r = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/TimePicker.js";
17378
17292
  const Input$3 = styled('input', {
17379
17293
  display: 'none'
17380
17294
  });
@@ -17930,7 +17844,7 @@
17930
17844
  };
17931
17845
  NativeTimePicker.displayName = 'NativeTimePicker';
17932
17846
 
17933
- var _jsxFileName$q = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\InputTimePicker.js";
17847
+ var _jsxFileName$q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/InputTimePicker.js";
17934
17848
  const getInputPickerValue$1 = date => {
17935
17849
  if (!date) return;
17936
17850
  return moment__default["default"](date).format('HH:mm');
@@ -20175,6 +20089,7 @@
20175
20089
  onClose = _a.onClose,
20176
20090
  mobileOnly = _a.mobileOnly,
20177
20091
  desktopOnly = _a.desktopOnly,
20092
+ advanceOptions = _a.advanceOptions,
20178
20093
  drawerCss = _a.drawerCss,
20179
20094
  _g = _a.drawerContentCss,
20180
20095
  drawerContentCss = _g === void 0 ? {} : _g,
@@ -20273,20 +20188,22 @@
20273
20188
  }
20274
20189
  };
20275
20190
  var renderDatePicker = function renderDatePicker() {
20191
+ var options = language === 'id' ? advancePickerOptionsId : advancePickerOptionsEn;
20192
+ var advancePickerReducer = (advanceOptions === null || advanceOptions === void 0 ? void 0 : advanceOptions.reducer) || advancePickerDate;
20276
20193
  var handleDatePickerChange = function handleDatePickerChange(value) {
20277
20194
  if (showRangeControl || type === 'range_picker') {
20278
20195
  if (rangePickerType === 'monthly') {
20279
20196
  dispatch({
20280
20197
  type: 'UPDATE',
20281
- payload: advancePickerDate('RANGE_MONTH', value)
20198
+ payload: advancePickerReducer('RANGE_MONTH', value)
20282
20199
  });
20283
- onChange === null || onChange === void 0 ? void 0 : onChange(advancePickerDate('RANGE_MONTH', value));
20200
+ onChange === null || onChange === void 0 ? void 0 : onChange(advancePickerReducer('RANGE_MONTH', value));
20284
20201
  } else {
20285
20202
  dispatch({
20286
20203
  type: 'UPDATE',
20287
- payload: advancePickerDate('RANGE_WEEK', value)
20204
+ payload: advancePickerReducer('RANGE_WEEK', value)
20288
20205
  });
20289
- onChange === null || onChange === void 0 ? void 0 : onChange(advancePickerDate('RANGE_WEEK', value));
20206
+ onChange === null || onChange === void 0 ? void 0 : onChange(advancePickerReducer('RANGE_WEEK', value));
20290
20207
  }
20291
20208
  } else {
20292
20209
  dispatch({
@@ -20298,10 +20215,10 @@
20298
20215
  };
20299
20216
  return jsxRuntime.jsx(DatePicker, {
20300
20217
  advanceView: type === ADVANCE_PICKER && (!advanceView ? jsxRuntime.jsx(AdvancedOption, {
20301
- options: language === 'id' ? advancePickerOptionsId : advancePickerOptionsEn,
20218
+ options: (advanceOptions === null || advanceOptions === void 0 ? void 0 : advanceOptions.options) || options,
20302
20219
  disabled: disabled,
20303
20220
  optionHandler: function (value) {
20304
- var reducedResult = advancePickerDate(value, undefined);
20221
+ var reducedResult = advancePickerReducer(value, undefined);
20305
20222
  var dateAsString = moment__default["default"](reducedResult[1]).format('YYYY-MM-DD');
20306
20223
  var payload = [reducedResult[0], moment__default["default"]("".concat(dateAsString, " 23:59"), 'YYYY-MM-DD HH:mm').toDate()];
20307
20224
  dispatch({
@@ -20572,21 +20489,23 @@
20572
20489
  readOnly = _e === void 0 ? false : _e,
20573
20490
  _f = _a.isInvalid,
20574
20491
  isInvalid = _f === void 0 ? false : _f,
20575
- css = _a.css;
20492
+ css = _a.css,
20493
+ advanceOptions = _a.advanceOptions;
20576
20494
  var _g = reactI18next.useTranslation('translation'),
20577
20495
  t = _g.t,
20578
20496
  i18n = _g.i18n;
20579
20497
  var language = i18n.language;
20580
20498
  var pickerOptions = language === 'id' ? advancePickerOptionsId : advancePickerOptionsEn;
20499
+ var advancePickerReducer = (advanceOptions === null || advanceOptions === void 0 ? void 0 : advanceOptions.reducer) || advancePickerDate;
20581
20500
  return jsxRuntime.jsx(InputSelect, {
20582
- option: pickerOptions.map(function (option) {
20501
+ option: ((advanceOptions === null || advanceOptions === void 0 ? void 0 : advanceOptions.options) || pickerOptions).map(function (option) {
20583
20502
  return {
20584
20503
  name: option.label,
20585
20504
  value: option.value
20586
20505
  };
20587
20506
  }),
20588
20507
  onChange: function (selectedOption) {
20589
- if (onChange) onChange(advancePickerDate(selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.value, undefined));
20508
+ if (onChange) onChange(advancePickerReducer(selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.value, undefined));
20590
20509
  },
20591
20510
  placeholder: placeholder || t('placeholder.select', 'Pilih'),
20592
20511
  size: size,
@@ -20599,7 +20518,7 @@
20599
20518
  });
20600
20519
 
20601
20520
  const _excluded$9 = ["className", "defaultValue", "value", "name", "disabled", "orientation", "dir", "min", "max", "step", "onValueChange", "minStepsBetweenThumbs", "color", "size", "width", "height"];
20602
- var _jsxFileName$p = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\slider\\Slider.js";
20521
+ var _jsxFileName$p = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/slider/Slider.js";
20603
20522
  const StyledSlider = react.styled(SliderPrimitive__namespace.Root, {
20604
20523
  position: 'relative',
20605
20524
  display: 'flex',
@@ -20943,7 +20862,7 @@
20943
20862
  };
20944
20863
 
20945
20864
  const _excluded$8 = ["className", "children", "onClick", "type", "size"];
20946
- var _jsxFileName$o = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\tagStatus\\TagStatus.js";
20865
+ var _jsxFileName$o = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tagStatus/TagStatus.js";
20947
20866
  const TagWrapper$1 = styled('div', {
20948
20867
  boxSizing: 'border-box',
20949
20868
  fontSize: '12px',
@@ -21107,7 +21026,7 @@
21107
21026
  _excluded2$1 = ["children", "activeTabs"],
21108
21027
  _excluded3$1 = ["children", "icon", "activeTabs", "value"],
21109
21028
  _excluded4 = ["activeTabs"];
21110
- var _jsxFileName$n = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\tabs\\Tabs.js";
21029
+ var _jsxFileName$n = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tabs/Tabs.js";
21111
21030
  const StyledTabs = styled(TabsPrimitive__namespace.Root, {
21112
21031
  display: 'flex',
21113
21032
  flexDirection: 'column',
@@ -21446,7 +21365,7 @@
21446
21365
  };
21447
21366
 
21448
21367
  const _excluded$6 = ["children", "variantIcon"];
21449
- var _jsxFileName$m = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\notificationBadge\\NotificationBadge.js";
21368
+ var _jsxFileName$m = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/notificationBadge/NotificationBadge.js";
21450
21369
  const NotificationBadgeRootStyle = styled('span', {
21451
21370
  position: 'relative',
21452
21371
  display: 'inline-flex',
@@ -21601,7 +21520,7 @@
21601
21520
  };
21602
21521
 
21603
21522
  const _excluded$5 = ["className", "children", "radius", "padding", "width", "height"];
21604
- var _jsxFileName$l = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\paper\\Paper.js";
21523
+ var _jsxFileName$l = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/paper/Paper.js";
21605
21524
  const PaperComponent = styled('div', {
21606
21525
  padding: '20px',
21607
21526
  height: 'auto',
@@ -21853,7 +21772,7 @@
21853
21772
  };
21854
21773
 
21855
21774
  const _excluded$4 = ["isActive", "onClick"];
21856
- var _jsxFileName$k = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationButton.js";
21775
+ var _jsxFileName$k = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationButton.js";
21857
21776
  const PrevNextButton = styled(Text$1, {
21858
21777
  padding: '$spacing-01',
21859
21778
  cursor: 'pointer',
@@ -22341,7 +22260,7 @@
22341
22260
  };
22342
22261
 
22343
22262
  const _excluded$3 = ["limits", "selectedLimit", "currentPage", "totalData", "onChange"];
22344
- var _jsxFileName$j = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationInfo.js";
22263
+ var _jsxFileName$j = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationInfo.js";
22345
22264
  const LimitContainer = styled(Flex$1, {
22346
22265
  cursor: 'pointer'
22347
22266
  });
@@ -22574,7 +22493,7 @@
22574
22493
  }
22575
22494
 
22576
22495
  const _excluded$2 = ["limit", "currentPage", "totalData", "totalPage", "hideDataInfo", "onLimitChange", "onPageChange", "rowsPerPageOptions", "hidePagination", "hideInputPageSection"];
22577
- var _jsxFileName$i = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\Pagination.js";
22496
+ var _jsxFileName$i = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/Pagination.js";
22578
22497
  function Pagination(_ref) {
22579
22498
  let {
22580
22499
  limit,
@@ -24884,7 +24803,7 @@
24884
24803
  return jsxRuntime.jsx("div", {}, void 0);
24885
24804
  };
24886
24805
 
24887
- var _jsxFileName$h = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\DateColumn.js";
24806
+ var _jsxFileName$h = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/DateColumn.js";
24888
24807
  const DateColumn = ({
24889
24808
  value,
24890
24809
  customFormat
@@ -24997,7 +24916,7 @@
24997
24916
  return addThousandSeparator(param);
24998
24917
  };
24999
24918
 
25000
- var _jsxFileName$g = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowExpanderColumn.js";
24919
+ var _jsxFileName$g = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderColumn.js";
25001
24920
  const rowExpanderColumn = {
25002
24921
  id: 'expander',
25003
24922
  Header: () => null,
@@ -25038,7 +24957,7 @@
25038
24957
  unsortable: true
25039
24958
  };
25040
24959
 
25041
- var _jsxFileName$f = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowExpanderMultipleColumn.js";
24960
+ var _jsxFileName$f = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderMultipleColumn.js";
25042
24961
  const rowExpanderMultipleColumn = {
25043
24962
  id: 'multiple-expander',
25044
24963
  Header: () => null,
@@ -25072,7 +24991,7 @@
25072
24991
  unsortable: true
25073
24992
  };
25074
24993
 
25075
- var _jsxFileName$e = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowMenuColumn.js";
24994
+ var _jsxFileName$e = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowMenuColumn.js";
25076
24995
  const rowMenuColumn = (options, icon, config) => ({
25077
24996
  id: 'menu',
25078
24997
  options,
@@ -25205,7 +25124,7 @@
25205
25124
  unsortable: true
25206
25125
  });
25207
25126
 
25208
- var _jsxFileName$d = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowSelectionColumn.js";
25127
+ var _jsxFileName$d = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionColumn.js";
25209
25128
  const rowSelectionColumn = {
25210
25129
  id: 'selection',
25211
25130
  Header: ({
@@ -25254,7 +25173,7 @@
25254
25173
  unsortable: true
25255
25174
  };
25256
25175
 
25257
- var _jsxFileName$c = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowSelectionCallbackColumn.js";
25176
+ var _jsxFileName$c = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionCallbackColumn.js";
25258
25177
  const rowSelectionWithCallbackColumn = (onCheckedChange, onAllCheckedChange) => ({
25259
25178
  id: 'selection',
25260
25179
  Header: ({
@@ -25599,7 +25518,7 @@
25599
25518
  };
25600
25519
 
25601
25520
  const _excluded$1 = ["children"];
25602
- var _jsxFileName$b = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\alertDialog\\AlertDialog.js";
25521
+ var _jsxFileName$b = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/alertDialog/AlertDialog.js";
25603
25522
  const overlayShow = keyframes({
25604
25523
  '0%': {
25605
25524
  opacity: 0
@@ -26233,7 +26152,7 @@
26233
26152
  const _excluded = ["side", "align", "children"],
26234
26153
  _excluded2 = ["children"],
26235
26154
  _excluded3 = ["asChild"];
26236
- var _jsxFileName$a = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\dropdownMenu\\DropdownMenu.js";
26155
+ var _jsxFileName$a = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/dropdownMenu/DropdownMenu.js";
26237
26156
  const Context = /*#__PURE__*/React__default["default"].createContext();
26238
26157
  const slideUpAndFade = keyframes({
26239
26158
  '0%': {
@@ -28368,7 +28287,7 @@
28368
28287
  });
28369
28288
  }
28370
28289
 
28371
- var _jsxFileName$9 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\upload\\Upload.js";
28290
+ var _jsxFileName$9 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/upload/Upload.js";
28372
28291
  const Input$2 = styled('input', {
28373
28292
  display: 'none !important'
28374
28293
  });
@@ -30300,7 +30219,7 @@
30300
30219
  };
30301
30220
  Device.displayName = 'DevicePreview';
30302
30221
 
30303
- var _jsxFileName$8 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\InputColorPicker.js";
30222
+ var _jsxFileName$8 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/InputColorPicker.js";
30304
30223
  const Separator$1 = styled('div', {
30305
30224
  height: 20,
30306
30225
  width: 1,
@@ -30404,28 +30323,28 @@
30404
30323
  }
30405
30324
  InputColorPicker.displayName = 'InputColorPicker';
30406
30325
  InputColorPicker.propTypes = {
30407
- /**
30408
- Specify change InputColorPicker size.
30326
+ /**
30327
+ Specify change InputColorPicker size.
30409
30328
  */
30410
30329
  size: PropTypes__default["default"].oneOf(['sm', 'lg']),
30411
- /**
30412
- Color code to be displayed.
30330
+ /**
30331
+ Color code to be displayed.
30413
30332
  */
30414
30333
  color: PropTypes__default["default"].oneOfType([PropTypes__default["default"].object, PropTypes__default["default"].string]),
30415
- /**
30416
- Additional color list.
30334
+ /**
30335
+ Additional color list.
30417
30336
  */
30418
30337
  presetColors: PropTypes__default["default"].array,
30419
- /**
30420
- Change event handler.
30338
+ /**
30339
+ Change event handler.
30421
30340
  */
30422
30341
  onChange: PropTypes__default["default"].func,
30423
- /**
30424
- Add preset color event handler.
30342
+ /**
30343
+ Add preset color event handler.
30425
30344
  */
30426
30345
  onAddColor: PropTypes__default["default"].func,
30427
- /**
30428
- Disable opacity selector.
30346
+ /**
30347
+ Disable opacity selector.
30429
30348
  */
30430
30349
  disableAlpha: PropTypes__default["default"].bool
30431
30350
  };
@@ -30436,7 +30355,7 @@
30436
30355
 
30437
30356
  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/mZkAzACZAMz/zGZmmczM//+ZZv//ADPMzDOZZjNmzGZm/5nM//9m/zPMMwDMAGb//2bM////mcz/mZn/mf/MAMz/M2b/MwD//wAzmQAAZpnMAJkzmf8AAJkzAP8AZgCZM8wA/2aZ/5n/zAD/AP8A/8wAzP+ZM8z/ZjOZ/8xmAACZzDMz/2aZAP9mzP+ZzMzMAP9mmTNmAMyZ/wD/zJmZZswz/////yH5BAEAAH8ALAAAAADqAMcAAAf/gH+Cg4SFhoeIiYqHBY2LhBCRj4NSlZOCYZmXf0edmyagm2Kjm6Wmp6ippY2sjoqRsJKKlbSWipm4moqdvJ6KoMChiqPEpKrHyMnKf63NroWx0bKFtdW2hbnZuoW93b6FweHChcXlxsvo6erMzu0Fg9Lx09b019r329763+L94+YAz60bSHCSu4MF5CmEUK+hFHwQw+ybeMSfRRMBM4opyLGjIYTuFspzWC8iPor7LvrTGNCjy44g24mMR5KeyXso9ansxxLgy58DYzqbKa2mtZvacnrbKa6nOaBQ0QltRjSa0WpIsyntxjSc03JRwyKb2qpqrKu1suba2qtrsK/F/8TKRUWWlVlYaGmpxcWWl1tgcInNHbypbqO7kfJW2pupb6e/oAILJEyZkWHEDBUzlugYMkbJlUNbrotZ8UPGjitClrxRtGtBhhMiNr05tWfWr1032E02hG+zc4KjTUFcLYnjbEsod0unOVwG0HMT3k2dN0Lf2H8vDM5duEPi4ItHPE4eOUXl6JdfbM7euUbo8KNLj1q9vvVm2fNrj9a9v/dq4QUoXjblFWheN+klqF447TXoXjnxRSjffB7ZZ+F9+mW4n38c/ifghwMaKOKBCpa4oIMoPijhihNSuM6FMDag4YwhdGjjHCDmmMKIPJJg4o8lpCgkHSwWyYCLA8V4If+NGt7YoY4g9jgikCYOmaKRLCL5opL2MZmhkxxC+aGUIlJZopUoYrmilupw2aWX+YHpn5gCkmmgmQqi6aCaErKZjpv1wRmnnN3RGaCdBeKZoJ4N8hmhn+gAWp2g2RFaqKHgIVqeoukx2p6j8UG6jKTUUYqdpdxhmqmmx3GKnqfsgQqfqMqQupupvqEanKrEsdqqq0HCSqSsR9KKjK0y4qorjrz66iOwwg4rq7HH2oprjbryuqOvwAYLK7HFUpsKstcuq62z3UYLrriptOCupDvESykU9FoawL2YvqCvpij0y+kJAHs6wsCgMmEwu5u4q/C7McbrsLw00itxvTfeazH/vjrqq/G+Pfbrsb9AAixywEMObDLBRhqs8sEIJ7LwywzX9/DMEOc38c0U93fxzhgHuPHPHBf48dAgJzjy0SQ3ePLSKEe48tMstzwIzFTHTPPVNeOsdc48d90z0GAHTfTYRSNtdtJMp9001GxHzW7VcLeA9dw7bG03FF7nHUDYfL9A9t8onC34CWoXPkLbiDPRctxV04313Vvr7XXfYQNO9uBnG6524m0vzjjMjl8NudaSd0052JaPjbnZmqfNOduef75w6DSPjnPpPJ8OdOpEr45060y/DnXssrtL+8y234z7zrr/zPvQvh8N/NLCP0188cc/nPzEy1/c/MbPfxz9/8jTn1z9ytfLnr3D20vcvcXfaxy+x+OLXL7J56uc/ufrx9s+ve+7V/z0Nb9+1Q9g9xtY/txGreLNrn//w1sAB+i3Ah6QcAlcoOIQ5kCF9a9u/wvg3gZYwMAdMIGHW+D+GPfBCIqQgiW8IAo1iLAo2NCBFchh9vjAw+2B4Yfd64EQvxeHIoZPDUgc3xSWWL4hOPF8CoiisWxIxRvGLYdY1CHdeMjFHt7th2AEot6ESMYh9q2IaDQi4JDIxiQObolwZKLhnEjHJyYuiniUIpuqyEcrviyLgNTizLpISC/eLIyIFOPOyshIM/4sjZBU49DaSEk3Hi2OmJTj0urISTs+Lf+PoNTjfPpISj8G8pSCLKQqDZnIViqykbB0ZCRnKclK2tKSmcylJjvJS0+G8peiFE0phxkFVBqzAqtMJh9cyUwwxPKZPaClNONwy2qqQZfYnEIvtzkEYHpTAa8hZimPiUplrrKZroRmLKdJS2veMpu65GYvvwnMcIqzj+Q8pTlVic5WqhOW7JylO20Jz1zKk5f0/KU971nFfAZyn4XsZyL/2ciARnKglSxoJg/ayYSGcqEMtaFDAQlRQkoUkRRlpEUhiVFKahSTHOWkR0EJ0pCONIsl7eJJw5jSMq40jS1t40vjGNM6zjSPNWXoTbGYUy7uFIw9JeNP0RhUNg4VjkX/peNR8ZjUey41h03l4VN/GFUhTrWIVUXiVZeYVSduNZiVCWlDvxrWZY61rNE8a1qvuda2dvOtXRXnV5EZ1rE6s6xnpWZa16rNtr4VnK6RKxUHW1fD4jWxe2WsXx/rmhx4Vq41CO1NkUDanN7gtDvFgmp7moXW/pQKsA0qEGY7VBbYtqgWyO1RL8Bbynj2t58lZmiHK9pjkva4pVXmaZeL2maq9rmrhWZrp+vaacL2urG15my3S9ts2va7t+Vmbser22/y9ry9FQtw1xtcPhL3vcUFJHLnm1xCMve+zUUkdPcbXUZS97/VhSR2B5xdSnL3wN3FJHgXHF5OkvfB5QUl/3onnN6fsPfC7YWvhuNL3w7XF78gzi9/R9xfAJs4wAROcYERzOIEM/jFDYawjCNM4RpXmCMYznEONszjGnj4x0gIsZBvQOIiY+HESM6CipdMhRY7GQgwjjILZkxlC9j4yhfwiI4x3OMNA9nDQw6xkUmc5BMzWcVPbrGUYVzlGWPZxlreMnu7rOEvdzjMIB7ziMts4jOnOM0sXvOL2yzjN9c4znIGLp3ha2f64hm/euYvnwHsZwIDGsGCZjChIWxoCiM60Z5d9HsbPd9H3zfS+530fys94EsfONML3vSDOz3hT4Na1MQlNXJNzVxUQ1fV1GU1dl3NXViDV9bkpTV6bf+daFwPV9fH5fVyff1cYE9X2Ncl9naN/V1kj1fZ52W2nJ0dWmiTVtqnpbZqrd1abMNW27Pltm29nVtw35ggoFY0uc0dZHSr+8jsdneT4S3vKdPb3lnuSL5/S24fmxvdRFY3u5XsbnhDWd70trK9xb3lhvMb4v+euMAtXvCMI7wjQUh5vq/Aclyz4eW6/oHMeb2GmvvaBzgHdhN2Luw9+JzYKwi6sf1AdGSn4ejKToLSB5LypqtcxyyPest7/PKqwxzIMs/6zIdc867b3Mg4D3vOk7zzsvOcyT5P+8+fHPS2C13KRI970at89LojHctKz/vSl+H0vj99vVIP/NTfa/X/wl99vlpP/Nbv6/XGf32/Yo/82P9r9sqffcBqz/zaD+z2zr99wXIP/dwfbPfS333Cek/93lXh99b/XfCwH7zhZ394xdt+8Y7P/eMlz/vJW/73l9e88Dfv+eJ/XvTIH73pl3961Tt/9aVwvfSDEPvqX4H22GfD7bf/A917fw29D78PgE/+Jgz//HswvvpXkPz2+4H58E/D8+efhFNM3/XWj332ac/9239f9+LXe+UHfOg3fOtnfO6XfPHHfPT3fPZ3f36Xf7C3f7PXf7b3f7kXgLw3gL9XgMJ3gMWXgMi3gMvXgM73gBDodBIoeBRoeBaoeBjoeBooeRxoeR6oeSDo/3kiKHokaHomqHoomIIpt4KB14KF94KJF4ONN4ORV4OVd4OZl4Odt4Oh14Ol94OpF4RCSIRSZ4RWh4Rap4Rex4Ri54RmB4VqJ4VuR4VyZ4V2h4V6p4UpyIVR54VVB4ZZJ4ZdR4ZhZ4Zlh4Zpp4Ztx4Zx54Z1B4d5J4cQSIcsZ4cvh4cyp4c1x4c454c7B4g+J4hBR4hEZ4hHh4jQdwlCqIKM6IjaB4mSCH6UaInmh4mayH6c6InyB4qKeH+MeH2OCIndJ4mUOH6WiInpp4mc+H6eCIr1Zwqj2HS3aIq6mIq9yIrA+IrDKIvGaAoDcI2jiAbayIVW0I1eSATgCIZcMP+OYrgE5kiGMpCOZigB7IiGLvCOalgF8siGbVCPbugG+AiHE7CPk3CN/oiN06eNArmN1teNBumN2QeOChmO3DeODkmO32eOEnmO4peOFqmO5ceOGtmO6PeOHgmP6yePIjmP7lePJmmP8YePKpmP9LePLsmPiPCPMgmQfTeQNkmQgXeQOomQhbeQPsmQifeQQgmRjTeRRkmRkXeRSomRlbeRTsmRmfeRUgmSnTeSVkmSoXeSWomSpbeSXsmSqfeSYgmTgzCTZkmTN5mWOLmTbMmTP/mWQDmUckmUR1mXSLmUeMmUT7mXUDmVfkmVVxmYWLmVhMmVX3mYYDmWismPZ9n/mAOglpCJBm05mVYAl5ZJBHOZmVxgl5y5BHn5mTLAl6IpAX9Zmi4gmKhZBYW5mm2AmK7pBosZmxPgmGcZmWpJmW15mXCpmXPZmXYJmnk5mnxpmn+ZmoLJmoX5mogpm4tJm2Zpm2mJm2ypm2/Jm3Lpm3UJnHgpnHtJnH5pnIGJnISpnIfJnIrpnDMJnTcpnTtJnT9pnUOJnUepnUvJnU/pnVMJnlcpnltJnl9pnmOJnjKpnjbJnjrpnj4Jn0Ipn0ZJn0ppn06Jn1Kpn1bJn1rpn14JoGIpoP9IoANpoAeJoAupoA/JoBPpoBcJoRspoR9JoSNpoSeJoSupoS/Jof7o/6ECCaIGKaIKSaIOaaISiaIWqaIayaIe6aIiCaMmKaMqSaMuaaPXiKPaqKPdyKPg6KPjCKTmKKTpSKTsaKTviKTyqKT1yKT46KT7CKWPKaVUWplWiqWbqaVcGppeCqanKaZk2ppmiqazCaVSKplUaqWYiaVa6plc6qWkCaZiqppkaqawiaZq+qdtKqhwWqhziqh2uqh56qh8Kggcqgeg6qFKMKog+gWmKqIRkKokugWsaqJC8KooSgGyqqJ3UKssage46qI2sKswqgG+KqNkEKw0Wgi0CarGGqqROarKSqqUaarOeqqXmarSqqqayarW2qqd+araCqugKaveOqujWf+r4mqrpomr5pqrqbmr6sqrrOmr7vqrrxms8iqsspkIZnms+IqsNrms/MqsOvmsAAutPjmtBEutQnmtCIutRrmtDMutSvmtEAuuTjmuFEuuUnmuGIuuVrmuHMuuWvmuIAuvXjmvJEuvYtmP15ivKquv/dqy/hqwMCuwBTuzBpuwNquwDZuzDhuxPCuxFfuzFpuxQquxHVu0HhuySCuyJbu0JlsKK/u0euCyUqsEMVu1X0CzWBsBN7u1W6CzXisEPRu2FAC0ZHsHQ3u2dmC0amsDSdu2GsC0cEsGpwC1Kzu1Lmu1MZu1NMu1N/u1Oiu2PVu2QIu2Q7u2Ruu2SRu3TDv/t3Sbr3bbsngLs3o7s3xrs36bs4DLs4L7s4QrtIZbtIiLtIq7tIzbuMf6uP0auQE7uQVbuQl7uQ2buRG7uRXbuRn7uR0buiE7uiVbuqYLqqjLr6oLsKxLsK6LsLDLsLILsbRLsbaLsbjLsboLsrxLsr77u8G7rMP7rMU7rcd7rcm7rcv7rc07rs97rtG7rtP7rtU7r9drutmrrNvrrN0rrd9rreGrrePrreUrrudrrumrruvrru0rr+/buPE7qvNrqvWbqvfLqvn7qvsrq/1bq/+LqwG8qwPsqwUcrAdMtwlMtQvcwFr7wBEMthNcwWZ7wRnMthvcwXJrCr97ugm8/8BX28AP3LURPMFjW8EXnLYZvMFv28EfDLUhbMMknMMnzMMq/MMtLMQwnAozLABUnL11cMXbCwJa3L1w0MXfqwVgHL46MMbjqwJmXL55kMbniwFsnL4Z8Mbr+wBy3L7IQLdUfMdVPLVXvMdYbLVa/MdbnLVdPMhezLVgfMhh/LVjvMhkLLZm/MhnXLZpPMlqjLZsfMltvLZvvMlw7LZy/MlzHLfooLJ4XMp5zK98nMp9DLCA3MqBTLCEHMuFjLCIXMuJzLCMnMuNDLGQ3MuRTLGUHMyVjLGYXMyZzLGcnMydDLKg3MyhbL3rYKymPM2nrMrWvMqunM2vLMvcPMu2/P/Nt6zL4rzLvlzOvyzM6DzMxrzOx6zM7rzMzhzPz8wR1FzPAnDN+FwH2rzPINDN/gwH4BzQWjDOBK0D5nzQKpDOCp0H7NzQGPDOEJ0B8jzRD+AR9kzN+XzN/KzN/9zNAg3OBT3OCG3OC53ODs3OEf3OFC3PFn3RppzR1rzR2dzR3PzR3xzS4jzS5VzS6HzS65zS7rzS8dzSLo3HMK3KMu3KNC3LNm3LOK3LOu3LPC3MPm3MQK3MQu3MRF3UVHzUqZzUrbzUsdzUtfzUuRzVvTzVwVzVxXzVyZzVzbzVXO3VfAzWgCzWhEzWiGzWjIzWkKzWlMzWmOzWnAzXoCzXRU3/13ts13+M14Os14fM14vs148M2JMs2JdM2Jts2J+M2C6t2FfM2Frs2F0M2WAs2WNM2WZs2WmM2Wys2W/M2XLs2RcN2vos2qQN0KaN2gat2qzN0K4N2xIt27Rtz7Yt2v1M2qY90Kit2gnN2q790LAt2xXdEVxt1KCN3Lm93Lzt3L8d3cJN3S9x3QtQ3nQ9Buht116w3nhNA+6t1zgQ33ztBPTt1wlw34B9Bvot2DPQ34TNAwBu2FBx0eVd4Oadz+id4OnNz+vd4Oz9z+4d4e8t0PFd4fJd0PSd4fWN0Pfd4fi90Pod4vvt0P1d4v4d0QCe4gFO0XIxzQb+4geeygo+/+ML3soOfuMPHssSvuMTXssW/uMXnssaPuQb3ssefuQfHswivuQjXswm/uQnnswqPuUrHteEcccwnuUxTuNcXuM4/uU5zuNi3uNAXuZBTuRoXuRIvuZJzuRu3uRQHudRTuV0XuWioeV4vgBdvudjAOZ+7gVjHug0YOaEjgNpfuhOwOaKngBv3uhnIOeQPgN1Puk88Bp5ruV83uV/DuaCPuaFbuaInuaLzuaO/uaRLueUXueWfukwnulcvulf3uli/ullHupoPuprXupufupxnup0vuqsbuCuTuOwjuOyzuO0DuS2TuS4juS6zuS8DuW+TuXAHuzlPewzXuw3fuw7nv/sP77sQ97sR/7sSx7tTz7tU17t1o7tCq7tDs7tEu7tFg7uGi7uHk7uIm7uJo7uKq7uwc7uCe7uDQ7vES7vFU7vGW7vHY7vIa7vJc7vKe7vrA7w6C3w603w7m3w8Y3w9K3w983w+u3w/Q3xAC7xl07xfW7xGD/oGs/xie7xIP/oIk/yle4a1i7sFG/xgI7xGm/oHO/xjA7yIi/pJG/yeY7yOr/yPe/yQB/zQ0/z0nHzfTD17I4HVu/uT5D18N4FXC/vb/D19O4AYm/vBFD2+F4EaK/vCLD2/O4ilz71cE/1fG71dH/1f571eK/1gs71fN/1hf71gA/2iC72hD/2i17/9ohv9o6O9oyf9pG+9pDP9pTuJ1ke95Yv9zNe95pv9zee956v9zve96Lv9z8e+KYv+ENe+Kpv+Eee+K6v+Eve+LLv+E8e+bYv+elOKwV++byP+Zv/+5z/+cIP+qNf/KR/+siP+qu//Kz/+s4P+7Mf/bR/+9SP++zS+9jfB8C//Xgw/N7/BMYf/l2Q/OT/Bsx//g7w/OpPANLf/kVQ/fCPAC2T/b3P/cD//cMv/sZf/skPCA6Cg4SFgwSIiYqLiUWOj5CRjwiUlZaXlX+am5ydnp+goaKjnn2mp6ipp3isra6vrU+ys7S1s124ubq7uW++v8DBv4bEhYzHi5LKkZjN/5ek0NHS05qq1qmw2a+23LW837vC4sHF5Q7I6ATL60XO7gjU8fLx1/V92vh43ftP4P5d4wK+MVcsHTJ2y945m8ewYSh71/Jp49ftHziB4wgSM3gMoTKFzRyKHAnRmsRsFLlZ/IZRnEZDHBl5lAQS08ibDEuqOgkrpa2VvFoKe2kspqKZzGpawsmUmk5sPF359AZUl1ByRA8ZbYR0ktJMTcOSeooqqtSpt6r2ujosq6CtXLu2+0pJrN2HZE2ZjYVWltq1bAe6PQdXndy5dO8q/kTWiGOzMSKjhUFZrZzLbDdozlqm89YOoLt+GP11selS9hyrfpwvsmvJ/CjLrvzvsv9tzAI1695srrNvz+lACw/NbrRx0u9OK0edarVz1q9eS4dda7Z12rtua8cdbLd33oV+iwe+aLh54pGOq0f+bLn7Tqeey4c+vT716/ixb9/P/bt/8OMFSN55BKK33oHsvadgJ/M1aIR9EMaQ34Qw8GehHP9luIGAHJZR4IcdICjiBwuWuImD80VoH4X5Xcifhv91KCCIBY6IoIkmoiifivWxiJ+L+8Hon4wB0kigjQfiWKKOz/E4nY/XAbmdkN8ROZ6R5yG5npILMumck9JBaZ2U2lHpnZXiYWmelupxqaCXq4H5mpizkXmbmbuh+Zuaw7F5nJvvwamanK7RKZudtuH/qZuevvEpnJ/GAeqeoI4RGpmhlCF6maKaMdqZo6BBOpqky1H6oKWYVqgppxt6CmqIopKqnKmWSoipphhy6qmHoIpKoqym0Yrqravq6mqvsQJ7GpwHNCunCNDSycG0dpphLZ4AZKunAdzy6cG3fio7qYPNlutshNCmGy2F07ZL7YXWxnuthtnWq22H3ObbLYjf9gvuiOJ2+Zy5BJ8rnboIr2uduwy/q528EM/rnb0U3yuevhjva56/HP/bZsA5OlbwyAYnbLLCDafscMQsS1zxyxZnLLPGHdfsMchckqzzASf3LILKQHPQ8tBmwGw0ADMnbYDNTHuAs5s7k+zzyUGr/0x0y0fDrPTMTdv8dM5RFzy1yVWnfDXLWb+8tcxd1/y1kmGLPTbCZTd8dsRpV7x2xm13/DaOcRM8N911u3s3xHlTvDfGfXP8t4mBmzu4uoUbfni8idu7uL6N+/t4iZGXO3m6lbd7OeaZZ7t5vp33+/mCoTc7OrSlT3u6tamrvvrSrTv9+nux8zx77ULfnjvSu/fu++/LBT/7z7XfXnTuu/PeOvPuOT989MZTn3zv2AMf+CaTb1L5Jpdvkvkmm2/Sefiw7/zJ1J9U/cnVn2T9ydafdA0/4AUbhclGkbJRsGwULxuFzEbhtv+B7QDSSJc02iWNeEmjXtLIlzRc97RAAAA7";
30438
30357
 
30439
- var _jsxFileName$7 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorMap.js";
30358
+ var _jsxFileName$7 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorMap.js";
30440
30359
  const Container$7 = styled('div', {
30441
30360
  userSelect: 'none',
30442
30361
  margin: 'auto',
@@ -32397,7 +32316,7 @@
32397
32316
  })));
32398
32317
  }
32399
32318
 
32400
- var _jsxFileName$6 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorFields.js";
32319
+ var _jsxFileName$6 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorFields.js";
32401
32320
  const CheckBoard = styled(Flex$1, {
32402
32321
  background: '$bgwhite',
32403
32322
  border: '1px solid #E5E7EB',
@@ -32598,7 +32517,7 @@
32598
32517
  }, "%")));
32599
32518
  }
32600
32519
 
32601
- var _jsxFileName$5 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\ColorPicker.js";
32520
+ var _jsxFileName$5 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/ColorPicker.js";
32602
32521
  const Container$6 = styled(Flex$1, {
32603
32522
  background: '$white',
32604
32523
  padding: 16,
@@ -33092,24 +33011,24 @@
33092
33011
  })))))));
33093
33012
  }
33094
33013
  ColorPicker.propTypes = {
33095
- /**
33096
- Color code to be displayed.
33014
+ /**
33015
+ Color code to be displayed.
33097
33016
  */
33098
33017
  color: PropTypes__default["default"].oneOfType([PropTypes__default["default"].object, PropTypes__default["default"].string]),
33099
- /**
33100
- Additional color list
33018
+ /**
33019
+ Additional color list
33101
33020
  */
33102
33021
  presetColors: PropTypes__default["default"].array,
33103
- /**
33104
- Change event handler
33022
+ /**
33023
+ Change event handler
33105
33024
  */
33106
33025
  onChange: PropTypes__default["default"].func,
33107
- /**
33108
- Add preset color event handler
33026
+ /**
33027
+ Add preset color event handler
33109
33028
  */
33110
33029
  onAddColor: PropTypes__default["default"].func,
33111
- /**
33112
- Disable opacity selector
33030
+ /**
33031
+ Disable opacity selector
33113
33032
  */
33114
33033
  disableAlpha: PropTypes__default["default"].bool
33115
33034
  };
@@ -33118,7 +33037,7 @@
33118
33037
  };
33119
33038
  var ColorPicker$1 = common.ColorWrap(ColorPicker);
33120
33039
 
33121
- var _jsxFileName$4 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\stepWizard\\StepWizard.js";
33040
+ var _jsxFileName$4 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/stepWizard/StepWizard.js";
33122
33041
  const StepWizardContext = /*#__PURE__*/React__default["default"].createContext({});
33123
33042
  const Stepper = StepWizard__default["default"];
33124
33043
  Stepper.displayName = 'Stepper';
@@ -33841,7 +33760,7 @@
33841
33760
  isLazyMount: true
33842
33761
  };
33843
33762
 
33844
- var _jsxFileName$3 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\transition.js";
33763
+ var _jsxFileName$3 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/transition.js";
33845
33764
  function Collapse({
33846
33765
  children,
33847
33766
  isOpen
@@ -33884,7 +33803,7 @@
33884
33803
  isOpen: false
33885
33804
  };
33886
33805
 
33887
- var _jsxFileName$2 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\TableOfContent.js";
33806
+ var _jsxFileName$2 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/TableOfContent.js";
33888
33807
  const DesktopContainer = styled(Flex$1, {
33889
33808
  display: 'none',
33890
33809
  '& .active-scroll-spy': {
@@ -34245,7 +34164,7 @@
34245
34164
  useBoxMethod: true
34246
34165
  };
34247
34166
 
34248
- var _jsxFileName$1 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\editableTable\\transition.js";
34167
+ var _jsxFileName$1 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/editableTable/transition.js";
34249
34168
  function Collapalse({
34250
34169
  children,
34251
34170
  isOpen
@@ -52527,11 +52446,234 @@
52527
52446
  }, void 0)]
52528
52447
  }), void 0);
52529
52448
  }
52449
+ var rotateKeyframe = keyframes({
52450
+ '100%': {
52451
+ transform: 'rotate(360deg)'
52452
+ }
52453
+ });
52454
+ var dashKeyframe = keyframes({
52455
+ '0%': {
52456
+ strokeDasharray: '0,125',
52457
+ strokeDashoffset: -8
52458
+ },
52459
+ '50%': {
52460
+ strokeDasharray: 125,
52461
+ strokeDashoffset: -10
52462
+ },
52463
+ '100%': {
52464
+ strokeDasharray: 125,
52465
+ strokeDashoffset: -125
52466
+ }
52467
+ });
52468
+ var LoadingContainer = react.styled('div', {
52469
+ position: 'absolute',
52470
+ width: 152,
52471
+ height: 152,
52472
+ top: '50%',
52473
+ left: '50%',
52474
+ transform: 'translate(-50%,-50%)'
52475
+ });
52476
+ var LogoSvg = react.styled('svg', {
52477
+ height: 152,
52478
+ position: 'absolute',
52479
+ width: 152
52480
+ });
52481
+ var LoadingSvg = react.styled('svg', {
52482
+ animation: "".concat(rotateKeyframe, " 2s linear infinite"),
52483
+ height: 152,
52484
+ position: 'absolute',
52485
+ width: 152,
52486
+ top: '-22px'
52487
+ });
52488
+ var LoadingBackground = react.styled('div', {
52489
+ background: 'conic-gradient(#fff5f6, #FF97A4, #02B4F3, #81CF77, #6D60AE, #FF6C53 320deg)',
52490
+ width: '100%',
52491
+ height: '100%'
52492
+ });
52493
+ var LoadingCircle = react.styled('circle', {
52494
+ stroke: 'white',
52495
+ strokeLinecap: 'round',
52496
+ transformOrigin: '50% 50%',
52497
+ transform: 'rotate(-102deg)',
52498
+ animation: "".concat(dashKeyframe, " 1.5s ease-in-out infinite")
52499
+ });
52500
+ var LoadingLabel = react.styled(Paragraph, {
52501
+ position: 'relative',
52502
+ top: 100
52503
+ });
52504
+ function CircularLoadingBar(_a) {
52505
+ var label = _a.label;
52506
+ return jsxRuntime.jsxs(LoadingContainer, {
52507
+ children: [jsxRuntime.jsxs(LogoSvg, __assign({
52508
+ xmlns: "http://www.w3.org/2000/svg",
52509
+ width: "152",
52510
+ height: "152",
52511
+ viewBox: "0 0 152 152",
52512
+ fill: "none"
52513
+ }, {
52514
+ children: [jsxRuntime.jsxs("g", __assign({
52515
+ filter: "url(#filter0_ddd_4303_695)"
52516
+ }, {
52517
+ children: [jsxRuntime.jsx("rect", {
52518
+ x: "46.0004",
52519
+ y: "23.9999",
52520
+ width: "60",
52521
+ height: "60",
52522
+ rx: "30",
52523
+ fill: "url(#paint0_linear_4303_695)"
52524
+ }, void 0), jsxRuntime.jsx("rect", {
52525
+ x: "46",
52526
+ y: "24",
52527
+ width: "60",
52528
+ height: "60",
52529
+ rx: "30",
52530
+ stroke: "url(#paint1_linear_4303_695)",
52531
+ "stroke-opacity": "0.99",
52532
+ "stroke-width": "5"
52533
+ }, void 0), jsxRuntime.jsx("path", {
52534
+ "fill-rule": "evenodd",
52535
+ "clip-rule": "evenodd",
52536
+ d: "M87.9634 61.5652C87.9634 63.0968 86.7378 64.3333 85.2195 64.3333C83.7013 64.3333 82.4757 63.0968 82.4757 61.5652C82.4757 58.1698 82.4757 54.7928 82.4757 51.4159C82.9329 51.4159 83.3902 51.4159 83.8476 51.4159C84.1768 51.4159 84.3414 51.1206 84.1037 50.8623C83.0426 49.6074 81.9633 48.371 80.9024 47.1162C80.628 46.7471 80.5366 46.821 80.2805 47.1162C79.2195 48.371 78.1402 49.6074 77.0793 50.8623C76.8415 51.1391 77.0061 51.4159 77.3354 51.4159C77.7927 51.4159 78.25 51.4159 78.7073 51.4159C78.7073 54.8113 78.7256 58.1698 78.7256 61.5652C78.7256 63.0968 77.5 64.3333 75.9817 64.3333C74.4634 64.3333 73.2378 63.0968 73.2378 61.5652C73.2378 59.1848 73.2561 56.8227 73.2561 54.4607C73.7134 54.4607 74.1707 54.4607 74.628 54.4607C74.9573 54.4607 75.1219 54.1654 74.8841 53.9071C73.8232 52.6522 72.7439 51.4159 71.6829 50.161C71.4085 49.792 71.3171 49.8658 71.061 50.161C70 51.4159 68.9207 52.6522 67.8598 53.9071C67.6219 54.1839 67.7866 54.4607 68.1159 54.4607C68.5732 54.4607 69.0305 54.4607 69.4878 54.4607V54.5899V61.5652C69.4878 63.0968 68.2622 64.3333 66.7439 64.3333C65.2256 64.3333 64 63.0968 64 61.5652V50.7515C64 48.7217 64.8232 46.8579 66.1585 45.5108C67.4939 44.1637 69.3415 43.3333 71.372 43.3333C73.128 43.3333 74.7378 43.9607 76 44.9941C77.2622 43.9607 78.872 43.3333 80.628 43.3333C82.6586 43.3333 84.5061 44.1637 85.8414 45.5108C87.1768 46.8579 88 48.7217 88 50.7515V61.5652H87.9634Z",
52537
+ fill: "white"
52538
+ }, void 0)]
52539
+ }), void 0), jsxRuntime.jsxs("defs", {
52540
+ children: [jsxRuntime.jsxs("filter", __assign({
52541
+ id: "filter0_ddd_4303_695",
52542
+ x: "0.5",
52543
+ y: "0.5",
52544
+ width: "151",
52545
+ height: "151",
52546
+ filterUnits: "userSpaceOnUse",
52547
+ "color-interpolation-filters": "sRGB"
52548
+ }, {
52549
+ children: [jsxRuntime.jsx("feFlood", {
52550
+ "flood-opacity": "0",
52551
+ result: "BackgroundImageFix"
52552
+ }, void 0), jsxRuntime.jsx("feColorMatrix", {
52553
+ in: "SourceAlpha",
52554
+ type: "matrix",
52555
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
52556
+ result: "hardAlpha"
52557
+ }, void 0), jsxRuntime.jsx("feOffset", {
52558
+ dy: "22"
52559
+ }, void 0), jsxRuntime.jsx("feGaussianBlur", {
52560
+ stdDeviation: "21.5"
52561
+ }, void 0), jsxRuntime.jsx("feColorMatrix", {
52562
+ type: "matrix",
52563
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"
52564
+ }, void 0), jsxRuntime.jsx("feBlend", {
52565
+ mode: "normal",
52566
+ in2: "BackgroundImageFix",
52567
+ result: "effect1_dropShadow_4303_695"
52568
+ }, void 0), jsxRuntime.jsx("feColorMatrix", {
52569
+ in: "SourceAlpha",
52570
+ type: "matrix",
52571
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
52572
+ result: "hardAlpha"
52573
+ }, void 0), jsxRuntime.jsx("feOffset", {
52574
+ dy: "9"
52575
+ }, void 0), jsxRuntime.jsx("feGaussianBlur", {
52576
+ stdDeviation: "12"
52577
+ }, void 0), jsxRuntime.jsx("feColorMatrix", {
52578
+ type: "matrix",
52579
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.09 0"
52580
+ }, void 0), jsxRuntime.jsx("feBlend", {
52581
+ mode: "normal",
52582
+ in2: "effect1_dropShadow_4303_695",
52583
+ result: "effect2_dropShadow_4303_695"
52584
+ }, void 0), jsxRuntime.jsx("feColorMatrix", {
52585
+ in: "SourceAlpha",
52586
+ type: "matrix",
52587
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
52588
+ result: "hardAlpha"
52589
+ }, void 0), jsxRuntime.jsx("feOffset", {
52590
+ dy: "3"
52591
+ }, void 0), jsxRuntime.jsx("feGaussianBlur", {
52592
+ stdDeviation: "4.5"
52593
+ }, void 0), jsxRuntime.jsx("feColorMatrix", {
52594
+ type: "matrix",
52595
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.13 0"
52596
+ }, void 0), jsxRuntime.jsx("feBlend", {
52597
+ mode: "normal",
52598
+ in2: "effect2_dropShadow_4303_695",
52599
+ result: "effect3_dropShadow_4303_695"
52600
+ }, void 0), jsxRuntime.jsx("feBlend", {
52601
+ mode: "normal",
52602
+ in: "SourceGraphic",
52603
+ in2: "effect3_dropShadow_4303_695",
52604
+ result: "shape"
52605
+ }, void 0)]
52606
+ }), void 0), jsxRuntime.jsxs("linearGradient", __assign({
52607
+ id: "paint0_linear_4303_695",
52608
+ x1: "76.0004",
52609
+ y1: "23.9999",
52610
+ x2: "76.0004",
52611
+ y2: "83.9999",
52612
+ gradientUnits: "userSpaceOnUse"
52613
+ }, {
52614
+ children: [jsxRuntime.jsx("stop", {
52615
+ "stop-color": "#B3DCA7"
52616
+ }, void 0), jsxRuntime.jsx("stop", {
52617
+ offset: "1",
52618
+ "stop-color": "#22BDB6"
52619
+ }, void 0)]
52620
+ }), void 0), jsxRuntime.jsxs("linearGradient", __assign({
52621
+ id: "paint1_linear_4303_695",
52622
+ x1: "106",
52623
+ y1: "68.8332",
52624
+ x2: "50",
52625
+ y2: "37.3332",
52626
+ gradientUnits: "userSpaceOnUse"
52627
+ }, {
52628
+ children: [jsxRuntime.jsx("stop", {
52629
+ "stop-color": "#F4F4F4"
52630
+ }, void 0), jsxRuntime.jsx("stop", {
52631
+ offset: "1",
52632
+ "stop-color": "white"
52633
+ }, void 0)]
52634
+ }), void 0)]
52635
+ }, void 0)]
52636
+ }), void 0), jsxRuntime.jsxs(LoadingSvg, __assign({
52637
+ viewBox: "0 0 100 100",
52638
+ xmlns: "http://www.w3.org/2000/svg"
52639
+ }, {
52640
+ children: [jsxRuntime.jsx("defs", {
52641
+ children: jsxRuntime.jsx("mask", __assign({
52642
+ id: "mask"
52643
+ }, {
52644
+ children: jsxRuntime.jsx(LoadingCircle, {
52645
+ cx: "50",
52646
+ cy: "50",
52647
+ r: "20",
52648
+ fill: "none",
52649
+ "stroke-width": "4",
52650
+ "stroke-miterlimit": "10"
52651
+ }, void 0)
52652
+ }), void 0)
52653
+ }, void 0), jsxRuntime.jsx("foreignObject", __assign({
52654
+ x: "0",
52655
+ y: "0",
52656
+ width: "100",
52657
+ height: "100",
52658
+ mask: "url(#mask)"
52659
+ }, {
52660
+ children: jsxRuntime.jsx(LoadingBackground, {}, void 0)
52661
+ }), void 0)]
52662
+ }), void 0), label && jsxRuntime.jsx(LoadingLabel, __assign({
52663
+ color: "white",
52664
+ align: "center"
52665
+ }, {
52666
+ children: label
52667
+ }), void 0)]
52668
+ }, void 0);
52669
+ }
52530
52670
  var interval;
52531
52671
  function LoadingBar(props) {
52532
52672
  var show = props.show,
52533
52673
  onCompleted = props.onCompleted,
52534
- intervalTime = props.interval;
52674
+ intervalTime = props.interval,
52675
+ isPageLoader = props.isPageLoader,
52676
+ pageLoaderLabel = props.pageLoaderLabel;
52535
52677
  var _a = React.useState(0),
52536
52678
  progress = _a[0],
52537
52679
  setProgress = _a[1];
@@ -52564,6 +52706,34 @@
52564
52706
  onCompleted === null || onCompleted === void 0 ? void 0 : onCompleted();
52565
52707
  }
52566
52708
  }, [progress, onCompleted]);
52709
+ if (!show) return jsxRuntime.jsx(React__default["default"].Fragment, {}, void 0);
52710
+ if (isPageLoader) {
52711
+ return jsxRuntime.jsx(ModalDialog, __assign({
52712
+ open: show,
52713
+ modal: true,
52714
+ allowPinchZoom: false,
52715
+ width: "100%",
52716
+ layer: 2000,
52717
+ isMobile: false,
52718
+ css: {
52719
+ borderRadius: '2px !important',
52720
+ '& > div': {
52721
+ backgroundColor: 'transparent !important',
52722
+ borderRadius: '2px !important'
52723
+ }
52724
+ }
52725
+ }, {
52726
+ children: jsxRuntime.jsx(ModalDialogContent, __assign({
52727
+ css: {
52728
+ padding: '$spacing-08 $spacing-11'
52729
+ }
52730
+ }, {
52731
+ children: jsxRuntime.jsx(CircularLoadingBar, {
52732
+ label: pageLoaderLabel
52733
+ }, void 0)
52734
+ }), void 0)
52735
+ }), void 0);
52736
+ }
52567
52737
  return typeof (props === null || props === void 0 ? void 0 : props.progress) === 'number' ? jsxRuntime.jsx(PrimitiveLoadingBar, __assign({}, props, {
52568
52738
  visibility: true
52569
52739
  }), void 0) : jsxRuntime.jsx(PrimitiveLoadingBar, __assign({}, props, {
@@ -52576,7 +52746,8 @@
52576
52746
  show: false,
52577
52747
  interval: 100,
52578
52748
  description: 'Loading...',
52579
- size: 'md'
52749
+ size: 'md',
52750
+ isPageLoader: false
52580
52751
  };
52581
52752
 
52582
52753
  var Container$4 = styled(Flex$1, {
@@ -53423,6 +53594,7 @@
53423
53594
  });
53424
53595
  function InputMapPicker(props) {
53425
53596
  var _this = this;
53597
+ var _a;
53426
53598
  var t = reactI18next.useTranslation(['MajooUI/mapPicker', 'translation']).t;
53427
53599
  var css = props.css,
53428
53600
  modalTitle = props.modalTitle,
@@ -53434,11 +53606,12 @@
53434
53606
  value = props.value,
53435
53607
  showSelectButton = props.showSelectButton,
53436
53608
  onChange = props.onChange,
53437
- onMarkerClick = props.onMarkerClick;
53609
+ onMarkerClick = props.onMarkerClick,
53610
+ customInputValue = props.customInputValue;
53438
53611
  var modalTrigger = React__default["default"].useRef(null);
53439
- var _a = React.useState(placeholder),
53440
- inputValue = _a[0],
53441
- setInputValue = _a[1];
53612
+ var _b = React.useState(placeholder),
53613
+ inputValue = _b[0],
53614
+ setInputValue = _b[1];
53442
53615
  var handleSearchLatLng = React.useCallback(function (latLng) {
53443
53616
  return __awaiter(_this, void 0, void 0, function () {
53444
53617
  var res, location_1;
@@ -53521,7 +53694,7 @@
53521
53694
  },
53522
53695
  isTruncated: true
53523
53696
  }, {
53524
- children: inputValue !== null && inputValue !== void 0 ? inputValue : t('mapPlaceholder', 'Tandai lokasi dalam peta')
53697
+ children: (_a = customInputValue !== null && customInputValue !== void 0 ? customInputValue : inputValue) !== null && _a !== void 0 ? _a : t('mapPlaceholder', 'Tandai lokasi dalam peta')
53525
53698
  }), void 0), jsxRuntime.jsx(Button$4, __assign({
53526
53699
  type: "button",
53527
53700
  size: "sm",
@@ -53744,7 +53917,6 @@
53744
53917
  label: tooltipLabel(name, variants)
53745
53918
  }, {
53746
53919
  children: jsxRuntime.jsxs(Box, __assign({
53747
- gap: 2,
53748
53920
  css: __assign({
53749
53921
  display: 'flex',
53750
53922
  alignItems: 'center',
@@ -53792,7 +53964,7 @@
53792
53964
  padding: '4px 8px',
53793
53965
  minWidth: 'unset',
53794
53966
  justifyContent: 'flex-start',
53795
- mr: 'auto'
53967
+ marginRight: 'auto'
53796
53968
  },
53797
53969
  type: "varian"
53798
53970
  }, {
@@ -55945,7 +56117,7 @@
55945
56117
  innerRadius: 70
55946
56118
  };
55947
56119
 
55948
- var _jsxFileName = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\colors\\Colors.js";
56120
+ var _jsxFileName = "/home/alfiantryp/Project/majoo-ui/packages/react/src/colors/Colors.js";
55949
56121
  const StyledPaper = styled(Paper, {
55950
56122
  borderRadius: '10px 10px 0 0',
55951
56123
  padding: 15,
@@ -57610,6 +57782,7 @@
57610
57782
  exports.PriceColumn = PriceColumn;
57611
57783
  exports.Progress = Progress$1;
57612
57784
  exports.ProgressIndicator = ProgressIndicator;
57785
+ exports.Provider = Provider;
57613
57786
  exports.RANGE_CONTROL = RANGE_CONTROL;
57614
57787
  exports.RANGE_MONTH = RANGE_MONTH;
57615
57788
  exports.RANGE_PICKER = RANGE_PICKER;
@@ -57670,6 +57843,9 @@
57670
57843
  exports.ToastContext = ToastContext;
57671
57844
  exports.ToastProvider = ToastProvider;
57672
57845
  exports.Tooltip = Tooltip$1;
57846
+ exports.TooltipBase = TooltipBase;
57847
+ exports.TooltipContent = TooltipContent;
57848
+ exports.TooltipTrigger = TooltipTrigger;
57673
57849
  exports.UPDATE_PICKER = UPDATE_PICKER;
57674
57850
  exports.Upload = Upload;
57675
57851
  exports.WEEKLY = WEEKLY;