@everymatrix/lottery-game-page 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.
@@ -6482,6 +6482,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
6482
6482
  overflow: hidden;
6483
6483
  min-width: var(--lumo-size-m);
6484
6484
  -webkit-user-select: none;
6485
+ -moz-user-select: none;
6485
6486
  user-select: none;
6486
6487
  --_focus-ring-color: var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct));
6487
6488
  --_focus-ring-width: var(--vaadin-focus-ring-width, 2px);
@@ -6691,11 +6692,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
6691
6692
  }
6692
6693
  `,{moduleId:"lumo-tab"});/**
6693
6694
  * @license
6694
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6695
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6695
6696
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6696
6697
  */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();}}};/**
6697
6698
  * @license
6698
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6699
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6699
6700
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6700
6701
  */const uh=p`
6701
6702
  :host {
@@ -6718,7 +6719,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
6718
6719
  }
6719
6720
  `;/**
6720
6721
  * @license
6721
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6722
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6722
6723
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6723
6724
  */m("vaadin-tab",uh,{moduleId:"vaadin-tab-styles"});class ph extends N(x(hh(F(b)))){static get template(){return g`
6724
6725
  <slot></slot>
@@ -6963,11 +6964,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
6963
6964
  }
6964
6965
  `,{moduleId:"lumo-tabs"});/**
6965
6966
  * @license
6966
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6967
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6967
6968
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6968
6969
  */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");}};/**
6969
6970
  * @license
6970
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6971
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6971
6972
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6972
6973
  */const fh=p`
6973
6974
  :host {
@@ -7047,7 +7048,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
7047
7048
  }
7048
7049
  `;/**
7049
7050
  * @license
7050
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
7051
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
7051
7052
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7052
7053
  */m("vaadin-tabs",fh,{moduleId:"vaadin-tabs-styles"});class _h extends mh(N(x(b))){static get template(){return g`
7053
7054
  <div on-click="_scrollBack" part="back-button" aria-hidden="true"></div>
@@ -6478,6 +6478,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
6478
6478
  overflow: hidden;
6479
6479
  min-width: var(--lumo-size-m);
6480
6480
  -webkit-user-select: none;
6481
+ -moz-user-select: none;
6481
6482
  user-select: none;
6482
6483
  --_focus-ring-color: var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct));
6483
6484
  --_focus-ring-width: var(--vaadin-focus-ring-width, 2px);
@@ -6687,11 +6688,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
6687
6688
  }
6688
6689
  `,{moduleId:"lumo-tab"});/**
6689
6690
  * @license
6690
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6691
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6691
6692
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6692
6693
  */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();}}};/**
6693
6694
  * @license
6694
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6695
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6695
6696
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6696
6697
  */const uh=p`
6697
6698
  :host {
@@ -6714,7 +6715,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
6714
6715
  }
6715
6716
  `;/**
6716
6717
  * @license
6717
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6718
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6718
6719
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6719
6720
  */m("vaadin-tab",uh,{moduleId:"vaadin-tab-styles"});class ph extends N(x(hh(F(b)))){static get template(){return g`
6720
6721
  <slot></slot>
@@ -6959,11 +6960,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
6959
6960
  }
6960
6961
  `,{moduleId:"lumo-tabs"});/**
6961
6962
  * @license
6962
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6963
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6963
6964
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6964
6965
  */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");}};/**
6965
6966
  * @license
6966
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6967
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6967
6968
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6968
6969
  */const fh=p`
6969
6970
  :host {
@@ -7043,7 +7044,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
7043
7044
  }
7044
7045
  `;/**
7045
7046
  * @license
7046
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
7047
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
7047
7048
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7048
7049
  */m("vaadin-tabs",fh,{moduleId:"vaadin-tabs-styles"});class _h extends mh(N(x(b))){static get template(){return g`
7049
7050
  <div on-click="_scrollBack" part="back-button" aria-hidden="true"></div>
