@everymatrix/player-account-gaming-limits-history-2 1.7.2 → 1.7.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.
@@ -640,5 +640,5 @@ t.searchParams.append("startDate",`${new Date("2022").toISOString()}`),t.searchP
640
640
  // API is slow and so this is the only viable way for UX purposes, for now
641
641
  r(7,B=A.slice(0,v))),r(4,w=!1)}),(t=>{console.error("There was an error",t),r(6,_=!0)}))})(),/*limitContainer, isLoading, hidden*/56&t.$$.dirty[0]&&
642
642
  //setup observer only after there is a limit element in the limits array
643
- g[0]&&!w&&!H&&O.observe(g[g.length-1]),/*lang*/1&t.$$.dirty[0]&&h&&I(),/*clientstylingurl*/131072&t.$$.dirty[0]&&y&&(()=>{let t=new URL(y),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,a&&(setTimeout((()=>{a.appendChild(e)}),1),setTimeout((()=>{}),500))}))})(),/*clientstyling, customStylingContainer*/65540&t.$$.dirty[0]&&d&&a&&(()=>{let t=document.createElement("style");t.innerHTML=d,a.appendChild(t)})(),/*translationurl, customStylingContainer*/262148&t.$$.dirty[0]&&b&&a&&fetch(b).then((t=>t.json())).then((t=>{Object.keys(t).forEach((e=>{nr(e,t[e])}))})).catch((t=>{console.log(t)}))},[h,m,a,g,w,H,_,B,L,n,u,()=>{r(5,H=!H),r(8,L=!L)},l,c,f,p,d,y,b,function(t,e){T[t?"unshift":"push"]((()=>{g[e]=t,r(3,g)}))},function(t){T[t?"unshift":"push"]((()=>{a=t,r(2,a)}))}]}class Tn extends M{constructor(t){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:320px;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}.LimitContainer{animation:animateEntry 0.7s ease-in}@keyframes animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}</style>',N(this,{target:this.shadowRoot,props:b(this.attributes),customElement:!0},_n,En,o,{lang:0,userid:12,session:13,endpoint:14,apiversion:15,numberofentries:1,clientstyling:16,clientstylingurl:17,translationurl:18},null,[-1,-1]),t&&(t.target&&u(t.target,this,t.anchor),t.props&&(this.$set(t.props),O()))}static get observedAttributes(){return["lang","userid","session","endpoint","apiversion","numberofentries","clientstyling","clientstylingurl","translationurl"]}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),O()}get userid(){return this.$$.ctx[12]}set userid(t){this.$$set({userid:t}),O()}get session(){return this.$$.ctx[13]}set session(t){this.$$set({session:t}),O()}get endpoint(){return this.$$.ctx[14]}set endpoint(t){this.$$set({endpoint:t}),O()}get apiversion(){return this.$$.ctx[15]}set apiversion(t){this.$$set({apiversion:t}),O()}get numberofentries(){return this.$$.ctx[1]}set numberofentries(t){this.$$set({numberofentries:t}),O()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(t){this.$$set({clientstyling:t}),O()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),O()}get translationurl(){return this.$$.ctx[18]}set translationurl(t){this.$$set({translationurl:t}),O()}}!customElements.get("player-account-gaming-limits-history-2")&&customElements.define("player-account-gaming-limits-history-2",Tn),module.exports=Tn;
643
+ g[0]&&!w&&!H&&O.observe(g[g.length-1]),/*lang*/1&t.$$.dirty[0]&&h&&I(),/*clientstylingurl*/131072&t.$$.dirty[0]&&y&&(()=>{let t=new URL(y),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,a&&(setTimeout((()=>{a.appendChild(e)}),1),setTimeout((()=>{}),500))}))})(),/*clientstyling, customStylingContainer*/65540&t.$$.dirty[0]&&d&&a&&(()=>{let t=document.createElement("style");t.innerHTML=d,a.appendChild(t)})(),/*translationurl, customStylingContainer*/262148&t.$$.dirty[0]&&b&&a&&fetch(b).then((t=>t.json())).then((t=>{Object.keys(t).forEach((e=>{nr(e,t[e])}))})).catch((t=>{console.log(t)}))},[h,m,a,g,w,H,_,B,L,n,u,()=>{r(5,H=!H),r(8,L=!L)},l,c,f,p,d,y,b,function(t,e){T[t?"unshift":"push"]((()=>{g[e]=t,r(3,g)}))},function(t){T[t?"unshift":"push"]((()=>{a=t,r(2,a)}))}]}class Tn extends M{constructor(t){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:320px;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}.LimitContainer{animation:animateEntry 0.7s ease-in}@keyframes animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}</style>",N(this,{target:this.shadowRoot,props:b(this.attributes),customElement:!0},_n,En,o,{lang:0,userid:12,session:13,endpoint:14,apiversion:15,numberofentries:1,clientstyling:16,clientstylingurl:17,translationurl:18},null,[-1,-1]),t&&(t.target&&u(t.target,this,t.anchor),t.props&&(this.$set(t.props),O()))}static get observedAttributes(){return["lang","userid","session","endpoint","apiversion","numberofentries","clientstyling","clientstylingurl","translationurl"]}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),O()}get userid(){return this.$$.ctx[12]}set userid(t){this.$$set({userid:t}),O()}get session(){return this.$$.ctx[13]}set session(t){this.$$set({session:t}),O()}get endpoint(){return this.$$.ctx[14]}set endpoint(t){this.$$set({endpoint:t}),O()}get apiversion(){return this.$$.ctx[15]}set apiversion(t){this.$$set({apiversion:t}),O()}get numberofentries(){return this.$$.ctx[1]}set numberofentries(t){this.$$set({numberofentries:t}),O()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(t){this.$$set({clientstyling:t}),O()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),O()}get translationurl(){return this.$$.ctx[18]}set translationurl(t){this.$$set({translationurl:t}),O()}}!customElements.get("player-account-gaming-limits-history-2")&&customElements.define("player-account-gaming-limits-history-2",Tn),module.exports=Tn;
644
644
  //# sourceMappingURL=player-account-gaming-limits-history-2.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/player-account-gaming-limits-history-2",
3
- "version": "1.7.2",
3
+ "version": "1.7.3",
4
4
  "main": "dist/player-account-gaming-limits-history-2.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "d38acb0f8e7dfbaadfc047558a121ec1d5f543f8"
39
+ "gitHead": "af607736d2fefc2fcb0fc155b2023fcd62806a5c"
40
40
  }