@everymatrix/casino-integrated-game-page 0.0.365 → 0.0.367

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/README.md CHANGED
@@ -1,30 +1,30 @@
1
- # @everymatrix/casino-integrated-game-page
2
- ---------
3
-
4
- ## First step
5
- ---------
6
- ```
7
- lerna bootstrap
8
- ```
9
-
10
- ## Run Widget
11
- ---------
12
- - starts server at port 5050
13
- - has livereload
14
-
15
- ```
16
- yarn run dev
17
- ```
18
-
19
- ## Build Widget
20
- ---------
21
- ```
22
- yarn run build
23
- ```
24
-
25
- ## Publishing widget
26
- ---------
27
- - Note add your user to the npm
28
- ```
29
- lerna publish
30
- ```
1
+ # @everymatrix/casino-integrated-game-page
2
+ ---------
3
+
4
+ ## First step
5
+ ---------
6
+ ```
7
+ lerna bootstrap
8
+ ```
9
+
10
+ ## Run Widget
11
+ ---------
12
+ - starts server at port 5050
13
+ - has livereload
14
+
15
+ ```
16
+ yarn run dev
17
+ ```
18
+
19
+ ## Build Widget
20
+ ---------
21
+ ```
22
+ yarn run build
23
+ ```
24
+
25
+ ## Publishing widget
26
+ ---------
27
+ - Note add your user to the npm
28
+ ```
29
+ lerna publish
30
+ ```
@@ -1232,7 +1232,7 @@ TIME_SECONDS:"HH:mm:ss",// <input type="time" step="1" />
1232
1232
  TIME_MS:"HH:mm:ss.SSS",// <input type="time" step="0.001" />
1233
1233
  WEEK:"GGGG-[W]WW",// <input type="week" />
1234
1234
  MONTH:"YYYY-MM"},r}()}));
