@majoo-ui/react 1.61.20-rc.7 → 1.61.21-rc.1
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 = "/Users/hangga/sourcecode/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.1',
|
|
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.1/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 = "/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 */
|
|
@@ -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 = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/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 = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/popover/Popover.js";
|
|
12532
12532
|
const {
|
|
12533
12533
|
zIndices: zIndices$1
|
|
12534
12534
|
} = foundations;
|
|
@@ -14105,7 +14105,7 @@ const InputSelect = /*#__PURE__*/React.forwardRef((_a, ref) => {
|
|
|
14105
14105
|
}), void 0);
|
|
14106
14106
|
});
|
|
14107
14107
|
|
|
14108
|
-
var _jsxFileName$y = "
|
|
14108
|
+
var _jsxFileName$y = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/icon/CheckOutline.js";
|
|
14109
14109
|
const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
14110
14110
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14111
14111
|
xmlSpace: "preserve",
|
|
@@ -14185,8 +14185,8 @@ function OptionGroupItem({
|
|
|
14185
14185
|
}), void 0);
|
|
14186
14186
|
}
|
|
14187
14187
|
|
|
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", "virtualized", "virtualizedThreshold"];
|
|
14189
|
-
var _jsxFileName$x = "
|
|
14188
|
+
const _excluded$d = ["placeholder", "option", "value", "defaultValue", "size", "disabled", "onChange", "search", "readOnly", "placement", "disabledOptions", "disabledSortChecked", "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", "virtualized", "virtualizedThreshold"];
|
|
14189
|
+
var _jsxFileName$x = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/InputSelectCheck.js";
|
|
14190
14190
|
|
|
14191
14191
|
// Polyfill for startTransition (React 17 compatibility)
|
|
14192
14192
|
const startTransition = React__default.startTransition || (callback => {
|
|
@@ -14461,6 +14461,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14461
14461
|
readOnly,
|
|
14462
14462
|
placement,
|
|
14463
14463
|
disabledOptions,
|
|
14464
|
+
disabledSortChecked,
|
|
14464
14465
|
textEmptyItem,
|
|
14465
14466
|
onRemoveItem,
|
|
14466
14467
|
isInvalid,
|
|
@@ -14630,7 +14631,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
14630
14631
|
return [...res, ...filterOption]; // add the missing elements
|
|
14631
14632
|
}
|
|
14632
14633
|
}, []) : option;
|
|
14633
|
-
const sortDisabled = disabledOptions.length > 0 ? disabledOptions.reduce((res, id, i, {
|
|
14634
|
+
const sortDisabled = disabledOptions.length > 0 && !disabledSortChecked ? disabledOptions.reduce((res, id, i, {
|
|
14634
14635
|
[i + 1]: next
|
|
14635
14636
|
}) => {
|
|
14636
14637
|
let sortData = option.find(option => option.id === id);
|
|
@@ -15104,7 +15105,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15104
15105
|
__self: undefined,
|
|
15105
15106
|
__source: {
|
|
15106
15107
|
fileName: _jsxFileName$x,
|
|
15107
|
-
lineNumber:
|
|
15108
|
+
lineNumber: 972,
|
|
15108
15109
|
columnNumber: 9
|
|
15109
15110
|
}
|
|
15110
15111
|
}), /*#__PURE__*/React__default.createElement(IconWrapper, {
|
|
@@ -15118,7 +15119,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15118
15119
|
__self: undefined,
|
|
15119
15120
|
__source: {
|
|
15120
15121
|
fileName: _jsxFileName$x,
|
|
15121
|
-
lineNumber:
|
|
15122
|
+
lineNumber: 991,
|
|
15122
15123
|
columnNumber: 11
|
|
15123
15124
|
}
|
|
15124
15125
|
}, !(item != null && item.hideCheck) && (item.isDisabled ? /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
@@ -15126,7 +15127,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15126
15127
|
__self: undefined,
|
|
15127
15128
|
__source: {
|
|
15128
15129
|
fileName: _jsxFileName$x,
|
|
15129
|
-
lineNumber:
|
|
15130
|
+
lineNumber: 1003,
|
|
15130
15131
|
columnNumber: 17
|
|
15131
15132
|
}
|
|
15132
15133
|
}) : selectedValueSet.has(item.id) && (item.isDisabled === false || item.isDisabled === undefined) && /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
@@ -15134,21 +15135,21 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15134
15135
|
__self: undefined,
|
|
15135
15136
|
__source: {
|
|
15136
15137
|
fileName: _jsxFileName$x,
|
|
15137
|
-
lineNumber:
|
|
15138
|
+
lineNumber: 1007,
|
|
15138
15139
|
columnNumber: 19
|
|
15139
15140
|
}
|
|
15140
15141
|
})), 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, {
|
|
15141
15142
|
__self: undefined,
|
|
15142
15143
|
__source: {
|
|
15143
15144
|
fileName: _jsxFileName$x,
|
|
15144
|
-
lineNumber:
|
|
15145
|
+
lineNumber: 1011,
|
|
15145
15146
|
columnNumber: 15
|
|
15146
15147
|
}
|
|
15147
15148
|
}, "-") : /*#__PURE__*/React__default.createElement("div", {
|
|
15148
15149
|
__self: undefined,
|
|
15149
15150
|
__source: {
|
|
15150
15151
|
fileName: _jsxFileName$x,
|
|
15151
|
-
lineNumber:
|
|
15152
|
+
lineNumber: 1013,
|
|
15152
15153
|
columnNumber: 15
|
|
15153
15154
|
}
|
|
15154
15155
|
})), /*#__PURE__*/React__default.createElement(Item$2, {
|
|
@@ -15159,7 +15160,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15159
15160
|
__self: undefined,
|
|
15160
15161
|
__source: {
|
|
15161
15162
|
fileName: _jsxFileName$x,
|
|
15162
|
-
lineNumber:
|
|
15163
|
+
lineNumber: 1016,
|
|
15163
15164
|
columnNumber: 11
|
|
15164
15165
|
}
|
|
15165
15166
|
}, item.render ? item.render == null ? void 0 : item.render(item.name) : item.name));
|
|
@@ -15187,7 +15188,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15187
15188
|
__self: undefined,
|
|
15188
15189
|
__source: {
|
|
15189
15190
|
fileName: _jsxFileName$x,
|
|
15190
|
-
lineNumber:
|
|
15191
|
+
lineNumber: 1032,
|
|
15191
15192
|
columnNumber: 13
|
|
15192
15193
|
}
|
|
15193
15194
|
}), /*#__PURE__*/React__default.createElement(IconWrapper, {
|
|
@@ -15200,7 +15201,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15200
15201
|
__self: undefined,
|
|
15201
15202
|
__source: {
|
|
15202
15203
|
fileName: _jsxFileName$x,
|
|
15203
|
-
lineNumber:
|
|
15204
|
+
lineNumber: 1045,
|
|
15204
15205
|
columnNumber: 15
|
|
15205
15206
|
}
|
|
15206
15207
|
}, !(item != null && item.hideCheck) && item.isDisabled ? /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
@@ -15208,7 +15209,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15208
15209
|
__self: undefined,
|
|
15209
15210
|
__source: {
|
|
15210
15211
|
fileName: _jsxFileName$x,
|
|
15211
|
-
lineNumber:
|
|
15212
|
+
lineNumber: 1055,
|
|
15212
15213
|
columnNumber: 19
|
|
15213
15214
|
}
|
|
15214
15215
|
}) : (filterSelectedChild == null ? void 0 : filterSelectedChild.length) === (item == null || (_item$children6 = item.children) == null || (_item$children6 = _item$children6.filter(e => !e.isDisabled)) == null ? void 0 : _item$children6.length) ? /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
@@ -15216,14 +15217,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15216
15217
|
__self: undefined,
|
|
15217
15218
|
__source: {
|
|
15218
15219
|
fileName: _jsxFileName$x,
|
|
15219
|
-
lineNumber:
|
|
15220
|
+
lineNumber: 1057,
|
|
15220
15221
|
columnNumber: 19
|
|
15221
15222
|
}
|
|
15222
15223
|
}) : (filterSelectedChild == null ? void 0 : filterSelectedChild.length) > 0 ? /*#__PURE__*/React__default.createElement(IndeterminateFilled$1, {
|
|
15223
15224
|
__self: undefined,
|
|
15224
15225
|
__source: {
|
|
15225
15226
|
fileName: _jsxFileName$x,
|
|
15226
|
-
lineNumber:
|
|
15227
|
+
lineNumber: 1059,
|
|
15227
15228
|
columnNumber: 19
|
|
15228
15229
|
}
|
|
15229
15230
|
}, "-") : null), /*#__PURE__*/React__default.createElement(Item$2, {
|
|
@@ -15234,14 +15235,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15234
15235
|
__self: undefined,
|
|
15235
15236
|
__source: {
|
|
15236
15237
|
fileName: _jsxFileName$x,
|
|
15237
|
-
lineNumber:
|
|
15238
|
+
lineNumber: 1062,
|
|
15238
15239
|
columnNumber: 15
|
|
15239
15240
|
}
|
|
15240
15241
|
}, item.render ? item.render == null ? void 0 : item.render(item.name) : item.name)),
|
|
15241
15242
|
__self: undefined,
|
|
15242
15243
|
__source: {
|
|
15243
15244
|
fileName: _jsxFileName$x,
|
|
15244
|
-
lineNumber:
|
|
15245
|
+
lineNumber: 1030,
|
|
15245
15246
|
columnNumber: 9
|
|
15246
15247
|
}
|
|
15247
15248
|
}, item == null || (_item$children7 = item.children) == null ? void 0 : _item$children7.map((optItem, optIndex) => renderOptionItem(optItem, groupIndex + optIndex + 1, true)));
|
|
@@ -15254,7 +15255,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15254
15255
|
__self: undefined,
|
|
15255
15256
|
__source: {
|
|
15256
15257
|
fileName: _jsxFileName$x,
|
|
15257
|
-
lineNumber:
|
|
15258
|
+
lineNumber: 1074,
|
|
15258
15259
|
columnNumber: 7
|
|
15259
15260
|
}
|
|
15260
15261
|
}), /*#__PURE__*/React__default.createElement(Select, {
|
|
@@ -15264,7 +15265,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15264
15265
|
__self: undefined,
|
|
15265
15266
|
__source: {
|
|
15266
15267
|
fileName: _jsxFileName$x,
|
|
15267
|
-
lineNumber:
|
|
15268
|
+
lineNumber: 1075,
|
|
15268
15269
|
columnNumber: 9
|
|
15269
15270
|
}
|
|
15270
15271
|
}, /*#__PURE__*/React__default.createElement(InputWrapper$1, _extends({}, getComboboxProps(getDropdownProps({
|
|
@@ -15279,7 +15280,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15279
15280
|
__self: undefined,
|
|
15280
15281
|
__source: {
|
|
15281
15282
|
fileName: _jsxFileName$x,
|
|
15282
|
-
lineNumber:
|
|
15283
|
+
lineNumber: 1076,
|
|
15283
15284
|
columnNumber: 11
|
|
15284
15285
|
}
|
|
15285
15286
|
}), /*#__PURE__*/React__default.createElement(Input$6, _extends({}, getInputProps({
|
|
@@ -15297,7 +15298,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15297
15298
|
__self: undefined,
|
|
15298
15299
|
__source: {
|
|
15299
15300
|
fileName: _jsxFileName$x,
|
|
15300
|
-
lineNumber:
|
|
15301
|
+
lineNumber: 1086,
|
|
15301
15302
|
columnNumber: 13
|
|
15302
15303
|
}
|
|
15303
15304
|
})), /*#__PURE__*/React__default.createElement(Button$2, _extends({}, getToggleButtonProps({
|
|
@@ -15311,7 +15312,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15311
15312
|
__self: undefined,
|
|
15312
15313
|
__source: {
|
|
15313
15314
|
fileName: _jsxFileName$x,
|
|
15314
|
-
lineNumber:
|
|
15315
|
+
lineNumber: 1093,
|
|
15315
15316
|
columnNumber: 13
|
|
15316
15317
|
}
|
|
15317
15318
|
}), (_ref2 = label != null ? label : placeholder) != null ? _ref2 : t('placeholder', 'Pilih Item'))), /*#__PURE__*/React__default.createElement(IconWrapper, _extends({}, getToggleButtonProps({
|
|
@@ -15322,7 +15323,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15322
15323
|
__self: undefined,
|
|
15323
15324
|
__source: {
|
|
15324
15325
|
fileName: _jsxFileName$x,
|
|
15325
|
-
lineNumber:
|
|
15326
|
+
lineNumber: 1104,
|
|
15326
15327
|
columnNumber: 11
|
|
15327
15328
|
}
|
|
15328
15329
|
}), /*#__PURE__*/React__default.createElement(IconCaretDown, {
|
|
@@ -15330,7 +15331,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15330
15331
|
__self: undefined,
|
|
15331
15332
|
__source: {
|
|
15332
15333
|
fileName: _jsxFileName$x,
|
|
15333
|
-
lineNumber:
|
|
15334
|
+
lineNumber: 1109,
|
|
15334
15335
|
columnNumber: 13
|
|
15335
15336
|
}
|
|
15336
15337
|
}))), helperText && /*#__PURE__*/React__default.createElement(Paragraph, {
|
|
@@ -15343,7 +15344,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15343
15344
|
__self: undefined,
|
|
15344
15345
|
__source: {
|
|
15345
15346
|
fileName: _jsxFileName$x,
|
|
15346
|
-
lineNumber:
|
|
15347
|
+
lineNumber: 1113,
|
|
15347
15348
|
columnNumber: 11
|
|
15348
15349
|
}
|
|
15349
15350
|
}, helperText), showSelectedTag && !showCounter && selectedItems.length !== 0 && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(TagWrapper$2, {
|
|
@@ -15351,7 +15352,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15351
15352
|
__self: undefined,
|
|
15352
15353
|
__source: {
|
|
15353
15354
|
fileName: _jsxFileName$x,
|
|
15354
|
-
lineNumber:
|
|
15355
|
+
lineNumber: 1119,
|
|
15355
15356
|
columnNumber: 13
|
|
15356
15357
|
}
|
|
15357
15358
|
}, isShowTagSelectAll ? /*#__PURE__*/React__default.createElement(Tag, _extends({
|
|
@@ -15372,7 +15373,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15372
15373
|
__self: undefined,
|
|
15373
15374
|
__source: {
|
|
15374
15375
|
fileName: _jsxFileName$x,
|
|
15375
|
-
lineNumber:
|
|
15376
|
+
lineNumber: 1121,
|
|
15376
15377
|
columnNumber: 17
|
|
15377
15378
|
}
|
|
15378
15379
|
}), 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) => {
|
|
@@ -15403,7 +15404,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15403
15404
|
__self: undefined,
|
|
15404
15405
|
__source: {
|
|
15405
15406
|
fileName: _jsxFileName$x,
|
|
15406
|
-
lineNumber:
|
|
15407
|
+
lineNumber: 1150,
|
|
15407
15408
|
columnNumber: 21
|
|
15408
15409
|
}
|
|
15409
15410
|
}), selectedItem.name))), collapsible && !isShowTagSelectAll && (selectedItems == null ? void 0 : selectedItems.length) > collapsibleLimit && /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -15412,7 +15413,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15412
15413
|
__self: undefined,
|
|
15413
15414
|
__source: {
|
|
15414
15415
|
fileName: _jsxFileName$x,
|
|
15415
|
-
lineNumber:
|
|
15416
|
+
lineNumber: 1173,
|
|
15416
15417
|
columnNumber: 15
|
|
15417
15418
|
}
|
|
15418
15419
|
}, /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -15422,14 +15423,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15422
15423
|
__self: undefined,
|
|
15423
15424
|
__source: {
|
|
15424
15425
|
fileName: _jsxFileName$x,
|
|
15425
|
-
lineNumber:
|
|
15426
|
+
lineNumber: 1174,
|
|
15426
15427
|
columnNumber: 17
|
|
15427
15428
|
}
|
|
15428
15429
|
}, /*#__PURE__*/React__default.createElement(Separator$2, {
|
|
15429
15430
|
__self: undefined,
|
|
15430
15431
|
__source: {
|
|
15431
15432
|
fileName: _jsxFileName$x,
|
|
15432
|
-
lineNumber:
|
|
15433
|
+
lineNumber: 1175,
|
|
15433
15434
|
columnNumber: 19
|
|
15434
15435
|
}
|
|
15435
15436
|
}), /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -15443,7 +15444,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15443
15444
|
__self: undefined,
|
|
15444
15445
|
__source: {
|
|
15445
15446
|
fileName: _jsxFileName$x,
|
|
15446
|
-
lineNumber:
|
|
15447
|
+
lineNumber: 1176,
|
|
15447
15448
|
columnNumber: 19
|
|
15448
15449
|
}
|
|
15449
15450
|
}, showAllTags ? /*#__PURE__*/React__default.createElement(ChevronUpOutline, {
|
|
@@ -15451,7 +15452,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15451
15452
|
__self: undefined,
|
|
15452
15453
|
__source: {
|
|
15453
15454
|
fileName: _jsxFileName$x,
|
|
15454
|
-
lineNumber:
|
|
15455
|
+
lineNumber: 1182,
|
|
15455
15456
|
columnNumber: 23
|
|
15456
15457
|
}
|
|
15457
15458
|
}) : /*#__PURE__*/React__default.createElement(ChevronDownOutline, {
|
|
@@ -15459,7 +15460,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15459
15460
|
__self: undefined,
|
|
15460
15461
|
__source: {
|
|
15461
15462
|
fileName: _jsxFileName$x,
|
|
15462
|
-
lineNumber:
|
|
15463
|
+
lineNumber: 1184,
|
|
15463
15464
|
columnNumber: 23
|
|
15464
15465
|
}
|
|
15465
15466
|
}), /*#__PURE__*/React__default.createElement(Paragraph, {
|
|
@@ -15471,14 +15472,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15471
15472
|
__self: undefined,
|
|
15472
15473
|
__source: {
|
|
15473
15474
|
fileName: _jsxFileName$x,
|
|
15474
|
-
lineNumber:
|
|
15475
|
+
lineNumber: 1186,
|
|
15475
15476
|
columnNumber: 21
|
|
15476
15477
|
}
|
|
15477
15478
|
}, showAllTags ? t('showSomeText', 'Tampilkan Sebagian') : t('showAllText', 'Tampilkan Semua'))), /*#__PURE__*/React__default.createElement(Separator$2, {
|
|
15478
15479
|
__self: undefined,
|
|
15479
15480
|
__source: {
|
|
15480
15481
|
fileName: _jsxFileName$x,
|
|
15481
|
-
lineNumber:
|
|
15482
|
+
lineNumber: 1190,
|
|
15482
15483
|
columnNumber: 19
|
|
15483
15484
|
}
|
|
15484
15485
|
})), showCollapsibleCounter && /*#__PURE__*/React__default.createElement(Paragraph, {
|
|
@@ -15489,7 +15490,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15489
15490
|
__self: undefined,
|
|
15490
15491
|
__source: {
|
|
15491
15492
|
fileName: _jsxFileName$x,
|
|
15492
|
-
lineNumber:
|
|
15493
|
+
lineNumber: 1193,
|
|
15493
15494
|
columnNumber: 19
|
|
15494
15495
|
}
|
|
15495
15496
|
}, `${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, {
|
|
@@ -15501,7 +15502,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15501
15502
|
__self: undefined,
|
|
15502
15503
|
__source: {
|
|
15503
15504
|
fileName: _jsxFileName$x,
|
|
15504
|
-
lineNumber:
|
|
15505
|
+
lineNumber: 1204,
|
|
15505
15506
|
columnNumber: 11
|
|
15506
15507
|
}
|
|
15507
15508
|
}, `${totalOptions ? totalOptions : selectedItems == null || (_selectedItems$filter3 = selectedItems.filter(item => (item == null ? void 0 : item.id) !== '!all')) == null ? void 0 : _selectedItems$filter3.length} ${labelCounter || t('labelCounterText', 'Item terpilih')}`), /*#__PURE__*/React__default.createElement(OptionWrapper$1, {
|
|
@@ -15514,7 +15515,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15514
15515
|
__self: undefined,
|
|
15515
15516
|
__source: {
|
|
15516
15517
|
fileName: _jsxFileName$x,
|
|
15517
|
-
lineNumber:
|
|
15518
|
+
lineNumber: 1211,
|
|
15518
15519
|
columnNumber: 9
|
|
15519
15520
|
}
|
|
15520
15521
|
}, isLoading && /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -15536,7 +15537,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15536
15537
|
__self: undefined,
|
|
15537
15538
|
__source: {
|
|
15538
15539
|
fileName: _jsxFileName$x,
|
|
15539
|
-
lineNumber:
|
|
15540
|
+
lineNumber: 1221,
|
|
15540
15541
|
columnNumber: 13
|
|
15541
15542
|
}
|
|
15542
15543
|
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
@@ -15544,7 +15545,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15544
15545
|
__self: undefined,
|
|
15545
15546
|
__source: {
|
|
15546
15547
|
fileName: _jsxFileName$x,
|
|
15547
|
-
lineNumber:
|
|
15548
|
+
lineNumber: 1238,
|
|
15548
15549
|
columnNumber: 15
|
|
15549
15550
|
}
|
|
15550
15551
|
}, "Loading....")), items.length > 0 || isLoading ? /*#__PURE__*/React__default.createElement(Option, _extends({}, getMenuProps({
|
|
@@ -15556,7 +15557,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15556
15557
|
__self: undefined,
|
|
15557
15558
|
__source: {
|
|
15558
15559
|
fileName: _jsxFileName$x,
|
|
15559
|
-
lineNumber:
|
|
15560
|
+
lineNumber: 1243,
|
|
15560
15561
|
columnNumber: 13
|
|
15561
15562
|
}
|
|
15562
15563
|
}), /*#__PURE__*/React__default.createElement(ConditionalWrapper, {
|
|
@@ -15579,14 +15580,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15579
15580
|
__self: undefined,
|
|
15580
15581
|
__source: {
|
|
15581
15582
|
fileName: _jsxFileName$x,
|
|
15582
|
-
lineNumber:
|
|
15583
|
+
lineNumber: 1247,
|
|
15583
15584
|
columnNumber: 19
|
|
15584
15585
|
}
|
|
15585
15586
|
}, child),
|
|
15586
15587
|
__self: undefined,
|
|
15587
15588
|
__source: {
|
|
15588
15589
|
fileName: _jsxFileName$x,
|
|
15589
|
-
lineNumber:
|
|
15590
|
+
lineNumber: 1244,
|
|
15590
15591
|
columnNumber: 15
|
|
15591
15592
|
}
|
|
15592
15593
|
}, isOpen && shouldVirtualize ?
|
|
@@ -15601,7 +15602,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15601
15602
|
__self: undefined,
|
|
15602
15603
|
__source: {
|
|
15603
15604
|
fileName: _jsxFileName$x,
|
|
15604
|
-
lineNumber:
|
|
15605
|
+
lineNumber: 1268,
|
|
15605
15606
|
columnNumber: 21
|
|
15606
15607
|
}
|
|
15607
15608
|
}, rowVirtualizer.virtualItems.map(virtualRow => {
|
|
@@ -15624,7 +15625,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15624
15625
|
__self: undefined,
|
|
15625
15626
|
__source: {
|
|
15626
15627
|
fileName: _jsxFileName$x,
|
|
15627
|
-
lineNumber:
|
|
15628
|
+
lineNumber: 1276,
|
|
15628
15629
|
columnNumber: 27
|
|
15629
15630
|
}
|
|
15630
15631
|
}, type === 'group' ?
|
|
@@ -15644,7 +15645,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15644
15645
|
__self: undefined,
|
|
15645
15646
|
__source: {
|
|
15646
15647
|
fileName: _jsxFileName$x,
|
|
15647
|
-
lineNumber:
|
|
15648
|
+
lineNumber: 1288,
|
|
15648
15649
|
columnNumber: 31
|
|
15649
15650
|
}
|
|
15650
15651
|
}), /*#__PURE__*/React__default.createElement(IconWrapper, {
|
|
@@ -15657,7 +15658,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15657
15658
|
__self: undefined,
|
|
15658
15659
|
__source: {
|
|
15659
15660
|
fileName: _jsxFileName$x,
|
|
15660
|
-
lineNumber:
|
|
15661
|
+
lineNumber: 1301,
|
|
15661
15662
|
columnNumber: 33
|
|
15662
15663
|
}
|
|
15663
15664
|
}, !(item != null && item.hideCheck) && item.isDisabled ? /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
@@ -15665,7 +15666,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15665
15666
|
__self: undefined,
|
|
15666
15667
|
__source: {
|
|
15667
15668
|
fileName: _jsxFileName$x,
|
|
15668
|
-
lineNumber:
|
|
15669
|
+
lineNumber: 1311,
|
|
15669
15670
|
columnNumber: 37
|
|
15670
15671
|
}
|
|
15671
15672
|
}) : (item == null || (_item$children8 = item.children) == null || (_item$children8 = _item$children8.filter(e => selectedValueSet.has(e.id) && !e.isDisabled)) == null ? void 0 : _item$children8.length) === (item == null || (_item$children9 = item.children) == null || (_item$children9 = _item$children9.filter(e => !e.isDisabled)) == null ? void 0 : _item$children9.length) ? /*#__PURE__*/React__default.createElement(CheckOutline, {
|
|
@@ -15673,14 +15674,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15673
15674
|
__self: undefined,
|
|
15674
15675
|
__source: {
|
|
15675
15676
|
fileName: _jsxFileName$x,
|
|
15676
|
-
lineNumber:
|
|
15677
|
+
lineNumber: 1315,
|
|
15677
15678
|
columnNumber: 39
|
|
15678
15679
|
}
|
|
15679
15680
|
}) : (item == null || (_item$children0 = item.children) == null || (_item$children0 = _item$children0.filter(e => selectedValueSet.has(e.id) && !e.isDisabled)) == null ? void 0 : _item$children0.length) > 0 ? /*#__PURE__*/React__default.createElement(IndeterminateFilled$1, {
|
|
15680
15681
|
__self: undefined,
|
|
15681
15682
|
__source: {
|
|
15682
15683
|
fileName: _jsxFileName$x,
|
|
15683
|
-
lineNumber:
|
|
15684
|
+
lineNumber: 1317,
|
|
15684
15685
|
columnNumber: 39
|
|
15685
15686
|
}
|
|
15686
15687
|
}, "-") : null), /*#__PURE__*/React__default.createElement(Item$2, {
|
|
@@ -15691,7 +15692,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15691
15692
|
__self: undefined,
|
|
15692
15693
|
__source: {
|
|
15693
15694
|
fileName: _jsxFileName$x,
|
|
15694
|
-
lineNumber:
|
|
15695
|
+
lineNumber: 1321,
|
|
15695
15696
|
columnNumber: 33
|
|
15696
15697
|
}
|
|
15697
15698
|
}, item.render ? item.render == null ? void 0 : item.render(item.name) : item.name)) :
|
|
@@ -15709,14 +15710,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15709
15710
|
__self: undefined,
|
|
15710
15711
|
__source: {
|
|
15711
15712
|
fileName: _jsxFileName$x,
|
|
15712
|
-
lineNumber:
|
|
15713
|
+
lineNumber: 1344,
|
|
15713
15714
|
columnNumber: 13
|
|
15714
15715
|
}
|
|
15715
15716
|
}), /*#__PURE__*/React__default.createElement(StyledDiv, {
|
|
15716
15717
|
__self: undefined,
|
|
15717
15718
|
__source: {
|
|
15718
15719
|
fileName: _jsxFileName$x,
|
|
15719
|
-
lineNumber:
|
|
15720
|
+
lineNumber: 1345,
|
|
15720
15721
|
columnNumber: 15
|
|
15721
15722
|
}
|
|
15722
15723
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -15726,7 +15727,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15726
15727
|
__self: undefined,
|
|
15727
15728
|
__source: {
|
|
15728
15729
|
fileName: _jsxFileName$x,
|
|
15729
|
-
lineNumber:
|
|
15730
|
+
lineNumber: 1346,
|
|
15730
15731
|
columnNumber: 17
|
|
15731
15732
|
}
|
|
15732
15733
|
}, /*#__PURE__*/React__default.createElement(CircleInfoOutline, {
|
|
@@ -15738,7 +15739,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
15738
15739
|
__self: undefined,
|
|
15739
15740
|
__source: {
|
|
15740
15741
|
fileName: _jsxFileName$x,
|
|
15741
|
-
lineNumber:
|
|
15742
|
+
lineNumber: 1347,
|
|
15742
15743
|
columnNumber: 19
|
|
15743
15744
|
}
|
|
15744
15745
|
})), textEmptyItem != null ? textEmptyItem : t('emptyItemText', 'Item tidak ditemukan')))));
|
|
@@ -15757,6 +15758,7 @@ InputSelectCheck.propTypes = {
|
|
|
15757
15758
|
search: PropTypes.bool,
|
|
15758
15759
|
placement: PropTypes.oneOf(['top', 'bottom']),
|
|
15759
15760
|
disabledOptions: PropTypes.arrayOf(PropTypes.string),
|
|
15761
|
+
disabledSortChecked: PropTypes.bool,
|
|
15760
15762
|
unremovableTags: PropTypes.arrayOf(PropTypes.string),
|
|
15761
15763
|
textEmptyItem: PropTypes.string,
|
|
15762
15764
|
showSelectAll: PropTypes.bool,
|
|
@@ -15796,6 +15798,7 @@ InputSelectCheck.defaultProps = {
|
|
|
15796
15798
|
placement: 'bottom',
|
|
15797
15799
|
value: [],
|
|
15798
15800
|
disabledOptions: [],
|
|
15801
|
+
disabledSortChecked: false,
|
|
15799
15802
|
unremovableTags: [],
|
|
15800
15803
|
sortBy: 'name',
|
|
15801
15804
|
showSelectAll: true,
|
|
@@ -15815,7 +15818,7 @@ InputSelectCheck.defaultProps = {
|
|
|
15815
15818
|
virtualizedThreshold: 100
|
|
15816
15819
|
};
|
|
15817
15820
|
|
|
15818
|
-
var _jsxFileName$w = "
|
|
15821
|
+
var _jsxFileName$w = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/form/components/InputSelectTag/InputSelectTag.js";
|
|
15819
15822
|
const InputSelectTag = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
15820
15823
|
return /*#__PURE__*/React.createElement(InputSelectCheck, _extends({
|
|
15821
15824
|
ref: ref,
|
|
@@ -15844,6 +15847,7 @@ InputSelectTag.propTypes = {
|
|
|
15844
15847
|
placement: PropTypes.oneOf(['top', 'bottom']),
|
|
15845
15848
|
unremovableTags: PropTypes.arrayOf(PropTypes.string),
|
|
15846
15849
|
disabledOptions: PropTypes.arrayOf(PropTypes.string),
|
|
15850
|
+
disabledSortChecked: PropTypes.bool,
|
|
15847
15851
|
textEmptyItem: PropTypes.string,
|
|
15848
15852
|
helperText: PropTypes.string,
|
|
15849
15853
|
showCounter: PropTypes.bool,
|
|
@@ -15868,6 +15872,7 @@ InputSelectTag.defaultProps = {
|
|
|
15868
15872
|
placement: 'bottom',
|
|
15869
15873
|
value: [],
|
|
15870
15874
|
disabledOptions: [],
|
|
15875
|
+
disabledSortChecked: false,
|
|
15871
15876
|
unremovableTags: [],
|
|
15872
15877
|
sortBy: 'name',
|
|
15873
15878
|
showCounter: false,
|
|
@@ -15876,7 +15881,7 @@ InputSelectTag.defaultProps = {
|
|
|
15876
15881
|
defaultValue: []
|
|
15877
15882
|
};
|
|
15878
15883
|
|
|
15879
|
-
var _jsxFileName$v = "
|
|
15884
|
+
var _jsxFileName$v = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/form/components/InputCreatable/InputCreatable.js";
|
|
15880
15885
|
const Wrapper = styled('div', {
|
|
15881
15886
|
margin: 0,
|
|
15882
15887
|
flexDirection: 'column',
|
|
@@ -17004,7 +17009,7 @@ InputCounter.defaultProps = {
|
|
|
17004
17009
|
|
|
17005
17010
|
const _excluded$c = ["children"],
|
|
17006
17011
|
_excluded2$3 = ["children", "showOverlay"];
|
|
17007
|
-
var _jsxFileName$u = "
|
|
17012
|
+
var _jsxFileName$u = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/drawer/Drawer.js";
|
|
17008
17013
|
const Context$1 = /*#__PURE__*/React__default.createContext();
|
|
17009
17014
|
const {
|
|
17010
17015
|
sizes
|
|
@@ -17354,7 +17359,7 @@ DrawerCloseButton.displayName = 'DrawerCloseButton';
|
|
|
17354
17359
|
|
|
17355
17360
|
const _excluded$b = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size", "withMaxWidth", "mobileOnly", "desktopOnly"],
|
|
17356
17361
|
_excluded2$2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
|
|
17357
|
-
var _jsxFileName$t = "
|
|
17362
|
+
var _jsxFileName$t = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/buttonGroup/ButtonGroup.js";
|
|
17358
17363
|
const ScrollButton$1 = styled(Button$4, {
|
|
17359
17364
|
width: '28px',
|
|
17360
17365
|
outline: '$btnPrimary solid 1px',
|
|
@@ -17892,7 +17897,7 @@ const DateNumber = styled('div', {
|
|
|
17892
17897
|
});
|
|
17893
17898
|
DateNumber.displayName = 'DateNumber';
|
|
17894
17899
|
|
|
17895
|
-
var _jsxFileName$s = "
|
|
17900
|
+
var _jsxFileName$s = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/datePicker/timePicker/TimePicker.js";
|
|
17896
17901
|
const Input$3 = styled('input', {
|
|
17897
17902
|
display: 'none'
|
|
17898
17903
|
});
|
|
@@ -18295,56 +18300,56 @@ const NativeTimePicker = ({
|
|
|
18295
18300
|
})));
|
|
18296
18301
|
};
|
|
18297
18302
|
NativeTimePicker.propTypes = {
|
|
18298
|
-
/**
|
|
18299
|
-
Resize time picker.
|
|
18303
|
+
/**
|
|
18304
|
+
Resize time picker.
|
|
18300
18305
|
*/
|
|
18301
18306
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
18302
|
-
/**
|
|
18303
|
-
Change handler.
|
|
18307
|
+
/**
|
|
18308
|
+
Change handler.
|
|
18304
18309
|
*/
|
|
18305
18310
|
onChange: PropTypes.func,
|
|
18306
|
-
/**
|
|
18307
|
-
Time picker default value, support moment format.
|
|
18311
|
+
/**
|
|
18312
|
+
Time picker default value, support moment format.
|
|
18308
18313
|
*/
|
|
18309
18314
|
defaultValue: PropTypes.instanceOf(Date),
|
|
18310
|
-
/**
|
|
18311
|
-
Time picker value, support moment format.
|
|
18315
|
+
/**
|
|
18316
|
+
Time picker value, support moment format.
|
|
18312
18317
|
*/
|
|
18313
18318
|
value: PropTypes.instanceOf(Date),
|
|
18314
|
-
/**
|
|
18315
|
-
Disabled state.
|
|
18319
|
+
/**
|
|
18320
|
+
Disabled state.
|
|
18316
18321
|
*/
|
|
18317
18322
|
disabled: PropTypes.bool,
|
|
18318
|
-
/**
|
|
18319
|
-
Disabled hour state.
|
|
18323
|
+
/**
|
|
18324
|
+
Disabled hour state.
|
|
18320
18325
|
*/
|
|
18321
18326
|
disabledHour: PropTypes.bool,
|
|
18322
|
-
/**
|
|
18323
|
-
Disabled increase hour state.
|
|
18327
|
+
/**
|
|
18328
|
+
Disabled increase hour state.
|
|
18324
18329
|
*/
|
|
18325
18330
|
disabledHourIncrease: PropTypes.bool,
|
|
18326
|
-
/**
|
|
18327
|
-
Disabled decrease hour state.
|
|
18331
|
+
/**
|
|
18332
|
+
Disabled decrease hour state.
|
|
18328
18333
|
*/
|
|
18329
18334
|
disabledHourDecrease: PropTypes.bool,
|
|
18330
|
-
/**
|
|
18331
|
-
Disabled minute state.
|
|
18335
|
+
/**
|
|
18336
|
+
Disabled minute state.
|
|
18332
18337
|
*/
|
|
18333
18338
|
disabledMinute: PropTypes.bool,
|
|
18334
|
-
/**
|
|
18335
|
-
Disabled increase minute state.
|
|
18339
|
+
/**
|
|
18340
|
+
Disabled increase minute state.
|
|
18336
18341
|
*/
|
|
18337
18342
|
disabledMinuteIncrease: PropTypes.bool,
|
|
18338
|
-
/**
|
|
18339
|
-
Disabled decrease minute state.
|
|
18343
|
+
/**
|
|
18344
|
+
Disabled decrease minute state.
|
|
18340
18345
|
*/
|
|
18341
18346
|
disabledMinuteDecrease: PropTypes.bool,
|
|
18342
|
-
/**
|
|
18343
|
-
Specify the minimum date.
|
|
18347
|
+
/**
|
|
18348
|
+
Specify the minimum date.
|
|
18344
18349
|
*/
|
|
18345
18350
|
minDate: PropTypes.instanceOf(Date),
|
|
18346
|
-
/**
|
|
18347
|
-
Specify the maximum date.
|
|
18351
|
+
/**
|
|
18352
|
+
Specify the maximum date.
|
|
18348
18353
|
*/
|
|
18349
18354
|
maxDate: PropTypes.instanceOf(Date)
|
|
18350
18355
|
};
|
|
@@ -18401,66 +18406,66 @@ const TimePicker = ({
|
|
|
18401
18406
|
};
|
|
18402
18407
|
TimePicker.displayName = 'TimePicker';
|
|
18403
18408
|
TimePicker.propTypes = {
|
|
18404
|
-
/**
|
|
18405
|
-
Additional styles.
|
|
18409
|
+
/**
|
|
18410
|
+
Additional styles.
|
|
18406
18411
|
*/
|
|
18407
18412
|
css: PropTypes.object,
|
|
18408
|
-
/**
|
|
18409
|
-
Resize time picker.
|
|
18413
|
+
/**
|
|
18414
|
+
Resize time picker.
|
|
18410
18415
|
*/
|
|
18411
18416
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
18412
|
-
/**
|
|
18413
|
-
Change handler.
|
|
18417
|
+
/**
|
|
18418
|
+
Change handler.
|
|
18414
18419
|
*/
|
|
18415
18420
|
onChange: PropTypes.func,
|
|
18416
|
-
/**
|
|
18417
|
-
Time picker default value, support moment format.
|
|
18421
|
+
/**
|
|
18422
|
+
Time picker default value, support moment format.
|
|
18418
18423
|
*/
|
|
18419
18424
|
defaultValue: PropTypes.instanceOf(Date),
|
|
18420
|
-
/**
|
|
18421
|
-
Time picker value, support moment format.
|
|
18425
|
+
/**
|
|
18426
|
+
Time picker value, support moment format.
|
|
18422
18427
|
*/
|
|
18423
18428
|
value: PropTypes.instanceOf(Date),
|
|
18424
|
-
/**
|
|
18425
|
-
Disabled state.
|
|
18429
|
+
/**
|
|
18430
|
+
Disabled state.
|
|
18426
18431
|
*/
|
|
18427
18432
|
disabled: PropTypes.bool,
|
|
18428
|
-
/**
|
|
18429
|
-
Disabled hour state.
|
|
18433
|
+
/**
|
|
18434
|
+
Disabled hour state.
|
|
18430
18435
|
*/
|
|
18431
18436
|
disabledHour: PropTypes.bool,
|
|
18432
|
-
/**
|
|
18433
|
-
Disabled increase hour state.
|
|
18437
|
+
/**
|
|
18438
|
+
Disabled increase hour state.
|
|
18434
18439
|
*/
|
|
18435
18440
|
disabledHourIncrease: PropTypes.bool,
|
|
18436
|
-
/**
|
|
18437
|
-
Disabled decrease hour state.
|
|
18441
|
+
/**
|
|
18442
|
+
Disabled decrease hour state.
|
|
18438
18443
|
*/
|
|
18439
18444
|
disabledHourDecrease: PropTypes.bool,
|
|
18440
|
-
/**
|
|
18441
|
-
Disabled minute state.
|
|
18445
|
+
/**
|
|
18446
|
+
Disabled minute state.
|
|
18442
18447
|
*/
|
|
18443
18448
|
disabledMinute: PropTypes.bool,
|
|
18444
|
-
/**
|
|
18445
|
-
Disabled increase minute state.
|
|
18449
|
+
/**
|
|
18450
|
+
Disabled increase minute state.
|
|
18446
18451
|
*/
|
|
18447
18452
|
disabledMinuteIncrease: PropTypes.bool,
|
|
18448
|
-
/**
|
|
18449
|
-
Disabled decrease minute state.
|
|
18453
|
+
/**
|
|
18454
|
+
Disabled decrease minute state.
|
|
18450
18455
|
*/
|
|
18451
18456
|
disabledMinuteDecrease: PropTypes.bool,
|
|
18452
|
-
/**
|
|
18453
|
-
Specify the minimum date.
|
|
18457
|
+
/**
|
|
18458
|
+
Specify the minimum date.
|
|
18454
18459
|
*/
|
|
18455
18460
|
minDate: PropTypes.instanceOf(Date),
|
|
18456
|
-
/**
|
|
18457
|
-
Specify the maximum date.
|
|
18461
|
+
/**
|
|
18462
|
+
Specify the maximum date.
|
|
18458
18463
|
*/
|
|
18459
18464
|
maxDate: PropTypes.instanceOf(Date)
|
|
18460
18465
|
};
|
|
18461
18466
|
NativeTimePicker.displayName = 'NativeTimePicker';
|
|
18462
18467
|
|
|
18463
|
-
var _jsxFileName$r = "
|
|
18468
|
+
var _jsxFileName$r = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/datePicker/timePicker/InputTimePicker.js";
|
|
18464
18469
|
const getInputPickerValue$1 = date => {
|
|
18465
18470
|
if (!date) return;
|
|
18466
18471
|
return moment(date).format('HH:mm');
|
|
@@ -18619,88 +18624,88 @@ InputTimePicker.defaultProps = {
|
|
|
18619
18624
|
placeholder: 'Select Time'
|
|
18620
18625
|
};
|
|
18621
18626
|
InputTimePicker.propTypes = {
|
|
18622
|
-
/**
|
|
18623
|
-
Additional styles.
|
|
18627
|
+
/**
|
|
18628
|
+
Additional styles.
|
|
18624
18629
|
*/
|
|
18625
18630
|
css: PropTypes.object,
|
|
18626
|
-
/**
|
|
18627
|
-
Disabled state.
|
|
18631
|
+
/**
|
|
18632
|
+
Disabled state.
|
|
18628
18633
|
*/
|
|
18629
18634
|
disabled: PropTypes.bool,
|
|
18630
|
-
/**
|
|
18631
|
-
Disabled hour state.
|
|
18635
|
+
/**
|
|
18636
|
+
Disabled hour state.
|
|
18632
18637
|
*/
|
|
18633
18638
|
disabledHour: PropTypes.bool,
|
|
18634
|
-
/**
|
|
18635
|
-
Disabled increase hour state.
|
|
18639
|
+
/**
|
|
18640
|
+
Disabled increase hour state.
|
|
18636
18641
|
*/
|
|
18637
18642
|
disabledHourIncrease: PropTypes.bool,
|
|
18638
|
-
/**
|
|
18639
|
-
Disabled decrease hour state.
|
|
18643
|
+
/**
|
|
18644
|
+
Disabled decrease hour state.
|
|
18640
18645
|
*/
|
|
18641
18646
|
disabledHourDecrease: PropTypes.bool,
|
|
18642
|
-
/**
|
|
18643
|
-
Disabled minute state.
|
|
18647
|
+
/**
|
|
18648
|
+
Disabled minute state.
|
|
18644
18649
|
*/
|
|
18645
18650
|
disabledMinute: PropTypes.bool,
|
|
18646
|
-
/**
|
|
18647
|
-
Disabled increase minute state.
|
|
18651
|
+
/**
|
|
18652
|
+
Disabled increase minute state.
|
|
18648
18653
|
*/
|
|
18649
18654
|
disabledMinuteIncrease: PropTypes.bool,
|
|
18650
|
-
/**
|
|
18651
|
-
Disabled decrease minute state.
|
|
18655
|
+
/**
|
|
18656
|
+
Disabled decrease minute state.
|
|
18652
18657
|
*/
|
|
18653
18658
|
disabledMinuteDecrease: PropTypes.bool,
|
|
18654
|
-
/**
|
|
18655
|
-
ReadOnly state.
|
|
18659
|
+
/**
|
|
18660
|
+
ReadOnly state.
|
|
18656
18661
|
*/
|
|
18657
18662
|
readOnly: PropTypes.bool,
|
|
18658
|
-
/**
|
|
18659
|
-
Resize time picker.
|
|
18663
|
+
/**
|
|
18664
|
+
Resize time picker.
|
|
18660
18665
|
*/
|
|
18661
18666
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
18662
|
-
/**
|
|
18663
|
-
Custom placeholder input time picker.
|
|
18667
|
+
/**
|
|
18668
|
+
Custom placeholder input time picker.
|
|
18664
18669
|
*/
|
|
18665
18670
|
placeholder: PropTypes.string,
|
|
18666
|
-
/**
|
|
18667
|
-
Time picker default value, support moment format.
|
|
18671
|
+
/**
|
|
18672
|
+
Time picker default value, support moment format.
|
|
18668
18673
|
*/
|
|
18669
18674
|
defaultValue: PropTypes.instanceOf(Date),
|
|
18670
|
-
/**
|
|
18671
|
-
Time picker value, support moment format.
|
|
18675
|
+
/**
|
|
18676
|
+
Time picker value, support moment format.
|
|
18672
18677
|
*/
|
|
18673
18678
|
value: PropTypes.instanceOf(Date),
|
|
18674
|
-
/**
|
|
18675
|
-
Change handler.
|
|
18679
|
+
/**
|
|
18680
|
+
Change handler.
|
|
18676
18681
|
*/
|
|
18677
18682
|
onChange: PropTypes.func,
|
|
18678
|
-
/**
|
|
18679
|
-
Placement popover input time picker.
|
|
18683
|
+
/**
|
|
18684
|
+
Placement popover input time picker.
|
|
18680
18685
|
*/
|
|
18681
18686
|
placement: PropTypes.string,
|
|
18682
|
-
/**
|
|
18683
|
-
Specify the minimum date.
|
|
18687
|
+
/**
|
|
18688
|
+
Specify the minimum date.
|
|
18684
18689
|
*/
|
|
18685
18690
|
minDate: PropTypes.instanceOf(Date),
|
|
18686
|
-
/**
|
|
18687
|
-
Specify the maximum date.
|
|
18691
|
+
/**
|
|
18692
|
+
Specify the maximum date.
|
|
18688
18693
|
*/
|
|
18689
18694
|
maxDate: PropTypes.instanceOf(Date),
|
|
18690
|
-
/**
|
|
18691
|
-
* Invalid state input.
|
|
18695
|
+
/**
|
|
18696
|
+
* Invalid state input.
|
|
18692
18697
|
*/
|
|
18693
18698
|
isInvalid: PropTypes.bool,
|
|
18694
|
-
/**
|
|
18695
|
-
If true, the component will rendered on portal element
|
|
18699
|
+
/**
|
|
18700
|
+
If true, the component will rendered on portal element
|
|
18696
18701
|
*/
|
|
18697
18702
|
portalled: PropTypes.bool,
|
|
18698
|
-
/**
|
|
18699
|
-
Additional TimePicker styles.
|
|
18703
|
+
/**
|
|
18704
|
+
Additional TimePicker styles.
|
|
18700
18705
|
*/
|
|
18701
18706
|
contentCss: PropTypes.object,
|
|
18702
|
-
/**
|
|
18703
|
-
Input open change callback.
|
|
18707
|
+
/**
|
|
18708
|
+
Input open change callback.
|
|
18704
18709
|
*/
|
|
18705
18710
|
onInputOpenChange: PropTypes.func
|
|
18706
18711
|
};
|
|
@@ -21779,7 +21784,7 @@ function InputSignature({
|
|
|
21779
21784
|
}
|
|
21780
21785
|
|
|
21781
21786
|
const _excluded$a = ["className", "defaultValue", "value", "name", "disabled", "orientation", "dir", "min", "max", "step", "onValueChange", "minStepsBetweenThumbs", "color", "size", "width", "height"];
|
|
21782
|
-
var _jsxFileName$q = "
|
|
21787
|
+
var _jsxFileName$q = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/slider/Slider.js";
|
|
21783
21788
|
const StyledSlider = styled$1(SliderPrimitive.Root, {
|
|
21784
21789
|
position: 'relative',
|
|
21785
21790
|
display: 'flex',
|
|
@@ -22123,7 +22128,7 @@ Slider.defaultProps = {
|
|
|
22123
22128
|
};
|
|
22124
22129
|
|
|
22125
22130
|
const _excluded$9 = ["className", "children", "onClick", "type", "size"];
|
|
22126
|
-
var _jsxFileName$p = "
|
|
22131
|
+
var _jsxFileName$p = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/tagStatus/TagStatus.js";
|
|
22127
22132
|
const TagWrapper$1 = styled('div', {
|
|
22128
22133
|
boxSizing: 'border-box',
|
|
22129
22134
|
fontSize: '12px',
|
|
@@ -22286,7 +22291,7 @@ const _excluded$8 = ["children"],
|
|
|
22286
22291
|
_excluded2$1 = ["children", "activeTabs"],
|
|
22287
22292
|
_excluded3$1 = ["children", "icon", "activeTabs", "value"],
|
|
22288
22293
|
_excluded4$1 = ["activeTabs"];
|
|
22289
|
-
var _jsxFileName$o = "
|
|
22294
|
+
var _jsxFileName$o = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/tabs/Tabs.js";
|
|
22290
22295
|
const StyledTabs = styled(TabsPrimitive.Root, {
|
|
22291
22296
|
display: 'flex',
|
|
22292
22297
|
flexDirection: 'column',
|
|
@@ -22625,7 +22630,7 @@ TabsContent$1.propTypes = {
|
|
|
22625
22630
|
};
|
|
22626
22631
|
|
|
22627
22632
|
const _excluded$7 = ["children", "variantIcon"];
|
|
22628
|
-
var _jsxFileName$n = "
|
|
22633
|
+
var _jsxFileName$n = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/notificationBadge/NotificationBadge.js";
|
|
22629
22634
|
const NotificationBadgeRootStyle = styled('span', {
|
|
22630
22635
|
position: 'relative',
|
|
22631
22636
|
display: 'inline-flex',
|
|
@@ -22780,7 +22785,7 @@ NotificationBadge.propTypes = {
|
|
|
22780
22785
|
};
|
|
22781
22786
|
|
|
22782
22787
|
const _excluded$6 = ["className", "children", "radius", "padding", "width", "height"];
|
|
22783
|
-
var _jsxFileName$m = "
|
|
22788
|
+
var _jsxFileName$m = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/paper/Paper.js";
|
|
22784
22789
|
const PaperComponent = styled('div', {
|
|
22785
22790
|
padding: '20px',
|
|
22786
22791
|
height: 'auto',
|
|
@@ -23033,7 +23038,7 @@ const removeUndefinedFields = obj => {
|
|
|
23033
23038
|
};
|
|
23034
23039
|
|
|
23035
23040
|
const _excluded$5 = ["isActive", "onClick"];
|
|
23036
|
-
var _jsxFileName$l = "
|
|
23041
|
+
var _jsxFileName$l = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/pagination/PaginationButton.js";
|
|
23037
23042
|
const PrevNextButton = styled(Text$1, {
|
|
23038
23043
|
padding: '$spacing-01',
|
|
23039
23044
|
cursor: 'pointer',
|
|
@@ -23527,7 +23532,7 @@ const PaginationButton = ({
|
|
|
23527
23532
|
};
|
|
23528
23533
|
|
|
23529
23534
|
const _excluded$4 = ["limits", "selectedLimit", "currentPage", "totalData", "onChange"];
|
|
23530
|
-
var _jsxFileName$k = "
|
|
23535
|
+
var _jsxFileName$k = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/pagination/PaginationInfo.js";
|
|
23531
23536
|
const LimitContainer = styled(Flex$1, {
|
|
23532
23537
|
cursor: 'pointer'
|
|
23533
23538
|
});
|
|
@@ -23762,7 +23767,7 @@ function PaginationInfo(_ref) {
|
|
|
23762
23767
|
}
|
|
23763
23768
|
|
|
23764
23769
|
const _excluded$3 = ["limit", "currentPage", "totalData", "totalPage", "hideDataInfo", "onLimitChange", "onPageChange", "rowsPerPageOptions", "hidePagination", "hideInputPageSection"];
|
|
23765
|
-
var _jsxFileName$j = "
|
|
23770
|
+
var _jsxFileName$j = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/pagination/Pagination.js";
|
|
23766
23771
|
function Pagination(_ref) {
|
|
23767
23772
|
let {
|
|
23768
23773
|
limit,
|
|
@@ -24636,7 +24641,7 @@ const ScrollSyncNode = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
24636
24641
|
});
|
|
24637
24642
|
ScrollSyncNode.displayName = 'ScrollSyncNode';
|
|
24638
24643
|
|
|
24639
|
-
var _jsxFileName$i = "
|
|
24644
|
+
var _jsxFileName$i = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/table/components/columns/RowDraggableColumn.js";
|
|
24640
24645
|
const DragHandle = SortableHandle(() => /*#__PURE__*/React__default.createElement(IconButton, {
|
|
24641
24646
|
icon: true,
|
|
24642
24647
|
size: "xs",
|
|
@@ -26132,7 +26137,7 @@ const TableColumn = _a => {
|
|
|
26132
26137
|
return jsx("div", {}, void 0);
|
|
26133
26138
|
};
|
|
26134
26139
|
|
|
26135
|
-
var _jsxFileName$h = "
|
|
26140
|
+
var _jsxFileName$h = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/table/components/columns/DateColumn.js";
|
|
26136
26141
|
const DateColumn = ({
|
|
26137
26142
|
value,
|
|
26138
26143
|
customFormat
|
|
@@ -26244,7 +26249,7 @@ const PriceColumn = props => {
|
|
|
26244
26249
|
return addThousandSeparator(param);
|
|
26245
26250
|
};
|
|
26246
26251
|
|
|
26247
|
-
var _jsxFileName$g = "
|
|
26252
|
+
var _jsxFileName$g = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderColumn.js";
|
|
26248
26253
|
const rowExpanderColumn = {
|
|
26249
26254
|
id: 'expander',
|
|
26250
26255
|
Header: () => null,
|
|
@@ -26287,7 +26292,7 @@ const rowExpanderColumn = {
|
|
|
26287
26292
|
unsortable: true
|
|
26288
26293
|
};
|
|
26289
26294
|
|
|
26290
|
-
var _jsxFileName$f = "
|
|
26295
|
+
var _jsxFileName$f = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderMultipleColumn.js";
|
|
26291
26296
|
const rowExpanderMultipleColumn = {
|
|
26292
26297
|
id: 'multiple-expander',
|
|
26293
26298
|
Header: () => null,
|
|
@@ -26323,7 +26328,7 @@ const rowExpanderMultipleColumn = {
|
|
|
26323
26328
|
unsortable: true
|
|
26324
26329
|
};
|
|
26325
26330
|
|
|
26326
|
-
var _jsxFileName$e = "
|
|
26331
|
+
var _jsxFileName$e = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/table/components/columns/RowMenuColumn.js";
|
|
26327
26332
|
const rowMenuColumn = (options, icon, config) => ({
|
|
26328
26333
|
id: 'menu',
|
|
26329
26334
|
options,
|
|
@@ -26460,7 +26465,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
26460
26465
|
unsortable: true
|
|
26461
26466
|
});
|
|
26462
26467
|
|
|
26463
|
-
var _jsxFileName$d = "
|
|
26468
|
+
var _jsxFileName$d = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionColumn.js";
|
|
26464
26469
|
const rowSelectionColumn = {
|
|
26465
26470
|
id: 'selection',
|
|
26466
26471
|
Header: ({
|
|
@@ -26509,7 +26514,7 @@ const rowSelectionColumn = {
|
|
|
26509
26514
|
unsortable: true
|
|
26510
26515
|
};
|
|
26511
26516
|
|
|
26512
|
-
var _jsxFileName$c = "
|
|
26517
|
+
var _jsxFileName$c = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionCallbackColumn.js";
|
|
26513
26518
|
const rowSelectionWithCallbackColumn = (onCheckedChange, onAllCheckedChange) => ({
|
|
26514
26519
|
id: 'selection',
|
|
26515
26520
|
Header: ({
|
|
@@ -26847,7 +26852,7 @@ PageDialog.defaultProps = {
|
|
|
26847
26852
|
};
|
|
26848
26853
|
|
|
26849
26854
|
const _excluded$2 = ["children"];
|
|
26850
|
-
var _jsxFileName$b = "
|
|
26855
|
+
var _jsxFileName$b = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/alertDialog/AlertDialog.js";
|
|
26851
26856
|
const overlayShow = keyframes({
|
|
26852
26857
|
'0%': {
|
|
26853
26858
|
opacity: 0
|
|
@@ -27483,7 +27488,7 @@ const _excluded$1 = ["side", "align", "children"],
|
|
|
27483
27488
|
_excluded2 = ["theme"],
|
|
27484
27489
|
_excluded3 = ["children"],
|
|
27485
27490
|
_excluded4 = ["asChild"];
|
|
27486
|
-
var _jsxFileName$a = "
|
|
27491
|
+
var _jsxFileName$a = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/dropdownMenu/DropdownMenu.js";
|
|
27487
27492
|
const Context = /*#__PURE__*/React__default.createContext();
|
|
27488
27493
|
const slideUpAndFade = keyframes({
|
|
27489
27494
|
'0%': {
|
|
@@ -29760,7 +29765,7 @@ function imgPreview(image, crop, scale = 1, rotate = 0, ratio, type) {
|
|
|
29760
29765
|
}
|
|
29761
29766
|
|
|
29762
29767
|
const _excluded = ["customPreviewIcon"];
|
|
29763
|
-
var _jsxFileName$9 = "
|
|
29768
|
+
var _jsxFileName$9 = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/upload/Upload.js";
|
|
29764
29769
|
const Input$2 = styled('input', {
|
|
29765
29770
|
display: 'none !important'
|
|
29766
29771
|
});
|
|
@@ -30968,159 +30973,159 @@ Upload.defaultProps = {
|
|
|
30968
30973
|
maxWidthOrHeight: 1024
|
|
30969
30974
|
};
|
|
30970
30975
|
Upload.propTypes = {
|
|
30971
|
-
/**
|
|
30972
|
-
Placeholder label of upload.
|
|
30976
|
+
/**
|
|
30977
|
+
Placeholder label of upload.
|
|
30973
30978
|
*/
|
|
30974
30979
|
placeholder: PropTypes.string,
|
|
30975
|
-
/**
|
|
30976
|
-
Disabled state of upload.
|
|
30980
|
+
/**
|
|
30981
|
+
Disabled state of upload.
|
|
30977
30982
|
*/
|
|
30978
30983
|
disabled: PropTypes.bool,
|
|
30979
|
-
/**
|
|
30980
|
-
Built-in stylesheets, support for two types.
|
|
30984
|
+
/**
|
|
30985
|
+
Built-in stylesheets, support for two types.
|
|
30981
30986
|
*/
|
|
30982
30987
|
listType: PropTypes.oneOf(['file', 'picture']),
|
|
30983
|
-
/**
|
|
30984
|
-
Whether to support selected multiple file.
|
|
30988
|
+
/**
|
|
30989
|
+
Whether to support selected multiple file.
|
|
30985
30990
|
*/
|
|
30986
30991
|
multiple: PropTypes.bool,
|
|
30987
|
-
/**
|
|
30988
|
-
List of files to be uploaded.
|
|
30992
|
+
/**
|
|
30993
|
+
List of files to be uploaded.
|
|
30989
30994
|
*/
|
|
30990
30995
|
fileList: PropTypes.array,
|
|
30991
|
-
/**
|
|
30992
|
-
A callback function, can be executed when uploading state is changing.
|
|
30996
|
+
/**
|
|
30997
|
+
A callback function, can be executed when uploading state is changing.
|
|
30993
30998
|
*/
|
|
30994
30999
|
onChange: PropTypes.func,
|
|
30995
|
-
/**
|
|
30996
|
-
A callback function, can be executed when uploading in progress.
|
|
30997
|
-
`(progress) => void`
|
|
31000
|
+
/**
|
|
31001
|
+
A callback function, can be executed when uploading in progress.
|
|
31002
|
+
`(progress) => void`
|
|
30998
31003
|
*/
|
|
30999
31004
|
onProgress: PropTypes.func,
|
|
31000
|
-
/**
|
|
31001
|
-
A callback function, can be executed when uploading is success.
|
|
31002
|
-
`(response) => void`
|
|
31005
|
+
/**
|
|
31006
|
+
A callback function, can be executed when uploading is success.
|
|
31007
|
+
`(response) => void`
|
|
31003
31008
|
*/
|
|
31004
31009
|
onSuccess: PropTypes.func,
|
|
31005
|
-
/**
|
|
31006
|
-
A callback function, can be executed when uploading is error.
|
|
31007
|
-
`(error, response) => void`
|
|
31010
|
+
/**
|
|
31011
|
+
A callback function, can be executed when uploading is error.
|
|
31012
|
+
`(error, response) => void`
|
|
31008
31013
|
*/
|
|
31009
31014
|
onError: PropTypes.func,
|
|
31010
|
-
/**
|
|
31011
|
-
A callback function, can be executed when preview icon in picture type is clicked.
|
|
31015
|
+
/**
|
|
31016
|
+
A callback function, can be executed when preview icon in picture type is clicked.
|
|
31012
31017
|
*/
|
|
31013
31018
|
onPreview: PropTypes.func,
|
|
31014
|
-
/**
|
|
31015
|
-
A callback function, can be executed when remove icon is clicked.
|
|
31019
|
+
/**
|
|
31020
|
+
A callback function, can be executed when remove icon is clicked.
|
|
31016
31021
|
*/
|
|
31017
31022
|
onRemove: PropTypes.func,
|
|
31018
|
-
/**
|
|
31019
|
-
A custom element inside upload container.
|
|
31023
|
+
/**
|
|
31024
|
+
A custom element inside upload container.
|
|
31020
31025
|
*/
|
|
31021
31026
|
children: PropTypes.element,
|
|
31022
|
-
/**
|
|
31023
|
-
Limit the number of uploaded files.
|
|
31027
|
+
/**
|
|
31028
|
+
Limit the number of uploaded files.
|
|
31024
31029
|
*/
|
|
31025
31030
|
max: PropTypes.number,
|
|
31026
|
-
/**
|
|
31027
|
-
Limit the maximum image size in MB.
|
|
31031
|
+
/**
|
|
31032
|
+
Limit the maximum image size in MB.
|
|
31028
31033
|
*/
|
|
31029
31034
|
maxSizeMB: PropTypes.number,
|
|
31030
|
-
/**
|
|
31031
|
-
Limit file type of upload.
|
|
31035
|
+
/**
|
|
31036
|
+
Limit file type of upload.
|
|
31032
31037
|
*/
|
|
31033
31038
|
accept: PropTypes.string,
|
|
31034
|
-
/**
|
|
31035
|
-
Custom label for replace button.
|
|
31039
|
+
/**
|
|
31040
|
+
Custom label for replace button.
|
|
31036
31041
|
*/
|
|
31037
31042
|
replaceLabel: PropTypes.string,
|
|
31038
|
-
/**
|
|
31039
|
-
Custom width of upload container.
|
|
31043
|
+
/**
|
|
31044
|
+
Custom width of upload container.
|
|
31040
31045
|
*/
|
|
31041
31046
|
width: PropTypes.number,
|
|
31042
|
-
/**
|
|
31043
|
-
Custom height of upload container.
|
|
31047
|
+
/**
|
|
31048
|
+
Custom height of upload container.
|
|
31044
31049
|
*/
|
|
31045
31050
|
height: PropTypes.number,
|
|
31046
|
-
/**
|
|
31047
|
-
Additional css.
|
|
31051
|
+
/**
|
|
31052
|
+
Additional css.
|
|
31048
31053
|
*/
|
|
31049
31054
|
css: PropTypes.object,
|
|
31050
|
-
/**
|
|
31051
|
-
Custom title header of cropper modal.
|
|
31055
|
+
/**
|
|
31056
|
+
Custom title header of cropper modal.
|
|
31052
31057
|
*/
|
|
31053
31058
|
cropperTitle: PropTypes.string,
|
|
31054
|
-
/**
|
|
31055
|
-
Add image cropper on upload.
|
|
31059
|
+
/**
|
|
31060
|
+
Add image cropper on upload.
|
|
31056
31061
|
*/
|
|
31057
31062
|
showCropper: PropTypes.bool,
|
|
31058
|
-
/**
|
|
31059
|
-
Hidden toggle aspect ratio image cropper.
|
|
31063
|
+
/**
|
|
31064
|
+
Hidden toggle aspect ratio image cropper.
|
|
31060
31065
|
*/
|
|
31061
31066
|
hiddenToggleAspect: PropTypes.bool,
|
|
31062
|
-
/**
|
|
31063
|
-
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.
|
|
31067
|
+
/**
|
|
31068
|
+
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.
|
|
31064
31069
|
*/
|
|
31065
31070
|
ratio: PropTypes.number,
|
|
31066
|
-
/**
|
|
31067
|
-
Can set error message to the upload.
|
|
31071
|
+
/**
|
|
31072
|
+
Can set error message to the upload.
|
|
31068
31073
|
*/
|
|
31069
31074
|
errorMessage: PropTypes.string,
|
|
31070
|
-
/**
|
|
31071
|
-
Progress of upload process.
|
|
31075
|
+
/**
|
|
31076
|
+
Progress of upload process.
|
|
31072
31077
|
*/
|
|
31073
31078
|
progress: PropTypes.number,
|
|
31074
|
-
/**
|
|
31075
|
-
Auto increment progress of upload process.
|
|
31079
|
+
/**
|
|
31080
|
+
Auto increment progress of upload process.
|
|
31076
31081
|
*/
|
|
31077
31082
|
loading: PropTypes.bool,
|
|
31078
|
-
/**
|
|
31079
|
-
API upload url, allows components to automatically upload directly to API service.
|
|
31083
|
+
/**
|
|
31084
|
+
API upload url, allows components to automatically upload directly to API service.
|
|
31080
31085
|
*/
|
|
31081
31086
|
action: PropTypes.string,
|
|
31082
|
-
/**
|
|
31083
|
-
Custom body request to upload action.
|
|
31087
|
+
/**
|
|
31088
|
+
Custom body request to upload action.
|
|
31084
31089
|
*/
|
|
31085
31090
|
customBodyRequest: PropTypes.func,
|
|
31086
|
-
/**
|
|
31087
|
-
Contains an authentication token for upload API.
|
|
31091
|
+
/**
|
|
31092
|
+
Contains an authentication token for upload API.
|
|
31088
31093
|
*/
|
|
31089
31094
|
token: PropTypes.string,
|
|
31090
|
-
/**
|
|
31091
|
-
Referencing the headers key to attach the token.
|
|
31095
|
+
/**
|
|
31096
|
+
Referencing the headers key to attach the token.
|
|
31092
31097
|
*/
|
|
31093
31098
|
tokenKey: PropTypes.string,
|
|
31094
|
-
/**
|
|
31095
|
-
Referencing the key to attach the file to be sent.
|
|
31099
|
+
/**
|
|
31100
|
+
Referencing the key to attach the file to be sent.
|
|
31096
31101
|
*/
|
|
31097
31102
|
reqKey: PropTypes.string,
|
|
31098
|
-
/**
|
|
31099
|
-
Referencing the key to get the file from the API response.
|
|
31103
|
+
/**
|
|
31104
|
+
Referencing the key to get the file from the API response.
|
|
31100
31105
|
*/
|
|
31101
31106
|
resKey: PropTypes.string,
|
|
31102
|
-
/**
|
|
31103
|
-
To compression image if file size > 1MB.
|
|
31107
|
+
/**
|
|
31108
|
+
To compression image if file size > 1MB.
|
|
31104
31109
|
*/
|
|
31105
31110
|
imageCompression: PropTypes.bool,
|
|
31106
|
-
/**
|
|
31107
|
-
Callback to handle before crop image.
|
|
31111
|
+
/**
|
|
31112
|
+
Callback to handle before crop image.
|
|
31108
31113
|
*/
|
|
31109
31114
|
onBeforeCrop: PropTypes.func,
|
|
31110
|
-
/**
|
|
31111
|
-
Hidden preview icon in upload.
|
|
31115
|
+
/**
|
|
31116
|
+
Hidden preview icon in upload.
|
|
31112
31117
|
*/
|
|
31113
31118
|
hiddenPreview: PropTypes.bool,
|
|
31114
|
-
/**
|
|
31115
|
-
Auto full aspect ratio cropper.
|
|
31119
|
+
/**
|
|
31120
|
+
Auto full aspect ratio cropper.
|
|
31116
31121
|
*/
|
|
31117
31122
|
fullAspectCrop: PropTypes.bool,
|
|
31118
|
-
/**
|
|
31119
|
-
Set custom ratio as Default view
|
|
31123
|
+
/**
|
|
31124
|
+
Set custom ratio as Default view
|
|
31120
31125
|
*/
|
|
31121
31126
|
isDefaultCustomRatio: PropTypes.bool,
|
|
31122
|
-
/**
|
|
31123
|
-
Set max width or height of image
|
|
31127
|
+
/**
|
|
31128
|
+
Set max width or height of image
|
|
31124
31129
|
*/
|
|
31125
31130
|
maxWidthOrHeight: PropTypes.number
|
|
31126
31131
|
};
|
|
@@ -31796,7 +31801,7 @@ const Device = props => {
|
|
|
31796
31801
|
};
|
|
31797
31802
|
Device.displayName = 'DevicePreview';
|
|
31798
31803
|
|
|
31799
|
-
var _jsxFileName$8 = "
|
|
31804
|
+
var _jsxFileName$8 = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/colorPicker/InputColorPicker.js";
|
|
31800
31805
|
const Separator$1 = styled('div', {
|
|
31801
31806
|
height: 20,
|
|
31802
31807
|
width: 1,
|
|
@@ -31906,44 +31911,44 @@ function InputColorPicker(props) {
|
|
|
31906
31911
|
}
|
|
31907
31912
|
InputColorPicker.displayName = 'InputColorPicker';
|
|
31908
31913
|
InputColorPicker.propTypes = {
|
|
31909
|
-
/**
|
|
31910
|
-
Specify change InputColorPicker size.
|
|
31914
|
+
/**
|
|
31915
|
+
Specify change InputColorPicker size.
|
|
31911
31916
|
*/
|
|
31912
31917
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
31913
|
-
/**
|
|
31914
|
-
Color code to be displayed.
|
|
31918
|
+
/**
|
|
31919
|
+
Color code to be displayed.
|
|
31915
31920
|
*/
|
|
31916
31921
|
color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
31917
|
-
/**
|
|
31918
|
-
Additional color list.
|
|
31922
|
+
/**
|
|
31923
|
+
Additional color list.
|
|
31919
31924
|
*/
|
|
31920
31925
|
presetColors: PropTypes.array,
|
|
31921
|
-
/**
|
|
31922
|
-
Change event handler.
|
|
31926
|
+
/**
|
|
31927
|
+
Change event handler.
|
|
31923
31928
|
*/
|
|
31924
31929
|
onChange: PropTypes.func,
|
|
31925
|
-
/**
|
|
31926
|
-
Add preset color event handler.
|
|
31930
|
+
/**
|
|
31931
|
+
Add preset color event handler.
|
|
31927
31932
|
*/
|
|
31928
31933
|
onAddColor: PropTypes.func,
|
|
31929
|
-
/**
|
|
31930
|
-
Disable opacity selector.
|
|
31934
|
+
/**
|
|
31935
|
+
Disable opacity selector.
|
|
31931
31936
|
*/
|
|
31932
31937
|
disableAlpha: PropTypes.bool,
|
|
31933
|
-
/**
|
|
31934
|
-
Input placement.
|
|
31938
|
+
/**
|
|
31939
|
+
Input placement.
|
|
31935
31940
|
*/
|
|
31936
31941
|
placement: PropTypes.string,
|
|
31937
|
-
/**
|
|
31938
|
-
Define is mobile layout or not.
|
|
31942
|
+
/**
|
|
31943
|
+
Define is mobile layout or not.
|
|
31939
31944
|
*/
|
|
31940
31945
|
isMobile: PropTypes.bool,
|
|
31941
|
-
/**
|
|
31942
|
-
Define popover custom styling.
|
|
31946
|
+
/**
|
|
31947
|
+
Define popover custom styling.
|
|
31943
31948
|
*/
|
|
31944
31949
|
popoverCss: PropTypes.shape({}),
|
|
31945
|
-
/**
|
|
31946
|
-
Disabled state.
|
|
31950
|
+
/**
|
|
31951
|
+
Disabled state.
|
|
31947
31952
|
*/
|
|
31948
31953
|
disabled: PropTypes.bool
|
|
31949
31954
|
};
|
|
@@ -31957,7 +31962,7 @@ InputColorPicker.defaultProps = {
|
|
|
31957
31962
|
|
|
31958
31963
|
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///8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fio7qYPNlutshNCmGy2F07ZL7YXWxnuthtnWq22H3ObbLYjf9gvuiOJ2+Zy5BJ8rnboIr2uduwy/q528EM/rnb0U3yuevhjva56/HP/bZsA5OlbwyAYnbLLCDafscMQsS1zxyxZnLLPGHdfsMchckqzzASf3LILKQHPQ8tBmwGw0ADMnbYDNTHuAs5s7k+zzyUGr/0x0y0fDrPTMTdv8dM5RFzy1yVWnfDXLWb+8tcxd1/y1kmGLPTbCZTd8dsRpV7x2xm13/DaOcRM8N911u3s3xHlTvDfGfXP8t4mBmzu4uoUbfni8idu7uL6N+/t4iZGXO3m6lbd7OeaZZ7t5vp33+/mCoTc7OrSlT3u6tamrvvrSrTv9+nux8zx77ULfnjvSu/fu++/LBT/7z7XfXnTuu/PeOvPuOT989MZTn3zv2AMf+CaTb1L5Jpdvkvkmm2/Sefiw7/zJ1J9U/cnVn2T9ydafdA0/4AUbhclGkbJRsGwULxuFzEbhtv+B7QDSSJc02iWNeEmjXtLIlzRc97RAAAA7";
|
|
31959
31964
|
|
|
31960
|
-
var _jsxFileName$7 = "
|
|
31965
|
+
var _jsxFileName$7 = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/colorPicker/components/ColorMap.js";
|
|
31961
31966
|
const Container$7 = styled('div', {
|
|
31962
31967
|
userSelect: 'none',
|
|
31963
31968
|
margin: 'auto',
|
|
@@ -33918,7 +33923,7 @@ function ColorMap({
|
|
|
33918
33923
|
})));
|
|
33919
33924
|
}
|
|
33920
33925
|
|
|
33921
|
-
var _jsxFileName$6 = "
|
|
33926
|
+
var _jsxFileName$6 = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/colorPicker/components/ColorFields.js";
|
|
33922
33927
|
const CheckBoard = styled(Flex$1, {
|
|
33923
33928
|
background: '$bgwhite',
|
|
33924
33929
|
border: '1px solid #E5E7EB',
|
|
@@ -34119,7 +34124,7 @@ function ColorFields({
|
|
|
34119
34124
|
}, "%")));
|
|
34120
34125
|
}
|
|
34121
34126
|
|
|
34122
|
-
var _jsxFileName$5 = "
|
|
34127
|
+
var _jsxFileName$5 = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/colorPicker/ColorPicker.js";
|
|
34123
34128
|
const Container$6 = styled(Flex$1, {
|
|
34124
34129
|
background: '$white',
|
|
34125
34130
|
padding: 16,
|
|
@@ -34610,24 +34615,24 @@ function ColorPicker({
|
|
|
34610
34615
|
})))))));
|
|
34611
34616
|
}
|
|
34612
34617
|
ColorPicker.propTypes = {
|
|
34613
|
-
/**
|
|
34614
|
-
Color code to be displayed.
|
|
34618
|
+
/**
|
|
34619
|
+
Color code to be displayed.
|
|
34615
34620
|
*/
|
|
34616
34621
|
color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
34617
|
-
/**
|
|
34618
|
-
Additional color list
|
|
34622
|
+
/**
|
|
34623
|
+
Additional color list
|
|
34619
34624
|
*/
|
|
34620
34625
|
presetColors: PropTypes.array,
|
|
34621
|
-
/**
|
|
34622
|
-
Change event handler
|
|
34626
|
+
/**
|
|
34627
|
+
Change event handler
|
|
34623
34628
|
*/
|
|
34624
34629
|
onChange: PropTypes.func,
|
|
34625
|
-
/**
|
|
34626
|
-
Add preset color event handler
|
|
34630
|
+
/**
|
|
34631
|
+
Add preset color event handler
|
|
34627
34632
|
*/
|
|
34628
34633
|
onAddColor: PropTypes.func,
|
|
34629
|
-
/**
|
|
34630
|
-
Disable opacity selector
|
|
34634
|
+
/**
|
|
34635
|
+
Disable opacity selector
|
|
34631
34636
|
*/
|
|
34632
34637
|
disableAlpha: PropTypes.bool
|
|
34633
34638
|
};
|
|
@@ -34636,7 +34641,7 @@ ColorPicker.defaultProps = {
|
|
|
34636
34641
|
};
|
|
34637
34642
|
var ColorPicker$1 = ColorWrap(ColorPicker);
|
|
34638
34643
|
|
|
34639
|
-
var _jsxFileName$4 = "
|
|
34644
|
+
var _jsxFileName$4 = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/stepWizard/StepWizard.js";
|
|
34640
34645
|
const StepWizardContext = /*#__PURE__*/React__default.createContext({});
|
|
34641
34646
|
const Stepper = StepWizard$1;
|
|
34642
34647
|
Stepper.displayName = 'Stepper';
|
|
@@ -35359,7 +35364,7 @@ StepWizard.defaultProps = {
|
|
|
35359
35364
|
isLazyMount: true
|
|
35360
35365
|
};
|
|
35361
35366
|
|
|
35362
|
-
var _jsxFileName$3 = "
|
|
35367
|
+
var _jsxFileName$3 = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/tableOfContent/transition.js";
|
|
35363
35368
|
function Collapse({
|
|
35364
35369
|
children,
|
|
35365
35370
|
isOpen
|
|
@@ -35402,7 +35407,7 @@ Collapse.defaultProps = {
|
|
|
35402
35407
|
isOpen: false
|
|
35403
35408
|
};
|
|
35404
35409
|
|
|
35405
|
-
var _jsxFileName$2 = "
|
|
35410
|
+
var _jsxFileName$2 = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/tableOfContent/TableOfContent.js";
|
|
35406
35411
|
const DesktopContainer = styled(Flex$1, {
|
|
35407
35412
|
display: 'none',
|
|
35408
35413
|
'& .active-scroll-spy': {
|
|
@@ -35763,7 +35768,7 @@ TableOfContentPage.defaultProps = {
|
|
|
35763
35768
|
useBoxMethod: true
|
|
35764
35769
|
};
|
|
35765
35770
|
|
|
35766
|
-
var _jsxFileName$1 = "
|
|
35771
|
+
var _jsxFileName$1 = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/components/editableTable/transition.js";
|
|
35767
35772
|
function Collapalse({
|
|
35768
35773
|
children,
|
|
35769
35774
|
isOpen
|
|
@@ -57277,7 +57282,7 @@ PieChartComponent.defaultProps = {
|
|
|
57277
57282
|
innerRadius: 70
|
|
57278
57283
|
};
|
|
57279
57284
|
|
|
57280
|
-
var _jsxFileName = "
|
|
57285
|
+
var _jsxFileName = "/Users/hangga/sourcecode/majoo-ui/packages/react/src/colors/Colors.js";
|
|
57281
57286
|
const StyledPaper = styled(Paper, {
|
|
57282
57287
|
borderRadius: '10px 10px 0 0',
|
|
57283
57288
|
padding: 15,
|