@everymatrix/lottery-subscription 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.
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{lottery-subscription-602f10ec.js → lottery-subscription-3774d2ab.js} +7 -6
- package/dist/cjs/lottery-subscription.cjs.entry.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{lottery-subscription-0df24c8b.js → lottery-subscription-b4ebf0d5.js} +7 -6
- package/dist/esm/lottery-subscription.entry.js +1 -1
- package/dist/lottery-subscription/index.esm.js +1 -1
- package/dist/lottery-subscription/{lottery-subscription-0df24c8b.js → lottery-subscription-b4ebf0d5.js} +7 -6
- package/dist/lottery-subscription/lottery-subscription.entry.js +1 -1
- package/package.json +1 -1
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -6206,6 +6206,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
6206
6206
|
overflow: hidden;
|
|
6207
6207
|
min-width: var(--lumo-size-m);
|
|
6208
6208
|
-webkit-user-select: none;
|
|
6209
|
+
-moz-user-select: none;
|
|
6209
6210
|
user-select: none;
|
|
6210
6211
|
--_focus-ring-color: var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct));
|
|
6211
6212
|
--_focus-ring-width: var(--vaadin-focus-ring-width, 2px);
|
|
@@ -6415,11 +6416,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
6415
6416
|
}
|
|
6416
6417
|
`,{moduleId:"lumo-tab"});/**
|
|
6417
6418
|
* @license
|
|
6418
|
-
* Copyright (c) 2017 -
|
|
6419
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6419
6420
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6420
6421
|
*/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();}}};/**
|
|
6421
6422
|
* @license
|
|
6422
|
-
* Copyright (c) 2017 -
|
|
6423
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6423
6424
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6424
6425
|
*/const uh=p`
|
|
6425
6426
|
:host {
|
|
@@ -6442,7 +6443,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
6442
6443
|
}
|
|
6443
6444
|
`;/**
|
|
6444
6445
|
* @license
|
|
6445
|
-
* Copyright (c) 2017 -
|
|
6446
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6446
6447
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6447
6448
|
*/m("vaadin-tab",uh,{moduleId:"vaadin-tab-styles"});class ph extends N(x(hh(F(b)))){static get template(){return g`
|
|
6448
6449
|
<slot></slot>
|
|
@@ -6687,11 +6688,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
6687
6688
|
}
|
|
6688
6689
|
`,{moduleId:"lumo-tabs"});/**
|
|
6689
6690
|
* @license
|
|
6690
|
-
* Copyright (c) 2017 -
|
|
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 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");}};/**
|
|
6693
6694
|
* @license
|
|
6694
|
-
* Copyright (c) 2017 -
|
|
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 fh=p`
|
|
6697
6698
|
:host {
|
|
@@ -6771,7 +6772,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
6771
6772
|
}
|
|
6772
6773
|
`;/**
|
|
6773
6774
|
* @license
|
|
6774
|
-
* Copyright (c) 2017 -
|
|
6775
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6775
6776
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6776
6777
|
*/m("vaadin-tabs",fh,{moduleId:"vaadin-tabs-styles"});class _h extends mh(N(x(b))){static get template(){return g`
|
|
6777
6778
|
<div on-click="_scrollBack" part="back-button" aria-hidden="true"></div>
|
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { L as LotterySubscription } from './lottery-subscription-
|
|
1
|
+
export { L as LotterySubscription } from './lottery-subscription-b4ebf0d5.js';
|
|
2
2
|
import './index-f4067a90.js';
|
|
@@ -6204,6 +6204,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
6204
6204
|
overflow: hidden;
|
|
6205
6205
|
min-width: var(--lumo-size-m);
|
|
6206
6206
|
-webkit-user-select: none;
|
|
6207
|
+
-moz-user-select: none;
|
|
6207
6208
|
user-select: none;
|
|
6208
6209
|
--_focus-ring-color: var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct));
|
|
6209
6210
|
--_focus-ring-width: var(--vaadin-focus-ring-width, 2px);
|
|
@@ -6413,11 +6414,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
6413
6414
|
}
|
|
6414
6415
|
`,{moduleId:"lumo-tab"});/**
|
|
6415
6416
|
* @license
|
|
6416
|
-
* Copyright (c) 2017 -
|
|
6417
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6417
6418
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6418
6419
|
*/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();}}};/**
|
|
6419
6420
|
* @license
|
|
6420
|
-
* Copyright (c) 2017 -
|
|
6421
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6421
6422
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6422
6423
|
*/const uh=p`
|
|
6423
6424
|
:host {
|
|
@@ -6440,7 +6441,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
6440
6441
|
}
|
|
6441
6442
|
`;/**
|
|
6442
6443
|
* @license
|
|
6443
|
-
* Copyright (c) 2017 -
|
|
6444
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6444
6445
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6445
6446
|
*/m("vaadin-tab",uh,{moduleId:"vaadin-tab-styles"});class ph extends N(x(hh(F(b)))){static get template(){return g`
|
|
6446
6447
|
<slot></slot>
|
|
@@ -6685,11 +6686,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
6685
6686
|
}
|
|
6686
6687
|
`,{moduleId:"lumo-tabs"});/**
|
|
6687
6688
|
* @license
|
|
6688
|
-
* Copyright (c) 2017 -
|
|
6689
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6689
6690
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6690
6691
|
*/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");}};/**
|
|
6691
6692
|
* @license
|
|
6692
|
-
* Copyright (c) 2017 -
|
|
6693
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6693
6694
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6694
6695
|
*/const fh=p`
|
|
6695
6696
|
:host {
|
|
@@ -6769,7 +6770,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
6769
6770
|
}
|
|
6770
6771
|
`;/**
|
|
6771
6772
|
* @license
|
|
6772
|
-
* Copyright (c) 2017 -
|
|
6773
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6773
6774
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6774
6775
|
*/m("vaadin-tabs",fh,{moduleId:"vaadin-tabs-styles"});class _h extends mh(N(x(b))){static get template(){return g`
|
|
6775
6776
|
<div on-click="_scrollBack" part="back-button" aria-hidden="true"></div>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { L as lottery_subscription } from './lottery-subscription-
|
|
1
|
+
export { L as lottery_subscription } from './lottery-subscription-b4ebf0d5.js';
|
|
2
2
|
import './index-f4067a90.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{L as LotterySubscription}from"./lottery-subscription-
|
|
1
|
+
export{L as LotterySubscription}from"./lottery-subscription-b4ebf0d5.js";import"./index-f4067a90.js";
|
|
@@ -6068,6 +6068,7 @@ const vl=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 vl=t=>class extends t{static get properties(){return{accessibleDescription
|
|
|
6278
6279
|
`,{moduleId:"lumo-tab"});
|
|
6279
6280
|
/**
|
|
6280
6281
|
* @license
|
|
6281
|
-
* Copyright (c) 2017 -
|
|
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 bl=t=>class extends(Ka(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 -
|
|
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 -
|
|
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
|
Vt("vaadin-tab",I`
|
|
@@ -6555,18 +6556,18 @@ Vt("vaadin-tab",I`
|
|
|
6555
6556
|
`,{moduleId:"lumo-tabs"});
|
|
6556
6557
|
/**
|
|
6557
6558
|
* @license
|
|
6558
|
-
* Copyright (c) 2017 -
|
|
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 yl=t=>class extends(Wa(tl(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"),xr(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),n=t.getBoundingClientRect();return o>Math.floor(n.left)&&r<Math.ceil(n.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:Qa(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 -
|
|
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 -
|
|
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
|
Vt("vaadin-tabs",I`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{L as lottery_subscription}from"./lottery-subscription-
|
|
1
|
+
export{L as lottery_subscription}from"./lottery-subscription-b4ebf0d5.js";import"./index-f4067a90.js";
|