tek-wallet 0.0.380 → 0.0.381
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.
|
@@ -44,17 +44,22 @@ function Fees(props) {
|
|
|
44
44
|
backgroundColor: "transparent",
|
|
45
45
|
margin: 0,
|
|
46
46
|
borderRadius: theme.mixins.theBorderRadius.r12,
|
|
47
|
+
}, "&.MuiAccordion-root::before": {
|
|
48
|
+
display: "none",
|
|
47
49
|
}, "& .MuiAccordionSummary-root": {
|
|
48
50
|
paddingLeft: theme.mixins.customPadding.p12,
|
|
49
51
|
paddingRight: theme.mixins.customPadding.p12,
|
|
50
52
|
}, "& .MuiAccordionSummary-content": {
|
|
53
|
+
display: "inline-block",
|
|
54
|
+
width: "100%",
|
|
55
|
+
}, "& .MuiAccordionSummary-content.Mui-expanded": {
|
|
51
56
|
marginTop: theme.mixins.customMargin.m12,
|
|
52
57
|
marginBottom: theme.mixins.customMargin.m12,
|
|
53
58
|
}, "& .MuiAccordionDetails-root": {
|
|
54
59
|
paddingLeft: theme.mixins.customPadding.p12,
|
|
55
60
|
paddingRight: theme.mixins.customPadding.p12,
|
|
56
|
-
} }, sx), children: [(0, jsx_runtime_1.jsx)(material_1.AccordionSummary, { expandIcon: (0, jsx_runtime_1.jsx)(Icon_1.default, { src: (0, getIcon_1.default)("arrow_down"), width: 20 }), children: (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: __assign({}, theme.mixins.row), children: [(0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign({}, theme.mixins.fieldTitle), children: "Total fees" }), (0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign({}, theme.mixins.value), children: (0, jsx_runtime_1.jsx)(Formatter_1.default, { value: 1000 }) })] }) }), (0, jsx_runtime_1.jsx)(material_1.AccordionDetails, { children: (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: __assign(__assign({}, theme.mixins.row), { alignItems: "stretch" }), children: [(0, jsx_runtime_1.jsx)(material_1.Box, { sx: __assign(__assign({}, theme.mixins.column), { width: "fit-content", gap:
|
|
57
|
-
borderRight: "1px dashed ".concat(theme.palette.border.
|
|
61
|
+
} }, sx), children: [(0, jsx_runtime_1.jsx)(material_1.AccordionSummary, { expandIcon: (0, jsx_runtime_1.jsx)(Icon_1.default, { src: (0, getIcon_1.default)("arrow_down"), width: 20 }), children: (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: __assign(__assign({}, theme.mixins.row), { width: "100%" }), children: [(0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign({}, theme.mixins.fieldTitle), children: "Total fees" }), (0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign(__assign({}, theme.mixins.value), { ml: "auto" }), children: (0, jsx_runtime_1.jsx)(Formatter_1.default, { value: 1000 }) })] }) }), (0, jsx_runtime_1.jsx)(material_1.AccordionDetails, { children: (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: __assign(__assign({}, theme.mixins.row), { alignItems: "stretch" }), children: [(0, jsx_runtime_1.jsx)(material_1.Box, { sx: __assign(__assign({}, theme.mixins.column), { width: "fit-content", gap: theme.mixins.gaps.g8, alignItems: "center" }), children: [1, 2, 3].map(function (item, index) { return ((0, jsx_runtime_1.jsxs)(jsx_runtime_2.Fragment, { children: [index !== 0 && ((0, jsx_runtime_1.jsx)(material_1.Box, { sx: {
|
|
62
|
+
borderRight: "1px dashed ".concat(theme.palette.border.white24),
|
|
58
63
|
flex: 1,
|
|
59
64
|
} })), (0, jsx_runtime_1.jsx)(Icon_1.default, { src: (0, getIcon_1.default)("timeline_dot"), width: 16 })] }, item)); }) }), (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: __assign(__assign({}, theme.mixins.column), { flex: 1 }), children: [(0, jsx_runtime_1.jsx)(FeeDetail, { feeName: "Fee 1", value: 1000 }), (0, jsx_runtime_1.jsx)(FeeDetail, { feeName: "Fee 2", value: 1000 }), (0, jsx_runtime_1.jsx)(FeeDetail, { feeName: "Fee 3", value: 1000 })] })] }) })] })));
|
|
60
65
|
}
|
|
@@ -467,7 +467,8 @@ var WithdrawFunction = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
467
467
|
}
|
|
468
468
|
if (!!(validateWalletAddress === null || validateWalletAddress === void 0 ? void 0 : validateWalletAddress.master_wallet_address)) {
|
|
469
469
|
setRecipientAddressInternal(validateWalletAddress === null || validateWalletAddress === void 0 ? void 0 : validateWalletAddress.master_wallet_address);
|
|
470
|
-
if (isReceiveInternal
|
|
470
|
+
if (isReceiveInternal ||
|
|
471
|
+
selectedMethod === SendMethods.TRANSFER_INTERNAL) {
|
|
471
472
|
handleSelectTransferInternal(tonTransferParam);
|
|
472
473
|
}
|
|
473
474
|
else {
|