@majoo-ui/react 1.61.16-rc.1 → 1.61.16-rc.10
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 = "E:\\Coding\\Majoo\\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.44.0',
|
|
407
407
|
mode: 'global',
|
|
408
408
|
copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru)',
|
|
409
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
409
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE',
|
|
410
410
|
source: 'https://github.com/zloirock/core-js'
|
|
411
411
|
});
|
|
412
412
|
|
|
@@ -1414,7 +1414,7 @@ const applyGlobalStyles = additionaStyles => {
|
|
|
1414
1414
|
globalStyles();
|
|
1415
1415
|
};
|
|
1416
1416
|
|
|
1417
|
-
var _jsxFileName$12 = "
|
|
1417
|
+
var _jsxFileName$12 = "E:\\Coding\\Majoo\\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 = "E:\\Coding\\Majoo\\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 = "E:\\Coding\\Majoo\\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$$ = "E:\\Coding\\Majoo\\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$_ = "E:\\Coding\\Majoo\\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 = "E:\\Coding\\Majoo\\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 = "E:\\Coding\\Majoo\\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 = "E:\\Coding\\Majoo\\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 = "E:\\Coding\\Majoo\\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 = "E:\\Coding\\Majoo\\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 = "E:\\Coding\\Majoo\\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 = "E:\\Coding\\Majoo\\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 = "E:\\Coding\\Majoo\\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 = "E:\\Coding\\Majoo\\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 = "E:\\Coding\\Majoo\\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 = "E:\\Coding\\Majoo\\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 = "E:\\Coding\\Majoo\\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 = "E:\\Coding\\Majoo\\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 = "E:\\Coding\\Majoo\\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 = "E:\\Coding\\Majoo\\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%',
|
|
@@ -8101,10 +8101,10 @@ const InputGroupStyle = styled('div', {
|
|
|
8101
8101
|
color: '$textDisable'
|
|
8102
8102
|
},
|
|
8103
8103
|
'&:hover': {
|
|
8104
|
-
border: '1px solid $
|
|
8104
|
+
border: '1px solid $bgBorder',
|
|
8105
8105
|
borderRadius: '$lg',
|
|
8106
8106
|
'& > .addon': {
|
|
8107
|
-
border: '1px solid $
|
|
8107
|
+
border: '1px solid $bgBorder'
|
|
8108
8108
|
}
|
|
8109
8109
|
},
|
|
8110
8110
|
'& > input': {
|
|
@@ -8119,12 +8119,12 @@ const InputGroupStyle = styled('div', {
|
|
|
8119
8119
|
},
|
|
8120
8120
|
isInvalid: {
|
|
8121
8121
|
true: {
|
|
8122
|
-
border: '1px solid $
|
|
8122
|
+
border: '1px solid $red400',
|
|
8123
8123
|
'&:focus': {
|
|
8124
|
-
border: '1px solid $
|
|
8124
|
+
border: '1px solid $red400'
|
|
8125
8125
|
},
|
|
8126
8126
|
'&:hover': {
|
|
8127
|
-
border: '1px solid $
|
|
8127
|
+
border: '1px solid $red400'
|
|
8128
8128
|
}
|
|
8129
8129
|
}
|
|
8130
8130
|
},
|
|
@@ -8159,15 +8159,15 @@ const InputGroupStyle = styled('div', {
|
|
|
8159
8159
|
isLetter: {
|
|
8160
8160
|
true: {
|
|
8161
8161
|
borderRadius: '$lg',
|
|
8162
|
-
border: '1px solid $
|
|
8162
|
+
border: '1px solid $bgBorder',
|
|
8163
8163
|
'&:focus': {
|
|
8164
|
-
border: '1px solid $
|
|
8164
|
+
border: '1px solid $primary400'
|
|
8165
8165
|
},
|
|
8166
8166
|
'&:active': {
|
|
8167
|
-
border: '1px solid $
|
|
8167
|
+
border: '1px solid $primary400'
|
|
8168
8168
|
},
|
|
8169
8169
|
'&:hover': {
|
|
8170
|
-
border: '1px solid $
|
|
8170
|
+
border: '1px solid $primary400'
|
|
8171
8171
|
},
|
|
8172
8172
|
'&:disabled': {
|
|
8173
8173
|
backgroundColor: '$formDisable',
|
|
@@ -8177,7 +8177,7 @@ const InputGroupStyle = styled('div', {
|
|
|
8177
8177
|
color: '$textDisable'
|
|
8178
8178
|
},
|
|
8179
8179
|
'&:hover': {
|
|
8180
|
-
border: '1px solid $
|
|
8180
|
+
border: '1px solid $gray300'
|
|
8181
8181
|
}
|
|
8182
8182
|
}
|
|
8183
8183
|
}
|
|
@@ -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 */
|
|
@@ -8369,10 +8369,19 @@ const InputLetter = styled(Text$1, {
|
|
|
8369
8369
|
lg: {
|
|
8370
8370
|
height: 40
|
|
8371
8371
|
}
|
|
8372
|
+
},
|
|
8373
|
+
color: {
|
|
8374
|
+
primary: {
|
|
8375
|
+
color: '$iconPrimary'
|
|
8376
|
+
},
|
|
8377
|
+
disabled: {
|
|
8378
|
+
color: '$iconDisable'
|
|
8379
|
+
}
|
|
8372
8380
|
}
|
|
8373
8381
|
},
|
|
8374
8382
|
defaultVariants: {
|
|
8375
|
-
size: 'lg'
|
|
8383
|
+
size: 'lg',
|
|
8384
|
+
color: 'primary'
|
|
8376
8385
|
}
|
|
8377
8386
|
});
|
|
8378
8387
|
const InputPrefix = styled(InputLetter, {
|
|
@@ -8409,7 +8418,7 @@ InputSuffix.propTypes = {
|
|
|
8409
8418
|
};
|
|
8410
8419
|
|
|
8411
8420
|
const _excluded$m = ["disabled", "readOnly"];
|
|
8412
|
-
var _jsxFileName$K = "
|
|
8421
|
+
var _jsxFileName$K = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputText\\InputText.js";
|
|
8413
8422
|
const disabledStyle = {
|
|
8414
8423
|
backgroundColor: '$formDisable',
|
|
8415
8424
|
color: '$textDisable',
|
|
@@ -8418,7 +8427,7 @@ const disabledStyle = {
|
|
|
8418
8427
|
color: '$textDisable'
|
|
8419
8428
|
},
|
|
8420
8429
|
'&:hover': {
|
|
8421
|
-
border: '1px solid $
|
|
8430
|
+
border: '1px solid $gray300'
|
|
8422
8431
|
}
|
|
8423
8432
|
};
|
|
8424
8433
|
const StyledInput$1 = styled('input', {
|
|
@@ -8448,13 +8457,13 @@ const StyledInput$1 = styled('input', {
|
|
|
8448
8457
|
border: '1px solid $gray300',
|
|
8449
8458
|
borderRadius: '$lg',
|
|
8450
8459
|
'&:focus': {
|
|
8451
|
-
border: '1px solid $
|
|
8460
|
+
border: '1px solid $primary400'
|
|
8452
8461
|
},
|
|
8453
8462
|
'&:active': {
|
|
8454
|
-
border: '1px solid $
|
|
8463
|
+
border: '1px solid $primary400'
|
|
8455
8464
|
},
|
|
8456
8465
|
'&:hover': {
|
|
8457
|
-
border: '1px solid $
|
|
8466
|
+
border: '1px solid $primary600'
|
|
8458
8467
|
},
|
|
8459
8468
|
'&:disabled': disabledStyle,
|
|
8460
8469
|
'&[data-state="readonly"]': {
|
|
@@ -8506,7 +8515,7 @@ const StyledInput$1 = styled('input', {
|
|
|
8506
8515
|
color: '$textDisable'
|
|
8507
8516
|
},
|
|
8508
8517
|
'&:hover': {
|
|
8509
|
-
border: '1px solid $
|
|
8518
|
+
border: '1px solid $gray300'
|
|
8510
8519
|
}
|
|
8511
8520
|
}
|
|
8512
8521
|
}
|
|
@@ -8539,8 +8548,8 @@ const StyledInput$1 = styled('input', {
|
|
|
8539
8548
|
}
|
|
8540
8549
|
}
|
|
8541
8550
|
},
|
|
8542
|
-
/**
|
|
8543
|
-
* Please insert size with string 'sm' | 'lg'
|
|
8551
|
+
/**
|
|
8552
|
+
* Please insert size with string 'sm' | 'lg'
|
|
8544
8553
|
*/
|
|
8545
8554
|
size: {
|
|
8546
8555
|
sm: {
|
|
@@ -8552,12 +8561,12 @@ const StyledInput$1 = styled('input', {
|
|
|
8552
8561
|
},
|
|
8553
8562
|
isInvalid: {
|
|
8554
8563
|
true: {
|
|
8555
|
-
border: '1px solid $
|
|
8564
|
+
border: '1px solid $red400',
|
|
8556
8565
|
'&:focus': {
|
|
8557
|
-
border: '1px solid $
|
|
8566
|
+
border: '1px solid $red400'
|
|
8558
8567
|
},
|
|
8559
8568
|
'&:hover': {
|
|
8560
|
-
border: '1px solid $
|
|
8569
|
+
border: '1px solid $red400'
|
|
8561
8570
|
}
|
|
8562
8571
|
}
|
|
8563
8572
|
},
|
|
@@ -8611,7 +8620,7 @@ InputText.propTypes = {
|
|
|
8611
8620
|
InputText.displayName = 'InputText';
|
|
8612
8621
|
|
|
8613
8622
|
const _excluded$l = ["disabled", "readOnly"];
|
|
8614
|
-
var _jsxFileName$J = "
|
|
8623
|
+
var _jsxFileName$J = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTextArea\\InputTextArea.js";
|
|
8615
8624
|
const StyledTextArea = styled(StyledInput$1, {
|
|
8616
8625
|
variants: {
|
|
8617
8626
|
size: {
|
|
@@ -8689,7 +8698,7 @@ InputTextArea.defaultProps = {
|
|
|
8689
8698
|
|
|
8690
8699
|
const InputRadioContext = /*#__PURE__*/React__default.createContext();
|
|
8691
8700
|
|
|
8692
|
-
var _jsxFileName$I = "
|
|
8701
|
+
var _jsxFileName$I = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadioGroup.js";
|
|
8693
8702
|
const RadioGroup = styled(RadioGroupPrimitive.Root, Flex$1);
|
|
8694
8703
|
function InputRadioGroup(props) {
|
|
8695
8704
|
return (props == null ? void 0 : props.children) && /*#__PURE__*/React__default.createElement(InputRadioContext.Provider, {
|
|
@@ -8723,7 +8732,7 @@ InputRadioGroup.propTypes = {
|
|
|
8723
8732
|
InputRadioGroup.displayName = 'InputRadioGroup';
|
|
8724
8733
|
|
|
8725
8734
|
const _excluded$k = ["id", "disabled", "css", "inputType", "inputProps", "description", "readOnly"];
|
|
8726
|
-
var _jsxFileName$H = "
|
|
8735
|
+
var _jsxFileName$H = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadio.js";
|
|
8727
8736
|
const INDICATOR_BASE_STYLES = {
|
|
8728
8737
|
alignItems: 'center',
|
|
8729
8738
|
display: 'flex',
|
|
@@ -11090,7 +11099,7 @@ var NumberFormat = /*@__PURE__*/function (superclass) {
|
|
|
11090
11099
|
NumberFormat.defaultProps = defaultProps;
|
|
11091
11100
|
|
|
11092
11101
|
const _excluded$j = ["placeholder", "value", "size", "isInvalid", "readOnly", "disabled", "control", "name", "maxValueLength", "maxLength", "thousandSeparator"];
|
|
11093
|
-
var _jsxFileName$G = "
|
|
11102
|
+
var _jsxFileName$G = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputNumber\\InputNumber.js";
|
|
11094
11103
|
const StyledInput = styled(NumberFormat, {
|
|
11095
11104
|
// Reset
|
|
11096
11105
|
appearance: 'none',
|
|
@@ -11351,7 +11360,7 @@ InputNumber.name = 'InputText';
|
|
|
11351
11360
|
InputNumber.displayName = 'InputNumber';
|
|
11352
11361
|
|
|
11353
11362
|
const _excluded$i = ["className", "children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"];
|
|
11354
|
-
var _jsxFileName$F = "
|
|
11363
|
+
var _jsxFileName$F = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\tag\\Tag.js";
|
|
11355
11364
|
const TagWrapper$4 = styled('div', {
|
|
11356
11365
|
boxSizing: 'border-box',
|
|
11357
11366
|
listStyle: 'none',
|
|
@@ -11527,7 +11536,7 @@ Tag.defaultProps = {
|
|
|
11527
11536
|
};
|
|
11528
11537
|
|
|
11529
11538
|
const _excluded$h = ["size", "isInvalid", "placeholder", "onChange", "onEnter", "onInputChange", "value", "disabled", "readOnly", "max", "maxChar", "pattern", "helperText", "unremovableTags", "onRemoveItem"];
|
|
11530
|
-
var _jsxFileName$E = "
|
|
11539
|
+
var _jsxFileName$E = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTags\\InputTags.js";
|
|
11531
11540
|
const Wrapper$2 = styled('div', {
|
|
11532
11541
|
margin: 0,
|
|
11533
11542
|
flexDirection: 'column',
|
|
@@ -11824,7 +11833,7 @@ TagsInput.defaultProps = {
|
|
|
11824
11833
|
};
|
|
11825
11834
|
|
|
11826
11835
|
const _excluded$g = ["id", "defaultChecked", "dataOnLabel", "dataOffLabel", "disabled"];
|
|
11827
|
-
var _jsxFileName$D = "
|
|
11836
|
+
var _jsxFileName$D = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSwitch\\InputSwitch.js";
|
|
11828
11837
|
const StyledThumb$1 = styled(SwitchPrimitive.Thumb, {
|
|
11829
11838
|
display: 'block',
|
|
11830
11839
|
width: '16px',
|
|
@@ -11929,7 +11938,7 @@ InputSwitch.propTypes = {
|
|
|
11929
11938
|
};
|
|
11930
11939
|
InputSwitch.displayName = 'InputSwitch';
|
|
11931
11940
|
|
|
11932
|
-
var _jsxFileName$C = "
|
|
11941
|
+
var _jsxFileName$C = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\CloseFilled.js";
|
|
11933
11942
|
const SvgCloseFilled = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
11934
11943
|
width: props.size,
|
|
11935
11944
|
height: props.size,
|
|
@@ -11988,7 +11997,7 @@ SvgCloseFilled.defaultProps = {
|
|
|
11988
11997
|
size: 24
|
|
11989
11998
|
};
|
|
11990
11999
|
|
|
11991
|
-
var _jsxFileName$B = "
|
|
12000
|
+
var _jsxFileName$B = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\SearchOutline.js";
|
|
11992
12001
|
const SvgSearchOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
11993
12002
|
width: props.size,
|
|
11994
12003
|
height: props.size,
|
|
@@ -12029,7 +12038,7 @@ SvgSearchOutline.defaultProps = {
|
|
|
12029
12038
|
};
|
|
12030
12039
|
|
|
12031
12040
|
const _excluded$f = ["size", "onChange", "css", "disabled", "withDebounce", "defaultValue", "mobileOnly", "desktopOnly"];
|
|
12032
|
-
var _jsxFileName$A = "
|
|
12041
|
+
var _jsxFileName$A = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\InputSearchbox.js";
|
|
12033
12042
|
const {
|
|
12034
12043
|
colors: colors$6
|
|
12035
12044
|
} = foundations;
|
|
@@ -12519,7 +12528,7 @@ function isFunction$1(value) {
|
|
|
12519
12528
|
var isFunction_1 = isFunction$1;
|
|
12520
12529
|
|
|
12521
12530
|
const _excluded$e = ["children"];
|
|
12522
|
-
var _jsxFileName$z = "
|
|
12531
|
+
var _jsxFileName$z = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\popover\\Popover.js";
|
|
12523
12532
|
const {
|
|
12524
12533
|
zIndices: zIndices$1
|
|
12525
12534
|
} = foundations;
|
|
@@ -14093,7 +14102,7 @@ const InputSelect = /*#__PURE__*/React.forwardRef((_a, ref) => {
|
|
|
14093
14102
|
}), void 0);
|
|
14094
14103
|
});
|
|
14095
14104
|
|
|
14096
|
-
var _jsxFileName$y = "
|
|
14105
|
+
var _jsxFileName$y = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\icon\\CheckOutline.js";
|
|
14097
14106
|
const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
14098
14107
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14099
14108
|
xmlSpace: "preserve",
|
|
@@ -14174,7 +14183,7 @@ function OptionGroupItem({
|
|
|
14174
14183
|
}
|
|
14175
14184
|
|
|
14176
14185
|
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 = "
|
|
14186
|
+
var _jsxFileName$x = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\InputSelectCheck.js";
|
|
14178
14187
|
const Wrapper$1 = styled('div', {
|
|
14179
14188
|
margin: 0,
|
|
14180
14189
|
flexDirection: 'column',
|
|
@@ -15498,7 +15507,7 @@ InputSelectCheck.defaultProps = {
|
|
|
15498
15507
|
onItemClick: changes => {}
|
|
15499
15508
|
};
|
|
15500
15509
|
|
|
15501
|
-
var _jsxFileName$w = "
|
|
15510
|
+
var _jsxFileName$w = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectTag\\InputSelectTag.js";
|
|
15502
15511
|
const InputSelectTag = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
15503
15512
|
return /*#__PURE__*/React.createElement(InputSelectCheck, _extends({
|
|
15504
15513
|
ref: ref,
|
|
@@ -15559,7 +15568,7 @@ InputSelectTag.defaultProps = {
|
|
|
15559
15568
|
defaultValue: []
|
|
15560
15569
|
};
|
|
15561
15570
|
|
|
15562
|
-
var _jsxFileName$v = "
|
|
15571
|
+
var _jsxFileName$v = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCreatable\\InputCreatable.js";
|
|
15563
15572
|
const Wrapper = styled('div', {
|
|
15564
15573
|
margin: 0,
|
|
15565
15574
|
flexDirection: 'column',
|
|
@@ -15865,9 +15874,10 @@ function InputResourceList({
|
|
|
15865
15874
|
defaultSort,
|
|
15866
15875
|
title,
|
|
15867
15876
|
hideSelectAll,
|
|
15877
|
+
renderSelectAll,
|
|
15868
15878
|
customHeader,
|
|
15869
15879
|
expandable,
|
|
15870
|
-
|
|
15880
|
+
searchable
|
|
15871
15881
|
}) {
|
|
15872
15882
|
const {
|
|
15873
15883
|
t
|
|
@@ -15906,7 +15916,7 @@ function InputResourceList({
|
|
|
15906
15916
|
}, [defaultSort]);
|
|
15907
15917
|
const availableData = useMemo(() => {
|
|
15908
15918
|
if (!data) return [];
|
|
15909
|
-
const filteredData = data.filter(item => item.label.toLowerCase().match((query === null || query === void 0 ? void 0 : query.toLowerCase()) || ''));
|
|
15919
|
+
const filteredData = data.filter(item => !!onQueryChange || item.label.toLowerCase().match((query === null || query === void 0 ? void 0 : query.toLowerCase()) || ''));
|
|
15910
15920
|
const checkedValues = new Set(checkedItems.map(item => item.value));
|
|
15911
15921
|
return [...filteredData].sort((a, b) => {
|
|
15912
15922
|
const aIsChecked = checkedValues.has(a.value);
|
|
@@ -15920,6 +15930,10 @@ function InputResourceList({
|
|
|
15920
15930
|
return 0;
|
|
15921
15931
|
});
|
|
15922
15932
|
}, [data, query, checkedItems]);
|
|
15933
|
+
const isItemDisabled = item => !!((item === null || item === void 0 ? void 0 : item.disabled) || disabledItems && disabledItems.includes(item.value));
|
|
15934
|
+
const selectableAvailableData = useMemo(() => {
|
|
15935
|
+
return availableData.filter(item => !isItemDisabled(item));
|
|
15936
|
+
}, [availableData, disabledItems]);
|
|
15923
15937
|
const renderCheckbox = (resource, index) => {
|
|
15924
15938
|
var _a, _b;
|
|
15925
15939
|
const isDisabled = resource.disabled || disabledItems && disabledItems.includes(resource.value);
|
|
@@ -16032,25 +16046,28 @@ function InputResourceList({
|
|
|
16032
16046
|
setSortType(sortType === 'asc' ? 'desc' : 'asc');
|
|
16033
16047
|
}
|
|
16034
16048
|
function toggleCheckAll() {
|
|
16035
|
-
const
|
|
16036
|
-
|
|
16037
|
-
|
|
16049
|
+
const selectable = selectableAvailableData;
|
|
16050
|
+
const allSelectableItemsSelected = selectable.length > 0 && selectable.every(item => checkedItems.some(checkedItem => checkedItem.value === item.value));
|
|
16051
|
+
if (allSelectableItemsSelected) {
|
|
16052
|
+
const newCheckedItems = checkedItems.filter(checkedItem => !selectable.some(item => item.value === checkedItem.value));
|
|
16038
16053
|
onChange === null || onChange === void 0 ? void 0 : onChange(isValueString ? newCheckedItems.map(item => item.value) : newCheckedItems);
|
|
16039
16054
|
} else {
|
|
16040
|
-
const
|
|
16055
|
+
const itemsToAdd = selectable.filter(item => !checkedItems.some(checkedItem => checkedItem.value === item.value));
|
|
16056
|
+
const newCheckedItems = [...checkedItems, ...itemsToAdd];
|
|
16041
16057
|
onChange === null || onChange === void 0 ? void 0 : onChange(isValueString ? newCheckedItems.map(item => item.value) : newCheckedItems);
|
|
16042
16058
|
}
|
|
16043
16059
|
}
|
|
16044
16060
|
function handleCheckedAllExpandable() {
|
|
16045
16061
|
const allItems = data || [];
|
|
16046
|
-
const
|
|
16062
|
+
const selectableAllItems = allItems.filter(item => !isItemDisabled(item));
|
|
16063
|
+
const allItemValues = selectableAllItems.map(i => i.value);
|
|
16047
16064
|
const currentValues = checkedItems.map(i => i.value);
|
|
16048
|
-
const areAllSelected =
|
|
16065
|
+
const areAllSelected = selectableAllItems.length > 0 && selectableAllItems.every(item => currentValues.includes(item.value));
|
|
16049
16066
|
let newCheckedItems;
|
|
16050
16067
|
if (areAllSelected) {
|
|
16051
16068
|
newCheckedItems = checkedItems.filter(item => !allItemValues.includes(item.value));
|
|
16052
16069
|
} else {
|
|
16053
|
-
const itemsToAdd =
|
|
16070
|
+
const itemsToAdd = selectableAllItems.filter(item => !currentValues.includes(item.value));
|
|
16054
16071
|
newCheckedItems = [...checkedItems, ...itemsToAdd];
|
|
16055
16072
|
}
|
|
16056
16073
|
onChange === null || onChange === void 0 ? void 0 : onChange(isValueString ? newCheckedItems.map(item => item.value) : newCheckedItems);
|
|
@@ -16060,7 +16077,7 @@ function InputResourceList({
|
|
|
16060
16077
|
position: 'relative'
|
|
16061
16078
|
}, css)
|
|
16062
16079
|
}, {
|
|
16063
|
-
children: [customHeader, onQueryChange && jsx(InputSearchbox, Object.assign({
|
|
16080
|
+
children: [customHeader, (searchable || !!onQueryChange) && jsx(InputSearchbox, Object.assign({
|
|
16064
16081
|
size: "lg",
|
|
16065
16082
|
placeholder: searchPlaceholder || t('placeholder.search', 'Cari ...'),
|
|
16066
16083
|
onChange: debounce(query => {
|
|
@@ -16077,8 +16094,8 @@ function InputResourceList({
|
|
|
16077
16094
|
}
|
|
16078
16095
|
}, {
|
|
16079
16096
|
children: [!hideSelectAll && jsx(InputCheckbox, {
|
|
16080
|
-
checked:
|
|
16081
|
-
indeterminate:
|
|
16097
|
+
checked: selectableAvailableData.length > 0 && selectableAvailableData.every(item => checkedItems.some(checkedItem => checkedItem.value === item.value)),
|
|
16098
|
+
indeterminate: selectableAvailableData.some(item => checkedItems.some(checkedItem => checkedItem.value === item.value)) && !(selectableAvailableData.length > 0 && selectableAvailableData.every(item => checkedItems.some(checkedItem => checkedItem.value === item.value))),
|
|
16082
16099
|
onCheckedChange: toggleCheckAll,
|
|
16083
16100
|
css: {
|
|
16084
16101
|
marginRight: '$spacing-02'
|
|
@@ -16101,7 +16118,7 @@ function InputResourceList({
|
|
|
16101
16118
|
css: Object.assign({
|
|
16102
16119
|
position: 'absolute',
|
|
16103
16120
|
inset: 0,
|
|
16104
|
-
top: onQueryChange ? 48 : 0,
|
|
16121
|
+
top: onQueryChange || searchable ? 48 : 0,
|
|
16105
16122
|
width: '100%',
|
|
16106
16123
|
height: 285,
|
|
16107
16124
|
backgroundColor: '$bgWhite',
|
|
@@ -16195,9 +16212,10 @@ function InputResourceList({
|
|
|
16195
16212
|
}), void 0);
|
|
16196
16213
|
if (expandable) {
|
|
16197
16214
|
const allItems = data || [];
|
|
16215
|
+
const selectableAllItems = allItems.filter(item => !isItemDisabled(item));
|
|
16198
16216
|
const checkedValues = checkedItems.map(i => i.value);
|
|
16199
|
-
const isAllSelected =
|
|
16200
|
-
const isIndeterminate = !isAllSelected &&
|
|
16217
|
+
const isAllSelected = selectableAllItems.length > 0 && selectableAllItems.every(item => checkedValues.includes(item.value));
|
|
16218
|
+
const isIndeterminate = !isAllSelected && selectableAllItems.some(item => checkedValues.includes(item.value));
|
|
16201
16219
|
return jsxs(Box, {
|
|
16202
16220
|
children: [jsxs(Flex$1, Object.assign({
|
|
16203
16221
|
justify: "between",
|
|
@@ -16678,7 +16696,7 @@ InputCounter.defaultProps = {
|
|
|
16678
16696
|
|
|
16679
16697
|
const _excluded$c = ["children"],
|
|
16680
16698
|
_excluded2$3 = ["children", "showOverlay"];
|
|
16681
|
-
var _jsxFileName$u = "
|
|
16699
|
+
var _jsxFileName$u = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\drawer\\Drawer.js";
|
|
16682
16700
|
const Context$1 = /*#__PURE__*/React__default.createContext();
|
|
16683
16701
|
const {
|
|
16684
16702
|
sizes
|
|
@@ -17028,7 +17046,7 @@ DrawerCloseButton.displayName = 'DrawerCloseButton';
|
|
|
17028
17046
|
|
|
17029
17047
|
const _excluded$b = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size", "withMaxWidth", "mobileOnly", "desktopOnly"],
|
|
17030
17048
|
_excluded2$2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
|
|
17031
|
-
var _jsxFileName$t = "
|
|
17049
|
+
var _jsxFileName$t = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\buttonGroup\\ButtonGroup.js";
|
|
17032
17050
|
const ScrollButton$1 = styled(Button$4, {
|
|
17033
17051
|
width: '28px',
|
|
17034
17052
|
outline: '$btnPrimary solid 1px',
|
|
@@ -17481,6 +17499,7 @@ const getCalendarStartYearRange = year => year - year % 100 + 1;
|
|
|
17481
17499
|
const toDateFormat = (date, locale = 'id') => moment(date).locale(locale).format('DD MMMM YYYY');
|
|
17482
17500
|
|
|
17483
17501
|
const DateNumber = styled('div', {
|
|
17502
|
+
width: '32px',
|
|
17484
17503
|
display: 'inline-flex',
|
|
17485
17504
|
alignItems: 'center',
|
|
17486
17505
|
justifyContent: 'center',
|
|
@@ -17498,14 +17517,14 @@ const DateNumber = styled('div', {
|
|
|
17498
17517
|
color: '$textGreen'
|
|
17499
17518
|
}
|
|
17500
17519
|
},
|
|
17501
|
-
neutral: {
|
|
17502
|
-
backgroundColor: 'transparent',
|
|
17503
|
-
color: 'rgba(0, 0, 0, 0.4)'
|
|
17504
|
-
},
|
|
17505
17520
|
disabled: {
|
|
17506
17521
|
backgroundColor: '$btnDisable',
|
|
17507
17522
|
color: '$textDisable'
|
|
17508
17523
|
},
|
|
17524
|
+
neutral: {
|
|
17525
|
+
backgroundColor: 'transparent',
|
|
17526
|
+
color: "$gray400"
|
|
17527
|
+
},
|
|
17509
17528
|
selected: {
|
|
17510
17529
|
backgroundColor: '$bgGreen',
|
|
17511
17530
|
color: '$white',
|
|
@@ -17557,7 +17576,7 @@ const DateNumber = styled('div', {
|
|
|
17557
17576
|
});
|
|
17558
17577
|
DateNumber.displayName = 'DateNumber';
|
|
17559
17578
|
|
|
17560
|
-
var _jsxFileName$s = "
|
|
17579
|
+
var _jsxFileName$s = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\TimePicker.js";
|
|
17561
17580
|
const Input$3 = styled('input', {
|
|
17562
17581
|
display: 'none'
|
|
17563
17582
|
});
|
|
@@ -17570,6 +17589,7 @@ const InputTime = styled('input', {
|
|
|
17570
17589
|
fontSize: 28,
|
|
17571
17590
|
color: '$textPrimary',
|
|
17572
17591
|
letterSpacing: 2,
|
|
17592
|
+
backgroundColor: '$bgWhite',
|
|
17573
17593
|
'&:read-only': {
|
|
17574
17594
|
backgroundColor: '$bgWhite'
|
|
17575
17595
|
},
|
|
@@ -17674,35 +17694,46 @@ const IconStateFull$2 = props => {
|
|
|
17674
17694
|
function handleLeave() {
|
|
17675
17695
|
setIsHover(false);
|
|
17676
17696
|
}
|
|
17677
|
-
return
|
|
17697
|
+
return /*#__PURE__*/React__default.createElement(Box, {
|
|
17698
|
+
css: {
|
|
17699
|
+
margin: 'auto',
|
|
17700
|
+
color: isHover && !props.disabled ? '$primary500' : '$iconPrimary'
|
|
17701
|
+
},
|
|
17702
|
+
__self: undefined,
|
|
17703
|
+
__source: {
|
|
17704
|
+
fileName: _jsxFileName$s,
|
|
17705
|
+
lineNumber: 135,
|
|
17706
|
+
columnNumber: 5
|
|
17707
|
+
}
|
|
17708
|
+
}, props.type === 'up' ? /*#__PURE__*/React__default.createElement(IconUp, _extends({
|
|
17678
17709
|
css: {
|
|
17679
17710
|
userSelect: 'none'
|
|
17680
17711
|
}
|
|
17681
17712
|
}, props, {
|
|
17682
|
-
color:
|
|
17713
|
+
color: "currentColor",
|
|
17683
17714
|
onMouseEnter: handleEnter,
|
|
17684
17715
|
onMouseLeave: handleLeave,
|
|
17685
17716
|
__self: undefined,
|
|
17686
17717
|
__source: {
|
|
17687
17718
|
fileName: _jsxFileName$s,
|
|
17688
|
-
lineNumber:
|
|
17689
|
-
columnNumber:
|
|
17719
|
+
lineNumber: 142,
|
|
17720
|
+
columnNumber: 9
|
|
17690
17721
|
}
|
|
17691
17722
|
})) : /*#__PURE__*/React__default.createElement(IconDown, _extends({
|
|
17692
17723
|
css: {
|
|
17693
17724
|
userSelect: 'none'
|
|
17694
17725
|
}
|
|
17695
17726
|
}, props, {
|
|
17696
|
-
color:
|
|
17727
|
+
color: "currentColor",
|
|
17697
17728
|
onMouseEnter: handleEnter,
|
|
17698
17729
|
onMouseLeave: handleLeave,
|
|
17699
17730
|
__self: undefined,
|
|
17700
17731
|
__source: {
|
|
17701
17732
|
fileName: _jsxFileName$s,
|
|
17702
|
-
lineNumber:
|
|
17703
|
-
columnNumber:
|
|
17733
|
+
lineNumber: 150,
|
|
17734
|
+
columnNumber: 9
|
|
17704
17735
|
}
|
|
17705
|
-
}));
|
|
17736
|
+
})));
|
|
17706
17737
|
};
|
|
17707
17738
|
const NativeTimePicker = ({
|
|
17708
17739
|
size,
|
|
@@ -17825,7 +17856,7 @@ const NativeTimePicker = ({
|
|
|
17825
17856
|
__self: undefined,
|
|
17826
17857
|
__source: {
|
|
17827
17858
|
fileName: _jsxFileName$s,
|
|
17828
|
-
lineNumber:
|
|
17859
|
+
lineNumber: 297,
|
|
17829
17860
|
columnNumber: 5
|
|
17830
17861
|
}
|
|
17831
17862
|
}, /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -17834,7 +17865,7 @@ const NativeTimePicker = ({
|
|
|
17834
17865
|
__self: undefined,
|
|
17835
17866
|
__source: {
|
|
17836
17867
|
fileName: _jsxFileName$s,
|
|
17837
|
-
lineNumber:
|
|
17868
|
+
lineNumber: 303,
|
|
17838
17869
|
columnNumber: 7
|
|
17839
17870
|
}
|
|
17840
17871
|
}, /*#__PURE__*/React__default.createElement(IconStateFull$2, {
|
|
@@ -17844,7 +17875,7 @@ const NativeTimePicker = ({
|
|
|
17844
17875
|
__self: undefined,
|
|
17845
17876
|
__source: {
|
|
17846
17877
|
fileName: _jsxFileName$s,
|
|
17847
|
-
lineNumber:
|
|
17878
|
+
lineNumber: 304,
|
|
17848
17879
|
columnNumber: 9
|
|
17849
17880
|
}
|
|
17850
17881
|
}), /*#__PURE__*/React__default.createElement(IconStateFull$2, {
|
|
@@ -17854,7 +17885,7 @@ const NativeTimePicker = ({
|
|
|
17854
17885
|
__self: undefined,
|
|
17855
17886
|
__source: {
|
|
17856
17887
|
fileName: _jsxFileName$s,
|
|
17857
|
-
lineNumber:
|
|
17888
|
+
lineNumber: 309,
|
|
17858
17889
|
columnNumber: 9
|
|
17859
17890
|
}
|
|
17860
17891
|
})), /*#__PURE__*/React__default.createElement(Input$3, {
|
|
@@ -17865,7 +17896,7 @@ const NativeTimePicker = ({
|
|
|
17865
17896
|
__self: undefined,
|
|
17866
17897
|
__source: {
|
|
17867
17898
|
fileName: _jsxFileName$s,
|
|
17868
|
-
lineNumber:
|
|
17899
|
+
lineNumber: 315,
|
|
17869
17900
|
columnNumber: 7
|
|
17870
17901
|
}
|
|
17871
17902
|
}), /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -17873,7 +17904,7 @@ const NativeTimePicker = ({
|
|
|
17873
17904
|
__self: undefined,
|
|
17874
17905
|
__source: {
|
|
17875
17906
|
fileName: _jsxFileName$s,
|
|
17876
|
-
lineNumber:
|
|
17907
|
+
lineNumber: 316,
|
|
17877
17908
|
columnNumber: 7
|
|
17878
17909
|
}
|
|
17879
17910
|
}, /*#__PURE__*/React__default.createElement(InputTime, {
|
|
@@ -17889,7 +17920,7 @@ const NativeTimePicker = ({
|
|
|
17889
17920
|
__self: undefined,
|
|
17890
17921
|
__source: {
|
|
17891
17922
|
fileName: _jsxFileName$s,
|
|
17892
|
-
lineNumber:
|
|
17923
|
+
lineNumber: 317,
|
|
17893
17924
|
columnNumber: 9
|
|
17894
17925
|
}
|
|
17895
17926
|
}), /*#__PURE__*/React__default.createElement(Time, {
|
|
@@ -17897,7 +17928,7 @@ const NativeTimePicker = ({
|
|
|
17897
17928
|
__self: undefined,
|
|
17898
17929
|
__source: {
|
|
17899
17930
|
fileName: _jsxFileName$s,
|
|
17900
|
-
lineNumber:
|
|
17931
|
+
lineNumber: 328,
|
|
17901
17932
|
columnNumber: 9
|
|
17902
17933
|
}
|
|
17903
17934
|
}, ":"), /*#__PURE__*/React__default.createElement(InputTime, {
|
|
@@ -17913,7 +17944,7 @@ const NativeTimePicker = ({
|
|
|
17913
17944
|
__self: undefined,
|
|
17914
17945
|
__source: {
|
|
17915
17946
|
fileName: _jsxFileName$s,
|
|
17916
|
-
lineNumber:
|
|
17947
|
+
lineNumber: 329,
|
|
17917
17948
|
columnNumber: 9
|
|
17918
17949
|
}
|
|
17919
17950
|
})), /*#__PURE__*/React__default.createElement(Flex$1, {
|
|
@@ -17922,7 +17953,7 @@ const NativeTimePicker = ({
|
|
|
17922
17953
|
__self: undefined,
|
|
17923
17954
|
__source: {
|
|
17924
17955
|
fileName: _jsxFileName$s,
|
|
17925
|
-
lineNumber:
|
|
17956
|
+
lineNumber: 341,
|
|
17926
17957
|
columnNumber: 7
|
|
17927
17958
|
}
|
|
17928
17959
|
}, /*#__PURE__*/React__default.createElement(IconStateFull$2, {
|
|
@@ -17932,7 +17963,7 @@ const NativeTimePicker = ({
|
|
|
17932
17963
|
__self: undefined,
|
|
17933
17964
|
__source: {
|
|
17934
17965
|
fileName: _jsxFileName$s,
|
|
17935
|
-
lineNumber:
|
|
17966
|
+
lineNumber: 342,
|
|
17936
17967
|
columnNumber: 9
|
|
17937
17968
|
}
|
|
17938
17969
|
}), /*#__PURE__*/React__default.createElement(IconStateFull$2, {
|
|
@@ -17942,62 +17973,62 @@ const NativeTimePicker = ({
|
|
|
17942
17973
|
__self: undefined,
|
|
17943
17974
|
__source: {
|
|
17944
17975
|
fileName: _jsxFileName$s,
|
|
17945
|
-
lineNumber:
|
|
17976
|
+
lineNumber: 347,
|
|
17946
17977
|
columnNumber: 9
|
|
17947
17978
|
}
|
|
17948
17979
|
})));
|
|
17949
17980
|
};
|
|
17950
17981
|
NativeTimePicker.propTypes = {
|
|
17951
|
-
/**
|
|
17952
|
-
Resize time picker.
|
|
17982
|
+
/**
|
|
17983
|
+
Resize time picker.
|
|
17953
17984
|
*/
|
|
17954
17985
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
17955
|
-
/**
|
|
17956
|
-
Change handler.
|
|
17986
|
+
/**
|
|
17987
|
+
Change handler.
|
|
17957
17988
|
*/
|
|
17958
17989
|
onChange: PropTypes.func,
|
|
17959
|
-
/**
|
|
17960
|
-
Time picker default value, support moment format.
|
|
17990
|
+
/**
|
|
17991
|
+
Time picker default value, support moment format.
|
|
17961
17992
|
*/
|
|
17962
17993
|
defaultValue: PropTypes.instanceOf(Date),
|
|
17963
|
-
/**
|
|
17964
|
-
Time picker value, support moment format.
|
|
17994
|
+
/**
|
|
17995
|
+
Time picker value, support moment format.
|
|
17965
17996
|
*/
|
|
17966
17997
|
value: PropTypes.instanceOf(Date),
|
|
17967
|
-
/**
|
|
17968
|
-
Disabled state.
|
|
17998
|
+
/**
|
|
17999
|
+
Disabled state.
|
|
17969
18000
|
*/
|
|
17970
18001
|
disabled: PropTypes.bool,
|
|
17971
|
-
/**
|
|
17972
|
-
Disabled hour state.
|
|
18002
|
+
/**
|
|
18003
|
+
Disabled hour state.
|
|
17973
18004
|
*/
|
|
17974
18005
|
disabledHour: PropTypes.bool,
|
|
17975
|
-
/**
|
|
17976
|
-
Disabled increase hour state.
|
|
18006
|
+
/**
|
|
18007
|
+
Disabled increase hour state.
|
|
17977
18008
|
*/
|
|
17978
18009
|
disabledHourIncrease: PropTypes.bool,
|
|
17979
|
-
/**
|
|
17980
|
-
Disabled decrease hour state.
|
|
18010
|
+
/**
|
|
18011
|
+
Disabled decrease hour state.
|
|
17981
18012
|
*/
|
|
17982
18013
|
disabledHourDecrease: PropTypes.bool,
|
|
17983
|
-
/**
|
|
17984
|
-
Disabled minute state.
|
|
18014
|
+
/**
|
|
18015
|
+
Disabled minute state.
|
|
17985
18016
|
*/
|
|
17986
18017
|
disabledMinute: PropTypes.bool,
|
|
17987
|
-
/**
|
|
17988
|
-
Disabled increase minute state.
|
|
18018
|
+
/**
|
|
18019
|
+
Disabled increase minute state.
|
|
17989
18020
|
*/
|
|
17990
18021
|
disabledMinuteIncrease: PropTypes.bool,
|
|
17991
|
-
/**
|
|
17992
|
-
Disabled decrease minute state.
|
|
18022
|
+
/**
|
|
18023
|
+
Disabled decrease minute state.
|
|
17993
18024
|
*/
|
|
17994
18025
|
disabledMinuteDecrease: PropTypes.bool,
|
|
17995
|
-
/**
|
|
17996
|
-
Specify the minimum date.
|
|
18026
|
+
/**
|
|
18027
|
+
Specify the minimum date.
|
|
17997
18028
|
*/
|
|
17998
18029
|
minDate: PropTypes.instanceOf(Date),
|
|
17999
|
-
/**
|
|
18000
|
-
Specify the maximum date.
|
|
18030
|
+
/**
|
|
18031
|
+
Specify the maximum date.
|
|
18001
18032
|
*/
|
|
18002
18033
|
maxDate: PropTypes.instanceOf(Date)
|
|
18003
18034
|
};
|
|
@@ -18027,7 +18058,7 @@ const TimePicker = ({
|
|
|
18027
18058
|
__self: undefined,
|
|
18028
18059
|
__source: {
|
|
18029
18060
|
fileName: _jsxFileName$s,
|
|
18030
|
-
lineNumber:
|
|
18061
|
+
lineNumber: 429,
|
|
18031
18062
|
columnNumber: 5
|
|
18032
18063
|
}
|
|
18033
18064
|
}, /*#__PURE__*/React__default.createElement(NativeTimePicker, {
|
|
@@ -18047,73 +18078,73 @@ const TimePicker = ({
|
|
|
18047
18078
|
__self: undefined,
|
|
18048
18079
|
__source: {
|
|
18049
18080
|
fileName: _jsxFileName$s,
|
|
18050
|
-
lineNumber:
|
|
18081
|
+
lineNumber: 430,
|
|
18051
18082
|
columnNumber: 7
|
|
18052
18083
|
}
|
|
18053
18084
|
}));
|
|
18054
18085
|
};
|
|
18055
18086
|
TimePicker.displayName = 'TimePicker';
|
|
18056
18087
|
TimePicker.propTypes = {
|
|
18057
|
-
/**
|
|
18058
|
-
Additional styles.
|
|
18088
|
+
/**
|
|
18089
|
+
Additional styles.
|
|
18059
18090
|
*/
|
|
18060
18091
|
css: PropTypes.object,
|
|
18061
|
-
/**
|
|
18062
|
-
Resize time picker.
|
|
18092
|
+
/**
|
|
18093
|
+
Resize time picker.
|
|
18063
18094
|
*/
|
|
18064
18095
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
18065
|
-
/**
|
|
18066
|
-
Change handler.
|
|
18096
|
+
/**
|
|
18097
|
+
Change handler.
|
|
18067
18098
|
*/
|
|
18068
18099
|
onChange: PropTypes.func,
|
|
18069
|
-
/**
|
|
18070
|
-
Time picker default value, support moment format.
|
|
18100
|
+
/**
|
|
18101
|
+
Time picker default value, support moment format.
|
|
18071
18102
|
*/
|
|
18072
18103
|
defaultValue: PropTypes.instanceOf(Date),
|
|
18073
|
-
/**
|
|
18074
|
-
Time picker value, support moment format.
|
|
18104
|
+
/**
|
|
18105
|
+
Time picker value, support moment format.
|
|
18075
18106
|
*/
|
|
18076
18107
|
value: PropTypes.instanceOf(Date),
|
|
18077
|
-
/**
|
|
18078
|
-
Disabled state.
|
|
18108
|
+
/**
|
|
18109
|
+
Disabled state.
|
|
18079
18110
|
*/
|
|
18080
18111
|
disabled: PropTypes.bool,
|
|
18081
|
-
/**
|
|
18082
|
-
Disabled hour state.
|
|
18112
|
+
/**
|
|
18113
|
+
Disabled hour state.
|
|
18083
18114
|
*/
|
|
18084
18115
|
disabledHour: PropTypes.bool,
|
|
18085
|
-
/**
|
|
18086
|
-
Disabled increase hour state.
|
|
18116
|
+
/**
|
|
18117
|
+
Disabled increase hour state.
|
|
18087
18118
|
*/
|
|
18088
18119
|
disabledHourIncrease: PropTypes.bool,
|
|
18089
|
-
/**
|
|
18090
|
-
Disabled decrease hour state.
|
|
18120
|
+
/**
|
|
18121
|
+
Disabled decrease hour state.
|
|
18091
18122
|
*/
|
|
18092
18123
|
disabledHourDecrease: PropTypes.bool,
|
|
18093
|
-
/**
|
|
18094
|
-
Disabled minute state.
|
|
18124
|
+
/**
|
|
18125
|
+
Disabled minute state.
|
|
18095
18126
|
*/
|
|
18096
18127
|
disabledMinute: PropTypes.bool,
|
|
18097
|
-
/**
|
|
18098
|
-
Disabled increase minute state.
|
|
18128
|
+
/**
|
|
18129
|
+
Disabled increase minute state.
|
|
18099
18130
|
*/
|
|
18100
18131
|
disabledMinuteIncrease: PropTypes.bool,
|
|
18101
|
-
/**
|
|
18102
|
-
Disabled decrease minute state.
|
|
18132
|
+
/**
|
|
18133
|
+
Disabled decrease minute state.
|
|
18103
18134
|
*/
|
|
18104
18135
|
disabledMinuteDecrease: PropTypes.bool,
|
|
18105
|
-
/**
|
|
18106
|
-
Specify the minimum date.
|
|
18136
|
+
/**
|
|
18137
|
+
Specify the minimum date.
|
|
18107
18138
|
*/
|
|
18108
18139
|
minDate: PropTypes.instanceOf(Date),
|
|
18109
|
-
/**
|
|
18110
|
-
Specify the maximum date.
|
|
18140
|
+
/**
|
|
18141
|
+
Specify the maximum date.
|
|
18111
18142
|
*/
|
|
18112
18143
|
maxDate: PropTypes.instanceOf(Date)
|
|
18113
18144
|
};
|
|
18114
18145
|
NativeTimePicker.displayName = 'NativeTimePicker';
|
|
18115
18146
|
|
|
18116
|
-
var _jsxFileName$r = "
|
|
18147
|
+
var _jsxFileName$r = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\InputTimePicker.js";
|
|
18117
18148
|
const getInputPickerValue$1 = date => {
|
|
18118
18149
|
if (!date) return;
|
|
18119
18150
|
return moment(date).format('HH:mm');
|
|
@@ -18160,13 +18191,14 @@ function InputTimePicker({
|
|
|
18160
18191
|
columnNumber: 5
|
|
18161
18192
|
}
|
|
18162
18193
|
}, /*#__PURE__*/React__default.createElement(InputLeftElement, {
|
|
18194
|
+
color: disabled ? 'disabled' : 'primary',
|
|
18163
18195
|
children: /*#__PURE__*/React__default.createElement(TimeOutline, {
|
|
18164
|
-
color:
|
|
18196
|
+
color: "currentColor",
|
|
18165
18197
|
__self: this,
|
|
18166
18198
|
__source: {
|
|
18167
18199
|
fileName: _jsxFileName$r,
|
|
18168
|
-
lineNumber:
|
|
18169
|
-
columnNumber:
|
|
18200
|
+
lineNumber: 51,
|
|
18201
|
+
columnNumber: 19
|
|
18170
18202
|
}
|
|
18171
18203
|
}),
|
|
18172
18204
|
__self: this,
|
|
@@ -18188,7 +18220,7 @@ function InputTimePicker({
|
|
|
18188
18220
|
__self: this,
|
|
18189
18221
|
__source: {
|
|
18190
18222
|
fileName: _jsxFileName$r,
|
|
18191
|
-
lineNumber:
|
|
18223
|
+
lineNumber: 53,
|
|
18192
18224
|
columnNumber: 7
|
|
18193
18225
|
}
|
|
18194
18226
|
}));
|
|
@@ -18212,7 +18244,7 @@ function InputTimePicker({
|
|
|
18212
18244
|
__self: this,
|
|
18213
18245
|
__source: {
|
|
18214
18246
|
fileName: _jsxFileName$r,
|
|
18215
|
-
lineNumber:
|
|
18247
|
+
lineNumber: 67,
|
|
18216
18248
|
columnNumber: 5
|
|
18217
18249
|
}
|
|
18218
18250
|
});
|
|
@@ -18228,7 +18260,7 @@ function InputTimePicker({
|
|
|
18228
18260
|
__self: this,
|
|
18229
18261
|
__source: {
|
|
18230
18262
|
fileName: _jsxFileName$r,
|
|
18231
|
-
lineNumber:
|
|
18263
|
+
lineNumber: 86,
|
|
18232
18264
|
columnNumber: 5
|
|
18233
18265
|
}
|
|
18234
18266
|
}, disabled || readOnly ? /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -18236,14 +18268,14 @@ function InputTimePicker({
|
|
|
18236
18268
|
__self: this,
|
|
18237
18269
|
__source: {
|
|
18238
18270
|
fileName: _jsxFileName$r,
|
|
18239
|
-
lineNumber:
|
|
18271
|
+
lineNumber: 97,
|
|
18240
18272
|
columnNumber: 9
|
|
18241
18273
|
}
|
|
18242
18274
|
}, renderInputGroup()) : /*#__PURE__*/React__default.createElement(PopoverTrigger, {
|
|
18243
18275
|
__self: this,
|
|
18244
18276
|
__source: {
|
|
18245
18277
|
fileName: _jsxFileName$r,
|
|
18246
|
-
lineNumber:
|
|
18278
|
+
lineNumber: 99,
|
|
18247
18279
|
columnNumber: 9
|
|
18248
18280
|
}
|
|
18249
18281
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -18251,7 +18283,7 @@ function InputTimePicker({
|
|
|
18251
18283
|
__self: this,
|
|
18252
18284
|
__source: {
|
|
18253
18285
|
fileName: _jsxFileName$r,
|
|
18254
|
-
lineNumber:
|
|
18286
|
+
lineNumber: 100,
|
|
18255
18287
|
columnNumber: 11
|
|
18256
18288
|
}
|
|
18257
18289
|
}, renderInputGroup())), /*#__PURE__*/React__default.createElement(PopoverContent, {
|
|
@@ -18259,7 +18291,7 @@ function InputTimePicker({
|
|
|
18259
18291
|
__self: this,
|
|
18260
18292
|
__source: {
|
|
18261
18293
|
fileName: _jsxFileName$r,
|
|
18262
|
-
lineNumber:
|
|
18294
|
+
lineNumber: 103,
|
|
18263
18295
|
columnNumber: 7
|
|
18264
18296
|
}
|
|
18265
18297
|
}, renderTimePicker({
|
|
@@ -18271,88 +18303,88 @@ InputTimePicker.defaultProps = {
|
|
|
18271
18303
|
placeholder: 'Select Time'
|
|
18272
18304
|
};
|
|
18273
18305
|
InputTimePicker.propTypes = {
|
|
18274
|
-
/**
|
|
18275
|
-
Additional styles.
|
|
18306
|
+
/**
|
|
18307
|
+
Additional styles.
|
|
18276
18308
|
*/
|
|
18277
18309
|
css: PropTypes.object,
|
|
18278
|
-
/**
|
|
18279
|
-
Disabled state.
|
|
18310
|
+
/**
|
|
18311
|
+
Disabled state.
|
|
18280
18312
|
*/
|
|
18281
18313
|
disabled: PropTypes.bool,
|
|
18282
|
-
/**
|
|
18283
|
-
Disabled hour state.
|
|
18314
|
+
/**
|
|
18315
|
+
Disabled hour state.
|
|
18284
18316
|
*/
|
|
18285
18317
|
disabledHour: PropTypes.bool,
|
|
18286
|
-
/**
|
|
18287
|
-
Disabled increase hour state.
|
|
18318
|
+
/**
|
|
18319
|
+
Disabled increase hour state.
|
|
18288
18320
|
*/
|
|
18289
18321
|
disabledHourIncrease: PropTypes.bool,
|
|
18290
|
-
/**
|
|
18291
|
-
Disabled decrease hour state.
|
|
18322
|
+
/**
|
|
18323
|
+
Disabled decrease hour state.
|
|
18292
18324
|
*/
|
|
18293
18325
|
disabledHourDecrease: PropTypes.bool,
|
|
18294
|
-
/**
|
|
18295
|
-
Disabled minute state.
|
|
18326
|
+
/**
|
|
18327
|
+
Disabled minute state.
|
|
18296
18328
|
*/
|
|
18297
18329
|
disabledMinute: PropTypes.bool,
|
|
18298
|
-
/**
|
|
18299
|
-
Disabled increase minute state.
|
|
18330
|
+
/**
|
|
18331
|
+
Disabled increase minute state.
|
|
18300
18332
|
*/
|
|
18301
18333
|
disabledMinuteIncrease: PropTypes.bool,
|
|
18302
|
-
/**
|
|
18303
|
-
Disabled decrease minute state.
|
|
18334
|
+
/**
|
|
18335
|
+
Disabled decrease minute state.
|
|
18304
18336
|
*/
|
|
18305
18337
|
disabledMinuteDecrease: PropTypes.bool,
|
|
18306
|
-
/**
|
|
18307
|
-
ReadOnly state.
|
|
18338
|
+
/**
|
|
18339
|
+
ReadOnly state.
|
|
18308
18340
|
*/
|
|
18309
18341
|
readOnly: PropTypes.bool,
|
|
18310
|
-
/**
|
|
18311
|
-
Resize time picker.
|
|
18342
|
+
/**
|
|
18343
|
+
Resize time picker.
|
|
18312
18344
|
*/
|
|
18313
18345
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
18314
|
-
/**
|
|
18315
|
-
Custom placeholder input time picker.
|
|
18346
|
+
/**
|
|
18347
|
+
Custom placeholder input time picker.
|
|
18316
18348
|
*/
|
|
18317
18349
|
placeholder: PropTypes.string,
|
|
18318
|
-
/**
|
|
18319
|
-
Time picker default value, support moment format.
|
|
18350
|
+
/**
|
|
18351
|
+
Time picker default value, support moment format.
|
|
18320
18352
|
*/
|
|
18321
18353
|
defaultValue: PropTypes.instanceOf(Date),
|
|
18322
|
-
/**
|
|
18323
|
-
Time picker value, support moment format.
|
|
18354
|
+
/**
|
|
18355
|
+
Time picker value, support moment format.
|
|
18324
18356
|
*/
|
|
18325
18357
|
value: PropTypes.instanceOf(Date),
|
|
18326
|
-
/**
|
|
18327
|
-
Change handler.
|
|
18358
|
+
/**
|
|
18359
|
+
Change handler.
|
|
18328
18360
|
*/
|
|
18329
18361
|
onChange: PropTypes.func,
|
|
18330
|
-
/**
|
|
18331
|
-
Placement popover input time picker.
|
|
18362
|
+
/**
|
|
18363
|
+
Placement popover input time picker.
|
|
18332
18364
|
*/
|
|
18333
18365
|
placement: PropTypes.string,
|
|
18334
|
-
/**
|
|
18335
|
-
Specify the minimum date.
|
|
18366
|
+
/**
|
|
18367
|
+
Specify the minimum date.
|
|
18336
18368
|
*/
|
|
18337
18369
|
minDate: PropTypes.instanceOf(Date),
|
|
18338
|
-
/**
|
|
18339
|
-
Specify the maximum date.
|
|
18370
|
+
/**
|
|
18371
|
+
Specify the maximum date.
|
|
18340
18372
|
*/
|
|
18341
18373
|
maxDate: PropTypes.instanceOf(Date),
|
|
18342
|
-
/**
|
|
18343
|
-
* Invalid state input.
|
|
18374
|
+
/**
|
|
18375
|
+
* Invalid state input.
|
|
18344
18376
|
*/
|
|
18345
18377
|
isInvalid: PropTypes.bool,
|
|
18346
|
-
/**
|
|
18347
|
-
If true, the component will rendered on portal element
|
|
18378
|
+
/**
|
|
18379
|
+
If true, the component will rendered on portal element
|
|
18348
18380
|
*/
|
|
18349
18381
|
portalled: PropTypes.bool,
|
|
18350
|
-
/**
|
|
18351
|
-
Additional TimePicker styles.
|
|
18382
|
+
/**
|
|
18383
|
+
Additional TimePicker styles.
|
|
18352
18384
|
*/
|
|
18353
18385
|
contentCss: PropTypes.object,
|
|
18354
|
-
/**
|
|
18355
|
-
Input open change callback.
|
|
18386
|
+
/**
|
|
18387
|
+
Input open change callback.
|
|
18356
18388
|
*/
|
|
18357
18389
|
onInputOpenChange: PropTypes.func
|
|
18358
18390
|
};
|
|
@@ -18542,7 +18574,7 @@ const ArrowButton$1 = styled('button', {
|
|
|
18542
18574
|
},
|
|
18543
18575
|
'&:active': {
|
|
18544
18576
|
backgroundColor: '$bgGreen',
|
|
18545
|
-
color: '$
|
|
18577
|
+
color: '$bgWhite'
|
|
18546
18578
|
},
|
|
18547
18579
|
cursor: 'pointer',
|
|
18548
18580
|
'&:disabled': {
|
|
@@ -18572,7 +18604,7 @@ const CalenderBoxContainer = styled(Box, {
|
|
|
18572
18604
|
flexDirection: 'column',
|
|
18573
18605
|
boxShadow: '0px 4px 8px rgba(0, 0, 0, 0.12)',
|
|
18574
18606
|
borderRadius: '$lg',
|
|
18575
|
-
backgroundColor: '$
|
|
18607
|
+
backgroundColor: '$bgWhite',
|
|
18576
18608
|
padding: '$spacing-03'
|
|
18577
18609
|
});
|
|
18578
18610
|
const CalendarItemContainer$1 = styled(Flex$1, {});
|
|
@@ -18598,7 +18630,7 @@ const TitleButton$1 = styled('p', {
|
|
|
18598
18630
|
},
|
|
18599
18631
|
'&:active': {
|
|
18600
18632
|
backgroundColor: '$bgGreen',
|
|
18601
|
-
color: '$
|
|
18633
|
+
color: '$bgWhite'
|
|
18602
18634
|
},
|
|
18603
18635
|
cursor: 'pointer',
|
|
18604
18636
|
'&:disabled': {
|
|
@@ -18631,7 +18663,7 @@ const MonthButton$1 = styled(Text$1, {
|
|
|
18631
18663
|
},
|
|
18632
18664
|
'&:active': {
|
|
18633
18665
|
backgroundColor: '$bgGreen',
|
|
18634
|
-
color: '$
|
|
18666
|
+
color: '$bgWhite'
|
|
18635
18667
|
},
|
|
18636
18668
|
'&:disabled': {
|
|
18637
18669
|
backgroundColor: '$btnDisable',
|
|
@@ -18642,7 +18674,7 @@ const MonthButton$1 = styled(Text$1, {
|
|
|
18642
18674
|
isSelected: {
|
|
18643
18675
|
true: {
|
|
18644
18676
|
backgroundColor: '$bgGreen',
|
|
18645
|
-
color: '$
|
|
18677
|
+
color: '$bgWhite'
|
|
18646
18678
|
}
|
|
18647
18679
|
}
|
|
18648
18680
|
}
|
|
@@ -20462,7 +20494,9 @@ function InputDatePicker({
|
|
|
20462
20494
|
desktopOnly: desktopOnly
|
|
20463
20495
|
}, {
|
|
20464
20496
|
children: [jsx(InputLeftElement, {
|
|
20465
|
-
children: jsx(CalendarOutline, {
|
|
20497
|
+
children: jsx(CalendarOutline, {
|
|
20498
|
+
color: "currentColor"
|
|
20499
|
+
}, void 0)
|
|
20466
20500
|
}, void 0), jsx(InputText, {
|
|
20467
20501
|
placeholder: placeholder || t('datePickerPlaceholder', 'Pilih Tanggal'),
|
|
20468
20502
|
value: getInputPickerValue(type, selectedDate, showTimePicker),
|
|
@@ -20968,7 +21002,7 @@ function InputSignature({
|
|
|
20968
21002
|
}
|
|
20969
21003
|
|
|
20970
21004
|
const _excluded$a = ["className", "defaultValue", "value", "name", "disabled", "orientation", "dir", "min", "max", "step", "onValueChange", "minStepsBetweenThumbs", "color", "size", "width", "height"];
|
|
20971
|
-
var _jsxFileName$q = "
|
|
21005
|
+
var _jsxFileName$q = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\slider\\Slider.js";
|
|
20972
21006
|
const StyledSlider = styled$1(SliderPrimitive.Root, {
|
|
20973
21007
|
position: 'relative',
|
|
20974
21008
|
display: 'flex',
|
|
@@ -21312,7 +21346,7 @@ Slider.defaultProps = {
|
|
|
21312
21346
|
};
|
|
21313
21347
|
|
|
21314
21348
|
const _excluded$9 = ["className", "children", "onClick", "type", "size"];
|
|
21315
|
-
var _jsxFileName$p = "
|
|
21349
|
+
var _jsxFileName$p = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\tagStatus\\TagStatus.js";
|
|
21316
21350
|
const TagWrapper$1 = styled('div', {
|
|
21317
21351
|
boxSizing: 'border-box',
|
|
21318
21352
|
fontSize: '12px',
|
|
@@ -21475,7 +21509,7 @@ const _excluded$8 = ["children"],
|
|
|
21475
21509
|
_excluded2$1 = ["children", "activeTabs"],
|
|
21476
21510
|
_excluded3$1 = ["children", "icon", "activeTabs", "value"],
|
|
21477
21511
|
_excluded4 = ["activeTabs"];
|
|
21478
|
-
var _jsxFileName$o = "
|
|
21512
|
+
var _jsxFileName$o = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\tabs\\Tabs.js";
|
|
21479
21513
|
const StyledTabs = styled(TabsPrimitive.Root, {
|
|
21480
21514
|
display: 'flex',
|
|
21481
21515
|
flexDirection: 'column',
|
|
@@ -21512,7 +21546,7 @@ const StyledList = styled(TabsPrimitive.List, {
|
|
|
21512
21546
|
const StyledTrigger$1 = styled(TabsPrimitive.Trigger, {
|
|
21513
21547
|
all: 'unset',
|
|
21514
21548
|
fontFamily: 'inherit',
|
|
21515
|
-
backgroundColor: '
|
|
21549
|
+
backgroundColor: '$bgWhite ',
|
|
21516
21550
|
padding: '0 20px',
|
|
21517
21551
|
height: 60,
|
|
21518
21552
|
flex: 1,
|
|
@@ -21570,7 +21604,7 @@ const StyledTrigger$1 = styled(TabsPrimitive.Trigger, {
|
|
|
21570
21604
|
const StyledContent$2 = styled(TabsPrimitive.Content, {
|
|
21571
21605
|
flexGrow: 1,
|
|
21572
21606
|
borderRadius: '$lg',
|
|
21573
|
-
backgroundColor: '$
|
|
21607
|
+
backgroundColor: '$bgWhite ',
|
|
21574
21608
|
outline: 'none',
|
|
21575
21609
|
boxShadow: '$medium'
|
|
21576
21610
|
});
|
|
@@ -21814,7 +21848,7 @@ TabsContent$1.propTypes = {
|
|
|
21814
21848
|
};
|
|
21815
21849
|
|
|
21816
21850
|
const _excluded$7 = ["children", "variantIcon"];
|
|
21817
|
-
var _jsxFileName$n = "
|
|
21851
|
+
var _jsxFileName$n = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\notificationBadge\\NotificationBadge.js";
|
|
21818
21852
|
const NotificationBadgeRootStyle = styled('span', {
|
|
21819
21853
|
position: 'relative',
|
|
21820
21854
|
display: 'inline-flex',
|
|
@@ -21969,7 +22003,7 @@ NotificationBadge.propTypes = {
|
|
|
21969
22003
|
};
|
|
21970
22004
|
|
|
21971
22005
|
const _excluded$6 = ["className", "children", "radius", "padding", "width", "height"];
|
|
21972
|
-
var _jsxFileName$m = "
|
|
22006
|
+
var _jsxFileName$m = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\paper\\Paper.js";
|
|
21973
22007
|
const PaperComponent = styled('div', {
|
|
21974
22008
|
padding: '20px',
|
|
21975
22009
|
height: 'auto',
|
|
@@ -22222,7 +22256,7 @@ const removeUndefinedFields = obj => {
|
|
|
22222
22256
|
};
|
|
22223
22257
|
|
|
22224
22258
|
const _excluded$5 = ["isActive", "onClick"];
|
|
22225
|
-
var _jsxFileName$l = "
|
|
22259
|
+
var _jsxFileName$l = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationButton.js";
|
|
22226
22260
|
const PrevNextButton = styled(Text$1, {
|
|
22227
22261
|
padding: '$spacing-01',
|
|
22228
22262
|
cursor: 'pointer',
|
|
@@ -22716,7 +22750,7 @@ const PaginationButton = ({
|
|
|
22716
22750
|
};
|
|
22717
22751
|
|
|
22718
22752
|
const _excluded$4 = ["limits", "selectedLimit", "currentPage", "totalData", "onChange"];
|
|
22719
|
-
var _jsxFileName$k = "
|
|
22753
|
+
var _jsxFileName$k = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationInfo.js";
|
|
22720
22754
|
const LimitContainer = styled(Flex$1, {
|
|
22721
22755
|
cursor: 'pointer'
|
|
22722
22756
|
});
|
|
@@ -22951,7 +22985,7 @@ function PaginationInfo(_ref) {
|
|
|
22951
22985
|
}
|
|
22952
22986
|
|
|
22953
22987
|
const _excluded$3 = ["limit", "currentPage", "totalData", "totalPage", "hideDataInfo", "onLimitChange", "onPageChange", "rowsPerPageOptions", "hidePagination", "hideInputPageSection"];
|
|
22954
|
-
var _jsxFileName$j = "
|
|
22988
|
+
var _jsxFileName$j = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\Pagination.js";
|
|
22955
22989
|
function Pagination(_ref) {
|
|
22956
22990
|
let {
|
|
22957
22991
|
limit,
|
|
@@ -23825,7 +23859,7 @@ const ScrollSyncNode = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
23825
23859
|
});
|
|
23826
23860
|
ScrollSyncNode.displayName = 'ScrollSyncNode';
|
|
23827
23861
|
|
|
23828
|
-
var _jsxFileName$i = "
|
|
23862
|
+
var _jsxFileName$i = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowDraggableColumn.js";
|
|
23829
23863
|
const DragHandle = SortableHandle(() => /*#__PURE__*/React__default.createElement(IconButton, {
|
|
23830
23864
|
icon: true,
|
|
23831
23865
|
size: "xs",
|
|
@@ -25321,7 +25355,7 @@ const TableColumn = _a => {
|
|
|
25321
25355
|
return jsx("div", {}, void 0);
|
|
25322
25356
|
};
|
|
25323
25357
|
|
|
25324
|
-
var _jsxFileName$h = "
|
|
25358
|
+
var _jsxFileName$h = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\DateColumn.js";
|
|
25325
25359
|
const DateColumn = ({
|
|
25326
25360
|
value,
|
|
25327
25361
|
customFormat
|
|
@@ -25433,7 +25467,7 @@ const PriceColumn = props => {
|
|
|
25433
25467
|
return addThousandSeparator(param);
|
|
25434
25468
|
};
|
|
25435
25469
|
|
|
25436
|
-
var _jsxFileName$g = "
|
|
25470
|
+
var _jsxFileName$g = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowExpanderColumn.js";
|
|
25437
25471
|
const rowExpanderColumn = {
|
|
25438
25472
|
id: 'expander',
|
|
25439
25473
|
Header: () => null,
|
|
@@ -25476,7 +25510,7 @@ const rowExpanderColumn = {
|
|
|
25476
25510
|
unsortable: true
|
|
25477
25511
|
};
|
|
25478
25512
|
|
|
25479
|
-
var _jsxFileName$f = "
|
|
25513
|
+
var _jsxFileName$f = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowExpanderMultipleColumn.js";
|
|
25480
25514
|
const rowExpanderMultipleColumn = {
|
|
25481
25515
|
id: 'multiple-expander',
|
|
25482
25516
|
Header: () => null,
|
|
@@ -25512,7 +25546,7 @@ const rowExpanderMultipleColumn = {
|
|
|
25512
25546
|
unsortable: true
|
|
25513
25547
|
};
|
|
25514
25548
|
|
|
25515
|
-
var _jsxFileName$e = "
|
|
25549
|
+
var _jsxFileName$e = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowMenuColumn.js";
|
|
25516
25550
|
const rowMenuColumn = (options, icon, config) => ({
|
|
25517
25551
|
id: 'menu',
|
|
25518
25552
|
options,
|
|
@@ -25649,7 +25683,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
25649
25683
|
unsortable: true
|
|
25650
25684
|
});
|
|
25651
25685
|
|
|
25652
|
-
var _jsxFileName$d = "
|
|
25686
|
+
var _jsxFileName$d = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowSelectionColumn.js";
|
|
25653
25687
|
const rowSelectionColumn = {
|
|
25654
25688
|
id: 'selection',
|
|
25655
25689
|
Header: ({
|
|
@@ -25698,7 +25732,7 @@ const rowSelectionColumn = {
|
|
|
25698
25732
|
unsortable: true
|
|
25699
25733
|
};
|
|
25700
25734
|
|
|
25701
|
-
var _jsxFileName$c = "
|
|
25735
|
+
var _jsxFileName$c = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowSelectionCallbackColumn.js";
|
|
25702
25736
|
const rowSelectionWithCallbackColumn = (onCheckedChange, onAllCheckedChange) => ({
|
|
25703
25737
|
id: 'selection',
|
|
25704
25738
|
Header: ({
|
|
@@ -26036,7 +26070,7 @@ PageDialog.defaultProps = {
|
|
|
26036
26070
|
};
|
|
26037
26071
|
|
|
26038
26072
|
const _excluded$2 = ["children"];
|
|
26039
|
-
var _jsxFileName$b = "
|
|
26073
|
+
var _jsxFileName$b = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\alertDialog\\AlertDialog.js";
|
|
26040
26074
|
const overlayShow = keyframes({
|
|
26041
26075
|
'0%': {
|
|
26042
26076
|
opacity: 0
|
|
@@ -26671,7 +26705,7 @@ const AlertDialogConfirm = ADialog.Action;
|
|
|
26671
26705
|
const _excluded$1 = ["side", "align", "children"],
|
|
26672
26706
|
_excluded2 = ["children"],
|
|
26673
26707
|
_excluded3 = ["asChild"];
|
|
26674
|
-
var _jsxFileName$a = "
|
|
26708
|
+
var _jsxFileName$a = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\dropdownMenu\\DropdownMenu.js";
|
|
26675
26709
|
const Context = /*#__PURE__*/React__default.createContext();
|
|
26676
26710
|
const slideUpAndFade = keyframes({
|
|
26677
26711
|
'0%': {
|
|
@@ -28951,7 +28985,7 @@ function imgPreview(image, crop, scale = 1, rotate = 0, ratio, type) {
|
|
|
28951
28985
|
}
|
|
28952
28986
|
|
|
28953
28987
|
const _excluded = ["customPreviewIcon"];
|
|
28954
|
-
var _jsxFileName$9 = "
|
|
28988
|
+
var _jsxFileName$9 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\upload\\Upload.js";
|
|
28955
28989
|
const Input$2 = styled('input', {
|
|
28956
28990
|
display: 'none !important'
|
|
28957
28991
|
});
|
|
@@ -30157,159 +30191,159 @@ Upload.defaultProps = {
|
|
|
30157
30191
|
maxWidthOrHeight: 1024
|
|
30158
30192
|
};
|
|
30159
30193
|
Upload.propTypes = {
|
|
30160
|
-
/**
|
|
30161
|
-
Placeholder label of upload.
|
|
30194
|
+
/**
|
|
30195
|
+
Placeholder label of upload.
|
|
30162
30196
|
*/
|
|
30163
30197
|
placeholder: PropTypes.string,
|
|
30164
|
-
/**
|
|
30165
|
-
Disabled state of upload.
|
|
30198
|
+
/**
|
|
30199
|
+
Disabled state of upload.
|
|
30166
30200
|
*/
|
|
30167
30201
|
disabled: PropTypes.bool,
|
|
30168
|
-
/**
|
|
30169
|
-
Built-in stylesheets, support for two types.
|
|
30202
|
+
/**
|
|
30203
|
+
Built-in stylesheets, support for two types.
|
|
30170
30204
|
*/
|
|
30171
30205
|
listType: PropTypes.oneOf(['file', 'picture']),
|
|
30172
|
-
/**
|
|
30173
|
-
Whether to support selected multiple file.
|
|
30206
|
+
/**
|
|
30207
|
+
Whether to support selected multiple file.
|
|
30174
30208
|
*/
|
|
30175
30209
|
multiple: PropTypes.bool,
|
|
30176
|
-
/**
|
|
30177
|
-
List of files to be uploaded.
|
|
30210
|
+
/**
|
|
30211
|
+
List of files to be uploaded.
|
|
30178
30212
|
*/
|
|
30179
30213
|
fileList: PropTypes.array,
|
|
30180
|
-
/**
|
|
30181
|
-
A callback function, can be executed when uploading state is changing.
|
|
30214
|
+
/**
|
|
30215
|
+
A callback function, can be executed when uploading state is changing.
|
|
30182
30216
|
*/
|
|
30183
30217
|
onChange: PropTypes.func,
|
|
30184
|
-
/**
|
|
30185
|
-
A callback function, can be executed when uploading in progress.
|
|
30186
|
-
`(progress) => void`
|
|
30218
|
+
/**
|
|
30219
|
+
A callback function, can be executed when uploading in progress.
|
|
30220
|
+
`(progress) => void`
|
|
30187
30221
|
*/
|
|
30188
30222
|
onProgress: PropTypes.func,
|
|
30189
|
-
/**
|
|
30190
|
-
A callback function, can be executed when uploading is success.
|
|
30191
|
-
`(response) => void`
|
|
30223
|
+
/**
|
|
30224
|
+
A callback function, can be executed when uploading is success.
|
|
30225
|
+
`(response) => void`
|
|
30192
30226
|
*/
|
|
30193
30227
|
onSuccess: PropTypes.func,
|
|
30194
|
-
/**
|
|
30195
|
-
A callback function, can be executed when uploading is error.
|
|
30196
|
-
`(error, response) => void`
|
|
30228
|
+
/**
|
|
30229
|
+
A callback function, can be executed when uploading is error.
|
|
30230
|
+
`(error, response) => void`
|
|
30197
30231
|
*/
|
|
30198
30232
|
onError: PropTypes.func,
|
|
30199
|
-
/**
|
|
30200
|
-
A callback function, can be executed when preview icon in picture type is clicked.
|
|
30233
|
+
/**
|
|
30234
|
+
A callback function, can be executed when preview icon in picture type is clicked.
|
|
30201
30235
|
*/
|
|
30202
30236
|
onPreview: PropTypes.func,
|
|
30203
|
-
/**
|
|
30204
|
-
A callback function, can be executed when remove icon is clicked.
|
|
30237
|
+
/**
|
|
30238
|
+
A callback function, can be executed when remove icon is clicked.
|
|
30205
30239
|
*/
|
|
30206
30240
|
onRemove: PropTypes.func,
|
|
30207
|
-
/**
|
|
30208
|
-
A custom element inside upload container.
|
|
30241
|
+
/**
|
|
30242
|
+
A custom element inside upload container.
|
|
30209
30243
|
*/
|
|
30210
30244
|
children: PropTypes.element,
|
|
30211
|
-
/**
|
|
30212
|
-
Limit the number of uploaded files.
|
|
30245
|
+
/**
|
|
30246
|
+
Limit the number of uploaded files.
|
|
30213
30247
|
*/
|
|
30214
30248
|
max: PropTypes.number,
|
|
30215
|
-
/**
|
|
30216
|
-
Limit the maximum image size in MB.
|
|
30249
|
+
/**
|
|
30250
|
+
Limit the maximum image size in MB.
|
|
30217
30251
|
*/
|
|
30218
30252
|
maxSizeMB: PropTypes.number,
|
|
30219
|
-
/**
|
|
30220
|
-
Limit file type of upload.
|
|
30253
|
+
/**
|
|
30254
|
+
Limit file type of upload.
|
|
30221
30255
|
*/
|
|
30222
30256
|
accept: PropTypes.string,
|
|
30223
|
-
/**
|
|
30224
|
-
Custom label for replace button.
|
|
30257
|
+
/**
|
|
30258
|
+
Custom label for replace button.
|
|
30225
30259
|
*/
|
|
30226
30260
|
replaceLabel: PropTypes.string,
|
|
30227
|
-
/**
|
|
30228
|
-
Custom width of upload container.
|
|
30261
|
+
/**
|
|
30262
|
+
Custom width of upload container.
|
|
30229
30263
|
*/
|
|
30230
30264
|
width: PropTypes.number,
|
|
30231
|
-
/**
|
|
30232
|
-
Custom height of upload container.
|
|
30265
|
+
/**
|
|
30266
|
+
Custom height of upload container.
|
|
30233
30267
|
*/
|
|
30234
30268
|
height: PropTypes.number,
|
|
30235
|
-
/**
|
|
30236
|
-
Additional css.
|
|
30269
|
+
/**
|
|
30270
|
+
Additional css.
|
|
30237
30271
|
*/
|
|
30238
30272
|
css: PropTypes.object,
|
|
30239
|
-
/**
|
|
30240
|
-
Custom title header of cropper modal.
|
|
30273
|
+
/**
|
|
30274
|
+
Custom title header of cropper modal.
|
|
30241
30275
|
*/
|
|
30242
30276
|
cropperTitle: PropTypes.string,
|
|
30243
|
-
/**
|
|
30244
|
-
Add image cropper on upload.
|
|
30277
|
+
/**
|
|
30278
|
+
Add image cropper on upload.
|
|
30245
30279
|
*/
|
|
30246
30280
|
showCropper: PropTypes.bool,
|
|
30247
|
-
/**
|
|
30248
|
-
Hidden toggle aspect ratio image cropper.
|
|
30281
|
+
/**
|
|
30282
|
+
Hidden toggle aspect ratio image cropper.
|
|
30249
30283
|
*/
|
|
30250
30284
|
hiddenToggleAspect: PropTypes.bool,
|
|
30251
|
-
/**
|
|
30252
|
-
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.
|
|
30285
|
+
/**
|
|
30286
|
+
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.
|
|
30253
30287
|
*/
|
|
30254
30288
|
ratio: PropTypes.number,
|
|
30255
|
-
/**
|
|
30256
|
-
Can set error message to the upload.
|
|
30289
|
+
/**
|
|
30290
|
+
Can set error message to the upload.
|
|
30257
30291
|
*/
|
|
30258
30292
|
errorMessage: PropTypes.string,
|
|
30259
|
-
/**
|
|
30260
|
-
Progress of upload process.
|
|
30293
|
+
/**
|
|
30294
|
+
Progress of upload process.
|
|
30261
30295
|
*/
|
|
30262
30296
|
progress: PropTypes.number,
|
|
30263
|
-
/**
|
|
30264
|
-
Auto increment progress of upload process.
|
|
30297
|
+
/**
|
|
30298
|
+
Auto increment progress of upload process.
|
|
30265
30299
|
*/
|
|
30266
30300
|
loading: PropTypes.bool,
|
|
30267
|
-
/**
|
|
30268
|
-
API upload url, allows components to automatically upload directly to API service.
|
|
30301
|
+
/**
|
|
30302
|
+
API upload url, allows components to automatically upload directly to API service.
|
|
30269
30303
|
*/
|
|
30270
30304
|
action: PropTypes.string,
|
|
30271
|
-
/**
|
|
30272
|
-
Custom body request to upload action.
|
|
30305
|
+
/**
|
|
30306
|
+
Custom body request to upload action.
|
|
30273
30307
|
*/
|
|
30274
30308
|
customBodyRequest: PropTypes.func,
|
|
30275
|
-
/**
|
|
30276
|
-
Contains an authentication token for upload API.
|
|
30309
|
+
/**
|
|
30310
|
+
Contains an authentication token for upload API.
|
|
30277
30311
|
*/
|
|
30278
30312
|
token: PropTypes.string,
|
|
30279
|
-
/**
|
|
30280
|
-
Referencing the headers key to attach the token.
|
|
30313
|
+
/**
|
|
30314
|
+
Referencing the headers key to attach the token.
|
|
30281
30315
|
*/
|
|
30282
30316
|
tokenKey: PropTypes.string,
|
|
30283
|
-
/**
|
|
30284
|
-
Referencing the key to attach the file to be sent.
|
|
30317
|
+
/**
|
|
30318
|
+
Referencing the key to attach the file to be sent.
|
|
30285
30319
|
*/
|
|
30286
30320
|
reqKey: PropTypes.string,
|
|
30287
|
-
/**
|
|
30288
|
-
Referencing the key to get the file from the API response.
|
|
30321
|
+
/**
|
|
30322
|
+
Referencing the key to get the file from the API response.
|
|
30289
30323
|
*/
|
|
30290
30324
|
resKey: PropTypes.string,
|
|
30291
|
-
/**
|
|
30292
|
-
To compression image if file size > 1MB.
|
|
30325
|
+
/**
|
|
30326
|
+
To compression image if file size > 1MB.
|
|
30293
30327
|
*/
|
|
30294
30328
|
imageCompression: PropTypes.bool,
|
|
30295
|
-
/**
|
|
30296
|
-
Callback to handle before crop image.
|
|
30329
|
+
/**
|
|
30330
|
+
Callback to handle before crop image.
|
|
30297
30331
|
*/
|
|
30298
30332
|
onBeforeCrop: PropTypes.func,
|
|
30299
|
-
/**
|
|
30300
|
-
Hidden preview icon in upload.
|
|
30333
|
+
/**
|
|
30334
|
+
Hidden preview icon in upload.
|
|
30301
30335
|
*/
|
|
30302
30336
|
hiddenPreview: PropTypes.bool,
|
|
30303
|
-
/**
|
|
30304
|
-
Auto full aspect ratio cropper.
|
|
30337
|
+
/**
|
|
30338
|
+
Auto full aspect ratio cropper.
|
|
30305
30339
|
*/
|
|
30306
30340
|
fullAspectCrop: PropTypes.bool,
|
|
30307
|
-
/**
|
|
30308
|
-
Set custom ratio as Default view
|
|
30341
|
+
/**
|
|
30342
|
+
Set custom ratio as Default view
|
|
30309
30343
|
*/
|
|
30310
30344
|
isDefaultCustomRatio: PropTypes.bool,
|
|
30311
|
-
/**
|
|
30312
|
-
Set max width or height of image
|
|
30345
|
+
/**
|
|
30346
|
+
Set max width or height of image
|
|
30313
30347
|
*/
|
|
30314
30348
|
maxWidthOrHeight: PropTypes.number
|
|
30315
30349
|
};
|
|
@@ -30985,7 +31019,7 @@ const Device = props => {
|
|
|
30985
31019
|
};
|
|
30986
31020
|
Device.displayName = 'DevicePreview';
|
|
30987
31021
|
|
|
30988
|
-
var _jsxFileName$8 = "
|
|
31022
|
+
var _jsxFileName$8 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\InputColorPicker.js";
|
|
30989
31023
|
const Separator$1 = styled('div', {
|
|
30990
31024
|
height: 20,
|
|
30991
31025
|
width: 1,
|
|
@@ -31095,44 +31129,44 @@ function InputColorPicker(props) {
|
|
|
31095
31129
|
}
|
|
31096
31130
|
InputColorPicker.displayName = 'InputColorPicker';
|
|
31097
31131
|
InputColorPicker.propTypes = {
|
|
31098
|
-
/**
|
|
31099
|
-
Specify change InputColorPicker size.
|
|
31132
|
+
/**
|
|
31133
|
+
Specify change InputColorPicker size.
|
|
31100
31134
|
*/
|
|
31101
31135
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
31102
|
-
/**
|
|
31103
|
-
Color code to be displayed.
|
|
31136
|
+
/**
|
|
31137
|
+
Color code to be displayed.
|
|
31104
31138
|
*/
|
|
31105
31139
|
color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
31106
|
-
/**
|
|
31107
|
-
Additional color list.
|
|
31140
|
+
/**
|
|
31141
|
+
Additional color list.
|
|
31108
31142
|
*/
|
|
31109
31143
|
presetColors: PropTypes.array,
|
|
31110
|
-
/**
|
|
31111
|
-
Change event handler.
|
|
31144
|
+
/**
|
|
31145
|
+
Change event handler.
|
|
31112
31146
|
*/
|
|
31113
31147
|
onChange: PropTypes.func,
|
|
31114
|
-
/**
|
|
31115
|
-
Add preset color event handler.
|
|
31148
|
+
/**
|
|
31149
|
+
Add preset color event handler.
|
|
31116
31150
|
*/
|
|
31117
31151
|
onAddColor: PropTypes.func,
|
|
31118
|
-
/**
|
|
31119
|
-
Disable opacity selector.
|
|
31152
|
+
/**
|
|
31153
|
+
Disable opacity selector.
|
|
31120
31154
|
*/
|
|
31121
31155
|
disableAlpha: PropTypes.bool,
|
|
31122
|
-
/**
|
|
31123
|
-
Input placement.
|
|
31156
|
+
/**
|
|
31157
|
+
Input placement.
|
|
31124
31158
|
*/
|
|
31125
31159
|
placement: PropTypes.string,
|
|
31126
|
-
/**
|
|
31127
|
-
Define is mobile layout or not.
|
|
31160
|
+
/**
|
|
31161
|
+
Define is mobile layout or not.
|
|
31128
31162
|
*/
|
|
31129
31163
|
isMobile: PropTypes.bool,
|
|
31130
|
-
/**
|
|
31131
|
-
Define popover custom styling.
|
|
31164
|
+
/**
|
|
31165
|
+
Define popover custom styling.
|
|
31132
31166
|
*/
|
|
31133
31167
|
popoverCss: PropTypes.shape({}),
|
|
31134
|
-
/**
|
|
31135
|
-
Disabled state.
|
|
31168
|
+
/**
|
|
31169
|
+
Disabled state.
|
|
31136
31170
|
*/
|
|
31137
31171
|
disabled: PropTypes.bool
|
|
31138
31172
|
};
|
|
@@ -31146,7 +31180,7 @@ InputColorPicker.defaultProps = {
|
|
|
31146
31180
|
|
|
31147
31181
|
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/////yH5BAEAAH8ALAA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bd7OeaZZ7t5vp33+/mCoTc7OrSlT3u6tamrvvrSrTv9+nux8zx77ULfnjvSu/fu++/LBT/7z7XfXnTuu/PeOvPuOT989MZTn3zv2AMf+CaTb1L5Jpdvkvkmm2/Sefiw7/zJ1J9U/cnVn2T9ydafdA0/4AUbhclGkbJRsGwULxuFzEbhtv+B7QDSSJc02iWNeEmjXtLIlzRc97RAAAA7";
|
|
31148
31182
|
|
|
31149
|
-
var _jsxFileName$7 = "
|
|
31183
|
+
var _jsxFileName$7 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorMap.js";
|
|
31150
31184
|
const Container$7 = styled('div', {
|
|
31151
31185
|
userSelect: 'none',
|
|
31152
31186
|
margin: 'auto',
|
|
@@ -33107,7 +33141,7 @@ function ColorMap({
|
|
|
33107
33141
|
})));
|
|
33108
33142
|
}
|
|
33109
33143
|
|
|
33110
|
-
var _jsxFileName$6 = "
|
|
33144
|
+
var _jsxFileName$6 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorFields.js";
|
|
33111
33145
|
const CheckBoard = styled(Flex$1, {
|
|
33112
33146
|
background: '$bgwhite',
|
|
33113
33147
|
border: '1px solid #E5E7EB',
|
|
@@ -33308,7 +33342,7 @@ function ColorFields({
|
|
|
33308
33342
|
}, "%")));
|
|
33309
33343
|
}
|
|
33310
33344
|
|
|
33311
|
-
var _jsxFileName$5 = "
|
|
33345
|
+
var _jsxFileName$5 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\ColorPicker.js";
|
|
33312
33346
|
const Container$6 = styled(Flex$1, {
|
|
33313
33347
|
background: '$white',
|
|
33314
33348
|
padding: 16,
|
|
@@ -33799,24 +33833,24 @@ function ColorPicker({
|
|
|
33799
33833
|
})))))));
|
|
33800
33834
|
}
|
|
33801
33835
|
ColorPicker.propTypes = {
|
|
33802
|
-
/**
|
|
33803
|
-
Color code to be displayed.
|
|
33836
|
+
/**
|
|
33837
|
+
Color code to be displayed.
|
|
33804
33838
|
*/
|
|
33805
33839
|
color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
33806
|
-
/**
|
|
33807
|
-
Additional color list
|
|
33840
|
+
/**
|
|
33841
|
+
Additional color list
|
|
33808
33842
|
*/
|
|
33809
33843
|
presetColors: PropTypes.array,
|
|
33810
|
-
/**
|
|
33811
|
-
Change event handler
|
|
33844
|
+
/**
|
|
33845
|
+
Change event handler
|
|
33812
33846
|
*/
|
|
33813
33847
|
onChange: PropTypes.func,
|
|
33814
|
-
/**
|
|
33815
|
-
Add preset color event handler
|
|
33848
|
+
/**
|
|
33849
|
+
Add preset color event handler
|
|
33816
33850
|
*/
|
|
33817
33851
|
onAddColor: PropTypes.func,
|
|
33818
|
-
/**
|
|
33819
|
-
Disable opacity selector
|
|
33852
|
+
/**
|
|
33853
|
+
Disable opacity selector
|
|
33820
33854
|
*/
|
|
33821
33855
|
disableAlpha: PropTypes.bool
|
|
33822
33856
|
};
|
|
@@ -33825,7 +33859,7 @@ ColorPicker.defaultProps = {
|
|
|
33825
33859
|
};
|
|
33826
33860
|
var ColorPicker$1 = ColorWrap(ColorPicker);
|
|
33827
33861
|
|
|
33828
|
-
var _jsxFileName$4 = "
|
|
33862
|
+
var _jsxFileName$4 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\stepWizard\\StepWizard.js";
|
|
33829
33863
|
const StepWizardContext = /*#__PURE__*/React__default.createContext({});
|
|
33830
33864
|
const Stepper = StepWizard$1;
|
|
33831
33865
|
Stepper.displayName = 'Stepper';
|
|
@@ -34548,7 +34582,7 @@ StepWizard.defaultProps = {
|
|
|
34548
34582
|
isLazyMount: true
|
|
34549
34583
|
};
|
|
34550
34584
|
|
|
34551
|
-
var _jsxFileName$3 = "
|
|
34585
|
+
var _jsxFileName$3 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\transition.js";
|
|
34552
34586
|
function Collapse({
|
|
34553
34587
|
children,
|
|
34554
34588
|
isOpen
|
|
@@ -34591,7 +34625,7 @@ Collapse.defaultProps = {
|
|
|
34591
34625
|
isOpen: false
|
|
34592
34626
|
};
|
|
34593
34627
|
|
|
34594
|
-
var _jsxFileName$2 = "
|
|
34628
|
+
var _jsxFileName$2 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\TableOfContent.js";
|
|
34595
34629
|
const DesktopContainer = styled(Flex$1, {
|
|
34596
34630
|
display: 'none',
|
|
34597
34631
|
'& .active-scroll-spy': {
|
|
@@ -34952,7 +34986,7 @@ TableOfContentPage.defaultProps = {
|
|
|
34952
34986
|
useBoxMethod: true
|
|
34953
34987
|
};
|
|
34954
34988
|
|
|
34955
|
-
var _jsxFileName$1 = "
|
|
34989
|
+
var _jsxFileName$1 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\editableTable\\transition.js";
|
|
34956
34990
|
function Collapalse({
|
|
34957
34991
|
children,
|
|
34958
34992
|
isOpen
|
|
@@ -56466,7 +56500,7 @@ PieChartComponent.defaultProps = {
|
|
|
56466
56500
|
innerRadius: 70
|
|
56467
56501
|
};
|
|
56468
56502
|
|
|
56469
|
-
var _jsxFileName = "
|
|
56503
|
+
var _jsxFileName = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\colors\\Colors.js";
|
|
56470
56504
|
const StyledPaper = styled(Paper, {
|
|
56471
56505
|
borderRadius: '10px 10px 0 0',
|
|
56472
56506
|
padding: 15,
|