@retinalabsllc/zairusjs 9.0.85 → 9.0.90
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/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +16 -4
- package/dist/index.mjs +26 -13
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -856,8 +856,12 @@ var UniversalOrganizationPage = ({
|
|
|
856
856
|
slugPrefixUrl = ".aeona.eth",
|
|
857
857
|
bannerProps,
|
|
858
858
|
onSaveConfiguration,
|
|
859
|
-
onCheckSlugAvailability
|
|
859
|
+
onCheckSlugAvailability,
|
|
860
|
+
onBack
|
|
860
861
|
}) => {
|
|
862
|
+
const onBackHandler = onBack ?? (() => {
|
|
863
|
+
if (typeof window !== "undefined") window.history.back();
|
|
864
|
+
});
|
|
861
865
|
const resolvedInitialUsername = initialUsername || initialSlug;
|
|
862
866
|
const [web3Name, setWeb3Name] = (0, import_react15.useState)(initialOrgName);
|
|
863
867
|
const [username, setUsername] = (0, import_react15.useState)(resolvedInitialUsername);
|
|
@@ -934,7 +938,15 @@ var UniversalOrganizationPage = ({
|
|
|
934
938
|
};
|
|
935
939
|
const hasChanges = web3Name !== initialOrgName || slug !== initialSlug || username !== resolvedInitialUsername;
|
|
936
940
|
const isSaveDisabled = isSubmitting || isReadOnly || isCheckingSlug || !hasChanges || web3Name.length < 3 || slug.length < 3 || username.length < 3 || slug !== initialSlug && slugAvailable === false;
|
|
937
|
-
return /* @__PURE__ */ import_react15.default.createElement("div",
|
|
941
|
+
return /* @__PURE__ */ import_react15.default.createElement("div", null, /* @__PURE__ */ import_react15.default.createElement("div", { className: "mb-3 flex max-w-3xl w-full mx-auto items-center px-1" }, /* @__PURE__ */ import_react15.default.createElement(
|
|
942
|
+
"button",
|
|
943
|
+
{
|
|
944
|
+
onClick: onBackHandler,
|
|
945
|
+
className: "flex items-center gap-2 text-neutral-500 hover:text-black transition-colors text-[13px] font-medium outline-none"
|
|
946
|
+
},
|
|
947
|
+
/* @__PURE__ */ import_react15.default.createElement(import_react16.HugeiconsIcon, { icon: import_core_free_icons3.ArrowLeft01Icon, size: 16 }),
|
|
948
|
+
" Back"
|
|
949
|
+
)), /* @__PURE__ */ import_react15.default.createElement("div", { className: "flex flex-col gap-8 animate-in max-w-3xl w-full mx-auto rounded-2xl p-6 bg-white fade-in duration-300" }, /* @__PURE__ */ import_react15.default.createElement(ManagedToaster, null), /* @__PURE__ */ import_react15.default.createElement("div", { className: "flex items-start justify-between gap-4" }, /* @__PURE__ */ import_react15.default.createElement("div", null, /* @__PURE__ */ import_react15.default.createElement("h1", { className: "text-black text-xl mb-1 tracking-tight" }, "Public Profile"), /* @__PURE__ */ import_react15.default.createElement("p", { className: "text-xs text-neutral-500" }, "Manage your financial payment handle identifiers and global public cryptographic signature identity details.")), isReadOnly && /* @__PURE__ */ import_react15.default.createElement("span", { className: "p-2 w-9 h-9 bg-neutral-100 text-neutral-400 rounded-full shrink-0" }, /* @__PURE__ */ import_react15.default.createElement(import_react16.HugeiconsIcon, { icon: import_core_free_icons3.CircleLock02Icon, size: 18, className: "text-current" }))), bannerProps && /* @__PURE__ */ import_react15.default.createElement(Banner, { ...bannerProps }), /* @__PURE__ */ import_react15.default.createElement("div", { className: "w-full max-w-5xl" }, /* @__PURE__ */ import_react15.default.createElement("form", { className: "flex flex-col gap-8", onSubmit: handleSave, autoComplete: "off" }, /* @__PURE__ */ import_react15.default.createElement(
|
|
938
950
|
TextInput,
|
|
939
951
|
{
|
|
940
952
|
label: "Display Name",
|
|
@@ -987,7 +999,7 @@ var UniversalOrganizationPage = ({
|
|
|
987
999
|
className: "text-[11px] tracking-widest text-neutral-400 hover:text-black transition-colors outline-none"
|
|
988
1000
|
},
|
|
989
1001
|
"Cancel"
|
|
990
|
-
)))));
|
|
1002
|
+
))))));
|
|
991
1003
|
};
|
|
992
1004
|
|
|
993
1005
|
// src/components/UniversalProfileSettings.tsx
|
|
@@ -1094,7 +1106,7 @@ var UniversalProfileSettings = ({
|
|
|
1094
1106
|
},
|
|
1095
1107
|
/* @__PURE__ */ import_react17.default.createElement(import_react18.HugeiconsIcon, { icon: import_core_free_icons4.ArrowLeft01Icon, size: 16 }),
|
|
1096
1108
|
" Back"
|
|
1097
|
-
)), /* @__PURE__ */ import_react17.default.createElement("div", { className: "flex flex-col
|
|
1109
|
+
)), /* @__PURE__ */ import_react17.default.createElement("div", { className: "flex flex-col max-w-3xl w-full mx-auto rounded-2xl p-6 bg-white gap-8 animate-in fade-in duration-300" }, /* @__PURE__ */ import_react17.default.createElement(ManagedToaster, null), /* @__PURE__ */ import_react17.default.createElement("div", { className: "flex flex-col sm:flex-row sm:items-start justify-between gap-3 sm:gap-4" }, /* @__PURE__ */ import_react17.default.createElement("div", { className: "min-w-0" }, /* @__PURE__ */ import_react17.default.createElement("h1", { className: "text-black text-xl mb-1 truncate tracking-tight" }, "Personal Settings"), /* @__PURE__ */ import_react17.default.createElement("p", { className: "text-xs text-neutral-500 truncate" }, "Manage your personal account profile.")), isReadOnly && /* @__PURE__ */ import_react17.default.createElement("span", { className: "p-2 w-9 h-9 bg-neutral-100 text-neutral-400 rounded-full shrink-0" }, /* @__PURE__ */ import_react17.default.createElement(import_react18.HugeiconsIcon, { icon: import_core_free_icons4.CircleLock02Icon, size: 18, className: "text-current" }))), bannerProps && /* @__PURE__ */ import_react17.default.createElement(Banner, { ...bannerProps }), /* @__PURE__ */ import_react17.default.createElement("div", { className: "w-full max-w-5xl" }, /* @__PURE__ */ import_react17.default.createElement("form", { className: "flex flex-col gap-8", onSubmit: handleSave, autoComplete: "off" }, /* @__PURE__ */ import_react17.default.createElement("div", { className: "flex flex-col sm:flex-row gap-6" }, /* @__PURE__ */ import_react17.default.createElement("div", { className: "flex-1 min-w-0" }, /* @__PURE__ */ import_react17.default.createElement(
|
|
1098
1110
|
TextInput,
|
|
1099
1111
|
{
|
|
1100
1112
|
label: "First Name",
|
package/dist/index.mjs
CHANGED
|
@@ -779,6 +779,7 @@ var Banner = ({
|
|
|
779
779
|
// src/components/UniversalOrganizationPage.tsx
|
|
780
780
|
import { HugeiconsIcon as HugeiconsIcon5 } from "@hugeicons/react";
|
|
781
781
|
import {
|
|
782
|
+
ArrowLeft01Icon,
|
|
782
783
|
CircleLock02Icon
|
|
783
784
|
} from "@hugeicons/core-free-icons";
|
|
784
785
|
var InputSpinner2 = () => /* @__PURE__ */ React11.createElement("svg", { className: "animate-spin h-4 w-4 text-neutral-400", xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24" }, /* @__PURE__ */ React11.createElement("circle", { className: "opacity-25", cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "4" }), /* @__PURE__ */ React11.createElement("path", { className: "opacity-75", fill: "currentColor", d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z" }));
|
|
@@ -791,8 +792,12 @@ var UniversalOrganizationPage = ({
|
|
|
791
792
|
slugPrefixUrl = ".aeona.eth",
|
|
792
793
|
bannerProps,
|
|
793
794
|
onSaveConfiguration,
|
|
794
|
-
onCheckSlugAvailability
|
|
795
|
+
onCheckSlugAvailability,
|
|
796
|
+
onBack
|
|
795
797
|
}) => {
|
|
798
|
+
const onBackHandler = onBack ?? (() => {
|
|
799
|
+
if (typeof window !== "undefined") window.history.back();
|
|
800
|
+
});
|
|
796
801
|
const resolvedInitialUsername = initialUsername || initialSlug;
|
|
797
802
|
const [web3Name, setWeb3Name] = useState6(initialOrgName);
|
|
798
803
|
const [username, setUsername] = useState6(resolvedInitialUsername);
|
|
@@ -869,7 +874,15 @@ var UniversalOrganizationPage = ({
|
|
|
869
874
|
};
|
|
870
875
|
const hasChanges = web3Name !== initialOrgName || slug !== initialSlug || username !== resolvedInitialUsername;
|
|
871
876
|
const isSaveDisabled = isSubmitting || isReadOnly || isCheckingSlug || !hasChanges || web3Name.length < 3 || slug.length < 3 || username.length < 3 || slug !== initialSlug && slugAvailable === false;
|
|
872
|
-
return /* @__PURE__ */ React11.createElement("div",
|
|
877
|
+
return /* @__PURE__ */ React11.createElement("div", null, /* @__PURE__ */ React11.createElement("div", { className: "mb-3 flex max-w-3xl w-full mx-auto items-center px-1" }, /* @__PURE__ */ React11.createElement(
|
|
878
|
+
"button",
|
|
879
|
+
{
|
|
880
|
+
onClick: onBackHandler,
|
|
881
|
+
className: "flex items-center gap-2 text-neutral-500 hover:text-black transition-colors text-[13px] font-medium outline-none"
|
|
882
|
+
},
|
|
883
|
+
/* @__PURE__ */ React11.createElement(HugeiconsIcon5, { icon: ArrowLeft01Icon, size: 16 }),
|
|
884
|
+
" Back"
|
|
885
|
+
)), /* @__PURE__ */ React11.createElement("div", { className: "flex flex-col gap-8 animate-in max-w-3xl w-full mx-auto rounded-2xl p-6 bg-white fade-in duration-300" }, /* @__PURE__ */ React11.createElement(ManagedToaster, null), /* @__PURE__ */ React11.createElement("div", { className: "flex items-start justify-between gap-4" }, /* @__PURE__ */ React11.createElement("div", null, /* @__PURE__ */ React11.createElement("h1", { className: "text-black text-xl mb-1 tracking-tight" }, "Public Profile"), /* @__PURE__ */ React11.createElement("p", { className: "text-xs text-neutral-500" }, "Manage your financial payment handle identifiers and global public cryptographic signature identity details.")), isReadOnly && /* @__PURE__ */ React11.createElement("span", { className: "p-2 w-9 h-9 bg-neutral-100 text-neutral-400 rounded-full shrink-0" }, /* @__PURE__ */ React11.createElement(HugeiconsIcon5, { icon: CircleLock02Icon, size: 18, className: "text-current" }))), bannerProps && /* @__PURE__ */ React11.createElement(Banner, { ...bannerProps }), /* @__PURE__ */ React11.createElement("div", { className: "w-full max-w-5xl" }, /* @__PURE__ */ React11.createElement("form", { className: "flex flex-col gap-8", onSubmit: handleSave, autoComplete: "off" }, /* @__PURE__ */ React11.createElement(
|
|
873
886
|
TextInput,
|
|
874
887
|
{
|
|
875
888
|
label: "Display Name",
|
|
@@ -922,7 +935,7 @@ var UniversalOrganizationPage = ({
|
|
|
922
935
|
className: "text-[11px] tracking-widest text-neutral-400 hover:text-black transition-colors outline-none"
|
|
923
936
|
},
|
|
924
937
|
"Cancel"
|
|
925
|
-
)))));
|
|
938
|
+
))))));
|
|
926
939
|
};
|
|
927
940
|
|
|
928
941
|
// src/components/UniversalProfileSettings.tsx
|
|
@@ -934,7 +947,7 @@ import {
|
|
|
934
947
|
CancelCircleIcon,
|
|
935
948
|
Loading03Icon as Loading03Icon2,
|
|
936
949
|
LockKeyIcon,
|
|
937
|
-
ArrowLeft01Icon
|
|
950
|
+
ArrowLeft01Icon as ArrowLeft01Icon2
|
|
938
951
|
} from "@hugeicons/core-free-icons";
|
|
939
952
|
var UniversalProfileSettings = ({
|
|
940
953
|
initialFirstName,
|
|
@@ -1033,9 +1046,9 @@ var UniversalProfileSettings = ({
|
|
|
1033
1046
|
onClick: onBackHandler,
|
|
1034
1047
|
className: "flex items-center gap-2 text-neutral-500 hover:text-black transition-colors text-[13px] font-medium outline-none"
|
|
1035
1048
|
},
|
|
1036
|
-
/* @__PURE__ */ React12.createElement(HugeiconsIcon6, { icon:
|
|
1049
|
+
/* @__PURE__ */ React12.createElement(HugeiconsIcon6, { icon: ArrowLeft01Icon2, size: 16 }),
|
|
1037
1050
|
" Back"
|
|
1038
|
-
)), /* @__PURE__ */ React12.createElement("div", { className: "flex flex-col
|
|
1051
|
+
)), /* @__PURE__ */ React12.createElement("div", { className: "flex flex-col max-w-3xl w-full mx-auto rounded-2xl p-6 bg-white gap-8 animate-in fade-in duration-300" }, /* @__PURE__ */ React12.createElement(ManagedToaster, null), /* @__PURE__ */ React12.createElement("div", { className: "flex flex-col sm:flex-row sm:items-start justify-between gap-3 sm:gap-4" }, /* @__PURE__ */ React12.createElement("div", { className: "min-w-0" }, /* @__PURE__ */ React12.createElement("h1", { className: "text-black text-xl mb-1 truncate tracking-tight" }, "Personal Settings"), /* @__PURE__ */ React12.createElement("p", { className: "text-xs text-neutral-500 truncate" }, "Manage your personal account profile.")), isReadOnly && /* @__PURE__ */ React12.createElement("span", { className: "p-2 w-9 h-9 bg-neutral-100 text-neutral-400 rounded-full shrink-0" }, /* @__PURE__ */ React12.createElement(HugeiconsIcon6, { icon: CircleLock02Icon2, size: 18, className: "text-current" }))), bannerProps && /* @__PURE__ */ React12.createElement(Banner, { ...bannerProps }), /* @__PURE__ */ React12.createElement("div", { className: "w-full max-w-5xl" }, /* @__PURE__ */ React12.createElement("form", { className: "flex flex-col gap-8", onSubmit: handleSave, autoComplete: "off" }, /* @__PURE__ */ React12.createElement("div", { className: "flex flex-col sm:flex-row gap-6" }, /* @__PURE__ */ React12.createElement("div", { className: "flex-1 min-w-0" }, /* @__PURE__ */ React12.createElement(
|
|
1039
1052
|
TextInput,
|
|
1040
1053
|
{
|
|
1041
1054
|
label: "First Name",
|
|
@@ -1229,7 +1242,7 @@ import React15, { useState as useState8, useEffect as useEffect6, useRef as useR
|
|
|
1229
1242
|
import { HugeiconsIcon as HugeiconsIcon9 } from "@hugeicons/react";
|
|
1230
1243
|
import toast4 from "react-hot-toast";
|
|
1231
1244
|
import {
|
|
1232
|
-
ArrowLeft01Icon as
|
|
1245
|
+
ArrowLeft01Icon as ArrowLeft01Icon3,
|
|
1233
1246
|
ArrowRight01Icon,
|
|
1234
1247
|
Loading03Icon as Loading03Icon4,
|
|
1235
1248
|
ArrowDownRight01Icon,
|
|
@@ -1376,7 +1389,7 @@ var UniversalTransactionPage = ({
|
|
|
1376
1389
|
disabled: currentPage <= 1 || isListLoading,
|
|
1377
1390
|
className: "p-2 bg-white border border-neutral-200 rounded-full text-black hover:bg-neutral-50 disabled:opacity-30 disabled:cursor-not-allowed transition-all outline-none"
|
|
1378
1391
|
},
|
|
1379
|
-
/* @__PURE__ */ React15.createElement(HugeiconsIcon9, { icon:
|
|
1392
|
+
/* @__PURE__ */ React15.createElement(HugeiconsIcon9, { icon: ArrowLeft01Icon3, size: 14 })
|
|
1380
1393
|
), /* @__PURE__ */ React15.createElement(
|
|
1381
1394
|
"button",
|
|
1382
1395
|
{
|
|
@@ -2622,7 +2635,7 @@ import {
|
|
|
2622
2635
|
CancelCircleIcon as CancelCircleIcon6,
|
|
2623
2636
|
Loading03Icon as Loading03Icon10,
|
|
2624
2637
|
Copy01Icon as Copy01Icon3,
|
|
2625
|
-
ArrowLeft01Icon as
|
|
2638
|
+
ArrowLeft01Icon as ArrowLeft01Icon4,
|
|
2626
2639
|
Shield02Icon,
|
|
2627
2640
|
Key01Icon,
|
|
2628
2641
|
ArrowRight01Icon as ArrowRight01Icon4
|
|
@@ -2766,7 +2779,7 @@ var UniversalSecurityPage = ({
|
|
|
2766
2779
|
onClick: onBack,
|
|
2767
2780
|
className: "flex items-center gap-2 text-neutral-500 hover:text-black transition-colors text-[13px] font-medium outline-none"
|
|
2768
2781
|
},
|
|
2769
|
-
/* @__PURE__ */ React27.createElement(HugeiconsIcon19, { icon:
|
|
2782
|
+
/* @__PURE__ */ React27.createElement(HugeiconsIcon19, { icon: ArrowLeft01Icon4, size: 16 }),
|
|
2770
2783
|
" Back"
|
|
2771
2784
|
)), /* @__PURE__ */ React27.createElement("div", { className: "w-full flex flex-col gap-4" }, /* @__PURE__ */ React27.createElement("div", { className: "w-full bg-white rounded-2xl overflow-hidden" }, /* @__PURE__ */ React27.createElement(
|
|
2772
2785
|
MenuRow3,
|
|
@@ -2897,7 +2910,7 @@ var MenuRow3 = ({
|
|
|
2897
2910
|
import React28, { useRef as useRef7, useState as useState19, useEffect as useEffect12 } from "react";
|
|
2898
2911
|
import Image4 from "next/image";
|
|
2899
2912
|
import { HugeiconsIcon as HugeiconsIcon20 } from "@hugeicons/react";
|
|
2900
|
-
import { ArrowLeft01Icon as
|
|
2913
|
+
import { ArrowLeft01Icon as ArrowLeft01Icon5, ArrowRight01Icon as ArrowRight01Icon5, Loading03Icon as Loading03Icon11 } from "@hugeicons/core-free-icons";
|
|
2901
2914
|
var FeatureCard = ({ feature, bgImage }) => {
|
|
2902
2915
|
const [isBgLoading, setIsBgLoading] = useState19(true);
|
|
2903
2916
|
const [isFgLoading, setIsFgLoading] = useState19(!!feature.image);
|
|
@@ -2971,7 +2984,7 @@ var FeatureScroll = ({ tagline, headline, features }) => {
|
|
|
2971
2984
|
disabled: !canScrollLeft,
|
|
2972
2985
|
className: "p-4 border border-neutral-200 rounded-full text-neutral-500 hover:text-black hover:border-black disabled:opacity-30 disabled:hover:border-neutral-200 disabled:hover:text-neutral-500 disabled:cursor-not-allowed transition-all outline-none"
|
|
2973
2986
|
},
|
|
2974
|
-
/* @__PURE__ */ React28.createElement(HugeiconsIcon20, { icon:
|
|
2987
|
+
/* @__PURE__ */ React28.createElement(HugeiconsIcon20, { icon: ArrowLeft01Icon5, size: 20 })
|
|
2975
2988
|
), /* @__PURE__ */ React28.createElement(
|
|
2976
2989
|
"button",
|
|
2977
2990
|
{
|
|
@@ -2995,7 +3008,7 @@ var FeatureScroll = ({ tagline, headline, features }) => {
|
|
|
2995
3008
|
disabled: !canScrollLeft,
|
|
2996
3009
|
className: "p-4 border border-neutral-200 rounded-full text-neutral-500 hover:text-black hover:border-black disabled:opacity-30 transition-all outline-none"
|
|
2997
3010
|
},
|
|
2998
|
-
/* @__PURE__ */ React28.createElement(HugeiconsIcon20, { icon:
|
|
3011
|
+
/* @__PURE__ */ React28.createElement(HugeiconsIcon20, { icon: ArrowLeft01Icon5, size: 20 })
|
|
2999
3012
|
), /* @__PURE__ */ React28.createElement(
|
|
3000
3013
|
"button",
|
|
3001
3014
|
{
|