@majoo-ui/react 1.61.19-rc.1 → 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;
|
|
@@ -12891,14 +12891,16 @@ const ModalDialog = props => {
|
|
|
12891
12891
|
onOpenAutoFocus,
|
|
12892
12892
|
disabledCloseButton,
|
|
12893
12893
|
onPointerDownOutside,
|
|
12894
|
-
onCloseClick
|
|
12894
|
+
onCloseClick,
|
|
12895
|
+
theme
|
|
12895
12896
|
} = props,
|
|
12896
|
-
rest = __rest(props, ["children", "size", "css", "layer", "isMobile", "width", "onOpenAutoFocus", "disabledCloseButton", "onPointerDownOutside", "onCloseClick"]);
|
|
12897
|
+
rest = __rest(props, ["children", "size", "css", "layer", "isMobile", "width", "onOpenAutoFocus", "disabledCloseButton", "onPointerDownOutside", "onCloseClick", "theme"]);
|
|
12897
12898
|
const childArray = React__default.Children.toArray(children);
|
|
12898
12899
|
const modalDialogFooter = findNodeChild$1(childArray, 'ModalDialogFooter');
|
|
12899
12900
|
const modalDialogTitle = findNodeChild$1(childArray, 'ModalDialogTitle');
|
|
12900
12901
|
const modalDialogContent = findNodeChild$1(childArray, 'ModalDialogContent');
|
|
12901
12902
|
const modalDialogTrigger = findNodeChild$1(childArray, 'ModalDialogTrigger');
|
|
12903
|
+
const themeProvider = useThemeProvider(theme);
|
|
12902
12904
|
const ref = useCallback(node => {
|
|
12903
12905
|
const appElement = document.getElementById('app');
|
|
12904
12906
|
if (appElement) {
|
|
@@ -12916,6 +12918,7 @@ const ModalDialog = props => {
|
|
|
12916
12918
|
zIndex: layer
|
|
12917
12919
|
}
|
|
12918
12920
|
}, void 0), jsx(StyledContent$4, Object.assign({
|
|
12921
|
+
className: (themeProvider === null || themeProvider === void 0 ? void 0 : themeProvider.theme) || '',
|
|
12919
12922
|
size: size,
|
|
12920
12923
|
css: Object.assign(Object.assign({}, css), {
|
|
12921
12924
|
zIndex: layer,
|
|
@@ -12935,7 +12938,7 @@ const ModalDialog = props => {
|
|
|
12935
12938
|
}, {
|
|
12936
12939
|
children: jsxs(Box, Object.assign({
|
|
12937
12940
|
css: {
|
|
12938
|
-
backgroundColor: '$
|
|
12941
|
+
backgroundColor: '$bgWhite',
|
|
12939
12942
|
display: 'flex',
|
|
12940
12943
|
flexDirection: 'column',
|
|
12941
12944
|
borderRadius: '$lg'
|
|
@@ -14102,7 +14105,7 @@ const InputSelect = /*#__PURE__*/React.forwardRef((_a, ref) => {
|
|
|
14102
14105
|
}), void 0);
|
|
14103
14106
|
});
|
|
14104
14107
|
|
|
14105
|
-
var _jsxFileName$y = "
|
|
14108
|
+
var _jsxFileName$y = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/icon/CheckOutline.js";
|
|
14106
14109
|
const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
14107
14110
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14108
14111
|
xmlSpace: "preserve",
|
|
@@ -14183,7 +14186,7 @@ function OptionGroupItem({
|
|
|
14183
14186
|
}
|
|
14184
14187
|
|
|
14185
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"];
|
|
14186
|
-
var _jsxFileName$x = "
|
|
14189
|
+
var _jsxFileName$x = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/InputSelectCheck.js";
|
|
14187
14190
|
const Wrapper$1 = styled('div', {
|
|
14188
14191
|
margin: 0,
|
|
14189
14192
|
flexDirection: 'column',
|
|
@@ -14513,37 +14516,6 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14513
14516
|
setInputSelectValue(value);
|
|
14514
14517
|
}
|
|
14515
14518
|
}, [value, defaultValue]);
|
|
14516
|
-
const sortItems = React__default.useCallback(() => {
|
|
14517
|
-
if (sortBy === 'id') {
|
|
14518
|
-
option.sort(function (a, b) {
|
|
14519
|
-
const idA = typeof a.id === 'string' ? a.id.toUpperCase() : a.id; // ignore upper and lowercase
|
|
14520
|
-
const idB = typeof b.id === 'string' ? b.id.toUpperCase() : b.id; // ignore upper and lowercase
|
|
14521
|
-
if (a.id === '!all') return -1;
|
|
14522
|
-
if (b.id === '!all') return 1;
|
|
14523
|
-
if (idA < idB) {
|
|
14524
|
-
return -1;
|
|
14525
|
-
}
|
|
14526
|
-
if (idA > idB) {
|
|
14527
|
-
return 1;
|
|
14528
|
-
}
|
|
14529
|
-
return 0;
|
|
14530
|
-
});
|
|
14531
|
-
} else if (sortBy === 'name') {
|
|
14532
|
-
option.sort(function (a, b) {
|
|
14533
|
-
const nameA = typeof a.name === 'string' ? a.name.toUpperCase() : a.name; // ignore upper and lowercase
|
|
14534
|
-
const nameB = typeof b.name === 'string' ? b.name.toUpperCase() : b.name; // ignore upper and lowercase
|
|
14535
|
-
if (a.id === '!all') return -1;
|
|
14536
|
-
if (b.id === '!all') return 1;
|
|
14537
|
-
if (nameA < nameB) {
|
|
14538
|
-
return -1;
|
|
14539
|
-
}
|
|
14540
|
-
if (nameA > nameB) {
|
|
14541
|
-
return 1;
|
|
14542
|
-
}
|
|
14543
|
-
return 0;
|
|
14544
|
-
});
|
|
14545
|
-
}
|
|
14546
|
-
}, [sortBy, option]);
|
|
14547
14519
|
const sortValue = selectedValue.length > 0 && disabledOptions.length === 0 ? inputSelectValue.reduce((res, id, i, {
|
|
14548
14520
|
[i + 1]: next
|
|
14549
14521
|
}) => {
|
|
@@ -14811,24 +14783,54 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14811
14783
|
}
|
|
14812
14784
|
}
|
|
14813
14785
|
});
|
|
14814
|
-
const memoOptions = useMemo(() =>
|
|
14815
|
-
|
|
14816
|
-
|
|
14817
|
-
|
|
14818
|
-
|
|
14819
|
-
|
|
14820
|
-
|
|
14821
|
-
|
|
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
|
+
});
|
|
14822
14811
|
}
|
|
14823
|
-
|
|
14824
|
-
|
|
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
|
+
|
|
14825
14827
|
const memoOptionsString = useMemo(() => JSON.stringify(memoOptions), [memoOptions]);
|
|
14826
14828
|
const itemsLength = items == null ? void 0 : items.reduce((acc, item) => {
|
|
14827
14829
|
return [...acc, ...(item.children ? item.children : [item])];
|
|
14828
14830
|
}, []).length;
|
|
14829
14831
|
useEffect(() => {
|
|
14830
14832
|
if ((!inputValue || fetchData) && ready) {
|
|
14831
|
-
sortItems()
|
|
14833
|
+
// The `sortItems()` call is now gone. `memoOptions` is already sorted.
|
|
14832
14834
|
setItems(isShowSelectAll ? [{
|
|
14833
14835
|
id: '!all',
|
|
14834
14836
|
name: selectAllLabel != null ? selectAllLabel : t('selectAllLabelText', 'Pilih Semua')
|
|
@@ -14838,18 +14840,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14838
14840
|
name: selectAllLabel != null ? selectAllLabel : t('selectAllLabelText', 'Pilih Semua')
|
|
14839
14841
|
}, ...memoOptions] : memoOptions);
|
|
14840
14842
|
}
|
|
14841
|
-
}, [isShowSelectAll, selectAllLabel, ready, memoOptionsString, inputValue]);
|
|
14843
|
+
}, [isShowSelectAll, selectAllLabel, ready, memoOptionsString, inputValue, sortBy]); // Add sortBy here
|
|
14844
|
+
|
|
14842
14845
|
useEffect(() => {
|
|
14843
14846
|
if (selectedValue.length > 0 && disabledOptions.length === 0) {
|
|
14844
14847
|
setInitItems(sortValue);
|
|
14845
14848
|
setItems(sortValue);
|
|
14846
14849
|
}
|
|
14847
14850
|
}, []);
|
|
14848
|
-
useEffect(() => {
|
|
14849
|
-
if (sortBy) {
|
|
14850
|
-
sortItems();
|
|
14851
|
-
}
|
|
14852
|
-
}, [sortBy]);
|
|
14853
14851
|
useEffect(() => {
|
|
14854
14852
|
if (disabledOptions.length > 0) {
|
|
14855
14853
|
const options = generateOptions(sortDisabled);
|
|
@@ -14909,7 +14907,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14909
14907
|
__self: undefined,
|
|
14910
14908
|
__source: {
|
|
14911
14909
|
fileName: _jsxFileName$x,
|
|
14912
|
-
lineNumber:
|
|
14910
|
+
lineNumber: 778,
|
|
14913
14911
|
columnNumber: 9
|
|
14914
14912
|
}
|
|
14915
14913
|
}), /*#__PURE__*/React__default.createElement(IconWrapper, {
|
|
@@ -14923,7 +14921,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14923
14921
|
__self: undefined,
|
|
14924
14922
|
__source: {
|
|
14925
14923
|
fileName: _jsxFileName$x,
|
|
14926
|
-
lineNumber:
|
|
14924
|
+
lineNumber: 797,
|
|
14927
14925
|
columnNumber: 11
|
|
14928
14926
|
}
|
|
14929
14927
|
}, !(item != null && item.hideCheck) && (item.isDisabled ? /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
@@ -14931,7 +14929,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14931
14929
|
__self: undefined,
|
|
14932
14930
|
__source: {
|
|
14933
14931
|
fileName: _jsxFileName$x,
|
|
14934
|
-
lineNumber:
|
|
14932
|
+
lineNumber: 809,
|
|
14935
14933
|
columnNumber: 17
|
|
14936
14934
|
}
|
|
14937
14935
|
}) : selectedValue.includes(item.id) && (item.isDisabled === false || item.isDisabled === undefined) && /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
@@ -14939,21 +14937,21 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14939
14937
|
__self: undefined,
|
|
14940
14938
|
__source: {
|
|
14941
14939
|
fileName: _jsxFileName$x,
|
|
14942
|
-
lineNumber:
|
|
14940
|
+
lineNumber: 813,
|
|
14943
14941
|
columnNumber: 19
|
|
14944
14942
|
}
|
|
14945
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, {
|
|
14946
14944
|
__self: undefined,
|
|
14947
14945
|
__source: {
|
|
14948
14946
|
fileName: _jsxFileName$x,
|
|
14949
|
-
lineNumber:
|
|
14947
|
+
lineNumber: 817,
|
|
14950
14948
|
columnNumber: 15
|
|
14951
14949
|
}
|
|
14952
14950
|
}, "-") : /*#__PURE__*/React__default.createElement("div", {
|
|
14953
14951
|
__self: undefined,
|
|
14954
14952
|
__source: {
|
|
14955
14953
|
fileName: _jsxFileName$x,
|
|
14956
|
-
lineNumber:
|
|
14954
|
+
lineNumber: 819,
|
|
14957
14955
|
columnNumber: 15
|
|
14958
14956
|
}
|
|
14959
14957
|
})), /*#__PURE__*/React__default.createElement(Item$2, {
|
|
@@ -14964,7 +14962,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14964
14962
|
__self: undefined,
|
|
14965
14963
|
__source: {
|
|
14966
14964
|
fileName: _jsxFileName$x,
|
|
14967
|
-
lineNumber:
|
|
14965
|
+
lineNumber: 822,
|
|
14968
14966
|
columnNumber: 11
|
|
14969
14967
|
}
|
|
14970
14968
|
}, item.render ? item.render == null ? void 0 : item.render(item.name) : item.name));
|
|
@@ -14992,7 +14990,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14992
14990
|
__self: undefined,
|
|
14993
14991
|
__source: {
|
|
14994
14992
|
fileName: _jsxFileName$x,
|
|
14995
|
-
lineNumber:
|
|
14993
|
+
lineNumber: 838,
|
|
14996
14994
|
columnNumber: 13
|
|
14997
14995
|
}
|
|
14998
14996
|
}), /*#__PURE__*/React__default.createElement(IconWrapper, {
|
|
@@ -15005,7 +15003,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15005
15003
|
__self: undefined,
|
|
15006
15004
|
__source: {
|
|
15007
15005
|
fileName: _jsxFileName$x,
|
|
15008
|
-
lineNumber:
|
|
15006
|
+
lineNumber: 851,
|
|
15009
15007
|
columnNumber: 15
|
|
15010
15008
|
}
|
|
15011
15009
|
}, !(item != null && item.hideCheck) && item.isDisabled ? /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
@@ -15013,7 +15011,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15013
15011
|
__self: undefined,
|
|
15014
15012
|
__source: {
|
|
15015
15013
|
fileName: _jsxFileName$x,
|
|
15016
|
-
lineNumber:
|
|
15014
|
+
lineNumber: 861,
|
|
15017
15015
|
columnNumber: 19
|
|
15018
15016
|
}
|
|
15019
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, {
|
|
@@ -15021,14 +15019,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15021
15019
|
__self: undefined,
|
|
15022
15020
|
__source: {
|
|
15023
15021
|
fileName: _jsxFileName$x,
|
|
15024
|
-
lineNumber:
|
|
15022
|
+
lineNumber: 863,
|
|
15025
15023
|
columnNumber: 19
|
|
15026
15024
|
}
|
|
15027
15025
|
}) : (filterSelectedChild == null ? void 0 : filterSelectedChild.length) > 0 ? /*#__PURE__*/React__default.createElement(IndeterminateFilled$1, {
|
|
15028
15026
|
__self: undefined,
|
|
15029
15027
|
__source: {
|
|
15030
15028
|
fileName: _jsxFileName$x,
|
|
15031
|
-
lineNumber:
|
|
15029
|
+
lineNumber: 865,
|
|
15032
15030
|
columnNumber: 19
|
|
15033
15031
|
}
|
|
15034
15032
|
}, "-") : null), /*#__PURE__*/React__default.createElement(Item$2, {
|
|
@@ -15039,14 +15037,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15039
15037
|
__self: undefined,
|
|
15040
15038
|
__source: {
|
|
15041
15039
|
fileName: _jsxFileName$x,
|
|
15042
|
-
lineNumber:
|
|
15040
|
+
lineNumber: 868,
|
|
15043
15041
|
columnNumber: 15
|
|
15044
15042
|
}
|
|
15045
15043
|
}, item.render ? item.render == null ? void 0 : item.render(item.name) : item.name)),
|
|
15046
15044
|
__self: undefined,
|
|
15047
15045
|
__source: {
|
|
15048
15046
|
fileName: _jsxFileName$x,
|
|
15049
|
-
lineNumber:
|
|
15047
|
+
lineNumber: 836,
|
|
15050
15048
|
columnNumber: 9
|
|
15051
15049
|
}
|
|
15052
15050
|
}, item == null || (_item$children8 = item.children) == null ? void 0 : _item$children8.map((optItem, optIndex) => renderOptionItem(optItem, groupIndex + optIndex + 1, true)));
|
|
@@ -15059,7 +15057,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15059
15057
|
__self: undefined,
|
|
15060
15058
|
__source: {
|
|
15061
15059
|
fileName: _jsxFileName$x,
|
|
15062
|
-
lineNumber:
|
|
15060
|
+
lineNumber: 880,
|
|
15063
15061
|
columnNumber: 7
|
|
15064
15062
|
}
|
|
15065
15063
|
}), /*#__PURE__*/React__default.createElement(Select, {
|
|
@@ -15069,7 +15067,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15069
15067
|
__self: undefined,
|
|
15070
15068
|
__source: {
|
|
15071
15069
|
fileName: _jsxFileName$x,
|
|
15072
|
-
lineNumber:
|
|
15070
|
+
lineNumber: 881,
|
|
15073
15071
|
columnNumber: 9
|
|
15074
15072
|
}
|
|
15075
15073
|
}, /*#__PURE__*/React__default.createElement(InputWrapper$1, _extends({}, getComboboxProps(getDropdownProps({
|
|
@@ -15084,7 +15082,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15084
15082
|
__self: undefined,
|
|
15085
15083
|
__source: {
|
|
15086
15084
|
fileName: _jsxFileName$x,
|
|
15087
|
-
lineNumber:
|
|
15085
|
+
lineNumber: 882,
|
|
15088
15086
|
columnNumber: 11
|
|
15089
15087
|
}
|
|
15090
15088
|
}), /*#__PURE__*/React__default.createElement(Input$6, _extends({}, getInputProps({
|
|
@@ -15102,7 +15100,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15102
15100
|
__self: undefined,
|
|
15103
15101
|
__source: {
|
|
15104
15102
|
fileName: _jsxFileName$x,
|
|
15105
|
-
lineNumber:
|
|
15103
|
+
lineNumber: 892,
|
|
15106
15104
|
columnNumber: 13
|
|
15107
15105
|
}
|
|
15108
15106
|
})), /*#__PURE__*/React__default.createElement(Button$2, _extends({}, getToggleButtonProps({
|
|
@@ -15116,7 +15114,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15116
15114
|
__self: undefined,
|
|
15117
15115
|
__source: {
|
|
15118
15116
|
fileName: _jsxFileName$x,
|
|
15119
|
-
lineNumber:
|
|
15117
|
+
lineNumber: 899,
|
|
15120
15118
|
columnNumber: 13
|
|
15121
15119
|
}
|
|
15122
15120
|
}), (_ref2 = label != null ? label : placeholder) != null ? _ref2 : t('placeholder', 'Pilih Item'))), /*#__PURE__*/React__default.createElement(IconWrapper, _extends({}, getToggleButtonProps({
|
|
@@ -15127,7 +15125,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15127
15125
|
__self: undefined,
|
|
15128
15126
|
__source: {
|
|
15129
15127
|
fileName: _jsxFileName$x,
|
|
15130
|
-
lineNumber:
|
|
15128
|
+
lineNumber: 910,
|
|
15131
15129
|
columnNumber: 11
|
|
15132
15130
|
}
|
|
15133
15131
|
}), /*#__PURE__*/React__default.createElement(IconCaretDown, {
|
|
@@ -15135,7 +15133,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15135
15133
|
__self: undefined,
|
|
15136
15134
|
__source: {
|
|
15137
15135
|
fileName: _jsxFileName$x,
|
|
15138
|
-
lineNumber:
|
|
15136
|
+
lineNumber: 915,
|
|
15139
15137
|
columnNumber: 13
|
|
15140
15138
|
}
|
|
15141
15139
|
}))), helperText && /*#__PURE__*/React__default.createElement(Paragraph, {
|
|
@@ -15148,7 +15146,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15148
15146
|
__self: undefined,
|
|
15149
15147
|
__source: {
|
|
15150
15148
|
fileName: _jsxFileName$x,
|
|
15151
|
-
lineNumber:
|
|
15149
|
+
lineNumber: 919,
|
|
15152
15150
|
columnNumber: 11
|
|
15153
15151
|
}
|
|
15154
15152
|
}, helperText), showSelectedTag && !showCounter && selectedItems.length !== 0 && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(TagWrapper$2, {
|
|
@@ -15156,7 +15154,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15156
15154
|
__self: undefined,
|
|
15157
15155
|
__source: {
|
|
15158
15156
|
fileName: _jsxFileName$x,
|
|
15159
|
-
lineNumber:
|
|
15157
|
+
lineNumber: 925,
|
|
15160
15158
|
columnNumber: 13
|
|
15161
15159
|
}
|
|
15162
15160
|
}, isShowTagSelectAll ? /*#__PURE__*/React__default.createElement(Tag, _extends({
|
|
@@ -15177,7 +15175,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15177
15175
|
__self: undefined,
|
|
15178
15176
|
__source: {
|
|
15179
15177
|
fileName: _jsxFileName$x,
|
|
15180
|
-
lineNumber:
|
|
15178
|
+
lineNumber: 927,
|
|
15181
15179
|
columnNumber: 17
|
|
15182
15180
|
}
|
|
15183
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) => {
|
|
@@ -15208,7 +15206,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15208
15206
|
__self: undefined,
|
|
15209
15207
|
__source: {
|
|
15210
15208
|
fileName: _jsxFileName$x,
|
|
15211
|
-
lineNumber:
|
|
15209
|
+
lineNumber: 956,
|
|
15212
15210
|
columnNumber: 21
|
|
15213
15211
|
}
|
|
15214
15212
|
}), selectedItem.name))), collapsible && !isShowTagSelectAll && (selectedItems == null ? void 0 : selectedItems.length) > collapsibleLimit && /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -15217,7 +15215,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15217
15215
|
__self: undefined,
|
|
15218
15216
|
__source: {
|
|
15219
15217
|
fileName: _jsxFileName$x,
|
|
15220
|
-
lineNumber:
|
|
15218
|
+
lineNumber: 979,
|
|
15221
15219
|
columnNumber: 15
|
|
15222
15220
|
}
|
|
15223
15221
|
}, /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -15227,14 +15225,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15227
15225
|
__self: undefined,
|
|
15228
15226
|
__source: {
|
|
15229
15227
|
fileName: _jsxFileName$x,
|
|
15230
|
-
lineNumber:
|
|
15228
|
+
lineNumber: 980,
|
|
15231
15229
|
columnNumber: 17
|
|
15232
15230
|
}
|
|
15233
15231
|
}, /*#__PURE__*/React__default.createElement(Separator$2, {
|
|
15234
15232
|
__self: undefined,
|
|
15235
15233
|
__source: {
|
|
15236
15234
|
fileName: _jsxFileName$x,
|
|
15237
|
-
lineNumber:
|
|
15235
|
+
lineNumber: 981,
|
|
15238
15236
|
columnNumber: 19
|
|
15239
15237
|
}
|
|
15240
15238
|
}), /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -15248,7 +15246,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15248
15246
|
__self: undefined,
|
|
15249
15247
|
__source: {
|
|
15250
15248
|
fileName: _jsxFileName$x,
|
|
15251
|
-
lineNumber:
|
|
15249
|
+
lineNumber: 982,
|
|
15252
15250
|
columnNumber: 19
|
|
15253
15251
|
}
|
|
15254
15252
|
}, showAllTags ? /*#__PURE__*/React__default.createElement(ChevronUpOutline, {
|
|
@@ -15256,7 +15254,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15256
15254
|
__self: undefined,
|
|
15257
15255
|
__source: {
|
|
15258
15256
|
fileName: _jsxFileName$x,
|
|
15259
|
-
lineNumber:
|
|
15257
|
+
lineNumber: 988,
|
|
15260
15258
|
columnNumber: 23
|
|
15261
15259
|
}
|
|
15262
15260
|
}) : /*#__PURE__*/React__default.createElement(ChevronDownOutline, {
|
|
@@ -15264,7 +15262,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15264
15262
|
__self: undefined,
|
|
15265
15263
|
__source: {
|
|
15266
15264
|
fileName: _jsxFileName$x,
|
|
15267
|
-
lineNumber:
|
|
15265
|
+
lineNumber: 990,
|
|
15268
15266
|
columnNumber: 23
|
|
15269
15267
|
}
|
|
15270
15268
|
}), /*#__PURE__*/React__default.createElement(Paragraph, {
|
|
@@ -15276,14 +15274,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15276
15274
|
__self: undefined,
|
|
15277
15275
|
__source: {
|
|
15278
15276
|
fileName: _jsxFileName$x,
|
|
15279
|
-
lineNumber:
|
|
15277
|
+
lineNumber: 992,
|
|
15280
15278
|
columnNumber: 21
|
|
15281
15279
|
}
|
|
15282
15280
|
}, showAllTags ? t('showSomeText', 'Tampilkan Sebagian') : t('showAllText', 'Tampilkan Semua'))), /*#__PURE__*/React__default.createElement(Separator$2, {
|
|
15283
15281
|
__self: undefined,
|
|
15284
15282
|
__source: {
|
|
15285
15283
|
fileName: _jsxFileName$x,
|
|
15286
|
-
lineNumber:
|
|
15284
|
+
lineNumber: 996,
|
|
15287
15285
|
columnNumber: 19
|
|
15288
15286
|
}
|
|
15289
15287
|
})), showCollapsibleCounter && /*#__PURE__*/React__default.createElement(Paragraph, {
|
|
@@ -15294,7 +15292,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15294
15292
|
__self: undefined,
|
|
15295
15293
|
__source: {
|
|
15296
15294
|
fileName: _jsxFileName$x,
|
|
15297
|
-
lineNumber:
|
|
15295
|
+
lineNumber: 999,
|
|
15298
15296
|
columnNumber: 19
|
|
15299
15297
|
}
|
|
15300
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, {
|
|
@@ -15319,7 +15317,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15319
15317
|
__self: undefined,
|
|
15320
15318
|
__source: {
|
|
15321
15319
|
fileName: _jsxFileName$x,
|
|
15322
|
-
lineNumber:
|
|
15320
|
+
lineNumber: 1017,
|
|
15323
15321
|
columnNumber: 9
|
|
15324
15322
|
}
|
|
15325
15323
|
}, isLoading && /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -15341,7 +15339,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15341
15339
|
__self: undefined,
|
|
15342
15340
|
__source: {
|
|
15343
15341
|
fileName: _jsxFileName$x,
|
|
15344
|
-
lineNumber:
|
|
15342
|
+
lineNumber: 1027,
|
|
15345
15343
|
columnNumber: 13
|
|
15346
15344
|
}
|
|
15347
15345
|
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
@@ -15349,7 +15347,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15349
15347
|
__self: undefined,
|
|
15350
15348
|
__source: {
|
|
15351
15349
|
fileName: _jsxFileName$x,
|
|
15352
|
-
lineNumber:
|
|
15350
|
+
lineNumber: 1044,
|
|
15353
15351
|
columnNumber: 15
|
|
15354
15352
|
}
|
|
15355
15353
|
}, "Loading....")), items.length > 0 || isLoading ? /*#__PURE__*/React__default.createElement(Option, _extends({}, getMenuProps({
|
|
@@ -15361,7 +15359,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15361
15359
|
__self: undefined,
|
|
15362
15360
|
__source: {
|
|
15363
15361
|
fileName: _jsxFileName$x,
|
|
15364
|
-
lineNumber:
|
|
15362
|
+
lineNumber: 1049,
|
|
15365
15363
|
columnNumber: 13
|
|
15366
15364
|
}
|
|
15367
15365
|
}), /*#__PURE__*/React__default.createElement(ConditionalWrapper, {
|
|
@@ -15384,14 +15382,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15384
15382
|
__self: undefined,
|
|
15385
15383
|
__source: {
|
|
15386
15384
|
fileName: _jsxFileName$x,
|
|
15387
|
-
lineNumber:
|
|
15385
|
+
lineNumber: 1053,
|
|
15388
15386
|
columnNumber: 19
|
|
15389
15387
|
}
|
|
15390
15388
|
}, child),
|
|
15391
15389
|
__self: undefined,
|
|
15392
15390
|
__source: {
|
|
15393
15391
|
fileName: _jsxFileName$x,
|
|
15394
|
-
lineNumber:
|
|
15392
|
+
lineNumber: 1050,
|
|
15395
15393
|
columnNumber: 15
|
|
15396
15394
|
}
|
|
15397
15395
|
}, isOpen && items.map((item, index) => item != null && item.children ? renderOptionGroupItem(item) : renderOptionItem(item, index)))) : /*#__PURE__*/React__default.createElement(Option, _extends({
|
|
@@ -15404,14 +15402,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15404
15402
|
__self: undefined,
|
|
15405
15403
|
__source: {
|
|
15406
15404
|
fileName: _jsxFileName$x,
|
|
15407
|
-
lineNumber:
|
|
15405
|
+
lineNumber: 1078,
|
|
15408
15406
|
columnNumber: 13
|
|
15409
15407
|
}
|
|
15410
15408
|
}), /*#__PURE__*/React__default.createElement(StyledDiv, {
|
|
15411
15409
|
__self: undefined,
|
|
15412
15410
|
__source: {
|
|
15413
15411
|
fileName: _jsxFileName$x,
|
|
15414
|
-
lineNumber:
|
|
15412
|
+
lineNumber: 1079,
|
|
15415
15413
|
columnNumber: 15
|
|
15416
15414
|
}
|
|
15417
15415
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -15421,7 +15419,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15421
15419
|
__self: undefined,
|
|
15422
15420
|
__source: {
|
|
15423
15421
|
fileName: _jsxFileName$x,
|
|
15424
|
-
lineNumber:
|
|
15422
|
+
lineNumber: 1080,
|
|
15425
15423
|
columnNumber: 17
|
|
15426
15424
|
}
|
|
15427
15425
|
}, /*#__PURE__*/React__default.createElement(CircleInfoOutline, {
|
|
@@ -15433,7 +15431,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15433
15431
|
__self: undefined,
|
|
15434
15432
|
__source: {
|
|
15435
15433
|
fileName: _jsxFileName$x,
|
|
15436
|
-
lineNumber:
|
|
15434
|
+
lineNumber: 1081,
|
|
15437
15435
|
columnNumber: 19
|
|
15438
15436
|
}
|
|
15439
15437
|
})), textEmptyItem != null ? textEmptyItem : t('emptyItemText', 'Item tidak ditemukan')))));
|
|
@@ -15506,7 +15504,7 @@ InputSelectCheck.defaultProps = {
|
|
|
15506
15504
|
onItemClick: changes => {}
|
|
15507
15505
|
};
|
|
15508
15506
|
|
|
15509
|
-
var _jsxFileName$w = "
|
|
15507
|
+
var _jsxFileName$w = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectTag/InputSelectTag.js";
|
|
15510
15508
|
const InputSelectTag = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
15511
15509
|
return /*#__PURE__*/React.createElement(InputSelectCheck, _extends({
|
|
15512
15510
|
ref: ref,
|
|
@@ -15567,7 +15565,7 @@ InputSelectTag.defaultProps = {
|
|
|
15567
15565
|
defaultValue: []
|
|
15568
15566
|
};
|
|
15569
15567
|
|
|
15570
|
-
var _jsxFileName$v = "
|
|
15568
|
+
var _jsxFileName$v = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCreatable/InputCreatable.js";
|
|
15571
15569
|
const Wrapper = styled('div', {
|
|
15572
15570
|
margin: 0,
|
|
15573
15571
|
flexDirection: 'column',
|
|
@@ -16695,7 +16693,7 @@ InputCounter.defaultProps = {
|
|
|
16695
16693
|
|
|
16696
16694
|
const _excluded$c = ["children"],
|
|
16697
16695
|
_excluded2$3 = ["children", "showOverlay"];
|
|
16698
|
-
var _jsxFileName$u = "
|
|
16696
|
+
var _jsxFileName$u = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/drawer/Drawer.js";
|
|
16699
16697
|
const Context$1 = /*#__PURE__*/React__default.createContext();
|
|
16700
16698
|
const {
|
|
16701
16699
|
sizes
|
|
@@ -17045,7 +17043,7 @@ DrawerCloseButton.displayName = 'DrawerCloseButton';
|
|
|
17045
17043
|
|
|
17046
17044
|
const _excluded$b = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size", "withMaxWidth", "mobileOnly", "desktopOnly"],
|
|
17047
17045
|
_excluded2$2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
|
|
17048
|
-
var _jsxFileName$t = "
|
|
17046
|
+
var _jsxFileName$t = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/buttonGroup/ButtonGroup.js";
|
|
17049
17047
|
const ScrollButton$1 = styled(Button$4, {
|
|
17050
17048
|
width: '28px',
|
|
17051
17049
|
outline: '$btnPrimary solid 1px',
|
|
@@ -17575,7 +17573,7 @@ const DateNumber = styled('div', {
|
|
|
17575
17573
|
});
|
|
17576
17574
|
DateNumber.displayName = 'DateNumber';
|
|
17577
17575
|
|
|
17578
|
-
var _jsxFileName$s = "
|
|
17576
|
+
var _jsxFileName$s = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/TimePicker.js";
|
|
17579
17577
|
const Input$3 = styled('input', {
|
|
17580
17578
|
display: 'none'
|
|
17581
17579
|
});
|
|
@@ -17978,56 +17976,56 @@ const NativeTimePicker = ({
|
|
|
17978
17976
|
})));
|
|
17979
17977
|
};
|
|
17980
17978
|
NativeTimePicker.propTypes = {
|
|
17981
|
-
/**
|
|
17982
|
-
Resize time picker.
|
|
17979
|
+
/**
|
|
17980
|
+
Resize time picker.
|
|
17983
17981
|
*/
|
|
17984
17982
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
17985
|
-
/**
|
|
17986
|
-
Change handler.
|
|
17983
|
+
/**
|
|
17984
|
+
Change handler.
|
|
17987
17985
|
*/
|
|
17988
17986
|
onChange: PropTypes.func,
|
|
17989
|
-
/**
|
|
17990
|
-
Time picker default value, support moment format.
|
|
17987
|
+
/**
|
|
17988
|
+
Time picker default value, support moment format.
|
|
17991
17989
|
*/
|
|
17992
17990
|
defaultValue: PropTypes.instanceOf(Date),
|
|
17993
|
-
/**
|
|
17994
|
-
Time picker value, support moment format.
|
|
17991
|
+
/**
|
|
17992
|
+
Time picker value, support moment format.
|
|
17995
17993
|
*/
|
|
17996
17994
|
value: PropTypes.instanceOf(Date),
|
|
17997
|
-
/**
|
|
17998
|
-
Disabled state.
|
|
17995
|
+
/**
|
|
17996
|
+
Disabled state.
|
|
17999
17997
|
*/
|
|
18000
17998
|
disabled: PropTypes.bool,
|
|
18001
|
-
/**
|
|
18002
|
-
Disabled hour state.
|
|
17999
|
+
/**
|
|
18000
|
+
Disabled hour state.
|
|
18003
18001
|
*/
|
|
18004
18002
|
disabledHour: PropTypes.bool,
|
|
18005
|
-
/**
|
|
18006
|
-
Disabled increase hour state.
|
|
18003
|
+
/**
|
|
18004
|
+
Disabled increase hour state.
|
|
18007
18005
|
*/
|
|
18008
18006
|
disabledHourIncrease: PropTypes.bool,
|
|
18009
|
-
/**
|
|
18010
|
-
Disabled decrease hour state.
|
|
18007
|
+
/**
|
|
18008
|
+
Disabled decrease hour state.
|
|
18011
18009
|
*/
|
|
18012
18010
|
disabledHourDecrease: PropTypes.bool,
|
|
18013
|
-
/**
|
|
18014
|
-
Disabled minute state.
|
|
18011
|
+
/**
|
|
18012
|
+
Disabled minute state.
|
|
18015
18013
|
*/
|
|
18016
18014
|
disabledMinute: PropTypes.bool,
|
|
18017
|
-
/**
|
|
18018
|
-
Disabled increase minute state.
|
|
18015
|
+
/**
|
|
18016
|
+
Disabled increase minute state.
|
|
18019
18017
|
*/
|
|
18020
18018
|
disabledMinuteIncrease: PropTypes.bool,
|
|
18021
|
-
/**
|
|
18022
|
-
Disabled decrease minute state.
|
|
18019
|
+
/**
|
|
18020
|
+
Disabled decrease minute state.
|
|
18023
18021
|
*/
|
|
18024
18022
|
disabledMinuteDecrease: PropTypes.bool,
|
|
18025
|
-
/**
|
|
18026
|
-
Specify the minimum date.
|
|
18023
|
+
/**
|
|
18024
|
+
Specify the minimum date.
|
|
18027
18025
|
*/
|
|
18028
18026
|
minDate: PropTypes.instanceOf(Date),
|
|
18029
|
-
/**
|
|
18030
|
-
Specify the maximum date.
|
|
18027
|
+
/**
|
|
18028
|
+
Specify the maximum date.
|
|
18031
18029
|
*/
|
|
18032
18030
|
maxDate: PropTypes.instanceOf(Date)
|
|
18033
18031
|
};
|
|
@@ -18084,66 +18082,66 @@ const TimePicker = ({
|
|
|
18084
18082
|
};
|
|
18085
18083
|
TimePicker.displayName = 'TimePicker';
|
|
18086
18084
|
TimePicker.propTypes = {
|
|
18087
|
-
/**
|
|
18088
|
-
Additional styles.
|
|
18085
|
+
/**
|
|
18086
|
+
Additional styles.
|
|
18089
18087
|
*/
|
|
18090
18088
|
css: PropTypes.object,
|
|
18091
|
-
/**
|
|
18092
|
-
Resize time picker.
|
|
18089
|
+
/**
|
|
18090
|
+
Resize time picker.
|
|
18093
18091
|
*/
|
|
18094
18092
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
18095
|
-
/**
|
|
18096
|
-
Change handler.
|
|
18093
|
+
/**
|
|
18094
|
+
Change handler.
|
|
18097
18095
|
*/
|
|
18098
18096
|
onChange: PropTypes.func,
|
|
18099
|
-
/**
|
|
18100
|
-
Time picker default value, support moment format.
|
|
18097
|
+
/**
|
|
18098
|
+
Time picker default value, support moment format.
|
|
18101
18099
|
*/
|
|
18102
18100
|
defaultValue: PropTypes.instanceOf(Date),
|
|
18103
|
-
/**
|
|
18104
|
-
Time picker value, support moment format.
|
|
18101
|
+
/**
|
|
18102
|
+
Time picker value, support moment format.
|
|
18105
18103
|
*/
|
|
18106
18104
|
value: PropTypes.instanceOf(Date),
|
|
18107
|
-
/**
|
|
18108
|
-
Disabled state.
|
|
18105
|
+
/**
|
|
18106
|
+
Disabled state.
|
|
18109
18107
|
*/
|
|
18110
18108
|
disabled: PropTypes.bool,
|
|
18111
|
-
/**
|
|
18112
|
-
Disabled hour state.
|
|
18109
|
+
/**
|
|
18110
|
+
Disabled hour state.
|
|
18113
18111
|
*/
|
|
18114
18112
|
disabledHour: PropTypes.bool,
|
|
18115
|
-
/**
|
|
18116
|
-
Disabled increase hour state.
|
|
18113
|
+
/**
|
|
18114
|
+
Disabled increase hour state.
|
|
18117
18115
|
*/
|
|
18118
18116
|
disabledHourIncrease: PropTypes.bool,
|
|
18119
|
-
/**
|
|
18120
|
-
Disabled decrease hour state.
|
|
18117
|
+
/**
|
|
18118
|
+
Disabled decrease hour state.
|
|
18121
18119
|
*/
|
|
18122
18120
|
disabledHourDecrease: PropTypes.bool,
|
|
18123
|
-
/**
|
|
18124
|
-
Disabled minute state.
|
|
18121
|
+
/**
|
|
18122
|
+
Disabled minute state.
|
|
18125
18123
|
*/
|
|
18126
18124
|
disabledMinute: PropTypes.bool,
|
|
18127
|
-
/**
|
|
18128
|
-
Disabled increase minute state.
|
|
18125
|
+
/**
|
|
18126
|
+
Disabled increase minute state.
|
|
18129
18127
|
*/
|
|
18130
18128
|
disabledMinuteIncrease: PropTypes.bool,
|
|
18131
|
-
/**
|
|
18132
|
-
Disabled decrease minute state.
|
|
18129
|
+
/**
|
|
18130
|
+
Disabled decrease minute state.
|
|
18133
18131
|
*/
|
|
18134
18132
|
disabledMinuteDecrease: PropTypes.bool,
|
|
18135
|
-
/**
|
|
18136
|
-
Specify the minimum date.
|
|
18133
|
+
/**
|
|
18134
|
+
Specify the minimum date.
|
|
18137
18135
|
*/
|
|
18138
18136
|
minDate: PropTypes.instanceOf(Date),
|
|
18139
|
-
/**
|
|
18140
|
-
Specify the maximum date.
|
|
18137
|
+
/**
|
|
18138
|
+
Specify the maximum date.
|
|
18141
18139
|
*/
|
|
18142
18140
|
maxDate: PropTypes.instanceOf(Date)
|
|
18143
18141
|
};
|
|
18144
18142
|
NativeTimePicker.displayName = 'NativeTimePicker';
|
|
18145
18143
|
|
|
18146
|
-
var _jsxFileName$r = "
|
|
18144
|
+
var _jsxFileName$r = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/InputTimePicker.js";
|
|
18147
18145
|
const getInputPickerValue$1 = date => {
|
|
18148
18146
|
if (!date) return;
|
|
18149
18147
|
return moment(date).format('HH:mm');
|
|
@@ -18302,88 +18300,88 @@ InputTimePicker.defaultProps = {
|
|
|
18302
18300
|
placeholder: 'Select Time'
|
|
18303
18301
|
};
|
|
18304
18302
|
InputTimePicker.propTypes = {
|
|
18305
|
-
/**
|
|
18306
|
-
Additional styles.
|
|
18303
|
+
/**
|
|
18304
|
+
Additional styles.
|
|
18307
18305
|
*/
|
|
18308
18306
|
css: PropTypes.object,
|
|
18309
|
-
/**
|
|
18310
|
-
Disabled state.
|
|
18307
|
+
/**
|
|
18308
|
+
Disabled state.
|
|
18311
18309
|
*/
|
|
18312
18310
|
disabled: PropTypes.bool,
|
|
18313
|
-
/**
|
|
18314
|
-
Disabled hour state.
|
|
18311
|
+
/**
|
|
18312
|
+
Disabled hour state.
|
|
18315
18313
|
*/
|
|
18316
18314
|
disabledHour: PropTypes.bool,
|
|
18317
|
-
/**
|
|
18318
|
-
Disabled increase hour state.
|
|
18315
|
+
/**
|
|
18316
|
+
Disabled increase hour state.
|
|
18319
18317
|
*/
|
|
18320
18318
|
disabledHourIncrease: PropTypes.bool,
|
|
18321
|
-
/**
|
|
18322
|
-
Disabled decrease hour state.
|
|
18319
|
+
/**
|
|
18320
|
+
Disabled decrease hour state.
|
|
18323
18321
|
*/
|
|
18324
18322
|
disabledHourDecrease: PropTypes.bool,
|
|
18325
|
-
/**
|
|
18326
|
-
Disabled minute state.
|
|
18323
|
+
/**
|
|
18324
|
+
Disabled minute state.
|
|
18327
18325
|
*/
|
|
18328
18326
|
disabledMinute: PropTypes.bool,
|
|
18329
|
-
/**
|
|
18330
|
-
Disabled increase minute state.
|
|
18327
|
+
/**
|
|
18328
|
+
Disabled increase minute state.
|
|
18331
18329
|
*/
|
|
18332
18330
|
disabledMinuteIncrease: PropTypes.bool,
|
|
18333
|
-
/**
|
|
18334
|
-
Disabled decrease minute state.
|
|
18331
|
+
/**
|
|
18332
|
+
Disabled decrease minute state.
|
|
18335
18333
|
*/
|
|
18336
18334
|
disabledMinuteDecrease: PropTypes.bool,
|
|
18337
|
-
/**
|
|
18338
|
-
ReadOnly state.
|
|
18335
|
+
/**
|
|
18336
|
+
ReadOnly state.
|
|
18339
18337
|
*/
|
|
18340
18338
|
readOnly: PropTypes.bool,
|
|
18341
|
-
/**
|
|
18342
|
-
Resize time picker.
|
|
18339
|
+
/**
|
|
18340
|
+
Resize time picker.
|
|
18343
18341
|
*/
|
|
18344
18342
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
18345
|
-
/**
|
|
18346
|
-
Custom placeholder input time picker.
|
|
18343
|
+
/**
|
|
18344
|
+
Custom placeholder input time picker.
|
|
18347
18345
|
*/
|
|
18348
18346
|
placeholder: PropTypes.string,
|
|
18349
|
-
/**
|
|
18350
|
-
Time picker default value, support moment format.
|
|
18347
|
+
/**
|
|
18348
|
+
Time picker default value, support moment format.
|
|
18351
18349
|
*/
|
|
18352
18350
|
defaultValue: PropTypes.instanceOf(Date),
|
|
18353
|
-
/**
|
|
18354
|
-
Time picker value, support moment format.
|
|
18351
|
+
/**
|
|
18352
|
+
Time picker value, support moment format.
|
|
18355
18353
|
*/
|
|
18356
18354
|
value: PropTypes.instanceOf(Date),
|
|
18357
|
-
/**
|
|
18358
|
-
Change handler.
|
|
18355
|
+
/**
|
|
18356
|
+
Change handler.
|
|
18359
18357
|
*/
|
|
18360
18358
|
onChange: PropTypes.func,
|
|
18361
|
-
/**
|
|
18362
|
-
Placement popover input time picker.
|
|
18359
|
+
/**
|
|
18360
|
+
Placement popover input time picker.
|
|
18363
18361
|
*/
|
|
18364
18362
|
placement: PropTypes.string,
|
|
18365
|
-
/**
|
|
18366
|
-
Specify the minimum date.
|
|
18363
|
+
/**
|
|
18364
|
+
Specify the minimum date.
|
|
18367
18365
|
*/
|
|
18368
18366
|
minDate: PropTypes.instanceOf(Date),
|
|
18369
|
-
/**
|
|
18370
|
-
Specify the maximum date.
|
|
18367
|
+
/**
|
|
18368
|
+
Specify the maximum date.
|
|
18371
18369
|
*/
|
|
18372
18370
|
maxDate: PropTypes.instanceOf(Date),
|
|
18373
|
-
/**
|
|
18374
|
-
* Invalid state input.
|
|
18371
|
+
/**
|
|
18372
|
+
* Invalid state input.
|
|
18375
18373
|
*/
|
|
18376
18374
|
isInvalid: PropTypes.bool,
|
|
18377
|
-
/**
|
|
18378
|
-
If true, the component will rendered on portal element
|
|
18375
|
+
/**
|
|
18376
|
+
If true, the component will rendered on portal element
|
|
18379
18377
|
*/
|
|
18380
18378
|
portalled: PropTypes.bool,
|
|
18381
|
-
/**
|
|
18382
|
-
Additional TimePicker styles.
|
|
18379
|
+
/**
|
|
18380
|
+
Additional TimePicker styles.
|
|
18383
18381
|
*/
|
|
18384
18382
|
contentCss: PropTypes.object,
|
|
18385
|
-
/**
|
|
18386
|
-
Input open change callback.
|
|
18383
|
+
/**
|
|
18384
|
+
Input open change callback.
|
|
18387
18385
|
*/
|
|
18388
18386
|
onInputOpenChange: PropTypes.func
|
|
18389
18387
|
};
|
|
@@ -21001,7 +20999,7 @@ function InputSignature({
|
|
|
21001
20999
|
}
|
|
21002
21000
|
|
|
21003
21001
|
const _excluded$a = ["className", "defaultValue", "value", "name", "disabled", "orientation", "dir", "min", "max", "step", "onValueChange", "minStepsBetweenThumbs", "color", "size", "width", "height"];
|
|
21004
|
-
var _jsxFileName$q = "
|
|
21002
|
+
var _jsxFileName$q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/slider/Slider.js";
|
|
21005
21003
|
const StyledSlider = styled$1(SliderPrimitive.Root, {
|
|
21006
21004
|
position: 'relative',
|
|
21007
21005
|
display: 'flex',
|
|
@@ -21345,7 +21343,7 @@ Slider.defaultProps = {
|
|
|
21345
21343
|
};
|
|
21346
21344
|
|
|
21347
21345
|
const _excluded$9 = ["className", "children", "onClick", "type", "size"];
|
|
21348
|
-
var _jsxFileName$p = "
|
|
21346
|
+
var _jsxFileName$p = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tagStatus/TagStatus.js";
|
|
21349
21347
|
const TagWrapper$1 = styled('div', {
|
|
21350
21348
|
boxSizing: 'border-box',
|
|
21351
21349
|
fontSize: '12px',
|
|
@@ -21508,7 +21506,7 @@ const _excluded$8 = ["children"],
|
|
|
21508
21506
|
_excluded2$1 = ["children", "activeTabs"],
|
|
21509
21507
|
_excluded3$1 = ["children", "icon", "activeTabs", "value"],
|
|
21510
21508
|
_excluded4$1 = ["activeTabs"];
|
|
21511
|
-
var _jsxFileName$o = "
|
|
21509
|
+
var _jsxFileName$o = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tabs/Tabs.js";
|
|
21512
21510
|
const StyledTabs = styled(TabsPrimitive.Root, {
|
|
21513
21511
|
display: 'flex',
|
|
21514
21512
|
flexDirection: 'column',
|
|
@@ -21847,7 +21845,7 @@ TabsContent$1.propTypes = {
|
|
|
21847
21845
|
};
|
|
21848
21846
|
|
|
21849
21847
|
const _excluded$7 = ["children", "variantIcon"];
|
|
21850
|
-
var _jsxFileName$n = "
|
|
21848
|
+
var _jsxFileName$n = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/notificationBadge/NotificationBadge.js";
|
|
21851
21849
|
const NotificationBadgeRootStyle = styled('span', {
|
|
21852
21850
|
position: 'relative',
|
|
21853
21851
|
display: 'inline-flex',
|
|
@@ -22002,7 +22000,7 @@ NotificationBadge.propTypes = {
|
|
|
22002
22000
|
};
|
|
22003
22001
|
|
|
22004
22002
|
const _excluded$6 = ["className", "children", "radius", "padding", "width", "height"];
|
|
22005
|
-
var _jsxFileName$m = "
|
|
22003
|
+
var _jsxFileName$m = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/paper/Paper.js";
|
|
22006
22004
|
const PaperComponent = styled('div', {
|
|
22007
22005
|
padding: '20px',
|
|
22008
22006
|
height: 'auto',
|
|
@@ -22255,7 +22253,7 @@ const removeUndefinedFields = obj => {
|
|
|
22255
22253
|
};
|
|
22256
22254
|
|
|
22257
22255
|
const _excluded$5 = ["isActive", "onClick"];
|
|
22258
|
-
var _jsxFileName$l = "
|
|
22256
|
+
var _jsxFileName$l = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationButton.js";
|
|
22259
22257
|
const PrevNextButton = styled(Text$1, {
|
|
22260
22258
|
padding: '$spacing-01',
|
|
22261
22259
|
cursor: 'pointer',
|
|
@@ -22749,7 +22747,7 @@ const PaginationButton = ({
|
|
|
22749
22747
|
};
|
|
22750
22748
|
|
|
22751
22749
|
const _excluded$4 = ["limits", "selectedLimit", "currentPage", "totalData", "onChange"];
|
|
22752
|
-
var _jsxFileName$k = "
|
|
22750
|
+
var _jsxFileName$k = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationInfo.js";
|
|
22753
22751
|
const LimitContainer = styled(Flex$1, {
|
|
22754
22752
|
cursor: 'pointer'
|
|
22755
22753
|
});
|
|
@@ -22984,7 +22982,7 @@ function PaginationInfo(_ref) {
|
|
|
22984
22982
|
}
|
|
22985
22983
|
|
|
22986
22984
|
const _excluded$3 = ["limit", "currentPage", "totalData", "totalPage", "hideDataInfo", "onLimitChange", "onPageChange", "rowsPerPageOptions", "hidePagination", "hideInputPageSection"];
|
|
22987
|
-
var _jsxFileName$j = "
|
|
22985
|
+
var _jsxFileName$j = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/Pagination.js";
|
|
22988
22986
|
function Pagination(_ref) {
|
|
22989
22987
|
let {
|
|
22990
22988
|
limit,
|
|
@@ -23858,7 +23856,7 @@ const ScrollSyncNode = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
23858
23856
|
});
|
|
23859
23857
|
ScrollSyncNode.displayName = 'ScrollSyncNode';
|
|
23860
23858
|
|
|
23861
|
-
var _jsxFileName$i = "
|
|
23859
|
+
var _jsxFileName$i = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowDraggableColumn.js";
|
|
23862
23860
|
const DragHandle = SortableHandle(() => /*#__PURE__*/React__default.createElement(IconButton, {
|
|
23863
23861
|
icon: true,
|
|
23864
23862
|
size: "xs",
|
|
@@ -25354,7 +25352,7 @@ const TableColumn = _a => {
|
|
|
25354
25352
|
return jsx("div", {}, void 0);
|
|
25355
25353
|
};
|
|
25356
25354
|
|
|
25357
|
-
var _jsxFileName$h = "
|
|
25355
|
+
var _jsxFileName$h = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/DateColumn.js";
|
|
25358
25356
|
const DateColumn = ({
|
|
25359
25357
|
value,
|
|
25360
25358
|
customFormat
|
|
@@ -25466,7 +25464,7 @@ const PriceColumn = props => {
|
|
|
25466
25464
|
return addThousandSeparator(param);
|
|
25467
25465
|
};
|
|
25468
25466
|
|
|
25469
|
-
var _jsxFileName$g = "
|
|
25467
|
+
var _jsxFileName$g = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderColumn.js";
|
|
25470
25468
|
const rowExpanderColumn = {
|
|
25471
25469
|
id: 'expander',
|
|
25472
25470
|
Header: () => null,
|
|
@@ -25509,7 +25507,7 @@ const rowExpanderColumn = {
|
|
|
25509
25507
|
unsortable: true
|
|
25510
25508
|
};
|
|
25511
25509
|
|
|
25512
|
-
var _jsxFileName$f = "
|
|
25510
|
+
var _jsxFileName$f = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderMultipleColumn.js";
|
|
25513
25511
|
const rowExpanderMultipleColumn = {
|
|
25514
25512
|
id: 'multiple-expander',
|
|
25515
25513
|
Header: () => null,
|
|
@@ -25545,7 +25543,7 @@ const rowExpanderMultipleColumn = {
|
|
|
25545
25543
|
unsortable: true
|
|
25546
25544
|
};
|
|
25547
25545
|
|
|
25548
|
-
var _jsxFileName$e = "
|
|
25546
|
+
var _jsxFileName$e = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowMenuColumn.js";
|
|
25549
25547
|
const rowMenuColumn = (options, icon, config) => ({
|
|
25550
25548
|
id: 'menu',
|
|
25551
25549
|
options,
|
|
@@ -25682,7 +25680,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
25682
25680
|
unsortable: true
|
|
25683
25681
|
});
|
|
25684
25682
|
|
|
25685
|
-
var _jsxFileName$d = "
|
|
25683
|
+
var _jsxFileName$d = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionColumn.js";
|
|
25686
25684
|
const rowSelectionColumn = {
|
|
25687
25685
|
id: 'selection',
|
|
25688
25686
|
Header: ({
|
|
@@ -25731,7 +25729,7 @@ const rowSelectionColumn = {
|
|
|
25731
25729
|
unsortable: true
|
|
25732
25730
|
};
|
|
25733
25731
|
|
|
25734
|
-
var _jsxFileName$c = "
|
|
25732
|
+
var _jsxFileName$c = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionCallbackColumn.js";
|
|
25735
25733
|
const rowSelectionWithCallbackColumn = (onCheckedChange, onAllCheckedChange) => ({
|
|
25736
25734
|
id: 'selection',
|
|
25737
25735
|
Header: ({
|
|
@@ -26069,7 +26067,7 @@ PageDialog.defaultProps = {
|
|
|
26069
26067
|
};
|
|
26070
26068
|
|
|
26071
26069
|
const _excluded$2 = ["children"];
|
|
26072
|
-
var _jsxFileName$b = "
|
|
26070
|
+
var _jsxFileName$b = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/alertDialog/AlertDialog.js";
|
|
26073
26071
|
const overlayShow = keyframes({
|
|
26074
26072
|
'0%': {
|
|
26075
26073
|
opacity: 0
|
|
@@ -26705,7 +26703,7 @@ const _excluded$1 = ["side", "align", "children"],
|
|
|
26705
26703
|
_excluded2 = ["theme"],
|
|
26706
26704
|
_excluded3 = ["children"],
|
|
26707
26705
|
_excluded4 = ["asChild"];
|
|
26708
|
-
var _jsxFileName$a = "
|
|
26706
|
+
var _jsxFileName$a = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/dropdownMenu/DropdownMenu.js";
|
|
26709
26707
|
const Context = /*#__PURE__*/React__default.createContext();
|
|
26710
26708
|
const slideUpAndFade = keyframes({
|
|
26711
26709
|
'0%': {
|
|
@@ -28982,7 +28980,7 @@ function imgPreview(image, crop, scale = 1, rotate = 0, ratio, type) {
|
|
|
28982
28980
|
}
|
|
28983
28981
|
|
|
28984
28982
|
const _excluded = ["customPreviewIcon"];
|
|
28985
|
-
var _jsxFileName$9 = "
|
|
28983
|
+
var _jsxFileName$9 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/upload/Upload.js";
|
|
28986
28984
|
const Input$2 = styled('input', {
|
|
28987
28985
|
display: 'none !important'
|
|
28988
28986
|
});
|
|
@@ -29085,7 +29083,7 @@ const IconStateFull = _ref => {
|
|
|
29085
29083
|
lineNumber: 126,
|
|
29086
29084
|
columnNumber: 5
|
|
29087
29085
|
}
|
|
29088
|
-
},
|
|
29086
|
+
}, customPreviewIcon ? (/*#__PURE__*/React__default.cloneElement(customPreviewIcon, Object.assign({}, customPreviewIcon.props, props, {
|
|
29089
29087
|
color: isHover ? '#04C99E' : customPreviewIcon.props.color,
|
|
29090
29088
|
onMouseEnter: handleEnter,
|
|
29091
29089
|
onMouseLeave: handleLeave,
|
|
@@ -29149,7 +29147,8 @@ const Upload = ({
|
|
|
29149
29147
|
isDefaultCustomRatio,
|
|
29150
29148
|
customPreviewIcon,
|
|
29151
29149
|
onPreviewIconClick,
|
|
29152
|
-
maxWidthOrHeight
|
|
29150
|
+
maxWidthOrHeight,
|
|
29151
|
+
theme
|
|
29153
29152
|
}) => {
|
|
29154
29153
|
const {
|
|
29155
29154
|
t
|
|
@@ -29597,7 +29596,7 @@ const Upload = ({
|
|
|
29597
29596
|
__self: this,
|
|
29598
29597
|
__source: {
|
|
29599
29598
|
fileName: _jsxFileName$9,
|
|
29600
|
-
lineNumber:
|
|
29599
|
+
lineNumber: 666,
|
|
29601
29600
|
columnNumber: 7
|
|
29602
29601
|
}
|
|
29603
29602
|
}, /*#__PURE__*/React__default.createElement(ButtonText, {
|
|
@@ -29607,7 +29606,7 @@ const Upload = ({
|
|
|
29607
29606
|
__self: this,
|
|
29608
29607
|
__source: {
|
|
29609
29608
|
fileName: _jsxFileName$9,
|
|
29610
|
-
lineNumber:
|
|
29609
|
+
lineNumber: 667,
|
|
29611
29610
|
columnNumber: 9
|
|
29612
29611
|
}
|
|
29613
29612
|
}, replaceLabel && replaceLabel.length > 0 ? replaceLabel : t('replaceLabel', 'Ubah Berkas')));
|
|
@@ -29622,7 +29621,7 @@ const Upload = ({
|
|
|
29622
29621
|
__self: undefined,
|
|
29623
29622
|
__source: {
|
|
29624
29623
|
fileName: _jsxFileName$9,
|
|
29625
|
-
lineNumber:
|
|
29624
|
+
lineNumber: 677,
|
|
29626
29625
|
columnNumber: 16
|
|
29627
29626
|
}
|
|
29628
29627
|
});
|
|
@@ -29633,7 +29632,7 @@ const Upload = ({
|
|
|
29633
29632
|
__self: undefined,
|
|
29634
29633
|
__source: {
|
|
29635
29634
|
fileName: _jsxFileName$9,
|
|
29636
|
-
lineNumber:
|
|
29635
|
+
lineNumber: 680,
|
|
29637
29636
|
columnNumber: 9
|
|
29638
29637
|
}
|
|
29639
29638
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -29643,7 +29642,7 @@ const Upload = ({
|
|
|
29643
29642
|
__self: undefined,
|
|
29644
29643
|
__source: {
|
|
29645
29644
|
fileName: _jsxFileName$9,
|
|
29646
|
-
lineNumber:
|
|
29645
|
+
lineNumber: 681,
|
|
29647
29646
|
columnNumber: 11
|
|
29648
29647
|
}
|
|
29649
29648
|
}, !disabled && /*#__PURE__*/React__default.createElement(IconStateFull, {
|
|
@@ -29652,7 +29651,7 @@ const Upload = ({
|
|
|
29652
29651
|
__self: undefined,
|
|
29653
29652
|
__source: {
|
|
29654
29653
|
fileName: _jsxFileName$9,
|
|
29655
|
-
lineNumber:
|
|
29654
|
+
lineNumber: 682,
|
|
29656
29655
|
columnNumber: 27
|
|
29657
29656
|
}
|
|
29658
29657
|
}), !hiddenPreview && /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -29665,7 +29664,7 @@ const Upload = ({
|
|
|
29665
29664
|
__self: undefined,
|
|
29666
29665
|
__source: {
|
|
29667
29666
|
fileName: _jsxFileName$9,
|
|
29668
|
-
lineNumber:
|
|
29667
|
+
lineNumber: 684,
|
|
29669
29668
|
columnNumber: 15
|
|
29670
29669
|
}
|
|
29671
29670
|
}, /*#__PURE__*/React__default.createElement(IconStateFull, {
|
|
@@ -29681,7 +29680,7 @@ const Upload = ({
|
|
|
29681
29680
|
__self: undefined,
|
|
29682
29681
|
__source: {
|
|
29683
29682
|
fileName: _jsxFileName$9,
|
|
29684
|
-
lineNumber:
|
|
29683
|
+
lineNumber: 692,
|
|
29685
29684
|
columnNumber: 17
|
|
29686
29685
|
}
|
|
29687
29686
|
})), /*#__PURE__*/React__default.createElement(Image, {
|
|
@@ -29691,7 +29690,7 @@ const Upload = ({
|
|
|
29691
29690
|
__self: undefined,
|
|
29692
29691
|
__source: {
|
|
29693
29692
|
fileName: _jsxFileName$9,
|
|
29694
|
-
lineNumber:
|
|
29693
|
+
lineNumber: 705,
|
|
29695
29694
|
columnNumber: 13
|
|
29696
29695
|
}
|
|
29697
29696
|
})), !disabled && renderButtonReplace(index));
|
|
@@ -29708,7 +29707,7 @@ const Upload = ({
|
|
|
29708
29707
|
__self: undefined,
|
|
29709
29708
|
__source: {
|
|
29710
29709
|
fileName: _jsxFileName$9,
|
|
29711
|
-
lineNumber:
|
|
29710
|
+
lineNumber: 716,
|
|
29712
29711
|
columnNumber: 16
|
|
29713
29712
|
}
|
|
29714
29713
|
});
|
|
@@ -29718,7 +29717,7 @@ const Upload = ({
|
|
|
29718
29717
|
__self: undefined,
|
|
29719
29718
|
__source: {
|
|
29720
29719
|
fileName: _jsxFileName$9,
|
|
29721
|
-
lineNumber:
|
|
29720
|
+
lineNumber: 719,
|
|
29722
29721
|
columnNumber: 9
|
|
29723
29722
|
}
|
|
29724
29723
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -29728,7 +29727,7 @@ const Upload = ({
|
|
|
29728
29727
|
__self: undefined,
|
|
29729
29728
|
__source: {
|
|
29730
29729
|
fileName: _jsxFileName$9,
|
|
29731
|
-
lineNumber:
|
|
29730
|
+
lineNumber: 720,
|
|
29732
29731
|
columnNumber: 11
|
|
29733
29732
|
}
|
|
29734
29733
|
}, !disabled && /*#__PURE__*/React__default.createElement(IconStateFull, {
|
|
@@ -29737,7 +29736,7 @@ const Upload = ({
|
|
|
29737
29736
|
__self: undefined,
|
|
29738
29737
|
__source: {
|
|
29739
29738
|
fileName: _jsxFileName$9,
|
|
29740
|
-
lineNumber:
|
|
29739
|
+
lineNumber: 721,
|
|
29741
29740
|
columnNumber: 27
|
|
29742
29741
|
}
|
|
29743
29742
|
}), /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -29750,7 +29749,7 @@ const Upload = ({
|
|
|
29750
29749
|
__self: undefined,
|
|
29751
29750
|
__source: {
|
|
29752
29751
|
fileName: _jsxFileName$9,
|
|
29753
|
-
lineNumber:
|
|
29752
|
+
lineNumber: 722,
|
|
29754
29753
|
columnNumber: 13
|
|
29755
29754
|
}
|
|
29756
29755
|
}, /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -29760,14 +29759,14 @@ const Upload = ({
|
|
|
29760
29759
|
__self: undefined,
|
|
29761
29760
|
__source: {
|
|
29762
29761
|
fileName: _jsxFileName$9,
|
|
29763
|
-
lineNumber:
|
|
29762
|
+
lineNumber: 730,
|
|
29764
29763
|
columnNumber: 15
|
|
29765
29764
|
}
|
|
29766
29765
|
}, /*#__PURE__*/React__default.createElement(FileExtension, {
|
|
29767
29766
|
__self: undefined,
|
|
29768
29767
|
__source: {
|
|
29769
29768
|
fileName: _jsxFileName$9,
|
|
29770
|
-
lineNumber:
|
|
29769
|
+
lineNumber: 731,
|
|
29771
29770
|
columnNumber: 17
|
|
29772
29771
|
}
|
|
29773
29772
|
}, ".", item == null || (_item$name = item.name) == null ? void 0 : _item$name.split('.').pop()), /*#__PURE__*/React__default.createElement(Tooltip$1, {
|
|
@@ -29775,7 +29774,7 @@ const Upload = ({
|
|
|
29775
29774
|
__self: undefined,
|
|
29776
29775
|
__source: {
|
|
29777
29776
|
fileName: _jsxFileName$9,
|
|
29778
|
-
lineNumber:
|
|
29777
|
+
lineNumber: 732,
|
|
29779
29778
|
columnNumber: 17
|
|
29780
29779
|
}
|
|
29781
29780
|
}, /*#__PURE__*/React__default.createElement(Text, {
|
|
@@ -29790,7 +29789,7 @@ const Upload = ({
|
|
|
29790
29789
|
__self: undefined,
|
|
29791
29790
|
__source: {
|
|
29792
29791
|
fileName: _jsxFileName$9,
|
|
29793
|
-
lineNumber:
|
|
29792
|
+
lineNumber: 733,
|
|
29794
29793
|
columnNumber: 19
|
|
29795
29794
|
}
|
|
29796
29795
|
}, item.name)))), !hiddenPreview && /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -29803,7 +29802,7 @@ const Upload = ({
|
|
|
29803
29802
|
__self: undefined,
|
|
29804
29803
|
__source: {
|
|
29805
29804
|
fileName: _jsxFileName$9,
|
|
29806
|
-
lineNumber:
|
|
29805
|
+
lineNumber: 749,
|
|
29807
29806
|
columnNumber: 15
|
|
29808
29807
|
}
|
|
29809
29808
|
}, /*#__PURE__*/React__default.createElement(IconStateFull, {
|
|
@@ -29819,7 +29818,7 @@ const Upload = ({
|
|
|
29819
29818
|
__self: undefined,
|
|
29820
29819
|
__source: {
|
|
29821
29820
|
fileName: _jsxFileName$9,
|
|
29822
|
-
lineNumber:
|
|
29821
|
+
lineNumber: 757,
|
|
29823
29822
|
columnNumber: 17
|
|
29824
29823
|
}
|
|
29825
29824
|
})), /*#__PURE__*/React__default.createElement(Blank, {
|
|
@@ -29827,7 +29826,7 @@ const Upload = ({
|
|
|
29827
29826
|
__self: undefined,
|
|
29828
29827
|
__source: {
|
|
29829
29828
|
fileName: _jsxFileName$9,
|
|
29830
|
-
lineNumber:
|
|
29829
|
+
lineNumber: 770,
|
|
29831
29830
|
columnNumber: 13
|
|
29832
29831
|
}
|
|
29833
29832
|
})), !disabled && renderButtonReplace(index));
|
|
@@ -29842,7 +29841,7 @@ const Upload = ({
|
|
|
29842
29841
|
__self: this,
|
|
29843
29842
|
__source: {
|
|
29844
29843
|
fileName: _jsxFileName$9,
|
|
29845
|
-
lineNumber:
|
|
29844
|
+
lineNumber: 781,
|
|
29846
29845
|
columnNumber: 7
|
|
29847
29846
|
}
|
|
29848
29847
|
}, /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -29856,7 +29855,7 @@ const Upload = ({
|
|
|
29856
29855
|
__self: this,
|
|
29857
29856
|
__source: {
|
|
29858
29857
|
fileName: _jsxFileName$9,
|
|
29859
|
-
lineNumber:
|
|
29858
|
+
lineNumber: 782,
|
|
29860
29859
|
columnNumber: 9
|
|
29861
29860
|
}
|
|
29862
29861
|
}, /*#__PURE__*/React__default.createElement(LoadingBar, {
|
|
@@ -29882,7 +29881,7 @@ const Upload = ({
|
|
|
29882
29881
|
__self: this,
|
|
29883
29882
|
__source: {
|
|
29884
29883
|
fileName: _jsxFileName$9,
|
|
29885
|
-
lineNumber:
|
|
29884
|
+
lineNumber: 783,
|
|
29886
29885
|
columnNumber: 11
|
|
29887
29886
|
}
|
|
29888
29887
|
}), /*#__PURE__*/React__default.createElement(Text, {
|
|
@@ -29890,14 +29889,14 @@ const Upload = ({
|
|
|
29890
29889
|
__self: this,
|
|
29891
29890
|
__source: {
|
|
29892
29891
|
fileName: _jsxFileName$9,
|
|
29893
|
-
lineNumber:
|
|
29892
|
+
lineNumber: 796,
|
|
29894
29893
|
columnNumber: 11
|
|
29895
29894
|
}
|
|
29896
29895
|
}, `${progress <= 100 ? progress : 100}%`), /*#__PURE__*/React__default.createElement(Text, {
|
|
29897
29896
|
__self: this,
|
|
29898
29897
|
__source: {
|
|
29899
29898
|
fileName: _jsxFileName$9,
|
|
29900
|
-
lineNumber:
|
|
29899
|
+
lineNumber: 797,
|
|
29901
29900
|
columnNumber: 11
|
|
29902
29901
|
}
|
|
29903
29902
|
}, t('uploadingLabel', 'Berkas sedang diunggah'))));
|
|
@@ -29909,7 +29908,7 @@ const Upload = ({
|
|
|
29909
29908
|
__self: this,
|
|
29910
29909
|
__source: {
|
|
29911
29910
|
fileName: _jsxFileName$9,
|
|
29912
|
-
lineNumber:
|
|
29911
|
+
lineNumber: 805,
|
|
29913
29912
|
columnNumber: 7
|
|
29914
29913
|
}
|
|
29915
29914
|
}, /*#__PURE__*/React__default.createElement(ContainerUpload, {
|
|
@@ -29925,21 +29924,21 @@ const Upload = ({
|
|
|
29925
29924
|
__self: this,
|
|
29926
29925
|
__source: {
|
|
29927
29926
|
fileName: _jsxFileName$9,
|
|
29928
|
-
lineNumber:
|
|
29927
|
+
lineNumber: 806,
|
|
29929
29928
|
columnNumber: 9
|
|
29930
29929
|
}
|
|
29931
29930
|
}, /*#__PURE__*/React__default.createElement(Children, {
|
|
29932
29931
|
__self: this,
|
|
29933
29932
|
__source: {
|
|
29934
29933
|
fileName: _jsxFileName$9,
|
|
29935
|
-
lineNumber:
|
|
29934
|
+
lineNumber: 817,
|
|
29936
29935
|
columnNumber: 11
|
|
29937
29936
|
}
|
|
29938
29937
|
}, children != null ? children : /*#__PURE__*/React__default.createElement(React__default.Fragment, {
|
|
29939
29938
|
__self: this,
|
|
29940
29939
|
__source: {
|
|
29941
29940
|
fileName: _jsxFileName$9,
|
|
29942
|
-
lineNumber:
|
|
29941
|
+
lineNumber: 819,
|
|
29943
29942
|
columnNumber: 15
|
|
29944
29943
|
}
|
|
29945
29944
|
}, /*#__PURE__*/React__default.createElement(IconCard, {
|
|
@@ -29948,7 +29947,7 @@ const Upload = ({
|
|
|
29948
29947
|
__self: this,
|
|
29949
29948
|
__source: {
|
|
29950
29949
|
fileName: _jsxFileName$9,
|
|
29951
|
-
lineNumber:
|
|
29950
|
+
lineNumber: 820,
|
|
29952
29951
|
columnNumber: 17
|
|
29953
29952
|
}
|
|
29954
29953
|
}, /*#__PURE__*/React__default.createElement(UploadOutline, {
|
|
@@ -29956,7 +29955,7 @@ const Upload = ({
|
|
|
29956
29955
|
__self: this,
|
|
29957
29956
|
__source: {
|
|
29958
29957
|
fileName: _jsxFileName$9,
|
|
29959
|
-
lineNumber:
|
|
29958
|
+
lineNumber: 821,
|
|
29960
29959
|
columnNumber: 19
|
|
29961
29960
|
}
|
|
29962
29961
|
})), /*#__PURE__*/React__default.createElement(Text, {
|
|
@@ -29966,7 +29965,7 @@ const Upload = ({
|
|
|
29966
29965
|
__self: this,
|
|
29967
29966
|
__source: {
|
|
29968
29967
|
fileName: _jsxFileName$9,
|
|
29969
|
-
lineNumber:
|
|
29968
|
+
lineNumber: 823,
|
|
29970
29969
|
columnNumber: 17
|
|
29971
29970
|
}
|
|
29972
29971
|
}, placeholder != null ? placeholder : t('uploadPlaceholder', 'Pilih atau letakkan berkas di sini'))))), error && /*#__PURE__*/React__default.createElement(ErrorMessage, {
|
|
@@ -29976,7 +29975,7 @@ const Upload = ({
|
|
|
29976
29975
|
__self: this,
|
|
29977
29976
|
__source: {
|
|
29978
29977
|
fileName: _jsxFileName$9,
|
|
29979
|
-
lineNumber:
|
|
29978
|
+
lineNumber: 830,
|
|
29980
29979
|
columnNumber: 19
|
|
29981
29980
|
}
|
|
29982
29981
|
}, error));
|
|
@@ -29987,10 +29986,11 @@ const Upload = ({
|
|
|
29987
29986
|
if (!open) setCrop(null);
|
|
29988
29987
|
},
|
|
29989
29988
|
isMobile: isMobile,
|
|
29989
|
+
theme: theme,
|
|
29990
29990
|
__self: this,
|
|
29991
29991
|
__source: {
|
|
29992
29992
|
fileName: _jsxFileName$9,
|
|
29993
|
-
lineNumber:
|
|
29993
|
+
lineNumber: 837,
|
|
29994
29994
|
columnNumber: 7
|
|
29995
29995
|
}
|
|
29996
29996
|
}, /*#__PURE__*/React__default.createElement(ModalDialogTrigger, {
|
|
@@ -29998,7 +29998,7 @@ const Upload = ({
|
|
|
29998
29998
|
__self: this,
|
|
29999
29999
|
__source: {
|
|
30000
30000
|
fileName: _jsxFileName$9,
|
|
30001
|
-
lineNumber:
|
|
30001
|
+
lineNumber: 844,
|
|
30002
30002
|
columnNumber: 9
|
|
30003
30003
|
}
|
|
30004
30004
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -30006,7 +30006,7 @@ const Upload = ({
|
|
|
30006
30006
|
__self: this,
|
|
30007
30007
|
__source: {
|
|
30008
30008
|
fileName: _jsxFileName$9,
|
|
30009
|
-
lineNumber:
|
|
30009
|
+
lineNumber: 845,
|
|
30010
30010
|
columnNumber: 11
|
|
30011
30011
|
}
|
|
30012
30012
|
})), /*#__PURE__*/React__default.createElement(ModalDialogTitle, {
|
|
@@ -30019,7 +30019,7 @@ const Upload = ({
|
|
|
30019
30019
|
__self: this,
|
|
30020
30020
|
__source: {
|
|
30021
30021
|
fileName: _jsxFileName$9,
|
|
30022
|
-
lineNumber:
|
|
30022
|
+
lineNumber: 847,
|
|
30023
30023
|
columnNumber: 9
|
|
30024
30024
|
}
|
|
30025
30025
|
}, cropperTitle || t('cropperTitle', 'Potong Gambar')), /*#__PURE__*/React__default.createElement(ModalDialogContent, {
|
|
@@ -30032,7 +30032,7 @@ const Upload = ({
|
|
|
30032
30032
|
__self: this,
|
|
30033
30033
|
__source: {
|
|
30034
30034
|
fileName: _jsxFileName$9,
|
|
30035
|
-
lineNumber:
|
|
30035
|
+
lineNumber: 850,
|
|
30036
30036
|
columnNumber: 9
|
|
30037
30037
|
}
|
|
30038
30038
|
}, /*#__PURE__*/React__default.createElement(ReactCrop, {
|
|
@@ -30043,7 +30043,7 @@ const Upload = ({
|
|
|
30043
30043
|
__self: this,
|
|
30044
30044
|
__source: {
|
|
30045
30045
|
fileName: _jsxFileName$9,
|
|
30046
|
-
lineNumber:
|
|
30046
|
+
lineNumber: 858,
|
|
30047
30047
|
columnNumber: 11
|
|
30048
30048
|
}
|
|
30049
30049
|
}, /*#__PURE__*/React__default.createElement(Image, {
|
|
@@ -30057,14 +30057,14 @@ const Upload = ({
|
|
|
30057
30057
|
__self: this,
|
|
30058
30058
|
__source: {
|
|
30059
30059
|
fileName: _jsxFileName$9,
|
|
30060
|
-
lineNumber:
|
|
30060
|
+
lineNumber: 859,
|
|
30061
30061
|
columnNumber: 13
|
|
30062
30062
|
}
|
|
30063
30063
|
}))), /*#__PURE__*/React__default.createElement(ModalDialogFooter, {
|
|
30064
30064
|
__self: this,
|
|
30065
30065
|
__source: {
|
|
30066
30066
|
fileName: _jsxFileName$9,
|
|
30067
|
-
lineNumber:
|
|
30067
|
+
lineNumber: 870,
|
|
30068
30068
|
columnNumber: 9
|
|
30069
30069
|
}
|
|
30070
30070
|
}, /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -30076,14 +30076,14 @@ const Upload = ({
|
|
|
30076
30076
|
__self: this,
|
|
30077
30077
|
__source: {
|
|
30078
30078
|
fileName: _jsxFileName$9,
|
|
30079
|
-
lineNumber:
|
|
30079
|
+
lineNumber: 871,
|
|
30080
30080
|
columnNumber: 11
|
|
30081
30081
|
}
|
|
30082
30082
|
}, hiddenToggleAspect ? /*#__PURE__*/React__default.createElement(Box, {
|
|
30083
30083
|
__self: this,
|
|
30084
30084
|
__source: {
|
|
30085
30085
|
fileName: _jsxFileName$9,
|
|
30086
|
-
lineNumber:
|
|
30086
|
+
lineNumber: 873,
|
|
30087
30087
|
columnNumber: 15
|
|
30088
30088
|
}
|
|
30089
30089
|
}) : /*#__PURE__*/React__default.createElement(Tooltip$1, {
|
|
@@ -30091,7 +30091,7 @@ const Upload = ({
|
|
|
30091
30091
|
__self: this,
|
|
30092
30092
|
__source: {
|
|
30093
30093
|
fileName: _jsxFileName$9,
|
|
30094
|
-
lineNumber:
|
|
30094
|
+
lineNumber: 875,
|
|
30095
30095
|
columnNumber: 15
|
|
30096
30096
|
}
|
|
30097
30097
|
}, /*#__PURE__*/React__default.createElement(ImageOutline, {
|
|
@@ -30103,7 +30103,7 @@ const Upload = ({
|
|
|
30103
30103
|
__self: this,
|
|
30104
30104
|
__source: {
|
|
30105
30105
|
fileName: _jsxFileName$9,
|
|
30106
|
-
lineNumber:
|
|
30106
|
+
lineNumber: 876,
|
|
30107
30107
|
columnNumber: 17
|
|
30108
30108
|
}
|
|
30109
30109
|
})), /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -30111,7 +30111,7 @@ const Upload = ({
|
|
|
30111
30111
|
__self: this,
|
|
30112
30112
|
__source: {
|
|
30113
30113
|
fileName: _jsxFileName$9,
|
|
30114
|
-
lineNumber:
|
|
30114
|
+
lineNumber: 883,
|
|
30115
30115
|
columnNumber: 13
|
|
30116
30116
|
}
|
|
30117
30117
|
}, /*#__PURE__*/React__default.createElement(Button$4, {
|
|
@@ -30120,7 +30120,7 @@ const Upload = ({
|
|
|
30120
30120
|
__self: this,
|
|
30121
30121
|
__source: {
|
|
30122
30122
|
fileName: _jsxFileName$9,
|
|
30123
|
-
lineNumber:
|
|
30123
|
+
lineNumber: 884,
|
|
30124
30124
|
columnNumber: 15
|
|
30125
30125
|
}
|
|
30126
30126
|
}, t('label.cancel', 'Batal', {
|
|
@@ -30130,7 +30130,7 @@ const Upload = ({
|
|
|
30130
30130
|
__self: this,
|
|
30131
30131
|
__source: {
|
|
30132
30132
|
fileName: _jsxFileName$9,
|
|
30133
|
-
lineNumber:
|
|
30133
|
+
lineNumber: 887,
|
|
30134
30134
|
columnNumber: 15
|
|
30135
30135
|
}
|
|
30136
30136
|
}, t('save', 'Simpan', {
|
|
@@ -30147,7 +30147,7 @@ const Upload = ({
|
|
|
30147
30147
|
__self: undefined,
|
|
30148
30148
|
__source: {
|
|
30149
30149
|
fileName: _jsxFileName$9,
|
|
30150
|
-
lineNumber:
|
|
30150
|
+
lineNumber: 896,
|
|
30151
30151
|
columnNumber: 5
|
|
30152
30152
|
}
|
|
30153
30153
|
}, !isFile && renderPicture(), isFile && renderFile(), progress || isLoading ? /*#__PURE__*/React__default.createElement(UploadProgress, {
|
|
@@ -30156,7 +30156,7 @@ const Upload = ({
|
|
|
30156
30156
|
__self: undefined,
|
|
30157
30157
|
__source: {
|
|
30158
30158
|
fileName: _jsxFileName$9,
|
|
30159
|
-
lineNumber:
|
|
30159
|
+
lineNumber: 899,
|
|
30160
30160
|
columnNumber: 32
|
|
30161
30161
|
}
|
|
30162
30162
|
}) : renderUpload(), showCropper && renderCropper(), /*#__PURE__*/React__default.createElement(Input$2, {
|
|
@@ -30168,7 +30168,7 @@ const Upload = ({
|
|
|
30168
30168
|
__self: undefined,
|
|
30169
30169
|
__source: {
|
|
30170
30170
|
fileName: _jsxFileName$9,
|
|
30171
|
-
lineNumber:
|
|
30171
|
+
lineNumber: 901,
|
|
30172
30172
|
columnNumber: 7
|
|
30173
30173
|
}
|
|
30174
30174
|
}));
|
|
@@ -30188,159 +30188,159 @@ Upload.defaultProps = {
|
|
|
30188
30188
|
maxWidthOrHeight: 1024
|
|
30189
30189
|
};
|
|
30190
30190
|
Upload.propTypes = {
|
|
30191
|
-
/**
|
|
30192
|
-
Placeholder label of upload.
|
|
30191
|
+
/**
|
|
30192
|
+
Placeholder label of upload.
|
|
30193
30193
|
*/
|
|
30194
30194
|
placeholder: PropTypes.string,
|
|
30195
|
-
/**
|
|
30196
|
-
Disabled state of upload.
|
|
30195
|
+
/**
|
|
30196
|
+
Disabled state of upload.
|
|
30197
30197
|
*/
|
|
30198
30198
|
disabled: PropTypes.bool,
|
|
30199
|
-
/**
|
|
30200
|
-
Built-in stylesheets, support for two types.
|
|
30199
|
+
/**
|
|
30200
|
+
Built-in stylesheets, support for two types.
|
|
30201
30201
|
*/
|
|
30202
30202
|
listType: PropTypes.oneOf(['file', 'picture']),
|
|
30203
|
-
/**
|
|
30204
|
-
Whether to support selected multiple file.
|
|
30203
|
+
/**
|
|
30204
|
+
Whether to support selected multiple file.
|
|
30205
30205
|
*/
|
|
30206
30206
|
multiple: PropTypes.bool,
|
|
30207
|
-
/**
|
|
30208
|
-
List of files to be uploaded.
|
|
30207
|
+
/**
|
|
30208
|
+
List of files to be uploaded.
|
|
30209
30209
|
*/
|
|
30210
30210
|
fileList: PropTypes.array,
|
|
30211
|
-
/**
|
|
30212
|
-
A callback function, can be executed when uploading state is changing.
|
|
30211
|
+
/**
|
|
30212
|
+
A callback function, can be executed when uploading state is changing.
|
|
30213
30213
|
*/
|
|
30214
30214
|
onChange: PropTypes.func,
|
|
30215
|
-
/**
|
|
30216
|
-
A callback function, can be executed when uploading in progress.
|
|
30217
|
-
`(progress) => void`
|
|
30215
|
+
/**
|
|
30216
|
+
A callback function, can be executed when uploading in progress.
|
|
30217
|
+
`(progress) => void`
|
|
30218
30218
|
*/
|
|
30219
30219
|
onProgress: PropTypes.func,
|
|
30220
|
-
/**
|
|
30221
|
-
A callback function, can be executed when uploading is success.
|
|
30222
|
-
`(response) => void`
|
|
30220
|
+
/**
|
|
30221
|
+
A callback function, can be executed when uploading is success.
|
|
30222
|
+
`(response) => void`
|
|
30223
30223
|
*/
|
|
30224
30224
|
onSuccess: PropTypes.func,
|
|
30225
|
-
/**
|
|
30226
|
-
A callback function, can be executed when uploading is error.
|
|
30227
|
-
`(error, response) => void`
|
|
30225
|
+
/**
|
|
30226
|
+
A callback function, can be executed when uploading is error.
|
|
30227
|
+
`(error, response) => void`
|
|
30228
30228
|
*/
|
|
30229
30229
|
onError: PropTypes.func,
|
|
30230
|
-
/**
|
|
30231
|
-
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.
|
|
30232
30232
|
*/
|
|
30233
30233
|
onPreview: PropTypes.func,
|
|
30234
|
-
/**
|
|
30235
|
-
A callback function, can be executed when remove icon is clicked.
|
|
30234
|
+
/**
|
|
30235
|
+
A callback function, can be executed when remove icon is clicked.
|
|
30236
30236
|
*/
|
|
30237
30237
|
onRemove: PropTypes.func,
|
|
30238
|
-
/**
|
|
30239
|
-
A custom element inside upload container.
|
|
30238
|
+
/**
|
|
30239
|
+
A custom element inside upload container.
|
|
30240
30240
|
*/
|
|
30241
30241
|
children: PropTypes.element,
|
|
30242
|
-
/**
|
|
30243
|
-
Limit the number of uploaded files.
|
|
30242
|
+
/**
|
|
30243
|
+
Limit the number of uploaded files.
|
|
30244
30244
|
*/
|
|
30245
30245
|
max: PropTypes.number,
|
|
30246
|
-
/**
|
|
30247
|
-
Limit the maximum image size in MB.
|
|
30246
|
+
/**
|
|
30247
|
+
Limit the maximum image size in MB.
|
|
30248
30248
|
*/
|
|
30249
30249
|
maxSizeMB: PropTypes.number,
|
|
30250
|
-
/**
|
|
30251
|
-
Limit file type of upload.
|
|
30250
|
+
/**
|
|
30251
|
+
Limit file type of upload.
|
|
30252
30252
|
*/
|
|
30253
30253
|
accept: PropTypes.string,
|
|
30254
|
-
/**
|
|
30255
|
-
Custom label for replace button.
|
|
30254
|
+
/**
|
|
30255
|
+
Custom label for replace button.
|
|
30256
30256
|
*/
|
|
30257
30257
|
replaceLabel: PropTypes.string,
|
|
30258
|
-
/**
|
|
30259
|
-
Custom width of upload container.
|
|
30258
|
+
/**
|
|
30259
|
+
Custom width of upload container.
|
|
30260
30260
|
*/
|
|
30261
30261
|
width: PropTypes.number,
|
|
30262
|
-
/**
|
|
30263
|
-
Custom height of upload container.
|
|
30262
|
+
/**
|
|
30263
|
+
Custom height of upload container.
|
|
30264
30264
|
*/
|
|
30265
30265
|
height: PropTypes.number,
|
|
30266
|
-
/**
|
|
30267
|
-
Additional css.
|
|
30266
|
+
/**
|
|
30267
|
+
Additional css.
|
|
30268
30268
|
*/
|
|
30269
30269
|
css: PropTypes.object,
|
|
30270
|
-
/**
|
|
30271
|
-
Custom title header of cropper modal.
|
|
30270
|
+
/**
|
|
30271
|
+
Custom title header of cropper modal.
|
|
30272
30272
|
*/
|
|
30273
30273
|
cropperTitle: PropTypes.string,
|
|
30274
|
-
/**
|
|
30275
|
-
Add image cropper on upload.
|
|
30274
|
+
/**
|
|
30275
|
+
Add image cropper on upload.
|
|
30276
30276
|
*/
|
|
30277
30277
|
showCropper: PropTypes.bool,
|
|
30278
|
-
/**
|
|
30279
|
-
Hidden toggle aspect ratio image cropper.
|
|
30278
|
+
/**
|
|
30279
|
+
Hidden toggle aspect ratio image cropper.
|
|
30280
30280
|
*/
|
|
30281
30281
|
hiddenToggleAspect: PropTypes.bool,
|
|
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.
|
|
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.
|
|
30284
30284
|
*/
|
|
30285
30285
|
ratio: PropTypes.number,
|
|
30286
|
-
/**
|
|
30287
|
-
Can set error message to the upload.
|
|
30286
|
+
/**
|
|
30287
|
+
Can set error message to the upload.
|
|
30288
30288
|
*/
|
|
30289
30289
|
errorMessage: PropTypes.string,
|
|
30290
|
-
/**
|
|
30291
|
-
Progress of upload process.
|
|
30290
|
+
/**
|
|
30291
|
+
Progress of upload process.
|
|
30292
30292
|
*/
|
|
30293
30293
|
progress: PropTypes.number,
|
|
30294
|
-
/**
|
|
30295
|
-
Auto increment progress of upload process.
|
|
30294
|
+
/**
|
|
30295
|
+
Auto increment progress of upload process.
|
|
30296
30296
|
*/
|
|
30297
30297
|
loading: PropTypes.bool,
|
|
30298
|
-
/**
|
|
30299
|
-
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.
|
|
30300
30300
|
*/
|
|
30301
30301
|
action: PropTypes.string,
|
|
30302
|
-
/**
|
|
30303
|
-
Custom body request to upload action.
|
|
30302
|
+
/**
|
|
30303
|
+
Custom body request to upload action.
|
|
30304
30304
|
*/
|
|
30305
30305
|
customBodyRequest: PropTypes.func,
|
|
30306
|
-
/**
|
|
30307
|
-
Contains an authentication token for upload API.
|
|
30306
|
+
/**
|
|
30307
|
+
Contains an authentication token for upload API.
|
|
30308
30308
|
*/
|
|
30309
30309
|
token: PropTypes.string,
|
|
30310
|
-
/**
|
|
30311
|
-
Referencing the headers key to attach the token.
|
|
30310
|
+
/**
|
|
30311
|
+
Referencing the headers key to attach the token.
|
|
30312
30312
|
*/
|
|
30313
30313
|
tokenKey: PropTypes.string,
|
|
30314
|
-
/**
|
|
30315
|
-
Referencing the key to attach the file to be sent.
|
|
30314
|
+
/**
|
|
30315
|
+
Referencing the key to attach the file to be sent.
|
|
30316
30316
|
*/
|
|
30317
30317
|
reqKey: PropTypes.string,
|
|
30318
|
-
/**
|
|
30319
|
-
Referencing the key to get the file from the API response.
|
|
30318
|
+
/**
|
|
30319
|
+
Referencing the key to get the file from the API response.
|
|
30320
30320
|
*/
|
|
30321
30321
|
resKey: PropTypes.string,
|
|
30322
|
-
/**
|
|
30323
|
-
To compression image if file size > 1MB.
|
|
30322
|
+
/**
|
|
30323
|
+
To compression image if file size > 1MB.
|
|
30324
30324
|
*/
|
|
30325
30325
|
imageCompression: PropTypes.bool,
|
|
30326
|
-
/**
|
|
30327
|
-
Callback to handle before crop image.
|
|
30326
|
+
/**
|
|
30327
|
+
Callback to handle before crop image.
|
|
30328
30328
|
*/
|
|
30329
30329
|
onBeforeCrop: PropTypes.func,
|
|
30330
|
-
/**
|
|
30331
|
-
Hidden preview icon in upload.
|
|
30330
|
+
/**
|
|
30331
|
+
Hidden preview icon in upload.
|
|
30332
30332
|
*/
|
|
30333
30333
|
hiddenPreview: PropTypes.bool,
|
|
30334
|
-
/**
|
|
30335
|
-
Auto full aspect ratio cropper.
|
|
30334
|
+
/**
|
|
30335
|
+
Auto full aspect ratio cropper.
|
|
30336
30336
|
*/
|
|
30337
30337
|
fullAspectCrop: PropTypes.bool,
|
|
30338
|
-
/**
|
|
30339
|
-
Set custom ratio as Default view
|
|
30338
|
+
/**
|
|
30339
|
+
Set custom ratio as Default view
|
|
30340
30340
|
*/
|
|
30341
30341
|
isDefaultCustomRatio: PropTypes.bool,
|
|
30342
|
-
/**
|
|
30343
|
-
Set max width or height of image
|
|
30342
|
+
/**
|
|
30343
|
+
Set max width or height of image
|
|
30344
30344
|
*/
|
|
30345
30345
|
maxWidthOrHeight: PropTypes.number
|
|
30346
30346
|
};
|
|
@@ -31016,7 +31016,7 @@ const Device = props => {
|
|
|
31016
31016
|
};
|
|
31017
31017
|
Device.displayName = 'DevicePreview';
|
|
31018
31018
|
|
|
31019
|
-
var _jsxFileName$8 = "
|
|
31019
|
+
var _jsxFileName$8 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/InputColorPicker.js";
|
|
31020
31020
|
const Separator$1 = styled('div', {
|
|
31021
31021
|
height: 20,
|
|
31022
31022
|
width: 1,
|
|
@@ -31126,44 +31126,44 @@ function InputColorPicker(props) {
|
|
|
31126
31126
|
}
|
|
31127
31127
|
InputColorPicker.displayName = 'InputColorPicker';
|
|
31128
31128
|
InputColorPicker.propTypes = {
|
|
31129
|
-
/**
|
|
31130
|
-
Specify change InputColorPicker size.
|
|
31129
|
+
/**
|
|
31130
|
+
Specify change InputColorPicker size.
|
|
31131
31131
|
*/
|
|
31132
31132
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
31133
|
-
/**
|
|
31134
|
-
Color code to be displayed.
|
|
31133
|
+
/**
|
|
31134
|
+
Color code to be displayed.
|
|
31135
31135
|
*/
|
|
31136
31136
|
color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
31137
|
-
/**
|
|
31138
|
-
Additional color list.
|
|
31137
|
+
/**
|
|
31138
|
+
Additional color list.
|
|
31139
31139
|
*/
|
|
31140
31140
|
presetColors: PropTypes.array,
|
|
31141
|
-
/**
|
|
31142
|
-
Change event handler.
|
|
31141
|
+
/**
|
|
31142
|
+
Change event handler.
|
|
31143
31143
|
*/
|
|
31144
31144
|
onChange: PropTypes.func,
|
|
31145
|
-
/**
|
|
31146
|
-
Add preset color event handler.
|
|
31145
|
+
/**
|
|
31146
|
+
Add preset color event handler.
|
|
31147
31147
|
*/
|
|
31148
31148
|
onAddColor: PropTypes.func,
|
|
31149
|
-
/**
|
|
31150
|
-
Disable opacity selector.
|
|
31149
|
+
/**
|
|
31150
|
+
Disable opacity selector.
|
|
31151
31151
|
*/
|
|
31152
31152
|
disableAlpha: PropTypes.bool,
|
|
31153
|
-
/**
|
|
31154
|
-
Input placement.
|
|
31153
|
+
/**
|
|
31154
|
+
Input placement.
|
|
31155
31155
|
*/
|
|
31156
31156
|
placement: PropTypes.string,
|
|
31157
|
-
/**
|
|
31158
|
-
Define is mobile layout or not.
|
|
31157
|
+
/**
|
|
31158
|
+
Define is mobile layout or not.
|
|
31159
31159
|
*/
|
|
31160
31160
|
isMobile: PropTypes.bool,
|
|
31161
|
-
/**
|
|
31162
|
-
Define popover custom styling.
|
|
31161
|
+
/**
|
|
31162
|
+
Define popover custom styling.
|
|
31163
31163
|
*/
|
|
31164
31164
|
popoverCss: PropTypes.shape({}),
|
|
31165
|
-
/**
|
|
31166
|
-
Disabled state.
|
|
31165
|
+
/**
|
|
31166
|
+
Disabled state.
|
|
31167
31167
|
*/
|
|
31168
31168
|
disabled: PropTypes.bool
|
|
31169
31169
|
};
|
|
@@ -31177,7 +31177,7 @@ InputColorPicker.defaultProps = {
|
|
|
31177
31177
|
|
|
31178
31178
|
var img$d = "data:image/gif;base64,R0lGODlh6gDHAOZ/AJkAAADM/zMzAAAzAP9QUAAzZoAAAGYzAGYAM/9mZmYAzGZmMzMzmQBmZv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wamanK7RKZudtuH/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";
|
|
31179
31179
|
|
|
31180
|
-
var _jsxFileName$7 = "
|
|
31180
|
+
var _jsxFileName$7 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorMap.js";
|
|
31181
31181
|
const Container$7 = styled('div', {
|
|
31182
31182
|
userSelect: 'none',
|
|
31183
31183
|
margin: 'auto',
|
|
@@ -33138,7 +33138,7 @@ function ColorMap({
|
|
|
33138
33138
|
})));
|
|
33139
33139
|
}
|
|
33140
33140
|
|
|
33141
|
-
var _jsxFileName$6 = "
|
|
33141
|
+
var _jsxFileName$6 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorFields.js";
|
|
33142
33142
|
const CheckBoard = styled(Flex$1, {
|
|
33143
33143
|
background: '$bgwhite',
|
|
33144
33144
|
border: '1px solid #E5E7EB',
|
|
@@ -33339,7 +33339,7 @@ function ColorFields({
|
|
|
33339
33339
|
}, "%")));
|
|
33340
33340
|
}
|
|
33341
33341
|
|
|
33342
|
-
var _jsxFileName$5 = "
|
|
33342
|
+
var _jsxFileName$5 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/ColorPicker.js";
|
|
33343
33343
|
const Container$6 = styled(Flex$1, {
|
|
33344
33344
|
background: '$white',
|
|
33345
33345
|
padding: 16,
|
|
@@ -33830,24 +33830,24 @@ function ColorPicker({
|
|
|
33830
33830
|
})))))));
|
|
33831
33831
|
}
|
|
33832
33832
|
ColorPicker.propTypes = {
|
|
33833
|
-
/**
|
|
33834
|
-
Color code to be displayed.
|
|
33833
|
+
/**
|
|
33834
|
+
Color code to be displayed.
|
|
33835
33835
|
*/
|
|
33836
33836
|
color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
33837
|
-
/**
|
|
33838
|
-
Additional color list
|
|
33837
|
+
/**
|
|
33838
|
+
Additional color list
|
|
33839
33839
|
*/
|
|
33840
33840
|
presetColors: PropTypes.array,
|
|
33841
|
-
/**
|
|
33842
|
-
Change event handler
|
|
33841
|
+
/**
|
|
33842
|
+
Change event handler
|
|
33843
33843
|
*/
|
|
33844
33844
|
onChange: PropTypes.func,
|
|
33845
|
-
/**
|
|
33846
|
-
Add preset color event handler
|
|
33845
|
+
/**
|
|
33846
|
+
Add preset color event handler
|
|
33847
33847
|
*/
|
|
33848
33848
|
onAddColor: PropTypes.func,
|
|
33849
|
-
/**
|
|
33850
|
-
Disable opacity selector
|
|
33849
|
+
/**
|
|
33850
|
+
Disable opacity selector
|
|
33851
33851
|
*/
|
|
33852
33852
|
disableAlpha: PropTypes.bool
|
|
33853
33853
|
};
|
|
@@ -33856,7 +33856,7 @@ ColorPicker.defaultProps = {
|
|
|
33856
33856
|
};
|
|
33857
33857
|
var ColorPicker$1 = ColorWrap(ColorPicker);
|
|
33858
33858
|
|
|
33859
|
-
var _jsxFileName$4 = "
|
|
33859
|
+
var _jsxFileName$4 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/stepWizard/StepWizard.js";
|
|
33860
33860
|
const StepWizardContext = /*#__PURE__*/React__default.createContext({});
|
|
33861
33861
|
const Stepper = StepWizard$1;
|
|
33862
33862
|
Stepper.displayName = 'Stepper';
|
|
@@ -34579,7 +34579,7 @@ StepWizard.defaultProps = {
|
|
|
34579
34579
|
isLazyMount: true
|
|
34580
34580
|
};
|
|
34581
34581
|
|
|
34582
|
-
var _jsxFileName$3 = "
|
|
34582
|
+
var _jsxFileName$3 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/transition.js";
|
|
34583
34583
|
function Collapse({
|
|
34584
34584
|
children,
|
|
34585
34585
|
isOpen
|
|
@@ -34622,7 +34622,7 @@ Collapse.defaultProps = {
|
|
|
34622
34622
|
isOpen: false
|
|
34623
34623
|
};
|
|
34624
34624
|
|
|
34625
|
-
var _jsxFileName$2 = "
|
|
34625
|
+
var _jsxFileName$2 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/TableOfContent.js";
|
|
34626
34626
|
const DesktopContainer = styled(Flex$1, {
|
|
34627
34627
|
display: 'none',
|
|
34628
34628
|
'& .active-scroll-spy': {
|
|
@@ -34983,7 +34983,7 @@ TableOfContentPage.defaultProps = {
|
|
|
34983
34983
|
useBoxMethod: true
|
|
34984
34984
|
};
|
|
34985
34985
|
|
|
34986
|
-
var _jsxFileName$1 = "
|
|
34986
|
+
var _jsxFileName$1 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/editableTable/transition.js";
|
|
34987
34987
|
function Collapalse({
|
|
34988
34988
|
children,
|
|
34989
34989
|
isOpen
|
|
@@ -56497,7 +56497,7 @@ PieChartComponent.defaultProps = {
|
|
|
56497
56497
|
innerRadius: 70
|
|
56498
56498
|
};
|
|
56499
56499
|
|
|
56500
|
-
var _jsxFileName = "
|
|
56500
|
+
var _jsxFileName = "/home/alfiantryp/Project/majoo-ui/packages/react/src/colors/Colors.js";
|
|
56501
56501
|
const StyledPaper = styled(Paper, {
|
|
56502
56502
|
borderRadius: '10px 10px 0 0',
|
|
56503
56503
|
padding: 15,
|