@everymatrix/player-account-product-restriction 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.
@@ -15672,6 +15672,7 @@ C("vaadin-tab", g`
15672
15672
  overflow: hidden;
15673
15673
  min-width: var(--lumo-size-m);
15674
15674
  -webkit-user-select: none;
15675
+ -moz-user-select: none;
15675
15676
  user-select: none;
15676
15677
  --_focus-ring-color: var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct));
15677
15678
  --_focus-ring-width: var(--vaadin-focus-ring-width, 2px);
@@ -15882,7 +15883,7 @@ C("vaadin-tab", g`
15882
15883
  `, { moduleId: "lumo-tab" });
15883
15884
  /**
15884
15885
  * @license
15885
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
15886
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
15886
15887
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
15887
15888
  */
15888
15889
  const _p = (i) => class extends cn(i) {
@@ -15899,7 +15900,7 @@ const _p = (i) => class extends cn(i) {
15899
15900
  };
15900
15901
  /**
15901
15902
  * @license
15902
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
15903
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
15903
15904
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
15904
15905
  */
15905
15906
  const fp = g`
@@ -15924,7 +15925,7 @@ const fp = g`
15924
15925
  `;
15925
15926
  /**
15926
15927
  * @license
15927
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
15928
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
15928
15929
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
15929
15930
  */
15930
15931
  C("vaadin-tab", fp, { moduleId: "vaadin-tab-styles" });
@@ -16184,7 +16185,7 @@ C("vaadin-tabs", g`
16184
16185
  `, { moduleId: "lumo-tabs" });
16185
16186
  /**
16186
16187
  * @license
16187
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
16188
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
16188
16189
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
16189
16190
  */
16190
16191
  const gp = (i) => class extends ln(un(i)) {
@@ -16263,7 +16264,7 @@ const gp = (i) => class extends ln(un(i)) {
16263
16264
  };
16264
16265
  /**
16265
16266
  * @license
16266
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
16267
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
16267
16268
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
16268
16269
  */
16269
16270
  const bp = g`
@@ -16345,7 +16346,7 @@ const bp = g`
16345
16346
  `;
16346
16347
  /**
16347
16348
  * @license
16348
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
16349
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
16349
16350
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
16350
16351
  */
16351
16352
  C("vaadin-tabs", bp, { moduleId: "vaadin-tabs-styles" });
@@ -15644,6 +15644,7 @@ C("vaadin-tab", g`
15644
15644
  overflow: hidden;
15645
15645
  min-width: var(--lumo-size-m);
15646
15646
  -webkit-user-select: none;
15647
+ -moz-user-select: none;
15647
15648
  user-select: none;
15648
15649
  --_focus-ring-color: var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct));
15649
15650
  --_focus-ring-width: var(--vaadin-focus-ring-width, 2px);
@@ -15854,7 +15855,7 @@ C("vaadin-tab", g`
15854
15855
  `, { moduleId: "lumo-tab" });
15855
15856
  /**
15856
15857
  * @license
15857
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
15858
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
15858
15859
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
15859
15860
  */
15860
15861
  const rp = (i) => class extends sn(i) {
@@ -15871,7 +15872,7 @@ const rp = (i) => class extends sn(i) {
15871
15872
  };
15872
15873
  /**
15873
15874
  * @license
15874
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
15875
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
15875
15876
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
15876
15877
  */
15877
15878
  const sp = g`
@@ -15896,7 +15897,7 @@ const sp = g`
15896
15897
  `;
15897
15898
  /**
15898
15899
  * @license
15899
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
15900
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
15900
15901
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
15901
15902
  */
15902
15903
  C("vaadin-tab", sp, { moduleId: "vaadin-tab-styles" });
@@ -16156,7 +16157,7 @@ C("vaadin-tabs", g`
16156
16157
  `, { moduleId: "lumo-tabs" });
16157
16158
  /**
16158
16159
  * @license
16159
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
16160
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
16160
16161
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
16161
16162
  */
16162
16163
  const np = (i) => class extends on(nn(i)) {
@@ -16235,7 +16236,7 @@ const np = (i) => class extends on(nn(i)) {
16235
16236
  };
16236
16237
  /**
16237
16238
  * @license
16238
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
16239
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
16239
16240
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
16240
16241
  */
16241
16242
  const lp = g`
@@ -16317,7 +16318,7 @@ const lp = g`
16317
16318
  `;
16318
16319
  /**
16319
16320
  * @license
16320
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
16321
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
16321
16322
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
16322
16323
  */
16323
16324
  C("vaadin-tabs", lp, { moduleId: "vaadin-tabs-styles" });
@@ -6080,6 +6080,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
6080
6080
  overflow: hidden;
6081
6081
  min-width: var(--lumo-size-m);
6082
6082
  -webkit-user-select: none;
6083
+ -moz-user-select: none;
6083
6084
  user-select: none;
6084
6085
  --_focus-ring-color: var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct));
6085
6086
  --_focus-ring-width: var(--vaadin-focus-ring-width, 2px);
@@ -6289,11 +6290,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
6289
6290
  }