1235
- /* src/CasinoIntegratedGamePage.svelte generated by Svelte v3.48.0 */
1235
+ /* src\CasinoIntegratedGamePage.svelte generated by Svelte v3.48.0 */
1236
1236
  function Tr(e){let t;function n(e,t){/*isLoggedIn*/
1237
1237
  return e[5]?Pr:/*funMode*/e[10]?Or:void 0}let r=n(e),i=r&&r(e);return{c(){t=g("div"),i&&i.c(),b(t,"class","CasinoIntegratedGamePage"),b(t,"part","CasinoIntegratedGamePage")},m(n,r){p(n,t,r),i&&i.m(t,null)
1238
1238
  /*div_binding*/,e[65](t)},p(e,o){r===(r=n(e))&&i?i.p(e,o):(i&&i.d(1),i=r&&r(e),i&&(i.c(),i.m(t,null)))},d(n){n&&m(t),i&&i.d()
@@ -1306,5 +1306,5 @@ window.location=N)};function ae(){document.webkitIsFullScreen||document.mozFullS
1306
1306
  // on mouseup stop interval count
1307
1307
  null==l||l.removeEventListener("mouseup",me),null==l||l.removeEventListener("touchend",me),window.removeEventListener("resize",re),clearInterval(le)})));return e.$$set=e=>{"endpoint"in e&&n(29,T=e.endpoint),"lang"in e&&n(30,M=e.lang),"session"in e&&n(31,O=e.session),"userid"in e&&n(32,D=e.userid),"clientstyling"in e&&n(33,x=e.clientstyling),"clientstylingurl"in e&&n(34,B=e.clientstylingurl),"loginurl"in e&&n(35,H=e.loginurl),"registerurl"in e&&n(36,A=e.registerurl),"depositurl"in e&&n(37,N=e.depositurl),"loginevent"in e&&n(38,L=e.loginevent),"registerevent"in e&&n(39,C=e.registerevent),"depositevent"in e&&n(40,I=e.depositevent),"clockformat"in e&&n(41,R=e.clockformat),"haspanicbutton"in e&&n(0,F=e.haspanicbutton),"playforfun"in e&&n(42,Y=e.playforfun),"checksession"in e&&n(43,U=e.checksession),"gamebanneractive"in e&&n(1,G=e.gamebanneractive),"gameid"in e&&n(44,$=e.gameid)},e.$$.update=()=>{/*lang*/1073741824&e.$$.dirty[0]&&M&&he(),/*endpoint, lang*/1610612736&e.$$.dirty[0]|/*gameid*/8192&e.$$.dirty[1]&&T&&$&&M&&ee($),/*endpoint*/536870912&e.$$.dirty[0]|/*session, userid*/3&e.$$.dirty[1]&&O&&D&&T&&ce(),/*clientstyling*/4&e.$$.dirty[1]&&x&&(()=>{let e=document.createElement("style");e.innerHTML=x,w.appendChild(e)})(),/*clientstylingurl*/8&e.$$.dirty[1]&&B&&(()=>{let e=document.createElement("style");if(B){let t=new URL(B);fetch(t.href).then((e=>e.text())).then((t=>{e.innerHTML=t,w&&setTimeout((()=>{w.appendChild(e)}),1)}))}})(),/*panicButton*/4&e.$$.dirty[0]&&l&&(null==l||l.addEventListener("mousedown",pe,!1),null==l||l.addEventListener("touchstart",pe,!1),
1308
1308
  // on mouseup stop interval count
1309
- null==l||l.addEventListener("mouseup",me,!1),null==l||l.addEventListener("touchend",me,!1))},[F,G,l,s,a,j,W,V,z,c,q,K,d,p,m,g,J,_,b,w,E,S,r,Q,ie,oe,se,ue,fe,T,M,O,D,x,B,H,A,N,L,C,I,R,Y,U,$,()=>fe(),function(e){P[e?"unshift":"push"]((()=>{S=e,n(21,S)}))},()=>se(),function(e){P[e?"unshift":"push"]((()=>{a=e,n(4,a)}))},function(e){P[e?"unshift":"push"]((()=>{l=e,n(2,l)}))},()=>ue(),()=>ue(),function(e){P[e?"unshift":"push"]((()=>{E=e,n(20,E)}))},function(e){P[e?"unshift":"push"]((()=>{g=e,n(15,g)}))},function(e){P[e?"unshift":"push"]((()=>{d=e,n(12,d)}))},()=>fe(),function(e){P[e?"unshift":"push"]((()=>{S=e,n(21,S)}))},function(e){P[e?"unshift":"push"]((()=>{a=e,n(4,a)}))},()=>ie(),()=>oe(),()=>ue(),()=>ue(),function(e){P[e?"unshift":"push"]((()=>{E=e,n(20,E)}))},function(e){P[e?"unshift":"push"]((()=>{g=e,n(15,g)}))},function(e){P[e?"unshift":"push"]((()=>{d=e,n(12,d)}))},function(e){P[e?"unshift":"push"]((()=>{w=e,n(19,w)}))}]}class Rr extends U{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'}.CasinoIntegratedGamePage{display:flex;flex-direction:column;height:100vh}.GamePageIntegratedTopSection{display:flex;flex-direction:row;justify-content:space-between;align-items:center;height:60px;padding:0 40px}@media(max-width: 768px){.GamePageIntegratedTopSection{padding:0 10px}}.backButton{background:transparent;display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer}.backButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-color-primary, #FFF)}.BottomGame{padding:0 40px;min-height:92px;background-color:var(--emfe-w-color-contrast, #07072A);display:flex;justify-content:space-between;align-items:center}@media(max-width: 768px){.BottomGame{padding:0 10px}}.DepositButton{border:none;padding:12px 20px;background-color:var(--emfe-w-color-green, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;cursor:pointer}.FullscreenButton{border-radius:5px;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);float:right}.ButtonsContainer{width:275px;display:flex;flex-direction:row;justify-content:space-between}.ButtonsContainer.ButtonsContainerFunMode{margin-right:15px}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:100%}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:flex-start;flex-direction:column}#IframeGame{width:100%;height:100%;display:flex;flex-direction:column}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:80% !important;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.BannerSection{width:100%;height:150px;background:repeating-linear-gradient(45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px);display:flex;justify-content:center;align-items:center}.BannerSection h3{color:#fff}</style>",Y(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},Ir,Cr,u,{endpoint:29,lang:30,session:31,userid:32,clientstyling:33,clientstylingurl:34,loginurl:35,registerurl:36,depositurl:37,loginevent:38,registerevent:39,depositevent:40,clockformat:41,haspanicbutton:0,playforfun:42,checksession:43,gamebanneractive:1,gameid:44},null,[-1,-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),C()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","gamebanneractive","gameid"]}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),C()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),C()}get session(){return this.$$.ctx[31]}set session(e){this.$$set({session:e}),C()}get userid(){return this.$$.ctx[32]}set userid(e){this.$$set({userid:e}),C()}get clientstyling(){return this.$$.ctx[33]}set clientstyling(e){this.$$set({clientstyling:e}),C()}get clientstylingurl(){return this.$$.ctx[34]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),C()}get loginurl(){return this.$$.ctx[35]}set loginurl(e){this.$$set({loginurl:e}),C()}get registerurl(){return this.$$.ctx[36]}set registerurl(e){this.$$set({registerurl:e}),C()}get depositurl(){return this.$$.ctx[37]}set depositurl(e){this.$$set({depositurl:e}),C()}get loginevent(){return this.$$.ctx[38]}set loginevent(e){this.$$set({loginevent:e}),C()}get registerevent(){return this.$$.ctx[39]}set registerevent(e){this.$$set({registerevent:e}),C()}get depositevent(){return this.$$.ctx[40]}set depositevent(e){this.$$set({depositevent:e}),C()}get clockformat(){return this.$$.ctx[41]}set clockformat(e){this.$$set({clockformat:e}),C()}get haspanicbutton(){return this.$$.ctx[0]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),C()}get playforfun(){return this.$$.ctx[42]}set playforfun(e){this.$$set({playforfun:e}),C()}get checksession(){return this.$$.ctx[43]}set checksession(e){this.$$set({checksession:e}),C()}get gamebanneractive(){return this.$$.ctx[1]}set gamebanneractive(e){this.$$set({gamebanneractive:e}),C()}get gameid(){return this.$$.ctx[44]}set gameid(e){this.$$set({gameid:e}),C()}}return!customElements.get("casino-integrated-game-page")&&customElements.define("casino-integrated-game-page",Rr),Rr}));
1309
+ null==l||l.addEventListener("mouseup",me,!1),null==l||l.addEventListener("touchend",me,!1))},[F,G,l,s,a,j,W,V,z,c,q,K,d,p,m,g,J,_,b,w,E,S,r,Q,ie,oe,se,ue,fe,T,M,O,D,x,B,H,A,N,L,C,I,R,Y,U,$,()=>fe(),function(e){P[e?"unshift":"push"]((()=>{S=e,n(21,S)}))},()=>se(),function(e){P[e?"unshift":"push"]((()=>{a=e,n(4,a)}))},function(e){P[e?"unshift":"push"]((()=>{l=e,n(2,l)}))},()=>ue(),()=>ue(),function(e){P[e?"unshift":"push"]((()=>{E=e,n(20,E)}))},function(e){P[e?"unshift":"push"]((()=>{g=e,n(15,g)}))},function(e){P[e?"unshift":"push"]((()=>{d=e,n(12,d)}))},()=>fe(),function(e){P[e?"unshift":"push"]((()=>{S=e,n(21,S)}))},function(e){P[e?"unshift":"push"]((()=>{a=e,n(4,a)}))},()=>ie(),()=>oe(),()=>ue(),()=>ue(),function(e){P[e?"unshift":"push"]((()=>{E=e,n(20,E)}))},function(e){P[e?"unshift":"push"]((()=>{g=e,n(15,g)}))},function(e){P[e?"unshift":"push"]((()=>{d=e,n(12,d)}))},function(e){P[e?"unshift":"push"]((()=>{w=e,n(19,w)}))}]}class Rr extends U{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'}.CasinoIntegratedGamePage{display:flex;flex-direction:column;height:100vh}.GamePageIntegratedTopSection{display:flex;flex-direction:row;justify-content:space-between;align-items:center;height:60px;padding:0 40px}@media(max-width: 768px){.GamePageIntegratedTopSection{padding:0 10px}}.backButton{background:transparent;display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer}.backButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-color-primary, #FFF)}.BottomGame{padding:0 40px;min-height:92px;background-color:var(--emfe-w-color-contrast, #07072A);display:flex;justify-content:space-between;align-items:center}@media(max-width: 768px){.BottomGame{padding:0 10px}}.DepositButton{border:none;padding:12px 20px;background-color:var(--emfe-w-color-green, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;cursor:pointer}.FullscreenButton{border-radius:5px;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);float:right}.ButtonsContainer{width:275px;display:flex;flex-direction:row;justify-content:space-between}.ButtonsContainer.ButtonsContainerFunMode{margin-right:15px}.ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:100%}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:flex-start;flex-direction:column}#IframeGame{width:100%;height:100%;display:flex;flex-direction:column}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:80% !important;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.BannerSection{width:100%;height:150px;background:repeating-linear-gradient(45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px);display:flex;justify-content:center;align-items:center}.BannerSection h3{color:#fff}</style>",Y(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},Ir,Cr,u,{endpoint:29,lang:30,session:31,userid:32,clientstyling:33,clientstylingurl:34,loginurl:35,registerurl:36,depositurl:37,loginevent:38,registerevent:39,depositevent:40,clockformat:41,haspanicbutton:0,playforfun:42,checksession:43,gamebanneractive:1,gameid:44},null,[-1,-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),C()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","gamebanneractive","gameid"]}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),C()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),C()}get session(){return this.$$.ctx[31]}set session(e){this.$$set({session:e}),C()}get userid(){return this.$$.ctx[32]}set userid(e){this.$$set({userid:e}),C()}get clientstyling(){return this.$$.ctx[33]}set clientstyling(e){this.$$set({clientstyling:e}),C()}get clientstylingurl(){return this.$$.ctx[34]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),C()}get loginurl(){return this.$$.ctx[35]}set loginurl(e){this.$$set({loginurl:e}),C()}get registerurl(){return this.$$.ctx[36]}set registerurl(e){this.$$set({registerurl:e}),C()}get depositurl(){return this.$$.ctx[37]}set depositurl(e){this.$$set({depositurl:e}),C()}get loginevent(){return this.$$.ctx[38]}set loginevent(e){this.$$set({loginevent:e}),C()}get registerevent(){return this.$$.ctx[39]}set registerevent(e){this.$$set({registerevent:e}),C()}get depositevent(){return this.$$.ctx[40]}set depositevent(e){this.$$set({depositevent:e}),C()}get clockformat(){return this.$$.ctx[41]}set clockformat(e){this.$$set({clockformat:e}),C()}get haspanicbutton(){return this.$$.ctx[0]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),C()}get playforfun(){return this.$$.ctx[42]}set playforfun(e){this.$$set({playforfun:e}),C()}get checksession(){return this.$$.ctx[43]}set checksession(e){this.$$set({checksession:e}),C()}get gamebanneractive(){return this.$$.ctx[1]}set gamebanneractive(e){this.$$set({gamebanneractive:e}),C()}get gameid(){return this.$$.ctx[44]}set gameid(e){this.$$set({gameid:e}),C()}}return!customElements.get("casino-integrated-game-page")&&customElements.define("casino-integrated-game-page",Rr),Rr}));
1310
1310
  //# sourceMappingURL=casino-integrated-game-page.js.map