@everymatrix/general-registration 1.53.0 → 1.53.11

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.
Files changed (21) hide show
  1. package/dist/cjs/{checkbox-group-input_14.cjs.entry.js → checkbox-group-input_13.cjs.entry.js} +1820 -991
  2. package/dist/cjs/general-registration.cjs.js +3 -3
  3. package/dist/cjs/{index-e11c50f2.js → index-ed891a0d.js} +177 -80
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +1 -7
  6. package/dist/collection/components/general-registration/general-registration.js +50 -21
  7. package/dist/esm/{checkbox-group-input_14.entry.js → checkbox-group-input_13.entry.js} +1868 -1038
  8. package/dist/esm/general-registration.js +4 -4
  9. package/dist/esm/{index-a3724f84.js → index-d069ae9e.js} +177 -80
  10. package/dist/esm/loader.js +3 -3
  11. package/dist/general-registration/general-registration.esm.js +1 -1
  12. package/dist/general-registration/p-30224c7b.js +2 -0
  13. package/dist/general-registration/{p-0925f5f9.entry.js → p-a04c166c.entry.js} +1878 -892
  14. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +2 -0
  15. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.dev.d.ts +2 -0
  16. package/dist/types/components/general-registration/general-registration.d.ts +1 -1
  17. package/package.json +1 -1
  18. package/dist/general-registration/p-0095c1dc.js +0 -2
  19. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +0 -2
  20. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.dev.d.ts +0 -2
  21. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-input/src/utils/types.d.ts +0 -0
@@ -1,7 +1,8 @@
1
- import { r as registerInstance, c as createEvent, h as h$2, g as getElement, H as Host } from './index-a3724f84.js';
1
+ import { r as registerInstance, c as createEvent, h as h$a, g as getElement, H as Host } from './index-d069ae9e.js';
2
+ import '@everymatrix/player-consents/dist';
2
3
 
