@yosgo/swap-ui 1.0.136 → 1.0.137
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/build/Tab/TabPanel.d.ts +1 -2
- package/build/index.esm.js +76 -81
- package/build/index.esm.js.map +1 -1
- package/build/index.js +75 -80
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -104,7 +104,7 @@ var logo_icon = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiI
|
|
|
104
104
|
|
|
105
105
|
var logo_icon_black = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjQwIiBoZWlnaHQ9IjQwIiBmaWxsPSJibGFjayIvPgo8cGF0aCBkPSJNMjcuMzQ4MiAyMS45MTU0QzI3LjIzOSAyMS4xNzggMjcuMDc1MSAyMC40Njc5IDI2LjkxMTIgMTkuNzMwNUMyNi42MTA4IDE4LjQ0NjggMjYuMjgzIDE3LjE5MDUgMjUuOTAwNyAxNS45NjE0QzI1LjYwMDIgMTQuOTc4MiAyNS4yOTk4IDE0LjAyMjMgMjQuOTk5NCAxMy4wNjY0QzI0Ljc4MDkgMTIuMzgzNiAyNC41MzUxIDExLjY3MzUgMjQuMjg5MyAxMC45OTA3QzIzLjYwNjUgOS4wNTE1MyAyMi44NjkxIDcuMTEyMzggMjIuMTA0MyA1LjIwMDU1QzIxLjgzMTIgNS4zNjQ0MyAyMS41NTgxIDUuNTI4MyAyMS4yODUgNS43MTk0OEMxOC45MDg4IDcuNDQwMTMgMTguMTQ0MSA5Ljg5ODE5IDE4LjE0NDEgMTIuNTIwMUMxOC4xNDQxIDEzLjI1NzYgMTguMTk4NyAxNC4w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zU0IDE0Ljc4NjlDMTguMjI2MiAxNC4wMjIxIDE4LjE3MTYgMTMuMjg0NyAxOC4xNzE2IDEyLjUyQzE4LjE3MTYgOS44OTgwMyAxOC45MzYzIDcuNDY3MjcgMjEuMzEyNCA1LjcxOTMyQzIxLjU1ODIgNS41MjgxMyAyMS44MzEzIDUuMzY0MjYgMjIuMTMxOCA1LjIwMDM5QzIyLjg5NjUgNy4xMTIyMiAyMy42MzM5IDkuMDUxMzYgMjQuMzE2NyAxMC45OTA1QzI0LjU2MjUgMTEuNjczMyAyNC44MDgzIDEyLjM4MzQgMjUuMDI2OCAxMy4wNjYyQzI1LjM1NDYgMTQuMDIyMSAyNS42NTUgMTUuMDA1MyAyNS45MjgxIDE1Ljk2MTNDMjYuMjgzMiAxNy4xOTAzIDI2LjYzODIgMTguNDQ2NiAyNi45Mzg3IDE5LjczMDNDMjcuMTAyNSAyMC40NDA0IDI3LjIzOTEgMjEuMTc3OCAyNy4zNzU3IDIxLjkxNTNDMjcuNTk0MSAyMy40MTc0IDI3LjczMDcgMjQuOTE5NiAyNy42NzYxIDI2LjQ0OVpNMzAuNzYyMyAxNy41NDU0QzMwLjIxNjEgMTguMDM3IDI5LjYxNTIgMTguNDQ2NiAyOC45NTk3IDE4LjgwMTdDMjguNDY4MSAxNi43MjYgMjcuODY3MyAxNC42Nzc2IDI3LjE4NDUgMTIuNjI5MkMyOS4yMDU1IDEyLjI0NjkgMzEuMjUzOSAxMS45MTkxIDMzLjMwMjMgMTEuNjQ2QzMzLjMyOTYgMTMuODU4MiAzMi40Mjg0IDE2LjA3MDUgMzAuNzYyMyAxNy41NDU0WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+';
|
|
106
106
|
|
|
107
|
-
var SWAPLogo =
|
|
107
|
+
var SWAPLogo = function (_a) {
|
|
108
108
|
var _b = _a.black, black = _b === void 0 ? false : _b, _c = _a.iconOnly, iconOnly = _c === void 0 ? false : _c, _d = _a.chinese, chinese = _d === void 0 ? false : _d, _e = _a.business, business = _e === void 0 ? false : _e, _f = _a.size, size = _f === void 0 ? "middle" : _f, _g = _a.dark, dark = _g === void 0 ? false : _g, height = _a.height, width = _a.width;
|
|
109
109
|
return (React__default.createElement("span", null,
|
|
110
110
|
React__default.createElement(SWAPLogoWrap, { size: size },
|
|
@@ -134,7 +134,7 @@ var SWAPLogo = React.memo(function (_a) {
|
|
|
134
134
|
return logo_normal;
|
|
135
135
|
}
|
|
136
136
|
})() }))));
|
|
137
|
-
}
|
|
137
|
+
};
|
|
138
138
|
var SWAPLogoWrap = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n img {\n height: ", ";\n &.business {\n height: ", ";\n }\n }\n"], ["\n display: flex;\n align-items: center;\n img {\n height: ",
|
|
139
139
|
";\n &.business {\n height: ",
|
|
140
140
|
";\n }\n }\n"])), function (_a) {
|
|
@@ -1308,7 +1308,7 @@ var LineShareButton = createShareButton('line', lineLink, function (props) { ret
|
|
|
1308
1308
|
windowHeight: 500,
|
|
1309
1309
|
});
|
|
1310
1310
|
|
|
1311
|
-
var SWAPShare =
|
|
1311
|
+
var SWAPShare = function (_a) {
|
|
1312
1312
|
var url = _a.url, _b = _a.size, _c = _a.emailSubject, emailSubject = _c === void 0 ? "" : _c, _d = _a.sharedContent, sharedContent = _d === void 0 ? "" : _d;
|
|
1313
1313
|
var _e = React.useState(""), sharedUrl = _e[0], setSharedUrl = _e[1];
|
|
1314
1314
|
React.useEffect(function () {
|
|
@@ -1366,7 +1366,7 @@ var SWAPShare = React.memo(function (_a) {
|
|
|
1366
1366
|
React__default.createElement("path", { d: "M28 16L20 21L12 16V14L20 19L28 14V16ZM28 12H12C10.89 12 10 12.89 10 14V26C10 26.5304 10.2107 27.0391 10.5858 27.4142C10.9609 27.7893 11.4696 28 12 28H28C28.5304 28 29.0391 27.7893 29.4142 27.4142C29.7893 27.0391 30 26.5304 30 26V14C30 12.89 29.1 12 28 12Z", fill: "#6F6F6F" })))),
|
|
1367
1367
|
},
|
|
1368
1368
|
].map(function (item, index) { return (React__default.createElement("div", { key: "share_btn_" + index }, item.el)); })));
|
|
1369
|
-
}
|
|
1369
|
+
};
|
|
1370
1370
|
var SWAPShareWrap = styled.div(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["\n height: 40px;\n position: relative;\n .swap_share_icon {\n cursor: pointer;\n }\n"], ["\n height: 40px;\n position: relative;\n .swap_share_icon {\n cursor: pointer;\n }\n"])));
|
|
1371
1371
|
var templateObject_1$6;
|
|
1372
1372
|
|
|
@@ -2527,7 +2527,7 @@ var Typography = React__default.memo(function (_a) {
|
|
|
2527
2527
|
return (React__default.createElement(MaterialTypography, { className: classes.root, style: style }, children));
|
|
2528
2528
|
});
|
|
2529
2529
|
|
|
2530
|
-
var Container =
|
|
2530
|
+
var Container = function (_a) {
|
|
2531
2531
|
var children = _a.children, style = _a.style, maxWidth = _a.maxWidth, padding = _a.padding;
|
|
2532
2532
|
var XXS = useBreakpoints("xxs");
|
|
2533
2533
|
var XS = useBreakpoints("xs");
|
|
@@ -2582,7 +2582,7 @@ var Container = React.memo(function (_a) {
|
|
|
2582
2582
|
});
|
|
2583
2583
|
var classes = useStyles();
|
|
2584
2584
|
return (React__default.createElement(MaterialContainer, { className: classes.root, style: style }, children));
|
|
2585
|
-
}
|
|
2585
|
+
};
|
|
2586
2586
|
|
|
2587
2587
|
function useBreakpoints(breakpoints) {
|
|
2588
2588
|
var matches = core.useMediaQuery("(min-width:" + (breakpoints === "xxs"
|
|
@@ -2667,7 +2667,7 @@ var useStyles = core.makeStyles(function (theme) { return ({
|
|
|
2667
2667
|
},
|
|
2668
2668
|
}); },
|
|
2669
2669
|
}); });
|
|
2670
|
-
var CheckBox =
|
|
2670
|
+
var CheckBox = function (props) {
|
|
2671
2671
|
var disableHover = props.disableHover, label = props.label, labelPlacement = props.labelPlacement, checkedIcon = props.checkedIcon, icon = props.icon, other = __rest(props, ["disableHover", "label", "labelPlacement", "checkedIcon", "icon"]);
|
|
2672
2672
|
var styleProps = {
|
|
2673
2673
|
disableHover: disableHover,
|
|
@@ -2675,7 +2675,7 @@ var CheckBox = React.memo(function (props) {
|
|
|
2675
2675
|
var classes = useStyles(styleProps);
|
|
2676
2676
|
return (React__default.createElement(core.FormControlLabel, { label: label, labelPlacement: labelPlacement, style: { marginRight: 0 }, control: React__default.createElement(MaterialCheckBox, __assign({ disableFocusRipple: true, disableTouchRipple: true, className: classes.root }, other, { checkedIcon: React__default.createElement("span", { className: classes.checked_icon }, checkedIcon ? (checkedIcon) : (React__default.createElement("svg", { width: "17", height: "16", viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
2677
2677
|
React__default.createElement("path", { d: "M1.5 8.5L7 13L15 2", stroke: "white", strokeWidth: "3", strokeLinecap: "round" })))), icon: React__default.createElement("span", { className: classes.icon }, icon ? icon : null) })) }));
|
|
2678
|
-
}
|
|
2678
|
+
};
|
|
2679
2679
|
|
|
2680
2680
|
var useStyles$1 = core.makeStyles(function (theme) { return ({
|
|
2681
2681
|
root: function (props) { return ({
|
|
@@ -2741,7 +2741,7 @@ var useStyles$1 = core.makeStyles(function (theme) { return ({
|
|
|
2741
2741
|
},
|
|
2742
2742
|
}); },
|
|
2743
2743
|
}); });
|
|
2744
|
-
var RadioButton =
|
|
2744
|
+
var RadioButton = function (props) {
|
|
2745
2745
|
var label = props.label, labelPlacement = props.labelPlacement, disableHover = props.disableHover, other = __rest(props, ["label", "labelPlacement", "disableHover"]);
|
|
2746
2746
|
var styleProps = {
|
|
2747
2747
|
disableHover: disableHover,
|
|
@@ -2750,7 +2750,7 @@ var RadioButton = React.memo(function (props) {
|
|
|
2750
2750
|
return (React__default.createElement(core.FormControlLabel, { label: label, labelPlacement: labelPlacement, style: { marginRight: 0 }, control: React__default.createElement(MaterialRadioButton, __assign({ disableFocusRipple: true, disableTouchRipple: true, className: classes.root, checkedIcon: React__default.createElement("span", { className: classes.checked_icon },
|
|
2751
2751
|
React__default.createElement("svg", { width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
2752
2752
|
React__default.createElement("circle", { cx: "5", cy: "5", r: "5", fill: "white" }))), icon: React__default.createElement("span", { className: classes.icon }) }, other)) }));
|
|
2753
|
-
}
|
|
2753
|
+
};
|
|
2754
2754
|
|
|
2755
2755
|
var useStyles$2 = core.makeStyles(function (theme) { return ({
|
|
2756
2756
|
root: {
|
|
@@ -2844,7 +2844,7 @@ var useStyles$2 = core.makeStyles(function (theme) { return ({
|
|
|
2844
2844
|
"&.Mui-error": { color: theme.black.black800 },
|
|
2845
2845
|
},
|
|
2846
2846
|
}); });
|
|
2847
|
-
var TextField =
|
|
2847
|
+
var TextField = function (props) {
|
|
2848
2848
|
var children = props.children, width = props.width, height = props.height, InputProps = props.InputProps, InputLabelProps = props.InputLabelProps, SelectProps = props.SelectProps, select = props.select, fullWidth = props.fullWidth, other = __rest(props, ["children", "width", "height", "InputProps", "InputLabelProps", "SelectProps", "select", "fullWidth"]);
|
|
2849
2849
|
var styleProps = {
|
|
2850
2850
|
width: width,
|
|
@@ -2866,9 +2866,9 @@ var TextField = React.memo(function (props) {
|
|
|
2866
2866
|
horizontal: -16,
|
|
2867
2867
|
},
|
|
2868
2868
|
} }, SelectProps) }), children));
|
|
2869
|
-
}
|
|
2869
|
+
};
|
|
2870
2870
|
|
|
2871
|
-
var Tab =
|
|
2871
|
+
var Tab = function (props) {
|
|
2872
2872
|
var label = props.label, selected = props.selected, width = props.width, height = props.height, margin = props.margin, fontSize = props.fontSize, noIndicator = props.noIndicator, animation = props.animation, other = __rest(props, ["label", "selected", "width", "height", "margin", "fontSize", "noIndicator", "animation"]);
|
|
2873
2873
|
var useStyles = core.makeStyles(function (theme) { return ({
|
|
2874
2874
|
root: {
|
|
@@ -2918,7 +2918,7 @@ var Tab = React.memo(function (props) {
|
|
|
2918
2918
|
}, label: React__default.createElement("div", { className: classes.indicatorRoot },
|
|
2919
2919
|
label,
|
|
2920
2920
|
selected ? React__default.createElement("div", { className: classes.selected_indicator }) : null), disableRipple: true })));
|
|
2921
|
-
}
|
|
2921
|
+
};
|
|
2922
2922
|
|
|
2923
2923
|
var useStyles$3 = core.makeStyles({
|
|
2924
2924
|
root: {},
|
|
@@ -2926,14 +2926,14 @@ var useStyles$3 = core.makeStyles({
|
|
|
2926
2926
|
backgroundColor: "transparent",
|
|
2927
2927
|
},
|
|
2928
2928
|
});
|
|
2929
|
-
var Tabs =
|
|
2929
|
+
var Tabs = function (props) {
|
|
2930
2930
|
var children = props.children, other = __rest(props, ["children"]);
|
|
2931
2931
|
var classes = useStyles$3();
|
|
2932
2932
|
return (React__default.createElement(MaterialTabs, __assign({}, other, { classes: {
|
|
2933
2933
|
root: classes.root,
|
|
2934
2934
|
indicator: classes.indicatorRoot,
|
|
2935
2935
|
} }), children));
|
|
2936
|
-
}
|
|
2936
|
+
};
|
|
2937
2937
|
|
|
2938
2938
|
var useStyles$4 = core.makeStyles(function (theme) { return ({
|
|
2939
2939
|
root: function (props) { return ({
|
|
@@ -2959,7 +2959,7 @@ var useStyles$4 = core.makeStyles(function (theme) { return ({
|
|
|
2959
2959
|
opacity: 1,
|
|
2960
2960
|
},
|
|
2961
2961
|
}); });
|
|
2962
|
-
var SegmentedTab =
|
|
2962
|
+
var SegmentedTab = function (props) {
|
|
2963
2963
|
var width = props.width, height = props.height, fontSize = props.fontSize, flex = props.flex, other = __rest(props, ["width", "height", "fontSize", "flex"]);
|
|
2964
2964
|
var styleProps = {
|
|
2965
2965
|
width: width,
|
|
@@ -2969,7 +2969,7 @@ var SegmentedTab = React.memo(function (props) {
|
|
|
2969
2969
|
};
|
|
2970
2970
|
var classes = useStyles$4(styleProps);
|
|
2971
2971
|
return (React__default.createElement(MaterialTab, __assign({}, other, { disableRipple: true, classes: { textColorInherit: classes.text }, className: classes.root })));
|
|
2972
|
-
}
|
|
2972
|
+
};
|
|
2973
2973
|
|
|
2974
2974
|
var smoothscroll = createCommonjsModule(function (module, exports) {
|
|
2975
2975
|
/* smoothscroll v0.4.4 - 2019 - Dustan Kasten, Jeremias Menichelli - MIT License */
|
|
@@ -3433,7 +3433,7 @@ var useStyles$5 = core.makeStyles(function (theme) { return ({
|
|
|
3433
3433
|
},
|
|
3434
3434
|
},
|
|
3435
3435
|
}); });
|
|
3436
|
-
var SegmentedTabs =
|
|
3436
|
+
var SegmentedTabs = function (_a) {
|
|
3437
3437
|
var children = _a.children, width = _a.width, slide = _a.slide, other = __rest(_a, ["children", "width", "slide"]);
|
|
3438
3438
|
var styleProps = {
|
|
3439
3439
|
width: width,
|
|
@@ -3465,13 +3465,12 @@ var SegmentedTabs = React.memo(function (_a) {
|
|
|
3465
3465
|
indicator: classes.indicator,
|
|
3466
3466
|
scrollButtons: classes.scrollButtons,
|
|
3467
3467
|
}, indicatorColor: "primary", ref: tabsRef }), children));
|
|
3468
|
-
}
|
|
3468
|
+
};
|
|
3469
3469
|
|
|
3470
3470
|
function TabPanel(props) {
|
|
3471
3471
|
var children = props.children, value = props.value, index = props.index, other = __rest(props, ["children", "value", "index"]);
|
|
3472
3472
|
return (React__default.createElement("div", __assign({ role: "tabpanel", hidden: value !== index, id: "scrollable-auto-tabpanel-" + index, "aria-labelledby": "scrollable-auto-tab-" + index }, other), value === index && React__default.createElement(core.Box, null, children)));
|
|
3473
|
-
}
|
|
3474
|
-
var TabPanel$1 = React.memo(TabPanel);
|
|
3473
|
+
}
|
|
3475
3474
|
|
|
3476
3475
|
var useOutlinedInputStyles = core.makeStyles(function (theme) { return ({
|
|
3477
3476
|
root: {
|
|
@@ -3549,7 +3548,7 @@ var useStyles$6 = core.makeStyles(function (theme) { return ({
|
|
|
3549
3548
|
marginTop: 8,
|
|
3550
3549
|
},
|
|
3551
3550
|
}); });
|
|
3552
|
-
var Select =
|
|
3551
|
+
var Select = function (_a) {
|
|
3553
3552
|
var children = _a.children, style = _a.style, value = _a.value, onChange = _a.onChange, defaultValue = _a.defaultValue, error = _a.error, disabled = _a.disabled, type = _a.type, autoFocus = _a.autoFocus, placeholder = _a.placeholder, fullWidth = _a.fullWidth, required = _a.required, InputProps = _a.InputProps, helperText = _a.helperText, width = _a.width, height = _a.height, horizontal = _a.horizontal, vertical = _a.vertical, open = _a.open, placeholderStyle = _a.placeholderStyle, selectStyle = _a.selectStyle, helperTextStyle = _a.helperTextStyle, onClick = _a.onClick, transformOrigin = _a.transformOrigin, paddingTop = _a.paddingTop, paddingLeft = _a.paddingLeft, dropdown = _a.dropdown;
|
|
3554
3553
|
var outlinedInputClasses = useOutlinedInputStyles();
|
|
3555
3554
|
var styleProps = {
|
|
@@ -3576,12 +3575,12 @@ var Select = React.memo(function (_a) {
|
|
|
3576
3575
|
getContentAnchorEl: null,
|
|
3577
3576
|
}, onClick: onClick }, children),
|
|
3578
3577
|
React__default.createElement(core.FormHelperText, { style: helperTextStyle }, helperText)));
|
|
3579
|
-
}
|
|
3578
|
+
};
|
|
3580
3579
|
|
|
3581
|
-
var Menu =
|
|
3580
|
+
var Menu = function (props) {
|
|
3582
3581
|
var children = props.children, open = props.open, other = __rest(props, ["children", "open"]);
|
|
3583
3582
|
return (React__default.createElement(MaterialMenu, __assign({ open: open }, other), children));
|
|
3584
|
-
}
|
|
3583
|
+
};
|
|
3585
3584
|
|
|
3586
3585
|
var useStyles$7 = core.makeStyles(function (theme) { return ({
|
|
3587
3586
|
root: function (props) { return ({
|
|
@@ -3612,7 +3611,7 @@ var useStyles$7 = core.makeStyles(function (theme) { return ({
|
|
|
3612
3611
|
},
|
|
3613
3612
|
}); },
|
|
3614
3613
|
}); });
|
|
3615
|
-
var MenuItem =
|
|
3614
|
+
var MenuItem = React__default.forwardRef(function (props, ref) {
|
|
3616
3615
|
var children = props.children, width = props.width, hoverBackgroundColor = props.hoverBackgroundColor, hoverFontColor = props.hoverFontColor, hoverIconColor = props.hoverIconColor, height = props.height, rippleColor = props.rippleColor, iconChildren = props.iconChildren, other = __rest(props, ["children", "width", "hoverBackgroundColor", "hoverFontColor", "hoverIconColor", "height", "rippleColor", "iconChildren"]);
|
|
3617
3616
|
var styleProps = {
|
|
3618
3617
|
width: width,
|
|
@@ -3626,9 +3625,9 @@ var MenuItem = React.memo(React__default.forwardRef(function (props, ref) {
|
|
|
3626
3625
|
return (React__default.createElement(MaterialMenuItem, __assign({ className: classes.root }, other),
|
|
3627
3626
|
children,
|
|
3628
3627
|
React__default.createElement(core.ListItemIcon, { style: { justifyContent: "flex-end" } }, iconChildren)));
|
|
3629
|
-
})
|
|
3628
|
+
});
|
|
3630
3629
|
|
|
3631
|
-
var Button =
|
|
3630
|
+
var Button = function (props) {
|
|
3632
3631
|
var children = props.children, variant = props.variant, minWidth = props.minWidth, width = props.width, size = props.size, loading = props.loading, onClick = props.onClick, other = __rest(props, ["children", "variant", "minWidth", "width", "size", "loading", "onClick"]);
|
|
3633
3632
|
var theme = core.useTheme();
|
|
3634
3633
|
var useStyles = core.makeStyles(function (theme) { return ({
|
|
@@ -3837,7 +3836,7 @@ var Button = React__default.memo(function (props) {
|
|
|
3837
3836
|
? theme.primary.primary800
|
|
3838
3837
|
: theme.black.white,
|
|
3839
3838
|
} }))) : (React__default.createElement("div", { style: { whiteSpace: "nowrap" } }, children))));
|
|
3840
|
-
}
|
|
3839
|
+
};
|
|
3841
3840
|
|
|
3842
3841
|
var useStyles$8 = core.makeStyles(function () { return ({
|
|
3843
3842
|
root: function (props) { return ({
|
|
@@ -3854,7 +3853,7 @@ var useStyles$8 = core.makeStyles(function () { return ({
|
|
|
3854
3853
|
},
|
|
3855
3854
|
}); },
|
|
3856
3855
|
}); });
|
|
3857
|
-
var IconButton =
|
|
3856
|
+
var IconButton = function (props) {
|
|
3858
3857
|
var hoverColor = props.hoverColor, hoverIconColor = props.hoverIconColor, width = props.width, height = props.height, other = __rest(props, ["hoverColor", "hoverIconColor", "width", "height"]);
|
|
3859
3858
|
var theme = core.useTheme();
|
|
3860
3859
|
var styleProps = {
|
|
@@ -4089,7 +4088,7 @@ var IconButton = React.memo(function (props) {
|
|
|
4089
4088
|
};
|
|
4090
4089
|
var classes = useStyles$8(styleProps);
|
|
4091
4090
|
return React__default.createElement(IconButton$1, __assign({ className: classes.root }, other));
|
|
4092
|
-
}
|
|
4091
|
+
};
|
|
4093
4092
|
|
|
4094
4093
|
function TransitionLeft(props) {
|
|
4095
4094
|
return React__default.createElement(core.Slide, __assign({}, props, { direction: "left" }));
|
|
@@ -4164,7 +4163,7 @@ var useStyles$9 = core.makeStyles(function (theme) { return ({
|
|
|
4164
4163
|
color: "#ffffff",
|
|
4165
4164
|
},
|
|
4166
4165
|
}); });
|
|
4167
|
-
var Snackbar =
|
|
4166
|
+
var Snackbar = function (props) {
|
|
4168
4167
|
var message = props.message, transitionDirection = props.transitionDirection, transitionDuration = props.transitionDuration, width = props.width, height = props.height, variant = props.variant, action = props.action, revertButton = props.revertButton, closeIcon = props.closeIcon, icon = props.icon, checkIcon = props.checkIcon, errorIcon = props.errorIcon, other = __rest(props, ["message", "transitionDirection", "transitionDuration", "width", "height", "variant", "action", "revertButton", "closeIcon", "icon", "checkIcon", "errorIcon"]);
|
|
4169
4168
|
var styleProps = {
|
|
4170
4169
|
width: width,
|
|
@@ -4203,7 +4202,7 @@ var Snackbar = React.memo(function (props) {
|
|
|
4203
4202
|
: transitionDirection === "down"
|
|
4204
4203
|
? TransitionDown
|
|
4205
4204
|
: Transition, transitionDuration: transitionDuration })));
|
|
4206
|
-
}
|
|
4205
|
+
};
|
|
4207
4206
|
var icon_close = (React__default.createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
4208
4207
|
React__default.createElement("path", { d: "M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z", fill: "white" })));
|
|
4209
4208
|
var icon_checked = (React__default.createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
@@ -7199,7 +7198,7 @@ var useStyles$a = core.makeStyles(function (theme) { return ({
|
|
|
7199
7198
|
color: props.backgroundColor,
|
|
7200
7199
|
}); },
|
|
7201
7200
|
}); });
|
|
7202
|
-
var Tooltip =
|
|
7201
|
+
var Tooltip = function (props) {
|
|
7203
7202
|
var theme = core.useTheme();
|
|
7204
7203
|
var arrow = props.arrow, margin = props.margin, marginTop = props.marginTop, marginBottom = props.marginBottom, marginRight = props.marginRight, marginLeft = props.marginLeft, dark = props.dark, light = props.light, children = props.children, width = props.width, childrenStyle = props.childrenStyle, other = __rest(props, ["arrow", "margin", "marginTop", "marginBottom", "marginRight", "marginLeft", "dark", "light", "children", "width", "childrenStyle"]);
|
|
7205
7204
|
var styleProps = {
|
|
@@ -7232,7 +7231,7 @@ var Tooltip = React.memo(function (props) {
|
|
|
7232
7231
|
var classes = useStyles$a(styleProps);
|
|
7233
7232
|
return (React__default.createElement(MaterialTooltip, __assign({ classes: { tooltip: classes.root, arrow: classes.arrow } }, other, { arrow: arrow }),
|
|
7234
7233
|
React__default.createElement("div", { style: __assign({ width: "fit-content", height: "fit-content", display: "flex", alignItems: "center", justifyContent: "center" }, childrenStyle) }, children)));
|
|
7235
|
-
}
|
|
7234
|
+
};
|
|
7236
7235
|
|
|
7237
7236
|
var ModalTransitionEffect = React__default.forwardRef(function ModalTransitionEffect(props, ref) {
|
|
7238
7237
|
var open = props.in, slide = props.slide, children = props.children, onEnter = props.onEnter, onExited = props.onExited, style = props.style, other = __rest(props, ["in", "slide", "children", "onEnter", "onExited", "style"]);
|
|
@@ -7256,7 +7255,7 @@ var ModalTransitionEffect = React__default.forwardRef(function ModalTransitionEf
|
|
|
7256
7255
|
});
|
|
7257
7256
|
return (React__default.createElement(React__default.Fragment, null, slide ? (React__default.createElement(core.Slide, { in: open, direction: "up", mountOnEnter: true, unmountOnExit: true, timeout: { enter: 300, exit: 300 } }, children)) : (React__default.createElement(animated.div, __assign({ style: __assign(__assign({}, style), defaultStyle) }, other), children))));
|
|
7258
7257
|
});
|
|
7259
|
-
var Modal =
|
|
7258
|
+
var Modal = React__default.forwardRef(function (props, ref) {
|
|
7260
7259
|
var width = props.width, height = props.height, open = props.open, onClose = props.onClose, title = props.title, helpText = props.helpText, size = props.size, headpadding = props.headpadding, headChildren = props.headChildren, checked = props.checked, failed = props.failed, icon = props.icon, checkIconColor = props.checkIconColor, iconColor = props.iconColor, children = props.children, label = props.label, buttonFullWidth = props.buttonFullWidth, footerDisplayColumn = props.footerDisplayColumn, secondaryButton = props.secondaryButton, primaryButton = props.primaryButton, mobile = props.mobile, fullWidth = props.fullWidth, bodyPadding = props.bodyPadding, maxWidth = props.maxWidth, disCloseIcon = props.disCloseIcon, titleStyle = props.titleStyle, bodyStyle = props.bodyStyle, onExit = props.onExit, bodyMaxHeight = props.bodyMaxHeight, multiline = props.multiline, disUnderLine = props.disUnderLine, footer = props.footer;
|
|
7261
7260
|
var _a = React.useState(0), clientHeight = _a[0], setClientHeight = _a[1];
|
|
7262
7261
|
var _b = React.useState(0), scorllbarWidth = _b[0], setScorllbarWidth = _b[1];
|
|
@@ -7660,7 +7659,7 @@ var Modal = React.memo(React__default.forwardRef(function (props, ref) {
|
|
|
7660
7659
|
} })) : null,
|
|
7661
7660
|
headChildren ? (headChildren) : (React__default.createElement("div", { className: classes.title },
|
|
7662
7661
|
icon ? icon : null,
|
|
7663
|
-
checked ?
|
|
7662
|
+
checked ? React__default.createElement(CheckCircleIcon, { className: classes.icon }) : null,
|
|
7664
7663
|
failed ? React__default.createElement(WarningIcon, { className: classes.icon }) : null,
|
|
7665
7664
|
React__default.createElement("div", null,
|
|
7666
7665
|
React__default.createElement(Typography, { variant: !mobile ? "h6" : "title" }, title),
|
|
@@ -7730,14 +7729,12 @@ var Modal = React.memo(React__default.forwardRef(function (props, ref) {
|
|
|
7730
7729
|
? secondaryButton.variant
|
|
7731
7730
|
: "secondary", size: "small", onClick: secondaryButton.onClick, disabled: secondaryButton.disabled, loading: secondaryButton.loading, style: secondaryButton.style }, secondaryButton.title))) : null),
|
|
7732
7731
|
React__default.createElement(core.Box, { width: "100%", marginBottom: footerDisplayColumn ? 1 : 0 }, primaryButton ? (primaryButton.tooltip ? (React__default.createElement(Tooltip, __assign({}, primaryButton.tooltip),
|
|
7733
|
-
React__default.createElement(Button, { fullWidth: buttonFullWidth ||
|
|
7734
|
-
footerDisplayColumn ||
|
|
7735
|
-
mobile, variant: primaryButton.variant
|
|
7732
|
+
React__default.createElement(Button, { fullWidth: buttonFullWidth || footerDisplayColumn || mobile, variant: primaryButton.variant
|
|
7736
7733
|
? primaryButton.variant
|
|
7737
7734
|
: "primary", size: "small", onClick: primaryButton.onClick, disabled: primaryButton.disabled, loading: primaryButton.loading, style: primaryButton.style }, primaryButton.title))) : (React__default.createElement(Button, { fullWidth: buttonFullWidth || footerDisplayColumn || mobile, variant: primaryButton.variant
|
|
7738
7735
|
? primaryButton.variant
|
|
7739
7736
|
: "primary", size: "small", onClick: primaryButton.onClick, disabled: primaryButton.disabled, loading: primaryButton.loading, style: primaryButton.style }, primaryButton.title))) : null))) : null)))))));
|
|
7740
|
-
})
|
|
7737
|
+
});
|
|
7741
7738
|
|
|
7742
7739
|
var useStyles$b = core.makeStyles(function () { return ({
|
|
7743
7740
|
root: function (props) { return ({
|
|
@@ -7756,7 +7753,7 @@ var useStyles$b = core.makeStyles(function () { return ({
|
|
|
7756
7753
|
marginRight: 8,
|
|
7757
7754
|
},
|
|
7758
7755
|
}); });
|
|
7759
|
-
var Banner =
|
|
7756
|
+
var Banner = function (props) {
|
|
7760
7757
|
var _a = React.useState(false), alignStart = _a[0], setAlignStart = _a[1];
|
|
7761
7758
|
var theme = core.useTheme();
|
|
7762
7759
|
var icon = props.icon, variant = props.variant, width = props.width, height = props.height, mobile = props.mobile, children = props.children, other = __rest(props, ["icon", "variant", "width", "height", "mobile", "children"]);
|
|
@@ -7811,7 +7808,7 @@ var Banner = React.memo(function (props) {
|
|
|
7811
7808
|
React__default.createElement("path", { d: "M13 14H11V9H13V14ZM13 18H11V16H13V18ZM1 21H23L12 2L1 21Z", fill: "#E5640C" }))) : (React__default.createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
7812
7809
|
React__default.createElement("path", { d: "M13 9H11V7H13V9ZM13 17H11V11H13V17ZM12 2C10.6868 2 9.38642 2.25866 8.17317 2.7612C6.95991 3.26375 5.85752 4.00035 4.92893 4.92893C3.05357 6.8043 2 9.34784 2 12C2 14.6522 3.05357 17.1957 4.92893 19.0711C5.85752 19.9997 6.95991 20.7362 8.17317 21.2388C9.38642 21.7413 10.6868 22 12 22C14.6522 22 17.1957 20.9464 19.0711 19.0711C20.9464 17.1957 22 14.6522 22 12C22 10.6868 21.7413 9.38642 21.2388 8.17317C20.7362 6.95991 19.9997 5.85752 19.0711 4.92893C18.1425 4.00035 17.0401 3.26375 15.8268 2.7612C14.6136 2.25866 13.3132 2 12 2Z", fill: theme.primary.primary400 })))),
|
|
7813
7810
|
React__default.createElement(Typography, { variant: "caption2" }, children)));
|
|
7814
|
-
}
|
|
7811
|
+
};
|
|
7815
7812
|
|
|
7816
7813
|
var useStyles$c = core.makeStyles(function () { return ({
|
|
7817
7814
|
root: function (props) { return ({
|
|
@@ -7830,7 +7827,7 @@ var useStyles$c = core.makeStyles(function () { return ({
|
|
|
7830
7827
|
color: props.color,
|
|
7831
7828
|
}); },
|
|
7832
7829
|
}); });
|
|
7833
|
-
var Chip =
|
|
7830
|
+
var Chip = function (props) {
|
|
7834
7831
|
var theme = core.useTheme();
|
|
7835
7832
|
var variant = props.variant, width = props.width, height = props.height, label = props.label, icon = props.icon, outlined = props.outlined, contained = props.contained, other = __rest(props, ["variant", "width", "height", "label", "icon", "outlined", "contained"]);
|
|
7836
7833
|
var styleProps = {
|
|
@@ -7873,11 +7870,11 @@ var Chip = React.memo(function (props) {
|
|
|
7873
7870
|
return (React__default.createElement("div", __assign({ className: classes.root }, other),
|
|
7874
7871
|
React__default.createElement("span", { style: { marginRight: variant === "success" ? 4 : 0 } }, label),
|
|
7875
7872
|
variant === "success" && !icon ? icon_success : icon));
|
|
7876
|
-
}
|
|
7873
|
+
};
|
|
7877
7874
|
var icon_success = (React__default.createElement("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
7878
7875
|
React__default.createElement("path", { d: "M14 4.66666L6 12.6667L2.33333 9L3.27333 8.06L6 10.78L13.06 3.72666L14 4.66666Z", fill: "#00821E" })));
|
|
7879
7876
|
|
|
7880
|
-
var CircularProgress =
|
|
7877
|
+
var CircularProgress = function (props) {
|
|
7881
7878
|
var theme = core.useTheme();
|
|
7882
7879
|
var dark = props.dark, size = props.size, thickness = props.thickness;
|
|
7883
7880
|
return (React__default.createElement("div", { style: {
|
|
@@ -7898,7 +7895,7 @@ var CircularProgress = React.memo(function (props) {
|
|
|
7898
7895
|
top: -0,
|
|
7899
7896
|
color: dark ? theme.black.white : theme.primary.primary800,
|
|
7900
7897
|
} })));
|
|
7901
|
-
}
|
|
7898
|
+
};
|
|
7902
7899
|
|
|
7903
7900
|
function _extends() {
|
|
7904
7901
|
_extends = Object.assign || function (target) {
|
|
@@ -12062,7 +12059,7 @@ var useStyles$d = core.makeStyles(function (theme) { return ({
|
|
|
12062
12059
|
justifyContent: "center",
|
|
12063
12060
|
},
|
|
12064
12061
|
}); });
|
|
12065
|
-
var Pagination$1 =
|
|
12062
|
+
var Pagination$1 = function (props) {
|
|
12066
12063
|
// const theme = useTheme();
|
|
12067
12064
|
var other = __rest(props, []);
|
|
12068
12065
|
var styleProps = {};
|
|
@@ -12073,7 +12070,7 @@ var Pagination$1 = React.memo(function (props) {
|
|
|
12073
12070
|
selected: classes.selected,
|
|
12074
12071
|
ellipsis: classes.ellipsis,
|
|
12075
12072
|
} }))); } })));
|
|
12076
|
-
}
|
|
12073
|
+
};
|
|
12077
12074
|
|
|
12078
12075
|
var useStyles$e = core.makeStyles(function (theme) { return ({
|
|
12079
12076
|
root: function (props) { return ({
|
|
@@ -12093,7 +12090,7 @@ var useStyles$e = core.makeStyles(function (theme) { return ({
|
|
|
12093
12090
|
borderRadius: "50%",
|
|
12094
12091
|
}); },
|
|
12095
12092
|
}); });
|
|
12096
|
-
var Progress =
|
|
12093
|
+
var Progress = function (props) {
|
|
12097
12094
|
var theme = core.useTheme();
|
|
12098
12095
|
var
|
|
12099
12096
|
// onClick,
|
|
@@ -12150,7 +12147,7 @@ var Progress = React.memo(function (props) {
|
|
|
12150
12147
|
} })),
|
|
12151
12148
|
React__default.createElement(Typography, { variant: "caption1", color: i + 1 === step ? "black1000" : "black700", style: { marginTop: 8 } }, label ? label[i] : null)));
|
|
12152
12149
|
})));
|
|
12153
|
-
}
|
|
12150
|
+
};
|
|
12154
12151
|
|
|
12155
12152
|
var useStyles$f = core.makeStyles(function (theme) { return ({
|
|
12156
12153
|
popper: function (props) { return ({
|
|
@@ -12331,7 +12328,7 @@ var AutoComplete = function (props) {
|
|
|
12331
12328
|
} })))));
|
|
12332
12329
|
};
|
|
12333
12330
|
|
|
12334
|
-
var TaxTextField =
|
|
12331
|
+
var TaxTextField = function (_a) {
|
|
12335
12332
|
var onChange = _a.onChange, codeValue = _a.codeValue, domainValue = _a.domainValue, domainCodeValue = _a.domainCodeValue, codeError = _a.codeError, codeHelperText = _a.codeHelperText, domainError = _a.domainError, domainHelperText = _a.domainHelperText, codeOnClick = _a.codeOnClick, domainOnClick = _a.domainOnClick, mobile = _a.mobile, codeFocused = _a.codeFocused, domainFocused = _a.domainFocused;
|
|
12336
12333
|
var _b = React.useState(""), modalIncome = _b[0], setModalIncome = _b[1];
|
|
12337
12334
|
var _c = React.useState(""), modalExpense = _c[0], setModalExpense = _c[1];
|
|
@@ -12407,9 +12404,7 @@ var TaxTextField = React.memo(function (_a) {
|
|
|
12407
12404
|
display: "flex",
|
|
12408
12405
|
justifyContent: "space-between",
|
|
12409
12406
|
flexWrap: "nowrap",
|
|
12410
|
-
color: modalIncome === option.code
|
|
12411
|
-
? theme.primary.primary400
|
|
12412
|
-
: null,
|
|
12407
|
+
color: modalIncome === option.code ? theme.primary.primary400 : null,
|
|
12413
12408
|
}, disabled: modalIncome === option.code, iconChildren: modalIncome === option.code ? (React__default.createElement("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
12414
12409
|
React__default.createElement("path", { d: "M17.4998 5.83345L7.49984 15.8334L2.9165 11.2501L4.0915 10.0751L7.49984 13.4751L16.3248 4.65845L17.4998 5.83345Z", fill: "#4862CC" }))) : null },
|
|
12415
12410
|
option.code,
|
|
@@ -12474,7 +12469,7 @@ var TaxTextField = React.memo(function (_a) {
|
|
|
12474
12469
|
return null;
|
|
12475
12470
|
}
|
|
12476
12471
|
})()));
|
|
12477
|
-
}
|
|
12472
|
+
};
|
|
12478
12473
|
var SWAPIncomeTypes$1 = [
|
|
12479
12474
|
{
|
|
12480
12475
|
code: "9A",
|
|
@@ -12678,12 +12673,12 @@ var useStyles$g = core.makeStyles(function (theme) { return ({
|
|
|
12678
12673
|
transform: "unset",
|
|
12679
12674
|
}); },
|
|
12680
12675
|
}); });
|
|
12681
|
-
var Skeleton$1 =
|
|
12676
|
+
var Skeleton$1 = function (props) {
|
|
12682
12677
|
var other = __rest(props, []);
|
|
12683
12678
|
var styleProps = {};
|
|
12684
12679
|
var classes = useStyles$g(styleProps);
|
|
12685
12680
|
return React__default.createElement(MaterialSkeleton, __assign({ classes: { root: classes.root } }, other));
|
|
12686
|
-
}
|
|
12681
|
+
};
|
|
12687
12682
|
|
|
12688
12683
|
var useOutlinedInputStyles$1 = core.makeStyles(function (theme) { return ({
|
|
12689
12684
|
root: {
|
|
@@ -12747,7 +12742,7 @@ var useStyles$h = core.makeStyles(function (theme) { return ({
|
|
|
12747
12742
|
marginTop: 8,
|
|
12748
12743
|
},
|
|
12749
12744
|
}); });
|
|
12750
|
-
var Dropdown =
|
|
12745
|
+
var Dropdown = function (props) {
|
|
12751
12746
|
var children = props.children, formControlStyle = props.formControlStyle, inputProps = props.inputProps, MenuProps = props.MenuProps, helperText = props.helperText, width = props.width, height = props.height, helperTextStyle = props.helperTextStyle, other = __rest(props, ["children", "formControlStyle", "inputProps", "MenuProps", "helperText", "width", "height", "helperTextStyle"]);
|
|
12752
12747
|
var styleProps = {
|
|
12753
12748
|
width: width,
|
|
@@ -12760,7 +12755,7 @@ var Dropdown = React.memo(function (props) {
|
|
|
12760
12755
|
icon: classes.icon,
|
|
12761
12756
|
}, input: React__default.createElement(core.OutlinedInput, { classes: outlinedInputClasses }), inputProps: __assign({ classes: { root: classes.inputRoot } }, inputProps), MenuProps: __assign({ classes: { paper: classes.menuRoot }, getContentAnchorEl: null }, MenuProps) }), children),
|
|
12762
12757
|
React__default.createElement(core.FormHelperText, { style: helperTextStyle }, helperText)));
|
|
12763
|
-
}
|
|
12758
|
+
};
|
|
12764
12759
|
|
|
12765
12760
|
var useStyles$i = core.makeStyles(function (theme) { return ({
|
|
12766
12761
|
root: function (props) { return ({
|
|
@@ -12800,7 +12795,7 @@ var useStyles$i = core.makeStyles(function (theme) { return ({
|
|
|
12800
12795
|
},
|
|
12801
12796
|
}); },
|
|
12802
12797
|
}); });
|
|
12803
|
-
var RadioList =
|
|
12798
|
+
var RadioList = function (props) {
|
|
12804
12799
|
var width = props.width, height = props.height, title = props.title, subtitle = props.subtitle, multiline = props.multiline, checked = props.checked, line = props.line, other = __rest(props, ["width", "height", "title", "subtitle", "multiline", "checked", "line"]);
|
|
12805
12800
|
var styleProps = {
|
|
12806
12801
|
checked: checked,
|
|
@@ -12853,7 +12848,7 @@ var RadioList = React.memo(function (props) {
|
|
|
12853
12848
|
React__default.createElement(Typography, { variant: "title" }, title),
|
|
12854
12849
|
multiline ? (React__default.createElement(Typography, { variant: "body2_loose", color: "black800" }, subtitle)) : null))),
|
|
12855
12850
|
!multiline && !line ? (React__default.createElement(Typography, { variant: "body2_loose", color: "black800" }, subtitle)) : null));
|
|
12856
|
-
}
|
|
12851
|
+
};
|
|
12857
12852
|
|
|
12858
12853
|
var useStyles$j = core.makeStyles(function (theme) { return ({
|
|
12859
12854
|
root: function (props) { return ({
|
|
@@ -12893,7 +12888,7 @@ var useStyles$j = core.makeStyles(function (theme) { return ({
|
|
|
12893
12888
|
},
|
|
12894
12889
|
}); },
|
|
12895
12890
|
}); });
|
|
12896
|
-
var CheckBoxList =
|
|
12891
|
+
var CheckBoxList = function (props) {
|
|
12897
12892
|
var width = props.width, height = props.height, title = props.title, subtitle = props.subtitle, multiline = props.multiline, checked = props.checked, line = props.line, other = __rest(props, ["width", "height", "title", "subtitle", "multiline", "checked", "line"]);
|
|
12898
12893
|
var styleProps = {
|
|
12899
12894
|
checked: checked,
|
|
@@ -12946,7 +12941,7 @@ var CheckBoxList = React.memo(function (props) {
|
|
|
12946
12941
|
React__default.createElement(Typography, { variant: "title" }, title),
|
|
12947
12942
|
multiline ? (React__default.createElement(Typography, { variant: "body2_loose", color: "black800" }, subtitle)) : null))),
|
|
12948
12943
|
!multiline && !line ? (React__default.createElement(Typography, { variant: "body2_loose", color: "black800" }, subtitle)) : null));
|
|
12949
|
-
}
|
|
12944
|
+
};
|
|
12950
12945
|
|
|
12951
12946
|
var useStyles$k = core.makeStyles(function (theme) { return ({
|
|
12952
12947
|
root: function (props) { return ({
|
|
@@ -12965,7 +12960,7 @@ var useStyles$k = core.makeStyles(function (theme) { return ({
|
|
|
12965
12960
|
border: "1px solid " + theme.primary.primary400,
|
|
12966
12961
|
},
|
|
12967
12962
|
}); });
|
|
12968
|
-
var Link =
|
|
12963
|
+
var Link = function (props) {
|
|
12969
12964
|
var color = props.color, other = __rest(props, ["color"]);
|
|
12970
12965
|
var theme = core.useTheme();
|
|
12971
12966
|
var styleProps = {
|
|
@@ -13087,7 +13082,7 @@ var Link = React.memo(function (props) {
|
|
|
13087
13082
|
focusVisible: classes.focusVisible,
|
|
13088
13083
|
underlineHover: classes.underlineHover,
|
|
13089
13084
|
}, tabIndex: 0 }, other)));
|
|
13090
|
-
}
|
|
13085
|
+
};
|
|
13091
13086
|
|
|
13092
13087
|
var useStyles$l = core.makeStyles(function (theme) { return ({
|
|
13093
13088
|
root: function (props) { return ({
|
|
@@ -13099,7 +13094,7 @@ var useStyles$l = core.makeStyles(function (theme) { return ({
|
|
|
13099
13094
|
padding: props.matchSM ? 40 : props.matchXS ? 24 : 16,
|
|
13100
13095
|
}); },
|
|
13101
13096
|
}); });
|
|
13102
|
-
var Paper =
|
|
13097
|
+
var Paper = function (props) {
|
|
13103
13098
|
var height = props.height, width = props.width, other = __rest(props, ["height", "width"]);
|
|
13104
13099
|
var matchSM = core.useMediaQuery("(min-width:576px)");
|
|
13105
13100
|
var matchXS = core.useMediaQuery("(min-width:375px)");
|
|
@@ -13113,7 +13108,7 @@ var Paper = React__default.memo(function (props) {
|
|
|
13113
13108
|
return (React__default.createElement(Paper$1, __assign({ variant: "outlined", classes: {
|
|
13114
13109
|
root: classes.root,
|
|
13115
13110
|
} }, other)));
|
|
13116
|
-
}
|
|
13111
|
+
};
|
|
13117
13112
|
|
|
13118
13113
|
var useStyles$m = core.makeStyles(function (theme) { return ({
|
|
13119
13114
|
root: {
|
|
@@ -13178,7 +13173,7 @@ var useStyles$m = core.makeStyles(function (theme) { return ({
|
|
|
13178
13173
|
boxShadow: "0px 2px 2px rgba(0, 0, 0, 0.15)",
|
|
13179
13174
|
},
|
|
13180
13175
|
}); });
|
|
13181
|
-
var Switch =
|
|
13176
|
+
var Switch = function (props) {
|
|
13182
13177
|
var disabled = props.disabled, other = __rest(props, ["disabled"]);
|
|
13183
13178
|
var styleProps = { disabled: disabled };
|
|
13184
13179
|
var classes = useStyles$m(styleProps);
|
|
@@ -13193,7 +13188,7 @@ var Switch = React.memo(function (props) {
|
|
|
13193
13188
|
React__default.createElement(core.Fade, { in: true, timeout: { enter: 200, exit: 200 } },
|
|
13194
13189
|
React__default.createElement("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
13195
13190
|
React__default.createElement("path", { d: "M4.5 10.21L1.395 7.105L2.81 5.69L4.5 7.385L9.44 2.44L10.855 3.855L4.5 10.21Z", fill: "#4862CC" })))) }, other))));
|
|
13196
|
-
}
|
|
13191
|
+
};
|
|
13197
13192
|
|
|
13198
13193
|
var useStylesForMonthButton = core.makeStyles(function (theme) { return ({
|
|
13199
13194
|
root: function (props) { return ({
|
|
@@ -13267,7 +13262,7 @@ var useStylesForCalendar = core.makeStyles(function (theme) { return ({
|
|
|
13267
13262
|
},
|
|
13268
13263
|
},
|
|
13269
13264
|
}); });
|
|
13270
|
-
var DatePicker =
|
|
13265
|
+
var DatePicker = function (props) {
|
|
13271
13266
|
var open = props.open, onClose = props.onClose, format = props.format, mobile = props.mobile, min = props.min, max = props.max, ModalProps = props.ModalProps, defaultValue = props.defaultValue, getValue = props.getValue, value = props.value, other = __rest(props, ["open", "onClose", "format", "mobile", "min", "max", "ModalProps", "defaultValue", "getValue", "value"]);
|
|
13272
13267
|
var _a = React.useState(Number(new Date().getFullYear())), year = _a[0], setYear = _a[1];
|
|
13273
13268
|
var _b = React.useState(Number(new Date().getMonth() + 1)), month = _b[0], setMonth = _b[1];
|
|
@@ -13497,7 +13492,7 @@ var DatePicker = React.memo(function (props) {
|
|
|
13497
13492
|
setNextMonth(nextMonth + 1);
|
|
13498
13493
|
}
|
|
13499
13494
|
}, defaultValue: defaultValue, setIsClicked: setIsClicked, mobile: mobile })) }, ModalProps)))));
|
|
13500
|
-
}
|
|
13495
|
+
};
|
|
13501
13496
|
var MonthButton = function (_a) {
|
|
13502
13497
|
var index = _a.index, month = _a.month, setMonth = _a.setMonth, setIsOpenMonthSelector = _a.setIsOpenMonthSelector, setIsClicked = _a.setIsClicked;
|
|
13503
13498
|
var styleProps = {
|
|
@@ -13615,7 +13610,7 @@ var icon_arrowright = (React__default.createElement("svg", { width: "20", height
|
|
|
13615
13610
|
var icon_calendar = (React__default.createElement("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
13616
13611
|
React__default.createElement("path", { d: "M5.83333 8.33333H10V12.5H5.83333V8.33333ZM15.8333 15.8333H4.16667V6.66667H15.8333V15.8333ZM15.8333 2.5H15V0.833332H13.3333V2.5H6.66667V0.833332H5V2.5H4.16667C3.24167 2.5 2.5 3.25 2.5 4.16667V15.8333C2.5 16.2754 2.67559 16.6993 2.98816 17.0118C3.30072 17.3244 3.72464 17.5 4.16667 17.5H15.8333C16.2754 17.5 16.6993 17.3244 17.0118 17.0118C17.3244 16.6993 17.5 16.2754 17.5 15.8333V4.16667C17.5 3.72464 17.3244 3.30071 17.0118 2.98815C16.6993 2.67559 16.2754 2.5 15.8333 2.5Z", fill: "#6F6F6F" })));
|
|
13617
13612
|
|
|
13618
|
-
var Breadcrumb =
|
|
13613
|
+
var Breadcrumb = function (props) {
|
|
13619
13614
|
var maxItems = props.maxItems, separator = props.separator, children = props.children, other = __rest(props, ["maxItems", "separator", "children"]);
|
|
13620
13615
|
var _a = React.useState(false), isHoverThreeDots = _a[0], setIsHoverThreeDots = _a[1];
|
|
13621
13616
|
var _b = React.useState(null), anchorEl = _b[0], setAnchorEl = _b[1];
|
|
@@ -13674,21 +13669,21 @@ var Breadcrumb = React.memo(function (props) {
|
|
|
13674
13669
|
}
|
|
13675
13670
|
} }, content));
|
|
13676
13671
|
}))));
|
|
13677
|
-
}
|
|
13672
|
+
};
|
|
13678
13673
|
var icon_threedots = (React__default.createElement("svg", { width: "12", height: "20", viewBox: "0 0 12 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
13679
13674
|
React__default.createElement("path", { d: "M1.946 16.182C2.45 16.182 2.87 15.79 2.87 15.216C2.87 14.642 2.45 14.222 1.946 14.222C1.442 14.222 1.022 14.642 1.022 15.216C1.022 15.79 1.442 16.182 1.946 16.182ZM5.84248 16.182C6.34648 16.182 6.76648 15.79 6.76648 15.216C6.76648 14.642 6.34648 14.222 5.84248 14.222C5.33848 14.222 4.91848 14.642 4.91848 15.216C4.91848 15.79 5.33848 16.182 5.84248 16.182ZM9.73897 16.182C10.243 16.182 10.663 15.79 10.663 15.216C10.663 14.642 10.243 14.222 9.73897 14.222C9.23497 14.222 8.81497 14.642 8.81497 15.216C8.81497 15.79 9.23497 16.182 9.73897 16.182Z", fill: "#4B4B4B" })));
|
|
13680
13675
|
var icon_threedots_hover = (React__default.createElement("svg", { width: "12", height: "20", viewBox: "0 0 12 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
13681
13676
|
React__default.createElement("path", { d: "M1.946 16.182C2.45 16.182 2.87 15.79 2.87 15.216C2.87 14.642 2.45 14.222 1.946 14.222C1.442 14.222 1.022 14.642 1.022 15.216C1.022 15.79 1.442 16.182 1.946 16.182ZM5.84248 16.182C6.34648 16.182 6.76648 15.79 6.76648 15.216C6.76648 14.642 6.34648 14.222 5.84248 14.222C5.33848 14.222 4.91848 14.642 4.91848 15.216C4.91848 15.79 5.33848 16.182 5.84248 16.182ZM9.73897 16.182C10.243 16.182 10.663 15.79 10.663 15.216C10.663 14.642 10.243 14.222 9.73897 14.222C9.23497 14.222 8.81497 14.642 8.81497 15.216C8.81497 15.79 9.23497 16.182 9.73897 16.182Z", fill: "#4B4B4B" }),
|
|
13682
13677
|
React__default.createElement("path", { d: "M0 18.1H11.685V18.8H0V18.1Z", fill: "#4B4B4B" })));
|
|
13683
13678
|
|
|
13684
|
-
var BreadcrumbItem =
|
|
13679
|
+
var BreadcrumbItem = function (props) {
|
|
13685
13680
|
var last = props.last, other = __rest(props, ["last"]);
|
|
13686
13681
|
return (React__default.createElement(Link, __assign({}, other, { color: last ? "black1000" : "black800", style: {
|
|
13687
13682
|
fontWeight: last ? 700 : 400,
|
|
13688
13683
|
cursor: last ? "unset" : undefined,
|
|
13689
13684
|
textDecoration: last ? "none" : undefined,
|
|
13690
13685
|
} })));
|
|
13691
|
-
}
|
|
13686
|
+
};
|
|
13692
13687
|
|
|
13693
13688
|
var useStyles$n = core.makeStyles(function (theme) { return ({
|
|
13694
13689
|
root: function (props) { return ({
|
|
@@ -13712,7 +13707,7 @@ var useStyles$n = core.makeStyles(function (theme) { return ({
|
|
|
13712
13707
|
padding: 0,
|
|
13713
13708
|
},
|
|
13714
13709
|
}); });
|
|
13715
|
-
var Card =
|
|
13710
|
+
var Card = function (props) {
|
|
13716
13711
|
var width = props.width, height = props.height, children = props.children, buttons = props.buttons, bodyStyle = props.bodyStyle, loading = props.loading, other = __rest(props, ["width", "height", "children", "buttons", "bodyStyle", "loading"]);
|
|
13717
13712
|
var useStylesProps = { width: width, height: height };
|
|
13718
13713
|
var classes = useStyles$n(useStylesProps);
|
|
@@ -13735,7 +13730,7 @@ var Card = React.memo(function (props) {
|
|
|
13735
13730
|
? undefined
|
|
13736
13731
|
: "1px solid " + theme.black.black400, borderRadius: "0px 0px 0px 0px" }, i.style), onClick: i.onClick, disabled: i.disabled, loading: i.loading }, i.title)); })) : (React__default.createElement("div", { style: { padding: "16px 24px", width: "100%", height: 48 } },
|
|
13737
13732
|
React__default.createElement(Skeleton$1, { width: "100%", height: "100%" }))))));
|
|
13738
|
-
}
|
|
13733
|
+
};
|
|
13739
13734
|
|
|
13740
13735
|
Object.defineProperty(exports, 'CssBaseline', {
|
|
13741
13736
|
enumerable: true,
|
|
@@ -13801,7 +13796,7 @@ exports.Snackbar = Snackbar;
|
|
|
13801
13796
|
exports.Styles = Styles;
|
|
13802
13797
|
exports.Switch = Switch;
|
|
13803
13798
|
exports.Tab = Tab;
|
|
13804
|
-
exports.TabPanel = TabPanel
|
|
13799
|
+
exports.TabPanel = TabPanel;
|
|
13805
13800
|
exports.Tabs = Tabs;
|
|
13806
13801
|
exports.TaxTextField = TaxTextField;
|
|
13807
13802
|
exports.TextField = TextField;
|