@everymatrix/lottery-tipping-entrance 1.77.11 → 1.77.13

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.
@@ -6082,6 +6082,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
6082
6082
  overflow: hidden;
6083
6083
  min-width: var(--lumo-size-m);
6084
6084
  -webkit-user-select: none;
6085
+ -moz-user-select: none;
6085
6086
  user-select: none;
6086
6087
  --_focus-ring-color: var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct));
6087
6088
  --_focus-ring-width: var(--vaadin-focus-ring-width, 2px);
@@ -6291,11 +6292,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
6291
6292
  }
6292
6293
  `,{moduleId:"lumo-tab"});/**
6293
6294
  * @license
6294
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6295
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6295
6296
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6296
6297
  */const hh=s=>class extends $r(s){ready(){super.ready(),this.setAttribute("role","tab");}_onKeyUp(e){const i=this.hasAttribute("active");if(super._onKeyUp(e),i){const o=this.querySelector("a");o&&o.click();}}};/**
6297
6298
  * @license
6298
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6299
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6299
6300
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6300
6301
  */const uh=p`
6301
6302
  :host {
@@ -6318,7 +6319,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
6318
6319
  }
6319
6320
  `;/**
6320
6321
  * @license
6321
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6322
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6322
6323
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6323
6324
  */m("vaadin-tab",uh,{moduleId:"vaadin-tab-styles"});class ph extends N(x(hh(F(b)))){static get template(){return g`
6324
6325
  <slot></slot>
@@ -6563,11 +6564,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
6563
6564
  }
6564
6565
  `,{moduleId:"lumo-tabs"});/**
6565
6566
  * @license
6566
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6567
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6567
6568
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6568
6569
  */const mh=s=>class extends Vr(Ur(s)){static get properties(){return {orientation:{value:"horizontal",type:String,reflectToAttribute:!0,sync:!0},selected:{value:0,type:Number}}}static get observers(){return ["__tabsItemsChanged(items)"]}constructor(){super(),this.__itemsResizeObserver=new ResizeObserver(()=>{setTimeout(()=>this._updateOverflow());});}get _scrollOffset(){return this._vertical?this._scrollerElement.offsetHeight:this._scrollerElement.offsetWidth}get _scrollerElement(){return this.$.scroll}get __direction(){return !this._vertical&&this.__isRTL?1:-1}ready(){super.ready(),this._scrollerElement.addEventListener("scroll",()=>this._updateOverflow()),this.setAttribute("role","tablist"),Ji(this,()=>{this._updateOverflow();});}_onResize(){this._updateOverflow();}__tabsItemsChanged(e){this.__itemsResizeObserver.disconnect(),(e||[]).forEach(i=>{this.__itemsResizeObserver.observe(i);}),this._updateOverflow();}_scrollForward(){const e=this._getNavigationButtonVisibleWidth("forward-button"),i=this._getNavigationButtonVisibleWidth("back-button"),o=this._scrollerElement.getBoundingClientRect(),n=[...this.items].reverse().find(c=>this._isItemVisible(c,e,i,o)).getBoundingClientRect(),l=20+this.shadowRoot.querySelector('[part="back-button"]').clientWidth;let d;if(this.__isRTL){const c=o.right-l;d=n.right-c;}else {const c=o.left+l;d=n.left-c;}-this.__direction*d<1&&(d=-this.__direction*(this._scrollOffset-l)),this._scroll(d);}_scrollBack(){const e=this._getNavigationButtonVisibleWidth("forward-button"),i=this._getNavigationButtonVisibleWidth("back-button"),o=this._scrollerElement.getBoundingClientRect(),n=this.items.find(c=>this._isItemVisible(c,e,i,o)).getBoundingClientRect(),l=20+this.shadowRoot.querySelector('[part="forward-button"]').clientWidth;let d;if(this.__isRTL){const c=o.left+l;d=n.left-c;}else {const c=o.right-l;d=n.right-c;}this.__direction*d<1&&(d=this.__direction*(this._scrollOffset-l)),this._scroll(d);}_isItemVisible(e,i,o,r){if(this._vertical)throw new Error("Visibility check is only supported for horizontal tabs.");const n=this.__isRTL?o:i,a=this.__isRTL?i:o,l=r.right-n,d=r.left+a,c=e.getBoundingClientRect();return l>Math.floor(c.left)&&d<Math.ceil(c.right)}_getNavigationButtonVisibleWidth(e){const i=this.shadowRoot.querySelector(`[part="${e}"]`);return window.getComputedStyle(i).opacity==="0"?0:i.clientWidth}_updateOverflow(){const e=this._vertical?this._scrollerElement.scrollTop:Hr(this._scrollerElement,this.getAttribute("dir")),i=this._vertical?this._scrollerElement.scrollHeight:this._scrollerElement.scrollWidth;let o=Math.floor(e)>1?"start":"";Math.ceil(e)<Math.ceil(i-this._scrollOffset)&&(o+=" end"),this.__direction===1&&(o=o.replace(/start|end/giu,r=>r==="start"?"end":"start")),o?this.setAttribute("overflow",o.trim()):this.removeAttribute("overflow");}};/**
6569
6570
  * @license
6570
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6571
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6571
6572
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6572
6573
  */const fh=p`