6290
6291
  `,{moduleId:"lumo-tab"});/**
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
  */const Nu=i=>class extends Ya(i){ready(){super.ready(),this.setAttribute("role","tab")}_onKeyUp(e){const t=this.hasAttribute("active");if(super._onKeyUp(e),t){const o=this.querySelector("a");o&&o.click()}}};/**
6295
6296
  * @license
6296
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6297
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6297
6298
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6298
6299
  */const Lu=g`
6299
6300
  :host {
@@ -6316,7 +6317,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
6316
6317
  }
6317
6318
  `;/**
6318
6319
  * @license
6319
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6320
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6320
6321
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6321
6322
  */C("vaadin-tab",Lu,{moduleId:"vaadin-tab-styles"});class Vu extends xe(q(Nu(Ae(F)))){static get template(){return V`
6322
6323
  <slot></slot>
@@ -6561,11 +6562,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
6561
6562
  }
6562
6563
  `,{moduleId:"lumo-tabs"});/**
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
  */const Fu=i=>class extends qa(Ga(i)){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"),Vi(this,()=>{this._updateOverflow()})}_onResize(){this._updateOverflow()}__tabsItemsChanged(e){this.__itemsResizeObserver.disconnect(),(e||[]).forEach(t=>{this.__itemsResizeObserver.observe(t)}),this._updateOverflow()}_scrollForward(){const e=this._getNavigationButtonVisibleWidth("forward-button"),t=this._getNavigationButtonVisibleWidth("back-button"),o=this._scrollerElement.getBoundingClientRect(),r=[...this.items].reverse().find(n=>this._isItemVisible(n,e,t,o)).getBoundingClientRect(),s=20+this.shadowRoot.querySelector('[part="back-button"]').clientWidth;let a;if(this.__isRTL){const n=o.right-s;a=r.right-n}else{const n=o.left+s;a=r.left-n}-this.__direction*a<1&&(a=-this.__direction*(this._scrollOffset-s)),this._scroll(a)}_scrollBack(){const e=this._getNavigationButtonVisibleWidth("forward-button"),t=this._getNavigationButtonVisibleWidth("back-button"),o=this._scrollerElement.getBoundingClientRect(),r=this.items.find(n=>this._isItemVisible(n,e,t,o)).getBoundingClientRect(),s=20+this.shadowRoot.querySelector('[part="forward-button"]').clientWidth;let a;if(this.__isRTL){const n=o.left+s;a=r.left-n}else{const n=o.right-s;a=r.right-n}this.__direction*a<1&&(a=this.__direction*(this._scrollOffset-s)),this._scroll(a)}_isItemVisible(e,t,o,r){if(this._vertical)throw new Error("Visibility check is only supported for horizontal tabs.");const s=this.__isRTL?o:t,a=this.__isRTL?t:o,n=r.right-s,l=r.left+a,c=e.getBoundingClientRect();return n>Math.floor(c.left)&&l<Math.ceil(c.right)}_getNavigationButtonVisibleWidth(e){const t=this.shadowRoot.querySelector(`[part="${e}"]`);return window.getComputedStyle(t).opacity==="0"?0:t.clientWidth}_updateOverflow(){const e=this._vertical?this._scrollerElement.scrollTop:Ka(this._scrollerElement,this.getAttribute("dir")),t=this._vertical?this._scrollerElement.scrollHeight:this._scrollerElement.scrollWidth;let o=Math.floor(e)>1?"start":"";Math.ceil(e)<Math.ceil(t-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")}};/**
6567
6568
  * @license
6568
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6569
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6569
6570
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6570
6571
  */const Bu=g`
6571
6572
  :host {
@@ -6645,7 +6646,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
6645
6646
  }
6646
6647
  `;/**
6647
6648
  * @license
6648
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6649
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6649
6650
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6650
6651
  */C("vaadin-tabs",Bu,{moduleId:"vaadin-tabs-styles"});class Hu extends Fu(xe(q(F))){static get template(){return V`
6651
6652
  <div on-click="_scrollBack" part="back-button" aria-hidden="true"></div>
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountProductRestriction-NlEA2SvN.cjs")).then(({default:t})=>{!customElements.get("player-account-product-restriction")&&customElements.define("player-account-product-restriction",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountProductRestriction-DH2X1kYu.cjs")).then(({default:t})=>{!customElements.get("player-account-product-restriction")&&customElements.define("player-account-product-restriction",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/PlayerAccountProductRestriction-96TLIXUz.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/PlayerAccountProductRestriction-BN3pSA9x.js").then(({ default: t }) => {
14
14
  !customElements.get("player-account-product-restriction") && customElements.define("player-account-product-restriction", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { P as r } from "../components/PlayerAccountProductRestriction-BRCJYDr6.js";
1
+ import { P as r } from "../components/PlayerAccountProductRestriction-CO-ov3s9.js";
2
2
  function s(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/player-account-product-restriction",
3
- "version": "1.77.11",
3
+ "version": "1.77.13",
4
4
  "type": "module",
5
5
  "main": "esnext/player-account-product-restriction.js",
6
6
  "module": "esnext/player-account-product-restriction.js",