tek-wallet 0.0.763 → 0.0.764

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.
Files changed (39) hide show
  1. package/dist/components/TekWallet/components/index.d.ts +2 -0
  2. package/dist/components/TekWallet/components/index.js +2 -0
  3. package/dist/components/TekWallet/components/layouts/ChildPageLayout/index.d.ts +6 -0
  4. package/dist/components/TekWallet/components/layouts/ChildPageLayout/index.js +2 -2
  5. package/dist/components/TekWallet/components/layouts/ChildPageLayout/style.d.ts +2 -0
  6. package/dist/components/TekWallet/components/layouts/ChildPageLayout/style.js +9 -0
  7. package/dist/components/TekWallet/components/ui/ActivitiesTypeSlice/index.d.ts +2 -0
  8. package/dist/components/TekWallet/components/ui/ActivitiesTypeSlice/index.js +6 -6
  9. package/dist/components/TekWallet/components/ui/ActivityDetail/index.js +5 -4
  10. package/dist/components/TekWallet/components/ui/ActivityItem/index.js +2 -2
  11. package/dist/components/TekWallet/components/ui/AnalyticGroupCenter/index.js +1 -1
  12. package/dist/components/TekWallet/components/ui/Button/index.js +2 -2
  13. package/dist/components/TekWallet/components/ui/DelayMounted/index.js +1 -1
  14. package/dist/components/TekWallet/components/ui/ListItemCustom/index.js +1 -1
  15. package/dist/components/TekWallet/components/ui/NetworkSelection/index.js +3 -1
  16. package/dist/components/TekWallet/components/ui/ReceiveFunction/index.js +126 -107
  17. package/dist/components/TekWallet/components/ui/SmartList/index.d.ts +2 -1
  18. package/dist/components/TekWallet/components/ui/SmartList/index.js +2 -2
  19. package/dist/components/TekWallet/components/ui/SwapFunction/index.js +36 -37
  20. package/dist/components/TekWallet/components/ui/TokenSelection/index.js +1 -1
  21. package/dist/components/TekWallet/components/ui/WaitingData/index.js +7 -6
  22. package/dist/components/TekWallet/components/views/ActivityView/index.js +5 -2
  23. package/dist/components/TekWallet/components/views/AssetView/index.js +15 -6
  24. package/dist/components/TekWallet/components/views/NotFoundView/index.js +31 -1
  25. package/dist/components/TekWallet/components/views/SendExternalView/components/Form.js +73 -69
  26. package/dist/components/TekWallet/components/views/SendExternalView/index.js +1 -7
  27. package/dist/components/TekWallet/components/views/SendInternalView/components/Form.js +60 -59
  28. package/dist/components/TekWallet/components/views/SendInternalView/index.js +1 -1
  29. package/dist/components/TekWallet/components/views/SettingView/index.js +44 -2
  30. package/dist/components/TekWallet/components/views/SwapView/components/FromCard/index.js +7 -6
  31. package/dist/components/TekWallet/components/views/SwapView/index.d.ts +1 -10
  32. package/dist/components/TekWallet/components/views/SwapView/index.js +3 -27
  33. package/dist/components/TekWallet/components/views/TekWalletView/index.js +0 -1
  34. package/dist/components/TekWallet/providers/ActivitiesProvider/const.d.ts +1 -1
  35. package/dist/components/TekWallet/providers/ActivitiesProvider/const.js +1 -1
  36. package/dist/components/TekWallet/providers/TekWalletProvider/index.d.ts +6 -0
  37. package/dist/components/TekWallet/providers/TekWalletProvider/index.js +7 -1
  38. package/dist/components/TekWallet/theme/mui/theme.js +2 -2
  39. package/package.json +1 -1
@@ -21,3 +21,5 @@ export * from "./views/TekWalletView/expose";
21
21
  export * from "./views/SendInternalView";
22
22
  export * from "./views/SendExternalView";
23
23
  export * from "./views/SwapView";
24
+ export * from "./views/ActivityView";
25
+ export * from "./views/DetailActivityView";
@@ -37,3 +37,5 @@ __exportStar(require("./views/TekWalletView/expose"), exports);
37
37
  __exportStar(require("./views/SendInternalView"), exports);
38
38
  __exportStar(require("./views/SendExternalView"), exports);
39
39
  __exportStar(require("./views/SwapView"), exports);
40
+ __exportStar(require("./views/ActivityView"), exports);
41
+ __exportStar(require("./views/DetailActivityView"), exports);
@@ -1,5 +1,6 @@
1
1
  import { GeneralProps } from "../../../types/ui";
2
2
  import { StatusDisplayType } from "../../ui/StatusDisplay";