@@ -6068,6 +6068,7 @@ const wl=t=>class extends t{static get properties(){return{accessibleDescription
6068
6068
  overflow: hidden;
6069
6069
  min-width: var(--lumo-size-m);
6070
6070
  -webkit-user-select: none;
6071
+ -moz-user-select: none;
6071
6072
  user-select: none;
6072
6073
  --_focus-ring-color: var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct));
6073
6074
  --_focus-ring-width: var(--vaadin-focus-ring-width, 2px);
@@ -6278,18 +6279,18 @@ const wl=t=>class extends t{static get properties(){return{accessibleDescription
6278
6279
  `,{moduleId:"lumo-tab"});
6279
6280
  /**
6280
6281
  * @license
6281
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6282
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6282
6283
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6283
6284
  */
6284
6285
  const kl=t=>class extends(el(t)){ready(){super.ready(),this.setAttribute("role","tab")}_onKeyUp(t){const e=this.hasAttribute("active");if(super._onKeyUp(t),e){const t=this.querySelector("a");t&&t.click()}}}
6285
6286
  /**
6286
6287
  * @license
6287
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6288
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6288
6289
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6289
6290
  */;
6290
6291
  /**
6291
6292
  * @license
6292
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6293
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6293
6294
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6294
6295
  */
6295
6296
  qt("vaadin-tab",B`
@@ -6555,18 +6556,18 @@ qt("vaadin-tab",B`
6555
6556
  `,{moduleId:"lumo-tabs"});
6556
6557
  /**
6557
6558
  * @license
6558
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6559
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6559
6560
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6560
6561
  */
6561
6562
  const Cl=t=>class extends(Jn(rl(t))){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"),Dr(this,(()=>{this._updateOverflow()}))}_onResize(){this._updateOverflow()}__tabsItemsChanged(t){this.__itemsResizeObserver.disconnect(),(t||[]).forEach((t=>{this.__itemsResizeObserver.observe(t)})),this._updateOverflow()}_scrollForward(){const t=this._getNavigationButtonVisibleWidth("forward-button"),e=this._getNavigationButtonVisibleWidth("back-button"),i=this._scrollerElement.getBoundingClientRect(),s=[...this.items].reverse().find((s=>this._isItemVisible(s,t,e,i))).getBoundingClientRect(),o=20+this.shadowRoot.querySelector('[part="back-button"]').clientWidth;let r;r=this.__isRTL?s.right-(i.right-o):s.left-(i.left+o),-this.__direction*r<1&&(r=-this.__direction*(this._scrollOffset-o)),this._scroll(r)}_scrollBack(){const t=this._getNavigationButtonVisibleWidth("forward-button"),e=this._getNavigationButtonVisibleWidth("back-button"),i=this._scrollerElement.getBoundingClientRect(),s=this.items.find((s=>this._isItemVisible(s,t,e,i))).getBoundingClientRect(),o=20+this.shadowRoot.querySelector('[part="forward-button"]').clientWidth;let r;r=this.__isRTL?s.left-(i.left+o):s.right-(i.right-o),this.__direction*r<1&&(r=this.__direction*(this._scrollOffset-o)),this._scroll(r)}_isItemVisible(t,e,i,s){if(this._vertical)throw new Error("Visibility check is only supported for horizontal tabs.");const o=s.right-(this.__isRTL?i:e),r=s.left+(this.__isRTL?e:i),a=t.getBoundingClientRect();return o>Math.floor(a.left)&&r<Math.ceil(a.right)}_getNavigationButtonVisibleWidth(t){const e=this.shadowRoot.querySelector(`[part="${t}"]`);return"0"===window.getComputedStyle(e).opacity?0:e.clientWidth}_updateOverflow(){const t=this._vertical?this._scrollerElement.scrollTop:sl(this._scrollerElement,this.getAttribute("dir")),e=this._vertical?this._scrollerElement.scrollHeight:this._scrollerElement.scrollWidth;let i=Math.floor(t)>1?"start":"";Math.ceil(t)<Math.ceil(e-this._scrollOffset)&&(i+=" end"),1===this.__direction&&(i=i.replace(/start|end/giu,(t=>"start"===t?"end":"start"))),i?this.setAttribute("overflow",i.trim()):this.removeAttribute("overflow")}}
6562
6563
  /**
6563
6564
  * @license
6564
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6565
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6565
6566
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6566
6567
  */;
6567
6568
  /**
6568
6569
  * @license
6569
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6570
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6570
6571
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6571
6572
  */
6572
6573
  qt("vaadin-tabs",B`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/lottery-game-page",
3
- "version": "1.77.11",
3
+ "version": "1.77.13",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",