@aurodesignsystem-dev/auro-formkit 0.0.0-pr1096.1 → 0.0.0-pr1097.0
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/components/combobox/demo/api.min.js +56 -76
- package/components/combobox/demo/index.min.js +56 -76
- package/components/combobox/dist/index.js +2 -17
- package/components/combobox/dist/registered.js +2 -17
- package/components/counter/demo/api.min.js +66 -98
- package/components/counter/demo/index.min.js +66 -98
- package/components/counter/dist/index.js +2 -17
- package/components/counter/dist/registered.js +2 -17
- package/components/datepicker/demo/api.min.js +170 -196
- package/components/datepicker/demo/index.min.js +170 -196
- package/components/datepicker/dist/index.js +2 -17
- package/components/datepicker/dist/registered.js +2 -17
- package/components/dropdown/demo/api.min.js +15 -47
- package/components/dropdown/demo/index.min.js +15 -47
- package/components/dropdown/dist/auro-dropdown.d.ts +0 -2
- package/components/dropdown/dist/index.js +2 -17
- package/components/dropdown/dist/registered.js +2 -17
- package/components/menu/demo/api.min.js +7 -1
- package/components/menu/demo/index.min.js +7 -1
- package/components/menu/dist/index.js +7 -1
- package/components/menu/dist/registered.js +7 -1
- package/components/select/demo/api.min.js +47 -73
- package/components/select/demo/index.min.js +47 -73
- package/components/select/dist/index.js +2 -17
- package/components/select/dist/registered.js +2 -17
- package/package.json +1 -1
|
@@ -224,46 +224,46 @@ function auroMenuLoadingExample() {
|
|
|
224
224
|
* Copyright 2019 Google LLC
|
|
225
225
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
226
226
|
*/
|
|
227
|
-
const t$3=globalThis,e$
|
|
227
|
+
const t$3=globalThis,e$4=t$3.ShadowRoot&&(void 0===t$3.ShadyCSS||t$3.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$4=Symbol(),o$5=new WeakMap;let n$3 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$4)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$4&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$5.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$5.set(s,t));}return t}toString(){return this.cssText}};const r$3=t=>new n$3("string"==typeof t?t:t+"",void 0,s$4),i$5=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===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$3(o,t,s$4)},S$1=(s,o)=>{if(e$4)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$3.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$3=e$4?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3(e)})(t):t;
|
|
228
228
|
|
|
229
229
|
/**
|
|
230
230
|
* @license
|
|
231
231
|
* Copyright 2017 Google LLC
|
|
232
232
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
233
|
-
*/const{is:i$4,defineProperty:e$
|
|
233
|
+
*/const{is:i$4,defineProperty:e$3,getOwnPropertyDescriptor:h$1,getOwnPropertyNames:r$2,getOwnPropertySymbols:o$4,getPrototypeOf:n$2}=Object,a$2=globalThis,c$2=a$2.trustedTypes,l$2=c$2?c$2.emptyScript:"",p$2=a$2.reactiveElementPolyfillSupport,d$1=(t,s)=>t,u$4={toAttribute(t,s){switch(s){case Boolean:t=t?l$2: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$1=(t,s)=>!i$4(t,s),b={attribute:true,type:String,converter:u$4,reflect:false,useDefault:false,hasChanged:f$1};Symbol.metadata??=Symbol("metadata"),a$2.litPropertyMetadata??=new WeakMap;let y$1 = class y 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=b){if(s.state&&(s.attribute=false),this._$Ei(),this.prototype.hasOwnProperty(t)&&((s=Object.create(s)).wrapped=true),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),h=this.getPropertyDescriptor(t,i,s);void 0!==h&&e$3(this.prototype,t,h);}}static getPropertyDescriptor(t,s,i){const{get:e,set:r}=h$1(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get:e,set(s){const h=e?.call(this);r?.call(this,s),this.requestUpdate(t,h,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??b}static _$Ei(){if(this.hasOwnProperty(d$1("elementProperties")))return;const t=n$2(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$1("properties"))){const t=this.properties,s=[...r$2(t),...o$4(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$3(s));}else void 0!==s&&i.push(c$3(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=false,this.hasUpdated=false,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$1(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$ET(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&true===i.reflect){const h=(void 0!==i.converter?.toAttribute?i.converter:u$4).toAttribute(s,i.type);this._$Em=t,null==h?this.removeAttribute(e):this.setAttribute(e,h),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),h="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$4;this._$Em=e;const r=h.fromAttribute(s,t.type);this[e]=r??this._$Ej?.get(e)??r,this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){const e=this.constructor,h=this[t];if(i??=e.getPropertyOptions(t),!((i.hasChanged??f$1)(h,s)||i.useDefault&&i.reflect&&h===this._$Ej?.get(t)&&!this.hasAttribute(e._$Eu(t,i))))return;this.C(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$EP());}C(t,s,{useDefault:i,reflect:e,wrapped:h},r){i&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,r??s??this[t]),true!==h||void 0!==r)||(this._$AL.has(t)||(this.hasUpdated||i||(s=void 0),this._$AL.set(t,s)),true===e&&this._$Em!==t&&(this._$Eq??=new Set).add(t));}async _$EP(){this.isUpdatePending=true;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){const{wrapped:t}=i,e=this[s];true!==t||this._$AL.has(s)||void 0===e||this.C(s,void 0,i,e);}}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EM();}catch(s){throw t=false,this._$EM(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EM(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Eq&&=this._$Eq.forEach((t=>this._$ET(t,this[t]))),this._$EM();}updated(t){}firstUpdated(t){}};y$1.elementStyles=[],y$1.shadowRootOptions={mode:"open"},y$1[d$1("elementProperties")]=new Map,y$1[d$1("finalized")]=new Map,p$2?.({ReactiveElement:y$1}),(a$2.reactiveElementVersions??=[]).push("2.1.1");
|
|
234
234
|
|
|
235
235
|
/**
|
|
236
236
|
* @license
|
|
237
237
|
* Copyright 2017 Google LLC
|
|
238
238
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
239
239
|
*/
|
|
240
|
-
const t$2=globalThis,i$3=t$2.trustedTypes,s$
|
|
240
|
+
const t$2=globalThis,i$3=t$2.trustedTypes,s$3=i$3?i$3.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$2="$lit$",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o$3="?"+h,n$1=`<${o$3}>`,r$1=document,l$1=()=>r$1.createComment(""),c$1=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$1=Array.isArray,u$3=t=>a$1(t)||"function"==typeof t?.[Symbol.iterator],d="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1=/-->/g,_=/>/g,m$1=RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$1=/'/g,g=/"/g,$=/^(?:script|style|textarea|title)$/i,y=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y(1),T=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),A=new WeakMap,C=r$1.createTreeWalker(r$1,129);function P(t,i){if(!a$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$3?s$3.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f;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?"!--"===u[1]?c=v$1:void 0!==u[1]?c=_:void 0!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1):void 0!==u[3]&&(c=m$1):c===m$1?">"===u[0]?(c=r??f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$1:'"'===u[3]?g:p$1):c===g||c===p$1?c=m$1:c===v$1||c===_?c=f:(c=m$1,r=void 0);const x=c===m$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n$1:d>=0?(o.push(a),s.slice(0,d)+e$2+s.slice(d)+h+x):s+h+(-2===d?i:x);}return [P(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N{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(t,s);if(this.el=N.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$2)){const i=v[a++],s=r.getAttribute(t).split(h),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H:"?"===e[1]?I:"@"===e[1]?L:k}),r.removeAttribute(t);}else t.startsWith(h)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h),s=t.length-1;if(s>0){r.textContent=i$3?i$3.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$1()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$1());}}}else if(8===r.nodeType)if(r.data===o$3)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h,t+1));)d.push({type:7,index:c}),t+=h.length-1;}c++;}}static createElement(t,i){const s=r$1.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$1(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),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(t,h._$AS(t,i.values),h,e)),i}let M$1 = 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){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$1).importNode(i,true);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R(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(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r$1,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{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}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(this,t,i),c$1(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$3(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&&c$1(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$1.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.createElement(P(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$1(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new N(t)),i}k(t){a$1(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(this.O(l$1()),this.O(l$1()),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?.(false,true,i);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{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E,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;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(void 0===h)t=S(this,t,i,0),o=!c$1(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T&&(r=this._$AH[n]),o||=!c$1(r)||r!==this._$AH[n],r===E?t=E:t!==E&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H extends k{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E?void 0:t;}}class I extends k{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E);}}class L extends k{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S(this,t,i,0)??E)===T)return;const s=this._$AH,e=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E&&(s===E||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{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 Z={I:R},j=t$2.litHtmlPolyfillSupport;j?.(N,R),(t$2.litHtmlVersions??=[]).push("3.3.1");const B=(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(i.insertBefore(l$1(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
241
241
|
|
|
242
242
|
/**
|
|
243
243
|
* @license
|
|
244
244
|
* Copyright 2017 Google LLC
|
|
245
245
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
246
|
-
*/const s$
|
|
246
|
+
*/const s$2=globalThis;let i$2 = class i extends y$1{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 r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B(r,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T}};i$2._$litElement$=true,i$2["finalized"]=true,s$2.litElementHydrateSupport?.({LitElement:i$2});const o$2=s$2.litElementPolyfillSupport;o$2?.({LitElement:i$2});(s$2.litElementVersions??=[]).push("4.2.1");
|
|
247
247
|
|
|
248
248
|
/**
|
|
249
249
|
* @license
|
|
250
250
|
* Copyright 2020 Google LLC
|
|
251
251
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
252
252
|
*/
|
|
253
|
-
const a=Symbol.for(""),o$
|
|
253
|
+
const a=Symbol.for(""),o$1=t=>{if(t?.r===a)return t?._$litStatic$},s$1=t=>({_$litStatic$:t,r:a}),i$1=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a}),l=new Map,n=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&void 0!==(i=e[$],s=o$1(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");void 0===(r=l.get(t))&&(n.raw=n,l.set(t,r=n)),e=u;}return t(r,...e)},u$2=n(x);
|
|
254
254
|
|
|
255
255
|
/**
|
|
256
256
|
* @license
|
|
257
257
|
* Copyright 2017 Google LLC
|
|
258
258
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
259
259
|
*/
|
|
260
|
-
const t$1={ATTRIBUTE:1,CHILD:2},e$
|
|
260
|
+
const t$1={ATTRIBUTE:1,CHILD:2},e$1=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
|
|
261
261
|
|
|
262
262
|
/**
|
|
263
263
|
* @license
|
|
264
264
|
* Copyright 2018 Google LLC
|
|
265
265
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
266
|
-
*/const e
|
|
266
|
+
*/const e=e$1(class extends i{constructor(t){if(super(t),t.type!==t$1.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T}});
|
|
267
267
|
|
|
268
268
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
269
269
|
// See LICENSE in the project root for license information.
|
|
@@ -295,7 +295,7 @@ let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
|
|
|
295
295
|
*/
|
|
296
296
|
generateTag(baseName, version, tagClass) {
|
|
297
297
|
const elementName = this.generateElementName(baseName, version);
|
|
298
|
-
const tag = i$1`${s$
|
|
298
|
+
const tag = i$1`${s$1(elementName)}`;
|
|
299
299
|
|
|
300
300
|
if (!customElements.get(elementName)) {
|
|
301
301
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -1163,24 +1163,6 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
1163
1163
|
}
|
|
1164
1164
|
};
|
|
1165
1165
|
|
|
1166
|
-
/**
|
|
1167
|
-
* @license
|
|
1168
|
-
* Copyright 2020 Google LLC
|
|
1169
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
1170
|
-
*/const {I:t}=Z,f$1=o=>void 0===o.strings,r$1=()=>document.createComment(""),s$1=(o,i,n)=>{const e=o._$AA.parentNode,l=void 0===i?o._$AB:i._$AA;if(void 0===n){const i=e.insertBefore(r$1(),l),d=e.insertBefore(r$1(),l);n=new t(i,d,o,o.options);}else {const t=n._$AB.nextSibling,i=n._$AM,d=i!==o;if(d){let t;n._$AQ?.(o),n._$AM=o,void 0!==n._$AP&&(t=o._$AU)!==i._$AU&&n._$AP(t);}if(t!==l||d){let o=n._$AA;for(;o!==t;){const t=o.nextSibling;e.insertBefore(o,l),o=t;}}}return n},v=(o,t,i=o)=>(o._$AI(t,i),o),u$1={},m=(o,t=u$1)=>o._$AH=t,p=o=>o._$AH,M=o=>{o._$AR(),o._$AA.remove();};
|
|
1171
|
-
|
|
1172
|
-
/**
|
|
1173
|
-
* @license
|
|
1174
|
-
* Copyright 2017 Google LLC
|
|
1175
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
1176
|
-
*/const s=(i,t)=>{const e=i._$AN;if(void 0===e)return false;for(const i of e)i._$AO?.(t,false),s(i,t);return true},o$2=i=>{let t,e;do{if(void 0===(t=i._$AM))break;e=t._$AN,e.delete(i),i=t;}while(0===e?.size)},r=i=>{for(let t;t=i._$AM;i=t){let e=t._$AN;if(void 0===e)t._$AN=e=new Set;else if(e.has(i))break;e.add(i),c$1(t);}};function h$1(i){ void 0!==this._$AN?(o$2(this),this._$AM=i,r(this)):this._$AM=i;}function n$1(i,t=false,e=0){const r=this._$AH,h=this._$AN;if(void 0!==h&&0!==h.size)if(t)if(Array.isArray(r))for(let i=e;i<r.length;i++)s(r[i],false),o$2(r[i]);else null!=r&&(s(r,false),o$2(r));else s(this,i);}const c$1=i=>{i.type==t$1.CHILD&&(i._$AP??=n$1,i._$AQ??=h$1);};class f extends i{constructor(){super(...arguments),this._$AN=void 0;}_$AT(i,t,e){super._$AT(i,t,e),r(this),this.isConnected=i._$AU;}_$AO(i,t=true){i!==this.isConnected&&(this.isConnected=i,i?this.reconnected?.():this.disconnected?.()),t&&(s(this,i),o$2(this));}setValue(t){if(f$1(this._$Ct))this._$Ct._$AI(t,this);else {const i=[...this._$Ct._$AH];i[this._$Ci]=t,this._$Ct._$AI(i,this,0);}}disconnected(){}reconnected(){}}
|
|
1177
|
-
|
|
1178
|
-
/**
|
|
1179
|
-
* @license
|
|
1180
|
-
* Copyright 2020 Google LLC
|
|
1181
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
1182
|
-
*/const e=()=>new h;class h{}const o$1=new WeakMap,n=e$2(class extends f{render(i){return E}update(i,[s]){const e=s!==this.G;return e&&void 0!==this.G&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=s,this.ht=i.options?.host,this.rt(this.ct=i.element)),E}rt(t){if(this.isConnected||(t=void 0),"function"==typeof this.G){const i=this.ht??globalThis;let s=o$1.get(i);void 0===s&&(s=new WeakMap,o$1.set(i,s)),void 0!==s.get(this.G)&&this.G.call(this.ht,void 0),s.set(this.G,t),void 0!==t&&this.G.call(this.ht,t);}else this.G.value=t;}get lt(){return "function"==typeof this.G?o$1.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0);}reconnected(){this.rt(this.ct);}});
|
|
1183
|
-
|
|
1184
1166
|
/**
|
|
1185
1167
|
* @license
|
|
1186
1168
|
* Copyright 2018 Google LLC
|
|
@@ -3724,7 +3706,7 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
|
3724
3706
|
*/
|
|
3725
3707
|
generateTag(baseName, version, tagClass) {
|
|
3726
3708
|
const elementName = this.generateElementName(baseName, version);
|
|
3727
|
-
const tag = i$1`${s$
|
|
3709
|
+
const tag = i$1`${s$1(elementName)}`;
|
|
3728
3710
|
|
|
3729
3711
|
if (!customElements.get(elementName)) {
|
|
3730
3712
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -4115,7 +4097,7 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
4115
4097
|
return x`
|
|
4116
4098
|
<div class="componentWrapper">
|
|
4117
4099
|
<div
|
|
4118
|
-
class="${e
|
|
4100
|
+
class="${e(svgClasses)}"
|
|
4119
4101
|
title="${o(this.title || undefined)}">
|
|
4120
4102
|
<span aria-hidden="${o(this.ariaHidden || true)}" part="svg">
|
|
4121
4103
|
${this.customSvg ? x`
|
|
@@ -4127,7 +4109,7 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
4127
4109
|
</span>
|
|
4128
4110
|
</div>
|
|
4129
4111
|
|
|
4130
|
-
<div class="${e
|
|
4112
|
+
<div class="${e(labelClasses)}">
|
|
4131
4113
|
<slot></slot>
|
|
4132
4114
|
</div>
|
|
4133
4115
|
</div>
|
|
@@ -4327,7 +4309,7 @@ class AuroDropdownBib extends i$2 {
|
|
|
4327
4309
|
classes[`shape-${this.shape}`] = true;
|
|
4328
4310
|
|
|
4329
4311
|
return u$2`
|
|
4330
|
-
<div class="${e
|
|
4312
|
+
<div class="${e(classes)}" part="bibContainer">
|
|
4331
4313
|
<slot></slot>
|
|
4332
4314
|
</div>
|
|
4333
4315
|
`;
|
|
@@ -4340,7 +4322,7 @@ var shapeSizeCss$1 = i$5`.wrapper{overflow:hidden}.shape-classic-xl,.shape-class
|
|
|
4340
4322
|
|
|
4341
4323
|
var colorCss$1$3 = i$5`:host(:not([layout*=classic])){--ds-auro-dropdown-trigger-border-color: transparent}:host(:not([ondark])) .wrapper{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-background-color);color:var(--ds-auro-dropdown-trigger-text-color)}:host(:not([ondark])) .wrapper:focus-within,:host(:not([ondark])) .wrapper:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused, #01426a);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused, #01426a)}:host(:not([ondark])) .wrapper:hover{--ds-auro-dropdown-trigger-background-color: var(--ds-auro-dropdown-trigger-hover-background-color)}:host(:not([onDark])[disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([ondark])[error]){--ds-auro-dropdown-trigger-border-color: var(--ds-basic-color-status-error, #e31f26)}:host([onDark]) .label,:host([onDark]) .helpText{color:var(--ds-auro-dropdown-label-text-color)}:host([onDark]) .wrapper{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-background-color);color:var(--ds-auro-dropdown-trigger-text-color)}:host([onDark]) .wrapper:focus-within,:host([onDark]) .wrapper:active{--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-focused-inverse, #ffffff);--ds-auro-dropdown-trigger-outline-color: var(--ds-advanced-color-state-focused-inverse, #ffffff)}:host([onDark]) .wrapper:hover{--ds-auro-dropdown-trigger-background-color: var(--ds-auro-dropdown-trigger-hover-background-color)}:host([onDark][disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-dropdown-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-dropdown-trigger-container-color: var(--ds-advanced-color-shared-background-inverse-disabled, rgba(255, 255, 255, 0.1))}:host([ondark][error]){--ds-auro-dropdown-trigger-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}`;
|
|
4342
4324
|
|
|
4343
|
-
var styleCss$1$3 = i$5`:host{position:relative;display:block;text-align:left;transform:translateZ(0)}
|
|
4325
|
+
var styleCss$1$3 = i$5`:host{position:relative;display:block;text-align:left;transform:translateZ(0)}:host([open]){z-index:var(--depth-tooltip, 400)}:host([open][isbibfullscreen]){position:fixed;top:0;left:0}.wrapper{display:flex;flex:1;flex-direction:row;align-items:center;justify-content:center;outline:none}.triggerContentWrapper{display:flex;overflow:hidden;width:100%;flex:1;align-items:center;justify-content:center;text-overflow:ellipsis;white-space:nowrap}:host([matchwidth]) #bibSizer{width:100%}`;
|
|
4344
4326
|
|
|
4345
4327
|
var classicColorCss$1 = i$5``;
|
|
4346
4328
|
|
|
@@ -4698,9 +4680,6 @@ class AuroDropdown extends AuroElement$4 {
|
|
|
4698
4680
|
/** @private */
|
|
4699
4681
|
this.handleDropdownToggle = this.handleDropdownToggle.bind(this);
|
|
4700
4682
|
|
|
4701
|
-
/** @private */
|
|
4702
|
-
this.bibElement = e();
|
|
4703
|
-
|
|
4704
4683
|
this.privateDefaults();
|
|
4705
4684
|
}
|
|
4706
4685
|
|
|
@@ -5137,14 +5116,6 @@ class AuroDropdown extends AuroElement$4 {
|
|
|
5137
5116
|
if (changedProperties.size === 0 || changedProperties.has('isPopoverVisible')) {
|
|
5138
5117
|
this.handleTriggerContentSlotChange();
|
|
5139
5118
|
}
|
|
5140
|
-
|
|
5141
|
-
if (changedProperties.has('isPopoverVisible') && this.bibElement.value) {
|
|
5142
|
-
if (this.isPopoverVisible) {
|
|
5143
|
-
this.bibElement.value.showPopover();
|
|
5144
|
-
} else {
|
|
5145
|
-
this.bibElement.value.hidePopover();
|
|
5146
|
-
}
|
|
5147
|
-
}
|
|
5148
5119
|
}
|
|
5149
5120
|
|
|
5150
5121
|
/**
|
|
@@ -5449,7 +5420,7 @@ class AuroDropdown extends AuroElement$4 {
|
|
|
5449
5420
|
<div>
|
|
5450
5421
|
<div
|
|
5451
5422
|
id="trigger"
|
|
5452
|
-
class="${e
|
|
5423
|
+
class="${e(this.commonWrapperClasses)}" part="wrapper"
|
|
5453
5424
|
tabindex="${o(this.triggerContentFocusable ? undefined : this.tabIndex)}"
|
|
5454
5425
|
role="${o(this.triggerContentFocusable ? undefined : this.a11yRole)}"
|
|
5455
5426
|
aria-expanded="${o(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
|
|
@@ -5477,7 +5448,7 @@ class AuroDropdown extends AuroElement$4 {
|
|
|
5477
5448
|
</div>
|
|
5478
5449
|
` : undefined }
|
|
5479
5450
|
</div>
|
|
5480
|
-
<div class="${e
|
|
5451
|
+
<div class="${e(helpTextClasses)}">
|
|
5481
5452
|
<slot name="helpText"></slot>
|
|
5482
5453
|
</div>
|
|
5483
5454
|
<div id="bibSizer" part="size"></div>
|
|
@@ -5485,10 +5456,7 @@ class AuroDropdown extends AuroElement$4 {
|
|
|
5485
5456
|
id="bib"
|
|
5486
5457
|
shape="${this.shape}"
|
|
5487
5458
|
?data-show="${this.isPopoverVisible}"
|
|
5488
|
-
?isfullscreen="${this.isBibFullscreen}"
|
|
5489
|
-
${n(this.bibElement)}
|
|
5490
|
-
popover="manual"
|
|
5491
|
-
>
|
|
5459
|
+
?isfullscreen="${this.isBibFullscreen}">
|
|
5492
5460
|
<div class="slotContent">
|
|
5493
5461
|
<slot @slotchange="${this.handleDefaultSlot}"></slot>
|
|
5494
5462
|
</div>
|
|
@@ -5577,12 +5545,18 @@ class AuroDropdown extends AuroElement$4 {
|
|
|
5577
5545
|
|
|
5578
5546
|
var dropdownVersion = '3.0.0';
|
|
5579
5547
|
|
|
5548
|
+
/**
|
|
5549
|
+
* @license
|
|
5550
|
+
* Copyright 2020 Google LLC
|
|
5551
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
5552
|
+
*/const {I:t}=Z,r=()=>document.createComment(""),s=(o,i,n)=>{const e=o._$AA.parentNode,l=void 0===i?o._$AB:i._$AA;if(void 0===n){const i=e.insertBefore(r(),l),d=e.insertBefore(r(),l);n=new t(i,d,o,o.options);}else {const t=n._$AB.nextSibling,i=n._$AM,d=i!==o;if(d){let t;n._$AQ?.(o),n._$AM=o,void 0!==n._$AP&&(t=o._$AU)!==i._$AU&&n._$AP(t);}if(t!==l||d){let o=n._$AA;for(;o!==t;){const t=o.nextSibling;e.insertBefore(o,l),o=t;}}}return n},v=(o,t,i=o)=>(o._$AI(t,i),o),u$1={},m=(o,t=u$1)=>o._$AH=t,p=o=>o._$AH,M=o=>{o._$AR(),o._$AA.remove();};
|
|
5553
|
+
|
|
5580
5554
|
/**
|
|
5581
5555
|
* @license
|
|
5582
5556
|
* Copyright 2017 Google LLC
|
|
5583
5557
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5584
5558
|
*/
|
|
5585
|
-
const u=(e,s,t)=>{const r=new Map;for(let l=s;l<=t;l++)r.set(e[l],l);return r},c=e$
|
|
5559
|
+
const u=(e,s,t)=>{const r=new Map;for(let l=s;l<=t;l++)r.set(e[l],l);return r},c=e$1(class extends i{constructor(e){if(super(e),e.type!==t$1.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,s,t){let r;void 0===t?t=s:void 0!==s&&(r=s);const l=[],o=[];let i=0;for(const s of e)l[i]=r?r(s,i):i,o[i]=t(s,i),i++;return {values:o,keys:l}}render(e,s,t){return this.dt(e,s,t).values}update(s$1,[t,r,c]){const d=p(s$1),{values:p$1,keys:a}=this.dt(t,r,c);if(!Array.isArray(d))return this.ut=a,p$1;const h=this.ut??=[],v$1=[];let m$1,y,x=0,j=d.length-1,k=0,w=p$1.length-1;for(;x<=j&&k<=w;)if(null===d[x])x++;else if(null===d[j])j--;else if(h[x]===a[k])v$1[k]=v(d[x],p$1[k]),x++,k++;else if(h[j]===a[w])v$1[w]=v(d[j],p$1[w]),j--,w--;else if(h[x]===a[w])v$1[w]=v(d[x],p$1[w]),s(s$1,v$1[w+1],d[x]),x++,w--;else if(h[j]===a[k])v$1[k]=v(d[j],p$1[k]),s(s$1,d[x],d[j]),j--,k++;else if(void 0===m$1&&(m$1=u(a,k,w),y=u(h,x,j)),m$1.has(h[x]))if(m$1.has(h[j])){const e=y.get(a[k]),t=void 0!==e?d[e]:null;if(null===t){const e=s(s$1,d[x]);v(e,p$1[k]),v$1[k]=e;}else v$1[k]=v(t,p$1[k]),s(s$1,d[x],t),d[e]=null;k++;}else M(d[j]),j--;else M(d[x]),x++;for(;k<=w;){const e=s(s$1,v$1[w+1]);v(e,p$1[k]),v$1[k++]=e;}for(;x<=j;){const e=d[x++];null!==e&&M(e);}return this.ut=a,m(s$1,v$1),T}});
|
|
5586
5560
|
|
|
5587
5561
|
var shapeSizeCss = i$5`.wrapper{overflow:hidden}.shape-classic-xl,.shape-classic-lg,.shape-classic-md,.shape-classic-sm,.shape-classic-xs{min-height:56px;max-height:56px;border-style:solid;border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}.shape-classic-xl.simple,.shape-classic-lg.simple,.shape-classic-md.simple,.shape-classic-sm.simple,.shape-classic-xs.simple{border-width:0px;min-height:58px;max-height:58px;background-color:unset;box-shadow:none}.shape-classic-xl.thin,.shape-classic-lg.thin,.shape-classic-md.thin,.shape-classic-sm.thin,.shape-classic-xs.thin{border-width:1px;min-height:56px;max-height:56px;background-color:unset}.shape-classic-xl.parentBorder,.shape-classic-lg.parentBorder,.shape-classic-md.parentBorder,.shape-classic-sm.parentBorder,.shape-classic-xs.parentBorder{border:0;box-shadow:unset;min-height:54px;max-height:54px}.shape-snowflake-xl,.shape-snowflake-lg,.shape-snowflake-md,.shape-snowflake-sm,.shape-snowflake-xs{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:30px}.shape-snowflake-xl.simple,.shape-snowflake-lg.simple,.shape-snowflake-md.simple,.shape-snowflake-sm.simple,.shape-snowflake-xs.simple{border-width:0px;min-height:60px;max-height:60px;background-color:unset;box-shadow:none}.shape-snowflake-xl.thin,.shape-snowflake-lg.thin,.shape-snowflake-md.thin,.shape-snowflake-sm.thin,.shape-snowflake-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-snowflake-xl.parentBorder,.shape-snowflake-lg.parentBorder,.shape-snowflake-md.parentBorder,.shape-snowflake-sm.parentBorder,.shape-snowflake-xs.parentBorder{border:0;box-shadow:unset;min-height:56px;max-height:56px}.shape-box-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-box-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-box-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-box-lg{min-height:52px;max-height:52px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-lg.simple{border-width:0px;min-height:56px;max-height:56px;background-color:unset;box-shadow:none}.shape-box-lg.thin{border-width:1px;min-height:54px;max-height:54px;background-color:unset}.shape-box-lg.parentBorder{border:0;box-shadow:unset;min-height:52px;max-height:52px}.shape-box-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-box-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-box-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-box-sm{min-height:32px;max-height:32px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-sm.simple{border-width:0px;min-height:36px;max-height:36px;background-color:unset;box-shadow:none}.shape-box-sm.thin{border-width:1px;min-height:34px;max-height:34px;background-color:unset}.shape-box-sm.parentBorder{border:0;box-shadow:unset;min-height:32px;max-height:32px}.shape-box-xs{min-height:20px;max-height:20px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xs.simple{border-width:0px;min-height:24px;max-height:24px;background-color:unset;box-shadow:none}.shape-box-xs.thin{border-width:1px;min-height:22px;max-height:22px;background-color:unset}.shape-box-xs.parentBorder{border:0;box-shadow:unset;min-height:20px;max-height:20px}.shape-rounded-lg{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:6px}.shape-rounded-lg.simple{border-width:0px;min-height:56px;max-height:56px;background-color:unset;box-shadow:none}.shape-rounded-lg.thin{border-width:1px;min-height:54px;max-height:54px;background-color:unset}.shape-rounded-lg.parentBorder{border:0;box-shadow:unset;min-height:52px;max-height:52px}.shape-pill-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-left-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-left-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-left-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-right-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-right-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-right-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-left-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-left-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-left-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-right-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-right-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-right-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}`;
|
|
5588
5562
|
|
|
@@ -11666,7 +11640,7 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
|
11666
11640
|
*/
|
|
11667
11641
|
generateTag(baseName, version, tagClass) {
|
|
11668
11642
|
const elementName = this.generateElementName(baseName, version);
|
|
11669
|
-
const tag = i$1`${s$
|
|
11643
|
+
const tag = i$1`${s$1(elementName)}`;
|
|
11670
11644
|
|
|
11671
11645
|
if (!customElements.get(elementName)) {
|
|
11672
11646
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -12057,7 +12031,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
12057
12031
|
return x`
|
|
12058
12032
|
<div class="componentWrapper">
|
|
12059
12033
|
<div
|
|
12060
|
-
class="${e
|
|
12034
|
+
class="${e(svgClasses)}"
|
|
12061
12035
|
title="${o(this.title || undefined)}">
|
|
12062
12036
|
<span aria-hidden="${o(this.ariaHidden || true)}" part="svg">
|
|
12063
12037
|
${this.customSvg ? x`
|
|
@@ -12069,7 +12043,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
12069
12043
|
</span>
|
|
12070
12044
|
</div>
|
|
12071
12045
|
|
|
12072
|
-
<div class="${e
|
|
12046
|
+
<div class="${e(labelClasses)}">
|
|
12073
12047
|
<slot></slot>
|
|
12074
12048
|
</div>
|
|
12075
12049
|
</div>
|
|
@@ -13148,7 +13122,7 @@ let AuroButton$1 = class AuroButton extends AuroElement$3 {
|
|
|
13148
13122
|
aria-labelledby="${o(this.loading ? undefined : this.currentAriaLabelledBy || undefined)}"
|
|
13149
13123
|
tabindex="${o(this.tIndex || this.tabindex)}"
|
|
13150
13124
|
?autofocus="${this.autofocus}"
|
|
13151
|
-
class=${e
|
|
13125
|
+
class=${e(classes)}
|
|
13152
13126
|
?disabled="${this.disabled || this.loading}"
|
|
13153
13127
|
?onDark="${this.onDark}"
|
|
13154
13128
|
title="${o(this.title ? this.title : undefined)}"
|
|
@@ -13163,7 +13137,7 @@ let AuroButton$1 = class AuroButton extends AuroElement$3 {
|
|
|
13163
13137
|
>
|
|
13164
13138
|
${o(this.loading ? u$2`<${this.loaderTag} pulse part="loader"></${this.loaderTag}>` : undefined)}
|
|
13165
13139
|
|
|
13166
|
-
<span class="${e
|
|
13140
|
+
<span class="${e(contentClasses)}">
|
|
13167
13141
|
<span class="textSlot" part="text">
|
|
13168
13142
|
<slot></slot>
|
|
13169
13143
|
</span>
|
|
@@ -13698,7 +13672,7 @@ class AuroInput extends BaseInput {
|
|
|
13698
13672
|
: this.commonInputClasses;
|
|
13699
13673
|
|
|
13700
13674
|
return u$2`
|
|
13701
|
-
<label for=${this.inputId} class="${e
|
|
13675
|
+
<label for=${this.inputId} class="${e(this.commonLabelClasses)}" part="label">
|
|
13702
13676
|
<slot name="label">
|
|
13703
13677
|
${this.label}
|
|
13704
13678
|
</slot>
|
|
@@ -13723,7 +13697,7 @@ class AuroInput extends BaseInput {
|
|
|
13723
13697
|
autocomplete="${o(this.autocomplete ? this.autocomplete : undefined)}"
|
|
13724
13698
|
autocapitalize="${o(this.autocapitalize ? this.autocapitalize : undefined)}"
|
|
13725
13699
|
autocorrect="${o(this.autocorrect ? this.autocorrect : undefined)}"
|
|
13726
|
-
class="${e
|
|
13700
|
+
class="${e(inputOverrideClasses)}"
|
|
13727
13701
|
id="${this.inputId}"
|
|
13728
13702
|
inputmode="${o(this.inputmode ? this.inputmode : undefined)}"
|
|
13729
13703
|
lang="${o(this.lang)}"
|
|
@@ -13735,8 +13709,8 @@ class AuroInput extends BaseInput {
|
|
|
13735
13709
|
spellcheck="${o(this.spellcheck ? this.spellcheck : undefined)}"
|
|
13736
13710
|
type="${this.type === "password" && this.showPassword ? "text" : this.getInputType(this.type)}"
|
|
13737
13711
|
/>
|
|
13738
|
-
<div class="${e
|
|
13739
|
-
<div class="${e
|
|
13712
|
+
<div class="${e(displayValueClasses)}" aria-hidden="true" part="displayValue">
|
|
13713
|
+
<div class="${e(this.commonDisplayValueWrapperClasses)}">
|
|
13740
13714
|
<slot name="displayValue" @slotchange=${this.checkDisplayValueSlotChange}></slot>
|
|
13741
13715
|
</div>
|
|
13742
13716
|
</div>
|
|
@@ -13889,7 +13863,7 @@ class AuroInput extends BaseInput {
|
|
|
13889
13863
|
return u$2`
|
|
13890
13864
|
<div
|
|
13891
13865
|
@click="${this.handleClick}"
|
|
13892
|
-
class="${e
|
|
13866
|
+
class="${e(classicClassMap)}"
|
|
13893
13867
|
part="wrapper">
|
|
13894
13868
|
<div part="accent-left" class="accents left">
|
|
13895
13869
|
${this.renderHtmlTypeIcon()}
|
|
@@ -13922,7 +13896,7 @@ class AuroInput extends BaseInput {
|
|
|
13922
13896
|
return u$2`
|
|
13923
13897
|
<div
|
|
13924
13898
|
@click="${this.handleClick}"
|
|
13925
|
-
class="${e
|
|
13899
|
+
class="${e(this.commonWrapperClasses)}"
|
|
13926
13900
|
part="wrapper">
|
|
13927
13901
|
<div class="accents left">
|
|
13928
13902
|
${this.layout.includes('left') ? u$2`
|
|
@@ -13943,7 +13917,7 @@ class AuroInput extends BaseInput {
|
|
|
13943
13917
|
` : undefined}
|
|
13944
13918
|
</div>
|
|
13945
13919
|
</div>
|
|
13946
|
-
<div class="${e
|
|
13920
|
+
<div class="${e(this.helpTextClasses)}" part="inputHelpText">
|
|
13947
13921
|
${this.renderHtmlHelpText()}
|
|
13948
13922
|
</div>
|
|
13949
13923
|
`;
|
|
@@ -13958,7 +13932,7 @@ class AuroInput extends BaseInput {
|
|
|
13958
13932
|
return u$2`
|
|
13959
13933
|
<div
|
|
13960
13934
|
@click="${this.handleClick}"
|
|
13961
|
-
class="${e
|
|
13935
|
+
class="${e(this.commonWrapperClasses)}"
|
|
13962
13936
|
part="wrapper">
|
|
13963
13937
|
<div class="accents left">
|
|
13964
13938
|
${this.renderHtmlTypeIcon()}
|
|
@@ -14117,7 +14091,7 @@ class AuroDependencyVersioning {
|
|
|
14117
14091
|
*/
|
|
14118
14092
|
generateTag(baseName, version, tagClass) {
|
|
14119
14093
|
const elementName = this.generateElementName(baseName, version);
|
|
14120
|
-
const tag = i$1`${s$
|
|
14094
|
+
const tag = i$1`${s$1(elementName)}`;
|
|
14121
14095
|
|
|
14122
14096
|
if (!customElements.get(elementName)) {
|
|
14123
14097
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -15196,7 +15170,7 @@ class AuroButton extends AuroElement$1$1 {
|
|
|
15196
15170
|
aria-labelledby="${o(this.loading ? undefined : this.currentAriaLabelledBy || undefined)}"
|
|
15197
15171
|
tabindex="${o(this.tIndex || this.tabindex)}"
|
|
15198
15172
|
?autofocus="${this.autofocus}"
|
|
15199
|
-
class=${e
|
|
15173
|
+
class=${e(classes)}
|
|
15200
15174
|
?disabled="${this.disabled || this.loading}"
|
|
15201
15175
|
?onDark="${this.onDark}"
|
|
15202
15176
|
title="${o(this.title ? this.title : undefined)}"
|
|
@@ -15211,7 +15185,7 @@ class AuroButton extends AuroElement$1$1 {
|
|
|
15211
15185
|
>
|
|
15212
15186
|
${o(this.loading ? u$2`<${this.loaderTag} pulse part="loader"></${this.loaderTag}>` : undefined)}
|
|
15213
15187
|
|
|
15214
|
-
<span class="${e
|
|
15188
|
+
<span class="${e(contentClasses)}">
|
|
15215
15189
|
<span class="textSlot" part="text">
|
|
15216
15190
|
<slot></slot>
|
|
15217
15191
|
</span>
|
|
@@ -15613,7 +15587,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
15613
15587
|
return x`
|
|
15614
15588
|
<div class="componentWrapper">
|
|
15615
15589
|
<div
|
|
15616
|
-
class="${e
|
|
15590
|
+
class="${e(svgClasses)}"
|
|
15617
15591
|
title="${o(this.title || undefined)}">
|
|
15618
15592
|
<span aria-hidden="${o(this.ariaHidden || true)}" part="svg">
|
|
15619
15593
|
${this.customSvg ? x`
|
|
@@ -15625,7 +15599,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
15625
15599
|
</span>
|
|
15626
15600
|
</div>
|
|
15627
15601
|
|
|
15628
|
-
<div class="${e
|
|
15602
|
+
<div class="${e(labelClasses)}">
|
|
15629
15603
|
<slot></slot>
|
|
15630
15604
|
</div>
|
|
15631
15605
|
</div>
|
|
@@ -15798,10 +15772,10 @@ class AuroHeader extends i$2 {
|
|
|
15798
15772
|
});
|
|
15799
15773
|
}
|
|
15800
15774
|
|
|
15801
|
-
const headerClasses = e
|
|
15775
|
+
const headerClasses = e(classObject);
|
|
15802
15776
|
|
|
15803
15777
|
// unsafeStatic dynamically creates tag names at runtime
|
|
15804
|
-
const tag = s$
|
|
15778
|
+
const tag = s$1(`h${headingLevel}`);
|
|
15805
15779
|
return u$2`<${tag} class="${headerClasses}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></${tag}>`;
|
|
15806
15780
|
}
|
|
15807
15781
|
|
|
@@ -17547,14 +17521,14 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
17547
17521
|
<span slot="helpText">
|
|
17548
17522
|
${!this.validity || this.validity === 'valid'
|
|
17549
17523
|
? u$2`
|
|
17550
|
-
<${this.helpTextTag} class="${e
|
|
17524
|
+
<${this.helpTextTag} class="${e(helpTextContentClasses)}" ?onDark="${this.onDark}">
|
|
17551
17525
|
<p id="${this.uniqueId}" part="helpText">
|
|
17552
17526
|
<slot name="helpText"></slot>
|
|
17553
17527
|
</p>
|
|
17554
17528
|
</${this.helpTextTag}>
|
|
17555
17529
|
`
|
|
17556
17530
|
: u$2`
|
|
17557
|
-
<${this.helpTextTag} class="${e
|
|
17531
|
+
<${this.helpTextTag} class="${e(errorTextContentClasses)}" error ?onDark="${this.onDark}">
|
|
17558
17532
|
<p id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
|
|
17559
17533
|
${this.errorMessage}
|
|
17560
17534
|
</p>
|
|
@@ -17844,11 +17818,17 @@ class AuroMenu extends AuroElement$1 {
|
|
|
17844
17818
|
}
|
|
17845
17819
|
}
|
|
17846
17820
|
|
|
17821
|
+
// eslint-disable-next-line complexity
|
|
17847
17822
|
updated(changedProperties) {
|
|
17848
17823
|
super.updated(changedProperties);
|
|
17849
17824
|
|
|
17850
17825
|
if (changedProperties.has('optionSelected')) {
|
|
17851
|
-
|
|
17826
|
+
const old = changedProperties.get('optionSelected');
|
|
17827
|
+
if ((old && this.optionSelected && old.value !== this.optionSelected.value) ||
|
|
17828
|
+
(!old && this.optionSelected) ||
|
|
17829
|
+
(old && !this.optionSelected)) {
|
|
17830
|
+
this.notifySelectionChange();
|
|
17831
|
+
}
|
|
17852
17832
|
}
|
|
17853
17833
|
|
|
17854
17834
|
if (changedProperties.has('multiSelect') && !changedProperties.has("value")) {
|
|
@@ -18415,7 +18395,7 @@ class AuroMenu extends AuroElement$1 {
|
|
|
18415
18395
|
* @private
|
|
18416
18396
|
*/
|
|
18417
18397
|
get wrapperClasses() {
|
|
18418
|
-
return e
|
|
18398
|
+
return e({
|
|
18419
18399
|
'menuWrapper': true,
|
|
18420
18400
|
[this.size]: true,
|
|
18421
18401
|
});
|
|
@@ -18837,7 +18817,7 @@ class AuroIcon extends BaseIcon {
|
|
|
18837
18817
|
return x`
|
|
18838
18818
|
<div class="componentWrapper">
|
|
18839
18819
|
<div
|
|
18840
|
-
class="${e
|
|
18820
|
+
class="${e(svgClasses)}"
|
|
18841
18821
|
title="${o(this.title || undefined)}">
|
|
18842
18822
|
<span aria-hidden="${o(this.ariaHidden || true)}" part="svg">
|
|
18843
18823
|
${this.customSvg ? x`
|
|
@@ -18849,7 +18829,7 @@ class AuroIcon extends BaseIcon {
|
|
|
18849
18829
|
</span>
|
|
18850
18830
|
</div>
|
|
18851
18831
|
|
|
18852
|
-
<div class="${e
|
|
18832
|
+
<div class="${e(labelClasses)}">
|
|
18853
18833
|
<slot></slot>
|
|
18854
18834
|
</div>
|
|
18855
18835
|
</div>
|
|
@@ -19020,7 +19000,7 @@ class AuroMenuOption extends AuroElement$1 {
|
|
|
19020
19000
|
xl: 'body-lg'
|
|
19021
19001
|
};
|
|
19022
19002
|
|
|
19023
|
-
const classes = e
|
|
19003
|
+
const classes = e({
|
|
19024
19004
|
'wrapper': true,
|
|
19025
19005
|
[this.size ? fontClassMap[this.size] : 'body-sm']: true,
|
|
19026
19006
|
});
|