@everymatrix/helper-filters 1.52.6 → 1.53.10
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/helper-filters.cjs.js +2 -2
- package/dist/cjs/helper-filters_2.cjs.entry.js +283 -626
- package/dist/cjs/{index-d8d706b6.js → index-b713c8b0.js} +162 -67
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/helper-filters/helper-filters.css +23 -23
- package/dist/collection/components/helper-filters/helper-filters.js +78 -24
- package/dist/esm/helper-filters.js +3 -3
- package/dist/esm/helper-filters_2.entry.js +285 -628
- package/dist/esm/{index-65288f86.js → index-82b8e4db.js} +162 -67
- package/dist/esm/loader.js +2 -2
- package/dist/helper-filters/helper-filters.esm.js +1 -1
- package/dist/helper-filters/p-612c2432.js +2 -0
- package/dist/helper-filters/{p-372fbd31.entry.js → p-bd719fbb.entry.js} +196 -517
- package/dist/types/components/helper-filters/helper-filters.d.ts +3 -3
- package/package.json +1 -1
- package/dist/helper-filters/p-da436b95.js +0 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-b713c8b0.js');
|
|
6
6
|
|
|
7
7
|
const DEFAULT_LANGUAGE = 'en';
|
|
8
8
|
const SUPPORTED_LANGUAGES = ['ro', 'en', 'hr'];
|
|
@@ -110,7 +110,7 @@ function defineCustomElement(CustomElement) {
|
|
|
110
110
|
*
|
|
111
111
|
* @private
|
|
112
112
|
*/
|
|
113
|
-
class Lumo$
|
|
113
|
+
class Lumo$1 extends HTMLElement {
|
|
114
114
|
static get is() {
|
|
115
115
|
return 'vaadin-lumo-styles';
|
|
116
116
|
}
|
|
@@ -120,33 +120,33 @@ class Lumo$2 extends HTMLElement {
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
defineCustomElement(Lumo$
|
|
123
|
+
defineCustomElement(Lumo$1);
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
126
|
* @license
|
|
127
127
|
* Copyright 2019 Google LLC
|
|
128
128
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
129
129
|
*/
|
|
130
|
-
const t$
|
|
130
|
+
const t$7=window,e$b=t$7.ShadowRoot&&(void 0===t$7.ShadyCSS||t$7.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$d=Symbol(),n$e=new WeakMap;class o$e{constructor(t,e,n){if(this._$cssResult$=!0,n!==s$d)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$b&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=n$e.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&n$e.set(s,t));}return t}toString(){return this.cssText}}const r$c=t=>new o$e("string"==typeof t?t:t+"",void 0,s$d),i$9=(t,...e)=>{const n=1===t.length?t[0]:e.reduce(((e,s,n)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[n+1]),t[0]);return new o$e(n,t,s$d)},S$7=(s,n)=>{e$b?s.adoptedStyleSheets=n.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):n.forEach((e=>{const n=document.createElement("style"),o=t$7.litNonce;void 0!==o&&n.setAttribute("nonce",o),n.textContent=e.cssText,s.appendChild(n);}));},c$8=e$b?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$c(e)})(t):t;
|
|
131
131
|
|
|
132
132
|
/**
|
|
133
133
|
* @license
|
|
134
134
|
* Copyright 2017 Google LLC
|
|
135
135
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
136
|
-
*/var s$
|
|
136
|
+
*/var s$c;const e$a=window,r$b=e$a.trustedTypes,h$7=r$b?r$b.emptyScript:"",o$d=e$a.reactiveElementPolyfillSupport,n$d={toAttribute(t,i){switch(i){case Boolean:t=t?h$7:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,i){let s=t;switch(i){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t);}catch(t){s=null;}}return s}},a$7=(t,i)=>i!==t&&(i==i||t==t),l$a={attribute:!0,type:String,converter:n$d,reflect:!1,hasChanged:a$7},d$7="finalized";class u$7 extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu();}static addInitializer(t){var i;this.finalize(),(null!==(i=this.h)&&void 0!==i?i:this.h=[]).push(t);}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((i,s)=>{const e=this._$Ep(s,i);void 0!==e&&(this._$Ev.set(e,s),t.push(e));})),t}static createProperty(t,i=l$a){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(t,i),!i.noAccessor&&!this.prototype.hasOwnProperty(t)){const s="symbol"==typeof t?Symbol():"__"+t,e=this.getPropertyDescriptor(t,s,i);void 0!==e&&Object.defineProperty(this.prototype,t,e);}}static getPropertyDescriptor(t,i,s){return {get(){return this[i]},set(e){const r=this[t];this[i]=e,this.requestUpdate(t,r,s);},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||l$a}static finalize(){if(this.hasOwnProperty(d$7))return !1;this[d$7]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const s of i)this.createProperty(s,t[s]);}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(i){const s=[];if(Array.isArray(i)){const e=new Set(i.flat(1/0).reverse());for(const i of e)s.unshift(c$8(i));}else void 0!==i&&s.push(c$8(i));return s}static _$Ep(t,i){const s=i.attribute;return !1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)));}addController(t){var i,s;(null!==(i=this._$ES)&&void 0!==i?i:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(s=t.hostConnected)||void 0===s||s.call(t));}removeController(t){var i;null===(i=this._$ES)||void 0===i||i.splice(this._$ES.indexOf(t)>>>0,1);}_$Eg(){this.constructor.elementProperties.forEach(((t,i)=>{this.hasOwnProperty(i)&&(this._$Ei.set(i,this[i]),delete this[i]);}));}createRenderRoot(){var t;const s=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return S$7(s,this.constructor.elementStyles),s}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostConnected)||void 0===i?void 0:i.call(t)}));}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostDisconnected)||void 0===i?void 0:i.call(t)}));}attributeChangedCallback(t,i,s){this._$AK(t,s);}_$EO(t,i,s=l$a){var e;const r=this.constructor._$Ep(t,s);if(void 0!==r&&!0===s.reflect){const h=(void 0!==(null===(e=s.converter)||void 0===e?void 0:e.toAttribute)?s.converter:n$d).toAttribute(i,s.type);this._$El=t,null==h?this.removeAttribute(r):this.setAttribute(r,h),this._$El=null;}}_$AK(t,i){var s;const e=this.constructor,r=e._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=e.getPropertyOptions(r),h="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(s=t.converter)||void 0===s?void 0:s.fromAttribute)?t.converter:n$d;this._$El=r,this[r]=h.fromAttribute(i,t.type),this._$El=null;}}requestUpdate(t,i,s){let e=!0;void 0!==t&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||a$7)(this[t],i)?(this._$AL.has(t)||this._$AL.set(t,i),!0===s.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,s))):e=!1),!this.isUpdatePending&&e&&(this._$E_=this._$Ej());}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this._$Ei&&(this._$Ei.forEach(((t,i)=>this[i]=t)),this._$Ei=void 0);let i=!1;const s=this._$AL;try{i=this.shouldUpdate(s),i?(this.willUpdate(s),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostUpdate)||void 0===i?void 0:i.call(t)})),this.update(s)):this._$Ek();}catch(t){throw i=!1,this._$Ek(),t}i&&this._$AE(s);}willUpdate(t){}_$AE(t){var i;null===(i=this._$ES)||void 0===i||i.forEach((t=>{var i;return null===(i=t.hostUpdated)||void 0===i?void 0:i.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t);}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return !0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,i)=>this._$EO(i,this[i],t))),this._$EC=void 0),this._$Ek();}updated(t){}firstUpdated(t){}}u$7[d$7]=!0,u$7.elementProperties=new Map,u$7.elementStyles=[],u$7.shadowRootOptions={mode:"open"},null==o$d||o$d({ReactiveElement:u$7}),(null!==(s$c=e$a.reactiveElementVersions)&&void 0!==s$c?s$c:e$a.reactiveElementVersions=[]).push("1.6.3");
|
|
137
137
|
|
|
138
138
|
/**
|
|
139
139
|
* @license
|
|
140
140
|
* Copyright 2017 Google LLC
|
|
141
141
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
142
142
|
*/
|
|
143
|
-
var t;const i=window,s$
|
|
143
|
+
var t$6;const i$8=window,s$b=i$8.trustedTypes,e$9=s$b?s$b.createPolicy("lit-html",{createHTML:t=>t}):void 0,o$c="$lit$",n$c=`lit$${(Math.random()+"").slice(9)}$`,l$9="?"+n$c,h$6=`<${l$9}>`,r$a=document,u$6=()=>r$a.createComment(""),d$6=t=>null===t||"object"!=typeof t&&"function"!=typeof t,c$7=Array.isArray,v$3=t=>c$7(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),a$6="[ \t\n\f\r]",f$4=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_$3=/-->/g,m$3=/>/g,p$4=RegExp(`>|${a$6}(?:([^\\s"'>=/]+)(${a$6}*=${a$6}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),g$3=/'/g,$$3=/"/g,y$3=/^(?:script|style|textarea|title)$/i,T$3=Symbol.for("lit-noChange"),A$3=Symbol.for("lit-nothing"),E$3=new WeakMap,C$3=r$a.createTreeWalker(r$a,129,null,!1);function P$3(t,i){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==e$9?e$9.createHTML(i):i}const V$3=(t,i)=>{const s=t.length-1,e=[];let l,r=2===i?"<svg>":"",u=f$4;for(let i=0;i<s;i++){const s=t[i];let d,c,v=-1,a=0;for(;a<s.length&&(u.lastIndex=a,c=u.exec(s),null!==c);)a=u.lastIndex,u===f$4?"!--"===c[1]?u=_$3:void 0!==c[1]?u=m$3:void 0!==c[2]?(y$3.test(c[2])&&(l=RegExp("</"+c[2],"g")),u=p$4):void 0!==c[3]&&(u=p$4):u===p$4?">"===c[0]?(u=null!=l?l:f$4,v=-1):void 0===c[1]?v=-2:(v=u.lastIndex-c[2].length,d=c[1],u=void 0===c[3]?p$4:'"'===c[3]?$$3:g$3):u===$$3||u===g$3?u=p$4:u===_$3||u===m$3?u=f$4:(u=p$4,l=void 0);const w=u===p$4&&t[i+1].startsWith("/>")?" ":"";r+=u===f$4?s+h$6:v>=0?(e.push(d),s.slice(0,v)+o$c+s.slice(v)+n$c+w):s+n$c+(-2===v?(e.push(void 0),i):w);}return [P$3(t,r+(t[s]||"<?>")+(2===i?"</svg>":"")),e]};class N$3{constructor({strings:t,_$litType$:i},e){let h;this.parts=[];let r=0,d=0;const c=t.length-1,v=this.parts,[a,f]=V$3(t,i);if(this.el=N$3.createElement(a,e),C$3.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes);}for(;null!==(h=C$3.nextNode())&&v.length<c;){if(1===h.nodeType){if(h.hasAttributes()){const t=[];for(const i of h.getAttributeNames())if(i.endsWith(o$c)||i.startsWith(n$c)){const s=f[d++];if(t.push(i),void 0!==s){const t=h.getAttribute(s.toLowerCase()+o$c).split(n$c),i=/([.?@])?(.*)/.exec(s);v.push({type:1,index:r,name:i[2],strings:t,ctor:"."===i[1]?H$3:"?"===i[1]?L$3:"@"===i[1]?z$3:k$3});}else v.push({type:6,index:r});}for(const i of t)h.removeAttribute(i);}if(y$3.test(h.tagName)){const t=h.textContent.split(n$c),i=t.length-1;if(i>0){h.textContent=s$b?s$b.emptyScript:"";for(let s=0;s<i;s++)h.append(t[s],u$6()),C$3.nextNode(),v.push({type:2,index:++r});h.append(t[i],u$6());}}}else if(8===h.nodeType)if(h.data===l$9)v.push({type:2,index:r});else {let t=-1;for(;-1!==(t=h.data.indexOf(n$c,t+1));)v.push({type:7,index:r}),t+=n$c.length-1;}r++;}}static createElement(t,i){const s=r$a.createElement("template");return s.innerHTML=t,s}}function S$6(t,i,s=t,e){var o,n,l,h;if(i===T$3)return i;let r=void 0!==e?null===(o=s._$Co)||void 0===o?void 0:o[e]:s._$Cl;const u=d$6(i)?void 0:i._$litDirective$;return (null==r?void 0:r.constructor)!==u&&(null===(n=null==r?void 0:r._$AO)||void 0===n||n.call(r,!1),void 0===u?r=void 0:(r=new u(t),r._$AT(t,s,e)),void 0!==e?(null!==(l=(h=s)._$Co)&&void 0!==l?l:h._$Co=[])[e]=r:s._$Cl=r),void 0!==r&&(i=S$6(t,r._$AS(t,i.values),r,e)),i}class M$3{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:s},parts:e}=this._$AD,o=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:r$a).importNode(s,!0);C$3.currentNode=o;let n=C$3.nextNode(),l=0,h=0,u=e[0];for(;void 0!==u;){if(l===u.index){let i;2===u.type?i=new R$3(n,n.nextSibling,this,t):1===u.type?i=new u.ctor(n,u.name,u.strings,this,t):6===u.type&&(i=new Z$2(n,this,t)),this._$AV.push(i),u=e[++h];}l!==(null==u?void 0:u.index)&&(n=C$3.nextNode(),l++);}return C$3.currentNode=r$a,o}v(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R$3{constructor(t,i,s,e){var o;this.type=2,this._$AH=A$3,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cp=null===(o=null==e?void 0:e.isConnected)||void 0===o||o;}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$6(this,t,i),d$6(t)?t===A$3||null==t||""===t?(this._$AH!==A$3&&this._$AR(),this._$AH=A$3):t!==this._$AH&&t!==T$3&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):v$3(t)?this.T(t):this._(t);}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t));}_(t){this._$AH!==A$3&&d$6(this._$AH)?this._$AA.nextSibling.data=t:this.$(r$a.createTextNode(t)),this._$AH=t;}g(t){var i;const{values:s,_$litType$:e}=t,o="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=N$3.createElement(P$3(e.h,e.h[0]),this.options)),e);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===o)this._$AH.v(s);else {const t=new M$3(o,this),i=t.u(this.options);t.v(s),this.$(i),this._$AH=t;}}_$AC(t){let i=E$3.get(t.strings);return void 0===i&&E$3.set(t.strings,i=new N$3(t)),i}T(t){c$7(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const o of t)e===i.length?i.push(s=new R$3(this.k(u$6()),this.k(u$6()),this,this.options)):s=i[e],s._$AI(o),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){var s;for(null===(s=this._$AP)||void 0===s||s.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t));}}class k$3{constructor(t,i,s,e,o){this.type=1,this._$AH=A$3,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=o,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=A$3;}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,s,e){const o=this.strings;let n=!1;if(void 0===o)t=S$6(this,t,i,0),n=!d$6(t)||t!==this._$AH&&t!==T$3,n&&(this._$AH=t);else {const e=t;let l,h;for(t=o[0],l=0;l<o.length-1;l++)h=S$6(this,e[s+l],i,l),h===T$3&&(h=this._$AH[l]),n||(n=!d$6(h)||h!==this._$AH[l]),h===A$3?t=A$3:t!==A$3&&(t+=(null!=h?h:"")+o[l+1]),this._$AH[l]=h;}n&&!e&&this.j(t);}j(t){t===A$3?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"");}}class H$3 extends k$3{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===A$3?void 0:t;}}const I$3=s$b?s$b.emptyScript:"";class L$3 extends k$3{constructor(){super(...arguments),this.type=4;}j(t){t&&t!==A$3?this.element.setAttribute(this.name,I$3):this.element.removeAttribute(this.name);}}class z$3 extends k$3{constructor(t,i,s,e,o){super(t,i,s,e,o),this.type=5;}_$AI(t,i=this){var s;if((t=null!==(s=S$6(this,t,i,0))&&void 0!==s?s:A$3)===T$3)return;const e=this._$AH,o=t===A$3&&e!==A$3||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==A$3&&(e===A$3||o);o&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){var i,s;"function"==typeof this._$AH?this._$AH.call(null!==(s=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==s?s:this.element,t):this._$AH.handleEvent(t);}}class Z$2{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$6(this,t);}}const B$3=i$8.litHtmlPolyfillSupport;null==B$3||B$3(N$3,R$3),(null!==(t$6=i$8.litHtmlVersions)&&void 0!==t$6?t$6:i$8.litHtmlVersions=[]).push("2.8.0");const D$2=(t,i,s)=>{var e,o;const n=null!==(e=null==s?void 0:s.renderBefore)&&void 0!==e?e:i;let l=n._$litPart$;if(void 0===l){const t=null!==(o=null==s?void 0:s.renderBefore)&&void 0!==o?o:null;n._$litPart$=l=new R$3(i.insertBefore(u$6(),t),t,void 0,null!=s?s:{});}return l._$AI(t),l};
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
146
|
* @license
|
|
147
147
|
* Copyright 2017 Google LLC
|
|
148
148
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
149
|
-
*/var l,o;class s extends u$
|
|
149
|
+
*/var l$8,o$b;class s$a extends u$7{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=D$2(i,this.renderRoot,this.renderOptions);}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0);}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1);}render(){return T$3}}s$a.finalized=!0,s$a._$litElement$=!0,null===(l$8=globalThis.litElementHydrateSupport)||void 0===l$8||l$8.call(globalThis,{LitElement:s$a});const n$b=globalThis.litElementPolyfillSupport;null==n$b||n$b({LitElement:s$a});(null!==(o$b=globalThis.litElementVersions)&&void 0!==o$b?o$b:globalThis.litElementVersions=[]).push("3.3.3");
|
|
150
150
|
|
|
151
151
|
/**
|
|
152
152
|
* @license
|
|
@@ -245,7 +245,7 @@ function hasThemes(tagName) {
|
|
|
245
245
|
*/
|
|
246
246
|
function flattenStyles(styles = []) {
|
|
247
247
|
return [styles].flat(Infinity).filter((style) => {
|
|
248
|
-
if (style instanceof o$
|
|
248
|
+
if (style instanceof o$e) {
|
|
249
249
|
return true;
|
|
250
250
|
}
|
|
251
251
|
console.warn('An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`.');
|
|
@@ -464,7 +464,7 @@ const addGlobalThemeStyles = (id, ...styles) => {
|
|
|
464
464
|
document.head.insertAdjacentElement('afterbegin', styleTag);
|
|
465
465
|
};
|
|
466
466
|
|
|
467
|
-
const addLumoGlobalStyles$
|
|
467
|
+
const addLumoGlobalStyles$1 = (id, ...styles) => {
|
|
468
468
|
addGlobalThemeStyles(`lumo-${id}`, styles);
|
|
469
469
|
};
|
|
470
470
|
|
|
@@ -474,7 +474,7 @@ const addLumoGlobalStyles$2 = (id, ...styles) => {
|
|
|
474
474
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
475
475
|
*/
|
|
476
476
|
|
|
477
|
-
const colorBase$
|
|
477
|
+
const colorBase$1 = i$9`
|
|
478
478
|
:host {
|
|
479
479
|
/* Base (background) */
|
|
480
480
|
--lumo-base-color: #fff;
|
|
@@ -561,9 +561,9 @@ const colorBase$2 = i$1`
|
|
|
561
561
|
}
|
|
562
562
|
`;
|
|
563
563
|
|
|
564
|
-
addLumoGlobalStyles$
|
|
564
|
+
addLumoGlobalStyles$1('color-props', colorBase$1);
|
|
565
565
|
|
|
566
|
-
const color$
|
|
566
|
+
const color$1 = i$9`
|
|
567
567
|
[theme~='dark'] {
|
|
568
568
|
/* Base (background) */
|
|
569
569
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -680,7 +680,7 @@ const color$2 = i$1`
|
|
|
680
680
|
}
|
|
681
681
|
`;
|
|
682
682
|
|
|
683
|
-
registerStyles('', color$
|
|
683
|
+
registerStyles('', color$1, { moduleId: 'lumo-color' });
|
|
684
684
|
|
|
685
685
|
/**
|
|
686
686
|
* @license
|
|
@@ -688,7 +688,7 @@ registerStyles('', color$2, { moduleId: 'lumo-color' });
|
|
|
688
688
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
689
689
|
*/
|
|
690
690
|
|
|
691
|
-
const sizing$
|
|
691
|
+
const sizing$1 = i$9`
|
|
692
692
|
:host {
|
|
693
693
|
--lumo-size-xs: 1.625rem;
|
|
694
694
|
--lumo-size-s: 1.875rem;
|
|
@@ -705,7 +705,7 @@ const sizing$2 = i$1`
|
|
|
705
705
|
}
|
|
706
706
|
`;
|
|
707
707
|
|
|
708
|
-
addLumoGlobalStyles$
|
|
708
|
+
addLumoGlobalStyles$1('sizing-props', sizing$1);
|
|
709
709
|
|
|
710
710
|
/**
|
|
711
711
|
* @license
|
|
@@ -713,7 +713,7 @@ addLumoGlobalStyles$2('sizing-props', sizing$2);
|
|
|
713
713
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
714
714
|
*/
|
|
715
715
|
|
|
716
|
-
const style$
|
|
716
|
+
const style$1 = i$9`
|
|
717
717
|
:host {
|
|
718
718
|
/* Border radius */
|
|
719
719
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -735,7 +735,7 @@ const style$2 = i$1`
|
|
|
735
735
|
/**
|
|
736
736
|
* Default values for component-specific custom properties.
|
|
737
737
|
*/
|
|
738
|
-
i$
|
|
738
|
+
i$9`
|
|
739
739
|
html {
|
|
740
740
|
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
|
|
741
741
|
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
|
|
@@ -743,7 +743,7 @@ i$1`
|
|
|
743
743
|
}
|
|
744
744
|
`;
|
|
745
745
|
|
|
746
|
-
addLumoGlobalStyles$
|
|
746
|
+
addLumoGlobalStyles$1('style-props', style$1);
|
|
747
747
|
|
|
748
748
|
/**
|
|
749
749
|
* @license
|
|
@@ -751,7 +751,7 @@ addLumoGlobalStyles$2('style-props', style$2);
|
|
|
751
751
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
752
752
|
*/
|
|
753
753
|
|
|
754
|
-
const font$
|
|
754
|
+
const font$1 = i$9`
|
|
755
755
|
:host {
|
|
756
756
|
/* prettier-ignore */
|
|
757
757
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -773,7 +773,7 @@ const font$2 = i$1`
|
|
|
773
773
|
}
|
|
774
774
|
`;
|
|
775
775
|
|
|
776
|
-
const typography$
|
|
776
|
+
const typography$1 = i$9`
|
|
777
777
|
body,
|
|
778
778
|
:host {
|
|
779
779
|
font-family: var(--lumo-font-family);
|
|
@@ -867,12 +867,12 @@ const typography$2 = i$1`
|
|
|
867
867
|
}
|
|
868
868
|
`;
|
|
869
869
|
|
|
870
|
-
registerStyles('', typography$
|
|
871
|
-
addLumoGlobalStyles$
|
|
870
|
+
registerStyles('', typography$1, { moduleId: 'lumo-typography' });
|
|
871
|
+
addLumoGlobalStyles$1('typography-props', font$1);
|
|
872
872
|
|
|
873
873
|
registerStyles(
|
|
874
874
|
'vaadin-input-container',
|
|
875
|
-
i$
|
|
875
|
+
i$9`
|
|
876
876
|
:host {
|
|
877
877
|
background-color: var(--lumo-contrast-10pct);
|
|
878
878
|
padding: 0 calc(0.375em + var(--_input-container-radius) / 4 - 1px);
|
|
@@ -8374,19 +8374,19 @@ defineCustomElement(InputContainer);
|
|
|
8374
8374
|
*
|
|
8375
8375
|
* @private
|
|
8376
8376
|
*/
|
|
8377
|
-
class Lumo
|
|
8377
|
+
class Lumo extends HTMLElement {
|
|
8378
8378
|
static get is() {
|
|
8379
8379
|
return 'vaadin-lumo-styles';
|
|
8380
8380
|
}
|
|
8381
8381
|
|
|
8382
8382
|
static get version() {
|
|
8383
|
-
return '24.2.
|
|
8383
|
+
return '24.2.9';
|
|
8384
8384
|
}
|
|
8385
8385
|
}
|
|
8386
8386
|
|
|
8387
|
-
defineCustomElement(Lumo
|
|
8387
|
+
defineCustomElement(Lumo);
|
|
8388
8388
|
|
|
8389
|
-
const addLumoGlobalStyles
|
|
8389
|
+
const addLumoGlobalStyles = (id, ...styles) => {
|
|
8390
8390
|
addGlobalThemeStyles(`lumo-${id}`, styles);
|
|
8391
8391
|
};
|
|
8392
8392
|
|
|
@@ -8396,7 +8396,7 @@ const addLumoGlobalStyles$1 = (id, ...styles) => {
|
|
|
8396
8396
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8397
8397
|
*/
|
|
8398
8398
|
|
|
8399
|
-
const sizing
|
|
8399
|
+
const sizing = i$9`
|
|
8400
8400
|
:host {
|
|
8401
8401
|
--lumo-size-xs: 1.625rem;
|
|
8402
8402
|
--lumo-size-s: 1.875rem;
|
|
@@ -8413,7 +8413,7 @@ const sizing$1 = i$1`
|
|
|
8413
8413
|
}
|
|
8414
8414
|
`;
|
|
8415
8415
|
|
|
8416
|
-
addLumoGlobalStyles
|
|
8416
|
+
addLumoGlobalStyles('sizing-props', sizing);
|
|
8417
8417
|
|
|
8418
8418
|
/**
|
|
8419
8419
|
* @license
|
|
@@ -8421,7 +8421,7 @@ addLumoGlobalStyles$1('sizing-props', sizing$1);
|
|
|
8421
8421
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8422
8422
|
*/
|
|
8423
8423
|
|
|
8424
|
-
const spacing
|
|
8424
|
+
const spacing = i$9`
|
|
8425
8425
|
:host {
|
|
8426
8426
|
/* Square */
|
|
8427
8427
|
--lumo-space-xs: 0.25rem;
|
|
@@ -8446,7 +8446,7 @@ const spacing$1 = i$1`
|
|
|
8446
8446
|
}
|
|
8447
8447
|
`;
|
|
8448
8448
|
|
|
8449
|
-
addLumoGlobalStyles
|
|
8449
|
+
addLumoGlobalStyles('spacing-props', spacing);
|
|
8450
8450
|
|
|
8451
8451
|
/**
|
|
8452
8452
|
* @license
|
|
@@ -8454,7 +8454,7 @@ addLumoGlobalStyles$1('spacing-props', spacing$1);
|
|
|
8454
8454
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8455
8455
|
*/
|
|
8456
8456
|
|
|
8457
|
-
const style
|
|
8457
|
+
const style = i$9`
|
|
8458
8458
|
:host {
|
|
8459
8459
|
/* Border radius */
|
|
8460
8460
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -8476,7 +8476,7 @@ const style$1 = i$1`
|
|
|
8476
8476
|
/**
|
|
8477
8477
|
* Default values for component-specific custom properties.
|
|
8478
8478
|
*/
|
|
8479
|
-
i$
|
|
8479
|
+
i$9`
|
|
8480
8480
|
html {
|
|
8481
8481
|
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
|
|
8482
8482
|
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
|
|
@@ -8484,7 +8484,7 @@ i$1`
|
|
|
8484
8484
|
}
|
|
8485
8485
|
`;
|
|
8486
8486
|
|
|
8487
|
-
addLumoGlobalStyles
|
|
8487
|
+
addLumoGlobalStyles('style-props', style);
|
|
8488
8488
|
|
|
8489
8489
|
/**
|
|
8490
8490
|
* @license
|
|
@@ -8492,7 +8492,7 @@ addLumoGlobalStyles$1('style-props', style$1);
|
|
|
8492
8492
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8493
8493
|
*/
|
|
8494
8494
|
|
|
8495
|
-
const colorBase
|
|
8495
|
+
const colorBase = i$9`
|
|
8496
8496
|
:host {
|
|
8497
8497
|
/* Base (background) */
|
|
8498
8498
|
--lumo-base-color: #fff;
|
|
@@ -8579,9 +8579,9 @@ const colorBase$1 = i$1`
|
|
|
8579
8579
|
}
|
|
8580
8580
|
`;
|
|
8581
8581
|
|
|
8582
|
-
addLumoGlobalStyles
|
|
8582
|
+
addLumoGlobalStyles('color-props', colorBase);
|
|
8583
8583
|
|
|
8584
|
-
const color
|
|
8584
|
+
const color = i$9`
|
|
8585
8585
|
[theme~='dark'] {
|
|
8586
8586
|
/* Base (background) */
|
|
8587
8587
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -8698,7 +8698,7 @@ const color$1 = i$1`
|
|
|
8698
8698
|
}
|
|
8699
8699
|
`;
|
|
8700
8700
|
|
|
8701
|
-
registerStyles('', color
|
|
8701
|
+
registerStyles('', color, { moduleId: 'lumo-color' });
|
|
8702
8702
|
|
|
8703
8703
|
/**
|
|
8704
8704
|
* @license
|
|
@@ -8706,7 +8706,7 @@ registerStyles('', color$1, { moduleId: 'lumo-color' });
|
|
|
8706
8706
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8707
8707
|
*/
|
|
8708
8708
|
|
|
8709
|
-
const font
|
|
8709
|
+
const font = i$9`
|
|
8710
8710
|
:host {
|
|
8711
8711
|
/* prettier-ignore */
|
|
8712
8712
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -8728,7 +8728,7 @@ const font$1 = i$1`
|
|
|
8728
8728
|
}
|
|
8729
8729
|
`;
|
|
8730
8730
|
|
|
8731
|
-
const typography
|
|
8731
|
+
const typography = i$9`
|
|
8732
8732
|
body,
|
|
8733
8733
|
:host {
|
|
8734
8734
|
font-family: var(--lumo-font-family);
|
|
@@ -8822,8 +8822,8 @@ const typography$1 = i$1`
|
|
|
8822
8822
|
}
|
|
8823
8823
|
`;
|
|
8824
8824
|
|
|
8825
|
-
registerStyles('', typography
|
|
8826
|
-
addLumoGlobalStyles
|
|
8825
|
+
registerStyles('', typography, { moduleId: 'lumo-typography' });
|
|
8826
|
+
addLumoGlobalStyles('typography-props', font);
|
|
8827
8827
|
|
|
8828
8828
|
/**
|
|
8829
8829
|
* @license
|
|
@@ -8831,7 +8831,7 @@ addLumoGlobalStyles$1('typography-props', font$1);
|
|
|
8831
8831
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8832
8832
|
*/
|
|
8833
8833
|
|
|
8834
|
-
const overlay = i$
|
|
8834
|
+
const overlay = i$9`
|
|
8835
8835
|
:host {
|
|
8836
8836
|
top: var(--lumo-space-m);
|
|
8837
8837
|
right: var(--lumo-space-m);
|
|
@@ -8904,7 +8904,7 @@ registerStyles('', overlay, { moduleId: 'lumo-overlay' });
|
|
|
8904
8904
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8905
8905
|
*/
|
|
8906
8906
|
|
|
8907
|
-
const menuOverlayCore = i$
|
|
8907
|
+
const menuOverlayCore = i$9`
|
|
8908
8908
|
:host([opening]),
|
|
8909
8909
|
:host([closing]) {
|
|
8910
8910
|
animation: 0.14s lumo-overlay-dummy-animation;
|
|
@@ -8938,7 +8938,7 @@ const menuOverlayCore = i$1`
|
|
|
8938
8938
|
|
|
8939
8939
|
registerStyles('', menuOverlayCore, { moduleId: 'lumo-menu-overlay-core' });
|
|
8940
8940
|
|
|
8941
|
-
const menuOverlayExt = i$
|
|
8941
|
+
const menuOverlayExt = i$9`
|
|
8942
8942
|
/* Small viewport (bottom sheet) styles */
|
|
8943
8943
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
8944
8944
|
@media (max-width: 420px), (max-height: 420px) {
|
|
@@ -8962,568 +8962,105 @@ const menuOverlayExt = i$1`
|
|
|
8962
8962
|
[part='content'] {
|
|
8963
8963
|
padding: 30px var(--lumo-space-m);
|
|
8964
8964
|
max-height: inherit;
|
|
8965
|
-
box-sizing: border-box;
|
|
8966
|
-
-webkit-overflow-scrolling: touch;
|
|
8967
|
-
overflow: auto;
|
|
8968
|
-
-webkit-mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);
|
|
8969
|
-
mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);
|
|
8970
|
-
}
|
|
8971
|
-
|
|
8972
|
-
[part='backdrop'] {
|
|
8973
|
-
display: block;
|
|
8974
|
-
}
|
|
8975
|
-
|
|
8976
|
-
/* Animations */
|
|
8977
|
-
|
|
8978
|
-
:host([opening]) [part='overlay'] {
|
|
8979
|
-
animation: 0.2s lumo-mobile-menu-overlay-enter cubic-bezier(0.215, 0.61, 0.355, 1) both;
|
|
8980
|
-
}
|
|
8981
|
-
|
|
8982
|
-
:host([closing]),
|
|
8983
|
-
:host([closing]) [part='backdrop'] {
|
|
8984
|
-
animation-delay: 0.14s;
|
|
8985
|
-
}
|
|
8986
|
-
|
|
8987
|
-
:host([closing]) [part='overlay'] {
|
|
8988
|
-
animation: 0.14s 0.14s lumo-mobile-menu-overlay-exit cubic-bezier(0.55, 0.055, 0.675, 0.19) both;
|
|
8989
|
-
}
|
|
8990
|
-
}
|
|
8991
|
-
|
|
8992
|
-
@keyframes lumo-mobile-menu-overlay-enter {
|
|
8993
|
-
0% {
|
|
8994
|
-
transform: translateY(150%);
|
|
8995
|
-
}
|
|
8996
|
-
}
|
|
8997
|
-
|
|
8998
|
-
@keyframes lumo-mobile-menu-overlay-exit {
|
|
8999
|
-
100% {
|
|
9000
|
-
transform: translateY(150%);
|
|
9001
|
-
}
|
|
9002
|
-
}
|
|
9003
|
-
`;
|
|
9004
|
-
|
|
9005
|
-
const menuOverlay = [overlay, menuOverlayCore, menuOverlayExt];
|
|
9006
|
-
|
|
9007
|
-
registerStyles('', menuOverlay, { moduleId: 'lumo-menu-overlay' });
|
|
9008
|
-
|
|
9009
|
-
const datePickerOverlay = i$1`
|
|
9010
|
-
[part='overlay'] {
|
|
9011
|
-
/*
|
|
9012
|
-
Width:
|
|
9013
|
-
date cell widths
|
|
9014
|
-
+ month calendar side padding
|
|
9015
|
-
+ year scroller width
|
|
9016
|
-
*/
|
|
9017
|
-
/* prettier-ignore */
|
|
9018
|
-
width:
|
|
9019
|
-
calc(
|
|
9020
|
-
var(--lumo-size-m) * 7
|
|
9021
|
-
+ var(--lumo-space-xs) * 2
|
|
9022
|
-
+ 57px
|
|
9023
|
-
);
|
|
9024
|
-
height: 100%;
|
|
9025
|
-
max-height: calc(var(--lumo-size-m) * 14);
|
|
9026
|
-
overflow: hidden;
|
|
9027
|
-
-webkit-tap-highlight-color: transparent;
|
|
9028
|
-
}
|
|
9029
|
-
|
|
9030
|
-
[part='overlay'] {
|
|
9031
|
-
flex-direction: column;
|
|
9032
|
-
}
|
|
9033
|
-
|
|
9034
|
-
[part='content'] {
|
|
9035
|
-
padding: 0;
|
|
9036
|
-
height: 100%;
|
|
9037
|
-
overflow: hidden;
|
|
9038
|
-
-webkit-mask-image: none;
|
|
9039
|
-
mask-image: none;
|
|
9040
|
-
}
|
|
9041
|
-
|
|
9042
|
-
:host([top-aligned]) [part~='overlay'] {
|
|
9043
|
-
margin-top: var(--lumo-space-xs);
|
|
9044
|
-
}
|
|
9045
|
-
|
|
9046
|
-
:host([bottom-aligned]) [part~='overlay'] {
|
|
9047
|
-
margin-bottom: var(--lumo-space-xs);
|
|
9048
|
-
}
|
|
9049
|
-
|
|
9050
|
-
@media (max-width: 420px), (max-height: 420px) {
|
|
9051
|
-
[part='overlay'] {
|
|
9052
|
-
width: 100vw;
|
|
9053
|
-
height: 70vh;
|
|
9054
|
-
max-height: 70vh;
|
|
9055
|
-
}
|
|
9056
|
-
}
|
|
9057
|
-
`;
|
|
9058
|
-
|
|
9059
|
-
registerStyles('vaadin-date-picker-overlay', [menuOverlay, datePickerOverlay], {
|
|
9060
|
-
moduleId: 'lumo-date-picker-overlay',
|
|
9061
|
-
});
|
|
9062
|
-
|
|
9063
|
-
/**
|
|
9064
|
-
* @license
|
|
9065
|
-
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
9066
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9067
|
-
*/
|
|
9068
|
-
|
|
9069
|
-
/**
|
|
9070
|
-
* Dummy custom element used for collecting
|
|
9071
|
-
* development time usage statistics.
|
|
9072
|
-
*
|
|
9073
|
-
* @private
|
|
9074
|
-
*/
|
|
9075
|
-
class Lumo extends HTMLElement {
|
|
9076
|
-
static get is() {
|
|
9077
|
-
return 'vaadin-lumo-styles';
|
|
9078
|
-
}
|
|
9079
|
-
|
|
9080
|
-
static get version() {
|
|
9081
|
-
return '24.2.9';
|
|
9082
|
-
}
|
|
9083
|
-
}
|
|
9084
|
-
|
|
9085
|
-
defineCustomElement(Lumo);
|
|
9086
|
-
|
|
9087
|
-
const addLumoGlobalStyles = (id, ...styles) => {
|
|
9088
|
-
addGlobalThemeStyles(`lumo-${id}`, styles);
|
|
9089
|
-
};
|
|
9090
|
-
|
|
9091
|
-
/**
|
|
9092
|
-
* @license
|
|
9093
|
-
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
9094
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9095
|
-
*/
|
|
9096
|
-
|
|
9097
|
-
const colorBase = i$1`
|
|
9098
|
-
:host {
|
|
9099
|
-
/* Base (background) */
|
|
9100
|
-
--lumo-base-color: #fff;
|
|
9101
|
-
|
|
9102
|
-
/* Tint */
|
|
9103
|
-
--lumo-tint-5pct: hsla(0, 0%, 100%, 0.3);
|
|
9104
|
-
--lumo-tint-10pct: hsla(0, 0%, 100%, 0.37);
|
|
9105
|
-
--lumo-tint-20pct: hsla(0, 0%, 100%, 0.44);
|
|
9106
|
-
--lumo-tint-30pct: hsla(0, 0%, 100%, 0.5);
|
|
9107
|
-
--lumo-tint-40pct: hsla(0, 0%, 100%, 0.57);
|
|
9108
|
-
--lumo-tint-50pct: hsla(0, 0%, 100%, 0.64);
|
|
9109
|
-
--lumo-tint-60pct: hsla(0, 0%, 100%, 0.7);
|
|
9110
|
-
--lumo-tint-70pct: hsla(0, 0%, 100%, 0.77);
|
|
9111
|
-
--lumo-tint-80pct: hsla(0, 0%, 100%, 0.84);
|
|
9112
|
-
--lumo-tint-90pct: hsla(0, 0%, 100%, 0.9);
|
|
9113
|
-
--lumo-tint: #fff;
|
|
9114
|
-
|
|
9115
|
-
/* Shade */
|
|
9116
|
-
--lumo-shade-5pct: hsla(214, 61%, 25%, 0.05);
|
|
9117
|
-
--lumo-shade-10pct: hsla(214, 57%, 24%, 0.1);
|
|
9118
|
-
--lumo-shade-20pct: hsla(214, 53%, 23%, 0.16);
|
|
9119
|
-
--lumo-shade-30pct: hsla(214, 50%, 22%, 0.26);
|
|
9120
|
-
--lumo-shade-40pct: hsla(214, 47%, 21%, 0.38);
|
|
9121
|
-
--lumo-shade-50pct: hsla(214, 45%, 20%, 0.52);
|
|
9122
|
-
--lumo-shade-60pct: hsla(214, 43%, 19%, 0.6);
|
|
9123
|
-
--lumo-shade-70pct: hsla(214, 42%, 18%, 0.69);
|
|
9124
|
-
--lumo-shade-80pct: hsla(214, 41%, 17%, 0.83);
|
|
9125
|
-
--lumo-shade-90pct: hsla(214, 40%, 16%, 0.94);
|
|
9126
|
-
--lumo-shade: hsl(214, 35%, 15%);
|
|
9127
|
-
|
|
9128
|
-
/* Contrast */
|
|
9129
|
-
--lumo-contrast-5pct: var(--lumo-shade-5pct);
|
|
9130
|
-
--lumo-contrast-10pct: var(--lumo-shade-10pct);
|
|
9131
|
-
--lumo-contrast-20pct: var(--lumo-shade-20pct);
|
|
9132
|
-
--lumo-contrast-30pct: var(--lumo-shade-30pct);
|
|
9133
|
-
--lumo-contrast-40pct: var(--lumo-shade-40pct);
|
|
9134
|
-
--lumo-contrast-50pct: var(--lumo-shade-50pct);
|
|
9135
|
-
--lumo-contrast-60pct: var(--lumo-shade-60pct);
|
|
9136
|
-
--lumo-contrast-70pct: var(--lumo-shade-70pct);
|
|
9137
|
-
--lumo-contrast-80pct: var(--lumo-shade-80pct);
|
|
9138
|
-
--lumo-contrast-90pct: var(--lumo-shade-90pct);
|
|
9139
|
-
--lumo-contrast: var(--lumo-shade);
|
|
9140
|
-
|
|
9141
|
-
/* Text */
|
|
9142
|
-
--lumo-header-text-color: var(--lumo-contrast);
|
|
9143
|
-
--lumo-body-text-color: var(--lumo-contrast-90pct);
|
|
9144
|
-
--lumo-secondary-text-color: var(--lumo-contrast-70pct);
|
|
9145
|
-
--lumo-tertiary-text-color: var(--lumo-contrast-50pct);
|
|
9146
|
-
--lumo-disabled-text-color: var(--lumo-contrast-30pct);
|
|
9147
|
-
|
|
9148
|
-
/* Primary */
|
|
9149
|
-
--lumo-primary-color: hsl(214, 100%, 48%);
|
|
9150
|
-
--lumo-primary-color-50pct: hsla(214, 100%, 49%, 0.76);
|
|
9151
|
-
--lumo-primary-color-10pct: hsla(214, 100%, 60%, 0.13);
|
|
9152
|
-
--lumo-primary-text-color: hsl(214, 100%, 43%);
|
|
9153
|
-
--lumo-primary-contrast-color: #fff;
|
|
9154
|
-
|
|
9155
|
-
/* Error */
|
|
9156
|
-
--lumo-error-color: hsl(3, 85%, 48%);
|
|
9157
|
-
--lumo-error-color-50pct: hsla(3, 85%, 49%, 0.5);
|
|
9158
|
-
--lumo-error-color-10pct: hsla(3, 85%, 49%, 0.1);
|
|
9159
|
-
--lumo-error-text-color: hsl(3, 89%, 42%);
|
|
9160
|
-
--lumo-error-contrast-color: #fff;
|
|
9161
|
-
|
|
9162
|
-
/* Success */
|
|
9163
|
-
--lumo-success-color: hsl(145, 72%, 30%);
|
|
9164
|
-
--lumo-success-color-50pct: hsla(145, 72%, 31%, 0.5);
|
|
9165
|
-
--lumo-success-color-10pct: hsla(145, 72%, 31%, 0.1);
|
|
9166
|
-
--lumo-success-text-color: hsl(145, 85%, 25%);
|
|
9167
|
-
--lumo-success-contrast-color: #fff;
|
|
9168
|
-
|
|
9169
|
-
/* Warning */
|
|
9170
|
-
--lumo-warning-color: hsl(48, 100%, 50%);
|
|
9171
|
-
--lumo-warning-color-10pct: hsla(48, 100%, 50%, 0.25);
|
|
9172
|
-
--lumo-warning-text-color: hsl(32, 100%, 30%);
|
|
9173
|
-
--lumo-warning-contrast-color: var(--lumo-shade-90pct);
|
|
9174
|
-
}
|
|
9175
|
-
|
|
9176
|
-
/* forced-colors mode adjustments */
|
|
9177
|
-
@media (forced-colors: active) {
|
|
9178
|
-
html {
|
|
9179
|
-
--lumo-disabled-text-color: GrayText;
|
|
9180
|
-
}
|
|
9181
|
-
}
|
|
9182
|
-
`;
|
|
9183
|
-
|
|
9184
|
-
addLumoGlobalStyles('color-props', colorBase);
|
|
9185
|
-
|
|
9186
|
-
const color = i$1`
|
|
9187
|
-
[theme~='dark'] {
|
|
9188
|
-
/* Base (background) */
|
|
9189
|
-
--lumo-base-color: hsl(214, 35%, 21%);
|
|
9190
|
-
|
|
9191
|
-
/* Tint */
|
|
9192
|
-
--lumo-tint-5pct: hsla(214, 65%, 85%, 0.06);
|
|
9193
|
-
--lumo-tint-10pct: hsla(214, 60%, 80%, 0.14);
|
|
9194
|
-
--lumo-tint-20pct: hsla(214, 64%, 82%, 0.23);
|
|
9195
|
-
--lumo-tint-30pct: hsla(214, 69%, 84%, 0.32);
|
|
9196
|
-
--lumo-tint-40pct: hsla(214, 73%, 86%, 0.41);
|
|
9197
|
-
--lumo-tint-50pct: hsla(214, 78%, 88%, 0.5);
|
|
9198
|
-
--lumo-tint-60pct: hsla(214, 82%, 90%, 0.58);
|
|
9199
|
-
--lumo-tint-70pct: hsla(214, 87%, 92%, 0.69);
|
|
9200
|
-
--lumo-tint-80pct: hsla(214, 91%, 94%, 0.8);
|
|
9201
|
-
--lumo-tint-90pct: hsla(214, 96%, 96%, 0.9);
|
|
9202
|
-
--lumo-tint: hsl(214, 100%, 98%);
|
|
9203
|
-
|
|
9204
|
-
/* Shade */
|
|
9205
|
-
--lumo-shade-5pct: hsla(214, 0%, 0%, 0.07);
|
|
9206
|
-
--lumo-shade-10pct: hsla(214, 4%, 2%, 0.15);
|
|
9207
|
-
--lumo-shade-20pct: hsla(214, 8%, 4%, 0.23);
|
|
9208
|
-
--lumo-shade-30pct: hsla(214, 12%, 6%, 0.32);
|
|
9209
|
-
--lumo-shade-40pct: hsla(214, 16%, 8%, 0.41);
|
|
9210
|
-
--lumo-shade-50pct: hsla(214, 20%, 10%, 0.5);
|
|
9211
|
-
--lumo-shade-60pct: hsla(214, 24%, 12%, 0.6);
|
|
9212
|
-
--lumo-shade-70pct: hsla(214, 28%, 13%, 0.7);
|
|
9213
|
-
--lumo-shade-80pct: hsla(214, 32%, 13%, 0.8);
|
|
9214
|
-
--lumo-shade-90pct: hsla(214, 33%, 13%, 0.9);
|
|
9215
|
-
--lumo-shade: hsl(214, 33%, 13%);
|
|
9216
|
-
|
|
9217
|
-
/* Contrast */
|
|
9218
|
-
--lumo-contrast-5pct: var(--lumo-tint-5pct);
|
|
9219
|
-
--lumo-contrast-10pct: var(--lumo-tint-10pct);
|
|
9220
|
-
--lumo-contrast-20pct: var(--lumo-tint-20pct);
|
|
9221
|
-
--lumo-contrast-30pct: var(--lumo-tint-30pct);
|
|
9222
|
-
--lumo-contrast-40pct: var(--lumo-tint-40pct);
|
|
9223
|
-
--lumo-contrast-50pct: var(--lumo-tint-50pct);
|
|
9224
|
-
--lumo-contrast-60pct: var(--lumo-tint-60pct);
|
|
9225
|
-
--lumo-contrast-70pct: var(--lumo-tint-70pct);
|
|
9226
|
-
--lumo-contrast-80pct: var(--lumo-tint-80pct);
|
|
9227
|
-
--lumo-contrast-90pct: var(--lumo-tint-90pct);
|
|
9228
|
-
--lumo-contrast: var(--lumo-tint);
|
|
9229
|
-
|
|
9230
|
-
/* Text */
|
|
9231
|
-
--lumo-header-text-color: var(--lumo-contrast);
|
|
9232
|
-
--lumo-body-text-color: var(--lumo-contrast-90pct);
|
|
9233
|
-
--lumo-secondary-text-color: var(--lumo-contrast-70pct);
|
|
9234
|
-
--lumo-tertiary-text-color: var(--lumo-contrast-50pct);
|
|
9235
|
-
--lumo-disabled-text-color: var(--lumo-contrast-30pct);
|
|
9236
|
-
|
|
9237
|
-
/* Primary */
|
|
9238
|
-
--lumo-primary-color: hsl(214, 90%, 48%);
|
|
9239
|
-
--lumo-primary-color-50pct: hsla(214, 90%, 70%, 0.69);
|
|
9240
|
-
--lumo-primary-color-10pct: hsla(214, 90%, 55%, 0.13);
|
|
9241
|
-
--lumo-primary-text-color: hsl(214, 90%, 77%);
|
|
9242
|
-
--lumo-primary-contrast-color: #fff;
|
|
9243
|
-
|
|
9244
|
-
/* Error */
|
|
9245
|
-
--lumo-error-color: hsl(3, 79%, 49%);
|
|
9246
|
-
--lumo-error-color-50pct: hsla(3, 75%, 62%, 0.5);
|
|
9247
|
-
--lumo-error-color-10pct: hsla(3, 75%, 62%, 0.14);
|
|
9248
|
-
--lumo-error-text-color: hsl(3, 100%, 80%);
|
|
9249
|
-
|
|
9250
|
-
/* Success */
|
|
9251
|
-
--lumo-success-color: hsl(145, 72%, 30%);
|
|
9252
|
-
--lumo-success-color-50pct: hsla(145, 92%, 51%, 0.5);
|
|
9253
|
-
--lumo-success-color-10pct: hsla(145, 92%, 51%, 0.1);
|
|
9254
|
-
--lumo-success-text-color: hsl(145, 85%, 46%);
|
|
9255
|
-
|
|
9256
|
-
/* Warning */
|
|
9257
|
-
--lumo-warning-color: hsl(43, 100%, 48%);
|
|
9258
|
-
--lumo-warning-color-10pct: hsla(40, 100%, 50%, 0.2);
|
|
9259
|
-
--lumo-warning-text-color: hsl(45, 100%, 60%);
|
|
9260
|
-
--lumo-warning-contrast-color: var(--lumo-shade-90pct);
|
|
9261
|
-
}
|
|
9262
|
-
|
|
9263
|
-
html {
|
|
9264
|
-
color: var(--lumo-body-text-color);
|
|
9265
|
-
background-color: var(--lumo-base-color);
|
|
9266
|
-
color-scheme: light;
|
|
9267
|
-
}
|
|
9268
|
-
|
|
9269
|
-
[theme~='dark'] {
|
|
9270
|
-
color: var(--lumo-body-text-color);
|
|
9271
|
-
background-color: var(--lumo-base-color);
|
|
9272
|
-
color-scheme: dark;
|
|
9273
|
-
}
|
|
9274
|
-
|
|
9275
|
-
h1,
|
|
9276
|
-
h2,
|
|
9277
|
-
h3,
|
|
9278
|
-
h4,
|
|
9279
|
-
h5,
|
|
9280
|
-
h6 {
|
|
9281
|
-
color: var(--lumo-header-text-color);
|
|
9282
|
-
}
|
|
9283
|
-
|
|
9284
|
-
a:where(:any-link) {
|
|
9285
|
-
color: var(--lumo-primary-text-color);
|
|
9286
|
-
}
|
|
9287
|
-
|
|
9288
|
-
a:not(:any-link) {
|
|
9289
|
-
color: var(--lumo-disabled-text-color);
|
|
9290
|
-
}
|
|
9291
|
-
|
|
9292
|
-
blockquote {
|
|
9293
|
-
color: var(--lumo-secondary-text-color);
|
|
9294
|
-
}
|
|
9295
|
-
|
|
9296
|
-
code,
|
|
9297
|
-
pre {
|
|
9298
|
-
background-color: var(--lumo-contrast-10pct);
|
|
9299
|
-
border-radius: var(--lumo-border-radius-m);
|
|
9300
|
-
}
|
|
9301
|
-
`;
|
|
9302
|
-
|
|
9303
|
-
registerStyles('', color, { moduleId: 'lumo-color' });
|
|
9304
|
-
|
|
9305
|
-
/**
|
|
9306
|
-
* @license
|
|
9307
|
-
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
9308
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9309
|
-
*/
|
|
9310
|
-
|
|
9311
|
-
const sizing = i$1`
|
|
9312
|
-
:host {
|
|
9313
|
-
--lumo-size-xs: 1.625rem;
|
|
9314
|
-
--lumo-size-s: 1.875rem;
|
|
9315
|
-
--lumo-size-m: 2.25rem;
|
|
9316
|
-
--lumo-size-l: 2.75rem;
|
|
9317
|
-
--lumo-size-xl: 3.5rem;
|
|
9318
|
-
|
|
9319
|
-
/* Icons */
|
|
9320
|
-
--lumo-icon-size-s: 1.25em;
|
|
9321
|
-
--lumo-icon-size-m: 1.5em;
|
|
9322
|
-
--lumo-icon-size-l: 2.25em;
|
|
9323
|
-
/* For backwards compatibility */
|
|
9324
|
-
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
9325
|
-
}
|
|
9326
|
-
`;
|
|
9327
|
-
|
|
9328
|
-
addLumoGlobalStyles('sizing-props', sizing);
|
|
9329
|
-
|
|
9330
|
-
/**
|
|
9331
|
-
* @license
|
|
9332
|
-
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
9333
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9334
|
-
*/
|
|
9335
|
-
|
|
9336
|
-
const spacing = i$1`
|
|
9337
|
-
:host {
|
|
9338
|
-
/* Square */
|
|
9339
|
-
--lumo-space-xs: 0.25rem;
|
|
9340
|
-
--lumo-space-s: 0.5rem;
|
|
9341
|
-
--lumo-space-m: 1rem;
|
|
9342
|
-
--lumo-space-l: 1.5rem;
|
|
9343
|
-
--lumo-space-xl: 2.5rem;
|
|
9344
|
-
|
|
9345
|
-
/* Wide */
|
|
9346
|
-
--lumo-space-wide-xs: calc(var(--lumo-space-xs) / 2) var(--lumo-space-xs);
|
|
9347
|
-
--lumo-space-wide-s: calc(var(--lumo-space-s) / 2) var(--lumo-space-s);
|
|
9348
|
-
--lumo-space-wide-m: calc(var(--lumo-space-m) / 2) var(--lumo-space-m);
|
|
9349
|
-
--lumo-space-wide-l: calc(var(--lumo-space-l) / 2) var(--lumo-space-l);
|
|
9350
|
-
--lumo-space-wide-xl: calc(var(--lumo-space-xl) / 2) var(--lumo-space-xl);
|
|
9351
|
-
|
|
9352
|
-
/* Tall */
|
|
9353
|
-
--lumo-space-tall-xs: var(--lumo-space-xs) calc(var(--lumo-space-xs) / 2);
|
|
9354
|
-
--lumo-space-tall-s: var(--lumo-space-s) calc(var(--lumo-space-s) / 2);
|
|
9355
|
-
--lumo-space-tall-m: var(--lumo-space-m) calc(var(--lumo-space-m) / 2);
|
|
9356
|
-
--lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);
|
|
9357
|
-
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
9358
|
-
}
|
|
9359
|
-
`;
|
|
9360
|
-
|
|
9361
|
-
addLumoGlobalStyles('spacing-props', spacing);
|
|
9362
|
-
|
|
9363
|
-
/**
|
|
9364
|
-
* @license
|
|
9365
|
-
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
9366
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9367
|
-
*/
|
|
9368
|
-
|
|
9369
|
-
const style = i$1`
|
|
9370
|
-
:host {
|
|
9371
|
-
/* Border radius */
|
|
9372
|
-
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
9373
|
-
--lumo-border-radius-m: var(--lumo-border-radius, 0.25em); /* Button, text field, menu overlay, etc */
|
|
9374
|
-
--lumo-border-radius-l: 0.5em; /* Dialog, notification, etc */
|
|
9375
|
-
|
|
9376
|
-
/* Shadow */
|
|
9377
|
-
--lumo-box-shadow-xs: 0 1px 4px -1px var(--lumo-shade-50pct);
|
|
9378
|
-
--lumo-box-shadow-s: 0 2px 4px -1px var(--lumo-shade-20pct), 0 3px 12px -1px var(--lumo-shade-30pct);
|
|
9379
|
-
--lumo-box-shadow-m: 0 2px 6px -1px var(--lumo-shade-20pct), 0 8px 24px -4px var(--lumo-shade-40pct);
|
|
9380
|
-
--lumo-box-shadow-l: 0 3px 18px -2px var(--lumo-shade-20pct), 0 12px 48px -6px var(--lumo-shade-40pct);
|
|
9381
|
-
--lumo-box-shadow-xl: 0 4px 24px -3px var(--lumo-shade-20pct), 0 18px 64px -8px var(--lumo-shade-40pct);
|
|
9382
|
-
|
|
9383
|
-
/* Clickable element cursor */
|
|
9384
|
-
--lumo-clickable-cursor: default;
|
|
9385
|
-
}
|
|
9386
|
-
`;
|
|
9387
|
-
|
|
9388
|
-
/**
|
|
9389
|
-
* Default values for component-specific custom properties.
|
|
9390
|
-
*/
|
|
9391
|
-
i$1`
|
|
9392
|
-
html {
|
|
9393
|
-
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
|
|
9394
|
-
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
|
|
9395
|
-
--vaadin-input-field-border-radius: var(--lumo-border-radius-m);
|
|
9396
|
-
}
|
|
9397
|
-
`;
|
|
9398
|
-
|
|
9399
|
-
addLumoGlobalStyles('style-props', style);
|
|
9400
|
-
|
|
9401
|
-
/**
|
|
9402
|
-
* @license
|
|
9403
|
-
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
9404
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9405
|
-
*/
|
|
9406
|
-
|
|
9407
|
-
const font = i$1`
|
|
9408
|
-
:host {
|
|
9409
|
-
/* prettier-ignore */
|
|
9410
|
-
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
9411
|
-
|
|
9412
|
-
/* Font sizes */
|
|
9413
|
-
--lumo-font-size-xxs: 0.75rem;
|
|
9414
|
-
--lumo-font-size-xs: 0.8125rem;
|
|
9415
|
-
--lumo-font-size-s: 0.875rem;
|
|
9416
|
-
--lumo-font-size-m: 1rem;
|
|
9417
|
-
--lumo-font-size-l: 1.125rem;
|
|
9418
|
-
--lumo-font-size-xl: 1.375rem;
|
|
9419
|
-
--lumo-font-size-xxl: 1.75rem;
|
|
9420
|
-
--lumo-font-size-xxxl: 2.5rem;
|
|
9421
|
-
|
|
9422
|
-
/* Line heights */
|
|
9423
|
-
--lumo-line-height-xs: 1.25;
|
|
9424
|
-
--lumo-line-height-s: 1.375;
|
|
9425
|
-
--lumo-line-height-m: 1.625;
|
|
9426
|
-
}
|
|
9427
|
-
`;
|
|
9428
|
-
|
|
9429
|
-
const typography = i$1`
|
|
9430
|
-
body,
|
|
9431
|
-
:host {
|
|
9432
|
-
font-family: var(--lumo-font-family);
|
|
9433
|
-
font-size: var(--lumo-font-size-m);
|
|
9434
|
-
line-height: var(--lumo-line-height-m);
|
|
9435
|
-
-webkit-text-size-adjust: 100%;
|
|
9436
|
-
-webkit-font-smoothing: antialiased;
|
|
9437
|
-
-moz-osx-font-smoothing: grayscale;
|
|
9438
|
-
}
|
|
9439
|
-
|
|
9440
|
-
small,
|
|
9441
|
-
[theme~='font-size-s'] {
|
|
9442
|
-
font-size: var(--lumo-font-size-s);
|
|
9443
|
-
line-height: var(--lumo-line-height-s);
|
|
9444
|
-
}
|
|
8965
|
+
box-sizing: border-box;
|
|
8966
|
+
-webkit-overflow-scrolling: touch;
|
|
8967
|
+
overflow: auto;
|
|
8968
|
+
-webkit-mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);
|
|
8969
|
+
mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);
|
|
8970
|
+
}
|
|
9445
8971
|
|
|
9446
|
-
|
|
9447
|
-
|
|
9448
|
-
|
|
9449
|
-
}
|
|
8972
|
+
[part='backdrop'] {
|
|
8973
|
+
display: block;
|
|
8974
|
+
}
|
|
9450
8975
|
|
|
9451
|
-
|
|
9452
|
-
font-weight: 600;
|
|
9453
|
-
line-height: var(--lumo-line-height-xs);
|
|
9454
|
-
margin-block: 0;
|
|
9455
|
-
}
|
|
8976
|
+
/* Animations */
|
|
9456
8977
|
|
|
9457
|
-
|
|
9458
|
-
|
|
9459
|
-
|
|
8978
|
+
:host([opening]) [part='overlay'] {
|
|
8979
|
+
animation: 0.2s lumo-mobile-menu-overlay-enter cubic-bezier(0.215, 0.61, 0.355, 1) both;
|
|
8980
|
+
}
|
|
9460
8981
|
|
|
9461
|
-
|
|
9462
|
-
|
|
9463
|
-
|
|
8982
|
+
:host([closing]),
|
|
8983
|
+
:host([closing]) [part='backdrop'] {
|
|
8984
|
+
animation-delay: 0.14s;
|
|
8985
|
+
}
|
|
9464
8986
|
|
|
9465
|
-
|
|
9466
|
-
|
|
8987
|
+
:host([closing]) [part='overlay'] {
|
|
8988
|
+
animation: 0.14s 0.14s lumo-mobile-menu-overlay-exit cubic-bezier(0.55, 0.055, 0.675, 0.19) both;
|
|
8989
|
+
}
|
|
9467
8990
|
}
|
|
9468
8991
|
|
|
9469
|
-
|
|
9470
|
-
|
|
8992
|
+
@keyframes lumo-mobile-menu-overlay-enter {
|
|
8993
|
+
0% {
|
|
8994
|
+
transform: translateY(150%);
|
|
8995
|
+
}
|
|
9471
8996
|
}
|
|
9472
8997
|
|
|
9473
|
-
|
|
9474
|
-
|
|
8998
|
+
@keyframes lumo-mobile-menu-overlay-exit {
|
|
8999
|
+
100% {
|
|
9000
|
+
transform: translateY(150%);
|
|
9001
|
+
}
|
|
9475
9002
|
}
|
|
9003
|
+
`;
|
|
9476
9004
|
|
|
9477
|
-
|
|
9478
|
-
font-size: var(--lumo-font-size-xs);
|
|
9479
|
-
text-transform: uppercase;
|
|
9480
|
-
letter-spacing: 0.03em;
|
|
9481
|
-
}
|
|
9005
|
+
const menuOverlay = [overlay, menuOverlayCore, menuOverlayExt];
|
|
9482
9006
|
|
|
9483
|
-
|
|
9484
|
-
blockquote {
|
|
9485
|
-
margin-top: 0.5em;
|
|
9486
|
-
margin-bottom: 0.75em;
|
|
9487
|
-
}
|
|
9007
|
+
registerStyles('', menuOverlay, { moduleId: 'lumo-menu-overlay' });
|
|
9488
9008
|
|
|
9489
|
-
|
|
9490
|
-
|
|
9009
|
+
const datePickerOverlay = i$9`
|
|
9010
|
+
[part='overlay'] {
|
|
9011
|
+
/*
|
|
9012
|
+
Width:
|
|
9013
|
+
date cell widths
|
|
9014
|
+
+ month calendar side padding
|
|
9015
|
+
+ year scroller width
|
|
9016
|
+
*/
|
|
9017
|
+
/* prettier-ignore */
|
|
9018
|
+
width:
|
|
9019
|
+
calc(
|
|
9020
|
+
var(--lumo-size-m) * 7
|
|
9021
|
+
+ var(--lumo-space-xs) * 2
|
|
9022
|
+
+ 57px
|
|
9023
|
+
);
|
|
9024
|
+
height: 100%;
|
|
9025
|
+
max-height: calc(var(--lumo-size-m) * 14);
|
|
9026
|
+
overflow: hidden;
|
|
9027
|
+
-webkit-tap-highlight-color: transparent;
|
|
9491
9028
|
}
|
|
9492
9029
|
|
|
9493
|
-
|
|
9494
|
-
|
|
9030
|
+
[part='overlay'] {
|
|
9031
|
+
flex-direction: column;
|
|
9495
9032
|
}
|
|
9496
9033
|
|
|
9497
|
-
|
|
9498
|
-
display: block;
|
|
9499
|
-
align-self: stretch;
|
|
9500
|
-
height: 1px;
|
|
9501
|
-
border: 0;
|
|
9034
|
+
[part='content'] {
|
|
9502
9035
|
padding: 0;
|
|
9503
|
-
|
|
9504
|
-
|
|
9036
|
+
height: 100%;
|
|
9037
|
+
overflow: hidden;
|
|
9038
|
+
-webkit-mask-image: none;
|
|
9039
|
+
mask-image: none;
|
|
9505
9040
|
}
|
|
9506
9041
|
|
|
9507
|
-
|
|
9508
|
-
|
|
9042
|
+
:host([top-aligned]) [part~='overlay'] {
|
|
9043
|
+
margin-top: var(--lumo-space-xs);
|
|
9509
9044
|
}
|
|
9510
9045
|
|
|
9511
|
-
|
|
9512
|
-
|
|
9513
|
-
font-weight: 600;
|
|
9046
|
+
:host([bottom-aligned]) [part~='overlay'] {
|
|
9047
|
+
margin-bottom: var(--lumo-space-xs);
|
|
9514
9048
|
}
|
|
9515
9049
|
|
|
9516
|
-
|
|
9517
|
-
|
|
9518
|
-
|
|
9519
|
-
|
|
9050
|
+
@media (max-width: 420px), (max-height: 420px) {
|
|
9051
|
+
[part='overlay'] {
|
|
9052
|
+
width: 100vw;
|
|
9053
|
+
height: 70vh;
|
|
9054
|
+
max-height: 70vh;
|
|
9055
|
+
}
|
|
9520
9056
|
}
|
|
9521
9057
|
`;
|
|
9522
9058
|
|
|
9523
|
-
registerStyles('',
|
|
9524
|
-
|
|
9059
|
+
registerStyles('vaadin-date-picker-overlay', [menuOverlay, datePickerOverlay], {
|
|
9060
|
+
moduleId: 'lumo-date-picker-overlay',
|
|
9061
|
+
});
|
|
9525
9062
|
|
|
9526
|
-
const button = i$
|
|
9063
|
+
const button = i$9`
|
|
9527
9064
|
:host {
|
|
9528
9065
|
/* Sizing */
|
|
9529
9066
|
--lumo-button-size: var(--lumo-size-m);
|
|
@@ -11470,13 +11007,39 @@ class TooltipController extends SlotController {
|
|
|
11470
11007
|
}
|
|
11471
11008
|
}
|
|
11472
11009
|
|
|
11010
|
+
/**
|
|
11011
|
+
* @license
|
|
11012
|
+
* Copyright 2019 Google LLC
|
|
11013
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
11014
|
+
*/
|
|
11015
|
+
const t$5=window,e$8=t$5.ShadowRoot&&(void 0===t$5.ShadyCSS||t$5.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$9=Symbol(),n$a=new WeakMap;class o$a{constructor(t,e,n){if(this._$cssResult$=!0,n!==s$9)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$8&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=n$a.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&n$a.set(s,t));}return t}toString(){return this.cssText}}const r$9=t=>new o$a("string"==typeof t?t:t+"",void 0,s$9),i$7=(t,...e)=>{const n=1===t.length?t[0]:e.reduce(((e,s,n)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[n+1]),t[0]);return new o$a(n,t,s$9)},S$5=(s,n)=>{e$8?s.adoptedStyleSheets=n.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):n.forEach((e=>{const n=document.createElement("style"),o=t$5.litNonce;void 0!==o&&n.setAttribute("nonce",o),n.textContent=e.cssText,s.appendChild(n);}));},c$6=e$8?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$9(e)})(t):t;
|
|
11016
|
+
|
|
11017
|
+
/**
|
|
11018
|
+
* @license
|
|
11019
|
+
* Copyright 2017 Google LLC
|
|
11020
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
11021
|
+
*/var s$8;const e$7=window,r$8=e$7.trustedTypes,h$5=r$8?r$8.emptyScript:"",o$9=e$7.reactiveElementPolyfillSupport,n$9={toAttribute(t,i){switch(i){case Boolean:t=t?h$5:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,i){let s=t;switch(i){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t);}catch(t){s=null;}}return s}},a$5=(t,i)=>i!==t&&(i==i||t==t),l$7={attribute:!0,type:String,converter:n$9,reflect:!1,hasChanged:a$5},d$5="finalized";class u$5 extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu();}static addInitializer(t){var i;this.finalize(),(null!==(i=this.h)&&void 0!==i?i:this.h=[]).push(t);}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((i,s)=>{const e=this._$Ep(s,i);void 0!==e&&(this._$Ev.set(e,s),t.push(e));})),t}static createProperty(t,i=l$7){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(t,i),!i.noAccessor&&!this.prototype.hasOwnProperty(t)){const s="symbol"==typeof t?Symbol():"__"+t,e=this.getPropertyDescriptor(t,s,i);void 0!==e&&Object.defineProperty(this.prototype,t,e);}}static getPropertyDescriptor(t,i,s){return {get(){return this[i]},set(e){const r=this[t];this[i]=e,this.requestUpdate(t,r,s);},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||l$7}static finalize(){if(this.hasOwnProperty(d$5))return !1;this[d$5]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const s of i)this.createProperty(s,t[s]);}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(i){const s=[];if(Array.isArray(i)){const e=new Set(i.flat(1/0).reverse());for(const i of e)s.unshift(c$6(i));}else void 0!==i&&s.push(c$6(i));return s}static _$Ep(t,i){const s=i.attribute;return !1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)));}addController(t){var i,s;(null!==(i=this._$ES)&&void 0!==i?i:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(s=t.hostConnected)||void 0===s||s.call(t));}removeController(t){var i;null===(i=this._$ES)||void 0===i||i.splice(this._$ES.indexOf(t)>>>0,1);}_$Eg(){this.constructor.elementProperties.forEach(((t,i)=>{this.hasOwnProperty(i)&&(this._$Ei.set(i,this[i]),delete this[i]);}));}createRenderRoot(){var t;const s=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return S$5(s,this.constructor.elementStyles),s}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostConnected)||void 0===i?void 0:i.call(t)}));}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostDisconnected)||void 0===i?void 0:i.call(t)}));}attributeChangedCallback(t,i,s){this._$AK(t,s);}_$EO(t,i,s=l$7){var e;const r=this.constructor._$Ep(t,s);if(void 0!==r&&!0===s.reflect){const h=(void 0!==(null===(e=s.converter)||void 0===e?void 0:e.toAttribute)?s.converter:n$9).toAttribute(i,s.type);this._$El=t,null==h?this.removeAttribute(r):this.setAttribute(r,h),this._$El=null;}}_$AK(t,i){var s;const e=this.constructor,r=e._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=e.getPropertyOptions(r),h="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(s=t.converter)||void 0===s?void 0:s.fromAttribute)?t.converter:n$9;this._$El=r,this[r]=h.fromAttribute(i,t.type),this._$El=null;}}requestUpdate(t,i,s){let e=!0;void 0!==t&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||a$5)(this[t],i)?(this._$AL.has(t)||this._$AL.set(t,i),!0===s.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,s))):e=!1),!this.isUpdatePending&&e&&(this._$E_=this._$Ej());}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this._$Ei&&(this._$Ei.forEach(((t,i)=>this[i]=t)),this._$Ei=void 0);let i=!1;const s=this._$AL;try{i=this.shouldUpdate(s),i?(this.willUpdate(s),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostUpdate)||void 0===i?void 0:i.call(t)})),this.update(s)):this._$Ek();}catch(t){throw i=!1,this._$Ek(),t}i&&this._$AE(s);}willUpdate(t){}_$AE(t){var i;null===(i=this._$ES)||void 0===i||i.forEach((t=>{var i;return null===(i=t.hostUpdated)||void 0===i?void 0:i.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t);}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return !0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,i)=>this._$EO(i,this[i],t))),this._$EC=void 0),this._$Ek();}updated(t){}firstUpdated(t){}}u$5[d$5]=!0,u$5.elementProperties=new Map,u$5.elementStyles=[],u$5.shadowRootOptions={mode:"open"},null==o$9||o$9({ReactiveElement:u$5}),(null!==(s$8=e$7.reactiveElementVersions)&&void 0!==s$8?s$8:e$7.reactiveElementVersions=[]).push("1.6.3");
|
|
11022
|
+
|
|
11023
|
+
/**
|
|
11024
|
+
* @license
|
|
11025
|
+
* Copyright 2017 Google LLC
|
|
11026
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
11027
|
+
*/
|
|
11028
|
+
var t$4;const i$6=window,s$7=i$6.trustedTypes,e$6=s$7?s$7.createPolicy("lit-html",{createHTML:t=>t}):void 0,o$8="$lit$",n$8=`lit$${(Math.random()+"").slice(9)}$`,l$6="?"+n$8,h$4=`<${l$6}>`,r$7=document,u$4=()=>r$7.createComment(""),d$4=t=>null===t||"object"!=typeof t&&"function"!=typeof t,c$5=Array.isArray,v$2=t=>c$5(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),a$4="[ \t\n\f\r]",f$3=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_$2=/-->/g,m$2=/>/g,p$3=RegExp(`>|${a$4}(?:([^\\s"'>=/]+)(${a$4}*=${a$4}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),g$2=/'/g,$$2=/"/g,y$2=/^(?:script|style|textarea|title)$/i,T$2=Symbol.for("lit-noChange"),A$2=Symbol.for("lit-nothing"),E$2=new WeakMap,C$2=r$7.createTreeWalker(r$7,129,null,!1);function P$2(t,i){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==e$6?e$6.createHTML(i):i}const V$2=(t,i)=>{const s=t.length-1,e=[];let l,r=2===i?"<svg>":"",u=f$3;for(let i=0;i<s;i++){const s=t[i];let d,c,v=-1,a=0;for(;a<s.length&&(u.lastIndex=a,c=u.exec(s),null!==c);)a=u.lastIndex,u===f$3?"!--"===c[1]?u=_$2:void 0!==c[1]?u=m$2:void 0!==c[2]?(y$2.test(c[2])&&(l=RegExp("</"+c[2],"g")),u=p$3):void 0!==c[3]&&(u=p$3):u===p$3?">"===c[0]?(u=null!=l?l:f$3,v=-1):void 0===c[1]?v=-2:(v=u.lastIndex-c[2].length,d=c[1],u=void 0===c[3]?p$3:'"'===c[3]?$$2:g$2):u===$$2||u===g$2?u=p$3:u===_$2||u===m$2?u=f$3:(u=p$3,l=void 0);const w=u===p$3&&t[i+1].startsWith("/>")?" ":"";r+=u===f$3?s+h$4:v>=0?(e.push(d),s.slice(0,v)+o$8+s.slice(v)+n$8+w):s+n$8+(-2===v?(e.push(void 0),i):w);}return [P$2(t,r+(t[s]||"<?>")+(2===i?"</svg>":"")),e]};class N$2{constructor({strings:t,_$litType$:i},e){let h;this.parts=[];let r=0,d=0;const c=t.length-1,v=this.parts,[a,f]=V$2(t,i);if(this.el=N$2.createElement(a,e),C$2.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes);}for(;null!==(h=C$2.nextNode())&&v.length<c;){if(1===h.nodeType){if(h.hasAttributes()){const t=[];for(const i of h.getAttributeNames())if(i.endsWith(o$8)||i.startsWith(n$8)){const s=f[d++];if(t.push(i),void 0!==s){const t=h.getAttribute(s.toLowerCase()+o$8).split(n$8),i=/([.?@])?(.*)/.exec(s);v.push({type:1,index:r,name:i[2],strings:t,ctor:"."===i[1]?H$2:"?"===i[1]?L$2:"@"===i[1]?z$2:k$2});}else v.push({type:6,index:r});}for(const i of t)h.removeAttribute(i);}if(y$2.test(h.tagName)){const t=h.textContent.split(n$8),i=t.length-1;if(i>0){h.textContent=s$7?s$7.emptyScript:"";for(let s=0;s<i;s++)h.append(t[s],u$4()),C$2.nextNode(),v.push({type:2,index:++r});h.append(t[i],u$4());}}}else if(8===h.nodeType)if(h.data===l$6)v.push({type:2,index:r});else {let t=-1;for(;-1!==(t=h.data.indexOf(n$8,t+1));)v.push({type:7,index:r}),t+=n$8.length-1;}r++;}}static createElement(t,i){const s=r$7.createElement("template");return s.innerHTML=t,s}}function S$4(t,i,s=t,e){var o,n,l,h;if(i===T$2)return i;let r=void 0!==e?null===(o=s._$Co)||void 0===o?void 0:o[e]:s._$Cl;const u=d$4(i)?void 0:i._$litDirective$;return (null==r?void 0:r.constructor)!==u&&(null===(n=null==r?void 0:r._$AO)||void 0===n||n.call(r,!1),void 0===u?r=void 0:(r=new u(t),r._$AT(t,s,e)),void 0!==e?(null!==(l=(h=s)._$Co)&&void 0!==l?l:h._$Co=[])[e]=r:s._$Cl=r),void 0!==r&&(i=S$4(t,r._$AS(t,i.values),r,e)),i}class M$2{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:s},parts:e}=this._$AD,o=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:r$7).importNode(s,!0);C$2.currentNode=o;let n=C$2.nextNode(),l=0,h=0,u=e[0];for(;void 0!==u;){if(l===u.index){let i;2===u.type?i=new R$2(n,n.nextSibling,this,t):1===u.type?i=new u.ctor(n,u.name,u.strings,this,t):6===u.type&&(i=new Z$1(n,this,t)),this._$AV.push(i),u=e[++h];}l!==(null==u?void 0:u.index)&&(n=C$2.nextNode(),l++);}return C$2.currentNode=r$7,o}v(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R$2{constructor(t,i,s,e){var o;this.type=2,this._$AH=A$2,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cp=null===(o=null==e?void 0:e.isConnected)||void 0===o||o;}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$4(this,t,i),d$4(t)?t===A$2||null==t||""===t?(this._$AH!==A$2&&this._$AR(),this._$AH=A$2):t!==this._$AH&&t!==T$2&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):v$2(t)?this.T(t):this._(t);}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t));}_(t){this._$AH!==A$2&&d$4(this._$AH)?this._$AA.nextSibling.data=t:this.$(r$7.createTextNode(t)),this._$AH=t;}g(t){var i;const{values:s,_$litType$:e}=t,o="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=N$2.createElement(P$2(e.h,e.h[0]),this.options)),e);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===o)this._$AH.v(s);else {const t=new M$2(o,this),i=t.u(this.options);t.v(s),this.$(i),this._$AH=t;}}_$AC(t){let i=E$2.get(t.strings);return void 0===i&&E$2.set(t.strings,i=new N$2(t)),i}T(t){c$5(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const o of t)e===i.length?i.push(s=new R$2(this.k(u$4()),this.k(u$4()),this,this.options)):s=i[e],s._$AI(o),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){var s;for(null===(s=this._$AP)||void 0===s||s.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t));}}class k$2{constructor(t,i,s,e,o){this.type=1,this._$AH=A$2,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=o,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=A$2;}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,s,e){const o=this.strings;let n=!1;if(void 0===o)t=S$4(this,t,i,0),n=!d$4(t)||t!==this._$AH&&t!==T$2,n&&(this._$AH=t);else {const e=t;let l,h;for(t=o[0],l=0;l<o.length-1;l++)h=S$4(this,e[s+l],i,l),h===T$2&&(h=this._$AH[l]),n||(n=!d$4(h)||h!==this._$AH[l]),h===A$2?t=A$2:t!==A$2&&(t+=(null!=h?h:"")+o[l+1]),this._$AH[l]=h;}n&&!e&&this.j(t);}j(t){t===A$2?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"");}}class H$2 extends k$2{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===A$2?void 0:t;}}const I$2=s$7?s$7.emptyScript:"";class L$2 extends k$2{constructor(){super(...arguments),this.type=4;}j(t){t&&t!==A$2?this.element.setAttribute(this.name,I$2):this.element.removeAttribute(this.name);}}class z$2 extends k$2{constructor(t,i,s,e,o){super(t,i,s,e,o),this.type=5;}_$AI(t,i=this){var s;if((t=null!==(s=S$4(this,t,i,0))&&void 0!==s?s:A$2)===T$2)return;const e=this._$AH,o=t===A$2&&e!==A$2||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==A$2&&(e===A$2||o);o&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){var i,s;"function"==typeof this._$AH?this._$AH.call(null!==(s=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==s?s:this.element,t):this._$AH.handleEvent(t);}}class Z$1{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$4(this,t);}}const B$2=i$6.litHtmlPolyfillSupport;null==B$2||B$2(N$2,R$2),(null!==(t$4=i$6.litHtmlVersions)&&void 0!==t$4?t$4:i$6.litHtmlVersions=[]).push("2.8.0");const D$1=(t,i,s)=>{var e,o;const n=null!==(e=null==s?void 0:s.renderBefore)&&void 0!==e?e:i;let l=n._$litPart$;if(void 0===l){const t=null!==(o=null==s?void 0:s.renderBefore)&&void 0!==o?o:null;n._$litPart$=l=new R$2(i.insertBefore(u$4(),t),t,void 0,null!=s?s:{});}return l._$AI(t),l};
|
|
11029
|
+
|
|
11030
|
+
/**
|
|
11031
|
+
* @license
|
|
11032
|
+
* Copyright 2017 Google LLC
|
|
11033
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
11034
|
+
*/var l$5,o$7;class s$6 extends u$5{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=D$1(i,this.renderRoot,this.renderOptions);}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0);}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1);}render(){return T$2}}s$6.finalized=!0,s$6._$litElement$=!0,null===(l$5=globalThis.litElementHydrateSupport)||void 0===l$5||l$5.call(globalThis,{LitElement:s$6});const n$7=globalThis.litElementPolyfillSupport;null==n$7||n$7({LitElement:s$6});(null!==(o$7=globalThis.litElementVersions)&&void 0!==o$7?o$7:globalThis.litElementVersions=[]).push("3.3.3");
|
|
11035
|
+
|
|
11473
11036
|
/**
|
|
11474
11037
|
* @license
|
|
11475
11038
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
11476
11039
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11477
11040
|
*/
|
|
11478
11041
|
|
|
11479
|
-
const buttonStyles = i$
|
|
11042
|
+
const buttonStyles = i$7`
|
|
11480
11043
|
:host {
|
|
11481
11044
|
display: inline-block;
|
|
11482
11045
|
position: relative;
|
|
@@ -13248,7 +12811,7 @@ defineCustomElement(Button);
|
|
|
13248
12811
|
|
|
13249
12812
|
registerStyles(
|
|
13250
12813
|
'vaadin-date-picker-year',
|
|
13251
|
-
i$
|
|
12814
|
+
i$9`
|
|
13252
12815
|
:host([current]) [part='year-number'] {
|
|
13253
12816
|
color: var(--lumo-primary-text-color);
|
|
13254
12817
|
}
|
|
@@ -13278,7 +12841,7 @@ registerStyles(
|
|
|
13278
12841
|
|
|
13279
12842
|
registerStyles(
|
|
13280
12843
|
'vaadin-date-picker-overlay-content',
|
|
13281
|
-
i$
|
|
12844
|
+
i$9`
|
|
13282
12845
|
:host {
|
|
13283
12846
|
position: relative;
|
|
13284
12847
|
/* Background for the year scroller, placed here as we are using a mask image on the actual years part */
|
|
@@ -13434,7 +12997,7 @@ registerStyles(
|
|
|
13434
12997
|
|
|
13435
12998
|
registerStyles(
|
|
13436
12999
|
'vaadin-month-calendar',
|
|
13437
|
-
i$
|
|
13000
|
+
i$9`
|
|
13438
13001
|
:host {
|
|
13439
13002
|
-moz-user-select: none;
|
|
13440
13003
|
-webkit-user-select: none;
|
|
@@ -13598,7 +13161,7 @@ document.head.appendChild(template$1.content);
|
|
|
13598
13161
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13599
13162
|
*/
|
|
13600
13163
|
|
|
13601
|
-
const fontIcons = i$
|
|
13164
|
+
const fontIcons = i$9`
|
|
13602
13165
|
@font-face {
|
|
13603
13166
|
font-family: 'lumo-icons';
|
|
13604
13167
|
src: url(data:application/font-woff;charset=utf-8;base64,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)
|
|
@@ -13653,7 +13216,7 @@ const fontIcons = i$1`
|
|
|
13653
13216
|
}
|
|
13654
13217
|
`;
|
|
13655
13218
|
|
|
13656
|
-
addLumoGlobalStyles
|
|
13219
|
+
addLumoGlobalStyles('font-icons', fontIcons);
|
|
13657
13220
|
|
|
13658
13221
|
/**
|
|
13659
13222
|
* @license
|
|
@@ -13661,7 +13224,7 @@ addLumoGlobalStyles$1('font-icons', fontIcons);
|
|
|
13661
13224
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13662
13225
|
*/
|
|
13663
13226
|
|
|
13664
|
-
const fieldButton = i$
|
|
13227
|
+
const fieldButton = i$9`
|
|
13665
13228
|
[part$='button'] {
|
|
13666
13229
|
flex: none;
|
|
13667
13230
|
width: 1em;
|
|
@@ -13697,7 +13260,7 @@ registerStyles('', fieldButton, { moduleId: 'lumo-field-button' });
|
|
|
13697
13260
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13698
13261
|
*/
|
|
13699
13262
|
|
|
13700
|
-
const helper = i$
|
|
13263
|
+
const helper = i$9`
|
|
13701
13264
|
:host([has-helper]) [part='helper-text']::before {
|
|
13702
13265
|
content: '';
|
|
13703
13266
|
display: block;
|
|
@@ -13756,7 +13319,7 @@ const helper = i$1`
|
|
|
13756
13319
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13757
13320
|
*/
|
|
13758
13321
|
|
|
13759
|
-
const requiredField = i$
|
|
13322
|
+
const requiredField = i$9`
|
|
13760
13323
|
[part='label'] {
|
|
13761
13324
|
align-self: flex-start;
|
|
13762
13325
|
color: var(--lumo-secondary-text-color);
|
|
@@ -13862,7 +13425,7 @@ registerStyles('', requiredField, { moduleId: 'lumo-required-field' });
|
|
|
13862
13425
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13863
13426
|
*/
|
|
13864
13427
|
|
|
13865
|
-
const inputField = i$
|
|
13428
|
+
const inputField = i$9`
|
|
13866
13429
|
:host {
|
|
13867
13430
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
13868
13431
|
color: var(--lumo-body-text-color);
|
|
@@ -14004,7 +13567,7 @@ registerStyles('', inputFieldShared$1, {
|
|
|
14004
13567
|
moduleId: 'lumo-input-field-shared-styles',
|
|
14005
13568
|
});
|
|
14006
13569
|
|
|
14007
|
-
const datePicker = i$
|
|
13570
|
+
const datePicker = i$9`
|
|
14008
13571
|
:host {
|
|
14009
13572
|
outline: none;
|
|
14010
13573
|
}
|
|
@@ -15709,13 +15272,39 @@ const PositionMixin = (superClass) =>
|
|
|
15709
15272
|
}
|
|
15710
15273
|
};
|
|
15711
15274
|
|
|
15275
|
+
/**
|
|
15276
|
+
* @license
|
|
15277
|
+
* Copyright 2019 Google LLC
|
|
15278
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
15279
|
+
*/
|
|
15280
|
+
const t$3=globalThis,e$5=t$3.ShadowRoot&&(void 0===t$3.ShadyCSS||t$3.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$5=Symbol(),o$6=new WeakMap;class n$6{constructor(t,e,o){if(this._$cssResult$=!0,o!==s$5)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$5&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$6.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$6.set(s,t));}return t}toString(){return this.cssText}}const r$6=t=>new n$6("string"==typeof t?t:t+"",void 0,s$5),i$5=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$6(o,t,s$5)},S$3=(s,o)=>{if(e$5)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$3.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$4=e$5?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$6(e)})(t):t;
|
|
15281
|
+
|
|
15282
|
+
/**
|
|
15283
|
+
* @license
|
|
15284
|
+
* Copyright 2017 Google LLC
|
|
15285
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
15286
|
+
*/const{is:i$4,defineProperty:e$4,getOwnPropertyDescriptor:r$5,getOwnPropertyNames:h$3,getOwnPropertySymbols:o$5,getPrototypeOf:n$5}=Object,a$3=globalThis,c$3=a$3.trustedTypes,l$4=c$3?c$3.emptyScript:"",p$2=a$3.reactiveElementPolyfillSupport,d$3=(t,s)=>t,u$3={toAttribute(t,s){switch(s){case Boolean:t=t?l$4:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$2=(t,s)=>!i$4(t,s),y$1={attribute:!0,type:String,converter:u$3,reflect:!1,hasChanged:f$2};Symbol.metadata??=Symbol("metadata"),a$3.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$1){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$4(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$5(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$1}static _$Ei(){if(this.hasOwnProperty(d$3("elementProperties")))return;const t=n$5(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$3("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d$3("properties"))){const t=this.properties,s=[...h$3(t),...o$5(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$4(s));}else void 0!==s&&i.push(c$4(s));return i}static _$Eu(t,s){const i=s.attribute;return !1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$3(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$3).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$3;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$2)(this[t],s))return;this.P(t,s,i);}!1===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=!0;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=!1;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return !0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[d$3("elementProperties")]=new Map,b[d$3("finalized")]=new Map,p$2?.({ReactiveElement:b}),(a$3.reactiveElementVersions??=[]).push("2.0.4");
|
|
15287
|
+
|
|
15288
|
+
/**
|
|
15289
|
+
* @license
|
|
15290
|
+
* Copyright 2017 Google LLC
|
|
15291
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
15292
|
+
*/
|
|
15293
|
+
const t$2=globalThis,i$3=t$2.trustedTypes,s$4=i$3?i$3.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$3="$lit$",h$2=`lit$${Math.random().toFixed(9).slice(2)}$`,o$4="?"+h$2,n$4=`<${o$4}>`,r$4=document,l$3=()=>r$4.createComment(""),c$2=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$2=Array.isArray,u$2=t=>a$2(t)||"function"==typeof t?.[Symbol.iterator],d$2="[ \t\n\f\r]",f$1=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1=/-->/g,_$1=/>/g,m$1=RegExp(`>|${d$2}(?:([^\\s"'>=/]+)(${d$2}*=${d$2}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$1=/'/g,g$1=/"/g,$$1=/^(?:script|style|textarea|title)$/i,T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A$1=new WeakMap,C$1=r$4.createTreeWalker(r$4,129);function P$1(t,i){if(!a$2(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$4?s$4.createHTML(i):i}const V$1=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$1;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$1?"!--"===u[1]?c=v$1:void 0!==u[1]?c=_$1:void 0!==u[2]?($$1.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1):void 0!==u[3]&&(c=m$1):c===m$1?">"===u[0]?(c=r??f$1,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$1:'"'===u[3]?g$1:p$1):c===g$1||c===p$1?c=m$1:c===v$1||c===_$1?c=f$1:(c=m$1,r=void 0);const x=c===m$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f$1?s+n$4:d>=0?(o.push(a),s.slice(0,d)+e$3+s.slice(d)+h$2+x):s+h$2+(-2===d?i:x);}return [P$1(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N$1{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$1(t,s);if(this.el=N$1.createElement(f,n),C$1.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$1.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$3)){const i=v[a++],s=r.getAttribute(t).split(h$2),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$1:"?"===e[1]?I$1:"@"===e[1]?L$1:k$1}),r.removeAttribute(t);}else t.startsWith(h$2)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1.test(r.tagName)){const t=r.textContent.split(h$2),s=t.length-1;if(s>0){r.textContent=i$3?i$3.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$3()),C$1.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$3());}}}else if(8===r.nodeType)if(r.data===o$4)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$2,t+1));)d.push({type:7,index:c}),t+=h$2.length-1;}c++;}}static createElement(t,i){const s=r$4.createElement("template");return s.innerHTML=t,s}}function S$2(t,i,s=t,e){if(i===T$1)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$2(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S$2(t,h._$AS(t,i.values),h,e)),i}class M$1{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$4).importNode(i,!0);C$1.currentNode=e;let h=C$1.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$1.nextNode(),o++);}return C$1.currentNode=r$4,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R$1{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??!0;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$2(this,t,i),c$2(t)?t===E$1||null==t||""===t?(this._$AH!==E$1&&this._$AR(),this._$AH=E$1):t!==this._$AH&&t!==T$1&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$2(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1&&c$2(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$4.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$1.createElement(P$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$1(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$1.get(t.strings);return void 0===i&&A$1.set(t.strings,i=new N$1(t)),i}k(t){a$2(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R$1(this.O(l$3()),this.O(l$3()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k$1{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=S$2(this,t,i,0),o=!c$2(t)||t!==this._$AH&&t!==T$1,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$2(this,e[s+n],i,n),r===T$1&&(r=this._$AH[n]),o||=!c$2(r)||r!==this._$AH[n],r===E$1?t=E$1:t!==E$1&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H$1 extends k$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1?void 0:t;}}class I$1 extends k$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1);}}class L$1 extends k$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$2(this,t,i,0)??E$1)===T$1)return;const s=this._$AH,e=t===E$1&&s!==E$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1&&(s===E$1||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z$1{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$2(this,t);}}const j=t$2.litHtmlPolyfillSupport;j?.(N$1,R$1),(t$2.litHtmlVersions??=[]).push("3.2.1");const B$1=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1(i.insertBefore(l$3(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
15294
|
+
|
|
15295
|
+
/**
|
|
15296
|
+
* @license
|
|
15297
|
+
* Copyright 2017 Google LLC
|
|
15298
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
15299
|
+
*/class r$3 extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$1(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1);}render(){return T$1}}r$3._$litElement$=!0,r$3["finalized"]=!0,globalThis.litElementHydrateSupport?.({LitElement:r$3});const i$2=globalThis.litElementPolyfillSupport;i$2?.({LitElement:r$3});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
15300
|
+
|
|
15712
15301
|
/**
|
|
15713
15302
|
* @license
|
|
15714
15303
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
15715
15304
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15716
15305
|
*/
|
|
15717
15306
|
|
|
15718
|
-
const overlayStyles = i$
|
|
15307
|
+
const overlayStyles = i$5`
|
|
15719
15308
|
:host {
|
|
15720
15309
|
z-index: 200;
|
|
15721
15310
|
position: fixed;
|
|
@@ -15781,7 +15370,7 @@ const overlayStyles = i$1`
|
|
|
15781
15370
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15782
15371
|
*/
|
|
15783
15372
|
|
|
15784
|
-
const datePickerOverlayStyles = i$
|
|
15373
|
+
const datePickerOverlayStyles = i$7`
|
|
15785
15374
|
[part='overlay'] {
|
|
15786
15375
|
display: flex;
|
|
15787
15376
|
flex: auto;
|
|
@@ -18775,7 +18364,7 @@ const MonthCalendarMixin = (superClass) =>
|
|
|
18775
18364
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
18776
18365
|
*/
|
|
18777
18366
|
|
|
18778
|
-
const monthCalendarStyles = i$
|
|
18367
|
+
const monthCalendarStyles = i$7`
|
|
18779
18368
|
:host {
|
|
18780
18369
|
display: block;
|
|
18781
18370
|
}
|
|
@@ -20095,7 +19684,7 @@ const DatePickerOverlayContentMixin = (superClass) =>
|
|
|
20095
19684
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
20096
19685
|
*/
|
|
20097
19686
|
|
|
20098
|
-
const overlayContentStyles = i$
|
|
19687
|
+
const overlayContentStyles = i$7`
|
|
20099
19688
|
:host {
|
|
20100
19689
|
display: flex;
|
|
20101
19690
|
flex-direction: column;
|
|
@@ -22675,6 +22264,32 @@ class LabelledInputController {
|
|
|
22675
22264
|
}
|
|
22676
22265
|
}
|
|
22677
22266
|
|
|
22267
|
+
/**
|
|
22268
|
+
* @license
|
|
22269
|
+
* Copyright 2019 Google LLC
|
|
22270
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
22271
|
+
*/
|
|
22272
|
+
const t$1=window,e$2=t$1.ShadowRoot&&(void 0===t$1.ShadyCSS||t$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$3=Symbol(),n$3=new WeakMap;class o$3{constructor(t,e,n){if(this._$cssResult$=!0,n!==s$3)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$2&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=n$3.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&n$3.set(s,t));}return t}toString(){return this.cssText}}const r$2=t=>new o$3("string"==typeof t?t:t+"",void 0,s$3),i$1=(t,...e)=>{const n=1===t.length?t[0]:e.reduce(((e,s,n)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[n+1]),t[0]);return new o$3(n,t,s$3)},S$1=(s,n)=>{e$2?s.adoptedStyleSheets=n.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):n.forEach((e=>{const n=document.createElement("style"),o=t$1.litNonce;void 0!==o&&n.setAttribute("nonce",o),n.textContent=e.cssText,s.appendChild(n);}));},c$1=e$2?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$2(e)})(t):t;
|
|
22273
|
+
|
|
22274
|
+
/**
|
|
22275
|
+
* @license
|
|
22276
|
+
* Copyright 2017 Google LLC
|
|
22277
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
22278
|
+
*/var s$2;const e$1=window,r$1=e$1.trustedTypes,h$1=r$1?r$1.emptyScript:"",o$2=e$1.reactiveElementPolyfillSupport,n$2={toAttribute(t,i){switch(i){case Boolean:t=t?h$1:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,i){let s=t;switch(i){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t);}catch(t){s=null;}}return s}},a$1=(t,i)=>i!==t&&(i==i||t==t),l$2={attribute:!0,type:String,converter:n$2,reflect:!1,hasChanged:a$1},d$1="finalized";class u$1 extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu();}static addInitializer(t){var i;this.finalize(),(null!==(i=this.h)&&void 0!==i?i:this.h=[]).push(t);}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((i,s)=>{const e=this._$Ep(s,i);void 0!==e&&(this._$Ev.set(e,s),t.push(e));})),t}static createProperty(t,i=l$2){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(t,i),!i.noAccessor&&!this.prototype.hasOwnProperty(t)){const s="symbol"==typeof t?Symbol():"__"+t,e=this.getPropertyDescriptor(t,s,i);void 0!==e&&Object.defineProperty(this.prototype,t,e);}}static getPropertyDescriptor(t,i,s){return {get(){return this[i]},set(e){const r=this[t];this[i]=e,this.requestUpdate(t,r,s);},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||l$2}static finalize(){if(this.hasOwnProperty(d$1))return !1;this[d$1]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const s of i)this.createProperty(s,t[s]);}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(i){const s=[];if(Array.isArray(i)){const e=new Set(i.flat(1/0).reverse());for(const i of e)s.unshift(c$1(i));}else void 0!==i&&s.push(c$1(i));return s}static _$Ep(t,i){const s=i.attribute;return !1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)));}addController(t){var i,s;(null!==(i=this._$ES)&&void 0!==i?i:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(s=t.hostConnected)||void 0===s||s.call(t));}removeController(t){var i;null===(i=this._$ES)||void 0===i||i.splice(this._$ES.indexOf(t)>>>0,1);}_$Eg(){this.constructor.elementProperties.forEach(((t,i)=>{this.hasOwnProperty(i)&&(this._$Ei.set(i,this[i]),delete this[i]);}));}createRenderRoot(){var t;const s=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return S$1(s,this.constructor.elementStyles),s}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostConnected)||void 0===i?void 0:i.call(t)}));}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostDisconnected)||void 0===i?void 0:i.call(t)}));}attributeChangedCallback(t,i,s){this._$AK(t,s);}_$EO(t,i,s=l$2){var e;const r=this.constructor._$Ep(t,s);if(void 0!==r&&!0===s.reflect){const h=(void 0!==(null===(e=s.converter)||void 0===e?void 0:e.toAttribute)?s.converter:n$2).toAttribute(i,s.type);this._$El=t,null==h?this.removeAttribute(r):this.setAttribute(r,h),this._$El=null;}}_$AK(t,i){var s;const e=this.constructor,r=e._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=e.getPropertyOptions(r),h="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(s=t.converter)||void 0===s?void 0:s.fromAttribute)?t.converter:n$2;this._$El=r,this[r]=h.fromAttribute(i,t.type),this._$El=null;}}requestUpdate(t,i,s){let e=!0;void 0!==t&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||a$1)(this[t],i)?(this._$AL.has(t)||this._$AL.set(t,i),!0===s.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,s))):e=!1),!this.isUpdatePending&&e&&(this._$E_=this._$Ej());}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this._$Ei&&(this._$Ei.forEach(((t,i)=>this[i]=t)),this._$Ei=void 0);let i=!1;const s=this._$AL;try{i=this.shouldUpdate(s),i?(this.willUpdate(s),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostUpdate)||void 0===i?void 0:i.call(t)})),this.update(s)):this._$Ek();}catch(t){throw i=!1,this._$Ek(),t}i&&this._$AE(s);}willUpdate(t){}_$AE(t){var i;null===(i=this._$ES)||void 0===i||i.forEach((t=>{var i;return null===(i=t.hostUpdated)||void 0===i?void 0:i.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t);}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return !0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,i)=>this._$EO(i,this[i],t))),this._$EC=void 0),this._$Ek();}updated(t){}firstUpdated(t){}}u$1[d$1]=!0,u$1.elementProperties=new Map,u$1.elementStyles=[],u$1.shadowRootOptions={mode:"open"},null==o$2||o$2({ReactiveElement:u$1}),(null!==(s$2=e$1.reactiveElementVersions)&&void 0!==s$2?s$2:e$1.reactiveElementVersions=[]).push("1.6.3");
|
|
22279
|
+
|
|
22280
|
+
/**
|
|
22281
|
+
* @license
|
|
22282
|
+
* Copyright 2017 Google LLC
|
|
22283
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
22284
|
+
*/
|
|
22285
|
+
var t;const i=window,s$1=i.trustedTypes,e=s$1?s$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,o$1="$lit$",n$1=`lit$${(Math.random()+"").slice(9)}$`,l$1="?"+n$1,h=`<${l$1}>`,r=document,u=()=>r.createComment(""),d=t=>null===t||"object"!=typeof t&&"function"!=typeof t,c=Array.isArray,v=t=>c(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),a="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,m=/>/g,p=RegExp(`>|${a}(?:([^\\s"'>=/]+)(${a}*=${a}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),g=/'/g,$=/"/g,y=/^(?:script|style|textarea|title)$/i,T=Symbol.for("lit-noChange"),A=Symbol.for("lit-nothing"),E=new WeakMap,C=r.createTreeWalker(r,129,null,!1);function P(t,i){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==e?e.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,e=[];let l,r=2===i?"<svg>":"",u=f;for(let i=0;i<s;i++){const s=t[i];let d,c,v=-1,a=0;for(;a<s.length&&(u.lastIndex=a,c=u.exec(s),null!==c);)a=u.lastIndex,u===f?"!--"===c[1]?u=_:void 0!==c[1]?u=m:void 0!==c[2]?(y.test(c[2])&&(l=RegExp("</"+c[2],"g")),u=p):void 0!==c[3]&&(u=p):u===p?">"===c[0]?(u=null!=l?l:f,v=-1):void 0===c[1]?v=-2:(v=u.lastIndex-c[2].length,d=c[1],u=void 0===c[3]?p:'"'===c[3]?$:g):u===$||u===g?u=p:u===_||u===m?u=f:(u=p,l=void 0);const w=u===p&&t[i+1].startsWith("/>")?" ":"";r+=u===f?s+h:v>=0?(e.push(d),s.slice(0,v)+o$1+s.slice(v)+n$1+w):s+n$1+(-2===v?(e.push(void 0),i):w);}return [P(t,r+(t[s]||"<?>")+(2===i?"</svg>":"")),e]};class N{constructor({strings:t,_$litType$:i},e){let h;this.parts=[];let r=0,d=0;const c=t.length-1,v=this.parts,[a,f]=V(t,i);if(this.el=N.createElement(a,e),C.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes);}for(;null!==(h=C.nextNode())&&v.length<c;){if(1===h.nodeType){if(h.hasAttributes()){const t=[];for(const i of h.getAttributeNames())if(i.endsWith(o$1)||i.startsWith(n$1)){const s=f[d++];if(t.push(i),void 0!==s){const t=h.getAttribute(s.toLowerCase()+o$1).split(n$1),i=/([.?@])?(.*)/.exec(s);v.push({type:1,index:r,name:i[2],strings:t,ctor:"."===i[1]?H:"?"===i[1]?L:"@"===i[1]?z:k});}else v.push({type:6,index:r});}for(const i of t)h.removeAttribute(i);}if(y.test(h.tagName)){const t=h.textContent.split(n$1),i=t.length-1;if(i>0){h.textContent=s$1?s$1.emptyScript:"";for(let s=0;s<i;s++)h.append(t[s],u()),C.nextNode(),v.push({type:2,index:++r});h.append(t[i],u());}}}else if(8===h.nodeType)if(h.data===l$1)v.push({type:2,index:r});else {let t=-1;for(;-1!==(t=h.data.indexOf(n$1,t+1));)v.push({type:7,index:r}),t+=n$1.length-1;}r++;}}static createElement(t,i){const s=r.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){var o,n,l,h;if(i===T)return i;let r=void 0!==e?null===(o=s._$Co)||void 0===o?void 0:o[e]:s._$Cl;const u=d(i)?void 0:i._$litDirective$;return (null==r?void 0:r.constructor)!==u&&(null===(n=null==r?void 0:r._$AO)||void 0===n||n.call(r,!1),void 0===u?r=void 0:(r=new u(t),r._$AT(t,s,e)),void 0!==e?(null!==(l=(h=s)._$Co)&&void 0!==l?l:h._$Co=[])[e]=r:s._$Cl=r),void 0!==r&&(i=S(t,r._$AS(t,i.values),r,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:s},parts:e}=this._$AD,o=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:r).importNode(s,!0);C.currentNode=o;let n=C.nextNode(),l=0,h=0,u=e[0];for(;void 0!==u;){if(l===u.index){let i;2===u.type?i=new R(n,n.nextSibling,this,t):1===u.type?i=new u.ctor(n,u.name,u.strings,this,t):6===u.type&&(i=new Z(n,this,t)),this._$AV.push(i),u=e[++h];}l!==(null==u?void 0:u.index)&&(n=C.nextNode(),l++);}return C.currentNode=r,o}v(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R{constructor(t,i,s,e){var o;this.type=2,this._$AH=A,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cp=null===(o=null==e?void 0:e.isConnected)||void 0===o||o;}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),d(t)?t===A||null==t||""===t?(this._$AH!==A&&this._$AR(),this._$AH=A):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):v(t)?this.T(t):this._(t);}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t));}_(t){this._$AH!==A&&d(this._$AH)?this._$AA.nextSibling.data=t:this.$(r.createTextNode(t)),this._$AH=t;}g(t){var i;const{values:s,_$litType$:e}=t,o="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=N.createElement(P(e.h,e.h[0]),this.options)),e);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===o)this._$AH.v(s);else {const t=new M(o,this),i=t.u(this.options);t.v(s),this.$(i),this._$AH=t;}}_$AC(t){let i=E.get(t.strings);return void 0===i&&E.set(t.strings,i=new N(t)),i}T(t){c(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const o of t)e===i.length?i.push(s=new R(this.k(u()),this.k(u()),this,this.options)):s=i[e],s._$AI(o),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){var s;for(null===(s=this._$AP)||void 0===s||s.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t));}}class k{constructor(t,i,s,e,o){this.type=1,this._$AH=A,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=o,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=A;}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,s,e){const o=this.strings;let n=!1;if(void 0===o)t=S(this,t,i,0),n=!d(t)||t!==this._$AH&&t!==T,n&&(this._$AH=t);else {const e=t;let l,h;for(t=o[0],l=0;l<o.length-1;l++)h=S(this,e[s+l],i,l),h===T&&(h=this._$AH[l]),n||(n=!d(h)||h!==this._$AH[l]),h===A?t=A:t!==A&&(t+=(null!=h?h:"")+o[l+1]),this._$AH[l]=h;}n&&!e&&this.j(t);}j(t){t===A?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"");}}class H extends k{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===A?void 0:t;}}const I=s$1?s$1.emptyScript:"";class L extends k{constructor(){super(...arguments),this.type=4;}j(t){t&&t!==A?this.element.setAttribute(this.name,I):this.element.removeAttribute(this.name);}}class z extends k{constructor(t,i,s,e,o){super(t,i,s,e,o),this.type=5;}_$AI(t,i=this){var s;if((t=null!==(s=S(this,t,i,0))&&void 0!==s?s:A)===T)return;const e=this._$AH,o=t===A&&e!==A||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==A&&(e===A||o);o&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){var i,s;"function"==typeof this._$AH?this._$AH.call(null!==(s=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==s?s:this.element,t):this._$AH.handleEvent(t);}}class Z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const B=i.litHtmlPolyfillSupport;null==B||B(N,R),(null!==(t=i.litHtmlVersions)&&void 0!==t?t:i.litHtmlVersions=[]).push("2.8.0");const D=(t,i,s)=>{var e,o;const n=null!==(e=null==s?void 0:s.renderBefore)&&void 0!==e?e:i;let l=n._$litPart$;if(void 0===l){const t=null!==(o=null==s?void 0:s.renderBefore)&&void 0!==o?o:null;n._$litPart$=l=new R(i.insertBefore(u(),t),t,void 0,null!=s?s:{});}return l._$AI(t),l};
|
|
22286
|
+
|
|
22287
|
+
/**
|
|
22288
|
+
* @license
|
|
22289
|
+
* Copyright 2017 Google LLC
|
|
22290
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
22291
|
+
*/var l,o;class s extends u$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=D(i,this.renderRoot,this.renderOptions);}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0);}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1);}render(){return T}}s.finalized=!0,s._$litElement$=!0,null===(l=globalThis.litElementHydrateSupport)||void 0===l||l.call(globalThis,{LitElement:s});const n=globalThis.litElementPolyfillSupport;null==n||n({LitElement:s});(null!==(o=globalThis.litElementVersions)&&void 0!==o?o:globalThis.litElementVersions=[]).push("3.3.3");
|
|
22292
|
+
|
|
22678
22293
|
/**
|
|
22679
22294
|
* @license
|
|
22680
22295
|
* Copyright (c) 2021 - 2023 Vaadin Ltd..
|
|
@@ -24052,7 +23667,7 @@ const DatePickerMixin = (subclass) =>
|
|
|
24052
23667
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
24053
23668
|
*/
|
|
24054
23669
|
|
|
24055
|
-
const datePickerStyles = i$
|
|
23670
|
+
const datePickerStyles = i$7`
|
|
24056
23671
|
:host([opened]) {
|
|
24057
23672
|
pointer-events: auto;
|
|
24058
23673
|
}
|
|
@@ -24301,7 +23916,7 @@ class DatePicker extends DatePickerMixin(InputControlMixin(ThemableMixin(Element
|
|
|
24301
23916
|
|
|
24302
23917
|
defineCustomElement(DatePicker);
|
|
24303
23918
|
|
|
24304
|
-
const helperFiltersCss = "@import url(\"https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap\");:host{display:block;font-family:\"Roboto\", sans-serif}.FilterButtonsWrapper{display:flex;justify-content:flex-end;gap:5px}.FilterButtonsWrapper .FilterOpen{cursor:pointer;border-radius:4px;padding:8px 15px;width:max-content;border:1px solid #00958f;background
|
|
23919
|
+
const helperFiltersCss = "@import url(\"https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap\");:host{display:block;font-family:\"Roboto\", sans-serif}.FilterButtonsWrapper{display:flex;justify-content:flex-end;gap:5px}.FilterButtonsWrapper .FilterOpen{cursor:pointer;border-radius:var(--emw--button-border-radius, 4px);padding:8px 15px;width:max-content;border:1px solid var(--emw--button-border-color, #00958f);background:var(--emw--button-background-color, #00958f);color:var(--emw--color-gray-transparency-100, rgb(255, 255, 255));font-size:12px;transition:all 0.2s linear;text-align:center;letter-spacing:0}.FilterButtonsWrapper .FilterOpen:hover{background:var(--emw--button-background-color, #00958f);color:var(--emw--color-gray-transparency-100, rgb(255, 255, 255))}.FilterButtonsWrapper .FilterClear{cursor:pointer;border-radius:var(--emw--button-border-radius, 4px);padding:8px 15px;width:max-content;border:1px solid var(--emw--button-border-color, #00958f);background:var(--emw--color-gray-transparency-100, rgb(255, 255, 255));color:var(--emw--button-text-color, #000);font-size:12px;transition:all 0.2s linear;text-align:center;letter-spacing:0}.FilterButtonsWrapper .FilterClear:hover{background:var(--emw--button-background-color, #00958f);color:var(--emw--color-gray-transparency-100, rgb(255, 255, 255))}.FilterModalHeader,.FilterModalBody,.FilterModalFooter{display:flex;flex-direction:column;gap:5px;align-items:center;margin:20px 0}.FilterModalHeader .FilterModalTitle,.FilterModalBody .FilterModalTitle,.FilterModalFooter .FilterModalTitle{margin:0;padding:0;font-weight:700;font-size:16px;color:var(--emw--color-typography, #009993);text-transform:uppercase}.FilterModalHeader .FilterModalSearch,.FilterModalBody .FilterModalSearch,.FilterModalFooter .FilterModalSearch{border-radius:var(--emw--button-border-radius, 4px);background:var(--emw--color-gray-transparency-60, #e8ebef);color:var(--emw--color-secondary-variant, #263445);width:100%;height:26px;max-width:280px;padding:5px;font-size:15px;border:none;outline:var(--emw--color-typography, #009993)}.FilterModalHeader .FilterCalendarWrapper,.FilterModalBody .FilterCalendarWrapper,.FilterModalFooter .FilterCalendarWrapper{display:flex;gap:5px}.FilterModalHeader .FilterCalendarWrapper .VaadinDatePicker,.FilterModalBody .FilterCalendarWrapper .VaadinDatePicker,.FilterModalFooter .FilterCalendarWrapper .VaadinDatePicker{width:50%;max-width:143px}.FilterModalHeader .FilterModalButton,.FilterModalBody .FilterModalButton,.FilterModalFooter .FilterModalButton{cursor:pointer;border-radius:var(--emw--button-border-radius, 4px);padding:8px 60px;width:max-content;margin:5px;border:1px solid var(--emw--button-border-color, #00958f);background:var(--emw--button-background-color, #00958f);color:var(--emw--color-gray-transparency-100, rgb(255, 255, 255));font-size:12px;transition:all 0.2s linear;text-transform:uppercase;text-align:center;letter-spacing:0}.FilterModalHeader .FilterModalButton:hover,.FilterModalBody .FilterModalButton:hover,.FilterModalFooter .FilterModalButton:hover{background:var(--emw--button-background-color, #00958f);color:var(--emw--color-gray-transparency-100, rgb(255, 255, 255))}.FilterModalHeader p,.FilterModalBody p,.FilterModalFooter p{margin:5px 0}";
|
|
24305
23920
|
const HelperFiltersStyle0 = helperFiltersCss;
|
|
24306
23921
|
|
|
24307
23922
|
const HelperFilters = class {
|
|
@@ -24310,33 +23925,77 @@ const HelperFilters = class {
|
|
|
24310
23925
|
this.filterDraw = index.createEvent(this, "filterDraw", 7);
|
|
24311
23926
|
this.filterSelection = index.createEvent(this, "filterSelection", 7);
|
|
24312
23927
|
this.filterSelectionReset = index.createEvent(this, "filterSelectionReset", 7);
|
|
24313
|
-
|
|
24314
|
-
|
|
24315
|
-
|
|
24316
|
-
this.stylingContainer.prepend(sheet);
|
|
24317
|
-
};
|
|
24318
|
-
this.setClientStylingURL = () => {
|
|
24319
|
-
let cssFile = document.createElement('style');
|
|
24320
|
-
setTimeout(() => {
|
|
24321
|
-
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
24322
|
-
this.stylingContainer.prepend(cssFile);
|
|
24323
|
-
}, 1);
|
|
24324
|
-
};
|
|
23928
|
+
/**
|
|
23929
|
+
* Check if show the filter option by id
|
|
23930
|
+
*/
|
|
24325
23931
|
this.showFilterId = true;
|
|
23932
|
+
/**
|
|
23933
|
+
* Choose if filter by draw ID or ticket ID. By default is draw ID.
|
|
23934
|
+
*/
|
|
24326
23935
|
this.activateTicketSearch = false;
|
|
23936
|
+
/**
|
|
23937
|
+
* Game ID
|
|
23938
|
+
*/
|
|
24327
23939
|
this.gameId = '';
|
|
23940
|
+
/**
|
|
23941
|
+
* Player ID
|
|
23942
|
+
*/
|
|
24328
23943
|
this.playerId = '';
|
|
23944
|
+
/**
|
|
23945
|
+
* Session ID
|
|
23946
|
+
*/
|
|
24329
23947
|
this.session = '';
|
|
23948
|
+
/**
|
|
23949
|
+
* Instead of customEvents the widget triggers postMessages
|
|
23950
|
+
*/
|
|
24330
23951
|
this.postMessage = false;
|
|
23952
|
+
/**
|
|
23953
|
+
* Language
|
|
23954
|
+
*/
|
|
24331
23955
|
this.language = 'en';
|
|
23956
|
+
/**
|
|
23957
|
+
* Notifies if the quick filters from tickets are active
|
|
23958
|
+
*/
|
|
24332
23959
|
this.quickFiltersActive = false;
|
|
23960
|
+
/**
|
|
23961
|
+
* Client custom styling via string
|
|
23962
|
+
*/
|
|
24333
23963
|
this.clientStyling = '';
|
|
23964
|
+
/**
|
|
23965
|
+
* Client custom styling via url content
|
|
23966
|
+
*/
|
|
24334
23967
|
this.clientStylingUrlContent = '';
|
|
24335
23968
|
this.showFilterModal = false;
|
|
24336
23969
|
this.showClearButton = false;
|
|
24337
23970
|
this.filterData = {};
|
|
24338
23971
|
this.filterDataReset = { ticketDrawId: '', filterFromCalendar: '', filterToCalendar: '' };
|
|
24339
23972
|
this.limitStylingAppends = false;
|
|
23973
|
+
this.handleTicketDrawId = (event) => {
|
|
23974
|
+
const inputElement = event.target;
|
|
23975
|
+
this.filterData.ticketDrawId = inputElement.value;
|
|
23976
|
+
};
|
|
23977
|
+
this.handleFilterFrom = (event) => {
|
|
23978
|
+
const inputElement = event.target;
|
|
23979
|
+
let dateArray = inputElement.value.split('-');
|
|
23980
|
+
this.filterData.filterFromCalendar = new Date(Number(dateArray[0]), Number(dateArray[1]) - 1, Number(dateArray[2]), 0, 0, 0).toISOString();
|
|
23981
|
+
};
|
|
23982
|
+
this.handleFilterTo = (event) => {
|
|
23983
|
+
const inputElement = event.target;
|
|
23984
|
+
let dateArray = inputElement.value.split('-');
|
|
23985
|
+
this.filterData.filterToCalendar = new Date(Number(dateArray[0]), Number(dateArray[1]) - 1, Number(dateArray[2]), 23, 59, 59).toISOString();
|
|
23986
|
+
};
|
|
23987
|
+
this.setClientStyling = () => {
|
|
23988
|
+
let sheet = document.createElement('style');
|
|
23989
|
+
sheet.innerHTML = this.clientStyling;
|
|
23990
|
+
this.stylingContainer.prepend(sheet);
|
|
23991
|
+
};
|
|
23992
|
+
this.setClientStylingURL = () => {
|
|
23993
|
+
let cssFile = document.createElement('style');
|
|
23994
|
+
setTimeout(() => {
|
|
23995
|
+
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
23996
|
+
this.stylingContainer.prepend(cssFile);
|
|
23997
|
+
}, 1);
|
|
23998
|
+
};
|
|
24340
23999
|
}
|
|
24341
24000
|
// reset field values each time the filter modal opens
|
|
24342
24001
|
componentDidRender() {
|
|
@@ -24376,27 +24035,17 @@ const HelperFilters = class {
|
|
|
24376
24035
|
this.modalCloseEvent();
|
|
24377
24036
|
this.showClearButton = true;
|
|
24378
24037
|
this.filterSelectionHandler(this.filterData);
|
|
24379
|
-
console.log(this.showClearButton);
|
|
24380
24038
|
}
|
|
24381
24039
|
resetSearch() {
|
|
24382
24040
|
this.showClearButton = false;
|
|
24383
24041
|
this.filterSelectionResetHandler(this.filterDataReset);
|
|
24384
24042
|
this.filterData = {};
|
|
24385
24043
|
}
|
|
24386
|
-
handleTicketDrawId(event) {
|
|
24387
|
-
this.filterData.ticketDrawId = event.target.value;
|
|
24388
|
-
}
|
|
24389
|
-
handleFilterFrom(event) {
|
|
24390
|
-
this.filterData.filterFromCalendar = new Date(event.target.value).toISOString();
|
|
24391
|
-
}
|
|
24392
|
-
handleFilterTo(event) {
|
|
24393
|
-
this.filterData.filterToCalendar = new Date(event.target.value).toISOString();
|
|
24394
|
-
}
|
|
24395
24044
|
render() {
|
|
24396
|
-
return (index.h("div", { key: '
|
|
24045
|
+
return (index.h("div", { key: '285e81fe3f4ba59c4a17445e8a296408a21ac15c', class: "HelperFilters", ref: el => this.stylingContainer = el }, index.h("div", { key: 'e1839ec68ae9f4d54a97b7e0bc81fd5bd9c6b924', class: "FilterButtonsWrapper" }, index.h("button", { key: '5b6b2402dad6d7c1c315ffd5a2e251e898c8db5b', class: "FilterOpen", onClick: () => this.toggleFilterModal() }, translate$1('filterOpen', this.language)), (this.showClearButton || this.quickFiltersActive) ?
|
|
24397
24046
|
index.h("button", { class: "FilterClear", onClick: () => this.resetSearch() }, translate$1('filterClear', this.language))
|
|
24398
24047
|
:
|
|
24399
|
-
null), index.h("helper-modal", { key: '
|
|
24048
|
+
null), index.h("helper-modal", { key: 'c60e5024e590e3c2217c4d2698f86a5b6d33562a', "title-modal": "Filter Modal", visible: this.showFilterModal, "client-styling": this.clientStyling, "client-styling-url-content": this.clientStylingUrlContent }, index.h("div", { key: 'd0fcf27d381016db6c6460973cefbb28187cbd01', class: "FilterModalHeader" }, index.h("h3", { key: 'ab73abba95ea9654c902db1f4650b7bc004c62c5', class: "FilterModalTitle" }, this.activateTicketSearch ? translate$1('filterModalTicketTitle', this.language) : translate$1('filterModalDrawTitle', this.language))), index.h("div", { key: '13dff7787135e8e35dadfb23b1acdf9ea11a995b', class: "FilterModalBody" }, this.showFilterId && index.h("div", { key: '6c773a1b5a5af00c6c2c69aaa24c2f2fa766356a' }, index.h("input", { key: 'f6ba11c2abaa1977358f08a923db1b7c12290ef1', id: "FilterById", type: "text", value: this.filterData.ticketDrawId, onInput: this.handleTicketDrawId, class: "FilterModalSearch", placeholder: this.activateTicketSearch ? translate$1('filterTicketPlaceholder', this.language) : translate$1('filterDrawPlaceholder', this.language) }), index.h("p", { key: '39fd8bfc2422a227cf118672213b0499298c73bc' }, translate$1('filterOrDate', this.language))), index.h("div", { key: 'f86cf8390870b64ed646c94c312198a21f99f565', class: "FilterCalendarWrapper" }, index.h("vaadin-date-picker", { key: 'cddc64eda6025e2a3568f86e0e039ded55530ab1', value: this.filterData.filterFromCalendar, onChange: this.handleFilterFrom, placeholder: translate$1('filterFromCalendar', this.language), class: "VaadinDatePicker" }), index.h("vaadin-date-picker", { key: '0963561d635097452964f55bccf5182cde88e0c2', value: this.filterData.filterToCalendar, onChange: this.handleFilterTo, placeholder: translate$1('filterToCalendar', this.language), class: "VaadinDatePicker" }))), index.h("div", { key: '5f880497e96ba7e55fb1f46b073d8b6259feded5', class: "FilterModalFooter" }, index.h("button", { key: '64cb6b50666e8a9879e3fc10df8ab36315357cef', class: "FilterModalButton", onClick: () => this.filterSearch() }, translate$1('filterModalButton', this.language))))));
|
|
24400
24049
|
}
|
|
24401
24050
|
};
|
|
24402
24051
|
HelperFilters.style = HelperFiltersStyle0;
|
|
@@ -24414,13 +24063,26 @@ const isMobile = (userAgent) => {
|
|
|
24414
24063
|
userAgent.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
24415
24064
|
};
|
|
24416
24065
|
|
|
24417
|
-
const helperModalCss = ":host{display:block}.HelperModalWrapper{position:fixed;left:0;top:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.7);opacity:0;visibility:hidden;transform:scale(1.1);transition:visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;z-index:1}.HelperModalVisible{opacity:1;visibility:visible;transform:scale(1);transition:visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s}.HelperModalContent{position:relative;border:solid 1px #848e97;box-shadow:2px 2px 2px rgba(0, 0, 0, 0.007);font-size:14px;padding:10px 10px 5px 10px;background-color
|
|
24066
|
+
const helperModalCss = ":host{display:block}.HelperModalWrapper{position:fixed;left:0;top:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.7);opacity:0;visibility:hidden;transform:scale(1.1);transition:visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;z-index:1}.HelperModalVisible{opacity:1;visibility:visible;transform:scale(1);transition:visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s}.HelperModalContent{position:relative;border:solid 1px var(--emw--color-gray-transparency-40, #848e97);box-shadow:2px 2px 2px rgba(0, 0, 0, 0.007);font-size:14px;padding:10px 10px 5px 10px;background-color:var(--emw--color-gray-transparency-100, rgb(255, 255, 255));position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);border-radius:4px;width:600px;max-height:600px;overflow-y:scroll}.HelperModalMobileContent{background:var(--emw--color-gray-transparency-100, rgb(255, 255, 255));top:50%;left:50%;transform:translate(-50%, -50%);border-radius:4px;width:80%;max-height:350px}.HelperModalClose{cursor:pointer;position:absolute;top:15px;right:15px;font-size:20px;color:var(--emw--button-text-color, #000)}.HelperModalMobileClose{position:absolute;top:15px;right:15px;font-size:20px;color:var(--emw--button-text-color, #000)}";
|
|
24418
24067
|
const HelperModalStyle0 = helperModalCss;
|
|
24419
24068
|
|
|
24420
24069
|
const HelperModal = class {
|
|
24421
24070
|
constructor(hostRef) {
|
|
24422
24071
|
index.registerInstance(this, hostRef);
|
|
24423
24072
|
this.cancel = index.createEvent(this, "modalCloseEvent", 7);
|
|
24073
|
+
/**
|
|
24074
|
+
* Toggles if the helper is visible or not
|
|
24075
|
+
*/
|
|
24076
|
+
this.visible = true;
|
|
24077
|
+
/**
|
|
24078
|
+
* Client custom styling via string
|
|
24079
|
+
*/
|
|
24080
|
+
this.clientStyling = '';
|
|
24081
|
+
/**
|
|
24082
|
+
* Client custom styling via url content
|
|
24083
|
+
*/
|
|
24084
|
+
this.clientStylingUrlContent = '';
|
|
24085
|
+
this.limitStylingAppends = false;
|
|
24424
24086
|
this.userAgent = window.navigator.userAgent;
|
|
24425
24087
|
this.setClientStyling = () => {
|
|
24426
24088
|
let sheet = document.createElement('style');
|
|
@@ -24434,11 +24096,6 @@ const HelperModal = class {
|
|
|
24434
24096
|
this.stylingContainer.prepend(cssFile);
|
|
24435
24097
|
}, 1);
|
|
24436
24098
|
};
|
|
24437
|
-
this.titleModal = undefined;
|
|
24438
|
-
this.visible = true;
|
|
24439
|
-
this.clientStyling = '';
|
|
24440
|
-
this.clientStylingUrlContent = '';
|
|
24441
|
-
this.limitStylingAppends = false;
|
|
24442
24099
|
}
|
|
24443
24100
|
handleHelperModalClose() {
|
|
24444
24101
|
this.visible = false;
|