@everymatrix/user-login 1.52.6 → 1.53.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-ce110273.js → index-ec5acfb2.js} +169 -72
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/user-login.cjs.entry.js +200 -72
- package/dist/cjs/user-login.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/user-login/user-login.js +116 -26
- package/dist/collection/utils/locale.utils.js +14 -0
- package/dist/esm/{index-824bb999.js → index-a684ee07.js} +169 -72
- package/dist/esm/loader.js +2 -2
- package/dist/esm/user-login.entry.js +212 -84
- package/dist/esm/user-login.js +3 -3
- package/dist/user-login/{p-9bbfd456.entry.js → p-08f0ee5a.entry.js} +159 -113
- package/dist/user-login/p-0ec11be8.js +2 -0
- package/dist/user-login/user-login.esm.js +1 -1
- package/package.json +1 -1
- package/dist/user-login/p-57aa7a6f.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h as h$
|
|
1
|
+
import { r as registerInstance, h as h$6 } from './index-a684ee07.js';
|
|
2
2
|
|
|
3
3
|
const DEFAULT_LANGUAGE = 'en';
|
|
4
4
|
const TRANSLATIONS = {
|
|
@@ -16,6 +16,20 @@ const TRANSLATIONS = {
|
|
|
16
16
|
Unauthorized: 'The player account number, e-mail address or password is incorrect',
|
|
17
17
|
CountryRestricted: 'Registration is not possible from a restricted jurisdiction. If you encounter further issues, please contact support.'
|
|
18
18
|
},
|
|
19
|
+
tr: {
|
|
20
|
+
"invalidField": "Bu alan geçersiz",
|
|
21
|
+
"forgotPassword": "Şifremi Unuttum",
|
|
22
|
+
"userEmail": "Kullanıcı Adı veya E-posta",
|
|
23
|
+
"userPhone": "Telefon numarası",
|
|
24
|
+
"userPrefix": "Telefon kodu",
|
|
25
|
+
"password": "Şifre",
|
|
26
|
+
"login": "Giriş Yap",
|
|
27
|
+
"genericError": "Beklenmeyen bir hata oluştu",
|
|
28
|
+
"successMessage": "Giriş başarılı",
|
|
29
|
+
"Forbidden_UserAccount_Blocked": "Oyuncu hesabı engellendi",
|
|
30
|
+
"Unauthorized": "Oyuncu hesap numarası, e-posta adresi veya şifre hatalı",
|
|
31
|
+
"CountryRestricted": "Kısıtlı bir yargı bölgesinden kayıt yapılamaz. Daha fazla sorunla karşılaşırsanız, lütfen destek ile iletişime geçin."
|
|
32
|
+
},
|
|
19
33
|
'en-us': {
|
|
20
34
|
invalidField: 'This field is invalid',
|
|
21
35
|
forgotPassword: 'Forgot Password',
|
|
@@ -237,26 +251,26 @@ defineCustomElement(Lumo$2);
|
|
|
237
251
|
* Copyright 2019 Google LLC
|
|
238
252
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
239
253
|
*/
|
|
240
|
-
const t$
|
|
254
|
+
const t$5=window,e$8=t$5.ShadowRoot&&(void 0===t$5.ShadyCSS||t$5.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$9=Symbol(),n$a=new WeakMap;class o$a{constructor(t,e,n){if(this._$cssResult$=!0,n!==s$9)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$8&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=n$a.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&n$a.set(s,t));}return t}toString(){return this.cssText}}const r$9=t=>new o$a("string"==typeof t?t:t+"",void 0,s$9),i$7=(t,...e)=>{const n=1===t.length?t[0]:e.reduce(((e,s,n)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[n+1]),t[0]);return new o$a(n,t,s$9)},S$5=(s,n)=>{e$8?s.adoptedStyleSheets=n.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):n.forEach((e=>{const n=document.createElement("style"),o=t$5.litNonce;void 0!==o&&n.setAttribute("nonce",o),n.textContent=e.cssText,s.appendChild(n);}));},c$6=e$8?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$9(e)})(t):t;
|
|
241
255
|
|
|
242
256
|
/**
|
|
243
257
|
* @license
|
|
244
258
|
* Copyright 2017 Google LLC
|
|
245
259
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
246
|
-
*/var s$
|
|
260
|
+
*/var s$8;const e$7=window,r$8=e$7.trustedTypes,h$5=r$8?r$8.emptyScript:"",o$9=e$7.reactiveElementPolyfillSupport,n$9={toAttribute(t,i){switch(i){case Boolean:t=t?h$5:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,i){let s=t;switch(i){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t);}catch(t){s=null;}}return s}},a$5=(t,i)=>i!==t&&(i==i||t==t),l$7={attribute:!0,type:String,converter:n$9,reflect:!1,hasChanged:a$5},d$5="finalized";class u$5 extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu();}static addInitializer(t){var i;this.finalize(),(null!==(i=this.h)&&void 0!==i?i:this.h=[]).push(t);}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((i,s)=>{const e=this._$Ep(s,i);void 0!==e&&(this._$Ev.set(e,s),t.push(e));})),t}static createProperty(t,i=l$7){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(t,i),!i.noAccessor&&!this.prototype.hasOwnProperty(t)){const s="symbol"==typeof t?Symbol():"__"+t,e=this.getPropertyDescriptor(t,s,i);void 0!==e&&Object.defineProperty(this.prototype,t,e);}}static getPropertyDescriptor(t,i,s){return {get(){return this[i]},set(e){const r=this[t];this[i]=e,this.requestUpdate(t,r,s);},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||l$7}static finalize(){if(this.hasOwnProperty(d$5))return !1;this[d$5]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const s of i)this.createProperty(s,t[s]);}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(i){const s=[];if(Array.isArray(i)){const e=new Set(i.flat(1/0).reverse());for(const i of e)s.unshift(c$6(i));}else void 0!==i&&s.push(c$6(i));return s}static _$Ep(t,i){const s=i.attribute;return !1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)));}addController(t){var i,s;(null!==(i=this._$ES)&&void 0!==i?i:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(s=t.hostConnected)||void 0===s||s.call(t));}removeController(t){var i;null===(i=this._$ES)||void 0===i||i.splice(this._$ES.indexOf(t)>>>0,1);}_$Eg(){this.constructor.elementProperties.forEach(((t,i)=>{this.hasOwnProperty(i)&&(this._$Ei.set(i,this[i]),delete this[i]);}));}createRenderRoot(){var t;const s=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return S$5(s,this.constructor.elementStyles),s}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostConnected)||void 0===i?void 0:i.call(t)}));}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostDisconnected)||void 0===i?void 0:i.call(t)}));}attributeChangedCallback(t,i,s){this._$AK(t,s);}_$EO(t,i,s=l$7){var e;const r=this.constructor._$Ep(t,s);if(void 0!==r&&!0===s.reflect){const h=(void 0!==(null===(e=s.converter)||void 0===e?void 0:e.toAttribute)?s.converter:n$9).toAttribute(i,s.type);this._$El=t,null==h?this.removeAttribute(r):this.setAttribute(r,h),this._$El=null;}}_$AK(t,i){var s;const e=this.constructor,r=e._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=e.getPropertyOptions(r),h="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(s=t.converter)||void 0===s?void 0:s.fromAttribute)?t.converter:n$9;this._$El=r,this[r]=h.fromAttribute(i,t.type),this._$El=null;}}requestUpdate(t,i,s){let e=!0;void 0!==t&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||a$5)(this[t],i)?(this._$AL.has(t)||this._$AL.set(t,i),!0===s.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,s))):e=!1),!this.isUpdatePending&&e&&(this._$E_=this._$Ej());}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this._$Ei&&(this._$Ei.forEach(((t,i)=>this[i]=t)),this._$Ei=void 0);let i=!1;const s=this._$AL;try{i=this.shouldUpdate(s),i?(this.willUpdate(s),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostUpdate)||void 0===i?void 0:i.call(t)})),this.update(s)):this._$Ek();}catch(t){throw i=!1,this._$Ek(),t}i&&this._$AE(s);}willUpdate(t){}_$AE(t){var i;null===(i=this._$ES)||void 0===i||i.forEach((t=>{var i;return null===(i=t.hostUpdated)||void 0===i?void 0:i.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t);}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return !0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,i)=>this._$EO(i,this[i],t))),this._$EC=void 0),this._$Ek();}updated(t){}firstUpdated(t){}}u$5[d$5]=!0,u$5.elementProperties=new Map,u$5.elementStyles=[],u$5.shadowRootOptions={mode:"open"},null==o$9||o$9({ReactiveElement:u$5}),(null!==(s$8=e$7.reactiveElementVersions)&&void 0!==s$8?s$8:e$7.reactiveElementVersions=[]).push("1.6.3");
|
|
247
261
|
|
|
248
262
|
/**
|
|
249
263
|
* @license
|
|
250
264
|
* Copyright 2017 Google LLC
|
|
251
265
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
252
266
|
*/
|
|
253
|
-
var t;const i=window,s$
|
|
267
|
+
var t$4;const i$6=window,s$7=i$6.trustedTypes,e$6=s$7?s$7.createPolicy("lit-html",{createHTML:t=>t}):void 0,o$8="$lit$",n$8=`lit$${(Math.random()+"").slice(9)}$`,l$6="?"+n$8,h$4=`<${l$6}>`,r$7=document,u$4=()=>r$7.createComment(""),d$4=t=>null===t||"object"!=typeof t&&"function"!=typeof t,c$5=Array.isArray,v$2=t=>c$5(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),a$4="[ \t\n\f\r]",f$3=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_$2=/-->/g,m$2=/>/g,p$3=RegExp(`>|${a$4}(?:([^\\s"'>=/]+)(${a$4}*=${a$4}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),g$2=/'/g,$$2=/"/g,y$2=/^(?:script|style|textarea|title)$/i,T$2=Symbol.for("lit-noChange"),A$2=Symbol.for("lit-nothing"),E$2=new WeakMap,C$2=r$7.createTreeWalker(r$7,129,null,!1);function P$2(t,i){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==e$6?e$6.createHTML(i):i}const V$2=(t,i)=>{const s=t.length-1,e=[];let l,r=2===i?"<svg>":"",u=f$3;for(let i=0;i<s;i++){const s=t[i];let d,c,v=-1,a=0;for(;a<s.length&&(u.lastIndex=a,c=u.exec(s),null!==c);)a=u.lastIndex,u===f$3?"!--"===c[1]?u=_$2:void 0!==c[1]?u=m$2:void 0!==c[2]?(y$2.test(c[2])&&(l=RegExp("</"+c[2],"g")),u=p$3):void 0!==c[3]&&(u=p$3):u===p$3?">"===c[0]?(u=null!=l?l:f$3,v=-1):void 0===c[1]?v=-2:(v=u.lastIndex-c[2].length,d=c[1],u=void 0===c[3]?p$3:'"'===c[3]?$$2:g$2):u===$$2||u===g$2?u=p$3:u===_$2||u===m$2?u=f$3:(u=p$3,l=void 0);const w=u===p$3&&t[i+1].startsWith("/>")?" ":"";r+=u===f$3?s+h$4:v>=0?(e.push(d),s.slice(0,v)+o$8+s.slice(v)+n$8+w):s+n$8+(-2===v?(e.push(void 0),i):w);}return [P$2(t,r+(t[s]||"<?>")+(2===i?"</svg>":"")),e]};class N$2{constructor({strings:t,_$litType$:i},e){let h;this.parts=[];let r=0,d=0;const c=t.length-1,v=this.parts,[a,f]=V$2(t,i);if(this.el=N$2.createElement(a,e),C$2.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes);}for(;null!==(h=C$2.nextNode())&&v.length<c;){if(1===h.nodeType){if(h.hasAttributes()){const t=[];for(const i of h.getAttributeNames())if(i.endsWith(o$8)||i.startsWith(n$8)){const s=f[d++];if(t.push(i),void 0!==s){const t=h.getAttribute(s.toLowerCase()+o$8).split(n$8),i=/([.?@])?(.*)/.exec(s);v.push({type:1,index:r,name:i[2],strings:t,ctor:"."===i[1]?H$2:"?"===i[1]?L$2:"@"===i[1]?z$2:k$2});}else v.push({type:6,index:r});}for(const i of t)h.removeAttribute(i);}if(y$2.test(h.tagName)){const t=h.textContent.split(n$8),i=t.length-1;if(i>0){h.textContent=s$7?s$7.emptyScript:"";for(let s=0;s<i;s++)h.append(t[s],u$4()),C$2.nextNode(),v.push({type:2,index:++r});h.append(t[i],u$4());}}}else if(8===h.nodeType)if(h.data===l$6)v.push({type:2,index:r});else {let t=-1;for(;-1!==(t=h.data.indexOf(n$8,t+1));)v.push({type:7,index:r}),t+=n$8.length-1;}r++;}}static createElement(t,i){const s=r$7.createElement("template");return s.innerHTML=t,s}}function S$4(t,i,s=t,e){var o,n,l,h;if(i===T$2)return i;let r=void 0!==e?null===(o=s._$Co)||void 0===o?void 0:o[e]:s._$Cl;const u=d$4(i)?void 0:i._$litDirective$;return (null==r?void 0:r.constructor)!==u&&(null===(n=null==r?void 0:r._$AO)||void 0===n||n.call(r,!1),void 0===u?r=void 0:(r=new u(t),r._$AT(t,s,e)),void 0!==e?(null!==(l=(h=s)._$Co)&&void 0!==l?l:h._$Co=[])[e]=r:s._$Cl=r),void 0!==r&&(i=S$4(t,r._$AS(t,i.values),r,e)),i}class M$2{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:s},parts:e}=this._$AD,o=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:r$7).importNode(s,!0);C$2.currentNode=o;let n=C$2.nextNode(),l=0,h=0,u=e[0];for(;void 0!==u;){if(l===u.index){let i;2===u.type?i=new R$2(n,n.nextSibling,this,t):1===u.type?i=new u.ctor(n,u.name,u.strings,this,t):6===u.type&&(i=new Z$1(n,this,t)),this._$AV.push(i),u=e[++h];}l!==(null==u?void 0:u.index)&&(n=C$2.nextNode(),l++);}return C$2.currentNode=r$7,o}v(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R$2{constructor(t,i,s,e){var o;this.type=2,this._$AH=A$2,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cp=null===(o=null==e?void 0:e.isConnected)||void 0===o||o;}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$4(this,t,i),d$4(t)?t===A$2||null==t||""===t?(this._$AH!==A$2&&this._$AR(),this._$AH=A$2):t!==this._$AH&&t!==T$2&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):v$2(t)?this.T(t):this._(t);}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t));}_(t){this._$AH!==A$2&&d$4(this._$AH)?this._$AA.nextSibling.data=t:this.$(r$7.createTextNode(t)),this._$AH=t;}g(t){var i;const{values:s,_$litType$:e}=t,o="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=N$2.createElement(P$2(e.h,e.h[0]),this.options)),e);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===o)this._$AH.v(s);else {const t=new M$2(o,this),i=t.u(this.options);t.v(s),this.$(i),this._$AH=t;}}_$AC(t){let i=E$2.get(t.strings);return void 0===i&&E$2.set(t.strings,i=new N$2(t)),i}T(t){c$5(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const o of t)e===i.length?i.push(s=new R$2(this.k(u$4()),this.k(u$4()),this,this.options)):s=i[e],s._$AI(o),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){var s;for(null===(s=this._$AP)||void 0===s||s.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t));}}class k$2{constructor(t,i,s,e,o){this.type=1,this._$AH=A$2,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=o,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=A$2;}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,s,e){const o=this.strings;let n=!1;if(void 0===o)t=S$4(this,t,i,0),n=!d$4(t)||t!==this._$AH&&t!==T$2,n&&(this._$AH=t);else {const e=t;let l,h;for(t=o[0],l=0;l<o.length-1;l++)h=S$4(this,e[s+l],i,l),h===T$2&&(h=this._$AH[l]),n||(n=!d$4(h)||h!==this._$AH[l]),h===A$2?t=A$2:t!==A$2&&(t+=(null!=h?h:"")+o[l+1]),this._$AH[l]=h;}n&&!e&&this.j(t);}j(t){t===A$2?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"");}}class H$2 extends k$2{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===A$2?void 0:t;}}const I$2=s$7?s$7.emptyScript:"";class L$2 extends k$2{constructor(){super(...arguments),this.type=4;}j(t){t&&t!==A$2?this.element.setAttribute(this.name,I$2):this.element.removeAttribute(this.name);}}class z$2 extends k$2{constructor(t,i,s,e,o){super(t,i,s,e,o),this.type=5;}_$AI(t,i=this){var s;if((t=null!==(s=S$4(this,t,i,0))&&void 0!==s?s:A$2)===T$2)return;const e=this._$AH,o=t===A$2&&e!==A$2||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==A$2&&(e===A$2||o);o&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){var i,s;"function"==typeof this._$AH?this._$AH.call(null!==(s=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==s?s:this.element,t):this._$AH.handleEvent(t);}}class Z$1{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$4(this,t);}}const B$2=i$6.litHtmlPolyfillSupport;null==B$2||B$2(N$2,R$2),(null!==(t$4=i$6.litHtmlVersions)&&void 0!==t$4?t$4:i$6.litHtmlVersions=[]).push("2.8.0");const D$1=(t,i,s)=>{var e,o;const n=null!==(e=null==s?void 0:s.renderBefore)&&void 0!==e?e:i;let l=n._$litPart$;if(void 0===l){const t=null!==(o=null==s?void 0:s.renderBefore)&&void 0!==o?o:null;n._$litPart$=l=new R$2(i.insertBefore(u$4(),t),t,void 0,null!=s?s:{});}return l._$AI(t),l};
|
|
254
268
|
|
|
255
269
|
/**
|
|
256
270
|
* @license
|
|
257
271
|
* Copyright 2017 Google LLC
|
|
258
272
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
259
|
-
*/var l,o;class s extends u$
|
|
273
|
+
*/var l$5,o$7;class s$6 extends u$5{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=D$1(i,this.renderRoot,this.renderOptions);}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0);}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1);}render(){return T$2}}s$6.finalized=!0,s$6._$litElement$=!0,null===(l$5=globalThis.litElementHydrateSupport)||void 0===l$5||l$5.call(globalThis,{LitElement:s$6});const n$7=globalThis.litElementPolyfillSupport;null==n$7||n$7({LitElement:s$6});(null!==(o$7=globalThis.litElementVersions)&&void 0!==o$7?o$7:globalThis.litElementVersions=[]).push("3.3.3");
|
|
260
274
|
|
|
261
275
|
/**
|
|
262
276
|
* @license
|
|
@@ -355,7 +369,7 @@ function hasThemes(tagName) {
|
|
|
355
369
|
*/
|
|
356
370
|
function flattenStyles(styles = []) {
|
|
357
371
|
return [styles].flat(Infinity).filter((style) => {
|
|
358
|
-
if (style instanceof o$
|
|
372
|
+
if (style instanceof o$a) {
|
|
359
373
|
return true;
|
|
360
374
|
}
|
|
361
375
|
console.warn('An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`.');
|
|
@@ -584,7 +598,7 @@ const addLumoGlobalStyles$2 = (id, ...styles) => {
|
|
|
584
598
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
585
599
|
*/
|
|
586
600
|
|
|
587
|
-
const colorBase$1 = i$
|
|
601
|
+
const colorBase$1 = i$7`
|
|
588
602
|
:host {
|
|
589
603
|
/* Base (background) */
|
|
590
604
|
--lumo-base-color: #fff;
|
|
@@ -673,7 +687,7 @@ const colorBase$1 = i$1`
|
|
|
673
687
|
|
|
674
688
|
addLumoGlobalStyles$2('color-props', colorBase$1);
|
|
675
689
|
|
|
676
|
-
const color$1 = i$
|
|
690
|
+
const color$1 = i$7`
|
|
677
691
|
[theme~='dark'] {
|
|
678
692
|
/* Base (background) */
|
|
679
693
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -798,7 +812,7 @@ registerStyles('', color$1, { moduleId: 'lumo-color' });
|
|
|
798
812
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
799
813
|
*/
|
|
800
814
|
|
|
801
|
-
const sizing$2 = i$
|
|
815
|
+
const sizing$2 = i$7`
|
|
802
816
|
:host {
|
|
803
817
|
--lumo-size-xs: 1.625rem;
|
|
804
818
|
--lumo-size-s: 1.875rem;
|
|
@@ -823,7 +837,7 @@ addLumoGlobalStyles$2('sizing-props', sizing$2);
|
|
|
823
837
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
824
838
|
*/
|
|
825
839
|
|
|
826
|
-
const style$2 = i$
|
|
840
|
+
const style$2 = i$7`
|
|
827
841
|
:host {
|
|
828
842
|
/* Border radius */
|
|
829
843
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -845,7 +859,7 @@ const style$2 = i$1`
|
|
|
845
859
|
/**
|
|
846
860
|
* Default values for component-specific custom properties.
|
|
847
861
|
*/
|
|
848
|
-
i$
|
|
862
|
+
i$7`
|
|
849
863
|
html {
|
|
850
864
|
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
|
|
851
865
|
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
|
|
@@ -861,7 +875,7 @@ addLumoGlobalStyles$2('style-props', style$2);
|
|
|
861
875
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
862
876
|
*/
|
|
863
877
|
|
|
864
|
-
const font$2 = i$
|
|
878
|
+
const font$2 = i$7`
|
|
865
879
|
:host {
|
|
866
880
|
/* prettier-ignore */
|
|
867
881
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -883,7 +897,7 @@ const font$2 = i$1`
|
|
|
883
897
|
}
|
|
884
898
|
`;
|
|
885
899
|
|
|
886
|
-
const typography$2 = i$
|
|
900
|
+
const typography$2 = i$7`
|
|
887
901
|
body,
|
|
888
902
|
:host {
|
|
889
903
|
font-family: var(--lumo-font-family);
|
|
@@ -982,7 +996,7 @@ addLumoGlobalStyles$2('typography-props', font$2);
|
|
|
982
996
|
|
|
983
997
|
registerStyles(
|
|
984
998
|
'vaadin-input-container',
|
|
985
|
-
i$
|
|
999
|
+
i$7`
|
|
986
1000
|
:host {
|
|
987
1001
|
background-color: var(--lumo-contrast-10pct);
|
|
988
1002
|
padding: 0 calc(0.375em + var(--_input-container-radius) / 4 - 1px);
|
|
@@ -8440,7 +8454,7 @@ const addLumoGlobalStyles$1 = (id, ...styles) => {
|
|
|
8440
8454
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8441
8455
|
*/
|
|
8442
8456
|
|
|
8443
|
-
const colorBase = i$
|
|
8457
|
+
const colorBase = i$7`
|
|
8444
8458
|
:host {
|
|
8445
8459
|
/* Base (background) */
|
|
8446
8460
|
--lumo-base-color: #fff;
|
|
@@ -8529,7 +8543,7 @@ const colorBase = i$1`
|
|
|
8529
8543
|
|
|
8530
8544
|
addLumoGlobalStyles$1('color-props', colorBase);
|
|
8531
8545
|
|
|
8532
|
-
const color = i$
|
|
8546
|
+
const color = i$7`
|
|
8533
8547
|
[theme~='dark'] {
|
|
8534
8548
|
/* Base (background) */
|
|
8535
8549
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -8654,7 +8668,7 @@ registerStyles('', color, { moduleId: 'lumo-color' });
|
|
|
8654
8668
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8655
8669
|
*/
|
|
8656
8670
|
|
|
8657
|
-
const spacing$1 = i$
|
|
8671
|
+
const spacing$1 = i$7`
|
|
8658
8672
|
:host {
|
|
8659
8673
|
/* Square */
|
|
8660
8674
|
--lumo-space-xs: 0.25rem;
|
|
@@ -8687,7 +8701,7 @@ addLumoGlobalStyles$1('spacing-props', spacing$1);
|
|
|
8687
8701
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8688
8702
|
*/
|
|
8689
8703
|
|
|
8690
|
-
const style$1 = i$
|
|
8704
|
+
const style$1 = i$7`
|
|
8691
8705
|
:host {
|
|
8692
8706
|
/* Border radius */
|
|
8693
8707
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -8709,7 +8723,7 @@ const style$1 = i$1`
|
|
|
8709
8723
|
/**
|
|
8710
8724
|
* Default values for component-specific custom properties.
|
|
8711
8725
|
*/
|
|
8712
|
-
i$
|
|
8726
|
+
i$7`
|
|
8713
8727
|
html {
|
|
8714
8728
|
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
|
|
8715
8729
|
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
|
|
@@ -8753,7 +8767,7 @@ const addLumoGlobalStyles = (id, ...styles) => {
|
|
|
8753
8767
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8754
8768
|
*/
|
|
8755
8769
|
|
|
8756
|
-
const fontIcons$1 = i$
|
|
8770
|
+
const fontIcons$1 = i$7`
|
|
8757
8771
|
@font-face {
|
|
8758
8772
|
font-family: 'lumo-icons';
|
|
8759
8773
|
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMABF0UtwCEnIPM/zhLK8LqhfXRybSP14XUYtHV9hGYQwQBNIo3cUIPkhQeM7rib1ekqnXg981XuC1qvy84lzojleh3puxL0hPjGjRU473teloEefAUNGjJkwZcacBUtWrNmwZceeA0dOnLlw5cadB09elPGhGf+j0NTI/65KfXerT6JhqKnpRKtgOpuqaTrtKjPUlqHmhto21I7pL6i6hlqY3q7qGWrfUAeGOjTUkaGODXViqFNDnRnq3FAXhro01JWhrg11Y6hbQ90Z6t5QD4Z6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48fvFysJgGt8IcJxROiG9TgauODuj5ukG+EW+UG4jR4ehTv0Q+EunjER7uEWmk+IWpc0d3gVbuAKb8JN+nfhFvlDuI17fAp36L+Fu1jgR7iHp+jF7Arbz1Nb1nO93pnEncSJFtrVuS3VKB6e5EyX2iVer9TyoOr9eux9pjJnCzW1pdfGWFU5u9WpjzfeV5PBIBMfp7aAwQ4FLPrIkbKWqDHn+67pDRK4s4lzbsEux5qHvcIIMb/nueSMyTKkE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
|
|
@@ -8816,7 +8830,7 @@ addLumoGlobalStyles('font-icons', fontIcons$1);
|
|
|
8816
8830
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8817
8831
|
*/
|
|
8818
8832
|
|
|
8819
|
-
const sizing$1 = i$
|
|
8833
|
+
const sizing$1 = i$7`
|
|
8820
8834
|
:host {
|
|
8821
8835
|
--lumo-size-xs: 1.625rem;
|
|
8822
8836
|
--lumo-size-s: 1.875rem;
|
|
@@ -8841,7 +8855,7 @@ addLumoGlobalStyles('sizing-props', sizing$1);
|
|
|
8841
8855
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8842
8856
|
*/
|
|
8843
8857
|
|
|
8844
|
-
const spacing = i$
|
|
8858
|
+
const spacing = i$7`
|
|
8845
8859
|
:host {
|
|
8846
8860
|
/* Square */
|
|
8847
8861
|
--lumo-space-xs: 0.25rem;
|
|
@@ -8874,7 +8888,7 @@ addLumoGlobalStyles('spacing-props', spacing);
|
|
|
8874
8888
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8875
8889
|
*/
|
|
8876
8890
|
|
|
8877
|
-
const style = i$
|
|
8891
|
+
const style = i$7`
|
|
8878
8892
|
:host {
|
|
8879
8893
|
/* Border radius */
|
|
8880
8894
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -8896,7 +8910,7 @@ const style = i$1`
|
|
|
8896
8910
|
/**
|
|
8897
8911
|
* Default values for component-specific custom properties.
|
|
8898
8912
|
*/
|
|
8899
|
-
i$
|
|
8913
|
+
i$7`
|
|
8900
8914
|
html {
|
|
8901
8915
|
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
|
|
8902
8916
|
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
|
|
@@ -8912,7 +8926,7 @@ addLumoGlobalStyles('style-props', style);
|
|
|
8912
8926
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8913
8927
|
*/
|
|
8914
8928
|
|
|
8915
|
-
const font$1 = i$
|
|
8929
|
+
const font$1 = i$7`
|
|
8916
8930
|
:host {
|
|
8917
8931
|
/* prettier-ignore */
|
|
8918
8932
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -8934,7 +8948,7 @@ const font$1 = i$1`
|
|
|
8934
8948
|
}
|
|
8935
8949
|
`;
|
|
8936
8950
|
|
|
8937
|
-
const typography$1 = i$
|
|
8951
|
+
const typography$1 = i$7`
|
|
8938
8952
|
body,
|
|
8939
8953
|
:host {
|
|
8940
8954
|
font-family: var(--lumo-font-family);
|
|
@@ -9031,7 +9045,7 @@ const typography$1 = i$1`
|
|
|
9031
9045
|
registerStyles('', typography$1, { moduleId: 'lumo-typography' });
|
|
9032
9046
|
addLumoGlobalStyles('typography-props', font$1);
|
|
9033
9047
|
|
|
9034
|
-
const item = i$
|
|
9048
|
+
const item = i$7`
|
|
9035
9049
|
:host {
|
|
9036
9050
|
display: flex;
|
|
9037
9051
|
align-items: center;
|
|
@@ -9114,7 +9128,7 @@ const item = i$1`
|
|
|
9114
9128
|
|
|
9115
9129
|
registerStyles('vaadin-item', item, { moduleId: 'lumo-item' });
|
|
9116
9130
|
|
|
9117
|
-
const comboBoxItem = i$
|
|
9131
|
+
const comboBoxItem = i$7`
|
|
9118
9132
|
:host {
|
|
9119
9133
|
transition: background-color 100ms;
|
|
9120
9134
|
overflow: hidden;
|
|
@@ -9138,7 +9152,7 @@ registerStyles('vaadin-combo-box-item', [item, comboBoxItem], {
|
|
|
9138
9152
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9139
9153
|
*/
|
|
9140
9154
|
|
|
9141
|
-
const sizing = i$
|
|
9155
|
+
const sizing = i$7`
|
|
9142
9156
|
:host {
|
|
9143
9157
|
--lumo-size-xs: 1.625rem;
|
|
9144
9158
|
--lumo-size-s: 1.875rem;
|
|
@@ -9163,7 +9177,7 @@ addLumoGlobalStyles$1('sizing-props', sizing);
|
|
|
9163
9177
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9164
9178
|
*/
|
|
9165
9179
|
|
|
9166
|
-
const loader = i$
|
|
9180
|
+
const loader = i$7`
|
|
9167
9181
|
[part~='loader'] {
|
|
9168
9182
|
box-sizing: border-box;
|
|
9169
9183
|
width: var(--lumo-icon-size-s);
|
|
@@ -9211,7 +9225,7 @@ const loader = i$1`
|
|
|
9211
9225
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9212
9226
|
*/
|
|
9213
9227
|
|
|
9214
|
-
const font = i$
|
|
9228
|
+
const font = i$7`
|
|
9215
9229
|
:host {
|
|
9216
9230
|
/* prettier-ignore */
|
|
9217
9231
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -9233,7 +9247,7 @@ const font = i$1`
|
|
|
9233
9247
|
}
|
|
9234
9248
|
`;
|
|
9235
9249
|
|
|
9236
|
-
const typography = i$
|
|
9250
|
+
const typography = i$7`
|
|
9237
9251
|
body,
|
|
9238
9252
|
:host {
|
|
9239
9253
|
font-family: var(--lumo-font-family);
|
|
@@ -9336,7 +9350,7 @@ addLumoGlobalStyles$1('typography-props', font);
|
|
|
9336
9350
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9337
9351
|
*/
|
|
9338
9352
|
|
|
9339
|
-
const overlay = i$
|
|
9353
|
+
const overlay = i$7`
|
|
9340
9354
|
:host {
|
|
9341
9355
|
top: var(--lumo-space-m);
|
|
9342
9356
|
right: var(--lumo-space-m);
|
|
@@ -9409,7 +9423,7 @@ registerStyles('', overlay, { moduleId: 'lumo-overlay' });
|
|
|
9409
9423
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9410
9424
|
*/
|
|
9411
9425
|
|
|
9412
|
-
const menuOverlayCore = i$
|
|
9426
|
+
const menuOverlayCore = i$7`
|
|
9413
9427
|
:host([opening]),
|
|
9414
9428
|
:host([closing]) {
|
|
9415
9429
|
animation: 0.14s lumo-overlay-dummy-animation;
|
|
@@ -9443,7 +9457,7 @@ const menuOverlayCore = i$1`
|
|
|
9443
9457
|
|
|
9444
9458
|
registerStyles('', menuOverlayCore, { moduleId: 'lumo-menu-overlay-core' });
|
|
9445
9459
|
|
|
9446
|
-
const menuOverlayExt = i$
|
|
9460
|
+
const menuOverlayExt = i$7`
|
|
9447
9461
|
/* Small viewport (bottom sheet) styles */
|
|
9448
9462
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
9449
9463
|
@media (max-width: 420px), (max-height: 420px) {
|
|
@@ -9511,7 +9525,7 @@ const menuOverlay = [overlay, menuOverlayCore, menuOverlayExt];
|
|
|
9511
9525
|
|
|
9512
9526
|
registerStyles('', menuOverlay, { moduleId: 'lumo-menu-overlay' });
|
|
9513
9527
|
|
|
9514
|
-
const comboBoxOverlay = i$
|
|
9528
|
+
const comboBoxOverlay = i$7`
|
|
9515
9529
|
[part='content'] {
|
|
9516
9530
|
padding: 0;
|
|
9517
9531
|
}
|
|
@@ -9534,7 +9548,7 @@ const comboBoxOverlay = i$1`
|
|
|
9534
9548
|
}
|
|
9535
9549
|
`;
|
|
9536
9550
|
|
|
9537
|
-
const comboBoxLoader = i$
|
|
9551
|
+
const comboBoxLoader = i$7`
|
|
9538
9552
|
[part~='loader'] {
|
|
9539
9553
|
position: absolute;
|
|
9540
9554
|
z-index: 1;
|
|
@@ -9563,7 +9577,7 @@ registerStyles(
|
|
|
9563
9577
|
comboBoxOverlay,
|
|
9564
9578
|
loader,
|
|
9565
9579
|
comboBoxLoader,
|
|
9566
|
-
i$
|
|
9580
|
+
i$7`
|
|
9567
9581
|
:host {
|
|
9568
9582
|
--_vaadin-combo-box-items-container-border-width: var(--lumo-space-xs);
|
|
9569
9583
|
--_vaadin-combo-box-items-container-border-style: solid;
|
|
@@ -9579,7 +9593,7 @@ registerStyles(
|
|
|
9579
9593
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9580
9594
|
*/
|
|
9581
9595
|
|
|
9582
|
-
const fontIcons = i$
|
|
9596
|
+
const fontIcons = i$7`
|
|
9583
9597
|
@font-face {
|
|
9584
9598
|
font-family: 'lumo-icons';
|
|
9585
9599
|
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAA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AAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
|
|
@@ -9642,7 +9656,7 @@ addLumoGlobalStyles$1('font-icons', fontIcons);
|
|
|
9642
9656
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9643
9657
|
*/
|
|
9644
9658
|
|
|
9645
|
-
const fieldButton = i$
|
|
9659
|
+
const fieldButton = i$7`
|
|
9646
9660
|
[part$='button'] {
|
|
9647
9661
|
flex: none;
|
|
9648
9662
|
width: 1em;
|
|
@@ -9678,7 +9692,7 @@ registerStyles('', fieldButton, { moduleId: 'lumo-field-button' });
|
|
|
9678
9692
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9679
9693
|
*/
|
|
9680
9694
|
|
|
9681
|
-
const helper = i$
|
|
9695
|
+
const helper = i$7`
|
|
9682
9696
|
:host([has-helper]) [part='helper-text']::before {
|
|
9683
9697
|
content: '';
|
|
9684
9698
|
display: block;
|
|
@@ -9737,7 +9751,7 @@ const helper = i$1`
|
|
|
9737
9751
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9738
9752
|
*/
|
|
9739
9753
|
|
|
9740
|
-
const requiredField = i$
|
|
9754
|
+
const requiredField = i$7`
|
|
9741
9755
|
[part='label'] {
|
|
9742
9756
|
align-self: flex-start;
|
|
9743
9757
|
color: var(--lumo-secondary-text-color);
|
|
@@ -9843,7 +9857,7 @@ registerStyles('', requiredField, { moduleId: 'lumo-required-field' });
|
|
|
9843
9857
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9844
9858
|
*/
|
|
9845
9859
|
|
|
9846
|
-
const inputField = i$
|
|
9860
|
+
const inputField = i$7`
|
|
9847
9861
|
:host {
|
|
9848
9862
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
9849
9863
|
color: var(--lumo-body-text-color);
|
|
@@ -9985,7 +9999,7 @@ registerStyles('', inputFieldShared$1, {
|
|
|
9985
9999
|
moduleId: 'lumo-input-field-shared-styles',
|
|
9986
10000
|
});
|
|
9987
10001
|
|
|
9988
|
-
const comboBox = i$
|
|
10002
|
+
const comboBox = i$7`
|
|
9989
10003
|
:host {
|
|
9990
10004
|
outline: none;
|
|
9991
10005
|
}
|
|
@@ -11835,13 +11849,39 @@ const OverlayMixin = (superClass) =>
|
|
|
11835
11849
|
}
|
|
11836
11850
|
};
|
|
11837
11851
|
|
|
11852
|
+
/**
|
|
11853
|
+
* @license
|
|
11854
|
+
* Copyright 2019 Google LLC
|
|
11855
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
11856
|
+
*/
|
|
11857
|
+
const t$3=globalThis,e$5=t$3.ShadowRoot&&(void 0===t$3.ShadyCSS||t$3.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$5=Symbol(),o$6=new WeakMap;class n$6{constructor(t,e,o){if(this._$cssResult$=!0,o!==s$5)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$5&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$6.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$6.set(s,t));}return t}toString(){return this.cssText}}const r$6=t=>new n$6("string"==typeof t?t:t+"",void 0,s$5),i$5=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$6(o,t,s$5)},S$3=(s,o)=>{if(e$5)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$3.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$4=e$5?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$6(e)})(t):t;
|
|
11858
|
+
|
|
11859
|
+
/**
|
|
11860
|
+
* @license
|
|
11861
|
+
* Copyright 2017 Google LLC
|
|
11862
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
11863
|
+
*/const{is:i$4,defineProperty:e$4,getOwnPropertyDescriptor:r$5,getOwnPropertyNames:h$3,getOwnPropertySymbols:o$5,getPrototypeOf:n$5}=Object,a$3=globalThis,c$3=a$3.trustedTypes,l$4=c$3?c$3.emptyScript:"",p$2=a$3.reactiveElementPolyfillSupport,d$3=(t,s)=>t,u$3={toAttribute(t,s){switch(s){case Boolean:t=t?l$4:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$2=(t,s)=>!i$4(t,s),y$1={attribute:!0,type:String,converter:u$3,reflect:!1,hasChanged:f$2};Symbol.metadata??=Symbol("metadata"),a$3.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$1){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$4(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$5(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$1}static _$Ei(){if(this.hasOwnProperty(d$3("elementProperties")))return;const t=n$5(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$3("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d$3("properties"))){const t=this.properties,s=[...h$3(t),...o$5(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$4(s));}else void 0!==s&&i.push(c$4(s));return i}static _$Eu(t,s){const i=s.attribute;return !1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$3(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$3).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$3;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$2)(this[t],s))return;this.P(t,s,i);}!1===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=!0;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=!1;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return !0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[d$3("elementProperties")]=new Map,b[d$3("finalized")]=new Map,p$2?.({ReactiveElement:b}),(a$3.reactiveElementVersions??=[]).push("2.0.4");
|
|
11864
|
+
|
|
11865
|
+
/**
|
|
11866
|
+
* @license
|
|
11867
|
+
* Copyright 2017 Google LLC
|
|
11868
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
11869
|
+
*/
|
|
11870
|
+
const t$2=globalThis,i$3=t$2.trustedTypes,s$4=i$3?i$3.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$3="$lit$",h$2=`lit$${Math.random().toFixed(9).slice(2)}$`,o$4="?"+h$2,n$4=`<${o$4}>`,r$4=document,l$3=()=>r$4.createComment(""),c$2=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$2=Array.isArray,u$2=t=>a$2(t)||"function"==typeof t?.[Symbol.iterator],d$2="[ \t\n\f\r]",f$1=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1=/-->/g,_$1=/>/g,m$1=RegExp(`>|${d$2}(?:([^\\s"'>=/]+)(${d$2}*=${d$2}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$1=/'/g,g$1=/"/g,$$1=/^(?:script|style|textarea|title)$/i,T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A$1=new WeakMap,C$1=r$4.createTreeWalker(r$4,129);function P$1(t,i){if(!a$2(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$4?s$4.createHTML(i):i}const V$1=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$1;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$1?"!--"===u[1]?c=v$1:void 0!==u[1]?c=_$1:void 0!==u[2]?($$1.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1):void 0!==u[3]&&(c=m$1):c===m$1?">"===u[0]?(c=r??f$1,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$1:'"'===u[3]?g$1:p$1):c===g$1||c===p$1?c=m$1:c===v$1||c===_$1?c=f$1:(c=m$1,r=void 0);const x=c===m$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f$1?s+n$4:d>=0?(o.push(a),s.slice(0,d)+e$3+s.slice(d)+h$2+x):s+h$2+(-2===d?i:x);}return [P$1(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N$1{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$1(t,s);if(this.el=N$1.createElement(f,n),C$1.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$1.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$3)){const i=v[a++],s=r.getAttribute(t).split(h$2),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$1:"?"===e[1]?I$1:"@"===e[1]?L$1:k$1}),r.removeAttribute(t);}else t.startsWith(h$2)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1.test(r.tagName)){const t=r.textContent.split(h$2),s=t.length-1;if(s>0){r.textContent=i$3?i$3.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$3()),C$1.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$3());}}}else if(8===r.nodeType)if(r.data===o$4)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$2,t+1));)d.push({type:7,index:c}),t+=h$2.length-1;}c++;}}static createElement(t,i){const s=r$4.createElement("template");return s.innerHTML=t,s}}function S$2(t,i,s=t,e){if(i===T$1)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$2(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S$2(t,h._$AS(t,i.values),h,e)),i}class M$1{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$4).importNode(i,!0);C$1.currentNode=e;let h=C$1.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$1.nextNode(),o++);}return C$1.currentNode=r$4,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R$1{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??!0;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$2(this,t,i),c$2(t)?t===E$1||null==t||""===t?(this._$AH!==E$1&&this._$AR(),this._$AH=E$1):t!==this._$AH&&t!==T$1&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$2(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1&&c$2(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$4.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$1.createElement(P$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$1(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$1.get(t.strings);return void 0===i&&A$1.set(t.strings,i=new N$1(t)),i}k(t){a$2(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R$1(this.O(l$3()),this.O(l$3()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k$1{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=S$2(this,t,i,0),o=!c$2(t)||t!==this._$AH&&t!==T$1,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$2(this,e[s+n],i,n),r===T$1&&(r=this._$AH[n]),o||=!c$2(r)||r!==this._$AH[n],r===E$1?t=E$1:t!==E$1&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H$1 extends k$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1?void 0:t;}}class I$1 extends k$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1);}}class L$1 extends k$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$2(this,t,i,0)??E$1)===T$1)return;const s=this._$AH,e=t===E$1&&s!==E$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1&&(s===E$1||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z$1{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$2(this,t);}}const j=t$2.litHtmlPolyfillSupport;j?.(N$1,R$1),(t$2.litHtmlVersions??=[]).push("3.2.1");const B$1=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1(i.insertBefore(l$3(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
11871
|
+
|
|
11872
|
+
/**
|
|
11873
|
+
* @license
|
|
11874
|
+
* Copyright 2017 Google LLC
|
|
11875
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
11876
|
+
*/class r$3 extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$1(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1);}render(){return T$1}}r$3._$litElement$=!0,r$3["finalized"]=!0,globalThis.litElementHydrateSupport?.({LitElement:r$3});const i$2=globalThis.litElementPolyfillSupport;i$2?.({LitElement:r$3});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
11877
|
+
|
|
11838
11878
|
/**
|
|
11839
11879
|
* @license
|
|
11840
11880
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
11841
11881
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11842
11882
|
*/
|
|
11843
11883
|
|
|
11844
|
-
const overlayStyles = i$
|
|
11884
|
+
const overlayStyles = i$5`
|
|
11845
11885
|
:host {
|
|
11846
11886
|
z-index: 200;
|
|
11847
11887
|
position: fixed;
|
|
@@ -12454,7 +12494,7 @@ const ComboBoxOverlayMixin = (superClass) =>
|
|
|
12454
12494
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12455
12495
|
*/
|
|
12456
12496
|
|
|
12457
|
-
const comboBoxOverlayStyles = i$
|
|
12497
|
+
const comboBoxOverlayStyles = i$7`
|
|
12458
12498
|
#overlay {
|
|
12459
12499
|
width: var(--vaadin-combo-box-overlay-width, var(--_vaadin-combo-box-overlay-default-width, auto));
|
|
12460
12500
|
}
|
|
@@ -18840,6 +18880,32 @@ const PatternMixin = (superclass) =>
|
|
|
18840
18880
|
}
|
|
18841
18881
|
};
|
|
18842
18882
|
|
|
18883
|
+
/**
|
|
18884
|
+
* @license
|
|
18885
|
+
* Copyright 2019 Google LLC
|
|
18886
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
18887
|
+
*/
|
|
18888
|
+
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;
|
|
18889
|
+
|
|
18890
|
+
/**
|
|
18891
|
+
* @license
|
|
18892
|
+
* Copyright 2017 Google LLC
|
|
18893
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
18894
|
+
*/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");
|
|
18895
|
+
|
|
18896
|
+
/**
|
|
18897
|
+
* @license
|
|
18898
|
+
* Copyright 2017 Google LLC
|
|
18899
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
18900
|
+
*/
|
|
18901
|
+
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};
|
|
18902
|
+
|
|
18903
|
+
/**
|
|
18904
|
+
* @license
|
|
18905
|
+
* Copyright 2017 Google LLC
|
|
18906
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
18907
|
+
*/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");
|
|
18908
|
+
|
|
18843
18909
|
/**
|
|
18844
18910
|
* @license
|
|
18845
18911
|
* Copyright (c) 2021 - 2023 Vaadin Ltd..
|
|
@@ -21015,6 +21081,94 @@ const UserLoginStyle0 = userLoginCss;
|
|
|
21015
21081
|
const UserLogin = class {
|
|
21016
21082
|
constructor(hostRef) {
|
|
21017
21083
|
registerInstance(this, hostRef);
|
|
21084
|
+
/**
|
|
21085
|
+
* API endpoint URL for login requests
|
|
21086
|
+
*/
|
|
21087
|
+
this.endpoint = '';
|
|
21088
|
+
/**
|
|
21089
|
+
* Language code for translations (default is 'en')
|
|
21090
|
+
*/
|
|
21091
|
+
this.lang = 'en';
|
|
21092
|
+
/**
|
|
21093
|
+
* Inline CSS styling provided by the client
|
|
21094
|
+
*/
|
|
21095
|
+
this.clientStyling = '';
|
|
21096
|
+
/**
|
|
21097
|
+
* URL to load additional CSS styling
|
|
21098
|
+
*/
|
|
21099
|
+
this.clientStylingUrl = '';
|
|
21100
|
+
/**
|
|
21101
|
+
* URL for fetching translations
|
|
21102
|
+
*/
|
|
21103
|
+
this.translationUrl = '';
|
|
21104
|
+
/**
|
|
21105
|
+
* Flag indicating whether the password reset feature is enabled
|
|
21106
|
+
*/
|
|
21107
|
+
this.passwordReset = 'false';
|
|
21108
|
+
/**
|
|
21109
|
+
* Regex options for user email validation
|
|
21110
|
+
*/
|
|
21111
|
+
this.userEmailRegexOptions = 'i';
|
|
21112
|
+
/**
|
|
21113
|
+
* User phone regex options
|
|
21114
|
+
*/
|
|
21115
|
+
this.userPhoneRegexOptions = '';
|
|
21116
|
+
/**
|
|
21117
|
+
* Regex options for password validation
|
|
21118
|
+
*/
|
|
21119
|
+
this.passwordRegexOptions = '';
|
|
21120
|
+
/**
|
|
21121
|
+
* Flag to determine if the component uses version 2 of the API
|
|
21122
|
+
*/
|
|
21123
|
+
this.version = 'gm16';
|
|
21124
|
+
/**
|
|
21125
|
+
* If set to true, login will be done by phone number, else by username/email
|
|
21126
|
+
*/
|
|
21127
|
+
this.loginByPhoneNumber = 'false';
|
|
21128
|
+
/**
|
|
21129
|
+
* User email or username entered in the form
|
|
21130
|
+
*/
|
|
21131
|
+
this.userNameEmail = '';
|
|
21132
|
+
/**
|
|
21133
|
+
* Password entered in the form
|
|
21134
|
+
*/
|
|
21135
|
+
this.userPassword = '';
|
|
21136
|
+
/**
|
|
21137
|
+
* Flag to indicate whether the entered email is valid
|
|
21138
|
+
*/
|
|
21139
|
+
this.isValidUserEmail = true;
|
|
21140
|
+
/**
|
|
21141
|
+
* User phone entered in the form
|
|
21142
|
+
*/
|
|
21143
|
+
this.userPhone = '';
|
|
21144
|
+
/**
|
|
21145
|
+
* User prefix entered in the form
|
|
21146
|
+
*/
|
|
21147
|
+
this.userPrefix = '';
|
|
21148
|
+
/**
|
|
21149
|
+
* Flag to indicate whether the entered password is valid
|
|
21150
|
+
*/
|
|
21151
|
+
this.isValidPassword = true;
|
|
21152
|
+
/**
|
|
21153
|
+
* Flag to indicate whether the entered phone is valid
|
|
21154
|
+
*/
|
|
21155
|
+
this.isValidUserPhone = true;
|
|
21156
|
+
/**
|
|
21157
|
+
* Toggles visibility of the password field
|
|
21158
|
+
*/
|
|
21159
|
+
this.isPasswordVisible = false;
|
|
21160
|
+
/**
|
|
21161
|
+
* Internal flag to prevent duplicate client styling appends
|
|
21162
|
+
*/
|
|
21163
|
+
this.limitStylingAppends = false;
|
|
21164
|
+
/**
|
|
21165
|
+
* Stores error message from the API
|
|
21166
|
+
*/
|
|
21167
|
+
this.errorMessage = '';
|
|
21168
|
+
/**
|
|
21169
|
+
* Indicates whether an error has occurred
|
|
21170
|
+
*/
|
|
21171
|
+
this.hasError = false;
|
|
21018
21172
|
this.errorCode = '';
|
|
21019
21173
|
/**
|
|
21020
21174
|
* Apply inline client styling
|
|
@@ -21269,32 +21423,6 @@ const UserLogin = class {
|
|
|
21269
21423
|
this.resetPassword = () => {
|
|
21270
21424
|
window.postMessage({ type: "NavForgotPassword" }, window.location.href);
|
|
21271
21425
|
};
|
|
21272
|
-
this.endpoint = '';
|
|
21273
|
-
this.lang = 'en';
|
|
21274
|
-
this.clientStyling = '';
|
|
21275
|
-
this.clientStylingUrl = '';
|
|
21276
|
-
this.translationUrl = '';
|
|
21277
|
-
this.passwordReset = 'false';
|
|
21278
|
-
this.userEmailRegex = undefined;
|
|
21279
|
-
this.userEmailRegexOptions = 'i';
|
|
21280
|
-
this.userPhoneRegex = undefined;
|
|
21281
|
-
this.userPhoneRegexOptions = '';
|
|
21282
|
-
this.passwordRegex = undefined;
|
|
21283
|
-
this.passwordRegexOptions = '';
|
|
21284
|
-
this.version = 'gm16';
|
|
21285
|
-
this.loginByPhoneNumber = 'false';
|
|
21286
|
-
this.userNameEmail = '';
|
|
21287
|
-
this.userPassword = '';
|
|
21288
|
-
this.isValidUserEmail = true;
|
|
21289
|
-
this.userPhone = '';
|
|
21290
|
-
this.userPrefix = '';
|
|
21291
|
-
this.isValidPassword = true;
|
|
21292
|
-
this.isValidUserPhone = true;
|
|
21293
|
-
this.isPasswordVisible = false;
|
|
21294
|
-
this.limitStylingAppends = false;
|
|
21295
|
-
this.errorMessage = '';
|
|
21296
|
-
this.hasError = false;
|
|
21297
|
-
this.userPrefixOptions = undefined;
|
|
21298
21426
|
}
|
|
21299
21427
|
/**
|
|
21300
21428
|
* Watch for changes in the translation URL and fetch new translations
|
|
@@ -21400,20 +21528,20 @@ const UserLogin = class {
|
|
|
21400
21528
|
* Render function
|
|
21401
21529
|
*/
|
|
21402
21530
|
render() {
|
|
21403
|
-
let visibilityIcon = h$
|
|
21404
|
-
h$
|
|
21405
|
-
h$
|
|
21406
|
-
let userIdentification = h$
|
|
21407
|
-
? h$
|
|
21408
|
-
h$
|
|
21409
|
-
: h$
|
|
21410
|
-
h$
|
|
21411
|
-
h$
|
|
21412
|
-
h$
|
|
21531
|
+
let visibilityIcon = h$6("span", { key: '7e2a13b86952a81d92e46aadc7ce5029a481bcc0', class: "InputIcon" }, this.isPasswordVisible &&
|
|
21532
|
+
h$6("svg", { key: 'f745357aebd4ba59b18a268e1159545ab9227b6d', onClick: () => this.togglePassword(), class: "TogglePasswordVisibility", part: "TogglePasswordVisibility", xmlns: "http://www.w3.org/2000/svg", width: "18.844", height: "12.887", viewBox: "0 0 18.844 12.887" }, h$6("g", { key: '6a34839a4c1a9bcc227ce71ac1f55809b05e5b46', transform: "translate(-110.856 -23.242)" }, h$6("circle", { key: '77448e74d7ebc1f89c11793f1de0cafd1c26e0b3', class: "PasswordVisibilityIcon", cx: "0.05", cy: "0.05", r: "0.05", transform: "translate(121.017 31.148)" }), h$6("g", { key: 'e627dcd5784c782862ac444a570369b9f718934d', transform: "translate(117.499 27.37)" }, h$6("path", { key: 'f2238aee9409d92971971850266ac84587bd7d13', class: "PasswordVisibilityIcon", d: "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z", transform: "translate(-142.164 -39.123)" }), h$6("path", { key: '26c81b19ba3275bd40eb4395507f0e9f8d5f9d40', class: "PasswordVisibilityIcon", d: "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z", transform: "translate(-136.413 -42.068)" })), h$6("g", { key: '35f83887aa01cc7c6412b462a581bf6954046dc5', transform: "translate(110.856 24.899)" }, h$6("path", { key: 'da30b190df442cbf7a89c9dd0790a65cf8bae574', class: "PasswordVisibilityIcon", d: "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z", transform: "translate(-110.856 -33.157)" }), h$6("path", { key: 'febf8ee47512ae58e178eeeb4d4024c74d04fb96', class: "PasswordVisibilityIcon", d: "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z", transform: "translate(-130.743 -29.617)" })), h$6("rect", { key: '053ec6df6b3a49e17df73ce8a32c393d8630140a', class: "PasswordVisibilityIcon", width: "0.972", height: "15.861", rx: "0.486", transform: "translate(114.827 23.858) rotate(-39.315)" }))), !this.isPasswordVisible &&
|
|
21533
|
+
h$6("svg", { key: 'ac96ad3c2e6cd9653e8bd8d17ea4b0cc43896319', onClick: () => this.togglePassword(), class: "TogglePasswordVisibility PasswordVisible", part: "TogglePasswordVisibility", xmlns: "http://www.w3.org/2000/svg", width: "18.843", height: "10.5", viewBox: "0 0 18.843 10.5" }, h$6("g", { key: 'f0431fab2dea65be11afa02d4c50af4940cf76bd', transform: "translate(-14.185 -27.832)" }, h$6("path", { key: 'fdc015794619daca5d45f90f931708775ecd8db3', class: "PasswordVisibilityIcon", d: "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z", transform: "translate(0)" }), h$6("circle", { key: '24dbfed823b18d05f65b448b322c415fd9f61d2e', class: "PasswordVisibilityIcon", cx: "2.779", cy: "2.779", r: "2.779", transform: "translate(20.827 30.303)" }))));
|
|
21534
|
+
let userIdentification = h$6("div", { key: 'ee9856d867a413208cb3d75945106804178afd08', class: "FormBox" }, h$6("div", { key: 'a2749547b6b7eac8183ef4dd79d3e24549d0cdde', class: "FormValue" }, this.loginByPhoneNumber === 'true'
|
|
21535
|
+
? h$6("div", { class: (!this.isValidUserPhone || this.hasError) ? 'InputBox InputInvalidBox' : 'InputBox ' }, h$6("div", { class: "PhoneInputBox" }, h$6("div", { class: "PrefixBox" }, h$6("vaadin-combo-box", { items: this.userPrefixOptions, value: this.userPrefix, onChange: this.handleInputChangePartial('prefix') }), h$6("label", { class: (this.userPrefix ? 'FieldFilledIn' : '') + ' ' + (!this.isValidUserPhone || this.hasError ? 'FieldInvalid' : '') }, translate$1('userPrefix', this.lang))), h$6("div", { class: "PhoneBox" }, h$6("input", { type: "text", placeholder: '', value: this.userPhone, onFocus: this.handleInputChangePartial('phone'), onInput: this.handleInputChangePartial('phone'), autocapitalize: "none", required: true }), h$6("label", { class: (this.userPhone ? 'FieldFilledIn' : '') + ' ' + (!this.isValidUserPhone || this.hasError ? 'FieldInvalid' : '') }, translate$1('userPhone', this.lang)))), !this.isValidUserPhone &&
|
|
21536
|
+
h$6("p", { class: "InvalidField" }, translate$1('invalidField', this.lang)))
|
|
21537
|
+
: h$6("div", { class: (!this.isValidUserEmail || this.hasError) ? 'InputBox InputInvalidBox' : 'InputBox' }, h$6("input", { type: "text", placeholder: '', value: this.userNameEmail, onFocus: this.handleInputChangePartial('user'), onInput: this.handleInputChangePartial('user'), autocapitalize: "none", required: true }), h$6("label", { class: (this.userNameEmail ? 'FieldFilledIn' : '') + ' ' + (!this.isValidUserEmail || this.hasError ? 'FieldInvalid' : '') }, translate$1('userEmail', this.lang)), !this.isValidUserEmail &&
|
|
21538
|
+
h$6("p", { class: "InvalidField" }, translate$1('invalidField', this.lang))), h$6("div", { key: '9e5a38927b2355764882b86ec41b3c905ba28a74', class: (!this.isValidPassword || this.hasError) ? 'InputBox InputInvalidBox' : 'InputBox' }, visibilityIcon, h$6("input", { key: '171eaa238653e8875898397e4c5c5875e2a4e8b9', type: this.isPasswordVisible ? "text" : "password", placeholder: '', value: this.userPassword, onFocus: this.handleInputChangePartial('password'), onInput: this.handleInputChangePartial('password'), autocapitalize: "none", required: true }), h$6("label", { key: '691a65151e6011c7acf94ff489d3f931b7b6f2b9', class: (this.userPassword ? 'FieldFilledIn' : '') + ' ' + (!this.isValidPassword || this.hasError ? 'FieldInvalid' : '') }, translate$1('password', this.lang)), !this.isValidPassword &&
|
|
21539
|
+
h$6("p", { key: '880a618f35b645250420ddff462a07d4c6a15e21', class: "InvalidField" }, translate$1('invalidField', this.lang))), this.passwordReset == 'true' &&
|
|
21540
|
+
h$6("div", { key: '67d0dda3a8c3b7dc16add392d28111760e3c8941', class: "ForgotPassword" }, h$6("button", { key: '2f15ce7031f0536252c38ba71eab46a99035bb10', onClick: this.resetPassword }, translate$1('forgotPassword', this.lang))), h$6("button", { key: 'f719e61f203d5ad26927c03852fe0813f90c9382', disabled: ((this.loginByPhoneNumber !== 'true' && (!this.isValidUserEmail || !this.userNameEmail)) ||
|
|
21413
21541
|
(this.loginByPhoneNumber === 'true' && (!this.isValidUserPhone || !this.userPhone || !this.userPrefix)) ||
|
|
21414
21542
|
!this.userPassword || !this.isValidPassword), class: "SubmitCredentials", onClick: this.handleLogin }, translate$1('login', this.lang)), this.hasError &&
|
|
21415
|
-
h$
|
|
21416
|
-
return h$
|
|
21543
|
+
h$6("p", { key: 'd7ef26b85544e6491a52a0bad48faa505c85e848', class: "CredentialsError" }, this.errorMessage)));
|
|
21544
|
+
return h$6("section", { key: 'b5d37deebd2f1911594b7845c7eb0d65cbda6e75', ref: el => this.stylingContainer = el }, userIdentification);
|
|
21417
21545
|
}
|
|
21418
21546
|
static get watchers() { return {
|
|
21419
21547
|
"translationUrl": ["handleNewTranslations"],
|