@majoo-ui/react 1.56.3 → 1.57.0
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/components/barChart/BarChart.d.ts +82 -0
- package/components/barChart/index.d.ts +1 -0
- package/components/index.d.ts +2 -0
- package/components/pieChart/PieChart.d.ts +78 -0
- package/components/pieChart/index.d.ts +1 -0
- package/index.esm.css +4 -0
- package/index.esm.js +584 -75
- package/index.umd.css +4 -0
- package/index.umd.js +591 -73
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -39,7 +39,7 @@ import * as color from 'react-color/lib/helpers/color';
|
|
|
39
39
|
import StepWizard$1 from 'react-step-wizard';
|
|
40
40
|
import { useJsApiLoader, GoogleMap, StandaloneSearchBox } from '@react-google-maps/api';
|
|
41
41
|
import request from 'superagent';
|
|
42
|
-
import { ResponsiveContainer, LineChart as LineChart$1, XAxis, YAxis, CartesianGrid, Tooltip as Tooltip$2, Line as Line$2 } from 'recharts';
|
|
42
|
+
import { ResponsiveContainer, LineChart as LineChart$1, XAxis, YAxis, CartesianGrid, Tooltip as Tooltip$2, Line as Line$2, BarChart, Legend, Bar, Cell, LabelList, PieChart, Pie, Sector } from 'recharts';
|
|
43
43
|
import { EditorState } from 'draft-js';
|
|
44
44
|
import { Editor } from 'react-draft-wysiwyg';
|
|
45
45
|
import { ContextMenuTrigger as ContextMenuTrigger$1, ContextMenu as ContextMenu$1, MenuItem } from 'react-contextmenu';
|
|
@@ -1223,7 +1223,7 @@ createTheme({
|
|
|
1223
1223
|
bgDark: '#FFFFFF'
|
|
1224
1224
|
}
|
|
1225
1225
|
});
|
|
1226
|
-
const colors$
|
|
1226
|
+
const colors$7 = foundations.colors;
|
|
1227
1227
|
|
|
1228
1228
|
const normalize = {
|
|
1229
1229
|
'*,::before,::after': {
|
|
@@ -3203,7 +3203,7 @@ const Toast = _ref => {
|
|
|
3203
3203
|
columnNumber: 17
|
|
3204
3204
|
}
|
|
3205
3205
|
}, /*#__PURE__*/React.createElement(CloseOutline, {
|
|
3206
|
-
color: colors$
|
|
3206
|
+
color: colors$7.iconSecondary,
|
|
3207
3207
|
size: "16px",
|
|
3208
3208
|
__self: undefined,
|
|
3209
3209
|
__source: {
|
|
@@ -3644,7 +3644,7 @@ const BannerClose = () => /*#__PURE__*/React.createElement(Context$2.Consumer, {
|
|
|
3644
3644
|
columnNumber: 7
|
|
3645
3645
|
}
|
|
3646
3646
|
}, /*#__PURE__*/React.createElement(CloseOutline, {
|
|
3647
|
-
color: colors$
|
|
3647
|
+
color: colors$7.iconSecondary,
|
|
3648
3648
|
size: "16px",
|
|
3649
3649
|
__self: undefined,
|
|
3650
3650
|
__source: {
|
|
@@ -3731,7 +3731,7 @@ const SingleTagBanner = props => {
|
|
|
3731
3731
|
columnNumber: 9
|
|
3732
3732
|
}
|
|
3733
3733
|
}, /*#__PURE__*/React.createElement(CloseOutline, {
|
|
3734
|
-
color: colors$
|
|
3734
|
+
color: colors$7.iconSecondary,
|
|
3735
3735
|
size: "16px",
|
|
3736
3736
|
__self: undefined,
|
|
3737
3737
|
__source: {
|
|
@@ -7771,7 +7771,7 @@ const Tag = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
7771
7771
|
}
|
|
7772
7772
|
}, /*#__PURE__*/React__default.createElement(CloseOutline, {
|
|
7773
7773
|
size: 16,
|
|
7774
|
-
color: colors$
|
|
7774
|
+
color: colors$7.iconSecondary,
|
|
7775
7775
|
style: {
|
|
7776
7776
|
verticalAlign: 'middle'
|
|
7777
7777
|
},
|
|
@@ -8305,7 +8305,7 @@ SvgSearchOutline.defaultProps = {
|
|
|
8305
8305
|
const _excluded$e = ["size", "onChange", "css", "disabled", "withDebounce", "defaultValue"];
|
|
8306
8306
|
var _jsxFileName$z = "/Users/ryanakbar20/Documents/project/majoo/majoo-ui/packages/react/src/components/form/components/InputSearchbox/InputSearchbox.js";
|
|
8307
8307
|
const {
|
|
8308
|
-
colors: colors$
|
|
8308
|
+
colors: colors$6
|
|
8309
8309
|
} = foundations;
|
|
8310
8310
|
const InputSearchbox = _ref => {
|
|
8311
8311
|
var _props$value;
|
|
@@ -8381,7 +8381,7 @@ const InputSearchbox = _ref => {
|
|
|
8381
8381
|
}
|
|
8382
8382
|
})), /*#__PURE__*/React__default.createElement(InputRightElement, {
|
|
8383
8383
|
children: (inputValue === null || inputValue === void 0 ? void 0 : inputValue.length) > 0 ? /*#__PURE__*/React__default.createElement(SvgCloseFilled, {
|
|
8384
|
-
color: colors$
|
|
8384
|
+
color: colors$6.iconSecondary,
|
|
8385
8385
|
__self: undefined,
|
|
8386
8386
|
__source: {
|
|
8387
8387
|
fileName: _jsxFileName$z,
|
|
@@ -9251,7 +9251,7 @@ function InputSelect(_a) {
|
|
|
9251
9251
|
readOnly: readOnly
|
|
9252
9252
|
}, {
|
|
9253
9253
|
children: jsx(CaretDownOutline, {
|
|
9254
|
-
color: readOnly ? colors$
|
|
9254
|
+
color: readOnly ? colors$7.gray300 : iconColor
|
|
9255
9255
|
}, void 0)
|
|
9256
9256
|
}), void 0);
|
|
9257
9257
|
};
|
|
@@ -9457,7 +9457,7 @@ function InputSelect(_a) {
|
|
|
9457
9457
|
}, {
|
|
9458
9458
|
children: jsx(CircleInfoOutline, {
|
|
9459
9459
|
size: "16px",
|
|
9460
|
-
color: colors$
|
|
9460
|
+
color: colors$7.iconDisable,
|
|
9461
9461
|
style: {
|
|
9462
9462
|
verticalAlign: 'text-bottom'
|
|
9463
9463
|
}
|
|
@@ -11470,7 +11470,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
11470
11470
|
columnNumber: 11
|
|
11471
11471
|
}
|
|
11472
11472
|
}), /*#__PURE__*/React__default.createElement(IconCaretDown, {
|
|
11473
|
-
color: disabled || readOnly ? colors$
|
|
11473
|
+
color: disabled || readOnly ? colors$7.iconDisable : colors$7.iconPrimary,
|
|
11474
11474
|
__self: undefined,
|
|
11475
11475
|
__source: {
|
|
11476
11476
|
fileName: _jsxFileName$w,
|
|
@@ -11569,7 +11569,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
11569
11569
|
columnNumber: 19
|
|
11570
11570
|
}
|
|
11571
11571
|
}, showAllTags ? /*#__PURE__*/React__default.createElement(ChevronUpOutline, {
|
|
11572
|
-
color: colors$
|
|
11572
|
+
color: colors$7.iconSecondary,
|
|
11573
11573
|
__self: undefined,
|
|
11574
11574
|
__source: {
|
|
11575
11575
|
fileName: _jsxFileName$w,
|
|
@@ -11577,7 +11577,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
11577
11577
|
columnNumber: 23
|
|
11578
11578
|
}
|
|
11579
11579
|
}) : /*#__PURE__*/React__default.createElement(ChevronDownOutline, {
|
|
11580
|
-
color: colors$
|
|
11580
|
+
color: colors$7.iconSecondary,
|
|
11581
11581
|
__self: undefined,
|
|
11582
11582
|
__source: {
|
|
11583
11583
|
fileName: _jsxFileName$w,
|
|
@@ -11734,7 +11734,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
11734
11734
|
columnNumber: 23
|
|
11735
11735
|
}
|
|
11736
11736
|
}, item.isDisabled ? /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
11737
|
-
color: colors$
|
|
11737
|
+
color: colors$7.iconDisable,
|
|
11738
11738
|
__self: undefined,
|
|
11739
11739
|
__source: {
|
|
11740
11740
|
fileName: _jsxFileName$w,
|
|
@@ -11742,7 +11742,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
11742
11742
|
columnNumber: 27
|
|
11743
11743
|
}
|
|
11744
11744
|
}) : selectedValue.includes(item.id) && (item.isDisabled === false || item.isDisabled === undefined) && /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
11745
|
-
color: colors$
|
|
11745
|
+
color: colors$7.iconGreen,
|
|
11746
11746
|
__self: undefined,
|
|
11747
11747
|
__source: {
|
|
11748
11748
|
fileName: _jsxFileName$w,
|
|
@@ -11807,7 +11807,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
11807
11807
|
}
|
|
11808
11808
|
}, /*#__PURE__*/React__default.createElement(CircleInfoOutline, {
|
|
11809
11809
|
size: "16px",
|
|
11810
|
-
color: colors$
|
|
11810
|
+
color: colors$7.iconDisable,
|
|
11811
11811
|
style: {
|
|
11812
11812
|
verticalAlign: 'text-bottom'
|
|
11813
11813
|
},
|
|
@@ -12143,7 +12143,7 @@ function InputCreatable({
|
|
|
12143
12143
|
columnNumber: 9
|
|
12144
12144
|
}
|
|
12145
12145
|
}, /*#__PURE__*/React__default.createElement(CirclePlusOutline, {
|
|
12146
|
-
color: colors$
|
|
12146
|
+
color: colors$7.iconGreen,
|
|
12147
12147
|
__self: this,
|
|
12148
12148
|
__source: {
|
|
12149
12149
|
fileName: _jsxFileName$u,
|
|
@@ -12412,7 +12412,7 @@ function InputResourceList({
|
|
|
12412
12412
|
}, {
|
|
12413
12413
|
children: jsx(SortingOutline, {
|
|
12414
12414
|
size: 16,
|
|
12415
|
-
color: colors$
|
|
12415
|
+
color: colors$7.iconSecondary
|
|
12416
12416
|
}, void 0)
|
|
12417
12417
|
}), void 0)]
|
|
12418
12418
|
}), void 0), isLoading && jsx(Flex$1, Object.assign({
|
|
@@ -12629,7 +12629,7 @@ const InputCombobox = /*#__PURE__*/React.forwardRef((_a, forwardedRef) => {
|
|
|
12629
12629
|
});
|
|
12630
12630
|
|
|
12631
12631
|
const {
|
|
12632
|
-
colors: colors$
|
|
12632
|
+
colors: colors$5
|
|
12633
12633
|
} = foundations;
|
|
12634
12634
|
function InputOTP(props) {
|
|
12635
12635
|
const {
|
|
@@ -12638,12 +12638,12 @@ function InputOTP(props) {
|
|
|
12638
12638
|
const inputStyles = {
|
|
12639
12639
|
width: 48,
|
|
12640
12640
|
height: 48,
|
|
12641
|
-
border: `1px solid ${isError ? colors$
|
|
12641
|
+
border: `1px solid ${isError ? colors$5.textRed : colors$5.gray300}`,
|
|
12642
12642
|
borderRadius: 4,
|
|
12643
12643
|
fontWeight: 600,
|
|
12644
12644
|
fontSize: 24,
|
|
12645
12645
|
textAlign: 'center',
|
|
12646
|
-
color: colors$
|
|
12646
|
+
color: colors$5.textPrimary
|
|
12647
12647
|
};
|
|
12648
12648
|
return jsx(OTPInput, Object.assign({
|
|
12649
12649
|
inputStyles: inputStyles
|
|
@@ -12913,7 +12913,7 @@ const InputCounter = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12913
12913
|
}, {
|
|
12914
12914
|
children: jsx(MinusOutline, {
|
|
12915
12915
|
size: 24,
|
|
12916
|
-
color: disabled || disabledDecrement ? colors$
|
|
12916
|
+
color: disabled || disabledDecrement ? colors$7.iconDisable : colors$7.primary500
|
|
12917
12917
|
}, void 0)
|
|
12918
12918
|
}), void 0), jsx(Input$4, {
|
|
12919
12919
|
ref: ref,
|
|
@@ -12936,7 +12936,7 @@ const InputCounter = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12936
12936
|
}, {
|
|
12937
12937
|
children: jsx(PlusOutline, {
|
|
12938
12938
|
size: 24,
|
|
12939
|
-
color: disabled || disabledIncrement ? colors$
|
|
12939
|
+
color: disabled || disabledIncrement ? colors$7.iconDisable : colors$7.primary500
|
|
12940
12940
|
}, void 0)
|
|
12941
12941
|
}), void 0)]
|
|
12942
12942
|
}), void 0);
|
|
@@ -13674,7 +13674,7 @@ const TabsList$1 = _ref2 => {
|
|
|
13674
13674
|
columnNumber: 11
|
|
13675
13675
|
}
|
|
13676
13676
|
}, /*#__PURE__*/React__default.createElement(ChevronLgLeftOutline, {
|
|
13677
|
-
color: colors$
|
|
13677
|
+
color: colors$7.iconGreen,
|
|
13678
13678
|
__self: undefined,
|
|
13679
13679
|
__source: {
|
|
13680
13680
|
fileName: _jsxFileName$r,
|
|
@@ -13703,7 +13703,7 @@ const TabsList$1 = _ref2 => {
|
|
|
13703
13703
|
columnNumber: 11
|
|
13704
13704
|
}
|
|
13705
13705
|
}, /*#__PURE__*/React__default.createElement(ChevronLgRightOutline, {
|
|
13706
|
-
color: colors$
|
|
13706
|
+
color: colors$7.iconGreen,
|
|
13707
13707
|
__self: undefined,
|
|
13708
13708
|
__source: {
|
|
13709
13709
|
fileName: _jsxFileName$r,
|
|
@@ -13763,7 +13763,7 @@ const TabsTrigger$1 = _ref3 => {
|
|
|
13763
13763
|
columnNumber: 9
|
|
13764
13764
|
}
|
|
13765
13765
|
}, icon && /*#__PURE__*/React__default.cloneElement(icon, {
|
|
13766
|
-
color: activeTabs === value || isIconHovered ? colors$
|
|
13766
|
+
color: activeTabs === value || isIconHovered ? colors$7.iconGreen : colors$7.iconDisable
|
|
13767
13767
|
}), (!icon || activeTabs === value) && children)));
|
|
13768
13768
|
};
|
|
13769
13769
|
const TabsContent$1 = _ref4 => {
|
|
@@ -14035,7 +14035,7 @@ function ButtonGroup$1(_ref) {
|
|
|
14035
14035
|
columnNumber: 15
|
|
14036
14036
|
}
|
|
14037
14037
|
}, /*#__PURE__*/React__default.createElement(ChevronLeftOutline, {
|
|
14038
|
-
color: colors$
|
|
14038
|
+
color: colors$7.iconGreen,
|
|
14039
14039
|
__self: this,
|
|
14040
14040
|
__source: {
|
|
14041
14041
|
fileName: _jsxFileName$q,
|
|
@@ -14065,7 +14065,7 @@ function ButtonGroup$1(_ref) {
|
|
|
14065
14065
|
columnNumber: 15
|
|
14066
14066
|
}
|
|
14067
14067
|
}, /*#__PURE__*/React__default.createElement(ChevronRightOutline, {
|
|
14068
|
-
color: colors$
|
|
14068
|
+
color: colors$7.iconGreen,
|
|
14069
14069
|
__self: this,
|
|
14070
14070
|
__source: {
|
|
14071
14071
|
fileName: _jsxFileName$q,
|
|
@@ -16841,7 +16841,7 @@ function InputTimePicker({
|
|
|
16841
16841
|
}
|
|
16842
16842
|
}, /*#__PURE__*/React__default.createElement(InputLeftElement, {
|
|
16843
16843
|
children: /*#__PURE__*/React__default.createElement(TimeOutline, {
|
|
16844
|
-
color: disabled ? colors$
|
|
16844
|
+
color: disabled ? colors$7.iconDisable : colors$7.iconPrimary,
|
|
16845
16845
|
__self: this,
|
|
16846
16846
|
__source: {
|
|
16847
16847
|
fileName: _jsxFileName$l,
|
|
@@ -18087,7 +18087,7 @@ const PaginationButton = ({
|
|
|
18087
18087
|
columnNumber: 15
|
|
18088
18088
|
}
|
|
18089
18089
|
}, /*#__PURE__*/React__default.createElement(ArrowLeftOutline, {
|
|
18090
|
-
color: currentPage === 1 ? colors$
|
|
18090
|
+
color: currentPage === 1 ? colors$7.iconDisable : colors$7.iconPrimary,
|
|
18091
18091
|
__self: undefined,
|
|
18092
18092
|
__source: {
|
|
18093
18093
|
fileName: _jsxFileName$k,
|
|
@@ -18140,7 +18140,7 @@ const PaginationButton = ({
|
|
|
18140
18140
|
columnNumber: 15
|
|
18141
18141
|
}
|
|
18142
18142
|
}, /*#__PURE__*/React__default.createElement(ArrowRightOutline, {
|
|
18143
|
-
color: currentPage === totalPages ? colors$
|
|
18143
|
+
color: currentPage === totalPages ? colors$7.iconDisable : colors$7.iconPrimary,
|
|
18144
18144
|
__self: undefined,
|
|
18145
18145
|
__source: {
|
|
18146
18146
|
fileName: _jsxFileName$k,
|
|
@@ -18295,7 +18295,7 @@ function PaginationInfo(_ref) {
|
|
|
18295
18295
|
columnNumber: 13
|
|
18296
18296
|
}
|
|
18297
18297
|
}, selectedLimit.toString()), /*#__PURE__*/React__default.createElement(ChevronDownOutline, {
|
|
18298
|
-
color: colors$
|
|
18298
|
+
color: colors$7.gray400,
|
|
18299
18299
|
__self: this,
|
|
18300
18300
|
__source: {
|
|
18301
18301
|
fileName: _jsxFileName$j,
|
|
@@ -18533,23 +18533,23 @@ const ContextMenuItem = styled(Item, {
|
|
|
18533
18533
|
userSelect: 'none',
|
|
18534
18534
|
color: '$textPrimary',
|
|
18535
18535
|
'&[data-disabled]': {
|
|
18536
|
-
color: colors$
|
|
18536
|
+
color: colors$7.gray400,
|
|
18537
18537
|
pointerEvents: 'none'
|
|
18538
18538
|
},
|
|
18539
18539
|
'&:hover': {
|
|
18540
18540
|
cursor: 'pointer',
|
|
18541
|
-
backgroundColor: colors$
|
|
18541
|
+
backgroundColor: colors$7.gray100
|
|
18542
18542
|
},
|
|
18543
18543
|
'&:active': {
|
|
18544
|
-
backgroundColor: colors$
|
|
18544
|
+
backgroundColor: colors$7.gray150
|
|
18545
18545
|
},
|
|
18546
18546
|
'&:focus': {
|
|
18547
|
-
backgroundColor: colors$
|
|
18547
|
+
backgroundColor: colors$7.gray100
|
|
18548
18548
|
}
|
|
18549
18549
|
});
|
|
18550
18550
|
const ContextMenuSeparator = styled('div', {
|
|
18551
18551
|
height: 1,
|
|
18552
|
-
backgroundColor: colors$
|
|
18552
|
+
backgroundColor: colors$7.gray150,
|
|
18553
18553
|
margin: 5
|
|
18554
18554
|
});
|
|
18555
18555
|
|
|
@@ -18835,7 +18835,7 @@ const MobileTable = /*#__PURE__*/React__default.forwardRef(({
|
|
|
18835
18835
|
justify: "between",
|
|
18836
18836
|
gap: 5,
|
|
18837
18837
|
css: {
|
|
18838
|
-
backgroundColor: colors$
|
|
18838
|
+
backgroundColor: colors$7.bgGray,
|
|
18839
18839
|
padding: `$spacing-04 $spacing-05 ${'selection' in row.values ? '$spacing-04 $spacing-07' : ''}`,
|
|
18840
18840
|
borderBottom: '1pt solid $bgBorder',
|
|
18841
18841
|
alignItems: cell.column.accessor ? getAlign(cellAlign) : 'center'
|
|
@@ -18858,7 +18858,7 @@ const MobileTable = /*#__PURE__*/React__default.forwardRef(({
|
|
|
18858
18858
|
gap: 3,
|
|
18859
18859
|
css: {
|
|
18860
18860
|
height: '40px',
|
|
18861
|
-
backgroundColor: colors$
|
|
18861
|
+
backgroundColor: colors$7.bgGray,
|
|
18862
18862
|
paddingRight: '$spacing-04'
|
|
18863
18863
|
}
|
|
18864
18864
|
}, {
|
|
@@ -19777,7 +19777,7 @@ function Table({
|
|
|
19777
19777
|
}, {
|
|
19778
19778
|
children: [leftAddOnCells.map((_, index) => jsx("td", {
|
|
19779
19779
|
style: {
|
|
19780
|
-
backgroundColor: colors$
|
|
19780
|
+
backgroundColor: colors$7.bgGray
|
|
19781
19781
|
}
|
|
19782
19782
|
}, index)), jsxs(React.Fragment, {
|
|
19783
19783
|
children: [jsx(TableCell$3, Object.assign({
|
|
@@ -20906,7 +20906,7 @@ const contentShow = keyframes({
|
|
|
20906
20906
|
});
|
|
20907
20907
|
const StyledOverlay = styled(ADialog.Overlay, {
|
|
20908
20908
|
zIndex: 1,
|
|
20909
|
-
backgroundColor: colors$
|
|
20909
|
+
backgroundColor: colors$7.bgDimmer,
|
|
20910
20910
|
position: 'fixed',
|
|
20911
20911
|
inset: 0,
|
|
20912
20912
|
'@media (prefers-reduced-motion: no-preference)': {
|
|
@@ -20939,14 +20939,14 @@ const StyledTitle = styled(ADialog.Title, {
|
|
|
20939
20939
|
display: 'flex',
|
|
20940
20940
|
flexDirection: 'row',
|
|
20941
20941
|
justifyContent: 'space-between',
|
|
20942
|
-
color: colors$
|
|
20942
|
+
color: colors$7.gray900,
|
|
20943
20943
|
fontSize: 17,
|
|
20944
20944
|
fontWeight: 500
|
|
20945
20945
|
});
|
|
20946
20946
|
const StyledDescription$1 = styled(ADialog.Description, {
|
|
20947
20947
|
mx: 24,
|
|
20948
20948
|
my: 20,
|
|
20949
|
-
color: colors$
|
|
20949
|
+
color: colors$7.gray900,
|
|
20950
20950
|
fontSize: 15,
|
|
20951
20951
|
lineHeight: 1.5
|
|
20952
20952
|
});
|
|
@@ -21596,17 +21596,17 @@ const itemStyles = {
|
|
|
21596
21596
|
position: 'relative',
|
|
21597
21597
|
userSelect: 'none',
|
|
21598
21598
|
'&[data-disabled]': {
|
|
21599
|
-
color: colors$
|
|
21599
|
+
color: colors$7.gray400,
|
|
21600
21600
|
pointerEvents: 'none'
|
|
21601
21601
|
},
|
|
21602
21602
|
'&:hover': {
|
|
21603
21603
|
cursor: 'pointer'
|
|
21604
21604
|
},
|
|
21605
21605
|
'&:active': {
|
|
21606
|
-
backgroundColor: colors$
|
|
21606
|
+
backgroundColor: colors$7.gray150
|
|
21607
21607
|
},
|
|
21608
21608
|
'&:focus': {
|
|
21609
|
-
backgroundColor: colors$
|
|
21609
|
+
backgroundColor: colors$7.gray100
|
|
21610
21610
|
}
|
|
21611
21611
|
};
|
|
21612
21612
|
const StyledItem = styled(DropdownMenuPrimitive.Item, Object.assign({}, itemStyles));
|
|
@@ -21623,11 +21623,11 @@ const StyledLabel = styled(DropdownMenuPrimitive.Label, {
|
|
|
21623
21623
|
padding: '8px 0',
|
|
21624
21624
|
fontSize: 12,
|
|
21625
21625
|
lineHeight: '25px',
|
|
21626
|
-
color: colors$
|
|
21626
|
+
color: colors$7.gray700
|
|
21627
21627
|
});
|
|
21628
21628
|
const StyledSeparator = styled(DropdownMenuPrimitive.Separator, {
|
|
21629
21629
|
height: 1,
|
|
21630
|
-
backgroundColor: colors$
|
|
21630
|
+
backgroundColor: colors$7.gray150,
|
|
21631
21631
|
margin: 5
|
|
21632
21632
|
});
|
|
21633
21633
|
const StyledItemIndicator = styled(DropdownMenuPrimitive.ItemIndicator, {
|
|
@@ -21724,7 +21724,7 @@ const RightSlot = styled('div', {
|
|
|
21724
21724
|
color: 'white'
|
|
21725
21725
|
},
|
|
21726
21726
|
'[data-disabled] &': {
|
|
21727
|
-
color: colors$
|
|
21727
|
+
color: colors$7.gray400
|
|
21728
21728
|
}
|
|
21729
21729
|
});
|
|
21730
21730
|
const StyledDropdown = styled(Button$4, {
|
|
@@ -25481,7 +25481,7 @@ const Device = props => {
|
|
|
25481
25481
|
buttonType: "secondary"
|
|
25482
25482
|
}, {
|
|
25483
25483
|
children: jsx(ChevronLeftOutline, {
|
|
25484
|
-
color: colors$
|
|
25484
|
+
color: colors$7.btnPrimary
|
|
25485
25485
|
}, void 0)
|
|
25486
25486
|
}), void 0), jsxs(Flex$1, Object.assign({
|
|
25487
25487
|
align: "center",
|
|
@@ -25541,7 +25541,7 @@ const Device = props => {
|
|
|
25541
25541
|
buttonType: "secondary"
|
|
25542
25542
|
}, {
|
|
25543
25543
|
children: jsx(ChevronRightOutline, {
|
|
25544
|
-
color: colors$
|
|
25544
|
+
color: colors$7.btnPrimary
|
|
25545
25545
|
}, void 0)
|
|
25546
25546
|
}), void 0)]
|
|
25547
25547
|
}), void 0);
|
|
@@ -28620,7 +28620,7 @@ const Navigation = props => {
|
|
|
28620
28620
|
marginRight: 9
|
|
28621
28621
|
},
|
|
28622
28622
|
size: "24",
|
|
28623
|
-
color: colors$
|
|
28623
|
+
color: colors$7.bgGreen,
|
|
28624
28624
|
__self: undefined,
|
|
28625
28625
|
__source: {
|
|
28626
28626
|
fileName: _jsxFileName$4,
|
|
@@ -28641,7 +28641,7 @@ const Navigation = props => {
|
|
|
28641
28641
|
margin: '0 9px'
|
|
28642
28642
|
},
|
|
28643
28643
|
size: "20",
|
|
28644
|
-
color: colors$
|
|
28644
|
+
color: colors$7.iconSecondary,
|
|
28645
28645
|
__self: undefined,
|
|
28646
28646
|
__source: {
|
|
28647
28647
|
fileName: _jsxFileName$4,
|
|
@@ -28713,7 +28713,7 @@ const Navigation = props => {
|
|
|
28713
28713
|
}
|
|
28714
28714
|
}, /*#__PURE__*/React__default.createElement(StyledCircleInfoOutline, {
|
|
28715
28715
|
size: "20",
|
|
28716
|
-
color: colors$
|
|
28716
|
+
color: colors$7.iconPrimary,
|
|
28717
28717
|
__self: undefined,
|
|
28718
28718
|
__source: {
|
|
28719
28719
|
fileName: _jsxFileName$4,
|
|
@@ -29140,10 +29140,10 @@ var _jsxFileName$2 = "/Users/ryanakbar20/Documents/project/majoo/majoo-ui/packag
|
|
|
29140
29140
|
const DesktopContainer = styled(Flex$1, {
|
|
29141
29141
|
display: 'none',
|
|
29142
29142
|
'& .active-scroll-spy': {
|
|
29143
|
-
borderLeft: `4px solid ${colors$
|
|
29143
|
+
borderLeft: `4px solid ${colors$7.primary500} !important`
|
|
29144
29144
|
},
|
|
29145
29145
|
'& .active-scroll-spy .link-title': {
|
|
29146
|
-
color: `${colors$
|
|
29146
|
+
color: `${colors$7.primary500} !important`
|
|
29147
29147
|
},
|
|
29148
29148
|
'@md': {
|
|
29149
29149
|
display: 'unset'
|
|
@@ -29151,7 +29151,7 @@ const DesktopContainer = styled(Flex$1, {
|
|
|
29151
29151
|
});
|
|
29152
29152
|
const MobileContainer = styled(Flex$1, {
|
|
29153
29153
|
backgroundColor: '$white',
|
|
29154
|
-
border: `1px solid ${colors$
|
|
29154
|
+
border: `1px solid ${colors$7.gray150}`,
|
|
29155
29155
|
borderRadius: 8,
|
|
29156
29156
|
padding: '8px 8px',
|
|
29157
29157
|
width: '100%',
|
|
@@ -29278,7 +29278,7 @@ function Content({
|
|
|
29278
29278
|
marginLeft: '-4px !important',
|
|
29279
29279
|
borderLeftWidth: '4px !important',
|
|
29280
29280
|
borderLeftStyle: 'solid !important',
|
|
29281
|
-
borderLeftColor: `${(item === null || item === void 0 ? void 0 : item.id) === activeId ? colors$
|
|
29281
|
+
borderLeftColor: `${(item === null || item === void 0 ? void 0 : item.id) === activeId ? colors$7.primary500 : 'transparent'} !important`,
|
|
29282
29282
|
paddingLeft: '16px !important',
|
|
29283
29283
|
minHeight: 25
|
|
29284
29284
|
},
|
|
@@ -47818,11 +47818,11 @@ function ProgressIndicator(props) {
|
|
|
47818
47818
|
const getColor = state => {
|
|
47819
47819
|
switch (state) {
|
|
47820
47820
|
case 'error':
|
|
47821
|
-
return colors$
|
|
47821
|
+
return colors$7.red400;
|
|
47822
47822
|
case 'active':
|
|
47823
|
-
return colors$
|
|
47823
|
+
return colors$7.primary500;
|
|
47824
47824
|
default:
|
|
47825
|
-
return colors$
|
|
47825
|
+
return colors$7.gray150;
|
|
47826
47826
|
}
|
|
47827
47827
|
};
|
|
47828
47828
|
const iconProps = {
|
|
@@ -48649,7 +48649,7 @@ const ProductList = props => {
|
|
|
48649
48649
|
};
|
|
48650
48650
|
|
|
48651
48651
|
const {
|
|
48652
|
-
colors: colors$
|
|
48652
|
+
colors: colors$4
|
|
48653
48653
|
} = foundations;
|
|
48654
48654
|
const ComparatorItem = props => {
|
|
48655
48655
|
const {
|
|
@@ -48724,7 +48724,7 @@ const ComparatorItem = props => {
|
|
|
48724
48724
|
}
|
|
48725
48725
|
}, {
|
|
48726
48726
|
children: jsx(CloseOutline, {
|
|
48727
|
-
color: colors$
|
|
48727
|
+
color: colors$4.textSecondary,
|
|
48728
48728
|
size: 24
|
|
48729
48729
|
}, void 0)
|
|
48730
48730
|
}), void 0)]
|
|
@@ -48750,7 +48750,7 @@ const ComparatorItem = props => {
|
|
|
48750
48750
|
};
|
|
48751
48751
|
|
|
48752
48752
|
const {
|
|
48753
|
-
colors: colors$
|
|
48753
|
+
colors: colors$3
|
|
48754
48754
|
} = foundations;
|
|
48755
48755
|
const ComparatorController = ({
|
|
48756
48756
|
option,
|
|
@@ -48817,7 +48817,7 @@ const ComparatorController = ({
|
|
|
48817
48817
|
},
|
|
48818
48818
|
leftIcon: jsx(PlusOutline, {
|
|
48819
48819
|
size: 24,
|
|
48820
|
-
color: colors$
|
|
48820
|
+
color: colors$3.primary500
|
|
48821
48821
|
}, void 0),
|
|
48822
48822
|
onClick: () => handleToggle()
|
|
48823
48823
|
}, {
|
|
@@ -49109,7 +49109,7 @@ Tooltip.defaultProps = {
|
|
|
49109
49109
|
};
|
|
49110
49110
|
|
|
49111
49111
|
const {
|
|
49112
|
-
colors
|
|
49112
|
+
colors: colors$2
|
|
49113
49113
|
} = foundations;
|
|
49114
49114
|
const Container$2 = styled('div', {
|
|
49115
49115
|
'@sm': {
|
|
@@ -49251,7 +49251,7 @@ function LineChart(props) {
|
|
|
49251
49251
|
setFilteredData([{
|
|
49252
49252
|
dataKey: 'novalue',
|
|
49253
49253
|
name: 'novalue',
|
|
49254
|
-
color: colors.chartYellow,
|
|
49254
|
+
color: colors$2.chartYellow,
|
|
49255
49255
|
hide: true
|
|
49256
49256
|
}]);
|
|
49257
49257
|
setIsComparator(false);
|
|
@@ -49274,7 +49274,7 @@ function LineChart(props) {
|
|
|
49274
49274
|
cx: cx,
|
|
49275
49275
|
cy: cy,
|
|
49276
49276
|
r: 10,
|
|
49277
|
-
fill: colors.white,
|
|
49277
|
+
fill: colors$2.white,
|
|
49278
49278
|
stroke: fill,
|
|
49279
49279
|
strokeWidth: 3
|
|
49280
49280
|
}, void 0);
|
|
@@ -49389,7 +49389,7 @@ function LineChart(props) {
|
|
|
49389
49389
|
cx: cx,
|
|
49390
49390
|
cy: cy,
|
|
49391
49391
|
r: 10,
|
|
49392
|
-
fill: colors.white,
|
|
49392
|
+
fill: colors$2.white,
|
|
49393
49393
|
stroke: fill,
|
|
49394
49394
|
strokeWidth: 3
|
|
49395
49395
|
}, void 0);
|
|
@@ -49710,7 +49710,7 @@ function CheckboxTable(props) {
|
|
|
49710
49710
|
}
|
|
49711
49711
|
}, void 0) : jsx(MinusOutline, {
|
|
49712
49712
|
size: 16,
|
|
49713
|
-
color: colors$
|
|
49713
|
+
color: colors$7.iconDisable
|
|
49714
49714
|
}, void 0)
|
|
49715
49715
|
}, void 0)
|
|
49716
49716
|
}), index + indexSubRow + 'tb-cell-collapse');
|
|
@@ -50015,9 +50015,9 @@ const StyledSkeleton = props => {
|
|
|
50015
50015
|
function getBaseColor(color) {
|
|
50016
50016
|
switch (color) {
|
|
50017
50017
|
case 'primary':
|
|
50018
|
-
return colors$
|
|
50018
|
+
return colors$7.gray300;
|
|
50019
50019
|
default:
|
|
50020
|
-
return colors$
|
|
50020
|
+
return colors$7.gray150;
|
|
50021
50021
|
}
|
|
50022
50022
|
}
|
|
50023
50023
|
function getSize(size) {
|
|
@@ -50168,9 +50168,9 @@ function TagList({
|
|
|
50168
50168
|
}
|
|
50169
50169
|
}, {
|
|
50170
50170
|
children: [showAllTags ? jsx(ChevronUpOutline, {
|
|
50171
|
-
color: colors$
|
|
50171
|
+
color: colors$7.iconSecondary
|
|
50172
50172
|
}, void 0) : jsx(ChevronDownOutline, {
|
|
50173
|
-
color: colors$
|
|
50173
|
+
color: colors$7.iconSecondary
|
|
50174
50174
|
}, void 0), jsx(Paragraph, Object.assign({
|
|
50175
50175
|
css: {
|
|
50176
50176
|
fontWeight: 600,
|
|
@@ -50196,6 +50196,515 @@ TagList.defaultProps = {
|
|
|
50196
50196
|
counterLabel: 'produk dipilih'
|
|
50197
50197
|
};
|
|
50198
50198
|
|
|
50199
|
+
const {
|
|
50200
|
+
colors: colors$1
|
|
50201
|
+
} = foundations;
|
|
50202
|
+
const renderLegend$1 = (formattedData, legend, subtitle, tickFormatter) => jsxs(Box, Object.assign({
|
|
50203
|
+
css: {
|
|
50204
|
+
marginTop: '$spacing-09'
|
|
50205
|
+
}
|
|
50206
|
+
}, {
|
|
50207
|
+
children: [subtitle && jsx(Flex$1, Object.assign({
|
|
50208
|
+
justify: "center"
|
|
50209
|
+
}, {
|
|
50210
|
+
children: jsx(Heading, Object.assign({
|
|
50211
|
+
css: {
|
|
50212
|
+
marginBottom: '$spacing-06'
|
|
50213
|
+
},
|
|
50214
|
+
heading: "sectionTitle"
|
|
50215
|
+
}, {
|
|
50216
|
+
children: subtitle
|
|
50217
|
+
}), void 0)
|
|
50218
|
+
}), void 0), formattedData.length > 0 && jsx(Flex$1, Object.assign({
|
|
50219
|
+
direction: "column",
|
|
50220
|
+
gap: 5
|
|
50221
|
+
}, {
|
|
50222
|
+
children: formattedData.map((data, index) => {
|
|
50223
|
+
var _a, _b;
|
|
50224
|
+
return jsxs(Box, {
|
|
50225
|
+
children: [jsxs(Flex$1, Object.assign({
|
|
50226
|
+
justify: "between"
|
|
50227
|
+
}, {
|
|
50228
|
+
children: [jsxs(Flex$1, Object.assign({
|
|
50229
|
+
align: "center"
|
|
50230
|
+
}, {
|
|
50231
|
+
children: [jsx(Box, {
|
|
50232
|
+
css: {
|
|
50233
|
+
backgroundColor: data.color,
|
|
50234
|
+
borderRadius: '50%',
|
|
50235
|
+
height: 12,
|
|
50236
|
+
width: 12,
|
|
50237
|
+
display: 'inline-block',
|
|
50238
|
+
marginRight: '$spacing-03'
|
|
50239
|
+
}
|
|
50240
|
+
}, void 0), jsx(Box, Object.assign({
|
|
50241
|
+
css: {
|
|
50242
|
+
width: 120
|
|
50243
|
+
}
|
|
50244
|
+
}, {
|
|
50245
|
+
children: jsx(Text$1, Object.assign({
|
|
50246
|
+
variant: "label",
|
|
50247
|
+
color: "secondary"
|
|
50248
|
+
}, {
|
|
50249
|
+
children: data.name
|
|
50250
|
+
}), void 0)
|
|
50251
|
+
}), void 0)]
|
|
50252
|
+
}), void 0), legend.showTotal && jsx(Text$1, Object.assign({
|
|
50253
|
+
variant: "label",
|
|
50254
|
+
color: "secondary"
|
|
50255
|
+
}, {
|
|
50256
|
+
children: tickFormatter ? tickFormatter === null || tickFormatter === void 0 ? void 0 : tickFormatter((_a = formattedData[index]) === null || _a === void 0 ? void 0 : _a.total) : (_b = formattedData[index]) === null || _b === void 0 ? void 0 : _b.total
|
|
50257
|
+
}), void 0)]
|
|
50258
|
+
}), void 0), jsx(Separator$2, {
|
|
50259
|
+
css: {
|
|
50260
|
+
marginTop: '$spacing-03'
|
|
50261
|
+
}
|
|
50262
|
+
}, void 0)]
|
|
50263
|
+
}, index);
|
|
50264
|
+
})
|
|
50265
|
+
}), void 0)]
|
|
50266
|
+
}), void 0);
|
|
50267
|
+
const DEFAULT_DATA = [{
|
|
50268
|
+
name: 'none',
|
|
50269
|
+
total: 0,
|
|
50270
|
+
color: colors$1.chartGreen
|
|
50271
|
+
}];
|
|
50272
|
+
function BarChartComponent({
|
|
50273
|
+
css,
|
|
50274
|
+
data,
|
|
50275
|
+
legend,
|
|
50276
|
+
title,
|
|
50277
|
+
subtitle,
|
|
50278
|
+
tooltip,
|
|
50279
|
+
direction,
|
|
50280
|
+
tickFormatter,
|
|
50281
|
+
label,
|
|
50282
|
+
yAxis
|
|
50283
|
+
}) {
|
|
50284
|
+
var _a, _b;
|
|
50285
|
+
const isHorizontal = direction === 'horizontal';
|
|
50286
|
+
const MIN_HEIGHT = 350;
|
|
50287
|
+
const MIN_WIDTH = 500;
|
|
50288
|
+
const formattedData = data.length ? data : DEFAULT_DATA;
|
|
50289
|
+
const CustomTooltip = ({
|
|
50290
|
+
payload: _payload = {},
|
|
50291
|
+
active: _active = false
|
|
50292
|
+
}) => {
|
|
50293
|
+
var _a;
|
|
50294
|
+
if (_active) {
|
|
50295
|
+
const {
|
|
50296
|
+
total,
|
|
50297
|
+
name
|
|
50298
|
+
} = _payload[0].payload;
|
|
50299
|
+
return jsxs(Box, Object.assign({
|
|
50300
|
+
css: {
|
|
50301
|
+
backgroundColor: '$textContent',
|
|
50302
|
+
color: '$white',
|
|
50303
|
+
borderRadius: '$sm',
|
|
50304
|
+
padding: '$spacing-02',
|
|
50305
|
+
flexDirection: 'column'
|
|
50306
|
+
}
|
|
50307
|
+
}, {
|
|
50308
|
+
children: [jsx(Text$1, Object.assign({
|
|
50309
|
+
variant: "placeholder",
|
|
50310
|
+
color: "disable",
|
|
50311
|
+
css: {
|
|
50312
|
+
fontSize: 11
|
|
50313
|
+
}
|
|
50314
|
+
}, {
|
|
50315
|
+
children: name
|
|
50316
|
+
}), void 0), jsx(Paragraph, Object.assign({
|
|
50317
|
+
paragraph: "shortContentRegular",
|
|
50318
|
+
css: {
|
|
50319
|
+
color: '$white',
|
|
50320
|
+
fontSize: 12
|
|
50321
|
+
}
|
|
50322
|
+
}, {
|
|
50323
|
+
children: (tooltip === null || tooltip === void 0 ? void 0 : tooltip.label) ? (_a = tooltip === null || tooltip === void 0 ? void 0 : tooltip.label) === null || _a === void 0 ? void 0 : _a.call(tooltip, total) : total
|
|
50324
|
+
}), void 0)]
|
|
50325
|
+
}), void 0);
|
|
50326
|
+
}
|
|
50327
|
+
return null;
|
|
50328
|
+
};
|
|
50329
|
+
return jsxs(Box, {
|
|
50330
|
+
children: [title && jsx(Heading, Object.assign({
|
|
50331
|
+
css: {
|
|
50332
|
+
marginBottom: '$spacing-07'
|
|
50333
|
+
},
|
|
50334
|
+
heading: "sectionTitle"
|
|
50335
|
+
}, {
|
|
50336
|
+
children: title
|
|
50337
|
+
}), void 0), jsx(Box, Object.assign({
|
|
50338
|
+
css: Object.assign({
|
|
50339
|
+
width: MIN_WIDTH,
|
|
50340
|
+
height: MIN_HEIGHT
|
|
50341
|
+
}, css)
|
|
50342
|
+
}, {
|
|
50343
|
+
children: jsx(ResponsiveContainer, {
|
|
50344
|
+
children: jsxs(BarChart, Object.assign({
|
|
50345
|
+
width: MIN_WIDTH,
|
|
50346
|
+
height: MIN_HEIGHT,
|
|
50347
|
+
data: formattedData,
|
|
50348
|
+
layout: isHorizontal ? 'vertical' : 'horizontal'
|
|
50349
|
+
}, {
|
|
50350
|
+
children: [jsx(CartesianGrid, {
|
|
50351
|
+
stroke: colors$1.gray150,
|
|
50352
|
+
vertical: isHorizontal,
|
|
50353
|
+
horizontal: !isHorizontal
|
|
50354
|
+
}, void 0), isHorizontal && jsx(XAxis, Object.assign({
|
|
50355
|
+
type: "number",
|
|
50356
|
+
stroke: colors$1.textSecondary,
|
|
50357
|
+
fontSize: 12,
|
|
50358
|
+
axisLine: false
|
|
50359
|
+
}, isHorizontal && {
|
|
50360
|
+
tickFormatter
|
|
50361
|
+
}), void 0), jsx(YAxis, Object.assign({
|
|
50362
|
+
axisLine: false,
|
|
50363
|
+
type: isHorizontal ? 'category' : 'number',
|
|
50364
|
+
dataKey: isHorizontal ? 'name' : 'total',
|
|
50365
|
+
width: isHorizontal ? 100 : 50,
|
|
50366
|
+
hide: !(yAxis === null || yAxis === void 0 ? void 0 : yAxis.show),
|
|
50367
|
+
stroke: colors$1.textSecondary,
|
|
50368
|
+
fontSize: 12
|
|
50369
|
+
}, !isHorizontal && {
|
|
50370
|
+
tickFormatter
|
|
50371
|
+
}), void 0), data.length > 0 && jsx(Tooltip$2, {
|
|
50372
|
+
wrapperStyle: {
|
|
50373
|
+
outline: 'none'
|
|
50374
|
+
},
|
|
50375
|
+
cursor: {
|
|
50376
|
+
fill: 'transparent'
|
|
50377
|
+
},
|
|
50378
|
+
content: (tooltip === null || tooltip === void 0 ? void 0 : tooltip.render) ? (_a = tooltip === null || tooltip === void 0 ? void 0 : tooltip.render) === null || _a === void 0 ? void 0 : _a.call(tooltip) : jsx(CustomTooltip, {}, void 0)
|
|
50379
|
+
}, void 0), (legend === null || legend === void 0 ? void 0 : legend.show) && jsx(Legend, {
|
|
50380
|
+
content: renderLegend$1(formattedData, legend, subtitle, tickFormatter)
|
|
50381
|
+
}, void 0), jsxs(Bar, Object.assign({
|
|
50382
|
+
dataKey: "total",
|
|
50383
|
+
barSize: 12,
|
|
50384
|
+
radius: 50
|
|
50385
|
+
}, {
|
|
50386
|
+
children: [formattedData.map(item => jsx(Cell, {
|
|
50387
|
+
fill: item.color || colors$1.chartGreen
|
|
50388
|
+
}, item.name)), (label === null || label === void 0 ? void 0 : label.show) && jsx(LabelList, {
|
|
50389
|
+
style: {
|
|
50390
|
+
marginLeft: '-8px'
|
|
50391
|
+
},
|
|
50392
|
+
dataKey: (label === null || label === void 0 ? void 0 : label.dataKey) || 'total',
|
|
50393
|
+
formatter: label === null || label === void 0 ? void 0 : label.formatter,
|
|
50394
|
+
position: (label === null || label === void 0 ? void 0 : label.position) || 'top',
|
|
50395
|
+
content: (_b = label === null || label === void 0 ? void 0 : label.render) === null || _b === void 0 ? void 0 : _b.call(label),
|
|
50396
|
+
fill: colors$1.textDisable,
|
|
50397
|
+
fontSize: 12
|
|
50398
|
+
}, void 0)]
|
|
50399
|
+
}), void 0)]
|
|
50400
|
+
}), void 0)
|
|
50401
|
+
}, void 0)
|
|
50402
|
+
}), void 0)]
|
|
50403
|
+
}, void 0);
|
|
50404
|
+
}
|
|
50405
|
+
BarChartComponent.defaultProps = {
|
|
50406
|
+
data: [],
|
|
50407
|
+
legend: {
|
|
50408
|
+
show: true,
|
|
50409
|
+
showTotal: true
|
|
50410
|
+
},
|
|
50411
|
+
yAxis: {
|
|
50412
|
+
show: true
|
|
50413
|
+
}
|
|
50414
|
+
};
|
|
50415
|
+
|
|
50416
|
+
const {
|
|
50417
|
+
colors
|
|
50418
|
+
} = foundations;
|
|
50419
|
+
const renderActiveShape = (props, avatar, acronym, validAvatar, activeRef) => {
|
|
50420
|
+
const {
|
|
50421
|
+
cx,
|
|
50422
|
+
cy,
|
|
50423
|
+
innerRadius,
|
|
50424
|
+
outerRadius,
|
|
50425
|
+
startAngle,
|
|
50426
|
+
endAngle,
|
|
50427
|
+
fill
|
|
50428
|
+
} = props;
|
|
50429
|
+
const IMG_WIDHT = 40;
|
|
50430
|
+
const IMG_HEIGHT = 40;
|
|
50431
|
+
return jsx(React__default.Fragment, {
|
|
50432
|
+
children: jsxs("g", {
|
|
50433
|
+
children: [jsx("clipPath", Object.assign({
|
|
50434
|
+
id: "circleAvatar"
|
|
50435
|
+
}, {
|
|
50436
|
+
children: jsx("circle", {
|
|
50437
|
+
cx: cx,
|
|
50438
|
+
cy: cy,
|
|
50439
|
+
r: IMG_WIDHT / 2,
|
|
50440
|
+
fill: "#FFFFFF"
|
|
50441
|
+
}, void 0)
|
|
50442
|
+
}), void 0), validAvatar ? jsx("image", {
|
|
50443
|
+
x: cx - IMG_WIDHT / 2,
|
|
50444
|
+
y: cy - IMG_HEIGHT / 2,
|
|
50445
|
+
width: IMG_WIDHT,
|
|
50446
|
+
height: IMG_HEIGHT,
|
|
50447
|
+
href: avatar,
|
|
50448
|
+
clipPath: "url(#circleAvatar)"
|
|
50449
|
+
}, void 0) : jsxs(React__default.Fragment, {
|
|
50450
|
+
children: [jsx("circle", {
|
|
50451
|
+
cx: cx,
|
|
50452
|
+
cy: cy,
|
|
50453
|
+
r: IMG_WIDHT / 2,
|
|
50454
|
+
fill: foundations.colors.bgBorder
|
|
50455
|
+
}, void 0), jsx("text", Object.assign({
|
|
50456
|
+
x: cx,
|
|
50457
|
+
y: cy,
|
|
50458
|
+
textAnchor: "middle",
|
|
50459
|
+
alignmentBaseline: "middle",
|
|
50460
|
+
fontFamily: "main",
|
|
50461
|
+
fontWeight: "600"
|
|
50462
|
+
}, {
|
|
50463
|
+
children: acronym
|
|
50464
|
+
}), void 0)]
|
|
50465
|
+
}, void 0), jsx(Sector, {
|
|
50466
|
+
cx: cx,
|
|
50467
|
+
cy: cy,
|
|
50468
|
+
innerRadius: innerRadius,
|
|
50469
|
+
outerRadius: activeRef.current ? outerRadius + 10 : outerRadius,
|
|
50470
|
+
startAngle: startAngle,
|
|
50471
|
+
endAngle: endAngle,
|
|
50472
|
+
fill: fill,
|
|
50473
|
+
style: {
|
|
50474
|
+
outline: 'none'
|
|
50475
|
+
}
|
|
50476
|
+
}, void 0)]
|
|
50477
|
+
}, void 0)
|
|
50478
|
+
}, void 0);
|
|
50479
|
+
};
|
|
50480
|
+
const renderLegend = (formattedData, legend, subtitle) => jsxs(Box, {
|
|
50481
|
+
children: [subtitle && jsx(Flex$1, Object.assign({
|
|
50482
|
+
css: {
|
|
50483
|
+
margin: '$spacing-06'
|
|
50484
|
+
},
|
|
50485
|
+
justify: "center"
|
|
50486
|
+
}, {
|
|
50487
|
+
children: jsx(Heading, Object.assign({
|
|
50488
|
+
heading: "sectionTitle"
|
|
50489
|
+
}, {
|
|
50490
|
+
children: subtitle
|
|
50491
|
+
}), void 0)
|
|
50492
|
+
}), void 0), formattedData.length > 0 && jsx(Flex$1, Object.assign({
|
|
50493
|
+
direction: "column",
|
|
50494
|
+
gap: 5
|
|
50495
|
+
}, {
|
|
50496
|
+
children: formattedData === null || formattedData === void 0 ? void 0 : formattedData.map((data, index) => {
|
|
50497
|
+
var _a;
|
|
50498
|
+
return jsxs(Box, {
|
|
50499
|
+
children: [jsxs(Flex$1, Object.assign({
|
|
50500
|
+
justify: "between"
|
|
50501
|
+
}, {
|
|
50502
|
+
children: [jsxs(Flex$1, Object.assign({
|
|
50503
|
+
align: "center"
|
|
50504
|
+
}, {
|
|
50505
|
+
children: [jsx(Box, {
|
|
50506
|
+
css: {
|
|
50507
|
+
backgroundColor: data.color,
|
|
50508
|
+
borderRadius: '50%',
|
|
50509
|
+
height: 12,
|
|
50510
|
+
width: 12,
|
|
50511
|
+
display: 'inline-block',
|
|
50512
|
+
marginRight: '$spacing-03'
|
|
50513
|
+
}
|
|
50514
|
+
}, void 0), jsx(Box, Object.assign({
|
|
50515
|
+
css: {
|
|
50516
|
+
width: 120
|
|
50517
|
+
}
|
|
50518
|
+
}, {
|
|
50519
|
+
children: jsx(Text$1, Object.assign({
|
|
50520
|
+
variant: "label",
|
|
50521
|
+
color: "secondary"
|
|
50522
|
+
}, {
|
|
50523
|
+
children: data.name
|
|
50524
|
+
}), void 0)
|
|
50525
|
+
}), void 0)]
|
|
50526
|
+
}), void 0), (legend === null || legend === void 0 ? void 0 : legend.showTotal) && jsx(Text$1, Object.assign({
|
|
50527
|
+
variant: "label",
|
|
50528
|
+
color: "secondary"
|
|
50529
|
+
}, {
|
|
50530
|
+
children: (_a = formattedData[index]) === null || _a === void 0 ? void 0 : _a.total
|
|
50531
|
+
}), void 0)]
|
|
50532
|
+
}), void 0), jsx(Separator$2, {
|
|
50533
|
+
css: {
|
|
50534
|
+
marginTop: '$spacing-03'
|
|
50535
|
+
}
|
|
50536
|
+
}, void 0)]
|
|
50537
|
+
}, index);
|
|
50538
|
+
})
|
|
50539
|
+
}), void 0)]
|
|
50540
|
+
}, void 0);
|
|
50541
|
+
const PieChartComponent = ({
|
|
50542
|
+
data,
|
|
50543
|
+
css,
|
|
50544
|
+
avatarURL,
|
|
50545
|
+
avatarAcronym,
|
|
50546
|
+
validAvatar,
|
|
50547
|
+
legend,
|
|
50548
|
+
isMobile,
|
|
50549
|
+
tooltip,
|
|
50550
|
+
showPercentage,
|
|
50551
|
+
title,
|
|
50552
|
+
subtitle
|
|
50553
|
+
}) => {
|
|
50554
|
+
var _a;
|
|
50555
|
+
const emptyData = [{
|
|
50556
|
+
id: '0',
|
|
50557
|
+
name: '',
|
|
50558
|
+
total: 1,
|
|
50559
|
+
color: foundations.colors.chartLightGray
|
|
50560
|
+
}];
|
|
50561
|
+
const dataChart = data.map(item => Object.assign(Object.assign({}, item), {
|
|
50562
|
+
total: Number(item.total)
|
|
50563
|
+
}));
|
|
50564
|
+
const activeRef = useRef();
|
|
50565
|
+
const formattedData = data.length > 0 ? dataChart : emptyData;
|
|
50566
|
+
const [activeIndex, setActiveIndex] = useState(0);
|
|
50567
|
+
const CONTAINER_HEIGHT = (legend === null || legend === void 0 ? void 0 : legend.position) === 'bottom' ? 350 : 180;
|
|
50568
|
+
const CONTAINER_WIDTH = isMobile ? 350 : 450;
|
|
50569
|
+
const CHART_HEIGHT = 150;
|
|
50570
|
+
const CHART_WIDTH = 450;
|
|
50571
|
+
const CustomTooltip = ({
|
|
50572
|
+
payload: _payload = {},
|
|
50573
|
+
active: _active = false
|
|
50574
|
+
}) => {
|
|
50575
|
+
var _a;
|
|
50576
|
+
if (_active) {
|
|
50577
|
+
const {
|
|
50578
|
+
total,
|
|
50579
|
+
name
|
|
50580
|
+
} = _payload[0].payload;
|
|
50581
|
+
return jsxs(Box, Object.assign({
|
|
50582
|
+
css: {
|
|
50583
|
+
backgroundColor: '$textContent',
|
|
50584
|
+
color: '$white',
|
|
50585
|
+
borderRadius: '$sm',
|
|
50586
|
+
padding: '$spacing-02',
|
|
50587
|
+
flexDirection: 'column'
|
|
50588
|
+
}
|
|
50589
|
+
}, {
|
|
50590
|
+
children: [jsx(Text$1, Object.assign({
|
|
50591
|
+
variant: "placeholder",
|
|
50592
|
+
color: "disable",
|
|
50593
|
+
css: {
|
|
50594
|
+
fontSize: 11
|
|
50595
|
+
}
|
|
50596
|
+
}, {
|
|
50597
|
+
children: name
|
|
50598
|
+
}), void 0), jsx(Paragraph, Object.assign({
|
|
50599
|
+
paragraph: "shortContentRegular",
|
|
50600
|
+
css: {
|
|
50601
|
+
color: '$white',
|
|
50602
|
+
fontSize: 12
|
|
50603
|
+
}
|
|
50604
|
+
}, {
|
|
50605
|
+
children: (tooltip === null || tooltip === void 0 ? void 0 : tooltip.label) ? (_a = tooltip === null || tooltip === void 0 ? void 0 : tooltip.label) === null || _a === void 0 ? void 0 : _a.call(tooltip, total) : total
|
|
50606
|
+
}), void 0)]
|
|
50607
|
+
}), void 0);
|
|
50608
|
+
}
|
|
50609
|
+
return null;
|
|
50610
|
+
};
|
|
50611
|
+
const RADIAN = Math.PI / 180;
|
|
50612
|
+
const renderCustomizedLabel = ({
|
|
50613
|
+
cx,
|
|
50614
|
+
cy,
|
|
50615
|
+
midAngle,
|
|
50616
|
+
innerRadius,
|
|
50617
|
+
outerRadius,
|
|
50618
|
+
percent,
|
|
50619
|
+
index
|
|
50620
|
+
}) => {
|
|
50621
|
+
const radius = innerRadius + (outerRadius - innerRadius) * 0.5;
|
|
50622
|
+
const x = cx + radius * Math.cos(-midAngle * RADIAN);
|
|
50623
|
+
const y = cy + radius * Math.sin(-midAngle * RADIAN);
|
|
50624
|
+
return jsx("text", Object.assign({
|
|
50625
|
+
x: x,
|
|
50626
|
+
y: y,
|
|
50627
|
+
fill: "white",
|
|
50628
|
+
textAnchor: x > cx ? 'start' : 'end',
|
|
50629
|
+
dominantBaseline: "central"
|
|
50630
|
+
}, {
|
|
50631
|
+
children: `${(percent * 100).toFixed(0)}%`
|
|
50632
|
+
}), void 0);
|
|
50633
|
+
};
|
|
50634
|
+
return jsxs(Box, {
|
|
50635
|
+
children: [title && jsx(Heading, Object.assign({
|
|
50636
|
+
css: {
|
|
50637
|
+
marginBottom: '$spacing-06'
|
|
50638
|
+
},
|
|
50639
|
+
heading: "sectionTitle"
|
|
50640
|
+
}, {
|
|
50641
|
+
children: title
|
|
50642
|
+
}), void 0), jsx(Box, Object.assign({
|
|
50643
|
+
css: Object.assign({
|
|
50644
|
+
position: 'relative',
|
|
50645
|
+
width: CONTAINER_WIDTH,
|
|
50646
|
+
height: CONTAINER_HEIGHT
|
|
50647
|
+
}, css)
|
|
50648
|
+
}, {
|
|
50649
|
+
children: jsx(ResponsiveContainer, Object.assign({
|
|
50650
|
+
width: "100%",
|
|
50651
|
+
height: "100%"
|
|
50652
|
+
}, {
|
|
50653
|
+
children: jsxs(PieChart, Object.assign({
|
|
50654
|
+
width: CHART_WIDTH,
|
|
50655
|
+
height: CHART_HEIGHT
|
|
50656
|
+
}, {
|
|
50657
|
+
children: [jsx(Pie, Object.assign({
|
|
50658
|
+
activeIndex: activeIndex,
|
|
50659
|
+
activeShape: shape => renderActiveShape(shape, avatarURL, avatarAcronym, validAvatar, activeRef),
|
|
50660
|
+
data: formattedData,
|
|
50661
|
+
cx: "50%",
|
|
50662
|
+
cy: "50%",
|
|
50663
|
+
innerRadius: 50,
|
|
50664
|
+
outerRadius: 80,
|
|
50665
|
+
dataKey: "total",
|
|
50666
|
+
onMouseEnter: x => {
|
|
50667
|
+
setActiveIndex(formattedData.findIndex(y => y.name === x.name));
|
|
50668
|
+
activeRef.current = true;
|
|
50669
|
+
},
|
|
50670
|
+
blendStroke: true
|
|
50671
|
+
}, showPercentage && {
|
|
50672
|
+
label: renderCustomizedLabel,
|
|
50673
|
+
labelLine: false
|
|
50674
|
+
}, {
|
|
50675
|
+
children: formattedData.map(item => jsx(Cell, {
|
|
50676
|
+
fill: item.color || colors.chartGreen
|
|
50677
|
+
}, item.name))
|
|
50678
|
+
}), void 0), data.length > 0 && jsx(Tooltip$2, {
|
|
50679
|
+
wrapperStyle: {
|
|
50680
|
+
outline: 'none'
|
|
50681
|
+
},
|
|
50682
|
+
cursor: true,
|
|
50683
|
+
content: (tooltip === null || tooltip === void 0 ? void 0 : tooltip.render) ? (_a = tooltip === null || tooltip === void 0 ? void 0 : tooltip.render) === null || _a === void 0 ? void 0 : _a.call(tooltip) : jsx(CustomTooltip, {}, void 0)
|
|
50684
|
+
}, void 0), Boolean(legend === null || legend === void 0 ? void 0 : legend.show) && jsx(Legend, Object.assign({}, (legend === null || legend === void 0 ? void 0 : legend.position) !== 'bottom' && {
|
|
50685
|
+
verticalAlign: 'middle',
|
|
50686
|
+
align: (legend === null || legend === void 0 ? void 0 : legend.position) || 'right',
|
|
50687
|
+
layout: 'vertical'
|
|
50688
|
+
}, {
|
|
50689
|
+
content: renderLegend(formattedData, legend, subtitle)
|
|
50690
|
+
}), void 0)]
|
|
50691
|
+
}), void 0)
|
|
50692
|
+
}), void 0)
|
|
50693
|
+
}), void 0)]
|
|
50694
|
+
}, void 0);
|
|
50695
|
+
};
|
|
50696
|
+
PieChartComponent.defaultProps = {
|
|
50697
|
+
data: [],
|
|
50698
|
+
avatarURL: undefined,
|
|
50699
|
+
avatarAcronym: '',
|
|
50700
|
+
validAvatar: false,
|
|
50701
|
+
legend: {
|
|
50702
|
+
data: [],
|
|
50703
|
+
position: 'right'
|
|
50704
|
+
},
|
|
50705
|
+
isMobile: false
|
|
50706
|
+
};
|
|
50707
|
+
|
|
50199
50708
|
var _jsxFileName = "/Users/ryanakbar20/Documents/project/majoo/majoo-ui/packages/react/src/colors/Colors.js";
|
|
50200
50709
|
const StyledPaper = styled(Paper, {
|
|
50201
50710
|
borderRadius: '10px 10px 0 0',
|
|
@@ -51692,4 +52201,4 @@ const useToggle = initialValue => {
|
|
|
51692
52201
|
return useReducer(toggleReducer, initialValue);
|
|
51693
52202
|
};
|
|
51694
52203
|
|
|
51695
|
-
export { ADVANCE_PICKER, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvancedOption, AlertDialog, AlertDialogCancel, AlertDialogConfirm, AlertDialogContent, AlertDialogDescription, AlertDialogFunction, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger, Avatar, BOTTOM_LEFT_POSITION, BOTTOM_RIGHT_POSITION, Badge, Banner, BannerClose, BannerDescription, BannerLink, BannerTitle, Box, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button$4 as Button, ButtonDropdown, ButtonGroup$1 as ButtonGroup, ButtonGroupItem, ButtonPrimitive, Card, CardComponent, CardLineColor, CheckboxGroup, CheckboxTable, ColorPicker$1 as ColorPicker, Colors, ContentEditor, ContextMenu, ContextMenuItem, ContextMenuSeparator, ContextMenuTrigger, CustomDatePicker, DATE_RANGE_PICKER, DEFAULT, DateColumn, DatePicker, DecimalColumn, Device as DevicePreview, Dialog, DialogClose, DialogContent, DialogDescription, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerCloseButton, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuArrow, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuItemIndicator, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, EditableTable, Flex$1 as Flex, FormGroup, FormHelper, FormLabel, Grid, GridItem, Heading, IconButton, IconContainer, Image, ImageDevicePreview, InputCheckbox, InputColorPicker, InputCombobox, InputCounter, InputCreatable, InputDatePicker, InputGroup, InputLeftAddon, InputLeftElement, InputMapPicker, InputNumber, InputOTP, InputPrefix, InputRadio, InputRadioGroup, InputResourceList, InputRightAddon, InputRightElement, InputSearchbox, InputSelect, InputSelectCheck, InputSelectTag, InputSuffix, InputSwitch, TagsInput as InputTags, InputText, InputTextArea, InputTimePicker, LAST_7_DAYS, LAST_MONTH, LAST_TWO_MONTHS, LAST_WEEK, LineChart, Link, LoadingBar, MONTHLY, MajooProvider, MapPicker, MemoizedEditableTable, MobileTable, ModalDialog, ModalDialogContent, ModalDialogFooter, ModalDialogTitle, ModalDialogTrigger, NEXT_MONTH, NEXT_WEEK, NativeTimePicker, NotificationBadge, OptionWrapper$2 as OptionWrapper, PREV_MONTH, PREV_WEEK, PageContainer, PageDialog, PageDialogContent, PageDialogFooter, PageDialogTitle, PageDialogTrigger, Pagination, Paper, PaperComponent, Paragraph, Popover, PopoverClose, PopoverContent, PopoverTrigger, PriceColumn, Progress$1 as Progress, ProgressIndicator, RANGE_CONTROL, RANGE_MONTH, RANGE_PICKER, RANGE_WEEK, ResendOTP, RightSlot, rowExpanderColumn as RowExpanderColumn, rowMenuColumn as RowMenuColumn, rowSelectionColumn as RowSelectionColumn, SINGLE_PICKER, SelectBox, SelectContainer, SelectInputSearch, SelectItem, SelectOption, Separator$2 as Separator, Skeleton, Slider, StepWizard, StepWizardContext, StyledBox, StyledDropdown, StyledInput$1 as StyledInput, StyledSpan, StyledTitle$2 as StyledTitle, THIS_MONTH, THIS_WEEK, TODAY, TOP_LEFT_POSITION, TOP_RIGHT_POSITION, Table, TableBody$3 as TableBody, TableCell$3 as TableCell, TableColumn, TableContent$3 as TableContent, TableFoot$2 as TableFoot, TableFootCell$2 as TableFootCell, TableFootRow$2 as TableFootRow, TableHead$3 as TableHead, TableHeadCellContent, TableHeaderCellContainer, TableOfContent, TableOfContentPage, TableRow$3 as TableRow, Tabs$1 as Tabs, TabsContent$1 as TabsContent, TabsList$1 as TabsList, TabsTrigger$1 as TabsTrigger, Tag, TagList, TagStatus, Text$1 as Text, TextVariantsEnum, TimePicker, ToastContext, Tooltip$1 as Tooltip, UPDATE_PICKER, Upload, WEEKLY, YESTERDAY, addOnCellStyle, advancePickerDate, advancePickerOptionsEn, advancePickerOptionsId, defaultFetchDataParams, pickerReducer, useListOption, useToggle };
|
|
52204
|
+
export { ADVANCE_PICKER, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvancedOption, AlertDialog, AlertDialogCancel, AlertDialogConfirm, AlertDialogContent, AlertDialogDescription, AlertDialogFunction, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger, Avatar, BOTTOM_LEFT_POSITION, BOTTOM_RIGHT_POSITION, Badge, Banner, BannerClose, BannerDescription, BannerLink, BannerTitle, BarChartComponent as BarChart, Box, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button$4 as Button, ButtonDropdown, ButtonGroup$1 as ButtonGroup, ButtonGroupItem, ButtonPrimitive, Card, CardComponent, CardLineColor, CheckboxGroup, CheckboxTable, ColorPicker$1 as ColorPicker, Colors, ContentEditor, ContextMenu, ContextMenuItem, ContextMenuSeparator, ContextMenuTrigger, CustomDatePicker, DATE_RANGE_PICKER, DEFAULT, DateColumn, DatePicker, DecimalColumn, Device as DevicePreview, Dialog, DialogClose, DialogContent, DialogDescription, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerCloseButton, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuArrow, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuItemIndicator, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, EditableTable, Flex$1 as Flex, FormGroup, FormHelper, FormLabel, Grid, GridItem, Heading, IconButton, IconContainer, Image, ImageDevicePreview, InputCheckbox, InputColorPicker, InputCombobox, InputCounter, InputCreatable, InputDatePicker, InputGroup, InputLeftAddon, InputLeftElement, InputMapPicker, InputNumber, InputOTP, InputPrefix, InputRadio, InputRadioGroup, InputResourceList, InputRightAddon, InputRightElement, InputSearchbox, InputSelect, InputSelectCheck, InputSelectTag, InputSuffix, InputSwitch, TagsInput as InputTags, InputText, InputTextArea, InputTimePicker, LAST_7_DAYS, LAST_MONTH, LAST_TWO_MONTHS, LAST_WEEK, LineChart, Link, LoadingBar, MONTHLY, MajooProvider, MapPicker, MemoizedEditableTable, MobileTable, ModalDialog, ModalDialogContent, ModalDialogFooter, ModalDialogTitle, ModalDialogTrigger, NEXT_MONTH, NEXT_WEEK, NativeTimePicker, NotificationBadge, OptionWrapper$2 as OptionWrapper, PREV_MONTH, PREV_WEEK, PageContainer, PageDialog, PageDialogContent, PageDialogFooter, PageDialogTitle, PageDialogTrigger, Pagination, Paper, PaperComponent, Paragraph, PieChartComponent as PieChart, Popover, PopoverClose, PopoverContent, PopoverTrigger, PriceColumn, Progress$1 as Progress, ProgressIndicator, RANGE_CONTROL, RANGE_MONTH, RANGE_PICKER, RANGE_WEEK, ResendOTP, RightSlot, rowExpanderColumn as RowExpanderColumn, rowMenuColumn as RowMenuColumn, rowSelectionColumn as RowSelectionColumn, SINGLE_PICKER, SelectBox, SelectContainer, SelectInputSearch, SelectItem, SelectOption, Separator$2 as Separator, Skeleton, Slider, StepWizard, StepWizardContext, StyledBox, StyledDropdown, StyledInput$1 as StyledInput, StyledSpan, StyledTitle$2 as StyledTitle, THIS_MONTH, THIS_WEEK, TODAY, TOP_LEFT_POSITION, TOP_RIGHT_POSITION, Table, TableBody$3 as TableBody, TableCell$3 as TableCell, TableColumn, TableContent$3 as TableContent, TableFoot$2 as TableFoot, TableFootCell$2 as TableFootCell, TableFootRow$2 as TableFootRow, TableHead$3 as TableHead, TableHeadCellContent, TableHeaderCellContainer, TableOfContent, TableOfContentPage, TableRow$3 as TableRow, Tabs$1 as Tabs, TabsContent$1 as TabsContent, TabsList$1 as TabsList, TabsTrigger$1 as TabsTrigger, Tag, TagList, TagStatus, Text$1 as Text, TextVariantsEnum, TimePicker, ToastContext, Tooltip$1 as Tooltip, UPDATE_PICKER, Upload, WEEKLY, YESTERDAY, addOnCellStyle, advancePickerDate, advancePickerOptionsEn, advancePickerOptionsId, defaultFetchDataParams, pickerReducer, useListOption, useToggle };
|