@skip-go/widget-web-component 3.14.4 → 3.17.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/build/1125.index.js +3 -0
- package/build/1133.index.js +8 -0
- package/build/1136.index.js +9 -0
- package/build/1139.index.js +18 -0
- package/build/1171.index.js +1 -1
- package/build/1189.index.js +1 -1
- package/build/1203.index.js +1 -1
- package/build/1207.index.js +1 -1
- package/build/1211.index.js +8 -0
- package/build/1226.index.js +8 -0
- package/build/1349.index.js +1 -1
- package/build/1361.index.js +1 -1
- package/build/1363.index.js +1 -1
- package/build/1370.index.js +1 -1
- package/build/1415.index.js +8 -0
- package/build/1426.index.js +3 -0
- package/build/1470.index.js +1 -1
- package/build/1572.index.js +11 -0
- package/build/1716.index.js +1 -1
- package/build/1776.index.js +8 -0
- package/build/1852.index.js +1 -1
- package/build/1881.index.js +1 -1
- package/build/1894.index.js +1 -1
- package/build/1911.index.js +1 -1
- package/build/1951.index.js +18 -0
- package/build/1979.index.js +30 -0
- package/build/2034.index.js +1 -1
- package/build/2131.index.js +1 -1
- package/build/2166.index.js +1 -1
- package/build/2202.index.js +61 -0
- package/build/2242.index.js +1 -1
- package/build/2289.index.js +8 -0
- package/build/2301.index.js +1 -1
- package/build/2410.index.js +1 -1
- package/build/2422.index.js +1 -0
- package/build/245.index.js +1 -1
- package/build/2496.index.js +1 -1
- package/build/2557.index.js +17 -0
- package/build/2699.index.js +1 -1
- package/build/2715.index.js +8 -0
- package/build/283.index.js +8 -0
- package/build/2844.index.js +13 -0
- package/build/2851.index.js +1 -0
- package/build/2902.index.js +15 -0
- package/build/3070.index.js +1 -1
- package/build/3099.index.js +8 -0
- package/build/3105.index.js +8 -0
- package/build/3131.index.js +6 -0
- package/build/3148.index.js +1 -1
- package/build/3472.index.js +1 -1
- package/build/3550.index.js +8 -0
- package/build/3574.index.js +1 -1
- package/build/362.index.js +12 -0
- package/build/3646.index.js +32 -0
- package/build/3726.index.js +1 -1
- package/build/3828.index.js +14 -0
- package/build/385.index.js +1 -1
- package/build/3857.index.js +14 -0
- package/build/3874.index.js +17 -0
- package/build/4028.index.js +1 -1
- package/build/4150.index.js +620 -0
- package/build/4194.index.js +317 -0
- package/build/4203.index.js +1 -1
- package/build/4226.index.js +14 -0
- package/build/4249.index.js +8 -0
- package/build/4264.index.js +1 -0
- package/build/428.index.js +1 -0
- package/build/4289.index.js +1 -1
- package/build/4319.index.js +1 -1
- package/build/4379.index.js +2069 -0
- package/build/4446.index.js +2 -0
- package/build/4683.index.js +1 -1
- package/build/4693.index.js +2 -2
- package/build/4729.index.js +1 -1
- package/build/4733.index.js +12 -0
- package/build/4857.index.js +12 -0
- package/build/4969.index.js +1 -1
- package/build/5069.index.js +1 -1
- package/build/5090.index.js +8 -0
- package/build/5193.index.js +1 -1
- package/build/5206.index.js +14 -0
- package/build/5218.index.js +6 -0
- package/build/5330.index.js +8 -0
- package/build/537.index.js +1 -1
- package/build/5438.index.js +9 -0
- package/build/5526.index.js +1 -1
- package/build/5572.index.js +1 -1
- package/build/5619.index.js +1 -1
- package/build/5642.index.js +2 -0
- package/build/5647.index.js +1 -1
- package/build/5737.index.js +1 -1
- package/build/577.index.js +8 -0
- package/build/5880.index.js +1 -1
- package/build/590.index.js +1 -1
- package/build/5972.index.js +622 -0
- package/build/602.index.js +9 -0
- package/build/6024.index.js +1 -1
- package/build/6036.index.js +8 -0
- package/build/6075.index.js +1 -1
- package/build/6123.index.js +1 -1
- package/build/6127.index.js +1 -1
- package/build/6138.index.js +18 -0
- package/build/6148.index.js +1 -1
- package/build/6151.index.js +1 -1
- package/build/6175.index.js +4 -0
- package/build/631.index.js +18 -0
- package/build/6323.index.js +1 -1
- package/build/6442.index.js +1 -1
- package/build/6484.index.js +1 -1
- package/build/6543.index.js +1 -1
- package/build/6553.index.js +8 -0
- package/build/6558.index.js +1 -0
- package/build/6573.index.js +1 -1
- package/build/6611.index.js +12 -0
- package/build/6639.index.js +8 -0
- package/build/6654.index.js +1 -0
- package/build/6705.index.js +12 -0
- package/build/6715.index.js +12 -0
- package/build/674.index.js +317 -0
- package/build/674.index.js.LICENSE.txt +17 -0
- package/build/6753.index.js +1 -1
- package/build/6811.index.js +8 -0
- package/build/6813.index.js +4 -0
- package/build/6869.index.js +1 -1
- package/build/6969.index.js +12 -0
- package/build/7172.index.js +1 -1
- package/build/7176.index.js +16 -0
- package/build/7201.index.js +878 -0
- package/build/7272.index.js +6 -0
- package/build/7311.index.js +11 -0
- package/build/7409.index.js +1 -0
- package/build/7428.index.js +4 -0
- package/build/7540.index.js +8 -0
- package/build/7618.index.js +1 -1
- package/build/7762.index.js +1 -1
- package/build/7780.index.js +3 -0
- package/build/7981.index.js +1 -1
- package/build/8000.index.js +1 -1
- package/build/8029.index.js +8 -0
- package/build/8036.index.js +1 -1
- package/build/8147.index.js +16 -0
- package/build/8249.index.js +8 -0
- package/build/8318.index.js +1 -1
- package/build/8367.index.js +1 -1
- package/build/8373.index.js +2082 -0
- package/build/8373.index.js.LICENSE.txt +5 -0
- package/build/8467.index.js +1 -1
- package/build/8483.index.js +1 -1
- package/build/8631.index.js +8 -0
- package/build/8645.index.js +2 -0
- package/build/8645.index.js.LICENSE.txt +11 -0
- package/build/8714.index.js +8 -0
- package/build/8717.index.js +6 -0
- package/build/8904.index.js +1 -1
- package/build/896.index.js +1 -1
- package/build/8964.index.js +26 -0
- package/build/897.index.js +11 -0
- package/build/9081.index.js +8 -0
- package/build/9120.index.js +8 -0
- package/build/913.index.js +15 -0
- package/build/9192.index.js +1 -0
- package/build/9194.index.js +878 -4
- package/build/9309.index.js +15 -0
- package/build/9313.index.js +8 -0
- package/build/9372.index.js +1 -1
- package/build/9396.index.js +12 -0
- package/build/9476.index.js +1 -1
- package/build/9607.index.js +8 -0
- package/build/967.index.js +5 -0
- package/build/984.index.js +8 -0
- package/build/9850.index.js +14 -0
- package/build/9884.index.js +1 -1
- package/build/index.js +769 -1633
- package/build/index.js.LICENSE.txt +6 -16
- package/package.json +1 -1
- package/build/1179.index.js +0 -2
- package/build/1256.index.js +0 -317
- package/build/1934.index.js +0 -2
- package/build/1934.index.js.LICENSE.txt +0 -17
- package/build/4619.index.js +0 -622
- package/build/4833.index.js +0 -2
- package/build/5902.index.js +0 -2
- package/build/6319.index.js +0 -2069
- package/build/6700.index.js +0 -1
- package/build/7084.index.js +0 -2
- package/build/7544.index.js +0 -1
- package/build/7591.index.js +0 -1
- package/build/8780.index.js +0 -1
- /package/build/{1256.index.js.LICENSE.txt → 4194.index.js.LICENSE.txt} +0 -0
- /package/build/{6319.index.js.LICENSE.txt → 4379.index.js.LICENSE.txt} +0 -0
- /package/build/{4833.index.js.LICENSE.txt → 4446.index.js.LICENSE.txt} +0 -0
- /package/build/{1179.index.js.LICENSE.txt → 5642.index.js.LICENSE.txt} +0 -0
- /package/build/{5902.index.js.LICENSE.txt → 7201.index.js.LICENSE.txt} +0 -0
- /package/build/{7084.index.js.LICENSE.txt → 9194.index.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
/*! For license information please see 4194.index.js.LICENSE.txt */
|
|
2
|
+
export const __webpack_esm_id__=4194;export const __webpack_esm_ids__=[4194];export const __webpack_esm_modules__={432:(t,e,i)=>{i.d(e,{A:()=>n});const n=i(35842).AH`
|
|
3
|
+
:host {
|
|
4
|
+
display: flex;
|
|
5
|
+
width: inherit;
|
|
6
|
+
height: inherit;
|
|
7
|
+
}
|
|
8
|
+
`},14089:(t,e,i)=>{i.d(e,{A:()=>n});const n=i(35842).AH`
|
|
9
|
+
:host {
|
|
10
|
+
display: flex;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
:host([data-size='sm']) > svg {
|
|
14
|
+
width: 12px;
|
|
15
|
+
height: 12px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
:host([data-size='md']) > svg {
|
|
19
|
+
width: 16px;
|
|
20
|
+
height: 16px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
:host([data-size='lg']) > svg {
|
|
24
|
+
width: 24px;
|
|
25
|
+
height: 24px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:host([data-size='xl']) > svg {
|
|
29
|
+
width: 32px;
|
|
30
|
+
height: 32px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
svg {
|
|
34
|
+
animation: rotate 2s linear infinite;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
circle {
|
|
38
|
+
fill: none;
|
|
39
|
+
stroke: var(--local-color);
|
|
40
|
+
stroke-width: 4px;
|
|
41
|
+
stroke-dasharray: 1, 124;
|
|
42
|
+
stroke-dashoffset: 0;
|
|
43
|
+
stroke-linecap: round;
|
|
44
|
+
animation: dash 1.5s ease-in-out infinite;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
:host([data-size='md']) > svg > circle {
|
|
48
|
+
stroke-width: 6px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
:host([data-size='sm']) > svg > circle {
|
|
52
|
+
stroke-width: 8px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@keyframes rotate {
|
|
56
|
+
100% {
|
|
57
|
+
transform: rotate(360deg);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@keyframes dash {
|
|
62
|
+
0% {
|
|
63
|
+
stroke-dasharray: 1, 124;
|
|
64
|
+
stroke-dashoffset: 0;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
50% {
|
|
68
|
+
stroke-dasharray: 90, 124;
|
|
69
|
+
stroke-dashoffset: -35;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
100% {
|
|
73
|
+
stroke-dashoffset: -125;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
`},14666:(t,e,i)=>{i.d(e,{H:()=>a});var n=i(80181),o=i(16655);const a=(0,o.u$)(class extends o.WL{constructor(t){if(super(t),t.type!==o.OA.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(t=>""!==t)));for(const t in e)e[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(e)}const i=t.element.classList;for(const t of this.st)t in e||(i.remove(t),this.st.delete(t));for(const t in e){const n=!!e[t];n===this.st.has(t)||this.nt?.has(t)||(n?(i.add(t),this.st.add(t)):(i.remove(t),this.st.delete(t)))}return n.c0}})},16655:(t,e,i)=>{i.d(e,{OA:()=>n,WL:()=>a,u$:()=>o});const n={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},o=t=>(...e)=>({_$litDirective$:t,values:e});class a{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}},19306:(t,e,i)=>{i.d(e,{T:()=>n.T});var n=i(81309)},21348:(t,e,i)=>{var n=i(35842),o=i(47214),a=i(19306),r=i(63521),s=i(24210),c=i(27305),l=i(94304),h=function(t,e,i,n){var o,a=arguments.length,r=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};const d={add:async()=>(await i.e(913).then(i.bind(i,40913))).addSvg,allWallets:async()=>(await i.e(5218).then(i.bind(i,35218))).allWalletsSvg,arrowBottomCircle:async()=>(await i.e(1572).then(i.bind(i,21572))).arrowBottomCircleSvg,appStore:async()=>(await i.e(2557).then(i.bind(i,92557))).appStoreSvg,apple:async()=>(await i.e(6138).then(i.bind(i,6138))).appleSvg,arrowBottom:async()=>(await i.e(1415).then(i.bind(i,61415))).arrowBottomSvg,arrowLeft:async()=>(await i.e(9313).then(i.bind(i,79313))).arrowLeftSvg,arrowRight:async()=>(await i.e(6811).then(i.bind(i,79192))).arrowRightSvg,arrowTop:async()=>(await i.e(2289).then(i.bind(i,52289))).arrowTopSvg,bank:async()=>(await i.e(4226).then(i.bind(i,94226))).bankSvg,browser:async()=>(await i.e(9850).then(i.bind(i,39850))).browserSvg,card:async()=>(await i.e(5206).then(i.bind(i,5206))).cardSvg,checkmark:async()=>(await i.e(7311).then(i.bind(i,17311))).checkmarkSvg,checkmarkBold:async()=>(await i.e(9607).then(i.bind(i,9607))).checkmarkBoldSvg,chevronBottom:async()=>(await i.e(6553).then(i.bind(i,16553))).chevronBottomSvg,chevronLeft:async()=>(await i.e(1211).then(i.bind(i,61211))).chevronLeftSvg,chevronRight:async()=>(await i.e(5330).then(i.bind(i,95330))).chevronRightSvg,chevronTop:async()=>(await i.e(6639).then(i.bind(i,96639))).chevronTopSvg,chromeStore:async()=>(await i.e(2202).then(i.bind(i,52202))).chromeStoreSvg,clock:async()=>(await i.e(7540).then(i.bind(i,45159))).clockSvg,close:async()=>(await i.e(1226).then(i.bind(i,91226))).closeSvg,compass:async()=>(await i.e(5090).then(i.bind(i,55090))).compassSvg,coinPlaceholder:async()=>(await i.e(984).then(i.bind(i,30984))).coinPlaceholderSvg,copy:async()=>(await i.e(9309).then(i.bind(i,89309))).copySvg,cursor:async()=>(await i.e(1426).then(i.bind(i,41426))).cursorSvg,cursorTransparent:async()=>(await i.e(4857).then(i.bind(i,64857))).cursorTransparentSvg,desktop:async()=>(await i.e(602).then(i.bind(i,90602))).desktopSvg,disconnect:async()=>(await i.e(8714).then(i.bind(i,8714))).disconnectSvg,discord:async()=>(await i.e(3874).then(i.bind(i,33874))).discordSvg,etherscan:async()=>(await i.e(3131).then(i.bind(i,13131))).etherscanSvg,extension:async()=>(await i.e(2715).then(i.bind(i,2715))).extensionSvg,externalLink:async()=>(await i.e(1776).then(i.bind(i,51776))).externalLinkSvg,facebook:async()=>(await i.e(8964).then(i.bind(i,48964))).facebookSvg,farcaster:async()=>(await i.e(6715).then(i.bind(i,16715))).farcasterSvg,filters:async()=>(await i.e(1133).then(i.bind(i,71133))).filtersSvg,github:async()=>(await i.e(631).then(i.bind(i,20631))).githubSvg,google:async()=>(await i.e(1139).then(i.bind(i,41139))).googleSvg,helpCircle:async()=>(await i.e(9396).then(i.bind(i,9396))).helpCircleSvg,image:async()=>(await i.e(6175).then(i.bind(i,46175))).imageSvg,id:async()=>(await i.e(6969).then(i.bind(i,16969))).idSvg,infoCircle:async()=>(await i.e(6705).then(i.bind(i,96705))).infoCircleSvg,lightbulb:async()=>(await i.e(1125).then(i.bind(i,31125))).lightbulbSvg,mail:async()=>(await i.e(283).then(i.bind(i,70283))).mailSvg,mobile:async()=>(await i.e(5438).then(i.bind(i,95438))).mobileSvg,more:async()=>(await i.e(897).then(i.bind(i,50897))).moreSvg,networkPlaceholder:async()=>(await i.e(3828).then(i.bind(i,23828))).networkPlaceholderSvg,nftPlaceholder:async()=>(await i.e(8029).then(i.bind(i,88029))).nftPlaceholderSvg,off:async()=>(await i.e(8631).then(i.bind(i,48631))).offSvg,playStore:async()=>(await i.e(3646).then(i.bind(i,63646))).playStoreSvg,plus:async()=>(await i.e(2844).then(i.bind(i,12844))).plusSvg,qrCode:async()=>(await i.e(8717).then(i.bind(i,68717))).qrCodeIcon,recycleHorizontal:async()=>(await i.e(1136).then(i.bind(i,91136))).recycleHorizontalSvg,refresh:async()=>(await i.e(8249).then(i.bind(i,78249))).refreshSvg,search:async()=>(await i.e(9120).then(i.bind(i,29120))).searchSvg,send:async()=>(await i.e(2902).then(i.bind(i,72902))).sendSvg,swapHorizontal:async()=>(await i.e(3099).then(i.bind(i,93099))).swapHorizontalSvg,swapHorizontalMedium:async()=>(await i.e(7176).then(i.bind(i,37176))).swapHorizontalMediumSvg,swapHorizontalBold:async()=>(await i.e(6036).then(i.bind(i,96036))).swapHorizontalBoldSvg,swapHorizontalRoundedBold:async()=>(await i.e(3105).then(i.bind(i,23105))).swapHorizontalRoundedBoldSvg,swapVertical:async()=>(await i.e(4249).then(i.bind(i,34249))).swapVerticalSvg,telegram:async()=>(await i.e(8147).then(i.bind(i,8147))).telegramSvg,threeDots:async()=>(await i.e(967).then(i.bind(i,10967))).threeDotsSvg,twitch:async()=>(await i.e(1951).then(i.bind(i,51951))).twitchSvg,twitter:async()=>(await i.e(362).then(i.bind(i,60362))).xSvg,twitterIcon:async()=>(await i.e(7272).then(i.bind(i,27272))).twitterIconSvg,verify:async()=>(await i.e(9081).then(i.bind(i,99081))).verifySvg,verifyFilled:async()=>(await i.e(3550).then(i.bind(i,3550))).verifyFilledSvg,wallet:async()=>(await i.e(577).then(i.bind(i,30577))).walletSvg,walletConnect:async()=>(await i.e(1979).then(i.bind(i,81979))).walletConnectSvg,walletConnectLightBrown:async()=>(await i.e(1979).then(i.bind(i,81979))).walletConnectLightBrownSvg,walletConnectBrown:async()=>(await i.e(1979).then(i.bind(i,81979))).walletConnectBrownSvg,walletPlaceholder:async()=>(await i.e(3857).then(i.bind(i,43857))).walletPlaceholderSvg,warningCircle:async()=>(await i.e(6611).then(i.bind(i,96611))).warningCircleSvg,x:async()=>(await i.e(362).then(i.bind(i,60362))).xSvg,info:async()=>(await i.e(7780).then(i.bind(i,17780))).infoSvg,exclamationTriangle:async()=>(await i.e(7428).then(i.bind(i,67428))).exclamationTriangleSvg,reown:async()=>(await i.e(4733).then(i.bind(i,44733))).reownSvg};let g=class extends n.WF{constructor(){super(...arguments),this.size="md",this.name="copy",this.color="fg-300",this.aspectRatio="1 / 1"}render(){return this.style.cssText=`\n --local-color: var(--wui-color-${this.color});\n --local-width: var(--wui-icon-size-${this.size});\n --local-aspect-ratio: ${this.aspectRatio}\n `,n.qy`${(0,a.T)(async function(t){if(r.A.has(t))return r.A.get(t);const e=(d[t]??d.copy)();return r.A.set(t,e),e}(this.name),n.qy`<div class="fallback"></div>`)}`}};g.styles=[s.W5,s.ck,l.A],h([(0,o.MZ)()],g.prototype,"size",void 0),h([(0,o.MZ)()],g.prototype,"name",void 0),h([(0,o.MZ)()],g.prototype,"color",void 0),h([(0,o.MZ)()],g.prototype,"aspectRatio",void 0),g=h([(0,c.E)("wui-icon")],g)},21632:(t,e,i)=>{i.d(e,{A:()=>n});const n=i(35842).AH`
|
|
77
|
+
:host {
|
|
78
|
+
display: inline-flex;
|
|
79
|
+
justify-content: center;
|
|
80
|
+
align-items: center;
|
|
81
|
+
position: relative;
|
|
82
|
+
overflow: hidden;
|
|
83
|
+
background-color: var(--wui-color-gray-glass-020);
|
|
84
|
+
border-radius: var(--local-border-radius);
|
|
85
|
+
border: var(--local-border);
|
|
86
|
+
box-sizing: content-box;
|
|
87
|
+
width: var(--local-size);
|
|
88
|
+
height: var(--local-size);
|
|
89
|
+
min-height: var(--local-size);
|
|
90
|
+
min-width: var(--local-size);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@supports (background: color-mix(in srgb, white 50%, black)) {
|
|
94
|
+
:host {
|
|
95
|
+
background-color: color-mix(in srgb, var(--local-bg-value) var(--local-bg-mix), transparent);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
`},27390:(t,e,i)=>{i.d(e,{J:()=>n.J});var n=i(31006)},31006:(t,e,i)=>{i.d(e,{J:()=>o});var n=i(80181);const o=t=>t??n.s6},38916:(t,e,i)=>{var n=i(35842),o=i(47214),a=(i(21348),i(24210)),r=i(27305),s=i(21632),c=function(t,e,i,n){var o,a=arguments.length,r=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};let l=class extends n.WF{constructor(){super(...arguments),this.size="md",this.backgroundColor="accent-100",this.iconColor="accent-100",this.background="transparent",this.border=!1,this.borderColor="wui-color-bg-125",this.icon="copy"}render(){const t=this.iconSize||this.size,e="lg"===this.size,i="xl"===this.size,o=e?"12%":"16%",a=e?"xxs":i?"s":"3xl",r="gray"===this.background,s="opaque"===this.background,c="accent-100"===this.backgroundColor&&s||"success-100"===this.backgroundColor&&s||"error-100"===this.backgroundColor&&s||"inverse-100"===this.backgroundColor&&s;let l=`var(--wui-color-${this.backgroundColor})`;return c?l=`var(--wui-icon-box-bg-${this.backgroundColor})`:r&&(l=`var(--wui-color-gray-${this.backgroundColor})`),this.style.cssText=`\n --local-bg-value: ${l};\n --local-bg-mix: ${c||r?"100%":o};\n --local-border-radius: var(--wui-border-radius-${a});\n --local-size: var(--wui-icon-box-size-${this.size});\n --local-border: ${"wui-color-bg-125"===this.borderColor?"2px":"1px"} solid ${this.border?`var(--${this.borderColor})`:"transparent"}\n `,n.qy` <wui-icon color=${this.iconColor} size=${t} name=${this.icon}></wui-icon> `}};l.styles=[a.W5,a.fD,s.A],c([(0,o.MZ)()],l.prototype,"size",void 0),c([(0,o.MZ)()],l.prototype,"backgroundColor",void 0),c([(0,o.MZ)()],l.prototype,"iconColor",void 0),c([(0,o.MZ)()],l.prototype,"iconSize",void 0),c([(0,o.MZ)()],l.prototype,"background",void 0),c([(0,o.MZ)({type:Boolean})],l.prototype,"border",void 0),c([(0,o.MZ)()],l.prototype,"borderColor",void 0),c([(0,o.MZ)()],l.prototype,"icon",void 0),l=c([(0,r.E)("wui-icon-box")],l)},39103:(t,e,i)=>{i.d(e,{h:()=>o,yA:()=>n});class n{constructor(t){this.G=t}disconnect(){this.G=void 0}reconnect(t){this.G=t}deref(){return this.G}}class o{constructor(){this.Y=void 0,this.Z=void 0}get(){return this.Y}pause(){this.Y??=new Promise(t=>this.Z=t)}resume(){this.Z?.(),this.Y=this.Z=void 0}}},46569:(t,e,i)=>{i(21348)},47214:(t,e,i)=>{i.d(e,{MZ:()=>n.M,wk:()=>o.w});var n=i(79511),o=i(98393)},50798:(t,e,i)=>{var n=i(35842),o=i(47214),a=i(52298),r=i(24210),s=i(27305),c=i(70338),l=function(t,e,i,n){var o,a=arguments.length,r=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};let h=class extends n.WF{constructor(){super(...arguments),this.variant="paragraph-500",this.color="fg-300",this.align="left",this.lineClamp=void 0}render(){const t={[`wui-font-${this.variant}`]:!0,[`wui-color-${this.color}`]:!0,[`wui-line-clamp-${this.lineClamp}`]:!!this.lineClamp};return this.style.cssText=`\n --local-align: ${this.align};\n --local-color: var(--wui-color-${this.color});\n `,n.qy`<slot class=${(0,a.H)(t)}></slot>`}};h.styles=[r.W5,c.A],l([(0,o.MZ)()],h.prototype,"variant",void 0),l([(0,o.MZ)()],h.prototype,"color",void 0),l([(0,o.MZ)()],h.prototype,"align",void 0),l([(0,o.MZ)()],h.prototype,"lineClamp",void 0),h=l([(0,s.E)("wui-text")],h)},52298:(t,e,i)=>{i.d(e,{H:()=>n.H});var n=i(14666)},53667:(t,e,i)=>{var n=i(35842),o=i(47214),a=(i(50798),i(24210)),r=i(27305),s=i(94541),c=function(t,e,i,n){var o,a=arguments.length,r=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};let l=class extends n.WF{constructor(){super(...arguments),this.variant="main",this.size="lg"}render(){this.dataset.variant=this.variant,this.dataset.size=this.size;const t="md"===this.size?"mini-700":"micro-700";return n.qy`
|
|
99
|
+
<wui-text data-variant=${this.variant} variant=${t} color="inherit">
|
|
100
|
+
<slot></slot>
|
|
101
|
+
</wui-text>
|
|
102
|
+
`}};l.styles=[a.W5,s.A],c([(0,o.MZ)()],l.prototype,"variant",void 0),c([(0,o.MZ)()],l.prototype,"size",void 0),l=c([(0,r.E)("wui-tag")],l)},62247:(t,e,i)=>{var n=i(35842),o=i(47214),a=i(24210),r=i(27305),s=i(14089),c=function(t,e,i,n){var o,a=arguments.length,r=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};let l=class extends n.WF{constructor(){super(...arguments),this.color="accent-100",this.size="lg"}render(){return this.style.cssText="--local-color: "+("inherit"===this.color?"inherit":`var(--wui-color-${this.color})`),this.dataset.size=this.size,n.qy`<svg viewBox="25 25 50 50">
|
|
103
|
+
<circle r="20" cy="50" cx="50"></circle>
|
|
104
|
+
</svg>`}};l.styles=[a.W5,s.A],c([(0,o.MZ)()],l.prototype,"color",void 0),c([(0,o.MZ)()],l.prototype,"size",void 0),l=c([(0,r.E)("wui-loading-spinner")],l)},63521:(t,e,i)=>{i.d(e,{A:()=>n});const n=new class{constructor(){this.cache=new Map}set(t,e){this.cache.set(t,e)}get(t){return this.cache.get(t)}has(t){return this.cache.has(t)}delete(t){this.cache.delete(t)}clear(){this.cache.clear()}}},66501:(t,e,i)=>{var n=i(35842),o=i(47214),a=i(24210),r=i(27305),s=i(90222),c=function(t,e,i,n){var o,a=arguments.length,r=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};let l=class extends n.WF{constructor(){super(...arguments),this.src="./path/to/image.jpg",this.alt="Image",this.size=void 0}render(){return this.style.cssText=`\n --local-width: ${this.size?`var(--wui-icon-size-${this.size});`:"100%"};\n --local-height: ${this.size?`var(--wui-icon-size-${this.size});`:"100%"};\n `,n.qy`<img src=${this.src} alt=${this.alt} @error=${this.handleImageError} />`}handleImageError(){this.dispatchEvent(new CustomEvent("onLoadError",{bubbles:!0,composed:!0}))}};l.styles=[a.W5,a.ck,s.A],c([(0,o.MZ)()],l.prototype,"src",void 0),c([(0,o.MZ)()],l.prototype,"alt",void 0),c([(0,o.MZ)()],l.prototype,"size",void 0),l=c([(0,r.E)("wui-image")],l)},70338:(t,e,i)=>{i.d(e,{A:()=>n});const n=i(35842).AH`
|
|
105
|
+
:host {
|
|
106
|
+
display: inline-flex !important;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
slot {
|
|
110
|
+
width: 100%;
|
|
111
|
+
display: inline-block;
|
|
112
|
+
font-style: normal;
|
|
113
|
+
font-family: var(--wui-font-family);
|
|
114
|
+
font-feature-settings:
|
|
115
|
+
'tnum' on,
|
|
116
|
+
'lnum' on,
|
|
117
|
+
'case' on;
|
|
118
|
+
line-height: 130%;
|
|
119
|
+
font-weight: var(--wui-font-weight-regular);
|
|
120
|
+
overflow: inherit;
|
|
121
|
+
text-overflow: inherit;
|
|
122
|
+
text-align: var(--local-align);
|
|
123
|
+
color: var(--local-color);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.wui-line-clamp-1 {
|
|
127
|
+
overflow: hidden;
|
|
128
|
+
display: -webkit-box;
|
|
129
|
+
-webkit-box-orient: vertical;
|
|
130
|
+
-webkit-line-clamp: 1;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.wui-line-clamp-2 {
|
|
134
|
+
overflow: hidden;
|
|
135
|
+
display: -webkit-box;
|
|
136
|
+
-webkit-box-orient: vertical;
|
|
137
|
+
-webkit-line-clamp: 2;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.wui-font-medium-400 {
|
|
141
|
+
font-size: var(--wui-font-size-medium);
|
|
142
|
+
font-weight: var(--wui-font-weight-light);
|
|
143
|
+
letter-spacing: var(--wui-letter-spacing-medium);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.wui-font-medium-600 {
|
|
147
|
+
font-size: var(--wui-font-size-medium);
|
|
148
|
+
letter-spacing: var(--wui-letter-spacing-medium);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.wui-font-title-600 {
|
|
152
|
+
font-size: var(--wui-font-size-title);
|
|
153
|
+
letter-spacing: var(--wui-letter-spacing-title);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.wui-font-title-6-600 {
|
|
157
|
+
font-size: var(--wui-font-size-title-6);
|
|
158
|
+
letter-spacing: var(--wui-letter-spacing-title-6);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.wui-font-mini-700 {
|
|
162
|
+
font-size: var(--wui-font-size-mini);
|
|
163
|
+
letter-spacing: var(--wui-letter-spacing-mini);
|
|
164
|
+
text-transform: uppercase;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.wui-font-large-500,
|
|
168
|
+
.wui-font-large-600,
|
|
169
|
+
.wui-font-large-700 {
|
|
170
|
+
font-size: var(--wui-font-size-large);
|
|
171
|
+
letter-spacing: var(--wui-letter-spacing-large);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.wui-font-2xl-500,
|
|
175
|
+
.wui-font-2xl-600,
|
|
176
|
+
.wui-font-2xl-700 {
|
|
177
|
+
font-size: var(--wui-font-size-2xl);
|
|
178
|
+
letter-spacing: var(--wui-letter-spacing-2xl);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.wui-font-paragraph-400,
|
|
182
|
+
.wui-font-paragraph-500,
|
|
183
|
+
.wui-font-paragraph-600,
|
|
184
|
+
.wui-font-paragraph-700 {
|
|
185
|
+
font-size: var(--wui-font-size-paragraph);
|
|
186
|
+
letter-spacing: var(--wui-letter-spacing-paragraph);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.wui-font-small-400,
|
|
190
|
+
.wui-font-small-500,
|
|
191
|
+
.wui-font-small-600 {
|
|
192
|
+
font-size: var(--wui-font-size-small);
|
|
193
|
+
letter-spacing: var(--wui-letter-spacing-small);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.wui-font-tiny-400,
|
|
197
|
+
.wui-font-tiny-500,
|
|
198
|
+
.wui-font-tiny-600 {
|
|
199
|
+
font-size: var(--wui-font-size-tiny);
|
|
200
|
+
letter-spacing: var(--wui-letter-spacing-tiny);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.wui-font-micro-700,
|
|
204
|
+
.wui-font-micro-600 {
|
|
205
|
+
font-size: var(--wui-font-size-micro);
|
|
206
|
+
letter-spacing: var(--wui-letter-spacing-micro);
|
|
207
|
+
text-transform: uppercase;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.wui-font-tiny-400,
|
|
211
|
+
.wui-font-small-400,
|
|
212
|
+
.wui-font-medium-400,
|
|
213
|
+
.wui-font-paragraph-400 {
|
|
214
|
+
font-weight: var(--wui-font-weight-light);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.wui-font-large-700,
|
|
218
|
+
.wui-font-paragraph-700,
|
|
219
|
+
.wui-font-micro-700,
|
|
220
|
+
.wui-font-mini-700 {
|
|
221
|
+
font-weight: var(--wui-font-weight-bold);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.wui-font-medium-600,
|
|
225
|
+
.wui-font-medium-title-600,
|
|
226
|
+
.wui-font-title-6-600,
|
|
227
|
+
.wui-font-large-600,
|
|
228
|
+
.wui-font-paragraph-600,
|
|
229
|
+
.wui-font-small-600,
|
|
230
|
+
.wui-font-tiny-600,
|
|
231
|
+
.wui-font-micro-600 {
|
|
232
|
+
font-weight: var(--wui-font-weight-medium);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
:host([disabled]) {
|
|
236
|
+
opacity: 0.4;
|
|
237
|
+
}
|
|
238
|
+
`},70367:(t,e,i)=>{i.d(e,{Rt:()=>r,sO:()=>a});var n=i(80181);const{I:o}=n.ge,a=t=>null===t||"object"!=typeof t&&"function"!=typeof t,r=t=>void 0===t.strings},75028:(t,e,i)=>{var n=i(35842),o=i(47214),a=i(24210),r=i(63789),s=i(27305),c=i(432),l=function(t,e,i,n){var o,a=arguments.length,r=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};let h=class extends n.WF{render(){return this.style.cssText=`\n flex-direction: ${this.flexDirection};\n flex-wrap: ${this.flexWrap};\n flex-basis: ${this.flexBasis};\n flex-grow: ${this.flexGrow};\n flex-shrink: ${this.flexShrink};\n align-items: ${this.alignItems};\n justify-content: ${this.justifyContent};\n column-gap: ${this.columnGap&&`var(--wui-spacing-${this.columnGap})`};\n row-gap: ${this.rowGap&&`var(--wui-spacing-${this.rowGap})`};\n gap: ${this.gap&&`var(--wui-spacing-${this.gap})`};\n padding-top: ${this.padding&&r.Z.getSpacingStyles(this.padding,0)};\n padding-right: ${this.padding&&r.Z.getSpacingStyles(this.padding,1)};\n padding-bottom: ${this.padding&&r.Z.getSpacingStyles(this.padding,2)};\n padding-left: ${this.padding&&r.Z.getSpacingStyles(this.padding,3)};\n margin-top: ${this.margin&&r.Z.getSpacingStyles(this.margin,0)};\n margin-right: ${this.margin&&r.Z.getSpacingStyles(this.margin,1)};\n margin-bottom: ${this.margin&&r.Z.getSpacingStyles(this.margin,2)};\n margin-left: ${this.margin&&r.Z.getSpacingStyles(this.margin,3)};\n `,n.qy`<slot></slot>`}};h.styles=[a.W5,c.A],l([(0,o.MZ)()],h.prototype,"flexDirection",void 0),l([(0,o.MZ)()],h.prototype,"flexWrap",void 0),l([(0,o.MZ)()],h.prototype,"flexBasis",void 0),l([(0,o.MZ)()],h.prototype,"flexGrow",void 0),l([(0,o.MZ)()],h.prototype,"flexShrink",void 0),l([(0,o.MZ)()],h.prototype,"alignItems",void 0),l([(0,o.MZ)()],h.prototype,"justifyContent",void 0),l([(0,o.MZ)()],h.prototype,"columnGap",void 0),l([(0,o.MZ)()],h.prototype,"rowGap",void 0),l([(0,o.MZ)()],h.prototype,"gap",void 0),l([(0,o.MZ)()],h.prototype,"padding",void 0),l([(0,o.MZ)()],h.prototype,"margin",void 0),h=l([(0,s.E)("wui-flex")],h)},75430:(t,e,i)=>{i.d(e,{Kq:()=>d});var n=i(70367),o=i(16655);const a=(t,e)=>{const i=t._$AN;if(void 0===i)return!1;for(const t of i)t._$AO?.(e,!1),a(t,e);return!0},r=t=>{let e,i;do{if(void 0===(e=t._$AM))break;i=e._$AN,i.delete(t),t=e}while(0===i?.size)},s=t=>{for(let e;e=t._$AM;t=e){let i=e._$AN;if(void 0===i)e._$AN=i=new Set;else if(i.has(t))break;i.add(t),h(e)}};function c(t){void 0!==this._$AN?(r(this),this._$AM=t,s(this)):this._$AM=t}function l(t,e=!1,i=0){const n=this._$AH,o=this._$AN;if(void 0!==o&&0!==o.size)if(e)if(Array.isArray(n))for(let t=i;t<n.length;t++)a(n[t],!1),r(n[t]);else null!=n&&(a(n,!1),r(n));else a(this,t)}const h=t=>{t.type==o.OA.CHILD&&(t._$AP??=l,t._$AQ??=c)};class d extends o.WL{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,i){super._$AT(t,e,i),s(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(a(this,t),r(this))}setValue(t){if((0,n.Rt)(this._$Ct))this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}},79511:(t,e,i)=>{i.d(e,{M:()=>r});var n=i(58207);const o={attribute:!0,type:String,converter:n.W3,reflect:!1,hasChanged:n.Ec},a=(t=o,e,i)=>{const{kind:n,metadata:a}=i;let r=globalThis.litPropertyMetadata.get(a);if(void 0===r&&globalThis.litPropertyMetadata.set(a,r=new Map),"setter"===n&&((t=Object.create(t)).wrapped=!0),r.set(i.name,t),"accessor"===n){const{name:n}=i;return{set(i){const o=e.get.call(this);e.set.call(this,i),this.requestUpdate(n,o,t)},init(e){return void 0!==e&&this.C(n,void 0,t,e),e}}}if("setter"===n){const{name:n}=i;return function(i){const o=this[n];e.call(this,i),this.requestUpdate(n,o,t)}}throw Error("Unsupported decorator location: "+n)};function r(t){return(e,i)=>"object"==typeof i?a(t,e,i):((t,e,i)=>{const n=e.hasOwnProperty(i);return e.constructor.createProperty(i,t),n?Object.getOwnPropertyDescriptor(e,i):void 0})(t,e,i)}},81309:(t,e,i)=>{i.d(e,{T:()=>d});var n=i(80181),o=i(70367),a=i(75430),r=i(39103),s=i(16655);const c=t=>!(0,o.sO)(t)&&"function"==typeof t.then,l=1073741823;class h extends a.Kq{constructor(){super(...arguments),this._$Cwt=l,this._$Cbt=[],this._$CK=new r.yA(this),this._$CX=new r.h}render(...t){return t.find(t=>!c(t))??n.c0}update(t,e){const i=this._$Cbt;let o=i.length;this._$Cbt=e;const a=this._$CK,r=this._$CX;this.isConnected||this.disconnected();for(let t=0;t<e.length&&!(t>this._$Cwt);t++){const n=e[t];if(!c(n))return this._$Cwt=t,n;t<o&&n===i[t]||(this._$Cwt=l,o=0,Promise.resolve(n).then(async t=>{for(;r.get();)await r.get();const e=a.deref();if(void 0!==e){const i=e._$Cbt.indexOf(n);i>-1&&i<e._$Cwt&&(e._$Cwt=i,e.setValue(t))}}))}return n.c0}disconnected(){this._$CK.disconnect(),this._$CX.pause()}reconnected(){this._$CK.reconnect(this),this._$CX.resume()}}const d=(0,s.u$)(h)},90222:(t,e,i)=>{i.d(e,{A:()=>n});const n=i(35842).AH`
|
|
239
|
+
:host {
|
|
240
|
+
display: block;
|
|
241
|
+
width: var(--local-width);
|
|
242
|
+
height: var(--local-height);
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
img {
|
|
246
|
+
display: block;
|
|
247
|
+
width: 100%;
|
|
248
|
+
height: 100%;
|
|
249
|
+
object-fit: cover;
|
|
250
|
+
object-position: center center;
|
|
251
|
+
border-radius: inherit;
|
|
252
|
+
}
|
|
253
|
+
`},94304:(t,e,i)=>{i.d(e,{A:()=>n});const n=i(35842).AH`
|
|
254
|
+
:host {
|
|
255
|
+
display: flex;
|
|
256
|
+
aspect-ratio: var(--local-aspect-ratio);
|
|
257
|
+
color: var(--local-color);
|
|
258
|
+
width: var(--local-width);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
svg {
|
|
262
|
+
width: inherit;
|
|
263
|
+
height: inherit;
|
|
264
|
+
object-fit: contain;
|
|
265
|
+
object-position: center;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.fallback {
|
|
269
|
+
width: var(--local-width);
|
|
270
|
+
height: var(--local-height);
|
|
271
|
+
}
|
|
272
|
+
`},94541:(t,e,i)=>{i.d(e,{A:()=>n});const n=i(35842).AH`
|
|
273
|
+
:host {
|
|
274
|
+
display: flex;
|
|
275
|
+
justify-content: center;
|
|
276
|
+
align-items: center;
|
|
277
|
+
height: var(--wui-spacing-m);
|
|
278
|
+
padding: 0 var(--wui-spacing-3xs) !important;
|
|
279
|
+
border-radius: var(--wui-border-radius-5xs);
|
|
280
|
+
transition:
|
|
281
|
+
border-radius var(--wui-duration-lg) var(--wui-ease-out-power-1),
|
|
282
|
+
background-color var(--wui-duration-lg) var(--wui-ease-out-power-1);
|
|
283
|
+
will-change: border-radius, background-color;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
:host > wui-text {
|
|
287
|
+
transform: translateY(5%);
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
:host([data-variant='main']) {
|
|
291
|
+
background-color: var(--wui-color-accent-glass-015);
|
|
292
|
+
color: var(--wui-color-accent-100);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
:host([data-variant='shade']) {
|
|
296
|
+
background-color: var(--wui-color-gray-glass-010);
|
|
297
|
+
color: var(--wui-color-fg-200);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
:host([data-variant='success']) {
|
|
301
|
+
background-color: var(--wui-icon-box-bg-success-100);
|
|
302
|
+
color: var(--wui-color-success-100);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
:host([data-variant='error']) {
|
|
306
|
+
background-color: var(--wui-icon-box-bg-error-100);
|
|
307
|
+
color: var(--wui-color-error-100);
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
:host([data-size='lg']) {
|
|
311
|
+
padding: 11px 5px !important;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
:host([data-size='lg']) > wui-text {
|
|
315
|
+
transform: translateY(2%);
|
|
316
|
+
}
|
|
317
|
+
`},96975:(t,e,i)=>{i(50798)},98191:(t,e,i)=>{i(75028)},98393:(t,e,i)=>{i.d(e,{w:()=>o});var n=i(79511);function o(t){return(0,n.M)({...t,state:!0,attribute:!1})}}};
|
package/build/4203.index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const
|
|
1
|
+
export const __webpack_esm_id__=4203;export const __webpack_esm_ids__=[4203];export const __webpack_esm_modules__={54203:(l,c,a)=>{a.r(c),a.d(c,{verifySvg:()=>e});const e=a(52788).JW`<svg fill="none" viewBox="0 0 28 28">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
fill-rule="evenodd"
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export const __webpack_esm_id__=4226;export const __webpack_esm_ids__=[4226];export const __webpack_esm_modules__={94226:(e,_,o)=>{o.r(_),o.d(_,{bankSvg:()=>s});const s=o(35842).JW`<svg
|
|
2
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
+
width="12"
|
|
4
|
+
height="13"
|
|
5
|
+
viewBox="0 0 12 13"
|
|
6
|
+
fill="none"
|
|
7
|
+
>
|
|
8
|
+
<path
|
|
9
|
+
fill-rule="evenodd"
|
|
10
|
+
clip-rule="evenodd"
|
|
11
|
+
d="M5.61391 1.57124C5.85142 1.42873 6.14813 1.42873 6.38564 1.57124L11.0793 4.38749C11.9179 4.89067 11.5612 6.17864 10.5832 6.17864H9.96398V10.0358H10.2854C10.6996 10.0358 11.0354 10.3716 11.0354 10.7858C11.0354 11.2 10.6996 11.5358 10.2854 11.5358H1.71416C1.29995 11.5358 0.964172 11.2 0.964172 10.7858C0.964172 10.3716 1.29995 10.0358 1.71416 10.0358H2.03558L2.03558 6.17864H1.41637C0.438389 6.17864 0.0816547 4.89066 0.920263 4.38749L5.61391 1.57124ZM3.53554 6.17864V10.0358H5.24979V6.17864H3.53554ZM6.74976 6.17864V10.0358H8.46401V6.17864H6.74976ZM8.64913 4.67864H3.35043L5.99978 3.089L8.64913 4.67864Z"
|
|
12
|
+
fill="currentColor"
|
|
13
|
+
/></svg
|
|
14
|
+
>`}};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export const __webpack_esm_id__=4249;export const __webpack_esm_ids__=[4249];export const __webpack_esm_modules__={34249:(e,l,_)=>{_.r(l),_.d(l,{swapVerticalSvg:()=>a});const a=_(35842).JW`<svg fill="none" viewBox="0 0 14 14">
|
|
2
|
+
<path
|
|
3
|
+
fill="currentColor"
|
|
4
|
+
fill-rule="evenodd"
|
|
5
|
+
d="M3.48 2.18a1 1 0 0 1 1.41 0l2.68 2.68a1 1 0 1 1-1.41 1.42l-.98-.98v4.56a1 1 0 0 1-2 0V5.3l-.97.98A1 1 0 0 1 .79 4.86l2.69-2.68Zm6.34 2.93a1 1 0 0 1 1 1v4.56l.97-.98a1 1 0 1 1 1.42 1.42l-2.69 2.68a1 1 0 0 1-1.41 0l-2.68-2.68a1 1 0 0 1 1.41-1.42l.98.98V6.1a1 1 0 0 1 1-1Z"
|
|
6
|
+
clip-rule="evenodd"
|
|
7
|
+
/>
|
|
8
|
+
</svg>`}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const __webpack_esm_id__=4264;export const __webpack_esm_ids__=[4264];export const __webpack_esm_modules__={64264:(t,e,r)=>{r.d(e,{A:()=>w,V:()=>w});var o=r(50046),n=r(90735),s=r.n(n),i=r(25607),a=r(14350),h=Object.defineProperty,c=Object.defineProperties,u=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,p=(t,e,r)=>e in t?h(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,y=(t,e)=>{for(var r in e||(e={}))d.call(e,r)&&p(t,r,e[r]);if(f)for(var r of f(e))l.call(e,r)&&p(t,r,e[r]);return t},b=(t,e)=>c(t,u(e));const m={headers:{Accept:"application/json","Content-Type":"application/json"},method:"POST"};class w{constructor(t,e=!1){if(this.url=t,this.disableProviderPing=e,this.events=new o.EventEmitter,this.isAvailable=!1,this.registering=!1,!(0,a.isHttpUrl)(t))throw new Error(`Provided URL is not compatible with HTTP connection: ${t}`);this.url=t,this.disableProviderPing=e}get connected(){return this.isAvailable}get connecting(){return this.registering}on(t,e){this.events.on(t,e)}once(t,e){this.events.once(t,e)}off(t,e){this.events.off(t,e)}removeListener(t,e){this.events.removeListener(t,e)}async open(t=this.url){await this.register(t)}async close(){if(!this.isAvailable)throw new Error("Connection already closed");this.onClose()}async send(t){this.isAvailable||await this.register();try{const e=(0,i.h)(t),r=await(await s()(this.url,b(y({},m),{body:e}))).json();this.onPayload({data:r})}catch(e){this.onError(t.id,e)}}async register(t=this.url){if(!(0,a.isHttpUrl)(t))throw new Error(`Provided URL is not compatible with HTTP connection: ${t}`);if(this.registering){const t=this.events.getMaxListeners();return(this.events.listenerCount("register_error")>=t||this.events.listenerCount("open")>=t)&&this.events.setMaxListeners(t+1),new Promise((t,e)=>{this.events.once("register_error",t=>{this.resetMaxListeners(),e(t)}),this.events.once("open",()=>{if(this.resetMaxListeners(),typeof this.isAvailable>"u")return e(new Error("HTTP connection is missing or invalid"));t()})})}this.url=t,this.registering=!0;try{if(!this.disableProviderPing){const e=(0,i.h)({id:1,jsonrpc:"2.0",method:"test",params:[]});await s()(t,b(y({},m),{body:e}))}this.onOpen()}catch(t){const e=this.parseError(t);throw this.events.emit("register_error",e),this.onClose(),e}}onOpen(){this.isAvailable=!0,this.registering=!1,this.events.emit("open")}onClose(){this.isAvailable=!1,this.registering=!1,this.events.emit("close")}onPayload(t){if(typeof t.data>"u")return;const e="string"==typeof t.data?(0,i.j)(t.data):t.data;this.events.emit("payload",e)}onError(t,e){const r=this.parseError(e),o=r.message||r.toString(),n=(0,a.formatJsonRpcError)(t,o);this.events.emit("payload",n)}parseError(t,e=this.url){return(0,a.parseConnectionError)(t,e,"HTTP")}resetMaxListeners(){this.events.getMaxListeners()>10&&this.events.setMaxListeners(10)}}},90735:(t,e,r)=>{var o="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r.g&&r.g,n=function(){function t(){this.fetch=!1,this.DOMException=o.DOMException}return t.prototype=o,new t}();!function(t){!function(e){var o=void 0!==t&&t||"undefined"!=typeof self&&self||void 0!==r.g&&r.g||{},n="URLSearchParams"in o,s="Symbol"in o&&"iterator"in Symbol,i="FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch(t){return!1}}(),a="FormData"in o,h="ArrayBuffer"in o;if(h)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(t){return t&&c.indexOf(Object.prototype.toString.call(t))>-1};function f(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function d(t){return"string"!=typeof t&&(t=String(t)),t}function l(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return s&&(e[Symbol.iterator]=function(){return e}),e}function p(t){this.map={},t instanceof p?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){if(2!=t.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+t.length);this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function y(t){if(!t._noBody)return t.bodyUsed?Promise.reject(new TypeError("Already read")):void(t.bodyUsed=!0)}function b(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function m(t){var e=new FileReader,r=b(e);return e.readAsArrayBuffer(t),r}function w(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:i&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:a&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:n&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():h&&i&&(e=t)&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=w(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):h&&(ArrayBuffer.prototype.isPrototypeOf(t)||u(t))?this._bodyArrayBuffer=w(t):this._bodyText=t=Object.prototype.toString.call(t):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var t=y(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return y(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(i)return this.blob().then(m);throw new Error("could not read as ArrayBuffer")},this.text=function(){var t,e,r,o,n,s=y(this);if(s)return s;if(this._bodyBlob)return t=this._bodyBlob,r=b(e=new FileReader),n=(o=/charset=([A-Za-z0-9_-]+)/.exec(t.type))?o[1]:"utf-8",e.readAsText(t,n),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),o=0;o<e.length;o++)r[o]=String.fromCharCode(e[o]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a&&(this.formData=function(){return this.text().then(E)}),this.json=function(){return this.text().then(JSON.parse)},this}p.prototype.append=function(t,e){t=f(t),e=d(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},p.prototype.delete=function(t){delete this.map[f(t)]},p.prototype.get=function(t){return t=f(t),this.has(t)?this.map[t]:null},p.prototype.has=function(t){return this.map.hasOwnProperty(f(t))},p.prototype.set=function(t,e){this.map[f(t)]=d(e)},p.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},p.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),l(t)},p.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),l(t)},p.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),l(t)},s&&(p.prototype[Symbol.iterator]=p.prototype.entries);var g=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function _(t,e){if(!(this instanceof _))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n,s=(e=e||{}).body;if(t instanceof _){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new p(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,s||null==t._bodyInit||(s=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new p(e.headers)),this.method=(n=(r=e.method||this.method||"GET").toUpperCase(),g.indexOf(n)>-1?n:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal||function(){if("AbortController"in o)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&s)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(s),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){var i=/([?&])_=[^&]*/;i.test(this.url)?this.url=this.url.replace(i,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function E(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var r=t.split("="),o=r.shift().replace(/\+/g," "),n=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(o),decodeURIComponent(n))}}),e}function A(t,e){if(!(this instanceof A))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new p(e.headers),this.url=e.url||"",this._initBody(t)}_.prototype.clone=function(){return new _(this,{body:this._bodyInit})},v.call(_.prototype),v.call(A.prototype),A.prototype.clone=function(){return new A(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},A.error=function(){var t=new A(null,{status:200,statusText:""});return t.ok=!1,t.status=0,t.type="error",t};var T=[301,302,303,307,308];A.redirect=function(t,e){if(-1===T.indexOf(e))throw new RangeError("Invalid status code");return new A(null,{status:e,headers:{location:t}})},e.DOMException=o.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function O(t,r){return new Promise(function(n,s){var a=new _(t,r);if(a.signal&&a.signal.aborted)return s(new e.DOMException("Aborted","AbortError"));var c=new XMLHttpRequest;function u(){c.abort()}if(c.onload=function(){var t,e,r={statusText:c.statusText,headers:(t=c.getAllResponseHeaders()||"",e=new p,t.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t}).forEach(function(t){var r=t.split(":"),o=r.shift().trim();if(o){var n=r.join(":").trim();try{e.append(o,n)}catch(t){console.warn("Response "+t.message)}}}),e)};0===a.url.indexOf("file://")&&(c.status<200||c.status>599)?r.status=200:r.status=c.status,r.url="responseURL"in c?c.responseURL:r.headers.get("X-Request-URL");var o="response"in c?c.response:c.responseText;setTimeout(function(){n(new A(o,r))},0)},c.onerror=function(){setTimeout(function(){s(new TypeError("Network request failed"))},0)},c.ontimeout=function(){setTimeout(function(){s(new TypeError("Network request timed out"))},0)},c.onabort=function(){setTimeout(function(){s(new e.DOMException("Aborted","AbortError"))},0)},c.open(a.method,function(t){try{return""===t&&o.location.href?o.location.href:t}catch(e){return t}}(a.url),!0),"include"===a.credentials?c.withCredentials=!0:"omit"===a.credentials&&(c.withCredentials=!1),"responseType"in c&&(i?c.responseType="blob":h&&(c.responseType="arraybuffer")),r&&"object"==typeof r.headers&&!(r.headers instanceof p||o.Headers&&r.headers instanceof o.Headers)){var l=[];Object.getOwnPropertyNames(r.headers).forEach(function(t){l.push(f(t)),c.setRequestHeader(t,d(r.headers[t]))}),a.headers.forEach(function(t,e){-1===l.indexOf(e)&&c.setRequestHeader(e,t)})}else a.headers.forEach(function(t,e){c.setRequestHeader(e,t)});a.signal&&(a.signal.addEventListener("abort",u),c.onreadystatechange=function(){4===c.readyState&&a.signal.removeEventListener("abort",u)}),c.send(void 0===a._bodyInit?null:a._bodyInit)})}O.polyfill=!0,o.fetch||(o.fetch=O,o.Headers=p,o.Request=_,o.Response=A),e.Headers=p,e.Request=_,e.Response=A,e.fetch=O,Object.defineProperty(e,"__esModule",{value:!0})}({})}(n),n.fetch.ponyfill=!0,delete n.fetch.polyfill;var s=o.fetch?o:n;(e=s.fetch).default=s.fetch,e.fetch=s.fetch,e.Headers=s.Headers,e.Request=s.Request,e.Response=s.Response,t.exports=e}};
|