@dcl/top-scenes 1.0.2 → 1.0.3
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/assets/{auto-track-Dzq2AY-2.js → auto-track-CLEbCQ-o.js} +1 -1
- package/assets/{basic-DCQJfJeW.js → basic-DAhG3CiF.js} +1 -1
- package/assets/{core-D5PQaXFb.js → core-XnCYF3S5.js} +4 -4
- package/assets/{features-CqubvP-A.js → features-ZXevVAql.js} +1 -1
- package/assets/{fortmatic-CjZx733w.js → fortmatic-qW2cjHIg.js} +1 -1
- package/assets/{index-gEo3Pl4_.js → index-7knOmhlQ.js} +63 -63
- package/assets/{index-ChAR-7WM.js → index-B-EtmEE9.js} +2 -2
- package/assets/{index-BBWVY7JE.js → index-BL95-aMh.js} +1 -1
- package/assets/{index-Dlm3PpDY.js → index-BMy4khWB.js} +2 -2
- package/assets/{index-D_d1p1l1.js → index-BodOeuLp.js} +1 -1
- package/assets/{index-BND-S6pz.js → index-CCn1aLol.js} +1 -1
- package/assets/{index-pMdKTGds.js → index-CXNs3p9z.js} +1 -1
- package/assets/{index-CUcJ7nmE.js → index-LL3FF3zE.js} +1 -1
- package/assets/{index-Cbas-sX_.js → index-nJfhVDAk.js} +1 -1
- package/assets/{index-DOxKixGo.js → index-oNIeJ5gQ.js} +3 -3
- package/assets/{index.umd-zqvdaUfI.js → index.umd-DQx7nF7K.js} +1 -1
- package/assets/{w3m-modal-CF5g-2sp.js → w3m-modal-C0q5ZiUp.js} +1 -1
- package/index.html +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as d}from"./index-
|
|
1
|
+
import{p as d}from"./index-BMy4khWB.js";import"./index-7knOmhlQ.js";import"./inherits_browser-Dbwsx_3T.js";function b(t){var r=t;return!!(r.ctrlKey||r.shiftKey||r.metaKey||r.button&&r.button==1)}function m(t,r){return!!(t.target==="_blank"&&r)}function E(t,r,e,a){var f=this,o=[];return t?(t instanceof Element?o=[t]:"toArray"in t?o=t.toArray():o=t,o.forEach(function(n){n.addEventListener("click",function(i){var c,u,s=r instanceof Function?r(n):r,v=e instanceof Function?e(n):e,h=n.getAttribute("href")||n.getAttributeNS("http://www.w3.org/1999/xlink","href")||n.getAttribute("xlink:href")||((c=n.getElementsByTagName("a")[0])===null||c===void 0?void 0:c.getAttribute("href")),l=d(f.track(s,v,a??{}),(u=f.settings.timeout)!==null&&u!==void 0?u:500);!m(n,h)&&!b(i)&&h&&(i.preventDefault?i.preventDefault():i.returnValue=!1,l.catch(console.error).then(function(){window.location.href=h}).catch(console.error))},!1)}),this):this}function k(t,r,e,a){var f=this;if(!t)return this;t instanceof HTMLFormElement&&(t=[t]);var o=t;return o.forEach(function(n){if(!(n instanceof Element))throw new TypeError("Must pass HTMLElement to trackForm/trackSubmit.");var i=function(u){var s;u.preventDefault?u.preventDefault():u.returnValue=!1;var v=r instanceof Function?r(n):r,h=e instanceof Function?e(n):e,l=d(f.track(v,h,a??{}),(s=f.settings.timeout)!==null&&s!==void 0?s:500);l.catch(console.error).then(function(){n.submit()}).catch(console.error)},c=window.jQuery||window.Zepto;c?c(n).submit(i):n.addEventListener("submit",i,!1)}),this}export{k as form,E as link};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as k,C as j,A as T,O as N,a as S,b as _,c as qe,x as d,E as O,R as E,d as P,e as Lt,f as ge,g as de,H as $n,r as V,h as ue,T as bt,S as Le,M as Ht,j as Kt,k as Gt,l as Qt,m as We,n as le,o as xn,p as En,q as Nt,s as Jt,W as yt}from"./core-
|
|
1
|
+
import{i as k,C as j,A as T,O as N,a as S,b as _,c as qe,x as d,E as O,R as E,d as P,e as Lt,f as ge,g as de,H as $n,r as V,h as ue,T as bt,S as Le,M as Ht,j as Kt,k as Gt,l as Qt,m as We,n as le,o as xn,p as En,q as Nt,s as Jt,W as yt}from"./core-XnCYF3S5.js";import{n as u,r as $,c as I,o as A,U as oe,i as Rn,t as _n,e as Sn}from"./index-BodOeuLp.js";import"./index-7knOmhlQ.js";import"./index-oNIeJ5gQ.js";var Ie=function(t,e,n,o){var r=arguments.length,i=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,n):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,n,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(i=(r<3?s(i):r>3?s(e,n,i):s(e,n))||i);return r>3&&i&&Object.defineProperty(e,n,i),i};let me=class extends k{constructor(){super(),this.unsubscribe=[],this.tabIdx=void 0,this.connectors=j.state.connectors,this.count=T.state.count,this.filteredCount=T.state.filteredWallets.length,this.isFetchingRecommendedWallets=T.state.isFetchingRecommendedWallets,this.unsubscribe.push(j.subscribeKey("connectors",e=>this.connectors=e),T.subscribeKey("count",e=>this.count=e),T.subscribeKey("filteredWallets",e=>this.filteredCount=e.length),T.subscribeKey("isFetchingRecommendedWallets",e=>this.isFetchingRecommendedWallets=e))}disconnectedCallback(){this.unsubscribe.forEach(e=>e())}render(){const e=this.connectors.find(c=>c.id==="walletConnect"),{allWallets:n}=N.state;if(!e||n==="HIDE"||n==="ONLY_MOBILE"&&!S.isMobile())return null;const o=T.state.featured.length,r=this.count+o,i=r<10?r:Math.floor(r/10)*10,s=this.filteredCount>0?this.filteredCount:i;let a=`${s}`;this.filteredCount>0?a=`${this.filteredCount}`:s<r&&(a=`${s}+`);const l=_.hasAnyConnection(qe.CONNECTOR_ID.WALLET_CONNECT);return d`
|
|
2
2
|
<wui-list-wallet
|
|
3
3
|
name="Search Wallet"
|
|
4
4
|
walletIcon="search"
|