3
- const DEFAULT_LANGUAGE$2 = 'en';
4
- const TRANSLATIONS$2 = {
4
+ const DEFAULT_LANGUAGE$1 = 'en';
5
+ const TRANSLATIONS$1 = {
5
6
  "en": {
6
7
  "dateError": "The selected date should be between {min} and {max}",
7
8
  "dateError2": "The selected date is not within the accepted range",
@@ -122,9 +123,9 @@ const TRANSLATIONS$2 = {
122
123
  "InvalidFieldSize": "La longitud debe ser exactamente de 11 dígitos."
123
124
  }
124
125
  };
125
- const translate$3 = (key, customLang, values) => {
126
+ const translate$2 = (key, customLang, values) => {
126
127
  const lang = customLang;
127
- let translation = TRANSLATIONS$2[lang !== undefined ? lang : DEFAULT_LANGUAGE$2][key];
128
+ let translation = TRANSLATIONS$1[lang !== undefined ? lang : DEFAULT_LANGUAGE$1][key];
128
129
  if (values !== undefined) {
129
130
  for (const [key, value] of Object.entries(values.values)) {
130
131
  const regex = new RegExp(`{${key}}`, 'g');
@@ -133,7 +134,7 @@ const translate$3 = (key, customLang, values) => {
133
134
  }
134
135
  return translation;
135
136
  };
136
- const getTranslations$2 = (url) => {
137
+ const getTranslations$1 = (url) => {
137
138
  // fetch url, get the data, replace the TRANSLATIONS content
138
139
  return new Promise((resolve) => {
139
140
  fetch(url)
@@ -141,7 +142,7 @@ const getTranslations$2 = (url) => {
141
142
  .then((data) => {
142
143
  Object.keys(data).forEach((item) => {
143
144
  for (let key in data[item]) {
144
- TRANSLATIONS$2[item][key] = data[item][key];
145
+ TRANSLATIONS$1[item][key] = data[item][key];
145
146
  }
146
147
  });
147
148
  resolve(true);
@@ -149,7 +150,7 @@ const getTranslations$2 = (url) => {
149
150
  });
150
151
  };
151
152
 
152
- const tooltipIconSvg$1 = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iNiIgY3k9IjYiIHI9IjUuNSIgc3Ryb2tlPSIjOTc5Nzk3Ii8+CjxyZWN0IHg9IjUiIHk9IjUiIHdpZHRoPSIyIiBoZWlnaHQ9IjUiIGZpbGw9IiM5Nzk3OTciLz4KPGNpcmNsZSBjeD0iNiIgY3k9IjMiIHI9IjEiIGZpbGw9IiM5Nzk3OTciLz4KPC9zdmc+Cg==';
153
+ const tooltipIconSvg = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iNiIgY3k9IjYiIHI9IjUuNSIgc3Ryb2tlPSIjOTc5Nzk3Ii8+CjxyZWN0IHg9IjUiIHk9IjUiIHdpZHRoPSIyIiBoZWlnaHQ9IjUiIGZpbGw9IiM5Nzk3OTciLz4KPGNpcmNsZSBjeD0iNiIgY3k9IjMiIHI9IjEiIGZpbGw9IiM5Nzk3OTciLz4KPC9zdmc+Cg==';
153
154
 
154
155
  /**
155
156
  * @license
@@ -202,26 +203,26 @@ defineCustomElement(Lumo$4);
202
203
  * Copyright 2019 Google LLC
203
204
  * SPDX-License-Identifier: BSD-3-Clause
204
205
  */
205
- 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;
206
+ const t$9=window,e$e=t$9.ShadowRoot&&(void 0===t$9.ShadyCSS||t$9.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$h=Symbol(),n$i=new WeakMap;class o$i{constructor(t,e,n){if(this._$cssResult$=!0,n!==s$h)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$e&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=n$i.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&n$i.set(s,t));}return t}toString(){return this.cssText}}const r$f=t=>new o$i("string"==typeof t?t:t+"",void 0,s$h),i$b=(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$i(n,t,s$h)},S$9=(s,n)=>{e$e?s.adoptedStyleSheets=n.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):n.forEach((e=>{const n=document.createElement("style"),o=t$9.litNonce;void 0!==o&&n.setAttribute("nonce",o),n.textContent=e.cssText,s.appendChild(n);}));},c$a=e$e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$f(e)})(t):t;
206
207
 
207
208
  /**
208
209
  * @license
209
210
  * Copyright 2017 Google LLC
210
211
  * SPDX-License-Identifier: BSD-3-Clause
211
- */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");
212
+ */var s$g;const e$d=window,r$e=e$d.trustedTypes,h$9=r$e?r$e.emptyScript:"",o$h=e$d.reactiveElementPolyfillSupport,n$h={toAttribute(t,i){switch(i){case Boolean:t=t?h$9: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$9=(t,i)=>i!==t&&(i==i||t==t),l$d={attribute:!0,type:String,converter:n$h,reflect:!1,hasChanged:a$9},d$9="finalized";class u$9 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$d){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$d}static finalize(){if(this.hasOwnProperty(d$9))return !1;this[d$9]=!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$a(i));}else void 0!==i&&s.push(c$a(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$9(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$d){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$h).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$h;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$9)(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$9[d$9]=!0,u$9.elementProperties=new Map,u$9.elementStyles=[],u$9.shadowRootOptions={mode:"open"},null==o$h||o$h({ReactiveElement:u$9}),(null!==(s$g=e$d.reactiveElementVersions)&&void 0!==s$g?s$g:e$d.reactiveElementVersions=[]).push("1.6.3");
212
213
 
213
214
  /**
214
215
  * @license
215
216
  * Copyright 2017 Google LLC
216
217
  * SPDX-License-Identifier: BSD-3-Clause
217
218
  */
218
- 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};
219
+ var t$8;const i$a=window,s$f=i$a.trustedTypes,e$c=s$f?s$f.createPolicy("lit-html",{createHTML:t=>t}):void 0,o$g="$lit$",n$g=`lit$${(Math.random()+"").slice(9)}$`,l$c="?"+n$g,h$8=`<${l$c}>`,r$d=document,u$8=()=>r$d.createComment(""),d$8=t=>null===t||"object"!=typeof t&&"function"!=typeof t,c$9=Array.isArray,v$4=t=>c$9(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),a$8="[ \t\n\f\r]",f$5=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_$4=/-->/g,m$4=/>/g,p$5=RegExp(`>|${a$8}(?:([^\\s"'>=/]+)(${a$8}*=${a$8}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),g$4=/'/g,$$4=/"/g,y$4=/^(?:script|style|textarea|title)$/i,T$4=Symbol.for("lit-noChange"),A$4=Symbol.for("lit-nothing"),E$4=new WeakMap,C$4=r$d.createTreeWalker(r$d,129,null,!1);function P$4(t,i){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==e$c?e$c.createHTML(i):i}const V$4=(t,i)=>{const s=t.length-1,e=[];let l,r=2===i?"<svg>":"",u=f$5;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$5?"!--"===c[1]?u=_$4:void 0!==c[1]?u=m$4:void 0!==c[2]?(y$4.test(c[2])&&(l=RegExp("</"+c[2],"g")),u=p$5):void 0!==c[3]&&(u=p$5):u===p$5?">"===c[0]?(u=null!=l?l:f$5,v=-1):void 0===c[1]?v=-2:(v=u.lastIndex-c[2].length,d=c[1],u=void 0===c[3]?p$5:'"'===c[3]?$$4:g$4):u===$$4||u===g$4?u=p$5:u===_$4||u===m$4?u=f$5:(u=p$5,l=void 0);const w=u===p$5&&t[i+1].startsWith("/>")?" ":"";r+=u===f$5?s+h$8:v>=0?(e.push(d),s.slice(0,v)+o$g+s.slice(v)+n$g+w):s+n$g+(-2===v?(e.push(void 0),i):w);}return [P$4(t,r+(t[s]||"<?>")+(2===i?"</svg>":"")),e]};class N$4{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$4(t,i);if(this.el=N$4.createElement(a,e),C$4.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes);}for(;null!==(h=C$4.nextNode())&&v.length<c;){if(1===h.nodeType){if(h.hasAttributes()){const t=[];for(const i of h.getAttributeNames())if(i.endsWith(o$g)||i.startsWith(n$g)){const s=f[d++];if(t.push(i),void 0!==s){const t=h.getAttribute(s.toLowerCase()+o$g).split(n$g),i=/([.?@])?(.*)/.exec(s);v.push({type:1,index:r,name:i[2],strings:t,ctor:"."===i[1]?H$4:"?"===i[1]?L$4:"@"===i[1]?z$4:k$4});}else v.push({type:6,index:r});}for(const i of t)h.removeAttribute(i);}if(y$4.test(h.tagName)){const t=h.textContent.split(n$g),i=t.length-1;if(i>0){h.textContent=s$f?s$f.emptyScript:"";for(let s=0;s<i;s++)h.append(t[s],u$8()),C$4.nextNode(),v.push({type:2,index:++r});h.append(t[i],u$8());}}}else if(8===h.nodeType)if(h.data===l$c)v.push({type:2,index:r});else {let t=-1;for(;-1!==(t=h.data.indexOf(n$g,t+1));)v.push({type:7,index:r}),t+=n$g.length-1;}r++;}}static createElement(t,i){const s=r$d.createElement("template");return s.innerHTML=t,s}}function S$8(t,i,s=t,e){var o,n,l,h;if(i===T$4)return i;let r=void 0!==e?null===(o=s._$Co)||void 0===o?void 0:o[e]:s._$Cl;const u=d$8(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$8(t,r._$AS(t,i.values),r,e)),i}class M$4{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$d).importNode(s,!0);C$4.currentNode=o;let n=C$4.nextNode(),l=0,h=0,u=e[0];for(;void 0!==u;){if(l===u.index){let i;2===u.type?i=new R$4(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$3(n,this,t)),this._$AV.push(i),u=e[++h];}l!==(null==u?void 0:u.index)&&(n=C$4.nextNode(),l++);}return C$4.currentNode=r$d,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$4{constructor(t,i,s,e){var o;this.type=2,this._$AH=A$4,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$8(this,t,i),d$8(t)?t===A$4||null==t||""===t?(this._$AH!==A$4&&this._$AR(),this._$AH=A$4):t!==this._$AH&&t!==T$4&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):v$4(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$4&&d$8(this._$AH)?this._$AA.nextSibling.data=t:this.$(r$d.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$4.createElement(P$4(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$4(o,this),i=t.u(this.options);t.v(s),this.$(i),this._$AH=t;}}_$AC(t){let i=E$4.get(t.strings);return void 0===i&&E$4.set(t.strings,i=new N$4(t)),i}T(t){c$9(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$4(this.k(u$8()),this.k(u$8()),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$4{constructor(t,i,s,e,o){this.type=1,this._$AH=A$4,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$4;}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$8(this,t,i,0),n=!d$8(t)||t!==this._$AH&&t!==T$4,n&&(this._$AH=t);else {const e=t;let l,h;for(t=o[0],l=0;l<o.length-1;l++)h=S$8(this,e[s+l],i,l),h===T$4&&(h=this._$AH[l]),n||(n=!d$8(h)||h!==this._$AH[l]),h===A$4?t=A$4:t!==A$4&&(t+=(null!=h?h:"")+o[l+1]),this._$AH[l]=h;}n&&!e&&this.j(t);}j(t){t===A$4?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"");}}class H$4 extends k$4{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===A$4?void 0:t;}}const I$4=s$f?s$f.emptyScript:"";class L$4 extends k$4{constructor(){super(...arguments),this.type=4;}j(t){t&&t!==A$4?this.element.setAttribute(this.name,I$4):this.element.removeAttribute(this.name);}}class z$4 extends k$4{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$8(this,t,i,0))&&void 0!==s?s:A$4)===T$4)return;const e=this._$AH,o=t===A$4&&e!==A$4||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==A$4&&(e===A$4||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$3{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$8(this,t);}}const B$4=i$a.litHtmlPolyfillSupport;null==B$4||B$4(N$4,R$4),(null!==(t$8=i$a.litHtmlVersions)&&void 0!==t$8?t$8:i$a.litHtmlVersions=[]).push("2.8.0");const D$3=(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$4(i.insertBefore(u$8(),t),t,void 0,null!=s?s:{});}return l._$AI(t),l};
219
220
 
220
221
  /**
221
222
  * @license
222
223
  * Copyright 2017 Google LLC
223
224
  * SPDX-License-Identifier: BSD-3-Clause
224
- */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");
225
+ */var l$b,o$f;class s$e extends u$9{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$3(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$4}}s$e.finalized=!0,s$e._$litElement$=!0,null===(l$b=globalThis.litElementHydrateSupport)||void 0===l$b||l$b.call(globalThis,{LitElement:s$e});const n$f=globalThis.litElementPolyfillSupport;null==n$f||n$f({LitElement:s$e});(null!==(o$f=globalThis.litElementVersions)&&void 0!==o$f?o$f:globalThis.litElementVersions=[]).push("3.3.3");
225
226
 
226
227
  /**
227
228
  * @license
@@ -320,7 +321,7 @@ function hasThemes(tagName) {
320
321
  */
321
322
  function flattenStyles(styles = []) {
322
323
  return [styles].flat(Infinity).filter((style) => {
323
- if (style instanceof o$3) {
324
+ if (style instanceof o$i) {
324
325
  return true;
325
326
  }
326
327
  console.warn('An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`.');
@@ -549,7 +550,7 @@ const addLumoGlobalStyles$4 = (id, ...styles) => {
549
550
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
550
551
  */
551
552
 
552
- const colorBase$3 = i$1`
553
+ const colorBase$3 = i$b`
553
554
  :host {
554
555
  /* Base (background) */
555
556
  --lumo-base-color: #fff;
@@ -638,7 +639,7 @@ const colorBase$3 = i$1`
638
639
 
639
640
  addLumoGlobalStyles$4('color-props', colorBase$3);
640
641
 
641
- const color$3 = i$1`
642
+ const color$3 = i$b`
642
643
  [theme~='dark'] {
643
644
  /* Base (background) */
644
645
  --lumo-base-color: hsl(214, 35%, 21%);
@@ -763,7 +764,7 @@ registerStyles('', color$3, { moduleId: 'lumo-color' });
763
764
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
764
765
  */
765
766
 
766
- const fontIcons$2 = i$1`
767
+ const fontIcons$3 = i$b`
767
768
  @font-face {
768
769
  font-family: 'lumo-icons';
769
770
  src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVe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KHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
@@ -818,7 +819,7 @@ const fontIcons$2 = i$1`
818
819
  }
819
820
  `;
820
821
 
821
- addLumoGlobalStyles$4('font-icons', fontIcons$2);
822
+ addLumoGlobalStyles$4('font-icons', fontIcons$3);
822
823
 
823
824
  /**
824
825
  * @license
@@ -826,7 +827,7 @@ addLumoGlobalStyles$4('font-icons', fontIcons$2);
826
827
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
827
828
  */
828
829
 
829
- const sizing$4 = i$1`
830
+ const sizing$4 = i$b`
830
831
  :host {
831
832
  --lumo-size-xs: 1.625rem;
832
833
  --lumo-size-s: 1.875rem;
@@ -851,7 +852,7 @@ addLumoGlobalStyles$4('sizing-props', sizing$4);
851
852
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
852
853
  */
853
854
 
854
- const spacing$3 = i$1`
855
+ const spacing$3 = i$b`
855
856
  :host {
856
857
  /* Square */
857
858
  --lumo-space-xs: 0.25rem;
@@ -884,7 +885,7 @@ addLumoGlobalStyles$4('spacing-props', spacing$3);
884
885
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
885
886
  */
886
887
 
887
- const style$4 = i$1`
888
+ const style$4 = i$b`
888
889
  :host {
889
890
  /* Border radius */
890
891
  --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
@@ -906,7 +907,7 @@ const style$4 = i$1`
906
907
  /**
907
908
  * Default values for component-specific custom properties.
908
909
  */
909
- i$1`
910
+ i$b`
910
911
  html {
911
912
  --vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
912
913
  --vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
@@ -922,7 +923,7 @@ addLumoGlobalStyles$4('style-props', style$4);
922
923
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
923
924
  */
924
925
 
925
- const font$4 = i$1`
926
+ const font$4 = i$b`
926
927
  :host {
927
928
  /* prettier-ignore */
928
929
  --lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
@@ -944,7 +945,7 @@ const font$4 = i$1`
944
945
  }
945
946
  `;
946
947
 
947
- const typography$4 = i$1`
948
+ const typography$4 = i$b`
948
949
  body,
949
950
  :host {
950
951
  font-family: var(--lumo-font-family);
@@ -1043,7 +1044,7 @@ addLumoGlobalStyles$4('typography-props', font$4);
1043
1044
 
1044
1045
  registerStyles(
1045
1046
  'vaadin-checkbox',
1046
- i$1`
1047
+ i$b`
1047
1048
  :host {
1048
1049
  color: var(--lumo-body-text-color);
1049
1050
  font-size: var(--lumo-font-size-m);
@@ -1974,7 +1975,7 @@ function isDescendant(base, path) {
1974
1975
  * @param {string} path Path to translate
1975
1976
  * @return {string} Translated string
1976
1977
  */
1977
- function translate$2(base, newBase, path) {
1978
+ function translate$1(base, newBase, path) {
1978
1979
  return newBase + path.slice(base.length);
1979
1980
  }
1980
1981
 
@@ -4175,7 +4176,7 @@ function handleNotification(event, inst, fromProp, toPath, negate) {
4175
4176
  let detail = /** @type {Object} */(event.detail);
4176
4177
  let fromPath = detail && detail.path;
4177
4178
  if (fromPath) {
4178
- toPath = translate$2(fromProp, toPath, fromPath);
4179
+ toPath = translate$1(fromProp, toPath, fromPath);
4179
4180
  value = detail && detail.value;
4180
4181
  } else {
4181
4182
  value = event.currentTarget[fromProp];
@@ -4461,10 +4462,10 @@ function computeLinkedPaths(inst, path, value) {
4461
4462
  for (let a in links) {
4462
4463
  let b = links[a];
4463
4464
  if (isDescendant(a, path)) {
4464
- link = translate$2(a, b, path);
4465
+ link = translate$1(a, b, path);
4465
4466
  inst._setPendingPropertyOrPath(link, value, true, true);
4466
4467
  } else if (isDescendant(b, path)) {
4467
- link = translate$2(b, a, path);
4468
+ link = translate$1(b, a, path);
4468
4469
  inst._setPendingPropertyOrPath(link, value, true, true);
4469
4470
  }
4470
4471
  }
@@ -4576,7 +4577,7 @@ function runBindingEffect(inst, path, props, oldProps, info, hasPaths, nodeList)
4576
4577
  node.__isPropertyEffectsClient &&
4577
4578
  node.__dataHasAccessor && node.__dataHasAccessor[binding.target]) {
4578
4579
  let value = props[path];
4579
- path = translate$2(part.source, binding.target, path);
4580
+ path = translate$1(part.source, binding.target, path);
4580
4581
  if (node._setPendingPropertyOrPath(path, value, false, true)) {
4581
4582
  inst._enqueueClient(node);
4582
4583
  }
@@ -12901,7 +12902,7 @@ const CheckboxMixin = (superclass) =>
12901
12902
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
12902
12903
  */
12903
12904
 
12904
- const checkboxStyles = i$1`
12905
+ const checkboxStyles = i$b`
12905
12906
  :host {
12906
12907
  display: inline-block;
12907
12908
  }
@@ -13061,7 +13062,7 @@ defineCustomElement(Checkbox);
13061
13062
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
13062
13063
  */
13063
13064
 
13064
- const helper$1 = i$1`
13065
+ const helper$2 = i$b`
13065
13066
  :host([has-helper]) [part='helper-text']::before {
13066
13067
  content: '';
13067
13068
  display: block;
@@ -13120,7 +13121,7 @@ const helper$1 = i$1`
13120
13121
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
13121
13122
  */
13122
13123
 
13123
- const requiredField$1 = i$1`
13124
+ const requiredField$2 = i$b`
13124
13125
  [part='label'] {
13125
13126
  align-self: flex-start;
13126
13127
  color: var(--lumo-secondary-text-color);
@@ -13218,9 +13219,9 @@ const requiredField$1 = i$1`
13218
13219
  }
13219
13220
  `;
13220
13221
 
13221
- registerStyles('', requiredField$1, { moduleId: 'lumo-required-field' });
13222
+ registerStyles('', requiredField$2, { moduleId: 'lumo-required-field' });
13222
13223
 
13223
- const checkboxGroup = i$1`
13224
+ const checkboxGroup = i$b`
13224
13225
  :host {
13225
13226
  color: var(--lumo-body-text-color);
13226
13227
  font-size: var(--lumo-font-size-m);
@@ -13265,7 +13266,7 @@ const checkboxGroup = i$1`
13265
13266
  }
13266
13267
  `;
13267
13268
 
13268
- registerStyles('vaadin-checkbox-group', [requiredField$1, helper$1, checkboxGroup], {
13269
+ registerStyles('vaadin-checkbox-group', [requiredField$2, helper$2, checkboxGroup], {
13269
13270
  moduleId: 'lumo-checkbox-group',
13270
13271
  });
13271
13272
 
@@ -14486,27 +14487,23 @@ const CheckboxGroupInput = class {
14486
14487
  registerInstance(this, hostRef);
14487
14488
  this.sendValidityState = createEvent(this, "sendValidityState", 7);
14488
14489
  this.sendInputValue = createEvent(this, "sendInputValue", 7);
14490
+ /**
14491
+ * Default value for the input.
14492
+ */
14493
+ this.defaultValue = '';
14494
+ /**
14495
+ * Client custom styling via inline style
14496
+ */
14497
+ this.clientStyling = '';
14498
+ this.limitStylingAppends = false;
14499
+ this.showTooltip = false;
14500
+ this.selectedValues = [];
14489
14501
  this.value = null;
14490
14502
  this.setClientStyling = () => {
14491
14503
  let sheet = document.createElement('style');
14492
14504
  sheet.innerHTML = this.clientStyling;
14493
14505
  this.stylingContainer.prepend(sheet);
14494
14506
  };
14495
- this.name = undefined;
14496
- this.displayName = undefined;
14497
- this.defaultValue = '';
14498
- this.autofilled = undefined;
14499
- this.tooltip = undefined;
14500
- this.options = undefined;
14501
- this.validation = undefined;
14502
- this.language = undefined;
14503
- this.emitValue = undefined;
14504
- this.clientStyling = '';
14505
- this.errorMessage = undefined;
14506
- this.isValid = undefined;
14507
- this.limitStylingAppends = false;
14508
- this.showTooltip = false;
14509
- this.selectedValues = [];
14510
14507
  }
14511
14508
  validityChanged() {
14512
14509
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -14563,12 +14560,12 @@ const CheckboxGroupInput = class {
14563
14560
  }
14564
14561
  setErrorMessage() {
14565
14562
  if (this.inputReference.validity.valueMissing) {
14566
- return translate$3('requiredError', this.language);
14563
+ return translate$2('requiredError', this.language);
14567
14564
  }
14568
14565
  }
14569
14566
  renderTooltip() {
14570
14567
  if (this.showTooltip) {
14571
- return (h$2("div", { class: `checkboxgroup__tooltip ${this.showTooltip ? 'visible' : ''}`, ref: (el) => this.tooltipReference = el, innerHTML: this.tooltip }));
14568
+ return (h$a("div", { class: `checkboxgroup__tooltip ${this.showTooltip ? 'visible' : ''}`, ref: (el) => this.tooltipReference = el, innerHTML: this.tooltip }));
14572
14569
  }
14573
14570
  return null;
14574
14571
  }
@@ -14579,13 +14576,13 @@ const CheckboxGroupInput = class {
14579
14576
  : [];
14580
14577
  }
14581
14578
  renderLabel() {
14582
- return (h$2("label", { class: 'checkbox__label', htmlFor: `${this.name}__input`, slot: 'label' }, h$2("div", { class: 'checkbox__label-text', innerHTML: `${this.displayName} ${this.validation.mandatory ? '*' : ''}` })));
14579
+ return (h$a("label", { class: 'checkbox__label', htmlFor: `${this.name}__input`, slot: 'label' }, h$a("div", { class: 'checkbox__label-text', innerHTML: `${this.displayName} ${this.validation.mandatory ? '*' : ''}` })));
14583
14580
  }
14584
14581
  render() {
14585
- return h$2("div", { key: 'fa45026502fd8d46aa537aee03210ad68d30e577', class: `checkboxgroup__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("div", { key: '15ded4fd896920c6244806e49f300c124c27186d', class: 'checkboxgroup__wrapper--flex' }, h$2("vaadin-checkbox", { key: 'd7eaa205877f8f12c9ef7d4f77018665806f5c7c', class: 'checkbox__input', checked: this.selectedValues.length === this.options.length || this.defaultValue === 'true', indeterminate: this.selectedValues.length > 0 && this.selectedValues.length < this.options.length, onChange: (e) => this.handleParentCheckbox(e) }, this.renderLabel()), this.tooltip &&
14586
- h$2("img", { key: 'aca39ed398415a6e2cef861be40dad33e0398759', class: 'checkboxgroup__tooltip-icon', src: tooltipIconSvg$1, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()), h$2("small", { key: 'a1a6e1c3c02edcca572b8826ffba06835ca451c3', class: 'checkboxgroup__error-message' }, this.errorMessage), h$2("vaadin-checkbox-group", { key: '9f5f8a945e4ba13d7d0da6d362c15d00a7796b71', theme: "vertical", value: this.selectedValues, "on-value-changed": (event) => {
14582
+ return h$a("div", { key: 'fa45026502fd8d46aa537aee03210ad68d30e577', class: `checkboxgroup__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, h$a("div", { key: '15ded4fd896920c6244806e49f300c124c27186d', class: 'checkboxgroup__wrapper--flex' }, h$a("vaadin-checkbox", { key: 'd7eaa205877f8f12c9ef7d4f77018665806f5c7c', class: 'checkbox__input', checked: this.selectedValues.length === this.options.length || this.defaultValue === 'true', indeterminate: this.selectedValues.length > 0 && this.selectedValues.length < this.options.length, onChange: (e) => this.handleParentCheckbox(e) }, this.renderLabel()), this.tooltip &&
14583
+ h$a("img", { key: 'aca39ed398415a6e2cef861be40dad33e0398759', class: 'checkboxgroup__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()), h$a("small", { key: 'a1a6e1c3c02edcca572b8826ffba06835ca451c3', class: 'checkboxgroup__error-message' }, this.errorMessage), h$a("vaadin-checkbox-group", { key: '9f5f8a945e4ba13d7d0da6d362c15d00a7796b71', theme: "vertical", value: this.selectedValues, "on-value-changed": (event) => {
14587
14584
  this.selectedValues = event.detail.value;
14588
- } }, this.options.map((checkbox) => h$2("vaadin-checkbox", { class: 'checkbox__input', name: checkbox.name, value: checkbox.name, label: checkbox.displayName }))));
14585
+ } }, this.options.map((checkbox) => h$a("vaadin-checkbox", { class: 'checkbox__input', name: checkbox.name, value: checkbox.name, label: checkbox.displayName }))));
14589
14586
  }
14590
14587
  get element() { return getElement(this); }
14591
14588
  static get watchers() { return {
@@ -14604,25 +14601,22 @@ const CheckboxInput = class {
14604
14601
  registerInstance(this, hostRef);
14605
14602
  this.sendValidityState = createEvent(this, "sendValidityState", 7);
14606
14603
  this.sendInputValue = createEvent(this, "sendInputValue", 7);
14604
+ /**
14605
+ * Default value for the input.
14606
+ */
14607
+ this.defaultValue = '';
14608
+ /**
14609
+ * Client custom styling via inline style
14610
+ */
14611
+ this.clientStyling = '';
14612
+ this.limitStylingAppends = false;
14613
+ this.showTooltip = false;
14607
14614
  this.value = '';
14608
14615
  this.setClientStyling = () => {
14609
14616
  let sheet = document.createElement('style');
14610
14617
  sheet.innerHTML = this.clientStyling;
14611
14618
  this.stylingContainer.prepend(sheet);
14612
14619
  };
14613
- this.name = undefined;
14614
- this.displayName = undefined;
14615
- this.defaultValue = '';
14616
- this.autofilled = undefined;
14617
- this.tooltip = undefined;
14618
- this.validation = undefined;
14619
- this.language = undefined;
14620
- this.emitValue = undefined;
14621
- this.clientStyling = '';
14622
- this.errorMessage = undefined;
14623
- this.isValid = undefined;
14624
- this.limitStylingAppends = false;
14625
- this.showTooltip = false;
14626
14620
  }
14627
14621
  validityChanged() {
14628
14622
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -14673,21 +14667,21 @@ const CheckboxInput = class {
14673
14667
  }
14674
14668
  setErrorMessage() {
14675
14669
  if (this.inputReference.validity.valueMissing) {
14676
- return translate$3('requiredError', this.language);
14670
+ return translate$2('requiredError', this.language);
14677
14671
  }
14678
14672
  }
14679
14673
  renderLabel() {
14680
- return (h$2("label", { class: 'checkbox__label', htmlFor: `${this.name}__input` }, h$2("div", { class: 'checkbox__label-text', innerHTML: `${this.displayName} ${this.validation.mandatory ? '*' : ''}` })));
14674
+ return (h$a("label", { class: 'checkbox__label', htmlFor: `${this.name}__input` }, h$a("div", { class: 'checkbox__label-text', innerHTML: `${this.displayName} ${this.validation.mandatory ? '*' : ''}` })));
14681
14675
  }
14682
14676
  renderTooltip() {
14683
14677
  if (this.showTooltip) {
14684
- return (h$2("div", { class: `checkbox__tooltip ${this.showTooltip ? 'visible' : ''}`, ref: (el) => this.tooltipReference = el, innerHTML: this.tooltip }));
14678
+ return (h$a("div", { class: `checkbox__tooltip ${this.showTooltip ? 'visible' : ''}`, ref: (el) => this.tooltipReference = el, innerHTML: this.tooltip }));
14685
14679
  }
14686
14680
  return null;
14687
14681
  }
14688
14682
  render() {
14689
- return h$2("div", { key: '0aae00d291d1da02adae1bc91e79ccd579aa5c7f', class: `checkbox__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("input", { key: '4b8c61d322b5065d8abe4e2687e270511fadc97f', class: 'checkbox__input', type: "checkbox", id: `${this.name}__input`, ref: (el) => this.inputReference = el, name: this.name, checked: this.defaultValue === "true", readOnly: this.autofilled, required: this.validation.mandatory, value: this.value, onClick: () => this.handleClick() }), this.renderLabel(), h$2("small", { key: '934263cb58a0d379e8b7dc1f5004ad7e61c63ce0', class: 'checkbox__error-message' }, this.errorMessage), h$2("div", { key: '88cc71329d88b6325d792226e64ff7f93e940178', class: 'checkbox__wrapper--relative' }, this.tooltip &&
14690
- h$2("img", { key: '3708dc613dc920bac6557f2a8020bbafd97d9127', class: 'checkbox__tooltip-icon', src: tooltipIconSvg$1, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()));
14683
+ return h$a("div", { key: '0aae00d291d1da02adae1bc91e79ccd579aa5c7f', class: `checkbox__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, h$a("input", { key: '4b8c61d322b5065d8abe4e2687e270511fadc97f', class: 'checkbox__input', type: "checkbox", id: `${this.name}__input`, ref: (el) => this.inputReference = el, name: this.name, checked: this.defaultValue === "true", readOnly: this.autofilled, required: this.validation.mandatory, value: this.value, onClick: () => this.handleClick() }), this.renderLabel(), h$a("small", { key: '934263cb58a0d379e8b7dc1f5004ad7e61c63ce0', class: 'checkbox__error-message' }, this.errorMessage), h$a("div", { key: '88cc71329d88b6325d792226e64ff7f93e940178', class: 'checkbox__wrapper--relative' }, this.tooltip &&
14684
+ h$a("img", { key: '3708dc613dc920bac6557f2a8020bbafd97d9127', class: 'checkbox__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()));
14691
14685
  }
14692
14686
  static get watchers() { return {
14693
14687
  "isValid": ["validityChanged"],
@@ -14730,7 +14724,7 @@ const addLumoGlobalStyles$3 = (id, ...styles) => {
14730
14724
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
14731
14725
  */
14732
14726
 
14733
- const colorBase$2 = i$1`
14727
+ const colorBase$2 = i$b`
14734
14728
  :host {
14735
14729
  /* Base (background) */
14736
14730
  --lumo-base-color: #fff;
@@ -14819,7 +14813,7 @@ const colorBase$2 = i$1`
14819
14813
 
14820
14814
  addLumoGlobalStyles$3('color-props', colorBase$2);
14821
14815
 
14822
- const color$2 = i$1`
14816
+ const color$2 = i$b`
14823
14817
  [theme~='dark'] {
14824
14818
  /* Base (background) */
14825
14819
  --lumo-base-color: hsl(214, 35%, 21%);
@@ -14944,7 +14938,7 @@ registerStyles('', color$2, { moduleId: 'lumo-color' });
14944
14938
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
14945
14939
  */
14946
14940
 
14947
- const sizing$3 = i$1`
14941
+ const sizing$3 = i$b`
14948
14942
  :host {
14949
14943
  --lumo-size-xs: 1.625rem;
14950
14944
  --lumo-size-s: 1.875rem;
@@ -14969,7 +14963,7 @@ addLumoGlobalStyles$3('sizing-props', sizing$3);
14969
14963
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
14970
14964
  */
14971
14965
 
14972
- const style$3 = i$1`
14966
+ const style$3 = i$b`
14973
14967
  :host {
14974
14968
  /* Border radius */
14975
14969
  --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
@@ -14991,7 +14985,7 @@ const style$3 = i$1`
14991
14985
  /**
14992
14986
  * Default values for component-specific custom properties.
14993
14987
  */
14994
- i$1`
14988
+ i$b`
14995
14989
  html {
14996
14990
  --vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
14997
14991
  --vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
@@ -15007,7 +15001,7 @@ addLumoGlobalStyles$3('style-props', style$3);
15007
15001
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
15008
15002
  */
15009
15003
 
15010
- const font$3 = i$1`
15004
+ const font$3 = i$b`
15011
15005
  :host {
15012
15006
  /* prettier-ignore */
15013
15007
  --lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
@@ -15029,7 +15023,7 @@ const font$3 = i$1`
15029
15023
  }
15030
15024
  `;
15031
15025
 
15032
- const typography$3 = i$1`
15026
+ const typography$3 = i$b`
15033
15027
  body,
15034
15028
  :host {
15035
15029
  font-family: var(--lumo-font-family);
@@ -15128,7 +15122,7 @@ addLumoGlobalStyles$3('typography-props', font$3);
15128
15122
 
15129
15123
  registerStyles(
15130
15124
  'vaadin-input-container',
15131
- i$1`
15125
+ i$b`
15132
15126
  :host {
15133
15127
  background-color: var(--lumo-contrast-10pct);
15134
15128
  padding: 0 calc(0.375em + var(--_input-container-radius) / 4 - 1px);
@@ -15444,241 +15438,6 @@ class InputContainer extends ThemableMixin(DirMixin(PolymerElement)) {
15444
15438
 
15445
15439
  defineCustomElement(InputContainer);
15446
15440
 
15447
- /**
15448
- * @license
15449
- * Copyright (c) 2017 - 2023 Vaadin Ltd.
15450
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
15451
- */
15452
-
15453
- const overlay = i$1`
15454
- :host {
15455
- top: var(--lumo-space-m);
15456
- right: var(--lumo-space-m);
15457
- bottom: var(--lumo-space-m);
15458
- left: var(--lumo-space-m);
15459
- /* Workaround for Edge issue (only on Surface), where an overflowing vaadin-list-box inside vaadin-select-overlay makes the overlay transparent */
15460
- /* stylelint-disable-next-line */
15461
- outline: 0px solid transparent;
15462
- }
15463
-
15464
- [part='overlay'] {
15465
- background-color: var(--lumo-base-color);
15466
- background-image: linear-gradient(var(--lumo-tint-5pct), var(--lumo-tint-5pct));
15467
- border-radius: var(--lumo-border-radius-m);
15468
- box-shadow: 0 0 0 1px var(--lumo-shade-5pct), var(--lumo-box-shadow-m);
15469
- color: var(--lumo-body-text-color);
15470
- font-family: var(--lumo-font-family);
15471
- font-size: var(--lumo-font-size-m);
15472
- font-weight: 400;
15473
- line-height: var(--lumo-line-height-m);
15474
- letter-spacing: 0;
15475
- text-transform: none;
15476
- -webkit-text-size-adjust: 100%;
15477
- -webkit-font-smoothing: antialiased;
15478
- -moz-osx-font-smoothing: grayscale;
15479
- }
15480
-
15481
- [part='content'] {
15482
- padding: var(--lumo-space-xs);
15483
- }
15484
-
15485
- [part='backdrop'] {
15486
- background-color: var(--lumo-shade-20pct);
15487
- animation: 0.2s lumo-overlay-backdrop-enter both;
15488
- will-change: opacity;
15489
- }
15490
-
15491
- @keyframes lumo-overlay-backdrop-enter {
15492
- 0% {
15493
- opacity: 0;
15494
- }
15495
- }
15496
-
15497
- :host([closing]) [part='backdrop'] {
15498
- animation: 0.2s lumo-overlay-backdrop-exit both;
15499
- }
15500
-
15501
- @keyframes lumo-overlay-backdrop-exit {
15502
- 100% {
15503
- opacity: 0;
15504
- }
15505
- }
15506
-
15507
- @keyframes lumo-overlay-dummy-animation {
15508
- 0% {
15509
- opacity: 1;
15510
- }
15511
-
15512
- 100% {
15513
- opacity: 1;
15514
- }
15515
- }
15516
- `;
15517
-
15518
- registerStyles('', overlay, { moduleId: 'lumo-overlay' });
15519
-
15520
- /**
15521
- * @license
15522
- * Copyright (c) 2017 - 2023 Vaadin Ltd.
15523
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
15524
- */
15525
-
15526
- const menuOverlayCore = i$1`
15527
- :host([opening]),
15528
- :host([closing]) {
15529
- animation: 0.14s lumo-overlay-dummy-animation;
15530
- }
15531
-
15532
- [part='overlay'] {
15533
- will-change: opacity, transform;
15534
- }
15535
-
15536
- :host([opening]) [part='overlay'] {
15537
- animation: 0.1s lumo-menu-overlay-enter ease-out both;
15538
- }
15539
-
15540
- @keyframes lumo-menu-overlay-enter {
15541
- 0% {
15542
- opacity: 0;
15543
- transform: translateY(-4px);
15544
- }
15545
- }
15546
-
15547
- :host([closing]) [part='overlay'] {
15548
- animation: 0.1s lumo-menu-overlay-exit both;
15549
- }
15550
-
15551
- @keyframes lumo-menu-overlay-exit {
15552
- 100% {
15553
- opacity: 0;
15554
- }
15555
- }
15556
- `;
15557
-
15558
- registerStyles('', menuOverlayCore, { moduleId: 'lumo-menu-overlay-core' });
15559
-
15560
- const menuOverlayExt = i$1`
15561
- /* Small viewport (bottom sheet) styles */
15562
- /* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
15563
- @media (max-width: 420px), (max-height: 420px) {
15564
- :host {
15565
- top: 0 !important;
15566
- right: 0 !important;
15567
- bottom: var(--vaadin-overlay-viewport-bottom, 0) !important;
15568
- left: 0 !important;
15569
- align-items: stretch !important;
15570
- justify-content: flex-end !important;
15571
- }
15572
-
15573
- [part='overlay'] {
15574
- max-height: 50vh;
15575
- width: 100vw;
15576
- border-radius: 0;
15577
- box-shadow: var(--lumo-box-shadow-xl);
15578
- }
15579
-
15580
- /* The content part scrolls instead of the overlay part, because of the gradient fade-out */
15581
- [part='content'] {
15582
- padding: 30px var(--lumo-space-m);
15583
- max-height: inherit;
15584
- box-sizing: border-box;
15585
- -webkit-overflow-scrolling: touch;
15586
- overflow: auto;
15587
- -webkit-mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);
15588
- mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);
15589
- }
15590
-
15591
- [part='backdrop'] {
15592
- display: block;
15593
- }
15594
-
15595
- /* Animations */
15596
-
15597
- :host([opening]) [part='overlay'] {
15598
- animation: 0.2s lumo-mobile-menu-overlay-enter cubic-bezier(0.215, 0.61, 0.355, 1) both;
15599
- }
15600
-
15601
- :host([closing]),
15602
- :host([closing]) [part='backdrop'] {
15603
- animation-delay: 0.14s;
15604
- }
15605
-
15606
- :host([closing]) [part='overlay'] {
15607
- animation: 0.14s 0.14s lumo-mobile-menu-overlay-exit cubic-bezier(0.55, 0.055, 0.675, 0.19) both;
15608
- }
15609
- }
15610
-
15611
- @keyframes lumo-mobile-menu-overlay-enter {
15612
- 0% {
15613
- transform: translateY(150%);
15614
- }
15615
- }
15616
-
15617
- @keyframes lumo-mobile-menu-overlay-exit {
15618
- 100% {
15619
- transform: translateY(150%);
15620
- }
15621
- }
15622
- `;
15623
-
15624
- const menuOverlay = [overlay, menuOverlayCore, menuOverlayExt];
15625
-
15626
- registerStyles('', menuOverlay, { moduleId: 'lumo-menu-overlay' });
15627
-
15628
- const datePickerOverlay = i$1`
15629
- [part='overlay'] {
15630
- /*
15631
- Width:
15632
- date cell widths
15633
- + month calendar side padding
15634
- + year scroller width
15635
- */
15636
- /* prettier-ignore */
15637
- width:
15638
- calc(
15639
- var(--lumo-size-m) * 7
15640
- + var(--lumo-space-xs) * 2
15641
- + 57px
15642
- );
15643
- height: 100%;
15644
- max-height: calc(var(--lumo-size-m) * 14);
15645
- overflow: hidden;
15646
- -webkit-tap-highlight-color: transparent;
15647
- }
15648
-
15649
- [part='overlay'] {
15650
- flex-direction: column;
15651
- }
15652
-
15653
- [part='content'] {
15654
- padding: 0;
15655
- height: 100%;
15656
- overflow: hidden;
15657
- -webkit-mask-image: none;
15658
- mask-image: none;
15659
- }
15660
-
15661
- :host([top-aligned]) [part~='overlay'] {
15662
- margin-top: var(--lumo-space-xs);
15663
- }
15664
-
15665
- :host([bottom-aligned]) [part~='overlay'] {
15666
- margin-bottom: var(--lumo-space-xs);
15667
- }
15668
-
15669
- @media (max-width: 420px), (max-height: 420px) {
15670
- [part='overlay'] {
15671
- width: 100vw;
15672
- height: 70vh;
15673
- max-height: 70vh;
15674
- }
15675
- }
15676
- `;
15677
-
15678
- registerStyles('vaadin-date-picker-overlay', [menuOverlay, datePickerOverlay], {
15679
- moduleId: 'lumo-date-picker-overlay',
15680
- });
15681
-
15682
15441
  /**
15683
15442
  * @license
15684
15443
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
@@ -15713,7 +15472,103 @@ const addLumoGlobalStyles$2 = (id, ...styles) => {
15713
15472
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
15714
15473
  */
15715
15474
 
15716
- const colorBase$1 = i$1`
15475
+ const sizing$2 = i$b`
15476
+ :host {
15477
+ --lumo-size-xs: 1.625rem;
15478
+ --lumo-size-s: 1.875rem;
15479
+ --lumo-size-m: 2.25rem;
15480
+ --lumo-size-l: 2.75rem;
15481
+ --lumo-size-xl: 3.5rem;
15482
+
15483
+ /* Icons */
15484
+ --lumo-icon-size-s: 1.25em;
15485
+ --lumo-icon-size-m: 1.5em;
15486
+ --lumo-icon-size-l: 2.25em;
15487
+ /* For backwards compatibility */
15488
+ --lumo-icon-size: var(--lumo-icon-size-m);
15489
+ }
15490
+ `;
15491
+
15492
+ addLumoGlobalStyles$2('sizing-props', sizing$2);
15493
+
15494
+ /**
15495
+ * @license
15496
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
15497
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
15498
+ */
15499
+
15500
+ const spacing$2 = i$b`
15501
+ :host {
15502
+ /* Square */
15503
+ --lumo-space-xs: 0.25rem;
15504
+ --lumo-space-s: 0.5rem;
15505
+ --lumo-space-m: 1rem;
15506
+ --lumo-space-l: 1.5rem;
15507
+ --lumo-space-xl: 2.5rem;
15508
+
15509
+ /* Wide */
15510
+ --lumo-space-wide-xs: calc(var(--lumo-space-xs) / 2) var(--lumo-space-xs);
15511
+ --lumo-space-wide-s: calc(var(--lumo-space-s) / 2) var(--lumo-space-s);
15512
+ --lumo-space-wide-m: calc(var(--lumo-space-m) / 2) var(--lumo-space-m);
15513
+ --lumo-space-wide-l: calc(var(--lumo-space-l) / 2) var(--lumo-space-l);
15514
+ --lumo-space-wide-xl: calc(var(--lumo-space-xl) / 2) var(--lumo-space-xl);
15515
+
15516
+ /* Tall */
15517
+ --lumo-space-tall-xs: var(--lumo-space-xs) calc(var(--lumo-space-xs) / 2);
15518
+ --lumo-space-tall-s: var(--lumo-space-s) calc(var(--lumo-space-s) / 2);
15519
+ --lumo-space-tall-m: var(--lumo-space-m) calc(var(--lumo-space-m) / 2);
15520
+ --lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);
15521
+ --lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
15522
+ }
15523
+ `;
15524
+
15525
+ addLumoGlobalStyles$2('spacing-props', spacing$2);
15526
+
15527
+ /**
15528
+ * @license
15529
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
15530
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
15531
+ */
15532
+
15533
+ const style$2 = i$b`
15534
+ :host {
15535
+ /* Border radius */
15536
+ --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
15537
+ --lumo-border-radius-m: var(--lumo-border-radius, 0.25em); /* Button, text field, menu overlay, etc */
15538
+ --lumo-border-radius-l: 0.5em; /* Dialog, notification, etc */
15539
+
15540
+ /* Shadow */
15541
+ --lumo-box-shadow-xs: 0 1px 4px -1px var(--lumo-shade-50pct);
15542
+ --lumo-box-shadow-s: 0 2px 4px -1px var(--lumo-shade-20pct), 0 3px 12px -1px var(--lumo-shade-30pct);
15543
+ --lumo-box-shadow-m: 0 2px 6px -1px var(--lumo-shade-20pct), 0 8px 24px -4px var(--lumo-shade-40pct);
15544
+ --lumo-box-shadow-l: 0 3px 18px -2px var(--lumo-shade-20pct), 0 12px 48px -6px var(--lumo-shade-40pct);
15545
+ --lumo-box-shadow-xl: 0 4px 24px -3px var(--lumo-shade-20pct), 0 18px 64px -8px var(--lumo-shade-40pct);
15546
+
15547
+ /* Clickable element cursor */
15548
+ --lumo-clickable-cursor: default;
15549
+ }
15550
+ `;
15551
+
15552
+ /**
15553
+ * Default values for component-specific custom properties.
15554
+ */
15555
+ i$b`
15556
+ html {
15557
+ --vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
15558
+ --vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
15559
+ --vaadin-input-field-border-radius: var(--lumo-border-radius-m);
15560
+ }
15561
+ `;
15562
+
15563
+ addLumoGlobalStyles$2('style-props', style$2);
15564
+
15565
+ /**
15566
+ * @license
15567
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
15568
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
15569
+ */
15570
+
15571
+ const colorBase$1 = i$b`
15717
15572
  :host {
15718
15573
  /* Base (background) */
15719
15574
  --lumo-base-color: #fff;
@@ -15802,7 +15657,7 @@ const colorBase$1 = i$1`
15802
15657
 
15803
15658
  addLumoGlobalStyles$2('color-props', colorBase$1);
15804
15659
 
15805
- const color$1 = i$1`
15660
+ const color$1 = i$b`
15806
15661
  [theme~='dark'] {
15807
15662
  /* Base (background) */
15808
15663
  --lumo-base-color: hsl(214, 35%, 21%);
@@ -15927,103 +15782,7 @@ registerStyles('', color$1, { moduleId: 'lumo-color' });
15927
15782
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
15928
15783
  */
15929
15784
 
15930
- const sizing$2 = i$1`
15931
- :host {
15932
- --lumo-size-xs: 1.625rem;
15933
- --lumo-size-s: 1.875rem;
15934
- --lumo-size-m: 2.25rem;
15935
- --lumo-size-l: 2.75rem;
15936
- --lumo-size-xl: 3.5rem;
15937
-
15938
- /* Icons */
15939
- --lumo-icon-size-s: 1.25em;
15940
- --lumo-icon-size-m: 1.5em;
15941
- --lumo-icon-size-l: 2.25em;
15942
- /* For backwards compatibility */
15943
- --lumo-icon-size: var(--lumo-icon-size-m);
15944
- }
15945
- `;
15946
-
15947
- addLumoGlobalStyles$2('sizing-props', sizing$2);
15948
-
15949
- /**
15950
- * @license
15951
- * Copyright (c) 2017 - 2023 Vaadin Ltd.
15952
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
15953
- */
15954
-
15955
- const spacing$2 = i$1`
15956
- :host {
15957
- /* Square */
15958
- --lumo-space-xs: 0.25rem;
15959
- --lumo-space-s: 0.5rem;
15960
- --lumo-space-m: 1rem;
15961
- --lumo-space-l: 1.5rem;
15962
- --lumo-space-xl: 2.5rem;
15963
-
15964
- /* Wide */
15965
- --lumo-space-wide-xs: calc(var(--lumo-space-xs) / 2) var(--lumo-space-xs);
15966
- --lumo-space-wide-s: calc(var(--lumo-space-s) / 2) var(--lumo-space-s);
15967
- --lumo-space-wide-m: calc(var(--lumo-space-m) / 2) var(--lumo-space-m);
15968
- --lumo-space-wide-l: calc(var(--lumo-space-l) / 2) var(--lumo-space-l);
15969
- --lumo-space-wide-xl: calc(var(--lumo-space-xl) / 2) var(--lumo-space-xl);
15970
-
15971
- /* Tall */
15972
- --lumo-space-tall-xs: var(--lumo-space-xs) calc(var(--lumo-space-xs) / 2);
15973
- --lumo-space-tall-s: var(--lumo-space-s) calc(var(--lumo-space-s) / 2);
15974
- --lumo-space-tall-m: var(--lumo-space-m) calc(var(--lumo-space-m) / 2);
15975
- --lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);
15976
- --lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
15977
- }
15978
- `;
15979
-
15980
- addLumoGlobalStyles$2('spacing-props', spacing$2);
15981
-
15982
- /**
15983
- * @license
15984
- * Copyright (c) 2017 - 2023 Vaadin Ltd.
15985
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
15986
- */
15987
-
15988
- const style$2 = i$1`
15989
- :host {
15990
- /* Border radius */
15991
- --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
15992
- --lumo-border-radius-m: var(--lumo-border-radius, 0.25em); /* Button, text field, menu overlay, etc */
15993
- --lumo-border-radius-l: 0.5em; /* Dialog, notification, etc */
15994
-
15995
- /* Shadow */
15996
- --lumo-box-shadow-xs: 0 1px 4px -1px var(--lumo-shade-50pct);
15997
- --lumo-box-shadow-s: 0 2px 4px -1px var(--lumo-shade-20pct), 0 3px 12px -1px var(--lumo-shade-30pct);
15998
- --lumo-box-shadow-m: 0 2px 6px -1px var(--lumo-shade-20pct), 0 8px 24px -4px var(--lumo-shade-40pct);
15999
- --lumo-box-shadow-l: 0 3px 18px -2px var(--lumo-shade-20pct), 0 12px 48px -6px var(--lumo-shade-40pct);
16000
- --lumo-box-shadow-xl: 0 4px 24px -3px var(--lumo-shade-20pct), 0 18px 64px -8px var(--lumo-shade-40pct);
16001
-
16002
- /* Clickable element cursor */
16003
- --lumo-clickable-cursor: default;
16004
- }
16005
- `;
16006
-
16007
- /**
16008
- * Default values for component-specific custom properties.
16009
- */
16010
- i$1`
16011
- html {
16012
- --vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
16013
- --vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
16014
- --vaadin-input-field-border-radius: var(--lumo-border-radius-m);
16015
- }
16016
- `;
16017
-
16018
- addLumoGlobalStyles$2('style-props', style$2);
16019
-
16020
- /**
16021
- * @license
16022
- * Copyright (c) 2017 - 2023 Vaadin Ltd.
16023
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
16024
- */
16025
-
16026
- const font$2 = i$1`
15785
+ const font$2 = i$b`
16027
15786
  :host {
16028
15787
  /* prettier-ignore */
16029
15788
  --lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
@@ -16045,7 +15804,7 @@ const font$2 = i$1`
16045
15804
  }
16046
15805
  `;
16047
15806
 
16048
- const typography$2 = i$1`
15807
+ const typography$2 = i$b`
16049
15808
  body,
16050
15809
  :host {
16051
15810
  font-family: var(--lumo-font-family);
@@ -16142,7 +15901,242 @@ const typography$2 = i$1`
16142
15901
  registerStyles('', typography$2, { moduleId: 'lumo-typography' });
16143
15902
  addLumoGlobalStyles$2('typography-props', font$2);
16144
15903
 
16145
- const button = i$1`
15904
+ /**
15905
+ * @license
15906
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
15907
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
15908
+ */
15909
+
15910
+ const overlay$1 = i$b`
15911
+ :host {
15912
+ top: var(--lumo-space-m);
15913
+ right: var(--lumo-space-m);
15914
+ bottom: var(--lumo-space-m);
15915
+ left: var(--lumo-space-m);
15916
+ /* Workaround for Edge issue (only on Surface), where an overflowing vaadin-list-box inside vaadin-select-overlay makes the overlay transparent */
15917
+ /* stylelint-disable-next-line */
15918
+ outline: 0px solid transparent;
15919
+ }
15920
+
15921
+ [part='overlay'] {
15922
+ background-color: var(--lumo-base-color);
15923
+ background-image: linear-gradient(var(--lumo-tint-5pct), var(--lumo-tint-5pct));
15924
+ border-radius: var(--lumo-border-radius-m);
15925
+ box-shadow: 0 0 0 1px var(--lumo-shade-5pct), var(--lumo-box-shadow-m);
15926
+ color: var(--lumo-body-text-color);
15927
+ font-family: var(--lumo-font-family);
15928
+ font-size: var(--lumo-font-size-m);
15929
+ font-weight: 400;
15930
+ line-height: var(--lumo-line-height-m);
15931
+ letter-spacing: 0;
15932
+ text-transform: none;
15933
+ -webkit-text-size-adjust: 100%;
15934
+ -webkit-font-smoothing: antialiased;
15935
+ -moz-osx-font-smoothing: grayscale;
15936
+ }
15937
+
15938
+ [part='content'] {
15939
+ padding: var(--lumo-space-xs);
15940
+ }
15941
+
15942
+ [part='backdrop'] {
15943
+ background-color: var(--lumo-shade-20pct);
15944
+ animation: 0.2s lumo-overlay-backdrop-enter both;
15945
+ will-change: opacity;
15946
+ }
15947
+
15948
+ @keyframes lumo-overlay-backdrop-enter {
15949
+ 0% {
15950
+ opacity: 0;
15951
+ }
15952
+ }
15953
+
15954
+ :host([closing]) [part='backdrop'] {
15955
+ animation: 0.2s lumo-overlay-backdrop-exit both;
15956
+ }
15957
+
15958
+ @keyframes lumo-overlay-backdrop-exit {
15959
+ 100% {
15960
+ opacity: 0;
15961
+ }
15962
+ }
15963
+
15964
+ @keyframes lumo-overlay-dummy-animation {
15965
+ 0% {
15966
+ opacity: 1;
15967
+ }
15968
+
15969
+ 100% {
15970
+ opacity: 1;
15971
+ }
15972
+ }
15973
+ `;
15974
+
15975
+ registerStyles('', overlay$1, { moduleId: 'lumo-overlay' });
15976
+
15977
+ /**
15978
+ * @license
15979
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
15980
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
15981
+ */
15982
+
15983
+ const menuOverlayCore$1 = i$b`
15984
+ :host([opening]),
15985
+ :host([closing]) {
15986
+ animation: 0.14s lumo-overlay-dummy-animation;
15987
+ }
15988
+
15989
+ [part='overlay'] {
15990
+ will-change: opacity, transform;
15991
+ }
15992
+
15993
+ :host([opening]) [part='overlay'] {
15994
+ animation: 0.1s lumo-menu-overlay-enter ease-out both;
15995
+ }
15996
+
15997
+ @keyframes lumo-menu-overlay-enter {
15998
+ 0% {
15999
+ opacity: 0;
16000
+ transform: translateY(-4px);
16001
+ }
16002
+ }
16003
+
16004
+ :host([closing]) [part='overlay'] {
16005
+ animation: 0.1s lumo-menu-overlay-exit both;
16006
+ }
16007
+
16008
+ @keyframes lumo-menu-overlay-exit {
16009
+ 100% {
16010
+ opacity: 0;
16011
+ }
16012
+ }
16013
+ `;
16014
+
16015
+ registerStyles('', menuOverlayCore$1, { moduleId: 'lumo-menu-overlay-core' });
16016
+
16017
+ const menuOverlayExt$1 = i$b`
16018
+ /* Small viewport (bottom sheet) styles */
16019
+ /* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
16020
+ @media (max-width: 420px), (max-height: 420px) {
16021
+ :host {
16022
+ top: 0 !important;
16023
+ right: 0 !important;
16024
+ bottom: var(--vaadin-overlay-viewport-bottom, 0) !important;
16025
+ left: 0 !important;
16026
+ align-items: stretch !important;
16027
+ justify-content: flex-end !important;
16028
+ }
16029
+
16030
+ [part='overlay'] {
16031
+ max-height: 50vh;
16032
+ width: 100vw;
16033
+ border-radius: 0;
16034
+ box-shadow: var(--lumo-box-shadow-xl);
16035
+ }
16036
+
16037
+ /* The content part scrolls instead of the overlay part, because of the gradient fade-out */
16038
+ [part='content'] {
16039
+ padding: 30px var(--lumo-space-m);
16040
+ max-height: inherit;
16041
+ box-sizing: border-box;
16042
+ -webkit-overflow-scrolling: touch;
16043
+ overflow: auto;
16044
+ -webkit-mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);
16045
+ mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);
16046
+ }
16047
+
16048
+ [part='backdrop'] {
16049
+ display: block;
16050
+ }
16051
+
16052
+ /* Animations */
16053
+
16054
+ :host([opening]) [part='overlay'] {
16055
+ animation: 0.2s lumo-mobile-menu-overlay-enter cubic-bezier(0.215, 0.61, 0.355, 1) both;
16056
+ }
16057
+
16058
+ :host([closing]),
16059
+ :host([closing]) [part='backdrop'] {
16060
+ animation-delay: 0.14s;
16061
+ }
16062
+
16063
+ :host([closing]) [part='overlay'] {
16064
+ animation: 0.14s 0.14s lumo-mobile-menu-overlay-exit cubic-bezier(0.55, 0.055, 0.675, 0.19) both;
16065
+ }
16066
+ }
16067
+
16068
+ @keyframes lumo-mobile-menu-overlay-enter {
16069
+ 0% {
16070
+ transform: translateY(150%);
16071
+ }
16072
+ }
16073
+
16074
+ @keyframes lumo-mobile-menu-overlay-exit {
16075
+ 100% {
16076
+ transform: translateY(150%);
16077
+ }
16078
+ }
16079
+ `;
16080
+
16081
+ const menuOverlay$1 = [overlay$1, menuOverlayCore$1, menuOverlayExt$1];
16082
+
16083
+ registerStyles('', menuOverlay$1, { moduleId: 'lumo-menu-overlay' });
16084
+
16085
+ const datePickerOverlay = i$b`
16086
+ [part='overlay'] {
16087
+ /*
16088
+ Width:
16089
+ date cell widths
16090
+ + month calendar side padding
16091
+ + year scroller width
16092
+ */
16093
+ /* prettier-ignore */
16094
+ width:
16095
+ calc(
16096
+ var(--lumo-size-m) * 7
16097
+ + var(--lumo-space-xs) * 2
16098
+ + 57px
16099
+ );
16100
+ height: 100%;
16101
+ max-height: calc(var(--lumo-size-m) * 14);
16102
+ overflow: hidden;
16103
+ -webkit-tap-highlight-color: transparent;
16104
+ }
16105
+
16106
+ [part='overlay'] {
16107
+ flex-direction: column;
16108
+ }
16109
+
16110
+ [part='content'] {
16111
+ padding: 0;
16112
+ height: 100%;
16113
+ overflow: hidden;
16114
+ -webkit-mask-image: none;
16115
+ mask-image: none;
16116
+ }
16117
+
16118
+ :host([top-aligned]) [part~='overlay'] {
16119
+ margin-top: var(--lumo-space-xs);
16120
+ }
16121
+
16122
+ :host([bottom-aligned]) [part~='overlay'] {
16123
+ margin-bottom: var(--lumo-space-xs);
16124
+ }
16125
+
16126
+ @media (max-width: 420px), (max-height: 420px) {
16127
+ [part='overlay'] {
16128
+ width: 100vw;
16129
+ height: 70vh;
16130
+ max-height: 70vh;
16131
+ }
16132
+ }
16133
+ `;
16134
+
16135
+ registerStyles('vaadin-date-picker-overlay', [menuOverlay$1, datePickerOverlay], {
16136
+ moduleId: 'lumo-date-picker-overlay',
16137
+ });
16138
+
16139
+ const button$1 = i$b`
16146
16140
  :host {
16147
16141
  /* Sizing */
16148
16142
  --lumo-button-size: var(--lumo-size-m);
@@ -16393,7 +16387,33 @@ const button = i$1`
16393
16387
  }
16394
16388
  `;
16395
16389
 
16396
- registerStyles('vaadin-button', button, { moduleId: 'lumo-button' });
16390
+ registerStyles('vaadin-button', button$1, { moduleId: 'lumo-button' });
16391
+
16392
+ /**
16393
+ * @license
16394
+ * Copyright 2019 Google LLC
16395
+ * SPDX-License-Identifier: BSD-3-Clause
16396
+ */
16397
+ 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;
16398
+
16399
+ /**
16400
+ * @license
16401
+ * Copyright 2017 Google LLC
16402
+ * SPDX-License-Identifier: BSD-3-Clause
16403
+ */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");
16404
+
16405
+ /**
16406
+ * @license
16407
+ * Copyright 2017 Google LLC
16408
+ * SPDX-License-Identifier: BSD-3-Clause
16409
+ */
16410
+ 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};
16411
+
16412
+ /**
16413
+ * @license
16414
+ * Copyright 2017 Google LLC
16415
+ * SPDX-License-Identifier: BSD-3-Clause
16416
+ */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");
16397
16417
 
16398
16418
  /**
16399
16419
  * @license
@@ -16401,7 +16421,7 @@ registerStyles('vaadin-button', button, { moduleId: 'lumo-button' });
16401
16421
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
16402
16422
  */
16403
16423
 
16404
- const buttonStyles = i$1`
16424
+ const buttonStyles$1 = i$9`
16405
16425
  :host {
16406
16426
  display: inline-block;
16407
16427
  position: relative;
@@ -16463,7 +16483,7 @@ const buttonStyles = i$1`
16463
16483
  }
16464
16484
  `;
16465
16485
 
16466
- const buttonTemplate = (html) => html`
16486
+ const buttonTemplate$1 = (html) => html`
16467
16487
  <div class="vaadin-button-container">
16468
16488
  <span part="prefix" aria-hidden="true">
16469
16489
  <slot name="prefix"></slot>
@@ -16492,7 +16512,7 @@ const buttonTemplate = (html) => html`
16492
16512
  * @mixes FocusMixin
16493
16513
  * @mixes TabindexMixin
16494
16514
  */
16495
- const ButtonMixin = (superClass) =>
16515
+ const ButtonMixin$1 = (superClass) =>
16496
16516
  class ButtonMixinClass extends ActiveMixin(TabindexMixin(FocusMixin(superClass))) {
16497
16517
  static get properties() {
16498
16518
  return {
@@ -16571,7 +16591,7 @@ const ButtonMixin = (superClass) =>
16571
16591
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
16572
16592
  */
16573
16593
 
16574
- registerStyles('vaadin-button', buttonStyles, { moduleId: 'vaadin-button-styles' });
16594
+ registerStyles('vaadin-button', buttonStyles$1, { moduleId: 'vaadin-button-styles' });
16575
16595
 
16576
16596
  /**
16577
16597
  * `<vaadin-button>` is an accessible and customizable button that allows users to perform actions.
@@ -16608,13 +16628,13 @@ registerStyles('vaadin-button', buttonStyles, { moduleId: 'vaadin-button-styles'
16608
16628
  * @mixes ElementMixin
16609
16629
  * @mixes ThemableMixin
16610
16630
  */
16611
- class Button extends ButtonMixin(ElementMixin(ThemableMixin(ControllerMixin(PolymerElement)))) {
16631
+ class Button$1 extends ButtonMixin$1(ElementMixin(ThemableMixin(ControllerMixin(PolymerElement)))) {
16612
16632
  static get is() {
16613
16633
  return 'vaadin-button';
16614
16634
  }
16615
16635
 
16616
16636
  static get template() {
16617
- return buttonTemplate(html);
16637
+ return buttonTemplate$1(html);
16618
16638
  }
16619
16639
 
16620
16640
  /** @protected */
@@ -16626,11 +16646,11 @@ class Button extends ButtonMixin(ElementMixin(ThemableMixin(ControllerMixin(Poly
16626
16646
  }
16627
16647
  }
16628
16648
 
16629
- defineCustomElement(Button);
16649
+ defineCustomElement(Button$1);
16630
16650
 
16631
16651
  registerStyles(
16632
16652
  'vaadin-date-picker-year',
16633
- i$1`
16653
+ i$b`
16634
16654
  :host([current]) [part='year-number'] {
16635
16655
  color: var(--lumo-primary-text-color);
16636
16656
  }
@@ -16660,7 +16680,7 @@ registerStyles(
16660
16680
 
16661
16681
  registerStyles(
16662
16682
  'vaadin-date-picker-overlay-content',
16663
- i$1`
16683
+ i$b`
16664
16684
  :host {
16665
16685
  position: relative;
16666
16686
  /* Background for the year scroller, placed here as we are using a mask image on the actual years part */
@@ -16816,7 +16836,7 @@ registerStyles(
16816
16836
 
16817
16837
  registerStyles(
16818
16838
  'vaadin-month-calendar',
16819
- i$1`
16839
+ i$b`
16820
16840
  :host {
16821
16841
  -moz-user-select: none;
16822
16842
  -webkit-user-select: none;
@@ -16980,7 +17000,70 @@ document.head.appendChild(template$1.content);
16980
17000
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
16981
17001
  */
16982
17002
 
16983
- const fieldButton$1 = i$1`
17003
+ const fontIcons$2 = i$b`
17004
+ @font-face {
17005
+ font-family: 'lumo-icons';
17006
+ src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMABF0UtwCEnIPM/zhLK8LqhfXRybSP14XUYtHV9hGYQwQBNIo3cUIPkhQeM7rib1ekqnXg981XuC1qvy84lzojleh3puxL0hPjGjRU473teloEefAUNGjJkwZcacBUtWrNmwZceeA0dOnLlw5cadB09elPGhGf+j0NTI/65KfXerT6JhqKnpRKtgOpuqaTrtKjPUlqHmhto21I7pL6i6hlqY3q7qGWrfUAeGOjTUkaGODXViqFNDnRnq3FAXhro01JWhrg11Y6hbQ90Z6t5QD4Z6NNSToZ4N9WKoV0O9GerdUB+G+jTUl6GWRvkL24BkEXictVh9bFvVFb/nxvbz+7Rf/N6zHcd2bCfP+Wic1Z9N0jpNHCD9SNqqoVBgbQoMjY+pjA4hNnWa2pV1rHSIif0DGkyT2k10Kmu1Cag6huj4ZpqYBHSqJsTEJgZCG3TaVBFv595nO3ZIv4RIrPPuvefe884599zzO/cRF8G/tgn6CFFImNgkR0ggX8wlspbhSSWSdrC5ozd30s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SMyTKkE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
17007
+ format('woff');
17008
+ font-weight: normal;
17009
+ font-style: normal;
17010
+ }
17011
+
17012
+ html {
17013
+ --lumo-icons-align-center: '\\ea01';
17014
+ --lumo-icons-align-left: '\\ea02';
17015
+ --lumo-icons-align-right: '\\ea03';
17016
+ --lumo-icons-angle-down: '\\ea04';
17017
+ --lumo-icons-angle-left: '\\ea05';
17018
+ --lumo-icons-angle-right: '\\ea06';
17019
+ --lumo-icons-angle-up: '\\ea07';
17020
+ --lumo-icons-arrow-down: '\\ea08';
17021
+ --lumo-icons-arrow-left: '\\ea09';
17022
+ --lumo-icons-arrow-right: '\\ea0a';
17023
+ --lumo-icons-arrow-up: '\\ea0b';
17024
+ --lumo-icons-bar-chart: '\\ea0c';
17025
+ --lumo-icons-bell: '\\ea0d';
17026
+ --lumo-icons-calendar: '\\ea0e';
17027
+ --lumo-icons-checkmark: '\\ea0f';
17028
+ --lumo-icons-chevron-down: '\\ea10';
17029
+ --lumo-icons-chevron-left: '\\ea11';
17030
+ --lumo-icons-chevron-right: '\\ea12';
17031
+ --lumo-icons-chevron-up: '\\ea13';
17032
+ --lumo-icons-clock: '\\ea14';
17033
+ --lumo-icons-cog: '\\ea15';
17034
+ --lumo-icons-cross: '\\ea16';
17035
+ --lumo-icons-download: '\\ea17';
17036
+ --lumo-icons-dropdown: '\\ea18';
17037
+ --lumo-icons-edit: '\\ea19';
17038
+ --lumo-icons-error: '\\ea1a';
17039
+ --lumo-icons-eye: '\\ea1b';
17040
+ --lumo-icons-eye-disabled: '\\ea1c';
17041
+ --lumo-icons-menu: '\\ea1d';
17042
+ --lumo-icons-minus: '\\ea1e';
17043
+ --lumo-icons-ordered-list: '\\ea1f';
17044
+ --lumo-icons-phone: '\\ea20';
17045
+ --lumo-icons-photo: '\\ea21';
17046
+ --lumo-icons-play: '\\ea22';
17047
+ --lumo-icons-plus: '\\ea23';
17048
+ --lumo-icons-redo: '\\ea24';
17049
+ --lumo-icons-reload: '\\ea25';
17050
+ --lumo-icons-search: '\\ea26';
17051
+ --lumo-icons-undo: '\\ea27';
17052
+ --lumo-icons-unordered-list: '\\ea28';
17053
+ --lumo-icons-upload: '\\ea29';
17054
+ --lumo-icons-user: '\\ea2a';
17055
+ }
17056
+ `;
17057
+
17058
+ addLumoGlobalStyles$2('font-icons', fontIcons$2);
17059
+
17060
+ /**
17061
+ * @license
17062
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
17063
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
17064
+ */
17065
+
17066
+ const fieldButton$2 = i$b`
16984
17067
  [part$='button'] {
16985
17068
  flex: none;
16986
17069
  width: 1em;
@@ -17008,7 +17091,7 @@ const fieldButton$1 = i$1`
17008
17091
  display: block;
17009
17092
  }
17010
17093
  `;
17011
- registerStyles('', fieldButton$1, { moduleId: 'lumo-field-button' });
17094
+ registerStyles('', fieldButton$2, { moduleId: 'lumo-field-button' });
17012
17095
 
17013
17096
  /**
17014
17097
  * @license
@@ -17016,7 +17099,172 @@ registerStyles('', fieldButton$1, { moduleId: 'lumo-field-button' });
17016
17099
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
17017
17100
  */
17018
17101
 
17019
- const inputField$1 = i$1`
17102
+ const helper$1 = i$b`
17103
+ :host([has-helper]) [part='helper-text']::before {
17104
+ content: '';
17105
+ display: block;
17106
+ height: 0.4em;
17107
+ }
17108
+
17109
+ [part='helper-text'] {
17110
+ display: block;
17111
+ color: var(--lumo-secondary-text-color);
17112
+ font-size: var(--lumo-font-size-xs);
17113
+ line-height: var(--lumo-line-height-xs);
17114
+ margin-left: calc(var(--lumo-border-radius-m) / 4);
17115
+ transition: color 0.2s;
17116
+ }
17117
+
17118
+ :host(:hover:not([readonly])) [part='helper-text'] {
17119
+ color: var(--lumo-body-text-color);
17120
+ }
17121
+
17122
+ :host([disabled]) [part='helper-text'] {
17123
+ color: var(--lumo-disabled-text-color);
17124
+ -webkit-text-fill-color: var(--lumo-disabled-text-color);
17125
+ }
17126
+
17127
+ :host([has-helper][theme~='helper-above-field']) [part='helper-text']::before {
17128
+ display: none;
17129
+ }
17130
+
17131
+ :host([has-helper][theme~='helper-above-field']) [part='helper-text']::after {
17132
+ content: '';
17133
+ display: block;
17134
+ height: 0.4em;
17135
+ }
17136
+
17137
+ :host([has-helper][theme~='helper-above-field']) [part='label'] {
17138
+ order: 0;
17139
+ padding-bottom: 0.4em;
17140
+ }
17141
+
17142
+ :host([has-helper][theme~='helper-above-field']) [part='helper-text'] {
17143
+ order: 1;
17144
+ }
17145
+
17146
+ :host([has-helper][theme~='helper-above-field']) [part='label'] + * {
17147
+ order: 2;
17148
+ }
17149
+
17150
+ :host([has-helper][theme~='helper-above-field']) [part='error-message'] {
17151
+ order: 3;
17152
+ }
17153
+ `;
17154
+
17155
+ /**
17156
+ * @license
17157
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
17158
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
17159
+ */
17160
+
17161
+ const requiredField$1 = i$b`
17162
+ [part='label'] {
17163
+ align-self: flex-start;
17164
+ color: var(--lumo-secondary-text-color);
17165
+ font-weight: 500;
17166
+ font-size: var(--lumo-font-size-s);
17167
+ margin-left: calc(var(--lumo-border-radius-m) / 4);
17168
+ transition: color 0.2s;
17169
+ line-height: 1;
17170
+ padding-right: 1em;
17171
+ padding-bottom: 0.5em;
17172
+ /* As a workaround for diacritics being cut off, add a top padding and a
17173
+ negative margin to compensate */
17174
+ padding-top: 0.25em;
17175
+ margin-top: -0.25em;
17176
+ overflow: hidden;
17177
+ white-space: nowrap;
17178
+ text-overflow: ellipsis;
17179
+ position: relative;
17180
+ max-width: 100%;
17181
+ box-sizing: border-box;
17182
+ }
17183
+
17184
+ :host([has-label])::before {
17185
+ margin-top: calc(var(--lumo-font-size-s) * 1.5);
17186
+ }
17187
+
17188
+ :host([has-label][theme~='small'])::before {
17189
+ margin-top: calc(var(--lumo-font-size-xs) * 1.5);
17190
+ }
17191
+
17192
+ :host([has-label]) {
17193
+ padding-top: var(--lumo-space-m);
17194
+ }
17195
+
17196
+ :host([has-label]) ::slotted([slot='tooltip']) {
17197
+ --vaadin-tooltip-offset-bottom: calc((var(--lumo-space-m) - var(--lumo-space-xs)) * -1);
17198
+ }
17199
+
17200
+ :host([required]) [part='required-indicator']::after {
17201
+ content: var(--lumo-required-field-indicator, '\\2022');
17202
+ transition: opacity 0.2s;
17203
+ color: var(--lumo-required-field-indicator-color, var(--lumo-primary-text-color));
17204
+ position: absolute;
17205
+ right: 0;
17206
+ width: 1em;
17207
+ text-align: center;
17208
+ }
17209
+
17210
+ :host([invalid]) [part='required-indicator']::after {
17211
+ color: var(--lumo-required-field-indicator-color, var(--lumo-error-text-color));
17212
+ }
17213
+
17214
+ [part='error-message'] {
17215
+ margin-left: calc(var(--lumo-border-radius-m) / 4);
17216
+ font-size: var(--lumo-font-size-xs);
17217
+ line-height: var(--lumo-line-height-xs);
17218
+ color: var(--lumo-error-text-color);
17219
+ will-change: max-height;
17220
+ transition: 0.4s max-height;
17221
+ max-height: 5em;
17222
+ }
17223
+
17224
+ :host([has-error-message]) [part='error-message']::before,
17225
+ :host([has-error-message]) [part='error-message']::after {
17226
+ content: '';
17227
+ display: block;
17228
+ height: 0.4em;
17229
+ }
17230
+
17231
+ :host(:not([invalid])) [part='error-message'] {
17232
+ max-height: 0;
17233
+ overflow: hidden;
17234
+ }
17235
+
17236
+ /* RTL specific styles */
17237
+
17238
+ :host([dir='rtl']) [part='label'] {
17239
+ margin-left: 0;
17240
+ margin-right: calc(var(--lumo-border-radius-m) / 4);
17241
+ }
17242
+
17243
+ :host([dir='rtl']) [part='label'] {
17244
+ padding-left: 1em;
17245
+ padding-right: 0;
17246
+ }
17247
+
17248
+ :host([dir='rtl']) [part='required-indicator']::after {
17249
+ right: auto;
17250
+ left: 0;
17251
+ }
17252
+
17253
+ :host([dir='rtl']) [part='error-message'] {
17254
+ margin-left: 0;
17255
+ margin-right: calc(var(--lumo-border-radius-m) / 4);
17256
+ }
17257
+ `;
17258
+
17259
+ registerStyles('', requiredField$1, { moduleId: 'lumo-required-field' });
17260
+
17261
+ /**
17262
+ * @license
17263
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
17264
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
17265
+ */
17266
+
17267
+ const inputField$2 = i$b`
17020
17268
  :host {
17021
17269
  --lumo-text-field-size: var(--lumo-size-m);
17022
17270
  color: var(--lumo-body-text-color);
@@ -17152,13 +17400,13 @@ const inputField$1 = i$1`
17152
17400
  }
17153
17401
  `;
17154
17402
 
17155
- const inputFieldShared$2 = [requiredField$1, fieldButton$1, helper$1, inputField$1];
17403
+ const inputFieldShared$3 = [requiredField$1, fieldButton$2, helper$1, inputField$2];
17156
17404
 
17157
- registerStyles('', inputFieldShared$2, {
17405
+ registerStyles('', inputFieldShared$3, {
17158
17406
  moduleId: 'lumo-input-field-shared-styles',
17159
17407
  });
17160
17408
 
17161
- const datePicker = i$1`
17409
+ const datePicker = i$b`
17162
17410
  :host {
17163
17411
  outline: none;
17164
17412
  }
@@ -17186,7 +17434,7 @@ const datePicker = i$1`
17186
17434
  }
17187
17435
  `;
17188
17436
 
17189
- registerStyles('vaadin-date-picker', [inputFieldShared$2, datePicker], { moduleId: 'lumo-date-picker' });
17437
+ registerStyles('vaadin-date-picker', [inputFieldShared$3, datePicker], { moduleId: 'lumo-date-picker' });
17190
17438
 
17191
17439
  /**
17192
17440
  @license
@@ -18863,13 +19111,39 @@ const PositionMixin = (superClass) =>
18863
19111
  }
18864
19112
  };
18865
19113
 
19114
+ /**
19115
+ * @license
19116
+ * Copyright 2019 Google LLC
19117
+ * SPDX-License-Identifier: BSD-3-Clause
19118
+ */
19119
+ const t$5=globalThis,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(),o$a=new WeakMap;class n$a{constructor(t,e,o){if(this._$cssResult$=!0,o!==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=o$a.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$a.set(s,t));}return t}toString(){return this.cssText}}const r$9=t=>new n$a("string"==typeof t?t:t+"",void 0,s$9),i$7=(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$a(o,t,s$9)},S$5=(s,o)=>{if(e$8)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$5.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},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;
19120
+
19121
+ /**
19122
+ * @license
19123
+ * Copyright 2017 Google LLC
19124
+ * SPDX-License-Identifier: BSD-3-Clause
19125
+ */const{is:i$6,defineProperty:e$7,getOwnPropertyDescriptor:r$8,getOwnPropertyNames:h$5,getOwnPropertySymbols:o$9,getPrototypeOf:n$9}=Object,a$5=globalThis,c$5=a$5.trustedTypes,l$7=c$5?c$5.emptyScript:"",p$3=a$5.reactiveElementPolyfillSupport,d$5=(t,s)=>t,u$5={toAttribute(t,s){switch(s){case Boolean:t=t?l$7: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$3=(t,s)=>!i$6(t,s),y$2={attribute:!0,type:String,converter:u$5,reflect:!1,hasChanged:f$3};Symbol.metadata??=Symbol("metadata"),a$5.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$2){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$7(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$8(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$2}static _$Ei(){if(this.hasOwnProperty(d$5("elementProperties")))return;const t=n$9(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$5("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d$5("properties"))){const t=this.properties,s=[...h$5(t),...o$9(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$6(s));}else void 0!==s&&i.push(c$6(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$5(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$5).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$5;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$3)(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$5("elementProperties")]=new Map,b[d$5("finalized")]=new Map,p$3?.({ReactiveElement:b}),(a$5.reactiveElementVersions??=[]).push("2.0.4");
19126
+
19127
+ /**
19128
+ * @license
19129
+ * Copyright 2017 Google LLC
19130
+ * SPDX-License-Identifier: BSD-3-Clause
19131
+ */
19132
+ const t$4=globalThis,i$5=t$4.trustedTypes,s$8=i$5?i$5.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$6="$lit$",h$4=`lit$${Math.random().toFixed(9).slice(2)}$`,o$8="?"+h$4,n$8=`<${o$8}>`,r$7=document,l$6=()=>r$7.createComment(""),c$4=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$4=Array.isArray,u$4=t=>a$4(t)||"function"==typeof t?.[Symbol.iterator],d$4="[ \t\n\f\r]",f$2=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$2=/-->/g,_$2=/>/g,m$2=RegExp(`>|${d$4}(?:([^\\s"'>=/]+)(${d$4}*=${d$4}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$2=/'/g,g$2=/"/g,$$2=/^(?:script|style|textarea|title)$/i,T$2=Symbol.for("lit-noChange"),E$2=Symbol.for("lit-nothing"),A$2=new WeakMap,C$2=r$7.createTreeWalker(r$7,129);function P$2(t,i){if(!a$4(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$8?s$8.createHTML(i):i}const V$2=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$2;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$2?"!--"===u[1]?c=v$2:void 0!==u[1]?c=_$2:void 0!==u[2]?($$2.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$2):void 0!==u[3]&&(c=m$2):c===m$2?">"===u[0]?(c=r??f$2,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$2:'"'===u[3]?g$2:p$2):c===g$2||c===p$2?c=m$2:c===v$2||c===_$2?c=f$2:(c=m$2,r=void 0);const x=c===m$2&&t[i+1].startsWith("/>")?" ":"";l+=c===f$2?s+n$8:d>=0?(o.push(a),s.slice(0,d)+e$6+s.slice(d)+h$4+x):s+h$4+(-2===d?i:x);}return [P$2(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N$2{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$2(t,s);if(this.el=N$2.createElement(f,n),C$2.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$2.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$6)){const i=v[a++],s=r.getAttribute(t).split(h$4),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$2:"?"===e[1]?I$2:"@"===e[1]?L$2:k$2}),r.removeAttribute(t);}else t.startsWith(h$4)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$2.test(r.tagName)){const t=r.textContent.split(h$4),s=t.length-1;if(s>0){r.textContent=i$5?i$5.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$6()),C$2.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$6());}}}else if(8===r.nodeType)if(r.data===o$8)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$4,t+1));)d.push({type:7,index:c}),t+=h$4.length-1;}c++;}}static createElement(t,i){const s=r$7.createElement("template");return s.innerHTML=t,s}}function S$4(t,i,s=t,e){if(i===T$2)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$4(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$4(t,h._$AS(t,i.values),h,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){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$7).importNode(i,!0);C$2.currentNode=e;let h=C$2.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$2(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$2(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$2.nextNode(),o++);}return C$2.currentNode=r$7,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$2{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$2,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$4(this,t,i),c$4(t)?t===E$2||null==t||""===t?(this._$AH!==E$2&&this._$AR(),this._$AH=E$2):t!==this._$AH&&t!==T$2&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$4(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$2&&c$4(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$7.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$2.createElement(P$2(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$2(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$2.get(t.strings);return void 0===i&&A$2.set(t.strings,i=new N$2(t)),i}k(t){a$4(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$2(this.O(l$6()),this.O(l$6()),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$2{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$2,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$2;}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=S$4(this,t,i,0),o=!c$4(t)||t!==this._$AH&&t!==T$2,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$4(this,e[s+n],i,n),r===T$2&&(r=this._$AH[n]),o||=!c$4(r)||r!==this._$AH[n],r===E$2?t=E$2:t!==E$2&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$2?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H$2 extends k$2{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$2?void 0:t;}}class I$2 extends k$2{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$2);}}class L$2 extends k$2{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$4(this,t,i,0)??E$2)===T$2)return;const s=this._$AH,e=t===E$2&&s!==E$2||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$2&&(s===E$2||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$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$4(this,t);}}const j=t$4.litHtmlPolyfillSupport;j?.(N$2,R$2),(t$4.litHtmlVersions??=[]).push("3.2.1");const B$2=(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$2(i.insertBefore(l$6(),t),t,void 0,s??{});}return h._$AI(t),h};
19133
+
19134
+ /**
19135
+ * @license
19136
+ * Copyright 2017 Google LLC
19137
+ * SPDX-License-Identifier: BSD-3-Clause
19138
+ */class r$6 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$2(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1);}render(){return T$2}}r$6._$litElement$=!0,r$6["finalized"]=!0,globalThis.litElementHydrateSupport?.({LitElement:r$6});const i$4=globalThis.litElementPolyfillSupport;i$4?.({LitElement:r$6});(globalThis.litElementVersions??=[]).push("4.1.1");
19139
+
18866
19140
  /**
18867
19141
  * @license
18868
19142
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
18869
19143
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
18870
19144
  */
18871
19145
 
18872
- const overlayStyles = i$1`
19146
+ const overlayStyles = i$7`
18873
19147
  :host {
18874
19148
  z-index: 200;
18875
19149
  position: fixed;
@@ -18935,7 +19209,7 @@ const overlayStyles = i$1`
18935
19209
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
18936
19210
  */
18937
19211
 
18938
- const datePickerOverlayStyles = i$1`
19212
+ const datePickerOverlayStyles = i$9`
18939
19213
  [part='overlay'] {
18940
19214
  display: flex;
18941
19215
  flex: auto;
@@ -21244,7 +21518,7 @@ class DomRepeat extends domRepeatBase {
21244
21518
  if (prop == this.as) {
21245
21519
  this.items[idx] = value;
21246
21520
  }
21247
- let path = translate$2(this.as, `${JSCompiler_renameProperty('items', this)}.${idx}`, prop);
21521
+ let path = translate$1(this.as, `${JSCompiler_renameProperty('items', this)}.${idx}`, prop);
21248
21522
  this.notifyPath(path, value);
21249
21523
  }
21250
21524
  }
@@ -21929,7 +22203,7 @@ const MonthCalendarMixin = (superClass) =>
21929
22203
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
21930
22204
  */
21931
22205
 
21932
- const monthCalendarStyles = i$1`
22206
+ const monthCalendarStyles = i$9`
21933
22207
  :host {
21934
22208
  display: block;
21935
22209
  }
@@ -23249,7 +23523,7 @@ const DatePickerOverlayContentMixin = (superClass) =>
23249
23523
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
23250
23524
  */
23251
23525
 
23252
- const overlayContentStyles = i$1`
23526
+ const overlayContentStyles = i$9`
23253
23527
  :host {
23254
23528
  display: flex;
23255
23529
  flex-direction: column;
@@ -23953,13 +24227,39 @@ const InputControlMixin = (superclass) =>
23953
24227
  */
23954
24228
  };
23955
24229
 
24230
+ /**
24231
+ * @license
24232
+ * Copyright 2019 Google LLC
24233
+ * SPDX-License-Identifier: BSD-3-Clause
24234
+ */
24235
+ const t$3=window,e$5=t$3.ShadowRoot&&(void 0===t$3.ShadyCSS||t$3.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$7=Symbol(),n$7=new WeakMap;class o$7{constructor(t,e,n){if(this._$cssResult$=!0,n!==s$7)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=n$7.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&n$7.set(s,t));}return t}toString(){return this.cssText}}const r$5=t=>new o$7("string"==typeof t?t:t+"",void 0,s$7),i$3=(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$7(n,t,s$7)},S$3=(s,n)=>{e$5?s.adoptedStyleSheets=n.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):n.forEach((e=>{const n=document.createElement("style"),o=t$3.litNonce;void 0!==o&&n.setAttribute("nonce",o),n.textContent=e.cssText,s.appendChild(n);}));},c$3=e$5?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$5(e)})(t):t;
24236
+
24237
+ /**
24238
+ * @license
24239
+ * Copyright 2017 Google LLC
24240
+ * SPDX-License-Identifier: BSD-3-Clause
24241
+ */var s$6;const e$4=window,r$4=e$4.trustedTypes,h$3=r$4?r$4.emptyScript:"",o$6=e$4.reactiveElementPolyfillSupport,n$6={toAttribute(t,i){switch(i){case Boolean:t=t?h$3: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$3=(t,i)=>i!==t&&(i==i||t==t),l$5={attribute:!0,type:String,converter:n$6,reflect:!1,hasChanged:a$3},d$3="finalized";class u$3 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$5){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$5}static finalize(){if(this.hasOwnProperty(d$3))return !1;this[d$3]=!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$3(i));}else void 0!==i&&s.push(c$3(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$3(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$5){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$6).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$6;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$3)(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$3[d$3]=!0,u$3.elementProperties=new Map,u$3.elementStyles=[],u$3.shadowRootOptions={mode:"open"},null==o$6||o$6({ReactiveElement:u$3}),(null!==(s$6=e$4.reactiveElementVersions)&&void 0!==s$6?s$6:e$4.reactiveElementVersions=[]).push("1.6.3");
24242
+
24243
+ /**
24244
+ * @license
24245
+ * Copyright 2017 Google LLC
24246
+ * SPDX-License-Identifier: BSD-3-Clause
24247
+ */
24248
+ var t$2;const i$2=window,s$5=i$2.trustedTypes,e$3=s$5?s$5.createPolicy("lit-html",{createHTML:t=>t}):void 0,o$5="$lit$",n$5=`lit$${(Math.random()+"").slice(9)}$`,l$4="?"+n$5,h$2=`<${l$4}>`,r$3=document,u$2=()=>r$3.createComment(""),d$2=t=>null===t||"object"!=typeof t&&"function"!=typeof t,c$2=Array.isArray,v$1=t=>c$2(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),a$2="[ \t\n\f\r]",f$1=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_$1=/-->/g,m$1=/>/g,p$1=RegExp(`>|${a$2}(?:([^\\s"'>=/]+)(${a$2}*=${a$2}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),g$1=/'/g,$$1=/"/g,y$1=/^(?:script|style|textarea|title)$/i,T$1=Symbol.for("lit-noChange"),A$1=Symbol.for("lit-nothing"),E$1=new WeakMap,C$1=r$3.createTreeWalker(r$3,129,null,!1);function P$1(t,i){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==e$3?e$3.createHTML(i):i}const V$1=(t,i)=>{const s=t.length-1,e=[];let l,r=2===i?"<svg>":"",u=f$1;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$1?"!--"===c[1]?u=_$1:void 0!==c[1]?u=m$1:void 0!==c[2]?(y$1.test(c[2])&&(l=RegExp("</"+c[2],"g")),u=p$1):void 0!==c[3]&&(u=p$1):u===p$1?">"===c[0]?(u=null!=l?l:f$1,v=-1):void 0===c[1]?v=-2:(v=u.lastIndex-c[2].length,d=c[1],u=void 0===c[3]?p$1:'"'===c[3]?$$1:g$1):u===$$1||u===g$1?u=p$1:u===_$1||u===m$1?u=f$1:(u=p$1,l=void 0);const w=u===p$1&&t[i+1].startsWith("/>")?" ":"";r+=u===f$1?s+h$2:v>=0?(e.push(d),s.slice(0,v)+o$5+s.slice(v)+n$5+w):s+n$5+(-2===v?(e.push(void 0),i):w);}return [P$1(t,r+(t[s]||"<?>")+(2===i?"</svg>":"")),e]};class N$1{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$1(t,i);if(this.el=N$1.createElement(a,e),C$1.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes);}for(;null!==(h=C$1.nextNode())&&v.length<c;){if(1===h.nodeType){if(h.hasAttributes()){const t=[];for(const i of h.getAttributeNames())if(i.endsWith(o$5)||i.startsWith(n$5)){const s=f[d++];if(t.push(i),void 0!==s){const t=h.getAttribute(s.toLowerCase()+o$5).split(n$5),i=/([.?@])?(.*)/.exec(s);v.push({type:1,index:r,name:i[2],strings:t,ctor:"."===i[1]?H$1:"?"===i[1]?L$1:"@"===i[1]?z$1:k$1});}else v.push({type:6,index:r});}for(const i of t)h.removeAttribute(i);}if(y$1.test(h.tagName)){const t=h.textContent.split(n$5),i=t.length-1;if(i>0){h.textContent=s$5?s$5.emptyScript:"";for(let s=0;s<i;s++)h.append(t[s],u$2()),C$1.nextNode(),v.push({type:2,index:++r});h.append(t[i],u$2());}}}else if(8===h.nodeType)if(h.data===l$4)v.push({type:2,index:r});else {let t=-1;for(;-1!==(t=h.data.indexOf(n$5,t+1));)v.push({type:7,index:r}),t+=n$5.length-1;}r++;}}static createElement(t,i){const s=r$3.createElement("template");return s.innerHTML=t,s}}function S$2(t,i,s=t,e){var o,n,l,h;if(i===T$1)return i;let r=void 0!==e?null===(o=s._$Co)||void 0===o?void 0:o[e]:s._$Cl;const u=d$2(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$2(t,r._$AS(t,i.values),r,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){var i;const{el:{content:s},parts:e}=this._$AD,o=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:r$3).importNode(s,!0);C$1.currentNode=o;let n=C$1.nextNode(),l=0,h=0,u=e[0];for(;void 0!==u;){if(l===u.index){let i;2===u.type?i=new R$1(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$1.nextNode(),l++);}return C$1.currentNode=r$3,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$1{constructor(t,i,s,e){var o;this.type=2,this._$AH=A$1,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$2(this,t,i),d$2(t)?t===A$1||null==t||""===t?(this._$AH!==A$1&&this._$AR(),this._$AH=A$1):t!==this._$AH&&t!==T$1&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):v$1(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$1&&d$2(this._$AH)?this._$AA.nextSibling.data=t:this.$(r$3.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$1.createElement(P$1(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$1(o,this),i=t.u(this.options);t.v(s),this.$(i),this._$AH=t;}}_$AC(t){let i=E$1.get(t.strings);return void 0===i&&E$1.set(t.strings,i=new N$1(t)),i}T(t){c$2(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$1(this.k(u$2()),this.k(u$2()),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$1{constructor(t,i,s,e,o){this.type=1,this._$AH=A$1,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$1;}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$2(this,t,i,0),n=!d$2(t)||t!==this._$AH&&t!==T$1,n&&(this._$AH=t);else {const e=t;let l,h;for(t=o[0],l=0;l<o.length-1;l++)h=S$2(this,e[s+l],i,l),h===T$1&&(h=this._$AH[l]),n||(n=!d$2(h)||h!==this._$AH[l]),h===A$1?t=A$1:t!==A$1&&(t+=(null!=h?h:"")+o[l+1]),this._$AH[l]=h;}n&&!e&&this.j(t);}j(t){t===A$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"");}}class H$1 extends k$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===A$1?void 0:t;}}const I$1=s$5?s$5.emptyScript:"";class L$1 extends k$1{constructor(){super(...arguments),this.type=4;}j(t){t&&t!==A$1?this.element.setAttribute(this.name,I$1):this.element.removeAttribute(this.name);}}class z$1 extends k$1{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$2(this,t,i,0))&&void 0!==s?s:A$1)===T$1)return;const e=this._$AH,o=t===A$1&&e!==A$1||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==A$1&&(e===A$1||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$2(this,t);}}const B$1=i$2.litHtmlPolyfillSupport;null==B$1||B$1(N$1,R$1),(null!==(t$2=i$2.litHtmlVersions)&&void 0!==t$2?t$2:i$2.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$1(i.insertBefore(u$2(),t),t,void 0,null!=s?s:{});}return l._$AI(t),l};
24249
+
24250
+ /**
24251
+ * @license
24252
+ * Copyright 2017 Google LLC
24253
+ * SPDX-License-Identifier: BSD-3-Clause
24254
+ */var l$3,o$4;class s$4 extends u$3{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$1}}s$4.finalized=!0,s$4._$litElement$=!0,null===(l$3=globalThis.litElementHydrateSupport)||void 0===l$3||l$3.call(globalThis,{LitElement:s$4});const n$4=globalThis.litElementPolyfillSupport;null==n$4||n$4({LitElement:s$4});(null!==(o$4=globalThis.litElementVersions)&&void 0!==o$4?o$4:globalThis.litElementVersions=[]).push("3.3.3");
24255
+
23956
24256
  /**
23957
24257
  * @license
23958
24258
  * Copyright (c) 2021 - 2023 Vaadin Ltd..
23959
24259
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
23960
24260
  */
23961
24261
 
23962
- const clearButton = i$1`
24262
+ const clearButton = i$3`
23963
24263
  [part='clear-button'] {
23964
24264
  display: none;
23965
24265
  cursor: default;
@@ -23980,7 +24280,7 @@ const clearButton = i$1`
23980
24280
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
23981
24281
  */
23982
24282
 
23983
- const fieldShared = i$1`
24283
+ const fieldShared = i$3`
23984
24284
  :host {
23985
24285
  display: inline-flex;
23986
24286
  outline: none;
@@ -24022,7 +24322,7 @@ const fieldShared = i$1`
24022
24322
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
24023
24323
  */
24024
24324
 
24025
- const inputFieldContainer = i$1`
24325
+ const inputFieldContainer = i$3`
24026
24326
  [class$='container'] {
24027
24327
  display: flex;
24028
24328
  flex-direction: column;
@@ -24038,7 +24338,7 @@ const inputFieldContainer = i$1`
24038
24338
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
24039
24339
  */
24040
24340
 
24041
- const inputFieldShared$1 = [fieldShared, inputFieldContainer, clearButton];
24341
+ const inputFieldShared$2 = [fieldShared, inputFieldContainer, clearButton];
24042
24342
 
24043
24343
  /**
24044
24344
  * @license
@@ -25330,7 +25630,7 @@ const DatePickerMixin = (subclass) =>
25330
25630
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
25331
25631
  */
25332
25632
 
25333
- const datePickerStyles = i$1`
25633
+ const datePickerStyles = i$9`
25334
25634
  :host([opened]) {
25335
25635
  pointer-events: auto;
25336
25636
  }
@@ -25351,7 +25651,7 @@ const datePickerStyles = i$1`
25351
25651
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
25352
25652
  */
25353
25653
 
25354
- registerStyles('vaadin-date-picker', [inputFieldShared$1, datePickerStyles], { moduleId: 'vaadin-date-picker-styles' });
25654
+ registerStyles('vaadin-date-picker', [inputFieldShared$2, datePickerStyles], { moduleId: 'vaadin-date-picker-styles' });
25355
25655
 
25356
25656
  /**
25357
25657
  * `<vaadin-date-picker>` is an input field that allows to enter a date by typing or by selecting from a calendar overlay.
@@ -30656,6 +30956,16 @@ const DateInput = class {
30656
30956
  registerInstance(this, hostRef);
30657
30957
  this.sendValidityState = createEvent(this, "sendValidityState", 7);
30658
30958
  this.sendInputValue = createEvent(this, "sendInputValue", 7);
30959
+ /**
30960
+ * Client custom styling via inline style
30961
+ */
30962
+ this.clientStyling = '';
30963
+ /**
30964
+ * Emit event on click
30965
+ */
30966
+ this.emitOnClick = false;
30967
+ this.limitStylingAppends = false;
30968
+ this.showTooltip = false;
30659
30969
  this.touched = false;
30660
30970
  this.formatDate = (dateParts) => {
30661
30971
  const { year, month, day } = dateParts;
@@ -30676,22 +30986,6 @@ const DateInput = class {
30676
30986
  sheet.innerHTML = this.clientStyling;
30677
30987
  this.stylingContainer.prepend(sheet);
30678
30988
  };
30679
- this.name = undefined;
30680
- this.displayName = undefined;
30681
- this.placeholder = undefined;
30682
- this.validation = undefined;
30683
- this.defaultValue = undefined;
30684
- this.autofilled = undefined;
30685
- this.tooltip = undefined;
30686
- this.language = undefined;
30687
- this.emitValue = undefined;
30688
- this.clientStyling = '';
30689
- this.dateFormat = undefined;
30690
- this.emitOnClick = false;
30691
- this.errorMessage = undefined;
30692
- this.isValid = undefined;
30693
- this.limitStylingAppends = false;
30694
- this.showTooltip = false;
30695
30989
  }
30696
30990
  validityChanged() {
30697
30991
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -30769,18 +31063,18 @@ const DateInput = class {
30769
31063
  }
30770
31064
  setErrorMessage() {
30771
31065
  if (isBefore(this.valueAsDate, this.minDate) || isAfter(this.valueAsDate, this.maxDate)) {
30772
- return translate$3('dateError2', this.language);
31066
+ return translate$2('dateError2', this.language);
30773
31067
  }
30774
31068
  if (this.inputReference.validity.rangeUnderflow || this.inputReference.validity.rangeOverflow) {
30775
- return translate$3('dateError', this.language, { values: { min: this.validation.min, max: this.validation.max } });
31069
+ return translate$2('dateError', this.language, { values: { min: this.validation.min, max: this.validation.max } });
30776
31070
  }
30777
31071
  if (this.inputReference.validity.valueMissing) {
30778
- return translate$3('requiredError', this.language);
31072
+ return translate$2('requiredError', this.language);
30779
31073
  }
30780
31074
  }
30781
31075
  renderTooltip() {
30782
31076
  if (this.showTooltip) {
30783
- return (h$2("div", { class: `date__tooltip ${this.showTooltip ? 'visible' : ''}`, ref: (el) => this.tooltipReference = el, innerHTML: this.tooltip }));
31077
+ return (h$a("div", { class: `date__tooltip ${this.showTooltip ? 'visible' : ''}`, ref: (el) => this.tooltipReference = el, innerHTML: this.tooltip }));
30784
31078
  }
30785
31079
  return null;
30786
31080
  }
@@ -30789,8 +31083,8 @@ const DateInput = class {
30789
31083
  if (this.touched) {
30790
31084
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
30791
31085
  }
30792
- return h$2("div", { key: 'fc9cd0a618c7b6e62962c0800399a470fffa1fc4', class: `date__wrapper ${this.autofilled ? 'date__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("label", { key: 'abc7c1715dd2d0c60dd2ac6d028355de910be501', class: `date__label ${this.validation.mandatory ? 'date__label--required' : ''}}`, htmlFor: `${this.name}__input` }, this.displayName, " ", this.validation.mandatory ? '*' : ''), h$2("vaadin-date-picker", { key: 'a6b40a978b573d41490457d708f9a7ac78622a6f', id: `${this.name}__input`, type: 'date', class: `date__input ${invalidClass}`, value: this.defaultValue, readOnly: this.autofilled, placeholder: `${this.placeholder}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onChange: (e) => this.handleInput(e), onBlur: this.handleBlur }), h$2("small", { key: 'd802ea7b25a64802aca3a7491107fcee7af2a23c', class: 'date__error-message' }, this.errorMessage), this.tooltip &&
30793
- h$2("img", { key: '46edd200a9ce9eba27414a6434c6b3d5e9dc9964', class: 'date__tooltip-icon', src: tooltipIconSvg$1, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
31086
+ return h$a("div", { key: 'fc9cd0a618c7b6e62962c0800399a470fffa1fc4', class: `date__wrapper ${this.autofilled ? 'date__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$a("label", { key: 'abc7c1715dd2d0c60dd2ac6d028355de910be501', class: `date__label ${this.validation.mandatory ? 'date__label--required' : ''}}`, htmlFor: `${this.name}__input` }, this.displayName, " ", this.validation.mandatory ? '*' : ''), h$a("vaadin-date-picker", { key: 'a6b40a978b573d41490457d708f9a7ac78622a6f', id: `${this.name}__input`, type: 'date', class: `date__input ${invalidClass}`, value: this.defaultValue, readOnly: this.autofilled, placeholder: `${this.placeholder}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onChange: (e) => this.handleInput(e), onBlur: this.handleBlur }), h$a("small", { key: 'd802ea7b25a64802aca3a7491107fcee7af2a23c', class: 'date__error-message' }, this.errorMessage), this.tooltip &&
31087
+ h$a("img", { key: '46edd200a9ce9eba27414a6434c6b3d5e9dc9964', class: 'date__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
30794
31088
  }
30795
31089
  get element() { return getElement(this); }
30796
31090
  static get watchers() { return {
@@ -30808,6 +31102,12 @@ const EmailInput = class {
30808
31102
  registerInstance(this, hostRef);
30809
31103
  this.sendValidityState = createEvent(this, "sendValidityState", 7);
30810
31104
  this.sendInputValue = createEvent(this, "sendInputValue", 7);
31105
+ /**
31106
+ * Client custom styling via inline style
31107
+ */
31108
+ this.clientStyling = '';
31109
+ this.limitStylingAppends = false;
31110
+ this.showTooltip = false;
30811
31111
  this.validationPattern = '';
30812
31112
  this.touched = false;
30813
31113
  this.handleInput = (event) => {
@@ -30832,21 +31132,6 @@ const EmailInput = class {
30832
31132
  sheet.innerHTML = this.clientStyling;
30833
31133
  this.stylingContainer.prepend(sheet);
30834
31134
  };
30835
- this.name = undefined;
30836
- this.displayName = undefined;
30837
- this.placeholder = undefined;
30838
- this.validation = undefined;
30839
- this.defaultValue = undefined;
30840
- this.autofilled = undefined;
30841
- this.tooltip = undefined;
30842
- this.language = undefined;
30843
- this.emitValue = undefined;
30844
- this.isDuplicateInput = undefined;
30845
- this.clientStyling = '';
30846
- this.errorMessage = undefined;
30847
- this.isValid = undefined;
30848
- this.limitStylingAppends = false;
30849
- this.showTooltip = false;
30850
31135
  }
30851
31136
  validityChanged() {
30852
31137
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -30911,23 +31196,23 @@ const EmailInput = class {
30911
31196
  if (this.inputReference.validity.patternMismatch) {
30912
31197
  const errorCode = (_a = this.validation.custom.find(customValidation => customValidation.rule === 'regex')) === null || _a === void 0 ? void 0 : _a.errorKey;
30913
31198
  const errorMessage = (_b = this.validation.custom.find(customValidation => customValidation.rule === 'regex')) === null || _b === void 0 ? void 0 : _b.errorMessage;
30914
- return translate$3(`${errorCode}`, this.language) ? translate$3(`${errorCode}`, this.language) : errorMessage;
31199
+ return translate$2(`${errorCode}`, this.language) ? translate$2(`${errorCode}`, this.language) : errorMessage;
30915
31200
  }
30916
31201
  if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong) {
30917
- return translate$3('lengthError', this.language, { values: { minLength: this.validation.minLength, maxLength: this.validation.maxLength } });
31202
+ return translate$2('lengthError', this.language, { values: { minLength: this.validation.minLength, maxLength: this.validation.maxLength } });
30918
31203
  }
30919
31204
  if (this.inputReference.validity.valueMissing) {
30920
- return translate$3('requiredError', this.language);
31205
+ return translate$2('requiredError', this.language);
30921
31206
  }
30922
31207
  if (this.isDuplicateInput && this.duplicateInputValue !== this.value) {
30923
31208
  const errorCode = (_c = this.validation.custom.find(customRule => customRule.rule === 'duplicate-input')) === null || _c === void 0 ? void 0 : _c.errorKey;
30924
31209
  const errorMessage = (_d = this.validation.custom.find(customRule => customRule.rule === 'duplicate-input')) === null || _d === void 0 ? void 0 : _d.errorMessage;
30925
- return translate$3(`${errorCode}`, this.language) ? translate$3(`${errorCode}`, this.language) : errorMessage;
31210
+ return translate$2(`${errorCode}`, this.language) ? translate$2(`${errorCode}`, this.language) : errorMessage;
30926
31211
  }
30927
31212
  }
30928
31213
  renderTooltip() {
30929
31214
  if (this.showTooltip) {
30930
- return (h$2("div", { class: `email__tooltip ${this.showTooltip ? 'visible' : ''}`, ref: (el) => this.tooltipReference = el, innerHTML: this.tooltip }));
31215
+ return (h$a("div", { class: `email__tooltip ${this.showTooltip ? 'visible' : ''}`, ref: (el) => this.tooltipReference = el, innerHTML: this.tooltip }));
30931
31216
  }
30932
31217
  return null;
30933
31218
  }
@@ -30936,8 +31221,8 @@ const EmailInput = class {
30936
31221
  if (this.touched) {
30937
31222
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
30938
31223
  }
30939
- return h$2("div", { key: '23ac67984ab7a0f4db01e5fe01f4f326b4c6a912', class: `email__wrapper ${this.autofilled ? 'number__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("div", { key: 'aa2405e435aea20f1678dd74776a8ce4094bc95b', class: 'email__wrapper--flex' }, h$2("label", { key: '970b83bbcf082d1721c1647993fecd076939b65d', class: `email__label ${this.validation.mandatory ? 'email__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("div", { key: '2f03eaf161aab9b45282c1bc0de15bea8455427c', class: 'email__wrapper--relative' }, this.tooltip &&
30940
- h$2("img", { key: '3c34b91f0b478cf04f5aabc5fdd33a8ed73d091b', class: 'email__tooltip-icon', src: tooltipIconSvg$1, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$2("input", { key: '491f83c0f562893c02e3425b4d54eecc214e3c95', id: `${this.name}__input`, type: 'email', class: `email__input ${invalidClass}`, value: this.defaultValue, readOnly: this.autofilled, placeholder: `${this.placeholder}`, ref: (el) => this.inputReference = el, pattern: this.validationPattern, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, onInput: this.handleInput, onBlur: this.handleBlur }), h$2("small", { key: 'edb6660d958cc5d0cb41b0db195bd7e847ecbefe', class: 'email__error-message' }, this.errorMessage));
31224
+ return h$a("div", { key: '23ac67984ab7a0f4db01e5fe01f4f326b4c6a912', class: `email__wrapper ${this.autofilled ? 'number__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$a("div", { key: 'aa2405e435aea20f1678dd74776a8ce4094bc95b', class: 'email__wrapper--flex' }, h$a("label", { key: '970b83bbcf082d1721c1647993fecd076939b65d', class: `email__label ${this.validation.mandatory ? 'email__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$a("div", { key: '2f03eaf161aab9b45282c1bc0de15bea8455427c', class: 'email__wrapper--relative' }, this.tooltip &&
31225
+ h$a("img", { key: '3c34b91f0b478cf04f5aabc5fdd33a8ed73d091b', class: 'email__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$a("input", { key: '491f83c0f562893c02e3425b4d54eecc214e3c95', id: `${this.name}__input`, type: 'email', class: `email__input ${invalidClass}`, value: this.defaultValue, readOnly: this.autofilled, placeholder: `${this.placeholder}`, ref: (el) => this.inputReference = el, pattern: this.validationPattern, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, onInput: this.handleInput, onBlur: this.handleBlur }), h$a("small", { key: 'edb6660d958cc5d0cb41b0db195bd7e847ecbefe', class: 'email__error-message' }, this.errorMessage));
30941
31226
  }
30942
31227
  static get watchers() { return {
30943
31228
  "isValid": ["validityChanged"],
@@ -30946,372 +31231,71 @@ const EmailInput = class {
30946
31231
  };
30947
31232
  EmailInput.style = EmailInputStyle0;
30948
31233
 
30949
- const DEFAULT_LANGUAGE$1 = 'en';
30950
- const TRANSLATIONS$1 = {
30951
- "en": {
30952
- "termsandconditions__description": "Needed to prove user accepted terms and conditions.",
30953
- "emailmarketing__description": "Needed to prove email marketing consent.",
30954
- "sms__description": "Needed to prove sms marketing consent.",
30955
- "3rdparty__description": "Needed to prove 3rd party marketing consent.",
30956
- "noDataFound": "No data found for consents.",
30957
- "loading": "Loading...please wait",
30958
- "requiredError": "This field is mandatory",
30959
- },
30960
- "hu": {
30961
- "termsandconditions__description": "Szükséges annak igazolására, hogy a felhasználó elfogadta a feltételeket és kikötéseket.",
30962
- "emailmarketing__description": "Szükséges annak igazolására, hogy a felhasználó beleegyezett az e-mail marketingbe.",
30963
- "sms__description": "Szükséges annak igazolására, hogy a felhasználó beleegyezett az SMS marketingbe.",
30964
- "3rdparty__description": "Szükséges annak igazolására, hogy a felhasználó beleegyezett a harmadik fél általi marketingbe.",
30965
- "noDataFound": "Nincs adat a hozzájárulásokról.",
30966
- "loading": "Betöltés...kérem várjon",
30967
- "requiredError": "Ez a mező kötelező"
30968
- },
30969
- "hr": {
30970
- "termsandconditions__description": "Potrebno za dokazivanje da je korisnik prihvatio uvjete i odredbe.",
30971
- "emailmarketing__description": "Potrebno za dokazivanje pristanka na email marketing.",
30972
- "sms__description": "Potrebno za dokazivanje pristanka na SMS marketing.",
30973
- "3rdparty__description": "Potrebno za dokazivanje pristanka na marketing trećih strana.",
30974
- "noDataFound": "Nema podataka o privolama.",
30975
- "loading": "Učitavanje...molimo pričekajte",
30976
- "requiredError": "Ovo polje je obavezno"
30977
- },
30978
- "tr": {
30979
- "termsandconditions__description": "Kullanıcının şartlar ve koşulları kabul ettiğini kanıtlamak için gereklidir.",
30980
- "emailmarketing__description": "E-posta pazarlama onayını kanıtlamak için gereklidir.",
30981
- "sms__description": "SMS pazarlama onayını kanıtlamak için gereklidir.",
30982
- "3rdparty__description": "Üçüncü taraf pazarlama onayını kanıtlamak için gereklidir.",
30983
- "noDataFound": "Onaylarla ilgili veri bulunamadı.",
30984
- "loading": "Yükleniyor...lütfen bekleyin",
30985
- "requiredError": "Bu alan zorunludur"
30986
- },
30987
- "pt-br": {
30988
- "termsandconditions__description": "Necessário para comprovar que o usuário aceitou os termos e condições.",
30989
- "emailmarketing__description": "Necessário para comprovar o consentimento para marketing por e-mail.",
30990
- "sms__description": "Necessário para comprovar o consentimento para marketing por SMS.",
30991
- "3rdparty__description": "Necessário para comprovar o consentimento para marketing de terceiros.",
30992
- "noDataFound": "Nenhum dado encontrado para consentimentos.",
30993
- "loading": "Carregando...por favor aguarde",
30994
- "requiredError": "Este campo é obrigatório"
30995
- },
30996
- "es-mx": {
30997
- "termsandconditions__description": "Necesario para demostrar que el usuario aceptó los términos y condiciones.",
30998
- "emailmarketing__description": "Necesario para demostrar el consentimiento para el marketing por correo electrónico.",
30999
- "sms__description": "Necesario para demostrar el consentimiento para el marketing por SMS.",
31000
- "3rdparty__description": "Necesario para demostrar el consentimiento para el marketing de terceros.",
31001
- "noDataFound": "No se encontraron datos para los consentimientos.",
31002
- "loading": "Cargando...por favor espera",
31003
- "requiredError": "Este campo es obligatorio"
31004
- }
31005
- };
31006
- const translate$1 = (key, customLang, values) => {
31007
- const lang = customLang;
31008
- let translation = TRANSLATIONS$1[lang !== undefined ? lang : DEFAULT_LANGUAGE$1][key];
31009
- if (values !== undefined) {
31010
- for (const [key, value] of Object.entries(values.values)) {
31011
- const regex = new RegExp(`{${key}}`, 'g');
31012
- translation = translation.replace(regex, value);
31013
- }
31014
- }
31015
- return translation;
31016
- };
31017
- const getTranslations$1 = (url) => {
31018
- // fetch url, get the data, replace the TRANSLATIONS content
31019
- return new Promise((resolve) => {
31020
- fetch(url)
31021
- .then((res) => res.json())
31022
- .then((data) => {
31023
- Object.keys(data).forEach((item) => {
31024
- for (let key in data[item]) {
31025
- TRANSLATIONS$1[item][key] = data[item][key];
31026
- }
31027
- });
31028
- resolve(true);
31029
- });
31030
- });
31031
- };
31032
-
31033
- const tooltipIconSvg = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iNiIgY3k9IjYiIHI9IjUuNSIgc3Ryb2tlPSIjOTc5Nzk3Ii8+CjxyZWN0IHg9IjUiIHk9IjUiIHdpZHRoPSIyIiBoZWlnaHQ9IjUiIGZpbGw9IiM5Nzk3OTciLz4KPGNpcmNsZSBjeD0iNiIgY3k9IjMiIHI9IjEiIGZpbGw9IiM5Nzk3OTciLz4KPC9zdmc+Cg==';
31034
-
31035
- const generalConsentsCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.checkbox{font-family:\"Roboto\";font-style:normal}.checkbox .checkbox__wrapper{display:flex;gap:10px;position:relative;align-items:baseline;margin-bottom:30px}.checkbox .checkbox__wrapper .checkbox__wrapper--relative{position:relative}.checkbox .checkbox__input{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkbox .checkbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.checkbox .checkbox__label .checkbox__label-text{font-size:var(--emw--font-size-medium, 16px)}.checkbox .checkbox__label .checkbox__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkbox .checkbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.checkbox .checkbox__tooltip-icon{width:16px;height:auto}.checkbox .checkbox__tooltip{position:absolute;top:0;right:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.checkbox .checkbox__tooltip.visible{opacity:1}";
31036
- const GeneralConsentsStyle0 = generalConsentsCss;
31037
-
31038
- const GeneralConsents = class {
31039
- constructor(hostRef) {
31040
- registerInstance(this, hostRef);
31041
- this.value = '';
31042
- this.registerErrors = false;
31043
- this.setClientStyling = () => {
31044
- let sheet = document.createElement('style');
31045
- sheet.innerHTML = this.clientStyling;
31046
- this.host.shadowRoot.prepend(sheet);
31047
- };
31048
- this.setClientStylingURL = () => {
31049
- let url = new URL(this.clientStylingUrl);
31050
- let cssFile = document.createElement('style');
31051
- fetch(url.href)
31052
- .then((res) => res.text())
31053
- .then((data) => {
31054
- cssFile.innerHTML = data;
31055
- this.clientStyling = data;
31056
- setTimeout(() => { this.host.shadowRoot.prepend(cssFile); }, 1);
31057
- });
31058
- };
31059
- //Debounce to stop user from multiple calls
31060
- this.debouncedHandleClick = this.debounce(this.handleClick, 500);
31061
- this.endpoint = undefined;
31062
- this.language = 'en';
31063
- this.clientStyling = '';
31064
- this.clientStylingUrl = '';
31065
- this.translationUrl = '';
31066
- this.name = undefined;
31067
- this.tooltip = undefined;
31068
- this.isLoading = true;
31069
- this.consentsData = undefined;
31070
- this.showTooltip = false;
31071
- this.playerConsents = [];
31072
- this.isValid = undefined;
31073
- }
31074
- handleStylingChange(newValue, oldValue) {
31075
- if (newValue !== oldValue)
31076
- this.setClientStyling();
31077
- }
31078
- handleStylingUrlChange(newValue, oldValue) {
31079
- if (newValue !== oldValue)
31080
- this.setClientStylingURL();
31081
- }
31082
- handleNewTranslations() {
31083
- this.isLoading = true;
31084
- getTranslations$1(this.translationUrl).then(() => {
31085
- this.isLoading = false;
31086
- });
31087
- }
31088
- //Watch only executes if newVal !== oldVal
31089
- sendMessage() {
31090
- window.postMessage({
31091
- type: 'isConsentsValid',
31092
- isValid: this.isValid
31093
- });
31094
- }
31095
- //Listener for registration message so the sendConsents is made when the user is heading to the next step
31096
- messageHandler(e) {
31097
- //Handle Consents Message
31098
- if (e.data && e.data.type != "setUpPlayerConsents")
31099
- return;
31100
- this.sendConsents(e.data.registerid);
31101
- }
31102
- handleClickOutside(event) {
31103
- if (event.composedPath()[0] === this.tooltipIconReference)
31104
- return;
31105
- if (event.composedPath()[0] !== this.tooltipReference)
31106
- this.showTooltip = false;
31107
- }
31108
- async componentWillLoad() {
31109
- if (this.translationUrl.length > 2) {
31110
- await getTranslations$1(this.translationUrl);
31111
- }
31112
- this.getConsents();
31113
- }
31114
- addTranslation(field) {
31115
- const lang = TRANSLATIONS$1[this.language];
31116
- if (TRANSLATIONS$1[lang][field.name]) {
31117
- Object.keys(TRANSLATIONS$1[this.language][field.name]).forEach((key) => {
31118
- field[key] = TRANSLATIONS$1[this.language][field.name][key];
31119
- });
31120
- }
31121
- }
31122
- getConsents() {
31123
- this.isLoading = true;
31124
- this.registerErrors = false;
31125
- const url = new URL(`${this.endpoint}/api/v2/gm/legislation/consents`), headers = {
31126
- 'Content-Type': 'application/json',
31127
- 'Accept': 'application/json'
31128
- }, options = {
31129
- method: 'GET',
31130
- headers
31131
- };
31132
- fetch(url.href, options)
31133
- .then((res) => {
31134
- if (!res.ok) {
31135
- this.registerErrors = true;
31136
- return res.json().then(error => {
31137
- return console.error(error);
31138
- });
31139
- }
31140
- return res.json();
31141
- })
31142
- .then((data) => {
31143
- if (!this.registerErrors) {
31144
- this.consentsData = data;
31145
- //If consents are in the localStorage user it instead of the one from the call
31146
- if (localStorage.getItem("playerConsents")) {
31147
- try {
31148
- this.playerConsents = JSON.parse(localStorage.getItem('playerConsents'));
31149
- }
31150
- catch (error) {
31151
- console.error(error);
31152
- }
31153
- return;
31154
- }
31155
- this.playerConsents = this.consentsData.map((consent) => ({
31156
- status: '3',
31157
- tagCode: consent.tagCode,
31158
- }));
31159
- //Setup default localStorage consents
31160
- localStorage.setItem('playerConsents', JSON.stringify(this.playerConsents));
31161
- }
31162
- })
31163
- .catch((err) => {
31164
- console.error(err);
31165
- })
31166
- .finally(() => {
31167
- this.isLoading = false;
31168
- });
31169
- }
31170
- sendConsents(registerID) {
31171
- const url = new URL(`${this.endpoint}/api/v2/gm/legislation/consents`), headers = {
31172
- 'Content-Type': 'application/json',
31173
- 'Accept': 'application/json'
31174
- }, body = {
31175
- playerConsents: this.playerConsents,
31176
- registrationId: registerID
31177
- }, options = {
31178
- method: 'POST',
31179
- body: JSON.stringify(body),
31180
- headers
31181
- };
31182
- fetch(url.href, options)
31183
- .then((res) => {
31184
- if (!res.ok) {
31185
- this.registerErrors = true;
31186
- }
31187
- })
31188
- .catch((err) => {
31189
- console.error(err);
31190
- })
31191
- .finally(() => {
31192
- this.isLoading = false;
31193
- });
31194
- }
31195
- handleClick(data) {
31196
- const consent = this.consentsData.find((consent) => data.tagCode === consent.tagCode && data.status === "3" && consent.mustAccept);
31197
- //Setup value for the consent in localStorage
31198
- localStorage.setItem('playerConsents', JSON.stringify(this.playerConsents));
31199
- //Show error for mandatory fields when they are not seleted
31200
- this[`errorMessage__${data.tagCode}`].innerHTML = consent ? this.setErrorMessage() : "";
31201
- //Check form validity
31202
- this.isValid = this.checkValidity();
31203
- }
31204
- //Handle the input when user select a consent
31205
- handleInput(index, event) {
31206
- const target = event.target;
31207
- this.playerConsents[index].status = target.checked ? '1' : '3';
31208
- this.debouncedHandleClick(this.playerConsents[index]);
31209
- }
31210
- handleTooltipClick() { this.showTooltip = !this.showTooltip; }
31211
- debounce(func, delay) {
31212
- let timer;
31213
- return function (...args) {
31214
- clearTimeout(timer);
31215
- timer = setTimeout(() => {
31216
- func.apply(this, args);
31217
- }, delay);
31218
- };
31219
- }
31220
- checkValidity() {
31221
- const invalidConsents = this.playerConsents.filter((formConsent) => this.consentsData.some((consent) => formConsent.tagCode === consent.tagCode &&
31222
- consent.mustAccept &&
31223
- formConsent.status === "3"));
31224
- return invalidConsents.length === 0;
31225
- }
31226
- setErrorMessage() {
31227
- return translate$1('requiredError', this.language);
31228
- }
31229
- render() {
31230
- if (this.isLoading) {
31231
- return h$2("p", null, translate$1('loading', this.language));
31232
- }
31233
- if (!this.consentsData) {
31234
- return h$2("p", null, translate$1('noDataFound', this.language));
31235
- }
31236
- return (h$2("form", { class: "checkbox" }, this.consentsData.map((consent, index) => (h$2("div", { class: `checkbox__wrapper ${consent.tagCode}__input`, ref: (host) => (this[consent.tagCode] = host) }, h$2("input", { class: 'checkbox__input', type: "checkbox", checked: this.playerConsents[index].status === '1', id: `${consent.tagCode}__input`, onInput: this.handleInput.bind(this, index) }), h$2("label", { class: 'checkbox__label', htmlFor: `${consent.tagCode}__input` }, h$2("div", { class: 'checkbox__label-text', innerHTML: `${translate$1(`${consent.tagCode}__description`, this.language)} ${consent.mustAccept ? '*' : ''}` })), h$2("small", { class: 'checkbox__error-message', ref: (host) => (this[`errorMessage__${consent.tagCode}`] = host) }), h$2("div", { class: 'checkbox__wrapper--relative' }, this.tooltip &&
31237
- h$2("img", { class: 'checkbox__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.handleTooltipClick() }), h$2("div", { class: `checkbox__tooltip ${this.showTooltip ? 'visible' : ''}`, ref: (host) => this.tooltipReference = host, innerHTML: this.tooltip })))))));
31238
- }
31239
- get host() { return getElement(this); }
31240
- static get watchers() { return {
31241
- "clientStyling": ["handleStylingChange"],
31242
- "clientStylingUrl": ["handleStylingUrlChange"],
31243
- "translationUrl": ["handleNewTranslations"],
31244
- "isValid": ["sendMessage"]
31245
- }; }
31246
- };
31247
- GeneralConsents.style = GeneralConsentsStyle0;
31248
-
31249
31234
  const generalInputCss = ":host{display:block;height:100%}";
31250
31235
  const GeneralInputStyle0 = generalInputCss;
31251
31236
 
31252
31237
  const GeneralInput = class {
31253
31238
  constructor(hostRef) {
31254
31239
  registerInstance(this, hostRef);
31240
+ /**
31241
+ * Type the general-input should take. Can take the default HTML input values.
31242
+ */
31243
+ this.type = 'text';
31244
+ /**
31245
+ * Client custom styling via inline style
31246
+ */
31247
+ this.clientStyling = '';
31248
+ /**
31249
+ * Translations via URL
31250
+ */
31251
+ this.translationUrl = '';
31252
+ /**
31253
+ * Emit event on click
31254
+ */
31255
+ this.emitOnClick = false;
31255
31256
  this.handleClick = (event) => {
31256
31257
  if (this.emitOnClick) {
31257
31258
  event.stopPropagation();
31258
31259
  window.postMessage({ type: `registration${this.name}Clicked` }, window.location.href);
31259
31260
  }
31260
31261
  };
31261
- this.type = 'text';
31262
- this.name = undefined;
31263
- this.displayName = undefined;
31264
- this.placeholder = undefined;
31265
- this.action = undefined;
31266
- this.validation = undefined;
31267
- this.options = undefined;
31268
- this.language = undefined;
31269
- this.autofilled = undefined;
31270
- this.tooltip = undefined;
31271
- this.defaultValue = undefined;
31272
- this.emitValue = undefined;
31273
- this.isDuplicateInput = undefined;
31274
- this.clientStyling = '';
31275
- this.dateFormat = undefined;
31276
- this.translationUrl = '';
31277
- this.emitOnClick = false;
31278
31262
  }
31279
31263
  connectedCallback() {
31280
31264
  if (this.translationUrl) {
31281
- getTranslations$2(this.translationUrl);
31265
+ getTranslations$1(this.translationUrl);
31282
31266
  }
31283
31267
  }
31284
31268
  renderInput() {
31285
31269
  var _a;
31286
31270
  switch ((_a = this.type) === null || _a === void 0 ? void 0 : _a.toLowerCase()) {
31287
31271
  case 'text':
31288
- return h$2("text-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, isDuplicateInput: this.isDuplicateInput, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
31272
+ return h$a("text-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, isDuplicateInput: this.isDuplicateInput, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
31289
31273
  case 'email':
31290
- return h$2("email-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, isDuplicateInput: this.isDuplicateInput, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
31274
+ return h$a("email-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, isDuplicateInput: this.isDuplicateInput, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
31291
31275
  case 'number':
31292
- return h$2("number-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
31276
+ return h$a("number-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
31293
31277
  case 'checkbox':
31294
- return h$2("checkbox-input", { name: this.name, displayName: this.displayName, validation: this.validation, emitValue: this.emitValue, defaultValue: this.defaultValue, autofilled: this.autofilled, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip });
31278
+ return h$a("checkbox-input", { name: this.name, displayName: this.displayName, validation: this.validation, emitValue: this.emitValue, defaultValue: this.defaultValue, autofilled: this.autofilled, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip });
31295
31279
  case 'checkboxgroup':
31296
- return h$2("checkbox-group-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, options: this.options });
31280
+ return h$a("checkbox-group-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, options: this.options });
31297
31281
  case 'togglecheckbox':
31298
- return h$2("toggle-checkbox-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, options: this.options, "emit-on-click": this.emitOnClick });
31282
+ return h$a("toggle-checkbox-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, options: this.options, "emit-on-click": this.emitOnClick });
31299
31283
  case 'datetime':
31300
- return h$2("date-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder, dateFormat: this.dateFormat, "emit-on-click": this.emitOnClick });
31284
+ return h$a("date-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder, dateFormat: this.dateFormat, "emit-on-click": this.emitOnClick });
31301
31285
  case 'password':
31302
- return h$2("password-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, isDuplicateInput: this.isDuplicateInput, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
31286
+ return h$a("password-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, isDuplicateInput: this.isDuplicateInput, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
31303
31287
  case 'radio':
31304
- return h$2("radio-input", { name: this.name, displayName: this.displayName, optionsGroup: this.options, validation: this.validation, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling });
31288
+ return h$a("radio-input", { name: this.name, displayName: this.displayName, optionsGroup: this.options, validation: this.validation, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling });
31305
31289
  case 'tel':
31306
- return h$2("tel-input", { name: this.name, action: this.action, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, emitValue: this.emitValue, language: this.language, autofilled: this.autofilled, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
31290
+ return h$a("tel-input", { name: this.name, action: this.action, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, emitValue: this.emitValue, language: this.language, autofilled: this.autofilled, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
31307
31291
  case 'dropdown':
31308
- return h$2("select-input", { name: this.name, action: this.action, defaultValue: this.defaultValue, displayName: this.displayName, options: this.options, validation: this.validation, emitValue: this.emitValue, autofilled: this.autofilled, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
31292
+ return h$a("select-input", { name: this.name, action: this.action, defaultValue: this.defaultValue, displayName: this.displayName, options: this.options, validation: this.validation, emitValue: this.emitValue, autofilled: this.autofilled, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
31309
31293
  default:
31310
- return h$2("p", null, "The ", this.type, " input type is not valid");
31294
+ return h$a("p", null, "The ", this.type, " input type is not valid");
31311
31295
  }
31312
31296
  }
31313
31297
  render() {
31314
- return (h$2(Host, { key: 'e1c49fc91ead165c05b30c21ac568486e55c8096', class: `general-input--${this.name}`, onClick: this.handleClick }, this.renderInput()));
31298
+ return (h$a(Host, { key: 'e1c49fc91ead165c05b30c21ac568486e55c8096', class: `general-input--${this.name}`, onClick: this.handleClick }, this.renderInput()));
31315
31299
  }
31316
31300
  };
31317
31301
  GeneralInput.style = GeneralInputStyle0;
@@ -31963,6 +31947,36 @@ const GeneralRegistration = class {
31963
31947
  registerInstance(this, hostRef);
31964
31948
  this.registrationWidgetLoaded = createEvent(this, "registrationWidgetLoaded", 7);
31965
31949
  this.registrationStepUpdated = createEvent(this, "registrationStepUpdated", 7);
31950
+ /**
31951
+ * Currently selected language
31952
+ */
31953
+ this.language = 'en';
31954
+ /**
31955
+ * Client custom styling via inline styles
31956
+ */
31957
+ this.clientStyling = '';
31958
+ /**
31959
+ * Client custom styling via url
31960
+ */
31961
+ this.clientStylingUrl = '';
31962
+ /**
31963
+ * Translations via URL
31964
+ */
31965
+ this.translationUrl = '';
31966
+ /**
31967
+ * Affiliate code to be passed in and sent in the registration.
31968
+ */
31969
+ this.btag = null;
31970
+ /**
31971
+ * Boolean flag that tells inputs to emit an event on click.
31972
+ */
31973
+ this.emitOnClick = false;
31974
+ this.isConsentValid = false;
31975
+ this.isConsentReady = false;
31976
+ this.isLoading = true;
31977
+ this.forms = [];
31978
+ this.limitStylingAppends = false;
31979
+ this.autofilled = false;
31966
31980
  this.listOfInputValues = [];
31967
31981
  this.listOfInputValidity = [];
31968
31982
  this.listOfActions = [];
@@ -31990,25 +32004,6 @@ const GeneralRegistration = class {
31990
32004
  setTimeout(() => { this.host.shadowRoot.prepend(cssFile); }, 1);
31991
32005
  });
31992
32006
  };
31993
- this.endpoint = undefined;
31994
- this.language = 'en';
31995
- this.clientStyling = '';
31996
- this.clientStylingUrl = '';
31997
- this.translationUrl = '';
31998
- this.dateFormat = undefined;
31999
- this.buttonInsideForm = undefined;
32000
- this.btag = null;
32001
- this.emitOnClick = false;
32002
- this.errorMessage = undefined;
32003
- this.isFormValid = undefined;
32004
- this.isConsentValid = false;
32005
- this.isConsentReady = false;
32006
- this.isLoading = true;
32007
- this.isLoadingPOST = undefined;
32008
- this.registrationStep = undefined;
32009
- this.forms = [];
32010
- this.limitStylingAppends = false;
32011
- this.autofilled = false;
32012
32007
  }
32013
32008
  sendStep() {
32014
32009
  this.registrationStepUpdated.emit(this.registrationStep);
@@ -32531,27 +32526,27 @@ const GeneralRegistration = class {
32531
32526
  }
32532
32527
  renderForm() {
32533
32528
  return this.forms.map((form, index) => {
32534
- return h$2("form", { action: '.', id: `RegistrationForm${this.registrationStep}`, class: `registration__form ${this.registrationStep !== `Step${index + 1}` ? 'hidden' : ''}`, ref: el => this.form = el }, form[this.registrationStep] && form[this.registrationStep].map(input => h$2("general-input", { type: input.inputType, name: input.name, displayName: input.displayName, validation: input.validate, action: input.action || null, options: input.data
32529
+ return h$a("form", { action: '.', id: `RegistrationForm${this.registrationStep}`, class: `registration__form ${this.registrationStep !== `Step${index + 1}` ? 'hidden' : ''}`, ref: el => this.form = el }, form[this.registrationStep] && form[this.registrationStep].map(input => h$a("general-input", { type: input.inputType, name: input.name, displayName: input.displayName, validation: input.validate, action: input.action || null, options: input.data
32535
32530
  ? (input.inputType.toLowerCase() == 'checkboxgroup' || input.inputType.toLowerCase() == 'togglecheckbox')
32536
32531
  ? input.data.subFields
32537
32532
  : input.data.values
32538
- : [], defaultValue: input.defaultValue, autofilled: input.autofill, emitValue: this.emitValue, language: this.language, isDuplicateInput: input.isDuplicateInput, "client-styling": this.clientStyling, tooltip: input.tooltip, placeholder: input.placeholder == null ? '' : input.placeholder, dateFormat: this.dateFormat, "translation-url": this.translationUrl, emitOnClick: this.emitOnClick })), this.isConsentReady && this.renderConsents(), this.buttonInsideForm && this.renderButtons(), h$2("div", { class: 'registration__wrapper--flex' }, h$2("p", { class: 'registration__error-message', innerHTML: this.errorMessage })));
32533
+ : [], defaultValue: input.defaultValue, autofilled: input.autofill, emitValue: this.emitValue, language: this.language, isDuplicateInput: input.isDuplicateInput, "client-styling": this.clientStyling, tooltip: input.tooltip, placeholder: input.placeholder == null ? '' : input.placeholder, dateFormat: this.dateFormat, "translation-url": this.translationUrl, emitOnClick: this.emitOnClick })), this.isConsentReady && this.renderConsents(), this.buttonInsideForm && this.renderButtons(), h$a("div", { class: 'registration__wrapper--flex' }, h$a("p", { class: 'registration__error-message', innerHTML: this.errorMessage })));
32539
32534
  });
32540
32535
  }
32541
32536
  ;
32542
32537
  renderConsents() {
32543
- return (h$2("div", { class: "consentsContainer" }, h$2("general-consents", { endpoint: this.endpoint })));
32538
+ return (h$a("div", { class: "consentsContainer" }, h$a("player-consents", { endpoint: this.endpoint })));
32544
32539
  }
32545
32540
  renderButtons() {
32546
- return (h$2("div", { class: `registration__buttons-wrapper ${this.autofilled ? 'registration__buttons-wrapper--autofilled' : ''}` }, this.isLoadingPOST
32547
- && h$2("slot", { name: 'spinner' })
32548
- && h$2("svg", { class: "spinner", viewBox: "0 0 50 50" }, h$2("circle", { class: "path", cx: "25", cy: "25", r: "20", fill: "none", "stroke-width": "5" })), !this.isLoadingPOST && h$2("button", { class: `registration__button registration__button--next ${this.isFormValid ? '' : 'registration__button--disabled'}`, type: 'submit', form: `RegistrationForm${this.registrationStep}`, onClick: (e) => this.nextHandler(e), disabled: !this.isFormValid }, this.lastStep === this.registrationStep ? translate('doneButton', this.language) : translate('nextButton', this.language)), h$2("button", { class: `registration__button registration__button--back ${this.registrationStep == 'Step1' ? 'registration__button--first-step' : ''}`, onClick: (e) => this.backHandler(e) }, translate('backButton', this.language))));
32541
+ return (h$a("div", { class: `registration__buttons-wrapper ${this.autofilled ? 'registration__buttons-wrapper--autofilled' : ''}` }, this.isLoadingPOST
32542
+ && h$a("slot", { name: 'spinner' })
32543
+ && h$a("svg", { class: "spinner", viewBox: "0 0 50 50" }, h$a("circle", { class: "path", cx: "25", cy: "25", r: "20", fill: "none", "stroke-width": "5" })), !this.isLoadingPOST && h$a("button", { class: `registration__button registration__button--next ${this.isFormValid ? '' : 'registration__button--disabled'}`, type: 'submit', form: `RegistrationForm${this.registrationStep}`, onClick: (e) => this.nextHandler(e), disabled: !this.isFormValid }, this.lastStep === this.registrationStep ? translate('doneButton', this.language) : translate('nextButton', this.language)), h$a("button", { class: `registration__button registration__button--back ${this.registrationStep == 'Step1' ? 'registration__button--first-step' : ''}`, onClick: (e) => this.backHandler(e) }, translate('backButton', this.language))));
32549
32544
  }
32550
32545
  render() {
32551
32546
  if (this.isLoading) {
32552
- return h$2("p", null, "Please wait, loading ...");
32547
+ return h$a("p", null, "Please wait, loading ...");
32553
32548
  }
32554
- return (h$2("div", { class: `registration registration__${this.registrationStep}` }, this.renderForm(), !this.buttonInsideForm && this.renderButtons()));
32549
+ return (h$a("div", { class: `registration registration__${this.registrationStep}` }, this.renderForm(), !this.buttonInsideForm && this.renderButtons()));
32555
32550
  }
32556
32551
  get host() { return getElement(this); }
32557
32552
  static get watchers() { return {
@@ -32572,6 +32567,12 @@ const NumberInput = class {
32572
32567
  registerInstance(this, hostRef);
32573
32568
  this.sendValidityState = createEvent(this, "sendValidityState", 7);
32574
32569
  this.sendInputValue = createEvent(this, "sendInputValue", 7);
32570
+ /**
32571
+ * Client custom styling via inline style
32572
+ */
32573
+ this.clientStyling = '';
32574
+ this.limitStylingAppends = false;
32575
+ this.showTooltip = false;
32575
32576
  this.validationPattern = '';
32576
32577
  this.touched = false;
32577
32578
  this.handleInput = (event) => {
@@ -32596,20 +32597,6 @@ const NumberInput = class {
32596
32597
  sheet.innerHTML = this.clientStyling;
32597
32598
  this.stylingContainer.prepend(sheet);
32598
32599
  };
32599
- this.name = undefined;
32600
- this.displayName = undefined;
32601
- this.placeholder = undefined;
32602
- this.validation = undefined;
32603
- this.defaultValue = undefined;
32604
- this.autofilled = undefined;
32605
- this.tooltip = undefined;
32606
- this.language = undefined;
32607
- this.emitValue = undefined;
32608
- this.clientStyling = '';
32609
- this.errorMessage = undefined;
32610
- this.isValid = undefined;
32611
- this.limitStylingAppends = false;
32612
- this.showTooltip = false;
32613
32600
  }
32614
32601
  validityChanged() {
32615
32602
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -32667,18 +32654,18 @@ const NumberInput = class {
32667
32654
  if (this.inputReference.validity.patternMismatch) {
32668
32655
  const errorCode = (_a = this.validation.custom.find(customValidation => customValidation.rule === 'regex')) === null || _a === void 0 ? void 0 : _a.errorKey;
32669
32656
  const errorMessage = (_b = this.validation.custom.find(customValidation => customValidation.rule === 'regex')) === null || _b === void 0 ? void 0 : _b.errorMessage;
32670
- return translate$3(`${errorCode}`, this.language) ? translate$3(`${errorCode}`, this.language) : errorMessage;
32657
+ return translate$2(`${errorCode}`, this.language) ? translate$2(`${errorCode}`, this.language) : errorMessage;
32671
32658
  }
32672
32659
  if (this.inputReference.validity.rangeUnderflow || this.inputReference.validity.rangeOverflow) {
32673
- return translate$3('numberLengthError', this.language, { values: { min: this.validation.min, max: this.validation.max } });
32660
+ return translate$2('numberLengthError', this.language, { values: { min: this.validation.min, max: this.validation.max } });
32674
32661
  }
32675
32662
  if (this.inputReference.validity.valueMissing) {
32676
- return translate$3('requiredError', this.language);
32663
+ return translate$2('requiredError', this.language);
32677
32664
  }
32678
32665
  }
32679
32666
  renderTooltip() {
32680
32667
  if (this.showTooltip) {
32681
- return (h$2("div", { class: `number__tooltip ${this.showTooltip ? 'visible' : ''}`, ref: (el) => this.tooltipReference = el, innerHTML: this.tooltip }));
32668
+ return (h$a("div", { class: `number__tooltip ${this.showTooltip ? 'visible' : ''}`, ref: (el) => this.tooltipReference = el, innerHTML: this.tooltip }));
32682
32669
  }
32683
32670
  return null;
32684
32671
  }
@@ -32687,8 +32674,8 @@ const NumberInput = class {
32687
32674
  if (this.touched) {
32688
32675
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
32689
32676
  }
32690
- return h$2("div", { key: '2032f77ca52b330ae2e8f484d7a0aba60ee7b9d5', class: `number__wrapper ${this.autofilled ? 'number__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("div", { key: '0786901cd928bba86597180f058bff43fba522b6', class: 'number__wrapper--flex' }, h$2("label", { key: 'ff7f39306cef7aeba3e0e4508df03c5a945e748b', class: `number__label ${this.validation.mandatory ? 'number__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("div", { key: 'dced91223621551472fee374d56f1ad7476f4191', class: 'number__wrapper--relative' }, this.tooltip &&
32691
- h$2("img", { key: 'a804a983e342e4d117126720a32c4c34a2b267dc', class: 'number__tooltip-icon', src: tooltipIconSvg$1, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$2("input", { key: 'fd59afaedf7d9f761684b057a1809474d735cc26', ref: (el) => this.inputReference = el, type: "number", value: this.defaultValue, readOnly: this.autofilled, id: `${this.name}__input`, class: `number__input ${invalidClass}`, pattern: this.validationPattern, placeholder: `${this.placeholder}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onInput: this.handleInput, onBlur: this.handleBlur }), h$2("small", { key: 'ca11558b5704b69311626736ab84a298449b98d7', class: 'number__error-message' }, this.errorMessage));
32677
+ return h$a("div", { key: '2032f77ca52b330ae2e8f484d7a0aba60ee7b9d5', class: `number__wrapper ${this.autofilled ? 'number__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$a("div", { key: '0786901cd928bba86597180f058bff43fba522b6', class: 'number__wrapper--flex' }, h$a("label", { key: 'ff7f39306cef7aeba3e0e4508df03c5a945e748b', class: `number__label ${this.validation.mandatory ? 'number__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$a("div", { key: 'dced91223621551472fee374d56f1ad7476f4191', class: 'number__wrapper--relative' }, this.tooltip &&
32678
+ h$a("img", { key: 'a804a983e342e4d117126720a32c4c34a2b267dc', class: 'number__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$a("input", { key: 'fd59afaedf7d9f761684b057a1809474d735cc26', ref: (el) => this.inputReference = el, type: "number", value: this.defaultValue, readOnly: this.autofilled, id: `${this.name}__input`, class: `number__input ${invalidClass}`, pattern: this.validationPattern, placeholder: `${this.placeholder}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onInput: this.handleInput, onBlur: this.handleBlur }), h$a("small", { key: 'ca11558b5704b69311626736ab84a298449b98d7', class: 'number__error-message' }, this.errorMessage));
32692
32679
  }
32693
32680
  static get watchers() { return {
32694
32681
  "isValid": ["validityChanged"],
@@ -32731,7 +32718,7 @@ const addLumoGlobalStyles$1 = (id, ...styles) => {
32731
32718
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
32732
32719
  */
32733
32720
 
32734
- const colorBase = i$1`
32721
+ const colorBase = i$b`
32735
32722
  :host {
32736
32723
  /* Base (background) */
32737
32724
  --lumo-base-color: #fff;
@@ -32820,7 +32807,7 @@ const colorBase = i$1`
32820
32807
 
32821
32808
  addLumoGlobalStyles$1('color-props', colorBase);
32822
32809
 
32823
- const color = i$1`
32810
+ const color = i$b`
32824
32811
  [theme~='dark'] {
32825
32812
  /* Base (background) */
32826
32813
  --lumo-base-color: hsl(214, 35%, 21%);
@@ -32945,7 +32932,7 @@ registerStyles('', color, { moduleId: 'lumo-color' });
32945
32932
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
32946
32933
  */
32947
32934
 
32948
- const fontIcons$1 = i$1`
32935
+ const fontIcons$1 = i$b`
32949
32936
  @font-face {
32950
32937
  font-family: 'lumo-icons';
32951
32938
  src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6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ije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
@@ -33008,7 +32995,7 @@ addLumoGlobalStyles$1('font-icons', fontIcons$1);
33008
32995
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
33009
32996
  */
33010
32997
 
33011
- const sizing$1 = i$1`
32998
+ const sizing$1 = i$b`
33012
32999
  :host {
33013
33000
  --lumo-size-xs: 1.625rem;
33014
33001
  --lumo-size-s: 1.875rem;
@@ -33033,7 +33020,7 @@ addLumoGlobalStyles$1('sizing-props', sizing$1);
33033
33020
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
33034
33021
  */
33035
33022
 
33036
- const spacing$1 = i$1`
33023
+ const spacing$1 = i$b`
33037
33024
  :host {
33038
33025
  /* Square */
33039
33026
  --lumo-space-xs: 0.25rem;
@@ -33066,7 +33053,7 @@ addLumoGlobalStyles$1('spacing-props', spacing$1);
33066
33053
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
33067
33054
  */
33068
33055
 
33069
- const style$1 = i$1`
33056
+ const style$1 = i$b`
33070
33057
  :host {
33071
33058
  /* Border radius */
33072
33059
  --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
@@ -33088,7 +33075,7 @@ const style$1 = i$1`
33088
33075
  /**
33089
33076
  * Default values for component-specific custom properties.
33090
33077
  */
33091
- i$1`
33078
+ i$b`
33092
33079
  html {
33093
33080
  --vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
33094
33081
  --vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
@@ -33104,7 +33091,7 @@ addLumoGlobalStyles$1('style-props', style$1);
33104
33091
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
33105
33092
  */
33106
33093
 
33107
- const font$1 = i$1`
33094
+ const font$1 = i$b`
33108
33095
  :host {
33109
33096
  /* prettier-ignore */
33110
33097
  --lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
@@ -33126,7 +33113,7 @@ const font$1 = i$1`
33126
33113
  }
33127
33114
  `;
33128
33115
 
33129
- const typography$1 = i$1`
33116
+ const typography$1 = i$b`
33130
33117
  body,
33131
33118
  :host {
33132
33119
  font-family: var(--lumo-font-family);
@@ -33229,7 +33216,7 @@ addLumoGlobalStyles$1('typography-props', font$1);
33229
33216
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
33230
33217
  */
33231
33218
 
33232
- const fieldButton = i$1`
33219
+ const fieldButton$1 = i$b`
33233
33220
  [part$='button'] {
33234
33221
  flex: none;
33235
33222
  width: 1em;
@@ -33257,7 +33244,7 @@ const fieldButton = i$1`
33257
33244
  display: block;
33258
33245
  }
33259
33246
  `;
33260
- registerStyles('', fieldButton, { moduleId: 'lumo-field-button' });
33247
+ registerStyles('', fieldButton$1, { moduleId: 'lumo-field-button' });
33261
33248
 
33262
33249
  /**
33263
33250
  * @license
@@ -33265,7 +33252,7 @@ registerStyles('', fieldButton, { moduleId: 'lumo-field-button' });
33265
33252
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
33266
33253
  */
33267
33254
 
33268
- const helper = i$1`
33255
+ const helper = i$b`
33269
33256
  :host([has-helper]) [part='helper-text']::before {
33270
33257
  content: '';
33271
33258
  display: block;
@@ -33324,7 +33311,7 @@ const helper = i$1`
33324
33311
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
33325
33312
  */
33326
33313
 
33327
- const requiredField = i$1`
33314
+ const requiredField = i$b`
33328
33315
  [part='label'] {
33329
33316
  align-self: flex-start;
33330
33317
  color: var(--lumo-secondary-text-color);
@@ -33430,7 +33417,7 @@ registerStyles('', requiredField, { moduleId: 'lumo-required-field' });
33430
33417
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
33431
33418
  */
33432
33419
 
33433
- const inputField = i$1`
33420
+ const inputField$1 = i$b`
33434
33421
  :host {
33435
33422
  --lumo-text-field-size: var(--lumo-size-m);
33436
33423
  color: var(--lumo-body-text-color);
@@ -33566,9 +33553,9 @@ const inputField = i$1`
33566
33553
  }
33567
33554
  `;
33568
33555
 
33569
- const inputFieldShared = [requiredField, fieldButton, helper, inputField];
33556
+ const inputFieldShared$1 = [requiredField, fieldButton$1, helper, inputField$1];
33570
33557
 
33571
- registerStyles('', inputFieldShared, {
33558
+ registerStyles('', inputFieldShared$1, {
33572
33559
  moduleId: 'lumo-input-field-shared-styles',
33573
33560
  });
33574
33561
 
@@ -33578,7 +33565,7 @@ registerStyles('', inputFieldShared, {
33578
33565
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
33579
33566
  */
33580
33567
 
33581
- registerStyles('vaadin-text-field', inputFieldShared, {
33568
+ registerStyles('vaadin-text-field', inputFieldShared$1, {
33582
33569
  moduleId: 'lumo-text-field-styles',
33583
33570
  });
33584
33571
 
@@ -33801,7 +33788,7 @@ const TextFieldMixin = (superClass) =>
33801
33788
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
33802
33789
  */
33803
33790
 
33804
- registerStyles('vaadin-text-field', inputFieldShared$1, { moduleId: 'vaadin-text-field-styles' });
33791
+ registerStyles('vaadin-text-field', inputFieldShared$2, { moduleId: 'vaadin-text-field-styles' });
33805
33792
 
33806
33793
  /**
33807
33794
  * `<vaadin-text-field>` is a web component that allows the user to input and edit text.
@@ -33947,13 +33934,266 @@ class TextField extends TextFieldMixin(ThemableMixin(ElementMixin(PolymerElement
33947
33934
 
33948
33935
  defineCustomElement(TextField);
33949
33936
 
33937
+ const button = i$b`
33938
+ :host {
33939
+ /* Sizing */
33940
+ --lumo-button-size: var(--lumo-size-m);
33941
+ min-width: calc(var(--lumo-button-size) * 2);
33942
+ height: var(--lumo-button-size);
33943
+ padding: 0 calc(var(--lumo-button-size) / 3 + var(--lumo-border-radius-m) / 2);
33944
+ margin: var(--lumo-space-xs) 0;
33945
+ box-sizing: border-box;
33946
+ /* Style */
33947
+ font-family: var(--lumo-font-family);
33948
+ font-size: var(--lumo-font-size-m);
33949
+ font-weight: 500;
33950
+ color: var(--_lumo-button-color, var(--lumo-primary-text-color));
33951
+ background-color: var(--_lumo-button-background-color, var(--lumo-contrast-5pct));
33952
+ border-radius: var(--lumo-border-radius-m);
33953
+ cursor: var(--lumo-clickable-cursor);
33954
+ -webkit-tap-highlight-color: transparent;
33955
+ -webkit-font-smoothing: antialiased;
33956
+ -moz-osx-font-smoothing: grayscale;
33957
+ flex-shrink: 0;
33958
+ }
33959
+
33960
+ /* Set only for the internal parts so we don't affect the host vertical alignment */
33961
+ [part='label'],
33962
+ [part='prefix'],
33963
+ [part='suffix'] {
33964
+ line-height: var(--lumo-line-height-xs);
33965
+ }
33966
+
33967
+ [part='label'] {
33968
+ padding: calc(var(--lumo-button-size) / 6) 0;
33969
+ }
33970
+
33971
+ :host([theme~='small']) {
33972
+ font-size: var(--lumo-font-size-s);
33973
+ --lumo-button-size: var(--lumo-size-s);
33974
+ }
33975
+
33976
+ :host([theme~='large']) {
33977
+ font-size: var(--lumo-font-size-l);
33978
+ --lumo-button-size: var(--lumo-size-l);
33979
+ }
33980
+
33981
+ /* For interaction states */
33982
+ :host::before,
33983
+ :host::after {
33984
+ content: '';
33985
+ /* We rely on the host always being relative */
33986
+ position: absolute;
33987
+ z-index: 1;
33988
+ inset: 0;
33989
+ background-color: currentColor;
33990
+ border-radius: inherit;
33991
+ opacity: 0;
33992
+ pointer-events: none;
33993
+ }
33994
+
33995
+ /* Hover */
33996
+
33997
+ @media (any-hover: hover) {
33998
+ :host(:hover)::before {
33999
+ opacity: 0.02;
34000
+ }
34001
+ }
34002
+
34003
+ /* Active */
34004
+
34005
+ :host::after {
34006
+ transition: opacity 1.4s, transform 0.1s;
34007
+ filter: blur(8px);
34008
+ }
34009
+
34010
+ :host([active])::before {
34011
+ opacity: 0.05;
34012
+ transition-duration: 0s;
34013
+ }
34014
+
34015
+ :host([active])::after {
34016
+ opacity: 0.1;
34017
+ transition-duration: 0s, 0s;
34018
+ transform: scale(0);
34019
+ }
34020
+
34021
+ /* Keyboard focus */
34022
+
34023
+ :host([focus-ring]) {
34024
+ box-shadow: 0 0 0 2px var(--lumo-primary-color-50pct);
34025
+ }
34026
+
34027
+ :host([theme~='primary'][focus-ring]) {
34028
+ box-shadow: 0 0 0 1px var(--lumo-base-color), 0 0 0 3px var(--lumo-primary-color-50pct);
34029
+ }
34030
+
34031
+ /* Types (primary, tertiary, tertiary-inline */
34032
+
34033
+ :host([theme~='tertiary']),
34034
+ :host([theme~='tertiary-inline']) {
34035
+ background-color: transparent !important;
34036
+ min-width: 0;
34037
+ }
34038
+
34039
+ :host([theme~='tertiary']) {
34040
+ padding: 0 calc(var(--lumo-button-size) / 6);
34041
+ }
34042
+
34043
+ :host([theme~='tertiary-inline'])::before {
34044
+ display: none;
34045
+ }
34046
+
34047
+ :host([theme~='tertiary-inline']) {
34048
+ margin: 0;
34049
+ height: auto;
34050
+ padding: 0;
34051
+ line-height: inherit;
34052
+ font-size: inherit;
34053
+ }
34054
+
34055
+ :host([theme~='tertiary-inline']) [part='label'] {
34056
+ padding: 0;
34057
+ overflow: visible;
34058
+ line-height: inherit;
34059
+ }
34060
+
34061
+ :host([theme~='primary']) {
34062
+ background-color: var(--_lumo-button-primary-background-color, var(--lumo-primary-color));
34063
+ color: var(--_lumo-button-primary-color, var(--lumo-primary-contrast-color));
34064
+ font-weight: 600;
34065
+ min-width: calc(var(--lumo-button-size) * 2.5);
34066
+ }
34067
+
34068
+ :host([theme~='primary'])::before {
34069
+ background-color: black;
34070
+ }
34071
+
34072
+ @media (any-hover: hover) {
34073
+ :host([theme~='primary']:hover)::before {
34074
+ opacity: 0.05;
34075
+ }
34076
+ }
34077
+
34078
+ :host([theme~='primary'][active])::before {
34079
+ opacity: 0.1;
34080
+ }
34081
+
34082
+ :host([theme~='primary'][active])::after {
34083
+ opacity: 0.2;
34084
+ }
34085
+
34086
+ /* Colors (success, error, contrast) */
34087
+
34088
+ :host([theme~='success']) {
34089
+ color: var(--lumo-success-text-color);
34090
+ }
34091
+
34092
+ :host([theme~='success'][theme~='primary']) {
34093
+ background-color: var(--lumo-success-color);
34094
+ color: var(--lumo-success-contrast-color);
34095
+ }
34096
+
34097
+ :host([theme~='error']) {
34098
+ color: var(--lumo-error-text-color);
34099
+ }
34100
+
34101
+ :host([theme~='error'][theme~='primary']) {
34102
+ background-color: var(--lumo-error-color);
34103
+ color: var(--lumo-error-contrast-color);
34104
+ }
34105
+
34106
+ :host([theme~='contrast']) {
34107
+ color: var(--lumo-contrast);
34108
+ }
34109
+
34110
+ :host([theme~='contrast'][theme~='primary']) {
34111
+ background-color: var(--lumo-contrast);
34112
+ color: var(--lumo-base-color);
34113
+ }
34114
+
34115
+ /* Disabled state. Keep selectors after other color variants. */
34116
+
34117
+ :host([disabled]) {
34118
+ pointer-events: none;
34119
+ color: var(--lumo-disabled-text-color);
34120
+ }
34121
+
34122
+ :host([theme~='primary'][disabled]) {
34123
+ background-color: var(--lumo-contrast-30pct);
34124
+ color: var(--lumo-base-color);
34125
+ }
34126
+
34127
+ :host([theme~='primary'][disabled]) [part] {
34128
+ opacity: 0.7;
34129
+ }
34130
+
34131
+ /* Icons */
34132
+
34133
+ [part] ::slotted(vaadin-icon) {
34134
+ display: inline-block;
34135
+ width: var(--lumo-icon-size-m);
34136
+ height: var(--lumo-icon-size-m);
34137
+ }
34138
+
34139
+ /* Vaadin icons are based on a 16x16 grid (unlike Lumo and Material icons with 24x24), so they look too big by default */
34140
+ [part] ::slotted(vaadin-icon[icon^='vaadin:']) {
34141
+ padding: 0.25em;
34142
+ box-sizing: border-box !important;
34143
+ }
34144
+
34145
+ [part='prefix'] {
34146
+ margin-left: -0.25em;
34147
+ margin-right: 0.25em;
34148
+ }
34149
+
34150
+ [part='suffix'] {
34151
+ margin-left: 0.25em;
34152
+ margin-right: -0.25em;
34153
+ }
34154
+
34155
+ /* Icon-only */
34156
+
34157
+ :host([theme~='icon']:not([theme~='tertiary-inline'])) {
34158
+ min-width: var(--lumo-button-size);
34159
+ padding-left: calc(var(--lumo-button-size) / 4);
34160
+ padding-right: calc(var(--lumo-button-size) / 4);
34161
+ }
34162
+
34163
+ :host([theme~='icon']) [part='prefix'],
34164
+ :host([theme~='icon']) [part='suffix'] {
34165
+ margin-left: 0;
34166
+ margin-right: 0;
34167
+ }
34168
+
34169
+ /* RTL specific styles */
34170
+
34171
+ :host([dir='rtl']) [part='prefix'] {
34172
+ margin-left: 0.25em;
34173
+ margin-right: -0.25em;
34174
+ }
34175
+
34176
+ :host([dir='rtl']) [part='suffix'] {
34177
+ margin-left: -0.25em;
34178
+ margin-right: 0.25em;
34179
+ }
34180
+
34181
+ :host([dir='rtl'][theme~='icon']) [part='prefix'],
34182
+ :host([dir='rtl'][theme~='icon']) [part='suffix'] {
34183
+ margin-left: 0;
34184
+ margin-right: 0;
34185
+ }
34186
+ `;
34187
+
34188
+ registerStyles('vaadin-button', button, { moduleId: 'lumo-button' });
34189
+
33950
34190
  /**
33951
34191
  * @license
33952
34192
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
33953
34193
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
33954
34194
  */
33955
34195
 
33956
- const passwordFieldButton = i$1`
34196
+ const passwordFieldButton = i$b`
33957
34197
  :host {
33958
34198
  position: absolute;
33959
34199
  right: 0;
@@ -33978,7 +34218,7 @@ registerStyles('vaadin-password-field-button', [button, passwordFieldButton], {
33978
34218
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
33979
34219
  */
33980
34220
 
33981
- const passwordField = i$1`
34221
+ const passwordField = i$b`
33982
34222
  [part='reveal-button']::before {
33983
34223
  content: var(--lumo-icons-eye);
33984
34224
  }
@@ -33998,7 +34238,266 @@ const passwordField = i$1`
33998
34238
  }
33999
34239
  `;
34000
34240
 
34001
- registerStyles('vaadin-password-field', [inputFieldShared$2, passwordField], { moduleId: 'lumo-password-field' });
34241
+ registerStyles('vaadin-password-field', [inputFieldShared$1, passwordField], { moduleId: 'lumo-password-field' });
34242
+
34243
+ /**
34244
+ * @license
34245
+ * Copyright 2019 Google LLC
34246
+ * SPDX-License-Identifier: BSD-3-Clause
34247
+ */
34248
+ 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;
34249
+
34250
+ /**
34251
+ * @license
34252
+ * Copyright 2017 Google LLC
34253
+ * SPDX-License-Identifier: BSD-3-Clause
34254
+ */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");
34255
+
34256
+ /**
34257
+ * @license
34258
+ * Copyright 2017 Google LLC
34259
+ * SPDX-License-Identifier: BSD-3-Clause
34260
+ */
34261
+ 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};
34262
+
34263
+ /**
34264
+ * @license
34265
+ * Copyright 2017 Google LLC
34266
+ * SPDX-License-Identifier: BSD-3-Clause
34267
+ */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");
34268
+
34269
+ /**
34270
+ * @license
34271
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
34272
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
34273
+ */
34274
+
34275
+ const buttonStyles = i$1`
34276
+ :host {
34277
+ display: inline-block;
34278
+ position: relative;
34279
+ outline: none;
34280
+ white-space: nowrap;
34281
+ -webkit-user-select: none;
34282
+ -moz-user-select: none;
34283
+ user-select: none;
34284
+ }
34285
+
34286
+ :host([hidden]) {
34287
+ display: none !important;
34288
+ }
34289
+
34290
+ /* Aligns the button with form fields when placed on the same line.
34291
+ Note, to make it work, the form fields should have the same "::before" pseudo-element. */
34292
+ .vaadin-button-container::before {
34293
+ content: '\\2003';
34294
+ display: inline-block;
34295
+ width: 0;
34296
+ max-height: 100%;
34297
+ }
34298
+
34299
+ .vaadin-button-container {
34300
+ display: inline-flex;
34301
+ align-items: center;
34302
+ justify-content: center;
34303
+ text-align: center;
34304
+ width: 100%;
34305
+ height: 100%;
34306
+ min-height: inherit;
34307
+ text-shadow: inherit;
34308
+ }
34309
+
34310
+ [part='prefix'],
34311
+ [part='suffix'] {
34312
+ flex: none;
34313
+ }
34314
+
34315
+ [part='label'] {
34316
+ white-space: nowrap;
34317
+ overflow: hidden;
34318
+ text-overflow: ellipsis;
34319
+ }
34320
+
34321
+ @media (forced-colors: active) {
34322
+ :host {
34323
+ outline: 1px solid;
34324
+ outline-offset: -1px;
34325
+ }
34326
+
34327
+ :host([focused]) {
34328
+ outline-width: 2px;
34329
+ }
34330
+
34331
+ :host([disabled]) {
34332
+ outline-color: GrayText;
34333
+ }
34334
+ }
34335
+ `;
34336
+
34337
+ const buttonTemplate = (html) => html`
34338
+ <div class="vaadin-button-container">
34339
+ <span part="prefix" aria-hidden="true">
34340
+ <slot name="prefix"></slot>
34341
+ </span>
34342
+ <span part="label">
34343
+ <slot></slot>
34344
+ </span>
34345
+ <span part="suffix" aria-hidden="true">
34346
+ <slot name="suffix"></slot>
34347
+ </span>
34348
+ </div>
34349
+ <slot name="tooltip"></slot>
34350
+ `;
34351
+
34352
+ /**
34353
+ * @license
34354
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
34355
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
34356
+ */
34357
+
34358
+ /**
34359
+ * A mixin providing common button functionality.
34360
+ *
34361
+ * @polymerMixin
34362
+ * @mixes ActiveMixin
34363
+ * @mixes FocusMixin
34364
+ * @mixes TabindexMixin
34365
+ */
34366
+ const ButtonMixin = (superClass) =>
34367
+ class ButtonMixinClass extends ActiveMixin(TabindexMixin(FocusMixin(superClass))) {
34368
+ static get properties() {
34369
+ return {
34370
+ /**
34371
+ * Indicates whether the element can be focused and where it participates in sequential keyboard navigation.
34372
+ *
34373
+ * @override
34374
+ * @protected
34375
+ */
34376
+ tabindex: {
34377
+ type: Number,
34378
+ value: 0,
34379
+ reflectToAttribute: true,
34380
+ },
34381
+ };
34382
+ }
34383
+
34384
+ /**
34385
+ * By default, `Space` is the only possible activation key for a focusable HTML element.
34386
+ * Nonetheless, the button is an exception as it can be also activated by pressing `Enter`.
34387
+ * See the "Keyboard Support" section in https://www.w3.org/TR/wai-aria-practices/examples/button/button.html.
34388
+ *
34389
+ * @protected
34390
+ * @override
34391
+ */
34392
+ get _activeKeys() {
34393
+ return ['Enter', ' '];
34394
+ }
34395
+
34396
+ /** @protected */
34397
+ ready() {
34398
+ super.ready();
34399
+
34400
+ // By default, if the user hasn't provided a custom role,
34401
+ // the role attribute is set to "button".
34402
+ if (!this.hasAttribute('role')) {
34403
+ this.setAttribute('role', 'button');
34404
+ }
34405
+ }
34406
+
34407
+ /**
34408
+ * Since the button component is designed on the base of the `[role=button]` attribute,
34409
+ * and doesn't have a native <button> inside, in order to be fully accessible from the keyboard,
34410
+ * it should manually fire the `click` event once an activation key is pressed,
34411
+ * as it follows from the WAI-ARIA specifications:
34412
+ * https://www.w3.org/TR/wai-aria-practices-1.1/#button
34413
+ *
34414
+ * According to the UI Events specifications,
34415
+ * the `click` event should be fired exactly on `keydown`:
34416
+ * https://www.w3.org/TR/uievents/#event-type-keydown
34417
+ *
34418
+ * @param {KeyboardEvent} event
34419
+ * @protected
34420
+ * @override
34421
+ */
34422
+ _onKeyDown(event) {
34423
+ super._onKeyDown(event);
34424
+
34425
+ if (event.altKey || event.shiftKey || event.ctrlKey || event.metaKey) {
34426
+ return;
34427
+ }
34428
+
34429
+ if (this._activeKeys.includes(event.key)) {
34430
+ event.preventDefault();
34431
+
34432
+ // `DisabledMixin` overrides the standard `click()` method
34433
+ // so that it doesn't fire the `click` event when the element is disabled.
34434
+ this.click();
34435
+ }
34436
+ }
34437
+ };
34438
+
34439
+ /**
34440
+ * @license
34441
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
34442
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
34443
+ */
34444
+
34445
+ registerStyles('vaadin-button', buttonStyles, { moduleId: 'vaadin-button-styles' });
34446
+
34447
+ /**
34448
+ * `<vaadin-button>` is an accessible and customizable button that allows users to perform actions.
34449
+ *
34450
+ * ```html
34451
+ * <vaadin-button>Press me</vaadin-button>
34452
+ * ```
34453
+ *
34454
+ * ### Styling
34455
+ *
34456
+ * The following shadow DOM parts are available for styling:
34457
+ *
34458
+ * Part name | Description
34459
+ * ----------|-------------
34460
+ * `label` | The label (text) inside the button.
34461
+ * `prefix` | A slot for content before the label (e.g. an icon).
34462
+ * `suffix` | A slot for content after the label (e.g. an icon).
34463
+ *
34464
+ * The following attributes are available for styling:
34465
+ *
34466
+ * Attribute | Description
34467
+ * -------------|-------------
34468
+ * `active` | Set when the button is pressed down, either with mouse, touch or the keyboard.
34469
+ * `disabled` | Set when the button is disabled.
34470
+ * `focus-ring` | Set when the button is focused using the keyboard.
34471
+ * `focused` | Set when the button is focused.
34472
+ *
34473
+ * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
34474
+ *
34475
+ * @customElement
34476
+ * @extends HTMLElement
34477
+ * @mixes ButtonMixin
34478
+ * @mixes ControllerMixin
34479
+ * @mixes ElementMixin
34480
+ * @mixes ThemableMixin
34481
+ */
34482
+ class Button extends ButtonMixin(ElementMixin(ThemableMixin(ControllerMixin(PolymerElement)))) {
34483
+ static get is() {
34484
+ return 'vaadin-button';
34485
+ }
34486
+
34487
+ static get template() {
34488
+ return buttonTemplate(html);
34489
+ }
34490
+
34491
+ /** @protected */
34492
+ ready() {
34493
+ super.ready();
34494
+
34495
+ this._tooltipController = new TooltipController(this);
34496
+ this.addController(this._tooltipController);
34497
+ }
34498
+ }
34499
+
34500
+ defineCustomElement(Button);
34002
34501
 
34003
34502
  /**
34004
34503
  * @license
@@ -34363,6 +34862,17 @@ const PasswordInput = class {
34363
34862
  this.sendOriginalValidityState = createEvent(this, "sendOriginalValidityState", 7);
34364
34863
  this.sendValidityState = createEvent(this, "sendValidityState", 7);
34365
34864
  this.sendInputValue = createEvent(this, "sendInputValue", 7);
34865
+ /**
34866
+ * Default value for the input.
34867
+ */
34868
+ this.defaultValue = '';
34869
+ /**
34870
+ * Client custom styling via inline style
34871
+ */
34872
+ this.clientStyling = '';
34873
+ this.limitStylingAppends = false;
34874
+ this.showTooltip = false;
34875
+ this.value = '';
34366
34876
  this.touched = false;
34367
34877
  this.originalValid = false;
34368
34878
  this.validationPattern = '';
@@ -34401,24 +34911,6 @@ const PasswordInput = class {
34401
34911
  sheet.innerHTML = this.clientStyling;
34402
34912
  this.stylingContainer.prepend(sheet);
34403
34913
  };
34404
- this.name = undefined;
34405
- this.displayName = undefined;
34406
- this.placeholder = undefined;
34407
- this.defaultValue = '';
34408
- this.autofilled = undefined;
34409
- this.tooltip = undefined;
34410
- this.validation = undefined;
34411
- this.language = undefined;
34412
- this.emitValue = undefined;
34413
- this.isDuplicateInput = undefined;
34414
- this.clientStyling = '';
34415
- this.isValid = undefined;
34416
- this.errorMessage = undefined;
34417
- this.limitStylingAppends = false;
34418
- this.showTooltip = false;
34419
- this.passwordComplexity = undefined;
34420
- this.showPopup = undefined;
34421
- this.value = '';
34422
34914
  }
34423
34915
  validityChanged() {
34424
34916
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -34539,28 +35031,28 @@ const PasswordInput = class {
34539
35031
  setErrorMessage() {
34540
35032
  var _a, _b, _c, _d;
34541
35033
  if (this.isDuplicateInput && !this.originalValid) {
34542
- return translate$3('invalidOriginalPasswordError', this.language);
35034
+ return translate$2('invalidOriginalPasswordError', this.language);
34543
35035
  }
34544
35036
  if (this.inputReference.validity.patternMismatch) {
34545
35037
  const errorCode = (_a = this.validation.custom.find(customValidation => customValidation.rule === 'regex')) === null || _a === void 0 ? void 0 : _a.errorKey;
34546
35038
  const errorMessage = (_b = this.validation.custom.find(customValidation => customValidation.rule === 'regex')) === null || _b === void 0 ? void 0 : _b.errorMessage;
34547
- return translate$3(`${errorCode}`, this.language) ? translate$3(`${errorCode}`, this.language) : errorMessage;
35039
+ return translate$2(`${errorCode}`, this.language) ? translate$2(`${errorCode}`, this.language) : errorMessage;
34548
35040
  }
34549
35041
  if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong) {
34550
- return translate$3('lengthError', this.language, { values: { minLength: this.validation.minLength, maxLength: this.validation.maxLength } });
35042
+ return translate$2('lengthError', this.language, { values: { minLength: this.validation.minLength, maxLength: this.validation.maxLength } });
34551
35043
  }
34552
35044
  if (this.inputReference.validity.valueMissing) {
34553
- return translate$3('requiredError', this.language);
35045
+ return translate$2('requiredError', this.language);
34554
35046
  }
34555
35047
  if (this.isDuplicateInput && this.duplicateInputValue !== this.value) {
34556
35048
  const errorCode = (_c = this.validation.custom.find(customRule => customRule.rule === 'duplicate-input')) === null || _c === void 0 ? void 0 : _c.errorKey;
34557
35049
  const errorMessage = (_d = this.validation.custom.find(customRule => customRule.rule === 'duplicate-input')) === null || _d === void 0 ? void 0 : _d.errorMessage;
34558
- return translate$3(`${errorCode}`, this.language) ? translate$3(`${errorCode}`, this.language) : errorMessage;
35050
+ return translate$2(`${errorCode}`, this.language) ? translate$2(`${errorCode}`, this.language) : errorMessage;
34559
35051
  }
34560
35052
  }
34561
35053
  renderTooltip() {
34562
35054
  if (this.showTooltip) {
34563
- return (h$2("div", { class: `password__tooltip ${this.showTooltip ? 'visible' : ''}`, ref: (el) => this.tooltipReference = el, innerHTML: this.tooltip }));
35055
+ return (h$a("div", { class: `password__tooltip ${this.showTooltip ? 'visible' : ''}`, ref: (el) => this.tooltipReference = el, innerHTML: this.tooltip }));
34564
35056
  }
34565
35057
  return null;
34566
35058
  }
@@ -34569,8 +35061,8 @@ const PasswordInput = class {
34569
35061
  const passedRules = this.passwordComplexity.filter(complexity => complexity.passed).length;
34570
35062
  const meterValue = passedRules / totalRules;
34571
35063
  const allRulesPassed = this.passwordComplexity.every(complexity => complexity.passed);
34572
- return (h$2("div", { class: `password__complexity ${!this.showPopup ? 'password__complexity--hidden' : ''}` }, h$2("div", { class: 'password__complexity--strength' }, h$2("p", { class: 'password__complexity--text' }, translate$3('passwordStrength', this.language), "\u00A0", h$2("span", { class: 'password__complexity--text-bold' }, translate$3(`${allRulesPassed ? 'passwordStrengthStrong' : 'passwordStrengthWeak'}`, this.language))), h$2("meter", { value: meterValue, min: "0", max: "1" })), h$2("div", null, this.passwordComplexity.map((complexity, index) => {
34573
- return (h$2("div", { key: index }, h$2("input", { class: 'password__complexity--checkbox', type: "checkbox", checked: complexity.passed, disabled: true }), h$2("span", null, translate$3(`${complexity.ruleKey}`, this.language) ? translate$3(`${complexity.ruleKey}`, this.language) : complexity.rule)));
35064
+ return (h$a("div", { class: `password__complexity ${!this.showPopup ? 'password__complexity--hidden' : ''}` }, h$a("div", { class: 'password__complexity--strength' }, h$a("p", { class: 'password__complexity--text' }, translate$2('passwordStrength', this.language), "\u00A0", h$a("span", { class: 'password__complexity--text-bold' }, translate$2(`${allRulesPassed ? 'passwordStrengthStrong' : 'passwordStrengthWeak'}`, this.language))), h$a("meter", { value: meterValue, min: "0", max: "1" })), h$a("div", null, this.passwordComplexity.map((complexity, index) => {
35065
+ return (h$a("div", { key: index }, h$a("input", { class: 'password__complexity--checkbox', type: "checkbox", checked: complexity.passed, disabled: true }), h$a("span", null, translate$2(`${complexity.ruleKey}`, this.language) ? translate$2(`${complexity.ruleKey}`, this.language) : complexity.rule)));
34574
35066
  }))));
34575
35067
  }
34576
35068
  render() {
@@ -34578,8 +35070,8 @@ const PasswordInput = class {
34578
35070
  if (this.touched) {
34579
35071
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
34580
35072
  }
34581
- return h$2("div", { key: 'c704b51efdf53817beb1541b4794e0b11b490a24', class: `password__wrapper ${this.autofilled ? 'password__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("div", { key: 'e590afa403084ff95a8735ade400ab81ad16937f', class: 'password__wrapper--flex' }, h$2("label", { key: '9d8db00b59c4b9594538aeacee3ef5a0e678c0e9', class: `password__label ${this.validation.mandatory ? 'password__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("div", { key: 'bb39f6018cf688fafcd0b5bef91ba079edf09daf', class: 'password__wrapper--relative' }, this.tooltip &&
34582
- h$2("img", { key: 'd8dbd086da34a8c7db9b5826654530bdb888c927', class: 'password__tooltip-icon', src: tooltipIconSvg$1, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$2("vaadin-password-field", { key: 'ae1c212d663fe379561b1c514087629409196ac3', type: "password", id: `${this.name}__input`, class: `password__input ${invalidClass}`, name: this.name, readOnly: this.autofilled, value: this.defaultValue, required: this.validation.mandatory, maxlength: this.validation.maxLength, minlength: this.validation.minLength, pattern: this.validationPattern, placeholder: `${this.placeholder}`, onInput: this.handleInput, onBlur: this.handleBlur, onFocus: this.handleFocus }), h$2("small", { key: '2fa1e25239a7314399c16b2f897873b7a31e9f77', class: 'password__error-message' }, this.errorMessage), this.passwordComplexity && this.showPopup && !this.isDuplicateInput && this.renderComplexityPopup());
35073
+ return h$a("div", { key: 'c704b51efdf53817beb1541b4794e0b11b490a24', class: `password__wrapper ${this.autofilled ? 'password__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$a("div", { key: 'e590afa403084ff95a8735ade400ab81ad16937f', class: 'password__wrapper--flex' }, h$a("label", { key: '9d8db00b59c4b9594538aeacee3ef5a0e678c0e9', class: `password__label ${this.validation.mandatory ? 'password__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$a("div", { key: 'bb39f6018cf688fafcd0b5bef91ba079edf09daf', class: 'password__wrapper--relative' }, this.tooltip &&
35074
+ h$a("img", { key: 'd8dbd086da34a8c7db9b5826654530bdb888c927', class: 'password__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$a("vaadin-password-field", { key: 'ae1c212d663fe379561b1c514087629409196ac3', type: "password", id: `${this.name}__input`, class: `password__input ${invalidClass}`, name: this.name, readOnly: this.autofilled, value: this.defaultValue, required: this.validation.mandatory, maxlength: this.validation.maxLength, minlength: this.validation.minLength, pattern: this.validationPattern, placeholder: `${this.placeholder}`, onInput: this.handleInput, onBlur: this.handleBlur, onFocus: this.handleFocus }), h$a("small", { key: '2fa1e25239a7314399c16b2f897873b7a31e9f77', class: 'password__error-message' }, this.errorMessage), this.passwordComplexity && this.showPopup && !this.isDuplicateInput && this.renderComplexityPopup());
34583
35075
  }
34584
35076
  get element() { return getElement(this); }
34585
35077
  static get watchers() { return {
@@ -34598,23 +35090,17 @@ const RadioInput = class {
34598
35090
  registerInstance(this, hostRef);
34599
35091
  this.sendInputValue = createEvent(this, "sendInputValue", 7);
34600
35092
  this.sendValidityState = createEvent(this, "sendValidityState", 7);
35093
+ /**
35094
+ * Client custom styling via inline style
35095
+ */
35096
+ this.clientStyling = '';
35097
+ this.limitStylingAppends = false;
35098
+ this.showTooltip = false;
34601
35099
  this.setClientStyling = () => {
34602
35100
  let sheet = document.createElement('style');
34603
35101
  sheet.innerHTML = this.clientStyling;
34604
35102
  this.stylingContainer.prepend(sheet);
34605
35103
  };
34606
- this.name = undefined;
34607
- this.displayName = undefined;
34608
- this.optionsGroup = undefined;
34609
- this.validation = undefined;
34610
- this.tooltip = undefined;
34611
- this.language = undefined;
34612
- this.emitValue = undefined;
34613
- this.clientStyling = '';
34614
- this.errorMessage = undefined;
34615
- this.isValid = undefined;
34616
- this.limitStylingAppends = false;
34617
- this.showTooltip = false;
34618
35104
  }
34619
35105
  validityChanged() {
34620
35106
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -34659,18 +35145,18 @@ const RadioInput = class {
34659
35145
  }
34660
35146
  setErrorMessage() {
34661
35147
  if (this.inputReference.validity.valueMissing) {
34662
- return translate$3('requiredError', this.language);
35148
+ return translate$2('requiredError', this.language);
34663
35149
  }
34664
35150
  }
34665
35151
  renderTooltip() {
34666
35152
  if (this.showTooltip) {
34667
- return (h$2("div", { class: `radio__tooltip ${this.showTooltip ? 'visible' : ''}`, ref: (el) => this.tooltipReference = el, innerHTML: this.tooltip }));
35153
+ return (h$a("div", { class: `radio__tooltip ${this.showTooltip ? 'visible' : ''}`, ref: (el) => this.tooltipReference = el, innerHTML: this.tooltip }));
34668
35154
  }
34669
35155
  return null;
34670
35156
  }
34671
35157
  render() {
34672
- return h$2("fieldset", { key: '3d90735f7dc8fef6a96dc85b8f9ba22880cb205f', class: `radio__fieldset ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("legend", { key: '9472ed76f5c7fabb90d2b3d39eeb9e18f05a30dd', class: 'radio__legend' }, this.displayName, ":"), this.optionsGroup.map(option => h$2("div", { class: 'radio__wrapper' }, h$2("input", { type: "radio", class: 'radio__input', id: `${option.label}__input`, ref: (el) => this.inputReference = el, value: option.value, name: this.name, required: this.validation.mandatory, onClick: (e) => this.handleClick(e) }), h$2("label", { htmlFor: `${option.label}__input` }, option.label))), h$2("small", { key: '2ae0947580bb8a0a3d889a2d9ebd0b82458fdfd2', class: 'radio__error-message' }, this.errorMessage), this.tooltip &&
34673
- h$2("img", { key: '4f3cbf341f1c559bbdf44ca5d169be7a64d46e97', class: 'radio__tooltip-icon', src: tooltipIconSvg$1, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
35158
+ return h$a("fieldset", { key: '3d90735f7dc8fef6a96dc85b8f9ba22880cb205f', class: `radio__fieldset ${this.name}__input`, ref: el => this.stylingContainer = el }, h$a("legend", { key: '9472ed76f5c7fabb90d2b3d39eeb9e18f05a30dd', class: 'radio__legend' }, this.displayName, ":"), this.optionsGroup.map(option => h$a("div", { class: 'radio__wrapper' }, h$a("input", { type: "radio", class: 'radio__input', id: `${option.label}__input`, ref: (el) => this.inputReference = el, value: option.value, name: this.name, required: this.validation.mandatory, onClick: (e) => this.handleClick(e) }), h$a("label", { htmlFor: `${option.label}__input` }, option.label))), h$a("small", { key: '2ae0947580bb8a0a3d889a2d9ebd0b82458fdfd2', class: 'radio__error-message' }, this.errorMessage), this.tooltip &&
35159
+ h$a("img", { key: '4f3cbf341f1c559bbdf44ca5d169be7a64d46e97', class: 'radio__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
34674
35160
  }
34675
35161
  static get watchers() { return {
34676
35162
  "isValid": ["validityChanged"],
@@ -34713,7 +35199,7 @@ const addLumoGlobalStyles = (id, ...styles) => {
34713
35199
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
34714
35200
  */
34715
35201
 
34716
- const fontIcons = i$1`
35202
+ const fontIcons = i$b`
34717
35203
  @font-face {
34718
35204
  font-family: 'lumo-icons';
34719
35205
  src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMABF0UtwCEnIPM/zhLK8LqhfXRybSP14XUYtHV9hGYQwQBNIo3cUIPkhQeM7rib1ekqnXg981XuC1qvy84lzojleh3puxL0hPjGjRU473teloEefAUNGjJkwZcacBUtWrNmwZceeA0dOnLlw5cadB09elPGhGf+j0NTI/65KfXerT6JhqKnpRKtgOpuqaTrtKjPUlqHmhto21I7pL6i6hlqY3q7qGWrfUAeGOjTUkaGODXViqFNDnRnq3FAXhro01JWhrg11Y6hbQ90Z6t5QD4Z6NNSToZ4N9WKoV0O9GerdUB+G+jTUl6GWRvkL24BkEXictVh9bFvVFb/nxvbz+7Rf/N6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gVbuAKb8JN+nfhFvlDuI17fAp36L+Fu1jgR7iHp+jF7Arbz1Nb1nO93pnEncSJFtrVuS3VKB6e5EyX2iVer9TyoOr9eux9pjJnCzW1pdfGWFU5u9WpjzfeV5PBIBMfp7aAwQ4FLPrIkbKWqDHn+67pDRK4s4lzbsEux5qHvcIIMb/nueSMyTKkE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
@@ -34776,7 +35262,7 @@ addLumoGlobalStyles('font-icons', fontIcons);
34776
35262
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
34777
35263
  */
34778
35264
 
34779
- const sizing = i$1`
35265
+ const sizing = i$b`
34780
35266
  :host {
34781
35267
  --lumo-size-xs: 1.625rem;
34782
35268
  --lumo-size-s: 1.875rem;
@@ -34801,7 +35287,7 @@ addLumoGlobalStyles('sizing-props', sizing);
34801
35287
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
34802
35288
  */
34803
35289
 
34804
- const spacing = i$1`
35290
+ const spacing = i$b`
34805
35291
  :host {
34806
35292
  /* Square */
34807
35293
  --lumo-space-xs: 0.25rem;
@@ -34834,7 +35320,7 @@ addLumoGlobalStyles('spacing-props', spacing);
34834
35320
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
34835
35321
  */
34836
35322
 
34837
- const style = i$1`
35323
+ const style = i$b`
34838
35324
  :host {
34839
35325
  /* Border radius */
34840
35326
  --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
@@ -34856,7 +35342,7 @@ const style = i$1`
34856
35342
  /**
34857
35343
  * Default values for component-specific custom properties.
34858
35344
  */
34859
- i$1`
35345
+ i$b`
34860
35346
  html {
34861
35347
  --vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
34862
35348
  --vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
@@ -34872,7 +35358,7 @@ addLumoGlobalStyles('style-props', style);
34872
35358
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
34873
35359
  */
34874
35360
 
34875
- const font = i$1`
35361
+ const font = i$b`
34876
35362
  :host {
34877
35363
  /* prettier-ignore */
34878
35364
  --lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
@@ -34894,7 +35380,7 @@ const font = i$1`
34894
35380
  }
34895
35381
  `;
34896
35382
 
34897
- const typography = i$1`
35383
+ const typography = i$b`
34898
35384
  body,
34899
35385
  :host {
34900
35386
  font-family: var(--lumo-font-family);
@@ -34991,7 +35477,7 @@ const typography = i$1`
34991
35477
  registerStyles('', typography, { moduleId: 'lumo-typography' });
34992
35478
  addLumoGlobalStyles('typography-props', font);
34993
35479
 
34994
- const item = i$1`
35480
+ const item = i$b`
34995
35481
  :host {
34996
35482
  display: flex;
34997
35483
  align-items: center;
@@ -35074,7 +35560,7 @@ const item = i$1`
35074
35560
 
35075
35561
  registerStyles('vaadin-item', item, { moduleId: 'lumo-item' });
35076
35562
 
35077
- const comboBoxItem = i$1`
35563
+ const comboBoxItem = i$b`
35078
35564
  :host {
35079
35565
  transition: background-color 100ms;
35080
35566
  overflow: hidden;
@@ -35098,7 +35584,7 @@ registerStyles('vaadin-combo-box-item', [item, comboBoxItem], {
35098
35584
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
35099
35585
  */
35100
35586
 
35101
- const loader = i$1`
35587
+ const loader = i$b`
35102
35588
  [part~='loader'] {
35103
35589
  box-sizing: border-box;
35104
35590
  width: var(--lumo-icon-size-s);
@@ -35140,7 +35626,188 @@ const loader = i$1`
35140
35626
  }
35141
35627
  `;
35142
35628
 
35143
- const comboBoxOverlay = i$1`
35629
+ /**
35630
+ * @license
35631
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
35632
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
35633
+ */
35634
+
35635
+ const overlay = i$b`
35636
+ :host {
35637
+ top: var(--lumo-space-m);
35638
+ right: var(--lumo-space-m);
35639
+ bottom: var(--lumo-space-m);
35640
+ left: var(--lumo-space-m);
35641
+ /* Workaround for Edge issue (only on Surface), where an overflowing vaadin-list-box inside vaadin-select-overlay makes the overlay transparent */
35642
+ /* stylelint-disable-next-line */
35643
+ outline: 0px solid transparent;
35644
+ }
35645
+
35646
+ [part='overlay'] {
35647
+ background-color: var(--lumo-base-color);
35648
+ background-image: linear-gradient(var(--lumo-tint-5pct), var(--lumo-tint-5pct));
35649
+ border-radius: var(--lumo-border-radius-m);
35650
+ box-shadow: 0 0 0 1px var(--lumo-shade-5pct), var(--lumo-box-shadow-m);
35651
+ color: var(--lumo-body-text-color);
35652
+ font-family: var(--lumo-font-family);
35653
+ font-size: var(--lumo-font-size-m);
35654
+ font-weight: 400;
35655
+ line-height: var(--lumo-line-height-m);
35656
+ letter-spacing: 0;
35657
+ text-transform: none;
35658
+ -webkit-text-size-adjust: 100%;
35659
+ -webkit-font-smoothing: antialiased;
35660
+ -moz-osx-font-smoothing: grayscale;
35661
+ }
35662
+
35663
+ [part='content'] {
35664
+ padding: var(--lumo-space-xs);
35665
+ }
35666
+
35667
+ [part='backdrop'] {
35668
+ background-color: var(--lumo-shade-20pct);
35669
+ animation: 0.2s lumo-overlay-backdrop-enter both;
35670
+ will-change: opacity;
35671
+ }
35672
+
35673
+ @keyframes lumo-overlay-backdrop-enter {
35674
+ 0% {
35675
+ opacity: 0;
35676
+ }
35677
+ }
35678
+
35679
+ :host([closing]) [part='backdrop'] {
35680
+ animation: 0.2s lumo-overlay-backdrop-exit both;
35681
+ }
35682
+
35683
+ @keyframes lumo-overlay-backdrop-exit {
35684
+ 100% {
35685
+ opacity: 0;
35686
+ }
35687
+ }
35688
+
35689
+ @keyframes lumo-overlay-dummy-animation {
35690
+ 0% {
35691
+ opacity: 1;
35692
+ }
35693
+
35694
+ 100% {
35695
+ opacity: 1;
35696
+ }
35697
+ }
35698
+ `;
35699
+
35700
+ registerStyles('', overlay, { moduleId: 'lumo-overlay' });
35701
+
35702
+ /**
35703
+ * @license
35704
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
35705
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
35706
+ */
35707
+
35708
+ const menuOverlayCore = i$b`
35709
+ :host([opening]),
35710
+ :host([closing]) {
35711
+ animation: 0.14s lumo-overlay-dummy-animation;
35712
+ }
35713
+
35714
+ [part='overlay'] {
35715
+ will-change: opacity, transform;
35716
+ }
35717
+
35718
+ :host([opening]) [part='overlay'] {
35719
+ animation: 0.1s lumo-menu-overlay-enter ease-out both;
35720
+ }
35721
+
35722
+ @keyframes lumo-menu-overlay-enter {
35723
+ 0% {
35724
+ opacity: 0;
35725
+ transform: translateY(-4px);
35726
+ }
35727
+ }
35728
+
35729
+ :host([closing]) [part='overlay'] {
35730
+ animation: 0.1s lumo-menu-overlay-exit both;
35731
+ }
35732
+
35733
+ @keyframes lumo-menu-overlay-exit {
35734
+ 100% {
35735
+ opacity: 0;
35736
+ }
35737
+ }
35738
+ `;
35739
+
35740
+ registerStyles('', menuOverlayCore, { moduleId: 'lumo-menu-overlay-core' });
35741
+
35742
+ const menuOverlayExt = i$b`
35743
+ /* Small viewport (bottom sheet) styles */
35744
+ /* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
35745
+ @media (max-width: 420px), (max-height: 420px) {
35746
+ :host {
35747
+ top: 0 !important;
35748
+ right: 0 !important;
35749
+ bottom: var(--vaadin-overlay-viewport-bottom, 0) !important;
35750
+ left: 0 !important;
35751
+ align-items: stretch !important;
35752
+ justify-content: flex-end !important;
35753
+ }
35754
+
35755
+ [part='overlay'] {
35756
+ max-height: 50vh;
35757
+ width: 100vw;
35758
+ border-radius: 0;
35759
+ box-shadow: var(--lumo-box-shadow-xl);
35760
+ }
35761
+
35762
+ /* The content part scrolls instead of the overlay part, because of the gradient fade-out */
35763
+ [part='content'] {
35764
+ padding: 30px var(--lumo-space-m);
35765
+ max-height: inherit;
35766
+ box-sizing: border-box;
35767
+ -webkit-overflow-scrolling: touch;
35768
+ overflow: auto;
35769
+ -webkit-mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);
35770
+ mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);
35771
+ }
35772
+
35773
+ [part='backdrop'] {
35774
+ display: block;
35775
+ }
35776
+
35777
+ /* Animations */
35778
+
35779
+ :host([opening]) [part='overlay'] {
35780
+ animation: 0.2s lumo-mobile-menu-overlay-enter cubic-bezier(0.215, 0.61, 0.355, 1) both;
35781
+ }
35782
+
35783
+ :host([closing]),
35784
+ :host([closing]) [part='backdrop'] {
35785
+ animation-delay: 0.14s;
35786
+ }
35787
+
35788
+ :host([closing]) [part='overlay'] {
35789
+ animation: 0.14s 0.14s lumo-mobile-menu-overlay-exit cubic-bezier(0.55, 0.055, 0.675, 0.19) both;
35790
+ }
35791
+ }
35792
+
35793
+ @keyframes lumo-mobile-menu-overlay-enter {
35794
+ 0% {
35795
+ transform: translateY(150%);
35796
+ }
35797
+ }
35798
+
35799
+ @keyframes lumo-mobile-menu-overlay-exit {
35800
+ 100% {
35801
+ transform: translateY(150%);
35802
+ }
35803
+ }
35804
+ `;
35805
+
35806
+ const menuOverlay = [overlay, menuOverlayCore, menuOverlayExt];
35807
+
35808
+ registerStyles('', menuOverlay, { moduleId: 'lumo-menu-overlay' });
35809
+
35810
+ const comboBoxOverlay = i$b`
35144
35811
  [part='content'] {
35145
35812
  padding: 0;
35146
35813
  }
@@ -35163,7 +35830,7 @@ const comboBoxOverlay = i$1`
35163
35830
  }
35164
35831
  `;
35165
35832
 
35166
- const comboBoxLoader = i$1`
35833
+ const comboBoxLoader = i$b`
35167
35834
  [part~='loader'] {
35168
35835
  position: absolute;
35169
35836
  z-index: 1;
@@ -35192,7 +35859,7 @@ registerStyles(
35192
35859
  comboBoxOverlay,
35193
35860
  loader,
35194
35861
  comboBoxLoader,
35195
- i$1`
35862
+ i$b`
35196
35863
  :host {
35197
35864
  --_vaadin-combo-box-items-container-border-width: var(--lumo-space-xs);
35198
35865
  --_vaadin-combo-box-items-container-border-style: solid;
@@ -35202,7 +35869,191 @@ registerStyles(
35202
35869
  { moduleId: 'lumo-combo-box-overlay' },
35203
35870
  );
35204
35871
 
35205
- const comboBox = i$1`
35872
+ /**
35873
+ * @license
35874
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
35875
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
35876
+ */
35877
+
35878
+ const fieldButton = i$b`
35879
+ [part$='button'] {
35880
+ flex: none;
35881
+ width: 1em;
35882
+ height: 1em;
35883
+ line-height: 1;
35884
+ font-size: var(--lumo-icon-size-m);
35885
+ text-align: center;
35886
+ color: var(--lumo-contrast-60pct);
35887
+ transition: 0.2s color;
35888
+ cursor: var(--lumo-clickable-cursor);
35889
+ }
35890
+
35891
+ [part$='button']:hover {
35892
+ color: var(--lumo-contrast-90pct);
35893
+ }
35894
+
35895
+ :host([disabled]) [part$='button'],
35896
+ :host([readonly]) [part$='button'] {
35897
+ color: var(--lumo-contrast-20pct);
35898
+ cursor: default;
35899
+ }
35900
+
35901
+ [part$='button']::before {
35902
+ font-family: 'lumo-icons';
35903
+ display: block;
35904
+ }
35905
+ `;
35906
+ registerStyles('', fieldButton, { moduleId: 'lumo-field-button' });
35907
+
35908
+ /**
35909
+ * @license
35910
+ * Copyright (c) 2017 - 2023 Vaadin Ltd.
35911
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
35912
+ */
35913
+
35914
+ const inputField = i$b`
35915
+ :host {
35916
+ --lumo-text-field-size: var(--lumo-size-m);
35917
+ color: var(--lumo-body-text-color);
35918
+ font-size: var(--lumo-font-size-m);
35919
+ font-family: var(--lumo-font-family);
35920
+ -webkit-font-smoothing: antialiased;
35921
+ -moz-osx-font-smoothing: grayscale;
35922
+ -webkit-tap-highlight-color: transparent;
35923
+ padding: var(--lumo-space-xs) 0;
35924
+ }
35925
+
35926
+ :host::before {
35927
+ height: var(--lumo-text-field-size);
35928
+ box-sizing: border-box;
35929
+ display: inline-flex;
35930
+ align-items: center;
35931
+ }
35932
+
35933
+ :host([focused]:not([readonly])) [part='label'] {
35934
+ color: var(--lumo-primary-text-color);
35935
+ }
35936
+
35937
+ :host([focused]) [part='input-field'] ::slotted(:is(input, textarea)) {
35938
+ -webkit-mask-image: none;
35939
+ mask-image: none;
35940
+ }
35941
+
35942
+ ::slotted(:is(input, textarea):placeholder-shown) {
35943
+ color: var(--lumo-secondary-text-color);
35944
+ }
35945
+
35946
+ /* Hover */
35947
+ :host(:hover:not([readonly]):not([focused])) [part='label'] {
35948
+ color: var(--lumo-body-text-color);
35949
+ }
35950
+
35951
+ :host(:hover:not([readonly]):not([focused])) [part='input-field']::after {
35952
+ opacity: 0.1;
35953
+ }
35954
+
35955
+ /* Touch device adjustment */
35956
+ @media (pointer: coarse) {
35957
+ :host(:hover:not([readonly]):not([focused])) [part='label'] {
35958
+ color: var(--lumo-secondary-text-color);
35959
+ }
35960
+
35961
+ :host(:hover:not([readonly]):not([focused])) [part='input-field']::after {
35962
+ opacity: 0;
35963
+ }
35964
+
35965
+ :host(:active:not([readonly]):not([focused])) [part='input-field']::after {
35966
+ opacity: 0.2;
35967
+ }
35968
+ }
35969
+
35970
+ /* Trigger when not focusing using the keyboard */
35971
+ :host([focused]:not([focus-ring]):not([readonly])) [part='input-field']::after {
35972
+ transform: scaleX(0);
35973
+ transition-duration: 0.15s, 1s;
35974
+ }
35975
+
35976
+ /* Focus-ring */
35977
+ :host([focus-ring]) [part='input-field'] {
35978
+ box-shadow: 0 0 0 2px var(--lumo-primary-color-50pct);
35979
+ }
35980
+
35981
+ /* Read-only and disabled */
35982
+ :host(:is([readonly], [disabled])) ::slotted(:is(input, textarea):placeholder-shown) {
35983
+ opacity: 0;
35984
+ }
35985
+
35986
+ /* Read-only style */
35987
+ :host([readonly]) {
35988
+ --vaadin-input-field-border-color: transparent;
35989
+ }
35990
+
35991
+ /* Disabled style */
35992
+ :host([disabled]) {
35993
+ pointer-events: none;
35994
+ --vaadin-input-field-border-color: var(--lumo-contrast-20pct);
35995
+ }
35996
+
35997
+ :host([disabled]) [part='label'],
35998
+ :host([disabled]) [part='input-field'] ::slotted(*) {
35999
+ color: var(--lumo-disabled-text-color);
36000
+ -webkit-text-fill-color: var(--lumo-disabled-text-color);
36001
+ }
36002
+
36003
+ /* Invalid style */
36004
+ :host([invalid]) {
36005
+ --vaadin-input-field-border-color: var(--lumo-error-color);
36006
+ }
36007
+
36008
+ :host([invalid][focus-ring]) [part='input-field'] {
36009
+ box-shadow: 0 0 0 2px var(--lumo-error-color-50pct);
36010
+ }
36011
+
36012
+ :host([input-prevented]) [part='input-field'] {
36013
+ animation: shake 0.15s infinite;
36014
+ }
36015
+
36016
+ @keyframes shake {
36017
+ 25% {
36018
+ transform: translateX(4px);
36019
+ }
36020
+ 75% {
36021
+ transform: translateX(-4px);
36022
+ }
36023
+ }
36024
+
36025
+ /* Small theme */
36026
+ :host([theme~='small']) {
36027
+ font-size: var(--lumo-font-size-s);
36028
+ --lumo-text-field-size: var(--lumo-size-s);
36029
+ }
36030
+
36031
+ :host([theme~='small']) [part='label'] {
36032
+ font-size: var(--lumo-font-size-xs);
36033
+ }
36034
+
36035
+ :host([theme~='small']) [part='error-message'] {
36036
+ font-size: var(--lumo-font-size-xxs);
36037
+ }
36038
+
36039
+ /* Slotted content */
36040
+ [part='input-field'] ::slotted(:not(vaadin-icon):not(input):not(textarea)) {
36041
+ color: var(--lumo-secondary-text-color);
36042
+ font-weight: 400;
36043
+ }
36044
+
36045
+ [part='clear-button']::before {
36046
+ content: var(--lumo-icons-cross);
36047
+ }
36048
+ `;
36049
+
36050
+ const inputFieldShared = [requiredField$2, fieldButton, helper$2, inputField];
36051
+
36052
+ registerStyles('', inputFieldShared, {
36053
+ moduleId: 'lumo-input-field-shared-styles',
36054
+ });
36055
+
36056
+ const comboBox = i$b`
35206
36057
  :host {
35207
36058
  outline: none;
35208
36059
  }
@@ -35212,7 +36063,7 @@ const comboBox = i$1`
35212
36063
  }
35213
36064
  `;
35214
36065
 
35215
- registerStyles('vaadin-combo-box', [inputFieldShared$2, comboBox], { moduleId: 'lumo-combo-box' });
36066
+ registerStyles('vaadin-combo-box', [inputFieldShared, comboBox], { moduleId: 'lumo-combo-box' });
35216
36067
 
35217
36068
  /**
35218
36069
  * @license
@@ -35488,7 +36339,7 @@ const ComboBoxOverlayMixin = (superClass) =>
35488
36339
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
35489
36340
  */
35490
36341
 
35491
- const comboBoxOverlayStyles = i$1`
36342
+ const comboBoxOverlayStyles = i$b`
35492
36343
  #overlay {
35493
36344
  width: var(--vaadin-combo-box-overlay-width, var(--_vaadin-combo-box-overlay-default-width, auto));
35494
36345
  }
@@ -39233,7 +40084,7 @@ const ComboBoxMixin = (subclass) =>
39233
40084
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
39234
40085
  */
39235
40086
 
39236
- registerStyles('vaadin-combo-box', inputFieldShared$1, { moduleId: 'vaadin-combo-box-styles' });
40087
+ registerStyles('vaadin-combo-box', inputFieldShared$2, { moduleId: 'vaadin-combo-box-styles' });
39237
40088
 
39238
40089
  /**
39239
40090
  * `<vaadin-combo-box>` is a web component for choosing a value from a filterable list of options
@@ -39508,6 +40359,20 @@ const SelectInput = class {
39508
40359
  registerInstance(this, hostRef);
39509
40360
  this.sendValidityState = createEvent(this, "sendValidityState", 7);
39510
40361
  this.sendInputValue = createEvent(this, "sendInputValue", 7);
40362
+ /**
40363
+ * Default value for the input.
40364
+ */
40365
+ this.defaultValue = '';
40366
+ /**
40367
+ * Options of the input.
40368
+ */
40369
+ this.options = [];
40370
+ /**
40371
+ * Client custom styling via inline style
40372
+ */
40373
+ this.clientStyling = '';
40374
+ this.limitStylingAppends = false;
40375
+ this.showTooltip = false;
39511
40376
  this.touched = false;
39512
40377
  this.handleChange = (event) => {
39513
40378
  this.touched = true;
@@ -39536,22 +40401,6 @@ const SelectInput = class {
39536
40401
  sheet.innerHTML = this.clientStyling;
39537
40402
  this.stylingContainer.prepend(sheet);
39538
40403
  };
39539
- this.name = undefined;
39540
- this.displayName = undefined;
39541
- this.placeholder = undefined;
39542
- this.action = undefined;
39543
- this.defaultValue = '';
39544
- this.autofilled = undefined;
39545
- this.tooltip = undefined;
39546
- this.options = [];
39547
- this.validation = undefined;
39548
- this.language = undefined;
39549
- this.emitValue = undefined;
39550
- this.clientStyling = '';
39551
- this.errorMessage = undefined;
39552
- this.isValid = undefined;
39553
- this.limitStylingAppends = false;
39554
- this.showTooltip = false;
39555
40404
  }
39556
40405
  validityChanged() {
39557
40406
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -39630,12 +40479,12 @@ const SelectInput = class {
39630
40479
  }
39631
40480
  setErrorMessage() {
39632
40481
  if (this.inputReference.validity.valueMissing) {
39633
- return translate$3('requiredError', this.language);
40482
+ return translate$2('requiredError', this.language);
39634
40483
  }
39635
40484
  }
39636
40485
  renderTooltip() {
39637
40486
  if (this.showTooltip) {
39638
- return (h$2("div", { class: `select__tooltip ${this.showTooltip ? 'visible' : ''}`, ref: (el) => this.tooltipReference = el, innerHTML: this.tooltip }));
40487
+ return (h$a("div", { class: `select__tooltip ${this.showTooltip ? 'visible' : ''}`, ref: (el) => this.tooltipReference = el, innerHTML: this.tooltip }));
39639
40488
  }
39640
40489
  return null;
39641
40490
  }
@@ -39644,8 +40493,8 @@ const SelectInput = class {
39644
40493
  if (this.touched) {
39645
40494
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
39646
40495
  }
39647
- return h$2("div", { key: '3d298b9709617233adacd88b8acb7d6298d35627', class: `select__wrapper ${this.autofilled ? 'select__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("div", { key: '9ba53148a200b925da11ad0dea5589e9634ffb03', class: 'select__wrapper--flex' }, h$2("label", { key: 'eb2fa2233926ada4da750e47304325d0d7ea3985', class: 'select__label', htmlFor: `${this.name}__input` }, `${this.displayName} ${this.validation.mandatory ? '*' : ''}`), h$2("div", { key: '3cbe968f9a7c612d0b8d0517621a933cccd1bd58', class: 'select__wrapper--relative' }, this.tooltip &&
39648
- h$2("img", { key: '9fa9be645ed72897a95705b0e17b3aee855eb6d4', class: 'select__tooltip-icon', src: tooltipIconSvg$1, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$2("vaadin-combo-box", { key: 'f596a5fa5b480791080dfa63359ed30eeabfaa02', name: this.name, id: `${this.name}__input`, class: `select__input ${invalidClass} ${this.autofilled ? 'select__input--autofilled' : ''}`, "item-label-path": "label", "item-value-path": "value", readOnly: this.autofilled, required: this.validation.mandatory, value: this.defaultValue, placeholder: `${this.placeholder}`, items: this.displayedOptions, onChange: this.handleChange, onBlur: this.handleBlur }), h$2("small", { key: 'a9c652406489ba1d23497c55aa14e7b67fa701bd', class: 'select__error-message' }, this.errorMessage));
40496
+ return h$a("div", { key: '3d298b9709617233adacd88b8acb7d6298d35627', class: `select__wrapper ${this.autofilled ? 'select__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$a("div", { key: '9ba53148a200b925da11ad0dea5589e9634ffb03', class: 'select__wrapper--flex' }, h$a("label", { key: 'eb2fa2233926ada4da750e47304325d0d7ea3985', class: 'select__label', htmlFor: `${this.name}__input` }, `${this.displayName} ${this.validation.mandatory ? '*' : ''}`), h$a("div", { key: '3cbe968f9a7c612d0b8d0517621a933cccd1bd58', class: 'select__wrapper--relative' }, this.tooltip &&
40497
+ h$a("img", { key: '9fa9be645ed72897a95705b0e17b3aee855eb6d4', class: 'select__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$a("vaadin-combo-box", { key: 'f596a5fa5b480791080dfa63359ed30eeabfaa02', name: this.name, id: `${this.name}__input`, class: `select__input ${invalidClass} ${this.autofilled ? 'select__input--autofilled' : ''}`, "item-label-path": "label", "item-value-path": "value", readOnly: this.autofilled, required: this.validation.mandatory, value: this.defaultValue, placeholder: `${this.placeholder}`, items: this.displayedOptions, onChange: this.handleChange, onBlur: this.handleBlur }), h$a("small", { key: 'a9c652406489ba1d23497c55aa14e7b67fa701bd', class: 'select__error-message' }, this.errorMessage));
39649
40498
  }
39650
40499
  get element() { return getElement(this); }
39651
40500
  static get watchers() { return {
@@ -39663,6 +40512,12 @@ const TelInput = class {
39663
40512
  registerInstance(this, hostRef);
39664
40513
  this.sendValidityState = createEvent(this, "sendValidityState", 7);
39665
40514
  this.sendInputValue = createEvent(this, "sendInputValue", 7);
40515
+ /**
40516
+ * Client custom styling via inline style
40517
+ */
40518
+ this.clientStyling = '';
40519
+ this.limitStylingAppends = false;
40520
+ this.showTooltip = false;
39666
40521
  this.validationPattern = '';
39667
40522
  this.touched = false;
39668
40523
  this.handleInput = (event) => {
@@ -39688,22 +40543,6 @@ const TelInput = class {
39688
40543
  sheet.innerHTML = this.clientStyling;
39689
40544
  this.stylingContainer.prepend(sheet);
39690
40545
  };
39691
- this.name = undefined;
39692
- this.displayName = undefined;
39693
- this.placeholder = undefined;
39694
- this.showLabels = undefined;
39695
- this.action = undefined;
39696
- this.validation = undefined;
39697
- this.defaultValue = undefined;
39698
- this.autofilled = undefined;
39699
- this.tooltip = undefined;
39700
- this.language = undefined;
39701
- this.emitValue = undefined;
39702
- this.clientStyling = '';
39703
- this.isValid = undefined;
39704
- this.errorMessage = undefined;
39705
- this.limitStylingAppends = false;
39706
- this.showTooltip = false;
39707
40546
  }
39708
40547
  validityChanged() {
39709
40548
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -39795,18 +40634,18 @@ const TelInput = class {
39795
40634
  if (this.inputReference.validity.patternMismatch) {
39796
40635
  const errorCode = (_a = this.validation.custom.find(customValidation => customValidation.rule === 'regex')) === null || _a === void 0 ? void 0 : _a.errorKey;
39797
40636
  const errorMessage = (_b = this.validation.custom.find(customValidation => customValidation.rule === 'regex')) === null || _b === void 0 ? void 0 : _b.errorMessage;
39798
- return translate$3(`${errorCode}`, this.language) ? translate$3(`${errorCode}`, this.language) : errorMessage;
40637
+ return translate$2(`${errorCode}`, this.language) ? translate$2(`${errorCode}`, this.language) : errorMessage;
39799
40638
  }
39800
40639
  if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong) {
39801
- return translate$3('lengthError', this.language, { values: { minLength: this.validation.minLength, maxLength: this.validation.maxLength } });
40640
+ return translate$2('lengthError', this.language, { values: { minLength: this.validation.minLength, maxLength: this.validation.maxLength } });
39802
40641
  }
39803
40642
  if (this.inputReference.validity.valueMissing) {
39804
- return translate$3('requiredError', this.language);
40643
+ return translate$2('requiredError', this.language);
39805
40644
  }
39806
40645
  }
39807
40646
  renderTooltip() {
39808
40647
  if (this.showTooltip) {
39809
- return (h$2("div", { class: `tel__tooltip ${this.showTooltip ? 'visible' : ''}`, ref: (el) => this.tooltipReference = el, innerHTML: this.tooltip }));
40648
+ return (h$a("div", { class: `tel__tooltip ${this.showTooltip ? 'visible' : ''}`, ref: (el) => this.tooltipReference = el, innerHTML: this.tooltip }));
39810
40649
  }
39811
40650
  return null;
39812
40651
  }
@@ -39815,8 +40654,8 @@ const TelInput = class {
39815
40654
  if (this.touched) {
39816
40655
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
39817
40656
  }
39818
- return h$2("div", { key: '5febd36c339710683111039d477196daac87853c', class: `tel__wrapper ${this.autofilled ? 'tel__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("div", { key: 'fb779beee03992b23478ffcaac85095420048ceb', class: 'tel__wrapper--flex-label' }, h$2("label", { key: '5b69271c1c8bf403a003d765adb40a553e09466e', class: `tel__label ${this.validation.mandatory ? 'tel__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("div", { key: '040c487308231459fc92eba2e643a80639df09d6', class: 'tel__wrapper--relative' }, this.tooltip &&
39819
- h$2("img", { key: '91efd4656c718c75e5047413daf10c22c37e8f93', class: 'tel__tooltip-icon', src: tooltipIconSvg$1, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$2("div", { key: '6215f80b6bccb3dfb03dbbc485c850725633627c', class: `tel__wrapper--flex ${invalidClass}` }, h$2("vaadin-combo-box", { key: '3b7b1ef3415619c51d74f5fc7c5e034acb8f037f', class: 'tel__prefix', items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.autofilled, onChange: (e) => this.handlePrefixInput(e) }), h$2("input", { key: '886553206896c367ba96f015d81b44ea86f741ea', type: "tel", ref: (el) => this.inputReference = el, id: `${this.name}__input`, readOnly: this.autofilled, class: `tel__input`, value: this.phoneValue, placeholder: `${this.placeholder}`, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, pattern: this.validationPattern, onInput: this.handleInput, onBlur: this.handleBlur })), h$2("small", { key: 'd4c88d386c3342c789527d925e9cd061494b785c', class: 'tel__error-message' }, this.errorMessage));
40657
+ return h$a("div", { key: '5febd36c339710683111039d477196daac87853c', class: `tel__wrapper ${this.autofilled ? 'tel__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$a("div", { key: 'fb779beee03992b23478ffcaac85095420048ceb', class: 'tel__wrapper--flex-label' }, h$a("label", { key: '5b69271c1c8bf403a003d765adb40a553e09466e', class: `tel__label ${this.validation.mandatory ? 'tel__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$a("div", { key: '040c487308231459fc92eba2e643a80639df09d6', class: 'tel__wrapper--relative' }, this.tooltip &&
40658
+ h$a("img", { key: '91efd4656c718c75e5047413daf10c22c37e8f93', class: 'tel__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$a("div", { key: '6215f80b6bccb3dfb03dbbc485c850725633627c', class: `tel__wrapper--flex ${invalidClass}` }, h$a("vaadin-combo-box", { key: '3b7b1ef3415619c51d74f5fc7c5e034acb8f037f', class: 'tel__prefix', items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.autofilled, onChange: (e) => this.handlePrefixInput(e) }), h$a("input", { key: '886553206896c367ba96f015d81b44ea86f741ea', type: "tel", ref: (el) => this.inputReference = el, id: `${this.name}__input`, readOnly: this.autofilled, class: `tel__input`, value: this.phoneValue, placeholder: `${this.placeholder}`, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, pattern: this.validationPattern, onInput: this.handleInput, onBlur: this.handleBlur })), h$a("small", { key: 'd4c88d386c3342c789527d925e9cd061494b785c', class: 'tel__error-message' }, this.errorMessage));
39820
40659
  }
39821
40660
  static get watchers() { return {
39822
40661
  "isValid": ["validityChanged"],
@@ -39833,6 +40672,17 @@ const TextInput = class {
39833
40672
  registerInstance(this, hostRef);
39834
40673
  this.sendValidityState = createEvent(this, "sendValidityState", 7);
39835
40674
  this.sendInputValue = createEvent(this, "sendInputValue", 7);
40675
+ /**
40676
+ * Default value for the input.
40677
+ */
40678
+ this.defaultValue = '';
40679
+ /**
40680
+ * Client custom styling via inline style
40681
+ */
40682
+ this.clientStyling = '';
40683
+ this.errorMessage = '';
40684
+ this.limitStylingAppends = false;
40685
+ this.showTooltip = false;
39836
40686
  this.value = '';
39837
40687
  this.validationPattern = '';
39838
40688
  this.duplicateInputValue = null;
@@ -39862,22 +40712,6 @@ const TextInput = class {
39862
40712
  sheet.innerHTML = this.clientStyling;
39863
40713
  this.stylingContainer.prepend(sheet);
39864
40714
  };
39865
- this.name = undefined;
39866
- this.displayName = undefined;
39867
- this.placeholder = undefined;
39868
- this.validation = undefined;
39869
- this.defaultValue = '';
39870
- this.autofilled = undefined;
39871
- this.tooltip = undefined;
39872
- this.language = undefined;
39873
- this.checkValidity = undefined;
39874
- this.emitValue = undefined;
39875
- this.isDuplicateInput = undefined;
39876
- this.clientStyling = '';
39877
- this.isValid = undefined;
39878
- this.errorMessage = '';
39879
- this.limitStylingAppends = false;
39880
- this.showTooltip = false;
39881
40715
  }
39882
40716
  validityChanged() {
39883
40717
  this.validityStateHandler({ valid: this.isValid, name: this.name });
@@ -39959,23 +40793,23 @@ const TextInput = class {
39959
40793
  if (this.inputReference.validity.patternMismatch) {
39960
40794
  const errorCode = (_a = this.validation.custom.find(customValidation => customValidation.rule === 'regex')) === null || _a === void 0 ? void 0 : _a.errorKey;
39961
40795
  const errorMessage = (_b = this.validation.custom.find(customValidation => customValidation.rule === 'regex')) === null || _b === void 0 ? void 0 : _b.errorMessage;
39962
- return translate$3(`${errorCode}`, this.language) ? translate$3(`${errorCode}`, this.language) : errorMessage;
40796
+ return translate$2(`${errorCode}`, this.language) ? translate$2(`${errorCode}`, this.language) : errorMessage;
39963
40797
  }
39964
40798
  if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong) {
39965
- return translate$3('lengthError', this.language, { values: { minLength: this.validation.minLength, maxLength: this.validation.maxLength } });
40799
+ return translate$2('lengthError', this.language, { values: { minLength: this.validation.minLength, maxLength: this.validation.maxLength } });
39966
40800
  }
39967
40801
  if (this.inputReference.validity.valueMissing) {
39968
- return translate$3('requiredError', this.language);
40802
+ return translate$2('requiredError', this.language);
39969
40803
  }
39970
40804
  if (this.isDuplicateInput && this.duplicateInputValue !== this.value) {
39971
40805
  const errorCode = (_c = this.validation.custom.find(customRule => customRule.rule === 'duplicate-input')) === null || _c === void 0 ? void 0 : _c.errorKey;
39972
40806
  const errorMessage = (_d = this.validation.custom.find(customRule => customRule.rule === 'duplicate-input')) === null || _d === void 0 ? void 0 : _d.errorMessage;
39973
- return translate$3(`${errorCode}`, this.language) ? translate$3(`${errorCode}`, this.language) : errorMessage;
40807
+ return translate$2(`${errorCode}`, this.language) ? translate$2(`${errorCode}`, this.language) : errorMessage;
39974
40808
  }
39975
40809
  }
39976
40810
  renderTooltip() {
39977
40811
  if (this.showTooltip) {
39978
- return (h$2("div", { class: `text__tooltip ${this.showTooltip ? 'visible' : ''}`, ref: (el) => this.tooltipReference = el, innerHTML: this.tooltip }));
40812
+ return (h$a("div", { class: `text__tooltip ${this.showTooltip ? 'visible' : ''}`, ref: (el) => this.tooltipReference = el, innerHTML: this.tooltip }));
39979
40813
  }
39980
40814
  return null;
39981
40815
  }
@@ -39984,8 +40818,8 @@ const TextInput = class {
39984
40818
  if (this.touched) {
39985
40819
  invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
39986
40820
  }
39987
- return h$2("div", { key: 'bfb803110a70b89dd484e993c204b572f0115a17', class: `text__wrapper ${this.name}__input ${this.autofilled ? 'text__wrapper--autofilled' : ''}`, ref: el => this.stylingContainer = el }, h$2("div", { key: '6e9f8f5aada98821d5dc78ccb8b1431ba23b81ab', class: 'text__wrapper--flex' }, h$2("label", { key: '05cf07855121a79641475a5b020774cf8120d1ed', class: `text__label ${this.validation.mandatory ? 'text__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$2("div", { key: 'f8c48a999f6827a61ec392ce99858c19559c77d2', class: 'text__wrapper--relative' }, this.tooltip &&
39988
- h$2("img", { key: 'e866f1df104ce57c29164e73b4ad4d017c7201cd', class: 'text__tooltip-icon', src: tooltipIconSvg$1, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$2("input", { key: 'd761c265b1487fe73af54568b6da7fed82656b8d', name: this.name, id: `${this.name}__input`, value: this.defaultValue, type: 'text', class: `text__input ${invalidClass}`, placeholder: `${this.placeholder}`, ref: (el) => this.inputReference = el, readOnly: this.autofilled, pattern: this.validationPattern, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, onInput: this.handleInput, onBlur: this.handleBlur }), h$2("small", { key: '5c8df34dd47959eb1668cdf389524d145c69fa84', class: 'text__error-message' }, this.errorMessage));
40821
+ return h$a("div", { key: 'bfb803110a70b89dd484e993c204b572f0115a17', class: `text__wrapper ${this.name}__input ${this.autofilled ? 'text__wrapper--autofilled' : ''}`, ref: el => this.stylingContainer = el }, h$a("div", { key: '6e9f8f5aada98821d5dc78ccb8b1431ba23b81ab', class: 'text__wrapper--flex' }, h$a("label", { key: '05cf07855121a79641475a5b020774cf8120d1ed', class: `text__label ${this.validation.mandatory ? 'text__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$a("div", { key: 'f8c48a999f6827a61ec392ce99858c19559c77d2', class: 'text__wrapper--relative' }, this.tooltip &&
40822
+ h$a("img", { key: 'e866f1df104ce57c29164e73b4ad4d017c7201cd', class: 'text__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$a("input", { key: 'd761c265b1487fe73af54568b6da7fed82656b8d', name: this.name, id: `${this.name}__input`, value: this.defaultValue, type: 'text', class: `text__input ${invalidClass}`, placeholder: `${this.placeholder}`, ref: (el) => this.inputReference = el, readOnly: this.autofilled, pattern: this.validationPattern, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, onInput: this.handleInput, onBlur: this.handleBlur }), h$a("small", { key: '5c8df34dd47959eb1668cdf389524d145c69fa84', class: 'text__error-message' }, this.errorMessage));
39989
40823
  }
39990
40824
  static get watchers() { return {
39991
40825
  "isValid": ["validityChanged"],
@@ -40002,27 +40836,23 @@ const ToggleCheckboxInput = class {
40002
40836
  registerInstance(this, hostRef);
40003
40837
  this.sendValidityState = createEvent(this, "sendValidityState", 7);
40004
40838
  this.sendInputValue = createEvent(this, "sendInputValue", 7);
40839
+ /**
40840
+ * Default value for the input.
40841
+ */
40842
+ this.defaultValue = '';
40843
+ /**
40844
+ * Client custom styling via inline style
40845
+ */
40846
+ this.clientStyling = '';
40847
+ this.limitStylingAppends = false;
40848
+ this.showTooltip = false;
40849
+ this.showFields = this.defaultValue === 'true';
40005
40850
  this.value = '';
40006
40851
  this.setClientStyling = () => {
40007
40852
  let sheet = document.createElement('style');
40008
40853
  sheet.innerHTML = this.clientStyling;
40009
40854
  this.stylingContainer.prepend(sheet);
40010
40855
  };
40011
- this.name = undefined;
40012
- this.displayName = undefined;
40013
- this.defaultValue = '';
40014
- this.options = undefined;
40015
- this.autofilled = undefined;
40016
- this.tooltip = undefined;
40017
- this.validation = undefined;
40018
- this.language = undefined;
40019
- this.emitValue = undefined;
40020
- this.clientStyling = '';
40021
- this.errorMessage = undefined;
40022
- this.isValid = undefined;
40023
- this.limitStylingAppends = false;
40024
- this.showTooltip = false;
40025
- this.showFields = this.defaultValue === 'true';
40026
40856
  }
40027
40857
  validityStateHandler(inputStateEvent) {
40028
40858
  this.sendValidityState.emit(inputStateEvent);
@@ -40056,25 +40886,25 @@ const ToggleCheckboxInput = class {
40056
40886
  }
40057
40887
  setErrorMessage() {
40058
40888
  if (this.checkboxReference.validity.valueMissing) {
40059
- return translate$3('requiredError', this.language);
40889
+ return translate$2('requiredError', this.language);
40060
40890
  }
40061
40891
  }
40062
40892
  renderLabel() {
40063
- return (h$2("label", { class: 'togglecheckbox__label', htmlFor: `${this.name}__input` }, h$2("div", { class: 'togglecheckbox__label-text', innerHTML: `${this.displayName} ${this.validation.mandatory ? '*' : ''}` })));
40893
+ return (h$a("label", { class: 'togglecheckbox__label', htmlFor: `${this.name}__input` }, h$a("div", { class: 'togglecheckbox__label-text', innerHTML: `${this.displayName} ${this.validation.mandatory ? '*' : ''}` })));
40064
40894
  }
40065
40895
  renderTooltip() {
40066
40896
  if (this.showTooltip) {
40067
- return (h$2("div", { class: `togglecheckbox__tooltip ${this.showTooltip ? 'visible' : ''}`, ref: (el) => this.tooltipReference = el, innerHTML: this.tooltip }));
40897
+ return (h$a("div", { class: `togglecheckbox__tooltip ${this.showTooltip ? 'visible' : ''}`, ref: (el) => this.tooltipReference = el, innerHTML: this.tooltip }));
40068
40898
  }
40069
40899
  return null;
40070
40900
  }
40071
40901
  render() {
40072
- return h$2("div", { key: '8c8e9bb2ae7feadf3a5fc38b9913e38d7ccb9aed', class: `togglecheckbox__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, h$2("div", { key: '18e2ec43ff98738323ddab1e134d6d215978e1c7', class: 'togglecheckbox__wrapper--flex' }, h$2("input", { key: '640b3ba4fd34bd813239533236e51f452e735409', class: 'togglecheckbox__input', type: "checkbox", id: `${this.name}__input`, ref: (el) => this.checkboxReference = el, name: this.name, checked: this.defaultValue === "true", readOnly: this.autofilled, required: this.validation.mandatory, value: this.value, onClick: () => this.handleClick() }), this.renderLabel()), h$2("small", { key: 'efd70a691559cfa98e93561dd945a0fe92909718', class: 'togglecheckbox__error-message' }, this.errorMessage), h$2("div", { key: 'e56a8fafa17da25d01f894fe6e6c143c318d2aab', class: 'togglecheckbox__wrapper--relative' }, this.tooltip &&
40073
- h$2("img", { key: '8b59366827b8f4f8ca5581203a2dca44ae8132d5', class: 'togglecheckbox__tooltip-icon', src: tooltipIconSvg$1, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()), h$2("div", { key: '475e27345b51396c36e78b5a1e06edd980bc3ae1', class: `togglecheckbox__fields-wrapper ${this.showFields ? '' : 'hidden'}` }, this.options.map(subfield => {
40074
- return h$2("general-input", { type: subfield.inputType, name: subfield.name, displayName: subfield.displayName, validation: subfield.validate, action: subfield.action || null, defaultValue: subfield.defaultValue, autofilled: subfield.autofill, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: subfield.tooltip, placeholder: subfield.placeholder == null ? '' : subfield.placeholder });
40902
+ return h$a("div", { key: '8c8e9bb2ae7feadf3a5fc38b9913e38d7ccb9aed', class: `togglecheckbox__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, h$a("div", { key: '18e2ec43ff98738323ddab1e134d6d215978e1c7', class: 'togglecheckbox__wrapper--flex' }, h$a("input", { key: '640b3ba4fd34bd813239533236e51f452e735409', class: 'togglecheckbox__input', type: "checkbox", id: `${this.name}__input`, ref: (el) => this.checkboxReference = el, name: this.name, checked: this.defaultValue === "true", readOnly: this.autofilled, required: this.validation.mandatory, value: this.value, onClick: () => this.handleClick() }), this.renderLabel()), h$a("small", { key: 'efd70a691559cfa98e93561dd945a0fe92909718', class: 'togglecheckbox__error-message' }, this.errorMessage), h$a("div", { key: 'e56a8fafa17da25d01f894fe6e6c143c318d2aab', class: 'togglecheckbox__wrapper--relative' }, this.tooltip &&
40903
+ h$a("img", { key: '8b59366827b8f4f8ca5581203a2dca44ae8132d5', class: 'togglecheckbox__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()), h$a("div", { key: '475e27345b51396c36e78b5a1e06edd980bc3ae1', class: `togglecheckbox__fields-wrapper ${this.showFields ? '' : 'hidden'}` }, this.options.map(subfield => {
40904
+ return h$a("general-input", { type: subfield.inputType, name: subfield.name, displayName: subfield.displayName, validation: subfield.validate, action: subfield.action || null, defaultValue: subfield.defaultValue, autofilled: subfield.autofill, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: subfield.tooltip, placeholder: subfield.placeholder == null ? '' : subfield.placeholder });
40075
40905
  })));
40076
40906
  }
40077
40907
  };
40078
40908
  ToggleCheckboxInput.style = ToggleCheckboxInputStyle0;
40079
40909
 
40080
- export { CheckboxGroupInput as checkbox_group_input, CheckboxInput as checkbox_input, DateInput as date_input, EmailInput as email_input, GeneralConsents as general_consents, GeneralInput as general_input, GeneralRegistration as general_registration, NumberInput as number_input, PasswordInput as password_input, RadioInput as radio_input, SelectInput as select_input, TelInput as tel_input, TextInput as text_input, ToggleCheckboxInput as toggle_checkbox_input };
40910
+ export { CheckboxGroupInput as checkbox_group_input, CheckboxInput as checkbox_input, DateInput as date_input, EmailInput as email_input, GeneralInput as general_input, GeneralRegistration as general_registration, NumberInput as number_input, PasswordInput as password_input, RadioInput as radio_input, SelectInput as select_input, TelInput as tel_input, TextInput as text_input, ToggleCheckboxInput as toggle_checkbox_input };