@majoo-ui/react 1.61.14 → 1.61.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/devicePreview/DevicePreview.d.ts +3 -1
- package/index.esm.js +184 -183
- package/package.json +1 -1
|
@@ -134,7 +134,9 @@ export declare const ImageDevicePreview: import("@stitches/react/types/styled-co
|
|
|
134
134
|
}) => {
|
|
135
135
|
marginTop: {
|
|
136
136
|
readonly [Stitches.$$ScaleValue]: "space";
|
|
137
|
-
};
|
|
137
|
+
}; /**
|
|
138
|
+
* alt prop when url image not found or invalid
|
|
139
|
+
*/
|
|
138
140
|
marginBottom: {
|
|
139
141
|
readonly [Stitches.$$ScaleValue]: "space";
|
|
140
142
|
};
|
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 = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/majoo-provider/ThemeProvider.js";
|
|
61
61
|
function ThemeProvider({
|
|
62
62
|
name,
|
|
63
63
|
theme,
|
|
@@ -1414,7 +1414,7 @@ const applyGlobalStyles = additionaStyles => {
|
|
|
1414
1414
|
globalStyles();
|
|
1415
1415
|
};
|
|
1416
1416
|
|
|
1417
|
-
var _jsxFileName$12 = "
|
|
1417
|
+
var _jsxFileName$12 = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/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$$ = "/Users/hangga/sourcecode/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$_ = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/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 */
|
|
@@ -8409,7 +8409,7 @@ InputSuffix.propTypes = {
|
|
|
8409
8409
|
};
|
|
8410
8410
|
|
|
8411
8411
|
const _excluded$m = ["disabled", "readOnly"];
|
|
8412
|
-
var _jsxFileName$K = "
|
|
8412
|
+
var _jsxFileName$K = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/form/components/InputText/InputText.js";
|
|
8413
8413
|
const disabledStyle = {
|
|
8414
8414
|
backgroundColor: '$formDisable',
|
|
8415
8415
|
color: '$textDisable',
|
|
@@ -8611,7 +8611,7 @@ InputText.propTypes = {
|
|
|
8611
8611
|
InputText.displayName = 'InputText';
|
|
8612
8612
|
|
|
8613
8613
|
const _excluded$l = ["disabled", "readOnly"];
|
|
8614
|
-
var _jsxFileName$J = "
|
|
8614
|
+
var _jsxFileName$J = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/form/components/InputTextArea/InputTextArea.js";
|
|
8615
8615
|
const StyledTextArea = styled(StyledInput$1, {
|
|
8616
8616
|
variants: {
|
|
8617
8617
|
size: {
|
|
@@ -8689,7 +8689,7 @@ InputTextArea.defaultProps = {
|
|
|
8689
8689
|
|
|
8690
8690
|
const InputRadioContext = /*#__PURE__*/React__default.createContext();
|
|
8691
8691
|
|
|
8692
|
-
var _jsxFileName$I = "
|
|
8692
|
+
var _jsxFileName$I = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadioGroup.js";
|
|
8693
8693
|
const RadioGroup = styled(RadioGroupPrimitive.Root, Flex$1);
|
|
8694
8694
|
function InputRadioGroup(props) {
|
|
8695
8695
|
return (props == null ? void 0 : props.children) && /*#__PURE__*/React__default.createElement(InputRadioContext.Provider, {
|
|
@@ -8723,7 +8723,7 @@ InputRadioGroup.propTypes = {
|
|
|
8723
8723
|
InputRadioGroup.displayName = 'InputRadioGroup';
|
|
8724
8724
|
|
|
8725
8725
|
const _excluded$k = ["id", "disabled", "css", "inputType", "inputProps", "description", "readOnly"];
|
|
8726
|
-
var _jsxFileName$H = "
|
|
8726
|
+
var _jsxFileName$H = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadio.js";
|
|
8727
8727
|
const INDICATOR_BASE_STYLES = {
|
|
8728
8728
|
alignItems: 'center',
|
|
8729
8729
|
display: 'flex',
|
|
@@ -11090,7 +11090,7 @@ var NumberFormat = /*@__PURE__*/function (superclass) {
|
|
|
11090
11090
|
NumberFormat.defaultProps = defaultProps;
|
|
11091
11091
|
|
|
11092
11092
|
const _excluded$j = ["placeholder", "value", "size", "isInvalid", "readOnly", "disabled", "control", "name", "maxValueLength", "maxLength", "thousandSeparator"];
|
|
11093
|
-
var _jsxFileName$G = "
|
|
11093
|
+
var _jsxFileName$G = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/form/components/InputNumber/InputNumber.js";
|
|
11094
11094
|
const StyledInput = styled(NumberFormat, {
|
|
11095
11095
|
// Reset
|
|
11096
11096
|
appearance: 'none',
|
|
@@ -11351,7 +11351,7 @@ InputNumber.name = 'InputText';
|
|
|
11351
11351
|
InputNumber.displayName = 'InputNumber';
|
|
11352
11352
|
|
|
11353
11353
|
const _excluded$i = ["className", "children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"];
|
|
11354
|
-
var _jsxFileName$F = "
|
|
11354
|
+
var _jsxFileName$F = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/tag/Tag.js";
|
|
11355
11355
|
const TagWrapper$4 = styled('div', {
|
|
11356
11356
|
boxSizing: 'border-box',
|
|
11357
11357
|
listStyle: 'none',
|
|
@@ -11527,7 +11527,7 @@ Tag.defaultProps = {
|
|
|
11527
11527
|
};
|
|
11528
11528
|
|
|
11529
11529
|
const _excluded$h = ["size", "isInvalid", "placeholder", "onChange", "onEnter", "onInputChange", "value", "disabled", "readOnly", "max", "maxChar", "pattern", "helperText", "unremovableTags", "onRemoveItem"];
|
|
11530
|
-
var _jsxFileName$E = "
|
|
11530
|
+
var _jsxFileName$E = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/form/components/InputTags/InputTags.js";
|
|
11531
11531
|
const Wrapper$2 = styled('div', {
|
|
11532
11532
|
margin: 0,
|
|
11533
11533
|
flexDirection: 'column',
|
|
@@ -11824,7 +11824,7 @@ TagsInput.defaultProps = {
|
|
|
11824
11824
|
};
|
|
11825
11825
|
|
|
11826
11826
|
const _excluded$g = ["id", "defaultChecked", "dataOnLabel", "dataOffLabel", "disabled"];
|
|
11827
|
-
var _jsxFileName$D = "
|
|
11827
|
+
var _jsxFileName$D = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/form/components/InputSwitch/InputSwitch.js";
|
|
11828
11828
|
const StyledThumb$1 = styled(SwitchPrimitive.Thumb, {
|
|
11829
11829
|
display: 'block',
|
|
11830
11830
|
width: '16px',
|
|
@@ -11929,7 +11929,7 @@ InputSwitch.propTypes = {
|
|
|
11929
11929
|
};
|
|
11930
11930
|
InputSwitch.displayName = 'InputSwitch';
|
|
11931
11931
|
|
|
11932
|
-
var _jsxFileName$C = "
|
|
11932
|
+
var _jsxFileName$C = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/form/components/InputSearchbox/CloseFilled.js";
|
|
11933
11933
|
const SvgCloseFilled = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
11934
11934
|
width: props.size,
|
|
11935
11935
|
height: props.size,
|
|
@@ -11988,7 +11988,7 @@ SvgCloseFilled.defaultProps = {
|
|
|
11988
11988
|
size: 24
|
|
11989
11989
|
};
|
|
11990
11990
|
|
|
11991
|
-
var _jsxFileName$B = "
|
|
11991
|
+
var _jsxFileName$B = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/form/components/InputSearchbox/SearchOutline.js";
|
|
11992
11992
|
const SvgSearchOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
11993
11993
|
width: props.size,
|
|
11994
11994
|
height: props.size,
|
|
@@ -12029,7 +12029,7 @@ SvgSearchOutline.defaultProps = {
|
|
|
12029
12029
|
};
|
|
12030
12030
|
|
|
12031
12031
|
const _excluded$f = ["size", "onChange", "css", "disabled", "withDebounce", "defaultValue", "mobileOnly", "desktopOnly"];
|
|
12032
|
-
var _jsxFileName$A = "
|
|
12032
|
+
var _jsxFileName$A = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/form/components/InputSearchbox/InputSearchbox.js";
|
|
12033
12033
|
const {
|
|
12034
12034
|
colors: colors$7
|
|
12035
12035
|
} = foundations;
|
|
@@ -12519,7 +12519,7 @@ function isFunction$1(value) {
|
|
|
12519
12519
|
var isFunction_1 = isFunction$1;
|
|
12520
12520
|
|
|
12521
12521
|
const _excluded$e = ["children"];
|
|
12522
|
-
var _jsxFileName$z = "
|
|
12522
|
+
var _jsxFileName$z = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/popover/Popover.js";
|
|
12523
12523
|
const {
|
|
12524
12524
|
zIndices: zIndices$1
|
|
12525
12525
|
} = foundations;
|
|
@@ -14093,7 +14093,7 @@ const InputSelect = /*#__PURE__*/React.forwardRef((_a, ref) => {
|
|
|
14093
14093
|
}), void 0);
|
|
14094
14094
|
});
|
|
14095
14095
|
|
|
14096
|
-
var _jsxFileName$y = "
|
|
14096
|
+
var _jsxFileName$y = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/icon/CheckOutline.js";
|
|
14097
14097
|
const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
14098
14098
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14099
14099
|
xmlSpace: "preserve",
|
|
@@ -14174,7 +14174,7 @@ function OptionGroupItem({
|
|
|
14174
14174
|
}
|
|
14175
14175
|
|
|
14176
14176
|
const _excluded$d = ["placeholder", "option", "value", "defaultValue", "size", "disabled", "onChange", "search", "readOnly", "placement", "disabledOptions", "textEmptyItem", "onRemoveItem", "isInvalid", "sortBy", "showSelectAll", "showTagSelectAll", "selectAllLabel", "showSelectedTag", "unremovableTags", "helperText", "css", "showCounter", "labelCounter", "collapsible", "toggleInput", "fetchData", "onSearch", "isLoading", "maxSelectedItem", "mobileOnly", "desktopOnly", "label", "tagCss", "checkBoxCss", "optionListCss", "showCollapsibleCounter", "collapsibleLimit", "pageIndex", "onSelectAllChecked", "totalOptions", "clearSearchOnSelect", "onItemClick"];
|
|
14177
|
-
var _jsxFileName$x = "
|
|
14177
|
+
var _jsxFileName$x = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/InputSelectCheck.js";
|
|
14178
14178
|
const Wrapper$1 = styled('div', {
|
|
14179
14179
|
margin: 0,
|
|
14180
14180
|
flexDirection: 'column',
|
|
@@ -15498,7 +15498,7 @@ InputSelectCheck.defaultProps = {
|
|
|
15498
15498
|
onItemClick: changes => {}
|
|
15499
15499
|
};
|
|
15500
15500
|
|
|
15501
|
-
var _jsxFileName$w = "
|
|
15501
|
+
var _jsxFileName$w = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/form/components/InputSelectTag/InputSelectTag.js";
|
|
15502
15502
|
const InputSelectTag = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
15503
15503
|
return /*#__PURE__*/React.createElement(InputSelectCheck, _extends({
|
|
15504
15504
|
ref: ref,
|
|
@@ -15559,7 +15559,7 @@ InputSelectTag.defaultProps = {
|
|
|
15559
15559
|
defaultValue: []
|
|
15560
15560
|
};
|
|
15561
15561
|
|
|
15562
|
-
var _jsxFileName$v = "
|
|
15562
|
+
var _jsxFileName$v = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/form/components/InputCreatable/InputCreatable.js";
|
|
15563
15563
|
const Wrapper = styled('div', {
|
|
15564
15564
|
margin: 0,
|
|
15565
15565
|
flexDirection: 'column',
|
|
@@ -16730,7 +16730,7 @@ InputCounter.defaultProps = {
|
|
|
16730
16730
|
|
|
16731
16731
|
const _excluded$c = ["children"],
|
|
16732
16732
|
_excluded2$3 = ["children", "showOverlay"];
|
|
16733
|
-
var _jsxFileName$u = "
|
|
16733
|
+
var _jsxFileName$u = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/drawer/Drawer.js";
|
|
16734
16734
|
const Context$1 = /*#__PURE__*/React__default.createContext();
|
|
16735
16735
|
const {
|
|
16736
16736
|
sizes
|
|
@@ -17080,7 +17080,7 @@ DrawerCloseButton.displayName = 'DrawerCloseButton';
|
|
|
17080
17080
|
|
|
17081
17081
|
const _excluded$b = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size", "withMaxWidth", "mobileOnly", "desktopOnly"],
|
|
17082
17082
|
_excluded2$2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
|
|
17083
|
-
var _jsxFileName$t = "
|
|
17083
|
+
var _jsxFileName$t = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/buttonGroup/ButtonGroup.js";
|
|
17084
17084
|
const ScrollButton$1 = styled(Button$4, {
|
|
17085
17085
|
width: '28px',
|
|
17086
17086
|
outline: '$btnPrimary solid 1px',
|
|
@@ -17609,7 +17609,7 @@ const DateNumber = styled('div', {
|
|
|
17609
17609
|
});
|
|
17610
17610
|
DateNumber.displayName = 'DateNumber';
|
|
17611
17611
|
|
|
17612
|
-
var _jsxFileName$s = "
|
|
17612
|
+
var _jsxFileName$s = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/datePicker/timePicker/TimePicker.js";
|
|
17613
17613
|
const Input$3 = styled('input', {
|
|
17614
17614
|
display: 'none'
|
|
17615
17615
|
});
|
|
@@ -18165,7 +18165,7 @@ TimePicker.propTypes = {
|
|
|
18165
18165
|
};
|
|
18166
18166
|
NativeTimePicker.displayName = 'NativeTimePicker';
|
|
18167
18167
|
|
|
18168
|
-
var _jsxFileName$r = "
|
|
18168
|
+
var _jsxFileName$r = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/datePicker/timePicker/InputTimePicker.js";
|
|
18169
18169
|
const getInputPickerValue$1 = date => {
|
|
18170
18170
|
if (!date) return;
|
|
18171
18171
|
return moment(date).format('HH:mm');
|
|
@@ -21020,7 +21020,7 @@ function InputSignature({
|
|
|
21020
21020
|
}
|
|
21021
21021
|
|
|
21022
21022
|
const _excluded$a = ["className", "defaultValue", "value", "name", "disabled", "orientation", "dir", "min", "max", "step", "onValueChange", "minStepsBetweenThumbs", "color", "size", "width", "height"];
|
|
21023
|
-
var _jsxFileName$q = "
|
|
21023
|
+
var _jsxFileName$q = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/slider/Slider.js";
|
|
21024
21024
|
const StyledSlider = styled$1(SliderPrimitive.Root, {
|
|
21025
21025
|
position: 'relative',
|
|
21026
21026
|
display: 'flex',
|
|
@@ -21364,7 +21364,7 @@ Slider.defaultProps = {
|
|
|
21364
21364
|
};
|
|
21365
21365
|
|
|
21366
21366
|
const _excluded$9 = ["className", "children", "onClick", "type", "size"];
|
|
21367
|
-
var _jsxFileName$p = "
|
|
21367
|
+
var _jsxFileName$p = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/tagStatus/TagStatus.js";
|
|
21368
21368
|
const TagWrapper$1 = styled('div', {
|
|
21369
21369
|
boxSizing: 'border-box',
|
|
21370
21370
|
fontSize: '12px',
|
|
@@ -21527,7 +21527,7 @@ const _excluded$8 = ["children"],
|
|
|
21527
21527
|
_excluded2$1 = ["children", "activeTabs"],
|
|
21528
21528
|
_excluded3$1 = ["children", "icon", "activeTabs", "value"],
|
|
21529
21529
|
_excluded4 = ["activeTabs"];
|
|
21530
|
-
var _jsxFileName$o = "
|
|
21530
|
+
var _jsxFileName$o = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/tabs/Tabs.js";
|
|
21531
21531
|
const StyledTabs = styled(TabsPrimitive.Root, {
|
|
21532
21532
|
display: 'flex',
|
|
21533
21533
|
flexDirection: 'column',
|
|
@@ -21866,7 +21866,7 @@ TabsContent$1.propTypes = {
|
|
|
21866
21866
|
};
|
|
21867
21867
|
|
|
21868
21868
|
const _excluded$7 = ["children", "variantIcon"];
|
|
21869
|
-
var _jsxFileName$n = "
|
|
21869
|
+
var _jsxFileName$n = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/notificationBadge/NotificationBadge.js";
|
|
21870
21870
|
const NotificationBadgeRootStyle = styled('span', {
|
|
21871
21871
|
position: 'relative',
|
|
21872
21872
|
display: 'inline-flex',
|
|
@@ -22021,7 +22021,7 @@ NotificationBadge.propTypes = {
|
|
|
22021
22021
|
};
|
|
22022
22022
|
|
|
22023
22023
|
const _excluded$6 = ["className", "children", "radius", "padding", "width", "height"];
|
|
22024
|
-
var _jsxFileName$m = "
|
|
22024
|
+
var _jsxFileName$m = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/paper/Paper.js";
|
|
22025
22025
|
const PaperComponent = styled('div', {
|
|
22026
22026
|
padding: '20px',
|
|
22027
22027
|
height: 'auto',
|
|
@@ -22274,7 +22274,7 @@ const removeUndefinedFields = obj => {
|
|
|
22274
22274
|
};
|
|
22275
22275
|
|
|
22276
22276
|
const _excluded$5 = ["isActive", "onClick"];
|
|
22277
|
-
var _jsxFileName$l = "
|
|
22277
|
+
var _jsxFileName$l = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/pagination/PaginationButton.js";
|
|
22278
22278
|
const PrevNextButton = styled(Text$1, {
|
|
22279
22279
|
padding: '$spacing-01',
|
|
22280
22280
|
cursor: 'pointer',
|
|
@@ -22768,7 +22768,7 @@ const PaginationButton = ({
|
|
|
22768
22768
|
};
|
|
22769
22769
|
|
|
22770
22770
|
const _excluded$4 = ["limits", "selectedLimit", "currentPage", "totalData", "onChange"];
|
|
22771
|
-
var _jsxFileName$k = "
|
|
22771
|
+
var _jsxFileName$k = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/pagination/PaginationInfo.js";
|
|
22772
22772
|
const LimitContainer = styled(Flex$1, {
|
|
22773
22773
|
cursor: 'pointer'
|
|
22774
22774
|
});
|
|
@@ -23003,7 +23003,7 @@ function PaginationInfo(_ref) {
|
|
|
23003
23003
|
}
|
|
23004
23004
|
|
|
23005
23005
|
const _excluded$3 = ["limit", "currentPage", "totalData", "totalPage", "hideDataInfo", "onLimitChange", "onPageChange", "rowsPerPageOptions", "hidePagination", "hideInputPageSection"];
|
|
23006
|
-
var _jsxFileName$j = "
|
|
23006
|
+
var _jsxFileName$j = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/pagination/Pagination.js";
|
|
23007
23007
|
function Pagination(_ref) {
|
|
23008
23008
|
let {
|
|
23009
23009
|
limit,
|
|
@@ -23877,7 +23877,7 @@ const ScrollSyncNode = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
23877
23877
|
});
|
|
23878
23878
|
ScrollSyncNode.displayName = 'ScrollSyncNode';
|
|
23879
23879
|
|
|
23880
|
-
var _jsxFileName$i = "
|
|
23880
|
+
var _jsxFileName$i = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/table/components/columns/RowDraggableColumn.js";
|
|
23881
23881
|
const DragHandle = SortableHandle(() => /*#__PURE__*/React__default.createElement(IconButton, {
|
|
23882
23882
|
icon: true,
|
|
23883
23883
|
size: "xs",
|
|
@@ -24610,8 +24610,9 @@ function Table({
|
|
|
24610
24610
|
totalPage: totalPage,
|
|
24611
24611
|
onLimitChange: selectedItem => {
|
|
24612
24612
|
if (selectedItem) {
|
|
24613
|
-
|
|
24614
|
-
|
|
24613
|
+
// always reset page when limit changed
|
|
24614
|
+
gotoPage(0);
|
|
24615
|
+
doFetchData(0, selectedItem);
|
|
24615
24616
|
setPageSize(selectedItem);
|
|
24616
24617
|
setLimit(selectedItem);
|
|
24617
24618
|
}
|
|
@@ -25372,7 +25373,7 @@ const TableColumn = _a => {
|
|
|
25372
25373
|
return jsx("div", {}, void 0);
|
|
25373
25374
|
};
|
|
25374
25375
|
|
|
25375
|
-
var _jsxFileName$h = "
|
|
25376
|
+
var _jsxFileName$h = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/table/components/columns/DateColumn.js";
|
|
25376
25377
|
const DateColumn = ({
|
|
25377
25378
|
value,
|
|
25378
25379
|
customFormat
|
|
@@ -25484,7 +25485,7 @@ const PriceColumn = props => {
|
|
|
25484
25485
|
return addThousandSeparator(param);
|
|
25485
25486
|
};
|
|
25486
25487
|
|
|
25487
|
-
var _jsxFileName$g = "
|
|
25488
|
+
var _jsxFileName$g = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderColumn.js";
|
|
25488
25489
|
const rowExpanderColumn = {
|
|
25489
25490
|
id: 'expander',
|
|
25490
25491
|
Header: () => null,
|
|
@@ -25527,7 +25528,7 @@ const rowExpanderColumn = {
|
|
|
25527
25528
|
unsortable: true
|
|
25528
25529
|
};
|
|
25529
25530
|
|
|
25530
|
-
var _jsxFileName$f = "
|
|
25531
|
+
var _jsxFileName$f = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderMultipleColumn.js";
|
|
25531
25532
|
const rowExpanderMultipleColumn = {
|
|
25532
25533
|
id: 'multiple-expander',
|
|
25533
25534
|
Header: () => null,
|
|
@@ -25563,7 +25564,7 @@ const rowExpanderMultipleColumn = {
|
|
|
25563
25564
|
unsortable: true
|
|
25564
25565
|
};
|
|
25565
25566
|
|
|
25566
|
-
var _jsxFileName$e = "
|
|
25567
|
+
var _jsxFileName$e = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/table/components/columns/RowMenuColumn.js";
|
|
25567
25568
|
const rowMenuColumn = (options, icon, config) => ({
|
|
25568
25569
|
id: 'menu',
|
|
25569
25570
|
options,
|
|
@@ -25700,7 +25701,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
25700
25701
|
unsortable: true
|
|
25701
25702
|
});
|
|
25702
25703
|
|
|
25703
|
-
var _jsxFileName$d = "
|
|
25704
|
+
var _jsxFileName$d = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionColumn.js";
|
|
25704
25705
|
const rowSelectionColumn = {
|
|
25705
25706
|
id: 'selection',
|
|
25706
25707
|
Header: ({
|
|
@@ -25749,7 +25750,7 @@ const rowSelectionColumn = {
|
|
|
25749
25750
|
unsortable: true
|
|
25750
25751
|
};
|
|
25751
25752
|
|
|
25752
|
-
var _jsxFileName$c = "
|
|
25753
|
+
var _jsxFileName$c = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionCallbackColumn.js";
|
|
25753
25754
|
const rowSelectionWithCallbackColumn = (onCheckedChange, onAllCheckedChange) => ({
|
|
25754
25755
|
id: 'selection',
|
|
25755
25756
|
Header: ({
|
|
@@ -26087,7 +26088,7 @@ PageDialog.defaultProps = {
|
|
|
26087
26088
|
};
|
|
26088
26089
|
|
|
26089
26090
|
const _excluded$2 = ["children"];
|
|
26090
|
-
var _jsxFileName$b = "
|
|
26091
|
+
var _jsxFileName$b = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/alertDialog/AlertDialog.js";
|
|
26091
26092
|
const overlayShow = keyframes({
|
|
26092
26093
|
'0%': {
|
|
26093
26094
|
opacity: 0
|
|
@@ -26722,7 +26723,7 @@ const AlertDialogConfirm = ADialog.Action;
|
|
|
26722
26723
|
const _excluded$1 = ["side", "align", "children"],
|
|
26723
26724
|
_excluded2 = ["children"],
|
|
26724
26725
|
_excluded3 = ["asChild"];
|
|
26725
|
-
var _jsxFileName$a = "
|
|
26726
|
+
var _jsxFileName$a = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/dropdownMenu/DropdownMenu.js";
|
|
26726
26727
|
const Context = /*#__PURE__*/React__default.createContext();
|
|
26727
26728
|
const slideUpAndFade = keyframes({
|
|
26728
26729
|
'0%': {
|
|
@@ -29002,7 +29003,7 @@ function imgPreview(image, crop, scale = 1, rotate = 0, ratio, type) {
|
|
|
29002
29003
|
}
|
|
29003
29004
|
|
|
29004
29005
|
const _excluded = ["customPreviewIcon"];
|
|
29005
|
-
var _jsxFileName$9 = "
|
|
29006
|
+
var _jsxFileName$9 = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/upload/Upload.js";
|
|
29006
29007
|
const Input$2 = styled('input', {
|
|
29007
29008
|
display: 'none !important'
|
|
29008
29009
|
});
|
|
@@ -30208,159 +30209,159 @@ Upload.defaultProps = {
|
|
|
30208
30209
|
maxWidthOrHeight: 1024
|
|
30209
30210
|
};
|
|
30210
30211
|
Upload.propTypes = {
|
|
30211
|
-
/**
|
|
30212
|
-
Placeholder label of upload.
|
|
30212
|
+
/**
|
|
30213
|
+
Placeholder label of upload.
|
|
30213
30214
|
*/
|
|
30214
30215
|
placeholder: PropTypes.string,
|
|
30215
|
-
/**
|
|
30216
|
-
Disabled state of upload.
|
|
30216
|
+
/**
|
|
30217
|
+
Disabled state of upload.
|
|
30217
30218
|
*/
|
|
30218
30219
|
disabled: PropTypes.bool,
|
|
30219
|
-
/**
|
|
30220
|
-
Built-in stylesheets, support for two types.
|
|
30220
|
+
/**
|
|
30221
|
+
Built-in stylesheets, support for two types.
|
|
30221
30222
|
*/
|
|
30222
30223
|
listType: PropTypes.oneOf(['file', 'picture']),
|
|
30223
|
-
/**
|
|
30224
|
-
Whether to support selected multiple file.
|
|
30224
|
+
/**
|
|
30225
|
+
Whether to support selected multiple file.
|
|
30225
30226
|
*/
|
|
30226
30227
|
multiple: PropTypes.bool,
|
|
30227
|
-
/**
|
|
30228
|
-
List of files to be uploaded.
|
|
30228
|
+
/**
|
|
30229
|
+
List of files to be uploaded.
|
|
30229
30230
|
*/
|
|
30230
30231
|
fileList: PropTypes.array,
|
|
30231
|
-
/**
|
|
30232
|
-
A callback function, can be executed when uploading state is changing.
|
|
30232
|
+
/**
|
|
30233
|
+
A callback function, can be executed when uploading state is changing.
|
|
30233
30234
|
*/
|
|
30234
30235
|
onChange: PropTypes.func,
|
|
30235
|
-
/**
|
|
30236
|
-
A callback function, can be executed when uploading in progress.
|
|
30237
|
-
`(progress) => void`
|
|
30236
|
+
/**
|
|
30237
|
+
A callback function, can be executed when uploading in progress.
|
|
30238
|
+
`(progress) => void`
|
|
30238
30239
|
*/
|
|
30239
30240
|
onProgress: PropTypes.func,
|
|
30240
|
-
/**
|
|
30241
|
-
A callback function, can be executed when uploading is success.
|
|
30242
|
-
`(response) => void`
|
|
30241
|
+
/**
|
|
30242
|
+
A callback function, can be executed when uploading is success.
|
|
30243
|
+
`(response) => void`
|
|
30243
30244
|
*/
|
|
30244
30245
|
onSuccess: PropTypes.func,
|
|
30245
|
-
/**
|
|
30246
|
-
A callback function, can be executed when uploading is error.
|
|
30247
|
-
`(error, response) => void`
|
|
30246
|
+
/**
|
|
30247
|
+
A callback function, can be executed when uploading is error.
|
|
30248
|
+
`(error, response) => void`
|
|
30248
30249
|
*/
|
|
30249
30250
|
onError: PropTypes.func,
|
|
30250
|
-
/**
|
|
30251
|
-
A callback function, can be executed when preview icon in picture type is clicked.
|
|
30251
|
+
/**
|
|
30252
|
+
A callback function, can be executed when preview icon in picture type is clicked.
|
|
30252
30253
|
*/
|
|
30253
30254
|
onPreview: PropTypes.func,
|
|
30254
|
-
/**
|
|
30255
|
-
A callback function, can be executed when remove icon is clicked.
|
|
30255
|
+
/**
|
|
30256
|
+
A callback function, can be executed when remove icon is clicked.
|
|
30256
30257
|
*/
|
|
30257
30258
|
onRemove: PropTypes.func,
|
|
30258
|
-
/**
|
|
30259
|
-
A custom element inside upload container.
|
|
30259
|
+
/**
|
|
30260
|
+
A custom element inside upload container.
|
|
30260
30261
|
*/
|
|
30261
30262
|
children: PropTypes.element,
|
|
30262
|
-
/**
|
|
30263
|
-
Limit the number of uploaded files.
|
|
30263
|
+
/**
|
|
30264
|
+
Limit the number of uploaded files.
|
|
30264
30265
|
*/
|
|
30265
30266
|
max: PropTypes.number,
|
|
30266
|
-
/**
|
|
30267
|
-
Limit the maximum image size in MB.
|
|
30267
|
+
/**
|
|
30268
|
+
Limit the maximum image size in MB.
|
|
30268
30269
|
*/
|
|
30269
30270
|
maxSizeMB: PropTypes.number,
|
|
30270
|
-
/**
|
|
30271
|
-
Limit file type of upload.
|
|
30271
|
+
/**
|
|
30272
|
+
Limit file type of upload.
|
|
30272
30273
|
*/
|
|
30273
30274
|
accept: PropTypes.string,
|
|
30274
|
-
/**
|
|
30275
|
-
Custom label for replace button.
|
|
30275
|
+
/**
|
|
30276
|
+
Custom label for replace button.
|
|
30276
30277
|
*/
|
|
30277
30278
|
replaceLabel: PropTypes.string,
|
|
30278
|
-
/**
|
|
30279
|
-
Custom width of upload container.
|
|
30279
|
+
/**
|
|
30280
|
+
Custom width of upload container.
|
|
30280
30281
|
*/
|
|
30281
30282
|
width: PropTypes.number,
|
|
30282
|
-
/**
|
|
30283
|
-
Custom height of upload container.
|
|
30283
|
+
/**
|
|
30284
|
+
Custom height of upload container.
|
|
30284
30285
|
*/
|
|
30285
30286
|
height: PropTypes.number,
|
|
30286
|
-
/**
|
|
30287
|
-
Additional css.
|
|
30287
|
+
/**
|
|
30288
|
+
Additional css.
|
|
30288
30289
|
*/
|
|
30289
30290
|
css: PropTypes.object,
|
|
30290
|
-
/**
|
|
30291
|
-
Custom title header of cropper modal.
|
|
30291
|
+
/**
|
|
30292
|
+
Custom title header of cropper modal.
|
|
30292
30293
|
*/
|
|
30293
30294
|
cropperTitle: PropTypes.string,
|
|
30294
|
-
/**
|
|
30295
|
-
Add image cropper on upload.
|
|
30295
|
+
/**
|
|
30296
|
+
Add image cropper on upload.
|
|
30296
30297
|
*/
|
|
30297
30298
|
showCropper: PropTypes.bool,
|
|
30298
|
-
/**
|
|
30299
|
-
Hidden toggle aspect ratio image cropper.
|
|
30299
|
+
/**
|
|
30300
|
+
Hidden toggle aspect ratio image cropper.
|
|
30300
30301
|
*/
|
|
30301
30302
|
hiddenToggleAspect: PropTypes.bool,
|
|
30302
|
-
/**
|
|
30303
|
-
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.
|
|
30303
|
+
/**
|
|
30304
|
+
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.
|
|
30304
30305
|
*/
|
|
30305
30306
|
ratio: PropTypes.number,
|
|
30306
|
-
/**
|
|
30307
|
-
Can set error message to the upload.
|
|
30307
|
+
/**
|
|
30308
|
+
Can set error message to the upload.
|
|
30308
30309
|
*/
|
|
30309
30310
|
errorMessage: PropTypes.string,
|
|
30310
|
-
/**
|
|
30311
|
-
Progress of upload process.
|
|
30311
|
+
/**
|
|
30312
|
+
Progress of upload process.
|
|
30312
30313
|
*/
|
|
30313
30314
|
progress: PropTypes.number,
|
|
30314
|
-
/**
|
|
30315
|
-
Auto increment progress of upload process.
|
|
30315
|
+
/**
|
|
30316
|
+
Auto increment progress of upload process.
|
|
30316
30317
|
*/
|
|
30317
30318
|
loading: PropTypes.bool,
|
|
30318
|
-
/**
|
|
30319
|
-
API upload url, allows components to automatically upload directly to API service.
|
|
30319
|
+
/**
|
|
30320
|
+
API upload url, allows components to automatically upload directly to API service.
|
|
30320
30321
|
*/
|
|
30321
30322
|
action: PropTypes.string,
|
|
30322
|
-
/**
|
|
30323
|
-
Custom body request to upload action.
|
|
30323
|
+
/**
|
|
30324
|
+
Custom body request to upload action.
|
|
30324
30325
|
*/
|
|
30325
30326
|
customBodyRequest: PropTypes.func,
|
|
30326
|
-
/**
|
|
30327
|
-
Contains an authentication token for upload API.
|
|
30327
|
+
/**
|
|
30328
|
+
Contains an authentication token for upload API.
|
|
30328
30329
|
*/
|
|
30329
30330
|
token: PropTypes.string,
|
|
30330
|
-
/**
|
|
30331
|
-
Referencing the headers key to attach the token.
|
|
30331
|
+
/**
|
|
30332
|
+
Referencing the headers key to attach the token.
|
|
30332
30333
|
*/
|
|
30333
30334
|
tokenKey: PropTypes.string,
|
|
30334
|
-
/**
|
|
30335
|
-
Referencing the key to attach the file to be sent.
|
|
30335
|
+
/**
|
|
30336
|
+
Referencing the key to attach the file to be sent.
|
|
30336
30337
|
*/
|
|
30337
30338
|
reqKey: PropTypes.string,
|
|
30338
|
-
/**
|
|
30339
|
-
Referencing the key to get the file from the API response.
|
|
30339
|
+
/**
|
|
30340
|
+
Referencing the key to get the file from the API response.
|
|
30340
30341
|
*/
|
|
30341
30342
|
resKey: PropTypes.string,
|
|
30342
|
-
/**
|
|
30343
|
-
To compression image if file size > 1MB.
|
|
30343
|
+
/**
|
|
30344
|
+
To compression image if file size > 1MB.
|
|
30344
30345
|
*/
|
|
30345
30346
|
imageCompression: PropTypes.bool,
|
|
30346
|
-
/**
|
|
30347
|
-
Callback to handle before crop image.
|
|
30347
|
+
/**
|
|
30348
|
+
Callback to handle before crop image.
|
|
30348
30349
|
*/
|
|
30349
30350
|
onBeforeCrop: PropTypes.func,
|
|
30350
|
-
/**
|
|
30351
|
-
Hidden preview icon in upload.
|
|
30351
|
+
/**
|
|
30352
|
+
Hidden preview icon in upload.
|
|
30352
30353
|
*/
|
|
30353
30354
|
hiddenPreview: PropTypes.bool,
|
|
30354
|
-
/**
|
|
30355
|
-
Auto full aspect ratio cropper.
|
|
30355
|
+
/**
|
|
30356
|
+
Auto full aspect ratio cropper.
|
|
30356
30357
|
*/
|
|
30357
30358
|
fullAspectCrop: PropTypes.bool,
|
|
30358
|
-
/**
|
|
30359
|
-
Set custom ratio as Default view
|
|
30359
|
+
/**
|
|
30360
|
+
Set custom ratio as Default view
|
|
30360
30361
|
*/
|
|
30361
30362
|
isDefaultCustomRatio: PropTypes.bool,
|
|
30362
|
-
/**
|
|
30363
|
-
Set max width or height of image
|
|
30363
|
+
/**
|
|
30364
|
+
Set max width or height of image
|
|
30364
30365
|
*/
|
|
30365
30366
|
maxWidthOrHeight: PropTypes.number
|
|
30366
30367
|
};
|
|
@@ -31036,7 +31037,7 @@ const Device = props => {
|
|
|
31036
31037
|
};
|
|
31037
31038
|
Device.displayName = 'DevicePreview';
|
|
31038
31039
|
|
|
31039
|
-
var _jsxFileName$8 = "
|
|
31040
|
+
var _jsxFileName$8 = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/colorPicker/InputColorPicker.js";
|
|
31040
31041
|
const Separator$1 = styled('div', {
|
|
31041
31042
|
height: 20,
|
|
31042
31043
|
width: 1,
|
|
@@ -31146,44 +31147,44 @@ function InputColorPicker(props) {
|
|
|
31146
31147
|
}
|
|
31147
31148
|
InputColorPicker.displayName = 'InputColorPicker';
|
|
31148
31149
|
InputColorPicker.propTypes = {
|
|
31149
|
-
/**
|
|
31150
|
-
Specify change InputColorPicker size.
|
|
31150
|
+
/**
|
|
31151
|
+
Specify change InputColorPicker size.
|
|
31151
31152
|
*/
|
|
31152
31153
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
31153
|
-
/**
|
|
31154
|
-
Color code to be displayed.
|
|
31154
|
+
/**
|
|
31155
|
+
Color code to be displayed.
|
|
31155
31156
|
*/
|
|
31156
31157
|
color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
31157
|
-
/**
|
|
31158
|
-
Additional color list.
|
|
31158
|
+
/**
|
|
31159
|
+
Additional color list.
|
|
31159
31160
|
*/
|
|
31160
31161
|
presetColors: PropTypes.array,
|
|
31161
|
-
/**
|
|
31162
|
-
Change event handler.
|
|
31162
|
+
/**
|
|
31163
|
+
Change event handler.
|
|
31163
31164
|
*/
|
|
31164
31165
|
onChange: PropTypes.func,
|
|
31165
|
-
/**
|
|
31166
|
-
Add preset color event handler.
|
|
31166
|
+
/**
|
|
31167
|
+
Add preset color event handler.
|
|
31167
31168
|
*/
|
|
31168
31169
|
onAddColor: PropTypes.func,
|
|
31169
|
-
/**
|
|
31170
|
-
Disable opacity selector.
|
|
31170
|
+
/**
|
|
31171
|
+
Disable opacity selector.
|
|
31171
31172
|
*/
|
|
31172
31173
|
disableAlpha: PropTypes.bool,
|
|
31173
|
-
/**
|
|
31174
|
-
Input placement.
|
|
31174
|
+
/**
|
|
31175
|
+
Input placement.
|
|
31175
31176
|
*/
|
|
31176
31177
|
placement: PropTypes.string,
|
|
31177
|
-
/**
|
|
31178
|
-
Define is mobile layout or not.
|
|
31178
|
+
/**
|
|
31179
|
+
Define is mobile layout or not.
|
|
31179
31180
|
*/
|
|
31180
31181
|
isMobile: PropTypes.bool,
|
|
31181
|
-
/**
|
|
31182
|
-
Define popover custom styling.
|
|
31182
|
+
/**
|
|
31183
|
+
Define popover custom styling.
|
|
31183
31184
|
*/
|
|
31184
31185
|
popoverCss: PropTypes.shape({}),
|
|
31185
|
-
/**
|
|
31186
|
-
Disabled state.
|
|
31186
|
+
/**
|
|
31187
|
+
Disabled state.
|
|
31187
31188
|
*/
|
|
31188
31189
|
disabled: PropTypes.bool
|
|
31189
31190
|
};
|
|
@@ -31197,7 +31198,7 @@ InputColorPicker.defaultProps = {
|
|
|
31197
31198
|
|
|
31198
31199
|
var img$d = "data:image/gif;base64,R0lGODlh6gDHAOZ/AJkAAADM/zMzAAAzAP9QUAAzZoAAAGYzAGYAM/9mZmYAzGZmMzMzmQBmZv9mAJkAmTNmmZn/Zv/M/2YAZv/MzADMmZkz/5kA//8zmcwzmcwAmf8zAMwzAMwAAJkzM5kAM5n/MwBmmZlmADMzzAAzzAAA/wAAzDNm/wBm/wBmzP+Zmcxm/5lm/2aZmf+Z/wCZ//+ZAMyZAP///8xmmf//ZgDMZv8zzGb/zP/MZjOZM//MmQCZmZkzZjPM/8z//2b/mZmZ/wBmAP//zGYA/2b/ZswAZplmMwAAmQD/mZkAzACZAMz/zGZmmczM//+ZZv//ADPMzDOZZjNmzGZm/5nM//9m/zPMMwDMAGb//2bM////mcz/mZn/mf/MAMz/M2b/MwD//wAzmQAAZpnMAJkzmf8AAJkzAP8AZgCZM8wA/2aZ/5n/zAD/AP8A/8wAzP+ZM8z/ZjOZ/8xmAACZzDMz/2aZAP9mzP+ZzMzMAP9mmTNmAMyZ/wD/zJmZZswz/////yH5BAEAAH8ALAAAAADqAMcAAAf/gH+Cg4SFhoeIiYqHBY2LhBCRj4NSlZOCYZmXf0edmyagm2Kjm6Wmp6ippY2sjoqRsJKKlbSWipm4moqdvJ6KoMChiqPEpKrHyMnKf63NroWx0bKFtdW2hbnZuoW93b6FweHChcXlxsvo6erMzu0Fg9Lx09b019r329763+L94+YAz60bSHCSu4MF5CmEUK+hFHwQw+ybeMSfRRMBM4opyLGjIYTuFspzWC8iPor7LvrTGNCjy44g24mMR5KeyXso9ansxxLgy58DYzqbKa2mtZvacnrbKa6nOaBQ0QltRjSa0WpIsyntxjSc03JRwyKb2qpqrKu1suba2qtrsK/F/8TKRUWWlVlYaGmpxcWWl1tgcInNHbypbqO7kfJW2pupb6e/oAILJEyZkWHEDBUzlugYMkbJlUNbrotZ8U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ehHP9luIGAHJZR4IcdICjiBwuWuImD80VoH4X5Xcifhv91KCCIBY6IoIkmoiifivWxiJ+L+8Hon4wB0kigjQfiWKKOz/E4nY/XAbmdkN8ROZ6R5yG5npILMumck9JBaZ2U2lHpnZXiYWmelupxqaCXq4H5mpizkXmbmbuh+Zuaw7F5nJvvwamanK7RKZudtuH/qZuevvEpnJ/GAeqeoI4RGpmhlCF6maKaMdqZo6BBOpqky1H6oKWYVqgppxt6CmqIopKqnKmWSoipphhy6qmHoIpKoqym0Yrqravq6mqvsQJ7GpwHNCunCNDSycG0dpphLZ4AZKunAdzy6cG3fio7qYPNlutshNCmGy2F07ZL7YXWxnuthtnWq22H3ObbLYjf9gvuiOJ2+Zy5BJ8rnboIr2uduwy/q528EM/rnb0U3yuevhjva56/HP/bZsA5OlbwyAYnbLLCDafscMQsS1zxyxZnLLPGHdfsMchckqzzASf3LILKQHPQ8tBmwGw0ADMnbYDNTHuAs5s7k+zzyUGr/0x0y0fDrPTMTdv8dM5RFzy1yVWnfDXLWb+8tcxd1/y1kmGLPTbCZTd8dsRpV7x2xm13/DaOcRM8N911u3s3xHlTvDfGfXP8t4mBmzu4uoUbfni8idu7uL6N+/t4iZGXO3m6lbd7OeaZZ7t5vp33+/mCoTc7OrSlT3u6tamrvvrSrTv9+nux8zx77ULfnjvSu/fu++/LBT/7z7XfXnTuu/PeOvPuOT989MZTn3zv2AMf+CaTb1L5Jpdvkvkmm2/Sefiw7/zJ1J9U/cnVn2T9ydafdA0/4AUbhclGkbJRsGwULxuFzEbhtv+B7QDSSJc02iWNeEmjXtLIlzRc97RAAAA7";
|
|
31199
31200
|
|
|
31200
|
-
var _jsxFileName$7 = "
|
|
31201
|
+
var _jsxFileName$7 = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/colorPicker/components/ColorMap.js";
|
|
31201
31202
|
const Container$7 = styled('div', {
|
|
31202
31203
|
userSelect: 'none',
|
|
31203
31204
|
margin: 'auto',
|
|
@@ -33158,7 +33159,7 @@ function ColorMap({
|
|
|
33158
33159
|
})));
|
|
33159
33160
|
}
|
|
33160
33161
|
|
|
33161
|
-
var _jsxFileName$6 = "
|
|
33162
|
+
var _jsxFileName$6 = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/colorPicker/components/ColorFields.js";
|
|
33162
33163
|
const CheckBoard = styled(Flex$1, {
|
|
33163
33164
|
background: '$bgwhite',
|
|
33164
33165
|
border: '1px solid #E5E7EB',
|
|
@@ -33359,7 +33360,7 @@ function ColorFields({
|
|
|
33359
33360
|
}, "%")));
|
|
33360
33361
|
}
|
|
33361
33362
|
|
|
33362
|
-
var _jsxFileName$5 = "
|
|
33363
|
+
var _jsxFileName$5 = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/colorPicker/ColorPicker.js";
|
|
33363
33364
|
const Container$6 = styled(Flex$1, {
|
|
33364
33365
|
background: '$white',
|
|
33365
33366
|
padding: 16,
|
|
@@ -33850,24 +33851,24 @@ function ColorPicker({
|
|
|
33850
33851
|
})))))));
|
|
33851
33852
|
}
|
|
33852
33853
|
ColorPicker.propTypes = {
|
|
33853
|
-
/**
|
|
33854
|
-
Color code to be displayed.
|
|
33854
|
+
/**
|
|
33855
|
+
Color code to be displayed.
|
|
33855
33856
|
*/
|
|
33856
33857
|
color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
33857
|
-
/**
|
|
33858
|
-
Additional color list
|
|
33858
|
+
/**
|
|
33859
|
+
Additional color list
|
|
33859
33860
|
*/
|
|
33860
33861
|
presetColors: PropTypes.array,
|
|
33861
|
-
/**
|
|
33862
|
-
Change event handler
|
|
33862
|
+
/**
|
|
33863
|
+
Change event handler
|
|
33863
33864
|
*/
|
|
33864
33865
|
onChange: PropTypes.func,
|
|
33865
|
-
/**
|
|
33866
|
-
Add preset color event handler
|
|
33866
|
+
/**
|
|
33867
|
+
Add preset color event handler
|
|
33867
33868
|
*/
|
|
33868
33869
|
onAddColor: PropTypes.func,
|
|
33869
|
-
/**
|
|
33870
|
-
Disable opacity selector
|
|
33870
|
+
/**
|
|
33871
|
+
Disable opacity selector
|
|
33871
33872
|
*/
|
|
33872
33873
|
disableAlpha: PropTypes.bool
|
|
33873
33874
|
};
|
|
@@ -33876,7 +33877,7 @@ ColorPicker.defaultProps = {
|
|
|
33876
33877
|
};
|
|
33877
33878
|
var ColorPicker$1 = ColorWrap(ColorPicker);
|
|
33878
33879
|
|
|
33879
|
-
var _jsxFileName$4 = "
|
|
33880
|
+
var _jsxFileName$4 = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/stepWizard/StepWizard.js";
|
|
33880
33881
|
const StepWizardContext = /*#__PURE__*/React__default.createContext({});
|
|
33881
33882
|
const Stepper = StepWizard$1;
|
|
33882
33883
|
Stepper.displayName = 'Stepper';
|
|
@@ -34599,7 +34600,7 @@ StepWizard.defaultProps = {
|
|
|
34599
34600
|
isLazyMount: true
|
|
34600
34601
|
};
|
|
34601
34602
|
|
|
34602
|
-
var _jsxFileName$3 = "
|
|
34603
|
+
var _jsxFileName$3 = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/tableOfContent/transition.js";
|
|
34603
34604
|
function Collapse({
|
|
34604
34605
|
children,
|
|
34605
34606
|
isOpen
|
|
@@ -34642,7 +34643,7 @@ Collapse.defaultProps = {
|
|
|
34642
34643
|
isOpen: false
|
|
34643
34644
|
};
|
|
34644
34645
|
|
|
34645
|
-
var _jsxFileName$2 = "
|
|
34646
|
+
var _jsxFileName$2 = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/tableOfContent/TableOfContent.js";
|
|
34646
34647
|
const DesktopContainer = styled(Flex$1, {
|
|
34647
34648
|
display: 'none',
|
|
34648
34649
|
'& .active-scroll-spy': {
|
|
@@ -35003,7 +35004,7 @@ TableOfContentPage.defaultProps = {
|
|
|
35003
35004
|
useBoxMethod: true
|
|
35004
35005
|
};
|
|
35005
35006
|
|
|
35006
|
-
var _jsxFileName$1 = "
|
|
35007
|
+
var _jsxFileName$1 = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/editableTable/transition.js";
|
|
35007
35008
|
function Collapalse({
|
|
35008
35009
|
children,
|
|
35009
35010
|
isOpen
|
|
@@ -56517,7 +56518,7 @@ PieChartComponent.defaultProps = {
|
|
|
56517
56518
|
innerRadius: 70
|
|
56518
56519
|
};
|
|
56519
56520
|
|
|
56520
|
-
var _jsxFileName = "
|
|
56521
|
+
var _jsxFileName = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/colors/Colors.js";
|
|
56521
56522
|
const StyledPaper = styled(Paper, {
|
|
56522
56523
|
borderRadius: '10px 10px 0 0',
|
|
56523
56524
|
padding: 15,
|