@majoo-ui/react 1.61.19-rc.2 → 1.61.19-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.esm.js
CHANGED
|
@@ -57,7 +57,7 @@ import imageCompressionComponent from 'browser-image-compression';
|
|
|
57
57
|
import { useSticky } from 'react-table-sticky';
|
|
58
58
|
import SignaturePad from 'react-signature-pad-wrapper';
|
|
59
59
|
|
|
60
|
-
var _jsxFileName$13 = "
|
|
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,
|
|
@@ -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%',
|
|
@@ -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';
|
|
@@ -5961,7 +5961,7 @@ Toast.defaultProps = {
|
|
|
5961
5961
|
};
|
|
5962
5962
|
|
|
5963
5963
|
const _excluded$t = ["preventDuplicate"];
|
|
5964
|
-
var _jsxFileName$U = "
|
|
5964
|
+
var _jsxFileName$U = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/ToastContainer.js";
|
|
5965
5965
|
const ToastBox = styled(Flex$1, {
|
|
5966
5966
|
position: 'fixed',
|
|
5967
5967
|
variants: {
|
|
@@ -7311,7 +7311,7 @@ const catchError = e => {
|
|
|
7311
7311
|
};
|
|
7312
7312
|
|
|
7313
7313
|
const _excluded$s = ["id", "disabledOfflineIntercept"];
|
|
7314
|
-
var _jsxFileName$T = "
|
|
7314
|
+
var _jsxFileName$T = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/context/ToastProvider.js";
|
|
7315
7315
|
let toastCount = 0;
|
|
7316
7316
|
const ToastProvider = ({
|
|
7317
7317
|
children,
|
|
@@ -7432,7 +7432,7 @@ const ConditionalWrapper = ({
|
|
|
7432
7432
|
}) => condition ? wrapper(children) : children;
|
|
7433
7433
|
|
|
7434
7434
|
const _excluded$r = ["count", "maxCount", "css"];
|
|
7435
|
-
var _jsxFileName$S = "
|
|
7435
|
+
var _jsxFileName$S = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormGroup/FormGroup.js";
|
|
7436
7436
|
const formLabelClassStyle = {
|
|
7437
7437
|
alignItems: 'start !important',
|
|
7438
7438
|
'& > div': {
|
|
@@ -7583,7 +7583,7 @@ const FormGroup = _ref => {
|
|
|
7583
7583
|
FormGroup.displayName = 'FormGroup';
|
|
7584
7584
|
|
|
7585
7585
|
const _excluded$q = ["children", "htmlFor", "variant", "variants", "tooltipLabel", "count", "maxCount", "labelCss"];
|
|
7586
|
-
var _jsxFileName$R = "
|
|
7586
|
+
var _jsxFileName$R = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormLabel/Label.js";
|
|
7587
7587
|
const StyledLabel$1 = styled(LabelPrimitive.Root, Text$1, {
|
|
7588
7588
|
display: 'inline-block',
|
|
7589
7589
|
fontSize: '$label',
|
|
@@ -7700,7 +7700,7 @@ FormLabel.defaultProps = {
|
|
|
7700
7700
|
FormLabel.displayName = 'FormLabel';
|
|
7701
7701
|
|
|
7702
7702
|
const _excluded$p = ["children", "error", "errorMessage"];
|
|
7703
|
-
var _jsxFileName$Q = "
|
|
7703
|
+
var _jsxFileName$Q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormHelper/Helper.js";
|
|
7704
7704
|
const StyledHelper = styled(Text$1, {
|
|
7705
7705
|
display: 'inline-block',
|
|
7706
7706
|
color: '$textSecondary',
|
|
@@ -7755,7 +7755,7 @@ FormHelper.propTypes = {
|
|
|
7755
7755
|
};
|
|
7756
7756
|
FormHelper.displayName = 'FormHelper';
|
|
7757
7757
|
|
|
7758
|
-
var _jsxFileName$P = "
|
|
7758
|
+
var _jsxFileName$P = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/CheckboxGroup.js";
|
|
7759
7759
|
const CheckboxContext = /*#__PURE__*/createContext();
|
|
7760
7760
|
const CheckboxGroup = ({
|
|
7761
7761
|
children,
|
|
@@ -7813,7 +7813,7 @@ CheckboxGroup.defaultProps = {
|
|
|
7813
7813
|
};
|
|
7814
7814
|
CheckboxGroup.displayName = 'CheckboxGroup';
|
|
7815
7815
|
|
|
7816
|
-
var _jsxFileName$O = "
|
|
7816
|
+
var _jsxFileName$O = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/CheckOutline.js";
|
|
7817
7817
|
const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
7818
7818
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7819
7819
|
xmlSpace: "preserve",
|
|
@@ -7860,7 +7860,7 @@ const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends
|
|
|
7860
7860
|
}
|
|
7861
7861
|
}));
|
|
7862
7862
|
|
|
7863
|
-
var _jsxFileName$N = "
|
|
7863
|
+
var _jsxFileName$N = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/MinusOutline.js";
|
|
7864
7864
|
const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
7865
7865
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7866
7866
|
xmlSpace: "preserve",
|
|
@@ -7908,7 +7908,7 @@ const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extend
|
|
|
7908
7908
|
}));
|
|
7909
7909
|
|
|
7910
7910
|
const _excluded$o = ["id", "checked", "indeterminate", "disabled", "onCheckedChange", "label", "index", "value"];
|
|
7911
|
-
var _jsxFileName$M = "
|
|
7911
|
+
var _jsxFileName$M = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/InputCheckbox.js";
|
|
7912
7912
|
const StyledIndicator$2 = styled(CheckboxPrimitive.Indicator, {
|
|
7913
7913
|
alignItems: 'center',
|
|
7914
7914
|
display: 'flex',
|
|
@@ -8069,7 +8069,7 @@ InputCheckbox.propTypes = {
|
|
|
8069
8069
|
InputCheckbox.displayName = 'InputCheckbox';
|
|
8070
8070
|
|
|
8071
8071
|
const _excluded$n = ["children", "size"];
|
|
8072
|
-
var _jsxFileName$L = "
|
|
8072
|
+
var _jsxFileName$L = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputGroup/InputGroup.js";
|
|
8073
8073
|
const InputGroupStyle = styled('div', {
|
|
8074
8074
|
display: 'flex',
|
|
8075
8075
|
width: '100%',
|
|
@@ -8239,12 +8239,12 @@ const InputGroup = _ref => {
|
|
|
8239
8239
|
}));
|
|
8240
8240
|
};
|
|
8241
8241
|
InputGroup.propTypes = {
|
|
8242
|
-
/**
|
|
8243
|
-
Adjust Input Text Size
|
|
8242
|
+
/**
|
|
8243
|
+
Adjust Input Text Size
|
|
8244
8244
|
*/
|
|
8245
8245
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
8246
|
-
/**
|
|
8247
|
-
Children must be InputText, InputAddon, or InputPrefixes
|
|
8246
|
+
/**
|
|
8247
|
+
Children must be InputText, InputAddon, or InputPrefixes
|
|
8248
8248
|
*/
|
|
8249
8249
|
children: PropTypes.node.isRequired,
|
|
8250
8250
|
/** Error state */
|
|
@@ -8418,7 +8418,7 @@ InputSuffix.propTypes = {
|
|
|
8418
8418
|
};
|
|
8419
8419
|
|
|
8420
8420
|
const _excluded$m = ["disabled", "readOnly"];
|
|
8421
|
-
var _jsxFileName$K = "
|
|
8421
|
+
var _jsxFileName$K = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputText/InputText.js";
|
|
8422
8422
|
const disabledStyle = {
|
|
8423
8423
|
backgroundColor: '$formDisable',
|
|
8424
8424
|
color: '$textDisable',
|
|
@@ -8548,8 +8548,8 @@ const StyledInput$1 = styled('input', {
|
|
|
8548
8548
|
}
|
|
8549
8549
|
}
|
|
8550
8550
|
},
|
|
8551
|
-
/**
|
|
8552
|
-
* Please insert size with string 'sm' | 'lg'
|
|
8551
|
+
/**
|
|
8552
|
+
* Please insert size with string 'sm' | 'lg'
|
|
8553
8553
|
*/
|
|
8554
8554
|
size: {
|
|
8555
8555
|
sm: {
|
|
@@ -8620,7 +8620,7 @@ InputText.propTypes = {
|
|
|
8620
8620
|
InputText.displayName = 'InputText';
|
|
8621
8621
|
|
|
8622
8622
|
const _excluded$l = ["disabled", "readOnly"];
|
|
8623
|
-
var _jsxFileName$J = "
|
|
8623
|
+
var _jsxFileName$J = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTextArea/InputTextArea.js";
|
|
8624
8624
|
const StyledTextArea = styled(StyledInput$1, {
|
|
8625
8625
|
variants: {
|
|
8626
8626
|
size: {
|
|
@@ -8698,7 +8698,7 @@ InputTextArea.defaultProps = {
|
|
|
8698
8698
|
|
|
8699
8699
|
const InputRadioContext = /*#__PURE__*/React__default.createContext();
|
|
8700
8700
|
|
|
8701
|
-
var _jsxFileName$I = "
|
|
8701
|
+
var _jsxFileName$I = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadioGroup.js";
|
|
8702
8702
|
const RadioGroup = styled(RadioGroupPrimitive.Root, Flex$1);
|
|
8703
8703
|
function InputRadioGroup(props) {
|
|
8704
8704
|
return (props == null ? void 0 : props.children) && /*#__PURE__*/React__default.createElement(InputRadioContext.Provider, {
|
|
@@ -8732,7 +8732,7 @@ InputRadioGroup.propTypes = {
|
|
|
8732
8732
|
InputRadioGroup.displayName = 'InputRadioGroup';
|
|
8733
8733
|
|
|
8734
8734
|
const _excluded$k = ["id", "disabled", "css", "inputType", "inputProps", "description", "readOnly"];
|
|
8735
|
-
var _jsxFileName$H = "
|
|
8735
|
+
var _jsxFileName$H = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadio.js";
|
|
8736
8736
|
const INDICATOR_BASE_STYLES = {
|
|
8737
8737
|
alignItems: 'center',
|
|
8738
8738
|
display: 'flex',
|
|
@@ -11099,7 +11099,7 @@ var NumberFormat = /*@__PURE__*/function (superclass) {
|
|
|
11099
11099
|
NumberFormat.defaultProps = defaultProps;
|
|
11100
11100
|
|
|
11101
11101
|
const _excluded$j = ["placeholder", "value", "size", "isInvalid", "readOnly", "disabled", "control", "name", "maxValueLength", "maxLength", "thousandSeparator"];
|
|
11102
|
-
var _jsxFileName$G = "
|
|
11102
|
+
var _jsxFileName$G = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputNumber/InputNumber.js";
|
|
11103
11103
|
const StyledInput = styled(NumberFormat, {
|
|
11104
11104
|
// Reset
|
|
11105
11105
|
appearance: 'none',
|
|
@@ -11360,7 +11360,7 @@ InputNumber.name = 'InputText';
|
|
|
11360
11360
|
InputNumber.displayName = 'InputNumber';
|
|
11361
11361
|
|
|
11362
11362
|
const _excluded$i = ["className", "children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"];
|
|
11363
|
-
var _jsxFileName$F = "
|
|
11363
|
+
var _jsxFileName$F = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tag/Tag.js";
|
|
11364
11364
|
const TagWrapper$4 = styled('div', {
|
|
11365
11365
|
boxSizing: 'border-box',
|
|
11366
11366
|
listStyle: 'none',
|
|
@@ -11536,7 +11536,7 @@ Tag.defaultProps = {
|
|
|
11536
11536
|
};
|
|
11537
11537
|
|
|
11538
11538
|
const _excluded$h = ["size", "isInvalid", "placeholder", "onChange", "onEnter", "onInputChange", "value", "disabled", "readOnly", "max", "maxChar", "pattern", "helperText", "unremovableTags", "onRemoveItem"];
|
|
11539
|
-
var _jsxFileName$E = "
|
|
11539
|
+
var _jsxFileName$E = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTags/InputTags.js";
|
|
11540
11540
|
const Wrapper$2 = styled('div', {
|
|
11541
11541
|
margin: 0,
|
|
11542
11542
|
flexDirection: 'column',
|
|
@@ -11833,7 +11833,7 @@ TagsInput.defaultProps = {
|
|
|
11833
11833
|
};
|
|
11834
11834
|
|
|
11835
11835
|
const _excluded$g = ["id", "defaultChecked", "dataOnLabel", "dataOffLabel", "disabled"];
|
|
11836
|
-
var _jsxFileName$D = "
|
|
11836
|
+
var _jsxFileName$D = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSwitch/InputSwitch.js";
|
|
11837
11837
|
const StyledThumb$1 = styled(SwitchPrimitive.Thumb, {
|
|
11838
11838
|
display: 'block',
|
|
11839
11839
|
width: '16px',
|
|
@@ -11938,7 +11938,7 @@ InputSwitch.propTypes = {
|
|
|
11938
11938
|
};
|
|
11939
11939
|
InputSwitch.displayName = 'InputSwitch';
|
|
11940
11940
|
|
|
11941
|
-
var _jsxFileName$C = "
|
|
11941
|
+
var _jsxFileName$C = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/CloseFilled.js";
|
|
11942
11942
|
const SvgCloseFilled = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
11943
11943
|
width: props.size,
|
|
11944
11944
|
height: props.size,
|
|
@@ -11997,7 +11997,7 @@ SvgCloseFilled.defaultProps = {
|
|
|
11997
11997
|
size: 24
|
|
11998
11998
|
};
|
|
11999
11999
|
|
|
12000
|
-
var _jsxFileName$B = "
|
|
12000
|
+
var _jsxFileName$B = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/SearchOutline.js";
|
|
12001
12001
|
const SvgSearchOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
12002
12002
|
width: props.size,
|
|
12003
12003
|
height: props.size,
|
|
@@ -12038,7 +12038,7 @@ SvgSearchOutline.defaultProps = {
|
|
|
12038
12038
|
};
|
|
12039
12039
|
|
|
12040
12040
|
const _excluded$f = ["size", "onChange", "css", "disabled", "withDebounce", "defaultValue", "mobileOnly", "desktopOnly"];
|
|
12041
|
-
var _jsxFileName$A = "
|
|
12041
|
+
var _jsxFileName$A = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/InputSearchbox.js";
|
|
12042
12042
|
const {
|
|
12043
12043
|
colors: colors$6
|
|
12044
12044
|
} = foundations;
|
|
@@ -12528,7 +12528,7 @@ function isFunction$1(value) {
|
|
|
12528
12528
|
var isFunction_1 = isFunction$1;
|
|
12529
12529
|
|
|
12530
12530
|
const _excluded$e = ["children"];
|
|
12531
|
-
var _jsxFileName$z = "
|
|
12531
|
+
var _jsxFileName$z = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/popover/Popover.js";
|
|
12532
12532
|
const {
|
|
12533
12533
|
zIndices: zIndices$1
|
|
12534
12534
|
} = foundations;
|
|
@@ -14105,7 +14105,7 @@ const InputSelect = /*#__PURE__*/React.forwardRef((_a, ref) => {
|
|
|
14105
14105
|
}), void 0);
|
|
14106
14106
|
});
|
|
14107
14107
|
|
|
14108
|
-
var _jsxFileName$y = "
|
|
14108
|
+
var _jsxFileName$y = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/icon/CheckOutline.js";
|
|
14109
14109
|
const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
14110
14110
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14111
14111
|
xmlSpace: "preserve",
|
|
@@ -14186,7 +14186,7 @@ function OptionGroupItem({
|
|
|
14186
14186
|
}
|
|
14187
14187
|
|
|
14188
14188
|
const _excluded$d = ["placeholder", "option", "value", "defaultValue", "size", "disabled", "onChange", "search", "readOnly", "placement", "disabledOptions", "textEmptyItem", "onRemoveItem", "isInvalid", "sortBy", "showSelectAll", "showTagSelectAll", "selectAllLabel", "showSelectedTag", "unremovableTags", "helperText", "css", "showCounter", "labelCounter", "collapsible", "toggleInput", "fetchData", "onSearch", "isLoading", "maxSelectedItem", "mobileOnly", "desktopOnly", "label", "tagCss", "checkBoxCss", "optionListCss", "showCollapsibleCounter", "collapsibleLimit", "pageIndex", "onSelectAllChecked", "totalOptions", "clearSearchOnSelect", "onItemClick"];
|
|
14189
|
-
var _jsxFileName$x = "
|
|
14189
|
+
var _jsxFileName$x = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/InputSelectCheck.js";
|
|
14190
14190
|
const Wrapper$1 = styled('div', {
|
|
14191
14191
|
margin: 0,
|
|
14192
14192
|
flexDirection: 'column',
|
|
@@ -14490,7 +14490,9 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14490
14490
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$d);
|
|
14491
14491
|
const {
|
|
14492
14492
|
t,
|
|
14493
|
-
|
|
14493
|
+
i18n: {
|
|
14494
|
+
language
|
|
14495
|
+
}
|
|
14494
14496
|
} = useTranslation(['MajooUI/inputSelectCheck', 'translation']);
|
|
14495
14497
|
const [initItem, setInitItems] = React__default.useState(option); //init filter selectedItems on useMultipleSelection
|
|
14496
14498
|
const [items, setItems] = React__default.useState([]);
|
|
@@ -14516,37 +14518,6 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14516
14518
|
setInputSelectValue(value);
|
|
14517
14519
|
}
|
|
14518
14520
|
}, [value, defaultValue]);
|
|
14519
|
-
const sortItems = React__default.useCallback(() => {
|
|
14520
|
-
if (sortBy === 'id') {
|
|
14521
|
-
option.sort(function (a, b) {
|
|
14522
|
-
const idA = typeof a.id === 'string' ? a.id.toUpperCase() : a.id; // ignore upper and lowercase
|
|
14523
|
-
const idB = typeof b.id === 'string' ? b.id.toUpperCase() : b.id; // ignore upper and lowercase
|
|
14524
|
-
if (a.id === '!all') return -1;
|
|
14525
|
-
if (b.id === '!all') return 1;
|
|
14526
|
-
if (idA < idB) {
|
|
14527
|
-
return -1;
|
|
14528
|
-
}
|
|
14529
|
-
if (idA > idB) {
|
|
14530
|
-
return 1;
|
|
14531
|
-
}
|
|
14532
|
-
return 0;
|
|
14533
|
-
});
|
|
14534
|
-
} else if (sortBy === 'name') {
|
|
14535
|
-
option.sort(function (a, b) {
|
|
14536
|
-
const nameA = typeof a.name === 'string' ? a.name.toUpperCase() : a.name; // ignore upper and lowercase
|
|
14537
|
-
const nameB = typeof b.name === 'string' ? b.name.toUpperCase() : b.name; // ignore upper and lowercase
|
|
14538
|
-
if (a.id === '!all') return -1;
|
|
14539
|
-
if (b.id === '!all') return 1;
|
|
14540
|
-
if (nameA < nameB) {
|
|
14541
|
-
return -1;
|
|
14542
|
-
}
|
|
14543
|
-
if (nameA > nameB) {
|
|
14544
|
-
return 1;
|
|
14545
|
-
}
|
|
14546
|
-
return 0;
|
|
14547
|
-
});
|
|
14548
|
-
}
|
|
14549
|
-
}, [sortBy, option]);
|
|
14550
14521
|
const sortValue = selectedValue.length > 0 && disabledOptions.length === 0 ? inputSelectValue.reduce((res, id, i, {
|
|
14551
14522
|
[i + 1]: next
|
|
14552
14523
|
}) => {
|
|
@@ -14814,45 +14785,63 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14814
14785
|
}
|
|
14815
14786
|
}
|
|
14816
14787
|
});
|
|
14817
|
-
const memoOptions = useMemo(() =>
|
|
14818
|
-
const
|
|
14819
|
-
if (
|
|
14820
|
-
|
|
14821
|
-
|
|
14822
|
-
|
|
14823
|
-
|
|
14824
|
-
|
|
14788
|
+
const memoOptions = useMemo(() => {
|
|
14789
|
+
const optionsCopy = option ? [...option] : [];
|
|
14790
|
+
if (sortBy === 'id') {
|
|
14791
|
+
optionsCopy.sort((a, b) => {
|
|
14792
|
+
const idA = typeof a.id === 'string' ? a.id.toUpperCase() : a.id;
|
|
14793
|
+
const idB = typeof b.id === 'string' ? b.id.toUpperCase() : b.id;
|
|
14794
|
+
if (a.id === '!all') return -1;
|
|
14795
|
+
if (b.id === '!all') return 1;
|
|
14796
|
+
if (idA < idB) return -1;
|
|
14797
|
+
if (idA > idB) return 1;
|
|
14798
|
+
return 0;
|
|
14799
|
+
});
|
|
14800
|
+
} else if (sortBy === 'name') {
|
|
14801
|
+
optionsCopy.sort((a, b) => {
|
|
14802
|
+
const nameA = typeof a.name === 'string' ? a.name.toUpperCase() : a.name;
|
|
14803
|
+
const nameB = typeof b.name === 'string' ? b.name.toUpperCase() : b.name;
|
|
14804
|
+
if (a.id === '!all') return -1;
|
|
14805
|
+
if (b.id === '!all') return 1;
|
|
14806
|
+
if (nameA < nameB) return -1;
|
|
14807
|
+
if (nameA > nameB) return 1;
|
|
14808
|
+
return 0;
|
|
14809
|
+
});
|
|
14825
14810
|
}
|
|
14826
|
-
return item
|
|
14827
|
-
|
|
14811
|
+
return maxSelectedItem ? optionsCopy.map(item => {
|
|
14812
|
+
const isMaxSelectedItem = maxSelectedItem && (selectedValue == null ? void 0 : selectedValue.length) >= maxSelectedItem;
|
|
14813
|
+
if (isMaxSelectedItem && !(selectedValue != null && selectedValue.includes(item.id))) {
|
|
14814
|
+
item.hideCheck = true;
|
|
14815
|
+
item.isDisabled = true;
|
|
14816
|
+
} else {
|
|
14817
|
+
item.hideCheck = false;
|
|
14818
|
+
item.isDisabled = false;
|
|
14819
|
+
}
|
|
14820
|
+
return item;
|
|
14821
|
+
}) : optionsCopy;
|
|
14822
|
+
}, [maxSelectedItem, option, selectedValue, sortBy]);
|
|
14828
14823
|
const memoOptionsString = useMemo(() => JSON.stringify(memoOptions), [memoOptions]);
|
|
14829
14824
|
const itemsLength = items == null ? void 0 : items.reduce((acc, item) => {
|
|
14830
14825
|
return [...acc, ...(item.children ? item.children : [item])];
|
|
14831
14826
|
}, []).length;
|
|
14832
14827
|
useEffect(() => {
|
|
14833
|
-
if (
|
|
14834
|
-
sortItems();
|
|
14828
|
+
if (!inputValue || fetchData) {
|
|
14835
14829
|
setItems(isShowSelectAll ? [{
|
|
14836
14830
|
id: '!all',
|
|
14837
|
-
name: selectAllLabel != null ? selectAllLabel :
|
|
14831
|
+
name: selectAllLabel != null ? selectAllLabel : language === 'en' ? 'Select All' : 'Pilih Semua'
|
|
14838
14832
|
}, ...memoOptions] : memoOptions);
|
|
14839
14833
|
setInitItems(isShowSelectAll ? [{
|
|
14840
14834
|
id: '!all',
|
|
14841
|
-
name: selectAllLabel != null ? selectAllLabel :
|
|
14835
|
+
name: selectAllLabel != null ? selectAllLabel : language === 'en' ? 'Select All' : 'Pilih Semua'
|
|
14842
14836
|
}, ...memoOptions] : memoOptions);
|
|
14843
14837
|
}
|
|
14844
|
-
}, [isShowSelectAll, selectAllLabel,
|
|
14838
|
+
}, [isShowSelectAll, selectAllLabel, language, memoOptionsString, inputValue, sortBy]);
|
|
14845
14839
|
useEffect(() => {
|
|
14846
14840
|
if (selectedValue.length > 0 && disabledOptions.length === 0) {
|
|
14847
14841
|
setInitItems(sortValue);
|
|
14848
14842
|
setItems(sortValue);
|
|
14849
14843
|
}
|
|
14850
14844
|
}, []);
|
|
14851
|
-
useEffect(() => {
|
|
14852
|
-
if (sortBy) {
|
|
14853
|
-
sortItems();
|
|
14854
|
-
}
|
|
14855
|
-
}, [sortBy]);
|
|
14856
14845
|
useEffect(() => {
|
|
14857
14846
|
if (disabledOptions.length > 0) {
|
|
14858
14847
|
const options = generateOptions(sortDisabled);
|
|
@@ -14912,7 +14901,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14912
14901
|
__self: undefined,
|
|
14913
14902
|
__source: {
|
|
14914
14903
|
fileName: _jsxFileName$x,
|
|
14915
|
-
lineNumber:
|
|
14904
|
+
lineNumber: 774,
|
|
14916
14905
|
columnNumber: 9
|
|
14917
14906
|
}
|
|
14918
14907
|
}), /*#__PURE__*/React__default.createElement(IconWrapper, {
|
|
@@ -14926,7 +14915,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14926
14915
|
__self: undefined,
|
|
14927
14916
|
__source: {
|
|
14928
14917
|
fileName: _jsxFileName$x,
|
|
14929
|
-
lineNumber:
|
|
14918
|
+
lineNumber: 793,
|
|
14930
14919
|
columnNumber: 11
|
|
14931
14920
|
}
|
|
14932
14921
|
}, !(item != null && item.hideCheck) && (item.isDisabled ? /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
@@ -14934,7 +14923,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14934
14923
|
__self: undefined,
|
|
14935
14924
|
__source: {
|
|
14936
14925
|
fileName: _jsxFileName$x,
|
|
14937
|
-
lineNumber:
|
|
14926
|
+
lineNumber: 805,
|
|
14938
14927
|
columnNumber: 17
|
|
14939
14928
|
}
|
|
14940
14929
|
}) : selectedValue.includes(item.id) && (item.isDisabled === false || item.isDisabled === undefined) && /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
@@ -14942,21 +14931,21 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14942
14931
|
__self: undefined,
|
|
14943
14932
|
__source: {
|
|
14944
14933
|
fileName: _jsxFileName$x,
|
|
14945
|
-
lineNumber:
|
|
14934
|
+
lineNumber: 809,
|
|
14946
14935
|
columnNumber: 19
|
|
14947
14936
|
}
|
|
14948
14937
|
})), isShowSelectAll && (item == null ? void 0 : item.id) === '!all' && selectedValue != null && selectedValue.length && (selectedValue == null ? void 0 : selectedValue.length) < itemsLength ? /*#__PURE__*/React__default.createElement(IndeterminateFilled$1, {
|
|
14949
14938
|
__self: undefined,
|
|
14950
14939
|
__source: {
|
|
14951
14940
|
fileName: _jsxFileName$x,
|
|
14952
|
-
lineNumber:
|
|
14941
|
+
lineNumber: 813,
|
|
14953
14942
|
columnNumber: 15
|
|
14954
14943
|
}
|
|
14955
14944
|
}, "-") : /*#__PURE__*/React__default.createElement("div", {
|
|
14956
14945
|
__self: undefined,
|
|
14957
14946
|
__source: {
|
|
14958
14947
|
fileName: _jsxFileName$x,
|
|
14959
|
-
lineNumber:
|
|
14948
|
+
lineNumber: 815,
|
|
14960
14949
|
columnNumber: 15
|
|
14961
14950
|
}
|
|
14962
14951
|
})), /*#__PURE__*/React__default.createElement(Item$2, {
|
|
@@ -14967,7 +14956,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14967
14956
|
__self: undefined,
|
|
14968
14957
|
__source: {
|
|
14969
14958
|
fileName: _jsxFileName$x,
|
|
14970
|
-
lineNumber:
|
|
14959
|
+
lineNumber: 818,
|
|
14971
14960
|
columnNumber: 11
|
|
14972
14961
|
}
|
|
14973
14962
|
}, item.render ? item.render == null ? void 0 : item.render(item.name) : item.name));
|
|
@@ -14995,7 +14984,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14995
14984
|
__self: undefined,
|
|
14996
14985
|
__source: {
|
|
14997
14986
|
fileName: _jsxFileName$x,
|
|
14998
|
-
lineNumber:
|
|
14987
|
+
lineNumber: 834,
|
|
14999
14988
|
columnNumber: 13
|
|
15000
14989
|
}
|
|
15001
14990
|
}), /*#__PURE__*/React__default.createElement(IconWrapper, {
|
|
@@ -15008,7 +14997,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15008
14997
|
__self: undefined,
|
|
15009
14998
|
__source: {
|
|
15010
14999
|
fileName: _jsxFileName$x,
|
|
15011
|
-
lineNumber:
|
|
15000
|
+
lineNumber: 847,
|
|
15012
15001
|
columnNumber: 15
|
|
15013
15002
|
}
|
|
15014
15003
|
}, !(item != null && item.hideCheck) && item.isDisabled ? /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
@@ -15016,7 +15005,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15016
15005
|
__self: undefined,
|
|
15017
15006
|
__source: {
|
|
15018
15007
|
fileName: _jsxFileName$x,
|
|
15019
|
-
lineNumber:
|
|
15008
|
+
lineNumber: 857,
|
|
15020
15009
|
columnNumber: 19
|
|
15021
15010
|
}
|
|
15022
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, {
|
|
@@ -15024,14 +15013,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15024
15013
|
__self: undefined,
|
|
15025
15014
|
__source: {
|
|
15026
15015
|
fileName: _jsxFileName$x,
|
|
15027
|
-
lineNumber:
|
|
15016
|
+
lineNumber: 859,
|
|
15028
15017
|
columnNumber: 19
|
|
15029
15018
|
}
|
|
15030
15019
|
}) : (filterSelectedChild == null ? void 0 : filterSelectedChild.length) > 0 ? /*#__PURE__*/React__default.createElement(IndeterminateFilled$1, {
|
|
15031
15020
|
__self: undefined,
|
|
15032
15021
|
__source: {
|
|
15033
15022
|
fileName: _jsxFileName$x,
|
|
15034
|
-
lineNumber:
|
|
15023
|
+
lineNumber: 861,
|
|
15035
15024
|
columnNumber: 19
|
|
15036
15025
|
}
|
|
15037
15026
|
}, "-") : null), /*#__PURE__*/React__default.createElement(Item$2, {
|
|
@@ -15042,14 +15031,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15042
15031
|
__self: undefined,
|
|
15043
15032
|
__source: {
|
|
15044
15033
|
fileName: _jsxFileName$x,
|
|
15045
|
-
lineNumber:
|
|
15034
|
+
lineNumber: 864,
|
|
15046
15035
|
columnNumber: 15
|
|
15047
15036
|
}
|
|
15048
15037
|
}, item.render ? item.render == null ? void 0 : item.render(item.name) : item.name)),
|
|
15049
15038
|
__self: undefined,
|
|
15050
15039
|
__source: {
|
|
15051
15040
|
fileName: _jsxFileName$x,
|
|
15052
|
-
lineNumber:
|
|
15041
|
+
lineNumber: 832,
|
|
15053
15042
|
columnNumber: 9
|
|
15054
15043
|
}
|
|
15055
15044
|
}, item == null || (_item$children8 = item.children) == null ? void 0 : _item$children8.map((optItem, optIndex) => renderOptionItem(optItem, groupIndex + optIndex + 1, true)));
|
|
@@ -15062,7 +15051,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15062
15051
|
__self: undefined,
|
|
15063
15052
|
__source: {
|
|
15064
15053
|
fileName: _jsxFileName$x,
|
|
15065
|
-
lineNumber:
|
|
15054
|
+
lineNumber: 876,
|
|
15066
15055
|
columnNumber: 7
|
|
15067
15056
|
}
|
|
15068
15057
|
}), /*#__PURE__*/React__default.createElement(Select, {
|
|
@@ -15072,7 +15061,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15072
15061
|
__self: undefined,
|
|
15073
15062
|
__source: {
|
|
15074
15063
|
fileName: _jsxFileName$x,
|
|
15075
|
-
lineNumber:
|
|
15064
|
+
lineNumber: 877,
|
|
15076
15065
|
columnNumber: 9
|
|
15077
15066
|
}
|
|
15078
15067
|
}, /*#__PURE__*/React__default.createElement(InputWrapper$1, _extends({}, getComboboxProps(getDropdownProps({
|
|
@@ -15087,7 +15076,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15087
15076
|
__self: undefined,
|
|
15088
15077
|
__source: {
|
|
15089
15078
|
fileName: _jsxFileName$x,
|
|
15090
|
-
lineNumber:
|
|
15079
|
+
lineNumber: 878,
|
|
15091
15080
|
columnNumber: 11
|
|
15092
15081
|
}
|
|
15093
15082
|
}), /*#__PURE__*/React__default.createElement(Input$6, _extends({}, getInputProps({
|
|
@@ -15105,7 +15094,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15105
15094
|
__self: undefined,
|
|
15106
15095
|
__source: {
|
|
15107
15096
|
fileName: _jsxFileName$x,
|
|
15108
|
-
lineNumber:
|
|
15097
|
+
lineNumber: 888,
|
|
15109
15098
|
columnNumber: 13
|
|
15110
15099
|
}
|
|
15111
15100
|
})), /*#__PURE__*/React__default.createElement(Button$2, _extends({}, getToggleButtonProps({
|
|
@@ -15119,7 +15108,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15119
15108
|
__self: undefined,
|
|
15120
15109
|
__source: {
|
|
15121
15110
|
fileName: _jsxFileName$x,
|
|
15122
|
-
lineNumber:
|
|
15111
|
+
lineNumber: 895,
|
|
15123
15112
|
columnNumber: 13
|
|
15124
15113
|
}
|
|
15125
15114
|
}), (_ref2 = label != null ? label : placeholder) != null ? _ref2 : t('placeholder', 'Pilih Item'))), /*#__PURE__*/React__default.createElement(IconWrapper, _extends({}, getToggleButtonProps({
|
|
@@ -15130,7 +15119,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15130
15119
|
__self: undefined,
|
|
15131
15120
|
__source: {
|
|
15132
15121
|
fileName: _jsxFileName$x,
|
|
15133
|
-
lineNumber:
|
|
15122
|
+
lineNumber: 906,
|
|
15134
15123
|
columnNumber: 11
|
|
15135
15124
|
}
|
|
15136
15125
|
}), /*#__PURE__*/React__default.createElement(IconCaretDown, {
|
|
@@ -15138,7 +15127,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15138
15127
|
__self: undefined,
|
|
15139
15128
|
__source: {
|
|
15140
15129
|
fileName: _jsxFileName$x,
|
|
15141
|
-
lineNumber:
|
|
15130
|
+
lineNumber: 911,
|
|
15142
15131
|
columnNumber: 13
|
|
15143
15132
|
}
|
|
15144
15133
|
}))), helperText && /*#__PURE__*/React__default.createElement(Paragraph, {
|
|
@@ -15151,7 +15140,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15151
15140
|
__self: undefined,
|
|
15152
15141
|
__source: {
|
|
15153
15142
|
fileName: _jsxFileName$x,
|
|
15154
|
-
lineNumber:
|
|
15143
|
+
lineNumber: 915,
|
|
15155
15144
|
columnNumber: 11
|
|
15156
15145
|
}
|
|
15157
15146
|
}, helperText), showSelectedTag && !showCounter && selectedItems.length !== 0 && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(TagWrapper$2, {
|
|
@@ -15159,7 +15148,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15159
15148
|
__self: undefined,
|
|
15160
15149
|
__source: {
|
|
15161
15150
|
fileName: _jsxFileName$x,
|
|
15162
|
-
lineNumber:
|
|
15151
|
+
lineNumber: 921,
|
|
15163
15152
|
columnNumber: 13
|
|
15164
15153
|
}
|
|
15165
15154
|
}, isShowTagSelectAll ? /*#__PURE__*/React__default.createElement(Tag, _extends({
|
|
@@ -15180,7 +15169,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15180
15169
|
__self: undefined,
|
|
15181
15170
|
__source: {
|
|
15182
15171
|
fileName: _jsxFileName$x,
|
|
15183
|
-
lineNumber:
|
|
15172
|
+
lineNumber: 923,
|
|
15184
15173
|
columnNumber: 17
|
|
15185
15174
|
}
|
|
15186
15175
|
}), selectAllLabel != null ? selectAllLabel : t('selectAllLabelText', 'Pilih Semua')) : selectedItems == null || (_selectedItems$filter = selectedItems.filter(item => (item == null ? void 0 : item.id) !== '!all')) == null || (_selectedItems$filter = _selectedItems$filter.filter((_, idx) => {
|
|
@@ -15211,7 +15200,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15211
15200
|
__self: undefined,
|
|
15212
15201
|
__source: {
|
|
15213
15202
|
fileName: _jsxFileName$x,
|
|
15214
|
-
lineNumber:
|
|
15203
|
+
lineNumber: 952,
|
|
15215
15204
|
columnNumber: 21
|
|
15216
15205
|
}
|
|
15217
15206
|
}), selectedItem.name))), collapsible && !isShowTagSelectAll && (selectedItems == null ? void 0 : selectedItems.length) > collapsibleLimit && /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -15220,7 +15209,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15220
15209
|
__self: undefined,
|
|
15221
15210
|
__source: {
|
|
15222
15211
|
fileName: _jsxFileName$x,
|
|
15223
|
-
lineNumber:
|
|
15212
|
+
lineNumber: 975,
|
|
15224
15213
|
columnNumber: 15
|
|
15225
15214
|
}
|
|
15226
15215
|
}, /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -15230,14 +15219,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15230
15219
|
__self: undefined,
|
|
15231
15220
|
__source: {
|
|
15232
15221
|
fileName: _jsxFileName$x,
|
|
15233
|
-
lineNumber:
|
|
15222
|
+
lineNumber: 976,
|
|
15234
15223
|
columnNumber: 17
|
|
15235
15224
|
}
|
|
15236
15225
|
}, /*#__PURE__*/React__default.createElement(Separator$2, {
|
|
15237
15226
|
__self: undefined,
|
|
15238
15227
|
__source: {
|
|
15239
15228
|
fileName: _jsxFileName$x,
|
|
15240
|
-
lineNumber:
|
|
15229
|
+
lineNumber: 977,
|
|
15241
15230
|
columnNumber: 19
|
|
15242
15231
|
}
|
|
15243
15232
|
}), /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -15251,7 +15240,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15251
15240
|
__self: undefined,
|
|
15252
15241
|
__source: {
|
|
15253
15242
|
fileName: _jsxFileName$x,
|
|
15254
|
-
lineNumber:
|
|
15243
|
+
lineNumber: 978,
|
|
15255
15244
|
columnNumber: 19
|
|
15256
15245
|
}
|
|
15257
15246
|
}, showAllTags ? /*#__PURE__*/React__default.createElement(ChevronUpOutline, {
|
|
@@ -15259,7 +15248,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15259
15248
|
__self: undefined,
|
|
15260
15249
|
__source: {
|
|
15261
15250
|
fileName: _jsxFileName$x,
|
|
15262
|
-
lineNumber:
|
|
15251
|
+
lineNumber: 984,
|
|
15263
15252
|
columnNumber: 23
|
|
15264
15253
|
}
|
|
15265
15254
|
}) : /*#__PURE__*/React__default.createElement(ChevronDownOutline, {
|
|
@@ -15267,7 +15256,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15267
15256
|
__self: undefined,
|
|
15268
15257
|
__source: {
|
|
15269
15258
|
fileName: _jsxFileName$x,
|
|
15270
|
-
lineNumber:
|
|
15259
|
+
lineNumber: 986,
|
|
15271
15260
|
columnNumber: 23
|
|
15272
15261
|
}
|
|
15273
15262
|
}), /*#__PURE__*/React__default.createElement(Paragraph, {
|
|
@@ -15279,14 +15268,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15279
15268
|
__self: undefined,
|
|
15280
15269
|
__source: {
|
|
15281
15270
|
fileName: _jsxFileName$x,
|
|
15282
|
-
lineNumber:
|
|
15271
|
+
lineNumber: 988,
|
|
15283
15272
|
columnNumber: 21
|
|
15284
15273
|
}
|
|
15285
15274
|
}, showAllTags ? t('showSomeText', 'Tampilkan Sebagian') : t('showAllText', 'Tampilkan Semua'))), /*#__PURE__*/React__default.createElement(Separator$2, {
|
|
15286
15275
|
__self: undefined,
|
|
15287
15276
|
__source: {
|
|
15288
15277
|
fileName: _jsxFileName$x,
|
|
15289
|
-
lineNumber:
|
|
15278
|
+
lineNumber: 992,
|
|
15290
15279
|
columnNumber: 19
|
|
15291
15280
|
}
|
|
15292
15281
|
})), showCollapsibleCounter && /*#__PURE__*/React__default.createElement(Paragraph, {
|
|
@@ -15297,7 +15286,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15297
15286
|
__self: undefined,
|
|
15298
15287
|
__source: {
|
|
15299
15288
|
fileName: _jsxFileName$x,
|
|
15300
|
-
lineNumber:
|
|
15289
|
+
lineNumber: 995,
|
|
15301
15290
|
columnNumber: 19
|
|
15302
15291
|
}
|
|
15303
15292
|
}, `${totalOptions ? totalOptions : selectedItems == null || (_selectedItems$filter2 = selectedItems.filter(item => (item == null ? void 0 : item.id) !== '!all')) == null ? void 0 : _selectedItems$filter2.length} ${labelCounter || t('labelCounterText', 'Item terpilih')}`))), showCounter && !isShowTagSelectAll && Boolean(selectedItems == null ? void 0 : selectedItems.length) && /*#__PURE__*/React__default.createElement(Paragraph, {
|
|
@@ -15309,7 +15298,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15309
15298
|
__self: undefined,
|
|
15310
15299
|
__source: {
|
|
15311
15300
|
fileName: _jsxFileName$x,
|
|
15312
|
-
lineNumber:
|
|
15301
|
+
lineNumber: 1006,
|
|
15313
15302
|
columnNumber: 11
|
|
15314
15303
|
}
|
|
15315
15304
|
}, `${totalOptions ? totalOptions : selectedItems == null || (_selectedItems$filter3 = selectedItems.filter(item => (item == null ? void 0 : item.id) !== '!all')) == null ? void 0 : _selectedItems$filter3.length} ${labelCounter || t('labelCounterText', 'Item terpilih')}`), /*#__PURE__*/React__default.createElement(OptionWrapper$1, {
|
|
@@ -15322,7 +15311,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15322
15311
|
__self: undefined,
|
|
15323
15312
|
__source: {
|
|
15324
15313
|
fileName: _jsxFileName$x,
|
|
15325
|
-
lineNumber:
|
|
15314
|
+
lineNumber: 1013,
|
|
15326
15315
|
columnNumber: 9
|
|
15327
15316
|
}
|
|
15328
15317
|
}, isLoading && /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -15344,7 +15333,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15344
15333
|
__self: undefined,
|
|
15345
15334
|
__source: {
|
|
15346
15335
|
fileName: _jsxFileName$x,
|
|
15347
|
-
lineNumber:
|
|
15336
|
+
lineNumber: 1023,
|
|
15348
15337
|
columnNumber: 13
|
|
15349
15338
|
}
|
|
15350
15339
|
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
@@ -15352,7 +15341,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15352
15341
|
__self: undefined,
|
|
15353
15342
|
__source: {
|
|
15354
15343
|
fileName: _jsxFileName$x,
|
|
15355
|
-
lineNumber:
|
|
15344
|
+
lineNumber: 1040,
|
|
15356
15345
|
columnNumber: 15
|
|
15357
15346
|
}
|
|
15358
15347
|
}, "Loading....")), items.length > 0 || isLoading ? /*#__PURE__*/React__default.createElement(Option, _extends({}, getMenuProps({
|
|
@@ -15364,7 +15353,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15364
15353
|
__self: undefined,
|
|
15365
15354
|
__source: {
|
|
15366
15355
|
fileName: _jsxFileName$x,
|
|
15367
|
-
lineNumber:
|
|
15356
|
+
lineNumber: 1045,
|
|
15368
15357
|
columnNumber: 13
|
|
15369
15358
|
}
|
|
15370
15359
|
}), /*#__PURE__*/React__default.createElement(ConditionalWrapper, {
|
|
@@ -15387,14 +15376,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15387
15376
|
__self: undefined,
|
|
15388
15377
|
__source: {
|
|
15389
15378
|
fileName: _jsxFileName$x,
|
|
15390
|
-
lineNumber:
|
|
15379
|
+
lineNumber: 1049,
|
|
15391
15380
|
columnNumber: 19
|
|
15392
15381
|
}
|
|
15393
15382
|
}, child),
|
|
15394
15383
|
__self: undefined,
|
|
15395
15384
|
__source: {
|
|
15396
15385
|
fileName: _jsxFileName$x,
|
|
15397
|
-
lineNumber:
|
|
15386
|
+
lineNumber: 1046,
|
|
15398
15387
|
columnNumber: 15
|
|
15399
15388
|
}
|
|
15400
15389
|
}, isOpen && items.map((item, index) => item != null && item.children ? renderOptionGroupItem(item) : renderOptionItem(item, index)))) : /*#__PURE__*/React__default.createElement(Option, _extends({
|
|
@@ -15407,14 +15396,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15407
15396
|
__self: undefined,
|
|
15408
15397
|
__source: {
|
|
15409
15398
|
fileName: _jsxFileName$x,
|
|
15410
|
-
lineNumber:
|
|
15399
|
+
lineNumber: 1074,
|
|
15411
15400
|
columnNumber: 13
|
|
15412
15401
|
}
|
|
15413
15402
|
}), /*#__PURE__*/React__default.createElement(StyledDiv, {
|
|
15414
15403
|
__self: undefined,
|
|
15415
15404
|
__source: {
|
|
15416
15405
|
fileName: _jsxFileName$x,
|
|
15417
|
-
lineNumber:
|
|
15406
|
+
lineNumber: 1075,
|
|
15418
15407
|
columnNumber: 15
|
|
15419
15408
|
}
|
|
15420
15409
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -15424,7 +15413,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15424
15413
|
__self: undefined,
|
|
15425
15414
|
__source: {
|
|
15426
15415
|
fileName: _jsxFileName$x,
|
|
15427
|
-
lineNumber:
|
|
15416
|
+
lineNumber: 1076,
|
|
15428
15417
|
columnNumber: 17
|
|
15429
15418
|
}
|
|
15430
15419
|
}, /*#__PURE__*/React__default.createElement(CircleInfoOutline, {
|
|
@@ -15436,7 +15425,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15436
15425
|
__self: undefined,
|
|
15437
15426
|
__source: {
|
|
15438
15427
|
fileName: _jsxFileName$x,
|
|
15439
|
-
lineNumber:
|
|
15428
|
+
lineNumber: 1077,
|
|
15440
15429
|
columnNumber: 19
|
|
15441
15430
|
}
|
|
15442
15431
|
})), textEmptyItem != null ? textEmptyItem : t('emptyItemText', 'Item tidak ditemukan')))));
|
|
@@ -15509,7 +15498,7 @@ InputSelectCheck.defaultProps = {
|
|
|
15509
15498
|
onItemClick: changes => {}
|
|
15510
15499
|
};
|
|
15511
15500
|
|
|
15512
|
-
var _jsxFileName$w = "
|
|
15501
|
+
var _jsxFileName$w = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectTag/InputSelectTag.js";
|
|
15513
15502
|
const InputSelectTag = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
15514
15503
|
return /*#__PURE__*/React.createElement(InputSelectCheck, _extends({
|
|
15515
15504
|
ref: ref,
|
|
@@ -15570,7 +15559,7 @@ InputSelectTag.defaultProps = {
|
|
|
15570
15559
|
defaultValue: []
|
|
15571
15560
|
};
|
|
15572
15561
|
|
|
15573
|
-
var _jsxFileName$v = "
|
|
15562
|
+
var _jsxFileName$v = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCreatable/InputCreatable.js";
|
|
15574
15563
|
const Wrapper = styled('div', {
|
|
15575
15564
|
margin: 0,
|
|
15576
15565
|
flexDirection: 'column',
|
|
@@ -16698,7 +16687,7 @@ InputCounter.defaultProps = {
|
|
|
16698
16687
|
|
|
16699
16688
|
const _excluded$c = ["children"],
|
|
16700
16689
|
_excluded2$3 = ["children", "showOverlay"];
|
|
16701
|
-
var _jsxFileName$u = "
|
|
16690
|
+
var _jsxFileName$u = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/drawer/Drawer.js";
|
|
16702
16691
|
const Context$1 = /*#__PURE__*/React__default.createContext();
|
|
16703
16692
|
const {
|
|
16704
16693
|
sizes
|
|
@@ -17048,7 +17037,7 @@ DrawerCloseButton.displayName = 'DrawerCloseButton';
|
|
|
17048
17037
|
|
|
17049
17038
|
const _excluded$b = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size", "withMaxWidth", "mobileOnly", "desktopOnly"],
|
|
17050
17039
|
_excluded2$2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
|
|
17051
|
-
var _jsxFileName$t = "
|
|
17040
|
+
var _jsxFileName$t = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/buttonGroup/ButtonGroup.js";
|
|
17052
17041
|
const ScrollButton$1 = styled(Button$4, {
|
|
17053
17042
|
width: '28px',
|
|
17054
17043
|
outline: '$btnPrimary solid 1px',
|
|
@@ -17578,7 +17567,7 @@ const DateNumber = styled('div', {
|
|
|
17578
17567
|
});
|
|
17579
17568
|
DateNumber.displayName = 'DateNumber';
|
|
17580
17569
|
|
|
17581
|
-
var _jsxFileName$s = "
|
|
17570
|
+
var _jsxFileName$s = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/TimePicker.js";
|
|
17582
17571
|
const Input$3 = styled('input', {
|
|
17583
17572
|
display: 'none'
|
|
17584
17573
|
});
|
|
@@ -17981,56 +17970,56 @@ const NativeTimePicker = ({
|
|
|
17981
17970
|
})));
|
|
17982
17971
|
};
|
|
17983
17972
|
NativeTimePicker.propTypes = {
|
|
17984
|
-
/**
|
|
17985
|
-
Resize time picker.
|
|
17973
|
+
/**
|
|
17974
|
+
Resize time picker.
|
|
17986
17975
|
*/
|
|
17987
17976
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
17988
|
-
/**
|
|
17989
|
-
Change handler.
|
|
17977
|
+
/**
|
|
17978
|
+
Change handler.
|
|
17990
17979
|
*/
|
|
17991
17980
|
onChange: PropTypes.func,
|
|
17992
|
-
/**
|
|
17993
|
-
Time picker default value, support moment format.
|
|
17981
|
+
/**
|
|
17982
|
+
Time picker default value, support moment format.
|
|
17994
17983
|
*/
|
|
17995
17984
|
defaultValue: PropTypes.instanceOf(Date),
|
|
17996
|
-
/**
|
|
17997
|
-
Time picker value, support moment format.
|
|
17985
|
+
/**
|
|
17986
|
+
Time picker value, support moment format.
|
|
17998
17987
|
*/
|
|
17999
17988
|
value: PropTypes.instanceOf(Date),
|
|
18000
|
-
/**
|
|
18001
|
-
Disabled state.
|
|
17989
|
+
/**
|
|
17990
|
+
Disabled state.
|
|
18002
17991
|
*/
|
|
18003
17992
|
disabled: PropTypes.bool,
|
|
18004
|
-
/**
|
|
18005
|
-
Disabled hour state.
|
|
17993
|
+
/**
|
|
17994
|
+
Disabled hour state.
|
|
18006
17995
|
*/
|
|
18007
17996
|
disabledHour: PropTypes.bool,
|
|
18008
|
-
/**
|
|
18009
|
-
Disabled increase hour state.
|
|
17997
|
+
/**
|
|
17998
|
+
Disabled increase hour state.
|
|
18010
17999
|
*/
|
|
18011
18000
|
disabledHourIncrease: PropTypes.bool,
|
|
18012
|
-
/**
|
|
18013
|
-
Disabled decrease hour state.
|
|
18001
|
+
/**
|
|
18002
|
+
Disabled decrease hour state.
|
|
18014
18003
|
*/
|
|
18015
18004
|
disabledHourDecrease: PropTypes.bool,
|
|
18016
|
-
/**
|
|
18017
|
-
Disabled minute state.
|
|
18005
|
+
/**
|
|
18006
|
+
Disabled minute state.
|
|
18018
18007
|
*/
|
|
18019
18008
|
disabledMinute: PropTypes.bool,
|
|
18020
|
-
/**
|
|
18021
|
-
Disabled increase minute state.
|
|
18009
|
+
/**
|
|
18010
|
+
Disabled increase minute state.
|
|
18022
18011
|
*/
|
|
18023
18012
|
disabledMinuteIncrease: PropTypes.bool,
|
|
18024
|
-
/**
|
|
18025
|
-
Disabled decrease minute state.
|
|
18013
|
+
/**
|
|
18014
|
+
Disabled decrease minute state.
|
|
18026
18015
|
*/
|
|
18027
18016
|
disabledMinuteDecrease: PropTypes.bool,
|
|
18028
|
-
/**
|
|
18029
|
-
Specify the minimum date.
|
|
18017
|
+
/**
|
|
18018
|
+
Specify the minimum date.
|
|
18030
18019
|
*/
|
|
18031
18020
|
minDate: PropTypes.instanceOf(Date),
|
|
18032
|
-
/**
|
|
18033
|
-
Specify the maximum date.
|
|
18021
|
+
/**
|
|
18022
|
+
Specify the maximum date.
|
|
18034
18023
|
*/
|
|
18035
18024
|
maxDate: PropTypes.instanceOf(Date)
|
|
18036
18025
|
};
|
|
@@ -18087,66 +18076,66 @@ const TimePicker = ({
|
|
|
18087
18076
|
};
|
|
18088
18077
|
TimePicker.displayName = 'TimePicker';
|
|
18089
18078
|
TimePicker.propTypes = {
|
|
18090
|
-
/**
|
|
18091
|
-
Additional styles.
|
|
18079
|
+
/**
|
|
18080
|
+
Additional styles.
|
|
18092
18081
|
*/
|
|
18093
18082
|
css: PropTypes.object,
|
|
18094
|
-
/**
|
|
18095
|
-
Resize time picker.
|
|
18083
|
+
/**
|
|
18084
|
+
Resize time picker.
|
|
18096
18085
|
*/
|
|
18097
18086
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
18098
|
-
/**
|
|
18099
|
-
Change handler.
|
|
18087
|
+
/**
|
|
18088
|
+
Change handler.
|
|
18100
18089
|
*/
|
|
18101
18090
|
onChange: PropTypes.func,
|
|
18102
|
-
/**
|
|
18103
|
-
Time picker default value, support moment format.
|
|
18091
|
+
/**
|
|
18092
|
+
Time picker default value, support moment format.
|
|
18104
18093
|
*/
|
|
18105
18094
|
defaultValue: PropTypes.instanceOf(Date),
|
|
18106
|
-
/**
|
|
18107
|
-
Time picker value, support moment format.
|
|
18095
|
+
/**
|
|
18096
|
+
Time picker value, support moment format.
|
|
18108
18097
|
*/
|
|
18109
18098
|
value: PropTypes.instanceOf(Date),
|
|
18110
|
-
/**
|
|
18111
|
-
Disabled state.
|
|
18099
|
+
/**
|
|
18100
|
+
Disabled state.
|
|
18112
18101
|
*/
|
|
18113
18102
|
disabled: PropTypes.bool,
|
|
18114
|
-
/**
|
|
18115
|
-
Disabled hour state.
|
|
18103
|
+
/**
|
|
18104
|
+
Disabled hour state.
|
|
18116
18105
|
*/
|
|
18117
18106
|
disabledHour: PropTypes.bool,
|
|
18118
|
-
/**
|
|
18119
|
-
Disabled increase hour state.
|
|
18107
|
+
/**
|
|
18108
|
+
Disabled increase hour state.
|
|
18120
18109
|
*/
|
|
18121
18110
|
disabledHourIncrease: PropTypes.bool,
|
|
18122
|
-
/**
|
|
18123
|
-
Disabled decrease hour state.
|
|
18111
|
+
/**
|
|
18112
|
+
Disabled decrease hour state.
|
|
18124
18113
|
*/
|
|
18125
18114
|
disabledHourDecrease: PropTypes.bool,
|
|
18126
|
-
/**
|
|
18127
|
-
Disabled minute state.
|
|
18115
|
+
/**
|
|
18116
|
+
Disabled minute state.
|
|
18128
18117
|
*/
|
|
18129
18118
|
disabledMinute: PropTypes.bool,
|
|
18130
|
-
/**
|
|
18131
|
-
Disabled increase minute state.
|
|
18119
|
+
/**
|
|
18120
|
+
Disabled increase minute state.
|
|
18132
18121
|
*/
|
|
18133
18122
|
disabledMinuteIncrease: PropTypes.bool,
|
|
18134
|
-
/**
|
|
18135
|
-
Disabled decrease minute state.
|
|
18123
|
+
/**
|
|
18124
|
+
Disabled decrease minute state.
|
|
18136
18125
|
*/
|
|
18137
18126
|
disabledMinuteDecrease: PropTypes.bool,
|
|
18138
|
-
/**
|
|
18139
|
-
Specify the minimum date.
|
|
18127
|
+
/**
|
|
18128
|
+
Specify the minimum date.
|
|
18140
18129
|
*/
|
|
18141
18130
|
minDate: PropTypes.instanceOf(Date),
|
|
18142
|
-
/**
|
|
18143
|
-
Specify the maximum date.
|
|
18131
|
+
/**
|
|
18132
|
+
Specify the maximum date.
|
|
18144
18133
|
*/
|
|
18145
18134
|
maxDate: PropTypes.instanceOf(Date)
|
|
18146
18135
|
};
|
|
18147
18136
|
NativeTimePicker.displayName = 'NativeTimePicker';
|
|
18148
18137
|
|
|
18149
|
-
var _jsxFileName$r = "
|
|
18138
|
+
var _jsxFileName$r = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/InputTimePicker.js";
|
|
18150
18139
|
const getInputPickerValue$1 = date => {
|
|
18151
18140
|
if (!date) return;
|
|
18152
18141
|
return moment(date).format('HH:mm');
|
|
@@ -18305,88 +18294,88 @@ InputTimePicker.defaultProps = {
|
|
|
18305
18294
|
placeholder: 'Select Time'
|
|
18306
18295
|
};
|
|
18307
18296
|
InputTimePicker.propTypes = {
|
|
18308
|
-
/**
|
|
18309
|
-
Additional styles.
|
|
18297
|
+
/**
|
|
18298
|
+
Additional styles.
|
|
18310
18299
|
*/
|
|
18311
18300
|
css: PropTypes.object,
|
|
18312
|
-
/**
|
|
18313
|
-
Disabled state.
|
|
18301
|
+
/**
|
|
18302
|
+
Disabled state.
|
|
18314
18303
|
*/
|
|
18315
18304
|
disabled: PropTypes.bool,
|
|
18316
|
-
/**
|
|
18317
|
-
Disabled hour state.
|
|
18305
|
+
/**
|
|
18306
|
+
Disabled hour state.
|
|
18318
18307
|
*/
|
|
18319
18308
|
disabledHour: PropTypes.bool,
|
|
18320
|
-
/**
|
|
18321
|
-
Disabled increase hour state.
|
|
18309
|
+
/**
|
|
18310
|
+
Disabled increase hour state.
|
|
18322
18311
|
*/
|
|
18323
18312
|
disabledHourIncrease: PropTypes.bool,
|
|
18324
|
-
/**
|
|
18325
|
-
Disabled decrease hour state.
|
|
18313
|
+
/**
|
|
18314
|
+
Disabled decrease hour state.
|
|
18326
18315
|
*/
|
|
18327
18316
|
disabledHourDecrease: PropTypes.bool,
|
|
18328
|
-
/**
|
|
18329
|
-
Disabled minute state.
|
|
18317
|
+
/**
|
|
18318
|
+
Disabled minute state.
|
|
18330
18319
|
*/
|
|
18331
18320
|
disabledMinute: PropTypes.bool,
|
|
18332
|
-
/**
|
|
18333
|
-
Disabled increase minute state.
|
|
18321
|
+
/**
|
|
18322
|
+
Disabled increase minute state.
|
|
18334
18323
|
*/
|
|
18335
18324
|
disabledMinuteIncrease: PropTypes.bool,
|
|
18336
|
-
/**
|
|
18337
|
-
Disabled decrease minute state.
|
|
18325
|
+
/**
|
|
18326
|
+
Disabled decrease minute state.
|
|
18338
18327
|
*/
|
|
18339
18328
|
disabledMinuteDecrease: PropTypes.bool,
|
|
18340
|
-
/**
|
|
18341
|
-
ReadOnly state.
|
|
18329
|
+
/**
|
|
18330
|
+
ReadOnly state.
|
|
18342
18331
|
*/
|
|
18343
18332
|
readOnly: PropTypes.bool,
|
|
18344
|
-
/**
|
|
18345
|
-
Resize time picker.
|
|
18333
|
+
/**
|
|
18334
|
+
Resize time picker.
|
|
18346
18335
|
*/
|
|
18347
18336
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
18348
|
-
/**
|
|
18349
|
-
Custom placeholder input time picker.
|
|
18337
|
+
/**
|
|
18338
|
+
Custom placeholder input time picker.
|
|
18350
18339
|
*/
|
|
18351
18340
|
placeholder: PropTypes.string,
|
|
18352
|
-
/**
|
|
18353
|
-
Time picker default value, support moment format.
|
|
18341
|
+
/**
|
|
18342
|
+
Time picker default value, support moment format.
|
|
18354
18343
|
*/
|
|
18355
18344
|
defaultValue: PropTypes.instanceOf(Date),
|
|
18356
|
-
/**
|
|
18357
|
-
Time picker value, support moment format.
|
|
18345
|
+
/**
|
|
18346
|
+
Time picker value, support moment format.
|
|
18358
18347
|
*/
|
|
18359
18348
|
value: PropTypes.instanceOf(Date),
|
|
18360
|
-
/**
|
|
18361
|
-
Change handler.
|
|
18349
|
+
/**
|
|
18350
|
+
Change handler.
|
|
18362
18351
|
*/
|
|
18363
18352
|
onChange: PropTypes.func,
|
|
18364
|
-
/**
|
|
18365
|
-
Placement popover input time picker.
|
|
18353
|
+
/**
|
|
18354
|
+
Placement popover input time picker.
|
|
18366
18355
|
*/
|
|
18367
18356
|
placement: PropTypes.string,
|
|
18368
|
-
/**
|
|
18369
|
-
Specify the minimum date.
|
|
18357
|
+
/**
|
|
18358
|
+
Specify the minimum date.
|
|
18370
18359
|
*/
|
|
18371
18360
|
minDate: PropTypes.instanceOf(Date),
|
|
18372
|
-
/**
|
|
18373
|
-
Specify the maximum date.
|
|
18361
|
+
/**
|
|
18362
|
+
Specify the maximum date.
|
|
18374
18363
|
*/
|
|
18375
18364
|
maxDate: PropTypes.instanceOf(Date),
|
|
18376
|
-
/**
|
|
18377
|
-
* Invalid state input.
|
|
18365
|
+
/**
|
|
18366
|
+
* Invalid state input.
|
|
18378
18367
|
*/
|
|
18379
18368
|
isInvalid: PropTypes.bool,
|
|
18380
|
-
/**
|
|
18381
|
-
If true, the component will rendered on portal element
|
|
18369
|
+
/**
|
|
18370
|
+
If true, the component will rendered on portal element
|
|
18382
18371
|
*/
|
|
18383
18372
|
portalled: PropTypes.bool,
|
|
18384
|
-
/**
|
|
18385
|
-
Additional TimePicker styles.
|
|
18373
|
+
/**
|
|
18374
|
+
Additional TimePicker styles.
|
|
18386
18375
|
*/
|
|
18387
18376
|
contentCss: PropTypes.object,
|
|
18388
|
-
/**
|
|
18389
|
-
Input open change callback.
|
|
18377
|
+
/**
|
|
18378
|
+
Input open change callback.
|
|
18390
18379
|
*/
|
|
18391
18380
|
onInputOpenChange: PropTypes.func
|
|
18392
18381
|
};
|
|
@@ -21004,7 +20993,7 @@ function InputSignature({
|
|
|
21004
20993
|
}
|
|
21005
20994
|
|
|
21006
20995
|
const _excluded$a = ["className", "defaultValue", "value", "name", "disabled", "orientation", "dir", "min", "max", "step", "onValueChange", "minStepsBetweenThumbs", "color", "size", "width", "height"];
|
|
21007
|
-
var _jsxFileName$q = "
|
|
20996
|
+
var _jsxFileName$q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/slider/Slider.js";
|
|
21008
20997
|
const StyledSlider = styled$1(SliderPrimitive.Root, {
|
|
21009
20998
|
position: 'relative',
|
|
21010
20999
|
display: 'flex',
|
|
@@ -21348,7 +21337,7 @@ Slider.defaultProps = {
|
|
|
21348
21337
|
};
|
|
21349
21338
|
|
|
21350
21339
|
const _excluded$9 = ["className", "children", "onClick", "type", "size"];
|
|
21351
|
-
var _jsxFileName$p = "
|
|
21340
|
+
var _jsxFileName$p = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tagStatus/TagStatus.js";
|
|
21352
21341
|
const TagWrapper$1 = styled('div', {
|
|
21353
21342
|
boxSizing: 'border-box',
|
|
21354
21343
|
fontSize: '12px',
|
|
@@ -21511,7 +21500,7 @@ const _excluded$8 = ["children"],
|
|
|
21511
21500
|
_excluded2$1 = ["children", "activeTabs"],
|
|
21512
21501
|
_excluded3$1 = ["children", "icon", "activeTabs", "value"],
|
|
21513
21502
|
_excluded4$1 = ["activeTabs"];
|
|
21514
|
-
var _jsxFileName$o = "
|
|
21503
|
+
var _jsxFileName$o = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tabs/Tabs.js";
|
|
21515
21504
|
const StyledTabs = styled(TabsPrimitive.Root, {
|
|
21516
21505
|
display: 'flex',
|
|
21517
21506
|
flexDirection: 'column',
|
|
@@ -21850,7 +21839,7 @@ TabsContent$1.propTypes = {
|
|
|
21850
21839
|
};
|
|
21851
21840
|
|
|
21852
21841
|
const _excluded$7 = ["children", "variantIcon"];
|
|
21853
|
-
var _jsxFileName$n = "
|
|
21842
|
+
var _jsxFileName$n = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/notificationBadge/NotificationBadge.js";
|
|
21854
21843
|
const NotificationBadgeRootStyle = styled('span', {
|
|
21855
21844
|
position: 'relative',
|
|
21856
21845
|
display: 'inline-flex',
|
|
@@ -22005,7 +21994,7 @@ NotificationBadge.propTypes = {
|
|
|
22005
21994
|
};
|
|
22006
21995
|
|
|
22007
21996
|
const _excluded$6 = ["className", "children", "radius", "padding", "width", "height"];
|
|
22008
|
-
var _jsxFileName$m = "
|
|
21997
|
+
var _jsxFileName$m = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/paper/Paper.js";
|
|
22009
21998
|
const PaperComponent = styled('div', {
|
|
22010
21999
|
padding: '20px',
|
|
22011
22000
|
height: 'auto',
|
|
@@ -22258,7 +22247,7 @@ const removeUndefinedFields = obj => {
|
|
|
22258
22247
|
};
|
|
22259
22248
|
|
|
22260
22249
|
const _excluded$5 = ["isActive", "onClick"];
|
|
22261
|
-
var _jsxFileName$l = "
|
|
22250
|
+
var _jsxFileName$l = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationButton.js";
|
|
22262
22251
|
const PrevNextButton = styled(Text$1, {
|
|
22263
22252
|
padding: '$spacing-01',
|
|
22264
22253
|
cursor: 'pointer',
|
|
@@ -22752,7 +22741,7 @@ const PaginationButton = ({
|
|
|
22752
22741
|
};
|
|
22753
22742
|
|
|
22754
22743
|
const _excluded$4 = ["limits", "selectedLimit", "currentPage", "totalData", "onChange"];
|
|
22755
|
-
var _jsxFileName$k = "
|
|
22744
|
+
var _jsxFileName$k = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationInfo.js";
|
|
22756
22745
|
const LimitContainer = styled(Flex$1, {
|
|
22757
22746
|
cursor: 'pointer'
|
|
22758
22747
|
});
|
|
@@ -22987,7 +22976,7 @@ function PaginationInfo(_ref) {
|
|
|
22987
22976
|
}
|
|
22988
22977
|
|
|
22989
22978
|
const _excluded$3 = ["limit", "currentPage", "totalData", "totalPage", "hideDataInfo", "onLimitChange", "onPageChange", "rowsPerPageOptions", "hidePagination", "hideInputPageSection"];
|
|
22990
|
-
var _jsxFileName$j = "
|
|
22979
|
+
var _jsxFileName$j = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/Pagination.js";
|
|
22991
22980
|
function Pagination(_ref) {
|
|
22992
22981
|
let {
|
|
22993
22982
|
limit,
|
|
@@ -23861,7 +23850,7 @@ const ScrollSyncNode = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
23861
23850
|
});
|
|
23862
23851
|
ScrollSyncNode.displayName = 'ScrollSyncNode';
|
|
23863
23852
|
|
|
23864
|
-
var _jsxFileName$i = "
|
|
23853
|
+
var _jsxFileName$i = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowDraggableColumn.js";
|
|
23865
23854
|
const DragHandle = SortableHandle(() => /*#__PURE__*/React__default.createElement(IconButton, {
|
|
23866
23855
|
icon: true,
|
|
23867
23856
|
size: "xs",
|
|
@@ -25357,7 +25346,7 @@ const TableColumn = _a => {
|
|
|
25357
25346
|
return jsx("div", {}, void 0);
|
|
25358
25347
|
};
|
|
25359
25348
|
|
|
25360
|
-
var _jsxFileName$h = "
|
|
25349
|
+
var _jsxFileName$h = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/DateColumn.js";
|
|
25361
25350
|
const DateColumn = ({
|
|
25362
25351
|
value,
|
|
25363
25352
|
customFormat
|
|
@@ -25469,7 +25458,7 @@ const PriceColumn = props => {
|
|
|
25469
25458
|
return addThousandSeparator(param);
|
|
25470
25459
|
};
|
|
25471
25460
|
|
|
25472
|
-
var _jsxFileName$g = "
|
|
25461
|
+
var _jsxFileName$g = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderColumn.js";
|
|
25473
25462
|
const rowExpanderColumn = {
|
|
25474
25463
|
id: 'expander',
|
|
25475
25464
|
Header: () => null,
|
|
@@ -25512,7 +25501,7 @@ const rowExpanderColumn = {
|
|
|
25512
25501
|
unsortable: true
|
|
25513
25502
|
};
|
|
25514
25503
|
|
|
25515
|
-
var _jsxFileName$f = "
|
|
25504
|
+
var _jsxFileName$f = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderMultipleColumn.js";
|
|
25516
25505
|
const rowExpanderMultipleColumn = {
|
|
25517
25506
|
id: 'multiple-expander',
|
|
25518
25507
|
Header: () => null,
|
|
@@ -25548,7 +25537,7 @@ const rowExpanderMultipleColumn = {
|
|
|
25548
25537
|
unsortable: true
|
|
25549
25538
|
};
|
|
25550
25539
|
|
|
25551
|
-
var _jsxFileName$e = "
|
|
25540
|
+
var _jsxFileName$e = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowMenuColumn.js";
|
|
25552
25541
|
const rowMenuColumn = (options, icon, config) => ({
|
|
25553
25542
|
id: 'menu',
|
|
25554
25543
|
options,
|
|
@@ -25685,7 +25674,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
25685
25674
|
unsortable: true
|
|
25686
25675
|
});
|
|
25687
25676
|
|
|
25688
|
-
var _jsxFileName$d = "
|
|
25677
|
+
var _jsxFileName$d = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionColumn.js";
|
|
25689
25678
|
const rowSelectionColumn = {
|
|
25690
25679
|
id: 'selection',
|
|
25691
25680
|
Header: ({
|
|
@@ -25734,7 +25723,7 @@ const rowSelectionColumn = {
|
|
|
25734
25723
|
unsortable: true
|
|
25735
25724
|
};
|
|
25736
25725
|
|
|
25737
|
-
var _jsxFileName$c = "
|
|
25726
|
+
var _jsxFileName$c = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionCallbackColumn.js";
|
|
25738
25727
|
const rowSelectionWithCallbackColumn = (onCheckedChange, onAllCheckedChange) => ({
|
|
25739
25728
|
id: 'selection',
|
|
25740
25729
|
Header: ({
|
|
@@ -26072,7 +26061,7 @@ PageDialog.defaultProps = {
|
|
|
26072
26061
|
};
|
|
26073
26062
|
|
|
26074
26063
|
const _excluded$2 = ["children"];
|
|
26075
|
-
var _jsxFileName$b = "
|
|
26064
|
+
var _jsxFileName$b = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/alertDialog/AlertDialog.js";
|
|
26076
26065
|
const overlayShow = keyframes({
|
|
26077
26066
|
'0%': {
|
|
26078
26067
|
opacity: 0
|
|
@@ -26708,7 +26697,7 @@ const _excluded$1 = ["side", "align", "children"],
|
|
|
26708
26697
|
_excluded2 = ["theme"],
|
|
26709
26698
|
_excluded3 = ["children"],
|
|
26710
26699
|
_excluded4 = ["asChild"];
|
|
26711
|
-
var _jsxFileName$a = "
|
|
26700
|
+
var _jsxFileName$a = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/dropdownMenu/DropdownMenu.js";
|
|
26712
26701
|
const Context = /*#__PURE__*/React__default.createContext();
|
|
26713
26702
|
const slideUpAndFade = keyframes({
|
|
26714
26703
|
'0%': {
|
|
@@ -28985,7 +28974,7 @@ function imgPreview(image, crop, scale = 1, rotate = 0, ratio, type) {
|
|
|
28985
28974
|
}
|
|
28986
28975
|
|
|
28987
28976
|
const _excluded = ["customPreviewIcon"];
|
|
28988
|
-
var _jsxFileName$9 = "
|
|
28977
|
+
var _jsxFileName$9 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/upload/Upload.js";
|
|
28989
28978
|
const Input$2 = styled('input', {
|
|
28990
28979
|
display: 'none !important'
|
|
28991
28980
|
});
|
|
@@ -30193,159 +30182,159 @@ Upload.defaultProps = {
|
|
|
30193
30182
|
maxWidthOrHeight: 1024
|
|
30194
30183
|
};
|
|
30195
30184
|
Upload.propTypes = {
|
|
30196
|
-
/**
|
|
30197
|
-
Placeholder label of upload.
|
|
30185
|
+
/**
|
|
30186
|
+
Placeholder label of upload.
|
|
30198
30187
|
*/
|
|
30199
30188
|
placeholder: PropTypes.string,
|
|
30200
|
-
/**
|
|
30201
|
-
Disabled state of upload.
|
|
30189
|
+
/**
|
|
30190
|
+
Disabled state of upload.
|
|
30202
30191
|
*/
|
|
30203
30192
|
disabled: PropTypes.bool,
|
|
30204
|
-
/**
|
|
30205
|
-
Built-in stylesheets, support for two types.
|
|
30193
|
+
/**
|
|
30194
|
+
Built-in stylesheets, support for two types.
|
|
30206
30195
|
*/
|
|
30207
30196
|
listType: PropTypes.oneOf(['file', 'picture']),
|
|
30208
|
-
/**
|
|
30209
|
-
Whether to support selected multiple file.
|
|
30197
|
+
/**
|
|
30198
|
+
Whether to support selected multiple file.
|
|
30210
30199
|
*/
|
|
30211
30200
|
multiple: PropTypes.bool,
|
|
30212
|
-
/**
|
|
30213
|
-
List of files to be uploaded.
|
|
30201
|
+
/**
|
|
30202
|
+
List of files to be uploaded.
|
|
30214
30203
|
*/
|
|
30215
30204
|
fileList: PropTypes.array,
|
|
30216
|
-
/**
|
|
30217
|
-
A callback function, can be executed when uploading state is changing.
|
|
30205
|
+
/**
|
|
30206
|
+
A callback function, can be executed when uploading state is changing.
|
|
30218
30207
|
*/
|
|
30219
30208
|
onChange: PropTypes.func,
|
|
30220
|
-
/**
|
|
30221
|
-
A callback function, can be executed when uploading in progress.
|
|
30222
|
-
`(progress) => void`
|
|
30209
|
+
/**
|
|
30210
|
+
A callback function, can be executed when uploading in progress.
|
|
30211
|
+
`(progress) => void`
|
|
30223
30212
|
*/
|
|
30224
30213
|
onProgress: PropTypes.func,
|
|
30225
|
-
/**
|
|
30226
|
-
A callback function, can be executed when uploading is success.
|
|
30227
|
-
`(response) => void`
|
|
30214
|
+
/**
|
|
30215
|
+
A callback function, can be executed when uploading is success.
|
|
30216
|
+
`(response) => void`
|
|
30228
30217
|
*/
|
|
30229
30218
|
onSuccess: PropTypes.func,
|
|
30230
|
-
/**
|
|
30231
|
-
A callback function, can be executed when uploading is error.
|
|
30232
|
-
`(error, response) => void`
|
|
30219
|
+
/**
|
|
30220
|
+
A callback function, can be executed when uploading is error.
|
|
30221
|
+
`(error, response) => void`
|
|
30233
30222
|
*/
|
|
30234
30223
|
onError: PropTypes.func,
|
|
30235
|
-
/**
|
|
30236
|
-
A callback function, can be executed when preview icon in picture type is clicked.
|
|
30224
|
+
/**
|
|
30225
|
+
A callback function, can be executed when preview icon in picture type is clicked.
|
|
30237
30226
|
*/
|
|
30238
30227
|
onPreview: PropTypes.func,
|
|
30239
|
-
/**
|
|
30240
|
-
A callback function, can be executed when remove icon is clicked.
|
|
30228
|
+
/**
|
|
30229
|
+
A callback function, can be executed when remove icon is clicked.
|
|
30241
30230
|
*/
|
|
30242
30231
|
onRemove: PropTypes.func,
|
|
30243
|
-
/**
|
|
30244
|
-
A custom element inside upload container.
|
|
30232
|
+
/**
|
|
30233
|
+
A custom element inside upload container.
|
|
30245
30234
|
*/
|
|
30246
30235
|
children: PropTypes.element,
|
|
30247
|
-
/**
|
|
30248
|
-
Limit the number of uploaded files.
|
|
30236
|
+
/**
|
|
30237
|
+
Limit the number of uploaded files.
|
|
30249
30238
|
*/
|
|
30250
30239
|
max: PropTypes.number,
|
|
30251
|
-
/**
|
|
30252
|
-
Limit the maximum image size in MB.
|
|
30240
|
+
/**
|
|
30241
|
+
Limit the maximum image size in MB.
|
|
30253
30242
|
*/
|
|
30254
30243
|
maxSizeMB: PropTypes.number,
|
|
30255
|
-
/**
|
|
30256
|
-
Limit file type of upload.
|
|
30244
|
+
/**
|
|
30245
|
+
Limit file type of upload.
|
|
30257
30246
|
*/
|
|
30258
30247
|
accept: PropTypes.string,
|
|
30259
|
-
/**
|
|
30260
|
-
Custom label for replace button.
|
|
30248
|
+
/**
|
|
30249
|
+
Custom label for replace button.
|
|
30261
30250
|
*/
|
|
30262
30251
|
replaceLabel: PropTypes.string,
|
|
30263
|
-
/**
|
|
30264
|
-
Custom width of upload container.
|
|
30252
|
+
/**
|
|
30253
|
+
Custom width of upload container.
|
|
30265
30254
|
*/
|
|
30266
30255
|
width: PropTypes.number,
|
|
30267
|
-
/**
|
|
30268
|
-
Custom height of upload container.
|
|
30256
|
+
/**
|
|
30257
|
+
Custom height of upload container.
|
|
30269
30258
|
*/
|
|
30270
30259
|
height: PropTypes.number,
|
|
30271
|
-
/**
|
|
30272
|
-
Additional css.
|
|
30260
|
+
/**
|
|
30261
|
+
Additional css.
|
|
30273
30262
|
*/
|
|
30274
30263
|
css: PropTypes.object,
|
|
30275
|
-
/**
|
|
30276
|
-
Custom title header of cropper modal.
|
|
30264
|
+
/**
|
|
30265
|
+
Custom title header of cropper modal.
|
|
30277
30266
|
*/
|
|
30278
30267
|
cropperTitle: PropTypes.string,
|
|
30279
|
-
/**
|
|
30280
|
-
Add image cropper on upload.
|
|
30268
|
+
/**
|
|
30269
|
+
Add image cropper on upload.
|
|
30281
30270
|
*/
|
|
30282
30271
|
showCropper: PropTypes.bool,
|
|
30283
|
-
/**
|
|
30284
|
-
Hidden toggle aspect ratio image cropper.
|
|
30272
|
+
/**
|
|
30273
|
+
Hidden toggle aspect ratio image cropper.
|
|
30285
30274
|
*/
|
|
30286
30275
|
hiddenToggleAspect: PropTypes.bool,
|
|
30287
|
-
/**
|
|
30288
|
-
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.
|
|
30276
|
+
/**
|
|
30277
|
+
The aspect ratio of the crop, e.g. `1` for a square or `16 / 9` for landscape. Omit/pass undefined for a free-form crop.
|
|
30289
30278
|
*/
|
|
30290
30279
|
ratio: PropTypes.number,
|
|
30291
|
-
/**
|
|
30292
|
-
Can set error message to the upload.
|
|
30280
|
+
/**
|
|
30281
|
+
Can set error message to the upload.
|
|
30293
30282
|
*/
|
|
30294
30283
|
errorMessage: PropTypes.string,
|
|
30295
|
-
/**
|
|
30296
|
-
Progress of upload process.
|
|
30284
|
+
/**
|
|
30285
|
+
Progress of upload process.
|
|
30297
30286
|
*/
|
|
30298
30287
|
progress: PropTypes.number,
|
|
30299
|
-
/**
|
|
30300
|
-
Auto increment progress of upload process.
|
|
30288
|
+
/**
|
|
30289
|
+
Auto increment progress of upload process.
|
|
30301
30290
|
*/
|
|
30302
30291
|
loading: PropTypes.bool,
|
|
30303
|
-
/**
|
|
30304
|
-
API upload url, allows components to automatically upload directly to API service.
|
|
30292
|
+
/**
|
|
30293
|
+
API upload url, allows components to automatically upload directly to API service.
|
|
30305
30294
|
*/
|
|
30306
30295
|
action: PropTypes.string,
|
|
30307
|
-
/**
|
|
30308
|
-
Custom body request to upload action.
|
|
30296
|
+
/**
|
|
30297
|
+
Custom body request to upload action.
|
|
30309
30298
|
*/
|
|
30310
30299
|
customBodyRequest: PropTypes.func,
|
|
30311
|
-
/**
|
|
30312
|
-
Contains an authentication token for upload API.
|
|
30300
|
+
/**
|
|
30301
|
+
Contains an authentication token for upload API.
|
|
30313
30302
|
*/
|
|
30314
30303
|
token: PropTypes.string,
|
|
30315
|
-
/**
|
|
30316
|
-
Referencing the headers key to attach the token.
|
|
30304
|
+
/**
|
|
30305
|
+
Referencing the headers key to attach the token.
|
|
30317
30306
|
*/
|
|
30318
30307
|
tokenKey: PropTypes.string,
|
|
30319
|
-
/**
|
|
30320
|
-
Referencing the key to attach the file to be sent.
|
|
30308
|
+
/**
|
|
30309
|
+
Referencing the key to attach the file to be sent.
|
|
30321
30310
|
*/
|
|
30322
30311
|
reqKey: PropTypes.string,
|
|
30323
|
-
/**
|
|
30324
|
-
Referencing the key to get the file from the API response.
|
|
30312
|
+
/**
|
|
30313
|
+
Referencing the key to get the file from the API response.
|
|
30325
30314
|
*/
|
|
30326
30315
|
resKey: PropTypes.string,
|
|
30327
|
-
/**
|
|
30328
|
-
To compression image if file size > 1MB.
|
|
30316
|
+
/**
|
|
30317
|
+
To compression image if file size > 1MB.
|
|
30329
30318
|
*/
|
|
30330
30319
|
imageCompression: PropTypes.bool,
|
|
30331
|
-
/**
|
|
30332
|
-
Callback to handle before crop image.
|
|
30320
|
+
/**
|
|
30321
|
+
Callback to handle before crop image.
|
|
30333
30322
|
*/
|
|
30334
30323
|
onBeforeCrop: PropTypes.func,
|
|
30335
|
-
/**
|
|
30336
|
-
Hidden preview icon in upload.
|
|
30324
|
+
/**
|
|
30325
|
+
Hidden preview icon in upload.
|
|
30337
30326
|
*/
|
|
30338
30327
|
hiddenPreview: PropTypes.bool,
|
|
30339
|
-
/**
|
|
30340
|
-
Auto full aspect ratio cropper.
|
|
30328
|
+
/**
|
|
30329
|
+
Auto full aspect ratio cropper.
|
|
30341
30330
|
*/
|
|
30342
30331
|
fullAspectCrop: PropTypes.bool,
|
|
30343
|
-
/**
|
|
30344
|
-
Set custom ratio as Default view
|
|
30332
|
+
/**
|
|
30333
|
+
Set custom ratio as Default view
|
|
30345
30334
|
*/
|
|
30346
30335
|
isDefaultCustomRatio: PropTypes.bool,
|
|
30347
|
-
/**
|
|
30348
|
-
Set max width or height of image
|
|
30336
|
+
/**
|
|
30337
|
+
Set max width or height of image
|
|
30349
30338
|
*/
|
|
30350
30339
|
maxWidthOrHeight: PropTypes.number
|
|
30351
30340
|
};
|
|
@@ -31021,7 +31010,7 @@ const Device = props => {
|
|
|
31021
31010
|
};
|
|
31022
31011
|
Device.displayName = 'DevicePreview';
|
|
31023
31012
|
|
|
31024
|
-
var _jsxFileName$8 = "
|
|
31013
|
+
var _jsxFileName$8 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/InputColorPicker.js";
|
|
31025
31014
|
const Separator$1 = styled('div', {
|
|
31026
31015
|
height: 20,
|
|
31027
31016
|
width: 1,
|
|
@@ -31131,44 +31120,44 @@ function InputColorPicker(props) {
|
|
|
31131
31120
|
}
|
|
31132
31121
|
InputColorPicker.displayName = 'InputColorPicker';
|
|
31133
31122
|
InputColorPicker.propTypes = {
|
|
31134
|
-
/**
|
|
31135
|
-
Specify change InputColorPicker size.
|
|
31123
|
+
/**
|
|
31124
|
+
Specify change InputColorPicker size.
|
|
31136
31125
|
*/
|
|
31137
31126
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
31138
|
-
/**
|
|
31139
|
-
Color code to be displayed.
|
|
31127
|
+
/**
|
|
31128
|
+
Color code to be displayed.
|
|
31140
31129
|
*/
|
|
31141
31130
|
color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
31142
|
-
/**
|
|
31143
|
-
Additional color list.
|
|
31131
|
+
/**
|
|
31132
|
+
Additional color list.
|
|
31144
31133
|
*/
|
|
31145
31134
|
presetColors: PropTypes.array,
|
|
31146
|
-
/**
|
|
31147
|
-
Change event handler.
|
|
31135
|
+
/**
|
|
31136
|
+
Change event handler.
|
|
31148
31137
|
*/
|
|
31149
31138
|
onChange: PropTypes.func,
|
|
31150
|
-
/**
|
|
31151
|
-
Add preset color event handler.
|
|
31139
|
+
/**
|
|
31140
|
+
Add preset color event handler.
|
|
31152
31141
|
*/
|
|
31153
31142
|
onAddColor: PropTypes.func,
|
|
31154
|
-
/**
|
|
31155
|
-
Disable opacity selector.
|
|
31143
|
+
/**
|
|
31144
|
+
Disable opacity selector.
|
|
31156
31145
|
*/
|
|
31157
31146
|
disableAlpha: PropTypes.bool,
|
|
31158
|
-
/**
|
|
31159
|
-
Input placement.
|
|
31147
|
+
/**
|
|
31148
|
+
Input placement.
|
|
31160
31149
|
*/
|
|
31161
31150
|
placement: PropTypes.string,
|
|
31162
|
-
/**
|
|
31163
|
-
Define is mobile layout or not.
|
|
31151
|
+
/**
|
|
31152
|
+
Define is mobile layout or not.
|
|
31164
31153
|
*/
|
|
31165
31154
|
isMobile: PropTypes.bool,
|
|
31166
|
-
/**
|
|
31167
|
-
Define popover custom styling.
|
|
31155
|
+
/**
|
|
31156
|
+
Define popover custom styling.
|
|
31168
31157
|
*/
|
|
31169
31158
|
popoverCss: PropTypes.shape({}),
|
|
31170
|
-
/**
|
|
31171
|
-
Disabled state.
|
|
31159
|
+
/**
|
|
31160
|
+
Disabled state.
|
|
31172
31161
|
*/
|
|
31173
31162
|
disabled: PropTypes.bool
|
|
31174
31163
|
};
|
|
@@ -31182,7 +31171,7 @@ InputColorPicker.defaultProps = {
|
|
|
31182
31171
|
|
|
31183
31172
|
var img$d = "data:image/gif;base64,R0lGODlh6gDHAOZ/AJkAAADM/zMzAAAzAP9QUAAzZoAAAGYzAGYAM/9mZmYA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h+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";
|
|
31184
31173
|
|
|
31185
|
-
var _jsxFileName$7 = "
|
|
31174
|
+
var _jsxFileName$7 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorMap.js";
|
|
31186
31175
|
const Container$7 = styled('div', {
|
|
31187
31176
|
userSelect: 'none',
|
|
31188
31177
|
margin: 'auto',
|
|
@@ -33143,7 +33132,7 @@ function ColorMap({
|
|
|
33143
33132
|
})));
|
|
33144
33133
|
}
|
|
33145
33134
|
|
|
33146
|
-
var _jsxFileName$6 = "
|
|
33135
|
+
var _jsxFileName$6 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorFields.js";
|
|
33147
33136
|
const CheckBoard = styled(Flex$1, {
|
|
33148
33137
|
background: '$bgwhite',
|
|
33149
33138
|
border: '1px solid #E5E7EB',
|
|
@@ -33344,7 +33333,7 @@ function ColorFields({
|
|
|
33344
33333
|
}, "%")));
|
|
33345
33334
|
}
|
|
33346
33335
|
|
|
33347
|
-
var _jsxFileName$5 = "
|
|
33336
|
+
var _jsxFileName$5 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/ColorPicker.js";
|
|
33348
33337
|
const Container$6 = styled(Flex$1, {
|
|
33349
33338
|
background: '$white',
|
|
33350
33339
|
padding: 16,
|
|
@@ -33835,24 +33824,24 @@ function ColorPicker({
|
|
|
33835
33824
|
})))))));
|
|
33836
33825
|
}
|
|
33837
33826
|
ColorPicker.propTypes = {
|
|
33838
|
-
/**
|
|
33839
|
-
Color code to be displayed.
|
|
33827
|
+
/**
|
|
33828
|
+
Color code to be displayed.
|
|
33840
33829
|
*/
|
|
33841
33830
|
color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
33842
|
-
/**
|
|
33843
|
-
Additional color list
|
|
33831
|
+
/**
|
|
33832
|
+
Additional color list
|
|
33844
33833
|
*/
|
|
33845
33834
|
presetColors: PropTypes.array,
|
|
33846
|
-
/**
|
|
33847
|
-
Change event handler
|
|
33835
|
+
/**
|
|
33836
|
+
Change event handler
|
|
33848
33837
|
*/
|
|
33849
33838
|
onChange: PropTypes.func,
|
|
33850
|
-
/**
|
|
33851
|
-
Add preset color event handler
|
|
33839
|
+
/**
|
|
33840
|
+
Add preset color event handler
|
|
33852
33841
|
*/
|
|
33853
33842
|
onAddColor: PropTypes.func,
|
|
33854
|
-
/**
|
|
33855
|
-
Disable opacity selector
|
|
33843
|
+
/**
|
|
33844
|
+
Disable opacity selector
|
|
33856
33845
|
*/
|
|
33857
33846
|
disableAlpha: PropTypes.bool
|
|
33858
33847
|
};
|
|
@@ -33861,7 +33850,7 @@ ColorPicker.defaultProps = {
|
|
|
33861
33850
|
};
|
|
33862
33851
|
var ColorPicker$1 = ColorWrap(ColorPicker);
|
|
33863
33852
|
|
|
33864
|
-
var _jsxFileName$4 = "
|
|
33853
|
+
var _jsxFileName$4 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/stepWizard/StepWizard.js";
|
|
33865
33854
|
const StepWizardContext = /*#__PURE__*/React__default.createContext({});
|
|
33866
33855
|
const Stepper = StepWizard$1;
|
|
33867
33856
|
Stepper.displayName = 'Stepper';
|
|
@@ -34584,7 +34573,7 @@ StepWizard.defaultProps = {
|
|
|
34584
34573
|
isLazyMount: true
|
|
34585
34574
|
};
|
|
34586
34575
|
|
|
34587
|
-
var _jsxFileName$3 = "
|
|
34576
|
+
var _jsxFileName$3 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/transition.js";
|
|
34588
34577
|
function Collapse({
|
|
34589
34578
|
children,
|
|
34590
34579
|
isOpen
|
|
@@ -34627,7 +34616,7 @@ Collapse.defaultProps = {
|
|
|
34627
34616
|
isOpen: false
|
|
34628
34617
|
};
|
|
34629
34618
|
|
|
34630
|
-
var _jsxFileName$2 = "
|
|
34619
|
+
var _jsxFileName$2 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/TableOfContent.js";
|
|
34631
34620
|
const DesktopContainer = styled(Flex$1, {
|
|
34632
34621
|
display: 'none',
|
|
34633
34622
|
'& .active-scroll-spy': {
|
|
@@ -34988,7 +34977,7 @@ TableOfContentPage.defaultProps = {
|
|
|
34988
34977
|
useBoxMethod: true
|
|
34989
34978
|
};
|
|
34990
34979
|
|
|
34991
|
-
var _jsxFileName$1 = "
|
|
34980
|
+
var _jsxFileName$1 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/editableTable/transition.js";
|
|
34992
34981
|
function Collapalse({
|
|
34993
34982
|
children,
|
|
34994
34983
|
isOpen
|
|
@@ -56502,7 +56491,7 @@ PieChartComponent.defaultProps = {
|
|
|
56502
56491
|
innerRadius: 70
|
|
56503
56492
|
};
|
|
56504
56493
|
|
|
56505
|
-
var _jsxFileName = "
|
|
56494
|
+
var _jsxFileName = "/home/alfiantryp/Project/majoo-ui/packages/react/src/colors/Colors.js";
|
|
56506
56495
|
const StyledPaper = styled(Paper, {
|
|
56507
56496
|
borderRadius: '10px 10px 0 0',
|
|
56508
56497
|
padding: 15,
|