@aurodesignsystem/auro-formkit 5.2.2 → 5.2.3
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/CHANGELOG.md +10 -3
- package/components/combobox/demo/api.md +2 -2
- package/components/combobox/demo/api.min.js +151 -75
- package/components/combobox/demo/index.min.js +149 -73
- package/components/combobox/dist/auro-combobox.d.ts +9 -0
- package/components/combobox/dist/index.js +83 -24
- package/components/combobox/dist/registered.js +83 -24
- package/components/counter/demo/api.min.js +99 -67
- package/components/counter/demo/index.min.js +99 -67
- package/components/counter/dist/index.js +18 -3
- package/components/counter/dist/registered.js +18 -3
- package/components/datepicker/demo/api.min.js +197 -171
- package/components/datepicker/demo/index.min.js +197 -171
- package/components/datepicker/dist/index.js +18 -3
- package/components/datepicker/dist/registered.js +18 -3
- package/components/dropdown/demo/api.min.js +48 -16
- package/components/dropdown/demo/index.min.js +48 -16
- package/components/dropdown/dist/auro-dropdown.d.ts +2 -0
- package/components/dropdown/dist/index.js +18 -3
- package/components/dropdown/dist/registered.js +18 -3
- package/components/menu/demo/api.min.js +8 -2
- package/components/menu/demo/index.min.js +8 -2
- package/components/menu/dist/index.js +8 -2
- package/components/menu/dist/registered.js +8 -2
- package/components/radio/demo/api.min.js +4 -4
- package/components/radio/demo/index.min.js +4 -4
- package/components/radio/dist/index.js +4 -4
- package/components/radio/dist/registered.js +4 -4
- package/components/select/demo/api.min.js +109 -50
- package/components/select/demo/index.min.js +109 -50
- package/components/select/dist/auro-select.d.ts +2 -0
- package/components/select/dist/index.js +46 -10
- package/components/select/dist/registered.js +46 -10
- package/package.json +1 -1
|
@@ -262,27 +262,27 @@ function resetStateExample() {
|
|
|
262
262
|
* Copyright 2017 Google LLC
|
|
263
263
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
264
264
|
*/
|
|
265
|
-
const t$3=globalThis,i$5=t$3.trustedTypes,s$
|
|
265
|
+
const t$3=globalThis,i$5=t$3.trustedTypes,s$5=i$5?i$5.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$5="$lit$",h$3=`lit$${Math.random().toFixed(9).slice(2)}$`,o$8="?"+h$3,n$6=`<${o$8}>`,r$5=document,l$2=()=>r$5.createComment(""),c$4=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$2=Array.isArray,u$4=t=>a$2(t)||"function"==typeof t?.[Symbol.iterator],d$1="[ \t\n\f\r]",f$3=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1=/-->/g,_=/>/g,m$1=RegExp(`>|${d$1}(?:([^\\s"'>=/]+)(${d$1}*=${d$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$2=/'/g,g=/"/g,$=/^(?:script|style|textarea|title)$/i,y$1=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y$1(1),T=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),A=new WeakMap,C=r$5.createTreeWalker(r$5,129);function P(t,i){if(!a$2(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$5?s$5.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$3;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$3?"!--"===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$3,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$2):c===g||c===p$2?c=m$1:c===v$1||c===_?c=f$3:(c=m$1,r=void 0);const x=c===m$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f$3?s+n$6:d>=0?(o.push(a),s.slice(0,d)+e$5+s.slice(d)+h$3+x):s+h$3+(-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$5)){const i=v[a++],s=r.getAttribute(t).split(h$3),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$3)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h$3),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$2()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$2());}}}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$3,t+1));)d.push({type:7,index:c}),t+=h$3.length-1;}c++;}}static createElement(t,i){const s=r$5.createElement("template");return s.innerHTML=t,s}}function S$1(t,i,s=t,e){if(i===T)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?.(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$1(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$5).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$5,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$1(this,t,i),c$4(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$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&&c$4(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$5.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$2(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$2()),this.O(l$2()),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$1(this,t,i,0),o=!c$4(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$1(this,e[s+n],i,n),r===T&&(r=this._$AH[n]),o||=!c$4(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$1(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$1(this,t);}}const Z={I:R},j=t$3.litHtmlPolyfillSupport;j?.(N,R),(t$3.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$2(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
266
266
|
|
|
267
267
|
/**
|
|
268
268
|
* @license
|
|
269
269
|
* Copyright 2020 Google LLC
|
|
270
270
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
271
271
|
*/
|
|
272
|
-
const a$1=Symbol.for(""),o$
|
|
272
|
+
const a$1=Symbol.for(""),o$7=t=>{if(t?.r===a$1)return t?._$litStatic$},s$4=t=>({_$litStatic$:t,r:a$1}),i$4=(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$1}),l$1=new Map,n$5=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$7(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$1.get(t))&&(n.raw=n,l$1.set(t,r=n)),e=u;}return t(r,...e)},u$3=n$5(x);
|
|
273
273
|
|
|
274
274
|
/**
|
|
275
275
|
* @license
|
|
276
276
|
* Copyright 2017 Google LLC
|
|
277
277
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
278
278
|
*/
|
|
279
|
-
const t$2={ATTRIBUTE:1,CHILD:2},e$
|
|
279
|
+
const t$2={ATTRIBUTE:1,CHILD:2},e$4=t=>(...e)=>({_$litDirective$:t,values:e});let i$3 = 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)}};
|
|
280
280
|
|
|
281
281
|
/**
|
|
282
282
|
* @license
|
|
283
283
|
* Copyright 2018 Google LLC
|
|
284
284
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
285
|
-
*/const e$
|
|
285
|
+
*/const e$3=e$4(class extends i$3{constructor(t){if(super(t),t.type!==t$2.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}});
|
|
286
286
|
|
|
287
287
|
let DateFormatter$1 = class DateFormatter {
|
|
288
288
|
|
|
@@ -1172,7 +1172,7 @@ let AuroDependencyVersioning$3 = class AuroDependencyVersioning {
|
|
|
1172
1172
|
*/
|
|
1173
1173
|
generateTag(baseName, version, tagClass) {
|
|
1174
1174
|
const elementName = this.generateElementName(baseName, version);
|
|
1175
|
-
const tag = i$4`${s$
|
|
1175
|
+
const tag = i$4`${s$4(elementName)}`;
|
|
1176
1176
|
|
|
1177
1177
|
if (!customElements.get(elementName)) {
|
|
1178
1178
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -1386,19 +1386,19 @@ class AuroDatepickerUtilities {
|
|
|
1386
1386
|
* Copyright 2019 Google LLC
|
|
1387
1387
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1388
1388
|
*/
|
|
1389
|
-
const t$1=globalThis,e$
|
|
1389
|
+
const t$1=globalThis,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(),o$6=new WeakMap;let n$4 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==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=o$6.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$6.set(s,t));}return t}toString(){return this.cssText}};const r$4=t=>new n$4("string"==typeof t?t:t+"",void 0,s$3),i$2=(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$4(o,t,s$3)},S=(s,o)=>{if(e$2)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$1.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$3=e$2?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$4(e)})(t):t;
|
|
1390
1390
|
|
|
1391
1391
|
/**
|
|
1392
1392
|
* @license
|
|
1393
1393
|
* Copyright 2017 Google LLC
|
|
1394
1394
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1395
|
-
*/const{is:i$1,defineProperty:e,getOwnPropertyDescriptor:h,getOwnPropertyNames:r$
|
|
1395
|
+
*/const{is:i$1,defineProperty:e$1,getOwnPropertyDescriptor:h$2,getOwnPropertyNames:r$3,getOwnPropertySymbols:o$5,getPrototypeOf:n$3}=Object,a=globalThis,c$2=a.trustedTypes,l=c$2?c$2.emptyScript:"",p$1=a.reactiveElementPolyfillSupport,d=(t,s)=>t,u$2={toAttribute(t,s){switch(s){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$2=(t,s)=>!i$1(t,s),b={attribute:true,type:String,converter:u$2,reflect:false,useDefault:false,hasChanged:f$2};Symbol.metadata??=Symbol("metadata"),a.litPropertyMetadata??=new WeakMap;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$1(this.prototype,t,h);}}static getPropertyDescriptor(t,s,i){const{get:e,set:r}=h$2(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("elementProperties")))return;const t=n$3(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d("properties"))){const t=this.properties,s=[...r$3(t),...o$5(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$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(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$2).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$2;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$2)(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.elementStyles=[],y.shadowRootOptions={mode:"open"},y[d("elementProperties")]=new Map,y[d("finalized")]=new Map,p$1?.({ReactiveElement:y}),(a.reactiveElementVersions??=[]).push("2.1.1");
|
|
1396
1396
|
|
|
1397
1397
|
/**
|
|
1398
1398
|
* @license
|
|
1399
1399
|
* Copyright 2017 Google LLC
|
|
1400
1400
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1401
|
-
*/const s$
|
|
1401
|
+
*/const s$2=globalThis;class i extends y{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._$litElement$=true,i["finalized"]=true,s$2.litElementHydrateSupport?.({LitElement:i});const o$4=s$2.litElementPolyfillSupport;o$4?.({LitElement:i});(s$2.litElementVersions??=[]).push("4.2.1");
|
|
1402
1402
|
|
|
1403
1403
|
class UtilitiesCalendarRender {
|
|
1404
1404
|
constructor() {
|
|
@@ -1613,7 +1613,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
1613
1613
|
* @license
|
|
1614
1614
|
* Copyright 2017 Google LLC
|
|
1615
1615
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1616
|
-
*/const o$
|
|
1616
|
+
*/const o$3={attribute:true,type:String,converter:u$2,reflect:false,hasChanged:f$2},r$2=(t=o$3,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(void 0===s&&globalThis.litPropertyMetadata.set(i,s=new Map),"setter"===n&&((t=Object.create(t)).wrapped=true),s.set(r.name,t),"accessor"===n){const{name:o}=r;return {set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t);},init(e){return void 0!==e&&this.C(o,void 0,t,e),e}}}if("setter"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t);}}throw Error("Unsupported decorator location: "+n)};function n$2(t){return (e,o)=>"object"==typeof o?r$2(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)}
|
|
1617
1617
|
|
|
1618
1618
|
/**
|
|
1619
1619
|
* @module constants
|
|
@@ -7558,19 +7558,19 @@ RangeDatepickerCell.styles = i$2`
|
|
|
7558
7558
|
opacity: 0.4;
|
|
7559
7559
|
}
|
|
7560
7560
|
`;
|
|
7561
|
-
__decorate([n({ type: Object })], RangeDatepickerCell.prototype, "day", void 0);
|
|
7562
|
-
__decorate([n({ type: Boolean })], RangeDatepickerCell.prototype, "selected", void 0);
|
|
7563
|
-
__decorate([n({ type: Boolean })], RangeDatepickerCell.prototype, "hovered", void 0);
|
|
7564
|
-
__decorate([n({ type: String })], RangeDatepickerCell.prototype, "dateTo", void 0);
|
|
7565
|
-
__decorate([n({ type: String })], RangeDatepickerCell.prototype, "dateFrom", void 0);
|
|
7566
|
-
__decorate([n({ type: String })], RangeDatepickerCell.prototype, "month", void 0);
|
|
7567
|
-
__decorate([n({ type: Number })], RangeDatepickerCell.prototype, "min", void 0);
|
|
7568
|
-
__decorate([n({ type: Number })], RangeDatepickerCell.prototype, "max", void 0);
|
|
7569
|
-
__decorate([n({ type: Boolean })], RangeDatepickerCell.prototype, "disabled", void 0);
|
|
7570
|
-
__decorate([n({ type: Array })], RangeDatepickerCell.prototype, "disabledDays", void 0);
|
|
7571
|
-
__decorate([n({ type: String })], RangeDatepickerCell.prototype, "hoveredDate", void 0);
|
|
7572
|
-
__decorate([n({ type: Boolean })], RangeDatepickerCell.prototype, "isCurrentDate", void 0);
|
|
7573
|
-
__decorate([n({ type: Object })], RangeDatepickerCell.prototype, "locale", null);
|
|
7561
|
+
__decorate([n$2({ type: Object })], RangeDatepickerCell.prototype, "day", void 0);
|
|
7562
|
+
__decorate([n$2({ type: Boolean })], RangeDatepickerCell.prototype, "selected", void 0);
|
|
7563
|
+
__decorate([n$2({ type: Boolean })], RangeDatepickerCell.prototype, "hovered", void 0);
|
|
7564
|
+
__decorate([n$2({ type: String })], RangeDatepickerCell.prototype, "dateTo", void 0);
|
|
7565
|
+
__decorate([n$2({ type: String })], RangeDatepickerCell.prototype, "dateFrom", void 0);
|
|
7566
|
+
__decorate([n$2({ type: String })], RangeDatepickerCell.prototype, "month", void 0);
|
|
7567
|
+
__decorate([n$2({ type: Number })], RangeDatepickerCell.prototype, "min", void 0);
|
|
7568
|
+
__decorate([n$2({ type: Number })], RangeDatepickerCell.prototype, "max", void 0);
|
|
7569
|
+
__decorate([n$2({ type: Boolean })], RangeDatepickerCell.prototype, "disabled", void 0);
|
|
7570
|
+
__decorate([n$2({ type: Array })], RangeDatepickerCell.prototype, "disabledDays", void 0);
|
|
7571
|
+
__decorate([n$2({ type: String })], RangeDatepickerCell.prototype, "hoveredDate", void 0);
|
|
7572
|
+
__decorate([n$2({ type: Boolean })], RangeDatepickerCell.prototype, "isCurrentDate", void 0);
|
|
7573
|
+
__decorate([n$2({ type: Object })], RangeDatepickerCell.prototype, "locale", null);
|
|
7574
7574
|
AuroLibraryRuntimeUtils$9.prototype.registerComponent('wc-range-datepicker-cell', RangeDatepickerCell);
|
|
7575
7575
|
|
|
7576
7576
|
class Day {
|
|
@@ -8071,24 +8071,24 @@ RangeDatepickerCalendar.styles = i$2`
|
|
|
8071
8071
|
max-height: 200px;
|
|
8072
8072
|
}
|
|
8073
8073
|
`;
|
|
8074
|
-
__decorate([n({ type: String })], RangeDatepickerCalendar.prototype, "dateFrom", void 0);
|
|
8075
|
-
__decorate([n({ type: String })], RangeDatepickerCalendar.prototype, "dateTo", void 0);
|
|
8076
|
-
__decorate([n({ type: String })], RangeDatepickerCalendar.prototype, "hoveredDate", void 0);
|
|
8077
|
-
__decorate([n({ type: Boolean })], RangeDatepickerCalendar.prototype, "enableYearChange", void 0);
|
|
8078
|
-
__decorate([n({ type: String })], RangeDatepickerCalendar.prototype, "month", void 0);
|
|
8079
|
-
__decorate([n({ type: Boolean })], RangeDatepickerCalendar.prototype, "narrow", void 0);
|
|
8080
|
-
__decorate([n({ type: Boolean })], RangeDatepickerCalendar.prototype, "noRange", void 0);
|
|
8081
|
-
__decorate([n({ type: Boolean })], RangeDatepickerCalendar.prototype, "next", void 0);
|
|
8082
|
-
__decorate([n({ type: Boolean })], RangeDatepickerCalendar.prototype, "prev", void 0);
|
|
8083
|
-
__decorate([n({ type: String })], RangeDatepickerCalendar.prototype, "year", void 0);
|
|
8084
|
-
__decorate([n({ type: Array })], RangeDatepickerCalendar.prototype, "disabledDays", void 0);
|
|
8085
|
-
__decorate([n({ type: Object })], RangeDatepickerCalendar.prototype, "locale", null);
|
|
8086
|
-
__decorate([n({ type: String })], RangeDatepickerCalendar.prototype, "max", void 0);
|
|
8087
|
-
__decorate([n({ type: String })], RangeDatepickerCalendar.prototype, "min", void 0);
|
|
8088
|
-
__decorate([n({ type: Array })], RangeDatepickerCalendar.prototype, "yearsList", void 0);
|
|
8089
|
-
__decorate([n({ type: Array })], RangeDatepickerCalendar.prototype, "monthsList", void 0);
|
|
8090
|
-
__decorate([n({ type: Array })], RangeDatepickerCalendar.prototype, "dayNamesOfTheWeek", void 0);
|
|
8091
|
-
__decorate([n({ type: Array })], RangeDatepickerCalendar.prototype, "daysOfMonth", void 0);
|
|
8074
|
+
__decorate([n$2({ type: String })], RangeDatepickerCalendar.prototype, "dateFrom", void 0);
|
|
8075
|
+
__decorate([n$2({ type: String })], RangeDatepickerCalendar.prototype, "dateTo", void 0);
|
|
8076
|
+
__decorate([n$2({ type: String })], RangeDatepickerCalendar.prototype, "hoveredDate", void 0);
|
|
8077
|
+
__decorate([n$2({ type: Boolean })], RangeDatepickerCalendar.prototype, "enableYearChange", void 0);
|
|
8078
|
+
__decorate([n$2({ type: String })], RangeDatepickerCalendar.prototype, "month", void 0);
|
|
8079
|
+
__decorate([n$2({ type: Boolean })], RangeDatepickerCalendar.prototype, "narrow", void 0);
|
|
8080
|
+
__decorate([n$2({ type: Boolean })], RangeDatepickerCalendar.prototype, "noRange", void 0);
|
|
8081
|
+
__decorate([n$2({ type: Boolean })], RangeDatepickerCalendar.prototype, "next", void 0);
|
|
8082
|
+
__decorate([n$2({ type: Boolean })], RangeDatepickerCalendar.prototype, "prev", void 0);
|
|
8083
|
+
__decorate([n$2({ type: String })], RangeDatepickerCalendar.prototype, "year", void 0);
|
|
8084
|
+
__decorate([n$2({ type: Array })], RangeDatepickerCalendar.prototype, "disabledDays", void 0);
|
|
8085
|
+
__decorate([n$2({ type: Object })], RangeDatepickerCalendar.prototype, "locale", null);
|
|
8086
|
+
__decorate([n$2({ type: String })], RangeDatepickerCalendar.prototype, "max", void 0);
|
|
8087
|
+
__decorate([n$2({ type: String })], RangeDatepickerCalendar.prototype, "min", void 0);
|
|
8088
|
+
__decorate([n$2({ type: Array })], RangeDatepickerCalendar.prototype, "yearsList", void 0);
|
|
8089
|
+
__decorate([n$2({ type: Array })], RangeDatepickerCalendar.prototype, "monthsList", void 0);
|
|
8090
|
+
__decorate([n$2({ type: Array })], RangeDatepickerCalendar.prototype, "dayNamesOfTheWeek", void 0);
|
|
8091
|
+
__decorate([n$2({ type: Array })], RangeDatepickerCalendar.prototype, "daysOfMonth", void 0);
|
|
8092
8092
|
AuroLibraryRuntimeUtils$9.prototype.registerComponent('wc-range-datepicker-calendar', RangeDatepickerCalendar);
|
|
8093
8093
|
|
|
8094
8094
|
var styleCss$b = i$2`.body-default{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-xs-font-size, 0.75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-2xs-font-size, 0.625rem);line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);font-weight:var(--wcss-display-2xl-weight, 300);line-height:var(--wcss-display-2xl-line-height, 1.3);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem))}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);font-weight:var(--wcss-display-xl-weight, 300);line-height:var(--wcss-display-xl-line-height, 1.3);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem))}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);font-weight:var(--wcss-display-lg-weight, 300);line-height:var(--wcss-display-lg-line-height, 1.3);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem))}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);letter-spacing:var(--wcss-display-md-letter-spacing, 0);font-weight:var(--wcss-display-md-weight, 300);line-height:var(--wcss-display-md-line-height, 1.3);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem))}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);font-weight:var(--wcss-display-sm-weight, 300);line-height:var(--wcss-display-sm-line-height, 1.3);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem))}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);font-weight:var(--wcss-display-xs-weight, 300);line-height:var(--wcss-display-xs-line-height, 1.3);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem))}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);font-weight:var(--wcss-heading-xl-weight, 300);line-height:var(--wcss-heading-xl-line-height, 1.3);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem))}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);font-weight:var(--wcss-heading-lg-weight, 300);line-height:var(--wcss-heading-lg-line-height, 1.3);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem))}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);font-weight:var(--wcss-heading-md-weight, 300);line-height:var(--wcss-heading-md-line-height, 1.3);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem))}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);font-weight:var(--wcss-heading-sm-weight, 300);line-height:var(--wcss-heading-sm-line-height, 1.3);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem))}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);font-weight:var(--wcss-heading-xs-weight, 450);line-height:var(--wcss-heading-xs-line-height, 1.3);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem))}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);font-weight:var(--wcss-heading-2xs-weight, 450);line-height:var(--wcss-heading-2xs-line-height, 1.3);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem))}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);font-weight:var(--wcss-accent-2xl-weight, 450);line-height:var(--wcss-accent-2xl-line-height, 1);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);font-weight:var(--wcss-accent-xl-weight, 450);line-height:var(--wcss-accent-xl-line-height, 1.3);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));text-transform:uppercase}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);font-weight:var(--wcss-accent-lg-weight, 450);line-height:var(--wcss-accent-lg-line-height, 1.3);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);font-weight:var(--wcss-accent-md-weight, 500);line-height:var(--wcss-accent-md-line-height, 1.3);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));text-transform:uppercase}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);font-weight:var(--wcss-accent-sm-weight, 500);line-height:var(--wcss-accent-sm-line-height, 1.3);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);font-weight:var(--wcss-accent-xs-weight, 500);line-height:var(--wcss-accent-xs-line-height, 1.3);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));text-transform:uppercase}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);font-weight:var(--wcss-accent-2xs-weight, 450);line-height:var(--wcss-accent-2xs-line-height, 1.3);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));text-transform:uppercase}@media screen and (max-width: 576px){:host{display:flex;justify-content:center}}.day{position:relative;width:var(--ds-size-500, 2.5rem);height:calc(var(--ds-size-700, 3.5rem) - 2px);padding:0;border-width:1px;border-style:solid;border-radius:var(--ds-size-300, 1.5rem);cursor:pointer;user-select:none}.day.disabled{cursor:default !important}.day.inRange::before{position:absolute;z-index:-1;top:50%;left:50%;display:block;width:14.2857142857vw;height:var(--ds-size-600, 3rem);content:"";transform:translate(-50%, -50%)}@media screen and (min-width: 576px){.day.inRange::before{width:var(--ds-size-600, 3rem)}}.day.rangeDepartDate::before{position:absolute;z-index:-1;top:50%;left:50%;display:block;width:14.2857142857vw;height:var(--ds-size-600, 3rem);content:"";transform:translate(-50%, -50%);width:7.1428571429vw;transform:translate(0%, -50%)}@media screen and (min-width: 576px){.day.rangeDepartDate::before{width:calc(var(--ds-size-600, 3rem)/2)}}.day.rangeReturnDate::before,.day.lastHoveredDate::before{position:absolute;z-index:-1;top:50%;left:50%;display:block;width:14.2857142857vw;height:var(--ds-size-600, 3rem);content:"";transform:translate(-50%, -50%);width:7.1428571429vw;transform:translate(-100%, -50%)}@media screen and (min-width: 576px){.day.rangeReturnDate::before,.day.lastHoveredDate::before{width:calc(var(--ds-size-600, 3rem)/2)}}.dateSlot{display:flex;flex-direction:column}::slotted([slot^=date_]){position:absolute;top:80%;left:50%;width:100%;white-space:nowrap;transform:translate(-50%, -50%)}::slotted(auro-icon){max-height:24px;max-width:24px}:host([renderForDateSlot]) .buttonWrapper{position:relative;width:100%;top:5px}:host([renderForDateSlot]) .currentDayMarker{position:relative;padding-bottom:5px;top:-8px}@media screen and (min-width: 576px){.day{width:var(--ds-size-600, 3rem);height:var(--ds-size-800, 4rem)}.day:hover{cursor:pointer}}`;
|
|
@@ -10585,7 +10585,7 @@ class AuroCalendarCell extends i {
|
|
|
10585
10585
|
@click="${this.handleTap}"
|
|
10586
10586
|
@mouseover="${this.handleHover}"
|
|
10587
10587
|
@focus="${this.handleHover}"
|
|
10588
|
-
class="${e$
|
|
10588
|
+
class="${e$3(buttonClasses)}"
|
|
10589
10589
|
?disabled="${this.disabled}"
|
|
10590
10590
|
title="${this.getTitle((_a = this.day) === null || _a === void 0 ? void 0 : _a.date)}"
|
|
10591
10591
|
tabindex="-1">
|
|
@@ -10986,21 +10986,21 @@ RangeDatepicker.styles = i$2`
|
|
|
10986
10986
|
margin-right: 16px;
|
|
10987
10987
|
}
|
|
10988
10988
|
`;
|
|
10989
|
-
__decorate([n({ type: Array })], RangeDatepicker.prototype, "disabledDays", void 0);
|
|
10990
|
-
__decorate([n({ type: Boolean })], RangeDatepicker.prototype, "enableYearChange", void 0);
|
|
10991
|
-
__decorate([n({ type: Boolean })], RangeDatepicker.prototype, "forceNarrow", void 0);
|
|
10992
|
-
__decorate([n({ type: Object })], RangeDatepicker.prototype, "locale", void 0);
|
|
10993
|
-
__decorate([n({ type: String })], RangeDatepicker.prototype, "max", void 0);
|
|
10994
|
-
__decorate([n({ type: String })], RangeDatepicker.prototype, "min", void 0);
|
|
10995
|
-
__decorate([n({ type: Number })], RangeDatepicker.prototype, "month", void 0);
|
|
10996
|
-
__decorate([n({ type: Boolean })], RangeDatepicker.prototype, "noRange", void 0);
|
|
10997
|
-
__decorate([n({ type: Number })], RangeDatepicker.prototype, "year", void 0);
|
|
10998
|
-
__decorate([n({ type: String })], RangeDatepicker.prototype, "dateFrom", void 0);
|
|
10999
|
-
__decorate([n({ type: String })], RangeDatepicker.prototype, "dateTo", void 0);
|
|
11000
|
-
__decorate([n({ type: String })], RangeDatepicker.prototype, "hoveredDate", void 0);
|
|
11001
|
-
__decorate([n({ type: Number })], RangeDatepicker.prototype, "monthPlus", void 0);
|
|
11002
|
-
__decorate([n({ type: Number })], RangeDatepicker.prototype, "yearPlus", void 0);
|
|
11003
|
-
__decorate([n({ type: Boolean })], RangeDatepicker.prototype, "narrow", void 0);
|
|
10989
|
+
__decorate([n$2({ type: Array })], RangeDatepicker.prototype, "disabledDays", void 0);
|
|
10990
|
+
__decorate([n$2({ type: Boolean })], RangeDatepicker.prototype, "enableYearChange", void 0);
|
|
10991
|
+
__decorate([n$2({ type: Boolean })], RangeDatepicker.prototype, "forceNarrow", void 0);
|
|
10992
|
+
__decorate([n$2({ type: Object })], RangeDatepicker.prototype, "locale", void 0);
|
|
10993
|
+
__decorate([n$2({ type: String })], RangeDatepicker.prototype, "max", void 0);
|
|
10994
|
+
__decorate([n$2({ type: String })], RangeDatepicker.prototype, "min", void 0);
|
|
10995
|
+
__decorate([n$2({ type: Number })], RangeDatepicker.prototype, "month", void 0);
|
|
10996
|
+
__decorate([n$2({ type: Boolean })], RangeDatepicker.prototype, "noRange", void 0);
|
|
10997
|
+
__decorate([n$2({ type: Number })], RangeDatepicker.prototype, "year", void 0);
|
|
10998
|
+
__decorate([n$2({ type: String })], RangeDatepicker.prototype, "dateFrom", void 0);
|
|
10999
|
+
__decorate([n$2({ type: String })], RangeDatepicker.prototype, "dateTo", void 0);
|
|
11000
|
+
__decorate([n$2({ type: String })], RangeDatepicker.prototype, "hoveredDate", void 0);
|
|
11001
|
+
__decorate([n$2({ type: Number })], RangeDatepicker.prototype, "monthPlus", void 0);
|
|
11002
|
+
__decorate([n$2({ type: Number })], RangeDatepicker.prototype, "yearPlus", void 0);
|
|
11003
|
+
__decorate([n$2({ type: Boolean })], RangeDatepicker.prototype, "narrow", void 0);
|
|
11004
11004
|
|
|
11005
11005
|
var chevronLeft = {"role":"img","color":"currentColor","title":"","desc":"Directional indicator; left.","width":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","height":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","xmlns":"http://www.w3.org/2000/svg","xmlns_xlink":"http://www.w3.org/1999/xlink","viewBox":"0 0 24 24","path":"/icons","style":"ico_squareLarge","type":"icon","name":"chevron-left","category":"interface","svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"chevron-left__desc\" class=\"ico_squareLarge\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"chevron-left__desc\">Directional indicator; left.</desc><path d=\"m14.395 6.345.084.073a.75.75 0 0 1 .072.977l-.072.084-4.47 4.47 4.47 4.47a.75.75 0 0 1 .072.976l-.072.084a.75.75 0 0 1-.977.072l-.084-.072-4.823-4.823a1 1 0 0 1 0-1.415l4.823-4.823a.75.75 0 0 1 .977-.073\"/></svg>"};
|
|
11006
11006
|
|
|
@@ -11161,7 +11161,7 @@ class CalendarUtilities {
|
|
|
11161
11161
|
* @license
|
|
11162
11162
|
* Copyright 2018 Google LLC
|
|
11163
11163
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
11164
|
-
*/const o=o=>o??E;
|
|
11164
|
+
*/const o$2=o=>o??E;
|
|
11165
11165
|
|
|
11166
11166
|
var colorCss$3$2 = i$2`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
|
|
11167
11167
|
|
|
@@ -11269,7 +11269,7 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
|
11269
11269
|
*/
|
|
11270
11270
|
generateTag(baseName, version, tagClass) {
|
|
11271
11271
|
const elementName = this.generateElementName(baseName, version);
|
|
11272
|
-
const tag = i$4`${s$
|
|
11272
|
+
const tag = i$4`${s$4(elementName)}`;
|
|
11273
11273
|
|
|
11274
11274
|
if (!customElements.get(elementName)) {
|
|
11275
11275
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -12344,26 +12344,26 @@ let AuroButton$2 = class AuroButton extends AuroElement$1$3 {
|
|
|
12344
12344
|
return u$3`
|
|
12345
12345
|
<${tag}
|
|
12346
12346
|
part="${part}"
|
|
12347
|
-
aria-label="${o(this.loading ? this.loadingText : this.currentAriaLabel || undefined)}"
|
|
12348
|
-
aria-labelledby="${o(this.loading ? undefined : this.currentAriaLabelledBy || undefined)}"
|
|
12349
|
-
tabindex="${o(this.tIndex || this.tabindex)}"
|
|
12347
|
+
aria-label="${o$2(this.loading ? this.loadingText : this.currentAriaLabel || undefined)}"
|
|
12348
|
+
aria-labelledby="${o$2(this.loading ? undefined : this.currentAriaLabelledBy || undefined)}"
|
|
12349
|
+
tabindex="${o$2(this.tIndex || this.tabindex)}"
|
|
12350
12350
|
?autofocus="${this.autofocus}"
|
|
12351
|
-
class=${e$
|
|
12351
|
+
class=${e$3(classes)}
|
|
12352
12352
|
?disabled="${this.disabled || this.loading}"
|
|
12353
12353
|
?onDark="${this.onDark}"
|
|
12354
|
-
title="${o(this.title ? this.title : undefined)}"
|
|
12355
|
-
name="${o(this.name ? this.name : undefined)}"
|
|
12356
|
-
type="${o(this.type ? this.type : undefined)}"
|
|
12357
|
-
variant="${o(this.variant ? this.variant : undefined)}"
|
|
12358
|
-
.value="${o(this.value ? this.value : undefined)}"
|
|
12354
|
+
title="${o$2(this.title ? this.title : undefined)}"
|
|
12355
|
+
name="${o$2(this.name ? this.name : undefined)}"
|
|
12356
|
+
type="${o$2(this.type ? this.type : undefined)}"
|
|
12357
|
+
variant="${o$2(this.variant ? this.variant : undefined)}"
|
|
12358
|
+
.value="${o$2(this.value ? this.value : undefined)}"
|
|
12359
12359
|
@click="${this.type === 'submit' ? this.surfaceSubmitEvent : undefined}"
|
|
12360
|
-
href="${o(this.buttonHref || undefined)}"
|
|
12361
|
-
target="${o(this.buttonTarget || undefined)}"
|
|
12362
|
-
rel="${o(this.buttonRel || undefined)}"
|
|
12360
|
+
href="${o$2(this.buttonHref || undefined)}"
|
|
12361
|
+
target="${o$2(this.buttonTarget || undefined)}"
|
|
12362
|
+
rel="${o$2(this.buttonRel || undefined)}"
|
|
12363
12363
|
>
|
|
12364
|
-
${o(this.loading ? u$3`<${this.loaderTag} pulse part="loader"></${this.loaderTag}>` : undefined)}
|
|
12364
|
+
${o$2(this.loading ? u$3`<${this.loaderTag} pulse part="loader"></${this.loaderTag}>` : undefined)}
|
|
12365
12365
|
|
|
12366
|
-
<span class="${e$
|
|
12366
|
+
<span class="${e$3(contentClasses)}">
|
|
12367
12367
|
<span class="textSlot" part="text">
|
|
12368
12368
|
<slot></slot>
|
|
12369
12369
|
</span>
|
|
@@ -12765,9 +12765,9 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
12765
12765
|
return x`
|
|
12766
12766
|
<div class="componentWrapper">
|
|
12767
12767
|
<div
|
|
12768
|
-
class="${e$
|
|
12769
|
-
title="${o(this.title || undefined)}">
|
|
12770
|
-
<span aria-hidden="${o(this.ariaHidden || true)}" part="svg">
|
|
12768
|
+
class="${e$3(svgClasses)}"
|
|
12769
|
+
title="${o$2(this.title || undefined)}">
|
|
12770
|
+
<span aria-hidden="${o$2(this.ariaHidden || true)}" part="svg">
|
|
12771
12771
|
${this.customSvg ? x`
|
|
12772
12772
|
<slot name="svg"></slot>
|
|
12773
12773
|
` : x`
|
|
@@ -12777,7 +12777,7 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
12777
12777
|
</span>
|
|
12778
12778
|
</div>
|
|
12779
12779
|
|
|
12780
|
-
<div class="${e$
|
|
12780
|
+
<div class="${e$3(labelClasses)}">
|
|
12781
12781
|
<slot></slot>
|
|
12782
12782
|
</div>
|
|
12783
12783
|
</div>
|
|
@@ -12950,11 +12950,11 @@ class AuroHeader extends i {
|
|
|
12950
12950
|
});
|
|
12951
12951
|
}
|
|
12952
12952
|
|
|
12953
|
-
const headerClasses = e$
|
|
12953
|
+
const headerClasses = e$3(classObject);
|
|
12954
12954
|
|
|
12955
12955
|
// unsafeStatic dynamically creates tag names at runtime
|
|
12956
|
-
const tag = s$
|
|
12957
|
-
return u$3`<${tag} class="${headerClasses}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></${tag}>`;
|
|
12956
|
+
const tag = s$4(`h${headingLevel}`);
|
|
12957
|
+
return u$3`<${tag} class="${headerClasses}" style="color: ${o$2(this.color ? this.color : undefined)}"><slot></slot></${tag}>`;
|
|
12958
12958
|
}
|
|
12959
12959
|
|
|
12960
12960
|
// function that renders the HTML and CSS into the scope of the component
|
|
@@ -14180,26 +14180,26 @@ let AuroButton$1 = class AuroButton extends AuroElement$5 {
|
|
|
14180
14180
|
return u$3`
|
|
14181
14181
|
<${tag}
|
|
14182
14182
|
part="${part}"
|
|
14183
|
-
aria-label="${o(this.loading ? this.loadingText : this.currentAriaLabel || undefined)}"
|
|
14184
|
-
aria-labelledby="${o(this.loading ? undefined : this.currentAriaLabelledBy || undefined)}"
|
|
14185
|
-
tabindex="${o(this.tIndex || this.tabindex)}"
|
|
14183
|
+
aria-label="${o$2(this.loading ? this.loadingText : this.currentAriaLabel || undefined)}"
|
|
14184
|
+
aria-labelledby="${o$2(this.loading ? undefined : this.currentAriaLabelledBy || undefined)}"
|
|
14185
|
+
tabindex="${o$2(this.tIndex || this.tabindex)}"
|
|
14186
14186
|
?autofocus="${this.autofocus}"
|
|
14187
|
-
class=${e$
|
|
14187
|
+
class=${e$3(classes)}
|
|
14188
14188
|
?disabled="${this.disabled || this.loading}"
|
|
14189
14189
|
?onDark="${this.onDark}"
|
|
14190
|
-
title="${o(this.title ? this.title : undefined)}"
|
|
14191
|
-
name="${o(this.name ? this.name : undefined)}"
|
|
14192
|
-
type="${o(this.type ? this.type : undefined)}"
|
|
14193
|
-
variant="${o(this.variant ? this.variant : undefined)}"
|
|
14194
|
-
.value="${o(this.value ? this.value : undefined)}"
|
|
14190
|
+
title="${o$2(this.title ? this.title : undefined)}"
|
|
14191
|
+
name="${o$2(this.name ? this.name : undefined)}"
|
|
14192
|
+
type="${o$2(this.type ? this.type : undefined)}"
|
|
14193
|
+
variant="${o$2(this.variant ? this.variant : undefined)}"
|
|
14194
|
+
.value="${o$2(this.value ? this.value : undefined)}"
|
|
14195
14195
|
@click="${this.type === 'submit' ? this.surfaceSubmitEvent : undefined}"
|
|
14196
|
-
href="${o(this.buttonHref || undefined)}"
|
|
14197
|
-
target="${o(this.buttonTarget || undefined)}"
|
|
14198
|
-
rel="${o(this.buttonRel || undefined)}"
|
|
14196
|
+
href="${o$2(this.buttonHref || undefined)}"
|
|
14197
|
+
target="${o$2(this.buttonTarget || undefined)}"
|
|
14198
|
+
rel="${o$2(this.buttonRel || undefined)}"
|
|
14199
14199
|
>
|
|
14200
|
-
${o(this.loading ? u$3`<${this.loaderTag} pulse part="loader"></${this.loaderTag}>` : undefined)}
|
|
14200
|
+
${o$2(this.loading ? u$3`<${this.loaderTag} pulse part="loader"></${this.loaderTag}>` : undefined)}
|
|
14201
14201
|
|
|
14202
|
-
<span class="${e$
|
|
14202
|
+
<span class="${e$3(contentClasses)}">
|
|
14203
14203
|
<span class="textSlot" part="text">
|
|
14204
14204
|
<slot></slot>
|
|
14205
14205
|
</span>
|
|
@@ -14577,6 +14577,24 @@ if (!customElements.get('auro-formkit-calendar')) {
|
|
|
14577
14577
|
customElements.define('auro-formkit-calendar', AuroCalendar);
|
|
14578
14578
|
}
|
|
14579
14579
|
|
|
14580
|
+
/**
|
|
14581
|
+
* @license
|
|
14582
|
+
* Copyright 2020 Google LLC
|
|
14583
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
14584
|
+
*/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();};
|
|
14585
|
+
|
|
14586
|
+
/**
|
|
14587
|
+
* @license
|
|
14588
|
+
* Copyright 2017 Google LLC
|
|
14589
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
14590
|
+
*/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$1=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$1(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$1(r[i]);else null!=r&&(s(r,false),o$1(r));else s(this,i);}const c$1=i=>{i.type==t$2.CHILD&&(i._$AP??=n$1,i._$AQ??=h$1);};class f extends i$3{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$1(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(){}}
|
|
14591
|
+
|
|
14592
|
+
/**
|
|
14593
|
+
* @license
|
|
14594
|
+
* Copyright 2020 Google LLC
|
|
14595
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
14596
|
+
*/const e=()=>new h;class h{}const o=new WeakMap,n=e$4(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.get(i);void 0===s&&(s=new WeakMap,o.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.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0);}reconnected(){this.rt(this.ct);}});
|
|
14597
|
+
|
|
14580
14598
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
14581
14599
|
// See LICENSE in the project root for license information.
|
|
14582
14600
|
|
|
@@ -17114,7 +17132,7 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
|
17114
17132
|
*/
|
|
17115
17133
|
generateTag(baseName, version, tagClass) {
|
|
17116
17134
|
const elementName = this.generateElementName(baseName, version);
|
|
17117
|
-
const tag = i$4`${s$
|
|
17135
|
+
const tag = i$4`${s$4(elementName)}`;
|
|
17118
17136
|
|
|
17119
17137
|
if (!customElements.get(elementName)) {
|
|
17120
17138
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -17505,9 +17523,9 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
17505
17523
|
return x`
|
|
17506
17524
|
<div class="componentWrapper">
|
|
17507
17525
|
<div
|
|
17508
|
-
class="${e$
|
|
17509
|
-
title="${o(this.title || undefined)}">
|
|
17510
|
-
<span aria-hidden="${o(this.ariaHidden || true)}" part="svg">
|
|
17526
|
+
class="${e$3(svgClasses)}"
|
|
17527
|
+
title="${o$2(this.title || undefined)}">
|
|
17528
|
+
<span aria-hidden="${o$2(this.ariaHidden || true)}" part="svg">
|
|
17511
17529
|
${this.customSvg ? x`
|
|
17512
17530
|
<slot name="svg"></slot>
|
|
17513
17531
|
` : x`
|
|
@@ -17517,7 +17535,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
17517
17535
|
</span>
|
|
17518
17536
|
</div>
|
|
17519
17537
|
|
|
17520
|
-
<div class="${e$
|
|
17538
|
+
<div class="${e$3(labelClasses)}">
|
|
17521
17539
|
<slot></slot>
|
|
17522
17540
|
</div>
|
|
17523
17541
|
</div>
|
|
@@ -17527,7 +17545,7 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
17527
17545
|
|
|
17528
17546
|
var iconVersion$2 = '8.1.2';
|
|
17529
17547
|
|
|
17530
|
-
var styleCss$2$1 = i$2`:host{position:fixed;z-index:var(--depth-tooltip, 400);display:none;isolation:isolate}:host(:not([matchWidth])) .container{min-width:fit-content}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset;overscroll-behavior:contain}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}:host(:not([isfullscreen])) .container.shape-box{border-radius:unset}:host(:not([isfullscreen])) .container[class*=shape-pill],:host(:not([isfullscreen])) .container[class*=shape-snowflake]{border-radius:30px}.container{display:inline-block;overflow:auto;box-sizing:border-box;border-radius:var(--ds-border-radius, 0.375rem);margin:var(--ds-size-50, 0.25rem) 0}`;
|
|
17548
|
+
var styleCss$2$1 = i$2`:host{position:fixed;z-index:var(--depth-tooltip, 400);display:none;isolation:isolate}:host(:not([matchWidth])) .container{min-width:fit-content}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset;overscroll-behavior:contain}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}:host(:not([isfullscreen])) .container.shape-box{border-radius:unset}:host(:not([isfullscreen])) .container[class*=shape-pill],:host(:not([isfullscreen])) .container[class*=shape-snowflake]{border-radius:30px}:host(:not([isfullscreen])) .container[class*=shape-rounded]{border-radius:16px}.container{display:inline-block;overflow:auto;box-sizing:border-box;border-radius:var(--ds-border-radius, 0.375rem);margin:var(--ds-size-50, 0.25rem) 0}`;
|
|
17531
17549
|
|
|
17532
17550
|
var colorCss$2$1 = i$2`.container{background-color:var(--ds-auro-dropdownbib-container-color);box-shadow:var(--ds-auro-dropdownbib-boxshadow-color);color:var(--ds-auro-dropdownbib-text-color)}`;
|
|
17533
17551
|
|
|
@@ -17717,7 +17735,7 @@ class AuroDropdownBib extends i {
|
|
|
17717
17735
|
classes[`shape-${this.shape}`] = true;
|
|
17718
17736
|
|
|
17719
17737
|
return u$3`
|
|
17720
|
-
<div class="${e$
|
|
17738
|
+
<div class="${e$3(classes)}" part="bibContainer">
|
|
17721
17739
|
<slot></slot>
|
|
17722
17740
|
</div>
|
|
17723
17741
|
`;
|
|
@@ -17730,7 +17748,7 @@ var shapeSizeCss$1 = i$2`.wrapper{overflow:hidden}.shape-classic-xl,.shape-class
|
|
|
17730
17748
|
|
|
17731
17749
|
var colorCss$1$2 = i$2`: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)}`;
|
|
17732
17750
|
|
|
17733
|
-
var styleCss$1$2 = i$2`:host{position:relative;display:block;text-align:left;
|
|
17751
|
+
var styleCss$1$2 = i$2`:host{position:relative;display:block;text-align:left}[popover=manual]{overflow:visible;padding:0;border:inherit;margin:0;background:inherit;outline:inherit}:host([open]){z-index:var(--depth-tooltip, 400)}.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%}`;
|
|
17734
17752
|
|
|
17735
17753
|
var classicColorCss$1 = i$2``;
|
|
17736
17754
|
|
|
@@ -18088,6 +18106,9 @@ class AuroDropdown extends AuroElement$4 {
|
|
|
18088
18106
|
/** @private */
|
|
18089
18107
|
this.handleDropdownToggle = this.handleDropdownToggle.bind(this);
|
|
18090
18108
|
|
|
18109
|
+
/** @private */
|
|
18110
|
+
this.bibElement = e();
|
|
18111
|
+
|
|
18091
18112
|
this.privateDefaults();
|
|
18092
18113
|
}
|
|
18093
18114
|
|
|
@@ -18524,6 +18545,14 @@ class AuroDropdown extends AuroElement$4 {
|
|
|
18524
18545
|
if (changedProperties.size === 0 || changedProperties.has('isPopoverVisible')) {
|
|
18525
18546
|
this.handleTriggerContentSlotChange();
|
|
18526
18547
|
}
|
|
18548
|
+
|
|
18549
|
+
if (changedProperties.has('isPopoverVisible') && this.bibElement.value) {
|
|
18550
|
+
if (this.isPopoverVisible) {
|
|
18551
|
+
this.bibElement.value.showPopover();
|
|
18552
|
+
} else {
|
|
18553
|
+
this.bibElement.value.hidePopover();
|
|
18554
|
+
}
|
|
18555
|
+
}
|
|
18527
18556
|
}
|
|
18528
18557
|
|
|
18529
18558
|
/**
|
|
@@ -18828,12 +18857,12 @@ class AuroDropdown extends AuroElement$4 {
|
|
|
18828
18857
|
<div>
|
|
18829
18858
|
<div
|
|
18830
18859
|
id="trigger"
|
|
18831
|
-
class="${e$
|
|
18832
|
-
tabindex="${o(this.triggerContentFocusable ? undefined : this.tabIndex)}"
|
|
18833
|
-
role="${o(this.triggerContentFocusable ? undefined : this.a11yRole)}"
|
|
18834
|
-
aria-expanded="${o(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
|
|
18835
|
-
aria-controls="${o(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.dropdownId)}"
|
|
18836
|
-
aria-labelledby="${o(this.triggerContentFocusable ? undefined : 'triggerLabel')}"
|
|
18860
|
+
class="${e$3(this.commonWrapperClasses)}" part="wrapper"
|
|
18861
|
+
tabindex="${o$2(this.triggerContentFocusable ? undefined : this.tabIndex)}"
|
|
18862
|
+
role="${o$2(this.triggerContentFocusable ? undefined : this.a11yRole)}"
|
|
18863
|
+
aria-expanded="${o$2(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.isPopoverVisible)}"
|
|
18864
|
+
aria-controls="${o$2(this.a11yRole === 'button' || this.triggerContentFocusable ? undefined : this.dropdownId)}"
|
|
18865
|
+
aria-labelledby="${o$2(this.triggerContentFocusable ? undefined : 'triggerLabel')}"
|
|
18837
18866
|
@focusin="${this.handleFocusin}"
|
|
18838
18867
|
@blur="${this.handleFocusOut}">
|
|
18839
18868
|
<div class="triggerContentWrapper" id="triggerLabel">
|
|
@@ -18856,7 +18885,7 @@ class AuroDropdown extends AuroElement$4 {
|
|
|
18856
18885
|
</div>
|
|
18857
18886
|
` : undefined }
|
|
18858
18887
|
</div>
|
|
18859
|
-
<div class="${e$
|
|
18888
|
+
<div class="${e$3(helpTextClasses)}">
|
|
18860
18889
|
<slot name="helpText"></slot>
|
|
18861
18890
|
</div>
|
|
18862
18891
|
<div id="bibSizer" part="size"></div>
|
|
@@ -18864,7 +18893,10 @@ class AuroDropdown extends AuroElement$4 {
|
|
|
18864
18893
|
id="bib"
|
|
18865
18894
|
shape="${this.shape}"
|
|
18866
18895
|
?data-show="${this.isPopoverVisible}"
|
|
18867
|
-
?isfullscreen="${this.isBibFullscreen}"
|
|
18896
|
+
?isfullscreen="${this.isBibFullscreen}"
|
|
18897
|
+
${n(this.bibElement)}
|
|
18898
|
+
popover="manual"
|
|
18899
|
+
>
|
|
18868
18900
|
<div class="slotContent">
|
|
18869
18901
|
<slot @slotchange="${this.handleDefaultSlot}"></slot>
|
|
18870
18902
|
</div>
|
|
@@ -18953,18 +18985,12 @@ class AuroDropdown extends AuroElement$4 {
|
|
|
18953
18985
|
|
|
18954
18986
|
var dropdownVersion = '3.0.0';
|
|
18955
18987
|
|
|
18956
|
-
/**
|
|
18957
|
-
* @license
|
|
18958
|
-
* Copyright 2020 Google LLC
|
|
18959
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
18960
|
-
*/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();};
|
|
18961
|
-
|
|
18962
18988
|
/**
|
|
18963
18989
|
* @license
|
|
18964
18990
|
* Copyright 2017 Google LLC
|
|
18965
18991
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
18966
18992
|
*/
|
|
18967
|
-
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$
|
|
18993
|
+
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$4(class extends i$3{constructor(e){if(super(e),e.type!==t$2.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,[t,r,c]){const d=p(s),{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$1(s,v$1[w+1],d[x]),x++,w--;else if(h[j]===a[k])v$1[k]=v(d[j],p$1[k]),s$1(s,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$1(s,d[x]);v(e,p$1[k]),v$1[k]=e;}else v$1[k]=v(t,p$1[k]),s$1(s,d[x],t),d[e]=null;k++;}else M(d[j]),j--;else M(d[x]),x++;for(;k<=w;){const e=s$1(s,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,v$1),T}});
|
|
18968
18994
|
|
|
18969
18995
|
var shapeSizeCss = i$2`.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}`;
|
|
18970
18996
|
|
|
@@ -25048,7 +25074,7 @@ class AuroDependencyVersioning {
|
|
|
25048
25074
|
*/
|
|
25049
25075
|
generateTag(baseName, version, tagClass) {
|
|
25050
25076
|
const elementName = this.generateElementName(baseName, version);
|
|
25051
|
-
const tag = i$4`${s$
|
|
25077
|
+
const tag = i$4`${s$4(elementName)}`;
|
|
25052
25078
|
|
|
25053
25079
|
if (!customElements.get(elementName)) {
|
|
25054
25080
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -25439,9 +25465,9 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
25439
25465
|
return x`
|
|
25440
25466
|
<div class="componentWrapper">
|
|
25441
25467
|
<div
|
|
25442
|
-
class="${e$
|
|
25443
|
-
title="${o(this.title || undefined)}">
|
|
25444
|
-
<span aria-hidden="${o(this.ariaHidden || true)}" part="svg">
|
|
25468
|
+
class="${e$3(svgClasses)}"
|
|
25469
|
+
title="${o$2(this.title || undefined)}">
|
|
25470
|
+
<span aria-hidden="${o$2(this.ariaHidden || true)}" part="svg">
|
|
25445
25471
|
${this.customSvg ? x`
|
|
25446
25472
|
<slot name="svg"></slot>
|
|
25447
25473
|
` : x`
|
|
@@ -25451,7 +25477,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
25451
25477
|
</span>
|
|
25452
25478
|
</div>
|
|
25453
25479
|
|
|
25454
|
-
<div class="${e$
|
|
25480
|
+
<div class="${e$3(labelClasses)}">
|
|
25455
25481
|
<slot></slot>
|
|
25456
25482
|
</div>
|
|
25457
25483
|
</div>
|
|
@@ -26526,26 +26552,26 @@ class AuroButton extends AuroElement$3 {
|
|
|
26526
26552
|
return u$3`
|
|
26527
26553
|
<${tag}
|
|
26528
26554
|
part="${part}"
|
|
26529
|
-
aria-label="${o(this.loading ? this.loadingText : this.currentAriaLabel || undefined)}"
|
|
26530
|
-
aria-labelledby="${o(this.loading ? undefined : this.currentAriaLabelledBy || undefined)}"
|
|
26531
|
-
tabindex="${o(this.tIndex || this.tabindex)}"
|
|
26555
|
+
aria-label="${o$2(this.loading ? this.loadingText : this.currentAriaLabel || undefined)}"
|
|
26556
|
+
aria-labelledby="${o$2(this.loading ? undefined : this.currentAriaLabelledBy || undefined)}"
|
|
26557
|
+
tabindex="${o$2(this.tIndex || this.tabindex)}"
|
|
26532
26558
|
?autofocus="${this.autofocus}"
|
|
26533
|
-
class=${e$
|
|
26559
|
+
class=${e$3(classes)}
|
|
26534
26560
|
?disabled="${this.disabled || this.loading}"
|
|
26535
26561
|
?onDark="${this.onDark}"
|
|
26536
|
-
title="${o(this.title ? this.title : undefined)}"
|
|
26537
|
-
name="${o(this.name ? this.name : undefined)}"
|
|
26538
|
-
type="${o(this.type ? this.type : undefined)}"
|
|
26539
|
-
variant="${o(this.variant ? this.variant : undefined)}"
|
|
26540
|
-
.value="${o(this.value ? this.value : undefined)}"
|
|
26562
|
+
title="${o$2(this.title ? this.title : undefined)}"
|
|
26563
|
+
name="${o$2(this.name ? this.name : undefined)}"
|
|
26564
|
+
type="${o$2(this.type ? this.type : undefined)}"
|
|
26565
|
+
variant="${o$2(this.variant ? this.variant : undefined)}"
|
|
26566
|
+
.value="${o$2(this.value ? this.value : undefined)}"
|
|
26541
26567
|
@click="${this.type === 'submit' ? this.surfaceSubmitEvent : undefined}"
|
|
26542
|
-
href="${o(this.buttonHref || undefined)}"
|
|
26543
|
-
target="${o(this.buttonTarget || undefined)}"
|
|
26544
|
-
rel="${o(this.buttonRel || undefined)}"
|
|
26568
|
+
href="${o$2(this.buttonHref || undefined)}"
|
|
26569
|
+
target="${o$2(this.buttonTarget || undefined)}"
|
|
26570
|
+
rel="${o$2(this.buttonRel || undefined)}"
|
|
26545
26571
|
>
|
|
26546
|
-
${o(this.loading ? u$3`<${this.loaderTag} pulse part="loader"></${this.loaderTag}>` : undefined)}
|
|
26572
|
+
${o$2(this.loading ? u$3`<${this.loaderTag} pulse part="loader"></${this.loaderTag}>` : undefined)}
|
|
26547
26573
|
|
|
26548
|
-
<span class="${e$
|
|
26574
|
+
<span class="${e$3(contentClasses)}">
|
|
26549
26575
|
<span class="textSlot" part="text">
|
|
26550
26576
|
<slot></slot>
|
|
26551
26577
|
</span>
|
|
@@ -27080,7 +27106,7 @@ class AuroInput extends BaseInput {
|
|
|
27080
27106
|
: this.commonInputClasses;
|
|
27081
27107
|
|
|
27082
27108
|
return u$3`
|
|
27083
|
-
<label for=${this.inputId} class="${e$
|
|
27109
|
+
<label for=${this.inputId} class="${e$3(this.commonLabelClasses)}" part="label">
|
|
27084
27110
|
<slot name="label">
|
|
27085
27111
|
${this.label}
|
|
27086
27112
|
</slot>
|
|
@@ -27098,27 +27124,27 @@ class AuroInput extends BaseInput {
|
|
|
27098
27124
|
?activeLabel="${this.activeLabel}"
|
|
27099
27125
|
?disabled="${this.disabled}"
|
|
27100
27126
|
?required="${this.required}"
|
|
27101
|
-
aria-controls=${o(this.a11yControls)}
|
|
27127
|
+
aria-controls=${o$2(this.a11yControls)}
|
|
27102
27128
|
aria-describedby="${this.uniqueId}"
|
|
27103
|
-
aria-expanded=${o(this.a11yExpanded)}
|
|
27129
|
+
aria-expanded=${o$2(this.a11yExpanded)}
|
|
27104
27130
|
aria-invalid="${this.validity !== 'valid'}"
|
|
27105
|
-
autocomplete="${o(this.autocomplete ? this.autocomplete : undefined)}"
|
|
27106
|
-
autocapitalize="${o(this.autocapitalize ? this.autocapitalize : undefined)}"
|
|
27107
|
-
autocorrect="${o(this.autocorrect ? this.autocorrect : undefined)}"
|
|
27108
|
-
class="${e$
|
|
27131
|
+
autocomplete="${o$2(this.autocomplete ? this.autocomplete : undefined)}"
|
|
27132
|
+
autocapitalize="${o$2(this.autocapitalize ? this.autocapitalize : undefined)}"
|
|
27133
|
+
autocorrect="${o$2(this.autocorrect ? this.autocorrect : undefined)}"
|
|
27134
|
+
class="${e$3(inputOverrideClasses)}"
|
|
27109
27135
|
id="${this.inputId}"
|
|
27110
|
-
inputmode="${o(this.inputmode ? this.inputmode : undefined)}"
|
|
27111
|
-
lang="${o(this.lang)}"
|
|
27112
|
-
maxlength="${o(this.maxLength ? this.maxLength : undefined)}"
|
|
27113
|
-
minlength="${o(this.minLength ? this.minLength : undefined)}"
|
|
27114
|
-
name="${o(this.name)}"
|
|
27136
|
+
inputmode="${o$2(this.inputmode ? this.inputmode : undefined)}"
|
|
27137
|
+
lang="${o$2(this.lang)}"
|
|
27138
|
+
maxlength="${o$2(this.maxLength ? this.maxLength : undefined)}"
|
|
27139
|
+
minlength="${o$2(this.minLength ? this.minLength : undefined)}"
|
|
27140
|
+
name="${o$2(this.name)}"
|
|
27115
27141
|
part="input"
|
|
27116
|
-
pattern="${o(this.definePattern())}"
|
|
27117
|
-
spellcheck="${o(this.spellcheck ? this.spellcheck : undefined)}"
|
|
27142
|
+
pattern="${o$2(this.definePattern())}"
|
|
27143
|
+
spellcheck="${o$2(this.spellcheck ? this.spellcheck : undefined)}"
|
|
27118
27144
|
type="${this.type === "password" && this.showPassword ? "text" : this.getInputType(this.type)}"
|
|
27119
27145
|
/>
|
|
27120
|
-
<div class="${e$
|
|
27121
|
-
<div class="${e$
|
|
27146
|
+
<div class="${e$3(displayValueClasses)}" aria-hidden="true" part="displayValue">
|
|
27147
|
+
<div class="${e$3(this.commonDisplayValueWrapperClasses)}">
|
|
27122
27148
|
<slot name="displayValue" @slotchange=${this.checkDisplayValueSlotChange}></slot>
|
|
27123
27149
|
</div>
|
|
27124
27150
|
</div>
|
|
@@ -27271,7 +27297,7 @@ class AuroInput extends BaseInput {
|
|
|
27271
27297
|
return u$3`
|
|
27272
27298
|
<div
|
|
27273
27299
|
@click="${this.handleClick}"
|
|
27274
|
-
class="${e$
|
|
27300
|
+
class="${e$3(classicClassMap)}"
|
|
27275
27301
|
part="wrapper">
|
|
27276
27302
|
<div part="accent-left" class="accents left">
|
|
27277
27303
|
${this.renderHtmlTypeIcon()}
|
|
@@ -27304,7 +27330,7 @@ class AuroInput extends BaseInput {
|
|
|
27304
27330
|
return u$3`
|
|
27305
27331
|
<div
|
|
27306
27332
|
@click="${this.handleClick}"
|
|
27307
|
-
class="${e$
|
|
27333
|
+
class="${e$3(this.commonWrapperClasses)}"
|
|
27308
27334
|
part="wrapper">
|
|
27309
27335
|
<div class="accents left">
|
|
27310
27336
|
${this.layout.includes('left') ? u$3`
|
|
@@ -27325,7 +27351,7 @@ class AuroInput extends BaseInput {
|
|
|
27325
27351
|
` : undefined}
|
|
27326
27352
|
</div>
|
|
27327
27353
|
</div>
|
|
27328
|
-
<div class="${e$
|
|
27354
|
+
<div class="${e$3(this.helpTextClasses)}" part="inputHelpText">
|
|
27329
27355
|
${this.renderHtmlHelpText()}
|
|
27330
27356
|
</div>
|
|
27331
27357
|
`;
|
|
@@ -27340,7 +27366,7 @@ class AuroInput extends BaseInput {
|
|
|
27340
27366
|
return u$3`
|
|
27341
27367
|
<div
|
|
27342
27368
|
@click="${this.handleClick}"
|
|
27343
|
-
class="${e$
|
|
27369
|
+
class="${e$3(this.commonWrapperClasses)}"
|
|
27344
27370
|
part="wrapper">
|
|
27345
27371
|
<div class="accents left">
|
|
27346
27372
|
${this.renderHtmlTypeIcon()}
|
|
@@ -28190,9 +28216,9 @@ class AuroIcon extends BaseIcon {
|
|
|
28190
28216
|
return x`
|
|
28191
28217
|
<div class="componentWrapper">
|
|
28192
28218
|
<div
|
|
28193
|
-
class="${e$
|
|
28194
|
-
title="${o(this.title || undefined)}">
|
|
28195
|
-
<span aria-hidden="${o(this.ariaHidden || true)}" part="svg">
|
|
28219
|
+
class="${e$3(svgClasses)}"
|
|
28220
|
+
title="${o$2(this.title || undefined)}">
|
|
28221
|
+
<span aria-hidden="${o$2(this.ariaHidden || true)}" part="svg">
|
|
28196
28222
|
${this.customSvg ? x`
|
|
28197
28223
|
<slot name="svg"></slot>
|
|
28198
28224
|
` : x`
|
|
@@ -28202,7 +28228,7 @@ class AuroIcon extends BaseIcon {
|
|
|
28202
28228
|
</span>
|
|
28203
28229
|
</div>
|
|
28204
28230
|
|
|
28205
|
-
<div class="${e$
|
|
28231
|
+
<div class="${e$3(labelClasses)}">
|
|
28206
28232
|
<slot></slot>
|
|
28207
28233
|
</div>
|
|
28208
28234
|
</div>
|
|
@@ -29483,14 +29509,14 @@ class AuroDatePicker extends AuroElement$1 {
|
|
|
29483
29509
|
${this.renderHtmlIconCalendar()}
|
|
29484
29510
|
</div>
|
|
29485
29511
|
<div class="mainContent">
|
|
29486
|
-
<label class="${e$
|
|
29512
|
+
<label class="${e$3(labelClassMap)}" part="mainLabel">
|
|
29487
29513
|
<slot name="label"></slot>
|
|
29488
29514
|
</label>
|
|
29489
|
-
<div class="${e$
|
|
29515
|
+
<div class="${e$3(inputSectionClassMap)}" part="inputSection">
|
|
29490
29516
|
${this.renderHtmlInputs()}
|
|
29491
29517
|
</div>
|
|
29492
29518
|
</div>
|
|
29493
|
-
<div class="accents right ${e$
|
|
29519
|
+
<div class="accents right ${e$3(accentsClassMap)}">
|
|
29494
29520
|
${this.hasError
|
|
29495
29521
|
? this.renderHtmlIconError()
|
|
29496
29522
|
: this.renderHtmlActionClear()
|
|
@@ -29525,11 +29551,11 @@ class AuroDatePicker extends AuroElement$1 {
|
|
|
29525
29551
|
${this.renderHtmlIconCalendar()}
|
|
29526
29552
|
</div>
|
|
29527
29553
|
<div class="mainContent">
|
|
29528
|
-
<div class="${e$
|
|
29554
|
+
<div class="${e$3(inputSectionClassMap)}" part="inputSection">
|
|
29529
29555
|
${this.renderHtmlInputs()}
|
|
29530
29556
|
</div>
|
|
29531
29557
|
</div>
|
|
29532
|
-
<div class="accents right ${e$
|
|
29558
|
+
<div class="accents right ${e$3(accentsClassMap)}">
|
|
29533
29559
|
${this.hasError
|
|
29534
29560
|
? this.renderHtmlIconError()
|
|
29535
29561
|
: this.renderHtmlActionClear()
|
|
@@ -29586,7 +29612,7 @@ class AuroDatePicker extends AuroElement$1 {
|
|
|
29586
29612
|
|
|
29587
29613
|
return u$3`
|
|
29588
29614
|
<div>
|
|
29589
|
-
<div class="${e$
|
|
29615
|
+
<div class="${e$3(displayTextClasses)}">
|
|
29590
29616
|
${dateValue && this.util.validDateStr(dateValue, this.format)
|
|
29591
29617
|
? this.formatShortDate(dateValue)
|
|
29592
29618
|
: undefined
|
|
@@ -29619,9 +29645,9 @@ class AuroDatePicker extends AuroElement$1 {
|
|
|
29619
29645
|
.placeholder="${this.placeholder}"
|
|
29620
29646
|
.size="${this.size}"
|
|
29621
29647
|
.shape="${this.shape}"
|
|
29622
|
-
class="dateFrom ${e$
|
|
29648
|
+
class="dateFrom ${e$3(inputClasses)}"
|
|
29623
29649
|
id="${this.generateRandomString(12)}"
|
|
29624
|
-
inputmode="${o(this.inputmode)}"
|
|
29650
|
+
inputmode="${o$2(this.inputmode)}"
|
|
29625
29651
|
layout="classic"
|
|
29626
29652
|
noValidate
|
|
29627
29653
|
part="input"
|
|
@@ -29661,7 +29687,7 @@ class AuroDatePicker extends AuroElement$1 {
|
|
|
29661
29687
|
.placeholder="${this.placeholderEndDate || this.placeholder}"
|
|
29662
29688
|
.size="${this.size}"
|
|
29663
29689
|
.shape="${this.shape}"
|
|
29664
|
-
class="dateTo ${e$
|
|
29690
|
+
class="dateTo ${e$3(inputClasses)}"
|
|
29665
29691
|
id="${this.generateRandomString(12)}"
|
|
29666
29692
|
layout="classic"
|
|
29667
29693
|
noValidate
|
|
@@ -29706,7 +29732,7 @@ class AuroDatePicker extends AuroElement$1 {
|
|
|
29706
29732
|
'util_displayHidden': (!this.value || this.value.length === 0) && (!this.valueEnd || this.valueEnd.length === 0),
|
|
29707
29733
|
};
|
|
29708
29734
|
return u$3`
|
|
29709
|
-
<div class="${e$
|
|
29735
|
+
<div class="${e$3(clearActionClassMap)}">
|
|
29710
29736
|
<${this.buttonTag}
|
|
29711
29737
|
@click="${this.resetInputs}"
|
|
29712
29738
|
@keydown="${this.handleKeydownReset}"
|
|
@@ -29740,7 +29766,7 @@ class AuroDatePicker extends AuroElement$1 {
|
|
|
29740
29766
|
};
|
|
29741
29767
|
|
|
29742
29768
|
return u$3`
|
|
29743
|
-
<div class="${e$
|
|
29769
|
+
<div class="${e$3(clearActionClassMap)}">
|
|
29744
29770
|
<${this.iconTag}
|
|
29745
29771
|
category="alert"
|
|
29746
29772
|
customColor
|
|
@@ -29843,7 +29869,7 @@ class AuroDatePicker extends AuroElement$1 {
|
|
|
29843
29869
|
.placement="${this.placement}"
|
|
29844
29870
|
.shape="${this.shape}"
|
|
29845
29871
|
.size="${this.size}"
|
|
29846
|
-
class="${e$
|
|
29872
|
+
class="${e$3(dropdownElementClassMap)}"
|
|
29847
29873
|
disableEventShow
|
|
29848
29874
|
disableFocusTrap
|
|
29849
29875
|
for="dropdownMenu"
|