6573
6574
  :host {
@@ -6647,7 +6648,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
6647
6648
  }
6648
6649
  `;/**
6649
6650
  * @license
6650
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6651
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6651
6652
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6652
6653
  */m("vaadin-tabs",fh,{moduleId:"vaadin-tabs-styles"});class _h extends mh(N(x(b))){static get template(){return g`
6653
6654
  <div on-click="_scrollBack" part="back-button" aria-hidden="true"></div>
@@ -9336,7 +9337,7 @@ const getTranslations = (data) => {
9336
9337
  });
9337
9338
  };
9338
9339
 
9339
- const lotteryTippingEntranceCss = ".lottery-tipping-entrance__header {\n display: flex;\n flex-direction: column;\n align-items: center;\n background: linear-gradient(to right, var(--emw--color-primary, #fed275), var(--emw--color-primary-variant, #ffe66f));\n padding-top: 10px;\n}\n.lottery-tipping-entrance__header .header {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 46px;\n container-type: inline-size;\n}\n.lottery-tipping-entrance__header .header-logo {\n text-align: center;\n}\n.lottery-tipping-entrance__header .header-logo .logo {\n width: 240px;\n}\n@container (max-width: 390px) {\n .lottery-tipping-entrance__header .header-logo .logo {\n width: 200px;\n }\n}\n.lottery-tipping-entrance__header .header-btn {\n position: absolute;\n right: 20px;\n}\n.lottery-tipping-entrance__header .header-btn #logout-btn {\n padding: 0.5rem 1rem;\n font-size: 14px;\n font-weight: 500;\n background-color: transparent;\n color: var(--emw--color-gray-300, #333);\n border: var(--emw--button-border, 1px solid rgba(221, 221, 221, 0.8666666667));\n border-radius: var(--emw--border-radius-small, 4px);\n cursor: pointer;\n transition: background-color 0.2s ease, border-color 0.2s ease;\n}\n.lottery-tipping-entrance__header .header-btn #logout-btn:hover {\n background-color: var(--emw--color-gray-50, #f5f5f5);\n border-color: var(--emw--color-gray-150, #6f6f6f);\n}\n.lottery-tipping-entrance__header .tabs-wrap {\n width: 100%;\n}\n\nvaadin-tab[selected] {\n color: var(--emw--color-gray-300, #333);\n font-weight: bold;\n}\n\nvaadin-tab::after[selected] {\n background-color: var(--emw--color-gray-300, #333);\n}\n\n@media screen and (max-width: 480px) {\n .draw-info-item-list {\n gap: 84px;\n }\n}\n@media screen and (min-width: 1400px) {\n .draw-info-footer {\n margin-top: 160px;\n }\n}";
9340
+ const lotteryTippingEntranceCss = ".lottery-tipping-entrance {\n background: var(--emw--color-background, #fff);\n height: 100%;\n overflow: auto;\n}\n.lottery-tipping-entrance .select-draw-page {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n.lottery-tipping-entrance .select-draw-page .tabs-content {\n flex: 1;\n}\n\n.lottery-tipping-entrance__header {\n display: flex;\n flex-direction: column;\n align-items: center;\n background: linear-gradient(to right, var(--emw--color-primary, #fed275), var(--emw--color-primary-variant, #ffe66f));\n padding-top: 10px;\n}\n.lottery-tipping-entrance__header .header {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 46px;\n container-type: inline-size;\n}\n.lottery-tipping-entrance__header .header-logo {\n text-align: center;\n}\n.lottery-tipping-entrance__header .header-logo .logo {\n width: 240px;\n}\n@container (max-width: 390px) {\n .lottery-tipping-entrance__header .header-logo .logo {\n width: 200px;\n }\n}\n.lottery-tipping-entrance__header .header-btn {\n position: absolute;\n right: 20px;\n}\n.lottery-tipping-entrance__header .tabs-wrap {\n width: 100%;\n}\n\n.draw-info-footer {\n position: relative;\n margin-top: 160px;\n}\n\nvaadin-tab[selected] {\n color: var(--emw--color-typography, #000);\n font-weight: bold;\n}\n\nvaadin-tab::after[selected] {\n background-color: var(--emw--color-typography, #000);\n}\n\n@media screen and (max-width: 480px) {\n .draw-info-item-list {\n gap: 84px;\n }\n}\n@media screen and (min-width: 1400px) {\n .draw-info-footer {\n margin-top: 160px;\n }\n}\n.instruction-content-wrapper {\n color: var(--emw--color-typography, #000);\n padding: \"24px\";\n text-align: \"center\";\n}";
9340
9341
  const LotteryTippingEntranceStyle0 = lotteryTippingEntranceCss;
