@trifle/trifle-hub 1.0.161 → 1.0.162
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/AccountIndex-CTjOLmjP.js +144 -0
- package/dist/Earn-DMrF4S31.js +255 -0
- package/dist/{ExchangeController-D9_uwgvR.js → ExchangeController-6NjzC79Z.js} +1 -1
- package/dist/{Games-M9GlINCE.js → Games-CLUUM0mP.js} +10 -10
- package/dist/{HelpersUtil-3kK0MJ3p.js → HelpersUtil-Dj0wfodo.js} +4 -4
- package/dist/{Leaderboard-B7Mh8DS-.js → Leaderboard-CuG041PJ.js} +1 -1
- package/dist/Profile-YoSRBmlN.js +1818 -0
- package/dist/QuestCard-CapG6iNR.js +318 -0
- package/dist/{ReownAuthentication-CVPDiHcH.js → ReownAuthentication-ClyLCgeo.js} +4 -4
- package/dist/{SocialsButtons-aWpzKjcb.js → SocialsButtons-uL2_XTTy.js} +1 -1
- package/dist/SwapBalls-ChUy9GIh.js +277 -0
- package/dist/{SwapController-BeK9JnGm.js → SwapController-Q_rNvOur.js} +1 -1
- package/dist/{TrifleGuide-CR0Ozy_0.js → TrifleGuide-Dn1FDCub.js} +1 -1
- package/dist/components/QuestCard.vue.d.ts +2 -0
- package/dist/components/ScrollMaskedX.vue.d.ts +17 -0
- package/dist/config/pointsConfig.d.ts +98 -0
- package/dist/config/socialsConfig.d.ts +12 -0
- package/dist/config/tailwindTheme.d.ts +12 -0
- package/dist/{data-capture-SpEqbF3k.js → data-capture-C1pQbx1q.js} +10 -10
- package/dist/{email-nGysUKxe.js → email-D2uCwQIX.js} +15 -15
- package/dist/{embedded-wallet-CVRT-KKq.js → embedded-wallet-C4TtNIAk.js} +20 -20
- package/dist/{features-ltH2yyBF.js → features-p7PixpOp.js} +1 -1
- package/dist/{if-defined-Dy4LSJRL.js → if-defined-Db2RYcoI.js} +1 -1
- package/dist/{index-D7KogVqW.js → index-B7YpXXOx.js} +3 -3
- package/dist/{index-el2rRTti.js → index-B874HQ1C.js} +1 -1
- package/dist/{index-DB2RGu8K.js → index-BBZwHOZx.js} +7174 -7062
- package/dist/{index-CGTgmNWF.js → index-BCwqn9QZ.js} +7 -7
- package/dist/{index-D8jtytdS.js → index-BPUorytH.js} +4 -4
- package/dist/{index-B6EegOWr.js → index-BUYdR_2_.js} +3 -3
- package/dist/{index-Br4pPBw3.js → index-Be1ETcsd.js} +2 -2
- package/dist/{index-vWXwGhx5.js → index-BgP8qyHN.js} +8 -8
- package/dist/{index-B5tdNBnN.js → index-BlHGPGWv.js} +5 -5
- package/dist/{index-DFRmrUjX.js → index-Bw4BSPxV.js} +1 -1
- package/dist/{index-D_P4Urp2.js → index-ByEuzHZx.js} +4 -4
- package/dist/{index-Ry5qK6ET.js → index-Bz5RbsFD.js} +4 -4
- package/dist/{index-fsHFGWT7.js → index-C5VTkzn_.js} +2 -2
- package/dist/{index-BPEOHrMY.js → index-CCLcIWvl.js} +2 -2
- package/dist/{index-B6ReSoq4.js → index-CEp7-6gC.js} +12 -12
- package/dist/{index-zrzeJIBS.js → index-CG4RerkJ.js} +4 -4
- package/dist/{index-CABGgn9P.js → index-CGVqIMrP.js} +2 -2
- package/dist/{index-JL3Wermk.js → index-CRnT53WM.js} +4 -4
- package/dist/{index-fMGZyGCM.js → index-CbMqJqgs.js} +3 -3
- package/dist/{index-CAqkQtOq.js → index-Ch8Y71PT.js} +2 -2
- package/dist/{index-C2ffuAYb.js → index-CldzoQ7r.js} +4 -4
- package/dist/{index-Dpn8_aG_.js → index-CnEa77cL.js} +23 -23
- package/dist/{index-DHWhyTIK.js → index-Cs4b_oEO.js} +4 -4
- package/dist/{index-C2PmirTf.js → index-D6xLy_9u.js} +3 -3
- package/dist/{index-356dXR_D.js → index-DCC9iWUP.js} +5 -5
- package/dist/{index-Dg7OV12A.js → index-DISZZqKI.js} +86 -86
- package/dist/{index-C2kYO0cy.js → index-DKxX5-s9.js} +4 -4
- package/dist/{index-BHFhjWws.js → index-DPKtJuhj.js} +7 -7
- package/dist/{index-BIohKOaQ.js → index-DT6SLq6J.js} +101 -101
- package/dist/{index-D0PeBPfJ.js → index-Diei326e.js} +8 -8
- package/dist/{index-Dvj2aQzS.js → index-DoLlp6XK.js} +6 -6
- package/dist/{index-Ce6TjHV2.js → index-Dw0RgphK.js} +3 -3
- package/dist/{index-DUlBiQtl.js → index-gICsvOhN.js} +3 -3
- package/dist/{index-5j1niEF0.js → index-iR5Uvd14.js} +3 -3
- package/dist/{index-cQyA4S9L.js → index-u4YndyyJ.js} +7 -7
- package/dist/{index-Cx-FU6Gm.js → index-wAnKlCQm.js} +7 -7
- package/dist/index.es.js +2 -2
- package/dist/{onramp-DqtQTg4r.js → onramp-3E-5EGhn.js} +47 -47
- package/dist/{pay-with-exchange-C0oNjyvj.js → pay-with-exchange-DBpQTxCY.js} +17 -17
- package/dist/{receive-Bb7EcFWE.js → receive-DDXsTS6R.js} +5 -5
- package/dist/{ref-CujhPCia.js → ref-CRKmoaio.js} +2 -2
- package/dist/{send-DGTDv4Th.js → send-Bp9p9m9K.js} +18 -18
- package/dist/{socials-Cp4djpe9.js → socials-C1MyEZn9.js} +20 -20
- package/dist/{swaps-DD8uJyu7.js → swaps-Hpy8DwH3.js} +11 -11
- package/dist/{transactions-DYOP0lkN.js → transactions-BV1mkVO3.js} +7 -7
- package/dist/{w3m-modal-JJJ6hUHU.js → w3m-modal-Du6ALWMy.js} +20 -20
- package/package.json +2 -1
- package/dist/AccountIndex-BEX1k5b6.js +0 -128
- package/dist/Earn-CgpWSs87.js +0 -521
- package/dist/Profile-Ct-mDc2u.js +0 -1696
- package/dist/SwapBalls-D14eVMm3.js +0 -279
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as l, c as g, n as p } from "./index-
|
|
3
|
-
import { o as m } from "./if-defined-
|
|
4
|
-
import "./index-
|
|
5
|
-
import { O as j } from "./index-
|
|
6
|
-
import "./index-
|
|
7
|
-
import "./index-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./index-
|
|
13
|
-
import "./index-
|
|
14
|
-
import "./index-
|
|
1
|
+
import { q as O, u as b, aj as c, ak as C, O as T, x as u, T as $, C as I, Y as E, R as D, b as B, E as z, D as V, W as K, z as M, Z as Y, S as W } from "./index-BBZwHOZx.js";
|
|
2
|
+
import { r as l, c as g, n as p } from "./index-B874HQ1C.js";
|
|
3
|
+
import { o as m } from "./if-defined-Db2RYcoI.js";
|
|
4
|
+
import "./index-Cs4b_oEO.js";
|
|
5
|
+
import { O as j } from "./index-Bz5RbsFD.js";
|
|
6
|
+
import "./index-Dw0RgphK.js";
|
|
7
|
+
import "./index-CCLcIWvl.js";
|
|
8
|
+
import "./index-DoLlp6XK.js";
|
|
9
|
+
import "./index-CbMqJqgs.js";
|
|
10
|
+
import "./index-BUYdR_2_.js";
|
|
11
|
+
import "./index-D6xLy_9u.js";
|
|
12
|
+
import "./index-Ch8Y71PT.js";
|
|
13
|
+
import "./index-CRnT53WM.js";
|
|
14
|
+
import "./index-DKxX5-s9.js";
|
|
15
15
|
const q = O`
|
|
16
16
|
:host > wui-grid {
|
|
17
17
|
max-height: 360px;
|
|
@@ -262,12 +262,12 @@ let U = class extends b {
|
|
|
262
262
|
}
|
|
263
263
|
onClickProvider(e) {
|
|
264
264
|
var i;
|
|
265
|
-
c.setSelectedProvider(e),
|
|
265
|
+
c.setSelectedProvider(e), D.push("BuyInProgress"), B.openHref(((i = c.state.selectedProvider) == null ? void 0 : i.url) || e.url, "popupWindow", "width=600,height=800,scrollbars=yes"), z.sendEvent({
|
|
266
266
|
type: "track",
|
|
267
267
|
event: "SELECT_BUY_PROVIDER",
|
|
268
268
|
properties: {
|
|
269
269
|
provider: e.name,
|
|
270
|
-
isSmartAccount: V(I.state.activeChain) ===
|
|
270
|
+
isSmartAccount: V(I.state.activeChain) === K.ACCOUNT_TYPES.SMART_ACCOUNT
|
|
271
271
|
}
|
|
272
272
|
});
|
|
273
273
|
}
|
|
@@ -306,7 +306,7 @@ var _ = function(t, e, i, o) {
|
|
|
306
306
|
else for (var a = t.length - 1; a >= 0; a--) (s = t[a]) && (r = (n < 3 ? s(r) : n > 3 ? s(e, i, r) : s(e, i)) || r);
|
|
307
307
|
return n > 3 && r && Object.defineProperty(e, i, r), r;
|
|
308
308
|
};
|
|
309
|
-
let
|
|
309
|
+
let k = class extends b {
|
|
310
310
|
constructor() {
|
|
311
311
|
super(), this.unsubscribe = [], this.selectedCurrency = c.state.purchaseCurrencies, this.tokens = c.state.purchaseCurrencies, this.tokenImages = C.state.tokenImages, this.checked = j.state.isLegalCheckboxChecked, this.unsubscribe.push(c.subscribe((e) => {
|
|
312
312
|
this.selectedCurrency = e.purchaseCurrencies, this.tokens = e.purchaseCurrencies;
|
|
@@ -354,23 +354,23 @@ let R = class extends b {
|
|
|
354
354
|
e && (c.setPurchaseCurrency(e), $.close());
|
|
355
355
|
}
|
|
356
356
|
};
|
|
357
|
-
|
|
357
|
+
k.styles = N;
|
|
358
358
|
_([
|
|
359
359
|
l()
|
|
360
|
-
],
|
|
360
|
+
], k.prototype, "selectedCurrency", void 0);
|
|
361
361
|
_([
|
|
362
362
|
l()
|
|
363
|
-
],
|
|
363
|
+
], k.prototype, "tokens", void 0);
|
|
364
364
|
_([
|
|
365
365
|
l()
|
|
366
|
-
],
|
|
366
|
+
], k.prototype, "tokenImages", void 0);
|
|
367
367
|
_([
|
|
368
368
|
l()
|
|
369
|
-
],
|
|
370
|
-
|
|
369
|
+
], k.prototype, "checked", void 0);
|
|
370
|
+
k = _([
|
|
371
371
|
g("w3m-onramp-token-select-view")
|
|
372
|
-
],
|
|
373
|
-
const
|
|
372
|
+
], k);
|
|
373
|
+
const Q = O`
|
|
374
374
|
@keyframes shake {
|
|
375
375
|
0% {
|
|
376
376
|
transform: translateX(0);
|
|
@@ -453,7 +453,7 @@ var y = function(t, e, i, o) {
|
|
|
453
453
|
};
|
|
454
454
|
let d = class extends b {
|
|
455
455
|
constructor() {
|
|
456
|
-
super(), this.unsubscribe = [], this.selectedOnRampProvider = c.state.selectedProvider, this.uri =
|
|
456
|
+
super(), this.unsubscribe = [], this.selectedOnRampProvider = c.state.selectedProvider, this.uri = M.state.wcUri, this.ready = !1, this.showRetry = !1, this.buffering = !1, this.error = !1, this.isMobile = !1, this.onRetry = void 0, this.unsubscribe.push(c.subscribeKey("selectedProvider", (e) => {
|
|
457
457
|
this.selectedOnRampProvider = e;
|
|
458
458
|
}));
|
|
459
459
|
}
|
|
@@ -533,7 +533,7 @@ let d = class extends b {
|
|
|
533
533
|
onCopyUri() {
|
|
534
534
|
var e;
|
|
535
535
|
if (!((e = this.selectedOnRampProvider) != null && e.url)) {
|
|
536
|
-
W.showError("No link found"),
|
|
536
|
+
W.showError("No link found"), D.goBack();
|
|
537
537
|
return;
|
|
538
538
|
}
|
|
539
539
|
try {
|
|
@@ -543,7 +543,7 @@ let d = class extends b {
|
|
|
543
543
|
}
|
|
544
544
|
}
|
|
545
545
|
};
|
|
546
|
-
d.styles =
|
|
546
|
+
d.styles = Q;
|
|
547
547
|
y([
|
|
548
548
|
l()
|
|
549
549
|
], d.prototype, "intervalId", void 0);
|
|
@@ -574,13 +574,13 @@ y([
|
|
|
574
574
|
d = y([
|
|
575
575
|
g("w3m-buy-in-progress-view")
|
|
576
576
|
], d);
|
|
577
|
-
var
|
|
577
|
+
var X = function(t, e, i, o) {
|
|
578
578
|
var n = arguments.length, r = n < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, i) : o, s;
|
|
579
579
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(t, e, i, o);
|
|
580
580
|
else for (var a = t.length - 1; a >= 0; a--) (s = t[a]) && (r = (n < 3 ? s(r) : n > 3 ? s(e, i, r) : s(e, i)) || r);
|
|
581
581
|
return n > 3 && r && Object.defineProperty(e, i, r), r;
|
|
582
582
|
};
|
|
583
|
-
let
|
|
583
|
+
let S = class extends b {
|
|
584
584
|
render() {
|
|
585
585
|
return u`
|
|
586
586
|
<wui-flex
|
|
@@ -599,7 +599,7 @@ let D = class extends b {
|
|
|
599
599
|
using your credit card or bank transfer
|
|
600
600
|
</wui-text>
|
|
601
601
|
</wui-flex>
|
|
602
|
-
<wui-button @click=${
|
|
602
|
+
<wui-button @click=${D.goBack}>
|
|
603
603
|
<wui-icon size="sm" color="inherit" name="add" slot="iconLeft"></wui-icon>
|
|
604
604
|
Buy
|
|
605
605
|
</wui-button>
|
|
@@ -607,9 +607,9 @@ let D = class extends b {
|
|
|
607
607
|
`;
|
|
608
608
|
}
|
|
609
609
|
};
|
|
610
|
-
|
|
610
|
+
S = X([
|
|
611
611
|
g("w3m-what-is-a-buy-view")
|
|
612
|
-
],
|
|
612
|
+
], S);
|
|
613
613
|
const H = O`
|
|
614
614
|
:host {
|
|
615
615
|
width: 100%;
|
|
@@ -643,7 +643,7 @@ const H = O`
|
|
|
643
643
|
border-radius: 50%;
|
|
644
644
|
}
|
|
645
645
|
`;
|
|
646
|
-
var
|
|
646
|
+
var R = function(t, e, i, o) {
|
|
647
647
|
var n = arguments.length, r = n < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, i) : o, s;
|
|
648
648
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(t, e, i, o);
|
|
649
649
|
else for (var a = t.length - 1; a >= 0; a--) (s = t[a]) && (r = (n < 3 ? s(r) : n > 3 ? s(e, i, r) : s(e, i)) || r);
|
|
@@ -698,25 +698,25 @@ let w = class extends b {
|
|
|
698
698
|
}
|
|
699
699
|
};
|
|
700
700
|
w.styles = H;
|
|
701
|
-
|
|
701
|
+
R([
|
|
702
702
|
p({ type: String })
|
|
703
703
|
], w.prototype, "type", void 0);
|
|
704
|
-
|
|
704
|
+
R([
|
|
705
705
|
p({ type: Number })
|
|
706
706
|
], w.prototype, "value", void 0);
|
|
707
|
-
|
|
707
|
+
R([
|
|
708
708
|
l()
|
|
709
709
|
], w.prototype, "currencies", void 0);
|
|
710
|
-
|
|
710
|
+
R([
|
|
711
711
|
l()
|
|
712
712
|
], w.prototype, "selectedCurrency", void 0);
|
|
713
|
-
|
|
713
|
+
R([
|
|
714
714
|
l()
|
|
715
715
|
], w.prototype, "currencyImages", void 0);
|
|
716
|
-
|
|
716
|
+
R([
|
|
717
717
|
l()
|
|
718
718
|
], w.prototype, "tokenImages", void 0);
|
|
719
|
-
w =
|
|
719
|
+
w = R([
|
|
720
720
|
g("w3m-onramp-input")
|
|
721
721
|
], w);
|
|
722
722
|
const G = O`
|
|
@@ -740,11 +740,11 @@ var x = function(t, e, i, o) {
|
|
|
740
740
|
else for (var a = t.length - 1; a >= 0; a--) (s = t[a]) && (r = (n < 3 ? s(r) : n > 3 ? s(e, i, r) : s(e, i)) || r);
|
|
741
741
|
return n > 3 && r && Object.defineProperty(e, i, r), r;
|
|
742
742
|
};
|
|
743
|
-
const
|
|
743
|
+
const Z = {
|
|
744
744
|
USD: "$",
|
|
745
745
|
EUR: "€",
|
|
746
746
|
GBP: "£"
|
|
747
|
-
},
|
|
747
|
+
}, J = [100, 250, 500, 1e3];
|
|
748
748
|
let f = class extends b {
|
|
749
749
|
constructor() {
|
|
750
750
|
super(), this.unsubscribe = [], this.disabled = !1, this.caipAddress = I.state.activeCaipAddress, this.loading = $.state.loading, this.paymentCurrency = c.state.paymentCurrency, this.paymentAmount = c.state.paymentAmount, this.purchaseAmount = c.state.purchaseAmount, this.quoteLoading = c.state.quotesLoading, this.unsubscribe.push(I.subscribeKey("activeCaipAddress", (e) => this.caipAddress = e), $.subscribeKey("loading", (e) => {
|
|
@@ -771,7 +771,7 @@ let f = class extends b {
|
|
|
771
771
|
.loading=${this.quoteLoading}
|
|
772
772
|
></w3m-onramp-input>
|
|
773
773
|
<wui-flex justifyContent="space-evenly" class="amounts-container" gap="2">
|
|
774
|
-
${
|
|
774
|
+
${J.map((e) => {
|
|
775
775
|
var i;
|
|
776
776
|
return u`<wui-button
|
|
777
777
|
variant=${this.paymentAmount === e ? "accent-secondary" : "neutral-secondary"}
|
|
@@ -779,7 +779,7 @@ let f = class extends b {
|
|
|
779
779
|
textVariant="md-medium"
|
|
780
780
|
fullWidth
|
|
781
781
|
@click=${() => this.selectPresetAmount(e)}
|
|
782
|
-
>${`${
|
|
782
|
+
>${`${Z[((i = this.paymentCurrency) == null ? void 0 : i.id) || "USD"]} ${e}`}</wui-button
|
|
783
783
|
>`;
|
|
784
784
|
})}
|
|
785
785
|
</wui-flex>
|
|
@@ -849,7 +849,7 @@ export {
|
|
|
849
849
|
d as W3mBuyInProgressView,
|
|
850
850
|
U as W3mOnRampProvidersView,
|
|
851
851
|
P as W3mOnrampFiatSelectView,
|
|
852
|
-
|
|
852
|
+
k as W3mOnrampTokensView,
|
|
853
853
|
f as W3mOnrampWidget,
|
|
854
|
-
|
|
854
|
+
S as W3mWhatIsABuyView
|
|
855
855
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as h, c as v, r as d } from "./index-
|
|
3
|
-
import { o as P } from "./if-defined-
|
|
4
|
-
import "./index-
|
|
5
|
-
import "./index-
|
|
6
|
-
import "./index-
|
|
7
|
-
import "./index-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-
|
|
10
|
-
import "./index-
|
|
11
|
-
import { E as r } from "./ExchangeController-
|
|
12
|
-
import "./index-
|
|
13
|
-
import "./index-
|
|
14
|
-
import "./index-
|
|
15
|
-
import "./index-
|
|
1
|
+
import { q as A, r as D, t as z, u as $, x as u, C as y, R as f, Y as E, S as b, z as S, b as _ } from "./index-BBZwHOZx.js";
|
|
2
|
+
import { n as h, c as v, r as d } from "./index-B874HQ1C.js";
|
|
3
|
+
import { o as P } from "./if-defined-Db2RYcoI.js";
|
|
4
|
+
import "./index-Dw0RgphK.js";
|
|
5
|
+
import "./index-CGVqIMrP.js";
|
|
6
|
+
import "./index-Cs4b_oEO.js";
|
|
7
|
+
import "./index-BCwqn9QZ.js";
|
|
8
|
+
import "./index-BUYdR_2_.js";
|
|
9
|
+
import "./index-DCC9iWUP.js";
|
|
10
|
+
import "./index-Ch8Y71PT.js";
|
|
11
|
+
import { E as r } from "./ExchangeController-6NjzC79Z.js";
|
|
12
|
+
import "./index-D6xLy_9u.js";
|
|
13
|
+
import "./index-DKxX5-s9.js";
|
|
14
|
+
import "./index-iR5Uvd14.js";
|
|
15
|
+
import "./index-C5VTkzn_.js";
|
|
16
16
|
const T = A`
|
|
17
17
|
button {
|
|
18
18
|
border: none;
|
|
@@ -138,7 +138,7 @@ let p = class extends $ {
|
|
|
138
138
|
`;
|
|
139
139
|
}
|
|
140
140
|
};
|
|
141
|
-
p.styles = [D,
|
|
141
|
+
p.styles = [D, z, T];
|
|
142
142
|
g([
|
|
143
143
|
h()
|
|
144
144
|
], p.prototype, "type", void 0);
|
|
@@ -293,7 +293,7 @@ let l = class extends $ {
|
|
|
293
293
|
imageSrc=${((o = this.paymentAsset) == null ? void 0 : o.metadata.iconUrl) || ""}
|
|
294
294
|
@click=${() => f.push("PayWithExchangeSelectAsset")}
|
|
295
295
|
size="lg"
|
|
296
|
-
.chainImageSrc=${P(
|
|
296
|
+
.chainImageSrc=${P(E.getNetworkImage(this.network))}
|
|
297
297
|
>
|
|
298
298
|
</wui-token-button>
|
|
299
299
|
</wui-flex>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as $, c as C, U as T, r as b } from "./index-
|
|
3
|
-
import { o as O } from "./if-defined-
|
|
4
|
-
import "./index-
|
|
5
|
-
import "./index-
|
|
1
|
+
import { q as y, r as v, t as N, u as k, x as u, C as c, S as w, Y as h, Z as f, D as R, W as A, R as S, b as I } from "./index-BBZwHOZx.js";
|
|
2
|
+
import { n as $, c as C, U as T, r as b } from "./index-B874HQ1C.js";
|
|
3
|
+
import { o as O } from "./if-defined-Db2RYcoI.js";
|
|
4
|
+
import "./index-Dw0RgphK.js";
|
|
5
|
+
import "./index-gICsvOhN.js";
|
|
6
6
|
const _ = y`
|
|
7
7
|
button {
|
|
8
8
|
width: 100%;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as l } from "./index-
|
|
2
|
-
import { i as $, t as a, e as f } from "./index-
|
|
1
|
+
import { k as l } from "./index-BBZwHOZx.js";
|
|
2
|
+
import { i as $, t as a, e as f } from "./index-B874HQ1C.js";
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
5
|
* Copyright 2020 Google LLC
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as d, r as u, c as v, U as E } from "./index-
|
|
3
|
-
import "./index-
|
|
4
|
-
import "./index-
|
|
5
|
-
import "./index-
|
|
6
|
-
import { e as
|
|
7
|
-
import "./index-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-
|
|
10
|
-
import { S as Y } from "./SwapController-
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./index-
|
|
13
|
-
import "./index-
|
|
14
|
-
import "./index-
|
|
15
|
-
import { o as te } from "./if-defined-
|
|
1
|
+
import { q as x, u as b, b as D, C as w, z as j, ah as l, x as c, R as h, N as z, T as L, S as y, e as J, H as G, Y as M, r as q, t as K, al as Q, am as X, A as Z, E as ee } from "./index-BBZwHOZx.js";
|
|
2
|
+
import { n as d, r as u, c as v, U as E } from "./index-B874HQ1C.js";
|
|
3
|
+
import "./index-BUYdR_2_.js";
|
|
4
|
+
import "./index-D6xLy_9u.js";
|
|
5
|
+
import "./index-C5VTkzn_.js";
|
|
6
|
+
import { e as F, n as H } from "./ref-CRKmoaio.js";
|
|
7
|
+
import "./index-DCC9iWUP.js";
|
|
8
|
+
import "./index-Ch8Y71PT.js";
|
|
9
|
+
import "./index-ByEuzHZx.js";
|
|
10
|
+
import { S as Y } from "./SwapController-Q_rNvOur.js";
|
|
11
|
+
import "./index-DKxX5-s9.js";
|
|
12
|
+
import "./index-iR5Uvd14.js";
|
|
13
|
+
import "./index-Dw0RgphK.js";
|
|
14
|
+
import "./index-BlHGPGWv.js";
|
|
15
|
+
import { o as te } from "./if-defined-Db2RYcoI.js";
|
|
16
16
|
const ie = x`
|
|
17
17
|
:host {
|
|
18
18
|
width: 100%;
|
|
@@ -82,7 +82,7 @@ var P = function(e, t, i, r) {
|
|
|
82
82
|
};
|
|
83
83
|
let $ = class extends b {
|
|
84
84
|
constructor() {
|
|
85
|
-
super(...arguments), this.inputElementRef =
|
|
85
|
+
super(...arguments), this.inputElementRef = F(), this.instructionElementRef = F(), this.readOnly = !1, this.instructionHidden = !!this.value, this.pasting = !1, this.onDebouncedSearch = D.debounce(async (t) => {
|
|
86
86
|
if (!t.length) {
|
|
87
87
|
this.setReceiverAddress("");
|
|
88
88
|
return;
|
|
@@ -311,7 +311,7 @@ let A = class extends b {
|
|
|
311
311
|
if (!this.readOnly && this.token && this.sendTokenAmount) {
|
|
312
312
|
const i = this.token.price * this.sendTokenAmount;
|
|
313
313
|
return c`<wui-text class="totalValue" variant="sm-regular" color="secondary"
|
|
314
|
-
>${i ? `$${
|
|
314
|
+
>${i ? `$${z.formatNumberToLocalString(i, 2)}` : "Incorrect value"}</wui-text
|
|
315
315
|
>`;
|
|
316
316
|
}
|
|
317
317
|
return null;
|
|
@@ -337,7 +337,7 @@ let A = class extends b {
|
|
|
337
337
|
}
|
|
338
338
|
onMaxClick() {
|
|
339
339
|
if (this.token) {
|
|
340
|
-
const t =
|
|
340
|
+
const t = z.bigNumber(this.token.quantity.numeric);
|
|
341
341
|
l.setTokenAmount(Number(t.toFixed(20)));
|
|
342
342
|
}
|
|
343
343
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as
|
|
3
|
-
import { o as $ } from "./if-defined-
|
|
4
|
-
import { O as U } from "./index-
|
|
5
|
-
import { e as q } from "./index-
|
|
6
|
-
import "./index-
|
|
7
|
-
import "./index-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-
|
|
10
|
-
import "./index-
|
|
1
|
+
import { q as O, u as I, I as S, O as h, P as W, R as f, e as T, x as c, b as C, a4 as F, G as D, C as d, z as P, U as N, E as u, a0 as A, S as v, a5 as j, T as R, Z as y } from "./index-BBZwHOZx.js";
|
|
2
|
+
import { n as M, r as l, c as _ } from "./index-B874HQ1C.js";
|
|
3
|
+
import { o as $ } from "./if-defined-Db2RYcoI.js";
|
|
4
|
+
import { O as U } from "./index-Bz5RbsFD.js";
|
|
5
|
+
import { e as q } from "./index-CEp7-6gC.js";
|
|
6
|
+
import "./index-D6xLy_9u.js";
|
|
7
|
+
import "./index-CRnT53WM.js";
|
|
8
|
+
import "./index-BUYdR_2_.js";
|
|
9
|
+
import "./index-gICsvOhN.js";
|
|
10
|
+
import "./index-BCwqn9QZ.js";
|
|
11
11
|
const z = O`
|
|
12
12
|
:host {
|
|
13
13
|
margin-top: ${({ spacing: t }) => t[1]};
|
|
@@ -24,7 +24,7 @@ var g = function(t, e, o, r) {
|
|
|
24
24
|
else for (var a = t.length - 1; a >= 0; a--) (s = t[a]) && (i = (n < 3 ? s(i) : n > 3 ? s(e, o, i) : s(e, o)) || i);
|
|
25
25
|
return n > 3 && i && Object.defineProperty(e, o, i), i;
|
|
26
26
|
};
|
|
27
|
-
let p = class extends
|
|
27
|
+
let p = class extends I {
|
|
28
28
|
constructor() {
|
|
29
29
|
super(), this.unsubscribe = [], this.tabIdx = void 0, this.connectors = S.state.connectors, this.authConnector = this.connectors.find((e) => e.type === "AUTH"), this.remoteFeatures = h.state.remoteFeatures, this.isPwaLoading = !1, this.hasExceededUsageLimit = W.state.plan.hasExceededUsageLimit, this.unsubscribe.push(S.subscribeKey("connectors", (e) => {
|
|
30
30
|
this.connectors = e, this.authConnector = this.connectors.find((o) => o.type === "AUTH");
|
|
@@ -78,7 +78,7 @@ let p = class extends _ {
|
|
|
78
78
|
};
|
|
79
79
|
p.styles = z;
|
|
80
80
|
g([
|
|
81
|
-
|
|
81
|
+
M()
|
|
82
82
|
], p.prototype, "tabIdx", void 0);
|
|
83
83
|
g([
|
|
84
84
|
l()
|
|
@@ -96,7 +96,7 @@ g([
|
|
|
96
96
|
l()
|
|
97
97
|
], p.prototype, "hasExceededUsageLimit", void 0);
|
|
98
98
|
p = g([
|
|
99
|
-
|
|
99
|
+
_("w3m-social-login-list")
|
|
100
100
|
], p);
|
|
101
101
|
const G = O`
|
|
102
102
|
wui-flex {
|
|
@@ -124,7 +124,7 @@ var k = function(t, e, o, r) {
|
|
|
124
124
|
else for (var a = t.length - 1; a >= 0; a--) (s = t[a]) && (i = (n < 3 ? s(i) : n > 3 ? s(e, o, i) : s(e, o)) || i);
|
|
125
125
|
return n > 3 && i && Object.defineProperty(e, o, i), i;
|
|
126
126
|
};
|
|
127
|
-
let L = class extends
|
|
127
|
+
let L = class extends I {
|
|
128
128
|
constructor() {
|
|
129
129
|
super(), this.unsubscribe = [], this.checked = U.state.isLegalCheckboxChecked, this.unsubscribe.push(U.subscribeKey("isLegalCheckboxChecked", (e) => {
|
|
130
130
|
this.checked = e;
|
|
@@ -154,7 +154,7 @@ k([
|
|
|
154
154
|
l()
|
|
155
155
|
], L.prototype, "checked", void 0);
|
|
156
156
|
L = k([
|
|
157
|
-
|
|
157
|
+
_("w3m-connect-socials-view")
|
|
158
158
|
], L);
|
|
159
159
|
const B = O`
|
|
160
160
|
wui-logo {
|
|
@@ -215,7 +215,7 @@ var b = function(t, e, o, r) {
|
|
|
215
215
|
else for (var a = t.length - 1; a >= 0; a--) (s = t[a]) && (i = (n < 3 ? s(i) : n > 3 ? s(e, o, i) : s(e, o)) || i);
|
|
216
216
|
return n > 3 && i && Object.defineProperty(e, o, i), i;
|
|
217
217
|
};
|
|
218
|
-
let m = class extends
|
|
218
|
+
let m = class extends I {
|
|
219
219
|
constructor() {
|
|
220
220
|
var o, r, n;
|
|
221
221
|
super(), this.unsubscribe = [], this.socialProvider = (o = d.getAccountData()) == null ? void 0 : o.socialProvider, this.socialWindow = (r = d.getAccountData()) == null ? void 0 : r.socialWindow, this.error = !1, this.connecting = !1, this.message = "Connect in the provider window", this.remoteFeatures = h.state.remoteFeatures, this.address = (n = d.getAccountData()) == null ? void 0 : n.address, this.connectionsByNamespace = P.getConnections(d.state.activeChain), this.hasMultipleConnections = this.connectionsByNamespace.length > 0, this.authConnector = S.getAuthConnector(), this.handleSocialConnection = async (i) => {
|
|
@@ -266,7 +266,7 @@ let m = class extends _ {
|
|
|
266
266
|
message: "Untrusted Origin"
|
|
267
267
|
}
|
|
268
268
|
});
|
|
269
|
-
},
|
|
269
|
+
}, j.EmbeddedWalletAbortController.signal.addEventListener("abort", () => {
|
|
270
270
|
this.closeSocialWindow();
|
|
271
271
|
}), this.unsubscribe.push(d.subscribeChainProp("accountState", (i) => {
|
|
272
272
|
var s;
|
|
@@ -364,7 +364,7 @@ b([
|
|
|
364
364
|
l()
|
|
365
365
|
], m.prototype, "remoteFeatures", void 0);
|
|
366
366
|
m = b([
|
|
367
|
-
|
|
367
|
+
_("w3m-connecting-social-view")
|
|
368
368
|
], m);
|
|
369
369
|
const V = O`
|
|
370
370
|
wui-shimmer {
|
|
@@ -423,7 +423,7 @@ var x = function(t, e, o, r) {
|
|
|
423
423
|
else for (var a = t.length - 1; a >= 0; a--) (s = t[a]) && (i = (n < 3 ? s(i) : n > 3 ? s(e, o, i) : s(e, o)) || i);
|
|
424
424
|
return n > 3 && i && Object.defineProperty(e, o, i), i;
|
|
425
425
|
};
|
|
426
|
-
let w = class extends
|
|
426
|
+
let w = class extends I {
|
|
427
427
|
constructor() {
|
|
428
428
|
var e, o;
|
|
429
429
|
super(), this.unsubscribe = [], this.timeout = void 0, this.socialProvider = (e = d.getAccountData()) == null ? void 0 : e.socialProvider, this.uri = (o = d.getAccountData()) == null ? void 0 : o.farcasterUrl, this.ready = !1, this.loading = !1, this.remoteFeatures = h.state.remoteFeatures, this.authConnector = S.getAuthConnector(), this.forceUpdate = () => {
|
|
@@ -611,7 +611,7 @@ x([
|
|
|
611
611
|
l()
|
|
612
612
|
], w.prototype, "remoteFeatures", void 0);
|
|
613
613
|
w = x([
|
|
614
|
-
|
|
614
|
+
_("w3m-connecting-farcaster-view")
|
|
615
615
|
], w);
|
|
616
616
|
export {
|
|
617
617
|
L as W3mConnectSocialsView,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as l, n as w, c as C } from "./index-
|
|
3
|
-
import "./index-
|
|
4
|
-
import "./index-
|
|
5
|
-
import { M as _ } from "./index-
|
|
6
|
-
import "./index-
|
|
7
|
-
import { S as s } from "./SwapController-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./index-
|
|
1
|
+
import { q as A, u as D, C as $, N as h, x as u, e as V, E as N, R as S, b as M, T as K, D as F, W as Q, r as W, t as q } from "./index-BBZwHOZx.js";
|
|
2
|
+
import { r as l, n as w, c as C } from "./index-B874HQ1C.js";
|
|
3
|
+
import "./index-BUYdR_2_.js";
|
|
4
|
+
import "./index-D6xLy_9u.js";
|
|
5
|
+
import { M as _ } from "./index-DPKtJuhj.js";
|
|
6
|
+
import "./index-CG4RerkJ.js";
|
|
7
|
+
import { S as s } from "./SwapController-Q_rNvOur.js";
|
|
8
|
+
import "./index-BCwqn9QZ.js";
|
|
9
|
+
import "./index-ByEuzHZx.js";
|
|
10
|
+
import "./index-DKxX5-s9.js";
|
|
11
|
+
import "./index-Dw0RgphK.js";
|
|
12
12
|
const H = {
|
|
13
13
|
numericInputKeyDown(e, t, o) {
|
|
14
14
|
const i = [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as
|
|
3
|
-
import "./index-
|
|
4
|
-
const
|
|
1
|
+
import { w as f, u as a, x as u } from "./index-BBZwHOZx.js";
|
|
2
|
+
import { c as w } from "./index-B874HQ1C.js";
|
|
3
|
+
import "./index-u4YndyyJ.js";
|
|
4
|
+
const d = f`
|
|
5
5
|
:host > wui-flex:first-child {
|
|
6
6
|
height: 500px;
|
|
7
7
|
overflow-y: auto;
|
|
@@ -21,16 +21,16 @@ var m = function(n, t, i, o) {
|
|
|
21
21
|
};
|
|
22
22
|
let s = class extends a {
|
|
23
23
|
render() {
|
|
24
|
-
return
|
|
24
|
+
return u`
|
|
25
25
|
<wui-flex flexDirection="column" .padding=${["0", "3", "3", "3"]} gap="3">
|
|
26
26
|
<w3m-activity-list page="activity"></w3m-activity-list>
|
|
27
27
|
</wui-flex>
|
|
28
28
|
`;
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
|
-
s.styles =
|
|
31
|
+
s.styles = d;
|
|
32
32
|
s = m([
|
|
33
|
-
|
|
33
|
+
w("w3m-transactions-view")
|
|
34
34
|
], s);
|
|
35
35
|
export {
|
|
36
36
|
s as W3mTransactionsView
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as w, n as l, r as u, U as ne } from "./index-
|
|
3
|
-
import { o as W } from "./if-defined-
|
|
4
|
-
import "./index-
|
|
5
|
-
import "./index-
|
|
6
|
-
import { H as ee } from "./HelpersUtil-
|
|
7
|
-
import "./index-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-
|
|
10
|
-
import "./index-
|
|
11
|
-
import { S as be } from "./SwapController-
|
|
12
|
-
import "./index-
|
|
1
|
+
import { T as x, an as ae, R as c, z as de, q as C, r as L, u as y, x as d, G as _, t as ue, v as D, C as g, Y as j, ak as he, U as V, E as U, O as R, I as F, w as pe, S as O, P as z, Z as me, ao as fe, ap as we } from "./index-BBZwHOZx.js";
|
|
2
|
+
import { c as w, n as l, r as u, U as ne } from "./index-B874HQ1C.js";
|
|
3
|
+
import { o as W } from "./if-defined-Db2RYcoI.js";
|
|
4
|
+
import "./index-BgP8qyHN.js";
|
|
5
|
+
import "./index-Dw0RgphK.js";
|
|
6
|
+
import { H as ee } from "./HelpersUtil-Dj0wfodo.js";
|
|
7
|
+
import "./index-CCLcIWvl.js";
|
|
8
|
+
import "./index-D6xLy_9u.js";
|
|
9
|
+
import "./index-CG4RerkJ.js";
|
|
10
|
+
import "./index-wAnKlCQm.js";
|
|
11
|
+
import { S as be } from "./SwapController-Q_rNvOur.js";
|
|
12
|
+
import "./index-BUYdR_2_.js";
|
|
13
13
|
const se = {
|
|
14
14
|
isUnsupportedChainView() {
|
|
15
15
|
return c.state.view === "UnsupportedChain" || c.state.view === "SwitchNetwork" && c.state.history.includes("UnsupportedChain");
|
|
@@ -126,7 +126,7 @@ const ve = C`
|
|
|
126
126
|
background-color: var(--local-icon-bg-value);
|
|
127
127
|
}
|
|
128
128
|
`;
|
|
129
|
-
var
|
|
129
|
+
var Y = function(e, t, i, r) {
|
|
130
130
|
var a = arguments.length, o = a < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, i) : r, n;
|
|
131
131
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o = Reflect.decorate(e, t, i, r);
|
|
132
132
|
else for (var s = e.length - 1; s >= 0; s--) (n = e[s]) && (o = (a < 3 ? n(o) : a > 3 ? n(t, i, o) : n(t, i)) || o);
|
|
@@ -179,13 +179,13 @@ let N = class extends y {
|
|
|
179
179
|
}
|
|
180
180
|
};
|
|
181
181
|
N.styles = [L, ve];
|
|
182
|
-
|
|
182
|
+
Y([
|
|
183
183
|
l()
|
|
184
184
|
], N.prototype, "message", void 0);
|
|
185
|
-
|
|
185
|
+
Y([
|
|
186
186
|
l()
|
|
187
187
|
], N.prototype, "type", void 0);
|
|
188
|
-
N =
|
|
188
|
+
N = Y([
|
|
189
189
|
w("wui-alertbar")
|
|
190
190
|
], N);
|
|
191
191
|
const ke = C`
|
|
@@ -801,7 +801,7 @@ const Oe = C`
|
|
|
801
801
|
border-radius: ${({ borderRadius: e }) => e.round} !important;
|
|
802
802
|
}
|
|
803
803
|
`;
|
|
804
|
-
var
|
|
804
|
+
var X = function(e, t, i, r) {
|
|
805
805
|
var a = arguments.length, o = a < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, i) : r, n;
|
|
806
806
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o = Reflect.decorate(e, t, i, r);
|
|
807
807
|
else for (var s = e.length - 1; s >= 0; s--) (n = e[s]) && (o = (a < 3 ? n(o) : a > 3 ? n(t, i, o) : n(t, i)) || o);
|
|
@@ -839,13 +839,13 @@ let T = class extends y {
|
|
|
839
839
|
}
|
|
840
840
|
};
|
|
841
841
|
T.styles = [L, Oe];
|
|
842
|
-
|
|
842
|
+
X([
|
|
843
843
|
l()
|
|
844
844
|
], T.prototype, "message", void 0);
|
|
845
|
-
|
|
845
|
+
X([
|
|
846
846
|
l()
|
|
847
847
|
], T.prototype, "variant", void 0);
|
|
848
|
-
T =
|
|
848
|
+
T = X([
|
|
849
849
|
w("wui-snackbar")
|
|
850
850
|
], T);
|
|
851
851
|
const Ae = pe`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trifle/trifle-hub",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.162",
|
|
4
4
|
"description": "Vue component library for Trifle Hub",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vue",
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"build": "vite build",
|
|
38
38
|
"dev": "cd dev && vite",
|
|
39
39
|
"watch": "vite build --watch",
|
|
40
|
+
"prepare": "[ -f dist/index.es.js ] || yarn build",
|
|
40
41
|
"prepublishOnly": "yarn build",
|
|
41
42
|
"patch": "npm version patch && npm publish && git push"
|
|
42
43
|
},
|