@directcryptopay/sdk 0.2.4 → 0.3.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/README.md +51 -87
- package/dist/core/config.d.ts +9 -46
- package/dist/core/iframe.d.ts +16 -0
- package/dist/dcp-sdk.umd.js +1 -12811
- package/dist/dcp.d.ts +12 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +219 -2
- package/dist/types.d.ts +26 -164
- package/package.json +3 -13
- package/dist/ExchangeController-CbO41bcH.js +0 -217
- package/dist/HelpersUtil-DHm6EVSE.js +0 -120
- package/dist/NavigationUtil-kj9LEOOd.js +0 -8
- package/dist/PhArrowCircleDown-lsK25DCk.js +0 -73
- package/dist/PhArrowClockwise-NeKHZ1co.js +0 -73
- package/dist/PhArrowDown-C9AkNvLs.js +0 -73
- package/dist/PhArrowLeft-RNfIQP1X.js +0 -73
- package/dist/PhArrowRight-DM1tna0G.js +0 -73
- package/dist/PhArrowSquareOut-S5XYbAZj.js +0 -73
- package/dist/PhArrowUp-DmktzOWy.js +0 -73
- package/dist/PhArrowUpRight-BkNeW_5i.js +0 -73
- package/dist/PhArrowsClockwise-CQ4pG76b.js +0 -73
- package/dist/PhArrowsDownUp-H6gxaNM6.js +0 -73
- package/dist/PhArrowsLeftRight-DZSsfMR6.js +0 -73
- package/dist/PhBank-4_9QzqIB.js +0 -73
- package/dist/PhBrowser-B-JSznId.js +0 -73
- package/dist/PhCaretDown-vV5oHMNi.js +0 -73
- package/dist/PhCaretLeft-BLo6Y_f4.js +0 -73
- package/dist/PhCaretRight-CqQN4TT3.js +0 -73
- package/dist/PhCaretUp-Df7UCAHy.js +0 -73
- package/dist/PhCheck-gtpfK4ed.js +0 -73
- package/dist/PhCircleHalf-Uq7dwDYw.js +0 -73
- package/dist/PhClock-SDCW-NmF.js +0 -73
- package/dist/PhCompass-B7hgtdx-.js +0 -73
- package/dist/PhCopy-BcnhyXCy.js +0 -73
- package/dist/PhCreditCard-BJjByVgu.js +0 -73
- package/dist/PhCurrencyDollar-B7ZXqXBy.js +0 -73
- package/dist/PhDesktop-B3VKPuJx.js +0 -73
- package/dist/PhDeviceMobile-Bnd0TYEH.js +0 -73
- package/dist/PhDotsThree-yyMWyZ-R.js +0 -73
- package/dist/PhEnvelope-67uzHbI9.js +0 -73
- package/dist/PhFunnelSimple-B-DCsloI.js +0 -73
- package/dist/PhGlobe-TMm_6qGk.js +0 -73
- package/dist/PhIdentificationCard-CePPD2xc.js +0 -73
- package/dist/PhImage-gY96WtHR.js +0 -73
- package/dist/PhInfo-DRQM_ZDP.js +0 -73
- package/dist/PhLightbulb-B0TxPfZ1.js +0 -73
- package/dist/PhMagnifyingGlass-B8si5_6W.js +0 -73
- package/dist/PhPaperPlaneRight-DVu5PLYd.js +0 -73
- package/dist/PhPlus-BfTsQnUz.js +0 -73
- package/dist/PhPower-CxYUGOWn.js +0 -73
- package/dist/PhPuzzlePiece-CQ4wh0gV.js +0 -73
- package/dist/PhQrCode-BuJ97NYJ.js +0 -73
- package/dist/PhQuestion-kJoP8Mja.js +0 -73
- package/dist/PhQuestionMark-C46ZkFpu.js +0 -73
- package/dist/PhSealCheck-Eh8jVqSN.js +0 -73
- package/dist/PhSignOut-jk97OSVt.js +0 -73
- package/dist/PhSpinner-CiYOhwMg.js +0 -73
- package/dist/PhTrash-pxerMqzd.js +0 -73
- package/dist/PhUser-BMg0VV4A.js +0 -73
- package/dist/PhVault-DYQvx5A-.js +0 -73
- package/dist/PhWarning-NLC5Mj87.js +0 -73
- package/dist/PhWarningCircle-Ch2jU9fA.js +0 -73
- package/dist/PhX-Bx4wpwm3.js +0 -73
- package/dist/SwapController-Ch0FFTEt.js +0 -457
- package/dist/ccip-BrGhNXIM.js +0 -150
- package/dist/core/api.d.ts +0 -39
- package/dist/core/logic.d.ts +0 -2
- package/dist/core/wallet.d.ts +0 -55
- package/dist/data-capture-CpafmuCb.js +0 -490
- package/dist/email-Dcg4jlai.js +0 -344
- package/dist/embedded-wallet-DeoRdAPw.js +0 -820
- package/dist/features-B9Nde43h.js +0 -274
- package/dist/hashTypedData-a7b8tdkO.js +0 -197
- package/dist/if-defined-k21LutCn.js +0 -10
- package/dist/index-9vLw53Xl.js +0 -228
- package/dist/index-B5wUyynz.js +0 -107
- package/dist/index-B8LkUrww.js +0 -86
- package/dist/index-BA0VwKg0.js +0 -8189
- package/dist/index-BB9JJ24N.js +0 -125
- package/dist/index-BCkEvPQ6.js +0 -172
- package/dist/index-BDeO_csr.js +0 -171
- package/dist/index-Bb7babLF.js +0 -1281
- package/dist/index-BjOhprVS.js +0 -199
- package/dist/index-BjyMgZsf.js +0 -218
- package/dist/index-BkThIDLX.js +0 -159
- package/dist/index-BmFs6nb7.js +0 -209
- package/dist/index-C1QEJL-2.js +0 -572
- package/dist/index-C4qc4PdD.js +0 -387
- package/dist/index-CAPvUh14.js +0 -1750
- package/dist/index-CBMU3PTE.js +0 -65
- package/dist/index-CGwPkJLF.js +0 -355
- package/dist/index-CNGEqX3D.js +0 -153
- package/dist/index-CRlCq6IB.js +0 -7981
- package/dist/index-Cg_o-i9X.js +0 -118
- package/dist/index-D1BvhCbI.js +0 -62
- package/dist/index-DFi8TiHc.js +0 -128
- package/dist/index-DLwuveL9.js +0 -555
- package/dist/index-DMn7ktUQ.js +0 -56
- package/dist/index-DOXwtuwa.js +0 -117
- package/dist/index-DPPOW_Tp.js +0 -118
- package/dist/index-DQpzHpW-.js +0 -517
- package/dist/index-DXHg5C-W.js +0 -276
- package/dist/index-DcYjZV4H.js +0 -110
- package/dist/index-DeL88Lwc.js +0 -41655
- package/dist/index-DrWVlf8b.js +0 -46
- package/dist/index-Dsfuc4rB.js +0 -123
- package/dist/index-DuTny38n.js +0 -1175
- package/dist/index-Nfjb6bV0.js +0 -21991
- package/dist/index-WwwdQSN2.js +0 -85
- package/dist/index-Yha9Afch.js +0 -174
- package/dist/index-cbQHN7GC.js +0 -100
- package/dist/index-hyG3cYsv.js +0 -1083
- package/dist/index-qLxmmPaL.js +0 -257
- package/dist/localBatchGatewayRequest-vfcvRH0G.js +0 -91
- package/dist/onramp-BSiyOX4L.js +0 -855
- package/dist/parseSignature-CdCMAPZN.js +0 -3304
- package/dist/pay-with-exchange-CduNoMEz.js +0 -525
- package/dist/property-Bd8U3_QP.js +0 -618
- package/dist/receive-CrmptJlq.js +0 -232
- package/dist/ref-SOwYtCZb.js +0 -107
- package/dist/send-oMcHMEr6.js +0 -1166
- package/dist/socials-C0A4-FbY.js +0 -620
- package/dist/swaps-CbJJ9Ciu.js +0 -1760
- package/dist/transactions-BDfCoBS5.js +0 -37
- package/dist/ui/Modal.d.ts +0 -9
- package/dist/ui/index.d.ts +0 -6
- package/dist/w3m-modal-BjsTkny7.js +0 -1706
package/dist/PhVault-DYQvx5A-.js
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { n as v, Y as l, t as e, p as n, O as i, s as g } from "./property-Bd8U3_QP.js";
|
|
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
|
-
};
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { n as Z, Y as g, t as e, p as A, O as s, s as M } from "./property-Bd8U3_QP.js";
|
|
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
|
-
};
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { n as m, Y as Z, t as r, p as g, O as p, s as c } from "./property-Bd8U3_QP.js";
|
|
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
|
-
};
|
package/dist/PhX-Bx4wpwm3.js
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { n as L, Y as g, t as r, p as d, O as s, s as c } from "./property-Bd8U3_QP.js";
|
|
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
|
-
};
|