@arcblock/ux 3.3.10 → 3.4.0

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 (47) hide show
  1. package/lib/Dialog/dialog.d.ts +0 -27
  2. package/lib/Img/index.d.ts +0 -6
  3. package/lib/NFTDisplay/preview.js +1 -1
  4. package/lib/NavMenu/images/OCAP.svg.js +2 -2
  5. package/lib/NavMenu/images/abt-network.svg.js +3 -3
  6. package/lib/NavMenu/images/aigne-image-smith.svg.js +20 -27
  7. package/lib/NavMenu/images/aigne.svg.js +1 -1
  8. package/lib/NavMenu/images/arcsphere.svg.js +3 -3
  9. package/lib/NavMenu/images/blocklet-framework.svg.js +3 -3
  10. package/lib/NavMenu/images/blocklet-launcher.svg.js +3 -3
  11. package/lib/NavMenu/images/blocklet-server.svg.js +3 -3
  12. package/lib/NavMenu/images/blocklet-store.svg.js +2 -2
  13. package/lib/NavMenu/images/creator-studio.svg.js +2 -2
  14. package/lib/NavMenu/images/did-wallet.svg.js +2 -2
  15. package/lib/NavMenu/images/did.svg.js +2 -2
  16. package/lib/NavMenu/images/nft-studio.svg.js +2 -2
  17. package/lib/NavMenu/images/vc.svg.js +2 -2
  18. package/lib/NavMenu/images/web3-kit.svg.js +2 -2
  19. package/lib/OrgTransfer/selector.js +33 -32
  20. package/lib/UserCard/use-follow.js +6 -6
  21. package/lib/UserCard/utils.js +12 -8
  22. package/lib/Util/client.d.ts +0 -2
  23. package/lib/Util/client.js +2 -5
  24. package/lib/Util/constant.d.ts +9 -1
  25. package/lib/package.json.js +1 -1
  26. package/package.json +9 -9
  27. package/src/NFTDisplay/preview.tsx +1 -1
  28. package/src/NavMenu/images/OCAP.svg +1 -16
  29. package/src/NavMenu/images/abt-network.svg +1 -18
  30. package/src/NavMenu/images/ai-kit.svg +1 -46
  31. package/src/NavMenu/images/aigne-image-smith.svg +1 -26
  32. package/src/NavMenu/images/aigne.svg +1 -6
  33. package/src/NavMenu/images/arcsphere.svg +1 -13
  34. package/src/NavMenu/images/blocklet-framework.svg +1 -25
  35. package/src/NavMenu/images/blocklet-launcher.svg +1 -9
  36. package/src/NavMenu/images/blocklet-server.svg +1 -19
  37. package/src/NavMenu/images/blocklet-store.svg +1 -11
  38. package/src/NavMenu/images/creator-studio.svg +1 -42
  39. package/src/NavMenu/images/did-wallet.svg +1 -33
  40. package/src/NavMenu/images/did.svg +1 -5
  41. package/src/NavMenu/images/nft-studio.svg +1 -19
  42. package/src/NavMenu/images/vc.svg +1 -7
  43. package/src/NavMenu/images/web3-kit.svg +1 -56
  44. package/src/OrgTransfer/selector.tsx +4 -1
  45. package/src/UserCard/use-follow.tsx +3 -2
  46. package/src/UserCard/utils.ts +13 -7
  47. package/src/Util/client.ts +0 -5
@@ -1,5 +1,5 @@
1
1
  import * as e from "react";
