@everymatrix/user-login 1.53.0 → 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 +186 -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/esm/{index-824bb999.js → index-a684ee07.js} +169 -72
- package/dist/esm/loader.js +2 -2
- package/dist/esm/user-login.entry.js +198 -84
- package/dist/esm/user-login.js +3 -3
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/user-login/.stencil/packages/stencil/user-login/stencil.config.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/user-login/.stencil/packages/stencil/user-login/stencil.config.dev.d.ts +2 -0
- package/dist/user-login/{p-7ed1422f.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/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/user-login/.stencil/packages/stencil/user-login/stencil.config.d.ts +0 -2
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/user-login/.stencil/packages/stencil/user-login/stencil.config.dev.d.ts +0 -2
- package/dist/user-login/p-57aa7a6f.js +0 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-ec5acfb2.js');
|
|
6
6
|
|
|
7
7
|
const DEFAULT_LANGUAGE = 'en';
|
|
8
8
|
const TRANSLATIONS = {
|
|
@@ -255,26 +255,26 @@ defineCustomElement(Lumo$2);
|
|
|
255
255
|
* Copyright 2019 Google LLC
|
|
256
256
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
257
257
|
*/
|
|
258
|
-
const t$
|
|
258
|
+
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;
|
|
259
259
|
|
|
260
260
|
/**
|
|
261
261
|
* @license
|
|
262
262
|
* Copyright 2017 Google LLC
|
|
263
263
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
264
|
-
*/var s$
|
|
264
|
+
*/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");
|
|
265
265
|
|
|
266
266
|
/**
|
|
267
267
|
* @license
|
|
268
268
|
* Copyright 2017 Google LLC
|
|
269
269
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
270
270
|
*/
|
|
271
|
-
var t;const i=window,s$
|
|
271
|
+
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};
|
|
272
272
|
|
|
273
273
|
/**
|
|
274
274
|
* @license
|
|
275
275
|
* Copyright 2017 Google LLC
|
|
276
276
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
277
|
-
*/var l,o;class s extends u$
|
|
277
|
+
*/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");
|
|
278
278
|
|
|
279
279
|
/**
|
|
280
280
|
* @license
|
|
@@ -373,7 +373,7 @@ function hasThemes(tagName) {
|
|
|
373
373
|
*/
|
|
374
374
|
function flattenStyles(styles = []) {
|
|
375
375
|
return [styles].flat(Infinity).filter((style) => {
|
|
376
|
-
if (style instanceof o$
|
|
376
|
+
if (style instanceof o$a) {
|
|
377
377
|
return true;
|
|
378
378
|
}
|
|
379
379
|
console.warn('An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`.');
|
|
@@ -602,7 +602,7 @@ const addLumoGlobalStyles$2 = (id, ...styles) => {
|
|
|
602
602
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
603
603
|
*/
|
|
604
604
|
|
|
605
|
-
const colorBase$1 = i$
|
|
605
|
+
const colorBase$1 = i$7`
|
|
606
606
|
:host {
|
|
607
607
|
/* Base (background) */
|
|
608
608
|
--lumo-base-color: #fff;
|
|
@@ -691,7 +691,7 @@ const colorBase$1 = i$1`
|
|
|
691
691
|
|
|
692
692
|
addLumoGlobalStyles$2('color-props', colorBase$1);
|
|
693
693
|
|
|
694
|
-
const color$1 = i$
|
|
694
|
+
const color$1 = i$7`
|
|
695
695
|
[theme~='dark'] {
|
|
696
696
|
/* Base (background) */
|
|
697
697
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -816,7 +816,7 @@ registerStyles('', color$1, { moduleId: 'lumo-color' });
|
|
|
816
816
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
817
817
|
*/
|
|
818
818
|
|
|
819
|
-
const sizing$2 = i$
|
|
819
|
+
const sizing$2 = i$7`
|
|
820
820
|
:host {
|
|
821
821
|
--lumo-size-xs: 1.625rem;
|
|
822
822
|
--lumo-size-s: 1.875rem;
|
|
@@ -841,7 +841,7 @@ addLumoGlobalStyles$2('sizing-props', sizing$2);
|
|
|
841
841
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
842
842
|
*/
|
|
843
843
|
|
|
844
|
-
const style$2 = i$
|
|
844
|
+
const style$2 = i$7`
|
|
845
845
|
:host {
|
|
846
846
|
/* Border radius */
|
|
847
847
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -863,7 +863,7 @@ const style$2 = i$1`
|
|
|
863
863
|
/**
|
|
864
864
|
* Default values for component-specific custom properties.
|
|
865
865
|
*/
|
|
866
|
-
i$
|
|
866
|
+
i$7`
|
|
867
867
|
html {
|
|
868
868
|
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
|
|
869
869
|
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
|
|
@@ -879,7 +879,7 @@ addLumoGlobalStyles$2('style-props', style$2);
|
|
|
879
879
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
880
880
|
*/
|
|
881
881
|
|
|
882
|
-
const font$2 = i$
|
|
882
|
+
const font$2 = i$7`
|
|
883
883
|
:host {
|
|
884
884
|
/* prettier-ignore */
|
|
885
885
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -901,7 +901,7 @@ const font$2 = i$1`
|
|
|
901
901
|
}
|
|
902
902
|
`;
|
|
903
903
|
|
|
904
|
-
const typography$2 = i$
|
|
904
|
+
const typography$2 = i$7`
|
|
905
905
|
body,
|
|
906
906
|
:host {
|
|
907
907
|
font-family: var(--lumo-font-family);
|
|
@@ -1000,7 +1000,7 @@ addLumoGlobalStyles$2('typography-props', font$2);
|
|
|
1000
1000
|
|
|
1001
1001
|
registerStyles(
|
|
1002
1002
|
'vaadin-input-container',
|
|
1003
|
-
i$
|
|
1003
|
+
i$7`
|
|
1004
1004
|
:host {
|
|
1005
1005
|
background-color: var(--lumo-contrast-10pct);
|
|
1006
1006
|
padding: 0 calc(0.375em + var(--_input-container-radius) / 4 - 1px);
|
|
@@ -8458,7 +8458,7 @@ const addLumoGlobalStyles$1 = (id, ...styles) => {
|
|
|
8458
8458
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8459
8459
|
*/
|
|
8460
8460
|
|
|
8461
|
-
const colorBase = i$
|
|
8461
|
+
const colorBase = i$7`
|
|
8462
8462
|
:host {
|
|
8463
8463
|
/* Base (background) */
|
|
8464
8464
|
--lumo-base-color: #fff;
|
|
@@ -8547,7 +8547,7 @@ const colorBase = i$1`
|
|
|
8547
8547
|
|
|
8548
8548
|
addLumoGlobalStyles$1('color-props', colorBase);
|
|
8549
8549
|
|
|
8550
|
-
const color = i$
|
|
8550
|
+
const color = i$7`
|
|
8551
8551
|
[theme~='dark'] {
|
|
8552
8552
|
/* Base (background) */
|
|
8553
8553
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -8672,7 +8672,7 @@ registerStyles('', color, { moduleId: 'lumo-color' });
|
|
|
8672
8672
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8673
8673
|
*/
|
|
8674
8674
|
|
|
8675
|
-
const spacing$1 = i$
|
|
8675
|
+
const spacing$1 = i$7`
|
|
8676
8676
|
:host {
|
|
8677
8677
|
/* Square */
|
|
8678
8678
|
--lumo-space-xs: 0.25rem;
|
|
@@ -8705,7 +8705,7 @@ addLumoGlobalStyles$1('spacing-props', spacing$1);
|
|
|
8705
8705
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8706
8706
|
*/
|
|
8707
8707
|
|
|
8708
|
-
const style$1 = i$
|
|
8708
|
+
const style$1 = i$7`
|
|
8709
8709
|
:host {
|
|
8710
8710
|
/* Border radius */
|
|
8711
8711
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -8727,7 +8727,7 @@ const style$1 = i$1`
|
|
|
8727
8727
|
/**
|
|
8728
8728
|
* Default values for component-specific custom properties.
|
|
8729
8729
|
*/
|
|
8730
|
-
i$
|
|
8730
|
+
i$7`
|
|
8731
8731
|
html {
|
|
8732
8732
|
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
|
|
8733
8733
|
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
|
|
@@ -8771,7 +8771,7 @@ const addLumoGlobalStyles = (id, ...styles) => {
|
|
|
8771
8771
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8772
8772
|
*/
|
|
8773
8773
|
|
|
8774
|
-
const fontIcons$1 = i$
|
|
8774
|
+
const fontIcons$1 = i$7`
|
|
8775
8775
|
@font-face {
|
|
8776
8776
|
font-family: 'lumo-icons';
|
|
8777
8777
|
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAAB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VBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
|
|
@@ -8834,7 +8834,7 @@ addLumoGlobalStyles('font-icons', fontIcons$1);
|
|
|
8834
8834
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8835
8835
|
*/
|
|
8836
8836
|
|
|
8837
|
-
const sizing$1 = i$
|
|
8837
|
+
const sizing$1 = i$7`
|
|
8838
8838
|
:host {
|
|
8839
8839
|
--lumo-size-xs: 1.625rem;
|
|
8840
8840
|
--lumo-size-s: 1.875rem;
|
|
@@ -8859,7 +8859,7 @@ addLumoGlobalStyles('sizing-props', sizing$1);
|
|
|
8859
8859
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8860
8860
|
*/
|
|
8861
8861
|
|
|
8862
|
-
const spacing = i$
|
|
8862
|
+
const spacing = i$7`
|
|
8863
8863
|
:host {
|
|
8864
8864
|
/* Square */
|
|
8865
8865
|
--lumo-space-xs: 0.25rem;
|
|
@@ -8892,7 +8892,7 @@ addLumoGlobalStyles('spacing-props', spacing);
|
|
|
8892
8892
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8893
8893
|
*/
|
|
8894
8894
|
|
|
8895
|
-
const style = i$
|
|
8895
|
+
const style = i$7`
|
|
8896
8896
|
:host {
|
|
8897
8897
|
/* Border radius */
|
|
8898
8898
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -8914,7 +8914,7 @@ const style = i$1`
|
|
|
8914
8914
|
/**
|
|
8915
8915
|
* Default values for component-specific custom properties.
|
|
8916
8916
|
*/
|
|
8917
|
-
i$
|
|
8917
|
+
i$7`
|
|
8918
8918
|
html {
|
|
8919
8919
|
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
|
|
8920
8920
|
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
|
|
@@ -8930,7 +8930,7 @@ addLumoGlobalStyles('style-props', style);
|
|
|
8930
8930
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8931
8931
|
*/
|
|
8932
8932
|
|
|
8933
|
-
const font$1 = i$
|
|
8933
|
+
const font$1 = i$7`
|
|
8934
8934
|
:host {
|
|
8935
8935
|
/* prettier-ignore */
|
|
8936
8936
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -8952,7 +8952,7 @@ const font$1 = i$1`
|
|
|
8952
8952
|
}
|
|
8953
8953
|
`;
|
|
8954
8954
|
|
|
8955
|
-
const typography$1 = i$
|
|
8955
|
+
const typography$1 = i$7`
|
|
8956
8956
|
body,
|
|
8957
8957
|
:host {
|
|
8958
8958
|
font-family: var(--lumo-font-family);
|
|
@@ -9049,7 +9049,7 @@ const typography$1 = i$1`
|
|
|
9049
9049
|
registerStyles('', typography$1, { moduleId: 'lumo-typography' });
|
|
9050
9050
|
addLumoGlobalStyles('typography-props', font$1);
|
|
9051
9051
|
|
|
9052
|
-
const item = i$
|
|
9052
|
+
const item = i$7`
|
|
9053
9053
|
:host {
|
|
9054
9054
|
display: flex;
|
|
9055
9055
|
align-items: center;
|
|
@@ -9132,7 +9132,7 @@ const item = i$1`
|
|
|
9132
9132
|
|
|
9133
9133
|
registerStyles('vaadin-item', item, { moduleId: 'lumo-item' });
|
|
9134
9134
|
|
|
9135
|
-
const comboBoxItem = i$
|
|
9135
|
+
const comboBoxItem = i$7`
|
|
9136
9136
|
:host {
|
|
9137
9137
|
transition: background-color 100ms;
|
|
9138
9138
|
overflow: hidden;
|
|
@@ -9156,7 +9156,7 @@ registerStyles('vaadin-combo-box-item', [item, comboBoxItem], {
|
|
|
9156
9156
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9157
9157
|
*/
|
|
9158
9158
|
|
|
9159
|
-
const sizing = i$
|
|
9159
|
+
const sizing = i$7`
|
|
9160
9160
|
:host {
|
|
9161
9161
|
--lumo-size-xs: 1.625rem;
|
|
9162
9162
|
--lumo-size-s: 1.875rem;
|
|
@@ -9181,7 +9181,7 @@ addLumoGlobalStyles$1('sizing-props', sizing);
|
|
|
9181
9181
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9182
9182
|
*/
|
|
9183
9183
|
|
|
9184
|
-
const loader = i$
|
|
9184
|
+
const loader = i$7`
|
|
9185
9185
|
[part~='loader'] {
|
|
9186
9186
|
box-sizing: border-box;
|
|
9187
9187
|
width: var(--lumo-icon-size-s);
|
|
@@ -9229,7 +9229,7 @@ const loader = i$1`
|
|
|
9229
9229
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9230
9230
|
*/
|
|
9231
9231
|
|
|
9232
|
-
const font = i$
|
|
9232
|
+
const font = i$7`
|
|
9233
9233
|
:host {
|
|
9234
9234
|
/* prettier-ignore */
|
|
9235
9235
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -9251,7 +9251,7 @@ const font = i$1`
|
|
|
9251
9251
|
}
|
|
9252
9252
|
`;
|
|
9253
9253
|
|
|
9254
|
-
const typography = i$
|
|
9254
|
+
const typography = i$7`
|
|
9255
9255
|
body,
|
|
9256
9256
|
:host {
|
|
9257
9257
|
font-family: var(--lumo-font-family);
|
|
@@ -9354,7 +9354,7 @@ addLumoGlobalStyles$1('typography-props', font);
|
|
|
9354
9354
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9355
9355
|
*/
|
|
9356
9356
|
|
|
9357
|
-
const overlay = i$
|
|
9357
|
+
const overlay = i$7`
|
|
9358
9358
|
:host {
|
|
9359
9359
|
top: var(--lumo-space-m);
|
|
9360
9360
|
right: var(--lumo-space-m);
|
|
@@ -9427,7 +9427,7 @@ registerStyles('', overlay, { moduleId: 'lumo-overlay' });
|
|
|
9427
9427
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9428
9428
|
*/
|
|
9429
9429
|
|
|
9430
|
-
const menuOverlayCore = i$
|
|
9430
|
+
const menuOverlayCore = i$7`
|
|
9431
9431
|
:host([opening]),
|
|
9432
9432
|
:host([closing]) {
|
|
9433
9433
|
animation: 0.14s lumo-overlay-dummy-animation;
|
|
@@ -9461,7 +9461,7 @@ const menuOverlayCore = i$1`
|
|
|
9461
9461
|
|
|
9462
9462
|
registerStyles('', menuOverlayCore, { moduleId: 'lumo-menu-overlay-core' });
|
|
9463
9463
|
|
|
9464
|
-
const menuOverlayExt = i$
|
|
9464
|
+
const menuOverlayExt = i$7`
|
|
9465
9465
|
/* Small viewport (bottom sheet) styles */
|
|
9466
9466
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
9467
9467
|
@media (max-width: 420px), (max-height: 420px) {
|
|
@@ -9529,7 +9529,7 @@ const menuOverlay = [overlay, menuOverlayCore, menuOverlayExt];
|
|
|
9529
9529
|
|
|
9530
9530
|
registerStyles('', menuOverlay, { moduleId: 'lumo-menu-overlay' });
|
|
9531
9531
|
|
|
9532
|
-
const comboBoxOverlay = i$
|
|
9532
|
+
const comboBoxOverlay = i$7`
|
|
9533
9533
|
[part='content'] {
|
|
9534
9534
|
padding: 0;
|
|
9535
9535
|
}
|
|
@@ -9552,7 +9552,7 @@ const comboBoxOverlay = i$1`
|
|
|
9552
9552
|
}
|
|
9553
9553
|
`;
|
|
9554
9554
|
|
|
9555
|
-
const comboBoxLoader = i$
|
|
9555
|
+
const comboBoxLoader = i$7`
|
|
9556
9556
|
[part~='loader'] {
|
|
9557
9557
|
position: absolute;
|
|
9558
9558
|
z-index: 1;
|
|
@@ -9581,7 +9581,7 @@ registerStyles(
|
|
|
9581
9581
|
comboBoxOverlay,
|
|
9582
9582
|
loader,
|
|
9583
9583
|
comboBoxLoader,
|
|
9584
|
-
i$
|
|
9584
|
+
i$7`
|
|
9585
9585
|
:host {
|
|
9586
9586
|
--_vaadin-combo-box-items-container-border-width: var(--lumo-space-xs);
|
|
9587
9587
|
--_vaadin-combo-box-items-container-border-style: solid;
|
|
@@ -9597,7 +9597,7 @@ registerStyles(
|
|
|
9597
9597
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9598
9598
|
*/
|
|
9599
9599
|
|
|
9600
|
-
const fontIcons = i$
|
|
9600
|
+
const fontIcons = i$7`
|
|
9601
9601
|
@font-face {
|
|
9602
9602
|
font-family: 'lumo-icons';
|
|
9603
9603
|
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJ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ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
|
|
@@ -9660,7 +9660,7 @@ addLumoGlobalStyles$1('font-icons', fontIcons);
|
|
|
9660
9660
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9661
9661
|
*/
|
|
9662
9662
|
|
|
9663
|
-
const fieldButton = i$
|
|
9663
|
+
const fieldButton = i$7`
|
|
9664
9664
|
[part$='button'] {
|
|
9665
9665
|
flex: none;
|
|
9666
9666
|
width: 1em;
|
|
@@ -9696,7 +9696,7 @@ registerStyles('', fieldButton, { moduleId: 'lumo-field-button' });
|
|
|
9696
9696
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9697
9697
|
*/
|
|
9698
9698
|
|
|
9699
|
-
const helper = i$
|
|
9699
|
+
const helper = i$7`
|
|
9700
9700
|
:host([has-helper]) [part='helper-text']::before {
|
|
9701
9701
|
content: '';
|
|
9702
9702
|
display: block;
|
|
@@ -9755,7 +9755,7 @@ const helper = i$1`
|
|
|
9755
9755
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9756
9756
|
*/
|
|
9757
9757
|
|
|
9758
|
-
const requiredField = i$
|
|
9758
|
+
const requiredField = i$7`
|
|
9759
9759
|
[part='label'] {
|
|
9760
9760
|
align-self: flex-start;
|
|
9761
9761
|
color: var(--lumo-secondary-text-color);
|
|
@@ -9861,7 +9861,7 @@ registerStyles('', requiredField, { moduleId: 'lumo-required-field' });
|
|
|
9861
9861
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9862
9862
|
*/
|
|
9863
9863
|
|
|
9864
|
-
const inputField = i$
|
|
9864
|
+
const inputField = i$7`
|
|
9865
9865
|
:host {
|
|
9866
9866
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
9867
9867
|
color: var(--lumo-body-text-color);
|
|
@@ -10003,7 +10003,7 @@ registerStyles('', inputFieldShared$1, {
|
|
|
10003
10003
|
moduleId: 'lumo-input-field-shared-styles',
|
|
10004
10004
|
});
|
|
10005
10005
|
|
|
10006
|
-
const comboBox = i$
|
|
10006
|
+
const comboBox = i$7`
|
|
10007
10007
|
:host {
|
|
10008
10008
|
outline: none;
|
|
10009
10009
|
}
|
|
@@ -11853,13 +11853,39 @@ const OverlayMixin = (superClass) =>
|
|
|
11853
11853
|
}
|
|
11854
11854
|
};
|
|
11855
11855
|
|
|
11856
|
+
/**
|
|
11857
|
+
* @license
|
|
11858
|
+
* Copyright 2019 Google LLC
|
|
11859
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
11860
|
+
*/
|
|
11861
|
+
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;
|
|
11862
|
+
|
|
11863
|
+
/**
|
|
11864
|
+
* @license
|
|
11865
|
+
* Copyright 2017 Google LLC
|
|
11866
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
11867
|
+
*/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");
|
|
11868
|
+
|
|
11869
|
+
/**
|
|
11870
|
+
* @license
|
|
11871
|
+
* Copyright 2017 Google LLC
|
|
11872
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
11873
|
+
*/
|
|
11874
|
+
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};
|
|
11875
|
+
|
|
11876
|
+
/**
|
|
11877
|
+
* @license
|
|
11878
|
+
* Copyright 2017 Google LLC
|
|
11879
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
11880
|
+
*/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");
|
|
11881
|
+
|
|
11856
11882
|
/**
|
|
11857
11883
|
* @license
|
|
11858
11884
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
11859
11885
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11860
11886
|
*/
|
|
11861
11887
|
|
|
11862
|
-
const overlayStyles = i$
|
|
11888
|
+
const overlayStyles = i$5`
|
|
11863
11889
|
:host {
|
|
11864
11890
|
z-index: 200;
|
|
11865
11891
|
position: fixed;
|
|
@@ -12472,7 +12498,7 @@ const ComboBoxOverlayMixin = (superClass) =>
|
|
|
12472
12498
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12473
12499
|
*/
|
|
12474
12500
|
|
|
12475
|
-
const comboBoxOverlayStyles = i$
|
|
12501
|
+
const comboBoxOverlayStyles = i$7`
|
|
12476
12502
|
#overlay {
|
|
12477
12503
|
width: var(--vaadin-combo-box-overlay-width, var(--_vaadin-combo-box-overlay-default-width, auto));
|
|
12478
12504
|
}
|
|
@@ -18858,6 +18884,32 @@ const PatternMixin = (superclass) =>
|
|
|
18858
18884
|
}
|
|
18859
18885
|
};
|
|
18860
18886
|
|
|
18887
|
+
/**
|
|
18888
|
+
* @license
|
|
18889
|
+
* Copyright 2019 Google LLC
|
|
18890
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
18891
|
+
*/
|
|
18892
|
+
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;
|
|
18893
|
+
|
|
18894
|
+
/**
|
|
18895
|
+
* @license
|
|
18896
|
+
* Copyright 2017 Google LLC
|
|
18897
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
18898
|
+
*/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");
|
|
18899
|
+
|
|
18900
|
+
/**
|
|
18901
|
+
* @license
|
|
18902
|
+
* Copyright 2017 Google LLC
|
|
18903
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
18904
|
+
*/
|
|
18905
|
+
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};
|
|
18906
|
+
|
|
18907
|
+
/**
|
|
18908
|
+
* @license
|
|
18909
|
+
* Copyright 2017 Google LLC
|
|
18910
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
18911
|
+
*/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");
|
|
18912
|
+
|
|
18861
18913
|
/**
|
|
18862
18914
|
* @license
|
|
18863
18915
|
* Copyright (c) 2021 - 2023 Vaadin Ltd..
|
|
@@ -21033,6 +21085,94 @@ const UserLoginStyle0 = userLoginCss;
|
|
|
21033
21085
|
const UserLogin = class {
|
|
21034
21086
|
constructor(hostRef) {
|
|
21035
21087
|
index.registerInstance(this, hostRef);
|
|
21088
|
+
/**
|
|
21089
|
+
* API endpoint URL for login requests
|
|
21090
|
+
*/
|
|
21091
|
+
this.endpoint = '';
|
|
21092
|
+
/**
|
|
21093
|
+
* Language code for translations (default is 'en')
|
|
21094
|
+
*/
|
|
21095
|
+
this.lang = 'en';
|
|
21096
|
+
/**
|
|
21097
|
+
* Inline CSS styling provided by the client
|
|
21098
|
+
*/
|
|
21099
|
+
this.clientStyling = '';
|
|
21100
|
+
/**
|
|
21101
|
+
* URL to load additional CSS styling
|
|
21102
|
+
*/
|
|
21103
|
+
this.clientStylingUrl = '';
|
|
21104
|
+
/**
|
|
21105
|
+
* URL for fetching translations
|
|
21106
|
+
*/
|
|
21107
|
+
this.translationUrl = '';
|
|
21108
|
+
/**
|
|
21109
|
+
* Flag indicating whether the password reset feature is enabled
|
|
21110
|
+
*/
|
|
21111
|
+
this.passwordReset = 'false';
|
|
21112
|
+
/**
|
|
21113
|
+
* Regex options for user email validation
|
|
21114
|
+
*/
|
|
21115
|
+
this.userEmailRegexOptions = 'i';
|
|
21116
|
+
/**
|
|
21117
|
+
* User phone regex options
|
|
21118
|
+
*/
|
|
21119
|
+
this.userPhoneRegexOptions = '';
|
|
21120
|
+
/**
|
|
21121
|
+
* Regex options for password validation
|
|
21122
|
+
*/
|
|
21123
|
+
this.passwordRegexOptions = '';
|
|
21124
|
+
/**
|
|
21125
|
+
* Flag to determine if the component uses version 2 of the API
|
|
21126
|
+
*/
|
|
21127
|
+
this.version = 'gm16';
|
|
21128
|
+
/**
|
|
21129
|
+
* If set to true, login will be done by phone number, else by username/email
|
|
21130
|
+
*/
|
|
21131
|
+
this.loginByPhoneNumber = 'false';
|
|
21132
|
+
/**
|
|
21133
|
+
* User email or username entered in the form
|
|
21134
|
+
*/
|
|
21135
|
+
this.userNameEmail = '';
|
|
21136
|
+
/**
|
|
21137
|
+
* Password entered in the form
|
|
21138
|
+
*/
|
|
21139
|
+
this.userPassword = '';
|
|
21140
|
+
/**
|
|
21141
|
+
* Flag to indicate whether the entered email is valid
|
|
21142
|
+
*/
|
|
21143
|
+
this.isValidUserEmail = true;
|
|
21144
|
+
/**
|
|
21145
|
+
* User phone entered in the form
|
|
21146
|
+
*/
|
|
21147
|
+
this.userPhone = '';
|
|
21148
|
+
/**
|
|
21149
|
+
* User prefix entered in the form
|
|
21150
|
+
*/
|
|
21151
|
+
this.userPrefix = '';
|
|
21152
|
+
/**
|
|
21153
|
+
* Flag to indicate whether the entered password is valid
|
|
21154
|
+
*/
|
|
21155
|
+
this.isValidPassword = true;
|
|
21156
|
+
/**
|
|
21157
|
+
* Flag to indicate whether the entered phone is valid
|
|
21158
|
+
*/
|
|
21159
|
+
this.isValidUserPhone = true;
|
|
21160
|
+
/**
|
|
21161
|
+
* Toggles visibility of the password field
|
|
21162
|
+
*/
|
|
21163
|
+
this.isPasswordVisible = false;
|
|
21164
|
+
/**
|
|
21165
|
+
* Internal flag to prevent duplicate client styling appends
|
|
21166
|
+
*/
|
|
21167
|
+
this.limitStylingAppends = false;
|
|
21168
|
+
/**
|
|
21169
|
+
* Stores error message from the API
|
|
21170
|
+
*/
|
|
21171
|
+
this.errorMessage = '';
|
|
21172
|
+
/**
|
|
21173
|
+
* Indicates whether an error has occurred
|
|
21174
|
+
*/
|
|
21175
|
+
this.hasError = false;
|
|
21036
21176
|
this.errorCode = '';
|
|
21037
21177
|
/**
|
|
21038
21178
|
* Apply inline client styling
|
|
@@ -21287,32 +21427,6 @@ const UserLogin = class {
|
|
|
21287
21427
|
this.resetPassword = () => {
|
|
21288
21428
|
window.postMessage({ type: "NavForgotPassword" }, window.location.href);
|
|
21289
21429
|
};
|
|
21290
|
-
this.endpoint = '';
|
|
21291
|
-
this.lang = 'en';
|
|
21292
|
-
this.clientStyling = '';
|
|
21293
|
-
this.clientStylingUrl = '';
|
|
21294
|
-
this.translationUrl = '';
|
|
21295
|
-
this.passwordReset = 'false';
|
|
21296
|
-
this.userEmailRegex = undefined;
|
|
21297
|
-
this.userEmailRegexOptions = 'i';
|
|
21298
|
-
this.userPhoneRegex = undefined;
|
|
21299
|
-
this.userPhoneRegexOptions = '';
|
|
21300
|
-
this.passwordRegex = undefined;
|
|
21301
|
-
this.passwordRegexOptions = '';
|
|
21302
|
-
this.version = 'gm16';
|
|
21303
|
-
this.loginByPhoneNumber = 'false';
|
|
21304
|
-
this.userNameEmail = '';
|
|
21305
|
-
this.userPassword = '';
|
|
21306
|
-
this.isValidUserEmail = true;
|
|
21307
|
-
this.userPhone = '';
|
|
21308
|
-
this.userPrefix = '';
|
|
21309
|
-
this.isValidPassword = true;
|
|
21310
|
-
this.isValidUserPhone = true;
|
|
21311
|
-
this.isPasswordVisible = false;
|
|
21312
|
-
this.limitStylingAppends = false;
|
|
21313
|
-
this.errorMessage = '';
|
|
21314
|
-
this.hasError = false;
|
|
21315
|
-
this.userPrefixOptions = undefined;
|
|
21316
21430
|
}
|
|
21317
21431
|
/**
|
|
21318
21432
|
* Watch for changes in the translation URL and fetch new translations
|