3
+ import { SxProps } from "@mui/material";
3
4
  interface ChildPageLayoutProps extends GeneralProps {
4
5
  header?: React.ReactNode;
5
6
  footer?: React.ReactNode;
@@ -9,6 +10,11 @@ interface ChildPageLayoutProps extends GeneralProps {
9
10
  header?: string;
10
11
  body?: string;
11
12
  };
13
+ sxs?: {
14
+ body?: SxProps;
15
+ header?: SxProps;
16
+ footer?: SxProps;
17
+ };
12
18
  }
13
19
  export type ChildPageLayoutRef = {
14
20
  showNormal: () => void;
@@ -32,7 +32,7 @@ var StatusDisplay_2 = __importDefault(require("../../ui/StatusDisplay"));
32
32
  var material_1 = require("@mui/material");
33
33
  var ThemeProvider_1 = require("../../../providers/ThemeProvider");
34
34
  var ChildPageLayout = (0, react_1.forwardRef)(function (props, ref) {
35
- var header = props.header, footer = props.footer, children = props.children, sx = props.sx, className = props.className, classNames = props.classNames, statusMessage = props.statusMessage, rest = __rest(props, ["header", "footer", "children", "sx", "className", "classNames", "statusMessage"]);
35
+ var header = props.header, footer = props.footer, children = props.children, sx = props.sx, className = props.className, classNames = props.classNames, statusMessage = props.statusMessage, sxs = props.sxs, rest = __rest(props, ["header", "footer", "children", "sx", "className", "classNames", "statusMessage", "sxs"]);
36
36
  var _a = (0, react_1.useState)(StatusDisplay_1.StatusDisplayType.Normal), status = _a[0], setStatus = _a[1];
37
37
  var theme = (0, ThemeProvider_1.useTheme)();
38
38
  (0, react_1.useImperativeHandle)(ref, function () {
@@ -51,7 +51,7 @@ var ChildPageLayout = (0, react_1.forwardRef)(function (props, ref) {
51
51
  },
52
52
  };
53
53
  });
54
- return ((0, jsx_runtime_1.jsxs)(material_1.Box, __assign({ ref: ref, sx: __assign({ height: "100%", width: "100%", display: "grid", gridTemplateRows: "auto 1fr auto", position: "relative", overflow: "hidden", backgroundColor: theme.palette.background.white }, sx), className: className }, rest, { children: [(0, jsx_runtime_1.jsx)(material_1.Box, { sx: { width: "100%" }, className: classNames === null || classNames === void 0 ? void 0 : classNames.header, children: header }), (0, jsx_runtime_1.jsx)(material_1.Box, { sx: { height: "100%", width: "100%", overflowX: "hidden", overflowY: "auto" }, className: classNames === null || classNames === void 0 ? void 0 : classNames.body, children: children }), (0, jsx_runtime_1.jsx)(material_1.Box, { sx: { width: "100%" }, className: classNames === null || classNames === void 0 ? void 0 : classNames.footer, children: footer }), status !== StatusDisplay_1.StatusDisplayType.Normal && ((0, jsx_runtime_1.jsx)(material_1.Box, { sx: {
54
+ return ((0, jsx_runtime_1.jsxs)(material_1.Box, __assign({ ref: ref, sx: __assign({ height: "100%", width: "100%", display: "grid", gridTemplateRows: "auto 1fr auto", position: "relative", overflow: "hidden", backgroundColor: theme.palette.background.white }, sx), className: className }, rest, { children: [(0, jsx_runtime_1.jsx)(material_1.Box, { sx: __assign({ width: "100%" }, sxs === null || sxs === void 0 ? void 0 : sxs.header), className: classNames === null || classNames === void 0 ? void 0 : classNames.header, children: header }), (0, jsx_runtime_1.jsx)(material_1.Box, { sx: __assign({ height: "100%", width: "100%", overflowX: "hidden", overflowY: "auto" }, sxs === null || sxs === void 0 ? void 0 : sxs.body), className: classNames === null || classNames === void 0 ? void 0 : classNames.body, children: children }), (0, jsx_runtime_1.jsx)(material_1.Box, { sx: __assign({ width: "100%" }, sxs === null || sxs === void 0 ? void 0 : sxs.footer), className: classNames === null || classNames === void 0 ? void 0 : classNames.footer, children: footer }), status !== StatusDisplay_1.StatusDisplayType.Normal && ((0, jsx_runtime_1.jsx)(material_1.Box, { sx: {
55
55
  position: "absolute",
56
56
  inset: 0,
57
57
  display: "flex",
@@ -0,0 +1,2 @@
1
+ import { CSSProperties } from "react";
2
+ export declare const backgroundImage: CSSProperties;