@majoo-ui/react 1.61.14-rc.5 → 1.61.14-rc.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/devicePreview/DevicePreview.d.ts +3 -1
- package/components/form/components/InputResourceList/InputResourceList.d.ts +5 -7
- package/components/form/components/index.d.ts +1 -1
- package/index.esm.js +416 -463
- package/package.json +2 -2
- package/components/form/components/InputResourceList/ResourceList.d.ts +0 -4
package/index.esm.js
CHANGED
|
@@ -57,7 +57,7 @@ import imageCompressionComponent from 'browser-image-compression';
|
|
|
57
57
|
import { useSticky } from 'react-table-sticky';
|
|
58
58
|
import SignaturePad from 'react-signature-pad-wrapper';
|
|
59
59
|
|
|
60
|
-
var _jsxFileName$13 = "
|
|
60
|
+
var _jsxFileName$13 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/majoo-provider/ThemeProvider.js";
|
|
61
61
|
function ThemeProvider({
|
|
62
62
|
name,
|
|
63
63
|
theme,
|
|
@@ -403,10 +403,10 @@ var SHARED = '__core-js_shared__';
|
|
|
403
403
|
var store$3 = sharedStore.exports = globalThis$p[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
404
404
|
|
|
405
405
|
(store$3.versions || (store$3.versions = [])).push({
|
|
406
|
-
version: '3.
|
|
406
|
+
version: '3.45.0',
|
|
407
407
|
mode: 'global',
|
|
408
408
|
copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru)',
|
|
409
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
409
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.45.0/LICENSE',
|
|
410
410
|
source: 'https://github.com/zloirock/core-js'
|
|
411
411
|
});
|
|
412
412
|
|
|
@@ -1244,7 +1244,7 @@ createTheme({
|
|
|
1244
1244
|
bgBorder: '#004a49'
|
|
1245
1245
|
}
|
|
1246
1246
|
});
|
|
1247
|
-
const colors$
|
|
1247
|
+
const colors$7 = foundations.colors;
|
|
1248
1248
|
|
|
1249
1249
|
const normalize = {
|
|
1250
1250
|
'*,::before,::after': {
|
|
@@ -1414,7 +1414,7 @@ const applyGlobalStyles = additionaStyles => {
|
|
|
1414
1414
|
globalStyles();
|
|
1415
1415
|
};
|
|
1416
1416
|
|
|
1417
|
-
var _jsxFileName$12 = "
|
|
1417
|
+
var _jsxFileName$12 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/majoo-provider/MajooProvider.js";
|
|
1418
1418
|
function MajooProvider({
|
|
1419
1419
|
children,
|
|
1420
1420
|
name,
|
|
@@ -1637,7 +1637,7 @@ function _objectWithoutPropertiesLoose(r, e) {
|
|
|
1637
1637
|
|
|
1638
1638
|
const _excluded$C = ["children"],
|
|
1639
1639
|
_excluded2$4 = ["children"];
|
|
1640
|
-
var _jsxFileName$11 = "
|
|
1640
|
+
var _jsxFileName$11 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/layout/grid/Grid.js";
|
|
1641
1641
|
const GridComponent = styled('div', {
|
|
1642
1642
|
display: 'grid',
|
|
1643
1643
|
variants: {
|
|
@@ -1907,7 +1907,7 @@ GridItem.propTypes = {
|
|
|
1907
1907
|
GridItem.displayName = 'Grid Item';
|
|
1908
1908
|
|
|
1909
1909
|
const _excluded$B = ["children", "isCollapse", "css", "contentHeader"];
|
|
1910
|
-
var _jsxFileName$10 = "
|
|
1910
|
+
var _jsxFileName$10 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/layout/pageContainer/PageContainer.js";
|
|
1911
1911
|
const StyledDiv$2 = styled(Flex$1, {
|
|
1912
1912
|
justifyContent: 'center',
|
|
1913
1913
|
marginLeft: 'auto',
|
|
@@ -2415,7 +2415,7 @@ const Link = /*#__PURE__*/React.forwardRef((_a, forwardedRef) => {
|
|
|
2415
2415
|
});
|
|
2416
2416
|
|
|
2417
2417
|
const _excluded$A = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock", "icon"];
|
|
2418
|
-
var _jsxFileName$$ = "
|
|
2418
|
+
var _jsxFileName$$ = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/banner/Banner.js";
|
|
2419
2419
|
const Context$2 = /*#__PURE__*/React.createContext();
|
|
2420
2420
|
const StyledBanner = styled(Flex$1, {
|
|
2421
2421
|
maxWidth: '100%',
|
|
@@ -2629,7 +2629,7 @@ const BannerClose = () => /*#__PURE__*/React.createElement(Context$2.Consumer, {
|
|
|
2629
2629
|
columnNumber: 7
|
|
2630
2630
|
}
|
|
2631
2631
|
}, /*#__PURE__*/React.createElement(CloseOutline, {
|
|
2632
|
-
color: colors$
|
|
2632
|
+
color: colors$7.iconSecondary,
|
|
2633
2633
|
size: "16px",
|
|
2634
2634
|
__self: undefined,
|
|
2635
2635
|
__source: {
|
|
@@ -2715,7 +2715,7 @@ const SingleTagBanner = props => {
|
|
|
2715
2715
|
columnNumber: 11
|
|
2716
2716
|
}
|
|
2717
2717
|
}, /*#__PURE__*/React.createElement(CloseOutline, {
|
|
2718
|
-
color: colors$
|
|
2718
|
+
color: colors$7.iconSecondary,
|
|
2719
2719
|
size: "16px",
|
|
2720
2720
|
__self: undefined,
|
|
2721
2721
|
__source: {
|
|
@@ -3412,7 +3412,7 @@ Card.Label = StyledLabel$2;
|
|
|
3412
3412
|
Card.Description = StyledDescription$3;
|
|
3413
3413
|
|
|
3414
3414
|
const _excluded$z = ["children"];
|
|
3415
|
-
var _jsxFileName$_ = "
|
|
3415
|
+
var _jsxFileName$_ = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/breadcrumb/Breadcrumb.js";
|
|
3416
3416
|
const BreadcrumbStyle = styled('nav', {
|
|
3417
3417
|
wordWrap: 'break-word',
|
|
3418
3418
|
'& li+li:before': {
|
|
@@ -3732,7 +3732,7 @@ Badge.defaultProps = {
|
|
|
3732
3732
|
Badge.displayName = 'Badge';
|
|
3733
3733
|
|
|
3734
3734
|
const _excluded$y = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
|
|
3735
|
-
var _jsxFileName$Z = "
|
|
3735
|
+
var _jsxFileName$Z = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/avatar/Avatar.js";
|
|
3736
3736
|
const StyledAvatar = styled(AvatarPrimitive.Root, {
|
|
3737
3737
|
width: '32px',
|
|
3738
3738
|
height: '32px',
|
|
@@ -3834,7 +3834,7 @@ Avatar.defaultProps = {
|
|
|
3834
3834
|
};
|
|
3835
3835
|
|
|
3836
3836
|
const _excluded$x = ["className", "src", "alt", "width", "height", "objectFit", "fallback", "fallbackTitle", "css", "cssFallback", "rounded"];
|
|
3837
|
-
var _jsxFileName$Y = "
|
|
3837
|
+
var _jsxFileName$Y = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/image/Image.js";
|
|
3838
3838
|
const ContainerFallback = styled(Flex$1, {
|
|
3839
3839
|
boxSizing: 'border-box',
|
|
3840
3840
|
border: '2px dashed #C0C4C4',
|
|
@@ -4528,7 +4528,7 @@ for (var COLLECTION_NAME in DOMIterables) {
|
|
|
4528
4528
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
4529
4529
|
|
|
4530
4530
|
const _excluded$w = ["children", "label", "color", "css", "withClick", "side", "align", "delayDuration"];
|
|
4531
|
-
var _jsxFileName$X = "
|
|
4531
|
+
var _jsxFileName$X = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tooltip/Tooltip.js";
|
|
4532
4532
|
const {
|
|
4533
4533
|
zIndices: zIndices$2
|
|
4534
4534
|
} = foundations;
|
|
@@ -4734,7 +4734,7 @@ Tooltip$1.defaultProps = {
|
|
|
4734
4734
|
};
|
|
4735
4735
|
|
|
4736
4736
|
const _excluded$v = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
|
|
4737
|
-
var _jsxFileName$W = "
|
|
4737
|
+
var _jsxFileName$W = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/progress/Progress.js";
|
|
4738
4738
|
const StyledProgress$1 = styled$1(ProgressPrimitive.Root, {
|
|
4739
4739
|
position: 'relative',
|
|
4740
4740
|
overflow: 'hidden',
|
|
@@ -5608,7 +5608,7 @@ function useMediaQuery(query) {
|
|
|
5608
5608
|
}
|
|
5609
5609
|
|
|
5610
5610
|
const _excluded$u = ["id", "title", "description", "position", "dismissAfter", "variant", "onClick", "onRemove", "isExternalOfAction", "onClickOfAction", "captionOfAction", "hrefOfAction"];
|
|
5611
|
-
var _jsxFileName$V = "
|
|
5611
|
+
var _jsxFileName$V = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/Toast.js";
|
|
5612
5612
|
const TOAST_WIDTH = 576;
|
|
5613
5613
|
const ANIMATION_DURATION = 400;
|
|
5614
5614
|
const TOP_RIGHT_POSITION = 'top-right';
|
|
@@ -5743,7 +5743,8 @@ const DescriptionField = styled(Paragraph, {
|
|
|
5743
5743
|
'-webkit-line-clamp': '3',
|
|
5744
5744
|
'-webkit-box-orient': 'vertical',
|
|
5745
5745
|
overflow: 'hidden',
|
|
5746
|
-
whiteSpace: 'unset'
|
|
5746
|
+
whiteSpace: 'unset',
|
|
5747
|
+
color: '$gray700'
|
|
5747
5748
|
});
|
|
5748
5749
|
const CloseButton$1 = styled(Flex$1, {
|
|
5749
5750
|
cursor: 'pointer',
|
|
@@ -5806,7 +5807,7 @@ const Toast = _ref => {
|
|
|
5806
5807
|
__self: undefined,
|
|
5807
5808
|
__source: {
|
|
5808
5809
|
fileName: _jsxFileName$V,
|
|
5809
|
-
lineNumber:
|
|
5810
|
+
lineNumber: 217,
|
|
5810
5811
|
columnNumber: 5
|
|
5811
5812
|
}
|
|
5812
5813
|
}, state => /*#__PURE__*/React.createElement(Root, _extends({
|
|
@@ -5821,7 +5822,7 @@ const Toast = _ref => {
|
|
|
5821
5822
|
__self: undefined,
|
|
5822
5823
|
__source: {
|
|
5823
5824
|
fileName: _jsxFileName$V,
|
|
5824
|
-
lineNumber:
|
|
5825
|
+
lineNumber: 228,
|
|
5825
5826
|
columnNumber: 9
|
|
5826
5827
|
}
|
|
5827
5828
|
}), /*#__PURE__*/React.createElement(StyledToast, {
|
|
@@ -5831,7 +5832,7 @@ const Toast = _ref => {
|
|
|
5831
5832
|
__self: undefined,
|
|
5832
5833
|
__source: {
|
|
5833
5834
|
fileName: _jsxFileName$V,
|
|
5834
|
-
lineNumber:
|
|
5835
|
+
lineNumber: 236,
|
|
5835
5836
|
columnNumber: 11
|
|
5836
5837
|
}
|
|
5837
5838
|
}, /*#__PURE__*/React.createElement(Flex$1, {
|
|
@@ -5839,7 +5840,7 @@ const Toast = _ref => {
|
|
|
5839
5840
|
__self: undefined,
|
|
5840
5841
|
__source: {
|
|
5841
5842
|
fileName: _jsxFileName$V,
|
|
5842
|
-
lineNumber:
|
|
5843
|
+
lineNumber: 237,
|
|
5843
5844
|
columnNumber: 13
|
|
5844
5845
|
}
|
|
5845
5846
|
}, /*#__PURE__*/React.createElement(Flex$1, {
|
|
@@ -5847,7 +5848,7 @@ const Toast = _ref => {
|
|
|
5847
5848
|
__self: undefined,
|
|
5848
5849
|
__source: {
|
|
5849
5850
|
fileName: _jsxFileName$V,
|
|
5850
|
-
lineNumber:
|
|
5851
|
+
lineNumber: 238,
|
|
5851
5852
|
columnNumber: 15
|
|
5852
5853
|
}
|
|
5853
5854
|
}, /*#__PURE__*/React.createElement(LeftBar, {
|
|
@@ -5855,7 +5856,7 @@ const Toast = _ref => {
|
|
|
5855
5856
|
__self: undefined,
|
|
5856
5857
|
__source: {
|
|
5857
5858
|
fileName: _jsxFileName$V,
|
|
5858
|
-
lineNumber:
|
|
5859
|
+
lineNumber: 239,
|
|
5859
5860
|
columnNumber: 17
|
|
5860
5861
|
}
|
|
5861
5862
|
}), /*#__PURE__*/React.createElement(Flex$1, {
|
|
@@ -5867,7 +5868,7 @@ const Toast = _ref => {
|
|
|
5867
5868
|
__self: undefined,
|
|
5868
5869
|
__source: {
|
|
5869
5870
|
fileName: _jsxFileName$V,
|
|
5870
|
-
lineNumber:
|
|
5871
|
+
lineNumber: 240,
|
|
5871
5872
|
columnNumber: 17
|
|
5872
5873
|
}
|
|
5873
5874
|
}, title && /*#__PURE__*/React.createElement(Flex$1, {
|
|
@@ -5875,7 +5876,7 @@ const Toast = _ref => {
|
|
|
5875
5876
|
__self: undefined,
|
|
5876
5877
|
__source: {
|
|
5877
5878
|
fileName: _jsxFileName$V,
|
|
5878
|
-
lineNumber:
|
|
5879
|
+
lineNumber: 248,
|
|
5879
5880
|
columnNumber: 21
|
|
5880
5881
|
}
|
|
5881
5882
|
}, /*#__PURE__*/React.createElement(Heading, {
|
|
@@ -5885,21 +5886,21 @@ const Toast = _ref => {
|
|
|
5885
5886
|
flex: 1,
|
|
5886
5887
|
whiteSpace: 'unset',
|
|
5887
5888
|
overflow: 'hidden',
|
|
5888
|
-
textOverflow: 'ellipsis'
|
|
5889
|
+
textOverflow: 'ellipsis',
|
|
5890
|
+
color: '$gray900'
|
|
5889
5891
|
},
|
|
5890
5892
|
__self: undefined,
|
|
5891
5893
|
__source: {
|
|
5892
5894
|
fileName: _jsxFileName$V,
|
|
5893
|
-
lineNumber:
|
|
5895
|
+
lineNumber: 249,
|
|
5894
5896
|
columnNumber: 23
|
|
5895
5897
|
}
|
|
5896
5898
|
}, title)), /*#__PURE__*/React.createElement(DescriptionField, {
|
|
5897
5899
|
paragraph: "longContentRegular",
|
|
5898
|
-
color: "secondary",
|
|
5899
5900
|
__self: undefined,
|
|
5900
5901
|
__source: {
|
|
5901
5902
|
fileName: _jsxFileName$V,
|
|
5902
|
-
lineNumber:
|
|
5903
|
+
lineNumber: 264,
|
|
5903
5904
|
columnNumber: 19
|
|
5904
5905
|
}
|
|
5905
5906
|
}, description)), /*#__PURE__*/React.createElement(CloseButton$1, {
|
|
@@ -5914,16 +5915,16 @@ const Toast = _ref => {
|
|
|
5914
5915
|
__self: undefined,
|
|
5915
5916
|
__source: {
|
|
5916
5917
|
fileName: _jsxFileName$V,
|
|
5917
|
-
lineNumber:
|
|
5918
|
+
lineNumber: 268,
|
|
5918
5919
|
columnNumber: 17
|
|
5919
5920
|
}
|
|
5920
5921
|
}, /*#__PURE__*/React.createElement(CloseOutline, {
|
|
5921
|
-
color: colors$
|
|
5922
|
+
color: colors$7.iconSecondary,
|
|
5922
5923
|
size: "16px",
|
|
5923
5924
|
__self: undefined,
|
|
5924
5925
|
__source: {
|
|
5925
5926
|
fileName: _jsxFileName$V,
|
|
5926
|
-
lineNumber:
|
|
5927
|
+
lineNumber: 278,
|
|
5927
5928
|
columnNumber: 19
|
|
5928
5929
|
}
|
|
5929
5930
|
}))), (hrefOfAction || isExternalOfAction || onClickOfAction) && /*#__PURE__*/React.createElement(Link, {
|
|
@@ -5938,7 +5939,7 @@ const Toast = _ref => {
|
|
|
5938
5939
|
__self: undefined,
|
|
5939
5940
|
__source: {
|
|
5940
5941
|
fileName: _jsxFileName$V,
|
|
5941
|
-
lineNumber:
|
|
5942
|
+
lineNumber: 282,
|
|
5942
5943
|
columnNumber: 17
|
|
5943
5944
|
}
|
|
5944
5945
|
}, captionOfAction)))));
|
|
@@ -5960,7 +5961,7 @@ Toast.defaultProps = {
|
|
|
5960
5961
|
};
|
|
5961
5962
|
|
|
5962
5963
|
const _excluded$t = ["preventDuplicate"];
|
|
5963
|
-
var _jsxFileName$U = "
|
|
5964
|
+
var _jsxFileName$U = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/ToastContainer.js";
|
|
5964
5965
|
const ToastBox = styled(Flex$1, {
|
|
5965
5966
|
position: 'fixed',
|
|
5966
5967
|
variants: {
|
|
@@ -5996,9 +5997,11 @@ const ToastContainer = ({
|
|
|
5996
5997
|
position
|
|
5997
5998
|
}) => {
|
|
5998
5999
|
const {
|
|
5999
|
-
removeToast
|
|
6000
|
+
removeToast,
|
|
6001
|
+
theme
|
|
6000
6002
|
} = React.useContext(ToastContext);
|
|
6001
6003
|
return /*#__PURE__*/React.createElement(Portal, {
|
|
6004
|
+
theme: theme,
|
|
6002
6005
|
style: {
|
|
6003
6006
|
top: 0,
|
|
6004
6007
|
left: 0,
|
|
@@ -7308,11 +7311,12 @@ const catchError = e => {
|
|
|
7308
7311
|
};
|
|
7309
7312
|
|
|
7310
7313
|
const _excluded$s = ["id", "disabledOfflineIntercept"];
|
|
7311
|
-
var _jsxFileName$T = "
|
|
7314
|
+
var _jsxFileName$T = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/context/ToastProvider.js";
|
|
7312
7315
|
let toastCount = 0;
|
|
7313
7316
|
const ToastProvider = ({
|
|
7314
7317
|
children,
|
|
7315
|
-
translations
|
|
7318
|
+
translations,
|
|
7319
|
+
theme
|
|
7316
7320
|
}) => {
|
|
7317
7321
|
const isOnline = useNavigatorOnLine();
|
|
7318
7322
|
const [toasts, setToasts] = useState([]);
|
|
@@ -7373,7 +7377,8 @@ const ToastProvider = ({
|
|
|
7373
7377
|
return /*#__PURE__*/React.createElement(ToastContext.Provider, {
|
|
7374
7378
|
value: {
|
|
7375
7379
|
addToast,
|
|
7376
|
-
removeToast
|
|
7380
|
+
removeToast,
|
|
7381
|
+
theme
|
|
7377
7382
|
},
|
|
7378
7383
|
__self: undefined,
|
|
7379
7384
|
__source: {
|
|
@@ -7427,7 +7432,7 @@ const ConditionalWrapper = ({
|
|
|
7427
7432
|
}) => condition ? wrapper(children) : children;
|
|
7428
7433
|
|
|
7429
7434
|
const _excluded$r = ["count", "maxCount", "css"];
|
|
7430
|
-
var _jsxFileName$S = "
|
|
7435
|
+
var _jsxFileName$S = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormGroup/FormGroup.js";
|
|
7431
7436
|
const formLabelClassStyle = {
|
|
7432
7437
|
alignItems: 'start !important',
|
|
7433
7438
|
'& > div': {
|
|
@@ -7578,7 +7583,7 @@ const FormGroup = _ref => {
|
|
|
7578
7583
|
FormGroup.displayName = 'FormGroup';
|
|
7579
7584
|
|
|
7580
7585
|
const _excluded$q = ["children", "htmlFor", "variant", "variants", "tooltipLabel", "count", "maxCount", "labelCss"];
|
|
7581
|
-
var _jsxFileName$R = "
|
|
7586
|
+
var _jsxFileName$R = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormLabel/Label.js";
|
|
7582
7587
|
const StyledLabel$1 = styled(LabelPrimitive.Root, Text$1, {
|
|
7583
7588
|
display: 'inline-block',
|
|
7584
7589
|
fontSize: '$label',
|
|
@@ -7695,7 +7700,7 @@ FormLabel.defaultProps = {
|
|
|
7695
7700
|
FormLabel.displayName = 'FormLabel';
|
|
7696
7701
|
|
|
7697
7702
|
const _excluded$p = ["children", "error", "errorMessage"];
|
|
7698
|
-
var _jsxFileName$Q = "
|
|
7703
|
+
var _jsxFileName$Q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormHelper/Helper.js";
|
|
7699
7704
|
const StyledHelper = styled(Text$1, {
|
|
7700
7705
|
display: 'inline-block',
|
|
7701
7706
|
color: '$textSecondary',
|
|
@@ -7750,7 +7755,7 @@ FormHelper.propTypes = {
|
|
|
7750
7755
|
};
|
|
7751
7756
|
FormHelper.displayName = 'FormHelper';
|
|
7752
7757
|
|
|
7753
|
-
var _jsxFileName$P = "
|
|
7758
|
+
var _jsxFileName$P = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/CheckboxGroup.js";
|
|
7754
7759
|
const CheckboxContext = /*#__PURE__*/createContext();
|
|
7755
7760
|
const CheckboxGroup = ({
|
|
7756
7761
|
children,
|
|
@@ -7808,7 +7813,7 @@ CheckboxGroup.defaultProps = {
|
|
|
7808
7813
|
};
|
|
7809
7814
|
CheckboxGroup.displayName = 'CheckboxGroup';
|
|
7810
7815
|
|
|
7811
|
-
var _jsxFileName$O = "
|
|
7816
|
+
var _jsxFileName$O = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/CheckOutline.js";
|
|
7812
7817
|
const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
7813
7818
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7814
7819
|
xmlSpace: "preserve",
|
|
@@ -7855,7 +7860,7 @@ const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends
|
|
|
7855
7860
|
}
|
|
7856
7861
|
}));
|
|
7857
7862
|
|
|
7858
|
-
var _jsxFileName$N = "
|
|
7863
|
+
var _jsxFileName$N = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/MinusOutline.js";
|
|
7859
7864
|
const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
7860
7865
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7861
7866
|
xmlSpace: "preserve",
|
|
@@ -7903,7 +7908,7 @@ const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extend
|
|
|
7903
7908
|
}));
|
|
7904
7909
|
|
|
7905
7910
|
const _excluded$o = ["id", "checked", "indeterminate", "disabled", "onCheckedChange", "label", "index", "value"];
|
|
7906
|
-
var _jsxFileName$M = "
|
|
7911
|
+
var _jsxFileName$M = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/InputCheckbox.js";
|
|
7907
7912
|
const StyledIndicator$2 = styled(CheckboxPrimitive.Indicator, {
|
|
7908
7913
|
alignItems: 'center',
|
|
7909
7914
|
display: 'flex',
|
|
@@ -8064,7 +8069,7 @@ InputCheckbox.propTypes = {
|
|
|
8064
8069
|
InputCheckbox.displayName = 'InputCheckbox';
|
|
8065
8070
|
|
|
8066
8071
|
const _excluded$n = ["children", "size"];
|
|
8067
|
-
var _jsxFileName$L = "
|
|
8072
|
+
var _jsxFileName$L = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputGroup/InputGroup.js";
|
|
8068
8073
|
const InputGroupStyle = styled('div', {
|
|
8069
8074
|
display: 'flex',
|
|
8070
8075
|
width: '100%',
|
|
@@ -8234,12 +8239,12 @@ const InputGroup = _ref => {
|
|
|
8234
8239
|
}));
|
|
8235
8240
|
};
|
|
8236
8241
|
InputGroup.propTypes = {
|
|
8237
|
-
/**
|
|
8238
|
-
Adjust Input Text Size
|
|
8242
|
+
/**
|
|
8243
|
+
Adjust Input Text Size
|
|
8239
8244
|
*/
|
|
8240
8245
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
8241
|
-
/**
|
|
8242
|
-
Children must be InputText, InputAddon, or InputPrefixes
|
|
8246
|
+
/**
|
|
8247
|
+
Children must be InputText, InputAddon, or InputPrefixes
|
|
8243
8248
|
*/
|
|
8244
8249
|
children: PropTypes.node.isRequired,
|
|
8245
8250
|
/** Error state */
|
|
@@ -8404,7 +8409,7 @@ InputSuffix.propTypes = {
|
|
|
8404
8409
|
};
|
|
8405
8410
|
|
|
8406
8411
|
const _excluded$m = ["disabled", "readOnly"];
|
|
8407
|
-
var _jsxFileName$K = "
|
|
8412
|
+
var _jsxFileName$K = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputText/InputText.js";
|
|
8408
8413
|
const disabledStyle = {
|
|
8409
8414
|
backgroundColor: '$formDisable',
|
|
8410
8415
|
color: '$textDisable',
|
|
@@ -8606,7 +8611,7 @@ InputText.propTypes = {
|
|
|
8606
8611
|
InputText.displayName = 'InputText';
|
|
8607
8612
|
|
|
8608
8613
|
const _excluded$l = ["disabled", "readOnly"];
|
|
8609
|
-
var _jsxFileName$J = "
|
|
8614
|
+
var _jsxFileName$J = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTextArea/InputTextArea.js";
|
|
8610
8615
|
const StyledTextArea = styled(StyledInput$1, {
|
|
8611
8616
|
variants: {
|
|
8612
8617
|
size: {
|
|
@@ -8684,7 +8689,7 @@ InputTextArea.defaultProps = {
|
|
|
8684
8689
|
|
|
8685
8690
|
const InputRadioContext = /*#__PURE__*/React__default.createContext();
|
|
8686
8691
|
|
|
8687
|
-
var _jsxFileName$I = "
|
|
8692
|
+
var _jsxFileName$I = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadioGroup.js";
|
|
8688
8693
|
const RadioGroup = styled(RadioGroupPrimitive.Root, Flex$1);
|
|
8689
8694
|
function InputRadioGroup(props) {
|
|
8690
8695
|
return (props == null ? void 0 : props.children) && /*#__PURE__*/React__default.createElement(InputRadioContext.Provider, {
|
|
@@ -8718,7 +8723,7 @@ InputRadioGroup.propTypes = {
|
|
|
8718
8723
|
InputRadioGroup.displayName = 'InputRadioGroup';
|
|
8719
8724
|
|
|
8720
8725
|
const _excluded$k = ["id", "disabled", "css", "inputType", "inputProps", "description", "readOnly"];
|
|
8721
|
-
var _jsxFileName$H = "
|
|
8726
|
+
var _jsxFileName$H = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadio.js";
|
|
8722
8727
|
const INDICATOR_BASE_STYLES = {
|
|
8723
8728
|
alignItems: 'center',
|
|
8724
8729
|
display: 'flex',
|
|
@@ -11085,7 +11090,7 @@ var NumberFormat = /*@__PURE__*/function (superclass) {
|
|
|
11085
11090
|
NumberFormat.defaultProps = defaultProps;
|
|
11086
11091
|
|
|
11087
11092
|
const _excluded$j = ["placeholder", "value", "size", "isInvalid", "readOnly", "disabled", "control", "name", "maxValueLength", "maxLength", "thousandSeparator"];
|
|
11088
|
-
var _jsxFileName$G = "
|
|
11093
|
+
var _jsxFileName$G = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputNumber/InputNumber.js";
|
|
11089
11094
|
const StyledInput = styled(NumberFormat, {
|
|
11090
11095
|
// Reset
|
|
11091
11096
|
appearance: 'none',
|
|
@@ -11346,7 +11351,7 @@ InputNumber.name = 'InputText';
|
|
|
11346
11351
|
InputNumber.displayName = 'InputNumber';
|
|
11347
11352
|
|
|
11348
11353
|
const _excluded$i = ["className", "children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"];
|
|
11349
|
-
var _jsxFileName$F = "
|
|
11354
|
+
var _jsxFileName$F = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tag/Tag.js";
|
|
11350
11355
|
const TagWrapper$4 = styled('div', {
|
|
11351
11356
|
boxSizing: 'border-box',
|
|
11352
11357
|
listStyle: 'none',
|
|
@@ -11492,7 +11497,7 @@ const Tag = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
11492
11497
|
}
|
|
11493
11498
|
}, /*#__PURE__*/React__default.createElement(CloseOutline, {
|
|
11494
11499
|
size: 16,
|
|
11495
|
-
color: colors$
|
|
11500
|
+
color: colors$7.iconSecondary,
|
|
11496
11501
|
style: {
|
|
11497
11502
|
verticalAlign: 'middle'
|
|
11498
11503
|
},
|
|
@@ -11522,7 +11527,7 @@ Tag.defaultProps = {
|
|
|
11522
11527
|
};
|
|
11523
11528
|
|
|
11524
11529
|
const _excluded$h = ["size", "isInvalid", "placeholder", "onChange", "onEnter", "onInputChange", "value", "disabled", "readOnly", "max", "maxChar", "pattern", "helperText", "unremovableTags", "onRemoveItem"];
|
|
11525
|
-
var _jsxFileName$E = "
|
|
11530
|
+
var _jsxFileName$E = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTags/InputTags.js";
|
|
11526
11531
|
const Wrapper$2 = styled('div', {
|
|
11527
11532
|
margin: 0,
|
|
11528
11533
|
flexDirection: 'column',
|
|
@@ -11819,7 +11824,7 @@ TagsInput.defaultProps = {
|
|
|
11819
11824
|
};
|
|
11820
11825
|
|
|
11821
11826
|
const _excluded$g = ["id", "defaultChecked", "dataOnLabel", "dataOffLabel", "disabled"];
|
|
11822
|
-
var _jsxFileName$D = "
|
|
11827
|
+
var _jsxFileName$D = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSwitch/InputSwitch.js";
|
|
11823
11828
|
const StyledThumb$1 = styled(SwitchPrimitive.Thumb, {
|
|
11824
11829
|
display: 'block',
|
|
11825
11830
|
width: '16px',
|
|
@@ -11924,7 +11929,7 @@ InputSwitch.propTypes = {
|
|
|
11924
11929
|
};
|
|
11925
11930
|
InputSwitch.displayName = 'InputSwitch';
|
|
11926
11931
|
|
|
11927
|
-
var _jsxFileName$C = "
|
|
11932
|
+
var _jsxFileName$C = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/CloseFilled.js";
|
|
11928
11933
|
const SvgCloseFilled = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
11929
11934
|
width: props.size,
|
|
11930
11935
|
height: props.size,
|
|
@@ -11983,7 +11988,7 @@ SvgCloseFilled.defaultProps = {
|
|
|
11983
11988
|
size: 24
|
|
11984
11989
|
};
|
|
11985
11990
|
|
|
11986
|
-
var _jsxFileName$B = "
|
|
11991
|
+
var _jsxFileName$B = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/SearchOutline.js";
|
|
11987
11992
|
const SvgSearchOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
11988
11993
|
width: props.size,
|
|
11989
11994
|
height: props.size,
|
|
@@ -12024,9 +12029,9 @@ SvgSearchOutline.defaultProps = {
|
|
|
12024
12029
|
};
|
|
12025
12030
|
|
|
12026
12031
|
const _excluded$f = ["size", "onChange", "css", "disabled", "withDebounce", "defaultValue", "mobileOnly", "desktopOnly"];
|
|
12027
|
-
var _jsxFileName$A = "
|
|
12032
|
+
var _jsxFileName$A = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/InputSearchbox.js";
|
|
12028
12033
|
const {
|
|
12029
|
-
colors: colors$
|
|
12034
|
+
colors: colors$6
|
|
12030
12035
|
} = foundations;
|
|
12031
12036
|
const InputSearchbox = _ref => {
|
|
12032
12037
|
var _props$value;
|
|
@@ -12106,7 +12111,7 @@ const InputSearchbox = _ref => {
|
|
|
12106
12111
|
}
|
|
12107
12112
|
})), /*#__PURE__*/React__default.createElement(InputRightElement, {
|
|
12108
12113
|
children: (inputValue == null ? void 0 : inputValue.length) > 0 ? /*#__PURE__*/React__default.createElement(SvgCloseFilled, {
|
|
12109
|
-
color: colors$
|
|
12114
|
+
color: colors$6.iconSecondary,
|
|
12110
12115
|
__self: undefined,
|
|
12111
12116
|
__source: {
|
|
12112
12117
|
fileName: _jsxFileName$A,
|
|
@@ -12514,7 +12519,7 @@ function isFunction$1(value) {
|
|
|
12514
12519
|
var isFunction_1 = isFunction$1;
|
|
12515
12520
|
|
|
12516
12521
|
const _excluded$e = ["children"];
|
|
12517
|
-
var _jsxFileName$z = "
|
|
12522
|
+
var _jsxFileName$z = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/popover/Popover.js";
|
|
12518
12523
|
const {
|
|
12519
12524
|
zIndices: zIndices$1
|
|
12520
12525
|
} = foundations;
|
|
@@ -13678,7 +13683,7 @@ const InputSelect = /*#__PURE__*/React.forwardRef((_a, ref) => {
|
|
|
13678
13683
|
readOnly: readOnly
|
|
13679
13684
|
}, {
|
|
13680
13685
|
children: jsx(CaretDownOutline, {
|
|
13681
|
-
color: readOnly ? colors$
|
|
13686
|
+
color: readOnly ? colors$7.gray300 : iconColor
|
|
13682
13687
|
}, void 0)
|
|
13683
13688
|
}), void 0);
|
|
13684
13689
|
};
|
|
@@ -13899,7 +13904,7 @@ const InputSelect = /*#__PURE__*/React.forwardRef((_a, ref) => {
|
|
|
13899
13904
|
}, {
|
|
13900
13905
|
children: jsx(CircleInfoOutline, {
|
|
13901
13906
|
size: "16px",
|
|
13902
|
-
color: colors$
|
|
13907
|
+
color: colors$7.iconDisable,
|
|
13903
13908
|
style: {
|
|
13904
13909
|
verticalAlign: 'text-bottom'
|
|
13905
13910
|
}
|
|
@@ -14068,7 +14073,7 @@ const InputSelect = /*#__PURE__*/React.forwardRef((_a, ref) => {
|
|
|
14068
14073
|
}, {
|
|
14069
14074
|
children: jsx(CircleInfoOutline, {
|
|
14070
14075
|
size: "16px",
|
|
14071
|
-
color: colors$
|
|
14076
|
+
color: colors$7.iconDisable,
|
|
14072
14077
|
style: {
|
|
14073
14078
|
verticalAlign: 'text-bottom'
|
|
14074
14079
|
}
|
|
@@ -14088,7 +14093,7 @@ const InputSelect = /*#__PURE__*/React.forwardRef((_a, ref) => {
|
|
|
14088
14093
|
}), void 0);
|
|
14089
14094
|
});
|
|
14090
14095
|
|
|
14091
|
-
var _jsxFileName$y = "
|
|
14096
|
+
var _jsxFileName$y = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/icon/CheckOutline.js";
|
|
14092
14097
|
const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
14093
14098
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14094
14099
|
xmlSpace: "preserve",
|
|
@@ -14169,7 +14174,7 @@ function OptionGroupItem({
|
|
|
14169
14174
|
}
|
|
14170
14175
|
|
|
14171
14176
|
const _excluded$d = ["placeholder", "option", "value", "defaultValue", "size", "disabled", "onChange", "search", "readOnly", "placement", "disabledOptions", "textEmptyItem", "onRemoveItem", "isInvalid", "sortBy", "showSelectAll", "showTagSelectAll", "selectAllLabel", "showSelectedTag", "unremovableTags", "helperText", "css", "showCounter", "labelCounter", "collapsible", "toggleInput", "fetchData", "onSearch", "isLoading", "maxSelectedItem", "mobileOnly", "desktopOnly", "label", "tagCss", "checkBoxCss", "optionListCss", "showCollapsibleCounter", "collapsibleLimit", "pageIndex", "onSelectAllChecked", "totalOptions", "clearSearchOnSelect", "onItemClick"];
|
|
14172
|
-
var _jsxFileName$x = "
|
|
14177
|
+
var _jsxFileName$x = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/InputSelectCheck.js";
|
|
14173
14178
|
const Wrapper$1 = styled('div', {
|
|
14174
14179
|
margin: 0,
|
|
14175
14180
|
flexDirection: 'column',
|
|
@@ -14914,7 +14919,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14914
14919
|
columnNumber: 11
|
|
14915
14920
|
}
|
|
14916
14921
|
}, !(item != null && item.hideCheck) && (item.isDisabled ? /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
14917
|
-
color: colors$
|
|
14922
|
+
color: colors$7.iconDisable,
|
|
14918
14923
|
__self: undefined,
|
|
14919
14924
|
__source: {
|
|
14920
14925
|
fileName: _jsxFileName$x,
|
|
@@ -14922,7 +14927,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14922
14927
|
columnNumber: 17
|
|
14923
14928
|
}
|
|
14924
14929
|
}) : selectedValue.includes(item.id) && (item.isDisabled === false || item.isDisabled === undefined) && /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
14925
|
-
color: colors$
|
|
14930
|
+
color: colors$7.iconGreen,
|
|
14926
14931
|
__self: undefined,
|
|
14927
14932
|
__source: {
|
|
14928
14933
|
fileName: _jsxFileName$x,
|
|
@@ -14996,7 +15001,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14996
15001
|
columnNumber: 15
|
|
14997
15002
|
}
|
|
14998
15003
|
}, !(item != null && item.hideCheck) && item.isDisabled ? /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
14999
|
-
color: colors$
|
|
15004
|
+
color: colors$7.iconDisable,
|
|
15000
15005
|
__self: undefined,
|
|
15001
15006
|
__source: {
|
|
15002
15007
|
fileName: _jsxFileName$x,
|
|
@@ -15004,7 +15009,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15004
15009
|
columnNumber: 19
|
|
15005
15010
|
}
|
|
15006
15011
|
}) : (filterSelectedChild == null ? void 0 : filterSelectedChild.length) === (item == null || (_item$children7 = item.children) == null || (_item$children7 = _item$children7.filter(e => !e.isDisabled)) == null ? void 0 : _item$children7.length) ? /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
15007
|
-
color: colors$
|
|
15012
|
+
color: colors$7.iconGreen,
|
|
15008
15013
|
__self: undefined,
|
|
15009
15014
|
__source: {
|
|
15010
15015
|
fileName: _jsxFileName$x,
|
|
@@ -15118,7 +15123,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15118
15123
|
columnNumber: 11
|
|
15119
15124
|
}
|
|
15120
15125
|
}), /*#__PURE__*/React__default.createElement(IconCaretDown, {
|
|
15121
|
-
color: disabled || readOnly ? colors$
|
|
15126
|
+
color: disabled || readOnly ? colors$7.iconDisable : colors$7.iconPrimary,
|
|
15122
15127
|
__self: undefined,
|
|
15123
15128
|
__source: {
|
|
15124
15129
|
fileName: _jsxFileName$x,
|
|
@@ -15239,7 +15244,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15239
15244
|
columnNumber: 19
|
|
15240
15245
|
}
|
|
15241
15246
|
}, showAllTags ? /*#__PURE__*/React__default.createElement(ChevronUpOutline, {
|
|
15242
|
-
color: colors$
|
|
15247
|
+
color: colors$7.iconSecondary,
|
|
15243
15248
|
__self: undefined,
|
|
15244
15249
|
__source: {
|
|
15245
15250
|
fileName: _jsxFileName$x,
|
|
@@ -15247,7 +15252,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15247
15252
|
columnNumber: 23
|
|
15248
15253
|
}
|
|
15249
15254
|
}) : /*#__PURE__*/React__default.createElement(ChevronDownOutline, {
|
|
15250
|
-
color: colors$
|
|
15255
|
+
color: colors$7.iconSecondary,
|
|
15251
15256
|
__self: undefined,
|
|
15252
15257
|
__source: {
|
|
15253
15258
|
fileName: _jsxFileName$x,
|
|
@@ -15413,7 +15418,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15413
15418
|
}
|
|
15414
15419
|
}, /*#__PURE__*/React__default.createElement(CircleInfoOutline, {
|
|
15415
15420
|
size: "16px",
|
|
15416
|
-
color: colors$
|
|
15421
|
+
color: colors$7.iconDisable,
|
|
15417
15422
|
style: {
|
|
15418
15423
|
verticalAlign: 'text-bottom'
|
|
15419
15424
|
},
|
|
@@ -15493,7 +15498,7 @@ InputSelectCheck.defaultProps = {
|
|
|
15493
15498
|
onItemClick: changes => {}
|
|
15494
15499
|
};
|
|
15495
15500
|
|
|
15496
|
-
var _jsxFileName$w = "
|
|
15501
|
+
var _jsxFileName$w = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectTag/InputSelectTag.js";
|
|
15497
15502
|
const InputSelectTag = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
15498
15503
|
return /*#__PURE__*/React.createElement(InputSelectCheck, _extends({
|
|
15499
15504
|
ref: ref,
|
|
@@ -15554,7 +15559,7 @@ InputSelectTag.defaultProps = {
|
|
|
15554
15559
|
defaultValue: []
|
|
15555
15560
|
};
|
|
15556
15561
|
|
|
15557
|
-
var _jsxFileName$v = "
|
|
15562
|
+
var _jsxFileName$v = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCreatable/InputCreatable.js";
|
|
15558
15563
|
const Wrapper = styled('div', {
|
|
15559
15564
|
margin: 0,
|
|
15560
15565
|
flexDirection: 'column',
|
|
@@ -15773,7 +15778,7 @@ function InputCreatable({
|
|
|
15773
15778
|
columnNumber: 9
|
|
15774
15779
|
}
|
|
15775
15780
|
}, /*#__PURE__*/React__default.createElement(CirclePlusOutline, {
|
|
15776
|
-
color: colors$
|
|
15781
|
+
color: colors$7.iconGreen,
|
|
15777
15782
|
__self: this,
|
|
15778
15783
|
__source: {
|
|
15779
15784
|
fileName: _jsxFileName$v,
|
|
@@ -15818,16 +15823,39 @@ const SortingIcon = styled(Flex$1, {
|
|
|
15818
15823
|
alignItems: 'center',
|
|
15819
15824
|
justifyContent: 'center'
|
|
15820
15825
|
});
|
|
15826
|
+
const IconBox = styled('div', {
|
|
15827
|
+
height: 16,
|
|
15828
|
+
width: 16,
|
|
15829
|
+
cursor: 'pointer',
|
|
15830
|
+
variants: {
|
|
15831
|
+
border: {
|
|
15832
|
+
true: {
|
|
15833
|
+
borderRadius: 3,
|
|
15834
|
+
border: '1.5px solid $gray300'
|
|
15835
|
+
}
|
|
15836
|
+
}
|
|
15837
|
+
}
|
|
15838
|
+
});
|
|
15839
|
+
const IndeterminateFilled = styled('div', {
|
|
15840
|
+
width: 16,
|
|
15841
|
+
height: 16,
|
|
15842
|
+
background: '$primary500',
|
|
15843
|
+
color: '$textWhite',
|
|
15844
|
+
borderRadius: 3,
|
|
15845
|
+
fontSize: 14,
|
|
15846
|
+
display: 'flex',
|
|
15847
|
+
justifyContent: 'center',
|
|
15848
|
+
alignItems: 'center'
|
|
15849
|
+
});
|
|
15821
15850
|
function InputResourceList({
|
|
15822
15851
|
data: dataProp,
|
|
15823
15852
|
disabled = false,
|
|
15824
|
-
|
|
15825
|
-
onItemUncheck,
|
|
15853
|
+
onChange,
|
|
15826
15854
|
searchPlaceholder,
|
|
15827
15855
|
counterFooter = true,
|
|
15828
15856
|
counterFooterText,
|
|
15829
15857
|
isLoading = false,
|
|
15830
|
-
|
|
15858
|
+
disabledItems,
|
|
15831
15859
|
emptyDataMessage,
|
|
15832
15860
|
value,
|
|
15833
15861
|
fetchData,
|
|
@@ -15838,25 +15866,29 @@ function InputResourceList({
|
|
|
15838
15866
|
title,
|
|
15839
15867
|
hideSelectAll,
|
|
15840
15868
|
customHeader,
|
|
15841
|
-
|
|
15869
|
+
expandable,
|
|
15870
|
+
renderSelectAll
|
|
15842
15871
|
}) {
|
|
15843
15872
|
const {
|
|
15844
15873
|
t
|
|
15845
15874
|
} = useTranslation(['MajooUI/inputResourceList', 'translation']);
|
|
15846
|
-
const [
|
|
15847
|
-
const [query, setQuery] = useState();
|
|
15875
|
+
const [query, setQuery] = useState('');
|
|
15848
15876
|
const [sortType, setSortType] = useState('asc');
|
|
15849
15877
|
const [data, setData] = useState([]);
|
|
15850
|
-
const
|
|
15851
|
-
|
|
15852
|
-
|
|
15853
|
-
|
|
15854
|
-
|
|
15855
|
-
|
|
15878
|
+
const [expand, setExpand] = useState(false);
|
|
15879
|
+
const isValueString = typeof (value === null || value === void 0 ? void 0 : value[0]) === 'string';
|
|
15880
|
+
const checkedItems = useMemo(() => {
|
|
15881
|
+
if (!value) return [];
|
|
15882
|
+
if (isValueString) {
|
|
15883
|
+
return data.filter(item => value.includes(item.value));
|
|
15884
|
+
}
|
|
15885
|
+
return value;
|
|
15886
|
+
}, [value, data, isValueString]);
|
|
15856
15887
|
const scrollerRef = useRef(null);
|
|
15857
15888
|
useEffect(() => {
|
|
15858
15889
|
function filterUnique(params) {
|
|
15859
|
-
|
|
15890
|
+
if (!params) return;
|
|
15891
|
+
const unique = params.filter((obj, index) => params.findIndex(item => (item === null || item === void 0 ? void 0 : item.value) === (obj === null || obj === void 0 ? void 0 : obj.value)) === index);
|
|
15860
15892
|
setData(unique);
|
|
15861
15893
|
}
|
|
15862
15894
|
filterUnique(dataProp);
|
|
@@ -15872,9 +15904,25 @@ function InputResourceList({
|
|
|
15872
15904
|
setSortType(defaultSort);
|
|
15873
15905
|
}
|
|
15874
15906
|
}, [defaultSort]);
|
|
15907
|
+
const availableData = useMemo(() => {
|
|
15908
|
+
if (!data) return [];
|
|
15909
|
+
const filteredData = data.filter(item => item.label.toLowerCase().match((query === null || query === void 0 ? void 0 : query.toLowerCase()) || ''));
|
|
15910
|
+
const checkedValues = new Set(checkedItems.map(item => item.value));
|
|
15911
|
+
return filteredData.sort((a, b) => {
|
|
15912
|
+
const aIsChecked = checkedValues.has(a.value);
|
|
15913
|
+
const bIsChecked = checkedValues.has(b.value);
|
|
15914
|
+
if (aIsChecked && !bIsChecked) {
|
|
15915
|
+
return -1;
|
|
15916
|
+
}
|
|
15917
|
+
if (!aIsChecked && bIsChecked) {
|
|
15918
|
+
return 1;
|
|
15919
|
+
}
|
|
15920
|
+
return a.label.localeCompare(b.label);
|
|
15921
|
+
});
|
|
15922
|
+
}, [data, query, checkedItems]);
|
|
15875
15923
|
const renderCheckbox = (resource, index) => {
|
|
15876
15924
|
var _a, _b;
|
|
15877
|
-
const isDisabled = resource.disabled ||
|
|
15925
|
+
const isDisabled = resource.disabled || disabledItems && disabledItems.includes(resource.value);
|
|
15878
15926
|
return jsxs(Flex$1, Object.assign({
|
|
15879
15927
|
align: "center",
|
|
15880
15928
|
justify: "between"
|
|
@@ -15886,7 +15934,7 @@ function InputResourceList({
|
|
|
15886
15934
|
children: [jsxs(Flex$1, Object.assign({
|
|
15887
15935
|
align: "center"
|
|
15888
15936
|
}, {
|
|
15889
|
-
children: [jsx(InputCheckbox,
|
|
15937
|
+
children: [jsx(InputCheckbox, {
|
|
15890
15938
|
label: jsxs(Flex$1, Object.assign({
|
|
15891
15939
|
gap: 3,
|
|
15892
15940
|
align: "center"
|
|
@@ -15911,16 +15959,14 @@ function InputResourceList({
|
|
|
15911
15959
|
css: {
|
|
15912
15960
|
color: disabled || isDisabled ? '$textDisable' : '$textGreen'
|
|
15913
15961
|
}
|
|
15914
|
-
}, {
|
|
15962
|
+
}, {}, {
|
|
15915
15963
|
children: variant
|
|
15916
15964
|
}), index))]
|
|
15917
15965
|
}), void 0),
|
|
15918
15966
|
index: index,
|
|
15919
15967
|
value: resource.value,
|
|
15920
15968
|
disabled: isDisabled
|
|
15921
|
-
},
|
|
15922
|
-
checked: isDisabled
|
|
15923
|
-
})), void 0), (resource === null || resource === void 0 ? void 0 : resource.icon) && jsx(Box, Object.assign({
|
|
15969
|
+
}, void 0), (resource === null || resource === void 0 ? void 0 : resource.icon) && jsx(Box, Object.assign({
|
|
15924
15970
|
css: {
|
|
15925
15971
|
marginLeft: '$spacing-03'
|
|
15926
15972
|
}
|
|
@@ -15985,84 +16031,44 @@ function InputResourceList({
|
|
|
15985
16031
|
function toggleSort() {
|
|
15986
16032
|
setSortType(sortType === 'asc' ? 'desc' : 'asc');
|
|
15987
16033
|
}
|
|
15988
|
-
function renderWithoutSorting() {
|
|
15989
|
-
return jsxs(Flex$1, Object.assign({
|
|
15990
|
-
direction: "column",
|
|
15991
|
-
gap: 3
|
|
15992
|
-
}, {
|
|
15993
|
-
children: [jsx(CheckboxGroup, Object.assign({
|
|
15994
|
-
onChange: (_, index) => {
|
|
15995
|
-
onItemUncheck === null || onItemUncheck === void 0 ? void 0 : onItemUncheck((value || checkedResources)[index]);
|
|
15996
|
-
if (!value) setCheckedResources(current => current.filter(currItem => currItem.value !== checkedResources[index].value));
|
|
15997
|
-
},
|
|
15998
|
-
value: (value || checkedResources).map(item => item.value),
|
|
15999
|
-
disabled: disabled
|
|
16000
|
-
}, {
|
|
16001
|
-
children: (value || checkedResources).map(renderCheckbox)
|
|
16002
|
-
}), void 0), jsx(CheckboxGroup, Object.assign({
|
|
16003
|
-
onChange: (_, index) => {
|
|
16004
|
-
onItemCheck === null || onItemCheck === void 0 ? void 0 : onItemCheck(data[index]);
|
|
16005
|
-
if (!value) setCheckedResources(current => [...current, data[index]]);
|
|
16006
|
-
},
|
|
16007
|
-
value: (value || checkedResources).map(item => item.value),
|
|
16008
|
-
disabled: disabled
|
|
16009
|
-
}, {
|
|
16010
|
-
children: data.map(renderCheckbox)
|
|
16011
|
-
}), void 0)]
|
|
16012
|
-
}), void 0);
|
|
16013
|
-
}
|
|
16014
|
-
function renderWithSorting() {
|
|
16015
|
-
const datasets = sorting(data, sortType);
|
|
16016
|
-
return jsx(Flex$1, Object.assign({
|
|
16017
|
-
direction: "column",
|
|
16018
|
-
gap: 3
|
|
16019
|
-
}, {
|
|
16020
|
-
children: jsx(CheckboxGroup, Object.assign({
|
|
16021
|
-
onChange: (_, index) => {
|
|
16022
|
-
if (value === null || value === void 0 ? void 0 : value.some(val => {
|
|
16023
|
-
var _a;
|
|
16024
|
-
return (val === null || val === void 0 ? void 0 : val.value) === ((_a = datasets[index]) === null || _a === void 0 ? void 0 : _a.value);
|
|
16025
|
-
})) {
|
|
16026
|
-
onItemUncheck === null || onItemUncheck === void 0 ? void 0 : onItemUncheck(datasets[index]);
|
|
16027
|
-
} else {
|
|
16028
|
-
onItemCheck === null || onItemCheck === void 0 ? void 0 : onItemCheck(datasets[index]);
|
|
16029
|
-
}
|
|
16030
|
-
},
|
|
16031
|
-
value: value === null || value === void 0 ? void 0 : value.map(item => item === null || item === void 0 ? void 0 : item.value),
|
|
16032
|
-
disabled: disabled
|
|
16033
|
-
}, {
|
|
16034
|
-
children: datasets.map(renderCheckbox)
|
|
16035
|
-
}), void 0)
|
|
16036
|
-
}), void 0);
|
|
16037
|
-
}
|
|
16038
16034
|
function toggleCheckAll() {
|
|
16039
|
-
|
|
16040
|
-
|
|
16041
|
-
|
|
16042
|
-
|
|
16035
|
+
const allAvailableItemsSelected = availableData.every(item => checkedItems.some(checkedItem => checkedItem.value === item.value));
|
|
16036
|
+
if (allAvailableItemsSelected) {
|
|
16037
|
+
const newCheckedItems = checkedItems.filter(checkedItem => !availableData.some(item => item.value === checkedItem.value));
|
|
16038
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(isValueString ? newCheckedItems.map(item => item.value) : newCheckedItems);
|
|
16043
16039
|
} else {
|
|
16044
|
-
|
|
16045
|
-
|
|
16046
|
-
|
|
16047
|
-
|
|
16040
|
+
const newCheckedItems = [...checkedItems, ...availableData.filter(item => !checkedItems.some(checkedItem => checkedItem.value === item.value))];
|
|
16041
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(isValueString ? newCheckedItems.map(item => item.value) : newCheckedItems);
|
|
16042
|
+
}
|
|
16043
|
+
}
|
|
16044
|
+
function handleCheckedAllExpandable() {
|
|
16045
|
+
const allItems = data || [];
|
|
16046
|
+
const allItemValues = allItems.map(i => i.value);
|
|
16047
|
+
const currentValues = checkedItems.map(i => i.value);
|
|
16048
|
+
const areAllSelected = allItems.length > 0 && allItems.every(item => currentValues.includes(item.value));
|
|
16049
|
+
let newCheckedItems;
|
|
16050
|
+
if (areAllSelected) {
|
|
16051
|
+
newCheckedItems = checkedItems.filter(item => !allItemValues.includes(item.value));
|
|
16052
|
+
} else {
|
|
16053
|
+
const itemsToAdd = allItems.filter(item => !currentValues.includes(item.value));
|
|
16054
|
+
newCheckedItems = [...checkedItems, ...itemsToAdd];
|
|
16048
16055
|
}
|
|
16056
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(isValueString ? newCheckedItems.map(item => item.value) : newCheckedItems);
|
|
16049
16057
|
}
|
|
16050
|
-
|
|
16058
|
+
const listContent = jsxs(Box, Object.assign({
|
|
16051
16059
|
css: Object.assign({
|
|
16052
16060
|
position: 'relative'
|
|
16053
16061
|
}, css)
|
|
16054
16062
|
}, {
|
|
16055
|
-
children: [customHeader, onQueryChange && jsx(InputSearchbox, {
|
|
16063
|
+
children: [customHeader, onQueryChange && jsx(InputSearchbox, Object.assign({
|
|
16056
16064
|
size: "lg",
|
|
16057
|
-
placeholder: searchPlaceholder || t('placeholder.search', 'Cari ...',
|
|
16058
|
-
ns: 'translation'
|
|
16059
|
-
}),
|
|
16065
|
+
placeholder: searchPlaceholder || t('placeholder.search', 'Cari ...'),
|
|
16060
16066
|
onChange: debounce(query => {
|
|
16061
16067
|
setQuery(query);
|
|
16062
|
-
onQueryChange(query);
|
|
16068
|
+
if (onQueryChange) onQueryChange(query);
|
|
16063
16069
|
}, 1000),
|
|
16064
16070
|
disabled: disabled
|
|
16065
|
-
}, void 0), defaultSort && jsxs(Flex$1, Object.assign({
|
|
16071
|
+
}, {}), void 0), defaultSort && jsxs(Flex$1, Object.assign({
|
|
16066
16072
|
align: "center",
|
|
16067
16073
|
gap: 3,
|
|
16068
16074
|
css: {
|
|
@@ -16071,8 +16077,8 @@ function InputResourceList({
|
|
|
16071
16077
|
}
|
|
16072
16078
|
}, {
|
|
16073
16079
|
children: [!hideSelectAll && jsx(InputCheckbox, {
|
|
16074
|
-
checked:
|
|
16075
|
-
indeterminate:
|
|
16080
|
+
checked: availableData.length > 0 && availableData.every(item => checkedItems.some(checkedItem => checkedItem.value === item.value)),
|
|
16081
|
+
indeterminate: availableData.some(item => checkedItems.some(checkedItem => checkedItem.value === item.value)) && !availableData.every(item => checkedItems.some(checkedItem => checkedItem.value === item.value)),
|
|
16076
16082
|
onCheckedChange: toggleCheckAll,
|
|
16077
16083
|
css: {
|
|
16078
16084
|
marginRight: '$spacing-02'
|
|
@@ -16086,7 +16092,7 @@ function InputResourceList({
|
|
|
16086
16092
|
}, {
|
|
16087
16093
|
children: jsx(SortingOutline, {
|
|
16088
16094
|
size: 16,
|
|
16089
|
-
color: colors$
|
|
16095
|
+
color: colors$7.iconSecondary
|
|
16090
16096
|
}, void 0)
|
|
16091
16097
|
}), void 0)]
|
|
16092
16098
|
}), void 0), isLoading && jsx(Flex$1, Object.assign({
|
|
@@ -16121,7 +16127,7 @@ function InputResourceList({
|
|
|
16121
16127
|
}, wrapperCss && wrapperCss),
|
|
16122
16128
|
ref: scrollerRef
|
|
16123
16129
|
}, {
|
|
16124
|
-
children: [data.length <= 0 &&
|
|
16130
|
+
children: [data.length <= 0 && checkedItems.length <= 0 && !isLoading || defaultSort && data.length < 1 ? jsx(Flex$1, Object.assign({
|
|
16125
16131
|
justify: "center",
|
|
16126
16132
|
align: "center",
|
|
16127
16133
|
css: {
|
|
@@ -16154,9 +16160,27 @@ function InputResourceList({
|
|
|
16154
16160
|
children: children
|
|
16155
16161
|
}), void 0)
|
|
16156
16162
|
}, {
|
|
16157
|
-
children:
|
|
16163
|
+
children: jsx(Flex$1, Object.assign({
|
|
16164
|
+
direction: "column",
|
|
16165
|
+
gap: 3
|
|
16166
|
+
}, {
|
|
16167
|
+
children: jsx(CheckboxGroup, Object.assign({
|
|
16168
|
+
onChange: (_, index) => {
|
|
16169
|
+
const datasets = defaultSort ? sorting(availableData, sortType) : availableData;
|
|
16170
|
+
const newCheckedItems = (checkedItems === null || checkedItems === void 0 ? void 0 : checkedItems.some(val => {
|
|
16171
|
+
var _a;
|
|
16172
|
+
return (val === null || val === void 0 ? void 0 : val.value) === ((_a = datasets[index]) === null || _a === void 0 ? void 0 : _a.value);
|
|
16173
|
+
})) ? checkedItems.filter(val => val.value !== datasets[index].value) : [...(checkedItems || []), datasets[index]];
|
|
16174
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(isValueString ? newCheckedItems.map(item => item.value) : newCheckedItems);
|
|
16175
|
+
},
|
|
16176
|
+
value: checkedItems === null || checkedItems === void 0 ? void 0 : checkedItems.map(item => item === null || item === void 0 ? void 0 : item.value),
|
|
16177
|
+
disabled: disabled
|
|
16178
|
+
}, {
|
|
16179
|
+
children: (defaultSort ? sorting(availableData, sortType) : availableData).map(renderCheckbox)
|
|
16180
|
+
}), void 0)
|
|
16181
|
+
}), void 0)
|
|
16158
16182
|
}), void 0)]
|
|
16159
|
-
}), void 0), counterFooter &&
|
|
16183
|
+
}), void 0), counterFooter && checkedItems.length > 0 && jsx(Box, Object.assign({
|
|
16160
16184
|
css: {
|
|
16161
16185
|
marginTop: '$spacing-04'
|
|
16162
16186
|
}
|
|
@@ -16165,119 +16189,48 @@ function InputResourceList({
|
|
|
16165
16189
|
variant: "helper",
|
|
16166
16190
|
color: disabled ? 'disable' : 'green'
|
|
16167
16191
|
}, {
|
|
16168
|
-
children: `${
|
|
16192
|
+
children: `${checkedItems.length} ${counterFooterText || t('counterFooterText', 'kategori dipilih')}`
|
|
16169
16193
|
}), void 0)
|
|
16170
16194
|
}), void 0)]
|
|
16171
16195
|
}), void 0);
|
|
16172
|
-
|
|
16173
|
-
|
|
16174
|
-
const
|
|
16175
|
-
|
|
16176
|
-
|
|
16177
|
-
|
|
16178
|
-
height: 16,
|
|
16179
|
-
width: 16,
|
|
16180
|
-
cursor: 'pointer',
|
|
16181
|
-
variants: {
|
|
16182
|
-
border: {
|
|
16183
|
-
true: {
|
|
16184
|
-
borderRadius: 3,
|
|
16185
|
-
border: '1.5px solid $gray300'
|
|
16186
|
-
}
|
|
16187
|
-
}
|
|
16188
|
-
}
|
|
16189
|
-
});
|
|
16190
|
-
const IndeterminateFilled = styled('div', {
|
|
16191
|
-
width: 16,
|
|
16192
|
-
height: 16,
|
|
16193
|
-
background: '$primary500',
|
|
16194
|
-
color: '$textWhite',
|
|
16195
|
-
borderRadius: 3,
|
|
16196
|
-
fontSize: 14,
|
|
16197
|
-
display: 'flex',
|
|
16198
|
-
justifyContent: 'center',
|
|
16199
|
-
alignItems: 'center'
|
|
16200
|
-
});
|
|
16201
|
-
const InputResourceListExpandable = _a => {
|
|
16202
|
-
var _b;
|
|
16203
|
-
var {
|
|
16204
|
-
renderSelectAll,
|
|
16205
|
-
onItemCheck,
|
|
16206
|
-
onItemUncheck,
|
|
16207
|
-
value
|
|
16208
|
-
} = _a,
|
|
16209
|
-
props = __rest(_a, ["renderSelectAll", "onItemCheck", "onItemUncheck", "value"]);
|
|
16210
|
-
const [expand, setExpand] = useState(false);
|
|
16211
|
-
const [checkedItem, setCheckedItem] = useState([]);
|
|
16212
|
-
useEffect(() => {
|
|
16213
|
-
if (value) {
|
|
16214
|
-
setCheckedItem(value);
|
|
16215
|
-
}
|
|
16216
|
-
}, [value]);
|
|
16217
|
-
const handleChecked = item => {
|
|
16218
|
-
onItemCheck(item);
|
|
16219
|
-
setCheckedItem(current => [...current, item]);
|
|
16220
|
-
};
|
|
16221
|
-
const handleUnChecked = item => {
|
|
16222
|
-
onItemUncheck(item);
|
|
16223
|
-
setCheckedItem(current => current.filter(currItem => currItem.value !== item.value));
|
|
16224
|
-
};
|
|
16225
|
-
const handleCheckedAll = () => {
|
|
16226
|
-
var _a, _b, _c;
|
|
16227
|
-
if ((checkedItem === null || checkedItem === void 0 ? void 0 : checkedItem.length) && !((_a = props === null || props === void 0 ? void 0 : props.data) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
16228
|
-
for (let i = 0; i < (checkedItem === null || checkedItem === void 0 ? void 0 : checkedItem.length); i++) {
|
|
16229
|
-
const item = checkedItem === null || checkedItem === void 0 ? void 0 : checkedItem[i];
|
|
16230
|
-
handleUnChecked(item);
|
|
16231
|
-
}
|
|
16232
|
-
} else {
|
|
16233
|
-
for (let i = 0; i < ((_b = props === null || props === void 0 ? void 0 : props.data) === null || _b === void 0 ? void 0 : _b.length); i++) {
|
|
16234
|
-
const item = (_c = props === null || props === void 0 ? void 0 : props.data) === null || _c === void 0 ? void 0 : _c[i];
|
|
16235
|
-
handleChecked(item);
|
|
16236
|
-
}
|
|
16237
|
-
}
|
|
16238
|
-
};
|
|
16239
|
-
return jsxs(Box, {
|
|
16240
|
-
children: [jsxs(Flex$1, Object.assign({
|
|
16241
|
-
justify: "between",
|
|
16242
|
-
align: "start"
|
|
16243
|
-
}, {
|
|
16196
|
+
if (expandable) {
|
|
16197
|
+
const allItems = data || [];
|
|
16198
|
+
const checkedValues = checkedItems.map(i => i.value);
|
|
16199
|
+
const isAllSelected = allItems.length > 0 && allItems.every(item => checkedValues.includes(item.value));
|
|
16200
|
+
const isIndeterminate = !isAllSelected && allItems.some(item => checkedValues.includes(item.value));
|
|
16201
|
+
return jsxs(Box, {
|
|
16244
16202
|
children: [jsxs(Flex$1, Object.assign({
|
|
16245
|
-
|
|
16203
|
+
justify: "between",
|
|
16204
|
+
align: "start"
|
|
16246
16205
|
}, {
|
|
16247
|
-
children: [
|
|
16248
|
-
|
|
16249
|
-
border: Boolean(!(checkedItem === null || checkedItem === void 0 ? void 0 : checkedItem.length))
|
|
16206
|
+
children: [jsxs(Flex$1, Object.assign({
|
|
16207
|
+
gap: 5
|
|
16250
16208
|
}, {
|
|
16251
|
-
children: (
|
|
16252
|
-
|
|
16253
|
-
|
|
16254
|
-
|
|
16255
|
-
|
|
16256
|
-
|
|
16257
|
-
|
|
16258
|
-
|
|
16259
|
-
|
|
16260
|
-
|
|
16261
|
-
|
|
16262
|
-
|
|
16263
|
-
|
|
16264
|
-
|
|
16265
|
-
|
|
16266
|
-
|
|
16267
|
-
|
|
16268
|
-
|
|
16269
|
-
|
|
16270
|
-
|
|
16271
|
-
|
|
16272
|
-
|
|
16273
|
-
}
|
|
16274
|
-
|
|
16275
|
-
|
|
16276
|
-
expandable
|
|
16277
|
-
} = _a,
|
|
16278
|
-
props = __rest(_a, ["expandable"]);
|
|
16279
|
-
return expandable ? jsx(InputResourceListExpandable, Object.assign({}, props), void 0) : jsx(InputResourceList, Object.assign({}, props), void 0);
|
|
16280
|
-
};
|
|
16209
|
+
children: [jsx(IconBox, Object.assign({
|
|
16210
|
+
onClick: handleCheckedAllExpandable,
|
|
16211
|
+
border: !isAllSelected && !isIndeterminate
|
|
16212
|
+
}, {
|
|
16213
|
+
children: isAllSelected ? jsx(CheckOutline, {
|
|
16214
|
+
color: colors$7.iconGreen
|
|
16215
|
+
}, void 0) : isIndeterminate ? jsx(IndeterminateFilled, {
|
|
16216
|
+
children: "-"
|
|
16217
|
+
}, void 0) : ''
|
|
16218
|
+
}), void 0), renderSelectAll]
|
|
16219
|
+
}), void 0), jsx(Box, Object.assign({
|
|
16220
|
+
css: {
|
|
16221
|
+
cursor: 'pointer'
|
|
16222
|
+
},
|
|
16223
|
+
onClick: () => setExpand(!expand)
|
|
16224
|
+
}, {
|
|
16225
|
+
children: expand ? jsx(ChevronUpOutline, {}, void 0) : jsx(ChevronDownOutline, {}, void 0)
|
|
16226
|
+
}), void 0)]
|
|
16227
|
+
}), void 0), jsx(Box, {
|
|
16228
|
+
children: expand && listContent
|
|
16229
|
+
}, void 0)]
|
|
16230
|
+
}, void 0);
|
|
16231
|
+
}
|
|
16232
|
+
return listContent;
|
|
16233
|
+
}
|
|
16281
16234
|
|
|
16282
16235
|
const SelectInputSearch = /*#__PURE__*/React.forwardRef((_a, forwardedRef) => {
|
|
16283
16236
|
var {
|
|
@@ -16689,7 +16642,7 @@ const InputCounter = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
16689
16642
|
}, {
|
|
16690
16643
|
children: jsx(MinusOutline, {
|
|
16691
16644
|
size: 24,
|
|
16692
|
-
color: disabled || disabledDecrement ? colors$
|
|
16645
|
+
color: disabled || disabledDecrement ? colors$7.iconDisable : colors$7.primary500
|
|
16693
16646
|
}, void 0)
|
|
16694
16647
|
}), void 0), jsx(Input$4, {
|
|
16695
16648
|
ref: ref,
|
|
@@ -16712,7 +16665,7 @@ const InputCounter = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
16712
16665
|
}, {
|
|
16713
16666
|
children: jsx(PlusOutline, {
|
|
16714
16667
|
size: 24,
|
|
16715
|
-
color: disabled || disabledIncrement ? colors$
|
|
16668
|
+
color: disabled || disabledIncrement ? colors$7.iconDisable : colors$7.primary500
|
|
16716
16669
|
}, void 0)
|
|
16717
16670
|
}), void 0)]
|
|
16718
16671
|
}), void 0);
|
|
@@ -16725,7 +16678,7 @@ InputCounter.defaultProps = {
|
|
|
16725
16678
|
|
|
16726
16679
|
const _excluded$c = ["children"],
|
|
16727
16680
|
_excluded2$3 = ["children", "showOverlay"];
|
|
16728
|
-
var _jsxFileName$u = "
|
|
16681
|
+
var _jsxFileName$u = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/drawer/Drawer.js";
|
|
16729
16682
|
const Context$1 = /*#__PURE__*/React__default.createContext();
|
|
16730
16683
|
const {
|
|
16731
16684
|
sizes
|
|
@@ -17075,7 +17028,7 @@ DrawerCloseButton.displayName = 'DrawerCloseButton';
|
|
|
17075
17028
|
|
|
17076
17029
|
const _excluded$b = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size", "withMaxWidth", "mobileOnly", "desktopOnly"],
|
|
17077
17030
|
_excluded2$2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
|
|
17078
|
-
var _jsxFileName$t = "
|
|
17031
|
+
var _jsxFileName$t = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/buttonGroup/ButtonGroup.js";
|
|
17079
17032
|
const ScrollButton$1 = styled(Button$4, {
|
|
17080
17033
|
width: '28px',
|
|
17081
17034
|
outline: '$btnPrimary solid 1px',
|
|
@@ -17324,7 +17277,7 @@ function ButtonGroup$1(_ref) {
|
|
|
17324
17277
|
columnNumber: 15
|
|
17325
17278
|
}
|
|
17326
17279
|
}, /*#__PURE__*/React__default.createElement(ChevronLeftOutline, {
|
|
17327
|
-
color: colors$
|
|
17280
|
+
color: colors$7.iconGreen,
|
|
17328
17281
|
__self: this,
|
|
17329
17282
|
__source: {
|
|
17330
17283
|
fileName: _jsxFileName$t,
|
|
@@ -17354,7 +17307,7 @@ function ButtonGroup$1(_ref) {
|
|
|
17354
17307
|
columnNumber: 15
|
|
17355
17308
|
}
|
|
17356
17309
|
}, /*#__PURE__*/React__default.createElement(ChevronRightOutline, {
|
|
17357
|
-
color: colors$
|
|
17310
|
+
color: colors$7.iconGreen,
|
|
17358
17311
|
__self: this,
|
|
17359
17312
|
__source: {
|
|
17360
17313
|
fileName: _jsxFileName$t,
|
|
@@ -17604,7 +17557,7 @@ const DateNumber = styled('div', {
|
|
|
17604
17557
|
});
|
|
17605
17558
|
DateNumber.displayName = 'DateNumber';
|
|
17606
17559
|
|
|
17607
|
-
var _jsxFileName$s = "
|
|
17560
|
+
var _jsxFileName$s = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/TimePicker.js";
|
|
17608
17561
|
const Input$3 = styled('input', {
|
|
17609
17562
|
display: 'none'
|
|
17610
17563
|
});
|
|
@@ -18160,7 +18113,7 @@ TimePicker.propTypes = {
|
|
|
18160
18113
|
};
|
|
18161
18114
|
NativeTimePicker.displayName = 'NativeTimePicker';
|
|
18162
18115
|
|
|
18163
|
-
var _jsxFileName$r = "
|
|
18116
|
+
var _jsxFileName$r = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/InputTimePicker.js";
|
|
18164
18117
|
const getInputPickerValue$1 = date => {
|
|
18165
18118
|
if (!date) return;
|
|
18166
18119
|
return moment(date).format('HH:mm');
|
|
@@ -18208,7 +18161,7 @@ function InputTimePicker({
|
|
|
18208
18161
|
}
|
|
18209
18162
|
}, /*#__PURE__*/React__default.createElement(InputLeftElement, {
|
|
18210
18163
|
children: /*#__PURE__*/React__default.createElement(TimeOutline, {
|
|
18211
|
-
color: disabled ? colors$
|
|
18164
|
+
color: disabled ? colors$7.iconDisable : colors$7.iconPrimary,
|
|
18212
18165
|
__self: this,
|
|
18213
18166
|
__source: {
|
|
18214
18167
|
fileName: _jsxFileName$r,
|
|
@@ -21015,7 +20968,7 @@ function InputSignature({
|
|
|
21015
20968
|
}
|
|
21016
20969
|
|
|
21017
20970
|
const _excluded$a = ["className", "defaultValue", "value", "name", "disabled", "orientation", "dir", "min", "max", "step", "onValueChange", "minStepsBetweenThumbs", "color", "size", "width", "height"];
|
|
21018
|
-
var _jsxFileName$q = "
|
|
20971
|
+
var _jsxFileName$q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/slider/Slider.js";
|
|
21019
20972
|
const StyledSlider = styled$1(SliderPrimitive.Root, {
|
|
21020
20973
|
position: 'relative',
|
|
21021
20974
|
display: 'flex',
|
|
@@ -21359,7 +21312,7 @@ Slider.defaultProps = {
|
|
|
21359
21312
|
};
|
|
21360
21313
|
|
|
21361
21314
|
const _excluded$9 = ["className", "children", "onClick", "type", "size"];
|
|
21362
|
-
var _jsxFileName$p = "
|
|
21315
|
+
var _jsxFileName$p = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tagStatus/TagStatus.js";
|
|
21363
21316
|
const TagWrapper$1 = styled('div', {
|
|
21364
21317
|
boxSizing: 'border-box',
|
|
21365
21318
|
fontSize: '12px',
|
|
@@ -21522,7 +21475,7 @@ const _excluded$8 = ["children"],
|
|
|
21522
21475
|
_excluded2$1 = ["children", "activeTabs"],
|
|
21523
21476
|
_excluded3$1 = ["children", "icon", "activeTabs", "value"],
|
|
21524
21477
|
_excluded4 = ["activeTabs"];
|
|
21525
|
-
var _jsxFileName$o = "
|
|
21478
|
+
var _jsxFileName$o = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tabs/Tabs.js";
|
|
21526
21479
|
const StyledTabs = styled(TabsPrimitive.Root, {
|
|
21527
21480
|
display: 'flex',
|
|
21528
21481
|
flexDirection: 'column',
|
|
@@ -21748,7 +21701,7 @@ const TabsList$1 = _ref2 => {
|
|
|
21748
21701
|
columnNumber: 11
|
|
21749
21702
|
}
|
|
21750
21703
|
}, /*#__PURE__*/React__default.createElement(ChevronLgLeftOutline, {
|
|
21751
|
-
color: colors$
|
|
21704
|
+
color: colors$7.iconGreen,
|
|
21752
21705
|
__self: undefined,
|
|
21753
21706
|
__source: {
|
|
21754
21707
|
fileName: _jsxFileName$o,
|
|
@@ -21777,7 +21730,7 @@ const TabsList$1 = _ref2 => {
|
|
|
21777
21730
|
columnNumber: 11
|
|
21778
21731
|
}
|
|
21779
21732
|
}, /*#__PURE__*/React__default.createElement(ChevronLgRightOutline, {
|
|
21780
|
-
color: colors$
|
|
21733
|
+
color: colors$7.iconGreen,
|
|
21781
21734
|
__self: undefined,
|
|
21782
21735
|
__source: {
|
|
21783
21736
|
fileName: _jsxFileName$o,
|
|
@@ -21837,7 +21790,7 @@ const TabsTrigger$1 = _ref3 => {
|
|
|
21837
21790
|
columnNumber: 9
|
|
21838
21791
|
}
|
|
21839
21792
|
}, icon && /*#__PURE__*/React__default.cloneElement(icon, {
|
|
21840
|
-
color: activeTabs === value || isIconHovered ? colors$
|
|
21793
|
+
color: activeTabs === value || isIconHovered ? colors$7.iconGreen : colors$7.iconDisable
|
|
21841
21794
|
}), (!icon || activeTabs === value) && children)));
|
|
21842
21795
|
};
|
|
21843
21796
|
TabsTrigger$1.propTypes = {
|
|
@@ -21861,7 +21814,7 @@ TabsContent$1.propTypes = {
|
|
|
21861
21814
|
};
|
|
21862
21815
|
|
|
21863
21816
|
const _excluded$7 = ["children", "variantIcon"];
|
|
21864
|
-
var _jsxFileName$n = "
|
|
21817
|
+
var _jsxFileName$n = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/notificationBadge/NotificationBadge.js";
|
|
21865
21818
|
const NotificationBadgeRootStyle = styled('span', {
|
|
21866
21819
|
position: 'relative',
|
|
21867
21820
|
display: 'inline-flex',
|
|
@@ -22016,7 +21969,7 @@ NotificationBadge.propTypes = {
|
|
|
22016
21969
|
};
|
|
22017
21970
|
|
|
22018
21971
|
const _excluded$6 = ["className", "children", "radius", "padding", "width", "height"];
|
|
22019
|
-
var _jsxFileName$m = "
|
|
21972
|
+
var _jsxFileName$m = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/paper/Paper.js";
|
|
22020
21973
|
const PaperComponent = styled('div', {
|
|
22021
21974
|
padding: '20px',
|
|
22022
21975
|
height: 'auto',
|
|
@@ -22269,7 +22222,7 @@ const removeUndefinedFields = obj => {
|
|
|
22269
22222
|
};
|
|
22270
22223
|
|
|
22271
22224
|
const _excluded$5 = ["isActive", "onClick"];
|
|
22272
|
-
var _jsxFileName$l = "
|
|
22225
|
+
var _jsxFileName$l = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationButton.js";
|
|
22273
22226
|
const PrevNextButton = styled(Text$1, {
|
|
22274
22227
|
padding: '$spacing-01',
|
|
22275
22228
|
cursor: 'pointer',
|
|
@@ -22333,7 +22286,7 @@ const PrevNextButtonIcon = ({
|
|
|
22333
22286
|
columnNumber: 5
|
|
22334
22287
|
}
|
|
22335
22288
|
}, iconType === 'prev' ? /*#__PURE__*/React__default.createElement(ArrowLeftOutline, {
|
|
22336
|
-
color: isHover ? colors$
|
|
22289
|
+
color: isHover ? colors$7.iconGreen : colors$7.iconPrimary,
|
|
22337
22290
|
__self: undefined,
|
|
22338
22291
|
__source: {
|
|
22339
22292
|
fileName: _jsxFileName$l,
|
|
@@ -22341,7 +22294,7 @@ const PrevNextButtonIcon = ({
|
|
|
22341
22294
|
columnNumber: 9
|
|
22342
22295
|
}
|
|
22343
22296
|
}) : /*#__PURE__*/React__default.createElement(ArrowRightOutline, {
|
|
22344
|
-
color: isHover ? colors$
|
|
22297
|
+
color: isHover ? colors$7.iconGreen : colors$7.iconPrimary,
|
|
22345
22298
|
__self: undefined,
|
|
22346
22299
|
__source: {
|
|
22347
22300
|
fileName: _jsxFileName$l,
|
|
@@ -22763,7 +22716,7 @@ const PaginationButton = ({
|
|
|
22763
22716
|
};
|
|
22764
22717
|
|
|
22765
22718
|
const _excluded$4 = ["limits", "selectedLimit", "currentPage", "totalData", "onChange"];
|
|
22766
|
-
var _jsxFileName$k = "
|
|
22719
|
+
var _jsxFileName$k = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationInfo.js";
|
|
22767
22720
|
const LimitContainer = styled(Flex$1, {
|
|
22768
22721
|
cursor: 'pointer'
|
|
22769
22722
|
});
|
|
@@ -22859,7 +22812,7 @@ function PaginationInfo(_ref) {
|
|
|
22859
22812
|
columnNumber: 15
|
|
22860
22813
|
}
|
|
22861
22814
|
}, selectedLimit.toString()), /*#__PURE__*/React__default.createElement(ChevronDownOutline, {
|
|
22862
|
-
color: colors$
|
|
22815
|
+
color: colors$7.gray400,
|
|
22863
22816
|
__self: this,
|
|
22864
22817
|
__source: {
|
|
22865
22818
|
fileName: _jsxFileName$k,
|
|
@@ -22998,7 +22951,7 @@ function PaginationInfo(_ref) {
|
|
|
22998
22951
|
}
|
|
22999
22952
|
|
|
23000
22953
|
const _excluded$3 = ["limit", "currentPage", "totalData", "totalPage", "hideDataInfo", "onLimitChange", "onPageChange", "rowsPerPageOptions", "hidePagination", "hideInputPageSection"];
|
|
23001
|
-
var _jsxFileName$j = "
|
|
22954
|
+
var _jsxFileName$j = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/Pagination.js";
|
|
23002
22955
|
function Pagination(_ref) {
|
|
23003
22956
|
let {
|
|
23004
22957
|
limit,
|
|
@@ -23173,23 +23126,23 @@ const ContextMenuItem = styled(Item, {
|
|
|
23173
23126
|
userSelect: 'none',
|
|
23174
23127
|
color: '$textPrimary',
|
|
23175
23128
|
'&[data-disabled]': {
|
|
23176
|
-
color: colors$
|
|
23129
|
+
color: colors$7.gray400,
|
|
23177
23130
|
pointerEvents: 'none'
|
|
23178
23131
|
},
|
|
23179
23132
|
'&:hover': {
|
|
23180
23133
|
cursor: 'pointer',
|
|
23181
|
-
backgroundColor: colors$
|
|
23134
|
+
backgroundColor: colors$7.gray100
|
|
23182
23135
|
},
|
|
23183
23136
|
'&:active': {
|
|
23184
|
-
backgroundColor: colors$
|
|
23137
|
+
backgroundColor: colors$7.gray150
|
|
23185
23138
|
},
|
|
23186
23139
|
'&:focus': {
|
|
23187
|
-
backgroundColor: colors$
|
|
23140
|
+
backgroundColor: colors$7.gray100
|
|
23188
23141
|
}
|
|
23189
23142
|
});
|
|
23190
23143
|
const ContextMenuSeparator = styled('div', {
|
|
23191
23144
|
height: 1,
|
|
23192
|
-
backgroundColor: colors$
|
|
23145
|
+
backgroundColor: colors$7.gray150,
|
|
23193
23146
|
margin: 5
|
|
23194
23147
|
});
|
|
23195
23148
|
|
|
@@ -23872,7 +23825,7 @@ const ScrollSyncNode = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
23872
23825
|
});
|
|
23873
23826
|
ScrollSyncNode.displayName = 'ScrollSyncNode';
|
|
23874
23827
|
|
|
23875
|
-
var _jsxFileName$i = "
|
|
23828
|
+
var _jsxFileName$i = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowDraggableColumn.js";
|
|
23876
23829
|
const DragHandle = SortableHandle(() => /*#__PURE__*/React__default.createElement(IconButton, {
|
|
23877
23830
|
icon: true,
|
|
23878
23831
|
size: "xs",
|
|
@@ -25367,7 +25320,7 @@ const TableColumn = _a => {
|
|
|
25367
25320
|
return jsx("div", {}, void 0);
|
|
25368
25321
|
};
|
|
25369
25322
|
|
|
25370
|
-
var _jsxFileName$h = "
|
|
25323
|
+
var _jsxFileName$h = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/DateColumn.js";
|
|
25371
25324
|
const DateColumn = ({
|
|
25372
25325
|
value,
|
|
25373
25326
|
customFormat
|
|
@@ -25479,7 +25432,7 @@ const PriceColumn = props => {
|
|
|
25479
25432
|
return addThousandSeparator(param);
|
|
25480
25433
|
};
|
|
25481
25434
|
|
|
25482
|
-
var _jsxFileName$g = "
|
|
25435
|
+
var _jsxFileName$g = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderColumn.js";
|
|
25483
25436
|
const rowExpanderColumn = {
|
|
25484
25437
|
id: 'expander',
|
|
25485
25438
|
Header: () => null,
|
|
@@ -25522,7 +25475,7 @@ const rowExpanderColumn = {
|
|
|
25522
25475
|
unsortable: true
|
|
25523
25476
|
};
|
|
25524
25477
|
|
|
25525
|
-
var _jsxFileName$f = "
|
|
25478
|
+
var _jsxFileName$f = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderMultipleColumn.js";
|
|
25526
25479
|
const rowExpanderMultipleColumn = {
|
|
25527
25480
|
id: 'multiple-expander',
|
|
25528
25481
|
Header: () => null,
|
|
@@ -25558,7 +25511,7 @@ const rowExpanderMultipleColumn = {
|
|
|
25558
25511
|
unsortable: true
|
|
25559
25512
|
};
|
|
25560
25513
|
|
|
25561
|
-
var _jsxFileName$e = "
|
|
25514
|
+
var _jsxFileName$e = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowMenuColumn.js";
|
|
25562
25515
|
const rowMenuColumn = (options, icon, config) => ({
|
|
25563
25516
|
id: 'menu',
|
|
25564
25517
|
options,
|
|
@@ -25695,7 +25648,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
25695
25648
|
unsortable: true
|
|
25696
25649
|
});
|
|
25697
25650
|
|
|
25698
|
-
var _jsxFileName$d = "
|
|
25651
|
+
var _jsxFileName$d = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionColumn.js";
|
|
25699
25652
|
const rowSelectionColumn = {
|
|
25700
25653
|
id: 'selection',
|
|
25701
25654
|
Header: ({
|
|
@@ -25744,7 +25697,7 @@ const rowSelectionColumn = {
|
|
|
25744
25697
|
unsortable: true
|
|
25745
25698
|
};
|
|
25746
25699
|
|
|
25747
|
-
var _jsxFileName$c = "
|
|
25700
|
+
var _jsxFileName$c = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionCallbackColumn.js";
|
|
25748
25701
|
const rowSelectionWithCallbackColumn = (onCheckedChange, onAllCheckedChange) => ({
|
|
25749
25702
|
id: 'selection',
|
|
25750
25703
|
Header: ({
|
|
@@ -26082,7 +26035,7 @@ PageDialog.defaultProps = {
|
|
|
26082
26035
|
};
|
|
26083
26036
|
|
|
26084
26037
|
const _excluded$2 = ["children"];
|
|
26085
|
-
var _jsxFileName$b = "
|
|
26038
|
+
var _jsxFileName$b = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/alertDialog/AlertDialog.js";
|
|
26086
26039
|
const overlayShow = keyframes({
|
|
26087
26040
|
'0%': {
|
|
26088
26041
|
opacity: 0
|
|
@@ -26103,7 +26056,7 @@ const contentShow = keyframes({
|
|
|
26103
26056
|
});
|
|
26104
26057
|
const StyledOverlay = styled(ADialog.Overlay, {
|
|
26105
26058
|
zIndex: 1,
|
|
26106
|
-
backgroundColor: colors$
|
|
26059
|
+
backgroundColor: colors$7.bgDimmer,
|
|
26107
26060
|
position: 'fixed',
|
|
26108
26061
|
inset: 0,
|
|
26109
26062
|
'@media (prefers-reduced-motion: no-preference)': {
|
|
@@ -26136,14 +26089,14 @@ const StyledTitle = styled(ADialog.Title, {
|
|
|
26136
26089
|
display: 'flex',
|
|
26137
26090
|
flexDirection: 'row',
|
|
26138
26091
|
justifyContent: 'space-between',
|
|
26139
|
-
color: colors$
|
|
26092
|
+
color: colors$7.gray900,
|
|
26140
26093
|
fontSize: 17,
|
|
26141
26094
|
fontWeight: 500
|
|
26142
26095
|
});
|
|
26143
26096
|
const StyledDescription$1 = styled(ADialog.Description, {
|
|
26144
26097
|
mx: 24,
|
|
26145
26098
|
my: 20,
|
|
26146
|
-
color: colors$
|
|
26099
|
+
color: colors$7.gray900,
|
|
26147
26100
|
fontSize: 15,
|
|
26148
26101
|
lineHeight: 1.5
|
|
26149
26102
|
});
|
|
@@ -26717,7 +26670,7 @@ const AlertDialogConfirm = ADialog.Action;
|
|
|
26717
26670
|
const _excluded$1 = ["side", "align", "children"],
|
|
26718
26671
|
_excluded2 = ["children"],
|
|
26719
26672
|
_excluded3 = ["asChild"];
|
|
26720
|
-
var _jsxFileName$a = "
|
|
26673
|
+
var _jsxFileName$a = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/dropdownMenu/DropdownMenu.js";
|
|
26721
26674
|
const Context = /*#__PURE__*/React__default.createContext();
|
|
26722
26675
|
const slideUpAndFade = keyframes({
|
|
26723
26676
|
'0%': {
|
|
@@ -26801,17 +26754,17 @@ const itemStyles = {
|
|
|
26801
26754
|
position: 'relative',
|
|
26802
26755
|
userSelect: 'none',
|
|
26803
26756
|
'&[data-disabled]': {
|
|
26804
|
-
color: colors$
|
|
26757
|
+
color: colors$7.gray400,
|
|
26805
26758
|
pointerEvents: 'none'
|
|
26806
26759
|
},
|
|
26807
26760
|
'&:hover': {
|
|
26808
26761
|
cursor: 'pointer'
|
|
26809
26762
|
},
|
|
26810
26763
|
'&:active': {
|
|
26811
|
-
backgroundColor: colors$
|
|
26764
|
+
backgroundColor: colors$7.gray150
|
|
26812
26765
|
},
|
|
26813
26766
|
'&:focus': {
|
|
26814
|
-
backgroundColor: colors$
|
|
26767
|
+
backgroundColor: colors$7.gray100
|
|
26815
26768
|
}
|
|
26816
26769
|
};
|
|
26817
26770
|
const StyledItem = styled(DropdownMenuPrimitive.Item, Object.assign({}, itemStyles));
|
|
@@ -26833,11 +26786,11 @@ const StyledLabel = styled(DropdownMenuPrimitive.Label, {
|
|
|
26833
26786
|
padding: '8px 0',
|
|
26834
26787
|
fontSize: 12,
|
|
26835
26788
|
lineHeight: '25px',
|
|
26836
|
-
color: colors$
|
|
26789
|
+
color: colors$7.gray700
|
|
26837
26790
|
});
|
|
26838
26791
|
const StyledSeparator = styled(DropdownMenuPrimitive.Separator, {
|
|
26839
26792
|
height: 1,
|
|
26840
|
-
backgroundColor: colors$
|
|
26793
|
+
backgroundColor: colors$7.gray150,
|
|
26841
26794
|
margin: 5
|
|
26842
26795
|
});
|
|
26843
26796
|
const StyledItemIndicator = styled(DropdownMenuPrimitive.ItemIndicator, {
|
|
@@ -26946,7 +26899,7 @@ const RightSlot = styled('div', {
|
|
|
26946
26899
|
color: 'white'
|
|
26947
26900
|
},
|
|
26948
26901
|
'[data-disabled] &': {
|
|
26949
|
-
color: colors$
|
|
26902
|
+
color: colors$7.gray400
|
|
26950
26903
|
}
|
|
26951
26904
|
});
|
|
26952
26905
|
const StyledDropdown = styled(Button$4, {
|
|
@@ -28997,7 +28950,7 @@ function imgPreview(image, crop, scale = 1, rotate = 0, ratio, type) {
|
|
|
28997
28950
|
}
|
|
28998
28951
|
|
|
28999
28952
|
const _excluded = ["customPreviewIcon"];
|
|
29000
|
-
var _jsxFileName$9 = "
|
|
28953
|
+
var _jsxFileName$9 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/upload/Upload.js";
|
|
29001
28954
|
const Input$2 = styled('input', {
|
|
29002
28955
|
display: 'none !important'
|
|
29003
28956
|
});
|
|
@@ -30203,159 +30156,159 @@ Upload.defaultProps = {
|
|
|
30203
30156
|
maxWidthOrHeight: 1024
|
|
30204
30157
|
};
|
|
30205
30158
|
Upload.propTypes = {
|
|
30206
|
-
/**
|
|
30207
|
-
Placeholder label of upload.
|
|
30159
|
+
/**
|
|
30160
|
+
Placeholder label of upload.
|
|
30208
30161
|
*/
|
|
30209
30162
|
placeholder: PropTypes.string,
|
|
30210
|
-
/**
|
|
30211
|
-
Disabled state of upload.
|
|
30163
|
+
/**
|
|
30164
|
+
Disabled state of upload.
|
|
30212
30165
|
*/
|
|
30213
30166
|
disabled: PropTypes.bool,
|
|
30214
|
-
/**
|
|
30215
|
-
Built-in stylesheets, support for two types.
|
|
30167
|
+
/**
|
|
30168
|
+
Built-in stylesheets, support for two types.
|
|
30216
30169
|
*/
|
|
30217
30170
|
listType: PropTypes.oneOf(['file', 'picture']),
|
|
30218
|
-
/**
|
|
30219
|
-
Whether to support selected multiple file.
|
|
30171
|
+
/**
|
|
30172
|
+
Whether to support selected multiple file.
|
|
30220
30173
|
*/
|
|
30221
30174
|
multiple: PropTypes.bool,
|
|
30222
|
-
/**
|
|
30223
|
-
List of files to be uploaded.
|
|
30175
|
+
/**
|
|
30176
|
+
List of files to be uploaded.
|
|
30224
30177
|
*/
|
|
30225
30178
|
fileList: PropTypes.array,
|
|
30226
|
-
/**
|
|
30227
|
-
A callback function, can be executed when uploading state is changing.
|
|
30179
|
+
/**
|
|
30180
|
+
A callback function, can be executed when uploading state is changing.
|
|
30228
30181
|
*/
|
|
30229
30182
|
onChange: PropTypes.func,
|
|
30230
|
-
/**
|
|
30231
|
-
A callback function, can be executed when uploading in progress.
|
|
30232
|
-
`(progress) => void`
|
|
30183
|
+
/**
|
|
30184
|
+
A callback function, can be executed when uploading in progress.
|
|
30185
|
+
`(progress) => void`
|
|
30233
30186
|
*/
|
|
30234
30187
|
onProgress: PropTypes.func,
|
|
30235
|
-
/**
|
|
30236
|
-
A callback function, can be executed when uploading is success.
|
|
30237
|
-
`(response) => void`
|
|
30188
|
+
/**
|
|
30189
|
+
A callback function, can be executed when uploading is success.
|
|
30190
|
+
`(response) => void`
|
|
30238
30191
|
*/
|
|
30239
30192
|
onSuccess: PropTypes.func,
|
|
30240
|
-
/**
|
|
30241
|
-
A callback function, can be executed when uploading is error.
|
|
30242
|
-
`(error, response) => void`
|
|
30193
|
+
/**
|
|
30194
|
+
A callback function, can be executed when uploading is error.
|
|
30195
|
+
`(error, response) => void`
|
|
30243
30196
|
*/
|
|
30244
30197
|
onError: PropTypes.func,
|
|
30245
|
-
/**
|
|
30246
|
-
A callback function, can be executed when preview icon in picture type is clicked.
|
|
30198
|
+
/**
|
|
30199
|
+
A callback function, can be executed when preview icon in picture type is clicked.
|
|
30247
30200
|
*/
|
|
30248
30201
|
onPreview: PropTypes.func,
|
|
30249
|
-
/**
|
|
30250
|
-
A callback function, can be executed when remove icon is clicked.
|
|
30202
|
+
/**
|
|
30203
|
+
A callback function, can be executed when remove icon is clicked.
|
|
30251
30204
|
*/
|
|
30252
30205
|
onRemove: PropTypes.func,
|
|
30253
|
-
/**
|
|
30254
|
-
A custom element inside upload container.
|
|
30206
|
+
/**
|
|
30207
|
+
A custom element inside upload container.
|
|
30255
30208
|
*/
|
|
30256
30209
|
children: PropTypes.element,
|
|
30257
|
-
/**
|
|
30258
|
-
Limit the number of uploaded files.
|
|
30210
|
+
/**
|
|
30211
|
+
Limit the number of uploaded files.
|
|
30259
30212
|
*/
|
|
30260
30213
|
max: PropTypes.number,
|
|
30261
|
-
/**
|
|
30262
|
-
Limit the maximum image size in MB.
|
|
30214
|
+
/**
|
|
30215
|
+
Limit the maximum image size in MB.
|
|
30263
30216
|
*/
|
|
30264
30217
|
maxSizeMB: PropTypes.number,
|
|
30265
|
-
/**
|
|
30266
|
-
Limit file type of upload.
|
|
30218
|
+
/**
|
|
30219
|
+
Limit file type of upload.
|
|
30267
30220
|
*/
|
|
30268
30221
|
accept: PropTypes.string,
|
|
30269
|
-
/**
|
|
30270
|
-
Custom label for replace button.
|
|
30222
|
+
/**
|
|
30223
|
+
Custom label for replace button.
|
|
30271
30224
|
*/
|
|
30272
30225
|
replaceLabel: PropTypes.string,
|
|
30273
|
-
/**
|
|
30274
|
-
Custom width of upload container.
|
|
30226
|
+
/**
|
|
30227
|
+
Custom width of upload container.
|
|
30275
30228
|
*/
|
|
30276
30229
|
width: PropTypes.number,
|
|
30277
|
-
/**
|
|
30278
|
-
Custom height of upload container.
|
|
30230
|
+
/**
|
|
30231
|
+
Custom height of upload container.
|
|
30279
30232
|
*/
|
|
30280
30233
|
height: PropTypes.number,
|
|
30281
|
-
/**
|
|
30282
|
-
Additional css.
|
|
30234
|
+
/**
|
|
30235
|
+
Additional css.
|
|
30283
30236
|
*/
|
|
30284
30237
|
css: PropTypes.object,
|
|
30285
|
-
/**
|
|
30286
|
-
Custom title header of cropper modal.
|
|
30238
|
+
/**
|
|
30239
|
+
Custom title header of cropper modal.
|
|
30287
30240
|
*/
|
|
30288
30241
|
cropperTitle: PropTypes.string,
|
|
30289
|
-
/**
|
|
30290
|
-
Add image cropper on upload.
|
|
30242
|
+
/**
|
|
30243
|
+
Add image cropper on upload.
|
|
30291
30244
|
*/
|
|
30292
30245
|
showCropper: PropTypes.bool,
|
|
30293
|
-
/**
|
|
30294
|
-
Hidden toggle aspect ratio image cropper.
|
|
30246
|
+
/**
|
|
30247
|
+
Hidden toggle aspect ratio image cropper.
|
|
30295
30248
|
*/
|
|
30296
30249
|
hiddenToggleAspect: PropTypes.bool,
|
|
30297
|
-
/**
|
|
30298
|
-
The aspect ratio of the crop, e.g. `1` for a square or `16 / 9` for landscape. Omit/pass undefined for a free-form crop.
|
|
30250
|
+
/**
|
|
30251
|
+
The aspect ratio of the crop, e.g. `1` for a square or `16 / 9` for landscape. Omit/pass undefined for a free-form crop.
|
|
30299
30252
|
*/
|
|
30300
30253
|
ratio: PropTypes.number,
|
|
30301
|
-
/**
|
|
30302
|
-
Can set error message to the upload.
|
|
30254
|
+
/**
|
|
30255
|
+
Can set error message to the upload.
|
|
30303
30256
|
*/
|
|
30304
30257
|
errorMessage: PropTypes.string,
|
|
30305
|
-
/**
|
|
30306
|
-
Progress of upload process.
|
|
30258
|
+
/**
|
|
30259
|
+
Progress of upload process.
|
|
30307
30260
|
*/
|
|
30308
30261
|
progress: PropTypes.number,
|
|
30309
|
-
/**
|
|
30310
|
-
Auto increment progress of upload process.
|
|
30262
|
+
/**
|
|
30263
|
+
Auto increment progress of upload process.
|
|
30311
30264
|
*/
|
|
30312
30265
|
loading: PropTypes.bool,
|
|
30313
|
-
/**
|
|
30314
|
-
API upload url, allows components to automatically upload directly to API service.
|
|
30266
|
+
/**
|
|
30267
|
+
API upload url, allows components to automatically upload directly to API service.
|
|
30315
30268
|
*/
|
|
30316
30269
|
action: PropTypes.string,
|
|
30317
|
-
/**
|
|
30318
|
-
Custom body request to upload action.
|
|
30270
|
+
/**
|
|
30271
|
+
Custom body request to upload action.
|
|
30319
30272
|
*/
|
|
30320
30273
|
customBodyRequest: PropTypes.func,
|
|
30321
|
-
/**
|
|
30322
|
-
Contains an authentication token for upload API.
|
|
30274
|
+
/**
|
|
30275
|
+
Contains an authentication token for upload API.
|
|
30323
30276
|
*/
|
|
30324
30277
|
token: PropTypes.string,
|
|
30325
|
-
/**
|
|
30326
|
-
Referencing the headers key to attach the token.
|
|
30278
|
+
/**
|
|
30279
|
+
Referencing the headers key to attach the token.
|
|
30327
30280
|
*/
|
|
30328
30281
|
tokenKey: PropTypes.string,
|
|
30329
|
-
/**
|
|
30330
|
-
Referencing the key to attach the file to be sent.
|
|
30282
|
+
/**
|
|
30283
|
+
Referencing the key to attach the file to be sent.
|
|
30331
30284
|
*/
|
|
30332
30285
|
reqKey: PropTypes.string,
|
|
30333
|
-
/**
|
|
30334
|
-
Referencing the key to get the file from the API response.
|
|
30286
|
+
/**
|
|
30287
|
+
Referencing the key to get the file from the API response.
|
|
30335
30288
|
*/
|
|
30336
30289
|
resKey: PropTypes.string,
|
|
30337
|
-
/**
|
|
30338
|
-
To compression image if file size > 1MB.
|
|
30290
|
+
/**
|
|
30291
|
+
To compression image if file size > 1MB.
|
|
30339
30292
|
*/
|
|
30340
30293
|
imageCompression: PropTypes.bool,
|
|
30341
|
-
/**
|
|
30342
|
-
Callback to handle before crop image.
|
|
30294
|
+
/**
|
|
30295
|
+
Callback to handle before crop image.
|
|
30343
30296
|
*/
|
|
30344
30297
|
onBeforeCrop: PropTypes.func,
|
|
30345
|
-
/**
|
|
30346
|
-
Hidden preview icon in upload.
|
|
30298
|
+
/**
|
|
30299
|
+
Hidden preview icon in upload.
|
|
30347
30300
|
*/
|
|
30348
30301
|
hiddenPreview: PropTypes.bool,
|
|
30349
|
-
/**
|
|
30350
|
-
Auto full aspect ratio cropper.
|
|
30302
|
+
/**
|
|
30303
|
+
Auto full aspect ratio cropper.
|
|
30351
30304
|
*/
|
|
30352
30305
|
fullAspectCrop: PropTypes.bool,
|
|
30353
|
-
/**
|
|
30354
|
-
Set custom ratio as Default view
|
|
30306
|
+
/**
|
|
30307
|
+
Set custom ratio as Default view
|
|
30355
30308
|
*/
|
|
30356
30309
|
isDefaultCustomRatio: PropTypes.bool,
|
|
30357
|
-
/**
|
|
30358
|
-
Set max width or height of image
|
|
30310
|
+
/**
|
|
30311
|
+
Set max width or height of image
|
|
30359
30312
|
*/
|
|
30360
30313
|
maxWidthOrHeight: PropTypes.number
|
|
30361
30314
|
};
|
|
@@ -30964,7 +30917,7 @@ const Device = props => {
|
|
|
30964
30917
|
buttonType: "secondary"
|
|
30965
30918
|
}, {
|
|
30966
30919
|
children: jsx(ChevronLeftOutline, {
|
|
30967
|
-
color: colors$
|
|
30920
|
+
color: colors$7.btnPrimary
|
|
30968
30921
|
}, void 0)
|
|
30969
30922
|
}), void 0), jsxs(Flex$1, Object.assign({
|
|
30970
30923
|
align: "center",
|
|
@@ -31024,14 +30977,14 @@ const Device = props => {
|
|
|
31024
30977
|
buttonType: "secondary"
|
|
31025
30978
|
}, {
|
|
31026
30979
|
children: jsx(ChevronRightOutline, {
|
|
31027
|
-
color: colors$
|
|
30980
|
+
color: colors$7.btnPrimary
|
|
31028
30981
|
}, void 0)
|
|
31029
30982
|
}), void 0)]
|
|
31030
30983
|
}), void 0);
|
|
31031
30984
|
};
|
|
31032
30985
|
Device.displayName = 'DevicePreview';
|
|
31033
30986
|
|
|
31034
|
-
var _jsxFileName$8 = "
|
|
30987
|
+
var _jsxFileName$8 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/InputColorPicker.js";
|
|
31035
30988
|
const Separator$1 = styled('div', {
|
|
31036
30989
|
height: 20,
|
|
31037
30990
|
width: 1,
|
|
@@ -31141,44 +31094,44 @@ function InputColorPicker(props) {
|
|
|
31141
31094
|
}
|
|
31142
31095
|
InputColorPicker.displayName = 'InputColorPicker';
|
|
31143
31096
|
InputColorPicker.propTypes = {
|
|
31144
|
-
/**
|
|
31145
|
-
Specify change InputColorPicker size.
|
|
31097
|
+
/**
|
|
31098
|
+
Specify change InputColorPicker size.
|
|
31146
31099
|
*/
|
|
31147
31100
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
31148
|
-
/**
|
|
31149
|
-
Color code to be displayed.
|
|
31101
|
+
/**
|
|
31102
|
+
Color code to be displayed.
|
|
31150
31103
|
*/
|
|
31151
31104
|
color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
31152
|
-
/**
|
|
31153
|
-
Additional color list.
|
|
31105
|
+
/**
|
|
31106
|
+
Additional color list.
|
|
31154
31107
|
*/
|
|
31155
31108
|
presetColors: PropTypes.array,
|
|
31156
|
-
/**
|
|
31157
|
-
Change event handler.
|
|
31109
|
+
/**
|
|
31110
|
+
Change event handler.
|
|
31158
31111
|
*/
|
|
31159
31112
|
onChange: PropTypes.func,
|
|
31160
|
-
/**
|
|
31161
|
-
Add preset color event handler.
|
|
31113
|
+
/**
|
|
31114
|
+
Add preset color event handler.
|
|
31162
31115
|
*/
|
|
31163
31116
|
onAddColor: PropTypes.func,
|
|
31164
|
-
/**
|
|
31165
|
-
Disable opacity selector.
|
|
31117
|
+
/**
|
|
31118
|
+
Disable opacity selector.
|
|
31166
31119
|
*/
|
|
31167
31120
|
disableAlpha: PropTypes.bool,
|
|
31168
|
-
/**
|
|
31169
|
-
Input placement.
|
|
31121
|
+
/**
|
|
31122
|
+
Input placement.
|
|
31170
31123
|
*/
|
|
31171
31124
|
placement: PropTypes.string,
|
|
31172
|
-
/**
|
|
31173
|
-
Define is mobile layout or not.
|
|
31125
|
+
/**
|
|
31126
|
+
Define is mobile layout or not.
|
|
31174
31127
|
*/
|
|
31175
31128
|
isMobile: PropTypes.bool,
|
|
31176
|
-
/**
|
|
31177
|
-
Define popover custom styling.
|
|
31129
|
+
/**
|
|
31130
|
+
Define popover custom styling.
|
|
31178
31131
|
*/
|
|
31179
31132
|
popoverCss: PropTypes.shape({}),
|
|
31180
|
-
/**
|
|
31181
|
-
Disabled state.
|
|
31133
|
+
/**
|
|
31134
|
+
Disabled state.
|
|
31182
31135
|
*/
|
|
31183
31136
|
disabled: PropTypes.bool
|
|
31184
31137
|
};
|
|
@@ -31192,7 +31145,7 @@ InputColorPicker.defaultProps = {
|
|
|
31192
31145
|
|
|
31193
31146
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QfiWKKOz/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";
|
|
31194
31147
|
|
|
31195
|
-
var _jsxFileName$7 = "
|
|
31148
|
+
var _jsxFileName$7 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorMap.js";
|
|
31196
31149
|
const Container$7 = styled('div', {
|
|
31197
31150
|
userSelect: 'none',
|
|
31198
31151
|
margin: 'auto',
|
|
@@ -33153,7 +33106,7 @@ function ColorMap({
|
|
|
33153
33106
|
})));
|
|
33154
33107
|
}
|
|
33155
33108
|
|
|
33156
|
-
var _jsxFileName$6 = "
|
|
33109
|
+
var _jsxFileName$6 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorFields.js";
|
|
33157
33110
|
const CheckBoard = styled(Flex$1, {
|
|
33158
33111
|
background: '$bgwhite',
|
|
33159
33112
|
border: '1px solid #E5E7EB',
|
|
@@ -33354,7 +33307,7 @@ function ColorFields({
|
|
|
33354
33307
|
}, "%")));
|
|
33355
33308
|
}
|
|
33356
33309
|
|
|
33357
|
-
var _jsxFileName$5 = "
|
|
33310
|
+
var _jsxFileName$5 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/ColorPicker.js";
|
|
33358
33311
|
const Container$6 = styled(Flex$1, {
|
|
33359
33312
|
background: '$white',
|
|
33360
33313
|
padding: 16,
|
|
@@ -33845,24 +33798,24 @@ function ColorPicker({
|
|
|
33845
33798
|
})))))));
|
|
33846
33799
|
}
|
|
33847
33800
|
ColorPicker.propTypes = {
|
|
33848
|
-
/**
|
|
33849
|
-
Color code to be displayed.
|
|
33801
|
+
/**
|
|
33802
|
+
Color code to be displayed.
|
|
33850
33803
|
*/
|
|
33851
33804
|
color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
33852
|
-
/**
|
|
33853
|
-
Additional color list
|
|
33805
|
+
/**
|
|
33806
|
+
Additional color list
|
|
33854
33807
|
*/
|
|
33855
33808
|
presetColors: PropTypes.array,
|
|
33856
|
-
/**
|
|
33857
|
-
Change event handler
|
|
33809
|
+
/**
|
|
33810
|
+
Change event handler
|
|
33858
33811
|
*/
|
|
33859
33812
|
onChange: PropTypes.func,
|
|
33860
|
-
/**
|
|
33861
|
-
Add preset color event handler
|
|
33813
|
+
/**
|
|
33814
|
+
Add preset color event handler
|
|
33862
33815
|
*/
|
|
33863
33816
|
onAddColor: PropTypes.func,
|
|
33864
|
-
/**
|
|
33865
|
-
Disable opacity selector
|
|
33817
|
+
/**
|
|
33818
|
+
Disable opacity selector
|
|
33866
33819
|
*/
|
|
33867
33820
|
disableAlpha: PropTypes.bool
|
|
33868
33821
|
};
|
|
@@ -33871,7 +33824,7 @@ ColorPicker.defaultProps = {
|
|
|
33871
33824
|
};
|
|
33872
33825
|
var ColorPicker$1 = ColorWrap(ColorPicker);
|
|
33873
33826
|
|
|
33874
|
-
var _jsxFileName$4 = "
|
|
33827
|
+
var _jsxFileName$4 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/stepWizard/StepWizard.js";
|
|
33875
33828
|
const StepWizardContext = /*#__PURE__*/React__default.createContext({});
|
|
33876
33829
|
const Stepper = StepWizard$1;
|
|
33877
33830
|
Stepper.displayName = 'Stepper';
|
|
@@ -34125,7 +34078,7 @@ const Navigation = props => {
|
|
|
34125
34078
|
marginRight: 9
|
|
34126
34079
|
},
|
|
34127
34080
|
size: "24",
|
|
34128
|
-
color: colors$
|
|
34081
|
+
color: colors$7.bgGreen,
|
|
34129
34082
|
__self: undefined,
|
|
34130
34083
|
__source: {
|
|
34131
34084
|
fileName: _jsxFileName$4,
|
|
@@ -34146,7 +34099,7 @@ const Navigation = props => {
|
|
|
34146
34099
|
margin: '0 9px'
|
|
34147
34100
|
},
|
|
34148
34101
|
size: "20",
|
|
34149
|
-
color: colors$
|
|
34102
|
+
color: colors$7.iconSecondary,
|
|
34150
34103
|
__self: undefined,
|
|
34151
34104
|
__source: {
|
|
34152
34105
|
fileName: _jsxFileName$4,
|
|
@@ -34218,7 +34171,7 @@ const Navigation = props => {
|
|
|
34218
34171
|
}
|
|
34219
34172
|
}, /*#__PURE__*/React__default.createElement(StyledCircleInfoOutline, {
|
|
34220
34173
|
size: "20",
|
|
34221
|
-
color: colors$
|
|
34174
|
+
color: colors$7.iconPrimary,
|
|
34222
34175
|
__self: undefined,
|
|
34223
34176
|
__source: {
|
|
34224
34177
|
fileName: _jsxFileName$4,
|
|
@@ -34594,7 +34547,7 @@ StepWizard.defaultProps = {
|
|
|
34594
34547
|
isLazyMount: true
|
|
34595
34548
|
};
|
|
34596
34549
|
|
|
34597
|
-
var _jsxFileName$3 = "
|
|
34550
|
+
var _jsxFileName$3 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/transition.js";
|
|
34598
34551
|
function Collapse({
|
|
34599
34552
|
children,
|
|
34600
34553
|
isOpen
|
|
@@ -34637,14 +34590,14 @@ Collapse.defaultProps = {
|
|
|
34637
34590
|
isOpen: false
|
|
34638
34591
|
};
|
|
34639
34592
|
|
|
34640
|
-
var _jsxFileName$2 = "
|
|
34593
|
+
var _jsxFileName$2 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/TableOfContent.js";
|
|
34641
34594
|
const DesktopContainer = styled(Flex$1, {
|
|
34642
34595
|
display: 'none',
|
|
34643
34596
|
'& .active-scroll-spy': {
|
|
34644
|
-
borderLeft: `4px solid ${colors$
|
|
34597
|
+
borderLeft: `4px solid ${colors$7.primary500} !important`
|
|
34645
34598
|
},
|
|
34646
34599
|
'& .active-scroll-spy .link-title': {
|
|
34647
|
-
color: `${colors$
|
|
34600
|
+
color: `${colors$7.primary500} !important`
|
|
34648
34601
|
},
|
|
34649
34602
|
'@md': {
|
|
34650
34603
|
display: 'unset'
|
|
@@ -34652,7 +34605,7 @@ const DesktopContainer = styled(Flex$1, {
|
|
|
34652
34605
|
});
|
|
34653
34606
|
const MobileContainer = styled(Flex$1, {
|
|
34654
34607
|
backgroundColor: '$white',
|
|
34655
|
-
border: `1px solid ${colors$
|
|
34608
|
+
border: `1px solid ${colors$7.gray150}`,
|
|
34656
34609
|
borderRadius: 8,
|
|
34657
34610
|
padding: '8px 8px',
|
|
34658
34611
|
width: '100%',
|
|
@@ -34779,7 +34732,7 @@ function Content({
|
|
|
34779
34732
|
marginLeft: '-4px !important',
|
|
34780
34733
|
borderLeftWidth: '4px !important',
|
|
34781
34734
|
borderLeftStyle: 'solid !important',
|
|
34782
|
-
borderLeftColor: `${(item == null ? void 0 : item.id) === activeId ? colors$
|
|
34735
|
+
borderLeftColor: `${(item == null ? void 0 : item.id) === activeId ? colors$7.primary500 : 'transparent'} !important`,
|
|
34783
34736
|
paddingLeft: '16px !important',
|
|
34784
34737
|
minHeight: 25
|
|
34785
34738
|
},
|
|
@@ -34998,7 +34951,7 @@ TableOfContentPage.defaultProps = {
|
|
|
34998
34951
|
useBoxMethod: true
|
|
34999
34952
|
};
|
|
35000
34953
|
|
|
35001
|
-
var _jsxFileName$1 = "
|
|
34954
|
+
var _jsxFileName$1 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/editableTable/transition.js";
|
|
35002
34955
|
function Collapalse({
|
|
35003
34956
|
children,
|
|
35004
34957
|
isOpen
|
|
@@ -53451,11 +53404,11 @@ function ProgressIndicator(props) {
|
|
|
53451
53404
|
const getColor = state => {
|
|
53452
53405
|
switch (state) {
|
|
53453
53406
|
case 'error':
|
|
53454
|
-
return colors$
|
|
53407
|
+
return colors$7.red400;
|
|
53455
53408
|
case 'active':
|
|
53456
|
-
return colors$
|
|
53409
|
+
return colors$7.primary500;
|
|
53457
53410
|
default:
|
|
53458
|
-
return colors$
|
|
53411
|
+
return colors$7.gray150;
|
|
53459
53412
|
}
|
|
53460
53413
|
};
|
|
53461
53414
|
const iconProps = {
|
|
@@ -54014,8 +53967,8 @@ function MapPicker(props) {
|
|
|
54014
53967
|
center: [center === null || center === void 0 ? void 0 : center.lat, center === null || center === void 0 ? void 0 : center.lng],
|
|
54015
53968
|
radius: radius,
|
|
54016
53969
|
pathOptions: {
|
|
54017
|
-
color: colors$
|
|
54018
|
-
fillColor: colors$
|
|
53970
|
+
color: colors$7.bgGreen,
|
|
53971
|
+
fillColor: colors$7.bgGreen
|
|
54019
53972
|
}
|
|
54020
53973
|
}, void 0), jsx(TileLayer, {
|
|
54021
53974
|
url: "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
|
|
@@ -55521,7 +55474,7 @@ function CheckboxTable(props) {
|
|
|
55521
55474
|
}
|
|
55522
55475
|
}, void 0) : jsx(MinusOutline, {
|
|
55523
55476
|
size: 16,
|
|
55524
|
-
color: colors$
|
|
55477
|
+
color: colors$7.iconDisable
|
|
55525
55478
|
}, void 0)
|
|
55526
55479
|
}, void 0)
|
|
55527
55480
|
}), index + indexSubRow + 'tb-cell-collapse');
|
|
@@ -55826,9 +55779,9 @@ const StyledSkeleton = props => {
|
|
|
55826
55779
|
function getBaseColor(color) {
|
|
55827
55780
|
switch (color) {
|
|
55828
55781
|
case 'primary':
|
|
55829
|
-
return colors$
|
|
55782
|
+
return colors$7.gray300;
|
|
55830
55783
|
default:
|
|
55831
|
-
return colors$
|
|
55784
|
+
return colors$7.gray150;
|
|
55832
55785
|
}
|
|
55833
55786
|
}
|
|
55834
55787
|
function getSize(size) {
|
|
@@ -55982,9 +55935,9 @@ function TagList({
|
|
|
55982
55935
|
}
|
|
55983
55936
|
}, {
|
|
55984
55937
|
children: [showAllTags ? jsx(ChevronUpOutline, {
|
|
55985
|
-
color: colors$
|
|
55938
|
+
color: colors$7.iconSecondary
|
|
55986
55939
|
}, void 0) : jsx(ChevronDownOutline, {
|
|
55987
|
-
color: colors$
|
|
55940
|
+
color: colors$7.iconSecondary
|
|
55988
55941
|
}, void 0), jsx(Paragraph, Object.assign({
|
|
55989
55942
|
css: {
|
|
55990
55943
|
fontWeight: 600,
|
|
@@ -56512,7 +56465,7 @@ PieChartComponent.defaultProps = {
|
|
|
56512
56465
|
innerRadius: 70
|
|
56513
56466
|
};
|
|
56514
56467
|
|
|
56515
|
-
var _jsxFileName = "
|
|
56468
|
+
var _jsxFileName = "/home/alfiantryp/Project/majoo-ui/packages/react/src/colors/Colors.js";
|
|
56516
56469
|
const StyledPaper = styled(Paper, {
|
|
56517
56470
|
borderRadius: '10px 10px 0 0',
|
|
56518
56471
|
padding: 15,
|
|
@@ -57814,4 +57767,4 @@ const useToggle = initialValue => {
|
|
|
57814
57767
|
return useReducer(toggleReducer, initialValue);
|
|
57815
57768
|
};
|
|
57816
57769
|
|
|
57817
|
-
export { ADVANCE_PICKER, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvancedOption, AlertDialog, AlertDialogCancel, AlertDialogConfirm, AlertDialogContent, AlertDialogDescription, AlertDialogFunction, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger, Avatar, BOTTOM_LEFT_POSITION, BOTTOM_RIGHT_POSITION, Badge, Banner, BannerClose, BannerDescription, BannerLink, BannerTitle, BarChartComponent as BarChart, Box, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button$4 as Button, ButtonDropdown, ButtonGroup$1 as ButtonGroup, ButtonGroupItem, ButtonPrimitive, Card, CardComponent, CardLineColor, Cell, CheckboxGroup, CheckboxTable, ColorPicker$1 as ColorPicker, Colors, ContentEditor, ContextMenu, ContextMenuItem, ContextMenuSeparator, ContextMenuTrigger, CustomDatePicker, DATE_RANGE_PICKER, DEFAULT, DateColumn, DatePicker, DecimalColumn, Device as DevicePreview, Dialog, DialogClose, DialogContent, DialogDescription, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerCloseButton, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuArrow, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuItemIndicator, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, EditableTable, Flex$1 as Flex, FormGroup, FormHelper, FormLabel, Grid, GridItem, Heading, IconButton, IconContainer, Image, ImageDevicePreview, Input$7 as Input, InputCheckbox, InputColorPicker, InputCombobox, InputCounter, InputCreatable, InputDatePicker, InputDateRange, InputGroup, InputLeftAddon, InputLeftElement, InputMapPicker, InputNumber, InputOTP, InputPrefix, InputRadio, InputRadioGroup,
|
|
57770
|
+
export { ADVANCE_PICKER, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvancedOption, AlertDialog, AlertDialogCancel, AlertDialogConfirm, AlertDialogContent, AlertDialogDescription, AlertDialogFunction, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger, Avatar, BOTTOM_LEFT_POSITION, BOTTOM_RIGHT_POSITION, Badge, Banner, BannerClose, BannerDescription, BannerLink, BannerTitle, BarChartComponent as BarChart, Box, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button$4 as Button, ButtonDropdown, ButtonGroup$1 as ButtonGroup, ButtonGroupItem, ButtonPrimitive, Card, CardComponent, CardLineColor, Cell, CheckboxGroup, CheckboxTable, ColorPicker$1 as ColorPicker, Colors, ContentEditor, ContextMenu, ContextMenuItem, ContextMenuSeparator, ContextMenuTrigger, CustomDatePicker, DATE_RANGE_PICKER, DEFAULT, DateColumn, DatePicker, DecimalColumn, Device as DevicePreview, Dialog, DialogClose, DialogContent, DialogDescription, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerCloseButton, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuArrow, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuItemIndicator, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, EditableTable, Flex$1 as Flex, FormGroup, FormHelper, FormLabel, Grid, GridItem, Heading, IconButton, IconContainer, Image, ImageDevicePreview, Input$7 as Input, InputCheckbox, InputColorPicker, InputCombobox, InputCounter, InputCreatable, InputDatePicker, InputDateRange, InputGroup, InputLeftAddon, InputLeftElement, InputMapPicker, InputNumber, InputOTP, InputPrefix, InputRadio, InputRadioGroup, InputResourceList, InputRightAddon, InputRightElement, InputSearchbox, InputSelect, InputSelectCheck, InputSelectTag, InputSignature, InputSuffix, InputSwitch, TagsInput as InputTags, InputText, InputTextArea, InputTimePicker, LAST_30_DAYS, LAST_7_DAYS, LAST_MONTH, LAST_TWO_MONTHS, LAST_WEEK, LineChart, Link, LoadingBar, MONTHLY, MajooProvider, MapPicker, MemoizedEditableTable, MobileTable, ModalDialog, ModalDialogContent, ModalDialogFooter, ModalDialogTitle, ModalDialogTrigger, NEXT_MONTH, NEXT_WEEK, NativeTimePicker, NotificationBadge, OptionWrapper$2 as OptionWrapper, PREV_MONTH, PREV_WEEK, PageContainer, PageDialog, PageDialogContent, PageDialogFooter, PageDialogTitle, PageDialogTrigger, Pagination, Paper, PaperComponent, Paragraph, PieChartComponent as PieChart, Popover, PopoverClose, PopoverContent, PopoverTrigger, PriceColumn, Progress$1 as Progress, ProgressIndicator, RANGE_CONTROL, RANGE_MONTH, RANGE_PICKER, RANGE_WEEK, ResendOTP, RightSlot, rowExpanderColumn as RowExpanderColumn, rowExpanderMultipleColumn as RowExpanderMultipleColumn, rowMenuColumn as RowMenuColumn, rowSelectionColumn as RowSelectionColumn, rowSelectionWithCallbackColumn as RowSelectionWithCallbackColumn, SINGLE_PICKER, ScrollSync, ScrollSyncNode, SelectBox, SelectContainer, SelectItem, SelectOption, Separator$2 as Separator, Skeleton, Slider, StepWizard, StepWizardContext, StyledBox, StyledDropdown, StyledInput$1 as StyledInput, StyledSpan, StyledTitle$2 as StyledTitle, THIS_MONTH, THIS_WEEK, TODAY, TOP_LEFT_POSITION, TOP_RIGHT_POSITION, Table, TableBody$3 as TableBody, TableCell$3 as TableCell, TableColumn, TableContent$3 as TableContent, TableFoot$2 as TableFoot, TableFootCell$2 as TableFootCell, TableFootRow$2 as TableFootRow, TableHead$3 as TableHead, TableHeadCellContent, TableHeaderCellContainer, TableOfContent, TableOfContentPage, TableRow$3 as TableRow, Tabs$1 as Tabs, TabsContent$1 as TabsContent, TabsList$1 as TabsList, TabsTrigger$1 as TabsTrigger, Tag, TagList, TagStatus, Text$1 as Text, TextVariantsEnum, TimePicker, ToastContext, ToastProvider, Tooltip$1 as Tooltip, UPDATE_PICKER, Upload, WEEKLY, YESTERDAY, addOnCellStyle, advancePickerDate, advancePickerOptionsEn, advancePickerOptionsId, defaultEmptyDataProps, defaultFetchDataParams, pickerReducer, useListOption, useToggle };
|