@majoo-ui/react 1.60.38 → 1.60.40
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/README.md +7 -7
- package/components/datePicker/components/CalendarTimePicker.d.ts +2 -1
- package/components/devicePreview/DevicePreview.d.ts +0 -3
- package/components/modalDialog/ModalDialog.d.ts +8 -8
- package/components/pageDialog/PageDialog.d.ts +8 -8
- package/components/table/Table.d.ts +16 -6
- package/index.esm.css +1291 -1291
- package/index.esm.js +237 -206
- package/index.umd.css +1291 -1291
- package/index.umd.js +280 -256
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -54,7 +54,7 @@ import ReactCrop, { centerCrop, makeAspectCrop } from 'react-image-crop';
|
|
|
54
54
|
import imageCompressionComponent from 'browser-image-compression';
|
|
55
55
|
import { useSticky } from 'react-table-sticky';
|
|
56
56
|
|
|
57
|
-
var _jsxFileName$12 = "
|
|
57
|
+
var _jsxFileName$12 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\majoo-provider\\ThemeProvider.js";
|
|
58
58
|
function ThemeProvider({
|
|
59
59
|
theme,
|
|
60
60
|
children
|
|
@@ -1397,7 +1397,7 @@ const applyGlobalStyles = additionaStyles => {
|
|
|
1397
1397
|
globalStyles();
|
|
1398
1398
|
};
|
|
1399
1399
|
|
|
1400
|
-
var _jsxFileName$11 = "
|
|
1400
|
+
var _jsxFileName$11 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\majoo-provider\\MajooProvider.js";
|
|
1401
1401
|
function MajooProvider({
|
|
1402
1402
|
children,
|
|
1403
1403
|
theme: theme$1 = theme,
|
|
@@ -1619,7 +1619,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
|
1619
1619
|
|
|
1620
1620
|
const _excluded$B = ["children"],
|
|
1621
1621
|
_excluded2$4 = ["children"];
|
|
1622
|
-
var _jsxFileName$10 = "
|
|
1622
|
+
var _jsxFileName$10 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\layout\\grid\\Grid.js";
|
|
1623
1623
|
const GridComponent = styled('div', {
|
|
1624
1624
|
display: 'grid',
|
|
1625
1625
|
variants: {
|
|
@@ -1889,7 +1889,7 @@ GridItem.propTypes = {
|
|
|
1889
1889
|
GridItem.displayName = 'Grid Item';
|
|
1890
1890
|
|
|
1891
1891
|
const _excluded$A = ["children", "isCollapse", "css", "contentHeader"];
|
|
1892
|
-
var _jsxFileName$$ = "
|
|
1892
|
+
var _jsxFileName$$ = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\layout\\pageContainer\\PageContainer.js";
|
|
1893
1893
|
const StyledDiv$2 = styled(Flex$1, {
|
|
1894
1894
|
justifyContent: 'center',
|
|
1895
1895
|
marginLeft: 'auto',
|
|
@@ -2391,7 +2391,7 @@ const Link = /*#__PURE__*/React.forwardRef((_a, forwardedRef) => {
|
|
|
2391
2391
|
});
|
|
2392
2392
|
|
|
2393
2393
|
const _excluded$z = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock", "icon"];
|
|
2394
|
-
var _jsxFileName$_ = "
|
|
2394
|
+
var _jsxFileName$_ = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\banner\\Banner.js";
|
|
2395
2395
|
const Context$2 = /*#__PURE__*/React.createContext();
|
|
2396
2396
|
const StyledBanner = styled(Flex$1, {
|
|
2397
2397
|
maxWidth: '100%',
|
|
@@ -3392,7 +3392,7 @@ Card.Label = StyledLabel$2;
|
|
|
3392
3392
|
Card.Description = StyledDescription$3;
|
|
3393
3393
|
|
|
3394
3394
|
const _excluded$y = ["children"];
|
|
3395
|
-
var _jsxFileName$Z = "
|
|
3395
|
+
var _jsxFileName$Z = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\breadcrumb\\Breadcrumb.js";
|
|
3396
3396
|
const BreadcrumbStyle = styled('nav', {
|
|
3397
3397
|
wordWrap: 'break-word',
|
|
3398
3398
|
'& li+li:before': {
|
|
@@ -3712,7 +3712,7 @@ Badge.defaultProps = {
|
|
|
3712
3712
|
Badge.displayName = 'Badge';
|
|
3713
3713
|
|
|
3714
3714
|
const _excluded$x = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
|
|
3715
|
-
var _jsxFileName$Y = "
|
|
3715
|
+
var _jsxFileName$Y = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\avatar\\Avatar.js";
|
|
3716
3716
|
const StyledAvatar = styled(AvatarPrimitive.Root, {
|
|
3717
3717
|
width: '32px',
|
|
3718
3718
|
height: '32px',
|
|
@@ -3814,7 +3814,7 @@ Avatar.defaultProps = {
|
|
|
3814
3814
|
};
|
|
3815
3815
|
|
|
3816
3816
|
const _excluded$w = ["className", "src", "alt", "width", "height", "objectFit", "fallback", "fallbackTitle", "css", "cssFallback", "rounded"];
|
|
3817
|
-
var _jsxFileName$X = "
|
|
3817
|
+
var _jsxFileName$X = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\image\\Image.js";
|
|
3818
3818
|
const ContainerFallback = styled(Flex$1, {
|
|
3819
3819
|
boxSizing: 'border-box',
|
|
3820
3820
|
border: '2px dashed #C0C4C4',
|
|
@@ -4500,7 +4500,7 @@ for (var COLLECTION_NAME in DOMIterables) {
|
|
|
4500
4500
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
4501
4501
|
|
|
4502
4502
|
const _excluded$v = ["children", "label", "color", "css", "withClick", "side", "align", "delayDuration"];
|
|
4503
|
-
var _jsxFileName$W = "
|
|
4503
|
+
var _jsxFileName$W = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\tooltip\\Tooltip.js";
|
|
4504
4504
|
const {
|
|
4505
4505
|
zIndices: zIndices$2
|
|
4506
4506
|
} = foundations;
|
|
@@ -4706,7 +4706,7 @@ Tooltip$1.defaultProps = {
|
|
|
4706
4706
|
};
|
|
4707
4707
|
|
|
4708
4708
|
const _excluded$u = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
|
|
4709
|
-
var _jsxFileName$V = "
|
|
4709
|
+
var _jsxFileName$V = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\progress\\Progress.js";
|
|
4710
4710
|
const StyledProgress$1 = styled$1(ProgressPrimitive.Root, {
|
|
4711
4711
|
position: 'relative',
|
|
4712
4712
|
overflow: 'hidden',
|
|
@@ -5518,7 +5518,7 @@ function useMediaQuery(query) {
|
|
|
5518
5518
|
}
|
|
5519
5519
|
|
|
5520
5520
|
const _excluded$t = ["id", "title", "description", "position", "dismissAfter", "variant", "onClick", "onRemove", "isExternalOfAction", "onClickOfAction", "captionOfAction", "hrefOfAction"];
|
|
5521
|
-
var _jsxFileName$U = "
|
|
5521
|
+
var _jsxFileName$U = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\Toast.js";
|
|
5522
5522
|
const TOAST_WIDTH = 576;
|
|
5523
5523
|
const ANIMATION_DURATION = 400;
|
|
5524
5524
|
const TOP_RIGHT_POSITION = 'top-right';
|
|
@@ -5870,7 +5870,7 @@ Toast.defaultProps = {
|
|
|
5870
5870
|
};
|
|
5871
5871
|
|
|
5872
5872
|
const _excluded$s = ["preventDuplicate"];
|
|
5873
|
-
var _jsxFileName$T = "
|
|
5873
|
+
var _jsxFileName$T = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\ToastContainer.js";
|
|
5874
5874
|
const ToastBox = styled(Flex$1, {
|
|
5875
5875
|
position: 'fixed',
|
|
5876
5876
|
variants: {
|
|
@@ -7166,7 +7166,7 @@ const catchError = e => {
|
|
|
7166
7166
|
};
|
|
7167
7167
|
|
|
7168
7168
|
const _excluded$r = ["id", "disabledOfflineIntercept"];
|
|
7169
|
-
var _jsxFileName$S = "
|
|
7169
|
+
var _jsxFileName$S = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\context\\ToastProvider.js";
|
|
7170
7170
|
let toastCount = 0;
|
|
7171
7171
|
const ToastProvider = ({
|
|
7172
7172
|
children,
|
|
@@ -7285,7 +7285,7 @@ const ConditionalWrapper = ({
|
|
|
7285
7285
|
}) => condition ? wrapper(children) : children;
|
|
7286
7286
|
|
|
7287
7287
|
const _excluded$q = ["count", "maxCount", "css"];
|
|
7288
|
-
var _jsxFileName$R = "
|
|
7288
|
+
var _jsxFileName$R = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormGroup\\FormGroup.js";
|
|
7289
7289
|
const formLabelClassStyle = {
|
|
7290
7290
|
alignItems: 'start !important',
|
|
7291
7291
|
'& > div': {
|
|
@@ -7436,7 +7436,7 @@ const FormGroup = _ref => {
|
|
|
7436
7436
|
FormGroup.displayName = 'FormGroup';
|
|
7437
7437
|
|
|
7438
7438
|
const _excluded$p = ["children", "htmlFor", "variant", "variants", "tooltipLabel", "count", "maxCount", "labelCss"];
|
|
7439
|
-
var _jsxFileName$Q = "
|
|
7439
|
+
var _jsxFileName$Q = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormLabel\\Label.js";
|
|
7440
7440
|
const StyledLabel$1 = styled(LabelPrimitive.Root, Text$1, {
|
|
7441
7441
|
display: 'inline-block',
|
|
7442
7442
|
fontSize: '$label',
|
|
@@ -7553,7 +7553,7 @@ FormLabel.defaultProps = {
|
|
|
7553
7553
|
FormLabel.displayName = 'FormLabel';
|
|
7554
7554
|
|
|
7555
7555
|
const _excluded$o = ["children", "error", "errorMessage"];
|
|
7556
|
-
var _jsxFileName$P = "
|
|
7556
|
+
var _jsxFileName$P = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormHelper\\Helper.js";
|
|
7557
7557
|
const StyledHelper = styled(Text$1, {
|
|
7558
7558
|
display: 'inline-block',
|
|
7559
7559
|
color: '$textSecondary',
|
|
@@ -7608,7 +7608,7 @@ FormHelper.propTypes = {
|
|
|
7608
7608
|
};
|
|
7609
7609
|
FormHelper.displayName = 'FormHelper';
|
|
7610
7610
|
|
|
7611
|
-
var _jsxFileName$O = "
|
|
7611
|
+
var _jsxFileName$O = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\CheckboxGroup.js";
|
|
7612
7612
|
const CheckboxContext = /*#__PURE__*/createContext();
|
|
7613
7613
|
const CheckboxGroup = ({
|
|
7614
7614
|
children,
|
|
@@ -7666,7 +7666,7 @@ CheckboxGroup.defaultProps = {
|
|
|
7666
7666
|
};
|
|
7667
7667
|
CheckboxGroup.displayName = 'CheckboxGroup';
|
|
7668
7668
|
|
|
7669
|
-
var _jsxFileName$N = "
|
|
7669
|
+
var _jsxFileName$N = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\CheckOutline.js";
|
|
7670
7670
|
const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
7671
7671
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7672
7672
|
xmlSpace: "preserve",
|
|
@@ -7713,7 +7713,7 @@ const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends
|
|
|
7713
7713
|
}
|
|
7714
7714
|
}));
|
|
7715
7715
|
|
|
7716
|
-
var _jsxFileName$M = "
|
|
7716
|
+
var _jsxFileName$M = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\MinusOutline.js";
|
|
7717
7717
|
const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
7718
7718
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7719
7719
|
xmlSpace: "preserve",
|
|
@@ -7761,7 +7761,7 @@ const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extend
|
|
|
7761
7761
|
}));
|
|
7762
7762
|
|
|
7763
7763
|
const _excluded$n = ["id", "checked", "indeterminate", "disabled", "onCheckedChange", "label", "index", "value"];
|
|
7764
|
-
var _jsxFileName$L = "
|
|
7764
|
+
var _jsxFileName$L = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\InputCheckbox.js";
|
|
7765
7765
|
const StyledIndicator$2 = styled(CheckboxPrimitive.Indicator, {
|
|
7766
7766
|
alignItems: 'center',
|
|
7767
7767
|
display: 'flex',
|
|
@@ -7922,7 +7922,7 @@ InputCheckbox.propTypes = {
|
|
|
7922
7922
|
InputCheckbox.displayName = 'InputCheckbox';
|
|
7923
7923
|
|
|
7924
7924
|
const _excluded$m = ["children", "size"];
|
|
7925
|
-
var _jsxFileName$K = "
|
|
7925
|
+
var _jsxFileName$K = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputGroup\\InputGroup.js";
|
|
7926
7926
|
const InputGroupStyle = styled('div', {
|
|
7927
7927
|
display: 'flex',
|
|
7928
7928
|
width: '100%',
|
|
@@ -8261,7 +8261,7 @@ InputSuffix.propTypes = {
|
|
|
8261
8261
|
};
|
|
8262
8262
|
|
|
8263
8263
|
const _excluded$l = ["disabled", "readOnly"];
|
|
8264
|
-
var _jsxFileName$J = "
|
|
8264
|
+
var _jsxFileName$J = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputText\\InputText.js";
|
|
8265
8265
|
const disabledStyle = {
|
|
8266
8266
|
backgroundColor: '$formDisable',
|
|
8267
8267
|
color: '$textDisable',
|
|
@@ -8463,7 +8463,7 @@ InputText.propTypes = {
|
|
|
8463
8463
|
InputText.displayName = 'InputText';
|
|
8464
8464
|
|
|
8465
8465
|
const _excluded$k = ["disabled", "readOnly"];
|
|
8466
|
-
var _jsxFileName$I = "
|
|
8466
|
+
var _jsxFileName$I = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTextArea\\InputTextArea.js";
|
|
8467
8467
|
const StyledTextArea = styled(StyledInput$1, {
|
|
8468
8468
|
variants: {
|
|
8469
8469
|
size: {
|
|
@@ -8541,7 +8541,7 @@ InputTextArea.defaultProps = {
|
|
|
8541
8541
|
|
|
8542
8542
|
const InputRadioContext = /*#__PURE__*/React__default.createContext();
|
|
8543
8543
|
|
|
8544
|
-
var _jsxFileName$H = "
|
|
8544
|
+
var _jsxFileName$H = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadioGroup.js";
|
|
8545
8545
|
const RadioGroup = styled(RadioGroupPrimitive.Root, Flex$1);
|
|
8546
8546
|
function InputRadioGroup(props) {
|
|
8547
8547
|
return (props == null ? void 0 : props.children) && /*#__PURE__*/React__default.createElement(InputRadioContext.Provider, {
|
|
@@ -8575,7 +8575,7 @@ InputRadioGroup.propTypes = {
|
|
|
8575
8575
|
InputRadioGroup.displayName = 'InputRadioGroup';
|
|
8576
8576
|
|
|
8577
8577
|
const _excluded$j = ["id", "disabled", "css", "inputType", "inputProps", "description", "readOnly"];
|
|
8578
|
-
var _jsxFileName$G = "
|
|
8578
|
+
var _jsxFileName$G = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadio.js";
|
|
8579
8579
|
const INDICATOR_BASE_STYLES = {
|
|
8580
8580
|
alignItems: 'center',
|
|
8581
8581
|
display: 'flex',
|
|
@@ -11024,7 +11024,7 @@ var NumberFormat = /*@__PURE__*/function (superclass) {
|
|
|
11024
11024
|
NumberFormat.defaultProps = defaultProps;
|
|
11025
11025
|
|
|
11026
11026
|
const _excluded$i = ["placeholder", "value", "size", "isInvalid", "readOnly", "disabled", "control", "name", "maxValueLength", "maxLength", "thousandSeparator"];
|
|
11027
|
-
var _jsxFileName$F = "
|
|
11027
|
+
var _jsxFileName$F = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputNumber\\InputNumber.js";
|
|
11028
11028
|
const StyledInput = styled(NumberFormat, {
|
|
11029
11029
|
// Reset
|
|
11030
11030
|
appearance: 'none',
|
|
@@ -11285,7 +11285,7 @@ InputNumber.name = 'InputText';
|
|
|
11285
11285
|
InputNumber.displayName = 'InputNumber';
|
|
11286
11286
|
|
|
11287
11287
|
const _excluded$h = ["className", "children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"];
|
|
11288
|
-
var _jsxFileName$E = "
|
|
11288
|
+
var _jsxFileName$E = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\tag\\Tag.js";
|
|
11289
11289
|
const TagWrapper$4 = styled('div', {
|
|
11290
11290
|
boxSizing: 'border-box',
|
|
11291
11291
|
listStyle: 'none',
|
|
@@ -11461,7 +11461,7 @@ Tag.defaultProps = {
|
|
|
11461
11461
|
};
|
|
11462
11462
|
|
|
11463
11463
|
const _excluded$g = ["size", "isInvalid", "placeholder", "onChange", "onEnter", "onInputChange", "value", "disabled", "readOnly", "max", "maxChar", "pattern", "helperText", "unremovableTags", "onRemoveItem"];
|
|
11464
|
-
var _jsxFileName$D = "
|
|
11464
|
+
var _jsxFileName$D = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTags\\InputTags.js";
|
|
11465
11465
|
const Wrapper$2 = styled('div', {
|
|
11466
11466
|
margin: 0,
|
|
11467
11467
|
flexDirection: 'column',
|
|
@@ -11758,7 +11758,7 @@ TagsInput.defaultProps = {
|
|
|
11758
11758
|
};
|
|
11759
11759
|
|
|
11760
11760
|
const _excluded$f = ["id", "defaultChecked", "dataOnLabel", "dataOffLabel", "disabled"];
|
|
11761
|
-
var _jsxFileName$C = "
|
|
11761
|
+
var _jsxFileName$C = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSwitch\\InputSwitch.js";
|
|
11762
11762
|
const StyledThumb$1 = styled(SwitchPrimitive.Thumb, {
|
|
11763
11763
|
display: 'block',
|
|
11764
11764
|
width: '16px',
|
|
@@ -11863,7 +11863,7 @@ InputSwitch.propTypes = {
|
|
|
11863
11863
|
};
|
|
11864
11864
|
InputSwitch.displayName = 'InputSwitch';
|
|
11865
11865
|
|
|
11866
|
-
var _jsxFileName$B = "
|
|
11866
|
+
var _jsxFileName$B = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\CloseFilled.js";
|
|
11867
11867
|
const SvgCloseFilled = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
11868
11868
|
width: props.size,
|
|
11869
11869
|
height: props.size,
|
|
@@ -11922,7 +11922,7 @@ SvgCloseFilled.defaultProps = {
|
|
|
11922
11922
|
size: 24
|
|
11923
11923
|
};
|
|
11924
11924
|
|
|
11925
|
-
var _jsxFileName$A = "
|
|
11925
|
+
var _jsxFileName$A = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\SearchOutline.js";
|
|
11926
11926
|
const SvgSearchOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
11927
11927
|
width: props.size,
|
|
11928
11928
|
height: props.size,
|
|
@@ -11963,7 +11963,7 @@ SvgSearchOutline.defaultProps = {
|
|
|
11963
11963
|
};
|
|
11964
11964
|
|
|
11965
11965
|
const _excluded$e = ["size", "onChange", "css", "disabled", "withDebounce", "defaultValue", "mobileOnly", "desktopOnly"];
|
|
11966
|
-
var _jsxFileName$z = "
|
|
11966
|
+
var _jsxFileName$z = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\InputSearchbox.js";
|
|
11967
11967
|
const {
|
|
11968
11968
|
colors: colors$7
|
|
11969
11969
|
} = foundations;
|
|
@@ -12262,7 +12262,7 @@ $$5({ target: 'Array', proto: true, forced: FORCED$1 }, {
|
|
|
12262
12262
|
});
|
|
12263
12263
|
|
|
12264
12264
|
const _excluded$d = ["children"];
|
|
12265
|
-
var _jsxFileName$y = "
|
|
12265
|
+
var _jsxFileName$y = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\popover\\Popover.js";
|
|
12266
12266
|
const {
|
|
12267
12267
|
zIndices: zIndices$1
|
|
12268
12268
|
} = foundations;
|
|
@@ -13722,7 +13722,7 @@ const InputSelect = /*#__PURE__*/React.forwardRef((_a, ref) => {
|
|
|
13722
13722
|
}), void 0);
|
|
13723
13723
|
});
|
|
13724
13724
|
|
|
13725
|
-
var _jsxFileName$x = "
|
|
13725
|
+
var _jsxFileName$x = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\icon\\CheckOutline.js";
|
|
13726
13726
|
const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
13727
13727
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13728
13728
|
xmlSpace: "preserve",
|
|
@@ -13803,7 +13803,7 @@ function OptionGroupItem({
|
|
|
13803
13803
|
}
|
|
13804
13804
|
|
|
13805
13805
|
const _excluded$c = ["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"];
|
|
13806
|
-
var _jsxFileName$w = "
|
|
13806
|
+
var _jsxFileName$w = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\InputSelectCheck.js";
|
|
13807
13807
|
const Wrapper$1 = styled('div', {
|
|
13808
13808
|
margin: 0,
|
|
13809
13809
|
flexDirection: 'column',
|
|
@@ -15108,7 +15108,7 @@ InputSelectCheck.defaultProps = {
|
|
|
15108
15108
|
collapsibleLimit: 5
|
|
15109
15109
|
};
|
|
15110
15110
|
|
|
15111
|
-
var _jsxFileName$v = "
|
|
15111
|
+
var _jsxFileName$v = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectTag\\InputSelectTag.js";
|
|
15112
15112
|
const InputSelectTag = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
15113
15113
|
return /*#__PURE__*/React.createElement(InputSelectCheck, _extends({
|
|
15114
15114
|
ref: ref,
|
|
@@ -15169,7 +15169,7 @@ InputSelectTag.defaultProps = {
|
|
|
15169
15169
|
defaultValue: []
|
|
15170
15170
|
};
|
|
15171
15171
|
|
|
15172
|
-
var _jsxFileName$u = "
|
|
15172
|
+
var _jsxFileName$u = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCreatable\\InputCreatable.js";
|
|
15173
15173
|
const Wrapper = styled('div', {
|
|
15174
15174
|
margin: 0,
|
|
15175
15175
|
flexDirection: 'column',
|
|
@@ -16309,7 +16309,7 @@ InputCounter.defaultProps = {
|
|
|
16309
16309
|
|
|
16310
16310
|
const _excluded$b = ["children"],
|
|
16311
16311
|
_excluded2$3 = ["children", "showOverlay"];
|
|
16312
|
-
var _jsxFileName$t = "
|
|
16312
|
+
var _jsxFileName$t = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\drawer\\Drawer.js";
|
|
16313
16313
|
const Context$1 = /*#__PURE__*/React__default.createContext();
|
|
16314
16314
|
const {
|
|
16315
16315
|
sizes
|
|
@@ -16659,7 +16659,7 @@ DrawerCloseButton.displayName = 'DrawerCloseButton';
|
|
|
16659
16659
|
|
|
16660
16660
|
const _excluded$a = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size", "withMaxWidth", "mobileOnly", "desktopOnly"],
|
|
16661
16661
|
_excluded2$2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
|
|
16662
|
-
var _jsxFileName$s = "
|
|
16662
|
+
var _jsxFileName$s = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\buttonGroup\\ButtonGroup.js";
|
|
16663
16663
|
const ScrollButton$1 = styled(Button$4, {
|
|
16664
16664
|
width: '28px',
|
|
16665
16665
|
outline: '$btnPrimary solid 1px',
|
|
@@ -17190,7 +17190,7 @@ const DateNumber = styled('div', {
|
|
|
17190
17190
|
});
|
|
17191
17191
|
DateNumber.displayName = 'DateNumber';
|
|
17192
17192
|
|
|
17193
|
-
var _jsxFileName$r = "
|
|
17193
|
+
var _jsxFileName$r = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\TimePicker.js";
|
|
17194
17194
|
const Input$3 = styled('input', {
|
|
17195
17195
|
display: 'none'
|
|
17196
17196
|
});
|
|
@@ -17746,7 +17746,7 @@ TimePicker.propTypes = {
|
|
|
17746
17746
|
};
|
|
17747
17747
|
NativeTimePicker.displayName = 'NativeTimePicker';
|
|
17748
17748
|
|
|
17749
|
-
var _jsxFileName$q = "
|
|
17749
|
+
var _jsxFileName$q = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\InputTimePicker.js";
|
|
17750
17750
|
const getInputPickerValue$1 = date => {
|
|
17751
17751
|
if (!date) return;
|
|
17752
17752
|
return moment(date).format('HH:mm');
|
|
@@ -18023,14 +18023,18 @@ const CalendarTimePicker = ({
|
|
|
18023
18023
|
selected,
|
|
18024
18024
|
disabled,
|
|
18025
18025
|
language,
|
|
18026
|
-
onSetDateValue
|
|
18026
|
+
onSetDateValue,
|
|
18027
|
+
isSingle
|
|
18027
18028
|
}) => {
|
|
18028
18029
|
const {
|
|
18029
18030
|
t
|
|
18030
18031
|
} = useTranslation('MajooUI/datePicker');
|
|
18031
18032
|
let startTime = moment('00:00', 'HH:mm').toDate();
|
|
18032
18033
|
let endTime = moment('00:00', 'HH:mm').toDate();
|
|
18033
|
-
if (selected && selected.length
|
|
18034
|
+
if (isSingle && selected && selected.length) {
|
|
18035
|
+
startTime = selected[0];
|
|
18036
|
+
}
|
|
18037
|
+
if (!isSingle && selected && selected.length > 1) {
|
|
18034
18038
|
startTime = selected[0];
|
|
18035
18039
|
endTime = selected[1];
|
|
18036
18040
|
}
|
|
@@ -18051,7 +18055,7 @@ const CalendarTimePicker = ({
|
|
|
18051
18055
|
variant: "label",
|
|
18052
18056
|
color: "primary"
|
|
18053
18057
|
}, {
|
|
18054
|
-
children: t('dateFromLabel', 'Dari Tanggal')
|
|
18058
|
+
children: isSingle ? t('label.date', 'Tanggal') : t('dateFromLabel', 'Dari Tanggal')
|
|
18055
18059
|
}), void 0), jsx(Text$1, Object.assign({
|
|
18056
18060
|
variant: "label",
|
|
18057
18061
|
color: "disable"
|
|
@@ -18066,53 +18070,55 @@ const CalendarTimePicker = ({
|
|
|
18066
18070
|
variant: "label",
|
|
18067
18071
|
color: "primary"
|
|
18068
18072
|
}, {
|
|
18069
|
-
children: t('timeFromLabel', 'Dari Pukul')
|
|
18073
|
+
children: isSingle ? t('time', 'Waktu') : t('timeFromLabel', 'Dari Pukul')
|
|
18070
18074
|
}), void 0), jsx(InputTimePicker, {
|
|
18071
18075
|
onChange: val => {
|
|
18072
|
-
if (selected && selected.length > 1 && !!onSetDateValue) onSetDateValue([val.toDate(), selected[1]]);
|
|
18076
|
+
if (isSingle && selected && selected.length && !!onSetDateValue) onSetDateValue(val.toDate());else if (selected && selected.length > 1 && !!onSetDateValue) onSetDateValue([val.toDate(), selected[1]]);
|
|
18073
18077
|
},
|
|
18074
18078
|
size: "sm",
|
|
18075
18079
|
value: startTime,
|
|
18076
|
-
disabled: !(selected && selected.length > 1)
|
|
18080
|
+
disabled: isSingle ? !(selected && selected.length) : !(selected && selected.length > 1)
|
|
18077
18081
|
}, void 0)]
|
|
18078
|
-
}), void 0),
|
|
18079
|
-
|
|
18080
|
-
|
|
18081
|
-
|
|
18082
|
-
|
|
18083
|
-
|
|
18084
|
-
children: [jsx(Text$1, Object.assign({
|
|
18085
|
-
variant: "label",
|
|
18086
|
-
color: "primary"
|
|
18082
|
+
}), void 0), isSingle ? null : jsxs(React__default.Fragment, {
|
|
18083
|
+
children: [jsx(Separator$2, {
|
|
18084
|
+
orientation: "horizontal"
|
|
18085
|
+
}, void 0), jsxs(Flex$1, Object.assign({
|
|
18086
|
+
direction: "column",
|
|
18087
|
+
gap: 3
|
|
18087
18088
|
}, {
|
|
18088
|
-
children:
|
|
18089
|
-
|
|
18090
|
-
|
|
18091
|
-
|
|
18089
|
+
children: [jsx(Text$1, Object.assign({
|
|
18090
|
+
variant: "label",
|
|
18091
|
+
color: "primary"
|
|
18092
|
+
}, {
|
|
18093
|
+
children: t('dateUntilLabel', 'Hingga Tanggal')
|
|
18094
|
+
}), void 0), jsx(Text$1, Object.assign({
|
|
18095
|
+
variant: "label",
|
|
18096
|
+
color: "disable"
|
|
18097
|
+
}, {
|
|
18098
|
+
children: formattedEndDate
|
|
18099
|
+
}), void 0)]
|
|
18100
|
+
}), void 0), jsxs(Flex$1, Object.assign({
|
|
18101
|
+
direction: "column",
|
|
18102
|
+
gap: 3
|
|
18092
18103
|
}, {
|
|
18093
|
-
children:
|
|
18104
|
+
children: [jsx(Text$1, Object.assign({
|
|
18105
|
+
variant: "label",
|
|
18106
|
+
color: "primary"
|
|
18107
|
+
}, {
|
|
18108
|
+
children: t('timeUntilLabel', 'Hingga Pukul')
|
|
18109
|
+
}), void 0), jsx(InputTimePicker, {
|
|
18110
|
+
onChange: val => {
|
|
18111
|
+
const endDate = moment(endTime).format('YYYY-MM-DD');
|
|
18112
|
+
const newTime = val.format('HH:mm');
|
|
18113
|
+
const newValue = moment(`${endDate} ${newTime}`, 'YYYY-MM-DD HH:mm').toDate();
|
|
18114
|
+
if (selected && selected.length > 1 && !!onSetDateValue) onSetDateValue([selected[0], newValue]);
|
|
18115
|
+
},
|
|
18116
|
+
size: "sm",
|
|
18117
|
+
value: endTime,
|
|
18118
|
+
disabled: !(selected && selected.length > 1)
|
|
18119
|
+
}, void 0)]
|
|
18094
18120
|
}), void 0)]
|
|
18095
|
-
}
|
|
18096
|
-
direction: "column",
|
|
18097
|
-
gap: 3
|
|
18098
|
-
}, {
|
|
18099
|
-
children: [jsx(Text$1, Object.assign({
|
|
18100
|
-
variant: "label",
|
|
18101
|
-
color: "primary"
|
|
18102
|
-
}, {
|
|
18103
|
-
children: t('timeUntilLabel', 'Hingga Pukul')
|
|
18104
|
-
}), void 0), jsx(InputTimePicker, {
|
|
18105
|
-
onChange: val => {
|
|
18106
|
-
const endDate = moment(endTime).format('YYYY-MM-DD');
|
|
18107
|
-
const newTime = val.format('HH:mm');
|
|
18108
|
-
const newValue = moment(`${endDate} ${newTime}`, 'YYYY-MM-DD HH:mm').toDate();
|
|
18109
|
-
if (selected && selected.length > 1 && !!onSetDateValue) onSetDateValue([selected[0], newValue]);
|
|
18110
|
-
},
|
|
18111
|
-
size: "sm",
|
|
18112
|
-
value: endTime,
|
|
18113
|
-
disabled: !(selected && selected.length > 1)
|
|
18114
|
-
}, void 0)]
|
|
18115
|
-
}), void 0)]
|
|
18121
|
+
}, void 0)]
|
|
18116
18122
|
}), void 0);
|
|
18117
18123
|
};
|
|
18118
18124
|
|
|
@@ -18175,17 +18181,22 @@ const WeekdayBox$1 = styled(Box, {
|
|
|
18175
18181
|
});
|
|
18176
18182
|
const CalendarsContainer$1 = styled(Box, {
|
|
18177
18183
|
width: '100%',
|
|
18178
|
-
padding: '$spacing-03',
|
|
18179
18184
|
display: 'inline-flex',
|
|
18180
18185
|
borderRadius: '$lg',
|
|
18181
|
-
boxShadow: '0px 4px 8px rgba(0, 0, 0, 0.12)',
|
|
18182
|
-
backgroundColor: '$white',
|
|
18183
18186
|
justifyContent: 'center',
|
|
18184
18187
|
gap: '$spacing-03',
|
|
18185
18188
|
'@md': {
|
|
18186
18189
|
width: 'unset'
|
|
18187
18190
|
}
|
|
18188
18191
|
});
|
|
18192
|
+
const CalenderBoxContainer = styled(Box, {
|
|
18193
|
+
display: 'flex',
|
|
18194
|
+
flexDirection: 'column',
|
|
18195
|
+
boxShadow: '0px 4px 8px rgba(0, 0, 0, 0.12)',
|
|
18196
|
+
borderRadius: '$lg',
|
|
18197
|
+
backgroundColor: '$white',
|
|
18198
|
+
padding: '$spacing-03'
|
|
18199
|
+
});
|
|
18189
18200
|
const CalendarItemContainer$1 = styled(Flex$1, {});
|
|
18190
18201
|
const DateContainer$1 = styled(Box, {
|
|
18191
18202
|
width: '100%',
|
|
@@ -18258,7 +18269,7 @@ const MonthButton$1 = styled(Text$1, {
|
|
|
18258
18269
|
}
|
|
18259
18270
|
}
|
|
18260
18271
|
});
|
|
18261
|
-
|
|
18272
|
+
styled('button', {
|
|
18262
18273
|
fontWeight: 600,
|
|
18263
18274
|
fontStyle: 'normal',
|
|
18264
18275
|
fontSize: 14,
|
|
@@ -18654,84 +18665,110 @@ const CalendarBox = ({
|
|
|
18654
18665
|
}, void 0);
|
|
18655
18666
|
};
|
|
18656
18667
|
const renderTime = () => {
|
|
18657
|
-
return jsxs(
|
|
18658
|
-
css: {
|
|
18659
|
-
padding: 4
|
|
18660
|
-
}
|
|
18661
|
-
}, {
|
|
18668
|
+
return jsxs(Fragment$1, {
|
|
18662
18669
|
children: [jsx(Separator$2, {
|
|
18663
|
-
|
|
18664
|
-
|
|
18665
|
-
|
|
18666
|
-
|
|
18667
|
-
|
|
18668
|
-
|
|
18669
|
-
type: TIME_PICKER
|
|
18670
|
-
})),
|
|
18671
|
-
type: "button"
|
|
18670
|
+
orientation: "vertical"
|
|
18671
|
+
}, void 0), jsx(CalendarTimePicker, Object.assign({}, {
|
|
18672
|
+
selected,
|
|
18673
|
+
disabled,
|
|
18674
|
+
language,
|
|
18675
|
+
onSetDateValue
|
|
18672
18676
|
}, {
|
|
18673
|
-
|
|
18677
|
+
isSingle: !multiDatePicker
|
|
18674
18678
|
}), void 0)]
|
|
18675
|
-
}
|
|
18679
|
+
}, void 0);
|
|
18676
18680
|
};
|
|
18677
|
-
const
|
|
18681
|
+
const renderFooterSingleTimePicker = () => {
|
|
18678
18682
|
return jsxs(Box, Object.assign({
|
|
18679
18683
|
css: {
|
|
18680
|
-
|
|
18684
|
+
width: '$full'
|
|
18681
18685
|
}
|
|
18682
18686
|
}, {
|
|
18683
18687
|
children: [jsx(Separator$2, {
|
|
18684
18688
|
css: {
|
|
18685
|
-
my: '$spacing-
|
|
18689
|
+
my: '$spacing-03'
|
|
18690
|
+
}
|
|
18691
|
+
}, void 0), jsx(Flex$1, Object.assign({
|
|
18692
|
+
justify: "end",
|
|
18693
|
+
align: "center",
|
|
18694
|
+
css: {
|
|
18695
|
+
padding: 8
|
|
18686
18696
|
}
|
|
18687
|
-
}, void 0), jsx(ButtonTime, Object.assign({
|
|
18688
|
-
disabled: disabled,
|
|
18689
|
-
onClick: () => onCancel === null || onCancel === void 0 ? void 0 : onCancel(),
|
|
18690
|
-
type: "button"
|
|
18691
18697
|
}, {
|
|
18692
|
-
children:
|
|
18698
|
+
children: jsxs(Flex$1, Object.assign({
|
|
18699
|
+
gap: 3
|
|
18700
|
+
}, {
|
|
18701
|
+
children: [jsx(Button$4, Object.assign({
|
|
18702
|
+
buttonType: "ghost",
|
|
18703
|
+
css: {
|
|
18704
|
+
fontWeight: 600
|
|
18705
|
+
},
|
|
18706
|
+
onClick: onCancel,
|
|
18707
|
+
disabled: disabled,
|
|
18708
|
+
size: "sm",
|
|
18709
|
+
type: "button"
|
|
18710
|
+
}, {
|
|
18711
|
+
children: t('label.cancel', 'Batal', {
|
|
18712
|
+
ns: 'translation'
|
|
18713
|
+
})
|
|
18714
|
+
}), void 0), jsx(Button$4, Object.assign({
|
|
18715
|
+
css: {
|
|
18716
|
+
fontWeight: 600
|
|
18717
|
+
},
|
|
18718
|
+
onClick: onUpdate,
|
|
18719
|
+
disabled: disabled || !(selected && selected.length),
|
|
18720
|
+
size: "sm",
|
|
18721
|
+
type: "button"
|
|
18722
|
+
}, {
|
|
18723
|
+
children: t('label.save', 'Simpan', {
|
|
18724
|
+
ns: 'translation'
|
|
18725
|
+
})
|
|
18726
|
+
}), void 0)]
|
|
18727
|
+
}), void 0)
|
|
18693
18728
|
}), void 0)]
|
|
18694
18729
|
}), void 0);
|
|
18695
18730
|
};
|
|
18696
18731
|
if (calendars.length) {
|
|
18697
|
-
return jsxs(
|
|
18698
|
-
|
|
18699
|
-
|
|
18700
|
-
|
|
18701
|
-
|
|
18702
|
-
|
|
18703
|
-
|
|
18704
|
-
|
|
18705
|
-
|
|
18706
|
-
|
|
18707
|
-
children:
|
|
18708
|
-
|
|
18709
|
-
|
|
18710
|
-
height: 'auto'
|
|
18711
|
-
}
|
|
18712
|
-
}, void 0), jsxs(DateContainer$1, {
|
|
18713
|
-
children: [jsx(Separator$2, {
|
|
18732
|
+
return jsxs(CalenderBoxContainer, {
|
|
18733
|
+
children: [jsxs(CalendarsContainer$1, Object.assign({
|
|
18734
|
+
css: containerStyle
|
|
18735
|
+
}, {
|
|
18736
|
+
children: [advanceView, advanceView && jsx(Separator$2, {
|
|
18737
|
+
orientation: "vertical"
|
|
18738
|
+
}, void 0), jsxs(Box, {
|
|
18739
|
+
children: [renderHeader(), jsx(CalendarItemContainer$1, Object.assign({
|
|
18740
|
+
gap: 5
|
|
18741
|
+
}, {
|
|
18742
|
+
children: calendars.map((calendar, index) => jsxs(React__default.Fragment, {
|
|
18743
|
+
children: [index > 0 && jsx(Separator$2, {
|
|
18744
|
+
orientation: "vertical",
|
|
18714
18745
|
css: {
|
|
18715
|
-
|
|
18716
|
-
mt: '$spacing-02'
|
|
18746
|
+
height: 'auto'
|
|
18717
18747
|
}
|
|
18718
|
-
}, void 0),
|
|
18719
|
-
children: [
|
|
18720
|
-
|
|
18721
|
-
|
|
18722
|
-
|
|
18723
|
-
|
|
18724
|
-
|
|
18725
|
-
|
|
18726
|
-
|
|
18727
|
-
|
|
18728
|
-
|
|
18729
|
-
|
|
18730
|
-
|
|
18731
|
-
|
|
18732
|
-
|
|
18733
|
-
|
|
18734
|
-
|
|
18748
|
+
}, void 0), jsxs(DateContainer$1, {
|
|
18749
|
+
children: [jsx(Separator$2, {
|
|
18750
|
+
css: {
|
|
18751
|
+
mb: '$spacing-04',
|
|
18752
|
+
mt: '$spacing-02'
|
|
18753
|
+
}
|
|
18754
|
+
}, void 0), pickerState.type === DATE_PICKER && jsxs(Fragment, {
|
|
18755
|
+
children: [renderWeekLabel(calendar), renderDateNumber(calendar)]
|
|
18756
|
+
}, void 0), pickerState.type === MONTH_PICKER && renderMonthsList(), pickerState.type === YEAR_PICKER && renderYearsList(), pickerState.type === YEAR_RANGE_PICKER && renderYearRangesList()]
|
|
18757
|
+
}, void 0)]
|
|
18758
|
+
}, `${calendar.month}${calendar.year}`))
|
|
18759
|
+
}), void 0)]
|
|
18760
|
+
}, void 0), !advanceView && showTimePicker && renderTime(), showTimePicker && pickerState.type === DATE_PICKER && !!advanceView && jsxs(Fragment$1, {
|
|
18761
|
+
children: [jsx(Separator$2, {
|
|
18762
|
+
orientation: "vertical"
|
|
18763
|
+
}, void 0), jsx(CalendarTimePicker, Object.assign({}, {
|
|
18764
|
+
selected,
|
|
18765
|
+
disabled,
|
|
18766
|
+
language,
|
|
18767
|
+
onSetDateValue
|
|
18768
|
+
}), void 0)]
|
|
18769
|
+
}, void 0)]
|
|
18770
|
+
}), void 0), !multiDatePicker && showTimePicker && renderFooterSingleTimePicker(), multiDatePicker && renderFooter()]
|
|
18771
|
+
}, void 0);
|
|
18735
18772
|
}
|
|
18736
18773
|
return null;
|
|
18737
18774
|
};
|
|
@@ -19299,6 +19336,7 @@ const CalendarPicker = _a => {
|
|
|
19299
19336
|
if (dateValue && onChange) {
|
|
19300
19337
|
onChange(dateValue);
|
|
19301
19338
|
}
|
|
19339
|
+
onClose();
|
|
19302
19340
|
};
|
|
19303
19341
|
const dayzedData = useDayzed(Object.assign(Object.assign({}, props), {
|
|
19304
19342
|
date: calendarDate,
|
|
@@ -19315,39 +19353,22 @@ const CalendarPicker = _a => {
|
|
|
19315
19353
|
}
|
|
19316
19354
|
}, [selected]);
|
|
19317
19355
|
useEffect(() => {
|
|
19318
|
-
if (dateValue && !isMultiDatePicker && onChange) {
|
|
19356
|
+
if (dateValue && !(isMultiDatePicker || showTimePicker) && onChange) {
|
|
19319
19357
|
onChange(dateValue);
|
|
19320
19358
|
}
|
|
19321
19359
|
}, [dateValue]);
|
|
19322
|
-
const renderTimePicker = props => {
|
|
19323
|
-
return jsx(Box, Object.assign({
|
|
19324
|
-
css: {
|
|
19325
|
-
padding: '40px 60px'
|
|
19326
|
-
}
|
|
19327
|
-
}, {
|
|
19328
|
-
children: jsx(NativeTimePicker, Object.assign({
|
|
19329
|
-
size: "lg",
|
|
19330
|
-
value: dateValue ? moment(dateValue) : moment(),
|
|
19331
|
-
minDate: minDate,
|
|
19332
|
-
maxDate: maxDate,
|
|
19333
|
-
disabled: disabled,
|
|
19334
|
-
onChange: date => {
|
|
19335
|
-
setDateValue(new Date(date));
|
|
19336
|
-
}
|
|
19337
|
-
}, props), void 0)
|
|
19338
|
-
}), void 0);
|
|
19339
|
-
};
|
|
19340
19360
|
return jsx(CalendarBox, Object.assign({
|
|
19341
|
-
onUpdate: isMultiDatePicker ? updateHandler : undefined,
|
|
19361
|
+
onUpdate: isMultiDatePicker || showTimePicker ? updateHandler : undefined,
|
|
19342
19362
|
onCancel: onClose,
|
|
19343
19363
|
selected: dateValue ? [dateValue] : undefined,
|
|
19344
19364
|
advanceView: advanceView,
|
|
19345
19365
|
disabled: disabled,
|
|
19346
19366
|
onCalendarDateChange: setCalendarDate,
|
|
19347
19367
|
showTimePicker: showTimePicker,
|
|
19348
|
-
renderTimePicker: () => renderTimePicker(timePickerProps),
|
|
19349
19368
|
minDate: minDate,
|
|
19350
19369
|
maxDate: maxDate
|
|
19370
|
+
}, showTimePicker && {
|
|
19371
|
+
onSetDateValue: setDateValue
|
|
19351
19372
|
}, dayzedData), void 0);
|
|
19352
19373
|
};
|
|
19353
19374
|
const CalendarRangePicker = _a => {
|
|
@@ -20319,7 +20340,7 @@ const InputDateRange = /*#__PURE__*/React.forwardRef((_a, ref) => {
|
|
|
20319
20340
|
});
|
|
20320
20341
|
|
|
20321
20342
|
const _excluded$9 = ["className", "defaultValue", "value", "name", "disabled", "orientation", "dir", "min", "max", "step", "onValueChange", "minStepsBetweenThumbs", "color", "size", "width", "height"];
|
|
20322
|
-
var _jsxFileName$p = "
|
|
20343
|
+
var _jsxFileName$p = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\slider\\Slider.js";
|
|
20323
20344
|
const StyledSlider = styled$1(SliderPrimitive.Root, {
|
|
20324
20345
|
position: 'relative',
|
|
20325
20346
|
display: 'flex',
|
|
@@ -20663,7 +20684,7 @@ Slider.defaultProps = {
|
|
|
20663
20684
|
};
|
|
20664
20685
|
|
|
20665
20686
|
const _excluded$8 = ["className", "children", "onClick", "type", "size"];
|
|
20666
|
-
var _jsxFileName$o = "
|
|
20687
|
+
var _jsxFileName$o = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\tagStatus\\TagStatus.js";
|
|
20667
20688
|
const TagWrapper$1 = styled('div', {
|
|
20668
20689
|
boxSizing: 'border-box',
|
|
20669
20690
|
fontSize: '12px',
|
|
@@ -20827,7 +20848,7 @@ const _excluded$7 = ["children"],
|
|
|
20827
20848
|
_excluded2$1 = ["children", "activeTabs"],
|
|
20828
20849
|
_excluded3$1 = ["children", "icon", "activeTabs", "value"],
|
|
20829
20850
|
_excluded4 = ["activeTabs"];
|
|
20830
|
-
var _jsxFileName$n = "
|
|
20851
|
+
var _jsxFileName$n = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\tabs\\Tabs.js";
|
|
20831
20852
|
const StyledTabs = styled(TabsPrimitive.Root, {
|
|
20832
20853
|
display: 'flex',
|
|
20833
20854
|
flexDirection: 'column',
|
|
@@ -21166,7 +21187,7 @@ TabsContent$1.propTypes = {
|
|
|
21166
21187
|
};
|
|
21167
21188
|
|
|
21168
21189
|
const _excluded$6 = ["children", "variantIcon"];
|
|
21169
|
-
var _jsxFileName$m = "
|
|
21190
|
+
var _jsxFileName$m = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\notificationBadge\\NotificationBadge.js";
|
|
21170
21191
|
const NotificationBadgeRootStyle = styled('span', {
|
|
21171
21192
|
position: 'relative',
|
|
21172
21193
|
display: 'inline-flex',
|
|
@@ -21321,7 +21342,7 @@ NotificationBadge.propTypes = {
|
|
|
21321
21342
|
};
|
|
21322
21343
|
|
|
21323
21344
|
const _excluded$5 = ["className", "children", "radius", "padding", "width", "height"];
|
|
21324
|
-
var _jsxFileName$l = "
|
|
21345
|
+
var _jsxFileName$l = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\paper\\Paper.js";
|
|
21325
21346
|
const PaperComponent = styled('div', {
|
|
21326
21347
|
padding: '20px',
|
|
21327
21348
|
height: 'auto',
|
|
@@ -21574,7 +21595,7 @@ const removeUndefinedFields = obj => {
|
|
|
21574
21595
|
};
|
|
21575
21596
|
|
|
21576
21597
|
const _excluded$4 = ["isActive", "onClick"];
|
|
21577
|
-
var _jsxFileName$k = "
|
|
21598
|
+
var _jsxFileName$k = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationButton.js";
|
|
21578
21599
|
const PrevNextButton = styled(Text$1, {
|
|
21579
21600
|
padding: '$spacing-01',
|
|
21580
21601
|
cursor: 'pointer',
|
|
@@ -22062,7 +22083,7 @@ const PaginationButton = ({
|
|
|
22062
22083
|
};
|
|
22063
22084
|
|
|
22064
22085
|
const _excluded$3 = ["limits", "selectedLimit", "currentPage", "totalData", "onChange"];
|
|
22065
|
-
var _jsxFileName$j = "
|
|
22086
|
+
var _jsxFileName$j = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationInfo.js";
|
|
22066
22087
|
const LimitContainer = styled(Flex$1, {
|
|
22067
22088
|
cursor: 'pointer'
|
|
22068
22089
|
});
|
|
@@ -22295,7 +22316,7 @@ function PaginationInfo(_ref) {
|
|
|
22295
22316
|
}
|
|
22296
22317
|
|
|
22297
22318
|
const _excluded$2 = ["limit", "currentPage", "totalData", "totalPage", "hideDataInfo", "onLimitChange", "onPageChange", "rowsPerPageOptions", "hidePagination", "hideInputPageSection"];
|
|
22298
|
-
var _jsxFileName$i = "
|
|
22319
|
+
var _jsxFileName$i = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\Pagination.js";
|
|
22299
22320
|
function Pagination(_ref) {
|
|
22300
22321
|
let {
|
|
22301
22322
|
limit,
|
|
@@ -23691,7 +23712,8 @@ function Table({
|
|
|
23691
23712
|
hidePagination = false,
|
|
23692
23713
|
searchQuery,
|
|
23693
23714
|
additionalExceptionIds = [],
|
|
23694
|
-
|
|
23715
|
+
expanded: controlledExpanded = {},
|
|
23716
|
+
onExpandedChange,
|
|
23695
23717
|
id = null,
|
|
23696
23718
|
onColumnChange,
|
|
23697
23719
|
virtualized = true,
|
|
@@ -23726,18 +23748,27 @@ function Table({
|
|
|
23726
23748
|
selectedRowIds: selectedIds
|
|
23727
23749
|
});
|
|
23728
23750
|
}
|
|
23751
|
+
if (controlledExpanded) {
|
|
23752
|
+
Object.assign(initialState, {
|
|
23753
|
+
expanded: controlledExpanded
|
|
23754
|
+
});
|
|
23755
|
+
}
|
|
23729
23756
|
return Object.keys(initialState).length > 0 ? initialState : undefined;
|
|
23730
23757
|
};
|
|
23731
23758
|
const instance = useTable({
|
|
23732
23759
|
columns,
|
|
23733
23760
|
data: useMemo(() => formattingData(rawData, rowGroup), [rawData, rowGroup]),
|
|
23734
23761
|
initialState: getInitialState(),
|
|
23762
|
+
state: {
|
|
23763
|
+
expanded: controlledExpanded
|
|
23764
|
+
},
|
|
23735
23765
|
manualPagination: !!fetchData,
|
|
23736
23766
|
manualSortBy: !!fetchData,
|
|
23737
23767
|
defaultCanSort: true,
|
|
23738
23768
|
pageCount: totalPage || Math.ceil(totalData / limit),
|
|
23739
23769
|
autoResetSortBy: false,
|
|
23740
23770
|
autoResetExpanded,
|
|
23771
|
+
onExpandedChange,
|
|
23741
23772
|
autoResetPage: false,
|
|
23742
23773
|
autoResetSelectedRows: false,
|
|
23743
23774
|
getRowId: showDuplicatedData ? undefined : row => row[keyId] || JSON.stringify(row)
|
|
@@ -23982,8 +24013,8 @@ function Table({
|
|
|
23982
24013
|
firstUpdate.current = false;
|
|
23983
24014
|
return;
|
|
23984
24015
|
}
|
|
23985
|
-
|
|
23986
|
-
}, [expanded,
|
|
24016
|
+
onExpandedChange === null || onExpandedChange === void 0 ? void 0 : onExpandedChange(expanded);
|
|
24017
|
+
}, [expanded, onExpandedChange]);
|
|
23987
24018
|
useEffect(() => {
|
|
23988
24019
|
if (hiddenColumns) setHiddenColumns(hiddenColumns);
|
|
23989
24020
|
}, [hiddenColumns]);
|
|
@@ -24464,7 +24495,7 @@ const TableColumn = _a => {
|
|
|
24464
24495
|
return jsx("div", {}, void 0);
|
|
24465
24496
|
};
|
|
24466
24497
|
|
|
24467
|
-
var _jsxFileName$h = "
|
|
24498
|
+
var _jsxFileName$h = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\DateColumn.js";
|
|
24468
24499
|
const DateColumn = ({
|
|
24469
24500
|
value,
|
|
24470
24501
|
customFormat
|
|
@@ -24577,7 +24608,7 @@ const PriceColumn = props => {
|
|
|
24577
24608
|
return addThousandSeparator(param);
|
|
24578
24609
|
};
|
|
24579
24610
|
|
|
24580
|
-
var _jsxFileName$g = "
|
|
24611
|
+
var _jsxFileName$g = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowExpanderColumn.js";
|
|
24581
24612
|
const rowExpanderColumn = {
|
|
24582
24613
|
id: 'expander',
|
|
24583
24614
|
Header: () => null,
|
|
@@ -24618,7 +24649,7 @@ const rowExpanderColumn = {
|
|
|
24618
24649
|
unsortable: true
|
|
24619
24650
|
};
|
|
24620
24651
|
|
|
24621
|
-
var _jsxFileName$f = "
|
|
24652
|
+
var _jsxFileName$f = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowExpanderMultipleColumn.js";
|
|
24622
24653
|
const rowExpanderMultipleColumn = {
|
|
24623
24654
|
id: 'multiple-expander',
|
|
24624
24655
|
Header: () => null,
|
|
@@ -24652,7 +24683,7 @@ const rowExpanderMultipleColumn = {
|
|
|
24652
24683
|
unsortable: true
|
|
24653
24684
|
};
|
|
24654
24685
|
|
|
24655
|
-
var _jsxFileName$e = "
|
|
24686
|
+
var _jsxFileName$e = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowMenuColumn.js";
|
|
24656
24687
|
const rowMenuColumn = (options, icon, config) => ({
|
|
24657
24688
|
id: 'menu',
|
|
24658
24689
|
options,
|
|
@@ -24785,7 +24816,7 @@ const rowMenuColumn = (options, icon, config) => ({
|
|
|
24785
24816
|
unsortable: true
|
|
24786
24817
|
});
|
|
24787
24818
|
|
|
24788
|
-
var _jsxFileName$d = "
|
|
24819
|
+
var _jsxFileName$d = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowSelectionColumn.js";
|
|
24789
24820
|
const rowSelectionColumn = {
|
|
24790
24821
|
id: 'selection',
|
|
24791
24822
|
Header: ({
|
|
@@ -24834,7 +24865,7 @@ const rowSelectionColumn = {
|
|
|
24834
24865
|
unsortable: true
|
|
24835
24866
|
};
|
|
24836
24867
|
|
|
24837
|
-
var _jsxFileName$c = "
|
|
24868
|
+
var _jsxFileName$c = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowSelectionCallbackColumn.js";
|
|
24838
24869
|
const rowSelectionWithCallbackColumn = (onCheckedChange, onAllCheckedChange) => ({
|
|
24839
24870
|
id: 'selection',
|
|
24840
24871
|
Header: ({
|
|
@@ -25172,7 +25203,7 @@ PageDialog.defaultProps = {
|
|
|
25172
25203
|
};
|
|
25173
25204
|
|
|
25174
25205
|
const _excluded$1 = ["children"];
|
|
25175
|
-
var _jsxFileName$b = "
|
|
25206
|
+
var _jsxFileName$b = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\alertDialog\\AlertDialog.js";
|
|
25176
25207
|
const overlayShow = keyframes({
|
|
25177
25208
|
'0%': {
|
|
25178
25209
|
opacity: 0
|
|
@@ -25807,7 +25838,7 @@ const AlertDialogConfirm = ADialog.Action;
|
|
|
25807
25838
|
const _excluded = ["side", "align", "children"],
|
|
25808
25839
|
_excluded2 = ["children"],
|
|
25809
25840
|
_excluded3 = ["asChild"];
|
|
25810
|
-
var _jsxFileName$a = "
|
|
25841
|
+
var _jsxFileName$a = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\dropdownMenu\\DropdownMenu.js";
|
|
25811
25842
|
const Context = /*#__PURE__*/React__default.createContext();
|
|
25812
25843
|
const slideUpAndFade = keyframes({
|
|
25813
25844
|
'0%': {
|
|
@@ -27918,7 +27949,7 @@ function imgPreview(image, crop, scale = 1, rotate = 0, ratio, type) {
|
|
|
27918
27949
|
});
|
|
27919
27950
|
}
|
|
27920
27951
|
|
|
27921
|
-
var _jsxFileName$9 = "
|
|
27952
|
+
var _jsxFileName$9 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\upload\\Upload.js";
|
|
27922
27953
|
const Input$2 = styled('input', {
|
|
27923
27954
|
display: 'none !important'
|
|
27924
27955
|
});
|
|
@@ -29844,7 +29875,7 @@ const Device = props => {
|
|
|
29844
29875
|
};
|
|
29845
29876
|
Device.displayName = 'DevicePreview';
|
|
29846
29877
|
|
|
29847
|
-
var _jsxFileName$8 = "
|
|
29878
|
+
var _jsxFileName$8 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\InputColorPicker.js";
|
|
29848
29879
|
const Separator$1 = styled('div', {
|
|
29849
29880
|
height: 20,
|
|
29850
29881
|
width: 1,
|
|
@@ -29997,7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D80VoH4X5Xcifhv91KCCIBY6IoIkmoiifivWxiJ+L+8Hon4wB0kigjQfiWKKOz/E4nY/XAbmdkN8ROZ6R5yG5npILMumck9JBaZ2U2lHpnZXiYWmelupxqaCXq4H5mpizkXmbmbuh+Zuaw7F5nJvvwamanK7RKZudtuH/qZuevvEpnJ/GAeqeoI4RGpmhlCF6maKaMdqZo6BBOpqky1H6oKWYVqgppxt6CmqIopKqnKmWSoipphhy6qmHoIpKoqym0Yrqravq6mqvsQJ7GpwHNCunCNDSycG0dpphLZ4AZKunAdzy6cG3fio7qYPNlutshNCmGy2F07ZL7YXWxnuthtnWq22H3ObbLYjf9gvuiOJ2+Zy5BJ8rnboIr2uduwy/q528EM/rnb0U3yuevhjva56/HP/bZsA5OlbwyAYnbLLCDafscMQsS1zxyxZnLLPGHdfsMchckqzzASf3LILKQHPQ8tBmwGw0ADMnbYDNTHuAs5s7k+zzyUGr/0x0y0fDrPTMTdv8dM5RFzy1yVWnfDXLWb+8tcxd1/y1kmGLPTbCZTd8dsRpV7x2xm13/DaOcRM8N911u3s3xHlTvDfGfXP8t4mBmzu4uoUbfni8idu7uL6N+/t4iZGXO3m6lbd7OeaZZ7t5vp33+/mCoTc7OrSlT3u6tamrvvrSrTv9+nux8zx77ULfnjvSu/fu++/LBT/7z7XfXnTuu/PeOvPuOT989MZTn3zv2AMf+CaTb1L5Jpdvkvkmm2/Sefiw7/zJ1J9U/cnVn2T9ydafdA0/4AUbhclGkbJRsGwULxuFzEbhtv+B7QDSSJc02iWNeEmjXtLIlzRc97RAAAA7";
|
|
29999
30030
|
|
|
30000
|
-
var _jsxFileName$7 = "
|
|
30031
|
+
var _jsxFileName$7 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorMap.js";
|
|
30001
30032
|
const Container$7 = styled('div', {
|
|
30002
30033
|
userSelect: 'none',
|
|
30003
30034
|
margin: 'auto',
|
|
@@ -31958,7 +31989,7 @@ function ColorMap({
|
|
|
31958
31989
|
})));
|
|
31959
31990
|
}
|
|
31960
31991
|
|
|
31961
|
-
var _jsxFileName$6 = "
|
|
31992
|
+
var _jsxFileName$6 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorFields.js";
|
|
31962
31993
|
const CheckBoard = styled(Flex$1, {
|
|
31963
31994
|
background: '$bgwhite',
|
|
31964
31995
|
border: '1px solid #E5E7EB',
|
|
@@ -32159,7 +32190,7 @@ function ColorFields({
|
|
|
32159
32190
|
}, "%")));
|
|
32160
32191
|
}
|
|
32161
32192
|
|
|
32162
|
-
var _jsxFileName$5 = "
|
|
32193
|
+
var _jsxFileName$5 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\ColorPicker.js";
|
|
32163
32194
|
const Container$6 = styled(Flex$1, {
|
|
32164
32195
|
background: '$white',
|
|
32165
32196
|
padding: 16,
|
|
@@ -32653,24 +32684,24 @@ function ColorPicker({
|
|
|
32653
32684
|
})))))));
|
|
32654
32685
|
}
|
|
32655
32686
|
ColorPicker.propTypes = {
|
|
32656
|
-
/**
|
|
32657
|
-
Color code to be displayed.
|
|
32687
|
+
/**
|
|
32688
|
+
Color code to be displayed.
|
|
32658
32689
|
*/
|
|
32659
32690
|
color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
|
|
32660
|
-
/**
|
|
32661
|
-
Additional color list
|
|
32691
|
+
/**
|
|
32692
|
+
Additional color list
|
|
32662
32693
|
*/
|
|
32663
32694
|
presetColors: PropTypes.array,
|
|
32664
|
-
/**
|
|
32665
|
-
Change event handler
|
|
32695
|
+
/**
|
|
32696
|
+
Change event handler
|
|
32666
32697
|
*/
|
|
32667
32698
|
onChange: PropTypes.func,
|
|
32668
|
-
/**
|
|
32669
|
-
Add preset color event handler
|
|
32699
|
+
/**
|
|
32700
|
+
Add preset color event handler
|
|
32670
32701
|
*/
|
|
32671
32702
|
onAddColor: PropTypes.func,
|
|
32672
|
-
/**
|
|
32673
|
-
Disable opacity selector
|
|
32703
|
+
/**
|
|
32704
|
+
Disable opacity selector
|
|
32674
32705
|
*/
|
|
32675
32706
|
disableAlpha: PropTypes.bool
|
|
32676
32707
|
};
|
|
@@ -32679,7 +32710,7 @@ ColorPicker.defaultProps = {
|
|
|
32679
32710
|
};
|
|
32680
32711
|
var ColorPicker$1 = ColorWrap(ColorPicker);
|
|
32681
32712
|
|
|
32682
|
-
var _jsxFileName$4 = "
|
|
32713
|
+
var _jsxFileName$4 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\stepWizard\\StepWizard.js";
|
|
32683
32714
|
const StepWizardContext = /*#__PURE__*/React__default.createContext({});
|
|
32684
32715
|
const Stepper = StepWizard$1;
|
|
32685
32716
|
Stepper.displayName = 'Stepper';
|
|
@@ -33402,7 +33433,7 @@ StepWizard.defaultProps = {
|
|
|
33402
33433
|
isLazyMount: true
|
|
33403
33434
|
};
|
|
33404
33435
|
|
|
33405
|
-
var _jsxFileName$3 = "
|
|
33436
|
+
var _jsxFileName$3 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\transition.js";
|
|
33406
33437
|
function Collapse({
|
|
33407
33438
|
children,
|
|
33408
33439
|
isOpen
|
|
@@ -33445,7 +33476,7 @@ Collapse.defaultProps = {
|
|
|
33445
33476
|
isOpen: false
|
|
33446
33477
|
};
|
|
33447
33478
|
|
|
33448
|
-
var _jsxFileName$2 = "
|
|
33479
|
+
var _jsxFileName$2 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\TableOfContent.js";
|
|
33449
33480
|
const DesktopContainer = styled(Flex$1, {
|
|
33450
33481
|
display: 'none',
|
|
33451
33482
|
'& .active-scroll-spy': {
|
|
@@ -33806,7 +33837,7 @@ TableOfContentPage.defaultProps = {
|
|
|
33806
33837
|
useBoxMethod: true
|
|
33807
33838
|
};
|
|
33808
33839
|
|
|
33809
|
-
var _jsxFileName$1 = "
|
|
33840
|
+
var _jsxFileName$1 = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\components\\editableTable\\transition.js";
|
|
33810
33841
|
function Collapalse({
|
|
33811
33842
|
children,
|
|
33812
33843
|
isOpen
|
|
@@ -55320,7 +55351,7 @@ PieChartComponent.defaultProps = {
|
|
|
55320
55351
|
innerRadius: 70
|
|
55321
55352
|
};
|
|
55322
55353
|
|
|
55323
|
-
var _jsxFileName = "
|
|
55354
|
+
var _jsxFileName = "E:\\Coding\\Majoo\\majoo-ui\\packages\\react\\src\\colors\\Colors.js";
|
|
55324
55355
|
const StyledPaper = styled(Paper, {
|
|
55325
55356
|
borderRadius: '10px 10px 0 0',
|
|
55326
55357
|
padding: 15,
|