@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h as h$
|
|
1
|
+
import { r as registerInstance, c as createEvent, h as h$8 } from './index-82b8e4db.js';
|
|
2
2
|
|
|
3
3
|
const DEFAULT_LANGUAGE = 'en';
|
|
4
4
|
const SUPPORTED_LANGUAGES = ['ro', 'en', 'hr'];
|
|
@@ -106,7 +106,7 @@ function defineCustomElement(CustomElement) {
|
|
|
106
106
|
*
|
|
107
107
|
* @private
|
|
108
108
|
*/
|
|
109
|
-
class Lumo$
|
|
109
|
+
class Lumo$1 extends HTMLElement {
|
|
110
110
|
static get is() {
|
|
111
111
|
return 'vaadin-lumo-styles';
|
|
112
112
|
}
|
|
@@ -116,33 +116,33 @@ class Lumo$2 extends HTMLElement {
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
defineCustomElement(Lumo$
|
|
119
|
+
defineCustomElement(Lumo$1);
|
|
120
120
|
|
|
121
121
|
/**
|
|
122
122
|
* @license
|
|
123
123
|
* Copyright 2019 Google LLC
|
|
124
124
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
125
125
|
*/
|
|
126
|
-
const t$
|
|
126
|
+
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;
|
|
127
127
|
|
|
128
128
|
/**
|
|
129
129
|
* @license
|
|
130
130
|
* Copyright 2017 Google LLC
|
|
131
131
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
132
|
-
*/var s$
|
|
132
|
+
*/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");
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
135
|
* @license
|
|
136
136
|
* Copyright 2017 Google LLC
|
|
137
137
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
138
138
|
*/
|
|
139
|
-
var t;const i=window,s$
|
|
139
|
+
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};
|
|
140
140
|
|
|
141
141
|
/**
|
|
142
142
|
* @license
|
|
143
143
|
* Copyright 2017 Google LLC
|
|
144
144
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
145
|
-
*/var l,o;class s extends u$
|
|
145
|
+
*/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");
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
148
|
* @license
|
|
@@ -241,7 +241,7 @@ function hasThemes(tagName) {
|
|
|
241
241
|
*/
|
|
242
242
|
function flattenStyles(styles = []) {
|
|
243
243
|
return [styles].flat(Infinity).filter((style) => {
|
|
244
|
-
if (style instanceof o$
|
|
244
|
+
if (style instanceof o$e) {
|
|
245
245
|
return true;
|
|
246
246
|
}
|
|
247
247
|
console.warn('An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`.');
|
|
@@ -460,7 +460,7 @@ const addGlobalThemeStyles = (id, ...styles) => {
|
|
|
460
460
|
document.head.insertAdjacentElement('afterbegin', styleTag);
|
|
461
461
|
};
|
|
462
462
|
|
|
463
|
-
const addLumoGlobalStyles$
|
|
463
|
+
const addLumoGlobalStyles$1 = (id, ...styles) => {
|
|
464
464
|
addGlobalThemeStyles(`lumo-${id}`, styles);
|
|
465
465
|
};
|
|
466
466
|
|
|
@@ -470,7 +470,7 @@ const addLumoGlobalStyles$2 = (id, ...styles) => {
|
|
|
470
470
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
471
471
|
*/
|
|
472
472
|
|
|
473
|
-
const colorBase$
|
|
473
|
+
const colorBase$1 = i$9`
|
|
474
474
|
:host {
|
|
475
475
|
/* Base (background) */
|
|
476
476
|
--lumo-base-color: #fff;
|
|
@@ -557,9 +557,9 @@ const colorBase$2 = i$1`
|
|
|
557
557
|
}
|
|
558
558
|
`;
|
|
559
559
|
|
|
560
|
-
addLumoGlobalStyles$
|
|
560
|
+
addLumoGlobalStyles$1('color-props', colorBase$1);
|
|
561
561
|
|
|
562
|
-
const color$
|
|
562
|
+
const color$1 = i$9`
|
|
563
563
|
[theme~='dark'] {
|
|
564
564
|
/* Base (background) */
|
|
565
565
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -676,7 +676,7 @@ const color$2 = i$1`
|
|
|
676
676
|
}
|
|
677
677
|
`;
|
|
678
678
|
|
|
679
|
-
registerStyles('', color$
|
|
679
|
+
registerStyles('', color$1, { moduleId: 'lumo-color' });
|
|
680
680
|
|
|
681
681
|
/**
|
|
682
682
|
* @license
|
|
@@ -684,7 +684,7 @@ registerStyles('', color$2, { moduleId: 'lumo-color' });
|
|
|
684
684
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
685
685
|
*/
|
|
686
686
|
|
|
687
|
-
const sizing$
|
|
687
|
+
const sizing$1 = i$9`
|
|
688
688
|
:host {
|
|
689
689
|
--lumo-size-xs: 1.625rem;
|
|
690
690
|
--lumo-size-s: 1.875rem;
|
|
@@ -701,7 +701,7 @@ const sizing$2 = i$1`
|
|
|
701
701
|
}
|
|
702
702
|
`;
|
|
703
703
|
|
|
704
|
-
addLumoGlobalStyles$
|
|
704
|
+
addLumoGlobalStyles$1('sizing-props', sizing$1);
|
|
705
705
|
|
|
706
706
|
/**
|
|
707
707
|
* @license
|
|
@@ -709,7 +709,7 @@ addLumoGlobalStyles$2('sizing-props', sizing$2);
|
|
|
709
709
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
710
710
|
*/
|
|
711
711
|
|
|
712
|
-
const style$
|
|
712
|
+
const style$1 = i$9`
|
|
713
713
|
:host {
|
|
714
714
|
/* Border radius */
|
|
715
715
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -731,7 +731,7 @@ const style$2 = i$1`
|
|
|
731
731
|
/**
|
|
732
732
|
* Default values for component-specific custom properties.
|
|
733
733
|
*/
|
|
734
|
-
i$
|
|
734
|
+
i$9`
|
|
735
735
|
html {
|
|
736
736
|
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
|
|
737
737
|
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
|
|
@@ -739,7 +739,7 @@ i$1`
|
|
|
739
739
|
}
|
|
740
740
|
`;
|
|
741
741
|
|
|
742
|
-
addLumoGlobalStyles$
|
|
742
|
+
addLumoGlobalStyles$1('style-props', style$1);
|
|
743
743
|
|
|
744
744
|
/**
|
|
745
745
|
* @license
|
|
@@ -747,7 +747,7 @@ addLumoGlobalStyles$2('style-props', style$2);
|
|
|
747
747
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
748
748
|
*/
|
|
749
749
|
|
|
750
|
-
const font$
|
|
750
|
+
const font$1 = i$9`
|
|
751
751
|
:host {
|
|
752
752
|
/* prettier-ignore */
|
|
753
753
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -769,7 +769,7 @@ const font$2 = i$1`
|
|
|
769
769
|
}
|
|
770
770
|
`;
|
|
771
771
|
|
|
772
|
-
const typography$
|
|
772
|
+
const typography$1 = i$9`
|
|
773
773
|
body,
|
|
774
774
|
:host {
|
|
775
775
|
font-family: var(--lumo-font-family);
|
|
@@ -863,12 +863,12 @@ const typography$2 = i$1`
|
|
|
863
863
|
}
|
|
864
864
|
`;
|
|
865
865
|
|
|
866
|
-
registerStyles('', typography$
|
|
867
|
-
addLumoGlobalStyles$
|
|
866
|
+
registerStyles('', typography$1, { moduleId: 'lumo-typography' });
|
|
867
|
+
addLumoGlobalStyles$1('typography-props', font$1);
|
|
868
868
|
|
|
869
869
|
registerStyles(
|
|
870
870
|
'vaadin-input-container',
|
|
871
|
-
i$
|
|
871
|
+
i$9`
|
|
872
872
|
:host {
|
|
873
873
|
background-color: var(--lumo-contrast-10pct);
|
|
874
874
|
padding: 0 calc(0.375em + var(--_input-container-radius) / 4 - 1px);
|
|
@@ -8370,19 +8370,19 @@ defineCustomElement(InputContainer);
|
|
|
8370
8370
|
*
|
|
8371
8371
|
* @private
|
|
8372
8372
|
*/
|
|
8373
|
-
class Lumo
|
|
8373
|
+
class Lumo extends HTMLElement {
|
|
8374
8374
|
static get is() {
|
|
8375
8375
|
return 'vaadin-lumo-styles';
|
|
8376
8376
|
}
|
|
8377
8377
|
|
|
8378
8378
|
static get version() {
|
|
8379
|
-
return '24.2.
|
|
8379
|
+
return '24.2.9';
|
|
8380
8380
|
}
|
|
8381
8381
|
}
|
|
8382
8382
|
|
|
8383
|
-
defineCustomElement(Lumo
|
|
8383
|
+
defineCustomElement(Lumo);
|
|
8384
8384
|
|
|
8385
|
-
const addLumoGlobalStyles
|
|
8385
|
+
const addLumoGlobalStyles = (id, ...styles) => {
|
|
8386
8386
|
addGlobalThemeStyles(`lumo-${id}`, styles);
|
|
8387
8387
|
};
|
|
8388
8388
|
|
|
@@ -8392,7 +8392,7 @@ const addLumoGlobalStyles$1 = (id, ...styles) => {
|
|
|
8392
8392
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8393
8393
|
*/
|
|
8394
8394
|
|
|
8395
|
-
const sizing
|
|
8395
|
+
const sizing = i$9`
|
|
8396
8396
|
:host {
|
|
8397
8397
|
--lumo-size-xs: 1.625rem;
|
|
8398
8398
|
--lumo-size-s: 1.875rem;
|
|
@@ -8409,7 +8409,7 @@ const sizing$1 = i$1`
|
|
|
8409
8409
|
}
|
|
8410
8410
|
`;
|
|
8411
8411
|
|
|
8412
|
-
addLumoGlobalStyles
|
|
8412
|
+
addLumoGlobalStyles('sizing-props', sizing);
|
|
8413
8413
|
|
|
8414
8414
|
/**
|
|
8415
8415
|
* @license
|
|
@@ -8417,7 +8417,7 @@ addLumoGlobalStyles$1('sizing-props', sizing$1);
|
|
|
8417
8417
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8418
8418
|
*/
|
|
8419
8419
|
|
|
8420
|
-
const spacing
|
|
8420
|
+
const spacing = i$9`
|
|
8421
8421
|
:host {
|
|
8422
8422
|
/* Square */
|
|
8423
8423
|
--lumo-space-xs: 0.25rem;
|
|
@@ -8442,7 +8442,7 @@ const spacing$1 = i$1`
|
|
|
8442
8442
|
}
|
|
8443
8443
|
`;
|
|
8444
8444
|
|
|
8445
|
-
addLumoGlobalStyles
|
|
8445
|
+
addLumoGlobalStyles('spacing-props', spacing);
|
|
8446
8446
|
|
|
8447
8447
|
/**
|
|
8448
8448
|
* @license
|
|
@@ -8450,7 +8450,7 @@ addLumoGlobalStyles$1('spacing-props', spacing$1);
|
|
|
8450
8450
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8451
8451
|
*/
|
|
8452
8452
|
|
|
8453
|
-
const style
|
|
8453
|
+
const style = i$9`
|
|
8454
8454
|
:host {
|
|
8455
8455
|
/* Border radius */
|
|
8456
8456
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -8472,7 +8472,7 @@ const style$1 = i$1`
|
|
|
8472
8472
|
/**
|
|
8473
8473
|
* Default values for component-specific custom properties.
|
|
8474
8474
|
*/
|
|
8475
|
-
i$
|
|
8475
|
+
i$9`
|
|
8476
8476
|
html {
|
|
8477
8477
|
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
|
|
8478
8478
|
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
|
|
@@ -8480,7 +8480,7 @@ i$1`
|
|
|
8480
8480
|
}
|
|
8481
8481
|
`;
|
|
8482
8482
|
|
|
8483
|
-
addLumoGlobalStyles
|
|
8483
|
+
addLumoGlobalStyles('style-props', style);
|
|
8484
8484
|
|
|
8485
8485
|
/**
|
|
8486
8486
|
* @license
|
|
@@ -8488,7 +8488,7 @@ addLumoGlobalStyles$1('style-props', style$1);
|
|
|
8488
8488
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8489
8489
|
*/
|
|
8490
8490
|
|
|
8491
|
-
const colorBase
|
|
8491
|
+
const colorBase = i$9`
|
|
8492
8492
|
:host {
|
|
8493
8493
|
/* Base (background) */
|
|
8494
8494
|
--lumo-base-color: #fff;
|
|
@@ -8575,9 +8575,9 @@ const colorBase$1 = i$1`
|
|
|
8575
8575
|
}
|
|
8576
8576
|
`;
|
|
8577
8577
|
|
|
8578
|
-
addLumoGlobalStyles
|
|
8578
|
+
addLumoGlobalStyles('color-props', colorBase);
|
|
8579
8579
|
|
|
8580
|
-
const color
|
|
8580
|
+
const color = i$9`
|
|
8581
8581
|
[theme~='dark'] {
|
|
8582
8582
|
/* Base (background) */
|
|
8583
8583
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -8694,7 +8694,7 @@ const color$1 = i$1`
|
|
|
8694
8694
|
}
|
|
8695
8695
|
`;
|
|
8696
8696
|
|
|
8697
|
-
registerStyles('', color
|
|
8697
|
+
registerStyles('', color, { moduleId: 'lumo-color' });
|
|
8698
8698
|
|
|
8699
8699
|
/**
|
|
8700
8700
|
* @license
|
|
@@ -8702,7 +8702,7 @@ registerStyles('', color$1, { moduleId: 'lumo-color' });
|
|
|
8702
8702
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8703
8703
|
*/
|
|
8704
8704
|
|
|
8705
|
-
const font
|
|
8705
|
+
const font = i$9`
|
|
8706
8706
|
:host {
|
|
8707
8707
|
/* prettier-ignore */
|
|
8708
8708
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -8724,7 +8724,7 @@ const font$1 = i$1`
|
|
|
8724
8724
|
}
|
|
8725
8725
|
`;
|
|
8726
8726
|
|
|
8727
|
-
const typography
|
|
8727
|
+
const typography = i$9`
|
|
8728
8728
|
body,
|
|
8729
8729
|
:host {
|
|
8730
8730
|
font-family: var(--lumo-font-family);
|
|
@@ -8818,8 +8818,8 @@ const typography$1 = i$1`
|
|
|
8818
8818
|
}
|
|
8819
8819
|
`;
|
|
8820
8820
|
|
|
8821
|
-
registerStyles('', typography
|
|
8822
|
-
addLumoGlobalStyles
|
|
8821
|
+
registerStyles('', typography, { moduleId: 'lumo-typography' });
|
|
8822
|
+
addLumoGlobalStyles('typography-props', font);
|
|
8823
8823
|
|
|
8824
8824
|
/**
|
|
8825
8825
|
* @license
|
|
@@ -8827,7 +8827,7 @@ addLumoGlobalStyles$1('typography-props', font$1);
|
|
|
8827
8827
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8828
8828
|
*/
|
|
8829
8829
|
|
|
8830
|
-
const overlay = i$
|
|
8830
|
+
const overlay = i$9`
|
|
8831
8831
|
:host {
|
|
8832
8832
|
top: var(--lumo-space-m);
|
|
8833
8833
|
right: var(--lumo-space-m);
|
|
@@ -8900,7 +8900,7 @@ registerStyles('', overlay, { moduleId: 'lumo-overlay' });
|
|
|
8900
8900
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8901
8901
|
*/
|
|
8902
8902
|
|
|
8903
|
-
const menuOverlayCore = i$
|
|
8903
|
+
const menuOverlayCore = i$9`
|
|
8904
8904
|
:host([opening]),
|
|
8905
8905
|
:host([closing]) {
|
|
8906
8906
|
animation: 0.14s lumo-overlay-dummy-animation;
|
|
@@ -8934,7 +8934,7 @@ const menuOverlayCore = i$1`
|
|
|
8934
8934
|
|
|
8935
8935
|
registerStyles('', menuOverlayCore, { moduleId: 'lumo-menu-overlay-core' });
|
|
8936
8936
|
|
|
8937
|
-
const menuOverlayExt = i$
|
|
8937
|
+
const menuOverlayExt = i$9`
|
|
8938
8938
|
/* Small viewport (bottom sheet) styles */
|
|
8939
8939
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
8940
8940
|
@media (max-width: 420px), (max-height: 420px) {
|
|
@@ -8958,568 +8958,105 @@ const menuOverlayExt = i$1`
|
|
|
8958
8958
|
[part='content'] {
|
|
8959
8959
|
padding: 30px var(--lumo-space-m);
|
|
8960
8960
|
max-height: inherit;
|
|
8961
|
-
box-sizing: border-box;
|
|
8962
|
-
-webkit-overflow-scrolling: touch;
|
|
8963
|
-
overflow: auto;
|
|
8964
|
-
-webkit-mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);
|
|
8965
|
-
mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);
|
|
8966
|
-
}
|
|
8967
|
-
|
|
8968
|
-
[part='backdrop'] {
|
|
8969
|
-
display: block;
|
|
8970
|
-
}
|
|
8971
|
-
|
|
8972
|
-
/* Animations */
|
|
8973
|
-
|
|
8974
|
-
:host([opening]) [part='overlay'] {
|
|
8975
|
-
animation: 0.2s lumo-mobile-menu-overlay-enter cubic-bezier(0.215, 0.61, 0.355, 1) both;
|
|
8976
|
-
}
|
|
8977
|
-
|
|
8978
|
-
:host([closing]),
|
|
8979
|
-
:host([closing]) [part='backdrop'] {
|
|
8980
|
-
animation-delay: 0.14s;
|
|
8981
|
-
}
|
|
8982
|
-
|
|
8983
|
-
:host([closing]) [part='overlay'] {
|
|
8984
|
-
animation: 0.14s 0.14s lumo-mobile-menu-overlay-exit cubic-bezier(0.55, 0.055, 0.675, 0.19) both;
|
|
8985
|
-
}
|
|
8986
|
-
}
|
|
8987
|
-
|
|
8988
|
-
@keyframes lumo-mobile-menu-overlay-enter {
|
|
8989
|
-
0% {
|
|
8990
|
-
transform: translateY(150%);
|
|
8991
|
-
}
|
|
8992
|
-
}
|
|
8993
|
-
|
|
8994
|
-
@keyframes lumo-mobile-menu-overlay-exit {
|
|
8995
|
-
100% {
|
|
8996
|
-
transform: translateY(150%);
|
|
8997
|
-
}
|
|
8998
|
-
}
|
|
8999
|
-
`;
|
|
9000
|
-
|
|
9001
|
-
const menuOverlay = [overlay, menuOverlayCore, menuOverlayExt];
|
|
9002
|
-
|
|
9003
|
-
registerStyles('', menuOverlay, { moduleId: 'lumo-menu-overlay' });
|
|
9004
|
-
|
|
9005
|
-
const datePickerOverlay = i$1`
|
|
9006
|
-
[part='overlay'] {
|
|
9007
|
-
/*
|
|
9008
|
-
Width:
|
|
9009
|
-
date cell widths
|
|
9010
|
-
+ month calendar side padding
|
|
9011
|
-
+ year scroller width
|
|
9012
|
-
*/
|
|
9013
|
-
/* prettier-ignore */
|
|
9014
|
-
width:
|
|
9015
|
-
calc(
|
|
9016
|
-
var(--lumo-size-m) * 7
|
|
9017
|
-
+ var(--lumo-space-xs) * 2
|
|
9018
|
-
+ 57px
|
|
9019
|
-
);
|
|
9020
|
-
height: 100%;
|
|
9021
|
-
max-height: calc(var(--lumo-size-m) * 14);
|
|
9022
|
-
overflow: hidden;
|
|
9023
|
-
-webkit-tap-highlight-color: transparent;
|
|
9024
|
-
}
|
|
9025
|
-
|
|
9026
|
-
[part='overlay'] {
|
|
9027
|
-
flex-direction: column;
|
|
9028
|
-
}
|
|
9029
|
-
|
|
9030
|
-
[part='content'] {
|
|
9031
|
-
padding: 0;
|
|
9032
|
-
height: 100%;
|
|
9033
|
-
overflow: hidden;
|
|
9034
|
-
-webkit-mask-image: none;
|
|
9035
|
-
mask-image: none;
|
|
9036
|
-
}
|
|
9037
|
-
|
|
9038
|
-
:host([top-aligned]) [part~='overlay'] {
|
|
9039
|
-
margin-top: var(--lumo-space-xs);
|
|
9040
|
-
}
|
|
9041
|
-
|
|
9042
|
-
:host([bottom-aligned]) [part~='overlay'] {
|
|
9043
|
-
margin-bottom: var(--lumo-space-xs);
|
|
9044
|
-
}
|
|
9045
|
-
|
|
9046
|
-
@media (max-width: 420px), (max-height: 420px) {
|
|
9047
|
-
[part='overlay'] {
|
|
9048
|
-
width: 100vw;
|
|
9049
|
-
height: 70vh;
|
|
9050
|
-
max-height: 70vh;
|
|
9051
|
-
}
|
|
9052
|
-
}
|
|
9053
|
-
`;
|
|
9054
|
-
|
|
9055
|
-
registerStyles('vaadin-date-picker-overlay', [menuOverlay, datePickerOverlay], {
|
|
9056
|
-
moduleId: 'lumo-date-picker-overlay',
|
|
9057
|
-
});
|
|
9058
|
-
|
|
9059
|
-
/**
|
|
9060
|
-
* @license
|
|
9061
|
-
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
9062
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9063
|
-
*/
|
|
9064
|
-
|
|
9065
|
-
/**
|
|
9066
|
-
* Dummy custom element used for collecting
|
|
9067
|
-
* development time usage statistics.
|
|
9068
|
-
*
|
|
9069
|
-
* @private
|
|
9070
|
-
*/
|
|
9071
|
-
class Lumo extends HTMLElement {
|
|
9072
|
-
static get is() {
|
|
9073
|
-
return 'vaadin-lumo-styles';
|
|
9074
|
-
}
|
|
9075
|
-
|
|
9076
|
-
static get version() {
|
|
9077
|
-
return '24.2.9';
|
|
9078
|
-
}
|
|
9079
|
-
}
|
|
9080
|
-
|
|
9081
|
-
defineCustomElement(Lumo);
|
|
9082
|
-
|
|
9083
|
-
const addLumoGlobalStyles = (id, ...styles) => {
|
|
9084
|
-
addGlobalThemeStyles(`lumo-${id}`, styles);
|
|
9085
|
-
};
|
|
9086
|
-
|
|
9087
|
-
/**
|
|
9088
|
-
* @license
|
|
9089
|
-
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
9090
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9091
|
-
*/
|
|
9092
|
-
|
|
9093
|
-
const colorBase = i$1`
|
|
9094
|
-
:host {
|
|
9095
|
-
/* Base (background) */
|
|
9096
|
-
--lumo-base-color: #fff;
|
|
9097
|
-
|
|
9098
|
-
/* Tint */
|
|
9099
|
-
--lumo-tint-5pct: hsla(0, 0%, 100%, 0.3);
|
|
9100
|
-
--lumo-tint-10pct: hsla(0, 0%, 100%, 0.37);
|
|
9101
|
-
--lumo-tint-20pct: hsla(0, 0%, 100%, 0.44);
|
|
9102
|
-
--lumo-tint-30pct: hsla(0, 0%, 100%, 0.5);
|
|
9103
|
-
--lumo-tint-40pct: hsla(0, 0%, 100%, 0.57);
|
|
9104
|
-
--lumo-tint-50pct: hsla(0, 0%, 100%, 0.64);
|
|
9105
|
-
--lumo-tint-60pct: hsla(0, 0%, 100%, 0.7);
|
|
9106
|
-
--lumo-tint-70pct: hsla(0, 0%, 100%, 0.77);
|
|
9107
|
-
--lumo-tint-80pct: hsla(0, 0%, 100%, 0.84);
|
|
9108
|
-
--lumo-tint-90pct: hsla(0, 0%, 100%, 0.9);
|
|
9109
|
-
--lumo-tint: #fff;
|
|
9110
|
-
|
|
9111
|
-
/* Shade */
|
|
9112
|
-
--lumo-shade-5pct: hsla(214, 61%, 25%, 0.05);
|
|
9113
|
-
--lumo-shade-10pct: hsla(214, 57%, 24%, 0.1);
|
|
9114
|
-
--lumo-shade-20pct: hsla(214, 53%, 23%, 0.16);
|
|
9115
|
-
--lumo-shade-30pct: hsla(214, 50%, 22%, 0.26);
|
|
9116
|
-
--lumo-shade-40pct: hsla(214, 47%, 21%, 0.38);
|
|
9117
|
-
--lumo-shade-50pct: hsla(214, 45%, 20%, 0.52);
|
|
9118
|
-
--lumo-shade-60pct: hsla(214, 43%, 19%, 0.6);
|
|
9119
|
-
--lumo-shade-70pct: hsla(214, 42%, 18%, 0.69);
|
|
9120
|
-
--lumo-shade-80pct: hsla(214, 41%, 17%, 0.83);
|
|
9121
|
-
--lumo-shade-90pct: hsla(214, 40%, 16%, 0.94);
|
|
9122
|
-
--lumo-shade: hsl(214, 35%, 15%);
|
|
9123
|
-
|
|
9124
|
-
/* Contrast */
|
|
9125
|
-
--lumo-contrast-5pct: var(--lumo-shade-5pct);
|
|
9126
|
-
--lumo-contrast-10pct: var(--lumo-shade-10pct);
|
|
9127
|
-
--lumo-contrast-20pct: var(--lumo-shade-20pct);
|
|
9128
|
-
--lumo-contrast-30pct: var(--lumo-shade-30pct);
|
|
9129
|
-
--lumo-contrast-40pct: var(--lumo-shade-40pct);
|
|
9130
|
-
--lumo-contrast-50pct: var(--lumo-shade-50pct);
|
|
9131
|
-
--lumo-contrast-60pct: var(--lumo-shade-60pct);
|
|
9132
|
-
--lumo-contrast-70pct: var(--lumo-shade-70pct);
|
|
9133
|
-
--lumo-contrast-80pct: var(--lumo-shade-80pct);
|
|
9134
|
-
--lumo-contrast-90pct: var(--lumo-shade-90pct);
|
|
9135
|
-
--lumo-contrast: var(--lumo-shade);
|
|
9136
|
-
|
|
9137
|
-
/* Text */
|
|
9138
|
-
--lumo-header-text-color: var(--lumo-contrast);
|
|
9139
|
-
--lumo-body-text-color: var(--lumo-contrast-90pct);
|
|
9140
|
-
--lumo-secondary-text-color: var(--lumo-contrast-70pct);
|
|
9141
|
-
--lumo-tertiary-text-color: var(--lumo-contrast-50pct);
|
|
9142
|
-
--lumo-disabled-text-color: var(--lumo-contrast-30pct);
|
|
9143
|
-
|
|
9144
|
-
/* Primary */
|
|
9145
|
-
--lumo-primary-color: hsl(214, 100%, 48%);
|
|
9146
|
-
--lumo-primary-color-50pct: hsla(214, 100%, 49%, 0.76);
|
|
9147
|
-
--lumo-primary-color-10pct: hsla(214, 100%, 60%, 0.13);
|
|
9148
|
-
--lumo-primary-text-color: hsl(214, 100%, 43%);
|
|
9149
|
-
--lumo-primary-contrast-color: #fff;
|
|
9150
|
-
|
|
9151
|
-
/* Error */
|
|
9152
|
-
--lumo-error-color: hsl(3, 85%, 48%);
|
|
9153
|
-
--lumo-error-color-50pct: hsla(3, 85%, 49%, 0.5);
|
|
9154
|
-
--lumo-error-color-10pct: hsla(3, 85%, 49%, 0.1);
|
|
9155
|
-
--lumo-error-text-color: hsl(3, 89%, 42%);
|
|
9156
|
-
--lumo-error-contrast-color: #fff;
|
|
9157
|
-
|
|
9158
|
-
/* Success */
|
|
9159
|
-
--lumo-success-color: hsl(145, 72%, 30%);
|
|
9160
|
-
--lumo-success-color-50pct: hsla(145, 72%, 31%, 0.5);
|
|
9161
|
-
--lumo-success-color-10pct: hsla(145, 72%, 31%, 0.1);
|
|
9162
|
-
--lumo-success-text-color: hsl(145, 85%, 25%);
|
|
9163
|
-
--lumo-success-contrast-color: #fff;
|
|
9164
|
-
|
|
9165
|
-
/* Warning */
|
|
9166
|
-
--lumo-warning-color: hsl(48, 100%, 50%);
|
|
9167
|
-
--lumo-warning-color-10pct: hsla(48, 100%, 50%, 0.25);
|
|
9168
|
-
--lumo-warning-text-color: hsl(32, 100%, 30%);
|
|
9169
|
-
--lumo-warning-contrast-color: var(--lumo-shade-90pct);
|
|
9170
|
-
}
|
|
9171
|
-
|
|
9172
|
-
/* forced-colors mode adjustments */
|
|
9173
|
-
@media (forced-colors: active) {
|
|
9174
|
-
html {
|
|
9175
|
-
--lumo-disabled-text-color: GrayText;
|
|
9176
|
-
}
|
|
9177
|
-
}
|
|
9178
|
-
`;
|
|
9179
|
-
|
|
9180
|
-
addLumoGlobalStyles('color-props', colorBase);
|
|
9181
|
-
|
|
9182
|
-
const color = i$1`
|
|
9183
|
-
[theme~='dark'] {
|
|
9184
|
-
/* Base (background) */
|
|
9185
|
-
--lumo-base-color: hsl(214, 35%, 21%);
|
|
9186
|
-
|
|
9187
|
-
/* Tint */
|
|
9188
|
-
--lumo-tint-5pct: hsla(214, 65%, 85%, 0.06);
|
|
9189
|
-
--lumo-tint-10pct: hsla(214, 60%, 80%, 0.14);
|
|
9190
|
-
--lumo-tint-20pct: hsla(214, 64%, 82%, 0.23);
|
|
9191
|
-
--lumo-tint-30pct: hsla(214, 69%, 84%, 0.32);
|
|
9192
|
-
--lumo-tint-40pct: hsla(214, 73%, 86%, 0.41);
|
|
9193
|
-
--lumo-tint-50pct: hsla(214, 78%, 88%, 0.5);
|
|
9194
|
-
--lumo-tint-60pct: hsla(214, 82%, 90%, 0.58);
|
|
9195
|
-
--lumo-tint-70pct: hsla(214, 87%, 92%, 0.69);
|
|
9196
|
-
--lumo-tint-80pct: hsla(214, 91%, 94%, 0.8);
|
|
9197
|
-
--lumo-tint-90pct: hsla(214, 96%, 96%, 0.9);
|
|
9198
|
-
--lumo-tint: hsl(214, 100%, 98%);
|
|
9199
|
-
|
|
9200
|
-
/* Shade */
|
|
9201
|
-
--lumo-shade-5pct: hsla(214, 0%, 0%, 0.07);
|
|
9202
|
-
--lumo-shade-10pct: hsla(214, 4%, 2%, 0.15);
|
|
9203
|
-
--lumo-shade-20pct: hsla(214, 8%, 4%, 0.23);
|
|
9204
|
-
--lumo-shade-30pct: hsla(214, 12%, 6%, 0.32);
|
|
9205
|
-
--lumo-shade-40pct: hsla(214, 16%, 8%, 0.41);
|
|
9206
|
-
--lumo-shade-50pct: hsla(214, 20%, 10%, 0.5);
|
|
9207
|
-
--lumo-shade-60pct: hsla(214, 24%, 12%, 0.6);
|
|
9208
|
-
--lumo-shade-70pct: hsla(214, 28%, 13%, 0.7);
|
|
9209
|
-
--lumo-shade-80pct: hsla(214, 32%, 13%, 0.8);
|
|
9210
|
-
--lumo-shade-90pct: hsla(214, 33%, 13%, 0.9);
|
|
9211
|
-
--lumo-shade: hsl(214, 33%, 13%);
|
|
9212
|
-
|
|
9213
|
-
/* Contrast */
|
|
9214
|
-
--lumo-contrast-5pct: var(--lumo-tint-5pct);
|
|
9215
|
-
--lumo-contrast-10pct: var(--lumo-tint-10pct);
|
|
9216
|
-
--lumo-contrast-20pct: var(--lumo-tint-20pct);
|
|
9217
|
-
--lumo-contrast-30pct: var(--lumo-tint-30pct);
|
|
9218
|
-
--lumo-contrast-40pct: var(--lumo-tint-40pct);
|
|
9219
|
-
--lumo-contrast-50pct: var(--lumo-tint-50pct);
|
|
9220
|
-
--lumo-contrast-60pct: var(--lumo-tint-60pct);
|
|
9221
|
-
--lumo-contrast-70pct: var(--lumo-tint-70pct);
|
|
9222
|
-
--lumo-contrast-80pct: var(--lumo-tint-80pct);
|
|
9223
|
-
--lumo-contrast-90pct: var(--lumo-tint-90pct);
|
|
9224
|
-
--lumo-contrast: var(--lumo-tint);
|
|
9225
|
-
|
|
9226
|
-
/* Text */
|
|
9227
|
-
--lumo-header-text-color: var(--lumo-contrast);
|
|
9228
|
-
--lumo-body-text-color: var(--lumo-contrast-90pct);
|
|
9229
|
-
--lumo-secondary-text-color: var(--lumo-contrast-70pct);
|
|
9230
|
-
--lumo-tertiary-text-color: var(--lumo-contrast-50pct);
|
|
9231
|
-
--lumo-disabled-text-color: var(--lumo-contrast-30pct);
|
|
9232
|
-
|
|
9233
|
-
/* Primary */
|
|
9234
|
-
--lumo-primary-color: hsl(214, 90%, 48%);
|
|
9235
|
-
--lumo-primary-color-50pct: hsla(214, 90%, 70%, 0.69);
|
|
9236
|
-
--lumo-primary-color-10pct: hsla(214, 90%, 55%, 0.13);
|
|
9237
|
-
--lumo-primary-text-color: hsl(214, 90%, 77%);
|
|
9238
|
-
--lumo-primary-contrast-color: #fff;
|
|
9239
|
-
|
|
9240
|
-
/* Error */
|
|
9241
|
-
--lumo-error-color: hsl(3, 79%, 49%);
|
|
9242
|
-
--lumo-error-color-50pct: hsla(3, 75%, 62%, 0.5);
|
|
9243
|
-
--lumo-error-color-10pct: hsla(3, 75%, 62%, 0.14);
|
|
9244
|
-
--lumo-error-text-color: hsl(3, 100%, 80%);
|
|
9245
|
-
|
|
9246
|
-
/* Success */
|
|
9247
|
-
--lumo-success-color: hsl(145, 72%, 30%);
|
|
9248
|
-
--lumo-success-color-50pct: hsla(145, 92%, 51%, 0.5);
|
|
9249
|
-
--lumo-success-color-10pct: hsla(145, 92%, 51%, 0.1);
|
|
9250
|
-
--lumo-success-text-color: hsl(145, 85%, 46%);
|
|
9251
|
-
|
|
9252
|
-
/* Warning */
|
|
9253
|
-
--lumo-warning-color: hsl(43, 100%, 48%);
|
|
9254
|
-
--lumo-warning-color-10pct: hsla(40, 100%, 50%, 0.2);
|
|
9255
|
-
--lumo-warning-text-color: hsl(45, 100%, 60%);
|
|
9256
|
-
--lumo-warning-contrast-color: var(--lumo-shade-90pct);
|
|
9257
|
-
}
|
|
9258
|
-
|
|
9259
|
-
html {
|
|
9260
|
-
color: var(--lumo-body-text-color);
|
|
9261
|
-
background-color: var(--lumo-base-color);
|
|
9262
|
-
color-scheme: light;
|
|
9263
|
-
}
|
|
9264
|
-
|
|
9265
|
-
[theme~='dark'] {
|
|
9266
|
-
color: var(--lumo-body-text-color);
|
|
9267
|
-
background-color: var(--lumo-base-color);
|
|
9268
|
-
color-scheme: dark;
|
|
9269
|
-
}
|
|
9270
|
-
|
|
9271
|
-
h1,
|
|
9272
|
-
h2,
|
|
9273
|
-
h3,
|
|
9274
|
-
h4,
|
|
9275
|
-
h5,
|
|
9276
|
-
h6 {
|
|
9277
|
-
color: var(--lumo-header-text-color);
|
|
9278
|
-
}
|
|
9279
|
-
|
|
9280
|
-
a:where(:any-link) {
|
|
9281
|
-
color: var(--lumo-primary-text-color);
|
|
9282
|
-
}
|
|
9283
|
-
|
|
9284
|
-
a:not(:any-link) {
|
|
9285
|
-
color: var(--lumo-disabled-text-color);
|
|
9286
|
-
}
|
|
9287
|
-
|
|
9288
|
-
blockquote {
|
|
9289
|
-
color: var(--lumo-secondary-text-color);
|
|
9290
|
-
}
|
|
9291
|
-
|
|
9292
|
-
code,
|
|
9293
|
-
pre {
|
|
9294
|
-
background-color: var(--lumo-contrast-10pct);
|
|
9295
|
-
border-radius: var(--lumo-border-radius-m);
|
|
9296
|
-
}
|
|
9297
|
-
`;
|
|
9298
|
-
|
|
9299
|
-
registerStyles('', color, { moduleId: 'lumo-color' });
|
|
9300
|
-
|
|
9301
|
-
/**
|
|
9302
|
-
* @license
|
|
9303
|
-
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
9304
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9305
|
-
*/
|
|
9306
|
-
|
|
9307
|
-
const sizing = i$1`
|
|
9308
|
-
:host {
|
|
9309
|
-
--lumo-size-xs: 1.625rem;
|
|
9310
|
-
--lumo-size-s: 1.875rem;
|
|
9311
|
-
--lumo-size-m: 2.25rem;
|
|
9312
|
-
--lumo-size-l: 2.75rem;
|
|
9313
|
-
--lumo-size-xl: 3.5rem;
|
|
9314
|
-
|
|
9315
|
-
/* Icons */
|
|
9316
|
-
--lumo-icon-size-s: 1.25em;
|
|
9317
|
-
--lumo-icon-size-m: 1.5em;
|
|
9318
|
-
--lumo-icon-size-l: 2.25em;
|
|
9319
|
-
/* For backwards compatibility */
|
|
9320
|
-
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
9321
|
-
}
|
|
9322
|
-
`;
|
|
9323
|
-
|
|
9324
|
-
addLumoGlobalStyles('sizing-props', sizing);
|
|
9325
|
-
|
|
9326
|
-
/**
|
|
9327
|
-
* @license
|
|
9328
|
-
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
9329
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9330
|
-
*/
|
|
9331
|
-
|
|
9332
|
-
const spacing = i$1`
|
|
9333
|
-
:host {
|
|
9334
|
-
/* Square */
|
|
9335
|
-
--lumo-space-xs: 0.25rem;
|
|
9336
|
-
--lumo-space-s: 0.5rem;
|
|
9337
|
-
--lumo-space-m: 1rem;
|
|
9338
|
-
--lumo-space-l: 1.5rem;
|
|
9339
|
-
--lumo-space-xl: 2.5rem;
|
|
9340
|
-
|
|
9341
|
-
/* Wide */
|
|
9342
|
-
--lumo-space-wide-xs: calc(var(--lumo-space-xs) / 2) var(--lumo-space-xs);
|
|
9343
|
-
--lumo-space-wide-s: calc(var(--lumo-space-s) / 2) var(--lumo-space-s);
|
|
9344
|
-
--lumo-space-wide-m: calc(var(--lumo-space-m) / 2) var(--lumo-space-m);
|
|
9345
|
-
--lumo-space-wide-l: calc(var(--lumo-space-l) / 2) var(--lumo-space-l);
|
|
9346
|
-
--lumo-space-wide-xl: calc(var(--lumo-space-xl) / 2) var(--lumo-space-xl);
|
|
9347
|
-
|
|
9348
|
-
/* Tall */
|
|
9349
|
-
--lumo-space-tall-xs: var(--lumo-space-xs) calc(var(--lumo-space-xs) / 2);
|
|
9350
|
-
--lumo-space-tall-s: var(--lumo-space-s) calc(var(--lumo-space-s) / 2);
|
|
9351
|
-
--lumo-space-tall-m: var(--lumo-space-m) calc(var(--lumo-space-m) / 2);
|
|
9352
|
-
--lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);
|
|
9353
|
-
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
9354
|
-
}
|
|
9355
|
-
`;
|
|
9356
|
-
|
|
9357
|
-
addLumoGlobalStyles('spacing-props', spacing);
|
|
9358
|
-
|
|
9359
|
-
/**
|
|
9360
|
-
* @license
|
|
9361
|
-
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
9362
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9363
|
-
*/
|
|
9364
|
-
|
|
9365
|
-
const style = i$1`
|
|
9366
|
-
:host {
|
|
9367
|
-
/* Border radius */
|
|
9368
|
-
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
9369
|
-
--lumo-border-radius-m: var(--lumo-border-radius, 0.25em); /* Button, text field, menu overlay, etc */
|
|
9370
|
-
--lumo-border-radius-l: 0.5em; /* Dialog, notification, etc */
|
|
9371
|
-
|
|
9372
|
-
/* Shadow */
|
|
9373
|
-
--lumo-box-shadow-xs: 0 1px 4px -1px var(--lumo-shade-50pct);
|
|
9374
|
-
--lumo-box-shadow-s: 0 2px 4px -1px var(--lumo-shade-20pct), 0 3px 12px -1px var(--lumo-shade-30pct);
|
|
9375
|
-
--lumo-box-shadow-m: 0 2px 6px -1px var(--lumo-shade-20pct), 0 8px 24px -4px var(--lumo-shade-40pct);
|
|
9376
|
-
--lumo-box-shadow-l: 0 3px 18px -2px var(--lumo-shade-20pct), 0 12px 48px -6px var(--lumo-shade-40pct);
|
|
9377
|
-
--lumo-box-shadow-xl: 0 4px 24px -3px var(--lumo-shade-20pct), 0 18px 64px -8px var(--lumo-shade-40pct);
|
|
9378
|
-
|
|
9379
|
-
/* Clickable element cursor */
|
|
9380
|
-
--lumo-clickable-cursor: default;
|
|
9381
|
-
}
|
|
9382
|
-
`;
|
|
9383
|
-
|
|
9384
|
-
/**
|
|
9385
|
-
* Default values for component-specific custom properties.
|
|
9386
|
-
*/
|
|
9387
|
-
i$1`
|
|
9388
|
-
html {
|
|
9389
|
-
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
|
|
9390
|
-
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
|
|
9391
|
-
--vaadin-input-field-border-radius: var(--lumo-border-radius-m);
|
|
9392
|
-
}
|
|
9393
|
-
`;
|
|
9394
|
-
|
|
9395
|
-
addLumoGlobalStyles('style-props', style);
|
|
9396
|
-
|
|
9397
|
-
/**
|
|
9398
|
-
* @license
|
|
9399
|
-
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
9400
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9401
|
-
*/
|
|
9402
|
-
|
|
9403
|
-
const font = i$1`
|
|
9404
|
-
:host {
|
|
9405
|
-
/* prettier-ignore */
|
|
9406
|
-
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
9407
|
-
|
|
9408
|
-
/* Font sizes */
|
|
9409
|
-
--lumo-font-size-xxs: 0.75rem;
|
|
9410
|
-
--lumo-font-size-xs: 0.8125rem;
|
|
9411
|
-
--lumo-font-size-s: 0.875rem;
|
|
9412
|
-
--lumo-font-size-m: 1rem;
|
|
9413
|
-
--lumo-font-size-l: 1.125rem;
|
|
9414
|
-
--lumo-font-size-xl: 1.375rem;
|
|
9415
|
-
--lumo-font-size-xxl: 1.75rem;
|
|
9416
|
-
--lumo-font-size-xxxl: 2.5rem;
|
|
9417
|
-
|
|
9418
|
-
/* Line heights */
|
|
9419
|
-
--lumo-line-height-xs: 1.25;
|
|
9420
|
-
--lumo-line-height-s: 1.375;
|
|
9421
|
-
--lumo-line-height-m: 1.625;
|
|
9422
|
-
}
|
|
9423
|
-
`;
|
|
9424
|
-
|
|
9425
|
-
const typography = i$1`
|
|
9426
|
-
body,
|
|
9427
|
-
:host {
|
|
9428
|
-
font-family: var(--lumo-font-family);
|
|
9429
|
-
font-size: var(--lumo-font-size-m);
|
|
9430
|
-
line-height: var(--lumo-line-height-m);
|
|
9431
|
-
-webkit-text-size-adjust: 100%;
|
|
9432
|
-
-webkit-font-smoothing: antialiased;
|
|
9433
|
-
-moz-osx-font-smoothing: grayscale;
|
|
9434
|
-
}
|
|
9435
|
-
|
|
9436
|
-
small,
|
|
9437
|
-
[theme~='font-size-s'] {
|
|
9438
|
-
font-size: var(--lumo-font-size-s);
|
|
9439
|
-
line-height: var(--lumo-line-height-s);
|
|
9440
|
-
}
|
|
8961
|
+
box-sizing: border-box;
|
|
8962
|
+
-webkit-overflow-scrolling: touch;
|
|
8963
|
+
overflow: auto;
|
|
8964
|
+
-webkit-mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);
|
|
8965
|
+
mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);
|
|
8966
|
+
}
|
|
9441
8967
|
|
|
9442
|
-
|
|
9443
|
-
|
|
9444
|
-
|
|
9445
|
-
}
|
|
8968
|
+
[part='backdrop'] {
|
|
8969
|
+
display: block;
|
|
8970
|
+
}
|
|
9446
8971
|
|
|
9447
|
-
|
|
9448
|
-
font-weight: 600;
|
|
9449
|
-
line-height: var(--lumo-line-height-xs);
|
|
9450
|
-
margin-block: 0;
|
|
9451
|
-
}
|
|
8972
|
+
/* Animations */
|
|
9452
8973
|
|
|
9453
|
-
|
|
9454
|
-
|
|
9455
|
-
|
|
8974
|
+
:host([opening]) [part='overlay'] {
|
|
8975
|
+
animation: 0.2s lumo-mobile-menu-overlay-enter cubic-bezier(0.215, 0.61, 0.355, 1) both;
|
|
8976
|
+
}
|
|
9456
8977
|
|
|
9457
|
-
|
|
9458
|
-
|
|
9459
|
-
|
|
8978
|
+
:host([closing]),
|
|
8979
|
+
:host([closing]) [part='backdrop'] {
|
|
8980
|
+
animation-delay: 0.14s;
|
|
8981
|
+
}
|
|
9460
8982
|
|
|
9461
|
-
|
|
9462
|
-
|
|
8983
|
+
:host([closing]) [part='overlay'] {
|
|
8984
|
+
animation: 0.14s 0.14s lumo-mobile-menu-overlay-exit cubic-bezier(0.55, 0.055, 0.675, 0.19) both;
|
|
8985
|
+
}
|
|
9463
8986
|
}
|
|
9464
8987
|
|
|
9465
|
-
|
|
9466
|
-
|
|
8988
|
+
@keyframes lumo-mobile-menu-overlay-enter {
|
|
8989
|
+
0% {
|
|
8990
|
+
transform: translateY(150%);
|
|
8991
|
+
}
|
|
9467
8992
|
}
|
|
9468
8993
|
|
|
9469
|
-
|
|
9470
|
-
|
|
8994
|
+
@keyframes lumo-mobile-menu-overlay-exit {
|
|
8995
|
+
100% {
|
|
8996
|
+
transform: translateY(150%);
|
|
8997
|
+
}
|
|
9471
8998
|
}
|
|
8999
|
+
`;
|
|
9472
9000
|
|
|
9473
|
-
|
|
9474
|
-
font-size: var(--lumo-font-size-xs);
|
|
9475
|
-
text-transform: uppercase;
|
|
9476
|
-
letter-spacing: 0.03em;
|
|
9477
|
-
}
|
|
9001
|
+
const menuOverlay = [overlay, menuOverlayCore, menuOverlayExt];
|
|
9478
9002
|
|
|
9479
|
-
|
|
9480
|
-
blockquote {
|
|
9481
|
-
margin-top: 0.5em;
|
|
9482
|
-
margin-bottom: 0.75em;
|
|
9483
|
-
}
|
|
9003
|
+
registerStyles('', menuOverlay, { moduleId: 'lumo-menu-overlay' });
|
|
9484
9004
|
|
|
9485
|
-
|
|
9486
|
-
|
|
9005
|
+
const datePickerOverlay = i$9`
|
|
9006
|
+
[part='overlay'] {
|
|
9007
|
+
/*
|
|
9008
|
+
Width:
|
|
9009
|
+
date cell widths
|
|
9010
|
+
+ month calendar side padding
|
|
9011
|
+
+ year scroller width
|
|
9012
|
+
*/
|
|
9013
|
+
/* prettier-ignore */
|
|
9014
|
+
width:
|
|
9015
|
+
calc(
|
|
9016
|
+
var(--lumo-size-m) * 7
|
|
9017
|
+
+ var(--lumo-space-xs) * 2
|
|
9018
|
+
+ 57px
|
|
9019
|
+
);
|
|
9020
|
+
height: 100%;
|
|
9021
|
+
max-height: calc(var(--lumo-size-m) * 14);
|
|
9022
|
+
overflow: hidden;
|
|
9023
|
+
-webkit-tap-highlight-color: transparent;
|
|
9487
9024
|
}
|
|
9488
9025
|
|
|
9489
|
-
|
|
9490
|
-
|
|
9026
|
+
[part='overlay'] {
|
|
9027
|
+
flex-direction: column;
|
|
9491
9028
|
}
|
|
9492
9029
|
|
|
9493
|
-
|
|
9494
|
-
display: block;
|
|
9495
|
-
align-self: stretch;
|
|
9496
|
-
height: 1px;
|
|
9497
|
-
border: 0;
|
|
9030
|
+
[part='content'] {
|
|
9498
9031
|
padding: 0;
|
|
9499
|
-
|
|
9500
|
-
|
|
9032
|
+
height: 100%;
|
|
9033
|
+
overflow: hidden;
|
|
9034
|
+
-webkit-mask-image: none;
|
|
9035
|
+
mask-image: none;
|
|
9501
9036
|
}
|
|
9502
9037
|
|
|
9503
|
-
|
|
9504
|
-
|
|
9038
|
+
:host([top-aligned]) [part~='overlay'] {
|
|
9039
|
+
margin-top: var(--lumo-space-xs);
|
|
9505
9040
|
}
|
|
9506
9041
|
|
|
9507
|
-
|
|
9508
|
-
|
|
9509
|
-
font-weight: 600;
|
|
9042
|
+
:host([bottom-aligned]) [part~='overlay'] {
|
|
9043
|
+
margin-bottom: var(--lumo-space-xs);
|
|
9510
9044
|
}
|
|
9511
9045
|
|
|
9512
|
-
|
|
9513
|
-
|
|
9514
|
-
|
|
9515
|
-
|
|
9046
|
+
@media (max-width: 420px), (max-height: 420px) {
|
|
9047
|
+
[part='overlay'] {
|
|
9048
|
+
width: 100vw;
|
|
9049
|
+
height: 70vh;
|
|
9050
|
+
max-height: 70vh;
|
|
9051
|
+
}
|
|
9516
9052
|
}
|
|
9517
9053
|
`;
|
|
9518
9054
|
|
|
9519
|
-
registerStyles('',
|
|
9520
|
-
|
|
9055
|
+
registerStyles('vaadin-date-picker-overlay', [menuOverlay, datePickerOverlay], {
|
|
9056
|
+
moduleId: 'lumo-date-picker-overlay',
|
|
9057
|
+
});
|
|
9521
9058
|
|
|
9522
|
-
const button = i$
|
|
9059
|
+
const button = i$9`
|
|
9523
9060
|
:host {
|
|
9524
9061
|
/* Sizing */
|
|
9525
9062
|
--lumo-button-size: var(--lumo-size-m);
|
|
@@ -11466,13 +11003,39 @@ class TooltipController extends SlotController {
|
|
|
11466
11003
|
}
|
|
11467
11004
|
}
|
|
11468
11005
|
|
|
11006
|
+
/**
|
|
11007
|
+
* @license
|
|
11008
|
+
* Copyright 2019 Google LLC
|
|
11009
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
11010
|
+
*/
|
|
11011
|
+
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;
|
|
11012
|
+
|
|
11013
|
+
/**
|
|
11014
|
+
* @license
|
|
11015
|
+
* Copyright 2017 Google LLC
|
|
11016
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
11017
|
+
*/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");
|
|
11018
|
+
|
|
11019
|
+
/**
|
|
11020
|
+
* @license
|
|
11021
|
+
* Copyright 2017 Google LLC
|
|
11022
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
11023
|
+
*/
|
|
11024
|
+
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};
|
|
11025
|
+
|
|
11026
|
+
/**
|
|
11027
|
+
* @license
|
|
11028
|
+
* Copyright 2017 Google LLC
|
|
11029
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
11030
|
+
*/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");
|
|
11031
|
+
|
|
11469
11032
|
/**
|
|
11470
11033
|
* @license
|
|
11471
11034
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
11472
11035
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11473
11036
|
*/
|
|
11474
11037
|
|
|
11475
|
-
const buttonStyles = i$
|
|
11038
|
+
const buttonStyles = i$7`
|
|
11476
11039
|
:host {
|
|
11477
11040
|
display: inline-block;
|
|
11478
11041
|
position: relative;
|
|
@@ -13244,7 +12807,7 @@ defineCustomElement(Button);
|
|
|
13244
12807
|
|
|
13245
12808
|
registerStyles(
|
|
13246
12809
|
'vaadin-date-picker-year',
|
|
13247
|
-
i$
|
|
12810
|
+
i$9`
|
|
13248
12811
|
:host([current]) [part='year-number'] {
|
|
13249
12812
|
color: var(--lumo-primary-text-color);
|
|
13250
12813
|
}
|
|
@@ -13274,7 +12837,7 @@ registerStyles(
|
|
|
13274
12837
|
|
|
13275
12838
|
registerStyles(
|
|
13276
12839
|
'vaadin-date-picker-overlay-content',
|
|
13277
|
-
i$
|
|
12840
|
+
i$9`
|
|
13278
12841
|
:host {
|
|
13279
12842
|
position: relative;
|
|
13280
12843
|
/* Background for the year scroller, placed here as we are using a mask image on the actual years part */
|
|
@@ -13430,7 +12993,7 @@ registerStyles(
|
|
|
13430
12993
|
|
|
13431
12994
|
registerStyles(
|
|
13432
12995
|
'vaadin-month-calendar',
|
|
13433
|
-
i$
|
|
12996
|
+
i$9`
|
|
13434
12997
|
:host {
|
|
13435
12998
|
-moz-user-select: none;
|
|
13436
12999
|
-webkit-user-select: none;
|
|
@@ -13594,7 +13157,7 @@ document.head.appendChild(template$1.content);
|
|
|
13594
13157
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13595
13158
|
*/
|
|
13596
13159
|
|
|
13597
|
-
const fontIcons = i$
|
|
13160
|
+
const fontIcons = i$9`
|
|
13598
13161
|
@font-face {
|
|
13599
13162
|
font-family: 'lumo-icons';
|
|
13600
13163
|
src: url(data:application/font-woff;charset=utf-8;base64,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)
|
|
@@ -13649,7 +13212,7 @@ const fontIcons = i$1`
|
|
|
13649
13212
|
}
|
|
13650
13213
|
`;
|
|
13651
13214
|
|
|
13652
|
-
addLumoGlobalStyles
|
|
13215
|
+
addLumoGlobalStyles('font-icons', fontIcons);
|
|
13653
13216
|
|
|
13654
13217
|
/**
|
|
13655
13218
|
* @license
|
|
@@ -13657,7 +13220,7 @@ addLumoGlobalStyles$1('font-icons', fontIcons);
|
|
|
13657
13220
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13658
13221
|
*/
|
|
13659
13222
|
|
|
13660
|
-
const fieldButton = i$
|
|
13223
|
+
const fieldButton = i$9`
|
|
13661
13224
|
[part$='button'] {
|
|
13662
13225
|
flex: none;
|
|
13663
13226
|
width: 1em;
|
|
@@ -13693,7 +13256,7 @@ registerStyles('', fieldButton, { moduleId: 'lumo-field-button' });
|
|
|
13693
13256
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13694
13257
|
*/
|
|
13695
13258
|
|
|
13696
|
-
const helper = i$
|
|
13259
|
+
const helper = i$9`
|
|
13697
13260
|
:host([has-helper]) [part='helper-text']::before {
|
|
13698
13261
|
content: '';
|
|
13699
13262
|
display: block;
|
|
@@ -13752,7 +13315,7 @@ const helper = i$1`
|
|
|
13752
13315
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13753
13316
|
*/
|
|
13754
13317
|
|
|
13755
|
-
const requiredField = i$
|
|
13318
|
+
const requiredField = i$9`
|
|
13756
13319
|
[part='label'] {
|
|
13757
13320
|
align-self: flex-start;
|
|
13758
13321
|
color: var(--lumo-secondary-text-color);
|
|
@@ -13858,7 +13421,7 @@ registerStyles('', requiredField, { moduleId: 'lumo-required-field' });
|
|
|
13858
13421
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13859
13422
|
*/
|
|
13860
13423
|
|
|
13861
|
-
const inputField = i$
|
|
13424
|
+
const inputField = i$9`
|
|
13862
13425
|
:host {
|
|
13863
13426
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
13864
13427
|
color: var(--lumo-body-text-color);
|
|
@@ -14000,7 +13563,7 @@ registerStyles('', inputFieldShared$1, {
|
|
|
14000
13563
|
moduleId: 'lumo-input-field-shared-styles',
|
|
14001
13564
|
});
|
|
14002
13565
|
|
|
14003
|
-
const datePicker = i$
|
|
13566
|
+
const datePicker = i$9`
|
|
14004
13567
|
:host {
|
|
14005
13568
|
outline: none;
|
|
14006
13569
|
}
|
|
@@ -15705,13 +15268,39 @@ const PositionMixin = (superClass) =>
|
|
|
15705
15268
|
}
|
|
15706
15269
|
};
|
|
15707
15270
|
|
|
15271
|
+
/**
|
|
15272
|
+
* @license
|
|
15273
|
+
* Copyright 2019 Google LLC
|
|
15274
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
15275
|
+
*/
|
|
15276
|
+
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;
|
|
15277
|
+
|
|
15278
|
+
/**
|
|
15279
|
+
* @license
|
|
15280
|
+
* Copyright 2017 Google LLC
|
|
15281
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
15282
|
+
*/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");
|
|
15283
|
+
|
|
15284
|
+
/**
|
|
15285
|
+
* @license
|
|
15286
|
+
* Copyright 2017 Google LLC
|
|
15287
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
15288
|
+
*/
|
|
15289
|
+
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};
|
|
15290
|
+
|
|
15291
|
+
/**
|
|
15292
|
+
* @license
|
|
15293
|
+
* Copyright 2017 Google LLC
|
|
15294
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
15295
|
+
*/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");
|
|
15296
|
+
|
|
15708
15297
|
/**
|
|
15709
15298
|
* @license
|
|
15710
15299
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
15711
15300
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15712
15301
|
*/
|
|
15713
15302
|
|
|
15714
|
-
const overlayStyles = i$
|
|
15303
|
+
const overlayStyles = i$5`
|
|
15715
15304
|
:host {
|
|
15716
15305
|
z-index: 200;
|
|
15717
15306
|
position: fixed;
|
|
@@ -15777,7 +15366,7 @@ const overlayStyles = i$1`
|
|
|
15777
15366
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15778
15367
|
*/
|
|
15779
15368
|
|
|
15780
|
-
const datePickerOverlayStyles = i$
|
|
15369
|
+
const datePickerOverlayStyles = i$7`
|
|
15781
15370
|
[part='overlay'] {
|
|
15782
15371
|
display: flex;
|
|
15783
15372
|
flex: auto;
|
|
@@ -18771,7 +18360,7 @@ const MonthCalendarMixin = (superClass) =>
|
|
|
18771
18360
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
18772
18361
|
*/
|
|
18773
18362
|
|
|
18774
|
-
const monthCalendarStyles = i$
|
|
18363
|
+
const monthCalendarStyles = i$7`
|
|
18775
18364
|
:host {
|
|
18776
18365
|
display: block;
|
|
18777
18366
|
}
|
|
@@ -20091,7 +19680,7 @@ const DatePickerOverlayContentMixin = (superClass) =>
|
|
|
20091
19680
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
20092
19681
|
*/
|
|
20093
19682
|
|
|
20094
|
-
const overlayContentStyles = i$
|
|
19683
|
+
const overlayContentStyles = i$7`
|
|
20095
19684
|
:host {
|
|
20096
19685
|
display: flex;
|
|
20097
19686
|
flex-direction: column;
|
|
@@ -22671,6 +22260,32 @@ class LabelledInputController {
|
|
|
22671
22260
|
}
|
|
22672
22261
|
}
|
|
22673
22262
|
|
|
22263
|
+
/**
|
|
22264
|
+
* @license
|
|
22265
|
+
* Copyright 2019 Google LLC
|
|
22266
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
22267
|
+
*/
|
|
22268
|
+
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;
|
|
22269
|
+
|
|
22270
|
+
/**
|
|
22271
|
+
* @license
|
|
22272
|
+
* Copyright 2017 Google LLC
|
|
22273
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
22274
|
+
*/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");
|
|
22275
|
+
|
|
22276
|
+
/**
|
|
22277
|
+
* @license
|
|
22278
|
+
* Copyright 2017 Google LLC
|
|
22279
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
22280
|
+
*/
|
|
22281
|
+
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};
|
|
22282
|
+
|
|
22283
|
+
/**
|
|
22284
|
+
* @license
|
|
22285
|
+
* Copyright 2017 Google LLC
|
|
22286
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
22287
|
+
*/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");
|
|
22288
|
+
|
|
22674
22289
|
/**
|
|
22675
22290
|
* @license
|
|
22676
22291
|
* Copyright (c) 2021 - 2023 Vaadin Ltd..
|
|
@@ -24048,7 +23663,7 @@ const DatePickerMixin = (subclass) =>
|
|
|
24048
23663
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
24049
23664
|
*/
|
|
24050
23665
|
|
|
24051
|
-
const datePickerStyles = i$
|
|
23666
|
+
const datePickerStyles = i$7`
|
|
24052
23667
|
:host([opened]) {
|
|
24053
23668
|
pointer-events: auto;
|
|
24054
23669
|
}
|
|
@@ -24297,7 +23912,7 @@ class DatePicker extends DatePickerMixin(InputControlMixin(ThemableMixin(Element
|
|
|
24297
23912
|
|
|
24298
23913
|
defineCustomElement(DatePicker);
|
|
24299
23914
|
|
|
24300
|
-
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
|
|
23915
|
+
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}";
|
|
24301
23916
|
const HelperFiltersStyle0 = helperFiltersCss;
|
|
24302
23917
|
|
|
24303
23918
|
const HelperFilters = class {
|
|
@@ -24306,33 +23921,77 @@ const HelperFilters = class {
|
|
|
24306
23921
|
this.filterDraw = createEvent(this, "filterDraw", 7);
|
|
24307
23922
|
this.filterSelection = createEvent(this, "filterSelection", 7);
|
|
24308
23923
|
this.filterSelectionReset = createEvent(this, "filterSelectionReset", 7);
|
|
24309
|
-
|
|
24310
|
-
|
|
24311
|
-
|
|
24312
|
-
this.stylingContainer.prepend(sheet);
|
|
24313
|
-
};
|
|
24314
|
-
this.setClientStylingURL = () => {
|
|
24315
|
-
let cssFile = document.createElement('style');
|
|
24316
|
-
setTimeout(() => {
|
|
24317
|
-
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
24318
|
-
this.stylingContainer.prepend(cssFile);
|
|
24319
|
-
}, 1);
|
|
24320
|
-
};
|
|
23924
|
+
/**
|
|
23925
|
+
* Check if show the filter option by id
|
|
23926
|
+
*/
|
|
24321
23927
|
this.showFilterId = true;
|
|
23928
|
+
/**
|
|
23929
|
+
* Choose if filter by draw ID or ticket ID. By default is draw ID.
|
|
23930
|
+
*/
|
|
24322
23931
|
this.activateTicketSearch = false;
|
|
23932
|
+
/**
|
|
23933
|
+
* Game ID
|
|
23934
|
+
*/
|
|
24323
23935
|
this.gameId = '';
|
|
23936
|
+
/**
|
|
23937
|
+
* Player ID
|
|
23938
|
+
*/
|
|
24324
23939
|
this.playerId = '';
|
|
23940
|
+
/**
|
|
23941
|
+
* Session ID
|
|
23942
|
+
*/
|
|
24325
23943
|
this.session = '';
|
|
23944
|
+
/**
|
|
23945
|
+
* Instead of customEvents the widget triggers postMessages
|
|
23946
|
+
*/
|
|
24326
23947
|
this.postMessage = false;
|
|
23948
|
+
/**
|
|
23949
|
+
* Language
|
|
23950
|
+
*/
|
|
24327
23951
|
this.language = 'en';
|
|
23952
|
+
/**
|
|
23953
|
+
* Notifies if the quick filters from tickets are active
|
|
23954
|
+
*/
|
|
24328
23955
|
this.quickFiltersActive = false;
|
|
23956
|
+
/**
|
|
23957
|
+
* Client custom styling via string
|
|
23958
|
+
*/
|
|
24329
23959
|
this.clientStyling = '';
|
|
23960
|
+
/**
|
|
23961
|
+
* Client custom styling via url content
|
|
23962
|
+
*/
|
|
24330
23963
|
this.clientStylingUrlContent = '';
|
|
24331
23964
|
this.showFilterModal = false;
|
|
24332
23965
|
this.showClearButton = false;
|
|
24333
23966
|
this.filterData = {};
|
|
24334
23967
|
this.filterDataReset = { ticketDrawId: '', filterFromCalendar: '', filterToCalendar: '' };
|
|
24335
23968
|
this.limitStylingAppends = false;
|
|
23969
|
+
this.handleTicketDrawId = (event) => {
|
|
23970
|
+
const inputElement = event.target;
|
|
23971
|
+
this.filterData.ticketDrawId = inputElement.value;
|
|
23972
|
+
};
|
|
23973
|
+
this.handleFilterFrom = (event) => {
|
|
23974
|
+
const inputElement = event.target;
|
|
23975
|
+
let dateArray = inputElement.value.split('-');
|
|
23976
|
+
this.filterData.filterFromCalendar = new Date(Number(dateArray[0]), Number(dateArray[1]) - 1, Number(dateArray[2]), 0, 0, 0).toISOString();
|
|
23977
|
+
};
|
|
23978
|
+
this.handleFilterTo = (event) => {
|
|
23979
|
+
const inputElement = event.target;
|
|
23980
|
+
let dateArray = inputElement.value.split('-');
|
|
23981
|
+
this.filterData.filterToCalendar = new Date(Number(dateArray[0]), Number(dateArray[1]) - 1, Number(dateArray[2]), 23, 59, 59).toISOString();
|
|
23982
|
+
};
|
|
23983
|
+
this.setClientStyling = () => {
|
|
23984
|
+
let sheet = document.createElement('style');
|
|
23985
|
+
sheet.innerHTML = this.clientStyling;
|
|
23986
|
+
this.stylingContainer.prepend(sheet);
|
|
23987
|
+
};
|
|
23988
|
+
this.setClientStylingURL = () => {
|
|
23989
|
+
let cssFile = document.createElement('style');
|
|
23990
|
+
setTimeout(() => {
|
|
23991
|
+
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
23992
|
+
this.stylingContainer.prepend(cssFile);
|
|
23993
|
+
}, 1);
|
|
23994
|
+
};
|
|
24336
23995
|
}
|
|
24337
23996
|
// reset field values each time the filter modal opens
|
|
24338
23997
|
componentDidRender() {
|
|
@@ -24372,27 +24031,17 @@ const HelperFilters = class {
|
|
|
24372
24031
|
this.modalCloseEvent();
|
|
24373
24032
|
this.showClearButton = true;
|
|
24374
24033
|
this.filterSelectionHandler(this.filterData);
|
|
24375
|
-
console.log(this.showClearButton);
|
|
24376
24034
|
}
|
|
24377
24035
|
resetSearch() {
|
|
24378
24036
|
this.showClearButton = false;
|
|
24379
24037
|
this.filterSelectionResetHandler(this.filterDataReset);
|
|
24380
24038
|
this.filterData = {};
|
|
24381
24039
|
}
|
|
24382
|
-
handleTicketDrawId(event) {
|
|
24383
|
-
this.filterData.ticketDrawId = event.target.value;
|
|
24384
|
-
}
|
|
24385
|
-
handleFilterFrom(event) {
|
|
24386
|
-
this.filterData.filterFromCalendar = new Date(event.target.value).toISOString();
|
|
24387
|
-
}
|
|
24388
|
-
handleFilterTo(event) {
|
|
24389
|
-
this.filterData.filterToCalendar = new Date(event.target.value).toISOString();
|
|
24390
|
-
}
|
|
24391
24040
|
render() {
|
|
24392
|
-
return (h$
|
|
24393
|
-
h$
|
|
24041
|
+
return (h$8("div", { key: '285e81fe3f4ba59c4a17445e8a296408a21ac15c', class: "HelperFilters", ref: el => this.stylingContainer = el }, h$8("div", { key: 'e1839ec68ae9f4d54a97b7e0bc81fd5bd9c6b924', class: "FilterButtonsWrapper" }, h$8("button", { key: '5b6b2402dad6d7c1c315ffd5a2e251e898c8db5b', class: "FilterOpen", onClick: () => this.toggleFilterModal() }, translate$1('filterOpen', this.language)), (this.showClearButton || this.quickFiltersActive) ?
|
|
24042
|
+
h$8("button", { class: "FilterClear", onClick: () => this.resetSearch() }, translate$1('filterClear', this.language))
|
|
24394
24043
|
:
|
|
24395
|
-
null), h$
|
|
24044
|
+
null), h$8("helper-modal", { key: 'c60e5024e590e3c2217c4d2698f86a5b6d33562a', "title-modal": "Filter Modal", visible: this.showFilterModal, "client-styling": this.clientStyling, "client-styling-url-content": this.clientStylingUrlContent }, h$8("div", { key: 'd0fcf27d381016db6c6460973cefbb28187cbd01', class: "FilterModalHeader" }, h$8("h3", { key: 'ab73abba95ea9654c902db1f4650b7bc004c62c5', class: "FilterModalTitle" }, this.activateTicketSearch ? translate$1('filterModalTicketTitle', this.language) : translate$1('filterModalDrawTitle', this.language))), h$8("div", { key: '13dff7787135e8e35dadfb23b1acdf9ea11a995b', class: "FilterModalBody" }, this.showFilterId && h$8("div", { key: '6c773a1b5a5af00c6c2c69aaa24c2f2fa766356a' }, h$8("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) }), h$8("p", { key: '39fd8bfc2422a227cf118672213b0499298c73bc' }, translate$1('filterOrDate', this.language))), h$8("div", { key: 'f86cf8390870b64ed646c94c312198a21f99f565', class: "FilterCalendarWrapper" }, h$8("vaadin-date-picker", { key: 'cddc64eda6025e2a3568f86e0e039ded55530ab1', value: this.filterData.filterFromCalendar, onChange: this.handleFilterFrom, placeholder: translate$1('filterFromCalendar', this.language), class: "VaadinDatePicker" }), h$8("vaadin-date-picker", { key: '0963561d635097452964f55bccf5182cde88e0c2', value: this.filterData.filterToCalendar, onChange: this.handleFilterTo, placeholder: translate$1('filterToCalendar', this.language), class: "VaadinDatePicker" }))), h$8("div", { key: '5f880497e96ba7e55fb1f46b073d8b6259feded5', class: "FilterModalFooter" }, h$8("button", { key: '64cb6b50666e8a9879e3fc10df8ab36315357cef', class: "FilterModalButton", onClick: () => this.filterSearch() }, translate$1('filterModalButton', this.language))))));
|
|
24396
24045
|
}
|
|
24397
24046
|
};
|
|
24398
24047
|
HelperFilters.style = HelperFiltersStyle0;
|
|
@@ -24410,13 +24059,26 @@ const isMobile = (userAgent) => {
|
|
|
24410
24059
|
userAgent.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
24411
24060
|
};
|
|
24412
24061
|
|
|
24413
|
-
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
|
|
24062
|
+
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)}";
|
|
24414
24063
|
const HelperModalStyle0 = helperModalCss;
|
|
24415
24064
|
|
|
24416
24065
|
const HelperModal = class {
|
|
24417
24066
|
constructor(hostRef) {
|
|
24418
24067
|
registerInstance(this, hostRef);
|
|
24419
24068
|
this.cancel = createEvent(this, "modalCloseEvent", 7);
|
|
24069
|
+
/**
|
|
24070
|
+
* Toggles if the helper is visible or not
|
|
24071
|
+
*/
|
|
24072
|
+
this.visible = true;
|
|
24073
|
+
/**
|
|
24074
|
+
* Client custom styling via string
|
|
24075
|
+
*/
|
|
24076
|
+
this.clientStyling = '';
|
|
24077
|
+
/**
|
|
24078
|
+
* Client custom styling via url content
|
|
24079
|
+
*/
|
|
24080
|
+
this.clientStylingUrlContent = '';
|
|
24081
|
+
this.limitStylingAppends = false;
|
|
24420
24082
|
this.userAgent = window.navigator.userAgent;
|
|
24421
24083
|
this.setClientStyling = () => {
|
|
24422
24084
|
let sheet = document.createElement('style');
|
|
@@ -24430,11 +24092,6 @@ const HelperModal = class {
|
|
|
24430
24092
|
this.stylingContainer.prepend(cssFile);
|
|
24431
24093
|
}, 1);
|
|
24432
24094
|
};
|
|
24433
|
-
this.titleModal = undefined;
|
|
24434
|
-
this.visible = true;
|
|
24435
|
-
this.clientStyling = '';
|
|
24436
|
-
this.clientStylingUrlContent = '';
|
|
24437
|
-
this.limitStylingAppends = false;
|
|
24438
24095
|
}
|
|
24439
24096
|
handleHelperModalClose() {
|
|
24440
24097
|
this.visible = false;
|
|
@@ -24454,7 +24111,7 @@ const HelperModal = class {
|
|
|
24454
24111
|
}
|
|
24455
24112
|
render() {
|
|
24456
24113
|
return ((this.visible &&
|
|
24457
|
-
h$
|
|
24114
|
+
h$8("div", { key: 'ba2aed789565b37bfdbb34bdf3ccace827231653', class: this.visible ? "HelperModalWrapper HelperModalVisible" : "HelperModalWrapper", ref: el => this.stylingContainer = el }, h$8("div", { key: '151ca4cd80d259ac955b92b10bf6f0df2698a937', class: "HelperModalWrapper HelperModalVisible" }, h$8("div", { key: '804cb1dea73321c4935e4a8ddb1136e98e89a070', class: "HelperModalContent" + (isMobile(this.userAgent) ? ' HelperModalMobileContent' : '') }, h$8("span", { key: '30cf7928c1e4baa53f3514fc1930823db76c874c', class: "HelperModalClose" + (isMobile(this.userAgent) ? ' HelperModalMobileClose' : ''), onClick: this.handleHelperModalClose.bind(this) }, "X"), h$8("slot", { key: '5c1323a98cdcd09669020a00affe5673856e807e' }))))));
|
|
24458
24115
|
}
|
|
24459
24116
|
};
|
|
24460
24117
|
HelperModal.style = HelperModalStyle0;
|