@directcryptopay/sdk 0.2.2 → 0.2.4
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/ExchangeController-CbO41bcH.js +217 -0
- package/dist/HelpersUtil-DHm6EVSE.js +120 -0
- package/dist/NavigationUtil-kj9LEOOd.js +8 -0
- package/dist/PhArrowCircleDown-lsK25DCk.js +73 -0
- package/dist/PhArrowClockwise-NeKHZ1co.js +73 -0
- package/dist/PhArrowDown-C9AkNvLs.js +73 -0
- package/dist/PhArrowLeft-RNfIQP1X.js +73 -0
- package/dist/PhArrowRight-DM1tna0G.js +73 -0
- package/dist/PhArrowSquareOut-S5XYbAZj.js +73 -0
- package/dist/PhArrowUp-DmktzOWy.js +73 -0
- package/dist/PhArrowUpRight-BkNeW_5i.js +73 -0
- package/dist/PhArrowsClockwise-CQ4pG76b.js +73 -0
- package/dist/PhArrowsDownUp-H6gxaNM6.js +73 -0
- package/dist/PhArrowsLeftRight-DZSsfMR6.js +73 -0
- package/dist/PhBank-4_9QzqIB.js +73 -0
- package/dist/PhBrowser-B-JSznId.js +73 -0
- package/dist/PhCaretDown-vV5oHMNi.js +73 -0
- package/dist/PhCaretLeft-BLo6Y_f4.js +73 -0
- package/dist/PhCaretRight-CqQN4TT3.js +73 -0
- package/dist/PhCaretUp-Df7UCAHy.js +73 -0
- package/dist/PhCheck-gtpfK4ed.js +73 -0
- package/dist/PhCircleHalf-Uq7dwDYw.js +73 -0
- package/dist/PhClock-SDCW-NmF.js +73 -0
- package/dist/PhCompass-B7hgtdx-.js +73 -0
- package/dist/PhCopy-BcnhyXCy.js +73 -0
- package/dist/PhCreditCard-BJjByVgu.js +73 -0
- package/dist/PhCurrencyDollar-B7ZXqXBy.js +73 -0
- package/dist/PhDesktop-B3VKPuJx.js +73 -0
- package/dist/PhDeviceMobile-Bnd0TYEH.js +73 -0
- package/dist/PhDotsThree-yyMWyZ-R.js +73 -0
- package/dist/PhEnvelope-67uzHbI9.js +73 -0
- package/dist/PhFunnelSimple-B-DCsloI.js +73 -0
- package/dist/PhGlobe-TMm_6qGk.js +73 -0
- package/dist/PhIdentificationCard-CePPD2xc.js +73 -0
- package/dist/PhImage-gY96WtHR.js +73 -0
- package/dist/PhInfo-DRQM_ZDP.js +73 -0
- package/dist/PhLightbulb-B0TxPfZ1.js +73 -0
- package/dist/PhMagnifyingGlass-B8si5_6W.js +73 -0
- package/dist/PhPaperPlaneRight-DVu5PLYd.js +73 -0
- package/dist/PhPlus-BfTsQnUz.js +73 -0
- package/dist/PhPower-CxYUGOWn.js +73 -0
- package/dist/PhPuzzlePiece-CQ4wh0gV.js +73 -0
- package/dist/PhQrCode-BuJ97NYJ.js +73 -0
- package/dist/PhQuestion-kJoP8Mja.js +73 -0
- package/dist/PhQuestionMark-C46ZkFpu.js +73 -0
- package/dist/PhSealCheck-Eh8jVqSN.js +73 -0
- package/dist/PhSignOut-jk97OSVt.js +73 -0
- package/dist/PhSpinner-CiYOhwMg.js +73 -0
- package/dist/PhTrash-pxerMqzd.js +73 -0
- package/dist/PhUser-BMg0VV4A.js +73 -0
- package/dist/PhVault-DYQvx5A-.js +73 -0
- package/dist/PhWarning-NLC5Mj87.js +73 -0
- package/dist/PhWarningCircle-Ch2jU9fA.js +73 -0
- package/dist/PhX-Bx4wpwm3.js +73 -0
- package/dist/SwapController-Ch0FFTEt.js +457 -0
- package/dist/{ccip-BIGqktC1.js → ccip-BrGhNXIM.js} +4 -4
- package/dist/data-capture-CpafmuCb.js +490 -0
- package/dist/dcp-sdk.umd.js +7400 -6589
- package/dist/email-Dcg4jlai.js +344 -0
- package/dist/embedded-wallet-DeoRdAPw.js +820 -0
- package/dist/features-B9Nde43h.js +274 -0
- package/dist/{hashTypedData-ZH9ZnWu3.js → hashTypedData-a7b8tdkO.js} +6 -6
- package/dist/if-defined-k21LutCn.js +10 -0
- package/dist/index-9vLw53Xl.js +228 -0
- package/dist/index-B5wUyynz.js +107 -0
- package/dist/index-B8LkUrww.js +86 -0
- package/dist/{index-CPTcEPbD.js → index-BA0VwKg0.js} +296 -298
- package/dist/index-BB9JJ24N.js +125 -0
- package/dist/index-BCkEvPQ6.js +172 -0
- package/dist/index-BDeO_csr.js +171 -0
- package/dist/index-Bb7babLF.js +1281 -0
- package/dist/index-BjOhprVS.js +199 -0
- package/dist/{index-Dy4NyE6l.js → index-BjyMgZsf.js} +7 -7
- package/dist/index-BkThIDLX.js +159 -0
- package/dist/index-BmFs6nb7.js +209 -0
- package/dist/{index-5mp7WkhV.js → index-C4qc4PdD.js} +2 -2
- package/dist/{index-BdSIrl-R.js → index-CAPvUh14.js} +578 -570
- package/dist/index-CBMU3PTE.js +65 -0
- package/dist/index-CGwPkJLF.js +355 -0
- package/dist/index-CNGEqX3D.js +153 -0
- package/dist/index-CRlCq6IB.js +7981 -0
- package/dist/index-Cg_o-i9X.js +118 -0
- package/dist/index-D1BvhCbI.js +62 -0
- package/dist/index-DFi8TiHc.js +128 -0
- package/dist/index-DLwuveL9.js +555 -0
- package/dist/index-DMn7ktUQ.js +56 -0
- package/dist/index-DOXwtuwa.js +117 -0
- package/dist/index-DPPOW_Tp.js +118 -0
- package/dist/{index-f3LXSfM5.js → index-DQpzHpW-.js} +56 -142
- package/dist/{index-D6h-qfpt.js → index-DXHg5C-W.js} +5 -5
- package/dist/index-DcYjZV4H.js +110 -0
- package/dist/{index-BJ7cbG3N.js → index-DeL88Lwc.js} +36769 -40177
- package/dist/index-DrWVlf8b.js +46 -0
- package/dist/index-Dsfuc4rB.js +123 -0
- package/dist/index-DuTny38n.js +1175 -0
- package/dist/{index-D5r0iSq4.js → index-Nfjb6bV0.js} +1 -1
- package/dist/index-WwwdQSN2.js +85 -0
- package/dist/index-Yha9Afch.js +174 -0
- package/dist/index-cbQHN7GC.js +100 -0
- package/dist/{index-DobBVPe4.js → index-hyG3cYsv.js} +481 -236
- package/dist/index-qLxmmPaL.js +257 -0
- package/dist/index.js +1 -1
- package/dist/{localBatchGatewayRequest-CjGcn5nM.js → localBatchGatewayRequest-vfcvRH0G.js} +1 -1
- package/dist/onramp-BSiyOX4L.js +855 -0
- package/dist/{parseSignature-S8VEpRHC.js → parseSignature-CdCMAPZN.js} +2312 -2313
- package/dist/pay-with-exchange-CduNoMEz.js +525 -0
- package/dist/property-Bd8U3_QP.js +618 -0
- package/dist/receive-CrmptJlq.js +232 -0
- package/dist/ref-SOwYtCZb.js +107 -0
- package/dist/send-oMcHMEr6.js +1166 -0
- package/dist/socials-C0A4-FbY.js +620 -0
- package/dist/swaps-CbJJ9Ciu.js +1760 -0
- package/dist/{transactions-DujFkB-M.js → transactions-BDfCoBS5.js} +10 -10
- package/dist/w3m-modal-BjsTkny7.js +1706 -0
- package/package.json +3 -3
- package/dist/ConstantsUtil-B-_-u8aQ.js +0 -6
- package/dist/add-sji6scSD.js +0 -19
- package/dist/all-wallets-B4H-890E.js +0 -10
- package/dist/app-store-Z433s97G.js +0 -21
- package/dist/apple-b8Lxj7nb.js +0 -22
- package/dist/arrow-bottom-M9oWWo_9.js +0 -12
- package/dist/arrow-bottom-circle-N9c4CXY1.js +0 -15
- package/dist/arrow-left-Dw8AKfwf.js +0 -12
- package/dist/arrow-right-DwLQZSC_.js +0 -12
- package/dist/arrow-top-zhUjkBe1.js +0 -12
- package/dist/bank-CbQdnILK.js +0 -18
- package/dist/browser-xAqNwt7z.js +0 -18
- package/dist/card-Dr1QBmWp.js +0 -18
- package/dist/checkmark-BhT1dTgG.js +0 -15
- package/dist/checkmark-bold-CPB29wqQ.js +0 -12
- package/dist/chevron-bottom-BhNyx2II.js +0 -12
- package/dist/chevron-left-CGuEjQlY.js +0 -12
- package/dist/chevron-right-CvIRRsqZ.js +0 -12
- package/dist/chevron-top-RSzCqjBd.js +0 -12
- package/dist/chrome-store-Cs8dAgs0.js +0 -65
- package/dist/clock-fhZO5otC.js +0 -12
- package/dist/close-BPuztrdR.js +0 -12
- package/dist/coinPlaceholder-C8X2i7Kh.js +0 -12
- package/dist/compass-WMc5huk0.js +0 -12
- package/dist/copy-DVAeT17y.js +0 -19
- package/dist/cursor-BJ4YLXfy.js +0 -7
- package/dist/cursor-transparent-DN2fLQN4.js +0 -16
- package/dist/desktop-6avxisBw.js +0 -13
- package/dist/disconnect-AReVI8Gk.js +0 -12
- package/dist/discord-CxrI30BZ.js +0 -21
- package/dist/email-B8dIIaay.js +0 -696
- package/dist/embedded-wallet-C_5hF7rM.js +0 -468
- package/dist/etherscan-BnAy8cIF.js +0 -10
- package/dist/exclamation-triangle-Bu7nHwx9.js +0 -8
- package/dist/extension-F0LIhvcf.js +0 -12
- package/dist/external-link-CP6phyaM.js +0 -12
- package/dist/facebook-BtQ-Io2y.js +0 -30
- package/dist/farcaster-BmaN1ugd.js +0 -16
- package/dist/filters-DpEwoOmy.js +0 -12
- package/dist/github-q7qO9V-b.js +0 -22
- package/dist/google-DH_ZE8bW.js +0 -22
- package/dist/help-circle-BAQVmKas.js +0 -16
- package/dist/id-Cj68Zwgo.js +0 -16
- package/dist/if-defined-CNte9B3N.js +0 -744
- package/dist/image-BKJDw6N-.js +0 -8
- package/dist/index-7toZMdtG.js +0 -573
- package/dist/index-B1uKzdvN.js +0 -170
- package/dist/index-BHFZVF-b.js +0 -257
- package/dist/index-BKwa5JSA.js +0 -559
- package/dist/index-BP4B9VUt.js +0 -54
- package/dist/index-BVdzXHpO.js +0 -181
- package/dist/index-BYND0GJ9.js +0 -146
- package/dist/index-BaJ0zEbh.js +0 -97
- package/dist/index-Bh0MPFwP.js +0 -58
- package/dist/index-Bsh7_qTp.js +0 -511
- package/dist/index-BwnXTNNg.js +0 -199
- package/dist/index-C0kPDbg_.js +0 -77
- package/dist/index-CKikVKe2.js +0 -75
- package/dist/index-ChVh0Hkp.js +0 -243
- package/dist/index-Cle_NnnS.js +0 -305
- package/dist/index-CmWdvIFT.js +0 -51
- package/dist/index-D2AMA8Bu.js +0 -65
- package/dist/index-DAUM8CO4.js +0 -65
- package/dist/index-DGjZW6uR.js +0 -78
- package/dist/index-DQe94z7X.js +0 -265
- package/dist/index-DTo6w99t.js +0 -7864
- package/dist/index-DYdXjap2.js +0 -320
- package/dist/index-DceCxNV5.js +0 -181
- package/dist/index-Uw9cSw0q.js +0 -294
- package/dist/index-qiuyrukh.js +0 -45
- package/dist/index-zddvaohA.js +0 -78
- package/dist/info-RfPsmroW.js +0 -7
- package/dist/info-circle-DFKHB_ZN.js +0 -16
- package/dist/lightbulb-B-Bykj9X.js +0 -7
- package/dist/mail-mBAgGuw5.js +0 -12
- package/dist/mobile-Dhh3ndkf.js +0 -13
- package/dist/more-D1h7UTvg.js +0 -15
- package/dist/network-placeholder-Dqynvc-t.js +0 -18
- package/dist/nftPlaceholder-Df7MW4MM.js +0 -12
- package/dist/off-BmG3cHTX.js +0 -12
- package/dist/onramp-C401Aenb.js +0 -1279
- package/dist/play-store-4q1fzL_P.js +0 -36
- package/dist/plus-603Gs3yG.js +0 -17
- package/dist/qr-code-Dgwhf6M1.js +0 -10
- package/dist/receive-CYXbbEUR.js +0 -186
- package/dist/recycle-horizontal-Bu8zZ563.js +0 -13
- package/dist/ref-DpmKRWBK.js +0 -41
- package/dist/refresh-BMZFu0mu.js +0 -12
- package/dist/reown-logo-BXph7ThY.js +0 -16
- package/dist/search-Cm_V42Y_.js +0 -12
- package/dist/secp256k1-C0iX1TUr.js +0 -1510
- package/dist/secp256k1-DOQBqE4Z.js +0 -1302
- package/dist/send-BSMYxDuP.js +0 -19
- package/dist/send-C8EeIzRB.js +0 -1038
- package/dist/socials-DQrHQajs.js +0 -574
- package/dist/swapHorizontal-98rnJewS.js +0 -12
- package/dist/swapHorizontalBold-C299FjEt.js +0 -12
- package/dist/swapHorizontalMedium-Cqm6i4WJ.js +0 -20
- package/dist/swapHorizontalRoundedBold-De7hFfqZ.js +0 -12
- package/dist/swapVertical-DSL75l8L.js +0 -12
- package/dist/swaps-BuTNp65Y.js +0 -1637
- package/dist/telegram-cJP7hgUb.js +0 -20
- package/dist/three-dots-DHnEh28O.js +0 -9
- package/dist/twitch-CR2iGcBo.js +0 -22
- package/dist/twitterIcon-E5TAQjOn.js +0 -10
- package/dist/verify-DEukUJp0.js +0 -12
- package/dist/verify-filled-BXsx1i_p.js +0 -12
- package/dist/w3m-modal-Bm7BqVng.js +0 -1037
- package/dist/wallet-CzyyvdrT.js +0 -12
- package/dist/wallet-placeholder-BrcmyGEe.js +0 -18
- package/dist/walletconnect-BSYogWiE.js +0 -36
- package/dist/warning-circle-Cgp2BW3m.js +0 -16
- package/dist/x-BJinLpTw.js +0 -16
package/dist/index-DQe94z7X.js
DELETED
|
@@ -1,265 +0,0 @@
|
|
|
1
|
-
import { cE as w, cH as g, cI as h, cF as v, cG as l } from "./index-BJ7cbG3N.js";
|
|
2
|
-
import { n as a, c as x, a as m, o as c } from "./if-defined-CNte9B3N.js";
|
|
3
|
-
import { e as b, n as f } from "./ref-DpmKRWBK.js";
|
|
4
|
-
const y = w`
|
|
5
|
-
:host {
|
|
6
|
-
position: relative;
|
|
7
|
-
width: 100%;
|
|
8
|
-
display: inline-block;
|
|
9
|
-
color: var(--wui-color-fg-275);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
input {
|
|
13
|
-
width: 100%;
|
|
14
|
-
border-radius: var(--wui-border-radius-xs);
|
|
15
|
-
box-shadow: inset 0 0 0 1px var(--wui-color-gray-glass-002);
|
|
16
|
-
background: var(--wui-color-gray-glass-002);
|
|
17
|
-
font-size: var(--wui-font-size-paragraph);
|
|
18
|
-
letter-spacing: var(--wui-letter-spacing-paragraph);
|
|
19
|
-
color: var(--wui-color-fg-100);
|
|
20
|
-
transition:
|
|
21
|
-
background-color var(--wui-ease-inout-power-1) var(--wui-duration-md),
|
|
22
|
-
border-color var(--wui-ease-inout-power-1) var(--wui-duration-md),
|
|
23
|
-
box-shadow var(--wui-ease-inout-power-1) var(--wui-duration-md);
|
|
24
|
-
will-change: background-color, border-color, box-shadow;
|
|
25
|
-
caret-color: var(--wui-color-accent-100);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
input:disabled {
|
|
29
|
-
cursor: not-allowed;
|
|
30
|
-
border: 1px solid var(--wui-color-gray-glass-010);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
input:disabled::placeholder,
|
|
34
|
-
input:disabled + wui-icon {
|
|
35
|
-
color: var(--wui-color-fg-300);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
input::placeholder {
|
|
39
|
-
color: var(--wui-color-fg-275);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
input:focus:enabled {
|
|
43
|
-
background-color: var(--wui-color-gray-glass-005);
|
|
44
|
-
-webkit-box-shadow:
|
|
45
|
-
inset 0 0 0 1px var(--wui-color-accent-100),
|
|
46
|
-
0px 0px 0px 4px var(--wui-box-shadow-blue);
|
|
47
|
-
-moz-box-shadow:
|
|
48
|
-
inset 0 0 0 1px var(--wui-color-accent-100),
|
|
49
|
-
0px 0px 0px 4px var(--wui-box-shadow-blue);
|
|
50
|
-
box-shadow:
|
|
51
|
-
inset 0 0 0 1px var(--wui-color-accent-100),
|
|
52
|
-
0px 0px 0px 4px var(--wui-box-shadow-blue);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
input:hover:enabled {
|
|
56
|
-
background-color: var(--wui-color-gray-glass-005);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
wui-icon {
|
|
60
|
-
position: absolute;
|
|
61
|
-
top: 50%;
|
|
62
|
-
transform: translateY(-50%);
|
|
63
|
-
pointer-events: none;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.wui-size-sm {
|
|
67
|
-
padding: 9px var(--wui-spacing-m) 10px var(--wui-spacing-s);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
wui-icon + .wui-size-sm {
|
|
71
|
-
padding: 9px var(--wui-spacing-m) 10px 36px;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
wui-icon[data-input='sm'] {
|
|
75
|
-
left: var(--wui-spacing-s);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.wui-size-md {
|
|
79
|
-
padding: 15px var(--wui-spacing-m) var(--wui-spacing-l) var(--wui-spacing-m);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
wui-icon + .wui-size-md,
|
|
83
|
-
wui-loading-spinner + .wui-size-md {
|
|
84
|
-
padding: 10.5px var(--wui-spacing-3xl) 10.5px var(--wui-spacing-3xl);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
wui-icon[data-input='md'] {
|
|
88
|
-
left: var(--wui-spacing-l);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.wui-size-lg {
|
|
92
|
-
padding: var(--wui-spacing-s) var(--wui-spacing-s) var(--wui-spacing-s) var(--wui-spacing-l);
|
|
93
|
-
letter-spacing: var(--wui-letter-spacing-medium-title);
|
|
94
|
-
font-size: var(--wui-font-size-medium-title);
|
|
95
|
-
font-weight: var(--wui-font-weight-light);
|
|
96
|
-
line-height: 130%;
|
|
97
|
-
color: var(--wui-color-fg-100);
|
|
98
|
-
height: 64px;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.wui-padding-right-xs {
|
|
102
|
-
padding-right: var(--wui-spacing-xs);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.wui-padding-right-s {
|
|
106
|
-
padding-right: var(--wui-spacing-s);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.wui-padding-right-m {
|
|
110
|
-
padding-right: var(--wui-spacing-m);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.wui-padding-right-l {
|
|
114
|
-
padding-right: var(--wui-spacing-l);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.wui-padding-right-xl {
|
|
118
|
-
padding-right: var(--wui-spacing-xl);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.wui-padding-right-2xl {
|
|
122
|
-
padding-right: var(--wui-spacing-2xl);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.wui-padding-right-3xl {
|
|
126
|
-
padding-right: var(--wui-spacing-3xl);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.wui-padding-right-4xl {
|
|
130
|
-
padding-right: var(--wui-spacing-4xl);
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.wui-padding-right-5xl {
|
|
134
|
-
padding-right: var(--wui-spacing-5xl);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
wui-icon + .wui-size-lg,
|
|
138
|
-
wui-loading-spinner + .wui-size-lg {
|
|
139
|
-
padding-left: 50px;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
wui-icon[data-input='lg'] {
|
|
143
|
-
left: var(--wui-spacing-l);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.wui-size-mdl {
|
|
147
|
-
padding: 17.25px var(--wui-spacing-m) 17.25px var(--wui-spacing-m);
|
|
148
|
-
}
|
|
149
|
-
wui-icon + .wui-size-mdl,
|
|
150
|
-
wui-loading-spinner + .wui-size-mdl {
|
|
151
|
-
padding: 17.25px var(--wui-spacing-3xl) 17.25px 40px;
|
|
152
|
-
}
|
|
153
|
-
wui-icon[data-input='mdl'] {
|
|
154
|
-
left: var(--wui-spacing-m);
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
input:placeholder-shown ~ ::slotted(wui-input-element),
|
|
158
|
-
input:placeholder-shown ~ ::slotted(wui-icon) {
|
|
159
|
-
opacity: 0;
|
|
160
|
-
pointer-events: none;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
input::-webkit-outer-spin-button,
|
|
164
|
-
input::-webkit-inner-spin-button {
|
|
165
|
-
-webkit-appearance: none;
|
|
166
|
-
margin: 0;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
input[type='number'] {
|
|
170
|
-
-moz-appearance: textfield;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
::slotted(wui-input-element),
|
|
174
|
-
::slotted(wui-icon) {
|
|
175
|
-
position: absolute;
|
|
176
|
-
top: 50%;
|
|
177
|
-
transform: translateY(-50%);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
::slotted(wui-input-element) {
|
|
181
|
-
right: var(--wui-spacing-m);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
::slotted(wui-icon) {
|
|
185
|
-
right: 0px;
|
|
186
|
-
}
|
|
187
|
-
`;
|
|
188
|
-
var e = function(s, t, o, r) {
|
|
189
|
-
var p = arguments.length, n = p < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, o) : r, u;
|
|
190
|
-
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") n = Reflect.decorate(s, t, o, r);
|
|
191
|
-
else for (var d = s.length - 1; d >= 0; d--) (u = s[d]) && (n = (p < 3 ? u(n) : p > 3 ? u(t, o, n) : u(t, o)) || n);
|
|
192
|
-
return p > 3 && n && Object.defineProperty(t, o, n), n;
|
|
193
|
-
};
|
|
194
|
-
let i = class extends v {
|
|
195
|
-
constructor() {
|
|
196
|
-
super(...arguments), this.inputElementRef = b(), this.size = "md", this.disabled = !1, this.placeholder = "", this.type = "text", this.value = "";
|
|
197
|
-
}
|
|
198
|
-
render() {
|
|
199
|
-
const t = `wui-padding-right-${this.inputRightPadding}`, r = {
|
|
200
|
-
[`wui-size-${this.size}`]: !0,
|
|
201
|
-
[t]: !!this.inputRightPadding
|
|
202
|
-
};
|
|
203
|
-
return l`${this.templateIcon()}
|
|
204
|
-
<input
|
|
205
|
-
data-testid="wui-input-text"
|
|
206
|
-
${f(this.inputElementRef)}
|
|
207
|
-
class=${m(r)}
|
|
208
|
-
type=${this.type}
|
|
209
|
-
enterkeyhint=${c(this.enterKeyHint)}
|
|
210
|
-
?disabled=${this.disabled}
|
|
211
|
-
placeholder=${this.placeholder}
|
|
212
|
-
@input=${this.dispatchInputChangeEvent.bind(this)}
|
|
213
|
-
.value=${this.value || ""}
|
|
214
|
-
tabindex=${c(this.tabIdx)}
|
|
215
|
-
/>
|
|
216
|
-
<slot></slot>`;
|
|
217
|
-
}
|
|
218
|
-
templateIcon() {
|
|
219
|
-
return this.icon ? l`<wui-icon
|
|
220
|
-
data-input=${this.size}
|
|
221
|
-
size=${this.size}
|
|
222
|
-
color="inherit"
|
|
223
|
-
name=${this.icon}
|
|
224
|
-
></wui-icon>` : null;
|
|
225
|
-
}
|
|
226
|
-
dispatchInputChangeEvent() {
|
|
227
|
-
var t;
|
|
228
|
-
this.dispatchEvent(new CustomEvent("inputChange", {
|
|
229
|
-
detail: (t = this.inputElementRef.value) == null ? void 0 : t.value,
|
|
230
|
-
bubbles: !0,
|
|
231
|
-
composed: !0
|
|
232
|
-
}));
|
|
233
|
-
}
|
|
234
|
-
};
|
|
235
|
-
i.styles = [g, h, y];
|
|
236
|
-
e([
|
|
237
|
-
a()
|
|
238
|
-
], i.prototype, "size", void 0);
|
|
239
|
-
e([
|
|
240
|
-
a()
|
|
241
|
-
], i.prototype, "icon", void 0);
|
|
242
|
-
e([
|
|
243
|
-
a({ type: Boolean })
|
|
244
|
-
], i.prototype, "disabled", void 0);
|
|
245
|
-
e([
|
|
246
|
-
a()
|
|
247
|
-
], i.prototype, "placeholder", void 0);
|
|
248
|
-
e([
|
|
249
|
-
a()
|
|
250
|
-
], i.prototype, "type", void 0);
|
|
251
|
-
e([
|
|
252
|
-
a()
|
|
253
|
-
], i.prototype, "keyHint", void 0);
|
|
254
|
-
e([
|
|
255
|
-
a()
|
|
256
|
-
], i.prototype, "value", void 0);
|
|
257
|
-
e([
|
|
258
|
-
a()
|
|
259
|
-
], i.prototype, "inputRightPadding", void 0);
|
|
260
|
-
e([
|
|
261
|
-
a()
|
|
262
|
-
], i.prototype, "tabIdx", void 0);
|
|
263
|
-
i = e([
|
|
264
|
-
x("wui-input-text")
|
|
265
|
-
], i);
|