9341
9342
 
9342
9343
  const LotteryTippingEntrance = class {
@@ -9419,9 +9420,9 @@ const LotteryTippingEntrance = class {
9419
9420
  }
9420
9421
  render() {
9421
9422
  const logoImagePath = getAssetPath('../static/poolgame-bg.webp');
9422
- return (h("div", { key: 'c277bc4598810d4c379043259e45f3de2b46fac2', class: "lottery-tipping-entrance", ref: (el) => (this.stylingContainer = el) }, this.showSelectDrawPage && (h("div", { key: 'fcaa9410ccbb2e4f3088e31c4bbffd44fb61e153', class: "select-draw-page" }, h("div", { key: 'af2cc3d3f11106269a0f1fc50ebccb48684a75a9', class: "lottery-tipping-entrance__header" }, h("div", { key: '922517a2f4deede0ef2ad2e7086e2b4b41b7c1aa', class: "header" }, h("div", { key: 'f916cc76610ed554b60c3397334ad672c2eae284', class: "header-logo" }, h("img", { key: 'ea153e3887918ea51c20be0715e8cbf719253d48', src: logoImagePath, class: "logo" })), h("div", { key: '34f82a7c4e453121a01633448a9e7bb86d3429cd', class: "header-btn" }, h("slot", { key: '59af89da7dd8ed0d3e83175a6cd65eb38b51d93c', name: "logoutBtn" }))), h("div", { key: '5e08b9f4f9e0e1958a54e2340115bc8ce867db95', class: "tabs-wrap" }, h("vaadin-tabs", { key: '4eff85019237e43aa7f0b0fdb99f2a9b30e5e0c3', theme: "equal-width-tabs", selected: this.selectedTabIndex, "on-selected-changed": (e) => {
9423
+ return (h("div", { key: 'c277bc4598810d4c379043259e45f3de2b46fac2', class: "lottery-tipping-entrance", ref: (el) => (this.stylingContainer = el) }, this.showSelectDrawPage && (h("div", { key: 'fcaa9410ccbb2e4f3088e31c4bbffd44fb61e153', class: "select-draw-page" }, h("div", { key: 'af2cc3d3f11106269a0f1fc50ebccb48684a75a9', class: "lottery-tipping-entrance__header" }, h("div", { key: '922517a2f4deede0ef2ad2e7086e2b4b41b7c1aa', class: "header" }, h("div", { key: '0474224b516ce9e1c2948b81b7c69b2996ce0626', class: "header-logo" }, h("img", { key: '3c4729f0892a410fa6c44a7bf6f64b9b18a25038', src: logoImagePath, class: "logo" })), h("div", { key: '7c04508ca5956e42ba2a65f4cf713726c404270c', class: "header-btn" }, h("slot", { key: '86d396632d662ba2e5432642b821c6e19e38bc09', name: "logoutBtn" }))), h("div", { key: '6113c793e35467a54de826420be255d311d219fb', class: "tabs-wrap" }, h("vaadin-tabs", { key: '1b24edabfc26c01f105bf9caf77b35d8493283a8', theme: "equal-width-tabs", selected: this.selectedTabIndex, "on-selected-changed": (e) => {
9423
9424
  this.selectedTabIndex = e.detail.value;
9424
- } }, h("vaadin-tab", { key: '461abc10fa1295613bfaf635efa83f60f92e7c59', value: "0" }, translate('draws', this.language)), h("vaadin-tab", { key: 'ac785f283a1a3a027dd7e6eb3c061d9e2e8248b7', value: "1" }, translate('latestResults', this.language)), h("vaadin-tab", { key: 'ac8da308a4e696e8de52b0531cec1f6f233259a5', value: "2" }, translate('instruction', this.language))))), h("div", { key: '9c42e80c452a2cfddfd41b3e662b025ac4381556', class: "tabs-content" }, this.selectedTabIndex === 0 && (h("draw-selection", { key: 'cfe2b9219d4bf821da6973700644a33db457747d', date: this.date, "is-loading": this.isLoading, language: this.language, "client-styling": this.clientStyling, "client-styling-Url": this.clientStylingUrl, "mb-source": this.mbSource, "translation-url": this.translationUrl })), this.selectedTabIndex === 1 && (h("lottery-tipping-latest-result", { key: '7ab9cd7037e34c7c9340686ca3d5963352b83c96', endpoint: this.endpoint, "endpoint-ticket": this.endpointTicket, "game-id": this.gameId, "player-id": this.playerId, "session-id": this.sessionId, language: this.language, "translation-url": this.translationUrl })), this.selectedTabIndex === 2 && (h("div", { key: '38738197a853a7aad805a683d7fc4aa2c8d98e78', style: { padding: '24px', textAlign: 'center' } }, translate('instructionContent', this.language)))))), !this.showSelectDrawPage && (h("lottery-tipping-page", { key: '5336645e406babb41d8facbba194765a2aea236a', endpoint: this.endpoint, "endpoint-ticket": this.endpointTicket, "game-id": this.gameId, "player-id": this.playerId, "session-id": this.sessionId, "draw-id": this.drawId, playTypes: this.playTypes, bettingTypes: this.bettingTypes, "client-styling": this.clientStyling, "client-styling-Url": this.clientStylingUrl, "mb-source": this.mbSource, "translation-url": this.translationUrl, language: this.language }))));
9425
+ } }, h("vaadin-tab", { key: 'c22476b10a20b2c3d34e9c3890fcd4c707b3a1fa', value: "0" }, translate('draws', this.language)), h("vaadin-tab", { key: '54d102be8158297cfa78f743dd049751095ea427', value: "1" }, translate('latestResults', this.language)), h("vaadin-tab", { key: '6ec86530d23781d6291cef9972028e140cf130fb', value: "2" }, translate('instruction', this.language))))), h("div", { key: '10af874333dfdd544e958e4e4ed256da152c2cbd', class: "tabs-content" }, this.selectedTabIndex === 0 && (h("draw-selection", { key: '031a774f65b64ad327a3da8e0405d990bf84a37a', date: this.date, "is-loading": this.isLoading, language: this.language, "client-styling": this.clientStyling, "client-styling-Url": this.clientStylingUrl, "mb-source": this.mbSource, "translation-url": this.translationUrl })), this.selectedTabIndex === 1 && (h("lottery-tipping-latest-result", { key: '662d00ed8f0ec23add4708b704a4f3a9ed4f5bb2', endpoint: this.endpoint, "endpoint-ticket": this.endpointTicket, "game-id": this.gameId, "player-id": this.playerId, "session-id": this.sessionId, language: this.language, "translation-url": this.translationUrl })), this.selectedTabIndex === 2 && (h("div", { key: 'eb2cda1328155c9f5ac0391549f78771e20f28cb', class: "instruction-content-wrapper" }, translate('instructionContent', this.language)))))), !this.showSelectDrawPage && (h("lottery-tipping-page", { key: 'cae833bfcd10741e0ec7f6690f85e3b033284e61', endpoint: this.endpoint, "endpoint-ticket": this.endpointTicket, "game-id": this.gameId, "player-id": this.playerId, "session-id": this.sessionId, "draw-id": this.drawId, playTypes: this.playTypes, bettingTypes: this.bettingTypes, "client-styling": this.clientStyling, "client-styling-Url": this.clientStylingUrl, "mb-source": this.mbSource, "translation-url": this.translationUrl, language: this.language }))));
9425
9426
  }
9426
9427
  static get assetsDirs() { return ["../static"]; }
9427
9428
  static get watchers() { return {