@everymatrix/helper-filters 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.
|
@@ -6377,6 +6377,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
6377
6377
|
overflow: hidden;
|
|
6378
6378
|
min-width: var(--lumo-size-m);
|
|
6379
6379
|
-webkit-user-select: none;
|
|
6380
|
+
-moz-user-select: none;
|
|
6380
6381
|
user-select: none;
|
|
6381
6382
|
--_focus-ring-color: var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct));
|
|
6382
6383
|
--_focus-ring-width: var(--vaadin-focus-ring-width, 2px);
|
|
@@ -6586,11 +6587,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
6586
6587
|
}
|
|
6587
6588
|
`,{moduleId:"lumo-tab"});/**
|
|
6588
6589
|
* @license
|
|
6589
|
-
* Copyright (c) 2017 -
|
|
6590
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6590
6591
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6591
6592
|
*/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();}}};/**
|
|
6592
6593
|
* @license
|
|
6593
|
-
* Copyright (c) 2017 -
|
|
6594
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6594
6595
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6595
6596
|
*/const uh=p`
|
|
6596
6597
|
:host {
|
|
@@ -6613,7 +6614,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
6613
6614
|
}
|
|
6614
6615
|
`;/**
|
|
6615
6616
|
* @license
|
|
6616
|
-
* Copyright (c) 2017 -
|
|
6617
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6617
6618
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6618
6619
|
*/m("vaadin-tab",uh,{moduleId:"vaadin-tab-styles"});class ph extends N(x(hh(F(b)))){static get template(){return g`
|
|
6619
6620
|
<slot></slot>
|
|
@@ -6858,11 +6859,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
6858
6859
|
}
|
|
6859
6860
|
`,{moduleId:"lumo-tabs"});/**
|
|
6860
6861
|
* @license
|
|
6861
|
-
* Copyright (c) 2017 -
|
|
6862
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6862
6863
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6863
6864
|
*/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");}};/**
|
|
6864
6865
|
* @license
|
|
6865
|
-
* Copyright (c) 2017 -
|
|
6866
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6866
6867
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6867
6868
|
*/const fh=p`
|
|
6868
6869
|
:host {
|
|
@@ -6942,7 +6943,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
6942
6943
|
}
|
|
6943
6944
|
`;/**
|
|
6944
6945
|
* @license
|
|
6945
|
-
* Copyright (c) 2017 -
|
|
6946
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6946
6947
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6947
6948
|
*/m("vaadin-tabs",fh,{moduleId:"vaadin-tabs-styles"});class _h extends mh(N(x(b))){static get template(){return g`
|
|
6948
6949
|
<div on-click="_scrollBack" part="back-button" aria-hidden="true"></div>
|
|
@@ -6373,6 +6373,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
6373
6373
|
overflow: hidden;
|
|
6374
6374
|
min-width: var(--lumo-size-m);
|
|
6375
6375
|
-webkit-user-select: none;
|
|
6376
|
+
-moz-user-select: none;
|
|
6376
6377
|
user-select: none;
|
|
6377
6378
|
--_focus-ring-color: var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct));
|
|
6378
6379
|
--_focus-ring-width: var(--vaadin-focus-ring-width, 2px);
|
|
@@ -6582,11 +6583,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
6582
6583
|
}
|
|
6583
6584
|
`,{moduleId:"lumo-tab"});/**
|
|
6584
6585
|
* @license
|
|
6585
|
-
* Copyright (c) 2017 -
|
|
6586
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6586
6587
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6587
6588
|
*/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();}}};/**
|
|
6588
6589
|
* @license
|
|
6589
|
-
* Copyright (c) 2017 -
|
|
6590
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6590
6591
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6591
6592
|
*/const uh=p`
|
|
6592
6593
|
:host {
|
|
@@ -6609,7 +6610,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
6609
6610
|
}
|
|
6610
6611
|
`;/**
|
|
6611
6612
|
* @license
|
|
6612
|
-
* Copyright (c) 2017 -
|
|
6613
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6613
6614
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6614
6615
|
*/m("vaadin-tab",uh,{moduleId:"vaadin-tab-styles"});class ph extends N(x(hh(F(b)))){static get template(){return g`
|
|
6615
6616
|
<slot></slot>
|
|
@@ -6854,11 +6855,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
6854
6855
|
}
|
|
6855
6856
|
`,{moduleId:"lumo-tabs"});/**
|
|
6856
6857
|
* @license
|
|
6857
|
-
* Copyright (c) 2017 -
|
|
6858
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6858
6859
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6859
6860
|
*/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");}};/**
|
|
6860
6861
|
* @license
|
|
6861
|
-
* Copyright (c) 2017 -
|
|
6862
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6862
6863
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6863
6864
|
*/const fh=p`
|
|
6864
6865
|
:host {
|
|
@@ -6938,7 +6939,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
6938
6939
|
}
|
|
6939
6940
|
`;/**
|
|
6940
6941
|
* @license
|
|
6941
|
-
* Copyright (c) 2017 -
|
|
6942
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6942
6943
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6943
6944
|
*/m("vaadin-tabs",fh,{moduleId:"vaadin-tabs-styles"});class _h extends mh(N(x(b))){static get template(){return g`
|
|
6944
6945
|
<div on-click="_scrollBack" part="back-button" aria-hidden="true"></div>
|
|
@@ -6068,6 +6068,7 @@ const fl=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 fl=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 gl=t=>class extends(Xa(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 wl=t=>class extends(Ha(el(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"),kr(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(),o=[...this.items].reverse().find((o=>this._isItemVisible(o,t,e,i))).getBoundingClientRect(),s=20+this.shadowRoot.querySelector('[part="back-button"]').clientWidth;let r;r=this.__isRTL?o.right-(i.right-s):o.left-(i.left+s),-this.__direction*r<1&&(r=-this.__direction*(this._scrollOffset-s)),this._scroll(r)}_scrollBack(){const t=this._getNavigationButtonVisibleWidth("forward-button"),e=this._getNavigationButtonVisibleWidth("back-button"),i=this._scrollerElement.getBoundingClientRect(),o=this.items.find((o=>this._isItemVisible(o,t,e,i))).getBoundingClientRect(),s=20+this.shadowRoot.querySelector('[part="forward-button"]').clientWidth;let r;r=this.__isRTL?o.left-(i.left+s):o.right-(i.right-s),this.__direction*r<1&&(r=this.__direction*(this._scrollOffset-s)),this._scroll(r)}_isItemVisible(t,e,i,o){if(this._vertical)throw new Error("Visibility check is only supported for horizontal tabs.");const s=o.right-(this.__isRTL?i:e),r=o.left+(this.__isRTL?e:i),n=t.getBoundingClientRect();return s>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:Za(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`
|