@everymatrix/player-account-gaming-limits-wrapper-2 0.0.369 → 0.0.370
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.
|
@@ -786,5 +786,5 @@ return"gmcore"==e[5]?Or:Cr}let n=i(e),r=n(e);return{c(){r.c(),t=g()},m(e,i){r.m(
|
|
|
786
786
|
function Rr(e){let t;return{c(){t=p("player-account-gaming-limits-history-2"),v(t,"lang",/*lang*/e[0]),v(t,"userid",/*userid*/e[1]),v(t,"session",/*session*/e[2]),v(t,"endpoint",/*endpoint*/e[3])},m(e,i){c(e,t,i)},p(e,i){/*lang*/1&i&&v(t,"lang",/*lang*/e[0]),/*userid*/2&i&&v(t,"userid",/*userid*/e[1]),/*session*/4&i&&v(t,"session",/*session*/e[2]),/*endpoint*/8&i&&v(t,"endpoint",/*endpoint*/e[3])},d(e){e&&u(t)}}}function Mr(t){let i;function n(e,t){/*isLoading*/
|
|
787
787
|
return e[8]?Hr:Br}let r=n(t),o=r(t);return{c(){i=p("div"),o.c(),this.c=e},m(e,n){c(e,i,n),o.m(i,null),
|
|
788
788
|
/*div_binding_2*/t[21](i)},p(e,[t]){r===(r=n(e))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(i,null)))},i:e,o:e,d(e){e&&u(i),o.d(),
|
|
789
|
-
/*div_binding_2*/t[21](null)}}}function Ur(e,t,i){let n,r,o,s,{lang:a=""}=t,{userid:l=""}=t,{session:c=""}=t,{endpoint:u=""}=t,{currency:h=""}=t,{apiversion:p=""}=t,{includedlimits:m=""}=t,{tablabels:d=""}=t,{historyenabled:f="true"}=t,{clientstyling:g=""}=t,{clientstylingurl:y=""}=t,b=!0,v=[];const L=e=>{if(o.children.length>0)for(let t=0;t<o.children.length;t++)e===t?(o.children[t].classList.remove("hidden"),null==s||s.children[t].classList.add("selected")):(o.children[t].classList.add("hidden"),null==s||s.children[t].classList.remove("selected"))};return e.$$set=e=>{"lang"in e&&i(0,a=e.lang),"userid"in e&&i(1,l=e.userid),"session"in e&&i(2,c=e.session),"endpoint"in e&&i(3,u=e.endpoint),"currency"in e&&i(4,h=e.currency),"apiversion"in e&&i(5,p=e.apiversion),"includedlimits"in e&&i(14,m=e.includedlimits),"tablabels"in e&&i(15,d=e.tablabels),"historyenabled"in e&&i(6,f=e.historyenabled),"clientstyling"in e&&i(16,g=e.clientstyling),"clientstylingurl"in e&&i(17,y=e.clientstylingurl)},e.$$.update=()=>{/*mainContainer*/128&e.$$.dirty&&o&&L(0),/*clientstylingurl*/131072&e.$$.dirty&&y&&(()=>{let e=new URL(y),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,n&&setTimeout((()=>{n.appendChild(t)}),1)}))})(),/*clientstyling*/65536&e.$$.dirty&&g&&(()=>{let e=document.createElement("style");e.innerHTML=g,n.appendChild(e)})(),/*userid, session, endpoint, includedlimits, tablabels*/49166&e.$$.dirty&&l&&c&&u&&m&&d&&(i(10,v=m.split(",").map((e=>e.trim()))),i(11,r=d.split(",").map((e=>e.trim()))),i(8,b=!1))},[a,l,c,u,h,p,f,o,b,n,v,r,s,L,m,d,g,y,e=>L(e),function(e){H[e?"unshift":"push"]((()=>{s=e,i(12,s)}))},function(e){H[e?"unshift":"push"]((()=>{o=e,i(7,o)}))},function(e){H[e?"unshift":"push"]((()=>{n=e,i(9,n)}))}]}!customElements.get("player-account-gaming-limits-history-2")&&customElements.define("player-account-gaming-limits-history-2",class extends W{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';font-size:1.3rem}*,*::before,*::after{color:#555;margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2{color:var(--emfe-w-color-white, #FFFFFF)}button{font-size:1rem;border:0;padding:0}.ExpandButton{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.extended{transform:rotate(180deg)}.HistoryWrapper{display:flex;flex-direction:column}.HistoryWrapper.Desktop{width:63%;padding:0 12px;margin:12px auto}.hidden{display:none}.HistoryRow{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:#ccc 1px solid}.GeneralLimitInformation{display:flex;flex-direction:column;gap:4px}.LimitType{font-size:1.3rem}.LimitAmountPeriod{color:#999}</style>",F(this,{target:this.shadowRoot,props:$(this.attributes),customElement:!0},$r,Ar,o,{lang:0,userid:10,session:11,endpoint:12,clientstyling:13,clientstylingurl:14},null),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["lang","userid","session","endpoint","clientstyling","clientstylingurl"]}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),U()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),U()}get session(){return this.$$.ctx[11]}set session(e){this.$$set({session:e}),U()}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),U()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}});class kr extends W{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TabsContainer{height:42px;display:flex;margin-bottom:12px;cursor:pointer;border-bottom:1px solid #ccc}.LimitsTab{font-size:18px;margin-bottom:3px;display:flex;justify-content:center;align-items:center;box-sizing:content-box}.hidden{display:none}.selected{border-bottom:3px solid #7ac317;color:#7ac317;margin:0}</style>",F(this,{target:this.shadowRoot,props:$(this.attributes),customElement:!0},Ur,Mr,o,{lang:0,userid:1,session:2,endpoint:3,currency:4,apiversion:5,includedlimits:14,tablabels:15,historyenabled:6,clientstyling:16,clientstylingurl:17},null),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["lang","userid","session","endpoint","currency","apiversion","includedlimits","tablabels","historyenabled","clientstyling","clientstylingurl"]}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),U()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),U()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),U()}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),U()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),U()}get apiversion(){return this.$$.ctx[5]}set apiversion(e){this.$$set({apiversion:e}),U()}get includedlimits(){return this.$$.ctx[14]}set includedlimits(e){this.$$set({includedlimits:e}),U()}get tablabels(){return this.$$.ctx[15]}set tablabels(e){this.$$set({tablabels:e}),U()}get historyenabled(){return this.$$.ctx[6]}set historyenabled(e){this.$$set({historyenabled:e}),U()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}}return!customElements.get("player-account-gaming-limits-wrapper-2")&&customElements.define("player-account-gaming-limits-wrapper-2",kr),kr}));
|
|
789
|
+
/*div_binding_2*/t[21](null)}}}function Ur(e,t,i){let n,r,o,s,{lang:a=""}=t,{userid:l=""}=t,{session:c=""}=t,{endpoint:u=""}=t,{currency:h=""}=t,{apiversion:p=""}=t,{includedlimits:m=""}=t,{tablabels:d=""}=t,{historyenabled:f="true"}=t,{clientstyling:g=""}=t,{clientstylingurl:y=""}=t,b=!0,v=[];const L=e=>{if(o.children.length>0)for(let t=0;t<o.children.length;t++)e===t?(o.children[t].classList.remove("hidden"),null==s||s.children[t].classList.add("selected")):(o.children[t].classList.add("hidden"),null==s||s.children[t].classList.remove("selected"))};return e.$$set=e=>{"lang"in e&&i(0,a=e.lang),"userid"in e&&i(1,l=e.userid),"session"in e&&i(2,c=e.session),"endpoint"in e&&i(3,u=e.endpoint),"currency"in e&&i(4,h=e.currency),"apiversion"in e&&i(5,p=e.apiversion),"includedlimits"in e&&i(14,m=e.includedlimits),"tablabels"in e&&i(15,d=e.tablabels),"historyenabled"in e&&i(6,f=e.historyenabled),"clientstyling"in e&&i(16,g=e.clientstyling),"clientstylingurl"in e&&i(17,y=e.clientstylingurl)},e.$$.update=()=>{/*mainContainer*/128&e.$$.dirty&&o&&L(0),/*clientstylingurl*/131072&e.$$.dirty&&y&&(()=>{let e=new URL(y),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,n&&setTimeout((()=>{n.appendChild(t)}),1)}))})(),/*clientstyling*/65536&e.$$.dirty&&g&&(()=>{let e=document.createElement("style");e.innerHTML=g,n.appendChild(e)})(),/*userid, session, endpoint, includedlimits, tablabels*/49166&e.$$.dirty&&l&&c&&u&&m&&d&&(i(10,v=m.split(",").map((e=>e.trim()))),i(11,r=d.split(",").map((e=>e.trim()))),i(8,b=!1))},[a,l,c,u,h,p,f,o,b,n,v,r,s,L,m,d,g,y,e=>L(e),function(e){H[e?"unshift":"push"]((()=>{s=e,i(12,s)}))},function(e){H[e?"unshift":"push"]((()=>{o=e,i(7,o)}))},function(e){H[e?"unshift":"push"]((()=>{n=e,i(9,n)}))}]}!customElements.get("player-account-gaming-limits-history-2")&&customElements.define("player-account-gaming-limits-history-2",class extends W{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';font-size:1.3rem}*,*::before,*::after{color:#555;margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2{color:var(--emfe-w-color-white, #FFFFFF)}button{font-size:1rem;border:0;padding:0}.ExpandButton{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.extended{transform:rotate(180deg)}.HistoryWrapper{display:flex;flex-direction:column}.HistoryWrapper.Desktop{width:63%;padding:0 12px;margin:12px auto}.hidden{display:none}.HistoryRow{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:#ccc 1px solid}.GeneralLimitInformation{display:flex;flex-direction:column;gap:4px}.LimitType{font-size:1.3rem}.LimitAmountPeriod{color:#999}</style>",F(this,{target:this.shadowRoot,props:$(this.attributes),customElement:!0},$r,Ar,o,{lang:0,userid:10,session:11,endpoint:12,clientstyling:13,clientstylingurl:14},null),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["lang","userid","session","endpoint","clientstyling","clientstylingurl"]}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),U()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),U()}get session(){return this.$$.ctx[11]}set session(e){this.$$set({session:e}),U()}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),U()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}});class kr extends W{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TabsContainer{height:42px;display:flex;margin-bottom:12px;cursor:pointer;border-bottom:1px solid #ccc}.LimitsTab{font-size:18px;margin-bottom:3px;display:flex;justify-content:center;align-items:center;box-sizing:content-box}.hidden{display:none}.selected{border-bottom:3px solid #7ac317;color:#7ac317;margin:0}</style>",F(this,{target:this.shadowRoot,props:$(this.attributes),customElement:!0},Ur,Mr,o,{lang:0,userid:1,session:2,endpoint:3,currency:4,apiversion:5,includedlimits:14,tablabels:15,historyenabled:6,clientstyling:16,clientstylingurl:17},null),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["lang","userid","session","endpoint","currency","apiversion","includedlimits","tablabels","historyenabled","clientstyling","clientstylingurl"]}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),U()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),U()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),U()}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),U()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),U()}get apiversion(){return this.$$.ctx[5]}set apiversion(e){this.$$set({apiversion:e}),U()}get includedlimits(){return this.$$.ctx[14]}set includedlimits(e){this.$$set({includedlimits:e}),U()}get tablabels(){return this.$$.ctx[15]}set tablabels(e){this.$$set({tablabels:e}),U()}get historyenabled(){return this.$$.ctx[6]}set historyenabled(e){this.$$set({historyenabled:e}),U()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}}return!customElements.get("player-account-gaming-limits-wrapper-2")&&customElements.define("player-account-gaming-limits-wrapper-2",kr),kr}));
|
|
790
790
|
//# sourceMappingURL=player-account-gaming-limits-wrapper-2.js.map
|