@everymatrix/general-input 1.53.0 → 1.53.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/checkbox-group-input_10.cjs.entry.js +1707 -584
- package/dist/cjs/general-input.cjs.entry.js +17 -18
- package/dist/cjs/general-input.cjs.js +2 -2
- package/dist/cjs/{index-01420a64.js → index-1277658a.js} +171 -76
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/toggle-checkbox-input.cjs.entry.js +12 -16
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/checkbox-group-input/checkbox-group-input.js +33 -17
- package/dist/collection/components/checkbox-input/checkbox-input.js +29 -14
- package/dist/collection/components/date-input/date-input.js +35 -17
- package/dist/collection/components/email-input/email-input.js +29 -16
- package/dist/collection/components/general-input/general-input.js +51 -18
- package/dist/collection/components/number-input/number-input.js +27 -15
- package/dist/collection/components/password-input/password-input.js +34 -19
- package/dist/collection/components/radio-input/radio-input.js +24 -14
- package/dist/collection/components/select-input/select-input.js +39 -17
- package/dist/collection/components/tel-input/tel-input.js +31 -17
- package/dist/collection/components/text-input/text-input.js +36 -17
- package/dist/collection/components/toggle-checkbox-input/toggle-checkbox-input.js +33 -17
- package/dist/esm/checkbox-group-input_10.entry.js +1742 -619
- package/dist/esm/general-input.entry.js +17 -18
- package/dist/esm/general-input.js +3 -3
- package/dist/esm/{index-542cff81.js → index-b1fc8a5f.js} +171 -76
- package/dist/esm/loader.js +2 -2
- package/dist/esm/toggle-checkbox-input.entry.js +12 -16
- package/dist/general-input/general-input.esm.js +1 -1
- package/dist/general-input/p-09c73744.js +2 -0
- package/dist/general-input/p-1922ef4e.entry.js +1 -0
- package/dist/general-input/{p-cc4fcb3f.entry.js → p-5b3e1098.entry.js} +1912 -926
- package/dist/general-input/p-ab0375f4.entry.js +1 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-input/.stencil/packages/stencil/general-input/stencil.config.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-input/.stencil/packages/stencil/general-input/stencil.config.dev.d.ts +2 -0
- package/package.json +1 -1
- package/dist/general-input/p-3cab3b95.entry.js +0 -1
- package/dist/general-input/p-3ce1e382.js +0 -2
- package/dist/general-input/p-e5532cb1.entry.js +0 -1
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-input/.stencil/packages/stencil/general-input/stencil.config.d.ts +0 -2
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-input/.stencil/packages/stencil/general-input/stencil.config.dev.d.ts +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-1277658a.js');
|
|
6
6
|
const locale_utils = require('./locale.utils-345d0792.js');
|
|
7
7
|
const tooltipIcon = require('./tooltipIcon-7e9ee226.js');
|
|
8
8
|
|
|
@@ -57,26 +57,26 @@ defineCustomElement(Lumo$4);
|
|
|
57
57
|
* Copyright 2019 Google LLC
|
|
58
58
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
59
59
|
*/
|
|
60
|
-
const t$
|
|
60
|
+
const t$9=window,e$e=t$9.ShadowRoot&&(void 0===t$9.ShadyCSS||t$9.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$h=Symbol(),n$i=new WeakMap;class o$i{constructor(t,e,n){if(this._$cssResult$=!0,n!==s$h)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$e&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=n$i.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&n$i.set(s,t));}return t}toString(){return this.cssText}}const r$f=t=>new o$i("string"==typeof t?t:t+"",void 0,s$h),i$b=(t,...e)=>{const n=1===t.length?t[0]:e.reduce(((e,s,n)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[n+1]),t[0]);return new o$i(n,t,s$h)},S$9=(s,n)=>{e$e?s.adoptedStyleSheets=n.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):n.forEach((e=>{const n=document.createElement("style"),o=t$9.litNonce;void 0!==o&&n.setAttribute("nonce",o),n.textContent=e.cssText,s.appendChild(n);}));},c$a=e$e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$f(e)})(t):t;
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
63
|
* @license
|
|
64
64
|
* Copyright 2017 Google LLC
|
|
65
65
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
66
|
-
*/var s$
|
|
66
|
+
*/var s$g;const e$d=window,r$e=e$d.trustedTypes,h$9=r$e?r$e.emptyScript:"",o$h=e$d.reactiveElementPolyfillSupport,n$h={toAttribute(t,i){switch(i){case Boolean:t=t?h$9:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,i){let s=t;switch(i){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t);}catch(t){s=null;}}return s}},a$9=(t,i)=>i!==t&&(i==i||t==t),l$d={attribute:!0,type:String,converter:n$h,reflect:!1,hasChanged:a$9},d$9="finalized";class u$9 extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu();}static addInitializer(t){var i;this.finalize(),(null!==(i=this.h)&&void 0!==i?i:this.h=[]).push(t);}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((i,s)=>{const e=this._$Ep(s,i);void 0!==e&&(this._$Ev.set(e,s),t.push(e));})),t}static createProperty(t,i=l$d){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(t,i),!i.noAccessor&&!this.prototype.hasOwnProperty(t)){const s="symbol"==typeof t?Symbol():"__"+t,e=this.getPropertyDescriptor(t,s,i);void 0!==e&&Object.defineProperty(this.prototype,t,e);}}static getPropertyDescriptor(t,i,s){return {get(){return this[i]},set(e){const r=this[t];this[i]=e,this.requestUpdate(t,r,s);},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||l$d}static finalize(){if(this.hasOwnProperty(d$9))return !1;this[d$9]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const s of i)this.createProperty(s,t[s]);}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(i){const s=[];if(Array.isArray(i)){const e=new Set(i.flat(1/0).reverse());for(const i of e)s.unshift(c$a(i));}else void 0!==i&&s.push(c$a(i));return s}static _$Ep(t,i){const s=i.attribute;return !1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)));}addController(t){var i,s;(null!==(i=this._$ES)&&void 0!==i?i:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(s=t.hostConnected)||void 0===s||s.call(t));}removeController(t){var i;null===(i=this._$ES)||void 0===i||i.splice(this._$ES.indexOf(t)>>>0,1);}_$Eg(){this.constructor.elementProperties.forEach(((t,i)=>{this.hasOwnProperty(i)&&(this._$Ei.set(i,this[i]),delete this[i]);}));}createRenderRoot(){var t;const s=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return S$9(s,this.constructor.elementStyles),s}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostConnected)||void 0===i?void 0:i.call(t)}));}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostDisconnected)||void 0===i?void 0:i.call(t)}));}attributeChangedCallback(t,i,s){this._$AK(t,s);}_$EO(t,i,s=l$d){var e;const r=this.constructor._$Ep(t,s);if(void 0!==r&&!0===s.reflect){const h=(void 0!==(null===(e=s.converter)||void 0===e?void 0:e.toAttribute)?s.converter:n$h).toAttribute(i,s.type);this._$El=t,null==h?this.removeAttribute(r):this.setAttribute(r,h),this._$El=null;}}_$AK(t,i){var s;const e=this.constructor,r=e._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=e.getPropertyOptions(r),h="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(s=t.converter)||void 0===s?void 0:s.fromAttribute)?t.converter:n$h;this._$El=r,this[r]=h.fromAttribute(i,t.type),this._$El=null;}}requestUpdate(t,i,s){let e=!0;void 0!==t&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||a$9)(this[t],i)?(this._$AL.has(t)||this._$AL.set(t,i),!0===s.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,s))):e=!1),!this.isUpdatePending&&e&&(this._$E_=this._$Ej());}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this._$Ei&&(this._$Ei.forEach(((t,i)=>this[i]=t)),this._$Ei=void 0);let i=!1;const s=this._$AL;try{i=this.shouldUpdate(s),i?(this.willUpdate(s),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostUpdate)||void 0===i?void 0:i.call(t)})),this.update(s)):this._$Ek();}catch(t){throw i=!1,this._$Ek(),t}i&&this._$AE(s);}willUpdate(t){}_$AE(t){var i;null===(i=this._$ES)||void 0===i||i.forEach((t=>{var i;return null===(i=t.hostUpdated)||void 0===i?void 0:i.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t);}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return !0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,i)=>this._$EO(i,this[i],t))),this._$EC=void 0),this._$Ek();}updated(t){}firstUpdated(t){}}u$9[d$9]=!0,u$9.elementProperties=new Map,u$9.elementStyles=[],u$9.shadowRootOptions={mode:"open"},null==o$h||o$h({ReactiveElement:u$9}),(null!==(s$g=e$d.reactiveElementVersions)&&void 0!==s$g?s$g:e$d.reactiveElementVersions=[]).push("1.6.3");
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
69
|
* @license
|
|
70
70
|
* Copyright 2017 Google LLC
|
|
71
71
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
72
72
|
*/
|
|
73
|
-
var t;const i=window,s$
|
|
73
|
+
var t$8;const i$a=window,s$f=i$a.trustedTypes,e$c=s$f?s$f.createPolicy("lit-html",{createHTML:t=>t}):void 0,o$g="$lit$",n$g=`lit$${(Math.random()+"").slice(9)}$`,l$c="?"+n$g,h$8=`<${l$c}>`,r$d=document,u$8=()=>r$d.createComment(""),d$8=t=>null===t||"object"!=typeof t&&"function"!=typeof t,c$9=Array.isArray,v$4=t=>c$9(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),a$8="[ \t\n\f\r]",f$5=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_$4=/-->/g,m$4=/>/g,p$5=RegExp(`>|${a$8}(?:([^\\s"'>=/]+)(${a$8}*=${a$8}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),g$4=/'/g,$$4=/"/g,y$4=/^(?:script|style|textarea|title)$/i,T$4=Symbol.for("lit-noChange"),A$4=Symbol.for("lit-nothing"),E$4=new WeakMap,C$4=r$d.createTreeWalker(r$d,129,null,!1);function P$4(t,i){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==e$c?e$c.createHTML(i):i}const V$4=(t,i)=>{const s=t.length-1,e=[];let l,r=2===i?"<svg>":"",u=f$5;for(let i=0;i<s;i++){const s=t[i];let d,c,v=-1,a=0;for(;a<s.length&&(u.lastIndex=a,c=u.exec(s),null!==c);)a=u.lastIndex,u===f$5?"!--"===c[1]?u=_$4:void 0!==c[1]?u=m$4:void 0!==c[2]?(y$4.test(c[2])&&(l=RegExp("</"+c[2],"g")),u=p$5):void 0!==c[3]&&(u=p$5):u===p$5?">"===c[0]?(u=null!=l?l:f$5,v=-1):void 0===c[1]?v=-2:(v=u.lastIndex-c[2].length,d=c[1],u=void 0===c[3]?p$5:'"'===c[3]?$$4:g$4):u===$$4||u===g$4?u=p$5:u===_$4||u===m$4?u=f$5:(u=p$5,l=void 0);const w=u===p$5&&t[i+1].startsWith("/>")?" ":"";r+=u===f$5?s+h$8:v>=0?(e.push(d),s.slice(0,v)+o$g+s.slice(v)+n$g+w):s+n$g+(-2===v?(e.push(void 0),i):w);}return [P$4(t,r+(t[s]||"<?>")+(2===i?"</svg>":"")),e]};class N$4{constructor({strings:t,_$litType$:i},e){let h;this.parts=[];let r=0,d=0;const c=t.length-1,v=this.parts,[a,f]=V$4(t,i);if(this.el=N$4.createElement(a,e),C$4.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes);}for(;null!==(h=C$4.nextNode())&&v.length<c;){if(1===h.nodeType){if(h.hasAttributes()){const t=[];for(const i of h.getAttributeNames())if(i.endsWith(o$g)||i.startsWith(n$g)){const s=f[d++];if(t.push(i),void 0!==s){const t=h.getAttribute(s.toLowerCase()+o$g).split(n$g),i=/([.?@])?(.*)/.exec(s);v.push({type:1,index:r,name:i[2],strings:t,ctor:"."===i[1]?H$4:"?"===i[1]?L$4:"@"===i[1]?z$4:k$4});}else v.push({type:6,index:r});}for(const i of t)h.removeAttribute(i);}if(y$4.test(h.tagName)){const t=h.textContent.split(n$g),i=t.length-1;if(i>0){h.textContent=s$f?s$f.emptyScript:"";for(let s=0;s<i;s++)h.append(t[s],u$8()),C$4.nextNode(),v.push({type:2,index:++r});h.append(t[i],u$8());}}}else if(8===h.nodeType)if(h.data===l$c)v.push({type:2,index:r});else {let t=-1;for(;-1!==(t=h.data.indexOf(n$g,t+1));)v.push({type:7,index:r}),t+=n$g.length-1;}r++;}}static createElement(t,i){const s=r$d.createElement("template");return s.innerHTML=t,s}}function S$8(t,i,s=t,e){var o,n,l,h;if(i===T$4)return i;let r=void 0!==e?null===(o=s._$Co)||void 0===o?void 0:o[e]:s._$Cl;const u=d$8(i)?void 0:i._$litDirective$;return (null==r?void 0:r.constructor)!==u&&(null===(n=null==r?void 0:r._$AO)||void 0===n||n.call(r,!1),void 0===u?r=void 0:(r=new u(t),r._$AT(t,s,e)),void 0!==e?(null!==(l=(h=s)._$Co)&&void 0!==l?l:h._$Co=[])[e]=r:s._$Cl=r),void 0!==r&&(i=S$8(t,r._$AS(t,i.values),r,e)),i}class M$4{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:s},parts:e}=this._$AD,o=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:r$d).importNode(s,!0);C$4.currentNode=o;let n=C$4.nextNode(),l=0,h=0,u=e[0];for(;void 0!==u;){if(l===u.index){let i;2===u.type?i=new R$4(n,n.nextSibling,this,t):1===u.type?i=new u.ctor(n,u.name,u.strings,this,t):6===u.type&&(i=new Z$3(n,this,t)),this._$AV.push(i),u=e[++h];}l!==(null==u?void 0:u.index)&&(n=C$4.nextNode(),l++);}return C$4.currentNode=r$d,o}v(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R$4{constructor(t,i,s,e){var o;this.type=2,this._$AH=A$4,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cp=null===(o=null==e?void 0:e.isConnected)||void 0===o||o;}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$8(this,t,i),d$8(t)?t===A$4||null==t||""===t?(this._$AH!==A$4&&this._$AR(),this._$AH=A$4):t!==this._$AH&&t!==T$4&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):v$4(t)?this.T(t):this._(t);}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t));}_(t){this._$AH!==A$4&&d$8(this._$AH)?this._$AA.nextSibling.data=t:this.$(r$d.createTextNode(t)),this._$AH=t;}g(t){var i;const{values:s,_$litType$:e}=t,o="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=N$4.createElement(P$4(e.h,e.h[0]),this.options)),e);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===o)this._$AH.v(s);else {const t=new M$4(o,this),i=t.u(this.options);t.v(s),this.$(i),this._$AH=t;}}_$AC(t){let i=E$4.get(t.strings);return void 0===i&&E$4.set(t.strings,i=new N$4(t)),i}T(t){c$9(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const o of t)e===i.length?i.push(s=new R$4(this.k(u$8()),this.k(u$8()),this,this.options)):s=i[e],s._$AI(o),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){var s;for(null===(s=this._$AP)||void 0===s||s.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t));}}class k$4{constructor(t,i,s,e,o){this.type=1,this._$AH=A$4,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=o,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=A$4;}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,s,e){const o=this.strings;let n=!1;if(void 0===o)t=S$8(this,t,i,0),n=!d$8(t)||t!==this._$AH&&t!==T$4,n&&(this._$AH=t);else {const e=t;let l,h;for(t=o[0],l=0;l<o.length-1;l++)h=S$8(this,e[s+l],i,l),h===T$4&&(h=this._$AH[l]),n||(n=!d$8(h)||h!==this._$AH[l]),h===A$4?t=A$4:t!==A$4&&(t+=(null!=h?h:"")+o[l+1]),this._$AH[l]=h;}n&&!e&&this.j(t);}j(t){t===A$4?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"");}}class H$4 extends k$4{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===A$4?void 0:t;}}const I$4=s$f?s$f.emptyScript:"";class L$4 extends k$4{constructor(){super(...arguments),this.type=4;}j(t){t&&t!==A$4?this.element.setAttribute(this.name,I$4):this.element.removeAttribute(this.name);}}class z$4 extends k$4{constructor(t,i,s,e,o){super(t,i,s,e,o),this.type=5;}_$AI(t,i=this){var s;if((t=null!==(s=S$8(this,t,i,0))&&void 0!==s?s:A$4)===T$4)return;const e=this._$AH,o=t===A$4&&e!==A$4||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==A$4&&(e===A$4||o);o&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){var i,s;"function"==typeof this._$AH?this._$AH.call(null!==(s=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==s?s:this.element,t):this._$AH.handleEvent(t);}}class Z$3{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$8(this,t);}}const B$4=i$a.litHtmlPolyfillSupport;null==B$4||B$4(N$4,R$4),(null!==(t$8=i$a.litHtmlVersions)&&void 0!==t$8?t$8:i$a.litHtmlVersions=[]).push("2.8.0");const D$3=(t,i,s)=>{var e,o;const n=null!==(e=null==s?void 0:s.renderBefore)&&void 0!==e?e:i;let l=n._$litPart$;if(void 0===l){const t=null!==(o=null==s?void 0:s.renderBefore)&&void 0!==o?o:null;n._$litPart$=l=new R$4(i.insertBefore(u$8(),t),t,void 0,null!=s?s:{});}return l._$AI(t),l};
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
76
|
* @license
|
|
77
77
|
* Copyright 2017 Google LLC
|
|
78
78
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
79
|
-
*/var l,o;class s extends u$
|
|
79
|
+
*/var l$b,o$f;class s$e extends u$9{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=D$3(i,this.renderRoot,this.renderOptions);}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0);}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1);}render(){return T$4}}s$e.finalized=!0,s$e._$litElement$=!0,null===(l$b=globalThis.litElementHydrateSupport)||void 0===l$b||l$b.call(globalThis,{LitElement:s$e});const n$f=globalThis.litElementPolyfillSupport;null==n$f||n$f({LitElement:s$e});(null!==(o$f=globalThis.litElementVersions)&&void 0!==o$f?o$f:globalThis.litElementVersions=[]).push("3.3.3");
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
82
|
* @license
|
|
@@ -175,7 +175,7 @@ function hasThemes(tagName) {
|
|
|
175
175
|
*/
|
|
176
176
|
function flattenStyles(styles = []) {
|
|
177
177
|
return [styles].flat(Infinity).filter((style) => {
|
|
178
|
-
if (style instanceof o$
|
|
178
|
+
if (style instanceof o$i) {
|
|
179
179
|
return true;
|
|
180
180
|
}
|
|
181
181
|
console.warn('An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`.');
|
|
@@ -404,7 +404,7 @@ const addLumoGlobalStyles$4 = (id, ...styles) => {
|
|
|
404
404
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
405
405
|
*/
|
|
406
406
|
|
|
407
|
-
const colorBase$3 = i$
|
|
407
|
+
const colorBase$3 = i$b`
|
|
408
408
|
:host {
|
|
409
409
|
/* Base (background) */
|
|
410
410
|
--lumo-base-color: #fff;
|
|
@@ -493,7 +493,7 @@ const colorBase$3 = i$1`
|
|
|
493
493
|
|
|
494
494
|
addLumoGlobalStyles$4('color-props', colorBase$3);
|
|
495
495
|
|
|
496
|
-
const color$3 = i$
|
|
496
|
+
const color$3 = i$b`
|
|
497
497
|
[theme~='dark'] {
|
|
498
498
|
/* Base (background) */
|
|
499
499
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -618,7 +618,7 @@ registerStyles('', color$3, { moduleId: 'lumo-color' });
|
|
|
618
618
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
619
619
|
*/
|
|
620
620
|
|
|
621
|
-
const fontIcons$
|
|
621
|
+
const fontIcons$3 = i$b`
|
|
622
622
|
@font-face {
|
|
623
623
|
font-family: 'lumo-icons';
|
|
624
624
|
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMABF0UtwCEnIPM/zhLK8LqhfXRybSP14XUYtHV9hGYQwQBNIo3cUIPkhQeM7rib1ekqnXg981XuC1qvy84lzojleh3puxL0hPjGjRU473teloEefAUNGjJkwZcacBUtWrNmwZceeA0dOnLlw5cadB09elPGhGf+j0NTI/65KfXerT6JhqKnpRKtgOpuqaTrtKjPUlqHmhto21I7pL6i6hlqY3q7qGWrfUAeGOjTUkaGODXViqFNDnRnq3FAXhro01JWhrg11Y6hbQ90Z6t5QD4Z6NNSToZ4N9WKoV0O9GerdUB+G+jTUl6GWRvkL24BkEXictVh9bFvVFb/nxvbz+7Rf/N6zHcd2bCfP+Wic1Z9N0jpNHCD9SNqqoVBgbQoMjY+pjA4hNnWa2pV1rHSIif0DGkyT2k10Kmu1Cag6huj4ZpqYBHSqJsTEJgZCG3TaVBFv595nO3ZIv4RIrPPuvefe884599zzO/cRF8G/tgn6CFFImNgkR0ggX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4lzbsEux5qHvcIIMb/nueSMyTKkE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
|
|
@@ -673,7 +673,7 @@ const fontIcons$2 = i$1`
|
|
|
673
673
|
}
|
|
674
674
|
`;
|
|
675
675
|
|
|
676
|
-
addLumoGlobalStyles$4('font-icons', fontIcons$
|
|
676
|
+
addLumoGlobalStyles$4('font-icons', fontIcons$3);
|
|
677
677
|
|
|
678
678
|
/**
|
|
679
679
|
* @license
|
|
@@ -681,7 +681,7 @@ addLumoGlobalStyles$4('font-icons', fontIcons$2);
|
|
|
681
681
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
682
682
|
*/
|
|
683
683
|
|
|
684
|
-
const sizing$4 = i$
|
|
684
|
+
const sizing$4 = i$b`
|
|
685
685
|
:host {
|
|
686
686
|
--lumo-size-xs: 1.625rem;
|
|
687
687
|
--lumo-size-s: 1.875rem;
|
|
@@ -706,7 +706,7 @@ addLumoGlobalStyles$4('sizing-props', sizing$4);
|
|
|
706
706
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
707
707
|
*/
|
|
708
708
|
|
|
709
|
-
const spacing$3 = i$
|
|
709
|
+
const spacing$3 = i$b`
|
|
710
710
|
:host {
|
|
711
711
|
/* Square */
|
|
712
712
|
--lumo-space-xs: 0.25rem;
|
|
@@ -739,7 +739,7 @@ addLumoGlobalStyles$4('spacing-props', spacing$3);
|
|
|
739
739
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
740
740
|
*/
|
|
741
741
|
|
|
742
|
-
const style$4 = i$
|
|
742
|
+
const style$4 = i$b`
|
|
743
743
|
:host {
|
|
744
744
|
/* Border radius */
|
|
745
745
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -761,7 +761,7 @@ const style$4 = i$1`
|
|
|
761
761
|
/**
|
|
762
762
|
* Default values for component-specific custom properties.
|
|
763
763
|
*/
|
|
764
|
-
i$
|
|
764
|
+
i$b`
|
|
765
765
|
html {
|
|
766
766
|
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
|
|
767
767
|
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
|
|
@@ -777,7 +777,7 @@ addLumoGlobalStyles$4('style-props', style$4);
|
|
|
777
777
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
778
778
|
*/
|
|
779
779
|
|
|
780
|
-
const font$4 = i$
|
|
780
|
+
const font$4 = i$b`
|
|
781
781
|
:host {
|
|
782
782
|
/* prettier-ignore */
|
|
783
783
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -799,7 +799,7 @@ const font$4 = i$1`
|
|
|
799
799
|
}
|
|
800
800
|
`;
|
|
801
801
|
|
|
802
|
-
const typography$4 = i$
|
|
802
|
+
const typography$4 = i$b`
|
|
803
803
|
body,
|
|
804
804
|
:host {
|
|
805
805
|
font-family: var(--lumo-font-family);
|
|
@@ -898,7 +898,7 @@ addLumoGlobalStyles$4('typography-props', font$4);
|
|
|
898
898
|
|
|
899
899
|
registerStyles(
|
|
900
900
|
'vaadin-checkbox',
|
|
901
|
-
i$
|
|
901
|
+
i$b`
|
|
902
902
|
:host {
|
|
903
903
|
color: var(--lumo-body-text-color);
|
|
904
904
|
font-size: var(--lumo-font-size-m);
|
|
@@ -12756,7 +12756,7 @@ const CheckboxMixin = (superclass) =>
|
|
|
12756
12756
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12757
12757
|
*/
|
|
12758
12758
|
|
|
12759
|
-
const checkboxStyles = i$
|
|
12759
|
+
const checkboxStyles = i$b`
|
|
12760
12760
|
:host {
|
|
12761
12761
|
display: inline-block;
|
|
12762
12762
|
}
|
|
@@ -12916,7 +12916,7 @@ defineCustomElement(Checkbox);
|
|
|
12916
12916
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12917
12917
|
*/
|
|
12918
12918
|
|
|
12919
|
-
const helper$
|
|
12919
|
+
const helper$2 = i$b`
|
|
12920
12920
|
:host([has-helper]) [part='helper-text']::before {
|
|
12921
12921
|
content: '';
|
|
12922
12922
|
display: block;
|
|
@@ -12975,7 +12975,7 @@ const helper$1 = i$1`
|
|
|
12975
12975
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12976
12976
|
*/
|
|
12977
12977
|
|
|
12978
|
-
const requiredField$
|
|
12978
|
+
const requiredField$2 = i$b`
|
|
12979
12979
|
[part='label'] {
|
|
12980
12980
|
align-self: flex-start;
|
|
12981
12981
|
color: var(--lumo-secondary-text-color);
|
|
@@ -13073,9 +13073,9 @@ const requiredField$1 = i$1`
|
|
|
13073
13073
|
}
|
|
13074
13074
|
`;
|
|
13075
13075
|
|
|
13076
|
-
registerStyles('', requiredField$
|
|
13076
|
+
registerStyles('', requiredField$2, { moduleId: 'lumo-required-field' });
|
|
13077
13077
|
|
|
13078
|
-
const checkboxGroup = i$
|
|
13078
|
+
const checkboxGroup = i$b`
|
|
13079
13079
|
:host {
|
|
13080
13080
|
color: var(--lumo-body-text-color);
|
|
13081
13081
|
font-size: var(--lumo-font-size-m);
|
|
@@ -13120,7 +13120,7 @@ const checkboxGroup = i$1`
|
|
|
13120
13120
|
}
|
|
13121
13121
|
`;
|
|
13122
13122
|
|
|
13123
|
-
registerStyles('vaadin-checkbox-group', [requiredField$
|
|
13123
|
+
registerStyles('vaadin-checkbox-group', [requiredField$2, helper$2, checkboxGroup], {
|
|
13124
13124
|
moduleId: 'lumo-checkbox-group',
|
|
13125
13125
|
});
|
|
13126
13126
|
|
|
@@ -14341,27 +14341,23 @@ const CheckboxGroupInput = class {
|
|
|
14341
14341
|
index.registerInstance(this, hostRef);
|
|
14342
14342
|
this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
|
|
14343
14343
|
this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
|
|
14344
|
+
/**
|
|
14345
|
+
* Default value for the input.
|
|
14346
|
+
*/
|
|
14347
|
+
this.defaultValue = '';
|
|
14348
|
+
/**
|
|
14349
|
+
* Client custom styling via inline style
|
|
14350
|
+
*/
|
|
14351
|
+
this.clientStyling = '';
|
|
14352
|
+
this.limitStylingAppends = false;
|
|
14353
|
+
this.showTooltip = false;
|
|
14354
|
+
this.selectedValues = [];
|
|
14344
14355
|
this.value = null;
|
|
14345
14356
|
this.setClientStyling = () => {
|
|
14346
14357
|
let sheet = document.createElement('style');
|
|
14347
14358
|
sheet.innerHTML = this.clientStyling;
|
|
14348
14359
|
this.stylingContainer.prepend(sheet);
|
|
14349
14360
|
};
|
|
14350
|
-
this.name = undefined;
|
|
14351
|
-
this.displayName = undefined;
|
|
14352
|
-
this.defaultValue = '';
|
|
14353
|
-
this.autofilled = undefined;
|
|
14354
|
-
this.tooltip = undefined;
|
|
14355
|
-
this.options = undefined;
|
|
14356
|
-
this.validation = undefined;
|
|
14357
|
-
this.language = undefined;
|
|
14358
|
-
this.emitValue = undefined;
|
|
14359
|
-
this.clientStyling = '';
|
|
14360
|
-
this.errorMessage = undefined;
|
|
14361
|
-
this.isValid = undefined;
|
|
14362
|
-
this.limitStylingAppends = false;
|
|
14363
|
-
this.showTooltip = false;
|
|
14364
|
-
this.selectedValues = [];
|
|
14365
14361
|
}
|
|
14366
14362
|
validityChanged() {
|
|
14367
14363
|
this.validityStateHandler({ valid: this.isValid, name: this.name });
|
|
@@ -14459,25 +14455,22 @@ const CheckboxInput = class {
|
|
|
14459
14455
|
index.registerInstance(this, hostRef);
|
|
14460
14456
|
this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
|
|
14461
14457
|
this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
|
|
14458
|
+
/**
|
|
14459
|
+
* Default value for the input.
|
|
14460
|
+
*/
|
|
14461
|
+
this.defaultValue = '';
|
|
14462
|
+
/**
|
|
14463
|
+
* Client custom styling via inline style
|
|
14464
|
+
*/
|
|
14465
|
+
this.clientStyling = '';
|
|
14466
|
+
this.limitStylingAppends = false;
|
|
14467
|
+
this.showTooltip = false;
|
|
14462
14468
|
this.value = '';
|
|
14463
14469
|
this.setClientStyling = () => {
|
|
14464
14470
|
let sheet = document.createElement('style');
|
|
14465
14471
|
sheet.innerHTML = this.clientStyling;
|
|
14466
14472
|
this.stylingContainer.prepend(sheet);
|
|
14467
14473
|
};
|
|
14468
|
-
this.name = undefined;
|
|
14469
|
-
this.displayName = undefined;
|
|
14470
|
-
this.defaultValue = '';
|
|
14471
|
-
this.autofilled = undefined;
|
|
14472
|
-
this.tooltip = undefined;
|
|
14473
|
-
this.validation = undefined;
|
|
14474
|
-
this.language = undefined;
|
|
14475
|
-
this.emitValue = undefined;
|
|
14476
|
-
this.clientStyling = '';
|
|
14477
|
-
this.errorMessage = undefined;
|
|
14478
|
-
this.isValid = undefined;
|
|
14479
|
-
this.limitStylingAppends = false;
|
|
14480
|
-
this.showTooltip = false;
|
|
14481
14474
|
}
|
|
14482
14475
|
validityChanged() {
|
|
14483
14476
|
this.validityStateHandler({ valid: this.isValid, name: this.name });
|
|
@@ -14585,7 +14578,7 @@ const addLumoGlobalStyles$3 = (id, ...styles) => {
|
|
|
14585
14578
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14586
14579
|
*/
|
|
14587
14580
|
|
|
14588
|
-
const colorBase$2 = i$
|
|
14581
|
+
const colorBase$2 = i$b`
|
|
14589
14582
|
:host {
|
|
14590
14583
|
/* Base (background) */
|
|
14591
14584
|
--lumo-base-color: #fff;
|
|
@@ -14674,7 +14667,7 @@ const colorBase$2 = i$1`
|
|
|
14674
14667
|
|
|
14675
14668
|
addLumoGlobalStyles$3('color-props', colorBase$2);
|
|
14676
14669
|
|
|
14677
|
-
const color$2 = i$
|
|
14670
|
+
const color$2 = i$b`
|
|
14678
14671
|
[theme~='dark'] {
|
|
14679
14672
|
/* Base (background) */
|
|
14680
14673
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -14799,7 +14792,7 @@ registerStyles('', color$2, { moduleId: 'lumo-color' });
|
|
|
14799
14792
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14800
14793
|
*/
|
|
14801
14794
|
|
|
14802
|
-
const sizing$3 = i$
|
|
14795
|
+
const sizing$3 = i$b`
|
|
14803
14796
|
:host {
|
|
14804
14797
|
--lumo-size-xs: 1.625rem;
|
|
14805
14798
|
--lumo-size-s: 1.875rem;
|
|
@@ -14824,7 +14817,7 @@ addLumoGlobalStyles$3('sizing-props', sizing$3);
|
|
|
14824
14817
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14825
14818
|
*/
|
|
14826
14819
|
|
|
14827
|
-
const style$3 = i$
|
|
14820
|
+
const style$3 = i$b`
|
|
14828
14821
|
:host {
|
|
14829
14822
|
/* Border radius */
|
|
14830
14823
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -14846,7 +14839,7 @@ const style$3 = i$1`
|
|
|
14846
14839
|
/**
|
|
14847
14840
|
* Default values for component-specific custom properties.
|
|
14848
14841
|
*/
|
|
14849
|
-
i$
|
|
14842
|
+
i$b`
|
|
14850
14843
|
html {
|
|
14851
14844
|
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
|
|
14852
14845
|
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
|
|
@@ -14862,7 +14855,7 @@ addLumoGlobalStyles$3('style-props', style$3);
|
|
|
14862
14855
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14863
14856
|
*/
|
|
14864
14857
|
|
|
14865
|
-
const font$3 = i$
|
|
14858
|
+
const font$3 = i$b`
|
|
14866
14859
|
:host {
|
|
14867
14860
|
/* prettier-ignore */
|
|
14868
14861
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -14884,7 +14877,7 @@ const font$3 = i$1`
|
|
|
14884
14877
|
}
|
|
14885
14878
|
`;
|
|
14886
14879
|
|
|
14887
|
-
const typography$3 = i$
|
|
14880
|
+
const typography$3 = i$b`
|
|
14888
14881
|
body,
|
|
14889
14882
|
:host {
|
|
14890
14883
|
font-family: var(--lumo-font-family);
|
|
@@ -14983,7 +14976,7 @@ addLumoGlobalStyles$3('typography-props', font$3);
|
|
|
14983
14976
|
|
|
14984
14977
|
registerStyles(
|
|
14985
14978
|
'vaadin-input-container',
|
|
14986
|
-
i$
|
|
14979
|
+
i$b`
|
|
14987
14980
|
:host {
|
|
14988
14981
|
background-color: var(--lumo-contrast-10pct);
|
|
14989
14982
|
padding: 0 calc(0.375em + var(--_input-container-radius) / 4 - 1px);
|
|
@@ -15299,241 +15292,6 @@ class InputContainer extends ThemableMixin(DirMixin(PolymerElement)) {
|
|
|
15299
15292
|
|
|
15300
15293
|
defineCustomElement(InputContainer);
|
|
15301
15294
|
|
|
15302
|
-
/**
|
|
15303
|
-
* @license
|
|
15304
|
-
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
15305
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15306
|
-
*/
|
|
15307
|
-
|
|
15308
|
-
const overlay = i$1`
|
|
15309
|
-
:host {
|
|
15310
|
-
top: var(--lumo-space-m);
|
|
15311
|
-
right: var(--lumo-space-m);
|
|
15312
|
-
bottom: var(--lumo-space-m);
|
|
15313
|
-
left: var(--lumo-space-m);
|
|
15314
|
-
/* Workaround for Edge issue (only on Surface), where an overflowing vaadin-list-box inside vaadin-select-overlay makes the overlay transparent */
|
|
15315
|
-
/* stylelint-disable-next-line */
|
|
15316
|
-
outline: 0px solid transparent;
|
|
15317
|
-
}
|
|
15318
|
-
|
|
15319
|
-
[part='overlay'] {
|
|
15320
|
-
background-color: var(--lumo-base-color);
|
|
15321
|
-
background-image: linear-gradient(var(--lumo-tint-5pct), var(--lumo-tint-5pct));
|
|
15322
|
-
border-radius: var(--lumo-border-radius-m);
|
|
15323
|
-
box-shadow: 0 0 0 1px var(--lumo-shade-5pct), var(--lumo-box-shadow-m);
|
|
15324
|
-
color: var(--lumo-body-text-color);
|
|
15325
|
-
font-family: var(--lumo-font-family);
|
|
15326
|
-
font-size: var(--lumo-font-size-m);
|
|
15327
|
-
font-weight: 400;
|
|
15328
|
-
line-height: var(--lumo-line-height-m);
|
|
15329
|
-
letter-spacing: 0;
|
|
15330
|
-
text-transform: none;
|
|
15331
|
-
-webkit-text-size-adjust: 100%;
|
|
15332
|
-
-webkit-font-smoothing: antialiased;
|
|
15333
|
-
-moz-osx-font-smoothing: grayscale;
|
|
15334
|
-
}
|
|
15335
|
-
|
|
15336
|
-
[part='content'] {
|
|
15337
|
-
padding: var(--lumo-space-xs);
|
|
15338
|
-
}
|
|
15339
|
-
|
|
15340
|
-
[part='backdrop'] {
|
|
15341
|
-
background-color: var(--lumo-shade-20pct);
|
|
15342
|
-
animation: 0.2s lumo-overlay-backdrop-enter both;
|
|
15343
|
-
will-change: opacity;
|
|
15344
|
-
}
|
|
15345
|
-
|
|
15346
|
-
@keyframes lumo-overlay-backdrop-enter {
|
|
15347
|
-
0% {
|
|
15348
|
-
opacity: 0;
|
|
15349
|
-
}
|
|
15350
|
-
}
|
|
15351
|
-
|
|
15352
|
-
:host([closing]) [part='backdrop'] {
|
|
15353
|
-
animation: 0.2s lumo-overlay-backdrop-exit both;
|
|
15354
|
-
}
|
|
15355
|
-
|
|
15356
|
-
@keyframes lumo-overlay-backdrop-exit {
|
|
15357
|
-
100% {
|
|
15358
|
-
opacity: 0;
|
|
15359
|
-
}
|
|
15360
|
-
}
|
|
15361
|
-
|
|
15362
|
-
@keyframes lumo-overlay-dummy-animation {
|
|
15363
|
-
0% {
|
|
15364
|
-
opacity: 1;
|
|
15365
|
-
}
|
|
15366
|
-
|
|
15367
|
-
100% {
|
|
15368
|
-
opacity: 1;
|
|
15369
|
-
}
|
|
15370
|
-
}
|
|
15371
|
-
`;
|
|
15372
|
-
|
|
15373
|
-
registerStyles('', overlay, { moduleId: 'lumo-overlay' });
|
|
15374
|
-
|
|
15375
|
-
/**
|
|
15376
|
-
* @license
|
|
15377
|
-
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
15378
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15379
|
-
*/
|
|
15380
|
-
|
|
15381
|
-
const menuOverlayCore = i$1`
|
|
15382
|
-
:host([opening]),
|
|
15383
|
-
:host([closing]) {
|
|
15384
|
-
animation: 0.14s lumo-overlay-dummy-animation;
|
|
15385
|
-
}
|
|
15386
|
-
|
|
15387
|
-
[part='overlay'] {
|
|
15388
|
-
will-change: opacity, transform;
|
|
15389
|
-
}
|
|
15390
|
-
|
|
15391
|
-
:host([opening]) [part='overlay'] {
|
|
15392
|
-
animation: 0.1s lumo-menu-overlay-enter ease-out both;
|
|
15393
|
-
}
|
|
15394
|
-
|
|
15395
|
-
@keyframes lumo-menu-overlay-enter {
|
|
15396
|
-
0% {
|
|
15397
|
-
opacity: 0;
|
|
15398
|
-
transform: translateY(-4px);
|
|
15399
|
-
}
|
|
15400
|
-
}
|
|
15401
|
-
|
|
15402
|
-
:host([closing]) [part='overlay'] {
|
|
15403
|
-
animation: 0.1s lumo-menu-overlay-exit both;
|
|
15404
|
-
}
|
|
15405
|
-
|
|
15406
|
-
@keyframes lumo-menu-overlay-exit {
|
|
15407
|
-
100% {
|
|
15408
|
-
opacity: 0;
|
|
15409
|
-
}
|
|
15410
|
-
}
|
|
15411
|
-
`;
|
|
15412
|
-
|
|
15413
|
-
registerStyles('', menuOverlayCore, { moduleId: 'lumo-menu-overlay-core' });
|
|
15414
|
-
|
|
15415
|
-
const menuOverlayExt = i$1`
|
|
15416
|
-
/* Small viewport (bottom sheet) styles */
|
|
15417
|
-
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
15418
|
-
@media (max-width: 420px), (max-height: 420px) {
|
|
15419
|
-
:host {
|
|
15420
|
-
top: 0 !important;
|
|
15421
|
-
right: 0 !important;
|
|
15422
|
-
bottom: var(--vaadin-overlay-viewport-bottom, 0) !important;
|
|
15423
|
-
left: 0 !important;
|
|
15424
|
-
align-items: stretch !important;
|
|
15425
|
-
justify-content: flex-end !important;
|
|
15426
|
-
}
|
|
15427
|
-
|
|
15428
|
-
[part='overlay'] {
|
|
15429
|
-
max-height: 50vh;
|
|
15430
|
-
width: 100vw;
|
|
15431
|
-
border-radius: 0;
|
|
15432
|
-
box-shadow: var(--lumo-box-shadow-xl);
|
|
15433
|
-
}
|
|
15434
|
-
|
|
15435
|
-
/* The content part scrolls instead of the overlay part, because of the gradient fade-out */
|
|
15436
|
-
[part='content'] {
|
|
15437
|
-
padding: 30px var(--lumo-space-m);
|
|
15438
|
-
max-height: inherit;
|
|
15439
|
-
box-sizing: border-box;
|
|
15440
|
-
-webkit-overflow-scrolling: touch;
|
|
15441
|
-
overflow: auto;
|
|
15442
|
-
-webkit-mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);
|
|
15443
|
-
mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);
|
|
15444
|
-
}
|
|
15445
|
-
|
|
15446
|
-
[part='backdrop'] {
|
|
15447
|
-
display: block;
|
|
15448
|
-
}
|
|
15449
|
-
|
|
15450
|
-
/* Animations */
|
|
15451
|
-
|
|
15452
|
-
:host([opening]) [part='overlay'] {
|
|
15453
|
-
animation: 0.2s lumo-mobile-menu-overlay-enter cubic-bezier(0.215, 0.61, 0.355, 1) both;
|
|
15454
|
-
}
|
|
15455
|
-
|
|
15456
|
-
:host([closing]),
|
|
15457
|
-
:host([closing]) [part='backdrop'] {
|
|
15458
|
-
animation-delay: 0.14s;
|
|
15459
|
-
}
|
|
15460
|
-
|
|
15461
|
-
:host([closing]) [part='overlay'] {
|
|
15462
|
-
animation: 0.14s 0.14s lumo-mobile-menu-overlay-exit cubic-bezier(0.55, 0.055, 0.675, 0.19) both;
|
|
15463
|
-
}
|
|
15464
|
-
}
|
|
15465
|
-
|
|
15466
|
-
@keyframes lumo-mobile-menu-overlay-enter {
|
|
15467
|
-
0% {
|
|
15468
|
-
transform: translateY(150%);
|
|
15469
|
-
}
|
|
15470
|
-
}
|
|
15471
|
-
|
|
15472
|
-
@keyframes lumo-mobile-menu-overlay-exit {
|
|
15473
|
-
100% {
|
|
15474
|
-
transform: translateY(150%);
|
|
15475
|
-
}
|
|
15476
|
-
}
|
|
15477
|
-
`;
|
|
15478
|
-
|
|
15479
|
-
const menuOverlay = [overlay, menuOverlayCore, menuOverlayExt];
|
|
15480
|
-
|
|
15481
|
-
registerStyles('', menuOverlay, { moduleId: 'lumo-menu-overlay' });
|
|
15482
|
-
|
|
15483
|
-
const datePickerOverlay = i$1`
|
|
15484
|
-
[part='overlay'] {
|
|
15485
|
-
/*
|
|
15486
|
-
Width:
|
|
15487
|
-
date cell widths
|
|
15488
|
-
+ month calendar side padding
|
|
15489
|
-
+ year scroller width
|
|
15490
|
-
*/
|
|
15491
|
-
/* prettier-ignore */
|
|
15492
|
-
width:
|
|
15493
|
-
calc(
|
|
15494
|
-
var(--lumo-size-m) * 7
|
|
15495
|
-
+ var(--lumo-space-xs) * 2
|
|
15496
|
-
+ 57px
|
|
15497
|
-
);
|
|
15498
|
-
height: 100%;
|
|
15499
|
-
max-height: calc(var(--lumo-size-m) * 14);
|
|
15500
|
-
overflow: hidden;
|
|
15501
|
-
-webkit-tap-highlight-color: transparent;
|
|
15502
|
-
}
|
|
15503
|
-
|
|
15504
|
-
[part='overlay'] {
|
|
15505
|
-
flex-direction: column;
|
|
15506
|
-
}
|
|
15507
|
-
|
|
15508
|
-
[part='content'] {
|
|
15509
|
-
padding: 0;
|
|
15510
|
-
height: 100%;
|
|
15511
|
-
overflow: hidden;
|
|
15512
|
-
-webkit-mask-image: none;
|
|
15513
|
-
mask-image: none;
|
|
15514
|
-
}
|
|
15515
|
-
|
|
15516
|
-
:host([top-aligned]) [part~='overlay'] {
|
|
15517
|
-
margin-top: var(--lumo-space-xs);
|
|
15518
|
-
}
|
|
15519
|
-
|
|
15520
|
-
:host([bottom-aligned]) [part~='overlay'] {
|
|
15521
|
-
margin-bottom: var(--lumo-space-xs);
|
|
15522
|
-
}
|
|
15523
|
-
|
|
15524
|
-
@media (max-width: 420px), (max-height: 420px) {
|
|
15525
|
-
[part='overlay'] {
|
|
15526
|
-
width: 100vw;
|
|
15527
|
-
height: 70vh;
|
|
15528
|
-
max-height: 70vh;
|
|
15529
|
-
}
|
|
15530
|
-
}
|
|
15531
|
-
`;
|
|
15532
|
-
|
|
15533
|
-
registerStyles('vaadin-date-picker-overlay', [menuOverlay, datePickerOverlay], {
|
|
15534
|
-
moduleId: 'lumo-date-picker-overlay',
|
|
15535
|
-
});
|
|
15536
|
-
|
|
15537
15295
|
/**
|
|
15538
15296
|
* @license
|
|
15539
15297
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
@@ -15568,7 +15326,103 @@ const addLumoGlobalStyles$2 = (id, ...styles) => {
|
|
|
15568
15326
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15569
15327
|
*/
|
|
15570
15328
|
|
|
15571
|
-
const
|
|
15329
|
+
const sizing$2 = i$b`
|
|
15330
|
+
:host {
|
|
15331
|
+
--lumo-size-xs: 1.625rem;
|
|
15332
|
+
--lumo-size-s: 1.875rem;
|
|
15333
|
+
--lumo-size-m: 2.25rem;
|
|
15334
|
+
--lumo-size-l: 2.75rem;
|
|
15335
|
+
--lumo-size-xl: 3.5rem;
|
|
15336
|
+
|
|
15337
|
+
/* Icons */
|
|
15338
|
+
--lumo-icon-size-s: 1.25em;
|
|
15339
|
+
--lumo-icon-size-m: 1.5em;
|
|
15340
|
+
--lumo-icon-size-l: 2.25em;
|
|
15341
|
+
/* For backwards compatibility */
|
|
15342
|
+
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
15343
|
+
}
|
|
15344
|
+
`;
|
|
15345
|
+
|
|
15346
|
+
addLumoGlobalStyles$2('sizing-props', sizing$2);
|
|
15347
|
+
|
|
15348
|
+
/**
|
|
15349
|
+
* @license
|
|
15350
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
15351
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15352
|
+
*/
|
|
15353
|
+
|
|
15354
|
+
const spacing$2 = i$b`
|
|
15355
|
+
:host {
|
|
15356
|
+
/* Square */
|
|
15357
|
+
--lumo-space-xs: 0.25rem;
|
|
15358
|
+
--lumo-space-s: 0.5rem;
|
|
15359
|
+
--lumo-space-m: 1rem;
|
|
15360
|
+
--lumo-space-l: 1.5rem;
|
|
15361
|
+
--lumo-space-xl: 2.5rem;
|
|
15362
|
+
|
|
15363
|
+
/* Wide */
|
|
15364
|
+
--lumo-space-wide-xs: calc(var(--lumo-space-xs) / 2) var(--lumo-space-xs);
|
|
15365
|
+
--lumo-space-wide-s: calc(var(--lumo-space-s) / 2) var(--lumo-space-s);
|
|
15366
|
+
--lumo-space-wide-m: calc(var(--lumo-space-m) / 2) var(--lumo-space-m);
|
|
15367
|
+
--lumo-space-wide-l: calc(var(--lumo-space-l) / 2) var(--lumo-space-l);
|
|
15368
|
+
--lumo-space-wide-xl: calc(var(--lumo-space-xl) / 2) var(--lumo-space-xl);
|
|
15369
|
+
|
|
15370
|
+
/* Tall */
|
|
15371
|
+
--lumo-space-tall-xs: var(--lumo-space-xs) calc(var(--lumo-space-xs) / 2);
|
|
15372
|
+
--lumo-space-tall-s: var(--lumo-space-s) calc(var(--lumo-space-s) / 2);
|
|
15373
|
+
--lumo-space-tall-m: var(--lumo-space-m) calc(var(--lumo-space-m) / 2);
|
|
15374
|
+
--lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);
|
|
15375
|
+
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
15376
|
+
}
|
|
15377
|
+
`;
|
|
15378
|
+
|
|
15379
|
+
addLumoGlobalStyles$2('spacing-props', spacing$2);
|
|
15380
|
+
|
|
15381
|
+
/**
|
|
15382
|
+
* @license
|
|
15383
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
15384
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15385
|
+
*/
|
|
15386
|
+
|
|
15387
|
+
const style$2 = i$b`
|
|
15388
|
+
:host {
|
|
15389
|
+
/* Border radius */
|
|
15390
|
+
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
15391
|
+
--lumo-border-radius-m: var(--lumo-border-radius, 0.25em); /* Button, text field, menu overlay, etc */
|
|
15392
|
+
--lumo-border-radius-l: 0.5em; /* Dialog, notification, etc */
|
|
15393
|
+
|
|
15394
|
+
/* Shadow */
|
|
15395
|
+
--lumo-box-shadow-xs: 0 1px 4px -1px var(--lumo-shade-50pct);
|
|
15396
|
+
--lumo-box-shadow-s: 0 2px 4px -1px var(--lumo-shade-20pct), 0 3px 12px -1px var(--lumo-shade-30pct);
|
|
15397
|
+
--lumo-box-shadow-m: 0 2px 6px -1px var(--lumo-shade-20pct), 0 8px 24px -4px var(--lumo-shade-40pct);
|
|
15398
|
+
--lumo-box-shadow-l: 0 3px 18px -2px var(--lumo-shade-20pct), 0 12px 48px -6px var(--lumo-shade-40pct);
|
|
15399
|
+
--lumo-box-shadow-xl: 0 4px 24px -3px var(--lumo-shade-20pct), 0 18px 64px -8px var(--lumo-shade-40pct);
|
|
15400
|
+
|
|
15401
|
+
/* Clickable element cursor */
|
|
15402
|
+
--lumo-clickable-cursor: default;
|
|
15403
|
+
}
|
|
15404
|
+
`;
|
|
15405
|
+
|
|
15406
|
+
/**
|
|
15407
|
+
* Default values for component-specific custom properties.
|
|
15408
|
+
*/
|
|
15409
|
+
i$b`
|
|
15410
|
+
html {
|
|
15411
|
+
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
|
|
15412
|
+
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
|
|
15413
|
+
--vaadin-input-field-border-radius: var(--lumo-border-radius-m);
|
|
15414
|
+
}
|
|
15415
|
+
`;
|
|
15416
|
+
|
|
15417
|
+
addLumoGlobalStyles$2('style-props', style$2);
|
|
15418
|
+
|
|
15419
|
+
/**
|
|
15420
|
+
* @license
|
|
15421
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
15422
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15423
|
+
*/
|
|
15424
|
+
|
|
15425
|
+
const colorBase$1 = i$b`
|
|
15572
15426
|
:host {
|
|
15573
15427
|
/* Base (background) */
|
|
15574
15428
|
--lumo-base-color: #fff;
|
|
@@ -15657,7 +15511,7 @@ const colorBase$1 = i$1`
|
|
|
15657
15511
|
|
|
15658
15512
|
addLumoGlobalStyles$2('color-props', colorBase$1);
|
|
15659
15513
|
|
|
15660
|
-
const color$1 = i$
|
|
15514
|
+
const color$1 = i$b`
|
|
15661
15515
|
[theme~='dark'] {
|
|
15662
15516
|
/* Base (background) */
|
|
15663
15517
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -15782,103 +15636,7 @@ registerStyles('', color$1, { moduleId: 'lumo-color' });
|
|
|
15782
15636
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15783
15637
|
*/
|
|
15784
15638
|
|
|
15785
|
-
const
|
|
15786
|
-
:host {
|
|
15787
|
-
--lumo-size-xs: 1.625rem;
|
|
15788
|
-
--lumo-size-s: 1.875rem;
|
|
15789
|
-
--lumo-size-m: 2.25rem;
|
|
15790
|
-
--lumo-size-l: 2.75rem;
|
|
15791
|
-
--lumo-size-xl: 3.5rem;
|
|
15792
|
-
|
|
15793
|
-
/* Icons */
|
|
15794
|
-
--lumo-icon-size-s: 1.25em;
|
|
15795
|
-
--lumo-icon-size-m: 1.5em;
|
|
15796
|
-
--lumo-icon-size-l: 2.25em;
|
|
15797
|
-
/* For backwards compatibility */
|
|
15798
|
-
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
15799
|
-
}
|
|
15800
|
-
`;
|
|
15801
|
-
|
|
15802
|
-
addLumoGlobalStyles$2('sizing-props', sizing$2);
|
|
15803
|
-
|
|
15804
|
-
/**
|
|
15805
|
-
* @license
|
|
15806
|
-
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
15807
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15808
|
-
*/
|
|
15809
|
-
|
|
15810
|
-
const spacing$2 = i$1`
|
|
15811
|
-
:host {
|
|
15812
|
-
/* Square */
|
|
15813
|
-
--lumo-space-xs: 0.25rem;
|
|
15814
|
-
--lumo-space-s: 0.5rem;
|
|
15815
|
-
--lumo-space-m: 1rem;
|
|
15816
|
-
--lumo-space-l: 1.5rem;
|
|
15817
|
-
--lumo-space-xl: 2.5rem;
|
|
15818
|
-
|
|
15819
|
-
/* Wide */
|
|
15820
|
-
--lumo-space-wide-xs: calc(var(--lumo-space-xs) / 2) var(--lumo-space-xs);
|
|
15821
|
-
--lumo-space-wide-s: calc(var(--lumo-space-s) / 2) var(--lumo-space-s);
|
|
15822
|
-
--lumo-space-wide-m: calc(var(--lumo-space-m) / 2) var(--lumo-space-m);
|
|
15823
|
-
--lumo-space-wide-l: calc(var(--lumo-space-l) / 2) var(--lumo-space-l);
|
|
15824
|
-
--lumo-space-wide-xl: calc(var(--lumo-space-xl) / 2) var(--lumo-space-xl);
|
|
15825
|
-
|
|
15826
|
-
/* Tall */
|
|
15827
|
-
--lumo-space-tall-xs: var(--lumo-space-xs) calc(var(--lumo-space-xs) / 2);
|
|
15828
|
-
--lumo-space-tall-s: var(--lumo-space-s) calc(var(--lumo-space-s) / 2);
|
|
15829
|
-
--lumo-space-tall-m: var(--lumo-space-m) calc(var(--lumo-space-m) / 2);
|
|
15830
|
-
--lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);
|
|
15831
|
-
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
15832
|
-
}
|
|
15833
|
-
`;
|
|
15834
|
-
|
|
15835
|
-
addLumoGlobalStyles$2('spacing-props', spacing$2);
|
|
15836
|
-
|
|
15837
|
-
/**
|
|
15838
|
-
* @license
|
|
15839
|
-
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
15840
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15841
|
-
*/
|
|
15842
|
-
|
|
15843
|
-
const style$2 = i$1`
|
|
15844
|
-
:host {
|
|
15845
|
-
/* Border radius */
|
|
15846
|
-
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
15847
|
-
--lumo-border-radius-m: var(--lumo-border-radius, 0.25em); /* Button, text field, menu overlay, etc */
|
|
15848
|
-
--lumo-border-radius-l: 0.5em; /* Dialog, notification, etc */
|
|
15849
|
-
|
|
15850
|
-
/* Shadow */
|
|
15851
|
-
--lumo-box-shadow-xs: 0 1px 4px -1px var(--lumo-shade-50pct);
|
|
15852
|
-
--lumo-box-shadow-s: 0 2px 4px -1px var(--lumo-shade-20pct), 0 3px 12px -1px var(--lumo-shade-30pct);
|
|
15853
|
-
--lumo-box-shadow-m: 0 2px 6px -1px var(--lumo-shade-20pct), 0 8px 24px -4px var(--lumo-shade-40pct);
|
|
15854
|
-
--lumo-box-shadow-l: 0 3px 18px -2px var(--lumo-shade-20pct), 0 12px 48px -6px var(--lumo-shade-40pct);
|
|
15855
|
-
--lumo-box-shadow-xl: 0 4px 24px -3px var(--lumo-shade-20pct), 0 18px 64px -8px var(--lumo-shade-40pct);
|
|
15856
|
-
|
|
15857
|
-
/* Clickable element cursor */
|
|
15858
|
-
--lumo-clickable-cursor: default;
|
|
15859
|
-
}
|
|
15860
|
-
`;
|
|
15861
|
-
|
|
15862
|
-
/**
|
|
15863
|
-
* Default values for component-specific custom properties.
|
|
15864
|
-
*/
|
|
15865
|
-
i$1`
|
|
15866
|
-
html {
|
|
15867
|
-
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
|
|
15868
|
-
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
|
|
15869
|
-
--vaadin-input-field-border-radius: var(--lumo-border-radius-m);
|
|
15870
|
-
}
|
|
15871
|
-
`;
|
|
15872
|
-
|
|
15873
|
-
addLumoGlobalStyles$2('style-props', style$2);
|
|
15874
|
-
|
|
15875
|
-
/**
|
|
15876
|
-
* @license
|
|
15877
|
-
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
15878
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15879
|
-
*/
|
|
15880
|
-
|
|
15881
|
-
const font$2 = i$1`
|
|
15639
|
+
const font$2 = i$b`
|
|
15882
15640
|
:host {
|
|
15883
15641
|
/* prettier-ignore */
|
|
15884
15642
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -15900,7 +15658,7 @@ const font$2 = i$1`
|
|
|
15900
15658
|
}
|
|
15901
15659
|
`;
|
|
15902
15660
|
|
|
15903
|
-
const typography$2 = i$
|
|
15661
|
+
const typography$2 = i$b`
|
|
15904
15662
|
body,
|
|
15905
15663
|
:host {
|
|
15906
15664
|
font-family: var(--lumo-font-family);
|
|
@@ -15997,7 +15755,242 @@ const typography$2 = i$1`
|
|
|
15997
15755
|
registerStyles('', typography$2, { moduleId: 'lumo-typography' });
|
|
15998
15756
|
addLumoGlobalStyles$2('typography-props', font$2);
|
|
15999
15757
|
|
|
16000
|
-
|
|
15758
|
+
/**
|
|
15759
|
+
* @license
|
|
15760
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
15761
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15762
|
+
*/
|
|
15763
|
+
|
|
15764
|
+
const overlay$1 = i$b`
|
|
15765
|
+
:host {
|
|
15766
|
+
top: var(--lumo-space-m);
|
|
15767
|
+
right: var(--lumo-space-m);
|
|
15768
|
+
bottom: var(--lumo-space-m);
|
|
15769
|
+
left: var(--lumo-space-m);
|
|
15770
|
+
/* Workaround for Edge issue (only on Surface), where an overflowing vaadin-list-box inside vaadin-select-overlay makes the overlay transparent */
|
|
15771
|
+
/* stylelint-disable-next-line */
|
|
15772
|
+
outline: 0px solid transparent;
|
|
15773
|
+
}
|
|
15774
|
+
|
|
15775
|
+
[part='overlay'] {
|
|
15776
|
+
background-color: var(--lumo-base-color);
|
|
15777
|
+
background-image: linear-gradient(var(--lumo-tint-5pct), var(--lumo-tint-5pct));
|
|
15778
|
+
border-radius: var(--lumo-border-radius-m);
|
|
15779
|
+
box-shadow: 0 0 0 1px var(--lumo-shade-5pct), var(--lumo-box-shadow-m);
|
|
15780
|
+
color: var(--lumo-body-text-color);
|
|
15781
|
+
font-family: var(--lumo-font-family);
|
|
15782
|
+
font-size: var(--lumo-font-size-m);
|
|
15783
|
+
font-weight: 400;
|
|
15784
|
+
line-height: var(--lumo-line-height-m);
|
|
15785
|
+
letter-spacing: 0;
|
|
15786
|
+
text-transform: none;
|
|
15787
|
+
-webkit-text-size-adjust: 100%;
|
|
15788
|
+
-webkit-font-smoothing: antialiased;
|
|
15789
|
+
-moz-osx-font-smoothing: grayscale;
|
|
15790
|
+
}
|
|
15791
|
+
|
|
15792
|
+
[part='content'] {
|
|
15793
|
+
padding: var(--lumo-space-xs);
|
|
15794
|
+
}
|
|
15795
|
+
|
|
15796
|
+
[part='backdrop'] {
|
|
15797
|
+
background-color: var(--lumo-shade-20pct);
|
|
15798
|
+
animation: 0.2s lumo-overlay-backdrop-enter both;
|
|
15799
|
+
will-change: opacity;
|
|
15800
|
+
}
|
|
15801
|
+
|
|
15802
|
+
@keyframes lumo-overlay-backdrop-enter {
|
|
15803
|
+
0% {
|
|
15804
|
+
opacity: 0;
|
|
15805
|
+
}
|
|
15806
|
+
}
|
|
15807
|
+
|
|
15808
|
+
:host([closing]) [part='backdrop'] {
|
|
15809
|
+
animation: 0.2s lumo-overlay-backdrop-exit both;
|
|
15810
|
+
}
|
|
15811
|
+
|
|
15812
|
+
@keyframes lumo-overlay-backdrop-exit {
|
|
15813
|
+
100% {
|
|
15814
|
+
opacity: 0;
|
|
15815
|
+
}
|
|
15816
|
+
}
|
|
15817
|
+
|
|
15818
|
+
@keyframes lumo-overlay-dummy-animation {
|
|
15819
|
+
0% {
|
|
15820
|
+
opacity: 1;
|
|
15821
|
+
}
|
|
15822
|
+
|
|
15823
|
+
100% {
|
|
15824
|
+
opacity: 1;
|
|
15825
|
+
}
|
|
15826
|
+
}
|
|
15827
|
+
`;
|
|
15828
|
+
|
|
15829
|
+
registerStyles('', overlay$1, { moduleId: 'lumo-overlay' });
|
|
15830
|
+
|
|
15831
|
+
/**
|
|
15832
|
+
* @license
|
|
15833
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
15834
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15835
|
+
*/
|
|
15836
|
+
|
|
15837
|
+
const menuOverlayCore$1 = i$b`
|
|
15838
|
+
:host([opening]),
|
|
15839
|
+
:host([closing]) {
|
|
15840
|
+
animation: 0.14s lumo-overlay-dummy-animation;
|
|
15841
|
+
}
|
|
15842
|
+
|
|
15843
|
+
[part='overlay'] {
|
|
15844
|
+
will-change: opacity, transform;
|
|
15845
|
+
}
|
|
15846
|
+
|
|
15847
|
+
:host([opening]) [part='overlay'] {
|
|
15848
|
+
animation: 0.1s lumo-menu-overlay-enter ease-out both;
|
|
15849
|
+
}
|
|
15850
|
+
|
|
15851
|
+
@keyframes lumo-menu-overlay-enter {
|
|
15852
|
+
0% {
|
|
15853
|
+
opacity: 0;
|
|
15854
|
+
transform: translateY(-4px);
|
|
15855
|
+
}
|
|
15856
|
+
}
|
|
15857
|
+
|
|
15858
|
+
:host([closing]) [part='overlay'] {
|
|
15859
|
+
animation: 0.1s lumo-menu-overlay-exit both;
|
|
15860
|
+
}
|
|
15861
|
+
|
|
15862
|
+
@keyframes lumo-menu-overlay-exit {
|
|
15863
|
+
100% {
|
|
15864
|
+
opacity: 0;
|
|
15865
|
+
}
|
|
15866
|
+
}
|
|
15867
|
+
`;
|
|
15868
|
+
|
|
15869
|
+
registerStyles('', menuOverlayCore$1, { moduleId: 'lumo-menu-overlay-core' });
|
|
15870
|
+
|
|
15871
|
+
const menuOverlayExt$1 = i$b`
|
|
15872
|
+
/* Small viewport (bottom sheet) styles */
|
|
15873
|
+
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
15874
|
+
@media (max-width: 420px), (max-height: 420px) {
|
|
15875
|
+
:host {
|
|
15876
|
+
top: 0 !important;
|
|
15877
|
+
right: 0 !important;
|
|
15878
|
+
bottom: var(--vaadin-overlay-viewport-bottom, 0) !important;
|
|
15879
|
+
left: 0 !important;
|
|
15880
|
+
align-items: stretch !important;
|
|
15881
|
+
justify-content: flex-end !important;
|
|
15882
|
+
}
|
|
15883
|
+
|
|
15884
|
+
[part='overlay'] {
|
|
15885
|
+
max-height: 50vh;
|
|
15886
|
+
width: 100vw;
|
|
15887
|
+
border-radius: 0;
|
|
15888
|
+
box-shadow: var(--lumo-box-shadow-xl);
|
|
15889
|
+
}
|
|
15890
|
+
|
|
15891
|
+
/* The content part scrolls instead of the overlay part, because of the gradient fade-out */
|
|
15892
|
+
[part='content'] {
|
|
15893
|
+
padding: 30px var(--lumo-space-m);
|
|
15894
|
+
max-height: inherit;
|
|
15895
|
+
box-sizing: border-box;
|
|
15896
|
+
-webkit-overflow-scrolling: touch;
|
|
15897
|
+
overflow: auto;
|
|
15898
|
+
-webkit-mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);
|
|
15899
|
+
mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);
|
|
15900
|
+
}
|
|
15901
|
+
|
|
15902
|
+
[part='backdrop'] {
|
|
15903
|
+
display: block;
|
|
15904
|
+
}
|
|
15905
|
+
|
|
15906
|
+
/* Animations */
|
|
15907
|
+
|
|
15908
|
+
:host([opening]) [part='overlay'] {
|
|
15909
|
+
animation: 0.2s lumo-mobile-menu-overlay-enter cubic-bezier(0.215, 0.61, 0.355, 1) both;
|
|
15910
|
+
}
|
|
15911
|
+
|
|
15912
|
+
:host([closing]),
|
|
15913
|
+
:host([closing]) [part='backdrop'] {
|
|
15914
|
+
animation-delay: 0.14s;
|
|
15915
|
+
}
|
|
15916
|
+
|
|
15917
|
+
:host([closing]) [part='overlay'] {
|
|
15918
|
+
animation: 0.14s 0.14s lumo-mobile-menu-overlay-exit cubic-bezier(0.55, 0.055, 0.675, 0.19) both;
|
|
15919
|
+
}
|
|
15920
|
+
}
|
|
15921
|
+
|
|
15922
|
+
@keyframes lumo-mobile-menu-overlay-enter {
|
|
15923
|
+
0% {
|
|
15924
|
+
transform: translateY(150%);
|
|
15925
|
+
}
|
|
15926
|
+
}
|
|
15927
|
+
|
|
15928
|
+
@keyframes lumo-mobile-menu-overlay-exit {
|
|
15929
|
+
100% {
|
|
15930
|
+
transform: translateY(150%);
|
|
15931
|
+
}
|
|
15932
|
+
}
|
|
15933
|
+
`;
|
|
15934
|
+
|
|
15935
|
+
const menuOverlay$1 = [overlay$1, menuOverlayCore$1, menuOverlayExt$1];
|
|
15936
|
+
|
|
15937
|
+
registerStyles('', menuOverlay$1, { moduleId: 'lumo-menu-overlay' });
|
|
15938
|
+
|
|
15939
|
+
const datePickerOverlay = i$b`
|
|
15940
|
+
[part='overlay'] {
|
|
15941
|
+
/*
|
|
15942
|
+
Width:
|
|
15943
|
+
date cell widths
|
|
15944
|
+
+ month calendar side padding
|
|
15945
|
+
+ year scroller width
|
|
15946
|
+
*/
|
|
15947
|
+
/* prettier-ignore */
|
|
15948
|
+
width:
|
|
15949
|
+
calc(
|
|
15950
|
+
var(--lumo-size-m) * 7
|
|
15951
|
+
+ var(--lumo-space-xs) * 2
|
|
15952
|
+
+ 57px
|
|
15953
|
+
);
|
|
15954
|
+
height: 100%;
|
|
15955
|
+
max-height: calc(var(--lumo-size-m) * 14);
|
|
15956
|
+
overflow: hidden;
|
|
15957
|
+
-webkit-tap-highlight-color: transparent;
|
|
15958
|
+
}
|
|
15959
|
+
|
|
15960
|
+
[part='overlay'] {
|
|
15961
|
+
flex-direction: column;
|
|
15962
|
+
}
|
|
15963
|
+
|
|
15964
|
+
[part='content'] {
|
|
15965
|
+
padding: 0;
|
|
15966
|
+
height: 100%;
|
|
15967
|
+
overflow: hidden;
|
|
15968
|
+
-webkit-mask-image: none;
|
|
15969
|
+
mask-image: none;
|
|
15970
|
+
}
|
|
15971
|
+
|
|
15972
|
+
:host([top-aligned]) [part~='overlay'] {
|
|
15973
|
+
margin-top: var(--lumo-space-xs);
|
|
15974
|
+
}
|
|
15975
|
+
|
|
15976
|
+
:host([bottom-aligned]) [part~='overlay'] {
|
|
15977
|
+
margin-bottom: var(--lumo-space-xs);
|
|
15978
|
+
}
|
|
15979
|
+
|
|
15980
|
+
@media (max-width: 420px), (max-height: 420px) {
|
|
15981
|
+
[part='overlay'] {
|
|
15982
|
+
width: 100vw;
|
|
15983
|
+
height: 70vh;
|
|
15984
|
+
max-height: 70vh;
|
|
15985
|
+
}
|
|
15986
|
+
}
|
|
15987
|
+
`;
|
|
15988
|
+
|
|
15989
|
+
registerStyles('vaadin-date-picker-overlay', [menuOverlay$1, datePickerOverlay], {
|
|
15990
|
+
moduleId: 'lumo-date-picker-overlay',
|
|
15991
|
+
});
|
|
15992
|
+
|
|
15993
|
+
const button$1 = i$b`
|
|
16001
15994
|
:host {
|
|
16002
15995
|
/* Sizing */
|
|
16003
15996
|
--lumo-button-size: var(--lumo-size-m);
|
|
@@ -16248,7 +16241,33 @@ const button = i$1`
|
|
|
16248
16241
|
}
|
|
16249
16242
|
`;
|
|
16250
16243
|
|
|
16251
|
-
registerStyles('vaadin-button', button, { moduleId: 'lumo-button' });
|
|
16244
|
+
registerStyles('vaadin-button', button$1, { moduleId: 'lumo-button' });
|
|
16245
|
+
|
|
16246
|
+
/**
|
|
16247
|
+
* @license
|
|
16248
|
+
* Copyright 2019 Google LLC
|
|
16249
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
16250
|
+
*/
|
|
16251
|
+
const t$7=window,e$b=t$7.ShadowRoot&&(void 0===t$7.ShadyCSS||t$7.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$d=Symbol(),n$e=new WeakMap;class o$e{constructor(t,e,n){if(this._$cssResult$=!0,n!==s$d)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$b&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=n$e.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&n$e.set(s,t));}return t}toString(){return this.cssText}}const r$c=t=>new o$e("string"==typeof t?t:t+"",void 0,s$d),i$9=(t,...e)=>{const n=1===t.length?t[0]:e.reduce(((e,s,n)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[n+1]),t[0]);return new o$e(n,t,s$d)},S$7=(s,n)=>{e$b?s.adoptedStyleSheets=n.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):n.forEach((e=>{const n=document.createElement("style"),o=t$7.litNonce;void 0!==o&&n.setAttribute("nonce",o),n.textContent=e.cssText,s.appendChild(n);}));},c$8=e$b?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$c(e)})(t):t;
|
|
16252
|
+
|
|
16253
|
+
/**
|
|
16254
|
+
* @license
|
|
16255
|
+
* Copyright 2017 Google LLC
|
|
16256
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
16257
|
+
*/var s$c;const e$a=window,r$b=e$a.trustedTypes,h$7=r$b?r$b.emptyScript:"",o$d=e$a.reactiveElementPolyfillSupport,n$d={toAttribute(t,i){switch(i){case Boolean:t=t?h$7:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,i){let s=t;switch(i){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t);}catch(t){s=null;}}return s}},a$7=(t,i)=>i!==t&&(i==i||t==t),l$a={attribute:!0,type:String,converter:n$d,reflect:!1,hasChanged:a$7},d$7="finalized";class u$7 extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu();}static addInitializer(t){var i;this.finalize(),(null!==(i=this.h)&&void 0!==i?i:this.h=[]).push(t);}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((i,s)=>{const e=this._$Ep(s,i);void 0!==e&&(this._$Ev.set(e,s),t.push(e));})),t}static createProperty(t,i=l$a){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(t,i),!i.noAccessor&&!this.prototype.hasOwnProperty(t)){const s="symbol"==typeof t?Symbol():"__"+t,e=this.getPropertyDescriptor(t,s,i);void 0!==e&&Object.defineProperty(this.prototype,t,e);}}static getPropertyDescriptor(t,i,s){return {get(){return this[i]},set(e){const r=this[t];this[i]=e,this.requestUpdate(t,r,s);},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||l$a}static finalize(){if(this.hasOwnProperty(d$7))return !1;this[d$7]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const s of i)this.createProperty(s,t[s]);}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(i){const s=[];if(Array.isArray(i)){const e=new Set(i.flat(1/0).reverse());for(const i of e)s.unshift(c$8(i));}else void 0!==i&&s.push(c$8(i));return s}static _$Ep(t,i){const s=i.attribute;return !1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)));}addController(t){var i,s;(null!==(i=this._$ES)&&void 0!==i?i:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(s=t.hostConnected)||void 0===s||s.call(t));}removeController(t){var i;null===(i=this._$ES)||void 0===i||i.splice(this._$ES.indexOf(t)>>>0,1);}_$Eg(){this.constructor.elementProperties.forEach(((t,i)=>{this.hasOwnProperty(i)&&(this._$Ei.set(i,this[i]),delete this[i]);}));}createRenderRoot(){var t;const s=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return S$7(s,this.constructor.elementStyles),s}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostConnected)||void 0===i?void 0:i.call(t)}));}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostDisconnected)||void 0===i?void 0:i.call(t)}));}attributeChangedCallback(t,i,s){this._$AK(t,s);}_$EO(t,i,s=l$a){var e;const r=this.constructor._$Ep(t,s);if(void 0!==r&&!0===s.reflect){const h=(void 0!==(null===(e=s.converter)||void 0===e?void 0:e.toAttribute)?s.converter:n$d).toAttribute(i,s.type);this._$El=t,null==h?this.removeAttribute(r):this.setAttribute(r,h),this._$El=null;}}_$AK(t,i){var s;const e=this.constructor,r=e._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=e.getPropertyOptions(r),h="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(s=t.converter)||void 0===s?void 0:s.fromAttribute)?t.converter:n$d;this._$El=r,this[r]=h.fromAttribute(i,t.type),this._$El=null;}}requestUpdate(t,i,s){let e=!0;void 0!==t&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||a$7)(this[t],i)?(this._$AL.has(t)||this._$AL.set(t,i),!0===s.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,s))):e=!1),!this.isUpdatePending&&e&&(this._$E_=this._$Ej());}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this._$Ei&&(this._$Ei.forEach(((t,i)=>this[i]=t)),this._$Ei=void 0);let i=!1;const s=this._$AL;try{i=this.shouldUpdate(s),i?(this.willUpdate(s),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostUpdate)||void 0===i?void 0:i.call(t)})),this.update(s)):this._$Ek();}catch(t){throw i=!1,this._$Ek(),t}i&&this._$AE(s);}willUpdate(t){}_$AE(t){var i;null===(i=this._$ES)||void 0===i||i.forEach((t=>{var i;return null===(i=t.hostUpdated)||void 0===i?void 0:i.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t);}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return !0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,i)=>this._$EO(i,this[i],t))),this._$EC=void 0),this._$Ek();}updated(t){}firstUpdated(t){}}u$7[d$7]=!0,u$7.elementProperties=new Map,u$7.elementStyles=[],u$7.shadowRootOptions={mode:"open"},null==o$d||o$d({ReactiveElement:u$7}),(null!==(s$c=e$a.reactiveElementVersions)&&void 0!==s$c?s$c:e$a.reactiveElementVersions=[]).push("1.6.3");
|
|
16258
|
+
|
|
16259
|
+
/**
|
|
16260
|
+
* @license
|
|
16261
|
+
* Copyright 2017 Google LLC
|
|
16262
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
16263
|
+
*/
|
|
16264
|
+
var t$6;const i$8=window,s$b=i$8.trustedTypes,e$9=s$b?s$b.createPolicy("lit-html",{createHTML:t=>t}):void 0,o$c="$lit$",n$c=`lit$${(Math.random()+"").slice(9)}$`,l$9="?"+n$c,h$6=`<${l$9}>`,r$a=document,u$6=()=>r$a.createComment(""),d$6=t=>null===t||"object"!=typeof t&&"function"!=typeof t,c$7=Array.isArray,v$3=t=>c$7(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),a$6="[ \t\n\f\r]",f$4=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_$3=/-->/g,m$3=/>/g,p$4=RegExp(`>|${a$6}(?:([^\\s"'>=/]+)(${a$6}*=${a$6}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),g$3=/'/g,$$3=/"/g,y$3=/^(?:script|style|textarea|title)$/i,T$3=Symbol.for("lit-noChange"),A$3=Symbol.for("lit-nothing"),E$3=new WeakMap,C$3=r$a.createTreeWalker(r$a,129,null,!1);function P$3(t,i){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==e$9?e$9.createHTML(i):i}const V$3=(t,i)=>{const s=t.length-1,e=[];let l,r=2===i?"<svg>":"",u=f$4;for(let i=0;i<s;i++){const s=t[i];let d,c,v=-1,a=0;for(;a<s.length&&(u.lastIndex=a,c=u.exec(s),null!==c);)a=u.lastIndex,u===f$4?"!--"===c[1]?u=_$3:void 0!==c[1]?u=m$3:void 0!==c[2]?(y$3.test(c[2])&&(l=RegExp("</"+c[2],"g")),u=p$4):void 0!==c[3]&&(u=p$4):u===p$4?">"===c[0]?(u=null!=l?l:f$4,v=-1):void 0===c[1]?v=-2:(v=u.lastIndex-c[2].length,d=c[1],u=void 0===c[3]?p$4:'"'===c[3]?$$3:g$3):u===$$3||u===g$3?u=p$4:u===_$3||u===m$3?u=f$4:(u=p$4,l=void 0);const w=u===p$4&&t[i+1].startsWith("/>")?" ":"";r+=u===f$4?s+h$6:v>=0?(e.push(d),s.slice(0,v)+o$c+s.slice(v)+n$c+w):s+n$c+(-2===v?(e.push(void 0),i):w);}return [P$3(t,r+(t[s]||"<?>")+(2===i?"</svg>":"")),e]};class N$3{constructor({strings:t,_$litType$:i},e){let h;this.parts=[];let r=0,d=0;const c=t.length-1,v=this.parts,[a,f]=V$3(t,i);if(this.el=N$3.createElement(a,e),C$3.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes);}for(;null!==(h=C$3.nextNode())&&v.length<c;){if(1===h.nodeType){if(h.hasAttributes()){const t=[];for(const i of h.getAttributeNames())if(i.endsWith(o$c)||i.startsWith(n$c)){const s=f[d++];if(t.push(i),void 0!==s){const t=h.getAttribute(s.toLowerCase()+o$c).split(n$c),i=/([.?@])?(.*)/.exec(s);v.push({type:1,index:r,name:i[2],strings:t,ctor:"."===i[1]?H$3:"?"===i[1]?L$3:"@"===i[1]?z$3:k$3});}else v.push({type:6,index:r});}for(const i of t)h.removeAttribute(i);}if(y$3.test(h.tagName)){const t=h.textContent.split(n$c),i=t.length-1;if(i>0){h.textContent=s$b?s$b.emptyScript:"";for(let s=0;s<i;s++)h.append(t[s],u$6()),C$3.nextNode(),v.push({type:2,index:++r});h.append(t[i],u$6());}}}else if(8===h.nodeType)if(h.data===l$9)v.push({type:2,index:r});else {let t=-1;for(;-1!==(t=h.data.indexOf(n$c,t+1));)v.push({type:7,index:r}),t+=n$c.length-1;}r++;}}static createElement(t,i){const s=r$a.createElement("template");return s.innerHTML=t,s}}function S$6(t,i,s=t,e){var o,n,l,h;if(i===T$3)return i;let r=void 0!==e?null===(o=s._$Co)||void 0===o?void 0:o[e]:s._$Cl;const u=d$6(i)?void 0:i._$litDirective$;return (null==r?void 0:r.constructor)!==u&&(null===(n=null==r?void 0:r._$AO)||void 0===n||n.call(r,!1),void 0===u?r=void 0:(r=new u(t),r._$AT(t,s,e)),void 0!==e?(null!==(l=(h=s)._$Co)&&void 0!==l?l:h._$Co=[])[e]=r:s._$Cl=r),void 0!==r&&(i=S$6(t,r._$AS(t,i.values),r,e)),i}class M$3{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:s},parts:e}=this._$AD,o=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:r$a).importNode(s,!0);C$3.currentNode=o;let n=C$3.nextNode(),l=0,h=0,u=e[0];for(;void 0!==u;){if(l===u.index){let i;2===u.type?i=new R$3(n,n.nextSibling,this,t):1===u.type?i=new u.ctor(n,u.name,u.strings,this,t):6===u.type&&(i=new Z$2(n,this,t)),this._$AV.push(i),u=e[++h];}l!==(null==u?void 0:u.index)&&(n=C$3.nextNode(),l++);}return C$3.currentNode=r$a,o}v(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R$3{constructor(t,i,s,e){var o;this.type=2,this._$AH=A$3,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cp=null===(o=null==e?void 0:e.isConnected)||void 0===o||o;}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$6(this,t,i),d$6(t)?t===A$3||null==t||""===t?(this._$AH!==A$3&&this._$AR(),this._$AH=A$3):t!==this._$AH&&t!==T$3&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):v$3(t)?this.T(t):this._(t);}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t));}_(t){this._$AH!==A$3&&d$6(this._$AH)?this._$AA.nextSibling.data=t:this.$(r$a.createTextNode(t)),this._$AH=t;}g(t){var i;const{values:s,_$litType$:e}=t,o="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=N$3.createElement(P$3(e.h,e.h[0]),this.options)),e);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===o)this._$AH.v(s);else {const t=new M$3(o,this),i=t.u(this.options);t.v(s),this.$(i),this._$AH=t;}}_$AC(t){let i=E$3.get(t.strings);return void 0===i&&E$3.set(t.strings,i=new N$3(t)),i}T(t){c$7(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const o of t)e===i.length?i.push(s=new R$3(this.k(u$6()),this.k(u$6()),this,this.options)):s=i[e],s._$AI(o),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){var s;for(null===(s=this._$AP)||void 0===s||s.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t));}}class k$3{constructor(t,i,s,e,o){this.type=1,this._$AH=A$3,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=o,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=A$3;}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,s,e){const o=this.strings;let n=!1;if(void 0===o)t=S$6(this,t,i,0),n=!d$6(t)||t!==this._$AH&&t!==T$3,n&&(this._$AH=t);else {const e=t;let l,h;for(t=o[0],l=0;l<o.length-1;l++)h=S$6(this,e[s+l],i,l),h===T$3&&(h=this._$AH[l]),n||(n=!d$6(h)||h!==this._$AH[l]),h===A$3?t=A$3:t!==A$3&&(t+=(null!=h?h:"")+o[l+1]),this._$AH[l]=h;}n&&!e&&this.j(t);}j(t){t===A$3?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"");}}class H$3 extends k$3{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===A$3?void 0:t;}}const I$3=s$b?s$b.emptyScript:"";class L$3 extends k$3{constructor(){super(...arguments),this.type=4;}j(t){t&&t!==A$3?this.element.setAttribute(this.name,I$3):this.element.removeAttribute(this.name);}}class z$3 extends k$3{constructor(t,i,s,e,o){super(t,i,s,e,o),this.type=5;}_$AI(t,i=this){var s;if((t=null!==(s=S$6(this,t,i,0))&&void 0!==s?s:A$3)===T$3)return;const e=this._$AH,o=t===A$3&&e!==A$3||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==A$3&&(e===A$3||o);o&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){var i,s;"function"==typeof this._$AH?this._$AH.call(null!==(s=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==s?s:this.element,t):this._$AH.handleEvent(t);}}class Z$2{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$6(this,t);}}const B$3=i$8.litHtmlPolyfillSupport;null==B$3||B$3(N$3,R$3),(null!==(t$6=i$8.litHtmlVersions)&&void 0!==t$6?t$6:i$8.litHtmlVersions=[]).push("2.8.0");const D$2=(t,i,s)=>{var e,o;const n=null!==(e=null==s?void 0:s.renderBefore)&&void 0!==e?e:i;let l=n._$litPart$;if(void 0===l){const t=null!==(o=null==s?void 0:s.renderBefore)&&void 0!==o?o:null;n._$litPart$=l=new R$3(i.insertBefore(u$6(),t),t,void 0,null!=s?s:{});}return l._$AI(t),l};
|
|
16265
|
+
|
|
16266
|
+
/**
|
|
16267
|
+
* @license
|
|
16268
|
+
* Copyright 2017 Google LLC
|
|
16269
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
16270
|
+
*/var l$8,o$b;class s$a extends u$7{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=D$2(i,this.renderRoot,this.renderOptions);}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0);}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1);}render(){return T$3}}s$a.finalized=!0,s$a._$litElement$=!0,null===(l$8=globalThis.litElementHydrateSupport)||void 0===l$8||l$8.call(globalThis,{LitElement:s$a});const n$b=globalThis.litElementPolyfillSupport;null==n$b||n$b({LitElement:s$a});(null!==(o$b=globalThis.litElementVersions)&&void 0!==o$b?o$b:globalThis.litElementVersions=[]).push("3.3.3");
|
|
16252
16271
|
|
|
16253
16272
|
/**
|
|
16254
16273
|
* @license
|
|
@@ -16256,7 +16275,7 @@ registerStyles('vaadin-button', button, { moduleId: 'lumo-button' });
|
|
|
16256
16275
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
16257
16276
|
*/
|
|
16258
16277
|
|
|
16259
|
-
const buttonStyles = i$
|
|
16278
|
+
const buttonStyles$1 = i$9`
|
|
16260
16279
|
:host {
|
|
16261
16280
|
display: inline-block;
|
|
16262
16281
|
position: relative;
|
|
@@ -16318,7 +16337,7 @@ const buttonStyles = i$1`
|
|
|
16318
16337
|
}
|
|
16319
16338
|
`;
|
|
16320
16339
|
|
|
16321
|
-
const buttonTemplate = (html) => html`
|
|
16340
|
+
const buttonTemplate$1 = (html) => html`
|
|
16322
16341
|
<div class="vaadin-button-container">
|
|
16323
16342
|
<span part="prefix" aria-hidden="true">
|
|
16324
16343
|
<slot name="prefix"></slot>
|
|
@@ -16347,7 +16366,7 @@ const buttonTemplate = (html) => html`
|
|
|
16347
16366
|
* @mixes FocusMixin
|
|
16348
16367
|
* @mixes TabindexMixin
|
|
16349
16368
|
*/
|
|
16350
|
-
const ButtonMixin = (superClass) =>
|
|
16369
|
+
const ButtonMixin$1 = (superClass) =>
|
|
16351
16370
|
class ButtonMixinClass extends ActiveMixin(TabindexMixin(FocusMixin(superClass))) {
|
|
16352
16371
|
static get properties() {
|
|
16353
16372
|
return {
|
|
@@ -16426,7 +16445,7 @@ const ButtonMixin = (superClass) =>
|
|
|
16426
16445
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
16427
16446
|
*/
|
|
16428
16447
|
|
|
16429
|
-
registerStyles('vaadin-button', buttonStyles, { moduleId: 'vaadin-button-styles' });
|
|
16448
|
+
registerStyles('vaadin-button', buttonStyles$1, { moduleId: 'vaadin-button-styles' });
|
|
16430
16449
|
|
|
16431
16450
|
/**
|
|
16432
16451
|
* `<vaadin-button>` is an accessible and customizable button that allows users to perform actions.
|
|
@@ -16463,13 +16482,13 @@ registerStyles('vaadin-button', buttonStyles, { moduleId: 'vaadin-button-styles'
|
|
|
16463
16482
|
* @mixes ElementMixin
|
|
16464
16483
|
* @mixes ThemableMixin
|
|
16465
16484
|
*/
|
|
16466
|
-
class Button extends ButtonMixin(ElementMixin(ThemableMixin(ControllerMixin(PolymerElement)))) {
|
|
16485
|
+
class Button$1 extends ButtonMixin$1(ElementMixin(ThemableMixin(ControllerMixin(PolymerElement)))) {
|
|
16467
16486
|
static get is() {
|
|
16468
16487
|
return 'vaadin-button';
|
|
16469
16488
|
}
|
|
16470
16489
|
|
|
16471
16490
|
static get template() {
|
|
16472
|
-
return buttonTemplate(html);
|
|
16491
|
+
return buttonTemplate$1(html);
|
|
16473
16492
|
}
|
|
16474
16493
|
|
|
16475
16494
|
/** @protected */
|
|
@@ -16481,11 +16500,11 @@ class Button extends ButtonMixin(ElementMixin(ThemableMixin(ControllerMixin(Poly
|
|
|
16481
16500
|
}
|
|
16482
16501
|
}
|
|
16483
16502
|
|
|
16484
|
-
defineCustomElement(Button);
|
|
16503
|
+
defineCustomElement(Button$1);
|
|
16485
16504
|
|
|
16486
16505
|
registerStyles(
|
|
16487
16506
|
'vaadin-date-picker-year',
|
|
16488
|
-
i$
|
|
16507
|
+
i$b`
|
|
16489
16508
|
:host([current]) [part='year-number'] {
|
|
16490
16509
|
color: var(--lumo-primary-text-color);
|
|
16491
16510
|
}
|
|
@@ -16515,7 +16534,7 @@ registerStyles(
|
|
|
16515
16534
|
|
|
16516
16535
|
registerStyles(
|
|
16517
16536
|
'vaadin-date-picker-overlay-content',
|
|
16518
|
-
i$
|
|
16537
|
+
i$b`
|
|
16519
16538
|
:host {
|
|
16520
16539
|
position: relative;
|
|
16521
16540
|
/* Background for the year scroller, placed here as we are using a mask image on the actual years part */
|
|
@@ -16671,7 +16690,7 @@ registerStyles(
|
|
|
16671
16690
|
|
|
16672
16691
|
registerStyles(
|
|
16673
16692
|
'vaadin-month-calendar',
|
|
16674
|
-
i$
|
|
16693
|
+
i$b`
|
|
16675
16694
|
:host {
|
|
16676
16695
|
-moz-user-select: none;
|
|
16677
16696
|
-webkit-user-select: none;
|
|
@@ -16835,7 +16854,70 @@ document.head.appendChild(template$1.content);
|
|
|
16835
16854
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
16836
16855
|
*/
|
|
16837
16856
|
|
|
16838
|
-
const
|
|
16857
|
+
const fontIcons$2 = i$b`
|
|
16858
|
+
@font-face {
|
|
16859
|
+
font-family: 'lumo-icons';
|
|
16860
|
+
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMABF0UtwCEnIPM/zhLK8LqhfXRybSP14XUYtHV9hGYQwQBNIo3cUIPkhQeM7rib1ekqnXg981XuC1qvy84lzojleh3puxL0hPjGjRU473teloEefAUNGjJkwZcacBUtWrNmwZceeA0dOnLlw5cadB09elPGhGf+j0NTI/65KfXerT6JhqKnpRKtgOpuqaTrt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GJQBvAB4nG2RPU7DMBiG3/QP0UoIBGJh8QILavozdmRo9w7d09RpUzlx5LgVvQMn4BAcgoEzcAgOwVvzSZVQbcnf48fvFysJgGt8IcJxROiG9TgauODuj5ukG+EW+UG4jR4ehTv0Q+EunjER7uEWmk+IWpc0d3gVbuAKb8JN+nfhFvlDuI17fAp36L+Fu1jgR7iHp+jF7Arbz1Nb1nO93pnEncSJFtrVuS3VKB6e5EyX2iVer9TyoOr9eux9pjJnCzW1pdfGWFU5u9WpjzfeV5PBIBMfp7aAwQ4FLPrIkbKWqDHn+67pDRK4s4lzbsEux5qHvcIIMb/nueSMyTKkE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
|
|
16861
|
+
format('woff');
|
|
16862
|
+
font-weight: normal;
|
|
16863
|
+
font-style: normal;
|
|
16864
|
+
}
|
|
16865
|
+
|
|
16866
|
+
html {
|
|
16867
|
+
--lumo-icons-align-center: '\\ea01';
|
|
16868
|
+
--lumo-icons-align-left: '\\ea02';
|
|
16869
|
+
--lumo-icons-align-right: '\\ea03';
|
|
16870
|
+
--lumo-icons-angle-down: '\\ea04';
|
|
16871
|
+
--lumo-icons-angle-left: '\\ea05';
|
|
16872
|
+
--lumo-icons-angle-right: '\\ea06';
|
|
16873
|
+
--lumo-icons-angle-up: '\\ea07';
|
|
16874
|
+
--lumo-icons-arrow-down: '\\ea08';
|
|
16875
|
+
--lumo-icons-arrow-left: '\\ea09';
|
|
16876
|
+
--lumo-icons-arrow-right: '\\ea0a';
|
|
16877
|
+
--lumo-icons-arrow-up: '\\ea0b';
|
|
16878
|
+
--lumo-icons-bar-chart: '\\ea0c';
|
|
16879
|
+
--lumo-icons-bell: '\\ea0d';
|
|
16880
|
+
--lumo-icons-calendar: '\\ea0e';
|
|
16881
|
+
--lumo-icons-checkmark: '\\ea0f';
|
|
16882
|
+
--lumo-icons-chevron-down: '\\ea10';
|
|
16883
|
+
--lumo-icons-chevron-left: '\\ea11';
|
|
16884
|
+
--lumo-icons-chevron-right: '\\ea12';
|
|
16885
|
+
--lumo-icons-chevron-up: '\\ea13';
|
|
16886
|
+
--lumo-icons-clock: '\\ea14';
|
|
16887
|
+
--lumo-icons-cog: '\\ea15';
|
|
16888
|
+
--lumo-icons-cross: '\\ea16';
|
|
16889
|
+
--lumo-icons-download: '\\ea17';
|
|
16890
|
+
--lumo-icons-dropdown: '\\ea18';
|
|
16891
|
+
--lumo-icons-edit: '\\ea19';
|
|
16892
|
+
--lumo-icons-error: '\\ea1a';
|
|
16893
|
+
--lumo-icons-eye: '\\ea1b';
|
|
16894
|
+
--lumo-icons-eye-disabled: '\\ea1c';
|
|
16895
|
+
--lumo-icons-menu: '\\ea1d';
|
|
16896
|
+
--lumo-icons-minus: '\\ea1e';
|
|
16897
|
+
--lumo-icons-ordered-list: '\\ea1f';
|
|
16898
|
+
--lumo-icons-phone: '\\ea20';
|
|
16899
|
+
--lumo-icons-photo: '\\ea21';
|
|
16900
|
+
--lumo-icons-play: '\\ea22';
|
|
16901
|
+
--lumo-icons-plus: '\\ea23';
|
|
16902
|
+
--lumo-icons-redo: '\\ea24';
|
|
16903
|
+
--lumo-icons-reload: '\\ea25';
|
|
16904
|
+
--lumo-icons-search: '\\ea26';
|
|
16905
|
+
--lumo-icons-undo: '\\ea27';
|
|
16906
|
+
--lumo-icons-unordered-list: '\\ea28';
|
|
16907
|
+
--lumo-icons-upload: '\\ea29';
|
|
16908
|
+
--lumo-icons-user: '\\ea2a';
|
|
16909
|
+
}
|
|
16910
|
+
`;
|
|
16911
|
+
|
|
16912
|
+
addLumoGlobalStyles$2('font-icons', fontIcons$2);
|
|
16913
|
+
|
|
16914
|
+
/**
|
|
16915
|
+
* @license
|
|
16916
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
16917
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
16918
|
+
*/
|
|
16919
|
+
|
|
16920
|
+
const fieldButton$2 = i$b`
|
|
16839
16921
|
[part$='button'] {
|
|
16840
16922
|
flex: none;
|
|
16841
16923
|
width: 1em;
|
|
@@ -16863,7 +16945,172 @@ const fieldButton$1 = i$1`
|
|
|
16863
16945
|
display: block;
|
|
16864
16946
|
}
|
|
16865
16947
|
`;
|
|
16866
|
-
registerStyles('', fieldButton$
|
|
16948
|
+
registerStyles('', fieldButton$2, { moduleId: 'lumo-field-button' });
|
|
16949
|
+
|
|
16950
|
+
/**
|
|
16951
|
+
* @license
|
|
16952
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
16953
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
16954
|
+
*/
|
|
16955
|
+
|
|
16956
|
+
const helper$1 = i$b`
|
|
16957
|
+
:host([has-helper]) [part='helper-text']::before {
|
|
16958
|
+
content: '';
|
|
16959
|
+
display: block;
|
|
16960
|
+
height: 0.4em;
|
|
16961
|
+
}
|
|
16962
|
+
|
|
16963
|
+
[part='helper-text'] {
|
|
16964
|
+
display: block;
|
|
16965
|
+
color: var(--lumo-secondary-text-color);
|
|
16966
|
+
font-size: var(--lumo-font-size-xs);
|
|
16967
|
+
line-height: var(--lumo-line-height-xs);
|
|
16968
|
+
margin-left: calc(var(--lumo-border-radius-m) / 4);
|
|
16969
|
+
transition: color 0.2s;
|
|
16970
|
+
}
|
|
16971
|
+
|
|
16972
|
+
:host(:hover:not([readonly])) [part='helper-text'] {
|
|
16973
|
+
color: var(--lumo-body-text-color);
|
|
16974
|
+
}
|
|
16975
|
+
|
|
16976
|
+
:host([disabled]) [part='helper-text'] {
|
|
16977
|
+
color: var(--lumo-disabled-text-color);
|
|
16978
|
+
-webkit-text-fill-color: var(--lumo-disabled-text-color);
|
|
16979
|
+
}
|
|
16980
|
+
|
|
16981
|
+
:host([has-helper][theme~='helper-above-field']) [part='helper-text']::before {
|
|
16982
|
+
display: none;
|
|
16983
|
+
}
|
|
16984
|
+
|
|
16985
|
+
:host([has-helper][theme~='helper-above-field']) [part='helper-text']::after {
|
|
16986
|
+
content: '';
|
|
16987
|
+
display: block;
|
|
16988
|
+
height: 0.4em;
|
|
16989
|
+
}
|
|
16990
|
+
|
|
16991
|
+
:host([has-helper][theme~='helper-above-field']) [part='label'] {
|
|
16992
|
+
order: 0;
|
|
16993
|
+
padding-bottom: 0.4em;
|
|
16994
|
+
}
|
|
16995
|
+
|
|
16996
|
+
:host([has-helper][theme~='helper-above-field']) [part='helper-text'] {
|
|
16997
|
+
order: 1;
|
|
16998
|
+
}
|
|
16999
|
+
|
|
17000
|
+
:host([has-helper][theme~='helper-above-field']) [part='label'] + * {
|
|
17001
|
+
order: 2;
|
|
17002
|
+
}
|
|
17003
|
+
|
|
17004
|
+
:host([has-helper][theme~='helper-above-field']) [part='error-message'] {
|
|
17005
|
+
order: 3;
|
|
17006
|
+
}
|
|
17007
|
+
`;
|
|
17008
|
+
|
|
17009
|
+
/**
|
|
17010
|
+
* @license
|
|
17011
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
17012
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
17013
|
+
*/
|
|
17014
|
+
|
|
17015
|
+
const requiredField$1 = i$b`
|
|
17016
|
+
[part='label'] {
|
|
17017
|
+
align-self: flex-start;
|
|
17018
|
+
color: var(--lumo-secondary-text-color);
|
|
17019
|
+
font-weight: 500;
|
|
17020
|
+
font-size: var(--lumo-font-size-s);
|
|
17021
|
+
margin-left: calc(var(--lumo-border-radius-m) / 4);
|
|
17022
|
+
transition: color 0.2s;
|
|
17023
|
+
line-height: 1;
|
|
17024
|
+
padding-right: 1em;
|
|
17025
|
+
padding-bottom: 0.5em;
|
|
17026
|
+
/* As a workaround for diacritics being cut off, add a top padding and a
|
|
17027
|
+
negative margin to compensate */
|
|
17028
|
+
padding-top: 0.25em;
|
|
17029
|
+
margin-top: -0.25em;
|
|
17030
|
+
overflow: hidden;
|
|
17031
|
+
white-space: nowrap;
|
|
17032
|
+
text-overflow: ellipsis;
|
|
17033
|
+
position: relative;
|
|
17034
|
+
max-width: 100%;
|
|
17035
|
+
box-sizing: border-box;
|
|
17036
|
+
}
|
|
17037
|
+
|
|
17038
|
+
:host([has-label])::before {
|
|
17039
|
+
margin-top: calc(var(--lumo-font-size-s) * 1.5);
|
|
17040
|
+
}
|
|
17041
|
+
|
|
17042
|
+
:host([has-label][theme~='small'])::before {
|
|
17043
|
+
margin-top: calc(var(--lumo-font-size-xs) * 1.5);
|
|
17044
|
+
}
|
|
17045
|
+
|
|
17046
|
+
:host([has-label]) {
|
|
17047
|
+
padding-top: var(--lumo-space-m);
|
|
17048
|
+
}
|
|
17049
|
+
|
|
17050
|
+
:host([has-label]) ::slotted([slot='tooltip']) {
|
|
17051
|
+
--vaadin-tooltip-offset-bottom: calc((var(--lumo-space-m) - var(--lumo-space-xs)) * -1);
|
|
17052
|
+
}
|
|
17053
|
+
|
|
17054
|
+
:host([required]) [part='required-indicator']::after {
|
|
17055
|
+
content: var(--lumo-required-field-indicator, '\\2022');
|
|
17056
|
+
transition: opacity 0.2s;
|
|
17057
|
+
color: var(--lumo-required-field-indicator-color, var(--lumo-primary-text-color));
|
|
17058
|
+
position: absolute;
|
|
17059
|
+
right: 0;
|
|
17060
|
+
width: 1em;
|
|
17061
|
+
text-align: center;
|
|
17062
|
+
}
|
|
17063
|
+
|
|
17064
|
+
:host([invalid]) [part='required-indicator']::after {
|
|
17065
|
+
color: var(--lumo-required-field-indicator-color, var(--lumo-error-text-color));
|
|
17066
|
+
}
|
|
17067
|
+
|
|
17068
|
+
[part='error-message'] {
|
|
17069
|
+
margin-left: calc(var(--lumo-border-radius-m) / 4);
|
|
17070
|
+
font-size: var(--lumo-font-size-xs);
|
|
17071
|
+
line-height: var(--lumo-line-height-xs);
|
|
17072
|
+
color: var(--lumo-error-text-color);
|
|
17073
|
+
will-change: max-height;
|
|
17074
|
+
transition: 0.4s max-height;
|
|
17075
|
+
max-height: 5em;
|
|
17076
|
+
}
|
|
17077
|
+
|
|
17078
|
+
:host([has-error-message]) [part='error-message']::before,
|
|
17079
|
+
:host([has-error-message]) [part='error-message']::after {
|
|
17080
|
+
content: '';
|
|
17081
|
+
display: block;
|
|
17082
|
+
height: 0.4em;
|
|
17083
|
+
}
|
|
17084
|
+
|
|
17085
|
+
:host(:not([invalid])) [part='error-message'] {
|
|
17086
|
+
max-height: 0;
|
|
17087
|
+
overflow: hidden;
|
|
17088
|
+
}
|
|
17089
|
+
|
|
17090
|
+
/* RTL specific styles */
|
|
17091
|
+
|
|
17092
|
+
:host([dir='rtl']) [part='label'] {
|
|
17093
|
+
margin-left: 0;
|
|
17094
|
+
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
17095
|
+
}
|
|
17096
|
+
|
|
17097
|
+
:host([dir='rtl']) [part='label'] {
|
|
17098
|
+
padding-left: 1em;
|
|
17099
|
+
padding-right: 0;
|
|
17100
|
+
}
|
|
17101
|
+
|
|
17102
|
+
:host([dir='rtl']) [part='required-indicator']::after {
|
|
17103
|
+
right: auto;
|
|
17104
|
+
left: 0;
|
|
17105
|
+
}
|
|
17106
|
+
|
|
17107
|
+
:host([dir='rtl']) [part='error-message'] {
|
|
17108
|
+
margin-left: 0;
|
|
17109
|
+
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
17110
|
+
}
|
|
17111
|
+
`;
|
|
17112
|
+
|
|
17113
|
+
registerStyles('', requiredField$1, { moduleId: 'lumo-required-field' });
|
|
16867
17114
|
|
|
16868
17115
|
/**
|
|
16869
17116
|
* @license
|
|
@@ -16871,7 +17118,7 @@ registerStyles('', fieldButton$1, { moduleId: 'lumo-field-button' });
|
|
|
16871
17118
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
16872
17119
|
*/
|
|
16873
17120
|
|
|
16874
|
-
const inputField$
|
|
17121
|
+
const inputField$2 = i$b`
|
|
16875
17122
|
:host {
|
|
16876
17123
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
16877
17124
|
color: var(--lumo-body-text-color);
|
|
@@ -17007,13 +17254,13 @@ const inputField$1 = i$1`
|
|
|
17007
17254
|
}
|
|
17008
17255
|
`;
|
|
17009
17256
|
|
|
17010
|
-
const inputFieldShared$
|
|
17257
|
+
const inputFieldShared$3 = [requiredField$1, fieldButton$2, helper$1, inputField$2];
|
|
17011
17258
|
|
|
17012
|
-
registerStyles('', inputFieldShared$
|
|
17259
|
+
registerStyles('', inputFieldShared$3, {
|
|
17013
17260
|
moduleId: 'lumo-input-field-shared-styles',
|
|
17014
17261
|
});
|
|
17015
17262
|
|
|
17016
|
-
const datePicker = i$
|
|
17263
|
+
const datePicker = i$b`
|
|
17017
17264
|
:host {
|
|
17018
17265
|
outline: none;
|
|
17019
17266
|
}
|
|
@@ -17041,7 +17288,7 @@ const datePicker = i$1`
|
|
|
17041
17288
|
}
|
|
17042
17289
|
`;
|
|
17043
17290
|
|
|
17044
|
-
registerStyles('vaadin-date-picker', [inputFieldShared$
|
|
17291
|
+
registerStyles('vaadin-date-picker', [inputFieldShared$3, datePicker], { moduleId: 'lumo-date-picker' });
|
|
17045
17292
|
|
|
17046
17293
|
/**
|
|
17047
17294
|
@license
|
|
@@ -18718,13 +18965,39 @@ const PositionMixin = (superClass) =>
|
|
|
18718
18965
|
}
|
|
18719
18966
|
};
|
|
18720
18967
|
|
|
18968
|
+
/**
|
|
18969
|
+
* @license
|
|
18970
|
+
* Copyright 2019 Google LLC
|
|
18971
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
18972
|
+
*/
|
|
18973
|
+
const t$5=globalThis,e$8=t$5.ShadowRoot&&(void 0===t$5.ShadyCSS||t$5.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$9=Symbol(),o$a=new WeakMap;class n$a{constructor(t,e,o){if(this._$cssResult$=!0,o!==s$9)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$8&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$a.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$a.set(s,t));}return t}toString(){return this.cssText}}const r$9=t=>new n$a("string"==typeof t?t:t+"",void 0,s$9),i$7=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$a(o,t,s$9)},S$5=(s,o)=>{if(e$8)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$5.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$6=e$8?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$9(e)})(t):t;
|
|
18974
|
+
|
|
18975
|
+
/**
|
|
18976
|
+
* @license
|
|
18977
|
+
* Copyright 2017 Google LLC
|
|
18978
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
18979
|
+
*/const{is:i$6,defineProperty:e$7,getOwnPropertyDescriptor:r$8,getOwnPropertyNames:h$5,getOwnPropertySymbols:o$9,getPrototypeOf:n$9}=Object,a$5=globalThis,c$5=a$5.trustedTypes,l$7=c$5?c$5.emptyScript:"",p$3=a$5.reactiveElementPolyfillSupport,d$5=(t,s)=>t,u$5={toAttribute(t,s){switch(s){case Boolean:t=t?l$7:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$3=(t,s)=>!i$6(t,s),y$2={attribute:!0,type:String,converter:u$5,reflect:!1,hasChanged:f$3};Symbol.metadata??=Symbol("metadata"),a$5.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$2){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$7(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$8(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$2}static _$Ei(){if(this.hasOwnProperty(d$5("elementProperties")))return;const t=n$9(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$5("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d$5("properties"))){const t=this.properties,s=[...h$5(t),...o$9(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$6(s));}else void 0!==s&&i.push(c$6(s));return i}static _$Eu(t,s){const i=s.attribute;return !1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$5(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$5).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$5;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$3)(this[t],s))return;this.P(t,s,i);}!1===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=!0;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=!1;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return !0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[d$5("elementProperties")]=new Map,b[d$5("finalized")]=new Map,p$3?.({ReactiveElement:b}),(a$5.reactiveElementVersions??=[]).push("2.0.4");
|
|
18980
|
+
|
|
18981
|
+
/**
|
|
18982
|
+
* @license
|
|
18983
|
+
* Copyright 2017 Google LLC
|
|
18984
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
18985
|
+
*/
|
|
18986
|
+
const t$4=globalThis,i$5=t$4.trustedTypes,s$8=i$5?i$5.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$6="$lit$",h$4=`lit$${Math.random().toFixed(9).slice(2)}$`,o$8="?"+h$4,n$8=`<${o$8}>`,r$7=document,l$6=()=>r$7.createComment(""),c$4=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$4=Array.isArray,u$4=t=>a$4(t)||"function"==typeof t?.[Symbol.iterator],d$4="[ \t\n\f\r]",f$2=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$2=/-->/g,_$2=/>/g,m$2=RegExp(`>|${d$4}(?:([^\\s"'>=/]+)(${d$4}*=${d$4}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$2=/'/g,g$2=/"/g,$$2=/^(?:script|style|textarea|title)$/i,T$2=Symbol.for("lit-noChange"),E$2=Symbol.for("lit-nothing"),A$2=new WeakMap,C$2=r$7.createTreeWalker(r$7,129);function P$2(t,i){if(!a$4(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$8?s$8.createHTML(i):i}const V$2=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$2;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$2?"!--"===u[1]?c=v$2:void 0!==u[1]?c=_$2:void 0!==u[2]?($$2.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$2):void 0!==u[3]&&(c=m$2):c===m$2?">"===u[0]?(c=r??f$2,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$2:'"'===u[3]?g$2:p$2):c===g$2||c===p$2?c=m$2:c===v$2||c===_$2?c=f$2:(c=m$2,r=void 0);const x=c===m$2&&t[i+1].startsWith("/>")?" ":"";l+=c===f$2?s+n$8:d>=0?(o.push(a),s.slice(0,d)+e$6+s.slice(d)+h$4+x):s+h$4+(-2===d?i:x);}return [P$2(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N$2{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$2(t,s);if(this.el=N$2.createElement(f,n),C$2.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$2.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$6)){const i=v[a++],s=r.getAttribute(t).split(h$4),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$2:"?"===e[1]?I$2:"@"===e[1]?L$2:k$2}),r.removeAttribute(t);}else t.startsWith(h$4)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$2.test(r.tagName)){const t=r.textContent.split(h$4),s=t.length-1;if(s>0){r.textContent=i$5?i$5.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$6()),C$2.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$6());}}}else if(8===r.nodeType)if(r.data===o$8)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$4,t+1));)d.push({type:7,index:c}),t+=h$4.length-1;}c++;}}static createElement(t,i){const s=r$7.createElement("template");return s.innerHTML=t,s}}function S$4(t,i,s=t,e){if(i===T$2)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$4(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S$4(t,h._$AS(t,i.values),h,e)),i}class M$2{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$7).importNode(i,!0);C$2.currentNode=e;let h=C$2.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$2(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$2(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$2.nextNode(),o++);}return C$2.currentNode=r$7,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R$2{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$2,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??!0;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$4(this,t,i),c$4(t)?t===E$2||null==t||""===t?(this._$AH!==E$2&&this._$AR(),this._$AH=E$2):t!==this._$AH&&t!==T$2&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$4(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$2&&c$4(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$7.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$2.createElement(P$2(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$2(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$2.get(t.strings);return void 0===i&&A$2.set(t.strings,i=new N$2(t)),i}k(t){a$4(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R$2(this.O(l$6()),this.O(l$6()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k$2{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$2,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$2;}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=S$4(this,t,i,0),o=!c$4(t)||t!==this._$AH&&t!==T$2,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$4(this,e[s+n],i,n),r===T$2&&(r=this._$AH[n]),o||=!c$4(r)||r!==this._$AH[n],r===E$2?t=E$2:t!==E$2&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$2?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H$2 extends k$2{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$2?void 0:t;}}class I$2 extends k$2{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$2);}}class L$2 extends k$2{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$4(this,t,i,0)??E$2)===T$2)return;const s=this._$AH,e=t===E$2&&s!==E$2||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$2&&(s===E$2||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z$2{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$4(this,t);}}const j=t$4.litHtmlPolyfillSupport;j?.(N$2,R$2),(t$4.litHtmlVersions??=[]).push("3.2.1");const B$2=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$2(i.insertBefore(l$6(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
18987
|
+
|
|
18988
|
+
/**
|
|
18989
|
+
* @license
|
|
18990
|
+
* Copyright 2017 Google LLC
|
|
18991
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
18992
|
+
*/class r$6 extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$2(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1);}render(){return T$2}}r$6._$litElement$=!0,r$6["finalized"]=!0,globalThis.litElementHydrateSupport?.({LitElement:r$6});const i$4=globalThis.litElementPolyfillSupport;i$4?.({LitElement:r$6});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
18993
|
+
|
|
18721
18994
|
/**
|
|
18722
18995
|
* @license
|
|
18723
18996
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
18724
18997
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
18725
18998
|
*/
|
|
18726
18999
|
|
|
18727
|
-
const overlayStyles = i$
|
|
19000
|
+
const overlayStyles = i$7`
|
|
18728
19001
|
:host {
|
|
18729
19002
|
z-index: 200;
|
|
18730
19003
|
position: fixed;
|
|
@@ -18790,7 +19063,7 @@ const overlayStyles = i$1`
|
|
|
18790
19063
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
18791
19064
|
*/
|
|
18792
19065
|
|
|
18793
|
-
const datePickerOverlayStyles = i$
|
|
19066
|
+
const datePickerOverlayStyles = i$9`
|
|
18794
19067
|
[part='overlay'] {
|
|
18795
19068
|
display: flex;
|
|
18796
19069
|
flex: auto;
|
|
@@ -21784,7 +22057,7 @@ const MonthCalendarMixin = (superClass) =>
|
|
|
21784
22057
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
21785
22058
|
*/
|
|
21786
22059
|
|
|
21787
|
-
const monthCalendarStyles = i$
|
|
22060
|
+
const monthCalendarStyles = i$9`
|
|
21788
22061
|
:host {
|
|
21789
22062
|
display: block;
|
|
21790
22063
|
}
|
|
@@ -23104,7 +23377,7 @@ const DatePickerOverlayContentMixin = (superClass) =>
|
|
|
23104
23377
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
23105
23378
|
*/
|
|
23106
23379
|
|
|
23107
|
-
const overlayContentStyles = i$
|
|
23380
|
+
const overlayContentStyles = i$9`
|
|
23108
23381
|
:host {
|
|
23109
23382
|
display: flex;
|
|
23110
23383
|
flex-direction: column;
|
|
@@ -23808,13 +24081,39 @@ const InputControlMixin = (superclass) =>
|
|
|
23808
24081
|
*/
|
|
23809
24082
|
};
|
|
23810
24083
|
|
|
24084
|
+
/**
|
|
24085
|
+
* @license
|
|
24086
|
+
* Copyright 2019 Google LLC
|
|
24087
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
24088
|
+
*/
|
|
24089
|
+
const t$3=window,e$5=t$3.ShadowRoot&&(void 0===t$3.ShadyCSS||t$3.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$7=Symbol(),n$7=new WeakMap;class o$7{constructor(t,e,n){if(this._$cssResult$=!0,n!==s$7)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$5&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=n$7.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&n$7.set(s,t));}return t}toString(){return this.cssText}}const r$5=t=>new o$7("string"==typeof t?t:t+"",void 0,s$7),i$3=(t,...e)=>{const n=1===t.length?t[0]:e.reduce(((e,s,n)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[n+1]),t[0]);return new o$7(n,t,s$7)},S$3=(s,n)=>{e$5?s.adoptedStyleSheets=n.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):n.forEach((e=>{const n=document.createElement("style"),o=t$3.litNonce;void 0!==o&&n.setAttribute("nonce",o),n.textContent=e.cssText,s.appendChild(n);}));},c$3=e$5?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$5(e)})(t):t;
|
|
24090
|
+
|
|
24091
|
+
/**
|
|
24092
|
+
* @license
|
|
24093
|
+
* Copyright 2017 Google LLC
|
|
24094
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
24095
|
+
*/var s$6;const e$4=window,r$4=e$4.trustedTypes,h$3=r$4?r$4.emptyScript:"",o$6=e$4.reactiveElementPolyfillSupport,n$6={toAttribute(t,i){switch(i){case Boolean:t=t?h$3:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,i){let s=t;switch(i){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t);}catch(t){s=null;}}return s}},a$3=(t,i)=>i!==t&&(i==i||t==t),l$5={attribute:!0,type:String,converter:n$6,reflect:!1,hasChanged:a$3},d$3="finalized";class u$3 extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu();}static addInitializer(t){var i;this.finalize(),(null!==(i=this.h)&&void 0!==i?i:this.h=[]).push(t);}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((i,s)=>{const e=this._$Ep(s,i);void 0!==e&&(this._$Ev.set(e,s),t.push(e));})),t}static createProperty(t,i=l$5){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(t,i),!i.noAccessor&&!this.prototype.hasOwnProperty(t)){const s="symbol"==typeof t?Symbol():"__"+t,e=this.getPropertyDescriptor(t,s,i);void 0!==e&&Object.defineProperty(this.prototype,t,e);}}static getPropertyDescriptor(t,i,s){return {get(){return this[i]},set(e){const r=this[t];this[i]=e,this.requestUpdate(t,r,s);},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||l$5}static finalize(){if(this.hasOwnProperty(d$3))return !1;this[d$3]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const s of i)this.createProperty(s,t[s]);}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(i){const s=[];if(Array.isArray(i)){const e=new Set(i.flat(1/0).reverse());for(const i of e)s.unshift(c$3(i));}else void 0!==i&&s.push(c$3(i));return s}static _$Ep(t,i){const s=i.attribute;return !1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)));}addController(t){var i,s;(null!==(i=this._$ES)&&void 0!==i?i:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(s=t.hostConnected)||void 0===s||s.call(t));}removeController(t){var i;null===(i=this._$ES)||void 0===i||i.splice(this._$ES.indexOf(t)>>>0,1);}_$Eg(){this.constructor.elementProperties.forEach(((t,i)=>{this.hasOwnProperty(i)&&(this._$Ei.set(i,this[i]),delete this[i]);}));}createRenderRoot(){var t;const s=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return S$3(s,this.constructor.elementStyles),s}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostConnected)||void 0===i?void 0:i.call(t)}));}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostDisconnected)||void 0===i?void 0:i.call(t)}));}attributeChangedCallback(t,i,s){this._$AK(t,s);}_$EO(t,i,s=l$5){var e;const r=this.constructor._$Ep(t,s);if(void 0!==r&&!0===s.reflect){const h=(void 0!==(null===(e=s.converter)||void 0===e?void 0:e.toAttribute)?s.converter:n$6).toAttribute(i,s.type);this._$El=t,null==h?this.removeAttribute(r):this.setAttribute(r,h),this._$El=null;}}_$AK(t,i){var s;const e=this.constructor,r=e._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=e.getPropertyOptions(r),h="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(s=t.converter)||void 0===s?void 0:s.fromAttribute)?t.converter:n$6;this._$El=r,this[r]=h.fromAttribute(i,t.type),this._$El=null;}}requestUpdate(t,i,s){let e=!0;void 0!==t&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||a$3)(this[t],i)?(this._$AL.has(t)||this._$AL.set(t,i),!0===s.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,s))):e=!1),!this.isUpdatePending&&e&&(this._$E_=this._$Ej());}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this._$Ei&&(this._$Ei.forEach(((t,i)=>this[i]=t)),this._$Ei=void 0);let i=!1;const s=this._$AL;try{i=this.shouldUpdate(s),i?(this.willUpdate(s),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostUpdate)||void 0===i?void 0:i.call(t)})),this.update(s)):this._$Ek();}catch(t){throw i=!1,this._$Ek(),t}i&&this._$AE(s);}willUpdate(t){}_$AE(t){var i;null===(i=this._$ES)||void 0===i||i.forEach((t=>{var i;return null===(i=t.hostUpdated)||void 0===i?void 0:i.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t);}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return !0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,i)=>this._$EO(i,this[i],t))),this._$EC=void 0),this._$Ek();}updated(t){}firstUpdated(t){}}u$3[d$3]=!0,u$3.elementProperties=new Map,u$3.elementStyles=[],u$3.shadowRootOptions={mode:"open"},null==o$6||o$6({ReactiveElement:u$3}),(null!==(s$6=e$4.reactiveElementVersions)&&void 0!==s$6?s$6:e$4.reactiveElementVersions=[]).push("1.6.3");
|
|
24096
|
+
|
|
24097
|
+
/**
|
|
24098
|
+
* @license
|
|
24099
|
+
* Copyright 2017 Google LLC
|
|
24100
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
24101
|
+
*/
|
|
24102
|
+
var t$2;const i$2=window,s$5=i$2.trustedTypes,e$3=s$5?s$5.createPolicy("lit-html",{createHTML:t=>t}):void 0,o$5="$lit$",n$5=`lit$${(Math.random()+"").slice(9)}$`,l$4="?"+n$5,h$2=`<${l$4}>`,r$3=document,u$2=()=>r$3.createComment(""),d$2=t=>null===t||"object"!=typeof t&&"function"!=typeof t,c$2=Array.isArray,v$1=t=>c$2(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),a$2="[ \t\n\f\r]",f$1=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_$1=/-->/g,m$1=/>/g,p$1=RegExp(`>|${a$2}(?:([^\\s"'>=/]+)(${a$2}*=${a$2}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),g$1=/'/g,$$1=/"/g,y$1=/^(?:script|style|textarea|title)$/i,T$1=Symbol.for("lit-noChange"),A$1=Symbol.for("lit-nothing"),E$1=new WeakMap,C$1=r$3.createTreeWalker(r$3,129,null,!1);function P$1(t,i){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==e$3?e$3.createHTML(i):i}const V$1=(t,i)=>{const s=t.length-1,e=[];let l,r=2===i?"<svg>":"",u=f$1;for(let i=0;i<s;i++){const s=t[i];let d,c,v=-1,a=0;for(;a<s.length&&(u.lastIndex=a,c=u.exec(s),null!==c);)a=u.lastIndex,u===f$1?"!--"===c[1]?u=_$1:void 0!==c[1]?u=m$1:void 0!==c[2]?(y$1.test(c[2])&&(l=RegExp("</"+c[2],"g")),u=p$1):void 0!==c[3]&&(u=p$1):u===p$1?">"===c[0]?(u=null!=l?l:f$1,v=-1):void 0===c[1]?v=-2:(v=u.lastIndex-c[2].length,d=c[1],u=void 0===c[3]?p$1:'"'===c[3]?$$1:g$1):u===$$1||u===g$1?u=p$1:u===_$1||u===m$1?u=f$1:(u=p$1,l=void 0);const w=u===p$1&&t[i+1].startsWith("/>")?" ":"";r+=u===f$1?s+h$2:v>=0?(e.push(d),s.slice(0,v)+o$5+s.slice(v)+n$5+w):s+n$5+(-2===v?(e.push(void 0),i):w);}return [P$1(t,r+(t[s]||"<?>")+(2===i?"</svg>":"")),e]};class N$1{constructor({strings:t,_$litType$:i},e){let h;this.parts=[];let r=0,d=0;const c=t.length-1,v=this.parts,[a,f]=V$1(t,i);if(this.el=N$1.createElement(a,e),C$1.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes);}for(;null!==(h=C$1.nextNode())&&v.length<c;){if(1===h.nodeType){if(h.hasAttributes()){const t=[];for(const i of h.getAttributeNames())if(i.endsWith(o$5)||i.startsWith(n$5)){const s=f[d++];if(t.push(i),void 0!==s){const t=h.getAttribute(s.toLowerCase()+o$5).split(n$5),i=/([.?@])?(.*)/.exec(s);v.push({type:1,index:r,name:i[2],strings:t,ctor:"."===i[1]?H$1:"?"===i[1]?L$1:"@"===i[1]?z$1:k$1});}else v.push({type:6,index:r});}for(const i of t)h.removeAttribute(i);}if(y$1.test(h.tagName)){const t=h.textContent.split(n$5),i=t.length-1;if(i>0){h.textContent=s$5?s$5.emptyScript:"";for(let s=0;s<i;s++)h.append(t[s],u$2()),C$1.nextNode(),v.push({type:2,index:++r});h.append(t[i],u$2());}}}else if(8===h.nodeType)if(h.data===l$4)v.push({type:2,index:r});else {let t=-1;for(;-1!==(t=h.data.indexOf(n$5,t+1));)v.push({type:7,index:r}),t+=n$5.length-1;}r++;}}static createElement(t,i){const s=r$3.createElement("template");return s.innerHTML=t,s}}function S$2(t,i,s=t,e){var o,n,l,h;if(i===T$1)return i;let r=void 0!==e?null===(o=s._$Co)||void 0===o?void 0:o[e]:s._$Cl;const u=d$2(i)?void 0:i._$litDirective$;return (null==r?void 0:r.constructor)!==u&&(null===(n=null==r?void 0:r._$AO)||void 0===n||n.call(r,!1),void 0===u?r=void 0:(r=new u(t),r._$AT(t,s,e)),void 0!==e?(null!==(l=(h=s)._$Co)&&void 0!==l?l:h._$Co=[])[e]=r:s._$Cl=r),void 0!==r&&(i=S$2(t,r._$AS(t,i.values),r,e)),i}class M$1{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:s},parts:e}=this._$AD,o=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:r$3).importNode(s,!0);C$1.currentNode=o;let n=C$1.nextNode(),l=0,h=0,u=e[0];for(;void 0!==u;){if(l===u.index){let i;2===u.type?i=new R$1(n,n.nextSibling,this,t):1===u.type?i=new u.ctor(n,u.name,u.strings,this,t):6===u.type&&(i=new Z$1(n,this,t)),this._$AV.push(i),u=e[++h];}l!==(null==u?void 0:u.index)&&(n=C$1.nextNode(),l++);}return C$1.currentNode=r$3,o}v(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R$1{constructor(t,i,s,e){var o;this.type=2,this._$AH=A$1,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cp=null===(o=null==e?void 0:e.isConnected)||void 0===o||o;}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$2(this,t,i),d$2(t)?t===A$1||null==t||""===t?(this._$AH!==A$1&&this._$AR(),this._$AH=A$1):t!==this._$AH&&t!==T$1&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):v$1(t)?this.T(t):this._(t);}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t));}_(t){this._$AH!==A$1&&d$2(this._$AH)?this._$AA.nextSibling.data=t:this.$(r$3.createTextNode(t)),this._$AH=t;}g(t){var i;const{values:s,_$litType$:e}=t,o="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=N$1.createElement(P$1(e.h,e.h[0]),this.options)),e);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===o)this._$AH.v(s);else {const t=new M$1(o,this),i=t.u(this.options);t.v(s),this.$(i),this._$AH=t;}}_$AC(t){let i=E$1.get(t.strings);return void 0===i&&E$1.set(t.strings,i=new N$1(t)),i}T(t){c$2(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const o of t)e===i.length?i.push(s=new R$1(this.k(u$2()),this.k(u$2()),this,this.options)):s=i[e],s._$AI(o),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){var s;for(null===(s=this._$AP)||void 0===s||s.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t));}}class k$1{constructor(t,i,s,e,o){this.type=1,this._$AH=A$1,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=o,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=A$1;}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,s,e){const o=this.strings;let n=!1;if(void 0===o)t=S$2(this,t,i,0),n=!d$2(t)||t!==this._$AH&&t!==T$1,n&&(this._$AH=t);else {const e=t;let l,h;for(t=o[0],l=0;l<o.length-1;l++)h=S$2(this,e[s+l],i,l),h===T$1&&(h=this._$AH[l]),n||(n=!d$2(h)||h!==this._$AH[l]),h===A$1?t=A$1:t!==A$1&&(t+=(null!=h?h:"")+o[l+1]),this._$AH[l]=h;}n&&!e&&this.j(t);}j(t){t===A$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"");}}class H$1 extends k$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===A$1?void 0:t;}}const I$1=s$5?s$5.emptyScript:"";class L$1 extends k$1{constructor(){super(...arguments),this.type=4;}j(t){t&&t!==A$1?this.element.setAttribute(this.name,I$1):this.element.removeAttribute(this.name);}}class z$1 extends k$1{constructor(t,i,s,e,o){super(t,i,s,e,o),this.type=5;}_$AI(t,i=this){var s;if((t=null!==(s=S$2(this,t,i,0))&&void 0!==s?s:A$1)===T$1)return;const e=this._$AH,o=t===A$1&&e!==A$1||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==A$1&&(e===A$1||o);o&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){var i,s;"function"==typeof this._$AH?this._$AH.call(null!==(s=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==s?s:this.element,t):this._$AH.handleEvent(t);}}class Z$1{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$2(this,t);}}const B$1=i$2.litHtmlPolyfillSupport;null==B$1||B$1(N$1,R$1),(null!==(t$2=i$2.litHtmlVersions)&&void 0!==t$2?t$2:i$2.litHtmlVersions=[]).push("2.8.0");const D$1=(t,i,s)=>{var e,o;const n=null!==(e=null==s?void 0:s.renderBefore)&&void 0!==e?e:i;let l=n._$litPart$;if(void 0===l){const t=null!==(o=null==s?void 0:s.renderBefore)&&void 0!==o?o:null;n._$litPart$=l=new R$1(i.insertBefore(u$2(),t),t,void 0,null!=s?s:{});}return l._$AI(t),l};
|
|
24103
|
+
|
|
24104
|
+
/**
|
|
24105
|
+
* @license
|
|
24106
|
+
* Copyright 2017 Google LLC
|
|
24107
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
24108
|
+
*/var l$3,o$4;class s$4 extends u$3{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=D$1(i,this.renderRoot,this.renderOptions);}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0);}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1);}render(){return T$1}}s$4.finalized=!0,s$4._$litElement$=!0,null===(l$3=globalThis.litElementHydrateSupport)||void 0===l$3||l$3.call(globalThis,{LitElement:s$4});const n$4=globalThis.litElementPolyfillSupport;null==n$4||n$4({LitElement:s$4});(null!==(o$4=globalThis.litElementVersions)&&void 0!==o$4?o$4:globalThis.litElementVersions=[]).push("3.3.3");
|
|
24109
|
+
|
|
23811
24110
|
/**
|
|
23812
24111
|
* @license
|
|
23813
24112
|
* Copyright (c) 2021 - 2023 Vaadin Ltd..
|
|
23814
24113
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
23815
24114
|
*/
|
|
23816
24115
|
|
|
23817
|
-
const clearButton = i$
|
|
24116
|
+
const clearButton = i$3`
|
|
23818
24117
|
[part='clear-button'] {
|
|
23819
24118
|
display: none;
|
|
23820
24119
|
cursor: default;
|
|
@@ -23835,7 +24134,7 @@ const clearButton = i$1`
|
|
|
23835
24134
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
23836
24135
|
*/
|
|
23837
24136
|
|
|
23838
|
-
const fieldShared = i$
|
|
24137
|
+
const fieldShared = i$3`
|
|
23839
24138
|
:host {
|
|
23840
24139
|
display: inline-flex;
|
|
23841
24140
|
outline: none;
|
|
@@ -23877,7 +24176,7 @@ const fieldShared = i$1`
|
|
|
23877
24176
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
23878
24177
|
*/
|
|
23879
24178
|
|
|
23880
|
-
const inputFieldContainer = i$
|
|
24179
|
+
const inputFieldContainer = i$3`
|
|
23881
24180
|
[class$='container'] {
|
|
23882
24181
|
display: flex;
|
|
23883
24182
|
flex-direction: column;
|
|
@@ -23893,7 +24192,7 @@ const inputFieldContainer = i$1`
|
|
|
23893
24192
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
23894
24193
|
*/
|
|
23895
24194
|
|
|
23896
|
-
const inputFieldShared$
|
|
24195
|
+
const inputFieldShared$2 = [fieldShared, inputFieldContainer, clearButton];
|
|
23897
24196
|
|
|
23898
24197
|
/**
|
|
23899
24198
|
* @license
|
|
@@ -25185,7 +25484,7 @@ const DatePickerMixin = (subclass) =>
|
|
|
25185
25484
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
25186
25485
|
*/
|
|
25187
25486
|
|
|
25188
|
-
const datePickerStyles = i$
|
|
25487
|
+
const datePickerStyles = i$9`
|
|
25189
25488
|
:host([opened]) {
|
|
25190
25489
|
pointer-events: auto;
|
|
25191
25490
|
}
|
|
@@ -25206,7 +25505,7 @@ const datePickerStyles = i$1`
|
|
|
25206
25505
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
25207
25506
|
*/
|
|
25208
25507
|
|
|
25209
|
-
registerStyles('vaadin-date-picker', [inputFieldShared$
|
|
25508
|
+
registerStyles('vaadin-date-picker', [inputFieldShared$2, datePickerStyles], { moduleId: 'vaadin-date-picker-styles' });
|
|
25210
25509
|
|
|
25211
25510
|
/**
|
|
25212
25511
|
* `<vaadin-date-picker>` is an input field that allows to enter a date by typing or by selecting from a calendar overlay.
|
|
@@ -30511,6 +30810,16 @@ const DateInput = class {
|
|
|
30511
30810
|
index.registerInstance(this, hostRef);
|
|
30512
30811
|
this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
|
|
30513
30812
|
this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
|
|
30813
|
+
/**
|
|
30814
|
+
* Client custom styling via inline style
|
|
30815
|
+
*/
|
|
30816
|
+
this.clientStyling = '';
|
|
30817
|
+
/**
|
|
30818
|
+
* Emit event on click
|
|
30819
|
+
*/
|
|
30820
|
+
this.emitOnClick = false;
|
|
30821
|
+
this.limitStylingAppends = false;
|
|
30822
|
+
this.showTooltip = false;
|
|
30514
30823
|
this.touched = false;
|
|
30515
30824
|
this.formatDate = (dateParts) => {
|
|
30516
30825
|
const { year, month, day } = dateParts;
|
|
@@ -30531,22 +30840,6 @@ const DateInput = class {
|
|
|
30531
30840
|
sheet.innerHTML = this.clientStyling;
|
|
30532
30841
|
this.stylingContainer.prepend(sheet);
|
|
30533
30842
|
};
|
|
30534
|
-
this.name = undefined;
|
|
30535
|
-
this.displayName = undefined;
|
|
30536
|
-
this.placeholder = undefined;
|
|
30537
|
-
this.validation = undefined;
|
|
30538
|
-
this.defaultValue = undefined;
|
|
30539
|
-
this.autofilled = undefined;
|
|
30540
|
-
this.tooltip = undefined;
|
|
30541
|
-
this.language = undefined;
|
|
30542
|
-
this.emitValue = undefined;
|
|
30543
|
-
this.clientStyling = '';
|
|
30544
|
-
this.dateFormat = undefined;
|
|
30545
|
-
this.emitOnClick = false;
|
|
30546
|
-
this.errorMessage = undefined;
|
|
30547
|
-
this.isValid = undefined;
|
|
30548
|
-
this.limitStylingAppends = false;
|
|
30549
|
-
this.showTooltip = false;
|
|
30550
30843
|
}
|
|
30551
30844
|
validityChanged() {
|
|
30552
30845
|
this.validityStateHandler({ valid: this.isValid, name: this.name });
|
|
@@ -30663,6 +30956,12 @@ const EmailInput = class {
|
|
|
30663
30956
|
index.registerInstance(this, hostRef);
|
|
30664
30957
|
this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
|
|
30665
30958
|
this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
|
|
30959
|
+
/**
|
|
30960
|
+
* Client custom styling via inline style
|
|
30961
|
+
*/
|
|
30962
|
+
this.clientStyling = '';
|
|
30963
|
+
this.limitStylingAppends = false;
|
|
30964
|
+
this.showTooltip = false;
|
|
30666
30965
|
this.validationPattern = '';
|
|
30667
30966
|
this.touched = false;
|
|
30668
30967
|
this.handleInput = (event) => {
|
|
@@ -30687,21 +30986,6 @@ const EmailInput = class {
|
|
|
30687
30986
|
sheet.innerHTML = this.clientStyling;
|
|
30688
30987
|
this.stylingContainer.prepend(sheet);
|
|
30689
30988
|
};
|
|
30690
|
-
this.name = undefined;
|
|
30691
|
-
this.displayName = undefined;
|
|
30692
|
-
this.placeholder = undefined;
|
|
30693
|
-
this.validation = undefined;
|
|
30694
|
-
this.defaultValue = undefined;
|
|
30695
|
-
this.autofilled = undefined;
|
|
30696
|
-
this.tooltip = undefined;
|
|
30697
|
-
this.language = undefined;
|
|
30698
|
-
this.emitValue = undefined;
|
|
30699
|
-
this.isDuplicateInput = undefined;
|
|
30700
|
-
this.clientStyling = '';
|
|
30701
|
-
this.errorMessage = undefined;
|
|
30702
|
-
this.isValid = undefined;
|
|
30703
|
-
this.limitStylingAppends = false;
|
|
30704
|
-
this.showTooltip = false;
|
|
30705
30989
|
}
|
|
30706
30990
|
validityChanged() {
|
|
30707
30991
|
this.validityStateHandler({ valid: this.isValid, name: this.name });
|
|
@@ -30809,6 +31093,12 @@ const NumberInput = class {
|
|
|
30809
31093
|
index.registerInstance(this, hostRef);
|
|
30810
31094
|
this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
|
|
30811
31095
|
this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
|
|
31096
|
+
/**
|
|
31097
|
+
* Client custom styling via inline style
|
|
31098
|
+
*/
|
|
31099
|
+
this.clientStyling = '';
|
|
31100
|
+
this.limitStylingAppends = false;
|
|
31101
|
+
this.showTooltip = false;
|
|
30812
31102
|
this.validationPattern = '';
|
|
30813
31103
|
this.touched = false;
|
|
30814
31104
|
this.handleInput = (event) => {
|
|
@@ -30833,20 +31123,6 @@ const NumberInput = class {
|
|
|
30833
31123
|
sheet.innerHTML = this.clientStyling;
|
|
30834
31124
|
this.stylingContainer.prepend(sheet);
|
|
30835
31125
|
};
|
|
30836
|
-
this.name = undefined;
|
|
30837
|
-
this.displayName = undefined;
|
|
30838
|
-
this.placeholder = undefined;
|
|
30839
|
-
this.validation = undefined;
|
|
30840
|
-
this.defaultValue = undefined;
|
|
30841
|
-
this.autofilled = undefined;
|
|
30842
|
-
this.tooltip = undefined;
|
|
30843
|
-
this.language = undefined;
|
|
30844
|
-
this.emitValue = undefined;
|
|
30845
|
-
this.clientStyling = '';
|
|
30846
|
-
this.errorMessage = undefined;
|
|
30847
|
-
this.isValid = undefined;
|
|
30848
|
-
this.limitStylingAppends = false;
|
|
30849
|
-
this.showTooltip = false;
|
|
30850
31126
|
}
|
|
30851
31127
|
validityChanged() {
|
|
30852
31128
|
this.validityStateHandler({ valid: this.isValid, name: this.name });
|
|
@@ -30968,7 +31244,7 @@ const addLumoGlobalStyles$1 = (id, ...styles) => {
|
|
|
30968
31244
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
30969
31245
|
*/
|
|
30970
31246
|
|
|
30971
|
-
const colorBase = i$
|
|
31247
|
+
const colorBase = i$b`
|
|
30972
31248
|
:host {
|
|
30973
31249
|
/* Base (background) */
|
|
30974
31250
|
--lumo-base-color: #fff;
|
|
@@ -31057,7 +31333,7 @@ const colorBase = i$1`
|
|
|
31057
31333
|
|
|
31058
31334
|
addLumoGlobalStyles$1('color-props', colorBase);
|
|
31059
31335
|
|
|
31060
|
-
const color = i$
|
|
31336
|
+
const color = i$b`
|
|
31061
31337
|
[theme~='dark'] {
|
|
31062
31338
|
/* Base (background) */
|
|
31063
31339
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -31182,7 +31458,7 @@ registerStyles('', color, { moduleId: 'lumo-color' });
|
|
|
31182
31458
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
31183
31459
|
*/
|
|
31184
31460
|
|
|
31185
|
-
const fontIcons$1 = i$
|
|
31461
|
+
const fontIcons$1 = i$b`
|
|
31186
31462
|
@font-face {
|
|
31187
31463
|
font-family: 'lumo-icons';
|
|
31188
31464
|
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMABF0UtwCEnIPM/zhLK8LqhfXRybSP14XUYtHV9hGYQwQBNIo3cUIPkhQeM7rib1ekqnXg981XuC1qvy84lzojleh3puxL0hPjGjRU473teloEefAUNGjJkwZcacBUtWrNmwZceeA0dOnLlw5cadB09elPGhGf+j0NTI/65KfXerT6JhqKnpRKtgOpuqaTrtKjPUlqHmhto21I7pL6i6hlqY3q7qGWrfUAeGOjTUkaGODXViqFNDnRnq3FAXhro01JWhrg11Y6hbQ90Z6t5QD4Z6NNSToZ4N9WKoV0O9GerdUB+G+jTUl6GWRvkL24BkEXictVh9bFvVFb/nxvbz+7Rf/N6zHcd2bCfP+Wic1Z9N0jpNHCD9SNqqoVBgbQoMjY+pjA4hNnWa2pV1rHSIif0DGkyT2k10Kmu1Cag6huj4ZpqYBHSqJsTEJgZCG3TaVBFv595nO3ZIv4RIrPPuvef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p7aAwQ4FLPrIkbKWqDHn+67pDRK4s4lzbsEux5qHvcIIMb/nueSMyTKkE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
|
|
@@ -31245,7 +31521,7 @@ addLumoGlobalStyles$1('font-icons', fontIcons$1);
|
|
|
31245
31521
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
31246
31522
|
*/
|
|
31247
31523
|
|
|
31248
|
-
const sizing$1 = i$
|
|
31524
|
+
const sizing$1 = i$b`
|
|
31249
31525
|
:host {
|
|
31250
31526
|
--lumo-size-xs: 1.625rem;
|
|
31251
31527
|
--lumo-size-s: 1.875rem;
|
|
@@ -31270,7 +31546,7 @@ addLumoGlobalStyles$1('sizing-props', sizing$1);
|
|
|
31270
31546
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
31271
31547
|
*/
|
|
31272
31548
|
|
|
31273
|
-
const spacing$1 = i$
|
|
31549
|
+
const spacing$1 = i$b`
|
|
31274
31550
|
:host {
|
|
31275
31551
|
/* Square */
|
|
31276
31552
|
--lumo-space-xs: 0.25rem;
|
|
@@ -31303,7 +31579,7 @@ addLumoGlobalStyles$1('spacing-props', spacing$1);
|
|
|
31303
31579
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
31304
31580
|
*/
|
|
31305
31581
|
|
|
31306
|
-
const style$1 = i$
|
|
31582
|
+
const style$1 = i$b`
|
|
31307
31583
|
:host {
|
|
31308
31584
|
/* Border radius */
|
|
31309
31585
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -31325,7 +31601,7 @@ const style$1 = i$1`
|
|
|
31325
31601
|
/**
|
|
31326
31602
|
* Default values for component-specific custom properties.
|
|
31327
31603
|
*/
|
|
31328
|
-
i$
|
|
31604
|
+
i$b`
|
|
31329
31605
|
html {
|
|
31330
31606
|
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
|
|
31331
31607
|
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
|
|
@@ -31341,7 +31617,7 @@ addLumoGlobalStyles$1('style-props', style$1);
|
|
|
31341
31617
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
31342
31618
|
*/
|
|
31343
31619
|
|
|
31344
|
-
const font$1 = i$
|
|
31620
|
+
const font$1 = i$b`
|
|
31345
31621
|
:host {
|
|
31346
31622
|
/* prettier-ignore */
|
|
31347
31623
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -31363,7 +31639,7 @@ const font$1 = i$1`
|
|
|
31363
31639
|
}
|
|
31364
31640
|
`;
|
|
31365
31641
|
|
|
31366
|
-
const typography$1 = i$
|
|
31642
|
+
const typography$1 = i$b`
|
|
31367
31643
|
body,
|
|
31368
31644
|
:host {
|
|
31369
31645
|
font-family: var(--lumo-font-family);
|
|
@@ -31466,7 +31742,7 @@ addLumoGlobalStyles$1('typography-props', font$1);
|
|
|
31466
31742
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
31467
31743
|
*/
|
|
31468
31744
|
|
|
31469
|
-
const fieldButton = i$
|
|
31745
|
+
const fieldButton$1 = i$b`
|
|
31470
31746
|
[part$='button'] {
|
|
31471
31747
|
flex: none;
|
|
31472
31748
|
width: 1em;
|
|
@@ -31494,7 +31770,7 @@ const fieldButton = i$1`
|
|
|
31494
31770
|
display: block;
|
|
31495
31771
|
}
|
|
31496
31772
|
`;
|
|
31497
|
-
registerStyles('', fieldButton, { moduleId: 'lumo-field-button' });
|
|
31773
|
+
registerStyles('', fieldButton$1, { moduleId: 'lumo-field-button' });
|
|
31498
31774
|
|
|
31499
31775
|
/**
|
|
31500
31776
|
* @license
|
|
@@ -31502,7 +31778,7 @@ registerStyles('', fieldButton, { moduleId: 'lumo-field-button' });
|
|
|
31502
31778
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
31503
31779
|
*/
|
|
31504
31780
|
|
|
31505
|
-
const helper = i$
|
|
31781
|
+
const helper = i$b`
|
|
31506
31782
|
:host([has-helper]) [part='helper-text']::before {
|
|
31507
31783
|
content: '';
|
|
31508
31784
|
display: block;
|
|
@@ -31561,7 +31837,7 @@ const helper = i$1`
|
|
|
31561
31837
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
31562
31838
|
*/
|
|
31563
31839
|
|
|
31564
|
-
const requiredField = i$
|
|
31840
|
+
const requiredField = i$b`
|
|
31565
31841
|
[part='label'] {
|
|
31566
31842
|
align-self: flex-start;
|
|
31567
31843
|
color: var(--lumo-secondary-text-color);
|
|
@@ -31667,7 +31943,7 @@ registerStyles('', requiredField, { moduleId: 'lumo-required-field' });
|
|
|
31667
31943
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
31668
31944
|
*/
|
|
31669
31945
|
|
|
31670
|
-
const inputField = i$
|
|
31946
|
+
const inputField$1 = i$b`
|
|
31671
31947
|
:host {
|
|
31672
31948
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
31673
31949
|
color: var(--lumo-body-text-color);
|
|
@@ -31803,9 +32079,9 @@ const inputField = i$1`
|
|
|
31803
32079
|
}
|
|
31804
32080
|
`;
|
|
31805
32081
|
|
|
31806
|
-
const inputFieldShared = [requiredField, fieldButton, helper, inputField];
|
|
32082
|
+
const inputFieldShared$1 = [requiredField, fieldButton$1, helper, inputField$1];
|
|
31807
32083
|
|
|
31808
|
-
registerStyles('', inputFieldShared, {
|
|
32084
|
+
registerStyles('', inputFieldShared$1, {
|
|
31809
32085
|
moduleId: 'lumo-input-field-shared-styles',
|
|
31810
32086
|
});
|
|
31811
32087
|
|
|
@@ -31815,7 +32091,7 @@ registerStyles('', inputFieldShared, {
|
|
|
31815
32091
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
31816
32092
|
*/
|
|
31817
32093
|
|
|
31818
|
-
registerStyles('vaadin-text-field', inputFieldShared, {
|
|
32094
|
+
registerStyles('vaadin-text-field', inputFieldShared$1, {
|
|
31819
32095
|
moduleId: 'lumo-text-field-styles',
|
|
31820
32096
|
});
|
|
31821
32097
|
|
|
@@ -32038,7 +32314,7 @@ const TextFieldMixin = (superClass) =>
|
|
|
32038
32314
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
32039
32315
|
*/
|
|
32040
32316
|
|
|
32041
|
-
registerStyles('vaadin-text-field', inputFieldShared$
|
|
32317
|
+
registerStyles('vaadin-text-field', inputFieldShared$2, { moduleId: 'vaadin-text-field-styles' });
|
|
32042
32318
|
|
|
32043
32319
|
/**
|
|
32044
32320
|
* `<vaadin-text-field>` is a web component that allows the user to input and edit text.
|
|
@@ -32184,13 +32460,266 @@ class TextField extends TextFieldMixin(ThemableMixin(ElementMixin(PolymerElement
|
|
|
32184
32460
|
|
|
32185
32461
|
defineCustomElement(TextField);
|
|
32186
32462
|
|
|
32463
|
+
const button = i$b`
|
|
32464
|
+
:host {
|
|
32465
|
+
/* Sizing */
|
|
32466
|
+
--lumo-button-size: var(--lumo-size-m);
|
|
32467
|
+
min-width: calc(var(--lumo-button-size) * 2);
|
|
32468
|
+
height: var(--lumo-button-size);
|
|
32469
|
+
padding: 0 calc(var(--lumo-button-size) / 3 + var(--lumo-border-radius-m) / 2);
|
|
32470
|
+
margin: var(--lumo-space-xs) 0;
|
|
32471
|
+
box-sizing: border-box;
|
|
32472
|
+
/* Style */
|
|
32473
|
+
font-family: var(--lumo-font-family);
|
|
32474
|
+
font-size: var(--lumo-font-size-m);
|
|
32475
|
+
font-weight: 500;
|
|
32476
|
+
color: var(--_lumo-button-color, var(--lumo-primary-text-color));
|
|
32477
|
+
background-color: var(--_lumo-button-background-color, var(--lumo-contrast-5pct));
|
|
32478
|
+
border-radius: var(--lumo-border-radius-m);
|
|
32479
|
+
cursor: var(--lumo-clickable-cursor);
|
|
32480
|
+
-webkit-tap-highlight-color: transparent;
|
|
32481
|
+
-webkit-font-smoothing: antialiased;
|
|
32482
|
+
-moz-osx-font-smoothing: grayscale;
|
|
32483
|
+
flex-shrink: 0;
|
|
32484
|
+
}
|
|
32485
|
+
|
|
32486
|
+
/* Set only for the internal parts so we don't affect the host vertical alignment */
|
|
32487
|
+
[part='label'],
|
|
32488
|
+
[part='prefix'],
|
|
32489
|
+
[part='suffix'] {
|
|
32490
|
+
line-height: var(--lumo-line-height-xs);
|
|
32491
|
+
}
|
|
32492
|
+
|
|
32493
|
+
[part='label'] {
|
|
32494
|
+
padding: calc(var(--lumo-button-size) / 6) 0;
|
|
32495
|
+
}
|
|
32496
|
+
|
|
32497
|
+
:host([theme~='small']) {
|
|
32498
|
+
font-size: var(--lumo-font-size-s);
|
|
32499
|
+
--lumo-button-size: var(--lumo-size-s);
|
|
32500
|
+
}
|
|
32501
|
+
|
|
32502
|
+
:host([theme~='large']) {
|
|
32503
|
+
font-size: var(--lumo-font-size-l);
|
|
32504
|
+
--lumo-button-size: var(--lumo-size-l);
|
|
32505
|
+
}
|
|
32506
|
+
|
|
32507
|
+
/* For interaction states */
|
|
32508
|
+
:host::before,
|
|
32509
|
+
:host::after {
|
|
32510
|
+
content: '';
|
|
32511
|
+
/* We rely on the host always being relative */
|
|
32512
|
+
position: absolute;
|
|
32513
|
+
z-index: 1;
|
|
32514
|
+
inset: 0;
|
|
32515
|
+
background-color: currentColor;
|
|
32516
|
+
border-radius: inherit;
|
|
32517
|
+
opacity: 0;
|
|
32518
|
+
pointer-events: none;
|
|
32519
|
+
}
|
|
32520
|
+
|
|
32521
|
+
/* Hover */
|
|
32522
|
+
|
|
32523
|
+
@media (any-hover: hover) {
|
|
32524
|
+
:host(:hover)::before {
|
|
32525
|
+
opacity: 0.02;
|
|
32526
|
+
}
|
|
32527
|
+
}
|
|
32528
|
+
|
|
32529
|
+
/* Active */
|
|
32530
|
+
|
|
32531
|
+
:host::after {
|
|
32532
|
+
transition: opacity 1.4s, transform 0.1s;
|
|
32533
|
+
filter: blur(8px);
|
|
32534
|
+
}
|
|
32535
|
+
|
|
32536
|
+
:host([active])::before {
|
|
32537
|
+
opacity: 0.05;
|
|
32538
|
+
transition-duration: 0s;
|
|
32539
|
+
}
|
|
32540
|
+
|
|
32541
|
+
:host([active])::after {
|
|
32542
|
+
opacity: 0.1;
|
|
32543
|
+
transition-duration: 0s, 0s;
|
|
32544
|
+
transform: scale(0);
|
|
32545
|
+
}
|
|
32546
|
+
|
|
32547
|
+
/* Keyboard focus */
|
|
32548
|
+
|
|
32549
|
+
:host([focus-ring]) {
|
|
32550
|
+
box-shadow: 0 0 0 2px var(--lumo-primary-color-50pct);
|
|
32551
|
+
}
|
|
32552
|
+
|
|
32553
|
+
:host([theme~='primary'][focus-ring]) {
|
|
32554
|
+
box-shadow: 0 0 0 1px var(--lumo-base-color), 0 0 0 3px var(--lumo-primary-color-50pct);
|
|
32555
|
+
}
|
|
32556
|
+
|
|
32557
|
+
/* Types (primary, tertiary, tertiary-inline */
|
|
32558
|
+
|
|
32559
|
+
:host([theme~='tertiary']),
|
|
32560
|
+
:host([theme~='tertiary-inline']) {
|
|
32561
|
+
background-color: transparent !important;
|
|
32562
|
+
min-width: 0;
|
|
32563
|
+
}
|
|
32564
|
+
|
|
32565
|
+
:host([theme~='tertiary']) {
|
|
32566
|
+
padding: 0 calc(var(--lumo-button-size) / 6);
|
|
32567
|
+
}
|
|
32568
|
+
|
|
32569
|
+
:host([theme~='tertiary-inline'])::before {
|
|
32570
|
+
display: none;
|
|
32571
|
+
}
|
|
32572
|
+
|
|
32573
|
+
:host([theme~='tertiary-inline']) {
|
|
32574
|
+
margin: 0;
|
|
32575
|
+
height: auto;
|
|
32576
|
+
padding: 0;
|
|
32577
|
+
line-height: inherit;
|
|
32578
|
+
font-size: inherit;
|
|
32579
|
+
}
|
|
32580
|
+
|
|
32581
|
+
:host([theme~='tertiary-inline']) [part='label'] {
|
|
32582
|
+
padding: 0;
|
|
32583
|
+
overflow: visible;
|
|
32584
|
+
line-height: inherit;
|
|
32585
|
+
}
|
|
32586
|
+
|
|
32587
|
+
:host([theme~='primary']) {
|
|
32588
|
+
background-color: var(--_lumo-button-primary-background-color, var(--lumo-primary-color));
|
|
32589
|
+
color: var(--_lumo-button-primary-color, var(--lumo-primary-contrast-color));
|
|
32590
|
+
font-weight: 600;
|
|
32591
|
+
min-width: calc(var(--lumo-button-size) * 2.5);
|
|
32592
|
+
}
|
|
32593
|
+
|
|
32594
|
+
:host([theme~='primary'])::before {
|
|
32595
|
+
background-color: black;
|
|
32596
|
+
}
|
|
32597
|
+
|
|
32598
|
+
@media (any-hover: hover) {
|
|
32599
|
+
:host([theme~='primary']:hover)::before {
|
|
32600
|
+
opacity: 0.05;
|
|
32601
|
+
}
|
|
32602
|
+
}
|
|
32603
|
+
|
|
32604
|
+
:host([theme~='primary'][active])::before {
|
|
32605
|
+
opacity: 0.1;
|
|
32606
|
+
}
|
|
32607
|
+
|
|
32608
|
+
:host([theme~='primary'][active])::after {
|
|
32609
|
+
opacity: 0.2;
|
|
32610
|
+
}
|
|
32611
|
+
|
|
32612
|
+
/* Colors (success, error, contrast) */
|
|
32613
|
+
|
|
32614
|
+
:host([theme~='success']) {
|
|
32615
|
+
color: var(--lumo-success-text-color);
|
|
32616
|
+
}
|
|
32617
|
+
|
|
32618
|
+
:host([theme~='success'][theme~='primary']) {
|
|
32619
|
+
background-color: var(--lumo-success-color);
|
|
32620
|
+
color: var(--lumo-success-contrast-color);
|
|
32621
|
+
}
|
|
32622
|
+
|
|
32623
|
+
:host([theme~='error']) {
|
|
32624
|
+
color: var(--lumo-error-text-color);
|
|
32625
|
+
}
|
|
32626
|
+
|
|
32627
|
+
:host([theme~='error'][theme~='primary']) {
|
|
32628
|
+
background-color: var(--lumo-error-color);
|
|
32629
|
+
color: var(--lumo-error-contrast-color);
|
|
32630
|
+
}
|
|
32631
|
+
|
|
32632
|
+
:host([theme~='contrast']) {
|
|
32633
|
+
color: var(--lumo-contrast);
|
|
32634
|
+
}
|
|
32635
|
+
|
|
32636
|
+
:host([theme~='contrast'][theme~='primary']) {
|
|
32637
|
+
background-color: var(--lumo-contrast);
|
|
32638
|
+
color: var(--lumo-base-color);
|
|
32639
|
+
}
|
|
32640
|
+
|
|
32641
|
+
/* Disabled state. Keep selectors after other color variants. */
|
|
32642
|
+
|
|
32643
|
+
:host([disabled]) {
|
|
32644
|
+
pointer-events: none;
|
|
32645
|
+
color: var(--lumo-disabled-text-color);
|
|
32646
|
+
}
|
|
32647
|
+
|
|
32648
|
+
:host([theme~='primary'][disabled]) {
|
|
32649
|
+
background-color: var(--lumo-contrast-30pct);
|
|
32650
|
+
color: var(--lumo-base-color);
|
|
32651
|
+
}
|
|
32652
|
+
|
|
32653
|
+
:host([theme~='primary'][disabled]) [part] {
|
|
32654
|
+
opacity: 0.7;
|
|
32655
|
+
}
|
|
32656
|
+
|
|
32657
|
+
/* Icons */
|
|
32658
|
+
|
|
32659
|
+
[part] ::slotted(vaadin-icon) {
|
|
32660
|
+
display: inline-block;
|
|
32661
|
+
width: var(--lumo-icon-size-m);
|
|
32662
|
+
height: var(--lumo-icon-size-m);
|
|
32663
|
+
}
|
|
32664
|
+
|
|
32665
|
+
/* Vaadin icons are based on a 16x16 grid (unlike Lumo and Material icons with 24x24), so they look too big by default */
|
|
32666
|
+
[part] ::slotted(vaadin-icon[icon^='vaadin:']) {
|
|
32667
|
+
padding: 0.25em;
|
|
32668
|
+
box-sizing: border-box !important;
|
|
32669
|
+
}
|
|
32670
|
+
|
|
32671
|
+
[part='prefix'] {
|
|
32672
|
+
margin-left: -0.25em;
|
|
32673
|
+
margin-right: 0.25em;
|
|
32674
|
+
}
|
|
32675
|
+
|
|
32676
|
+
[part='suffix'] {
|
|
32677
|
+
margin-left: 0.25em;
|
|
32678
|
+
margin-right: -0.25em;
|
|
32679
|
+
}
|
|
32680
|
+
|
|
32681
|
+
/* Icon-only */
|
|
32682
|
+
|
|
32683
|
+
:host([theme~='icon']:not([theme~='tertiary-inline'])) {
|
|
32684
|
+
min-width: var(--lumo-button-size);
|
|
32685
|
+
padding-left: calc(var(--lumo-button-size) / 4);
|
|
32686
|
+
padding-right: calc(var(--lumo-button-size) / 4);
|
|
32687
|
+
}
|
|
32688
|
+
|
|
32689
|
+
:host([theme~='icon']) [part='prefix'],
|
|
32690
|
+
:host([theme~='icon']) [part='suffix'] {
|
|
32691
|
+
margin-left: 0;
|
|
32692
|
+
margin-right: 0;
|
|
32693
|
+
}
|
|
32694
|
+
|
|
32695
|
+
/* RTL specific styles */
|
|
32696
|
+
|
|
32697
|
+
:host([dir='rtl']) [part='prefix'] {
|
|
32698
|
+
margin-left: 0.25em;
|
|
32699
|
+
margin-right: -0.25em;
|
|
32700
|
+
}
|
|
32701
|
+
|
|
32702
|
+
:host([dir='rtl']) [part='suffix'] {
|
|
32703
|
+
margin-left: -0.25em;
|
|
32704
|
+
margin-right: 0.25em;
|
|
32705
|
+
}
|
|
32706
|
+
|
|
32707
|
+
:host([dir='rtl'][theme~='icon']) [part='prefix'],
|
|
32708
|
+
:host([dir='rtl'][theme~='icon']) [part='suffix'] {
|
|
32709
|
+
margin-left: 0;
|
|
32710
|
+
margin-right: 0;
|
|
32711
|
+
}
|
|
32712
|
+
`;
|
|
32713
|
+
|
|
32714
|
+
registerStyles('vaadin-button', button, { moduleId: 'lumo-button' });
|
|
32715
|
+
|
|
32187
32716
|
/**
|
|
32188
32717
|
* @license
|
|
32189
32718
|
* Copyright (c) 2021 - 2023 Vaadin Ltd.
|
|
32190
32719
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
32191
32720
|
*/
|
|
32192
32721
|
|
|
32193
|
-
const passwordFieldButton = i$
|
|
32722
|
+
const passwordFieldButton = i$b`
|
|
32194
32723
|
:host {
|
|
32195
32724
|
position: absolute;
|
|
32196
32725
|
right: 0;
|
|
@@ -32215,7 +32744,7 @@ registerStyles('vaadin-password-field-button', [button, passwordFieldButton], {
|
|
|
32215
32744
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
32216
32745
|
*/
|
|
32217
32746
|
|
|
32218
|
-
const passwordField = i$
|
|
32747
|
+
const passwordField = i$b`
|
|
32219
32748
|
[part='reveal-button']::before {
|
|
32220
32749
|
content: var(--lumo-icons-eye);
|
|
32221
32750
|
}
|
|
@@ -32235,7 +32764,266 @@ const passwordField = i$1`
|
|
|
32235
32764
|
}
|
|
32236
32765
|
`;
|
|
32237
32766
|
|
|
32238
|
-
registerStyles('vaadin-password-field', [inputFieldShared$
|
|
32767
|
+
registerStyles('vaadin-password-field', [inputFieldShared$1, passwordField], { moduleId: 'lumo-password-field' });
|
|
32768
|
+
|
|
32769
|
+
/**
|
|
32770
|
+
* @license
|
|
32771
|
+
* Copyright 2019 Google LLC
|
|
32772
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
32773
|
+
*/
|
|
32774
|
+
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;
|
|
32775
|
+
|
|
32776
|
+
/**
|
|
32777
|
+
* @license
|
|
32778
|
+
* Copyright 2017 Google LLC
|
|
32779
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
32780
|
+
*/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");
|
|
32781
|
+
|
|
32782
|
+
/**
|
|
32783
|
+
* @license
|
|
32784
|
+
* Copyright 2017 Google LLC
|
|
32785
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
32786
|
+
*/
|
|
32787
|
+
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};
|
|
32788
|
+
|
|
32789
|
+
/**
|
|
32790
|
+
* @license
|
|
32791
|
+
* Copyright 2017 Google LLC
|
|
32792
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
32793
|
+
*/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");
|
|
32794
|
+
|
|
32795
|
+
/**
|
|
32796
|
+
* @license
|
|
32797
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
32798
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
32799
|
+
*/
|
|
32800
|
+
|
|
32801
|
+
const buttonStyles = i$1`
|
|
32802
|
+
:host {
|
|
32803
|
+
display: inline-block;
|
|
32804
|
+
position: relative;
|
|
32805
|
+
outline: none;
|
|
32806
|
+
white-space: nowrap;
|
|
32807
|
+
-webkit-user-select: none;
|
|
32808
|
+
-moz-user-select: none;
|
|
32809
|
+
user-select: none;
|
|
32810
|
+
}
|
|
32811
|
+
|
|
32812
|
+
:host([hidden]) {
|
|
32813
|
+
display: none !important;
|
|
32814
|
+
}
|
|
32815
|
+
|
|
32816
|
+
/* Aligns the button with form fields when placed on the same line.
|
|
32817
|
+
Note, to make it work, the form fields should have the same "::before" pseudo-element. */
|
|
32818
|
+
.vaadin-button-container::before {
|
|
32819
|
+
content: '\\2003';
|
|
32820
|
+
display: inline-block;
|
|
32821
|
+
width: 0;
|
|
32822
|
+
max-height: 100%;
|
|
32823
|
+
}
|
|
32824
|
+
|
|
32825
|
+
.vaadin-button-container {
|
|
32826
|
+
display: inline-flex;
|
|
32827
|
+
align-items: center;
|
|
32828
|
+
justify-content: center;
|
|
32829
|
+
text-align: center;
|
|
32830
|
+
width: 100%;
|
|
32831
|
+
height: 100%;
|
|
32832
|
+
min-height: inherit;
|
|
32833
|
+
text-shadow: inherit;
|
|
32834
|
+
}
|
|
32835
|
+
|
|
32836
|
+
[part='prefix'],
|
|
32837
|
+
[part='suffix'] {
|
|
32838
|
+
flex: none;
|
|
32839
|
+
}
|
|
32840
|
+
|
|
32841
|
+
[part='label'] {
|
|
32842
|
+
white-space: nowrap;
|
|
32843
|
+
overflow: hidden;
|
|
32844
|
+
text-overflow: ellipsis;
|
|
32845
|
+
}
|
|
32846
|
+
|
|
32847
|
+
@media (forced-colors: active) {
|
|
32848
|
+
:host {
|
|
32849
|
+
outline: 1px solid;
|
|
32850
|
+
outline-offset: -1px;
|
|
32851
|
+
}
|
|
32852
|
+
|
|
32853
|
+
:host([focused]) {
|
|
32854
|
+
outline-width: 2px;
|
|
32855
|
+
}
|
|
32856
|
+
|
|
32857
|
+
:host([disabled]) {
|
|
32858
|
+
outline-color: GrayText;
|
|
32859
|
+
}
|
|
32860
|
+
}
|
|
32861
|
+
`;
|
|
32862
|
+
|
|
32863
|
+
const buttonTemplate = (html) => html`
|
|
32864
|
+
<div class="vaadin-button-container">
|
|
32865
|
+
<span part="prefix" aria-hidden="true">
|
|
32866
|
+
<slot name="prefix"></slot>
|
|
32867
|
+
</span>
|
|
32868
|
+
<span part="label">
|
|
32869
|
+
<slot></slot>
|
|
32870
|
+
</span>
|
|
32871
|
+
<span part="suffix" aria-hidden="true">
|
|
32872
|
+
<slot name="suffix"></slot>
|
|
32873
|
+
</span>
|
|
32874
|
+
</div>
|
|
32875
|
+
<slot name="tooltip"></slot>
|
|
32876
|
+
`;
|
|
32877
|
+
|
|
32878
|
+
/**
|
|
32879
|
+
* @license
|
|
32880
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
32881
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
32882
|
+
*/
|
|
32883
|
+
|
|
32884
|
+
/**
|
|
32885
|
+
* A mixin providing common button functionality.
|
|
32886
|
+
*
|
|
32887
|
+
* @polymerMixin
|
|
32888
|
+
* @mixes ActiveMixin
|
|
32889
|
+
* @mixes FocusMixin
|
|
32890
|
+
* @mixes TabindexMixin
|
|
32891
|
+
*/
|
|
32892
|
+
const ButtonMixin = (superClass) =>
|
|
32893
|
+
class ButtonMixinClass extends ActiveMixin(TabindexMixin(FocusMixin(superClass))) {
|
|
32894
|
+
static get properties() {
|
|
32895
|
+
return {
|
|
32896
|
+
/**
|
|
32897
|
+
* Indicates whether the element can be focused and where it participates in sequential keyboard navigation.
|
|
32898
|
+
*
|
|
32899
|
+
* @override
|
|
32900
|
+
* @protected
|
|
32901
|
+
*/
|
|
32902
|
+
tabindex: {
|
|
32903
|
+
type: Number,
|
|
32904
|
+
value: 0,
|
|
32905
|
+
reflectToAttribute: true,
|
|
32906
|
+
},
|
|
32907
|
+
};
|
|
32908
|
+
}
|
|
32909
|
+
|
|
32910
|
+
/**
|
|
32911
|
+
* By default, `Space` is the only possible activation key for a focusable HTML element.
|
|
32912
|
+
* Nonetheless, the button is an exception as it can be also activated by pressing `Enter`.
|
|
32913
|
+
* See the "Keyboard Support" section in https://www.w3.org/TR/wai-aria-practices/examples/button/button.html.
|
|
32914
|
+
*
|
|
32915
|
+
* @protected
|
|
32916
|
+
* @override
|
|
32917
|
+
*/
|
|
32918
|
+
get _activeKeys() {
|
|
32919
|
+
return ['Enter', ' '];
|
|
32920
|
+
}
|
|
32921
|
+
|
|
32922
|
+
/** @protected */
|
|
32923
|
+
ready() {
|
|
32924
|
+
super.ready();
|
|
32925
|
+
|
|
32926
|
+
// By default, if the user hasn't provided a custom role,
|
|
32927
|
+
// the role attribute is set to "button".
|
|
32928
|
+
if (!this.hasAttribute('role')) {
|
|
32929
|
+
this.setAttribute('role', 'button');
|
|
32930
|
+
}
|
|
32931
|
+
}
|
|
32932
|
+
|
|
32933
|
+
/**
|
|
32934
|
+
* Since the button component is designed on the base of the `[role=button]` attribute,
|
|
32935
|
+
* and doesn't have a native <button> inside, in order to be fully accessible from the keyboard,
|
|
32936
|
+
* it should manually fire the `click` event once an activation key is pressed,
|
|
32937
|
+
* as it follows from the WAI-ARIA specifications:
|
|
32938
|
+
* https://www.w3.org/TR/wai-aria-practices-1.1/#button
|
|
32939
|
+
*
|
|
32940
|
+
* According to the UI Events specifications,
|
|
32941
|
+
* the `click` event should be fired exactly on `keydown`:
|
|
32942
|
+
* https://www.w3.org/TR/uievents/#event-type-keydown
|
|
32943
|
+
*
|
|
32944
|
+
* @param {KeyboardEvent} event
|
|
32945
|
+
* @protected
|
|
32946
|
+
* @override
|
|
32947
|
+
*/
|
|
32948
|
+
_onKeyDown(event) {
|
|
32949
|
+
super._onKeyDown(event);
|
|
32950
|
+
|
|
32951
|
+
if (event.altKey || event.shiftKey || event.ctrlKey || event.metaKey) {
|
|
32952
|
+
return;
|
|
32953
|
+
}
|
|
32954
|
+
|
|
32955
|
+
if (this._activeKeys.includes(event.key)) {
|
|
32956
|
+
event.preventDefault();
|
|
32957
|
+
|
|
32958
|
+
// `DisabledMixin` overrides the standard `click()` method
|
|
32959
|
+
// so that it doesn't fire the `click` event when the element is disabled.
|
|
32960
|
+
this.click();
|
|
32961
|
+
}
|
|
32962
|
+
}
|
|
32963
|
+
};
|
|
32964
|
+
|
|
32965
|
+
/**
|
|
32966
|
+
* @license
|
|
32967
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
32968
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
32969
|
+
*/
|
|
32970
|
+
|
|
32971
|
+
registerStyles('vaadin-button', buttonStyles, { moduleId: 'vaadin-button-styles' });
|
|
32972
|
+
|
|
32973
|
+
/**
|
|
32974
|
+
* `<vaadin-button>` is an accessible and customizable button that allows users to perform actions.
|
|
32975
|
+
*
|
|
32976
|
+
* ```html
|
|
32977
|
+
* <vaadin-button>Press me</vaadin-button>
|
|
32978
|
+
* ```
|
|
32979
|
+
*
|
|
32980
|
+
* ### Styling
|
|
32981
|
+
*
|
|
32982
|
+
* The following shadow DOM parts are available for styling:
|
|
32983
|
+
*
|
|
32984
|
+
* Part name | Description
|
|
32985
|
+
* ----------|-------------
|
|
32986
|
+
* `label` | The label (text) inside the button.
|
|
32987
|
+
* `prefix` | A slot for content before the label (e.g. an icon).
|
|
32988
|
+
* `suffix` | A slot for content after the label (e.g. an icon).
|
|
32989
|
+
*
|
|
32990
|
+
* The following attributes are available for styling:
|
|
32991
|
+
*
|
|
32992
|
+
* Attribute | Description
|
|
32993
|
+
* -------------|-------------
|
|
32994
|
+
* `active` | Set when the button is pressed down, either with mouse, touch or the keyboard.
|
|
32995
|
+
* `disabled` | Set when the button is disabled.
|
|
32996
|
+
* `focus-ring` | Set when the button is focused using the keyboard.
|
|
32997
|
+
* `focused` | Set when the button is focused.
|
|
32998
|
+
*
|
|
32999
|
+
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
|
|
33000
|
+
*
|
|
33001
|
+
* @customElement
|
|
33002
|
+
* @extends HTMLElement
|
|
33003
|
+
* @mixes ButtonMixin
|
|
33004
|
+
* @mixes ControllerMixin
|
|
33005
|
+
* @mixes ElementMixin
|
|
33006
|
+
* @mixes ThemableMixin
|
|
33007
|
+
*/
|
|
33008
|
+
class Button extends ButtonMixin(ElementMixin(ThemableMixin(ControllerMixin(PolymerElement)))) {
|
|
33009
|
+
static get is() {
|
|
33010
|
+
return 'vaadin-button';
|
|
33011
|
+
}
|
|
33012
|
+
|
|
33013
|
+
static get template() {
|
|
33014
|
+
return buttonTemplate(html);
|
|
33015
|
+
}
|
|
33016
|
+
|
|
33017
|
+
/** @protected */
|
|
33018
|
+
ready() {
|
|
33019
|
+
super.ready();
|
|
33020
|
+
|
|
33021
|
+
this._tooltipController = new TooltipController(this);
|
|
33022
|
+
this.addController(this._tooltipController);
|
|
33023
|
+
}
|
|
33024
|
+
}
|
|
33025
|
+
|
|
33026
|
+
defineCustomElement(Button);
|
|
32239
33027
|
|
|
32240
33028
|
/**
|
|
32241
33029
|
* @license
|
|
@@ -32600,6 +33388,17 @@ const PasswordInput = class {
|
|
|
32600
33388
|
this.sendOriginalValidityState = index.createEvent(this, "sendOriginalValidityState", 7);
|
|
32601
33389
|
this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
|
|
32602
33390
|
this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
|
|
33391
|
+
/**
|
|
33392
|
+
* Default value for the input.
|
|
33393
|
+
*/
|
|
33394
|
+
this.defaultValue = '';
|
|
33395
|
+
/**
|
|
33396
|
+
* Client custom styling via inline style
|
|
33397
|
+
*/
|
|
33398
|
+
this.clientStyling = '';
|
|
33399
|
+
this.limitStylingAppends = false;
|
|
33400
|
+
this.showTooltip = false;
|
|
33401
|
+
this.value = '';
|
|
32603
33402
|
this.touched = false;
|
|
32604
33403
|
this.originalValid = false;
|
|
32605
33404
|
this.validationPattern = '';
|
|
@@ -32638,24 +33437,6 @@ const PasswordInput = class {
|
|
|
32638
33437
|
sheet.innerHTML = this.clientStyling;
|
|
32639
33438
|
this.stylingContainer.prepend(sheet);
|
|
32640
33439
|
};
|
|
32641
|
-
this.name = undefined;
|
|
32642
|
-
this.displayName = undefined;
|
|
32643
|
-
this.placeholder = undefined;
|
|
32644
|
-
this.defaultValue = '';
|
|
32645
|
-
this.autofilled = undefined;
|
|
32646
|
-
this.tooltip = undefined;
|
|
32647
|
-
this.validation = undefined;
|
|
32648
|
-
this.language = undefined;
|
|
32649
|
-
this.emitValue = undefined;
|
|
32650
|
-
this.isDuplicateInput = undefined;
|
|
32651
|
-
this.clientStyling = '';
|
|
32652
|
-
this.isValid = undefined;
|
|
32653
|
-
this.errorMessage = undefined;
|
|
32654
|
-
this.limitStylingAppends = false;
|
|
32655
|
-
this.showTooltip = false;
|
|
32656
|
-
this.passwordComplexity = undefined;
|
|
32657
|
-
this.showPopup = undefined;
|
|
32658
|
-
this.value = '';
|
|
32659
33440
|
}
|
|
32660
33441
|
validityChanged() {
|
|
32661
33442
|
this.validityStateHandler({ valid: this.isValid, name: this.name });
|
|
@@ -32835,23 +33616,17 @@ const RadioInput = class {
|
|
|
32835
33616
|
index.registerInstance(this, hostRef);
|
|
32836
33617
|
this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
|
|
32837
33618
|
this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
|
|
33619
|
+
/**
|
|
33620
|
+
* Client custom styling via inline style
|
|
33621
|
+
*/
|
|
33622
|
+
this.clientStyling = '';
|
|
33623
|
+
this.limitStylingAppends = false;
|
|
33624
|
+
this.showTooltip = false;
|
|
32838
33625
|
this.setClientStyling = () => {
|
|
32839
33626
|
let sheet = document.createElement('style');
|
|
32840
33627
|
sheet.innerHTML = this.clientStyling;
|
|
32841
33628
|
this.stylingContainer.prepend(sheet);
|
|
32842
33629
|
};
|
|
32843
|
-
this.name = undefined;
|
|
32844
|
-
this.displayName = undefined;
|
|
32845
|
-
this.optionsGroup = undefined;
|
|
32846
|
-
this.validation = undefined;
|
|
32847
|
-
this.tooltip = undefined;
|
|
32848
|
-
this.language = undefined;
|
|
32849
|
-
this.emitValue = undefined;
|
|
32850
|
-
this.clientStyling = '';
|
|
32851
|
-
this.errorMessage = undefined;
|
|
32852
|
-
this.isValid = undefined;
|
|
32853
|
-
this.limitStylingAppends = false;
|
|
32854
|
-
this.showTooltip = false;
|
|
32855
33630
|
}
|
|
32856
33631
|
validityChanged() {
|
|
32857
33632
|
this.validityStateHandler({ valid: this.isValid, name: this.name });
|
|
@@ -32950,7 +33725,7 @@ const addLumoGlobalStyles = (id, ...styles) => {
|
|
|
32950
33725
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
32951
33726
|
*/
|
|
32952
33727
|
|
|
32953
|
-
const fontIcons = i$
|
|
33728
|
+
const fontIcons = i$b`
|
|
32954
33729
|
@font-face {
|
|
32955
33730
|
font-family: 'lumo-icons';
|
|
32956
33731
|
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8Mpsx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ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
|
|
@@ -33013,7 +33788,7 @@ addLumoGlobalStyles('font-icons', fontIcons);
|
|
|
33013
33788
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
33014
33789
|
*/
|
|
33015
33790
|
|
|
33016
|
-
const sizing = i$
|
|
33791
|
+
const sizing = i$b`
|
|
33017
33792
|
:host {
|
|
33018
33793
|
--lumo-size-xs: 1.625rem;
|
|
33019
33794
|
--lumo-size-s: 1.875rem;
|
|
@@ -33038,7 +33813,7 @@ addLumoGlobalStyles('sizing-props', sizing);
|
|
|
33038
33813
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
33039
33814
|
*/
|
|
33040
33815
|
|
|
33041
|
-
const spacing = i$
|
|
33816
|
+
const spacing = i$b`
|
|
33042
33817
|
:host {
|
|
33043
33818
|
/* Square */
|
|
33044
33819
|
--lumo-space-xs: 0.25rem;
|
|
@@ -33071,7 +33846,7 @@ addLumoGlobalStyles('spacing-props', spacing);
|
|
|
33071
33846
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
33072
33847
|
*/
|
|
33073
33848
|
|
|
33074
|
-
const style = i$
|
|
33849
|
+
const style = i$b`
|
|
33075
33850
|
:host {
|
|
33076
33851
|
/* Border radius */
|
|
33077
33852
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -33093,7 +33868,7 @@ const style = i$1`
|
|
|
33093
33868
|
/**
|
|
33094
33869
|
* Default values for component-specific custom properties.
|
|
33095
33870
|
*/
|
|
33096
|
-
i$
|
|
33871
|
+
i$b`
|
|
33097
33872
|
html {
|
|
33098
33873
|
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
|
|
33099
33874
|
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
|
|
@@ -33109,7 +33884,7 @@ addLumoGlobalStyles('style-props', style);
|
|
|
33109
33884
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
33110
33885
|
*/
|
|
33111
33886
|
|
|
33112
|
-
const font = i$
|
|
33887
|
+
const font = i$b`
|
|
33113
33888
|
:host {
|
|
33114
33889
|
/* prettier-ignore */
|
|
33115
33890
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -33131,7 +33906,7 @@ const font = i$1`
|
|
|
33131
33906
|
}
|
|
33132
33907
|
`;
|
|
33133
33908
|
|
|
33134
|
-
const typography = i$
|
|
33909
|
+
const typography = i$b`
|
|
33135
33910
|
body,
|
|
33136
33911
|
:host {
|
|
33137
33912
|
font-family: var(--lumo-font-family);
|
|
@@ -33228,7 +34003,7 @@ const typography = i$1`
|
|
|
33228
34003
|
registerStyles('', typography, { moduleId: 'lumo-typography' });
|
|
33229
34004
|
addLumoGlobalStyles('typography-props', font);
|
|
33230
34005
|
|
|
33231
|
-
const item = i$
|
|
34006
|
+
const item = i$b`
|
|
33232
34007
|
:host {
|
|
33233
34008
|
display: flex;
|
|
33234
34009
|
align-items: center;
|
|
@@ -33311,7 +34086,7 @@ const item = i$1`
|
|
|
33311
34086
|
|
|
33312
34087
|
registerStyles('vaadin-item', item, { moduleId: 'lumo-item' });
|
|
33313
34088
|
|
|
33314
|
-
const comboBoxItem = i$
|
|
34089
|
+
const comboBoxItem = i$b`
|
|
33315
34090
|
:host {
|
|
33316
34091
|
transition: background-color 100ms;
|
|
33317
34092
|
overflow: hidden;
|
|
@@ -33335,7 +34110,7 @@ registerStyles('vaadin-combo-box-item', [item, comboBoxItem], {
|
|
|
33335
34110
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
33336
34111
|
*/
|
|
33337
34112
|
|
|
33338
|
-
const loader = i$
|
|
34113
|
+
const loader = i$b`
|
|
33339
34114
|
[part~='loader'] {
|
|
33340
34115
|
box-sizing: border-box;
|
|
33341
34116
|
width: var(--lumo-icon-size-s);
|
|
@@ -33377,7 +34152,188 @@ const loader = i$1`
|
|
|
33377
34152
|
}
|
|
33378
34153
|
`;
|
|
33379
34154
|
|
|
33380
|
-
|
|
34155
|
+
/**
|
|
34156
|
+
* @license
|
|
34157
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
34158
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
34159
|
+
*/
|
|
34160
|
+
|
|
34161
|
+
const overlay = i$b`
|
|
34162
|
+
:host {
|
|
34163
|
+
top: var(--lumo-space-m);
|
|
34164
|
+
right: var(--lumo-space-m);
|
|
34165
|
+
bottom: var(--lumo-space-m);
|
|
34166
|
+
left: var(--lumo-space-m);
|
|
34167
|
+
/* Workaround for Edge issue (only on Surface), where an overflowing vaadin-list-box inside vaadin-select-overlay makes the overlay transparent */
|
|
34168
|
+
/* stylelint-disable-next-line */
|
|
34169
|
+
outline: 0px solid transparent;
|
|
34170
|
+
}
|
|
34171
|
+
|
|
34172
|
+
[part='overlay'] {
|
|
34173
|
+
background-color: var(--lumo-base-color);
|
|
34174
|
+
background-image: linear-gradient(var(--lumo-tint-5pct), var(--lumo-tint-5pct));
|
|
34175
|
+
border-radius: var(--lumo-border-radius-m);
|
|
34176
|
+
box-shadow: 0 0 0 1px var(--lumo-shade-5pct), var(--lumo-box-shadow-m);
|
|
34177
|
+
color: var(--lumo-body-text-color);
|
|
34178
|
+
font-family: var(--lumo-font-family);
|
|
34179
|
+
font-size: var(--lumo-font-size-m);
|
|
34180
|
+
font-weight: 400;
|
|
34181
|
+
line-height: var(--lumo-line-height-m);
|
|
34182
|
+
letter-spacing: 0;
|
|
34183
|
+
text-transform: none;
|
|
34184
|
+
-webkit-text-size-adjust: 100%;
|
|
34185
|
+
-webkit-font-smoothing: antialiased;
|
|
34186
|
+
-moz-osx-font-smoothing: grayscale;
|
|
34187
|
+
}
|
|
34188
|
+
|
|
34189
|
+
[part='content'] {
|
|
34190
|
+
padding: var(--lumo-space-xs);
|
|
34191
|
+
}
|
|
34192
|
+
|
|
34193
|
+
[part='backdrop'] {
|
|
34194
|
+
background-color: var(--lumo-shade-20pct);
|
|
34195
|
+
animation: 0.2s lumo-overlay-backdrop-enter both;
|
|
34196
|
+
will-change: opacity;
|
|
34197
|
+
}
|
|
34198
|
+
|
|
34199
|
+
@keyframes lumo-overlay-backdrop-enter {
|
|
34200
|
+
0% {
|
|
34201
|
+
opacity: 0;
|
|
34202
|
+
}
|
|
34203
|
+
}
|
|
34204
|
+
|
|
34205
|
+
:host([closing]) [part='backdrop'] {
|
|
34206
|
+
animation: 0.2s lumo-overlay-backdrop-exit both;
|
|
34207
|
+
}
|
|
34208
|
+
|
|
34209
|
+
@keyframes lumo-overlay-backdrop-exit {
|
|
34210
|
+
100% {
|
|
34211
|
+
opacity: 0;
|
|
34212
|
+
}
|
|
34213
|
+
}
|
|
34214
|
+
|
|
34215
|
+
@keyframes lumo-overlay-dummy-animation {
|
|
34216
|
+
0% {
|
|
34217
|
+
opacity: 1;
|
|
34218
|
+
}
|
|
34219
|
+
|
|
34220
|
+
100% {
|
|
34221
|
+
opacity: 1;
|
|
34222
|
+
}
|
|
34223
|
+
}
|
|
34224
|
+
`;
|
|
34225
|
+
|
|
34226
|
+
registerStyles('', overlay, { moduleId: 'lumo-overlay' });
|
|
34227
|
+
|
|
34228
|
+
/**
|
|
34229
|
+
* @license
|
|
34230
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
34231
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
34232
|
+
*/
|
|
34233
|
+
|
|
34234
|
+
const menuOverlayCore = i$b`
|
|
34235
|
+
:host([opening]),
|
|
34236
|
+
:host([closing]) {
|
|
34237
|
+
animation: 0.14s lumo-overlay-dummy-animation;
|
|
34238
|
+
}
|
|
34239
|
+
|
|
34240
|
+
[part='overlay'] {
|
|
34241
|
+
will-change: opacity, transform;
|
|
34242
|
+
}
|
|
34243
|
+
|
|
34244
|
+
:host([opening]) [part='overlay'] {
|
|
34245
|
+
animation: 0.1s lumo-menu-overlay-enter ease-out both;
|
|
34246
|
+
}
|
|
34247
|
+
|
|
34248
|
+
@keyframes lumo-menu-overlay-enter {
|
|
34249
|
+
0% {
|
|
34250
|
+
opacity: 0;
|
|
34251
|
+
transform: translateY(-4px);
|
|
34252
|
+
}
|
|
34253
|
+
}
|
|
34254
|
+
|
|
34255
|
+
:host([closing]) [part='overlay'] {
|
|
34256
|
+
animation: 0.1s lumo-menu-overlay-exit both;
|
|
34257
|
+
}
|
|
34258
|
+
|
|
34259
|
+
@keyframes lumo-menu-overlay-exit {
|
|
34260
|
+
100% {
|
|
34261
|
+
opacity: 0;
|
|
34262
|
+
}
|
|
34263
|
+
}
|
|
34264
|
+
`;
|
|
34265
|
+
|
|
34266
|
+
registerStyles('', menuOverlayCore, { moduleId: 'lumo-menu-overlay-core' });
|
|
34267
|
+
|
|
34268
|
+
const menuOverlayExt = i$b`
|
|
34269
|
+
/* Small viewport (bottom sheet) styles */
|
|
34270
|
+
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
34271
|
+
@media (max-width: 420px), (max-height: 420px) {
|
|
34272
|
+
:host {
|
|
34273
|
+
top: 0 !important;
|
|
34274
|
+
right: 0 !important;
|
|
34275
|
+
bottom: var(--vaadin-overlay-viewport-bottom, 0) !important;
|
|
34276
|
+
left: 0 !important;
|
|
34277
|
+
align-items: stretch !important;
|
|
34278
|
+
justify-content: flex-end !important;
|
|
34279
|
+
}
|
|
34280
|
+
|
|
34281
|
+
[part='overlay'] {
|
|
34282
|
+
max-height: 50vh;
|
|
34283
|
+
width: 100vw;
|
|
34284
|
+
border-radius: 0;
|
|
34285
|
+
box-shadow: var(--lumo-box-shadow-xl);
|
|
34286
|
+
}
|
|
34287
|
+
|
|
34288
|
+
/* The content part scrolls instead of the overlay part, because of the gradient fade-out */
|
|
34289
|
+
[part='content'] {
|
|
34290
|
+
padding: 30px var(--lumo-space-m);
|
|
34291
|
+
max-height: inherit;
|
|
34292
|
+
box-sizing: border-box;
|
|
34293
|
+
-webkit-overflow-scrolling: touch;
|
|
34294
|
+
overflow: auto;
|
|
34295
|
+
-webkit-mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);
|
|
34296
|
+
mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 40px), transparent);
|
|
34297
|
+
}
|
|
34298
|
+
|
|
34299
|
+
[part='backdrop'] {
|
|
34300
|
+
display: block;
|
|
34301
|
+
}
|
|
34302
|
+
|
|
34303
|
+
/* Animations */
|
|
34304
|
+
|
|
34305
|
+
:host([opening]) [part='overlay'] {
|
|
34306
|
+
animation: 0.2s lumo-mobile-menu-overlay-enter cubic-bezier(0.215, 0.61, 0.355, 1) both;
|
|
34307
|
+
}
|
|
34308
|
+
|
|
34309
|
+
:host([closing]),
|
|
34310
|
+
:host([closing]) [part='backdrop'] {
|
|
34311
|
+
animation-delay: 0.14s;
|
|
34312
|
+
}
|
|
34313
|
+
|
|
34314
|
+
:host([closing]) [part='overlay'] {
|
|
34315
|
+
animation: 0.14s 0.14s lumo-mobile-menu-overlay-exit cubic-bezier(0.55, 0.055, 0.675, 0.19) both;
|
|
34316
|
+
}
|
|
34317
|
+
}
|
|
34318
|
+
|
|
34319
|
+
@keyframes lumo-mobile-menu-overlay-enter {
|
|
34320
|
+
0% {
|
|
34321
|
+
transform: translateY(150%);
|
|
34322
|
+
}
|
|
34323
|
+
}
|
|
34324
|
+
|
|
34325
|
+
@keyframes lumo-mobile-menu-overlay-exit {
|
|
34326
|
+
100% {
|
|
34327
|
+
transform: translateY(150%);
|
|
34328
|
+
}
|
|
34329
|
+
}
|
|
34330
|
+
`;
|
|
34331
|
+
|
|
34332
|
+
const menuOverlay = [overlay, menuOverlayCore, menuOverlayExt];
|
|
34333
|
+
|
|
34334
|
+
registerStyles('', menuOverlay, { moduleId: 'lumo-menu-overlay' });
|
|
34335
|
+
|
|
34336
|
+
const comboBoxOverlay = i$b`
|
|
33381
34337
|
[part='content'] {
|
|
33382
34338
|
padding: 0;
|
|
33383
34339
|
}
|
|
@@ -33400,7 +34356,7 @@ const comboBoxOverlay = i$1`
|
|
|
33400
34356
|
}
|
|
33401
34357
|
`;
|
|
33402
34358
|
|
|
33403
|
-
const comboBoxLoader = i$
|
|
34359
|
+
const comboBoxLoader = i$b`
|
|
33404
34360
|
[part~='loader'] {
|
|
33405
34361
|
position: absolute;
|
|
33406
34362
|
z-index: 1;
|
|
@@ -33429,7 +34385,7 @@ registerStyles(
|
|
|
33429
34385
|
comboBoxOverlay,
|
|
33430
34386
|
loader,
|
|
33431
34387
|
comboBoxLoader,
|
|
33432
|
-
i$
|
|
34388
|
+
i$b`
|
|
33433
34389
|
:host {
|
|
33434
34390
|
--_vaadin-combo-box-items-container-border-width: var(--lumo-space-xs);
|
|
33435
34391
|
--_vaadin-combo-box-items-container-border-style: solid;
|
|
@@ -33439,7 +34395,191 @@ registerStyles(
|
|
|
33439
34395
|
{ moduleId: 'lumo-combo-box-overlay' },
|
|
33440
34396
|
);
|
|
33441
34397
|
|
|
33442
|
-
|
|
34398
|
+
/**
|
|
34399
|
+
* @license
|
|
34400
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
34401
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
34402
|
+
*/
|
|
34403
|
+
|
|
34404
|
+
const fieldButton = i$b`
|
|
34405
|
+
[part$='button'] {
|
|
34406
|
+
flex: none;
|
|
34407
|
+
width: 1em;
|
|
34408
|
+
height: 1em;
|
|
34409
|
+
line-height: 1;
|
|
34410
|
+
font-size: var(--lumo-icon-size-m);
|
|
34411
|
+
text-align: center;
|
|
34412
|
+
color: var(--lumo-contrast-60pct);
|
|
34413
|
+
transition: 0.2s color;
|
|
34414
|
+
cursor: var(--lumo-clickable-cursor);
|
|
34415
|
+
}
|
|
34416
|
+
|
|
34417
|
+
[part$='button']:hover {
|
|
34418
|
+
color: var(--lumo-contrast-90pct);
|
|
34419
|
+
}
|
|
34420
|
+
|
|
34421
|
+
:host([disabled]) [part$='button'],
|
|
34422
|
+
:host([readonly]) [part$='button'] {
|
|
34423
|
+
color: var(--lumo-contrast-20pct);
|
|
34424
|
+
cursor: default;
|
|
34425
|
+
}
|
|
34426
|
+
|
|
34427
|
+
[part$='button']::before {
|
|
34428
|
+
font-family: 'lumo-icons';
|
|
34429
|
+
display: block;
|
|
34430
|
+
}
|
|
34431
|
+
`;
|
|
34432
|
+
registerStyles('', fieldButton, { moduleId: 'lumo-field-button' });
|
|
34433
|
+
|
|
34434
|
+
/**
|
|
34435
|
+
* @license
|
|
34436
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
34437
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
34438
|
+
*/
|
|
34439
|
+
|
|
34440
|
+
const inputField = i$b`
|
|
34441
|
+
:host {
|
|
34442
|
+
--lumo-text-field-size: var(--lumo-size-m);
|
|
34443
|
+
color: var(--lumo-body-text-color);
|
|
34444
|
+
font-size: var(--lumo-font-size-m);
|
|
34445
|
+
font-family: var(--lumo-font-family);
|
|
34446
|
+
-webkit-font-smoothing: antialiased;
|
|
34447
|
+
-moz-osx-font-smoothing: grayscale;
|
|
34448
|
+
-webkit-tap-highlight-color: transparent;
|
|
34449
|
+
padding: var(--lumo-space-xs) 0;
|
|
34450
|
+
}
|
|
34451
|
+
|
|
34452
|
+
:host::before {
|
|
34453
|
+
height: var(--lumo-text-field-size);
|
|
34454
|
+
box-sizing: border-box;
|
|
34455
|
+
display: inline-flex;
|
|
34456
|
+
align-items: center;
|
|
34457
|
+
}
|
|
34458
|
+
|
|
34459
|
+
:host([focused]:not([readonly])) [part='label'] {
|
|
34460
|
+
color: var(--lumo-primary-text-color);
|
|
34461
|
+
}
|
|
34462
|
+
|
|
34463
|
+
:host([focused]) [part='input-field'] ::slotted(:is(input, textarea)) {
|
|
34464
|
+
-webkit-mask-image: none;
|
|
34465
|
+
mask-image: none;
|
|
34466
|
+
}
|
|
34467
|
+
|
|
34468
|
+
::slotted(:is(input, textarea):placeholder-shown) {
|
|
34469
|
+
color: var(--lumo-secondary-text-color);
|
|
34470
|
+
}
|
|
34471
|
+
|
|
34472
|
+
/* Hover */
|
|
34473
|
+
:host(:hover:not([readonly]):not([focused])) [part='label'] {
|
|
34474
|
+
color: var(--lumo-body-text-color);
|
|
34475
|
+
}
|
|
34476
|
+
|
|
34477
|
+
:host(:hover:not([readonly]):not([focused])) [part='input-field']::after {
|
|
34478
|
+
opacity: 0.1;
|
|
34479
|
+
}
|
|
34480
|
+
|
|
34481
|
+
/* Touch device adjustment */
|
|
34482
|
+
@media (pointer: coarse) {
|
|
34483
|
+
:host(:hover:not([readonly]):not([focused])) [part='label'] {
|
|
34484
|
+
color: var(--lumo-secondary-text-color);
|
|
34485
|
+
}
|
|
34486
|
+
|
|
34487
|
+
:host(:hover:not([readonly]):not([focused])) [part='input-field']::after {
|
|
34488
|
+
opacity: 0;
|
|
34489
|
+
}
|
|
34490
|
+
|
|
34491
|
+
:host(:active:not([readonly]):not([focused])) [part='input-field']::after {
|
|
34492
|
+
opacity: 0.2;
|
|
34493
|
+
}
|
|
34494
|
+
}
|
|
34495
|
+
|
|
34496
|
+
/* Trigger when not focusing using the keyboard */
|
|
34497
|
+
:host([focused]:not([focus-ring]):not([readonly])) [part='input-field']::after {
|
|
34498
|
+
transform: scaleX(0);
|
|
34499
|
+
transition-duration: 0.15s, 1s;
|
|
34500
|
+
}
|
|
34501
|
+
|
|
34502
|
+
/* Focus-ring */
|
|
34503
|
+
:host([focus-ring]) [part='input-field'] {
|
|
34504
|
+
box-shadow: 0 0 0 2px var(--lumo-primary-color-50pct);
|
|
34505
|
+
}
|
|
34506
|
+
|
|
34507
|
+
/* Read-only and disabled */
|
|
34508
|
+
:host(:is([readonly], [disabled])) ::slotted(:is(input, textarea):placeholder-shown) {
|
|
34509
|
+
opacity: 0;
|
|
34510
|
+
}
|
|
34511
|
+
|
|
34512
|
+
/* Read-only style */
|
|
34513
|
+
:host([readonly]) {
|
|
34514
|
+
--vaadin-input-field-border-color: transparent;
|
|
34515
|
+
}
|
|
34516
|
+
|
|
34517
|
+
/* Disabled style */
|
|
34518
|
+
:host([disabled]) {
|
|
34519
|
+
pointer-events: none;
|
|
34520
|
+
--vaadin-input-field-border-color: var(--lumo-contrast-20pct);
|
|
34521
|
+
}
|
|
34522
|
+
|
|
34523
|
+
:host([disabled]) [part='label'],
|
|
34524
|
+
:host([disabled]) [part='input-field'] ::slotted(*) {
|
|
34525
|
+
color: var(--lumo-disabled-text-color);
|
|
34526
|
+
-webkit-text-fill-color: var(--lumo-disabled-text-color);
|
|
34527
|
+
}
|
|
34528
|
+
|
|
34529
|
+
/* Invalid style */
|
|
34530
|
+
:host([invalid]) {
|
|
34531
|
+
--vaadin-input-field-border-color: var(--lumo-error-color);
|
|
34532
|
+
}
|
|
34533
|
+
|
|
34534
|
+
:host([invalid][focus-ring]) [part='input-field'] {
|
|
34535
|
+
box-shadow: 0 0 0 2px var(--lumo-error-color-50pct);
|
|
34536
|
+
}
|
|
34537
|
+
|
|
34538
|
+
:host([input-prevented]) [part='input-field'] {
|
|
34539
|
+
animation: shake 0.15s infinite;
|
|
34540
|
+
}
|
|
34541
|
+
|
|
34542
|
+
@keyframes shake {
|
|
34543
|
+
25% {
|
|
34544
|
+
transform: translateX(4px);
|
|
34545
|
+
}
|
|
34546
|
+
75% {
|
|
34547
|
+
transform: translateX(-4px);
|
|
34548
|
+
}
|
|
34549
|
+
}
|
|
34550
|
+
|
|
34551
|
+
/* Small theme */
|
|
34552
|
+
:host([theme~='small']) {
|
|
34553
|
+
font-size: var(--lumo-font-size-s);
|
|
34554
|
+
--lumo-text-field-size: var(--lumo-size-s);
|
|
34555
|
+
}
|
|
34556
|
+
|
|
34557
|
+
:host([theme~='small']) [part='label'] {
|
|
34558
|
+
font-size: var(--lumo-font-size-xs);
|
|
34559
|
+
}
|
|
34560
|
+
|
|
34561
|
+
:host([theme~='small']) [part='error-message'] {
|
|
34562
|
+
font-size: var(--lumo-font-size-xxs);
|
|
34563
|
+
}
|
|
34564
|
+
|
|
34565
|
+
/* Slotted content */
|
|
34566
|
+
[part='input-field'] ::slotted(:not(vaadin-icon):not(input):not(textarea)) {
|
|
34567
|
+
color: var(--lumo-secondary-text-color);
|
|
34568
|
+
font-weight: 400;
|
|
34569
|
+
}
|
|
34570
|
+
|
|
34571
|
+
[part='clear-button']::before {
|
|
34572
|
+
content: var(--lumo-icons-cross);
|
|
34573
|
+
}
|
|
34574
|
+
`;
|
|
34575
|
+
|
|
34576
|
+
const inputFieldShared = [requiredField$2, fieldButton, helper$2, inputField];
|
|
34577
|
+
|
|
34578
|
+
registerStyles('', inputFieldShared, {
|
|
34579
|
+
moduleId: 'lumo-input-field-shared-styles',
|
|
34580
|
+
});
|
|
34581
|
+
|
|
34582
|
+
const comboBox = i$b`
|
|
33443
34583
|
:host {
|
|
33444
34584
|
outline: none;
|
|
33445
34585
|
}
|
|
@@ -33449,7 +34589,7 @@ const comboBox = i$1`
|
|
|
33449
34589
|
}
|
|
33450
34590
|
`;
|
|
33451
34591
|
|
|
33452
|
-
registerStyles('vaadin-combo-box', [inputFieldShared
|
|
34592
|
+
registerStyles('vaadin-combo-box', [inputFieldShared, comboBox], { moduleId: 'lumo-combo-box' });
|
|
33453
34593
|
|
|
33454
34594
|
/**
|
|
33455
34595
|
* @license
|
|
@@ -33725,7 +34865,7 @@ const ComboBoxOverlayMixin = (superClass) =>
|
|
|
33725
34865
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
33726
34866
|
*/
|
|
33727
34867
|
|
|
33728
|
-
const comboBoxOverlayStyles = i$
|
|
34868
|
+
const comboBoxOverlayStyles = i$b`
|
|
33729
34869
|
#overlay {
|
|
33730
34870
|
width: var(--vaadin-combo-box-overlay-width, var(--_vaadin-combo-box-overlay-default-width, auto));
|
|
33731
34871
|
}
|
|
@@ -37470,7 +38610,7 @@ const ComboBoxMixin = (subclass) =>
|
|
|
37470
38610
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
37471
38611
|
*/
|
|
37472
38612
|
|
|
37473
|
-
registerStyles('vaadin-combo-box', inputFieldShared$
|
|
38613
|
+
registerStyles('vaadin-combo-box', inputFieldShared$2, { moduleId: 'vaadin-combo-box-styles' });
|
|
37474
38614
|
|
|
37475
38615
|
/**
|
|
37476
38616
|
* `<vaadin-combo-box>` is a web component for choosing a value from a filterable list of options
|
|
@@ -37745,6 +38885,20 @@ const SelectInput = class {
|
|
|
37745
38885
|
index.registerInstance(this, hostRef);
|
|
37746
38886
|
this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
|
|
37747
38887
|
this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
|
|
38888
|
+
/**
|
|
38889
|
+
* Default value for the input.
|
|
38890
|
+
*/
|
|
38891
|
+
this.defaultValue = '';
|
|
38892
|
+
/**
|
|
38893
|
+
* Options of the input.
|
|
38894
|
+
*/
|
|
38895
|
+
this.options = [];
|
|
38896
|
+
/**
|
|
38897
|
+
* Client custom styling via inline style
|
|
38898
|
+
*/
|
|
38899
|
+
this.clientStyling = '';
|
|
38900
|
+
this.limitStylingAppends = false;
|
|
38901
|
+
this.showTooltip = false;
|
|
37748
38902
|
this.touched = false;
|
|
37749
38903
|
this.handleChange = (event) => {
|
|
37750
38904
|
this.touched = true;
|
|
@@ -37773,22 +38927,6 @@ const SelectInput = class {
|
|
|
37773
38927
|
sheet.innerHTML = this.clientStyling;
|
|
37774
38928
|
this.stylingContainer.prepend(sheet);
|
|
37775
38929
|
};
|
|
37776
|
-
this.name = undefined;
|
|
37777
|
-
this.displayName = undefined;
|
|
37778
|
-
this.placeholder = undefined;
|
|
37779
|
-
this.action = undefined;
|
|
37780
|
-
this.defaultValue = '';
|
|
37781
|
-
this.autofilled = undefined;
|
|
37782
|
-
this.tooltip = undefined;
|
|
37783
|
-
this.options = [];
|
|
37784
|
-
this.validation = undefined;
|
|
37785
|
-
this.language = undefined;
|
|
37786
|
-
this.emitValue = undefined;
|
|
37787
|
-
this.clientStyling = '';
|
|
37788
|
-
this.errorMessage = undefined;
|
|
37789
|
-
this.isValid = undefined;
|
|
37790
|
-
this.limitStylingAppends = false;
|
|
37791
|
-
this.showTooltip = false;
|
|
37792
38930
|
}
|
|
37793
38931
|
validityChanged() {
|
|
37794
38932
|
this.validityStateHandler({ valid: this.isValid, name: this.name });
|
|
@@ -37900,6 +39038,12 @@ const TelInput = class {
|
|
|
37900
39038
|
index.registerInstance(this, hostRef);
|
|
37901
39039
|
this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
|
|
37902
39040
|
this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
|
|
39041
|
+
/**
|
|
39042
|
+
* Client custom styling via inline style
|
|
39043
|
+
*/
|
|
39044
|
+
this.clientStyling = '';
|
|
39045
|
+
this.limitStylingAppends = false;
|
|
39046
|
+
this.showTooltip = false;
|
|
37903
39047
|
this.validationPattern = '';
|
|
37904
39048
|
this.touched = false;
|
|
37905
39049
|
this.handleInput = (event) => {
|
|
@@ -37925,22 +39069,6 @@ const TelInput = class {
|
|
|
37925
39069
|
sheet.innerHTML = this.clientStyling;
|
|
37926
39070
|
this.stylingContainer.prepend(sheet);
|
|
37927
39071
|
};
|
|
37928
|
-
this.name = undefined;
|
|
37929
|
-
this.displayName = undefined;
|
|
37930
|
-
this.placeholder = undefined;
|
|
37931
|
-
this.showLabels = undefined;
|
|
37932
|
-
this.action = undefined;
|
|
37933
|
-
this.validation = undefined;
|
|
37934
|
-
this.defaultValue = undefined;
|
|
37935
|
-
this.autofilled = undefined;
|
|
37936
|
-
this.tooltip = undefined;
|
|
37937
|
-
this.language = undefined;
|
|
37938
|
-
this.emitValue = undefined;
|
|
37939
|
-
this.clientStyling = '';
|
|
37940
|
-
this.isValid = undefined;
|
|
37941
|
-
this.errorMessage = undefined;
|
|
37942
|
-
this.limitStylingAppends = false;
|
|
37943
|
-
this.showTooltip = false;
|
|
37944
39072
|
}
|
|
37945
39073
|
validityChanged() {
|
|
37946
39074
|
this.validityStateHandler({ valid: this.isValid, name: this.name });
|
|
@@ -38070,6 +39198,17 @@ const TextInput = class {
|
|
|
38070
39198
|
index.registerInstance(this, hostRef);
|
|
38071
39199
|
this.sendValidityState = index.createEvent(this, "sendValidityState", 7);
|
|
38072
39200
|
this.sendInputValue = index.createEvent(this, "sendInputValue", 7);
|
|
39201
|
+
/**
|
|
39202
|
+
* Default value for the input.
|
|
39203
|
+
*/
|
|
39204
|
+
this.defaultValue = '';
|
|
39205
|
+
/**
|
|
39206
|
+
* Client custom styling via inline style
|
|
39207
|
+
*/
|
|
39208
|
+
this.clientStyling = '';
|
|
39209
|
+
this.errorMessage = '';
|
|
39210
|
+
this.limitStylingAppends = false;
|
|
39211
|
+
this.showTooltip = false;
|
|
38073
39212
|
this.value = '';
|
|
38074
39213
|
this.validationPattern = '';
|
|
38075
39214
|
this.duplicateInputValue = null;
|
|
@@ -38099,22 +39238,6 @@ const TextInput = class {
|
|
|
38099
39238
|
sheet.innerHTML = this.clientStyling;
|
|
38100
39239
|
this.stylingContainer.prepend(sheet);
|
|
38101
39240
|
};
|
|
38102
|
-
this.name = undefined;
|
|
38103
|
-
this.displayName = undefined;
|
|
38104
|
-
this.placeholder = undefined;
|
|
38105
|
-
this.validation = undefined;
|
|
38106
|
-
this.defaultValue = '';
|
|
38107
|
-
this.autofilled = undefined;
|
|
38108
|
-
this.tooltip = undefined;
|
|
38109
|
-
this.language = undefined;
|
|
38110
|
-
this.checkValidity = undefined;
|
|
38111
|
-
this.emitValue = undefined;
|
|
38112
|
-
this.isDuplicateInput = undefined;
|
|
38113
|
-
this.clientStyling = '';
|
|
38114
|
-
this.isValid = undefined;
|
|
38115
|
-
this.errorMessage = '';
|
|
38116
|
-
this.limitStylingAppends = false;
|
|
38117
|
-
this.showTooltip = false;
|
|
38118
39241
|
}
|
|
38119
39242
|
validityChanged() {
|
|
38120
39243
|
this.validityStateHandler({ valid: this.isValid, name: this.name });
|