@majoo-ui/react 1.61.19-rc.2 → 1.61.19-rc.3
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,
|
|
@@ -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
|
|
|
@@ -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',
|
|
@@ -14516,37 +14516,6 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14516
14516
|
setInputSelectValue(value);
|
|
14517
14517
|
}
|
|
14518
14518
|
}, [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
14519
|
const sortValue = selectedValue.length > 0 && disabledOptions.length === 0 ? inputSelectValue.reduce((res, id, i, {
|
|
14551
14520
|
[i + 1]: next
|
|
14552
14521
|
}) => {
|
|
@@ -14814,24 +14783,54 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14814
14783
|
}
|
|
14815
14784
|
}
|
|
14816
14785
|
});
|
|
14817
|
-
const memoOptions = useMemo(() =>
|
|
14818
|
-
|
|
14819
|
-
|
|
14820
|
-
|
|
14821
|
-
|
|
14822
|
-
|
|
14823
|
-
|
|
14824
|
-
|
|
14786
|
+
const memoOptions = useMemo(() => {
|
|
14787
|
+
// 1. Create a shallow copy to avoid mutating the prop.
|
|
14788
|
+
const optionsCopy = option ? [...option] : [];
|
|
14789
|
+
|
|
14790
|
+
// 2. Sort the copy based on the sortBy prop.
|
|
14791
|
+
if (sortBy === 'id') {
|
|
14792
|
+
optionsCopy.sort((a, b) => {
|
|
14793
|
+
const idA = typeof a.id === 'string' ? a.id.toUpperCase() : a.id;
|
|
14794
|
+
const idB = typeof b.id === 'string' ? b.id.toUpperCase() : b.id;
|
|
14795
|
+
if (a.id === '!all') return -1;
|
|
14796
|
+
if (b.id === '!all') return 1;
|
|
14797
|
+
if (idA < idB) return -1;
|
|
14798
|
+
if (idA > idB) return 1;
|
|
14799
|
+
return 0;
|
|
14800
|
+
});
|
|
14801
|
+
} else if (sortBy === 'name') {
|
|
14802
|
+
optionsCopy.sort((a, b) => {
|
|
14803
|
+
const nameA = typeof a.name === 'string' ? a.name.toUpperCase() : a.name;
|
|
14804
|
+
const nameB = typeof b.name === 'string' ? b.name.toUpperCase() : b.name;
|
|
14805
|
+
if (a.id === '!all') return -1;
|
|
14806
|
+
if (b.id === '!all') return 1;
|
|
14807
|
+
if (nameA < nameB) return -1;
|
|
14808
|
+
if (nameA > nameB) return 1;
|
|
14809
|
+
return 0;
|
|
14810
|
+
});
|
|
14825
14811
|
}
|
|
14826
|
-
|
|
14827
|
-
|
|
14812
|
+
|
|
14813
|
+
// 3. Apply the maxSelectedItem logic if needed.
|
|
14814
|
+
return maxSelectedItem ? optionsCopy.map(item => {
|
|
14815
|
+
const isMaxSelectedItem = maxSelectedItem && (selectedValue == null ? void 0 : selectedValue.length) >= maxSelectedItem;
|
|
14816
|
+
if (isMaxSelectedItem && !(selectedValue != null && selectedValue.includes(item.id))) {
|
|
14817
|
+
item.hideCheck = true;
|
|
14818
|
+
item.isDisabled = true;
|
|
14819
|
+
} else {
|
|
14820
|
+
item.hideCheck = false;
|
|
14821
|
+
item.isDisabled = false;
|
|
14822
|
+
}
|
|
14823
|
+
return item;
|
|
14824
|
+
}) : optionsCopy;
|
|
14825
|
+
}, [maxSelectedItem, option, selectedValue, sortBy]); // Add sortBy to the dependency array
|
|
14826
|
+
|
|
14828
14827
|
const memoOptionsString = useMemo(() => JSON.stringify(memoOptions), [memoOptions]);
|
|
14829
14828
|
const itemsLength = items == null ? void 0 : items.reduce((acc, item) => {
|
|
14830
14829
|
return [...acc, ...(item.children ? item.children : [item])];
|
|
14831
14830
|
}, []).length;
|
|
14832
14831
|
useEffect(() => {
|
|
14833
14832
|
if ((!inputValue || fetchData) && ready) {
|
|
14834
|
-
sortItems()
|
|
14833
|
+
// The `sortItems()` call is now gone. `memoOptions` is already sorted.
|
|
14835
14834
|
setItems(isShowSelectAll ? [{
|
|
14836
14835
|
id: '!all',
|
|
14837
14836
|
name: selectAllLabel != null ? selectAllLabel : t('selectAllLabelText', 'Pilih Semua')
|
|
@@ -14841,18 +14840,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14841
14840
|
name: selectAllLabel != null ? selectAllLabel : t('selectAllLabelText', 'Pilih Semua')
|
|
14842
14841
|
}, ...memoOptions] : memoOptions);
|
|
14843
14842
|
}
|
|
14844
|
-
}, [isShowSelectAll, selectAllLabel, ready, memoOptionsString, inputValue]);
|
|
14843
|
+
}, [isShowSelectAll, selectAllLabel, ready, memoOptionsString, inputValue, sortBy]); // Add sortBy here
|
|
14844
|
+
|
|
14845
14845
|
useEffect(() => {
|
|
14846
14846
|
if (selectedValue.length > 0 && disabledOptions.length === 0) {
|
|
14847
14847
|
setInitItems(sortValue);
|
|
14848
14848
|
setItems(sortValue);
|
|
14849
14849
|
}
|
|
14850
14850
|
}, []);
|
|
14851
|
-
useEffect(() => {
|
|
14852
|
-
if (sortBy) {
|
|
14853
|
-
sortItems();
|
|
14854
|
-
}
|
|
14855
|
-
}, [sortBy]);
|
|
14856
14851
|
useEffect(() => {
|
|
14857
14852
|
if (disabledOptions.length > 0) {
|
|
14858
14853
|
const options = generateOptions(sortDisabled);
|
|
@@ -14912,7 +14907,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14912
14907
|
__self: undefined,
|
|
14913
14908
|
__source: {
|
|
14914
14909
|
fileName: _jsxFileName$x,
|
|
14915
|
-
lineNumber:
|
|
14910
|
+
lineNumber: 778,
|
|
14916
14911
|
columnNumber: 9
|
|
14917
14912
|
}
|
|
14918
14913
|
}), /*#__PURE__*/React__default.createElement(IconWrapper, {
|
|
@@ -14926,7 +14921,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14926
14921
|
__self: undefined,
|
|
14927
14922
|
__source: {
|
|
14928
14923
|
fileName: _jsxFileName$x,
|
|
14929
|
-
lineNumber:
|
|
14924
|
+
lineNumber: 797,
|
|
14930
14925
|
columnNumber: 11
|
|
14931
14926
|
}
|
|
14932
14927
|
}, !(item != null && item.hideCheck) && (item.isDisabled ? /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
@@ -14934,7 +14929,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14934
14929
|
__self: undefined,
|
|
14935
14930
|
__source: {
|
|
14936
14931
|
fileName: _jsxFileName$x,
|
|
14937
|
-
lineNumber:
|
|
14932
|
+
lineNumber: 809,
|
|
14938
14933
|
columnNumber: 17
|
|
14939
14934
|
}
|
|
14940
14935
|
}) : selectedValue.includes(item.id) && (item.isDisabled === false || item.isDisabled === undefined) && /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
@@ -14942,21 +14937,21 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14942
14937
|
__self: undefined,
|
|
14943
14938
|
__source: {
|
|
14944
14939
|
fileName: _jsxFileName$x,
|
|
14945
|
-
lineNumber:
|
|
14940
|
+
lineNumber: 813,
|
|
14946
14941
|
columnNumber: 19
|
|
14947
14942
|
}
|
|
14948
14943
|
})), 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
14944
|
__self: undefined,
|
|
14950
14945
|
__source: {
|
|
14951
14946
|
fileName: _jsxFileName$x,
|
|
14952
|
-
lineNumber:
|
|
14947
|
+
lineNumber: 817,
|
|
14953
14948
|
columnNumber: 15
|
|
14954
14949
|
}
|
|
14955
14950
|
}, "-") : /*#__PURE__*/React__default.createElement("div", {
|
|
14956
14951
|
__self: undefined,
|
|
14957
14952
|
__source: {
|
|
14958
14953
|
fileName: _jsxFileName$x,
|
|
14959
|
-
lineNumber:
|
|
14954
|
+
lineNumber: 819,
|
|
14960
14955
|
columnNumber: 15
|
|
14961
14956
|
}
|
|
14962
14957
|
})), /*#__PURE__*/React__default.createElement(Item$2, {
|
|
@@ -14967,7 +14962,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14967
14962
|
__self: undefined,
|
|
14968
14963
|
__source: {
|
|
14969
14964
|
fileName: _jsxFileName$x,
|
|
14970
|
-
lineNumber:
|
|
14965
|
+
lineNumber: 822,
|
|
14971
14966
|
columnNumber: 11
|
|
14972
14967
|
}
|
|
14973
14968
|
}, item.render ? item.render == null ? void 0 : item.render(item.name) : item.name));
|
|
@@ -14995,7 +14990,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14995
14990
|
__self: undefined,
|
|
14996
14991
|
__source: {
|
|
14997
14992
|
fileName: _jsxFileName$x,
|
|
14998
|
-
lineNumber:
|
|
14993
|
+
lineNumber: 838,
|
|
14999
14994
|
columnNumber: 13
|
|
15000
14995
|
}
|
|
15001
14996
|
}), /*#__PURE__*/React__default.createElement(IconWrapper, {
|
|
@@ -15008,7 +15003,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15008
15003
|
__self: undefined,
|
|
15009
15004
|
__source: {
|
|
15010
15005
|
fileName: _jsxFileName$x,
|
|
15011
|
-
lineNumber:
|
|
15006
|
+
lineNumber: 851,
|
|
15012
15007
|
columnNumber: 15
|
|
15013
15008
|
}
|
|
15014
15009
|
}, !(item != null && item.hideCheck) && item.isDisabled ? /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
@@ -15016,7 +15011,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15016
15011
|
__self: undefined,
|
|
15017
15012
|
__source: {
|
|
15018
15013
|
fileName: _jsxFileName$x,
|
|
15019
|
-
lineNumber:
|
|
15014
|
+
lineNumber: 861,
|
|
15020
15015
|
columnNumber: 19
|
|
15021
15016
|
}
|
|
15022
15017
|
}) : (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 +15019,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15024
15019
|
__self: undefined,
|
|
15025
15020
|
__source: {
|
|
15026
15021
|
fileName: _jsxFileName$x,
|
|
15027
|
-
lineNumber:
|
|
15022
|
+
lineNumber: 863,
|
|
15028
15023
|
columnNumber: 19
|
|
15029
15024
|
}
|
|
15030
15025
|
}) : (filterSelectedChild == null ? void 0 : filterSelectedChild.length) > 0 ? /*#__PURE__*/React__default.createElement(IndeterminateFilled$1, {
|
|
15031
15026
|
__self: undefined,
|
|
15032
15027
|
__source: {
|
|
15033
15028
|
fileName: _jsxFileName$x,
|
|
15034
|
-
lineNumber:
|
|
15029
|
+
lineNumber: 865,
|
|
15035
15030
|
columnNumber: 19
|
|
15036
15031
|
}
|
|
15037
15032
|
}, "-") : null), /*#__PURE__*/React__default.createElement(Item$2, {
|
|
@@ -15042,14 +15037,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15042
15037
|
__self: undefined,
|
|
15043
15038
|
__source: {
|
|
15044
15039
|
fileName: _jsxFileName$x,
|
|
15045
|
-
lineNumber:
|
|
15040
|
+
lineNumber: 868,
|
|
15046
15041
|
columnNumber: 15
|
|
15047
15042
|
}
|
|
15048
15043
|
}, item.render ? item.render == null ? void 0 : item.render(item.name) : item.name)),
|
|
15049
15044
|
__self: undefined,
|
|
15050
15045
|
__source: {
|
|
15051
15046
|
fileName: _jsxFileName$x,
|
|
15052
|
-
lineNumber:
|
|
15047
|
+
lineNumber: 836,
|
|
15053
15048
|
columnNumber: 9
|
|
15054
15049
|
}
|
|
15055
15050
|
}, item == null || (_item$children8 = item.children) == null ? void 0 : _item$children8.map((optItem, optIndex) => renderOptionItem(optItem, groupIndex + optIndex + 1, true)));
|
|
@@ -15062,7 +15057,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15062
15057
|
__self: undefined,
|
|
15063
15058
|
__source: {
|
|
15064
15059
|
fileName: _jsxFileName$x,
|
|
15065
|
-
lineNumber:
|
|
15060
|
+
lineNumber: 880,
|
|
15066
15061
|
columnNumber: 7
|
|
15067
15062
|
}
|
|
15068
15063
|
}), /*#__PURE__*/React__default.createElement(Select, {
|
|
@@ -15072,7 +15067,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15072
15067
|
__self: undefined,
|
|
15073
15068
|
__source: {
|
|
15074
15069
|
fileName: _jsxFileName$x,
|
|
15075
|
-
lineNumber:
|
|
15070
|
+
lineNumber: 881,
|
|
15076
15071
|
columnNumber: 9
|
|
15077
15072
|
}
|
|
15078
15073
|
}, /*#__PURE__*/React__default.createElement(InputWrapper$1, _extends({}, getComboboxProps(getDropdownProps({
|
|
@@ -15087,7 +15082,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15087
15082
|
__self: undefined,
|
|
15088
15083
|
__source: {
|
|
15089
15084
|
fileName: _jsxFileName$x,
|
|
15090
|
-
lineNumber:
|
|
15085
|
+
lineNumber: 882,
|
|
15091
15086
|
columnNumber: 11
|
|
15092
15087
|
}
|
|
15093
15088
|
}), /*#__PURE__*/React__default.createElement(Input$6, _extends({}, getInputProps({
|
|
@@ -15105,7 +15100,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15105
15100
|
__self: undefined,
|
|
15106
15101
|
__source: {
|
|
15107
15102
|
fileName: _jsxFileName$x,
|
|
15108
|
-
lineNumber:
|
|
15103
|
+
lineNumber: 892,
|
|
15109
15104
|
columnNumber: 13
|
|
15110
15105
|
}
|
|
15111
15106
|
})), /*#__PURE__*/React__default.createElement(Button$2, _extends({}, getToggleButtonProps({
|
|
@@ -15119,7 +15114,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15119
15114
|
__self: undefined,
|
|
15120
15115
|
__source: {
|
|
15121
15116
|
fileName: _jsxFileName$x,
|
|
15122
|
-
lineNumber:
|
|
15117
|
+
lineNumber: 899,
|
|
15123
15118
|
columnNumber: 13
|
|
15124
15119
|
}
|
|
15125
15120
|
}), (_ref2 = label != null ? label : placeholder) != null ? _ref2 : t('placeholder', 'Pilih Item'))), /*#__PURE__*/React__default.createElement(IconWrapper, _extends({}, getToggleButtonProps({
|
|
@@ -15130,7 +15125,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15130
15125
|
__self: undefined,
|
|
15131
15126
|
__source: {
|
|
15132
15127
|
fileName: _jsxFileName$x,
|
|
15133
|
-
lineNumber:
|
|
15128
|
+
lineNumber: 910,
|
|
15134
15129
|
columnNumber: 11
|
|
15135
15130
|
}
|
|
15136
15131
|
}), /*#__PURE__*/React__default.createElement(IconCaretDown, {
|
|
@@ -15138,7 +15133,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15138
15133
|
__self: undefined,
|
|
15139
15134
|
__source: {
|
|
15140
15135
|
fileName: _jsxFileName$x,
|
|
15141
|
-
lineNumber:
|
|
15136
|
+
lineNumber: 915,
|
|
15142
15137
|
columnNumber: 13
|
|
15143
15138
|
}
|
|
15144
15139
|
}))), helperText && /*#__PURE__*/React__default.createElement(Paragraph, {
|
|
@@ -15151,7 +15146,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15151
15146
|
__self: undefined,
|
|
15152
15147
|
__source: {
|
|
15153
15148
|
fileName: _jsxFileName$x,
|
|
15154
|
-
lineNumber:
|
|
15149
|
+
lineNumber: 919,
|
|
15155
15150
|
columnNumber: 11
|
|
15156
15151
|
}
|
|
15157
15152
|
}, helperText), showSelectedTag && !showCounter && selectedItems.length !== 0 && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(TagWrapper$2, {
|
|
@@ -15159,7 +15154,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15159
15154
|
__self: undefined,
|
|
15160
15155
|
__source: {
|
|
15161
15156
|
fileName: _jsxFileName$x,
|
|
15162
|
-
lineNumber:
|
|
15157
|
+
lineNumber: 925,
|
|
15163
15158
|
columnNumber: 13
|
|
15164
15159
|
}
|
|
15165
15160
|
}, isShowTagSelectAll ? /*#__PURE__*/React__default.createElement(Tag, _extends({
|
|
@@ -15180,7 +15175,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15180
15175
|
__self: undefined,
|
|
15181
15176
|
__source: {
|
|
15182
15177
|
fileName: _jsxFileName$x,
|
|
15183
|
-
lineNumber:
|
|
15178
|
+
lineNumber: 927,
|
|
15184
15179
|
columnNumber: 17
|
|
15185
15180
|
}
|
|
15186
15181
|
}), 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 +15206,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15211
15206
|
__self: undefined,
|
|
15212
15207
|
__source: {
|
|
15213
15208
|
fileName: _jsxFileName$x,
|
|
15214
|
-
lineNumber:
|
|
15209
|
+
lineNumber: 956,
|
|
15215
15210
|
columnNumber: 21
|
|
15216
15211
|
}
|
|
15217
15212
|
}), selectedItem.name))), collapsible && !isShowTagSelectAll && (selectedItems == null ? void 0 : selectedItems.length) > collapsibleLimit && /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -15220,7 +15215,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15220
15215
|
__self: undefined,
|
|
15221
15216
|
__source: {
|
|
15222
15217
|
fileName: _jsxFileName$x,
|
|
15223
|
-
lineNumber:
|
|
15218
|
+
lineNumber: 979,
|
|
15224
15219
|
columnNumber: 15
|
|
15225
15220
|
}
|
|
15226
15221
|
}, /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -15230,14 +15225,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15230
15225
|
__self: undefined,
|
|
15231
15226
|
__source: {
|
|
15232
15227
|
fileName: _jsxFileName$x,
|
|
15233
|
-
lineNumber:
|
|
15228
|
+
lineNumber: 980,
|
|
15234
15229
|
columnNumber: 17
|
|
15235
15230
|
}
|
|
15236
15231
|
}, /*#__PURE__*/React__default.createElement(Separator$2, {
|
|
15237
15232
|
__self: undefined,
|
|
15238
15233
|
__source: {
|
|
15239
15234
|
fileName: _jsxFileName$x,
|
|
15240
|
-
lineNumber:
|
|
15235
|
+
lineNumber: 981,
|
|
15241
15236
|
columnNumber: 19
|
|
15242
15237
|
}
|
|
15243
15238
|
}), /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -15251,7 +15246,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15251
15246
|
__self: undefined,
|
|
15252
15247
|
__source: {
|
|
15253
15248
|
fileName: _jsxFileName$x,
|
|
15254
|
-
lineNumber:
|
|
15249
|
+
lineNumber: 982,
|
|
15255
15250
|
columnNumber: 19
|
|
15256
15251
|
}
|
|
15257
15252
|
}, showAllTags ? /*#__PURE__*/React__default.createElement(ChevronUpOutline, {
|
|
@@ -15259,7 +15254,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15259
15254
|
__self: undefined,
|
|
15260
15255
|
__source: {
|
|
15261
15256
|
fileName: _jsxFileName$x,
|
|
15262
|
-
lineNumber:
|
|
15257
|
+
lineNumber: 988,
|
|
15263
15258
|
columnNumber: 23
|
|
15264
15259
|
}
|
|
15265
15260
|
}) : /*#__PURE__*/React__default.createElement(ChevronDownOutline, {
|
|
@@ -15267,7 +15262,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15267
15262
|
__self: undefined,
|
|
15268
15263
|
__source: {
|
|
15269
15264
|
fileName: _jsxFileName$x,
|
|
15270
|
-
lineNumber:
|
|
15265
|
+
lineNumber: 990,
|
|
15271
15266
|
columnNumber: 23
|
|
15272
15267
|
}
|
|
15273
15268
|
}), /*#__PURE__*/React__default.createElement(Paragraph, {
|
|
@@ -15279,14 +15274,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15279
15274
|
__self: undefined,
|
|
15280
15275
|
__source: {
|
|
15281
15276
|
fileName: _jsxFileName$x,
|
|
15282
|
-
lineNumber:
|
|
15277
|
+
lineNumber: 992,
|
|
15283
15278
|
columnNumber: 21
|
|
15284
15279
|
}
|
|
15285
15280
|
}, showAllTags ? t('showSomeText', 'Tampilkan Sebagian') : t('showAllText', 'Tampilkan Semua'))), /*#__PURE__*/React__default.createElement(Separator$2, {
|
|
15286
15281
|
__self: undefined,
|
|
15287
15282
|
__source: {
|
|
15288
15283
|
fileName: _jsxFileName$x,
|
|
15289
|
-
lineNumber:
|
|
15284
|
+
lineNumber: 996,
|
|
15290
15285
|
columnNumber: 19
|
|
15291
15286
|
}
|
|
15292
15287
|
})), showCollapsibleCounter && /*#__PURE__*/React__default.createElement(Paragraph, {
|
|
@@ -15297,7 +15292,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15297
15292
|
__self: undefined,
|
|
15298
15293
|
__source: {
|
|
15299
15294
|
fileName: _jsxFileName$x,
|
|
15300
|
-
lineNumber:
|
|
15295
|
+
lineNumber: 999,
|
|
15301
15296
|
columnNumber: 19
|
|
15302
15297
|
}
|
|
15303
15298
|
}, `${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, {
|
|
@@ -15322,7 +15317,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15322
15317
|
__self: undefined,
|
|
15323
15318
|
__source: {
|
|
15324
15319
|
fileName: _jsxFileName$x,
|
|
15325
|
-
lineNumber:
|
|
15320
|
+
lineNumber: 1017,
|
|
15326
15321
|
columnNumber: 9
|
|
15327
15322
|
}
|
|
15328
15323
|
}, isLoading && /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -15344,7 +15339,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15344
15339
|
__self: undefined,
|
|
15345
15340
|
__source: {
|
|
15346
15341
|
fileName: _jsxFileName$x,
|
|
15347
|
-
lineNumber:
|
|
15342
|
+
lineNumber: 1027,
|
|
15348
15343
|
columnNumber: 13
|
|
15349
15344
|
}
|
|
15350
15345
|
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
@@ -15352,7 +15347,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15352
15347
|
__self: undefined,
|
|
15353
15348
|
__source: {
|
|
15354
15349
|
fileName: _jsxFileName$x,
|
|
15355
|
-
lineNumber:
|
|
15350
|
+
lineNumber: 1044,
|
|
15356
15351
|
columnNumber: 15
|
|
15357
15352
|
}
|
|
15358
15353
|
}, "Loading....")), items.length > 0 || isLoading ? /*#__PURE__*/React__default.createElement(Option, _extends({}, getMenuProps({
|
|
@@ -15364,7 +15359,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15364
15359
|
__self: undefined,
|
|
15365
15360
|
__source: {
|
|
15366
15361
|
fileName: _jsxFileName$x,
|
|
15367
|
-
lineNumber:
|
|
15362
|
+
lineNumber: 1049,
|
|
15368
15363
|
columnNumber: 13
|
|
15369
15364
|
}
|
|
15370
15365
|
}), /*#__PURE__*/React__default.createElement(ConditionalWrapper, {
|
|
@@ -15387,14 +15382,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15387
15382
|
__self: undefined,
|
|
15388
15383
|
__source: {
|
|
15389
15384
|
fileName: _jsxFileName$x,
|
|
15390
|
-
lineNumber:
|
|
15385
|
+
lineNumber: 1053,
|
|
15391
15386
|
columnNumber: 19
|
|
15392
15387
|
}
|
|
15393
15388
|
}, child),
|
|
15394
15389
|
__self: undefined,
|
|
15395
15390
|
__source: {
|
|
15396
15391
|
fileName: _jsxFileName$x,
|
|
15397
|
-
lineNumber:
|
|
15392
|
+
lineNumber: 1050,
|
|
15398
15393
|
columnNumber: 15
|
|
15399
15394
|
}
|
|
15400
15395
|
}, isOpen && items.map((item, index) => item != null && item.children ? renderOptionGroupItem(item) : renderOptionItem(item, index)))) : /*#__PURE__*/React__default.createElement(Option, _extends({
|
|
@@ -15407,14 +15402,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15407
15402
|
__self: undefined,
|
|
15408
15403
|
__source: {
|
|
15409
15404
|
fileName: _jsxFileName$x,
|
|
15410
|
-
lineNumber:
|
|
15405
|
+
lineNumber: 1078,
|
|
15411
15406
|
columnNumber: 13
|
|
15412
15407
|
}
|
|
15413
15408
|
}), /*#__PURE__*/React__default.createElement(StyledDiv, {
|
|
15414
15409
|
__self: undefined,
|
|
15415
15410
|
__source: {
|
|
15416
15411
|
fileName: _jsxFileName$x,
|
|
15417
|
-
lineNumber:
|
|
15412
|
+
lineNumber: 1079,
|
|
15418
15413
|
columnNumber: 15
|
|
15419
15414
|
}
|
|
15420
15415
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -15424,7 +15419,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15424
15419
|
__self: undefined,
|
|
15425
15420
|
__source: {
|
|
15426
15421
|
fileName: _jsxFileName$x,
|
|
15427
|
-
lineNumber:
|
|
15422
|
+
lineNumber: 1080,
|
|
15428
15423
|
columnNumber: 17
|
|
15429
15424
|
}
|
|
15430
15425
|
}, /*#__PURE__*/React__default.createElement(CircleInfoOutline, {
|
|
@@ -15436,7 +15431,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15436
15431
|
__self: undefined,
|
|
15437
15432
|
__source: {
|
|
15438
15433
|
fileName: _jsxFileName$x,
|
|
15439
|
-
lineNumber:
|
|
15434
|
+
lineNumber: 1081,
|
|
15440
15435
|
columnNumber: 19
|
|
15441
15436
|
}
|
|
15442
15437
|
})), textEmptyItem != null ? textEmptyItem : t('emptyItemText', 'Item tidak ditemukan')))));
|
|
@@ -15509,7 +15504,7 @@ InputSelectCheck.defaultProps = {
|
|
|
15509
15504
|
onItemClick: changes => {}
|
|
15510
15505
|
};
|
|
15511
15506
|
|
|
15512
|
-
var _jsxFileName$w = "
|
|
15507
|
+
var _jsxFileName$w = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectTag/InputSelectTag.js";
|
|
15513
15508
|
const InputSelectTag = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
15514
15509
|
return /*#__PURE__*/React.createElement(InputSelectCheck, _extends({
|
|
15515
15510
|
ref: ref,
|
|
@@ -15570,7 +15565,7 @@ InputSelectTag.defaultProps = {
|
|
|
15570
15565
|
defaultValue: []
|
|
15571
15566
|
};
|
|
15572
15567
|
|
|
15573
|
-
var _jsxFileName$v = "
|
|
15568
|
+
var _jsxFileName$v = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCreatable/InputCreatable.js";
|
|
15574
15569
|
const Wrapper = styled('div', {
|
|
15575
15570
|
margin: 0,
|
|
15576
15571
|
flexDirection: 'column',
|
|
@@ -16698,7 +16693,7 @@ InputCounter.defaultProps = {
|
|
|
16698
16693
|
|
|
16699
16694
|
const _excluded$c = ["children"],
|
|
16700
16695
|
_excluded2$3 = ["children", "showOverlay"];
|
|
16701
|
-
var _jsxFileName$u = "
|
|
16696
|
+
var _jsxFileName$u = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/drawer/Drawer.js";
|
|
16702
16697
|
const Context$1 = /*#__PURE__*/React__default.createContext();
|
|
16703
16698
|
const {
|
|
16704
16699
|
sizes
|
|
@@ -17048,7 +17043,7 @@ DrawerCloseButton.displayName = 'DrawerCloseButton';
|
|
|
17048
17043
|
|
|
17049
17044
|
const _excluded$b = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size", "withMaxWidth", "mobileOnly", "desktopOnly"],
|
|
17050
17045
|
_excluded2$2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
|
|
17051
|
-
var _jsxFileName$t = "
|
|
17046
|
+
var _jsxFileName$t = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/buttonGroup/ButtonGroup.js";
|
|
17052
17047
|
const ScrollButton$1 = styled(Button$4, {
|
|
17053
17048
|
width: '28px',
|
|
17054
17049
|
outline: '$btnPrimary solid 1px',
|
|
@@ -17578,7 +17573,7 @@ const DateNumber = styled('div', {
|
|
|
17578
17573
|
});
|
|
17579
17574
|
DateNumber.displayName = 'DateNumber';
|
|
17580
17575
|
|
|
17581
|
-
var _jsxFileName$s = "
|
|
17576
|
+
var _jsxFileName$s = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/TimePicker.js";
|
|
17582
17577
|
const Input$3 = styled('input', {
|
|
17583
17578
|
display: 'none'
|
|
17584
17579
|
});
|
|
@@ -17981,56 +17976,56 @@ const NativeTimePicker = ({
|
|
|
17981
17976
|
})));
|
|
17982
17977
|
};
|
|
17983
17978
|
NativeTimePicker.propTypes = {
|
|
17984
|
-
/**
|
|
17985
|
-
Resize time picker.
|
|
17979
|
+
/**
|
|
17980
|
+
Resize time picker.
|
|
17986
17981
|
*/
|
|
17987
17982
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
17988
|
-
/**
|
|
17989
|
-
Change handler.
|
|
17983
|
+
/**
|
|
17984
|
+
Change handler.
|
|
17990
17985
|
*/
|
|
17991
17986
|
onChange: PropTypes.func,
|
|
17992
|
-
/**
|
|
17993
|
-
Time picker default value, support moment format.
|
|
17987
|
+
/**
|
|
17988
|
+
Time picker default value, support moment format.
|
|
17994
17989
|
*/
|
|
17995
17990
|
defaultValue: PropTypes.instanceOf(Date),
|
|
17996
|
-
/**
|
|
17997
|
-
Time picker value, support moment format.
|
|
17991
|
+
/**
|
|
17992
|
+
Time picker value, support moment format.
|
|
17998
17993
|
*/
|
|
17999
17994
|
value: PropTypes.instanceOf(Date),
|
|
18000
|
-
/**
|
|
18001
|
-
Disabled state.
|
|
17995
|
+
/**
|
|
17996
|
+
Disabled state.
|
|
18002
17997
|
*/
|
|
18003
17998
|
disabled: PropTypes.bool,
|
|
18004
|
-
/**
|
|
18005
|
-
Disabled hour state.
|
|
17999
|
+
/**
|
|
18000
|
+
Disabled hour state.
|
|
18006
18001
|
*/
|
|
18007
18002
|
disabledHour: PropTypes.bool,
|
|
18008
|
-
/**
|
|
18009
|
-
Disabled increase hour state.
|
|
18003
|
+
/**
|
|
18004
|
+
Disabled increase hour state.
|
|
18010
18005
|
*/
|
|
18011
18006
|
disabledHourIncrease: PropTypes.bool,
|
|
18012
|
-
/**
|
|
18013
|
-
Disabled decrease hour state.
|
|
18007
|
+
/**
|
|
18008
|
+
Disabled decrease hour state.
|
|
18014
18009
|
*/
|
|
18015
18010
|
disabledHourDecrease: PropTypes.bool,
|
|
18016
|
-
/**
|
|
18017
|
-
Disabled minute state.
|
|
18011
|
+
/**
|
|
18012
|
+
Disabled minute state.
|
|
18018
18013
|
*/
|
|
18019
18014
|
disabledMinute: PropTypes.bool,
|
|
18020
|
-
/**
|
|
18021
|
-
Disabled increase minute state.
|
|
18015
|
+
/**
|
|
18016
|
+
Disabled increase minute state.
|
|
18022
18017
|
*/
|
|
18023
18018
|
disabledMinuteIncrease: PropTypes.bool,
|
|
18024
|
-
/**
|
|
18025
|
-
Disabled decrease minute state.
|
|
18019
|
+
/**
|
|
18020
|
+
Disabled decrease minute state.
|
|
18026
18021
|
*/
|
|
18027
18022
|
disabledMinuteDecrease: PropTypes.bool,
|
|
18028
|
-
/**
|
|
18029
|
-
Specify the minimum date.
|
|
18023
|
+
/**
|
|
18024
|
+
Specify the minimum date.
|
|
18030
18025
|
*/
|
|
18031
18026
|
minDate: PropTypes.instanceOf(Date),
|
|
18032
|
-
/**
|
|
18033
|
-
Specify the maximum date.
|
|
18027
|
+
/**
|
|
18028
|
+
Specify the maximum date.
|
|
18034
18029
|
*/
|
|
18035
18030
|
maxDate: PropTypes.instanceOf(Date)
|
|
18036
18031
|
};
|
|
@@ -18087,66 +18082,66 @@ const TimePicker = ({
|
|
|
18087
18082
|
};
|
|
18088
18083
|
TimePicker.displayName = 'TimePicker';
|
|
18089
18084
|
TimePicker.propTypes = {
|
|
18090
|
-
/**
|
|
18091
|
-
Additional styles.
|
|
18085
|
+
/**
|
|
18086
|
+
Additional styles.
|
|
18092
18087
|
*/
|
|
18093
18088
|
css: PropTypes.object,
|
|
18094
|
-
/**
|
|
18095
|
-
Resize time picker.
|
|
18089
|
+
/**
|
|
18090
|
+
Resize time picker.
|
|
18096
18091
|
*/
|
|
18097
18092
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
18098
|
-
/**
|
|
18099
|
-
Change handler.
|
|
18093
|
+
/**
|
|
18094
|
+
Change handler.
|
|
18100
18095
|
*/
|
|
18101
18096
|
onChange: PropTypes.func,
|
|
18102
|
-
/**
|
|
18103
|
-
Time picker default value, support moment format.
|
|
18097
|
+
/**
|
|
18098
|
+
Time picker default value, support moment format.
|
|
18104
18099
|
*/
|
|
18105
18100
|
defaultValue: PropTypes.instanceOf(Date),
|
|
18106
|
-
/**
|
|
18107
|
-
Time picker value, support moment format.
|
|
18101
|
+
/**
|
|
18102
|
+
Time picker value, support moment format.
|
|
18108
18103
|
*/
|
|
18109
18104
|
value: PropTypes.instanceOf(Date),
|
|
18110
|
-
/**
|
|
18111
|
-
Disabled state.
|
|
18105
|
+
/**
|
|
18106
|
+
Disabled state.
|
|
18112
18107
|
*/
|
|
18113
18108
|
disabled: PropTypes.bool,
|
|
18114
|
-
/**
|
|
18115
|
-
Disabled hour state.
|
|
18109
|
+
/**
|
|
18110
|
+
Disabled hour state.
|
|
18116
18111
|
*/
|
|
18117
18112
|
disabledHour: PropTypes.bool,
|
|
18118
|
-
/**
|
|
18119
|
-
Disabled increase hour state.
|
|
18113
|
+
/**
|
|
18114
|
+
Disabled increase hour state.
|
|
18120
18115
|
*/
|
|
18121
18116
|
disabledHourIncrease: PropTypes.bool,
|
|
18122
|
-
/**
|
|
18123
|
-
Disabled decrease hour state.
|
|
18117
|
+
/**
|
|
18118
|
+
Disabled decrease hour state.
|
|
18124
18119
|
*/
|
|
18125
18120
|
disabledHourDecrease: PropTypes.bool,
|
|
18126
|
-
/**
|
|
18127
|
-
Disabled minute state.
|
|
18121
|
+
/**
|
|
18122
|
+
Disabled minute state.
|
|
18128
18123
|
*/
|
|
18129
18124
|
disabledMinute: PropTypes.bool,
|
|
18130
|
-
/**
|
|
18131
|
-
Disabled increase minute state.
|
|
18125
|
+
/**
|
|
18126
|
+
Disabled increase minute state.
|
|
18132
18127
|
*/
|
|
18133
18128
|
disabledMinuteIncrease: PropTypes.bool,
|
|
18134
|
-
/**
|
|
18135
|
-
Disabled decrease minute state.
|
|
18129
|
+
/**
|
|
18130
|
+
Disabled decrease minute state.
|
|
18136
18131
|
*/
|
|
18137
18132
|
disabledMinuteDecrease: PropTypes.bool,
|
|
18138
|
-
/**
|
|
18139
|
-
Specify the minimum date.
|
|
18133
|
+
/**
|
|
18134
|
+
Specify the minimum date.
|
|
18140
18135
|
*/
|
|
18141
18136
|
minDate: PropTypes.instanceOf(Date),
|
|
18142
|
-
/**
|
|
18143
|
-
Specify the maximum date.
|
|
18137
|
+
/**
|
|
18138
|
+
Specify the maximum date.
|
|
18144
18139
|
*/
|
|
18145
18140
|
maxDate: PropTypes.instanceOf(Date)
|
|
18146
18141
|
};
|
|
18147
18142
|
NativeTimePicker.displayName = 'NativeTimePicker';
|
|
18148
18143
|
|
|
18149
|
-
var _jsxFileName$r = "
|
|
18144
|
+
var _jsxFileName$r = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/InputTimePicker.js";
|
|
18150
18145
|
const getInputPickerValue$1 = date => {
|
|
18151
18146
|
if (!date) return;
|
|
18152
18147
|
return moment(date).format('HH:mm');
|
|
@@ -18305,88 +18300,88 @@ InputTimePicker.defaultProps = {
|
|
|
18305
18300
|
placeholder: 'Select Time'
|
|
18306
18301
|
};
|
|
18307
18302
|
InputTimePicker.propTypes = {
|
|
18308
|
-
/**
|
|
18309
|
-
Additional styles.
|
|
18303
|
+
/**
|
|
18304
|
+
Additional styles.
|
|
18310
18305
|
*/
|
|
18311
18306
|
css: PropTypes.object,
|
|
18312
|
-
/**
|
|
18313
|
-
Disabled state.
|
|
18307
|
+
/**
|
|
18308
|
+
Disabled state.
|
|
18314
18309
|
*/
|
|
18315
18310
|
disabled: PropTypes.bool,
|
|
18316
|
-
/**
|
|
18317
|
-
Disabled hour state.
|
|
18311
|
+
/**
|
|
18312
|
+
Disabled hour state.
|
|
18318
18313
|
*/
|
|
18319
18314
|
disabledHour: PropTypes.bool,
|
|
18320
|
-
/**
|
|
18321
|
-
Disabled increase hour state.
|
|
18315
|
+
/**
|
|
18316
|
+
Disabled increase hour state.
|
|
18322
18317
|
*/
|
|
18323
18318
|
disabledHourIncrease: PropTypes.bool,
|
|
18324
|
-
/**
|
|
18325
|
-
Disabled decrease hour state.
|
|
18319
|
+
/**
|
|
18320
|
+
Disabled decrease hour state.
|
|
18326
18321
|
*/
|
|
18327
18322
|
disabledHourDecrease: PropTypes.bool,
|
|
18328
|
-
/**
|
|
18329
|
-
Disabled minute state.
|
|
18323
|
+
/**
|
|
18324
|
+
Disabled minute state.
|
|
18330
18325
|
*/
|
|
18331
18326
|
disabledMinute: PropTypes.bool,
|
|
18332
|
-
/**
|
|
18333
|
-
Disabled increase minute state.
|
|
18327
|
+
/**
|
|
18328
|
+
Disabled increase minute state.
|
|
18334
18329
|
*/
|
|
18335
18330
|
disabledMinuteIncrease: PropTypes.bool,
|
|
18336
|
-
/**
|
|
18337
|
-
Disabled decrease minute state.
|
|
18331
|
+
/**
|
|
18332
|
+
Disabled decrease minute state.
|
|
18338
18333
|
*/
|
|
18339
18334
|
disabledMinuteDecrease: PropTypes.bool,
|
|
18340
|
-
/**
|
|
18341
|
-
ReadOnly state.
|
|
18335
|
+
/**
|
|
18336
|
+
ReadOnly state.
|
|
18342
18337
|
*/
|
|
18343
18338
|
readOnly: PropTypes.bool,
|
|
18344
|
-
/**
|
|
18345
|
-
Resize time picker.
|
|
18339
|
+
/**
|
|
18340
|
+
Resize time picker.
|
|
18346
18341
|
*/
|
|
18347
18342
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
18348
|
-
/**
|
|
18349
|
-
Custom placeholder input time picker.
|
|
18343
|
+
/**
|
|
18344
|
+
Custom placeholder input time picker.
|
|
18350
18345
|
*/
|
|
18351
18346
|
placeholder: PropTypes.string,
|
|
18352
|
-
/**
|
|
18353
|
-
Time picker default value, support moment format.
|
|
18347
|
+
/**
|
|
18348
|
+
Time picker default value, support moment format.
|
|
18354
18349
|
*/
|
|
18355
18350
|
defaultValue: PropTypes.instanceOf(Date),
|
|
18356
|
-
/**
|
|
18357
|
-
Time picker value, support moment format.
|
|
18351
|
+
/**
|
|
18352
|
+
Time picker value, support moment format.
|
|
18358
18353
|
*/
|
|
18359
18354
|
value: PropTypes.instanceOf(Date),
|
|
18360
|
-
/**
|
|
18361
|
-
Change handler.
|
|
18355
|
+
/**
|
|
18356
|
+
Change handler.
|
|
18362
18357
|
*/
|
|
18363
18358
|
onChange: PropTypes.func,
|
|
18364
|
-
/**
|
|
18365
|
-
Placement popover input time picker.
|
|
18359
|
+
/**
|
|
18360
|
+
Placement popover input time picker.
|
|
18366
18361
|
*/
|
|
18367
18362
|
placement: PropTypes.string,
|
|
18368
|
-
/**
|
|
18369
|
-
Specify the minimum date.
|
|
18363
|
+
/**
|
|
18364
|
+
Specify the minimum date.
|
|
18370
18365
|
*/
|
|
18371
18366
|
minDate: PropTypes.instanceOf(Date),
|
|
18372
|
-
/**
|
|
18373
|
-
Specify the maximum date.
|
|
18367
|
+
/**
|
|
18368
|
+
Specify the maximum date.
|
|
18374
18369
|
*/
|
|
18375
18370
|
maxDate: PropTypes.instanceOf(Date),
|
|
18376
|
-
/**
|
|
18377
|
-
* Invalid state input.
|
|
18371
|
+
/**
|
|
18372
|
+
* Invalid state input.
|
|
18378
18373
|
*/
|
|
18379
18374
|
isInvalid: PropTypes.bool,
|
|
18380
|
-
/**
|
|
18381
|
-
If true, the component will rendered on portal element
|
|
18375
|
+
/**
|
|
18376
|
+
If true, the component will rendered on portal element
|
|
18382
18377
|
*/
|
|
18383
18378
|
portalled: PropTypes.bool,
|
|
18384
|
-
/**
|
|
18385
|
-
Additional TimePicker styles.
|
|
18379
|
+
/**
|
|
18380
|
+
Additional TimePicker styles.
|
|
18386
18381
|
*/
|
|
18387
18382
|
contentCss: PropTypes.object,
|
|
18388
|
-
/**
|
|
18389
|
-
Input open change callback.
|
|
18383
|
+
/**
|
|
18384
|
+
Input open change callback.
|
|
18390
18385
|
*/
|
|
18391
18386
|
onInputOpenChange: PropTypes.func
|
|
18392
18387
|
};
|
|
@@ -21004,7 +20999,7 @@ function InputSignature({
|
|
|
21004
20999
|
}
|
|
21005
21000
|
|
|
21006
21001
|
const _excluded$a = ["className", "defaultValue", "value", "name", "disabled", "orientation", "dir", "min", "max", "step", "onValueChange", "minStepsBetweenThumbs", "color", "size", "width", "height"];
|
|
21007
|
-
var _jsxFileName$q = "
|
|
21002
|
+
var _jsxFileName$q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/slider/Slider.js";
|
|
21008
21003
|
const StyledSlider = styled$1(SliderPrimitive.Root, {
|
|
21009
21004
|
position: 'relative',
|
|
21010
21005
|
display: 'flex',
|
|
@@ -21348,7 +21343,7 @@ Slider.defaultProps = {
|
|
|
21348
21343
|
};
|
|
21349
21344
|
|
|
21350
21345
|
const _excluded$9 = ["className", "children", "onClick", "type", "size"];
|
|
21351
|
-
var _jsxFileName$p = "
|
|
21346
|
+
var _jsxFileName$p = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tagStatus/TagStatus.js";
|
|
21352
21347
|
const TagWrapper$1 = styled('div', {
|
|
21353
21348
|
boxSizing: 'border-box',
|
|
21354
21349
|
fontSize: '12px',
|
|
@@ -21511,7 +21506,7 @@ const _excluded$8 = ["children"],
|
|
|
21511
21506
|
_excluded2$1 = ["children", "activeTabs"],
|
|
21512
21507
|
_excluded3$1 = ["children", "icon", "activeTabs", "value"],
|
|
21513
21508
|
_excluded4$1 = ["activeTabs"];
|
|
21514
|
-
var _jsxFileName$o = "
|
|
21509
|
+
var _jsxFileName$o = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tabs/Tabs.js";
|
|
21515
21510
|
const StyledTabs = styled(TabsPrimitive.Root, {
|
|
21516
21511
|
display: 'flex',
|
|
21517
21512
|
flexDirection: 'column',
|
|
@@ -21850,7 +21845,7 @@ TabsContent$1.propTypes = {
|
|
|
21850
21845
|
};
|
|
21851
21846
|
|
|
21852
21847
|
const _excluded$7 = ["children", "variantIcon"];
|
|
21853
|
-
var _jsxFileName$n = "
|
|
21848
|
+
var _jsxFileName$n = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/notificationBadge/NotificationBadge.js";
|
|
21854
21849
|
const NotificationBadgeRootStyle = styled('span', {
|
|
21855
21850
|
position: 'relative',
|
|
21856
21851
|
display: 'inline-flex',
|
|
@@ -22005,7 +22000,7 @@ NotificationBadge.propTypes = {
|
|
|
22005
22000
|
};
|
|
22006
22001
|
|
|
22007
22002
|
const _excluded$6 = ["className", "children", "radius", "padding", "width", "height"];
|
|
22008
|
-
var _jsxFileName$m = "
|
|
22003
|
+
var _jsxFileName$m = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/paper/Paper.js";
|
|
22009
22004
|
const PaperComponent = styled('div', {
|
|
22010
22005
|
padding: '20px',
|
|
22011
22006
|
height: 'auto',
|
|
@@ -22258,7 +22253,7 @@ const removeUndefinedFields = obj => {
|
|
|
22258
22253
|
};
|
|
22259
22254
|
|
|
22260
22255
|
const _excluded$5 = ["isActive", "onClick"];
|
|
22261
|
-
var _jsxFileName$l = "
|
|
22256
|
+
var _jsxFileName$l = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationButton.js";
|
|
22262
22257
|
const PrevNextButton = styled(Text$1, {
|
|
22263
22258
|
padding: '$spacing-01',
|
|
22264
22259
|
cursor: 'pointer',
|
|
@@ -22752,7 +22747,7 @@ const PaginationButton = ({
|
|
|
22752
22747
|
};
|
|
22753
22748
|
|
|
22754
22749
|
const _excluded$4 = ["limits", "selectedLimit", "currentPage", "totalData", "onChange"];
|
|
22755
|
-
var _jsxFileName$k = "
|
|
22750
|
+
var _jsxFileName$k = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationInfo.js";
|
|
22756
22751
|
const LimitContainer = styled(Flex$1, {
|
|
22757
22752
|
cursor: 'pointer'
|
|
22758
22753
|
});
|
|
@@ -22987,7 +22982,7 @@ function PaginationInfo(_ref) {
|
|
|
22987
22982
|
}
|
|
22988
22983
|
|
|
22989
22984
|
const _excluded$3 = ["limit", "currentPage", "totalData", "totalPage", "hideDataInfo", "onLimitChange", "onPageChange", "rowsPerPageOptions", "hidePagination", "hideInputPageSection"];
|
|
22990
|
-
var _jsxFileName$j = "
|
|
22985
|
+
var _jsxFileName$j = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/Pagination.js";
|
|
22991
22986
|
function Pagination(_ref) {
|
|
22992
22987
|
let {
|
|
22993
22988
|
limit,
|
|
@@ -23861,7 +23856,7 @@ const ScrollSyncNode = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
23861
23856
|
});
|
|
23862
23857
|
ScrollSyncNode.displayName = 'ScrollSyncNode';
|
|
23863
23858
|
|
|
23864
|
-
var _jsxFileName$i = "
|
|
23859
|
+
var _jsxFileName$i = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowDraggableColumn.js";
|
|
23865
23860
|
const DragHandle = SortableHandle(() => /*#__PURE__*/React__default.createElement(IconButton, {
|
|
23866
23861
|
icon: true,
|
|
23867
23862
|
size: "xs",
|
|
@@ -25357,7 +25352,7 @@ const TableColumn = _a => {
|
|
|
25357
25352
|
return jsx("div", {}, void 0);
|
|
25358
25353
|
};
|
|
25359
25354
|
|
|
25360
|
-
var _jsxFileName$h = "
|
|
25355
|
+
var _jsxFileName$h = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/DateColumn.js";
|
|
25361
25356
|
const DateColumn = ({
|
|
25362
25357
|
value,
|
|
25363
25358
|
customFormat
|
|
@@ -25469,7 +25464,7 @@ const PriceColumn = props => {
|
|
|
25469
25464
|
return addThousandSeparator(param);
|
|
25470
25465
|
};
|
|
25471
25466
|
|
|
25472
|
-
var _jsxFileName$g = "
|
|
25467
|
+
var _jsxFileName$g = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderColumn.js";
|
|
25473
25468
|
const rowExpanderColumn = {
|
|
25474
25469
|
id: 'expander',
|
|
25475
25470
|
Header: () => null,
|
|
@@ -25512,7 +25507,7 @@ const rowExpanderColumn = {
|
|
|
25512
25507
|
unsortable: true
|
|
25513
25508
|
};
|
|
25514
25509
|
|
|
25515
|
-
var _jsxFileName$f = "
|
|
25510
|
+
var _jsxFileName$f = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderMultipleColumn.js";
|
|
25516
25511
|
const rowExpanderMultipleColumn = {
|
|
25517
25512
|
id: 'multiple-expander',
|
|
25518
25513
|
Header: () => null,
|
|
@@ -25548,7 +25543,7 @@ const rowExpanderMultipleColumn = {
|
|
|
25548
25543
|
unsortable: true
|
|
25549
25544
|
};
|
|
25550
25545
|
|
|
25551
|
-
var _jsxFileName$e = "
|
|
25546
|
+
var _jsxFileName$e = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowMenuColumn.js";
|
|
25552
25547
|
const rowMenuColumn = (options, icon, config) => ({
|
|
25553
25548
|
id: 'menu',
|
|
25554
25549
|
options,
|
|
@@ -25685,7 +25680,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
25685
25680
|
unsortable: true
|
|
25686
25681
|
});
|
|
25687
25682
|
|
|
25688
|
-
var _jsxFileName$d = "
|
|
25683
|
+
var _jsxFileName$d = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionColumn.js";
|
|
25689
25684
|
const rowSelectionColumn = {
|
|
25690
25685
|
id: 'selection',
|
|
25691
25686
|
Header: ({
|
|
@@ -25734,7 +25729,7 @@ const rowSelectionColumn = {
|
|
|
25734
25729
|
unsortable: true
|
|
25735
25730
|
};
|
|
25736
25731
|
|
|
25737
|
-
var _jsxFileName$c = "
|
|
25732
|
+
var _jsxFileName$c = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionCallbackColumn.js";
|
|
25738
25733
|
const rowSelectionWithCallbackColumn = (onCheckedChange, onAllCheckedChange) => ({
|
|
25739
25734
|
id: 'selection',
|
|
25740
25735
|
Header: ({
|
|
@@ -26072,7 +26067,7 @@ PageDialog.defaultProps = {
|
|
|
26072
26067
|
};
|
|
26073
26068
|
|
|
26074
26069
|
const _excluded$2 = ["children"];
|
|
26075
|
-
var _jsxFileName$b = "
|
|
26070
|
+
var _jsxFileName$b = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/alertDialog/AlertDialog.js";
|
|
26076
26071
|
const overlayShow = keyframes({
|
|
26077
26072
|
'0%': {
|
|
26078
26073
|
opacity: 0
|
|
@@ -26708,7 +26703,7 @@ const _excluded$1 = ["side", "align", "children"],
|
|
|
26708
26703
|
_excluded2 = ["theme"],
|
|
26709
26704
|
_excluded3 = ["children"],
|
|
26710
26705
|
_excluded4 = ["asChild"];
|
|
26711
|
-
var _jsxFileName$a = "
|
|
26706
|
+
var _jsxFileName$a = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/dropdownMenu/DropdownMenu.js";
|
|
26712
26707
|
const Context = /*#__PURE__*/React__default.createContext();
|
|
26713
26708
|
const slideUpAndFade = keyframes({
|
|
26714
26709
|
'0%': {
|
|
@@ -28985,7 +28980,7 @@ function imgPreview(image, crop, scale = 1, rotate = 0, ratio, type) {
|
|
|
28985
28980
|
}
|
|
28986
28981
|
|
|
28987
28982
|
const _excluded = ["customPreviewIcon"];
|
|
28988
|
-
var _jsxFileName$9 = "
|
|
28983
|
+
var _jsxFileName$9 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/upload/Upload.js";
|
|
28989
28984
|
const Input$2 = styled('input', {
|
|
28990
28985
|
display: 'none !important'
|
|
28991
28986
|
});
|
|
@@ -30193,159 +30188,159 @@ Upload.defaultProps = {
|
|
|
30193
30188
|
maxWidthOrHeight: 1024
|
|
30194
30189
|
};
|
|
30195
30190
|
Upload.propTypes = {
|
|
30196
|
-
/**
|
|
30197
|
-
Placeholder label of upload.
|
|
30191
|
+
/**
|
|
30192
|
+
Placeholder label of upload.
|
|
30198
30193
|
*/
|
|
30199
30194
|
placeholder: PropTypes.string,
|
|
30200
|
-
/**
|
|
30201
|
-
Disabled state of upload.
|
|
30195
|
+
/**
|
|
30196
|
+
Disabled state of upload.
|
|
30202
30197
|
*/
|
|
30203
30198
|
disabled: PropTypes.bool,
|
|
30204
|
-
/**
|
|
30205
|
-
Built-in stylesheets, support for two types.
|
|
30199
|
+
/**
|
|
30200
|
+
Built-in stylesheets, support for two types.
|
|
30206
30201
|
*/
|
|
30207
30202
|
listType: PropTypes.oneOf(['file', 'picture']),
|
|
30208
|
-
/**
|
|
30209
|
-
Whether to support selected multiple file.
|
|
30203
|
+
/**
|
|
30204
|
+
Whether to support selected multiple file.
|
|
30210
30205
|
*/
|
|
30211
30206
|
multiple: PropTypes.bool,
|
|
30212
|
-
/**
|
|
30213
|
-
List of files to be uploaded.
|
|
30207
|
+
/**
|
|
30208
|
+
List of files to be uploaded.
|
|
30214
30209
|
*/
|
|
30215
30210
|
fileList: PropTypes.array,
|
|
30216
|
-
/**
|
|
30217
|
-
A callback function, can be executed when uploading state is changing.
|
|
30211
|
+
/**
|
|
30212
|
+
A callback function, can be executed when uploading state is changing.
|
|
30218
30213
|
*/
|
|
30219
30214
|
onChange: PropTypes.func,
|
|
30220
|
-
/**
|
|
30221
|
-
A callback function, can be executed when uploading in progress.
|
|
30222
|
-
`(progress) => void`
|
|
30215
|
+
/**
|
|
30216
|
+
A callback function, can be executed when uploading in progress.
|
|
30217
|
+
`(progress) => void`
|
|
30223
30218
|
*/
|
|
30224
30219
|
onProgress: PropTypes.func,
|
|
30225
|
-
/**
|
|
30226
|
-
A callback function, can be executed when uploading is success.
|
|
30227
|
-
`(response) => void`
|
|
30220
|
+
/**
|
|
30221
|
+
A callback function, can be executed when uploading is success.
|
|
30222
|
+
`(response) => void`
|
|
30228
30223
|
*/
|
|
30229
30224
|
onSuccess: PropTypes.func,
|
|
30230
|
-
/**
|
|
30231
|
-
A callback function, can be executed when uploading is error.
|
|
30232
|
-
`(error, response) => void`
|
|
30225
|
+
/**
|
|
30226
|
+
A callback function, can be executed when uploading is error.
|
|
30227
|
+
`(error, response) => void`
|
|
30233
30228
|
*/
|
|
30234
30229
|
onError: PropTypes.func,
|
|
30235
|
-
/**
|
|
30236
|
-
A callback function, can be executed when preview icon in picture type is clicked.
|
|
30230
|
+
/**
|
|
30231
|
+
A callback function, can be executed when preview icon in picture type is clicked.
|
|
30237
30232
|
*/
|
|
30238
30233
|
onPreview: PropTypes.func,
|
|
30239
|
-
/**
|
|
30240
|
-
A callback function, can be executed when remove icon is clicked.
|
|
30234
|
+
/**
|
|
30235
|
+
A callback function, can be executed when remove icon is clicked.
|
|
30241
30236
|
*/
|
|
30242
30237
|
onRemove: PropTypes.func,
|
|
30243
|
-
/**
|
|
30244
|
-
A custom element inside upload container.
|
|
30238
|
+
/**
|
|
30239
|
+
A custom element inside upload container.
|
|
30245
30240
|
*/
|
|
30246
30241
|
children: PropTypes.element,
|
|
30247
|
-
/**
|
|
30248
|
-
Limit the number of uploaded files.
|
|
30242
|
+
/**
|
|
30243
|
+
Limit the number of uploaded files.
|
|
30249
30244
|
*/
|
|
30250
30245
|
max: PropTypes.number,
|
|
30251
|
-
/**
|
|
30252
|
-
Limit the maximum image size in MB.
|
|
30246
|
+
/**
|
|
30247
|
+
Limit the maximum image size in MB.
|
|
30253
30248
|
*/
|
|
30254
30249
|
maxSizeMB: PropTypes.number,
|
|
30255
|
-
/**
|
|
30256
|
-
Limit file type of upload.
|
|
30250
|
+
/**
|
|
30251
|
+
Limit file type of upload.
|
|
30257
30252
|
*/
|
|
30258
30253
|
accept: PropTypes.string,
|
|
30259
|
-
/**
|
|
30260
|
-
Custom label for replace button.
|
|
30254
|
+
/**
|
|
30255
|
+
Custom label for replace button.
|
|
30261
30256
|
*/
|
|
30262
30257
|
replaceLabel: PropTypes.string,
|
|
30263
|
-
/**
|
|
30264
|
-
Custom width of upload container.
|
|
30258
|
+
/**
|
|
30259
|
+
Custom width of upload container.
|
|
30265
30260
|
*/
|
|
30266
30261
|
width: PropTypes.number,
|
|
30267
|
-
/**
|
|
30268
|
-
Custom height of upload container.
|
|
30262
|
+
/**
|
|
30263
|
+
Custom height of upload container.
|
|
30269
30264
|
*/
|
|
30270
30265
|
height: PropTypes.number,
|
|
30271
|
-
/**
|
|
30272
|
-
Additional css.
|
|
30266
|
+
/**
|
|
30267
|
+
Additional css.
|
|
30273
30268
|
*/
|
|
30274
30269
|
css: PropTypes.object,
|
|
30275
|
-
/**
|
|
30276
|
-
Custom title header of cropper modal.
|
|
30270
|
+
/**
|
|
30271
|
+
Custom title header of cropper modal.
|
|
30277
30272
|
*/
|
|
30278
30273
|
cropperTitle: PropTypes.string,
|
|
30279
|
-
/**
|
|
30280
|
-
Add image cropper on upload.
|
|
30274
|
+
/**
|
|
30275
|
+
Add image cropper on upload.
|
|
30281
30276
|
*/
|
|
30282
30277
|
showCropper: PropTypes.bool,
|
|
30283
|
-
/**
|
|
30284
|
-
Hidden toggle aspect ratio image cropper.
|
|
30278
|
+
/**
|
|
30279
|
+
Hidden toggle aspect ratio image cropper.
|
|
30285
30280
|
*/
|
|
30286
30281
|
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.
|
|
30282
|
+
/**
|
|
30283
|
+
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
30284
|
*/
|
|
30290
30285
|
ratio: PropTypes.number,
|
|
30291
|
-
/**
|
|
30292
|
-
Can set error message to the upload.
|
|
30286
|
+
/**
|
|
30287
|
+
Can set error message to the upload.
|
|
30293
30288
|
*/
|
|
30294
30289
|
errorMessage: PropTypes.string,
|
|
30295
|
-
/**
|
|
30296
|
-
Progress of upload process.
|
|
30290
|
+
/**
|
|
30291
|
+
Progress of upload process.
|
|
30297
30292
|
*/
|
|
30298
30293
|
progress: PropTypes.number,
|
|
30299
|
-
/**
|
|
30300
|
-
Auto increment progress of upload process.
|
|
30294
|
+
/**
|
|
30295
|
+
Auto increment progress of upload process.
|
|
30301
30296
|
*/
|
|
30302
30297
|
loading: PropTypes.bool,
|
|
30303
|
-
/**
|
|
30304
|
-
API upload url, allows components to automatically upload directly to API service.
|
|
30298
|
+
/**
|
|
30299
|
+
API upload url, allows components to automatically upload directly to API service.
|
|
30305
30300
|
*/
|
|
30306
30301
|
action: PropTypes.string,
|
|
30307
|
-
/**
|
|
30308
|
-
Custom body request to upload action.
|
|
30302
|
+
/**
|
|
30303
|
+
Custom body request to upload action.
|
|
30309
30304
|
*/
|
|
30310
30305
|
customBodyRequest: PropTypes.func,
|
|
30311
|
-
/**
|
|
30312
|
-
Contains an authentication token for upload API.
|
|
30306
|
+
/**
|
|
30307
|
+
Contains an authentication token for upload API.
|
|
30313
30308
|
*/
|
|
30314
30309
|
token: PropTypes.string,
|
|
30315
|
-
/**
|
|
30316
|
-
Referencing the headers key to attach the token.
|
|
30310
|
+
/**
|
|
30311
|
+
Referencing the headers key to attach the token.
|
|
30317
30312
|
*/
|
|
30318
30313
|
tokenKey: PropTypes.string,
|
|
30319
|
-
/**
|
|
30320
|
-
Referencing the key to attach the file to be sent.
|
|
30314
|
+
/**
|
|
30315
|
+
Referencing the key to attach the file to be sent.
|
|
30321
30316
|
*/
|
|
30322
30317
|
reqKey: PropTypes.string,
|
|
30323
|
-
/**
|
|
30324
|
-
Referencing the key to get the file from the API response.
|
|
30318
|
+
/**
|
|
30319
|
+
Referencing the key to get the file from the API response.
|
|
30325
30320
|
*/
|
|
30326
30321
|
resKey: PropTypes.string,
|
|
30327
|
-
/**
|
|
30328
|
-
To compression image if file size > 1MB.
|
|
30322
|
+
/**
|
|
30323
|
+
To compression image if file size > 1MB.
|
|
30329
30324
|
*/
|
|
30330
30325
|
imageCompression: PropTypes.bool,
|
|
30331
|
-
/**
|
|
30332
|
-
Callback to handle before crop image.
|
|
30326
|
+
/**
|
|
30327
|
+
Callback to handle before crop image.
|
|
30333
30328
|
*/
|
|
30334
30329
|
onBeforeCrop: PropTypes.func,
|
|
30335
|
-
/**
|
|
30336
|
-
Hidden preview icon in upload.
|
|
30330
|
+
/**
|
|
30331
|
+
Hidden preview icon in upload.
|
|
30337
30332
|
*/
|
|
30338
30333
|
hiddenPreview: PropTypes.bool,
|
|
30339
|
-
/**
|
|
30340
|
-
Auto full aspect ratio cropper.
|
|
30334
|
+
/**
|
|
30335
|
+
Auto full aspect ratio cropper.
|
|
30341
30336
|
*/
|
|
30342
30337
|
fullAspectCrop: PropTypes.bool,
|
|
30343
|
-
/**
|
|
30344
|
-
Set custom ratio as Default view
|
|
30338
|
+
/**
|
|
30339
|
+
Set custom ratio as Default view
|
|
30345
30340
|
*/
|
|
30346
30341
|
isDefaultCustomRatio: PropTypes.bool,
|
|
30347
|
-
/**
|
|
30348
|
-
Set max width or height of image
|
|
30342
|
+
/**
|
|
30343
|
+
Set max width or height of image
|
|
30349
30344
|
*/
|
|
30350
30345
|
maxWidthOrHeight: PropTypes.number
|
|
30351
30346
|
};
|
|
@@ -31021,7 +31016,7 @@ const Device = props => {
|
|
|
31021
31016
|
};
|
|
31022
31017
|
Device.displayName = 'DevicePreview';
|
|
31023
31018
|
|
|
31024
|
-
var _jsxFileName$8 = "
|
|
31019
|
+
var _jsxFileName$8 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/InputColorPicker.js";
|
|
31025
31020
|
const Separator$1 = styled('div', {
|
|
31026
31021
|
height: 20,
|
|
31027
31022
|
width: 1,
|
|
@@ -31131,44 +31126,44 @@ function InputColorPicker(props) {
|
|
|
31131
31126
|
}
|
|
31132
31127
|
InputColorPicker.displayName = 'InputColorPicker';
|
|
31133
31128
|
InputColorPicker.propTypes = {
|
|
31134
|
-
/**
|
|
31135
|
-
Specify change InputColorPicker size.
|
|
31129
|
+
/**
|
|
31130
|
+
Specify change InputColorPicker size.
|
|
31136
31131
|
*/
|
|
31137
31132
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
31138
|
-
/**
|
|
31139
|
-
Color code to be displayed.
|
|
31133
|
+
/**
|
|
31134
|
+
Color code to be displayed.
|
|
31140
31135
|
*/
|
|
31141
31136
|
color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
31142
|
-
/**
|
|
31143
|
-
Additional color list.
|
|
31137
|
+
/**
|
|
31138
|
+
Additional color list.
|
|
31144
31139
|
*/
|
|
31145
31140
|
presetColors: PropTypes.array,
|
|
31146
|
-
/**
|
|
31147
|
-
Change event handler.
|
|
31141
|
+
/**
|
|
31142
|
+
Change event handler.
|
|
31148
31143
|
*/
|
|
31149
31144
|
onChange: PropTypes.func,
|
|
31150
|
-
/**
|
|
31151
|
-
Add preset color event handler.
|
|
31145
|
+
/**
|
|
31146
|
+
Add preset color event handler.
|
|
31152
31147
|
*/
|
|
31153
31148
|
onAddColor: PropTypes.func,
|
|
31154
|
-
/**
|
|
31155
|
-
Disable opacity selector.
|
|
31149
|
+
/**
|
|
31150
|
+
Disable opacity selector.
|
|
31156
31151
|
*/
|
|
31157
31152
|
disableAlpha: PropTypes.bool,
|
|
31158
|
-
/**
|
|
31159
|
-
Input placement.
|
|
31153
|
+
/**
|
|
31154
|
+
Input placement.
|
|
31160
31155
|
*/
|
|
31161
31156
|
placement: PropTypes.string,
|
|
31162
|
-
/**
|
|
31163
|
-
Define is mobile layout or not.
|
|
31157
|
+
/**
|
|
31158
|
+
Define is mobile layout or not.
|
|
31164
31159
|
*/
|
|
31165
31160
|
isMobile: PropTypes.bool,
|
|
31166
|
-
/**
|
|
31167
|
-
Define popover custom styling.
|
|
31161
|
+
/**
|
|
31162
|
+
Define popover custom styling.
|
|
31168
31163
|
*/
|
|
31169
31164
|
popoverCss: PropTypes.shape({}),
|
|
31170
|
-
/**
|
|
31171
|
-
Disabled state.
|
|
31165
|
+
/**
|
|
31166
|
+
Disabled state.
|
|
31172
31167
|
*/
|
|
31173
31168
|
disabled: PropTypes.bool
|
|
31174
31169
|
};
|
|
@@ -31182,7 +31177,7 @@ InputColorPicker.defaultProps = {
|
|
|
31182
31177
|
|
|
31183
31178
|
var img$d = "data:image/gif;base64,R0lGODlh6gDHAOZ/AJkAAADM/zMzAAAzAP9QUAAzZoAAAGYzAGYAM/9mZmYAzGZmMzMzmQBmZv9mAJkAmTNmmZn/Zv/M/2YAZv/MzADMmZkz/5kA//8zmcwzmcwAmf8zAMwzAMwAAJkzM5kAM5n/MwBmmZlmADMzzAAzzAAA/wAAzDNm/wBm/wBmzP+Zmcxm/5lm/2aZmf+Z/wCZ//+ZAMyZAP///8xmmf//ZgDMZv8zzGb/zP/MZjOZM//M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tnWq22H3ObbLYjf9gvuiOJ2+Zy5BJ8rnboIr2uduwy/q528EM/rnb0U3yuevhjva56/HP/bZsA5OlbwyAYnbLLCDafscMQsS1zxyxZnLLPGHdfsMchckqzzASf3LILKQHPQ8tBmwGw0ADMnbYDNTHuAs5s7k+zzyUGr/0x0y0fDrPTMTdv8dM5RFzy1yVWnfDXLWb+8tcxd1/y1kmGLPTbCZTd8dsRpV7x2xm13/DaOcRM8N911u3s3xHlTvDfGfXP8t4mBmzu4uoUbfni8idu7uL6N+/t4iZGXO3m6lbd7OeaZZ7t5vp33+/mCoTc7OrSlT3u6tamrvvrSrTv9+nux8zx77ULfnjvSu/fu++/LBT/7z7XfXnTuu/PeOvPuOT989MZTn3zv2AMf+CaTb1L5Jpdvkvkmm2/Sefiw7/zJ1J9U/cnVn2T9ydafdA0/4AUbhclGkbJRsGwULxuFzEbhtv+B7QDSSJc02iWNeEmjXtLIlzRc97RAAAA7";
|
|
31184
31179
|
|
|
31185
|
-
var _jsxFileName$7 = "
|
|
31180
|
+
var _jsxFileName$7 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorMap.js";
|
|
31186
31181
|
const Container$7 = styled('div', {
|
|
31187
31182
|
userSelect: 'none',
|
|
31188
31183
|
margin: 'auto',
|
|
@@ -33143,7 +33138,7 @@ function ColorMap({
|
|
|
33143
33138
|
})));
|
|
33144
33139
|
}
|
|
33145
33140
|
|
|
33146
|
-
var _jsxFileName$6 = "
|
|
33141
|
+
var _jsxFileName$6 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorFields.js";
|
|
33147
33142
|
const CheckBoard = styled(Flex$1, {
|
|
33148
33143
|
background: '$bgwhite',
|
|
33149
33144
|
border: '1px solid #E5E7EB',
|
|
@@ -33344,7 +33339,7 @@ function ColorFields({
|
|
|
33344
33339
|
}, "%")));
|
|
33345
33340
|
}
|
|
33346
33341
|
|
|
33347
|
-
var _jsxFileName$5 = "
|
|
33342
|
+
var _jsxFileName$5 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/ColorPicker.js";
|
|
33348
33343
|
const Container$6 = styled(Flex$1, {
|
|
33349
33344
|
background: '$white',
|
|
33350
33345
|
padding: 16,
|
|
@@ -33835,24 +33830,24 @@ function ColorPicker({
|
|
|
33835
33830
|
})))))));
|
|
33836
33831
|
}
|
|
33837
33832
|
ColorPicker.propTypes = {
|
|
33838
|
-
/**
|
|
33839
|
-
Color code to be displayed.
|
|
33833
|
+
/**
|
|
33834
|
+
Color code to be displayed.
|
|
33840
33835
|
*/
|
|
33841
33836
|
color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
33842
|
-
/**
|
|
33843
|
-
Additional color list
|
|
33837
|
+
/**
|
|
33838
|
+
Additional color list
|
|
33844
33839
|
*/
|
|
33845
33840
|
presetColors: PropTypes.array,
|
|
33846
|
-
/**
|
|
33847
|
-
Change event handler
|
|
33841
|
+
/**
|
|
33842
|
+
Change event handler
|
|
33848
33843
|
*/
|
|
33849
33844
|
onChange: PropTypes.func,
|
|
33850
|
-
/**
|
|
33851
|
-
Add preset color event handler
|
|
33845
|
+
/**
|
|
33846
|
+
Add preset color event handler
|
|
33852
33847
|
*/
|
|
33853
33848
|
onAddColor: PropTypes.func,
|
|
33854
|
-
/**
|
|
33855
|
-
Disable opacity selector
|
|
33849
|
+
/**
|
|
33850
|
+
Disable opacity selector
|
|
33856
33851
|
*/
|
|
33857
33852
|
disableAlpha: PropTypes.bool
|
|
33858
33853
|
};
|
|
@@ -33861,7 +33856,7 @@ ColorPicker.defaultProps = {
|
|
|
33861
33856
|
};
|
|
33862
33857
|
var ColorPicker$1 = ColorWrap(ColorPicker);
|
|
33863
33858
|
|
|
33864
|
-
var _jsxFileName$4 = "
|
|
33859
|
+
var _jsxFileName$4 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/stepWizard/StepWizard.js";
|
|
33865
33860
|
const StepWizardContext = /*#__PURE__*/React__default.createContext({});
|
|
33866
33861
|
const Stepper = StepWizard$1;
|
|
33867
33862
|
Stepper.displayName = 'Stepper';
|
|
@@ -34584,7 +34579,7 @@ StepWizard.defaultProps = {
|
|
|
34584
34579
|
isLazyMount: true
|
|
34585
34580
|
};
|
|
34586
34581
|
|
|
34587
|
-
var _jsxFileName$3 = "
|
|
34582
|
+
var _jsxFileName$3 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/transition.js";
|
|
34588
34583
|
function Collapse({
|
|
34589
34584
|
children,
|
|
34590
34585
|
isOpen
|
|
@@ -34627,7 +34622,7 @@ Collapse.defaultProps = {
|
|
|
34627
34622
|
isOpen: false
|
|
34628
34623
|
};
|
|
34629
34624
|
|
|
34630
|
-
var _jsxFileName$2 = "
|
|
34625
|
+
var _jsxFileName$2 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/TableOfContent.js";
|
|
34631
34626
|
const DesktopContainer = styled(Flex$1, {
|
|
34632
34627
|
display: 'none',
|
|
34633
34628
|
'& .active-scroll-spy': {
|
|
@@ -34988,7 +34983,7 @@ TableOfContentPage.defaultProps = {
|
|
|
34988
34983
|
useBoxMethod: true
|
|
34989
34984
|
};
|
|
34990
34985
|
|
|
34991
|
-
var _jsxFileName$1 = "
|
|
34986
|
+
var _jsxFileName$1 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/editableTable/transition.js";
|
|
34992
34987
|
function Collapalse({
|
|
34993
34988
|
children,
|
|
34994
34989
|
isOpen
|
|
@@ -56502,7 +56497,7 @@ PieChartComponent.defaultProps = {
|
|
|
56502
56497
|
innerRadius: 70
|
|
56503
56498
|
};
|
|
56504
56499
|
|
|
56505
|
-
var _jsxFileName = "
|
|
56500
|
+
var _jsxFileName = "/home/alfiantryp/Project/majoo-ui/packages/react/src/colors/Colors.js";
|
|
56506
56501
|
const StyledPaper = styled(Paper, {
|
|
56507
56502
|
borderRadius: '10px 10px 0 0',
|
|
56508
56503
|
padding: 15,
|