@prohetamine/redstone 0.0.1
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/PhArrowCircleDown-BR-zH4LC.js +14 -0
- package/dist/PhArrowCircleDown-Sb38khBy.mjs +73 -0
- package/dist/PhArrowClockwise-BE5j9P0Z.mjs +73 -0
- package/dist/PhArrowClockwise-BRaehQGe.js +14 -0
- package/dist/PhArrowDown-B_WmmmY9.js +14 -0
- package/dist/PhArrowDown-CFEyR2dR.mjs +73 -0
- package/dist/PhArrowLeft-CYfU7NZj.mjs +73 -0
- package/dist/PhArrowLeft-CkEd70hm.js +14 -0
- package/dist/PhArrowRight-C07Qkx86.js +14 -0
- package/dist/PhArrowRight-EermNu0V.mjs +73 -0
- package/dist/PhArrowSquareOut-BjTBfzOP.js +14 -0
- package/dist/PhArrowSquareOut-DZwTtw54.mjs +73 -0
- package/dist/PhArrowUp-DB4CCSss.js +14 -0
- package/dist/PhArrowUp-xTpLFQkg.mjs +73 -0
- package/dist/PhArrowUpRight-CQbvn6NO.mjs +73 -0
- package/dist/PhArrowUpRight-GpCIMsAh.js +14 -0
- package/dist/PhArrowsClockwise-BgcIUg-Z.js +14 -0
- package/dist/PhArrowsClockwise-DnUYZTVx.mjs +73 -0
- package/dist/PhArrowsDownUp-C8KXUqtu.js +14 -0
- package/dist/PhArrowsDownUp-DgoprEe2.mjs +73 -0
- package/dist/PhArrowsLeftRight-CahChzCj.js +14 -0
- package/dist/PhArrowsLeftRight-FD4AZiLh.mjs +73 -0
- package/dist/PhBank-DIqIL4x_.js +14 -0
- package/dist/PhBank-DbQOQ9zJ.mjs +73 -0
- package/dist/PhBrowser-BCBXK2IM.mjs +73 -0
- package/dist/PhBrowser-laCKtn7T.js +14 -0
- package/dist/PhCaretDown-CnjP-QjZ.mjs +73 -0
- package/dist/PhCaretDown-DDe42xDU.js +14 -0
- package/dist/PhCaretLeft-Cskc5OY9.js +14 -0
- package/dist/PhCaretLeft-DkuXxjf_.mjs +73 -0
- package/dist/PhCaretRight-CBWpghxt.mjs +73 -0
- package/dist/PhCaretRight-DNgI5w_B.js +14 -0
- package/dist/PhCaretUp-CQ-OztBV.mjs +73 -0
- package/dist/PhCaretUp-CUZ4g_Me.js +14 -0
- package/dist/PhCheck-BVV_Dwfo.js +14 -0
- package/dist/PhCheck-t515emYS.mjs +73 -0
- package/dist/PhCircleHalf-BuQTmrKW.mjs +73 -0
- package/dist/PhCircleHalf-DDC7rige.js +14 -0
- package/dist/PhClock-BqynEKWl.js +14 -0
- package/dist/PhClock-D6XkTmM_.mjs +73 -0
- package/dist/PhCompass-2QeeX5Ad.mjs +73 -0
- package/dist/PhCompass-BsuJwXAE.js +14 -0
- package/dist/PhCopy-CO34-_xD.mjs +73 -0
- package/dist/PhCopy-MVqtRS6X.js +14 -0
- package/dist/PhCreditCard-Dq4kdjCw.js +14 -0
- package/dist/PhCreditCard-bfnqYflD.mjs +73 -0
- package/dist/PhCurrencyDollar-6k8UWxal.js +14 -0
- package/dist/PhCurrencyDollar-BekVYPtC.mjs +73 -0
- package/dist/PhDesktop-BkNzf3rT.mjs +73 -0
- package/dist/PhDesktop-CfsXQ0vC.js +14 -0
- package/dist/PhDeviceMobile-BT3Mg_b0.mjs +73 -0
- package/dist/PhDeviceMobile-BnrrDrwf.js +14 -0
- package/dist/PhDotsThree-6LRvhAcL.js +14 -0
- package/dist/PhDotsThree-kpf2OKxJ.mjs +73 -0
- package/dist/PhEnvelope-CHsfC2e0.js +14 -0
- package/dist/PhEnvelope-UFKpKtwf.mjs +73 -0
- package/dist/PhFunnelSimple-CdAqSIhK.mjs +73 -0
- package/dist/PhFunnelSimple-JAk7X9Wo.js +14 -0
- package/dist/PhGlobe-B3RYXl8h.mjs +73 -0
- package/dist/PhGlobe-Tfs4MfpG.js +14 -0
- package/dist/PhIdentificationCard-Dqmd6eY1.js +14 -0
- package/dist/PhIdentificationCard-rSq59Czm.mjs +73 -0
- package/dist/PhImage-aEryzfCi.js +14 -0
- package/dist/PhImage-ynsEnFd_.mjs +73 -0
- package/dist/PhInfo-B7lsWl6m.mjs +73 -0
- package/dist/PhInfo-D6oUrWpA.js +14 -0
- package/dist/PhLightbulb-FQDaMMqu.mjs +73 -0
- package/dist/PhLightbulb-qbEduhPa.js +14 -0
- package/dist/PhMagnifyingGlass-COdRH2k5.js +14 -0
- package/dist/PhMagnifyingGlass-_NXk13-0.mjs +73 -0
- package/dist/PhPaperPlaneRight-BYi7SorW.mjs +73 -0
- package/dist/PhPaperPlaneRight-DrpVAQOZ.js +14 -0
- package/dist/PhPlus-25KQTPHG.mjs +73 -0
- package/dist/PhPlus-BhUXef08.js +14 -0
- package/dist/PhPower-BKl7gzsB.mjs +73 -0
- package/dist/PhPower-BNJf1AGQ.js +14 -0
- package/dist/PhPuzzlePiece-BkZeF8CX.js +14 -0
- package/dist/PhPuzzlePiece-BqUI4GRs.mjs +73 -0
- package/dist/PhQrCode-C-tqZKPP.mjs +73 -0
- package/dist/PhQrCode-C0v0iXQN.js +14 -0
- package/dist/PhQuestion-BBAiRWgt.js +14 -0
- package/dist/PhQuestion-CtYvffyD.mjs +73 -0
- package/dist/PhQuestionMark-BNbtL2yx.mjs +73 -0
- package/dist/PhQuestionMark-BvGUBZ1h.js +14 -0
- package/dist/PhSealCheck-B0TEqWpq.mjs +73 -0
- package/dist/PhSealCheck-BwNkuF7G.js +14 -0
- package/dist/PhSignOut-C1rMSNaS.js +14 -0
- package/dist/PhSignOut-HX2_BVsD.mjs +73 -0
- package/dist/PhSpinner-CoDYLYOX.mjs +73 -0
- package/dist/PhSpinner-nmsGWDQl.js +14 -0
- package/dist/PhTrash-CALlKx3e.js +14 -0
- package/dist/PhTrash-DeQHS8ZP.mjs +73 -0
- package/dist/PhUser-CA0e5OPI.js +14 -0
- package/dist/PhUser-Cy5EY3vX.mjs +73 -0
- package/dist/PhVault-DdXjVOO9.mjs +73 -0
- package/dist/PhVault-DqxV75cz.js +14 -0
- package/dist/PhWallet-CeQrfGYc.mjs +73 -0
- package/dist/PhWallet-CyCuEs2U.js +14 -0
- package/dist/PhWarning-BKaHv_wT.mjs +73 -0
- package/dist/PhWarning-C7oj86bY.js +14 -0
- package/dist/PhWarningCircle-8MWw-QgE.mjs +73 -0
- package/dist/PhWarningCircle-CrNPXGj4.js +14 -0
- package/dist/PhX-9lsrXjyl.js +14 -0
- package/dist/PhX-DgXr_Fb0.mjs +73 -0
- package/dist/ReownAuthentication-Bfv31LzI.mjs +274 -0
- package/dist/ReownAuthentication-d8aYgGOq.js +5 -0
- package/dist/SwapController-4lzoYsYr.js +1 -0
- package/dist/SwapController-DjzUWRyQ.mjs +462 -0
- package/dist/ccip-CvwbEhki.js +1 -0
- package/dist/ccip-TuO68NeE.mjs +150 -0
- package/dist/data-capture-BwdjH2vc.mjs +489 -0
- package/dist/data-capture-xVUNZJ2T.js +242 -0
- package/dist/email-BCZObJCY.js +90 -0
- package/dist/email-m-wo60fN.mjs +338 -0
- package/dist/embedded-wallet-CGSri-4g.js +410 -0
- package/dist/embedded-wallet-DdZmv5qP.mjs +808 -0
- package/dist/features-BJ8kNaE8.js +1 -0
- package/dist/features-CJ34oImB.mjs +6 -0
- package/dist/index-4lfXeo30.js +132 -0
- package/dist/index-B6Mg114Z.mjs +69182 -0
- package/dist/index-BX7gAgT3.mjs +35 -0
- package/dist/index-BYQqNbCe.js +1 -0
- package/dist/index-BmdHwtJo.js +1 -0
- package/dist/index-BvUx3ULC.js +78 -0
- package/dist/index-CD-QGO70.mjs +196 -0
- package/dist/index-CJtXfdoM.mjs +29621 -0
- package/dist/index-CMzdgE-y.mjs +215 -0
- package/dist/index-CjZQCcwG.js +7203 -0
- package/dist/index-D7VuOaCI.js +19 -0
- package/dist/index-DV7SQwgn.mjs +2688 -0
- package/dist/index-DVf4BnNh.mjs +352 -0
- package/dist/index-DhN9vL4k.js +138 -0
- package/dist/index-DvllakY0.mjs +274 -0
- package/dist/index-Ho06VKh2.mjs +151 -0
- package/dist/index-a8mS2Eh1.js +1062 -0
- package/dist/index-aamBi9Tu.js +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.es.js +14 -0
- package/dist/onramp-DLlhSPQg.js +422 -0
- package/dist/onramp-k-EAEepC.mjs +842 -0
- package/dist/parseSignature-D1tZHglo.js +16 -0
- package/dist/parseSignature-DM0lwcDr.mjs +8883 -0
- package/dist/pay-with-exchange---G2M1Ag.js +280 -0
- package/dist/pay-with-exchange-CFIcUXUe.mjs +512 -0
- package/dist/property-Bd8U3_QP.mjs +618 -0
- package/dist/property-DissjCbZ.js +27 -0
- package/dist/receive-B9LCljO6.mjs +228 -0
- package/dist/receive-E8H6GDOX.js +131 -0
- package/dist/send-B-AooLph.js +554 -0
- package/dist/send-DZd_xhsd.mjs +1155 -0
- package/dist/socials-ChWFLEFe.mjs +611 -0
- package/dist/socials-YSUYSh8o.js +250 -0
- package/dist/swaps-DpR9W9Ld.js +1050 -0
- package/dist/swaps-Du7-Ui_V.mjs +1752 -0
- package/dist/transactions-DhsK5-QJ.mjs +35 -0
- package/dist/transactions-VPsz2OLe.js +16 -0
- package/dist/w3m-modal-DhomfjKU.js +891 -0
- package/dist/w3m-modal-KuYD-zqQ.mjs +1759 -0
- package/package.json +51 -0
- package/readme.md +1 -0
|
@@ -0,0 +1,410 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CjZQCcwG.js"),x=e.i$1`
|
|
2
|
+
div {
|
|
3
|
+
width: 100%;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
[data-ready='false'] {
|
|
7
|
+
transform: scale(1.05);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@media (max-width: 430px) {
|
|
11
|
+
[data-ready='false'] {
|
|
12
|
+
transform: translateY(-50px);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
`;var y=function(t,i,o,r){var s=arguments.length,n=s<3?i:r===null?r=Object.getOwnPropertyDescriptor(i,o):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,i,o,r);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(s<3?a(n):s>3?a(i,o,n):a(i,o))||n);return s>3&&n&&Object.defineProperty(i,o,n),n};const w=600,b=360,v=64;exports.W3mApproveTransactionView=class extends e.i{constructor(){super(),this.bodyObserver=void 0,this.unsubscribe=[],this.iframe=document.getElementById("w3m-iframe"),this.ready=!1,this.unsubscribe.push(e.ModalController.subscribeKey("open",i=>{i||this.onHideIframe()}),e.ModalController.subscribeKey("shake",i=>{i?this.iframe.style.animation="w3m-shake 500ms var(--apkt-easings-ease-out-power-2)":this.iframe.style.animation="none"}))}disconnectedCallback(){var i;this.onHideIframe(),this.unsubscribe.forEach(o=>o()),(i=this.bodyObserver)==null||i.unobserve(window.document.body)}async firstUpdated(){var o;await this.syncTheme(),this.iframe.style.display="block";const i=(o=this==null?void 0:this.renderRoot)==null?void 0:o.querySelector("div");this.bodyObserver=new ResizeObserver(r=>{var a,c;const s=(a=r==null?void 0:r[0])==null?void 0:a.contentBoxSize,n=(c=s==null?void 0:s[0])==null?void 0:c.inlineSize;this.iframe.style.height=`${w}px`,i.style.height=`${w}px`,e.OptionsController.state.enableEmbedded?this.updateFrameSizeForEmbeddedMode():n&&n<=430?(this.iframe.style.width="100%",this.iframe.style.left="0px",this.iframe.style.bottom="0px",this.iframe.style.top="unset",this.onShowIframe()):(this.iframe.style.width=`${b}px`,this.iframe.style.left=`calc(50% - ${b/2}px)`,this.iframe.style.top=`calc(50% - ${w/2}px + ${v/2}px)`,this.iframe.style.bottom="unset",this.onShowIframe())}),this.bodyObserver.observe(window.document.body)}render(){return e.b`<div data-ready=${this.ready} id="w3m-frame-container"></div>`}onShowIframe(){const i=window.innerWidth<=430;this.ready=!0,this.iframe.style.animation=i?"w3m-iframe-zoom-in-mobile 200ms var(--apkt-easings-ease-out-power-2)":"w3m-iframe-zoom-in 200ms var(--apkt-easings-ease-out-power-2)"}onHideIframe(){this.iframe.style.display="none",this.iframe.style.animation="w3m-iframe-fade-out 200ms var(--apkt-easings-ease-out-power-2)"}async syncTheme(){const i=e.ConnectorController.getAuthConnector();if(i){const o=e.ThemeController.getSnapshot().themeMode,r=e.ThemeController.getSnapshot().themeVariables;await i.provider.syncTheme({themeVariables:r,w3mThemeVariables:e.getW3mThemeVariables(r,o)})}}async updateFrameSizeForEmbeddedMode(){var r;const i=(r=this==null?void 0:this.renderRoot)==null?void 0:r.querySelector("div");await new Promise(s=>{setTimeout(s,300)});const o=this.getBoundingClientRect();i.style.width="100%",this.iframe.style.left=`${o.left}px`,this.iframe.style.top=`${o.top}px`,this.iframe.style.width=`${o.width}px`,this.iframe.style.height=`${o.height}px`,this.onShowIframe()}};exports.W3mApproveTransactionView.styles=x;y([e.r()],exports.W3mApproveTransactionView.prototype,"ready",void 0);exports.W3mApproveTransactionView=y([e.customElement("w3m-approve-transaction-view")],exports.W3mApproveTransactionView);const $=e.css`
|
|
16
|
+
a {
|
|
17
|
+
border: none;
|
|
18
|
+
border-radius: ${({borderRadius:t})=>t[20]};
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: row;
|
|
21
|
+
align-items: center;
|
|
22
|
+
padding: ${({spacing:t})=>t[1]};
|
|
23
|
+
transition:
|
|
24
|
+
background-color ${({durations:t})=>t.lg}
|
|
25
|
+
${({easings:t})=>t["ease-out-power-2"]},
|
|
26
|
+
box-shadow ${({durations:t})=>t.lg}
|
|
27
|
+
${({easings:t})=>t["ease-out-power-2"]},
|
|
28
|
+
border ${({durations:t})=>t.lg} ${({easings:t})=>t["ease-out-power-2"]};
|
|
29
|
+
will-change: background-color, box-shadow, border;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* -- Variants --------------------------------------------------------------- */
|
|
33
|
+
a[data-type='success'] {
|
|
34
|
+
background-color: ${({tokens:t})=>t.core.backgroundSuccess};
|
|
35
|
+
color: ${({tokens:t})=>t.core.textSuccess};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
a[data-type='error'] {
|
|
39
|
+
background-color: ${({tokens:t})=>t.core.backgroundError};
|
|
40
|
+
color: ${({tokens:t})=>t.core.textError};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
a[data-type='warning'] {
|
|
44
|
+
background-color: ${({tokens:t})=>t.core.backgroundWarning};
|
|
45
|
+
color: ${({tokens:t})=>t.core.textWarning};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/* -- Sizes --------------------------------------------------------------- */
|
|
49
|
+
a[data-size='sm'] {
|
|
50
|
+
height: 24px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
a[data-size='md'] {
|
|
54
|
+
height: 28px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
a[data-size='lg'] {
|
|
58
|
+
height: 32px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
a[data-size='sm'] > wui-image,
|
|
62
|
+
a[data-size='sm'] > wui-icon {
|
|
63
|
+
width: 16px;
|
|
64
|
+
height: 16px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
a[data-size='md'] > wui-image,
|
|
68
|
+
a[data-size='md'] > wui-icon {
|
|
69
|
+
width: 20px;
|
|
70
|
+
height: 20px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
a[data-size='lg'] > wui-image,
|
|
74
|
+
a[data-size='lg'] > wui-icon {
|
|
75
|
+
width: 24px;
|
|
76
|
+
height: 24px;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
wui-text {
|
|
80
|
+
padding-left: ${({spacing:t})=>t[1]};
|
|
81
|
+
padding-right: ${({spacing:t})=>t[1]};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
wui-image {
|
|
85
|
+
border-radius: ${({borderRadius:t})=>t[3]};
|
|
86
|
+
overflow: hidden;
|
|
87
|
+
user-drag: none;
|
|
88
|
+
user-select: none;
|
|
89
|
+
-moz-user-select: none;
|
|
90
|
+
-webkit-user-drag: none;
|
|
91
|
+
-webkit-user-select: none;
|
|
92
|
+
-ms-user-select: none;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/* -- States --------------------------------------------------------------- */
|
|
96
|
+
@media (hover: hover) and (pointer: fine) {
|
|
97
|
+
a[data-type='success']:not(:disabled):hover {
|
|
98
|
+
background-color: ${({tokens:t})=>t.theme.foregroundPrimary};
|
|
99
|
+
box-shadow: 0px 0px 0px 1px ${({tokens:t})=>t.core.borderSuccess};
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
a[data-type='error']:not(:disabled):hover {
|
|
103
|
+
background-color: ${({tokens:t})=>t.theme.foregroundPrimary};
|
|
104
|
+
box-shadow: 0px 0px 0px 1px ${({tokens:t})=>t.core.borderError};
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
a[data-type='warning']:not(:disabled):hover {
|
|
108
|
+
background-color: ${({tokens:t})=>t.theme.foregroundPrimary};
|
|
109
|
+
box-shadow: 0px 0px 0px 1px ${({tokens:t})=>t.core.borderWarning};
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
a[data-type='success']:not(:disabled):focus-visible {
|
|
114
|
+
box-shadow:
|
|
115
|
+
0px 0px 0px 1px ${({tokens:t})=>t.core.backgroundAccentPrimary},
|
|
116
|
+
0px 0px 0px 4px ${({tokens:t})=>t.core.foregroundAccent020};
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
a[data-type='error']:not(:disabled):focus-visible {
|
|
120
|
+
box-shadow:
|
|
121
|
+
0px 0px 0px 1px ${({tokens:t})=>t.core.backgroundAccentPrimary},
|
|
122
|
+
0px 0px 0px 4px ${({tokens:t})=>t.core.foregroundAccent020};
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
a[data-type='warning']:not(:disabled):focus-visible {
|
|
126
|
+
box-shadow:
|
|
127
|
+
0px 0px 0px 1px ${({tokens:t})=>t.core.backgroundAccentPrimary},
|
|
128
|
+
0px 0px 0px 4px ${({tokens:t})=>t.core.foregroundAccent020};
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
a:disabled {
|
|
132
|
+
opacity: 0.5;
|
|
133
|
+
}
|
|
134
|
+
`;var m=function(t,i,o,r){var s=arguments.length,n=s<3?i:r===null?r=Object.getOwnPropertyDescriptor(i,o):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,i,o,r);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(s<3?a(n):s>3?a(i,o,n):a(i,o))||n);return s>3&&n&&Object.defineProperty(i,o,n),n};const C={sm:"md-regular",md:"lg-regular",lg:"lg-regular"},S={success:"sealCheck",error:"warning",warning:"exclamationCircle"};let l=class extends e.i{constructor(){super(...arguments),this.type="success",this.size="md",this.imageSrc=void 0,this.disabled=!1,this.href="",this.text=void 0}render(){return e.b`
|
|
135
|
+
<a
|
|
136
|
+
rel="noreferrer"
|
|
137
|
+
target="_blank"
|
|
138
|
+
href=${this.href}
|
|
139
|
+
class=${this.disabled?"disabled":""}
|
|
140
|
+
data-type=${this.type}
|
|
141
|
+
data-size=${this.size}
|
|
142
|
+
>
|
|
143
|
+
${this.imageTemplate()}
|
|
144
|
+
<wui-text variant=${C[this.size]} color="inherit">${this.text}</wui-text>
|
|
145
|
+
</a>
|
|
146
|
+
`}imageTemplate(){return this.imageSrc?e.b`<wui-image src=${this.imageSrc} size="inherit"></wui-image>`:e.b`<wui-icon
|
|
147
|
+
name=${S[this.type]}
|
|
148
|
+
weight="fill"
|
|
149
|
+
color="inherit"
|
|
150
|
+
size="inherit"
|
|
151
|
+
class="image-icon"
|
|
152
|
+
></wui-icon>`}};l.styles=[e.resetStyles,e.elementStyles,$];m([e.n()],l.prototype,"type",void 0);m([e.n()],l.prototype,"size",void 0);m([e.n()],l.prototype,"imageSrc",void 0);m([e.n({type:Boolean})],l.prototype,"disabled",void 0);m([e.n()],l.prototype,"href",void 0);m([e.n()],l.prototype,"text",void 0);l=m([e.customElement("wui-semantic-chip")],l);var A=function(t,i,o,r){var s=arguments.length,n=s<3?i:r===null?r=Object.getOwnPropertyDescriptor(i,o):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,i,o,r);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(s<3?a(n):s>3?a(i,o,n):a(i,o))||n);return s>3&&n&&Object.defineProperty(i,o,n),n};exports.W3mUpgradeWalletView=class extends e.i{render(){return e.b`
|
|
153
|
+
<wui-flex flexDirection="column" alignItems="center" gap="5" padding="5">
|
|
154
|
+
<wui-text variant="md-regular" color="primary">Follow the instructions on</wui-text>
|
|
155
|
+
<wui-semantic-chip
|
|
156
|
+
icon="externalLink"
|
|
157
|
+
variant="fill"
|
|
158
|
+
text=${e.ConstantsUtil$1.SECURE_SITE_DASHBOARD}
|
|
159
|
+
href=${e.ConstantsUtil$1.SECURE_SITE_DASHBOARD}
|
|
160
|
+
imageSrc=${e.ConstantsUtil$1.SECURE_SITE_FAVICON}
|
|
161
|
+
data-testid="w3m-secure-website-button"
|
|
162
|
+
>
|
|
163
|
+
</wui-semantic-chip>
|
|
164
|
+
<wui-text variant="sm-regular" color="secondary">
|
|
165
|
+
You will have to reconnect for security reasons
|
|
166
|
+
</wui-text>
|
|
167
|
+
</wui-flex>
|
|
168
|
+
`}};exports.W3mUpgradeWalletView=A([e.customElement("w3m-upgrade-wallet-view")],exports.W3mUpgradeWalletView);var g=function(t,i,o,r){var s=arguments.length,n=s<3?i:r===null?r=Object.getOwnPropertyDescriptor(i,o):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,i,o,r);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(s<3?a(n):s>3?a(i,o,n):a(i,o))||n);return s>3&&n&&Object.defineProperty(i,o,n),n};exports.W3mSmartAccountSettingsView=class extends e.i{constructor(){super(...arguments),this.loading=!1,this.switched=!1,this.text="",this.network=e.ChainController.state.activeCaipNetwork}render(){return e.b`
|
|
169
|
+
<wui-flex flexDirection="column" gap="2" .padding=${["6","4","3","4"]}>
|
|
170
|
+
${this.togglePreferredAccountTypeTemplate()} ${this.toggleSmartAccountVersionTemplate()}
|
|
171
|
+
</wui-flex>
|
|
172
|
+
`}toggleSmartAccountVersionTemplate(){return e.b`
|
|
173
|
+
<w3m-tooltip-trigger text="Changing the smart account version will reload the page">
|
|
174
|
+
<wui-list-item
|
|
175
|
+
icon=${this.isV6()?"arrowTop":"arrowBottom"}
|
|
176
|
+
?rounded=${!0}
|
|
177
|
+
?chevron=${!0}
|
|
178
|
+
data-testid="account-toggle-smart-account-version"
|
|
179
|
+
@click=${this.toggleSmartAccountVersion.bind(this)}
|
|
180
|
+
>
|
|
181
|
+
<wui-text variant="lg-regular" color="primary"
|
|
182
|
+
>Force Smart Account Version ${this.isV6()?"7":"6"}</wui-text
|
|
183
|
+
>
|
|
184
|
+
</wui-list-item>
|
|
185
|
+
</w3m-tooltip-trigger>
|
|
186
|
+
`}isV6(){return(e.W3mFrameStorage.get("dapp_smart_account_version")||"v6")==="v6"}toggleSmartAccountVersion(){var i;e.W3mFrameStorage.set("dapp_smart_account_version",this.isV6()?"v7":"v6"),typeof window<"u"&&((i=window==null?void 0:window.location)==null||i.reload())}togglePreferredAccountTypeTemplate(){var n;const i=(n=this.network)==null?void 0:n.chainNamespace,o=e.ChainController.checkIfSmartAccountEnabled(),r=e.ConnectorController.getConnectorId(i);return!e.ConnectorController.getAuthConnector()||r!==e.ConstantsUtil.CONNECTOR_ID.AUTH||!o?null:(this.switched||(this.text=e.getPreferredAccountType(i)===e.W3mFrameRpcConstants.ACCOUNT_TYPES.SMART_ACCOUNT?"Switch to your EOA":"Switch to your Smart Account"),e.b`
|
|
187
|
+
<wui-list-item
|
|
188
|
+
icon="swapHorizontal"
|
|
189
|
+
?rounded=${!0}
|
|
190
|
+
?chevron=${!0}
|
|
191
|
+
?loading=${this.loading}
|
|
192
|
+
@click=${this.changePreferredAccountType.bind(this)}
|
|
193
|
+
data-testid="account-toggle-preferred-account-type"
|
|
194
|
+
>
|
|
195
|
+
<wui-text variant="lg-regular" color="primary">${this.text}</wui-text>
|
|
196
|
+
</wui-list-item>
|
|
197
|
+
`)}async changePreferredAccountType(){var n;const i=(n=this.network)==null?void 0:n.chainNamespace,o=e.ChainController.checkIfSmartAccountEnabled(),r=e.getPreferredAccountType(i)===e.W3mFrameRpcConstants.ACCOUNT_TYPES.SMART_ACCOUNT||!o?e.W3mFrameRpcConstants.ACCOUNT_TYPES.EOA:e.W3mFrameRpcConstants.ACCOUNT_TYPES.SMART_ACCOUNT;e.ConnectorController.getAuthConnector()&&(this.loading=!0,await e.ConnectionController.setPreferredAccountType(r,i),this.text=r===e.W3mFrameRpcConstants.ACCOUNT_TYPES.SMART_ACCOUNT?"Switch to your EOA":"Switch to your Smart Account",this.switched=!0,e.SendController.resetSend(),this.loading=!1,this.requestUpdate())}};g([e.r()],exports.W3mSmartAccountSettingsView.prototype,"loading",void 0);g([e.r()],exports.W3mSmartAccountSettingsView.prototype,"switched",void 0);g([e.r()],exports.W3mSmartAccountSettingsView.prototype,"text",void 0);g([e.r()],exports.W3mSmartAccountSettingsView.prototype,"network",void 0);exports.W3mSmartAccountSettingsView=g([e.customElement("w3m-smart-account-settings-view")],exports.W3mSmartAccountSettingsView);const R=e.css`
|
|
198
|
+
:host {
|
|
199
|
+
width: 100%;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
button {
|
|
203
|
+
width: 100%;
|
|
204
|
+
display: flex;
|
|
205
|
+
justify-content: space-between;
|
|
206
|
+
align-items: center;
|
|
207
|
+
background-color: ${({tokens:t})=>t.theme.foregroundPrimary};
|
|
208
|
+
border-radius: ${({borderRadius:t})=>t[4]};
|
|
209
|
+
padding: ${({spacing:t})=>t[4]};
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.name {
|
|
213
|
+
max-width: 75%;
|
|
214
|
+
overflow: hidden;
|
|
215
|
+
text-overflow: ellipsis;
|
|
216
|
+
white-space: nowrap;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
@media (hover: hover) and (pointer: fine) {
|
|
220
|
+
button:hover:enabled {
|
|
221
|
+
cursor: pointer;
|
|
222
|
+
background-color: ${({tokens:t})=>t.theme.foregroundSecondary};
|
|
223
|
+
border-radius: ${({borderRadius:t})=>t[6]};
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
button:disabled {
|
|
228
|
+
opacity: 0.5;
|
|
229
|
+
cursor: default;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
button:focus-visible:enabled {
|
|
233
|
+
box-shadow: 0 0 0 4px ${({tokens:t})=>t.core.foregroundAccent040};
|
|
234
|
+
background-color: ${({tokens:t})=>t.theme.foregroundSecondary};
|
|
235
|
+
}
|
|
236
|
+
`;var f=function(t,i,o,r){var s=arguments.length,n=s<3?i:r===null?r=Object.getOwnPropertyDescriptor(i,o):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,i,o,r);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(s<3?a(n):s>3?a(i,o,n):a(i,o))||n);return s>3&&n&&Object.defineProperty(i,o,n),n};let d=class extends e.i{constructor(){super(...arguments),this.name="",this.registered=!1,this.loading=!1,this.disabled=!1}render(){return e.b`
|
|
237
|
+
<button ?disabled=${this.disabled}>
|
|
238
|
+
<wui-text class="name" color="primary" variant="md-regular">${this.name}</wui-text>
|
|
239
|
+
${this.templateRightContent()}
|
|
240
|
+
</button>
|
|
241
|
+
`}templateRightContent(){return this.loading?e.b`<wui-loading-spinner size="lg" color="primary"></wui-loading-spinner>`:this.registered?e.b`<wui-tag variant="info" size="sm">Registered</wui-tag>`:e.b`<wui-tag variant="success" size="sm">Available</wui-tag>`}};d.styles=[e.resetStyles,e.elementStyles,R];f([e.n()],d.prototype,"name",void 0);f([e.n({type:Boolean})],d.prototype,"registered",void 0);f([e.n({type:Boolean})],d.prototype,"loading",void 0);f([e.n({type:Boolean})],d.prototype,"disabled",void 0);d=f([e.customElement("wui-account-name-suggestion-item")],d);const T=e.css`
|
|
242
|
+
:host {
|
|
243
|
+
position: relative;
|
|
244
|
+
width: 100%;
|
|
245
|
+
display: inline-block;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
:host([disabled]) {
|
|
249
|
+
opacity: 0.5;
|
|
250
|
+
cursor: not-allowed;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.base-name {
|
|
254
|
+
position: absolute;
|
|
255
|
+
right: ${({spacing:t})=>t[4]};
|
|
256
|
+
top: 50%;
|
|
257
|
+
transform: translateY(-50%);
|
|
258
|
+
text-align: right;
|
|
259
|
+
padding: ${({spacing:t})=>t[1]};
|
|
260
|
+
background-color: ${({tokens:t})=>t.theme.foregroundSecondary};
|
|
261
|
+
border-radius: ${({borderRadius:t})=>t[1]};
|
|
262
|
+
}
|
|
263
|
+
`;var h=function(t,i,o,r){var s=arguments.length,n=s<3?i:r===null?r=Object.getOwnPropertyDescriptor(i,o):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,i,o,r);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(s<3?a(n):s>3?a(i,o,n):a(i,o))||n);return s>3&&n&&Object.defineProperty(i,o,n),n};let u=class extends e.i{constructor(){super(...arguments),this.disabled=!1,this.loading=!1}render(){return e.b`
|
|
264
|
+
<wui-input-text
|
|
265
|
+
value=${e.o(this.value)}
|
|
266
|
+
?disabled=${this.disabled}
|
|
267
|
+
.value=${this.value||""}
|
|
268
|
+
data-testid="wui-ens-input"
|
|
269
|
+
icon="search"
|
|
270
|
+
inputRightPadding="5xl"
|
|
271
|
+
.onKeyDown=${this.onKeyDown}
|
|
272
|
+
></wui-input-text>
|
|
273
|
+
`}};u.styles=[e.resetStyles,T];h([e.n()],u.prototype,"errorMessage",void 0);h([e.n({type:Boolean})],u.prototype,"disabled",void 0);h([e.n()],u.prototype,"value",void 0);h([e.n({type:Boolean})],u.prototype,"loading",void 0);h([e.n({attribute:!1})],u.prototype,"onKeyDown",void 0);u=h([e.customElement("wui-ens-input")],u);const E=e.css`
|
|
274
|
+
wui-flex {
|
|
275
|
+
width: 100%;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.suggestion {
|
|
279
|
+
background-color: ${({tokens:t})=>t.theme.foregroundPrimary};
|
|
280
|
+
border-radius: ${({borderRadius:t})=>t[4]};
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.suggestion:hover:not(:disabled) {
|
|
284
|
+
cursor: pointer;
|
|
285
|
+
border: none;
|
|
286
|
+
width: 100%;
|
|
287
|
+
display: flex;
|
|
288
|
+
justify-content: space-between;
|
|
289
|
+
align-items: center;
|
|
290
|
+
background-color: ${({tokens:t})=>t.theme.foregroundSecondary};
|
|
291
|
+
border-radius: ${({borderRadius:t})=>t[6]};
|
|
292
|
+
padding: ${({spacing:t})=>t[4]};
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.suggestion:disabled {
|
|
296
|
+
opacity: 0.5;
|
|
297
|
+
cursor: default;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.suggestion:focus-visible:not(:disabled) {
|
|
301
|
+
box-shadow: 0 0 0 4px ${({tokens:t})=>t.core.foregroundAccent040};
|
|
302
|
+
background-color: ${({tokens:t})=>t.theme.foregroundSecondary};
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.suggested-name {
|
|
306
|
+
max-width: 75%;
|
|
307
|
+
overflow: hidden;
|
|
308
|
+
text-overflow: ellipsis;
|
|
309
|
+
white-space: nowrap;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
form {
|
|
313
|
+
width: 100%;
|
|
314
|
+
position: relative;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.input-submit-button,
|
|
318
|
+
.input-loading-spinner {
|
|
319
|
+
position: absolute;
|
|
320
|
+
top: 22px;
|
|
321
|
+
transform: translateY(-50%);
|
|
322
|
+
right: 10px;
|
|
323
|
+
}
|
|
324
|
+
`;var p=function(t,i,o,r){var s=arguments.length,n=s<3?i:r===null?r=Object.getOwnPropertyDescriptor(i,o):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,i,o,r);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(s<3?a(n):s>3?a(i,o,n):a(i,o))||n);return s>3&&n&&Object.defineProperty(i,o,n),n};exports.W3mRegisterAccountNameView=class extends e.i{constructor(){var i;super(),this.formRef=e.e(),this.usubscribe=[],this.name="",this.error="",this.loading=e.EnsController.state.loading,this.suggestions=e.EnsController.state.suggestions,this.profileName=(i=e.ChainController.getAccountData())==null?void 0:i.profileName,this.onDebouncedNameInputChange=e.CoreHelperUtil.debounce(o=>{o.length<4?this.error="Name must be at least 4 characters long":e.HelpersUtil.isValidReownName(o)?(this.error="",e.EnsController.getSuggestions(o)):this.error="The value is not a valid username"}),this.usubscribe.push(e.EnsController.subscribe(o=>{this.suggestions=o.suggestions,this.loading=o.loading}),e.ChainController.subscribeChainProp("accountState",o=>{this.profileName=o==null?void 0:o.profileName,o!=null&&o.profileName&&(this.error="You already own a name")}))}firstUpdated(){var i;(i=this.formRef.value)==null||i.addEventListener("keydown",this.onEnterKey.bind(this))}disconnectedCallback(){var i;super.disconnectedCallback(),this.usubscribe.forEach(o=>o()),(i=this.formRef.value)==null||i.removeEventListener("keydown",this.onEnterKey.bind(this))}render(){return e.b`
|
|
325
|
+
<wui-flex
|
|
326
|
+
flexDirection="column"
|
|
327
|
+
alignItems="center"
|
|
328
|
+
gap="4"
|
|
329
|
+
.padding=${["1","3","4","3"]}
|
|
330
|
+
>
|
|
331
|
+
<form ${e.n$1(this.formRef)} @submit=${this.onSubmitName.bind(this)}>
|
|
332
|
+
<wui-ens-input
|
|
333
|
+
@inputChange=${this.onNameInputChange.bind(this)}
|
|
334
|
+
.errorMessage=${this.error}
|
|
335
|
+
.value=${this.name}
|
|
336
|
+
.onKeyDown=${this.onKeyDown.bind(this)}
|
|
337
|
+
>
|
|
338
|
+
</wui-ens-input>
|
|
339
|
+
${this.submitButtonTemplate()}
|
|
340
|
+
<input type="submit" hidden />
|
|
341
|
+
</form>
|
|
342
|
+
${this.templateSuggestions()}
|
|
343
|
+
</wui-flex>
|
|
344
|
+
`}submitButtonTemplate(){const i=this.suggestions.find(r=>{var s,n;return((n=(s=r.name)==null?void 0:s.split("."))==null?void 0:n[0])===this.name&&r.registered});if(this.loading)return e.b`<wui-loading-spinner
|
|
345
|
+
class="input-loading-spinner"
|
|
346
|
+
color="secondary"
|
|
347
|
+
></wui-loading-spinner>`;const o=`${this.name}${e.ConstantsUtil.WC_NAME_SUFFIX}`;return e.b`
|
|
348
|
+
<wui-icon-link
|
|
349
|
+
?disabled=${!!i}
|
|
350
|
+
class="input-submit-button"
|
|
351
|
+
size="sm"
|
|
352
|
+
icon="chevronRight"
|
|
353
|
+
iconColor=${i?"default":"accent-primary"}
|
|
354
|
+
@click=${()=>this.onSubmitName(o)}
|
|
355
|
+
>
|
|
356
|
+
</wui-icon-link>
|
|
357
|
+
`}onNameInputChange(i){const o=e.HelpersUtil.validateReownName(i.detail||"");this.name=o,this.onDebouncedNameInputChange(o)}onKeyDown(i){i.key.length===1&&!e.HelpersUtil.isValidReownName(i.key)&&i.preventDefault()}templateSuggestions(){return!this.name||this.name.length<4||this.error?null:e.b`<wui-flex flexDirection="column" gap="1" alignItems="center">
|
|
358
|
+
${this.suggestions.map(i=>e.b`<wui-account-name-suggestion-item
|
|
359
|
+
name=${i.name}
|
|
360
|
+
?registered=${i.registered}
|
|
361
|
+
?loading=${this.loading}
|
|
362
|
+
?disabled=${i.registered||this.loading}
|
|
363
|
+
data-testid="account-name-suggestion"
|
|
364
|
+
@click=${()=>this.onSubmitName(i.name)}
|
|
365
|
+
></wui-account-name-suggestion-item>`)}
|
|
366
|
+
</wui-flex>`}isAllowedToSubmit(i){var s;const o=(s=i.split("."))==null?void 0:s[0],r=this.suggestions.find(n=>{var a,c;return((c=(a=n.name)==null?void 0:a.split("."))==null?void 0:c[0])===o&&n.registered});return!this.loading&&!this.error&&!this.profileName&&o&&e.EnsController.validateName(o)&&!r}async onSubmitName(i){try{if(!this.isAllowedToSubmit(i))return;e.EventsController.sendEvent({type:"track",event:"REGISTER_NAME_INITIATED",properties:{isSmartAccount:e.getPreferredAccountType(e.ChainController.state.activeChain)===e.W3mFrameRpcConstants.ACCOUNT_TYPES.SMART_ACCOUNT,ensName:i}}),await e.EnsController.registerName(i),e.EventsController.sendEvent({type:"track",event:"REGISTER_NAME_SUCCESS",properties:{isSmartAccount:e.getPreferredAccountType(e.ChainController.state.activeChain)===e.W3mFrameRpcConstants.ACCOUNT_TYPES.SMART_ACCOUNT,ensName:i}})}catch(o){e.SnackController.showError(o.message),e.EventsController.sendEvent({type:"track",event:"REGISTER_NAME_ERROR",properties:{isSmartAccount:e.getPreferredAccountType(e.ChainController.state.activeChain)===e.W3mFrameRpcConstants.ACCOUNT_TYPES.SMART_ACCOUNT,ensName:i,error:e.CoreHelperUtil.parseError(o)}})}}onEnterKey(i){if(i.key==="Enter"&&this.name&&this.isAllowedToSubmit(this.name)){const o=`${this.name}${e.ConstantsUtil.WC_NAME_SUFFIX}`;this.onSubmitName(o)}}};exports.W3mRegisterAccountNameView.styles=E;p([e.n()],exports.W3mRegisterAccountNameView.prototype,"errorMessage",void 0);p([e.r()],exports.W3mRegisterAccountNameView.prototype,"name",void 0);p([e.r()],exports.W3mRegisterAccountNameView.prototype,"error",void 0);p([e.r()],exports.W3mRegisterAccountNameView.prototype,"loading",void 0);p([e.r()],exports.W3mRegisterAccountNameView.prototype,"suggestions",void 0);p([e.r()],exports.W3mRegisterAccountNameView.prototype,"profileName",void 0);exports.W3mRegisterAccountNameView=p([e.customElement("w3m-register-account-name-view")],exports.W3mRegisterAccountNameView);const _=e.i$1`
|
|
367
|
+
.continue-button-container {
|
|
368
|
+
width: 100%;
|
|
369
|
+
}
|
|
370
|
+
`;var N=function(t,i,o,r){var s=arguments.length,n=s<3?i:r===null?r=Object.getOwnPropertyDescriptor(i,o):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,i,o,r);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(s<3?a(n):s>3?a(i,o,n):a(i,o))||n);return s>3&&n&&Object.defineProperty(i,o,n),n};exports.W3mRegisterAccountNameSuccess=class extends e.i{render(){return e.b`
|
|
371
|
+
<wui-flex
|
|
372
|
+
flexDirection="column"
|
|
373
|
+
alignItems="center"
|
|
374
|
+
gap="6"
|
|
375
|
+
.padding=${["0","0","4","0"]}
|
|
376
|
+
>
|
|
377
|
+
${this.onboardingTemplate()} ${this.buttonsTemplate()}
|
|
378
|
+
<wui-link
|
|
379
|
+
@click=${()=>{e.CoreHelperUtil.openHref(e.NavigationUtil.URLS.FAQ,"_blank")}}
|
|
380
|
+
>
|
|
381
|
+
Learn more
|
|
382
|
+
<wui-icon color="inherit" slot="iconRight" name="externalLink"></wui-icon>
|
|
383
|
+
</wui-link>
|
|
384
|
+
</wui-flex>
|
|
385
|
+
`}onboardingTemplate(){return e.b` <wui-flex
|
|
386
|
+
flexDirection="column"
|
|
387
|
+
gap="6"
|
|
388
|
+
alignItems="center"
|
|
389
|
+
.padding=${["0","6","0","6"]}
|
|
390
|
+
>
|
|
391
|
+
<wui-flex gap="3" alignItems="center" justifyContent="center">
|
|
392
|
+
<wui-icon-box size="xl" color="success" icon="checkmark"></wui-icon-box>
|
|
393
|
+
</wui-flex>
|
|
394
|
+
<wui-flex flexDirection="column" alignItems="center" gap="3">
|
|
395
|
+
<wui-text align="center" variant="md-medium" color="primary">
|
|
396
|
+
Account name chosen successfully
|
|
397
|
+
</wui-text>
|
|
398
|
+
<wui-text align="center" variant="md-regular" color="primary">
|
|
399
|
+
You can now fund your account and trade crypto
|
|
400
|
+
</wui-text>
|
|
401
|
+
</wui-flex>
|
|
402
|
+
</wui-flex>`}buttonsTemplate(){return e.b`<wui-flex
|
|
403
|
+
.padding=${["0","4","0","4"]}
|
|
404
|
+
gap="3"
|
|
405
|
+
class="continue-button-container"
|
|
406
|
+
>
|
|
407
|
+
<wui-button fullWidth size="lg" borderRadius="xs" @click=${this.redirectToAccount.bind(this)}
|
|
408
|
+
>Let's Go!
|
|
409
|
+
</wui-button>
|
|
410
|
+
</wui-flex>`}redirectToAccount(){e.RouterController.replace("Account")}};exports.W3mRegisterAccountNameSuccess.styles=_;exports.W3mRegisterAccountNameSuccess=N([e.customElement("w3m-register-account-name-success-view")],exports.W3mRegisterAccountNameSuccess);
|