react-web3-storage 1.0.62 → 1.1.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.
- 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-CAiTtWE5.js +5 -0
- package/dist/ReownAuthentication-CE26uZpr.mjs +274 -0
- package/dist/SwapController-IE-9UN8T.js +1 -0
- package/dist/SwapController-sJUkOlKM.mjs +462 -0
- package/dist/ccip-DtOTIGBy.js +1 -0
- package/dist/ccip-DwIyS7_y.mjs +150 -0
- package/dist/data-capture-BRFlaLGs.js +242 -0
- package/dist/data-capture-CA5JJz0T.mjs +489 -0
- package/dist/email-BqnUUnkE.js +90 -0
- package/dist/email-C8Wfg0DW.mjs +338 -0
- package/dist/embedded-wallet-C3_Wuw8u.js +410 -0
- package/dist/embedded-wallet-DkhXdUnx.mjs +808 -0
- package/dist/features-BZoggdON.mjs +5 -0
- package/dist/features-I8DYEMV3.js +1 -0
- package/dist/index-BEd4u0iw.js +1 -0
- package/dist/index-BPYAlSd6.js +132 -0
- package/dist/index-BPZW2omQ.js +7203 -0
- package/dist/index-ByqXOARw.mjs +8792 -0
- package/dist/index-C9SAkqXG.js +1062 -0
- package/dist/index-CUlQi2EX.mjs +196 -0
- package/dist/index-CeLUBlqr.mjs +68752 -0
- package/dist/index-CkXotluz.mjs +151 -0
- package/dist/index-D0UfsSF5.mjs +2685 -0
- package/dist/index-DHltz-x1.mjs +215 -0
- package/dist/index-DRVHsNBA.mjs +352 -0
- package/dist/index-DRatSA2B.mjs +267 -0
- package/dist/index-DU5uzJkT.js +17 -0
- package/dist/index-DpGkNMqj.js +1 -0
- package/dist/index-cmRavC33.js +1 -0
- package/dist/index-lZ8cTWip.js +138 -0
- package/dist/index-uhM-Uk4v.js +78 -0
- package/dist/index-wms889HG.mjs +35 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.es.js +10 -0
- package/dist/onramp-De_bA1w6.mjs +842 -0
- package/dist/onramp-EIHCZ9g_.js +422 -0
- package/dist/parseSignature-BvqB8KFD.js +16 -0
- package/dist/parseSignature-D375GU0u.mjs +8465 -0
- package/dist/pay-with-exchange-Cgpar9Ud.mjs +512 -0
- package/dist/pay-with-exchange-DGovmrR0.js +280 -0
- package/dist/property-Bd8U3_QP.mjs +618 -0
- package/dist/property-DissjCbZ.js +27 -0
- package/dist/receive-C9PzbXJR.mjs +228 -0
- package/dist/receive-CGS-CjH9.js +131 -0
- package/dist/send-CSXHNfF5.js +554 -0
- package/dist/send-HSo8sShU.mjs +1155 -0
- package/dist/socials-R83S9ZJf.js +250 -0
- package/dist/socials-fJrgkZ_3.mjs +611 -0
- package/dist/swaps-CrrgExrc.mjs +1752 -0
- package/dist/swaps-DV5-oRwn.js +1050 -0
- package/dist/transactions-BQeUJzm6.mjs +35 -0
- package/dist/transactions-DrhN3k8s.js +16 -0
- package/dist/w3m-modal-CgAulf1i.mjs +1759 -0
- package/dist/w3m-modal-CrAjjbwi.js +891 -0
- package/package.json +27 -15
- package/config.js +0 -39
- package/src/index.js +0 -17
- package/src/network-test.js +0 -14
- package/src/provider.js +0 -24
- package/src/use-app.js +0 -10
- package/src/use-private-storage.js +0 -104
- package/src/use-read-storage.js +0 -97
- package/src/use-storage.js +0 -104
- package/src/use-table-storage.js +0 -247
- package/src/web3-storage.sol +0 -198
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { n, Y as g, t as r, p as d, O as p, s as u } from "./property-Bd8U3_QP.mjs";
|
|
2
|
+
var M = Object.defineProperty, w = Object.getOwnPropertyDescriptor, s = (a, o, h, i) => {
|
|
3
|
+
for (var e = i > 1 ? void 0 : i ? w(o, h) : o, l = a.length - 1, c; l >= 0; l--)
|
|
4
|
+
(c = a[l]) && (e = (i ? c(o, h, e) : c(e)) || e);
|
|
5
|
+
return i && e && M(o, h, e), e;
|
|
6
|
+
};
|
|
7
|
+
let t = class extends n {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(...arguments), this.size = "1em", this.weight = "regular", this.color = "currentColor", this.mirrored = !1;
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
var a;
|
|
13
|
+
return g`<svg
|
|
14
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
15
|
+
width="${this.size}"
|
|
16
|
+
height="${this.size}"
|
|
17
|
+
fill="${this.color}"
|
|
18
|
+
viewBox="0 0 256 256"
|
|
19
|
+
transform=${this.mirrored ? "scale(-1, 1)" : null}
|
|
20
|
+
>
|
|
21
|
+
${t.weightsMap.get((a = this.weight) != null ? a : "regular")}
|
|
22
|
+
</svg>`;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
t.weightsMap = /* @__PURE__ */ new Map([
|
|
26
|
+
[
|
|
27
|
+
"thin",
|
|
28
|
+
r`<path d="M227.46,214c-16.52-28.56-43-48.06-73.68-55.09a68,68,0,1,0-51.56,0c-30.64,7-57.16,26.53-73.68,55.09a4,4,0,0,0,6.92,4C55,184.19,89.62,164,128,164s73,20.19,92.54,54a4,4,0,0,0,3.46,2,3.93,3.93,0,0,0,2-.54A4,4,0,0,0,227.46,214ZM68,96a60,60,0,1,1,60,60A60.07,60.07,0,0,1,68,96Z"/>`
|
|
29
|
+
],
|
|
30
|
+
[
|
|
31
|
+
"light",
|
|
32
|
+
r`<path d="M229.19,213c-15.81-27.32-40.63-46.49-69.47-54.62a70,70,0,1,0-63.44,0C67.44,166.5,42.62,185.67,26.81,213a6,6,0,1,0,10.38,6C56.4,185.81,90.34,166,128,166s71.6,19.81,90.81,53a6,6,0,1,0,10.38-6ZM70,96a58,58,0,1,1,58,58A58.07,58.07,0,0,1,70,96Z"/>`
|
|
33
|
+
],
|
|
34
|
+
[
|
|
35
|
+
"regular",
|
|
36
|
+
r`<path d="M230.92,212c-15.23-26.33-38.7-45.21-66.09-54.16a72,72,0,1,0-73.66,0C63.78,166.78,40.31,185.66,25.08,212a8,8,0,1,0,13.85,8c18.84-32.56,52.14-52,89.07-52s70.23,19.44,89.07,52a8,8,0,1,0,13.85-8ZM72,96a56,56,0,1,1,56,56A56.06,56.06,0,0,1,72,96Z"/>`
|
|
37
|
+
],
|
|
38
|
+
[
|
|
39
|
+
"bold",
|
|
40
|
+
r`<path d="M234.38,210a123.36,123.36,0,0,0-60.78-53.23,76,76,0,1,0-91.2,0A123.36,123.36,0,0,0,21.62,210a12,12,0,1,0,20.77,12c18.12-31.32,50.12-50,85.61-50s67.49,18.69,85.61,50a12,12,0,0,0,20.77-12ZM76,96a52,52,0,1,1,52,52A52.06,52.06,0,0,1,76,96Z"/>`
|
|
41
|
+
],
|
|
42
|
+
[
|
|
43
|
+
"fill",
|
|
44
|
+
r`<path d="M230.93,220a8,8,0,0,1-6.93,4H32a8,8,0,0,1-6.92-12c15.23-26.33,38.7-45.21,66.09-54.16a72,72,0,1,1,73.66,0c27.39,8.95,50.86,27.83,66.09,54.16A8,8,0,0,1,230.93,220Z"/>`
|
|
45
|
+
],
|
|
46
|
+
[
|
|
47
|
+
"duotone",
|
|
48
|
+
r`<path d="M192,96a64,64,0,1,1-64-64A64,64,0,0,1,192,96Z" opacity="0.2"/><path d="M230.92,212c-15.23-26.33-38.7-45.21-66.09-54.16a72,72,0,1,0-73.66,0C63.78,166.78,40.31,185.66,25.08,212a8,8,0,1,0,13.85,8c18.84-32.56,52.14-52,89.07-52s70.23,19.44,89.07,52a8,8,0,1,0,13.85-8ZM72,96a56,56,0,1,1,56,56A56.06,56.06,0,0,1,72,96Z"/>`
|
|
49
|
+
]
|
|
50
|
+
]);
|
|
51
|
+
t.styles = d`
|
|
52
|
+
:host {
|
|
53
|
+
display: contents;
|
|
54
|
+
}
|
|
55
|
+
`;
|
|
56
|
+
s([
|
|
57
|
+
p({ type: String, reflect: !0 })
|
|
58
|
+
], t.prototype, "size", 2);
|
|
59
|
+
s([
|
|
60
|
+
p({ type: String, reflect: !0 })
|
|
61
|
+
], t.prototype, "weight", 2);
|
|
62
|
+
s([
|
|
63
|
+
p({ type: String, reflect: !0 })
|
|
64
|
+
], t.prototype, "color", 2);
|
|
65
|
+
s([
|
|
66
|
+
p({ type: Boolean, reflect: !0 })
|
|
67
|
+
], t.prototype, "mirrored", 2);
|
|
68
|
+
t = s([
|
|
69
|
+
u("ph-user")
|
|
70
|
+
], t);
|
|
71
|
+
export {
|
|
72
|
+
t as PhUser
|
|
73
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { n as v, Y as l, t as e, p as n, O as i, s as g } from "./property-Bd8U3_QP.mjs";
|
|
2
|
+
var Z = Object.defineProperty, m = Object.getOwnPropertyDescriptor, o = (r, H, s, h) => {
|
|
3
|
+
for (var a = h > 1 ? void 0 : h ? m(H, s) : H, V = r.length - 1, p; V >= 0; V--)
|
|
4
|
+
(p = r[V]) && (a = (h ? p(H, s, a) : p(a)) || a);
|
|
5
|
+
return h && a && Z(H, s, a), a;
|
|
6
|
+
};
|
|
7
|
+
let t = class extends v {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(...arguments), this.size = "1em", this.weight = "regular", this.color = "currentColor", this.mirrored = !1;
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
var r;
|
|
13
|
+
return l`<svg
|
|
14
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
15
|
+
width="${this.size}"
|
|
16
|
+
height="${this.size}"
|
|
17
|
+
fill="${this.color}"
|
|
18
|
+
viewBox="0 0 256 256"
|
|
19
|
+
transform=${this.mirrored ? "scale(-1, 1)" : null}
|
|
20
|
+
>
|
|
21
|
+
${t.weightsMap.get((r = this.weight) != null ? r : "regular")}
|
|
22
|
+
</svg>`;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
t.weightsMap = /* @__PURE__ */ new Map([
|
|
26
|
+
[
|
|
27
|
+
"thin",
|
|
28
|
+
e`<path d="M216,44H40A12,12,0,0,0,28,56V192a12,12,0,0,0,12,12H60v20a4,4,0,0,0,8,0V204H188v20a4,4,0,0,0,8,0V204h20a12,12,0,0,0,12-12V56A12,12,0,0,0,216,44Zm0,152H40a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4H216a4,4,0,0,1,4,4v68H195.81a44,44,0,1,0,0,8H220v60A4,4,0,0,1,216,196Zm-52.7-72a12,12,0,1,0,0,8h24.47a36,36,0,1,1,0-8Z"/>`
|
|
29
|
+
],
|
|
30
|
+
[
|
|
31
|
+
"light",
|
|
32
|
+
e`<path d="M216,42H40A14,14,0,0,0,26,56V192a14,14,0,0,0,14,14H58v18a6,6,0,0,0,12,0V206H186v18a6,6,0,0,0,12,0V206h18a14,14,0,0,0,14-14V56A14,14,0,0,0,216,42Zm0,152H40a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2H216a2,2,0,0,1,2,2v66H197.6a46,46,0,1,0,0,12H218v58A2,2,0,0,1,216,194Zm-51.37-72a14,14,0,1,0,0,12h20.83a34,34,0,1,1,0-12Z"/>`
|
|
33
|
+
],
|
|
34
|
+
[
|
|
35
|
+
"regular",
|
|
36
|
+
e`<path d="M216,40H40A16,16,0,0,0,24,56V192a16,16,0,0,0,16,16H56v16a8,8,0,0,0,16,0V208H184v16a8,8,0,0,0,16,0V208h16a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,152H40V56H216v64H199.32a48,48,0,1,0,0,16H216v56Zm-50.16-72a16,16,0,1,0,0,16H183a32,32,0,1,1,0-16Z"/>`
|
|
37
|
+
],
|
|
38
|
+
[
|
|
39
|
+
"bold",
|
|
40
|
+
e`<path d="M216,36H40A20,20,0,0,0,20,56V192a20,20,0,0,0,20,20H52v12a12,12,0,0,0,24,0V212H180v12a12,12,0,0,0,24,0V212h12a20,20,0,0,0,20-20V56A20,20,0,0,0,216,36ZM44,188V60H212v52H190.32a44,44,0,1,0,0,24H212v52Zm124-64a20,20,0,1,1-20-20A20,20,0,0,1,168,124Z"/>`
|
|
41
|
+
],
|
|
42
|
+
[
|
|
43
|
+
"fill",
|
|
44
|
+
e`<path d="M216,40H40A16,16,0,0,0,24,56V192a16,16,0,0,0,16,16H56v16a8,8,0,0,0,16,0V208H184v16a8,8,0,0,0,16,0V208h16a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm-8,96H179.09a36,36,0,1,1,0-16H208a8,8,0,0,1,0,16Zm-44-8a20,20,0,1,1-20-20A20,20,0,0,1,164,128Z"/>`
|
|
45
|
+
],
|
|
46
|
+
[
|
|
47
|
+
"duotone",
|
|
48
|
+
e`<path d="M216,48H40a8,8,0,0,0-8,8V192a8,8,0,0,0,8,8H216a8,8,0,0,0,8-8V56A8,8,0,0,0,216,48ZM152,168a40,40,0,1,1,40-40A40,40,0,0,1,152,168Z" opacity="0.2"/><path d="M216,40H40A16,16,0,0,0,24,56V192a16,16,0,0,0,16,16H56v16a8,8,0,0,0,16,0V208H184v16a8,8,0,0,0,16,0V208h16a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,152H40V56H216v64H199.32a48,48,0,1,0,0,16H216v56Zm-50.16-72a16,16,0,1,0,0,16H183a32,32,0,1,1,0-16Z"/>`
|
|
49
|
+
]
|
|
50
|
+
]);
|
|
51
|
+
t.styles = n`
|
|
52
|
+
:host {
|
|
53
|
+
display: contents;
|
|
54
|
+
}
|
|
55
|
+
`;
|
|
56
|
+
o([
|
|
57
|
+
i({ type: String, reflect: !0 })
|
|
58
|
+
], t.prototype, "size", 2);
|
|
59
|
+
o([
|
|
60
|
+
i({ type: String, reflect: !0 })
|
|
61
|
+
], t.prototype, "weight", 2);
|
|
62
|
+
o([
|
|
63
|
+
i({ type: String, reflect: !0 })
|
|
64
|
+
], t.prototype, "color", 2);
|
|
65
|
+
o([
|
|
66
|
+
i({ type: Boolean, reflect: !0 })
|
|
67
|
+
], t.prototype, "mirrored", 2);
|
|
68
|
+
t = o([
|
|
69
|
+
g("ph-vault")
|
|
70
|
+
], t);
|
|
71
|
+
export {
|
|
72
|
+
t as PhVault
|
|
73
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./property-DissjCbZ.js");var H=Object.defineProperty,s=Object.getOwnPropertyDescriptor,r=(o,a,l,h)=>{for(var e=h>1?void 0:h?s(a,l):a,V=o.length-1,i;V>=0;V--)(i=o[V])&&(e=(h?i(a,l,e):i(e))||e);return h&&e&&H(a,l,e),e};exports.PhVault=class extends t.n{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var a;return t.Y`<svg
|
|
2
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
+
width="${this.size}"
|
|
4
|
+
height="${this.size}"
|
|
5
|
+
fill="${this.color}"
|
|
6
|
+
viewBox="0 0 256 256"
|
|
7
|
+
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
|
+
>
|
|
9
|
+
${exports.PhVault.weightsMap.get((a=this.weight)!=null?a:"regular")}
|
|
10
|
+
</svg>`}};exports.PhVault.weightsMap=new Map([["thin",t.tt`<path d="M216,44H40A12,12,0,0,0,28,56V192a12,12,0,0,0,12,12H60v20a4,4,0,0,0,8,0V204H188v20a4,4,0,0,0,8,0V204h20a12,12,0,0,0,12-12V56A12,12,0,0,0,216,44Zm0,152H40a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4H216a4,4,0,0,1,4,4v68H195.81a44,44,0,1,0,0,8H220v60A4,4,0,0,1,216,196Zm-52.7-72a12,12,0,1,0,0,8h24.47a36,36,0,1,1,0-8Z"/>`],["light",t.tt`<path d="M216,42H40A14,14,0,0,0,26,56V192a14,14,0,0,0,14,14H58v18a6,6,0,0,0,12,0V206H186v18a6,6,0,0,0,12,0V206h18a14,14,0,0,0,14-14V56A14,14,0,0,0,216,42Zm0,152H40a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2H216a2,2,0,0,1,2,2v66H197.6a46,46,0,1,0,0,12H218v58A2,2,0,0,1,216,194Zm-51.37-72a14,14,0,1,0,0,12h20.83a34,34,0,1,1,0-12Z"/>`],["regular",t.tt`<path d="M216,40H40A16,16,0,0,0,24,56V192a16,16,0,0,0,16,16H56v16a8,8,0,0,0,16,0V208H184v16a8,8,0,0,0,16,0V208h16a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,152H40V56H216v64H199.32a48,48,0,1,0,0,16H216v56Zm-50.16-72a16,16,0,1,0,0,16H183a32,32,0,1,1,0-16Z"/>`],["bold",t.tt`<path d="M216,36H40A20,20,0,0,0,20,56V192a20,20,0,0,0,20,20H52v12a12,12,0,0,0,24,0V212H180v12a12,12,0,0,0,24,0V212h12a20,20,0,0,0,20-20V56A20,20,0,0,0,216,36ZM44,188V60H212v52H190.32a44,44,0,1,0,0,24H212v52Zm124-64a20,20,0,1,1-20-20A20,20,0,0,1,168,124Z"/>`],["fill",t.tt`<path d="M216,40H40A16,16,0,0,0,24,56V192a16,16,0,0,0,16,16H56v16a8,8,0,0,0,16,0V208H184v16a8,8,0,0,0,16,0V208h16a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm-8,96H179.09a36,36,0,1,1,0-16H208a8,8,0,0,1,0,16Zm-44-8a20,20,0,1,1-20-20A20,20,0,0,1,164,128Z"/>`],["duotone",t.tt`<path d="M216,48H40a8,8,0,0,0-8,8V192a8,8,0,0,0,8,8H216a8,8,0,0,0,8-8V56A8,8,0,0,0,216,48ZM152,168a40,40,0,1,1,40-40A40,40,0,0,1,152,168Z" opacity="0.2"/><path d="M216,40H40A16,16,0,0,0,24,56V192a16,16,0,0,0,16,16H56v16a8,8,0,0,0,16,0V208H184v16a8,8,0,0,0,16,0V208h16a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,152H40V56H216v64H199.32a48,48,0,1,0,0,16H216v56Zm-50.16-72a16,16,0,1,0,0,16H183a32,32,0,1,1,0-16Z"/>`]]);exports.PhVault.styles=t.p`
|
|
11
|
+
:host {
|
|
12
|
+
display: contents;
|
|
13
|
+
}
|
|
14
|
+
`;r([t.O({type:String,reflect:!0})],exports.PhVault.prototype,"size",2);r([t.O({type:String,reflect:!0})],exports.PhVault.prototype,"weight",2);r([t.O({type:String,reflect:!0})],exports.PhVault.prototype,"color",2);r([t.O({type:Boolean,reflect:!0})],exports.PhVault.prototype,"mirrored",2);exports.PhVault=r([t.s("ph-vault")],exports.PhVault);
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { n as A, Y as n, t as a, p as g, O as H, s as c } from "./property-Bd8U3_QP.mjs";
|
|
2
|
+
var d = Object.defineProperty, m = Object.getOwnPropertyDescriptor, o = (r, i, p, s) => {
|
|
3
|
+
for (var e = s > 1 ? void 0 : s ? m(i, p) : i, l = r.length - 1, h; l >= 0; l--)
|
|
4
|
+
(h = r[l]) && (e = (s ? h(i, p, e) : h(e)) || e);
|
|
5
|
+
return s && e && d(i, p, e), e;
|
|
6
|
+
};
|
|
7
|
+
let t = class extends A {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(...arguments), this.size = "1em", this.weight = "regular", this.color = "currentColor", this.mirrored = !1;
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
var r;
|
|
13
|
+
return n`<svg
|
|
14
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
15
|
+
width="${this.size}"
|
|
16
|
+
height="${this.size}"
|
|
17
|
+
fill="${this.color}"
|
|
18
|
+
viewBox="0 0 256 256"
|
|
19
|
+
transform=${this.mirrored ? "scale(-1, 1)" : null}
|
|
20
|
+
>
|
|
21
|
+
${t.weightsMap.get((r = this.weight) != null ? r : "regular")}
|
|
22
|
+
</svg>`;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
t.weightsMap = /* @__PURE__ */ new Map([
|
|
26
|
+
[
|
|
27
|
+
"thin",
|
|
28
|
+
a`<path d="M216,68H56a12,12,0,0,1,0-24H192a4,4,0,0,0,0-8H56A20,20,0,0,0,36,56V184a20,20,0,0,0,20,20H216a12,12,0,0,0,12-12V80A12,12,0,0,0,216,68Zm4,124a4,4,0,0,1-4,4H56a12,12,0,0,1-12-12V72a19.86,19.86,0,0,0,12,4H216a4,4,0,0,1,4,4Zm-32-60a8,8,0,1,1-8-8A8,8,0,0,1,188,132Z"/>`
|
|
29
|
+
],
|
|
30
|
+
[
|
|
31
|
+
"light",
|
|
32
|
+
a`<path d="M216,66H56a10,10,0,0,1,0-20H192a6,6,0,0,0,0-12H56A22,22,0,0,0,34,56V184a22,22,0,0,0,22,22H216a14,14,0,0,0,14-14V80A14,14,0,0,0,216,66Zm2,126a2,2,0,0,1-2,2H56a10,10,0,0,1-10-10V75.59A21.84,21.84,0,0,0,56,78H216a2,2,0,0,1,2,2Zm-28-60a10,10,0,1,1-10-10A10,10,0,0,1,190,132Z"/>`
|
|
33
|
+
],
|
|
34
|
+
[
|
|
35
|
+
"regular",
|
|
36
|
+
a`<path d="M216,64H56a8,8,0,0,1,0-16H192a8,8,0,0,0,0-16H56A24,24,0,0,0,32,56V184a24,24,0,0,0,24,24H216a16,16,0,0,0,16-16V80A16,16,0,0,0,216,64Zm0,128H56a8,8,0,0,1-8-8V78.63A23.84,23.84,0,0,0,56,80H216Zm-48-60a12,12,0,1,1,12,12A12,12,0,0,1,168,132Z"/>`
|
|
37
|
+
],
|
|
38
|
+
[
|
|
39
|
+
"bold",
|
|
40
|
+
a`<path d="M196,136a16,16,0,1,1-16-16A16,16,0,0,1,196,136Zm40-36v80a32,32,0,0,1-32,32H60a32,32,0,0,1-32-32V60.92A32,32,0,0,1,60,28H192a12,12,0,0,1,0,24H60a8,8,0,0,0-8,8.26v.08A8.32,8.32,0,0,0,60.48,68H204A32,32,0,0,1,236,100Zm-24,0a8,8,0,0,0-8-8H60.48A33.72,33.72,0,0,1,52,90.92V180a8,8,0,0,0,8,8H204a8,8,0,0,0,8-8Z"/>`
|
|
41
|
+
],
|
|
42
|
+
[
|
|
43
|
+
"fill",
|
|
44
|
+
a`<path d="M216,64H56a8,8,0,0,1,0-16H192a8,8,0,0,0,0-16H56A24,24,0,0,0,32,56V184a24,24,0,0,0,24,24H216a16,16,0,0,0,16-16V80A16,16,0,0,0,216,64Zm-36,80a12,12,0,1,1,12-12A12,12,0,0,1,180,144Z"/>`
|
|
45
|
+
],
|
|
46
|
+
[
|
|
47
|
+
"duotone",
|
|
48
|
+
a`<path d="M224,80V192a8,8,0,0,1-8,8H56a16,16,0,0,1-16-16V56A16,16,0,0,0,56,72H216A8,8,0,0,1,224,80Z" opacity="0.2"/><path d="M216,64H56a8,8,0,0,1,0-16H192a8,8,0,0,0,0-16H56A24,24,0,0,0,32,56V184a24,24,0,0,0,24,24H216a16,16,0,0,0,16-16V80A16,16,0,0,0,216,64Zm0,128H56a8,8,0,0,1-8-8V78.63A23.84,23.84,0,0,0,56,80H216Zm-48-60a12,12,0,1,1,12,12A12,12,0,0,1,168,132Z"/>`
|
|
49
|
+
]
|
|
50
|
+
]);
|
|
51
|
+
t.styles = g`
|
|
52
|
+
:host {
|
|
53
|
+
display: contents;
|
|
54
|
+
}
|
|
55
|
+
`;
|
|
56
|
+
o([
|
|
57
|
+
H({ type: String, reflect: !0 })
|
|
58
|
+
], t.prototype, "size", 2);
|
|
59
|
+
o([
|
|
60
|
+
H({ type: String, reflect: !0 })
|
|
61
|
+
], t.prototype, "weight", 2);
|
|
62
|
+
o([
|
|
63
|
+
H({ type: String, reflect: !0 })
|
|
64
|
+
], t.prototype, "color", 2);
|
|
65
|
+
o([
|
|
66
|
+
H({ type: Boolean, reflect: !0 })
|
|
67
|
+
], t.prototype, "mirrored", 2);
|
|
68
|
+
t = o([
|
|
69
|
+
c("ph-wallet")
|
|
70
|
+
], t);
|
|
71
|
+
export {
|
|
72
|
+
t as PhWallet
|
|
73
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./property-DissjCbZ.js");var p=Object.defineProperty,H=Object.getOwnPropertyDescriptor,r=(o,e,h,l)=>{for(var a=l>1?void 0:l?H(e,h):e,i=o.length-1,s;i>=0;i--)(s=o[i])&&(a=(l?s(e,h,a):s(a))||a);return l&&a&&p(e,h,a),a};exports.PhWallet=class extends t.n{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var e;return t.Y`<svg
|
|
2
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
+
width="${this.size}"
|
|
4
|
+
height="${this.size}"
|
|
5
|
+
fill="${this.color}"
|
|
6
|
+
viewBox="0 0 256 256"
|
|
7
|
+
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
|
+
>
|
|
9
|
+
${exports.PhWallet.weightsMap.get((e=this.weight)!=null?e:"regular")}
|
|
10
|
+
</svg>`}};exports.PhWallet.weightsMap=new Map([["thin",t.tt`<path d="M216,68H56a12,12,0,0,1,0-24H192a4,4,0,0,0,0-8H56A20,20,0,0,0,36,56V184a20,20,0,0,0,20,20H216a12,12,0,0,0,12-12V80A12,12,0,0,0,216,68Zm4,124a4,4,0,0,1-4,4H56a12,12,0,0,1-12-12V72a19.86,19.86,0,0,0,12,4H216a4,4,0,0,1,4,4Zm-32-60a8,8,0,1,1-8-8A8,8,0,0,1,188,132Z"/>`],["light",t.tt`<path d="M216,66H56a10,10,0,0,1,0-20H192a6,6,0,0,0,0-12H56A22,22,0,0,0,34,56V184a22,22,0,0,0,22,22H216a14,14,0,0,0,14-14V80A14,14,0,0,0,216,66Zm2,126a2,2,0,0,1-2,2H56a10,10,0,0,1-10-10V75.59A21.84,21.84,0,0,0,56,78H216a2,2,0,0,1,2,2Zm-28-60a10,10,0,1,1-10-10A10,10,0,0,1,190,132Z"/>`],["regular",t.tt`<path d="M216,64H56a8,8,0,0,1,0-16H192a8,8,0,0,0,0-16H56A24,24,0,0,0,32,56V184a24,24,0,0,0,24,24H216a16,16,0,0,0,16-16V80A16,16,0,0,0,216,64Zm0,128H56a8,8,0,0,1-8-8V78.63A23.84,23.84,0,0,0,56,80H216Zm-48-60a12,12,0,1,1,12,12A12,12,0,0,1,168,132Z"/>`],["bold",t.tt`<path d="M196,136a16,16,0,1,1-16-16A16,16,0,0,1,196,136Zm40-36v80a32,32,0,0,1-32,32H60a32,32,0,0,1-32-32V60.92A32,32,0,0,1,60,28H192a12,12,0,0,1,0,24H60a8,8,0,0,0-8,8.26v.08A8.32,8.32,0,0,0,60.48,68H204A32,32,0,0,1,236,100Zm-24,0a8,8,0,0,0-8-8H60.48A33.72,33.72,0,0,1,52,90.92V180a8,8,0,0,0,8,8H204a8,8,0,0,0,8-8Z"/>`],["fill",t.tt`<path d="M216,64H56a8,8,0,0,1,0-16H192a8,8,0,0,0,0-16H56A24,24,0,0,0,32,56V184a24,24,0,0,0,24,24H216a16,16,0,0,0,16-16V80A16,16,0,0,0,216,64Zm-36,80a12,12,0,1,1,12-12A12,12,0,0,1,180,144Z"/>`],["duotone",t.tt`<path d="M224,80V192a8,8,0,0,1-8,8H56a16,16,0,0,1-16-16V56A16,16,0,0,0,56,72H216A8,8,0,0,1,224,80Z" opacity="0.2"/><path d="M216,64H56a8,8,0,0,1,0-16H192a8,8,0,0,0,0-16H56A24,24,0,0,0,32,56V184a24,24,0,0,0,24,24H216a16,16,0,0,0,16-16V80A16,16,0,0,0,216,64Zm0,128H56a8,8,0,0,1-8-8V78.63A23.84,23.84,0,0,0,56,80H216Zm-48-60a12,12,0,1,1,12,12A12,12,0,0,1,168,132Z"/>`]]);exports.PhWallet.styles=t.p`
|
|
11
|
+
:host {
|
|
12
|
+
display: contents;
|
|
13
|
+
}
|
|
14
|
+
`;r([t.O({type:String,reflect:!0})],exports.PhWallet.prototype,"size",2);r([t.O({type:String,reflect:!0})],exports.PhWallet.prototype,"weight",2);r([t.O({type:String,reflect:!0})],exports.PhWallet.prototype,"color",2);r([t.O({type:Boolean,reflect:!0})],exports.PhWallet.prototype,"mirrored",2);exports.PhWallet=r([t.s("ph-wallet")],exports.PhWallet);
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { n as Z, Y as g, t as e, p as A, O as s, s as M } from "./property-Bd8U3_QP.mjs";
|
|
2
|
+
var c = Object.defineProperty, d = Object.getOwnPropertyDescriptor, o = (r, h, l, i) => {
|
|
3
|
+
for (var t = i > 1 ? void 0 : i ? d(h, l) : h, p = r.length - 1, n; p >= 0; p--)
|
|
4
|
+
(n = r[p]) && (t = (i ? n(h, l, t) : n(t)) || t);
|
|
5
|
+
return i && t && c(h, l, t), t;
|
|
6
|
+
};
|
|
7
|
+
let a = class extends Z {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(...arguments), this.size = "1em", this.weight = "regular", this.color = "currentColor", this.mirrored = !1;
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
var r;
|
|
13
|
+
return g`<svg
|
|
14
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
15
|
+
width="${this.size}"
|
|
16
|
+
height="${this.size}"
|
|
17
|
+
fill="${this.color}"
|
|
18
|
+
viewBox="0 0 256 256"
|
|
19
|
+
transform=${this.mirrored ? "scale(-1, 1)" : null}
|
|
20
|
+
>
|
|
21
|
+
${a.weightsMap.get((r = this.weight) != null ? r : "regular")}
|
|
22
|
+
</svg>`;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
a.weightsMap = /* @__PURE__ */ new Map([
|
|
26
|
+
[
|
|
27
|
+
"thin",
|
|
28
|
+
e`<path d="M233.34,190.09,145.88,38.22h0a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8ZM124,144V104a4,4,0,0,1,8,0v40a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"/>`
|
|
29
|
+
],
|
|
30
|
+
[
|
|
31
|
+
"light",
|
|
32
|
+
e`<path d="M235.07,189.09,147.61,37.22h0a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.51,9.51,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.51,9.51,0,0,1,224.66,204.8ZM122,144V104a6,6,0,0,1,12,0v40a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"/>`
|
|
33
|
+
],
|
|
34
|
+
[
|
|
35
|
+
"regular",
|
|
36
|
+
e`<path d="M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"/>`
|
|
37
|
+
],
|
|
38
|
+
[
|
|
39
|
+
"bold",
|
|
40
|
+
e`<path d="M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.77,4.77,0,0,1,8,0l87.44,151.87A3.56,3.56,0,0,1,219.46,201.8ZM116,136V104a12,12,0,0,1,24,0v32a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,176Z"/>`
|
|
41
|
+
],
|
|
42
|
+
[
|
|
43
|
+
"fill",
|
|
44
|
+
e`<path d="M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z"/>`
|
|
45
|
+
],
|
|
46
|
+
[
|
|
47
|
+
"duotone",
|
|
48
|
+
e`<path d="M215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22c6.3-11,22.52-11,28.82,0l87.46,151.87C236,202.79,228.08,216,215.46,216Z" opacity="0.2"/><path d="M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"/>`
|
|
49
|
+
]
|
|
50
|
+
]);
|
|
51
|
+
a.styles = A`
|
|
52
|
+
:host {
|
|
53
|
+
display: contents;
|
|
54
|
+
}
|
|
55
|
+
`;
|
|
56
|
+
o([
|
|
57
|
+
s({ type: String, reflect: !0 })
|
|
58
|
+
], a.prototype, "size", 2);
|
|
59
|
+
o([
|
|
60
|
+
s({ type: String, reflect: !0 })
|
|
61
|
+
], a.prototype, "weight", 2);
|
|
62
|
+
o([
|
|
63
|
+
s({ type: String, reflect: !0 })
|
|
64
|
+
], a.prototype, "color", 2);
|
|
65
|
+
o([
|
|
66
|
+
s({ type: Boolean, reflect: !0 })
|
|
67
|
+
], a.prototype, "mirrored", 2);
|
|
68
|
+
a = o([
|
|
69
|
+
M("ph-warning")
|
|
70
|
+
], a);
|
|
71
|
+
export {
|
|
72
|
+
a as PhWarning
|
|
73
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./property-DissjCbZ.js");var s=Object.defineProperty,g=Object.getOwnPropertyDescriptor,e=(n,t,h,i)=>{for(var r=i>1?void 0:i?g(t,h):t,o=n.length-1,l;o>=0;o--)(l=n[o])&&(r=(i?l(t,h,r):l(r))||r);return i&&r&&s(t,h,r),r};exports.PhWarning=class extends a.n{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var t;return a.Y`<svg
|
|
2
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
+
width="${this.size}"
|
|
4
|
+
height="${this.size}"
|
|
5
|
+
fill="${this.color}"
|
|
6
|
+
viewBox="0 0 256 256"
|
|
7
|
+
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
|
+
>
|
|
9
|
+
${exports.PhWarning.weightsMap.get((t=this.weight)!=null?t:"regular")}
|
|
10
|
+
</svg>`}};exports.PhWarning.weightsMap=new Map([["thin",a.tt`<path d="M233.34,190.09,145.88,38.22h0a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8ZM124,144V104a4,4,0,0,1,8,0v40a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"/>`],["light",a.tt`<path d="M235.07,189.09,147.61,37.22h0a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.51,9.51,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.51,9.51,0,0,1,224.66,204.8ZM122,144V104a6,6,0,0,1,12,0v40a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"/>`],["regular",a.tt`<path d="M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"/>`],["bold",a.tt`<path d="M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.77,4.77,0,0,1,8,0l87.44,151.87A3.56,3.56,0,0,1,219.46,201.8ZM116,136V104a12,12,0,0,1,24,0v32a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,176Z"/>`],["fill",a.tt`<path d="M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z"/>`],["duotone",a.tt`<path d="M215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22c6.3-11,22.52-11,28.82,0l87.46,151.87C236,202.79,228.08,216,215.46,216Z" opacity="0.2"/><path d="M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"/>`]]);exports.PhWarning.styles=a.p`
|
|
11
|
+
:host {
|
|
12
|
+
display: contents;
|
|
13
|
+
}
|
|
14
|
+
`;e([a.O({type:String,reflect:!0})],exports.PhWarning.prototype,"size",2);e([a.O({type:String,reflect:!0})],exports.PhWarning.prototype,"weight",2);e([a.O({type:String,reflect:!0})],exports.PhWarning.prototype,"color",2);e([a.O({type:Boolean,reflect:!0})],exports.PhWarning.prototype,"mirrored",2);exports.PhWarning=e([a.s("ph-warning")],exports.PhWarning);
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { n as m, Y as Z, t as r, p as g, O as p, s as c } from "./property-Bd8U3_QP.mjs";
|
|
2
|
+
var A = Object.defineProperty, d = Object.getOwnPropertyDescriptor, o = (a, i, l, s) => {
|
|
3
|
+
for (var e = s > 1 ? void 0 : s ? d(i, l) : i, h = a.length - 1, n; h >= 0; h--)
|
|
4
|
+
(n = a[h]) && (e = (s ? n(i, l, e) : n(e)) || e);
|
|
5
|
+
return s && e && A(i, l, e), e;
|
|
6
|
+
};
|
|
7
|
+
let t = class extends m {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(...arguments), this.size = "1em", this.weight = "regular", this.color = "currentColor", this.mirrored = !1;
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
var a;
|
|
13
|
+
return Z`<svg
|
|
14
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
15
|
+
width="${this.size}"
|
|
16
|
+
height="${this.size}"
|
|
17
|
+
fill="${this.color}"
|
|
18
|
+
viewBox="0 0 256 256"
|
|
19
|
+
transform=${this.mirrored ? "scale(-1, 1)" : null}
|
|
20
|
+
>
|
|
21
|
+
${t.weightsMap.get((a = this.weight) != null ? a : "regular")}
|
|
22
|
+
</svg>`;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
t.weightsMap = /* @__PURE__ */ new Map([
|
|
26
|
+
[
|
|
27
|
+
"thin",
|
|
28
|
+
r`<path d="M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm-4-84V80a4,4,0,0,1,8,0v56a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,172Z"/>`
|
|
29
|
+
],
|
|
30
|
+
[
|
|
31
|
+
"light",
|
|
32
|
+
r`<path d="M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm-6-82V80a6,6,0,0,1,12,0v56a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,172Z"/>`
|
|
33
|
+
],
|
|
34
|
+
[
|
|
35
|
+
"regular",
|
|
36
|
+
r`<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"/>`
|
|
37
|
+
],
|
|
38
|
+
[
|
|
39
|
+
"bold",
|
|
40
|
+
r`<path d="M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm-12-80V80a12,12,0,0,1,24,0v52a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,172Z"/>`
|
|
41
|
+
],
|
|
42
|
+
[
|
|
43
|
+
"fill",
|
|
44
|
+
r`<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-8,56a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm8,104a12,12,0,1,1,12-12A12,12,0,0,1,128,184Z"/>`
|
|
45
|
+
],
|
|
46
|
+
[
|
|
47
|
+
"duotone",
|
|
48
|
+
r`<path d="M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z" opacity="0.2"/><path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"/>`
|
|
49
|
+
]
|
|
50
|
+
]);
|
|
51
|
+
t.styles = g`
|
|
52
|
+
:host {
|
|
53
|
+
display: contents;
|
|
54
|
+
}
|
|
55
|
+
`;
|
|
56
|
+
o([
|
|
57
|
+
p({ type: String, reflect: !0 })
|
|
58
|
+
], t.prototype, "size", 2);
|
|
59
|
+
o([
|
|
60
|
+
p({ type: String, reflect: !0 })
|
|
61
|
+
], t.prototype, "weight", 2);
|
|
62
|
+
o([
|
|
63
|
+
p({ type: String, reflect: !0 })
|
|
64
|
+
], t.prototype, "color", 2);
|
|
65
|
+
o([
|
|
66
|
+
p({ type: Boolean, reflect: !0 })
|
|
67
|
+
], t.prototype, "mirrored", 2);
|
|
68
|
+
t = o([
|
|
69
|
+
c("ph-warning-circle")
|
|
70
|
+
], t);
|
|
71
|
+
export {
|
|
72
|
+
t as PhWarningCircle
|
|
73
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./property-DissjCbZ.js");var s=Object.defineProperty,g=Object.getOwnPropertyDescriptor,a=(n,e,o,i)=>{for(var r=i>1?void 0:i?g(e,o):e,l=n.length-1,h;l>=0;l--)(h=n[l])&&(r=(i?h(e,o,r):h(r))||r);return i&&r&&s(e,o,r),r};exports.PhWarningCircle=class extends t.n{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var e;return t.Y`<svg
|
|
2
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
+
width="${this.size}"
|
|
4
|
+
height="${this.size}"
|
|
5
|
+
fill="${this.color}"
|
|
6
|
+
viewBox="0 0 256 256"
|
|
7
|
+
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
|
+
>
|
|
9
|
+
${exports.PhWarningCircle.weightsMap.get((e=this.weight)!=null?e:"regular")}
|
|
10
|
+
</svg>`}};exports.PhWarningCircle.weightsMap=new Map([["thin",t.tt`<path d="M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm-4-84V80a4,4,0,0,1,8,0v56a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,172Z"/>`],["light",t.tt`<path d="M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm-6-82V80a6,6,0,0,1,12,0v56a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,172Z"/>`],["regular",t.tt`<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"/>`],["bold",t.tt`<path d="M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm-12-80V80a12,12,0,0,1,24,0v52a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,172Z"/>`],["fill",t.tt`<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-8,56a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm8,104a12,12,0,1,1,12-12A12,12,0,0,1,128,184Z"/>`],["duotone",t.tt`<path d="M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z" opacity="0.2"/><path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"/>`]]);exports.PhWarningCircle.styles=t.p`
|
|
11
|
+
:host {
|
|
12
|
+
display: contents;
|
|
13
|
+
}
|
|
14
|
+
`;a([t.O({type:String,reflect:!0})],exports.PhWarningCircle.prototype,"size",2);a([t.O({type:String,reflect:!0})],exports.PhWarningCircle.prototype,"weight",2);a([t.O({type:String,reflect:!0})],exports.PhWarningCircle.prototype,"color",2);a([t.O({type:Boolean,reflect:!0})],exports.PhWarningCircle.prototype,"mirrored",2);exports.PhWarningCircle=a([t.s("ph-warning-circle")],exports.PhWarningCircle);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./property-DissjCbZ.js");var p=Object.defineProperty,n=Object.getOwnPropertyDescriptor,a=(h,e,i,o)=>{for(var r=o>1?void 0:o?n(e,i):e,l=h.length-1,s;l>=0;l--)(s=h[l])&&(r=(o?s(e,i,r):s(r))||r);return o&&r&&p(e,i,r),r};exports.PhX=class extends t.n{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var e;return t.Y`<svg
|
|
2
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
+
width="${this.size}"
|
|
4
|
+
height="${this.size}"
|
|
5
|
+
fill="${this.color}"
|
|
6
|
+
viewBox="0 0 256 256"
|
|
7
|
+
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
|
+
>
|
|
9
|
+
${exports.PhX.weightsMap.get((e=this.weight)!=null?e:"regular")}
|
|
10
|
+
</svg>`}};exports.PhX.weightsMap=new Map([["thin",t.tt`<path d="M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"/>`],["light",t.tt`<path d="M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"/>`],["regular",t.tt`<path d="M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"/>`],["bold",t.tt`<path d="M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"/>`],["fill",t.tt`<path d="M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"/>`],["duotone",t.tt`<path d="M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z" opacity="0.2"/><path d="M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"/>`]]);exports.PhX.styles=t.p`
|
|
11
|
+
:host {
|
|
12
|
+
display: contents;
|
|
13
|
+
}
|
|
14
|
+
`;a([t.O({type:String,reflect:!0})],exports.PhX.prototype,"size",2);a([t.O({type:String,reflect:!0})],exports.PhX.prototype,"weight",2);a([t.O({type:String,reflect:!0})],exports.PhX.prototype,"color",2);a([t.O({type:Boolean,reflect:!0})],exports.PhX.prototype,"mirrored",2);exports.PhX=a([t.s("ph-x")],exports.PhX);
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { n as L, Y as g, t as r, p as d, O as s, s as c } from "./property-Bd8U3_QP.mjs";
|
|
2
|
+
var u = Object.defineProperty, w = Object.getOwnPropertyDescriptor, o = (a, i, p, l) => {
|
|
3
|
+
for (var e = l > 1 ? void 0 : l ? w(i, p) : i, h = a.length - 1, n; h >= 0; h--)
|
|
4
|
+
(n = a[h]) && (e = (l ? n(i, p, e) : n(e)) || e);
|
|
5
|
+
return l && e && u(i, p, e), e;
|
|
6
|
+
};
|
|
7
|
+
let t = class extends L {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(...arguments), this.size = "1em", this.weight = "regular", this.color = "currentColor", this.mirrored = !1;
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
var a;
|
|
13
|
+
return g`<svg
|
|
14
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
15
|
+
width="${this.size}"
|
|
16
|
+
height="${this.size}"
|
|
17
|
+
fill="${this.color}"
|
|
18
|
+
viewBox="0 0 256 256"
|
|
19
|
+
transform=${this.mirrored ? "scale(-1, 1)" : null}
|
|
20
|
+
>
|
|
21
|
+
${t.weightsMap.get((a = this.weight) != null ? a : "regular")}
|
|
22
|
+
</svg>`;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
t.weightsMap = /* @__PURE__ */ new Map([
|
|
26
|
+
[
|
|
27
|
+
"thin",
|
|
28
|
+
r`<path d="M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"/>`
|
|
29
|
+
],
|
|
30
|
+
[
|
|
31
|
+
"light",
|
|
32
|
+
r`<path d="M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"/>`
|
|
33
|
+
],
|
|
34
|
+
[
|
|
35
|
+
"regular",
|
|
36
|
+
r`<path d="M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"/>`
|
|
37
|
+
],
|
|
38
|
+
[
|
|
39
|
+
"bold",
|
|
40
|
+
r`<path d="M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"/>`
|
|
41
|
+
],
|
|
42
|
+
[
|
|
43
|
+
"fill",
|
|
44
|
+
r`<path d="M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"/>`
|
|
45
|
+
],
|
|
46
|
+
[
|
|
47
|
+
"duotone",
|
|
48
|
+
r`<path d="M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z" opacity="0.2"/><path d="M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"/>`
|
|
49
|
+
]
|
|
50
|
+
]);
|
|
51
|
+
t.styles = d`
|
|
52
|
+
:host {
|
|
53
|
+
display: contents;
|
|
54
|
+
}
|
|
55
|
+
`;
|
|
56
|
+
o([
|
|
57
|
+
s({ type: String, reflect: !0 })
|
|
58
|
+
], t.prototype, "size", 2);
|
|
59
|
+
o([
|
|
60
|
+
s({ type: String, reflect: !0 })
|
|
61
|
+
], t.prototype, "weight", 2);
|
|
62
|
+
o([
|
|
63
|
+
s({ type: String, reflect: !0 })
|
|
64
|
+
], t.prototype, "color", 2);
|
|
65
|
+
o([
|
|
66
|
+
s({ type: Boolean, reflect: !0 })
|
|
67
|
+
], t.prototype, "mirrored", 2);
|
|
68
|
+
t = o([
|
|
69
|
+
c("ph-x")
|
|
70
|
+
], t);
|
|
71
|
+
export {
|
|
72
|
+
t as PhX
|
|
73
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";const s=require("./index-BPZW2omQ.js");class f{constructor(e){this.getNonce=e.getNonce}async createMessage(e){const t={accountAddress:e.accountAddress,chainId:e.chainId,version:"1",domain:typeof document>"u"?"Unknown Domain":document.location.host,uri:typeof document>"u"?"Unknown URI":document.location.href,resources:this.resources,nonce:await this.getNonce(e),issuedAt:this.stringifyDate(new Date),statement:void 0,expirationTime:void 0,notBefore:void 0};return Object.assign(t,{toString:()=>this.stringify(t)})}stringify(e){var n;const t=this.getNetworkName(e.chainId);return[`${e.domain} wants you to sign in with your ${t} account:`,e.accountAddress,e.statement?`
|
|
2
|
+
${e.statement}
|
|
3
|
+
`:"",`URI: ${e.uri}`,`Version: ${e.version}`,`Chain ID: ${e.chainId}`,`Nonce: ${e.nonce}`,e.issuedAt&&`Issued At: ${e.issuedAt}`,e.expirationTime&&`Expiration Time: ${e.expirationTime}`,e.notBefore&&`Not Before: ${e.notBefore}`,e.requestId&&`Request ID: ${e.requestId}`,((n=e.resources)==null?void 0:n.length)&&e.resources.reduce((o,r)=>`${o}
|
|
4
|
+
- ${r}`,"Resources:")].filter(o=>typeof o=="string").join(`
|
|
5
|
+
`).trim()}getNetworkName(e){const t=s.ChainController.getAllRequestedCaipNetworks();return s.NetworkUtil.getNetworkNameByCaipNetworkId(t,e)}stringifyDate(e){return e.toISOString()}}class S{constructor(e={}){this.otpUuid=null,this.listeners={sessionChanged:[]},this.localAuthStorageKey=e.localAuthStorageKey||s.SafeLocalStorageKeys.SIWX_AUTH_TOKEN,this.localNonceStorageKey=e.localNonceStorageKey||s.SafeLocalStorageKeys.SIWX_NONCE_TOKEN,this.required=e.required??!0,this.messenger=new f({getNonce:this.getNonce.bind(this)})}async createMessage(e){return this.messenger.createMessage(e)}async addSession(e){const t=await this.request({method:"POST",key:"authenticate",body:{data:e.data,message:e.message,signature:e.signature,clientId:this.getClientId(),walletInfo:this.getWalletInfo()},headers:["nonce","otp"]});this.setStorageToken(t.token,this.localAuthStorageKey),this.emit("sessionChanged",e),this.setAppKitAccountUser(w(t.token)),this.otpUuid=null}async getSessions(e,t){try{if(!this.getStorageToken(this.localAuthStorageKey))return[];const n=await this.request({method:"GET",key:"me",query:{},headers:["auth"]});if(!n)return[];const o=n.address.toLowerCase()===t.toLowerCase(),r=n.caip2Network===e;if(!o||!r)return[];const i={data:{accountAddress:n.address,chainId:n.caip2Network},message:"",signature:""};return this.emit("sessionChanged",i),this.setAppKitAccountUser(n),[i]}catch{return[]}}async revokeSession(e,t){return Promise.resolve(this.clearStorageTokens())}async setSessions(e){if(e.length===0)this.clearStorageTokens();else{const t=e.find(n=>{var o;return n.data.chainId===((o=s.getActiveCaipNetwork())==null?void 0:o.caipNetworkId)})||e[0];await this.addSession(t)}}getRequired(){return this.required}async getSessionAccount(){if(!this.getStorageToken(this.localAuthStorageKey))throw new Error("Not authenticated");return this.request({method:"GET",key:"me",body:void 0,query:{includeAppKitAccount:!0},headers:["auth"]})}async setSessionAccountMetadata(e=null){if(!this.getStorageToken(this.localAuthStorageKey))throw new Error("Not authenticated");return this.request({method:"PUT",key:"account-metadata",body:{metadata:e},headers:["auth"]})}on(e,t){return this.listeners[e].push(t),()=>{this.listeners[e]=this.listeners[e].filter(n=>n!==t)}}removeAllListeners(){Object.keys(this.listeners).forEach(t=>{this.listeners[t]=[]})}async requestEmailOtp({email:e,account:t}){const n=await this.request({method:"POST",key:"otp",body:{email:e,account:t}});return this.otpUuid=n.uuid,this.messenger.resources=[`email:${e}`],n}confirmEmailOtp({code:e}){return this.request({method:"PUT",key:"otp",body:{code:e},headers:["otp"]})}async request({method:e,key:t,query:n,body:o,headers:r}){var g;const{projectId:i,st:h,sv:y}=this.getSDKProperties(),c=new URL(`${s.ConstantsUtil.W3M_API_URL}/auth/v1/${String(t)}`);c.searchParams.set("projectId",i),c.searchParams.set("st",h),c.searchParams.set("sv",y),n&&Object.entries(n).forEach(([a,l])=>c.searchParams.set(a,String(l)));const u=await fetch(c,{method:e,body:o?JSON.stringify(o):void 0,headers:Array.isArray(r)?r.reduce((a,l)=>{switch(l){case"nonce":a["x-nonce-jwt"]=`Bearer ${this.getStorageToken(this.localNonceStorageKey)}`;break;case"auth":a.Authorization=`Bearer ${this.getStorageToken(this.localAuthStorageKey)}`;break;case"otp":this.otpUuid&&(a["x-otp"]=this.otpUuid);break}return a},{}):void 0});if(!u.ok)throw new Error(await u.text());return(g=u.headers.get("content-type"))!=null&&g.includes("application/json")?u.json():null}getStorageToken(e){return s.SafeLocalStorage.getItem(e)}setStorageToken(e,t){s.SafeLocalStorage.setItem(t,e)}clearStorageTokens(){this.otpUuid=null,s.SafeLocalStorage.removeItem(this.localAuthStorageKey),s.SafeLocalStorage.removeItem(this.localNonceStorageKey),this.emit("sessionChanged",void 0)}async getNonce(){const{nonce:e,token:t}=await this.request({method:"GET",key:"nonce"});return this.setStorageToken(t,this.localNonceStorageKey),e}getClientId(){return s.BlockchainApiController.state.clientId}getWalletInfo(){var r;const e=(r=s.ChainController.getAccountData())==null?void 0:r.connectedWalletInfo;if(!e)return;if("social"in e&&"identifier"in e){const i=e.social,h=e.identifier;return{type:"social",social:i,identifier:h}}const{name:t,icon:n}=e;let o="unknown";switch(e.type){case"EXTERNAL":case"INJECTED":case"ANNOUNCED":o="extension";break;case"WALLET_CONNECT":o="walletconnect";break;default:o="unknown"}return{type:o,name:t,icon:n}}getSDKProperties(){return s.ApiController._getSdkProperties()}emit(e,t){this.listeners[e].forEach(n=>n(t))}setAppKitAccountUser(e){const{email:t}=e;t&&Object.values(s.ConstantsUtil.CHAIN).forEach(n=>{s.ChainController.setAccountProp("user",{email:t},n)})}}function w(d){const e=d.split(".");if(e.length!==3)throw new Error("Invalid token");const t=e[1];if(typeof t!="string")throw new Error("Invalid token");const n=t.replace(/-/gu,"+").replace(/_/gu,"/"),o=n.padEnd(n.length+(4-n.length%4)%4,"=");return JSON.parse(atob(o))}exports.ReownAuthentication=S;exports.ReownAuthenticationMessenger=f;
|