2
- const r = (t) => /* @__PURE__ */ e.createElement("svg", { width: 76, height: 76, viewBox: "0 0 76 76", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6 15C4.89543 15 4 15.8954 4 17V20.1761H0V17C0 13.6863 2.68629 11 6 11H69.23C72.5437 11 75.23 13.6863 75.23 17V59.0689C75.23 62.3826 72.5437 65.0689 69.23 65.0689H6C2.6863 65.0689 0 62.3826 0 59.0689V56.1243H4V59.0689C4 60.1735 4.89543 61.0689 6 61.0689H69.23C70.3346 61.0689 71.23 60.1735 71.23 59.0689V17C71.23 15.8954 70.3346 15 69.23 15H6Z", fill: "#4598FA" }), /* @__PURE__ */ e.createElement("circle", { cx: 32, cy: 31, r: 10, stroke: "#4598FA", strokeWidth: 4 }), /* @__PURE__ */ e.createElement("path", { d: "M40.6875 48.384L46.29 53.9864L56.633 43.6434", stroke: "#4598FA", strokeWidth: 4 }), /* @__PURE__ */ e.createElement("path", { d: "M49.6667 38.5692C52.9205 38.5692 55.5583 35.4039 55.5583 31.4994C55.5583 27.5948 52.9205 24.4295 49.6667 24.4295", stroke: "#4598FA", strokeWidth: 4 }), /* @__PURE__ */ e.createElement("path", { d: "M32 41L24.8527 41C20.9867 41 17.8527 44.134 17.8527 48L17.8527 55.0654", stroke: "#4598FA", strokeWidth: 4 }));
2
+ const a = (t) => /* @__PURE__ */ e.createElement("svg", { width: 76, height: 76, viewBox: "0 0 76 76", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6 15a2 2 0 0 0-2 2v3.176H0V17a6 6 0 0 1 6-6h63.23a6 6 0 0 1 6 6v42.069a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6v-2.945h4v2.945a2 2 0 0 0 2 2h63.23a2 2 0 0 0 2-2V17a2 2 0 0 0-2-2H6z", fill: "#4598FA" }), /* @__PURE__ */ e.createElement("circle", { cx: 32, cy: 31, r: 10, stroke: "#4598FA", strokeWidth: 4 }), /* @__PURE__ */ e.createElement("path", { d: "m40.688 48.384 5.602 5.602 10.343-10.343m-6.966-5.073c3.253 0 5.891-3.166 5.891-7.07 0-3.905-2.638-7.07-5.891-7.07M32 41h-7.147a7 7 0 0 0-7 7v7.065", stroke: "#4598FA", strokeWidth: 4 }));
3
3
  export {
4
- r as default
4
+ a as default
5
5
  };
@@ -1,7 +1,7 @@
1
1
  import * as e from "react";
2
- const r = (t) => /* @__PURE__ */ e.createElement("svg", { width: 120, height: 120, viewBox: "0 0 120 120", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("mask", { id: "mask0_3296_9286", style: {
2
+ const r = (t) => /* @__PURE__ */ e.createElement("svg", { width: 120, height: 120, viewBox: "0 0 120 120", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("mask", { id: "a", style: {
3
3
  maskType: "luminance"
4
- }, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 120, height: 120 }, /* @__PURE__ */ e.createElement("rect", { width: 119.883, height: 119.883, fill: "white" })), /* @__PURE__ */ e.createElement("g", { mask: "url(#mask0_3296_9286)" }, /* @__PURE__ */ e.createElement("path", { d: "M62.0254 14.05C62.0254 11.261 64.2864 9 67.0754 9H91.0629C93.8519 9 96.1129 11.261 96.1129 14.05V74.65C96.1129 77.439 93.8519 79.7 91.0629 79.7H67.0754C64.2864 79.7 62.0254 77.439 62.0254 74.65V14.05Z", fill: "url(#paint0_linear_3296_9286)" }), /* @__PURE__ */ e.createElement("path", { d: "M24.1504 32.9875C24.1504 30.1985 26.4114 27.9375 29.2004 27.9375H69.6004C72.3894 27.9375 74.6504 30.1985 74.6504 32.9875V74.65C74.6504 77.439 72.3894 79.7 69.6004 79.7H29.2004C26.4114 79.7 24.1504 77.439 24.1504 74.65V32.9875Z", fill: "url(#paint1_linear_3296_9286)" }), /* @__PURE__ */ e.createElement("g", { filter: "url(#filter0_i_3296_9286)" }, /* @__PURE__ */ e.createElement("path", { d: "M16.5752 64.55C16.5752 58.9719 21.0971 54.45 26.6752 54.45H91.0627C96.6408 54.45 101.163 58.9719 101.163 64.55V99.8999C101.163 105.478 96.6408 110 91.0627 110H26.6752C21.0971 110 16.5752 105.478 16.5752 99.8999V64.55Z", fill: "url(#paint2_linear_3296_9286)" })), /* @__PURE__ */ e.createElement("g", { filter: "url(#filter1_i_3296_9286)" }, /* @__PURE__ */ e.createElement("path", { d: "M10.2627 55.7125C10.2627 51.5289 13.6541 48.1375 17.8377 48.1375H99.9002C104.084 48.1375 107.475 51.5289 107.475 55.7125V65.8124C107.475 69.996 104.084 73.3874 99.9002 73.3874H17.8377C13.6541 73.3874 10.2627 69.996 10.2627 65.8124V55.7125Z", fill: "url(#paint3_linear_3296_9286)" })), /* @__PURE__ */ e.createElement("circle", { cx: 58.869, cy: 87.9063, r: 6.94375, fill: "#6BADFF" })), /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("filter", { id: "filter0_i_3296_9286", x: 16.5752, y: 54.45, width: 86.5874, height: 57.55, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" }, /* @__PURE__ */ e.createElement("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }), /* @__PURE__ */ e.createElement("feBlend", { mode: "normal", in: "SourceGraphic", in2: "BackgroundImageFix", result: "shape" }), /* @__PURE__ */ e.createElement("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), /* @__PURE__ */ e.createElement("feMorphology", { radius: 4, operator: "erode", in: "SourceAlpha", result: "effect1_innerShadow_3296_9286" }), /* @__PURE__ */ e.createElement("feOffset", { dx: 2, dy: 2 }), /* @__PURE__ */ e.createElement("feGaussianBlur", { stdDeviation: 3 }), /* @__PURE__ */ e.createElement("feComposite", { in2: "hardAlpha", operator: "arithmetic", k2: -1, k3: 1 }), /* @__PURE__ */ e.createElement("feColorMatrix", { type: "matrix", values: "0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.25 0" }), /* @__PURE__ */ e.createElement("feBlend", { mode: "normal", in2: "shape", result: "effect1_innerShadow_3296_9286" })), /* @__PURE__ */ e.createElement("filter", { id: "filter1_i_3296_9286", x: 10.2627, y: 48.1375, width: 99.2124, height: 27.25, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" }, /* @__PURE__ */ e.createElement("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }), /* @__PURE__ */ e.createElement("feBlend", { mode: "normal", in: "SourceGraphic", in2: "BackgroundImageFix", result: "shape" }), /* @__PURE__ */ e.createElement("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), /* @__PURE__ */ e.createElement("feMorphology", { radius: 4, operator: "erode", in: "SourceAlpha", result: "effect1_innerShadow_3296_9286" }), /* @__PURE__ */ e.createElement("feOffset", { dx: 2, dy: 2 }), /* @__PURE__ */ e.createElement("feGaussianBlur", { stdDeviation: 3 }), /* @__PURE__ */ e.createElement("feComposite", { in2: "hardAlpha", operator: "arithmetic", k2: -1, k3: 1 }), /* @__PURE__ */ e.createElement("feColorMatrix", { type: "matrix", values: "0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.25 0" }), /* @__PURE__ */ e.createElement("feBlend", { mode: "normal", in2: "shape", result: "effect1_innerShadow_3296_9286" })), /* @__PURE__ */ e.createElement("linearGradient", { id: "paint0_linear_3296_9286", x1: 86.0129, y1: 9, x2: 86.6441, y2: 46.875, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ e.createElement("stop", { stopColor: "#FF7575" }), /* @__PURE__ */ e.createElement("stop", { offset: 1, stopColor: "#C91C1C" })), /* @__PURE__ */ e.createElement("linearGradient", { id: "paint1_linear_3296_9286", x1: 49.4004, y1: 56.975, x2: 49.4004, y2: 27.9375, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ e.createElement("stop", { stopColor: "#ED7F1A" }), /* @__PURE__ */ e.createElement("stop", { offset: 1, stopColor: "#FFE074" })), /* @__PURE__ */ e.createElement("linearGradient", { id: "paint2_linear_3296_9286", x1: 16.5752, y1: 75.2812, x2: 101.163, y2: 114.419, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ e.createElement("stop", { stopColor: "#54A0FD" }), /* @__PURE__ */ e.createElement("stop", { offset: 1, stopColor: "#136EDE" })), /* @__PURE__ */ e.createElement("linearGradient", { id: "paint3_linear_3296_9286", x1: 16.5752, y1: 55.7124, x2: 58.7889, y2: 111.945, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ e.createElement("stop", { stopColor: "#83BAFF" }), /* @__PURE__ */ e.createElement("stop", { offset: 1, stopColor: "#2482F6" }))));
4
+ }, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 120, height: 120 }, /* @__PURE__ */ e.createElement("path", { fill: "#fff", d: "M0 0h119.883v119.883H0z" })), /* @__PURE__ */ e.createElement("g", { mask: "url(#a)" }, /* @__PURE__ */ e.createElement("path", { d: "M62.025 14.05A5.05 5.05 0 0 1 67.075 9h23.988a5.05 5.05 0 0 1 5.05 5.05v60.6a5.05 5.05 0 0 1-5.05 5.05H67.075a5.05 5.05 0 0 1-5.05-5.05v-60.6z", fill: "url(#b)" }), /* @__PURE__ */ e.createElement("path", { d: "M24.15 32.987a5.05 5.05 0 0 1 5.05-5.05h40.4a5.05 5.05 0 0 1 5.05 5.05V74.65a5.05 5.05 0 0 1-5.05 5.05H29.2a5.05 5.05 0 0 1-5.05-5.05V32.987z", fill: "url(#c)" }), /* @__PURE__ */ e.createElement("g", { filter: "url(#d)" }, /* @__PURE__ */ e.createElement("path", { d: "M16.575 64.55c0-5.578 4.522-10.1 10.1-10.1h64.388c5.578 0 10.1 4.522 10.1 10.1V99.9c0 5.578-4.522 10.1-10.1 10.1H26.675c-5.578 0-10.1-4.522-10.1-10.1V64.55z", fill: "url(#e)" })), /* @__PURE__ */ e.createElement("g", { filter: "url(#f)" }, /* @__PURE__ */ e.createElement("path", { d: "M10.263 55.712a7.575 7.575 0 0 1 7.575-7.575H99.9a7.575 7.575 0 0 1 7.575 7.575v10.1a7.575 7.575 0 0 1-7.575 7.575H17.838a7.575 7.575 0 0 1-7.575-7.575v-10.1z", fill: "url(#g)" })), /* @__PURE__ */ e.createElement("circle", { cx: 58.869, cy: 87.906, r: 6.944, fill: "#6BADFF" })), /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("linearGradient", { id: "b", x1: 86.013, y1: 9, x2: 86.644, y2: 46.875, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ e.createElement("stop", { stopColor: "#FF7575" }), /* @__PURE__ */ e.createElement("stop", { offset: 1, stopColor: "#C91C1C" })), /* @__PURE__ */ e.createElement("linearGradient", { id: "c", x1: 49.4, y1: 56.975, x2: 49.4, y2: 27.938, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ e.createElement("stop", { stopColor: "#ED7F1A" }), /* @__PURE__ */ e.createElement("stop", { offset: 1, stopColor: "#FFE074" })), /* @__PURE__ */ e.createElement("linearGradient", { id: "e", x1: 16.575, y1: 75.281, x2: 101.163, y2: 114.419, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ e.createElement("stop", { stopColor: "#54A0FD" }), /* @__PURE__ */ e.createElement("stop", { offset: 1, stopColor: "#136EDE" })), /* @__PURE__ */ e.createElement("linearGradient", { id: "g", x1: 16.575, y1: 55.712, x2: 58.789, y2: 111.945, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ e.createElement("stop", { stopColor: "#83BAFF" }), /* @__PURE__ */ e.createElement("stop", { offset: 1, stopColor: "#2482F6" })), /* @__PURE__ */ e.createElement("filter", { id: "d", x: 16.575, y: 54.45, width: 86.587, height: 57.55, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" }, /* @__PURE__ */ e.createElement("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }), /* @__PURE__ */ e.createElement("feBlend", { in: "SourceGraphic", in2: "BackgroundImageFix", result: "shape" }), /* @__PURE__ */ e.createElement("feColorMatrix", { in: "SourceAlpha", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), /* @__PURE__ */ e.createElement("feMorphology", { radius: 4, in: "SourceAlpha", result: "effect1_innerShadow_3296_9286" }), /* @__PURE__ */ e.createElement("feOffset", { dx: 2, dy: 2 }), /* @__PURE__ */ e.createElement("feGaussianBlur", { stdDeviation: 3 }), /* @__PURE__ */ e.createElement("feComposite", { in2: "hardAlpha", operator: "arithmetic", k2: -1, k3: 1 }), /* @__PURE__ */ e.createElement("feColorMatrix", { values: "0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.25 0" }), /* @__PURE__ */ e.createElement("feBlend", { in2: "shape", result: "effect1_innerShadow_3296_9286" })), /* @__PURE__ */ e.createElement("filter", { id: "f", x: 10.263, y: 48.138, width: 99.212, height: 27.25, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" }, /* @__PURE__ */ e.createElement("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }), /* @__PURE__ */ e.createElement("feBlend", { in: "SourceGraphic", in2: "BackgroundImageFix", result: "shape" }), /* @__PURE__ */ e.createElement("feColorMatrix", { in: "SourceAlpha", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), /* @__PURE__ */ e.createElement("feMorphology", { radius: 4, in: "SourceAlpha", result: "effect1_innerShadow_3296_9286" }), /* @__PURE__ */ e.createElement("feOffset", { dx: 2, dy: 2 }), /* @__PURE__ */ e.createElement("feGaussianBlur", { stdDeviation: 3 }), /* @__PURE__ */ e.createElement("feComposite", { in2: "hardAlpha", operator: "arithmetic", k2: -1, k3: 1 }), /* @__PURE__ */ e.createElement("feColorMatrix", { values: "0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.25 0" }), /* @__PURE__ */ e.createElement("feBlend", { in2: "shape", result: "effect1_innerShadow_3296_9286" }))));
5
5
  export {
6
6
  r as default
7
7
  };
@@ -1,35 +1,36 @@
1
- import { jsx as n, jsxs as i, Fragment as O } from "react/jsx-runtime";
2
- import { useState as F, useImperativeHandle as _, createElement as y } from "react";
1
+ import { jsx as n, jsxs as i, Fragment as y } from "react/jsx-runtime";
2
+ import { useState as F, useImperativeHandle as _, createElement as b } from "react";
3
3
  import { useMemoizedFn as p, useReactive as q, useDebounce as G, useInfiniteScroll as H } from "ahooks";
4
- import { Box as l, Typography as a, Autocomplete as N, CircularProgress as b, TextField as Q, Button as v } from "@mui/material";
5
- import w from "../Toast/index.js";
4
+ import { Box as l, Typography as a, Autocomplete as N, CircularProgress as v, TextField as K, Button as w } from "@mui/material";
5
+ import { getBlockletSDK as Q } from "@blocklet/js-sdk";
6
+ import T from "../Toast/index.js";
6
7
  import Z from "../Dialog/dialog.js";
7
8
  import "../Dialog/confirm.js";
8
9
  import "lodash/noop";
9
- import { OrgQueryType as J, client as T } from "../Util/client.js";
10
- import { formatAxiosError as K } from "../Util/index.js";
11
- import { translate as U } from "../Locale/util.js";
12
- import X from "./locales.js";
10
+ import { OrgQueryType as J } from "../Util/client.js";
11
+ import { formatAxiosError as U } from "../Util/index.js";
12
+ import { translate as X } from "../Locale/util.js";
13
+ import Y from "./locales.js";
13
14
  const I = 20;
14
- function ce({
15
- ref: C,
15
+ function ue({
16
+ ref: S,
16
17
  org: g,
17
- onSuccess: S,
18
+ onSuccess: C,
18
19
  resourceId: f,
19
20
  locale: E = "en",
20
21
  dialogProps: k
21
22
  }) {
22
- const o = p((e, r = {}) => U(X, e, E, "en", r)), [h, c] = F(""), t = q({
23
+ const o = p((e, r = {}) => X(Y, e, E, "en", r)), h = Q(), [x, c] = F(""), t = q({
23
24
  open: !1,
24
25
  selectedOrg: null
25
- }), x = G(h, { wait: 500 }), { data: A, loadMore: W, loadingMore: d, loading: u, reload: z } = H(
26
+ }), O = G(x, { wait: 500 }), { data: A, loadMore: W, loadingMore: d, loading: u, reload: z } = H(
26
27
  async (e) => {
27
28
  if (!t.open) return { list: [], total: 0 };
28
- const m = { page: e ? Math.ceil(e.list.length / I) + 1 : 1, pageSize: I, search: x, type: J.OWNED }, R = await T.user.getOrgs(m), { orgs: j = [], paging: B } = R || {};
29
+ const m = { page: e ? Math.ceil(e.list.length / I) + 1 : 1, pageSize: I, search: O, type: J.OWNED }, R = await h.user.getOrgs(m), { orgs: j = [], paging: B } = R || {};
29
30
  return { list: j, total: B?.total || 0 };
30
31
  },
31
32
  {
32
- reloadDeps: [x],
33
+ reloadDeps: [O],
33
34
  isNoMore: (e) => e?.list.length ? e.list.length >= e?.total : !0,
34
35
  onError: (e) => {
35
36
  console.error("Get orgs failed", e);
@@ -39,7 +40,7 @@ function ce({
39
40
  }
40
41
  ), s = p(() => {
41
42
  t.open = !1, t.selectedOrg = null, c("");
42
- }), M = p(async () => {
43
+ }), D = p(async () => {
43
44
  try {
44
45
  if (!f)
45
46
  throw new Error(o("resourceIdRequired"));
@@ -47,12 +48,12 @@ function ce({
47
48
  throw new Error(o("placeholder"));
48
49
  if (t.selectedOrg.id === g.id)
49
50
  throw new Error(o("organizationSameAsCurrent"));
50
- await T.user.migrateResourceToOrg({ form: g.id, to: t.selectedOrg.id, resourceId: f }), s(), S?.(t.selectedOrg), w.success(o("tranferSuccess"));
51
+ await h.user.migrateResourceToOrg({ form: g.id, to: t.selectedOrg.id, resourceId: f }), s(), C?.(t.selectedOrg), T.success(o("tranferSuccess"));
51
52
  } catch (e) {
52
- console.error("Resource transfer failed", e), w.error(K(e));
53
+ console.error("Resource transfer failed", e), T.error(U(e));
53
54
  }
54
55
  });
55
- _(C, () => ({
56
+ _(S, () => ({
56
57
  open: (e = {}) => {
57
58
  Object.assign(t, { open: !0, selectedOrg: null }, e), setTimeout(() => {
58
59
  t.open && z();
@@ -60,7 +61,7 @@ function ce({
60
61
  },
61
62
  close: s
62
63
  }));
63
- const D = A?.list || [], { placeholder: L = "", ...P } = k || {};
64
+ const M = A?.list || [], { placeholder: L = "", ...P } = k || {};
64
65
  return /* @__PURE__ */ n(
65
66
  Z,
66
67
  {
@@ -69,9 +70,9 @@ function ce({
69
70
  maxWidth: "sm",
70
71
  open: t.open,
71
72
  onClose: s,
72
- actions: /* @__PURE__ */ i(O, { children: [
73
- /* @__PURE__ */ n(v, { onClick: s, color: "secondary", variant: "outlined", children: o("cancel") }),
74
- /* @__PURE__ */ n(v, { onClick: M, color: "primary", variant: "contained", disabled: !t.selectedOrg, children: o("confirm") })
73
+ actions: /* @__PURE__ */ i(y, { children: [
74
+ /* @__PURE__ */ n(w, { onClick: s, color: "secondary", variant: "outlined", children: o("cancel") }),
75
+ /* @__PURE__ */ n(w, { onClick: D, color: "primary", variant: "contained", disabled: !t.selectedOrg, children: o("confirm") })
75
76
  ] }),
76
77
  ...P || {},
77
78
  children: /* @__PURE__ */ i(l, { children: [
@@ -79,7 +80,7 @@ function ce({
79
80
  /* @__PURE__ */ n(
80
81
  N,
81
82
  {
82
- options: D,
83
+ options: M,
83
84
  getOptionLabel: (e) => e?.name || "",
84
85
  isOptionEqualToValue: (e, r) => e?.id === r?.id,
85
86
  value: t.selectedOrg,
@@ -90,7 +91,7 @@ function ce({
90
91
  }
91
92
  r?.isLoadingItem || (t.selectedOrg = r, r && c(""));
92
93
  },
93
- inputValue: t.selectedOrg ? t.selectedOrg.name : h,
94
+ inputValue: t.selectedOrg ? t.selectedOrg.name : x,
94
95
  onInputChange: (e, r, m) => {
95
96
  m === "input" && (t.selectedOrg && (t.selectedOrg = null), c(r));
96
97
  },
@@ -98,21 +99,21 @@ function ce({
98
99
  loadingText: o("loading"),
99
100
  noOptionsText: o(u ? "loading" : "noResults"),
100
101
  renderInput: (e) => /* @__PURE__ */ n(
101
- Q,
102
+ K,
102
103
  {
103
104
  ...e,
104
105
  variant: "outlined",
105
106
  fullWidth: !0,
106
107
  InputProps: {
107
108
  ...e.InputProps,
108
- endAdornment: /* @__PURE__ */ i(O, { children: [
109
- u && /* @__PURE__ */ n(b, { color: "inherit", size: 20 }),
109
+ endAdornment: /* @__PURE__ */ i(y, { children: [
110
+ u && /* @__PURE__ */ n(v, { color: "inherit", size: 20 }),
110
111
  e.InputProps.endAdornment
111
112
  ] })
112
113
  }
113
114
  }
114
115
  ),
115
- renderOption: (e, r) => r.isLoadingItem ? /* @__PURE__ */ y(l, { component: "li", ...e, key: r.id }, /* @__PURE__ */ i(
116
+ renderOption: (e, r) => r.isLoadingItem ? /* @__PURE__ */ b(l, { component: "li", ...e, key: r.id }, /* @__PURE__ */ i(
116
117
  l,
117
118
  {
118
119
  sx: {
@@ -125,11 +126,11 @@ function ce({
125
126
  cursor: "pointer"
126
127
  },
127
128
  children: [
128
- d && /* @__PURE__ */ n(b, { size: 16, sx: { mr: 1 } }),
129
+ d && /* @__PURE__ */ n(v, { size: 16, sx: { mr: 1 } }),
129
130
  /* @__PURE__ */ n(a, { variant: "body2", sx: { fontStyle: d ? "italic" : "normal" }, children: r.name })
130
131
  ]
131
132
  }
132
- )) : /* @__PURE__ */ y(l, { component: "li", ...e, key: r.id }, /* @__PURE__ */ i(l, { sx: { display: "flex", flexDirection: "column", flex: 1, minWidth: 0 }, children: [
133
+ )) : /* @__PURE__ */ b(l, { component: "li", ...e, key: r.id }, /* @__PURE__ */ i(l, { sx: { display: "flex", flexDirection: "column", flex: 1, minWidth: 0 }, children: [
133
134
  /* @__PURE__ */ n(
134
135
  a,
135
136
  {
@@ -170,5 +171,5 @@ function ce({
170
171
  );
171
172
  }
172
173
  export {
173
- ce as default
174
+ ue as default
174
175
  };
@@ -1,7 +1,7 @@
1
1
  import { useState as y, useMemo as u, useEffect as F } from "react";
2
2
  import { useMemoizedFn as f } from "ahooks";
3
3
  import U from "lodash/isNil";
4
- import { BlockletSDK as D } from "@blocklet/js-sdk";
4
+ import { getBlockletSDK as D } from "@blocklet/js-sdk";
5
5
  import a from "../Toast/index.js";
6
6
  import { formatAxiosError as d } from "../Util/index.js";
7
7
  function K({
@@ -13,7 +13,7 @@ function K({
13
13
  const [p, c] = y(!1), t = u(() => e?.did, [e]), n = u(() => Object.prototype.hasOwnProperty.call(e, "isFollowing") && !U(e.isFollowing), [e]), r = u(() => {
14
14
  let o = null;
15
15
  try {
16
- o = new D();
16
+ o = D();
17
17
  } catch (s) {
18
18
  console.error("Failed to initialize BlockletSDK:", s), o = null;
19
19
  }
@@ -33,14 +33,14 @@ function K({
33
33
  } catch (o) {
34
34
  console.error(o);
35
35
  }
36
- }), h = f(async (o = t) => {
36
+ }), g = f(async (o = t) => {
37
37
  if (!(!r || l && o === t))
38
38
  try {
39
39
  await r.user.followUser({ userDid: o }), a.success(w("follow_success")), i();
40
40
  } catch (s) {
41
41
  console.error(s), a.error(d(s));
42
42
  }
43
- }), g = f(async (o = t) => {
43
+ }), h = f(async (o = t) => {
44
44
  if (!(!r || l && o === t))
45
45
  try {
46
46
  await r.user.unfollowUser({ userDid: o }), a.success(w("unfollow_success")), i();
@@ -54,8 +54,8 @@ function K({
54
54
  n && c(e?.isFollowing || !1);
55
55
  }, [n, e]), {
56
56
  followed: p,
57
- followUser: h,
58
- unfollowUser: g
57
+ followUser: g,
58
+ unfollowUser: h
59
59
  };
60
60
  }
61
61
  export {
@@ -1,12 +1,7 @@
1
1
  import { toTypeInfo as c } from "@arcblock/did";
2
2
  import { types as i } from "@ocap/mcrypto";
3
- import { BlockletSDK as l } from "@blocklet/js-sdk";
3
+ import { getBlockletSDK as l } from "@blocklet/js-sdk";
4
4
  let s = null;
5
- try {
6
- s = new l();
7
- } catch (e) {
8
- console.error("Failed to initialize BlockletSDK:", e), s = null;
9
- }
10
5
  const n = "ux_user_", u = 60 * 60 * 1e3, f = (e) => {
11
6
  if (typeof sessionStorage > "u") return null;
12
7
  try {
@@ -29,7 +24,7 @@ const n = "ux_user_", u = 60 * 60 * 1e3, f = (e) => {
29
24
  console.error(`Failed to save user cache for did ${e}:`, t);
30
25
  }
31
26
  };
32
- function g(e) {
27
+ function d(e) {
33
28
  if (!e) return null;
34
29
  let r = "";
35
30
  return e.fullName ? r = e.fullName.charAt(0).toUpperCase() : e.email ? r = e.email.split("@")[0].charAt(0).toUpperCase() : r = e.did ? e.did.charAt(0).toUpperCase() : "?", r;
@@ -48,6 +43,15 @@ async function I(e) {
48
43
  const r = f(e);
49
44
  if (r)
50
45
  return r;
46
+ if (!s) {
47
+ try {
48
+ s = l();
49
+ } catch (t) {
50
+ console.error("Failed to initialize BlockletSDK:", t), s = null;
51
+ }
52
+ if (!s)
53
+ return null;
54
+ }
51
55
  if (!s) return null;
52
56
  try {
53
57
  const t = await s.user.getUserPublicInfo({ did: e });
@@ -78,7 +82,7 @@ function U(e) {
78
82
  }
79
83
  export {
80
84
  U as clearUserCache,
81
- g as createNameOnlyAvatar,
85
+ d as createNameOnlyAvatar,
82
86
  I as getUserByDid,
83
87
  S as isUserDid
84
88
  };
@@ -1,6 +1,4 @@
1
- import { BlockletSDK } from '@blocklet/js-sdk';
2
1
  export declare enum OrgQueryType {
3
2
  OWNED = "owned",
4
3
  JOINED = "joined"
5
4
  }
6
- export declare const client: BlockletSDK;
@@ -1,7 +1,4 @@
1
- import { BlockletSDK as n } from "@blocklet/js-sdk";
2
- var t = /* @__PURE__ */ ((o) => (o.OWNED = "owned", o.JOINED = "joined", o))(t || {});
3
- const r = new n();
1
+ var o = /* @__PURE__ */ ((n) => (n.OWNED = "owned", n.JOINED = "joined", n))(o || {});
4
2
  export {
5
- t as OrgQueryType,
6
- r as client
3
+ o as OrgQueryType
7
4
  };
@@ -26,7 +26,15 @@ export declare const LOGIN_PROVIDER: {
26
26
  TWITTER: string;
27
27
  };
28
28
  export declare const LOGIN_PROVIDER_NAME: {
29
- [x: string]: string;
29
+ [LOGIN_PROVIDER.EMAIL]: string;
30
+ [LOGIN_PROVIDER.AUTH0]: string;
31
+ [LOGIN_PROVIDER.APPLE]: string;
32
+ [LOGIN_PROVIDER.GITHUB]: string;
33
+ [LOGIN_PROVIDER.GOOGLE]: string;
34
+ [LOGIN_PROVIDER.WALLET]: string;
35
+ [LOGIN_PROVIDER.NFT]: string;
36
+ [LOGIN_PROVIDER.PASSKEY]: string;
37
+ [LOGIN_PROVIDER.TWITTER]: string;
30
38
  federated: string;
31
39
  };
32
40
  export declare const LOGIN_PROVIDER_ICON_SIZE = 16;
@@ -1,4 +1,4 @@
1
- const e = "3.3.10", s = { "@blocklet/js-sdk": "^1.17.7" }, n = {
1
+ const e = "3.4.0", s = { "@blocklet/js-sdk": "^1.17.7" }, n = {
2
2
  version: e,
3
3
  dependencies: s
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcblock/ux",
3
- "version": "3.3.10",
3
+ "version": "3.4.0",
4
4
  "description": "Common used react components for arcblock products",
5
5
  "keywords": [
6
6
  "react",
@@ -68,16 +68,16 @@
68
68
  "react": "^19.0.0",
69
69
  "react-router-dom": "^6.22.3"
70
70
  },
71
- "gitHead": "6c98492b766cb7f7486f3a81f3d4e4b0936af163",
71
+ "gitHead": "bbf3a178a14a767aef0da795ea31abe8dfb858c1",
72
72
  "dependencies": {
73
- "@arcblock/bridge": "3.3.10",
74
- "@arcblock/did": "^1.27.16",
73
+ "@arcblock/bridge": "3.4.0",
74
+ "@arcblock/did": "^1.28.1",
75
75
  "@arcblock/did-motif": "^1.1.14",
76
- "@arcblock/icons": "3.3.10",
77
- "@arcblock/nft-display": "3.3.10",
78
- "@arcblock/react-hooks": "3.3.10",
76
+ "@arcblock/icons": "3.4.0",
77
+ "@arcblock/nft-display": "3.4.0",
78
+ "@arcblock/react-hooks": "3.4.0",
79
79
  "@blocklet/js-sdk": "^1.17.7",
80
- "@blocklet/theme": "3.3.10",
80
+ "@blocklet/theme": "3.4.0",
81
81
  "@fontsource/roboto": "~5.1.1",
82
82
  "@fontsource/ubuntu-mono": "^5.2.6",
83
83
  "@iconify-icons/logos": "^1.2.36",
@@ -85,7 +85,7 @@
85
85
  "@iconify-icons/mdi": "^1.2.48",
86
86
  "@iconify-icons/tabler": "^1.2.95",
87
87
  "@iconify/react": "^5.2.1",
88
- "@ocap/mcrypto": "^1.27.16",
88
+ "@ocap/mcrypto": "^1.28.1",
89
89
  "@solana/qr-code-styling": "^1.6.0",
90
90
  "@types/dompurify": "^3.2.0",
91
91
  "@types/mui-datatables": "^4.3.12",
@@ -1,4 +1,4 @@
1
- import Modal from '@mui/material/Modal';
1
+ import { Modal } from '@mui/material';
2
2
  import styled from '@emotion/styled';
3
3
  import NFTDisplay, { getNFTData } from '.';
4
4
 
@@ -1,16 +1 @@
1
- <svg width="420" height="420" viewBox="0 0 420 420" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M210.205 17.1428V113.571V210M210.205 210L376.872 306.19M210.205 210L44.9668 305.238" stroke="url(#paint0_linear_3296_9216)" stroke-opacity="0.6" stroke-width="18"></path>
3
- <path fill-rule="evenodd" clip-rule="evenodd" d="M247.638 178.49L210.205 200.103L172.921 178.576L200.337 130.776L201.634 128.516L210.205 113.571L218.776 128.437L220.113 130.753L247.638 178.49ZM262.484 169.919L225.056 105.008L210.166 79.1841L195.334 105.042L158.074 170.005L62.7143 114.949L210.205 29.7949L357.695 114.949L262.484 169.919ZM256.201 193.342L218.776 214.949V301.244L284.965 263.044L293.538 258.095L284.986 243.263L256.201 193.342ZM218.776 321.036L302.108 272.943L316.949 264.377L308.389 249.532L271.047 184.77L366.267 129.795V300.103L218.776 385.256V321.036ZM201.634 301.151V214.949L164.392 193.448L136.062 242.84L127.586 257.619L136.083 262.614L201.634 301.151ZM149.546 184.876L112.715 249.09L104.277 263.802L118.898 272.397L201.517 320.969L201.634 321.037V385.256L54.1429 300.103V129.795L149.546 184.876ZM210.205 10L45.5714 105.051L37 110V119.897V310L201.634 405.051L210.205 410L218.776 405.051L383.41 310V119.897V110L374.838 105.051L210.205 10Z" fill="url(#paint1_linear_3296_9216)"></path>
4
- <defs>
5
- <linearGradient id="paint0_linear_3296_9216" x1="632.433" y1="166.456" x2="334.741" y2="-292.388" gradientUnits="userSpaceOnUse">
6
- <stop stop-color="#4EF1BA"></stop>
7
- <stop offset="0.501904" stop-color="#16CED1"></stop>
8
- <stop offset="1" stop-color="#3773F2"></stop>
9
- </linearGradient>
10
- <linearGradient id="paint1_linear_3296_9216" x1="210.205" y1="-190" x2="-189.795" y2="210" gradientUnits="userSpaceOnUse">
11
- <stop stop-color="#4EF1BA"></stop>
12
- <stop offset="0.501904" stop-color="#16CED1"></stop>
13
- <stop offset="1" stop-color="#3773F2"></stop>
14
- </linearGradient>
15
- </defs>
16
- </svg>
1
+ <svg width="420" height="420" viewBox="0 0 420 420" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M210.205 17.143V210m0 0 166.667 96.19M210.205 210 44.967 305.238" stroke="url(#a)" stroke-opacity=".6" stroke-width="18"/><path fill-rule="evenodd" clip-rule="evenodd" d="m247.638 178.49-37.433 21.613-37.284-21.527 27.416-47.8 1.297-2.26 8.571-14.945 8.571 14.866 1.337 2.316 27.525 47.737zm14.846-8.571-37.428-64.911-14.89-25.824-14.832 25.858-37.26 64.963-95.36-55.056 147.491-85.154 147.49 85.154-95.211 54.97zm-6.283 23.423-37.425 21.607v86.295l66.189-38.2 8.573-4.949-8.552-14.832-28.785-49.921zm-37.425 127.694 83.332-48.093 14.841-8.566-8.56-14.845-37.342-64.762 95.22-54.975v170.308l-147.491 85.153v-64.22zm-17.142-19.885v-86.202l-37.242-21.501-28.33 49.392-8.476 14.779 8.497 4.995 65.551 38.537zm-52.088-116.275-36.831 64.214-8.438 14.712 14.621 8.595 82.619 48.572.117.068v64.219L54.143 300.103V129.795l95.403 55.081zM210.205 10 45.571 105.051 37 110v200l164.634 95.051 8.571 4.949 8.571-4.949L383.41 310V110l-8.572-4.949L210.205 10z" fill="url(#b)"/><defs><linearGradient id="a" x1="632.433" y1="166.456" x2="334.741" y2="-292.388" gradientUnits="userSpaceOnUse"><stop stop-color="#4EF1BA"/><stop offset=".502" stop-color="#16CED1"/><stop offset="1" stop-color="#3773F2"/></linearGradient><linearGradient id="b" x1="210.205" y1="-190" x2="-189.795" y2="210" gradientUnits="userSpaceOnUse"><stop stop-color="#4EF1BA"/><stop offset=".502" stop-color="#16CED1"/><stop offset="1" stop-color="#3773F2"/></linearGradient></defs></svg>
@@ -1,18 +1 @@
1
- <svg width="200" height="200" viewBox="0 0 200 200" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <mask id="mask0_3296_9227" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="8" y="8" width="184" height="184">
3
- <path d="M192 100C192 49.1898 150.81 8 100 8C49.1898 8 8 49.1898 8 100C8 150.81 49.1898 192 100 192C150.81 192 192 150.81 192 100Z" fill="white"></path>
4
- </mask>
5
- <g mask="url(#mask0_3296_9227)">
6
- <path d="M192 100C192 49.1898 150.81 8 100 8C49.1898 8 8 49.1898 8 100C8 150.81 49.1898 192 100 192C150.81 192 192 150.81 192 100Z" fill="white"></path>
7
- <path d="M192 8H8V192H192V8Z" fill="url(#paint0_linear_3296_9227)"></path>
8
- <path opacity="0.6" fill-rule="evenodd" clip-rule="evenodd" d="M98.0594 97.0743V99.3038L96.1184 100.419L40.2002 132.536L42.141 135.88L100 102.648L157.859 135.88L159.8 132.536L103.882 100.419L101.941 99.3038V97.0743V32.84H98.0594V97.0743Z" fill="white"></path>
9
- <path fill-rule="evenodd" clip-rule="evenodd" d="M100.404 28.6202L162.56 64.5058V136.277L100.404 172.163L38.2485 136.277V64.5058L100.404 28.6202ZM44.0759 65.6272L82.729 87.9437L100.405 57.3287L118.08 87.9435L156.733 65.6272L100.404 33.1061L44.0759 65.6272ZM158.675 68.9914L120.022 91.3078L137.698 121.923L102.347 142.333V166.556L158.675 134.034V68.9914ZM98.4619 166.556V142.333L63.1111 121.923L80.7866 91.3079L42.1332 68.9914V134.034L98.4619 166.556ZM84.1505 93.2501L68.4172 120.501L98.4619 137.847V103.755V101.512L96.5196 100.391L84.1505 93.2501ZM102.347 137.847L132.39 120.501L116.657 93.2503L104.289 100.391L102.347 101.512V103.755V137.847ZM114.715 89.8861L100.404 65.0982L86.0929 89.8858L100.404 98.1485L114.715 89.8861Z" fill="white"></path>
10
- </g>
11
- <defs>
12
- <linearGradient id="paint0_linear_3296_9227" x1="100" y1="-84" x2="-84" y2="100" gradientUnits="userSpaceOnUse">
13
- <stop stop-color="#4EF1BA"></stop>
14
- <stop offset="0.501904" stop-color="#16CED1"></stop>
15
- <stop offset="1" stop-color="#3773F2"></stop>
16
- </linearGradient>
17
- </defs>
18
- </svg>
1
+ <svg width="200" height="200" viewBox="0 0 200 200" fill="none" xmlns="http://www.w3.org/2000/svg"><mask id="a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="8" y="8" width="184" height="184"><path d="M192 100c0-50.81-41.19-92-92-92S8 49.19 8 100s41.19 92 92 92 92-41.19 92-92z" fill="#fff"/></mask><g mask="url(#a)"><path d="M192 100c0-50.81-41.19-92-92-92S8 49.19 8 100s41.19 92 92 92 92-41.19 92-92z" fill="#fff"/><path d="M192 8H8v184h184V8z" fill="url(#b)"/><path opacity=".6" fill-rule="evenodd" clip-rule="evenodd" d="M98.06 97.074v2.23l-1.942 1.115L40.2 132.536l1.941 3.344L100 102.648l57.859 33.232 1.941-3.344-55.918-32.117-1.941-1.115V32.84h-3.882v64.234z" fill="#fff"/><path fill-rule="evenodd" clip-rule="evenodd" d="m100.404 28.62 62.156 35.886v71.771l-62.156 35.886-62.155-35.886V64.506l62.155-35.886zM44.076 65.627l38.653 22.317 17.676-30.615 17.675 30.614 38.653-22.316-56.329-32.52-56.328 32.52zm114.599 3.364-38.653 22.317 17.676 30.615-35.351 20.41v24.223l56.328-32.522V68.991zm-60.213 97.565v-24.223l-35.35-20.41 17.675-30.615L42.133 68.99v65.043l56.329 32.522zM84.15 93.25l-15.733 27.251 30.045 17.346v-36.335l-1.942-1.121-12.37-7.14zm18.197 44.597 30.043-17.346-15.733-27.25-12.368 7.14-1.942 1.121v36.335zm12.368-47.96-14.311-24.789-14.311 24.788 14.311 8.263 14.311-8.263z" fill="#fff"/></g><defs><linearGradient id="b" x1="100" y1="-84" x2="-84" y2="100" gradientUnits="userSpaceOnUse"><stop stop-color="#4EF1BA"/><stop offset=".502" stop-color="#16CED1"/><stop offset="1" stop-color="#3773F2"/></linearGradient></defs></svg>
@@ -1,46 +1 @@
1
- <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g clip-path="url(#clip0_697_8408)">
3
- <g filter="url(#filter0_i_697_8408)">
4
- <path fill-rule="evenodd" clip-rule="evenodd" d="M12.6107 0H11.3921V2.15049H10.3086V0H9.08994V2.15049H8.0064V0H6.78779V2.15049H5.70689V0H4.48828V2.18296C3.30266 2.36596 2.36589 3.30282 2.18301 4.48848H0V5.70709H2.15059V6.78779H0V8.0064H2.15059V9.08994H0V10.3086H2.15059V11.3921H0V12.6107H2.15059V13.6942H0V14.9128H2.15059V15.9936H0V17.2122H2.15059V18.2957H0V19.5143H2.18344C2.36736 20.6987 3.30359 21.6342 4.48828 21.817V24H5.70689V21.8495H6.78779V24H8.0064V21.8495H9.08994V24H10.3086V21.8495H11.3921V24H12.6107V21.8495H13.6942V24H14.9128V21.8495H15.9936V24H17.2122V21.8495H18.2956V24H19.5142V21.8167C20.6978 21.633 21.633 20.6979 21.8168 19.5143H24.0002V18.2957H21.8496V17.2122H24.0002V15.9936H21.8496V14.9128H24.0002V13.6942H21.8496V12.6107H24.0002V11.3921H21.8496V10.3086H24.0002V9.08994H21.8496V8.0064H24.0002V6.78779H21.8496V5.70709H24.0002V4.48848H21.8172C21.6344 3.30358 20.6987 2.36717 19.5142 2.18331V0H18.2956V2.15049H17.2122V0H15.9936V2.15049H14.9128V0H13.6942V2.15049H12.6107V0Z" fill="#1D9BF0"/>
5
- </g>
6
- <path d="M17.1019 4.91309H6.90091C5.80307 4.91309 4.91309 5.80306 4.91309 6.90091V17.1019C4.91309 18.1998 5.80307 19.0898 6.90091 19.0898H17.1019C18.1998 19.0898 19.0898 18.1998 19.0898 17.1019V6.90091C19.0898 5.80306 18.1998 4.91309 17.1019 4.91309Z" fill="url(#paint0_linear_697_8408)"/>
7
- <path d="M8.38712 7.91833C8.3866 7.74758 8.33623 7.58069 8.24219 7.43817C8.14815 7.29565 8.01455 7.18368 7.85777 7.11603V4.9104H7.16851V7.11603C7.02346 7.17827 6.89798 7.27862 6.80538 7.40644C6.71278 7.53426 6.65652 7.68477 6.64258 7.84199C6.62863 7.99921 6.65753 8.15727 6.72619 8.29939C6.79485 8.44151 6.90071 8.56238 7.03254 8.64917C7.16437 8.73596 7.31725 8.78544 7.47493 8.79234C7.63262 8.79924 7.78923 8.76331 7.92814 8.68836C8.06704 8.61342 8.18306 8.50225 8.26388 8.36667C8.34469 8.23109 8.38728 8.07616 8.38712 7.91833Z" fill="#3AC8A0"/>
8
- <path d="M8.38691 11.1301C8.18179 11.1294 7.98299 11.2011 7.82554 11.3325C7.66808 11.464 7.56206 11.6468 7.52615 11.8488C7.49024 12.0507 7.52674 12.2589 7.62923 12.4366C7.73171 12.6143 7.8936 12.7501 8.08639 12.8201V19.0896H8.77841V12.7788C8.95621 12.6921 9.0992 12.5474 9.18387 12.3686C9.26854 12.1899 9.28985 11.9876 9.24429 11.7951C9.19873 11.6026 9.08902 11.4313 8.9332 11.3095C8.77737 11.1876 8.58472 11.1224 8.38691 11.1246V11.1301Z" fill="#E85F3D"/>
9
- <path d="M11.9436 14.6729C11.7424 14.6727 11.5474 14.7419 11.3914 14.8688C11.2353 14.9957 11.1278 15.1725 11.087 15.3695C11.0462 15.5664 11.0746 15.7714 11.1673 15.9499C11.2601 16.1283 11.4116 16.2694 11.5962 16.3491V19.0896H12.2882V16.3491C12.4726 16.2695 12.624 16.1287 12.7167 15.9505C12.8095 15.7723 12.8381 15.5676 12.7976 15.3708C12.7572 15.1741 12.6502 14.9972 12.4946 14.8701C12.3391 14.743 12.1445 14.6733 11.9436 14.6729Z" fill="#3AC8A0"/>
10
- <path d="M17.3056 10.4823C17.1528 10.4814 17.0025 10.5208 16.8699 10.5965C16.7372 10.6722 16.6268 10.7816 16.5499 10.9136C16.473 11.0456 16.4323 11.1955 16.4319 11.3483C16.4314 11.501 16.4713 11.6512 16.5474 11.7837L15.02 13.8073V19.0898H15.7093V14.0389L17.0878 12.2027C17.1557 12.2181 17.225 12.2264 17.2946 12.2275C17.4133 12.2342 17.5321 12.2166 17.6438 12.1758C17.7555 12.1349 17.8576 12.0717 17.944 11.99C18.0304 11.9084 18.0993 11.8099 18.1463 11.7007C18.1934 11.5915 18.2176 11.4738 18.2176 11.3549C18.2176 11.236 18.1934 11.1184 18.1463 11.0092C18.0993 10.9 18.0304 10.8015 17.944 10.7198C17.8576 10.6381 17.7555 10.575 17.6438 10.5341C17.5321 10.4933 17.4133 10.4757 17.2946 10.4823H17.3056Z" fill="#E85F3D"/>
11
- <path d="M12.8728 10.2452C12.8117 10.246 12.7508 10.2525 12.6908 10.2645L11.3123 8.43658V4.91309H10.623V8.67644L12.1311 10.6753C12.0318 10.8403 11.9899 11.0335 12.0121 11.2248C12.0342 11.416 12.119 11.5946 12.2534 11.7325C12.3877 11.8705 12.564 11.96 12.7546 11.9872C12.9453 12.0144 13.1395 11.9776 13.307 11.8827C13.4746 11.7877 13.6059 11.64 13.6806 11.4625C13.7552 11.285 13.769 11.0878 13.7197 10.9016C13.6704 10.7155 13.5608 10.5509 13.4081 10.4337C13.2554 10.3164 13.0681 10.253 12.8755 10.2535L12.8728 10.2452Z" fill="#E85F3D"/>
12
- <path d="M15.682 9.66621C15.8829 9.66575 16.0775 9.5961 16.2331 9.46897C16.3886 9.34185 16.4956 9.16502 16.5361 8.96824C16.5766 8.77146 16.548 8.56675 16.4552 8.38857C16.3624 8.21039 16.2111 8.06962 16.0267 7.98994V4.91309H15.3374V7.98994C15.153 8.06962 15.0016 8.21039 14.9089 8.38857C14.8161 8.56675 14.7875 8.77146 14.828 8.96824C14.8684 9.16502 14.9754 9.34185 15.131 9.46897C15.2865 9.5961 15.4811 9.66575 15.682 9.66621Z" fill="#3AC8A0"/>
13
- <mask id="mask0_697_8408" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="6" y="7" width="12" height="10">
14
- <path d="M15.25 10.5H8.75C8.47386 10.5 8.25 10.7239 8.25 11V16C8.25 16.2761 8.47386 16.5 8.75 16.5H15.25C15.5261 16.5 15.75 16.2761 15.75 16V11C15.75 10.7239 15.5261 10.5 15.25 10.5Z" fill="white"/>
15
- <path fill-rule="evenodd" clip-rule="evenodd" d="M7.75 11C7.75 10.4477 8.19772 10 8.75 10H15.25C15.8023 10 16.25 10.4477 16.25 11V16C16.25 16.5523 15.8023 17 15.25 17H8.75C8.19772 17 7.75 16.5523 7.75 16V11ZM15.25 11H8.75V16H15.25V11Z" fill="white"/>
16
- <path d="M10.25 13C10.5261 13 10.75 12.7761 10.75 12.5C10.75 12.2239 10.5261 12 10.25 12C9.97386 12 9.75 12.2239 9.75 12.5C9.75 12.7761 9.97386 13 10.25 13Z" fill="black"/>
17
- <path d="M13.75 13C14.0261 13 14.25 12.7761 14.25 12.5C14.25 12.2239 14.0261 12 13.75 12C13.4739 12 13.25 12.2239 13.25 12.5C13.25 12.7761 13.4739 13 13.75 13Z" fill="black"/>
18
- <path d="M11 14C10.8674 14 10.7402 14.0527 10.6464 14.1464C10.5527 14.2402 10.5 14.3674 10.5 14.5C10.5 14.6326 10.5527 14.7598 10.6464 14.8536C10.7402 14.9473 10.8674 15 11 15V14ZM13 15C13.1326 15 13.2598 14.9473 13.3536 14.8536C13.4473 14.7598 13.5 14.6326 13.5 14.5C13.5 14.3674 13.4473 14.2402 13.3536 14.1464C13.2598 14.0527 13.1326 14 13 14V15ZM11 15H13V14H11V15Z" fill="black"/>
19
- <path fill-rule="evenodd" clip-rule="evenodd" d="M12 8C12.2761 8 12.5 8.22386 12.5 8.5V10.5C12.5 10.7761 12.2761 11 12 11C11.7239 11 11.5 10.7761 11.5 10.5V8.5C11.5 8.22386 11.7239 8 12 8ZM7 12C7.27614 12 7.5 12.2239 7.5 12.5V14.5C7.5 14.7761 7.27614 15 7 15C6.72386 15 6.5 14.7761 6.5 14.5V12.5C6.5 12.2239 6.72386 12 7 12ZM17 12C17.2761 12 17.5 12.2239 17.5 12.5V14.5C17.5 14.7761 17.2761 15 17 15C16.7239 15 16.5 14.7761 16.5 14.5V12.5C16.5 12.2239 16.7239 12 17 12Z" fill="white"/>
20
- <path fill-rule="evenodd" clip-rule="evenodd" d="M11 8C11 7.44772 11.4477 7 12 7C12.5523 7 13 7.44772 13 8C13 8.55228 12.5523 9 12 9C11.4477 9 11 8.55228 11 8Z" fill="white"/>
21
- </mask>
22
- <g mask="url(#mask0_697_8408)">
23
- <path d="M6 6H18V18H6V6Z" fill="white"/>
24
- </g>
25
- </g>
26
- <defs>
27
- <filter id="filter0_i_697_8408" x="0" y="0" width="24.4" height="24.4" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
28
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
29
- <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
30
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
31
- <feMorphology radius="0.8" operator="erode" in="SourceAlpha" result="effect1_innerShadow_697_8408"/>
32
- <feOffset dx="0.4" dy="0.4"/>
33
- <feGaussianBlur stdDeviation="0.6"/>
34
- <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
35
- <feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.25 0"/>
36
- <feBlend mode="normal" in2="shape" result="effect1_innerShadow_697_8408"/>
37
- </filter>
38
- <linearGradient id="paint0_linear_697_8408" x1="16.0831" y1="19.9581" x2="16.1471" y2="6.2774" gradientUnits="userSpaceOnUse">
39
- <stop stop-color="#369CFC"/>
40
- <stop offset="1" stop-color="#1E65B5"/>
41
- </linearGradient>
42
- <clipPath id="clip0_697_8408">
43
- <rect width="24" height="24" fill="white"/>
44
- </clipPath>
45
- </defs>
46
- </svg>
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><g filter="url(#b)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.61 0h-1.218v2.15H10.31V0H9.09v2.15H8.007V0H6.788v2.15H5.707V0H4.488v2.183a2.765 2.765 0 0 0-2.305 2.305H0v1.22h2.15v1.08H0v1.218h2.15V9.09H0v1.219h2.15v1.083H0v1.219h2.15v1.083H0v1.219h2.15v1.08H0v1.22h2.15v1.083H0v1.218h2.183a2.764 2.764 0 0 0 2.305 2.303V24h1.219v-2.15h1.08V24h1.22v-2.15H9.09V24h1.219v-2.15h1.083V24h1.219v-2.15h1.083V24h1.219v-2.15h1.08V24h1.22v-2.15h1.083V24h1.218v-2.183a2.765 2.765 0 0 0 2.303-2.303H24v-1.218h-2.15v-1.084H24v-1.218h-2.15v-1.081H24v-1.219h-2.15v-1.083H24v-1.219h-2.15V10.31H24V9.09h-2.15V8.007H24V6.788h-2.15v-1.08H24v-1.22h-2.183a2.765 2.765 0 0 0-2.303-2.305V0h-1.218v2.15h-1.084V0h-1.218v2.15h-1.081V0h-1.219v2.15h-1.083V0z" fill="#1D9BF0"/></g><path d="M17.102 4.913H6.9c-1.098 0-1.988.89-1.988 1.988v10.2c0 1.099.89 1.989 1.988 1.989h10.2c1.099 0 1.989-.89 1.989-1.988V6.9c0-1.098-.89-1.988-1.988-1.988z" fill="url(#c)"/><path d="M8.387 7.918a.877.877 0 0 0-.53-.802V4.91H7.17v2.206a.874.874 0 1 0 1.218.802z" fill="#3AC8A0"/><path d="M8.387 11.13a.872.872 0 0 0-.3 1.69v6.27h.691v-6.311a.871.871 0 0 0-.391-1.654v.005z" fill="#E85F3D"/><path d="M11.944 14.673a.874.874 0 0 0-.348 1.676v2.74h.692v-2.74a.873.873 0 0 0-.344-1.676z" fill="#3AC8A0"/><path d="M17.306 10.482a.869.869 0 0 0-.759 1.302l-1.527 2.023v5.283h.69v-5.051l1.378-1.836c.068.015.137.023.207.024a.874.874 0 1 0 0-1.745h.01zm-4.433-.237a.994.994 0 0 0-.182.02l-1.379-1.828V4.913h-.689v3.763l1.508 2a.87.87 0 1 0 .745-.422l-.003-.009z" fill="#E85F3D"/><path d="M15.682 9.666a.874.874 0 0 0 .345-1.676V4.913h-.69V7.99a.874.874 0 0 0 .345 1.676z" fill="#3AC8A0"/><mask id="d" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="6" y="7" width="12" height="10"><path d="M15.25 10.5h-6.5a.5.5 0 0 0-.5.5v5a.5.5 0 0 0 .5.5h6.5a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-.5-.5z" fill="#fff"/><path fill-rule="evenodd" clip-rule="evenodd" d="M7.75 11a1 1 0 0 1 1-1h6.5a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1h-6.5a1 1 0 0 1-1-1v-5zm7.5 0h-6.5v5h6.5v-5z" fill="#fff"/><path d="M10.25 13a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zm3.5 0a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1zM11 14a.5.5 0 0 0 0 1v-1zm2 1a.5.5 0 0 0 0-1v1zm-2 0h2v-1h-2v1z" fill="#000"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12 8a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 12 8zm-5 4a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 7 12zm10 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2a.5.5 0 0 1 .5-.5z" fill="#fff"/><path fill-rule="evenodd" clip-rule="evenodd" d="M11 8a1 1 0 1 1 2 0 1 1 0 0 1-2 0z" fill="#fff"/></mask><g mask="url(#d)"><path d="M6 6h12v12H6V6z" fill="#fff"/></g></g><defs><linearGradient id="c" x1="16.083" y1="19.958" x2="16.147" y2="6.277" gradientUnits="userSpaceOnUse"><stop stop-color="#369CFC"/><stop offset="1" stop-color="#1E65B5"/></linearGradient><clipPath id="a"><path fill="#fff" d="M0 0h24v24H0z"/></clipPath><filter id="b" x="0" y="0" width="24.4" height="24.4" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feMorphology radius=".8" in="SourceAlpha" result="effect1_innerShadow_697_8408"/><feOffset dx=".4" dy=".4"/><feGaussianBlur stdDeviation=".6"/><feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.25 0"/><feBlend in2="shape" result="effect1_innerShadow_697_8408"/></filter></defs></svg>
@@ -1,26 +1 @@
1
- <svg viewBox="0 0 902 902" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <rect width="902" height="902" rx="212" fill="url(#paint0_linear_3783_1258)" style=""></rect>
3
- <rect x="166" y="247" width="569" height="409" rx="80" stroke="white" style="stroke:white;stroke-opacity:1;"
4
- stroke-width="40"></rect>
5
- <ellipse cx="371" cy="452" rx="37" ry="65" fill="white" style="fill:white;fill-opacity:1;"></ellipse>
6
- <ellipse cx="531" cy="452" rx="37" ry="65" fill="white" style="fill:white;fill-opacity:1;"></ellipse>
7
- <defs>
8
- <linearGradient id="paint0_linear_3783_1258" x1="84" y1="78.5" x2="811.5" y2="850.5"
9
- gradientUnits="userSpaceOnUse">
10
- <stop stop-color="#AAF4EF"
11
- style="stop-color:#AAF4EF;stop-color:color(display-p3 0.6667 0.9569 0.9373);stop-opacity:1;"></stop>
12
- <stop offset="0.180804" stop-color="#C7F37F"
13
- style="stop-color:#C7F37F;stop-color:color(display-p3 0.7798 0.9512 0.4996);stop-opacity:1;"></stop>
14
- <stop offset="0.361299" stop-color="#FFD071"
15
- style="stop-color:#FFD071;stop-color:color(display-p3 1.0000 0.8141 0.4422);stop-opacity:1;"></stop>
16
- <stop offset="0.546216" stop-color="#FF9898"
17
- style="stop-color:#FF9898;stop-color:color(display-p3 1.0000 0.5960 0.5960);stop-opacity:1;"></stop>
18
- <stop offset="0.72214" stop-color="#FF89E0"
19
- style="stop-color:#FF89E0;stop-color:color(display-p3 1.0000 0.5360 0.8769);stop-opacity:1;"></stop>
20
- <stop offset="0.898804" stop-color="#B695FE"
21
- style="stop-color:#B695FE;stop-color:color(display-p3 0.7137 0.5843 0.9961);stop-opacity:1;"></stop>
22
- <stop offset="1" stop-color="#7C8EED"
23
- style="stop-color:#7C8EED;stop-color:color(display-p3 0.4863 0.5569 0.9294);stop-opacity:1;"></stop>
24
- </linearGradient>
25
- </defs>
26
- </svg>
1
+ <svg viewBox="0 0 902 902" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="902" height="902" rx="212" fill="url(#a)"/><rect x="166" y="247" width="569" height="409" rx="80" stroke="#fff" style="stroke:#fff;stroke-opacity:1" stroke-width="40"/><ellipse cx="371" cy="452" rx="37" ry="65" fill="#fff" style="fill:#fff;fill-opacity:1"/><ellipse cx="531" cy="452" rx="37" ry="65" fill="#fff" style="fill:#fff;fill-opacity:1"/><defs><linearGradient id="a" x1="84" y1="78.5" x2="811.5" y2="850.5" gradientUnits="userSpaceOnUse"><stop stop-color="#AAF4EF" style="stop-color:color(display-p3 .6667 .9569 .9373);stop-opacity:1"/><stop offset=".181" stop-color="#C7F37F" style="stop-color:color(display-p3 .7798 .9512 .4996);stop-opacity:1"/><stop offset=".361" stop-color="#FFD071" style="stop-color:color(display-p3 1 .8141 .4422);stop-opacity:1"/><stop offset=".546" stop-color="#FF9898" style="stop-color:color(display-p3 1 .596 .596);stop-opacity:1"/><stop offset=".722" stop-color="#FF89E0" style="stop-color:color(display-p3 1 .536 .8769);stop-opacity:1"/><stop offset=".899" stop-color="#B695FE" style="stop-color:color(display-p3 .7137 .5843 .9961);stop-opacity:1"/><stop offset="1" stop-color="#7C8EED" style="stop-color:color(display-p3 .4863 .5569 .9294);stop-opacity:1"/></linearGradient></defs></svg>
@@ -1,6 +1 @@
1
- <svg viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg">
2
- <rect x="73.1603" y="109.16" width="253.435" height="181.679" rx="36.6412" fill="none" stroke="currentColor"
3
- stroke-width="18.3206" />
4
- <ellipse cx="164" cy="199.618" rx="16.0305" ry="28.626" fill="currentColor" />
5
- <ellipse cx="234.991" cy="199.618" rx="16.0305" ry="28.626" fill="currentColor" />
6
- </svg>
1
+ <svg viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg"><rect x="73.16" y="109.16" width="253.435" height="181.679" rx="36.641" fill="none" stroke="currentColor" stroke-width="18.321"/><ellipse cx="164" cy="199.618" rx="16.03" ry="28.626" fill="currentColor"/><ellipse cx="234.991" cy="199.618" rx="16.03" ry="28.626" fill="currentColor"/></svg>