@florid-kit/components 2.1.4 → 2.1.6
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/index.js +43 -35
- package/index.mjs +121 -113
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13
13
|
*/const L1=globalThis,P1=L1.trustedTypes,V2=P1?P1.createPolicy("lit-html",{createHTML:e=>e}):void 0,A2="$lit$",i1=`lit$${Math.random().toFixed(9).slice(2)}$`,O2="?"+i1,J2=`<${O2}>`,c1=document,x1=()=>c1.createComment(""),V1=e=>e===null||typeof e!="object"&&typeof e!="function",o2=Array.isArray,Q2=e=>o2(e)||typeof(e==null?void 0:e[Symbol.iterator])=="function",N1=`[
|
|
14
14
|
\f\r]`,b1=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,H2=/-->/g,B2=/>/g,r1=RegExp(`>|${N1}(?:([^\\s"'>=/]+)(${N1}*=${N1}*(?:[^
|
|
15
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),$2=/'/g,E2=/"/g,P2=/^(?:script|style|textarea|title)$/i,Y2=e=>(t,...i)=>({_$litType$:e,strings:t,values:i}),a=Y2(1),n1=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),M2=new WeakMap,l1=c1.createTreeWalker(c1,129);function z2(e,t){if(!o2(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return V2!==void 0?V2.createHTML(t):t}const t0=(e,t)=>{const i=e.length-1,n=[];let o,s=t===2?"<svg>":t===3?"<math>":"",r=b1;for(let c=0;c<i;c++){const h=e[c];let u,b,f=-1,
|
|
15
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),$2=/'/g,E2=/"/g,P2=/^(?:script|style|textarea|title)$/i,Y2=e=>(t,...i)=>({_$litType$:e,strings:t,values:i}),a=Y2(1),n1=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),M2=new WeakMap,l1=c1.createTreeWalker(c1,129);function z2(e,t){if(!o2(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return V2!==void 0?V2.createHTML(t):t}const t0=(e,t)=>{const i=e.length-1,n=[];let o,s=t===2?"<svg>":t===3?"<math>":"",r=b1;for(let c=0;c<i;c++){const h=e[c];let u,b,f=-1,W=0;for(;W<h.length&&(r.lastIndex=W,b=r.exec(h),b!==null);)W=r.lastIndex,r===b1?b[1]==="!--"?r=H2:b[1]!==void 0?r=B2:b[2]!==void 0?(P2.test(b[2])&&(o=RegExp("</"+b[2],"g")),r=r1):b[3]!==void 0&&(r=r1):r===r1?b[0]===">"?(r=o??b1,f=-1):b[1]===void 0?f=-2:(f=r.lastIndex-b[2].length,u=b[1],r=b[3]===void 0?r1:b[3]==='"'?E2:$2):r===E2||r===$2?r=r1:r===H2||r===B2?r=b1:(r=r1,o=void 0);const e1=r===r1&&e[c+1].startsWith("/>")?" ":"";s+=r===b1?h+J2:f>=0?(n.push(u),h.slice(0,f)+A2+h.slice(f)+i1+e1):h+i1+(f===-2?c:e1)}return[z2(e,s+(e[i]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]};class H1{constructor({strings:t,_$litType$:i},n){let o;this.parts=[];let s=0,r=0;const c=t.length-1,h=this.parts,[u,b]=t0(t,i);if(this.el=H1.createElement(u,n),l1.currentNode=this.el.content,i===2||i===3){const f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(o=l1.nextNode())!==null&&h.length<c;){if(o.nodeType===1){if(o.hasAttributes())for(const f of o.getAttributeNames())if(f.endsWith(A2)){const W=b[r++],e1=o.getAttribute(f).split(i1),S1=/([.?@])?(.*)/.exec(W);h.push({type:1,index:s,name:S1[2],strings:e1,ctor:S1[1]==="."?i0:S1[1]==="?"?o0:S1[1]==="@"?n0:I1}),o.removeAttribute(f)}else f.startsWith(i1)&&(h.push({type:6,index:s}),o.removeAttribute(f));if(P2.test(o.tagName)){const f=o.textContent.split(i1),W=f.length-1;if(W>0){o.textContent=P1?P1.emptyScript:"";for(let e1=0;e1<W;e1++)o.append(f[e1],x1()),l1.nextNode(),h.push({type:2,index:++s});o.append(f[W],x1())}}}else if(o.nodeType===8)if(o.data===O2)h.push({type:2,index:s});else{let f=-1;for(;(f=o.data.indexOf(i1,f+1))!==-1;)h.push({type:7,index:s}),f+=i1.length-1}s++}}static createElement(t,i){const n=c1.createElement("template");return n.innerHTML=t,n}}function g1(e,t,i=e,n){var r,c;if(t===n1)return t;let o=n!==void 0?(r=i._$Co)==null?void 0:r[n]:i._$Cl;const s=V1(t)?void 0:t._$litDirective$;return(o==null?void 0:o.constructor)!==s&&((c=o==null?void 0:o._$AO)==null||c.call(o,!1),s===void 0?o=void 0:(o=new s(e),o._$AT(e,i,n)),n!==void 0?(i._$Co??(i._$Co=[]))[n]=o:i._$Cl=o),o!==void 0&&(t=g1(e,o._$AS(e,t.values),o,n)),t}class e0{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:n}=this._$AD,o=((t==null?void 0:t.creationScope)??c1).importNode(i,!0);l1.currentNode=o;let s=l1.nextNode(),r=0,c=0,h=n[0];for(;h!==void 0;){if(r===h.index){let u;h.type===2?u=new _1(s,s.nextSibling,this,t):h.type===1?u=new h.ctor(s,h.name,h.strings,this,t):h.type===6&&(u=new s0(s,this,t)),this._$AV.push(u),h=n[++c]}r!==(h==null?void 0:h.index)&&(s=l1.nextNode(),r++)}return l1.currentNode=c1,o}p(t){let i=0;for(const n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,i),i+=n.strings.length-2):n._$AI(t[i])),i++}}class _1{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,i,n,o){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=n,this.options=o,this._$Cv=(o==null?void 0:o.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return i!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=g1(this,t,i),V1(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==n1&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Q2(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!==d&&V1(this._$AH)?this._$AA.nextSibling.data=t:this.T(c1.createTextNode(t)),this._$AH=t}$(t){var s;const{values:i,_$litType$:n}=t,o=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=H1.createElement(z2(n.h,n.h[0]),this.options)),n);if(((s=this._$AH)==null?void 0:s._$AD)===o)this._$AH.p(i);else{const r=new e0(o,this),c=r.u(this.options);r.p(i),this.T(c),this._$AH=r}}_$AC(t){let i=M2.get(t.strings);return i===void 0&&M2.set(t.strings,i=new H1(t)),i}k(t){o2(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let n,o=0;for(const s of t)o===i.length?i.push(n=new _1(this.O(x1()),this.O(x1()),this,this.options)):n=i[o],n._$AI(s),o++;o<i.length&&(this._$AR(n&&n._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var n;for((n=this._$AP)==null?void 0:n.call(this,!1,!0,i);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var i;this._$AM===void 0&&(this._$Cv=t,(i=this._$AP)==null||i.call(this,t))}}class I1{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,n,o,s){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=d}_$AI(t,i=this,n,o){const s=this.strings;let r=!1;if(s===void 0)t=g1(this,t,i,0),r=!V1(t)||t!==this._$AH&&t!==n1,r&&(this._$AH=t);else{const c=t;let h,u;for(t=s[0],h=0;h<s.length-1;h++)u=g1(this,c[n+h],i,h),u===n1&&(u=this._$AH[h]),r||(r=!V1(u)||u!==this._$AH[h]),u===d?t=d:t!==d&&(t+=(u??"")+s[h+1]),this._$AH[h]=u}r&&!o&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class i0 extends I1{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}}class o0 extends I1{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}}class n0 extends I1{constructor(t,i,n,o,s){super(t,i,n,o,s),this.type=5}_$AI(t,i=this){if((t=g1(this,t,i,0)??d)===n1)return;const n=this._$AH,o=t===d&&n!==d||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,s=t!==d&&(n===d||o);o&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i;typeof this._$AH=="function"?this._$AH.call(((i=this.options)==null?void 0:i.host)??this.element,t):this._$AH.handleEvent(t)}}class s0{constructor(t,i,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){g1(this,t)}}const q1=L1.litHtmlPolyfillSupport;q1==null||q1(H1,_1),(L1.litHtmlVersions??(L1.litHtmlVersions=[])).push("3.3.0");const r0=(e,t,i)=>{const n=(i==null?void 0:i.renderBefore)??t;let o=n._$litPart$;if(o===void 0){const s=(i==null?void 0:i.renderBefore)??null;n._$litPart$=o=new _1(t.insertBefore(x1(),s),s,void 0,i??{})}return o._$AI(e),o};/**
|
|
16
16
|
* @license
|
|
17
17
|
* Copyright 2017 Google LLC
|
|
18
18
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
* @license
|
|
29
29
|
* Copyright 2017 Google LLC
|
|
30
30
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
31
|
-
*/function
|
|
31
|
+
*/function Q(e){return l({...e,state:!0,attribute:!1})}/**
|
|
32
32
|
* @license
|
|
33
33
|
* Copyright 2017 Google LLC
|
|
34
34
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
* @license
|
|
37
37
|
* Copyright 2017 Google LLC
|
|
38
38
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
39
|
-
*/function n2(e,t){return(i,n,o)=>{const s=r=>{var c;return((c=r.renderRoot)==null?void 0:c.querySelector(e))??null};return c0(i,n,{get(){return s(this)}})}}const
|
|
39
|
+
*/function n2(e,t){return(i,n,o)=>{const s=r=>{var c;return((c=r.renderRoot)==null?void 0:c.querySelector(e))??null};return c0(i,n,{get(){return s(this)}})}}const j=C`
|
|
40
40
|
outline: 1px dashed var(--color-border-primary);
|
|
41
41
|
outline-offset: 2px;
|
|
42
42
|
`;C`
|
|
@@ -889,7 +889,7 @@
|
|
|
889
889
|
* @license
|
|
890
890
|
* Copyright 2018 Google LLC
|
|
891
891
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
892
|
-
*/const E=e=>e??d;var d5=Object.defineProperty,p5=Object.getOwnPropertyDescriptor,
|
|
892
|
+
*/const E=e=>e??d;var d5=Object.defineProperty,p5=Object.getOwnPropertyDescriptor,U=(e,t,i,n)=>{for(var o=n>1?void 0:n?p5(t,i):t,s=e.length-1,r;s>=0;s--)(r=e[s])&&(o=(n?r(t,i,o):r(o))||o);return n&&o&&d5(t,i,o),o};let Z=class extends p{constructor(){super(...arguments),this.bgstyle="background-light",this.size="medium",this.status="empty",this.type="button",this.strokewidth="1",this.icon="",this.disabled=!1,this.showSrLabel=!1,this.srLabel=""}updated(e){super.updated(e),this.style.setProperty("--icon-stroke-width",this.strokewidth)}render(){if(!this.icon)return d;const{svg:e,pixelSize:t,shouldApplyLogicalSize:i}=t5(this.icon,{size:this.size,bgstyle:this.bgstyle}),n=`icon-${this.icon}`,o=i?` width="${t}" height="${t}"`:"",r=(i?e.replace(/\s(width|height)=\"[^\"]*\"/g,""):e).replace("<svg",`<svg aria-hidden="true" focusable="false" part="svg"${o}`).replace(/<path\b/g,'<path part="icon-path"').replace(/<g\b/g,'<g part="icon-group"').replace(/<circle\b/g,'<circle part="icon-circle"'),c=this.showSrLabel?a`<span class="sr-only">${this.srLabel}</span>`:null,h=this.showSrLabel?null:"icon";return a`
|
|
893
893
|
${this.type==="span"?a`
|
|
894
894
|
<span class="icon icon-button ${this.size} ${this.bgstyle} ${this.status} ${n}" ?disabled="${this.disabled}">
|
|
895
895
|
${z(r)}
|
|
@@ -1014,7 +1014,11 @@
|
|
|
1014
1014
|
stroke: none;
|
|
1015
1015
|
fill: var(--color-content-action-primary);
|
|
1016
1016
|
}
|
|
1017
|
-
|
|
1017
|
+
|
|
1018
|
+
.icon-button.icon-wishlist.none-light svg path {
|
|
1019
|
+
stroke: var(--color-content-action-primary);
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1018
1022
|
.icon-button.none-light.icon-wishlist svg path {
|
|
1019
1023
|
fill: none;
|
|
1020
1024
|
}
|
|
@@ -1082,13 +1086,13 @@
|
|
|
1082
1086
|
}
|
|
1083
1087
|
|
|
1084
1088
|
.icon-button:focus-visible {
|
|
1085
|
-
${
|
|
1089
|
+
${j}
|
|
1086
1090
|
}
|
|
1087
1091
|
|
|
1088
1092
|
.sr-only {
|
|
1089
1093
|
${s2}
|
|
1090
1094
|
}
|
|
1091
|
-
`;
|
|
1095
|
+
`;U([l({type:String,reflect:!0})],Z.prototype,"bgstyle",2);U([l({type:String,reflect:!0})],Z.prototype,"size",2);U([l({type:String,reflect:!0})],Z.prototype,"status",2);U([l({type:String,reflect:!0})],Z.prototype,"type",2);U([l({type:String})],Z.prototype,"strokewidth",2);U([l({type:String})],Z.prototype,"icon",2);U([l({type:Boolean,reflect:!0})],Z.prototype,"disabled",2);U([l({type:Boolean})],Z.prototype,"showSrLabel",2);U([l({type:String})],Z.prototype,"srLabel",2);Z=U([v("o-icon-button")],Z);var C5=Object.defineProperty,g5=Object.getOwnPropertyDescriptor,w=(e,t,i,n)=>{for(var o=n>1?void 0:n?g5(t,i):t,s=e.length-1,r;s>=0;s--)(r=e[s])&&(o=(n?r(t,i,o):r(o))||o);return n&&o&&C5(t,i,o),o};let g=class extends p{constructor(){super(...arguments),this.open=!1,this.showHeader=!0,this.showFooter=!1,this.showHeaderStartIcon=!1,this.headerTitle="",this.headerTitleClassName="panel-title",this.labelDialog="",this.labelAriaDialogPanel="",this.addToBagProductCount="",this.closeButtonLabel="Close the modal",this.goBackButtonLabel="Go back to",this.firstButtonLabel="Close",this.firstButtonVariant="primary",this.firstButtonProps={},this.onFirstButtonClickClose=!1,this.secondButtonLabel="",this.secondButtonVariant="secondary",this.secondButtonProps={},this.onSecondButtonClickClose=!1,this.disablePortal=!1,this.zIndex=99,this.initialized=!1,this.showDetail=!1,this.isHidingDetail=!1,this.previousFocusedElement=null,this.previousFocusedSelector=null,this._onOpenDetail=async e=>{var i,n;const t=((i=e.detail)==null?void 0:i.origin)??document.activeElement;if(this._detailOriginEl=t,this._detailOriginClass=(t==null?void 0:t.className)??"",this.showDetail=!0,this.showHeaderStartIcon=!0,await this.updateComplete,this._detailOriginClass){const o=(n=this.shadowRoot)==null?void 0:n.querySelector(".detail-view");o&&o.setAttribute("fromelement",this._detailOriginClass)}await this.focusDetailReturnBtn()},this._detailOriginEl=null,this._detailOriginClass="",this.handleKeyDown=e=>{this.open&&(e.key==="Escape"?this.closePanel():e.key==="Tab"&&this.trapFocus(e))},this.handleClosePanel=e=>{if(e instanceof KeyboardEvent&&e.key!=="Enter"&&e.key!==" ")return;e.preventDefault(),e.stopPropagation();const t=e.currentTarget,i=(t==null?void 0:t.getAttribute("data-role"))==="back";if(this.showDetail&&i){this.isHidingDetail=!0;const n=this.renderRoot.querySelector(".content"),o=async()=>{this.showDetail=!1,this.isHidingDetail=!1,this.showHeaderStartIcon=!1,await this.updateComplete,this._restoreFocusToOrigin()};if(n){this.showHeaderStartIcon=!1;const s=()=>{this.showDetail=!1,this.isHidingDetail=!1,n.removeEventListener("animationend",s),o()};n.addEventListener("animationend",s)}else this.showDetail=!1,this.isHidingDetail=!1,this.showHeaderStartIcon=!1;return}this.closePanel()}}focusFirstInPanel(){var t,i,n;(n=this.getFocusableElements().map(o=>this.resolveFocusable(o)).filter(o=>!!o&&!o.hasAttribute("disabled"))[0]??((t=this.shadowRoot)==null?void 0:t.querySelector(".close-btn"))??((i=this.shadowRoot)==null?void 0:i.querySelector(".panel")))==null||n.focus({preventScroll:!0})}resolveFocusable(e){var i;const t=e.tagName.toLowerCase();return t==="o-icon-button"||t==="o-button"?((i=e.shadowRoot)==null?void 0:i.querySelector("button, .button"))??e:e}connectedCallback(){super.connectedCallback(),!this.disablePortal&&this.parentElement!==document.body&&document.body.appendChild(this),this.addEventListener("keydown",this.handleKeyDown),this.updateComplete.then(()=>{this.initialized=!0}),this.addEventListener("open-detail",this._onOpenDetail),this.addEventListener("focusin",e=>{e.composedPath()[0]===this&&this.focusFirstInPanel()})}disconnectedCallback(){document.body.style.overflow="",document.body.removeAttribute("data-side-panel"),this.removeEventListener("keydown",this.handleKeyDown),super.disconnectedCallback(),this.removeEventListener("open-detail",this._onOpenDetail)}async focusDetailReturnBtn(){var o,s,r,c,h;await this.updateComplete;const e=this.getDeepActiveElement(document);if(e&&e!==document.body)try{e.blur()}catch{}await new Promise(requestAnimationFrame);const t=(o=this.shadowRoot)==null?void 0:o.querySelector(".detail-view .return-btn");if(!t)return;t.updateComplete&&await t.updateComplete,(c=(r=((s=t.shadowRoot)==null?void 0:s.querySelector("button"))??t)==null?void 0:r.focus)==null||c.call(r,{preventScroll:!0});const n=(h=this.shadowRoot)==null?void 0:h.querySelector('.panel[role="dialog"]');n&&n.setAttribute("aria-label",this.labelAriaDialogPanel||"panel-title")}_restoreFocusToOrigin(){var t,i;const e=this._detailOriginEl;!e||!document.contains(e)||((i=(t=document.activeElement)==null?void 0:t.blur)==null||i.call(t),requestAnimationFrame(()=>{var o;e.classList.add("a--tabfocus"),(((o=e.shadowRoot)==null?void 0:o.querySelector('button, .button, [tabindex]:not([tabindex="-1"])'))??null??e).focus({preventScroll:!0})}))}getDeepActiveElement(e=this.shadowRoot){let t=e.activeElement;for(;t&&t.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;return t}trapFocus(e){var s;if(e.key!=="Tab")return;const t=this.shadowRoot;if(!t)return;const i=this.getDeepActiveElement();if(this.showDetail){const r=t.querySelector(".detail-view .return-btn"),c=t.querySelector(".detail-view .close-btn"),h=r?this.resolveFocusable(r):null,u=c?this.resolveFocusable(c):null;if(e.shiftKey&&h&&i===h&&u){e.preventDefault(),e.stopPropagation(),u.focus({preventScroll:!0});return}if(!e.shiftKey&&u&&i===u){e.preventDefault(),e.stopPropagation(),(((s=t.querySelector(".detail-scroller"))==null?void 0:s.querySelector(g.focusablesSelector))??h??u).focus({preventScroll:!0});return}}if(document.querySelector("#refineandsortpopin")){const r=t.querySelector(".close-btn"),c=r?this.resolveFocusable(r):null,h=t.querySelector(".js-clear-refinements"),u=h?this.resolveFocusable(h):null,b=f=>{e.preventDefault(),e.stopPropagation(),f.focus()};if(c&&u){if(!e.shiftKey&&i===u)return b(c);if(e.shiftKey&&i===c)return b(u)}}const o=this.renderRoot.querySelector(".close-btn");if(!e.shiftKey&&o&&o.contains(i)){e.preventDefault();const r=this.renderRoot.querySelector(".o-whats-inside--content p");r==null||r.focus()}}getFocusableElements(){const e=this.renderRoot.querySelector(".panel");if(!e)return[];function t(o){return!(o.disabled||o.hasAttribute("disabled")||o.hasAttribute("tabindex")&&o.getAttribute("tabindex")==="-1")}function i(o){var r;const s=[o.matches(g.focusablesSelector)?o:[]];if(!["o-icon-button","o-button"].includes(o.tagName.toLowerCase())){const c=Array.from(o instanceof HTMLSlotElement?o.assignedElements({flatten:!0}):[]).filter(t).flatMap(i),h=Array.from(((r=o.shadowRoot)==null?void 0:r.querySelectorAll("*"))||[]).filter(t).flatMap(i);s.push(...c,...h)}return s.flat()}return Array.from(e.querySelectorAll("*")).filter(t).flatMap(i)}openPanel(){var t;this.removeAttribute("hidden"),this.getBoundingClientRect(),this.previousFocusedElement=document.activeElement,this.previousFocusedSelector=(t=this.previousFocusedElement)==null?void 0:t.getAttribute("paneltarget"),this.open=!0,document.body.style.overflow="hidden",document.body.setAttribute("data-side-panel","open");const e=this.renderRoot.querySelector(".panel");e&&e.setAttribute("aria-modal","true"),this.updateComplete.then(()=>{var i,n;if(this.showHeader){const o=(i=this.shadowRoot)==null?void 0:i.querySelector(".panel .close-btn"),s=this.resolveFocusable(o);(n=s==null?void 0:s.focus)==null||n.call(s,{preventScroll:!0})}else this.focusFirstInPanel()}),this.dispatchEvent(new CustomEvent("open",{bubbles:!0,composed:!0}))}closePanel(){var i,n,o;this.open=!1,this.showDetail=!1,document.body.style.overflow="",document.body.removeAttribute("data-side-panel");let e=this.previousFocusedElement;e!=null&&e.isConnected||(e=document.querySelector(`[paneltarget="${this.previousFocusedSelector}"]`)),(e==null?void 0:e.tagName.toLowerCase())==="o-button"?(o=(n=(i=e.shadowRoot)==null?void 0:i.querySelector(".button"))==null?void 0:n.focus)==null||o.call(n):e==null||e.focus();const t=this.renderRoot.querySelector(".panel");t&&t.removeAttribute("aria-modal"),this.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0}))}handleFirstClick(e){e instanceof KeyboardEvent&&e.key!=="Enter"&&e.key!==" "||(e.preventDefault(),e.stopPropagation(),this.onFirstButtonClickClose&&this.closePanel(),this.dispatchEvent(new CustomEvent("firstbuttonclick",{bubbles:!0,composed:!0,cancelable:!0,detail:{button:"first",target:e.target}})))}handleSecondClick(e){e instanceof KeyboardEvent&&e.key!=="Enter"&&e.key!==" "||(e.preventDefault(),e.stopPropagation(),this.onSecondButtonClickClose&&this.closePanel(),this.dispatchEvent(new CustomEvent("secondbuttonclick",{bubbles:!0,composed:!0,cancelable:!0,detail:{button:"second",target:e.target}})))}updated(){this.style.setProperty("--z-overlay",`${this.zIndex||99}`),this.style.setProperty("--z-panel",`${this.zIndex?this.zIndex+1:99}`),this.open||setTimeout(()=>{this.setAttribute("hidden","hidden")},500)}render(){const e=this.showHeader?a`
|
|
1092
1096
|
<div tabindex="-1" class="header ${this.showDetail?"detail-view-header":""}">
|
|
1093
1097
|
${this.showHeaderStartIcon?a`
|
|
1094
1098
|
<o-icon-button
|
|
@@ -1317,7 +1321,7 @@
|
|
|
1317
1321
|
|
|
1318
1322
|
.panel:focus-visible,
|
|
1319
1323
|
.close-btn:focus-visible {
|
|
1320
|
-
${
|
|
1324
|
+
${j}
|
|
1321
1325
|
}
|
|
1322
1326
|
|
|
1323
1327
|
[role="document"] {
|
|
@@ -1451,6 +1455,10 @@
|
|
|
1451
1455
|
outline: none !important;
|
|
1452
1456
|
}
|
|
1453
1457
|
|
|
1458
|
+
:host(.a--tabfocus) .button {
|
|
1459
|
+
${j};
|
|
1460
|
+
}
|
|
1461
|
+
|
|
1454
1462
|
:host([fullwidth]) {
|
|
1455
1463
|
width: 100%;
|
|
1456
1464
|
}
|
|
@@ -1555,7 +1563,7 @@
|
|
|
1555
1563
|
}
|
|
1556
1564
|
|
|
1557
1565
|
.button:focus-visible {
|
|
1558
|
-
${
|
|
1566
|
+
${j};
|
|
1559
1567
|
}
|
|
1560
1568
|
|
|
1561
1569
|
span.text + span.text::before {
|
|
@@ -1680,7 +1688,7 @@
|
|
|
1680
1688
|
}
|
|
1681
1689
|
|
|
1682
1690
|
.wishlist-button:focus-visible {
|
|
1683
|
-
${
|
|
1691
|
+
${j};
|
|
1684
1692
|
}
|
|
1685
1693
|
|
|
1686
1694
|
.wishlist-button:hover svg path {
|
|
@@ -1704,7 +1712,7 @@
|
|
|
1704
1712
|
.sr-only {
|
|
1705
1713
|
${s2}
|
|
1706
1714
|
}
|
|
1707
|
-
`;D1([l({type:String,reflect:!0})],u1.prototype,"status",2);D1([l({type:String,reflect:!0})],u1.prototype,"ariaDescribedBy",2);D1([l({type:String,reflect:!0})],u1.prototype,"label",2);u1=D1([v("o-wishlist-button")],u1);var m5=Object.defineProperty,L5=Object.getOwnPropertyDescriptor,h1=(e,t,i,n)=>{for(var o=n>1?void 0:n?L5(t,i):t,s=e.length-1,r;s>=0;s--)(r=e[s])&&(o=(n?r(t,i,o):r(o))||o);return n&&o&&m5(t,i,o),o};let
|
|
1715
|
+
`;D1([l({type:String,reflect:!0})],u1.prototype,"status",2);D1([l({type:String,reflect:!0})],u1.prototype,"ariaDescribedBy",2);D1([l({type:String,reflect:!0})],u1.prototype,"label",2);u1=D1([v("o-wishlist-button")],u1);var m5=Object.defineProperty,L5=Object.getOwnPropertyDescriptor,h1=(e,t,i,n)=>{for(var o=n>1?void 0:n?L5(t,i):t,s=e.length-1,r;s>=0;s--)(r=e[s])&&(o=(n?r(t,i,o):r(o))||o);return n&&o&&m5(t,i,o),o};let G=class extends p{constructor(){super(...arguments),this.href="",this.target="",this.template="standard",this.inverse=!1,this.endIcon=!1,this.reverseEndIcon=!1}_handleClick(e){(!this.href||this.href==="#")&&e.preventDefault()}render(){const e=!!this.href,t=a`
|
|
1708
1716
|
${this.endIcon&&this.reverseEndIcon?a`
|
|
1709
1717
|
<o-icon-button
|
|
1710
1718
|
icon="occ-chevron-left"
|
|
@@ -1733,7 +1741,7 @@
|
|
|
1733
1741
|
>
|
|
1734
1742
|
${t}
|
|
1735
1743
|
</a>
|
|
1736
|
-
`:a`<span class="link-wrapper">${t}</span>`}};
|
|
1744
|
+
`:a`<span class="link-wrapper">${t}</span>`}};G.styles=C`
|
|
1737
1745
|
:host {
|
|
1738
1746
|
cursor: pointer;
|
|
1739
1747
|
}
|
|
@@ -1819,7 +1827,7 @@
|
|
|
1819
1827
|
transform: translateX(-4px);
|
|
1820
1828
|
}
|
|
1821
1829
|
}
|
|
1822
|
-
`;h1([l({type:String})],
|
|
1830
|
+
`;h1([l({type:String})],G.prototype,"href",2);h1([l({type:String})],G.prototype,"target",2);h1([l({type:String,reflect:!0})],G.prototype,"template",2);h1([l({type:Boolean,reflect:!0})],G.prototype,"inverse",2);h1([l({type:Boolean,reflect:!0})],G.prototype,"endIcon",2);h1([l({type:Boolean,reflect:!0})],G.prototype,"reverseEndIcon",2);G=h1([v("o-link")],G);var y5=Object.defineProperty,x5=Object.getOwnPropertyDescriptor,T1=(e,t,i,n)=>{for(var o=n>1?void 0:n?x5(t,i):t,s=e.length-1,r;s>=0;s--)(r=e[s])&&(o=(n?r(t,i,o):r(o))||o);return n&&o&&y5(t,i,o),o};let v1=class extends p{constructor(){super(...arguments),this.rating=0}getStarKeys(){const e=[];for(let t=0;t<5;t++){const i=this.rating-t;let n;i>=1?n=100:i<=0?n=0:n=Math.round(i*100/25)*25,e.push(`star-${n}`)}return e}render(){const e=this.getStarKeys();return a`
|
|
1823
1831
|
<div class="rating">
|
|
1824
1832
|
<div class="stars">
|
|
1825
1833
|
${e.map(t=>a`<span class="star">${z(F1[t]??"")}</span>`)}
|
|
@@ -1859,7 +1867,7 @@
|
|
|
1859
1867
|
text-decoration: underline;
|
|
1860
1868
|
cursor: pointer;
|
|
1861
1869
|
}
|
|
1862
|
-
`;T1([l({type:Number})],v1.prototype,"rating",2);T1([l({type:String})],v1.prototype,"reviewCount",2);T1([l({type:String})],v1.prototype,"href",2);v1=T1([v("o-rating")],v1);var V5=Object.defineProperty,H5=Object.getOwnPropertyDescriptor,s1=(e,t,i,n)=>{for(var o=n>1?void 0:n?H5(t,i):t,s=e.length-1,r;s>=0;s--)(r=e[s])&&(o=(n?r(t,i,o):r(o))||o);return n&&o&&V5(t,i,o),o};let
|
|
1870
|
+
`;T1([l({type:Number})],v1.prototype,"rating",2);T1([l({type:String})],v1.prototype,"reviewCount",2);T1([l({type:String})],v1.prototype,"href",2);v1=T1([v("o-rating")],v1);var V5=Object.defineProperty,H5=Object.getOwnPropertyDescriptor,s1=(e,t,i,n)=>{for(var o=n>1?void 0:n?H5(t,i):t,s=e.length-1,r;s>=0;s--)(r=e[s])&&(o=(n?r(t,i,o):r(o))||o);return n&&o&&V5(t,i,o),o};let R=class extends p{constructor(){super(...arguments),this.thumbnails=[],this.activeIndex=0,this.disabledIndexes=[],this.maxWidth="100%",this.altressource="visual",this.focusedIndex=0,this.playerIconTemplate=a`
|
|
1863
1871
|
<o-icon-button
|
|
1864
1872
|
icon="playerv"
|
|
1865
1873
|
size="xsmall"
|
|
@@ -1888,7 +1896,7 @@
|
|
|
1888
1896
|
</li>
|
|
1889
1897
|
`})}
|
|
1890
1898
|
</ul>
|
|
1891
|
-
`}};
|
|
1899
|
+
`}};R.styles=C`
|
|
1892
1900
|
:host {
|
|
1893
1901
|
display: flex;
|
|
1894
1902
|
gap: 5px;
|
|
@@ -1992,7 +2000,7 @@
|
|
|
1992
2000
|
height: 0;
|
|
1993
2001
|
width: 0;
|
|
1994
2002
|
}
|
|
1995
|
-
`;s1([l({type:Array})],
|
|
2003
|
+
`;s1([l({type:Array})],R.prototype,"thumbnails",2);s1([l({type:Number})],R.prototype,"activeIndex",2);s1([l({type:Array})],R.prototype,"disabledIndexes",2);s1([l({type:String})],R.prototype,"maxWidth",2);s1([l({type:String})],R.prototype,"altressource",2);s1([l({type:Object})],R.prototype,"swiperInstance",2);s1([Q()],R.prototype,"focusedIndex",2);R=s1([v("thumbnail-navigation")],R);var B5=Object.defineProperty,$5=Object.getOwnPropertyDescriptor,p2=(e,t,i,n)=>{for(var o=n>1?void 0:n?$5(t,i):t,s=e.length-1,r;s>=0;s--)(r=e[s])&&(o=(n?r(t,i,o):r(o))||o);return n&&o&&B5(t,i,o),o};let B1=class extends p{constructor(){super(...arguments),this.type="",this.bgstyle="background-white"}render(){return a`
|
|
1996
2004
|
<p class="tag ${this.bgstyle}"><slot></slot></p>
|
|
1997
2005
|
`}};B1.styles=C`
|
|
1998
2006
|
.tag {
|
|
@@ -2333,7 +2341,7 @@
|
|
|
2333
2341
|
input[type="hidden"] {
|
|
2334
2342
|
display: none;
|
|
2335
2343
|
}
|
|
2336
|
-
`;Y([l({type:Array,reflect:!0})],I.prototype,"options",2);Y([l({type:String,reflect:!0})],I.prototype,"value",2);Y([l({type:String,reflect:!0})],I.prototype,"name",2);Y([l({type:Boolean,reflect:!0})],I.prototype,"disabled",2);Y([l({type:String,reflect:!0})],I.prototype,"width",2);Y([
|
|
2344
|
+
`;Y([l({type:Array,reflect:!0})],I.prototype,"options",2);Y([l({type:String,reflect:!0})],I.prototype,"value",2);Y([l({type:String,reflect:!0})],I.prototype,"name",2);Y([l({type:Boolean,reflect:!0})],I.prototype,"disabled",2);Y([l({type:String,reflect:!0})],I.prototype,"width",2);Y([Q()],I.prototype,"open",2);Y([Q()],I.prototype,"activeIndex",2);Y([Q()],I.prototype,"menuWidth",2);I=Y([v("o-dropdown")],I);var _5=Object.getOwnPropertyDescriptor,F5=(e,t,i,n)=>{for(var o=n>1?void 0:n?_5(t,i):t,s=e.length-1,r;s>=0;s--)(r=e[s])&&(o=r(o)||o);return o};let J1=class extends p{render(){return a` <span class="dots"></span> `}};J1.styles=C`
|
|
2337
2345
|
:host {
|
|
2338
2346
|
display: flex;
|
|
2339
2347
|
align-items: center;
|
|
@@ -2375,7 +2383,7 @@
|
|
|
2375
2383
|
:host([aria-current="true"]:active) .dots {
|
|
2376
2384
|
background-color: var(--color-container-action-primary-pressed);
|
|
2377
2385
|
}
|
|
2378
|
-
`;J1=F5([v("o-dots")],J1);var S5=Object.defineProperty,A5=Object.getOwnPropertyDescriptor,
|
|
2386
|
+
`;J1=F5([v("o-dots")],J1);var S5=Object.defineProperty,A5=Object.getOwnPropertyDescriptor,N=(e,t,i,n)=>{for(var o=n>1?void 0:n?A5(t,i):t,s=e.length-1,r;s>=0;s--)(r=e[s])&&(o=(n?r(t,i,o):r(o))||o);return n&&o&&S5(t,i,o),o};let _=class extends p{constructor(){super(...arguments),this.options=[],this.value="",this.name="",this.additionaltext="+X variant(s)",this.disabled=!1,this.width="100%",this.open=!1,this.activeIndex=-1,this.menuWidth="",this._sent=new Set,this._pendingByKey=new Map,this._handleOutsideClick=e=>{this.contains(e.target)||(this.open=!1,this.activeIndex=-1,this._stopObserveVisibleItems())}}_getKey(e,t,i){return(t==null?void 0:t.productId)??e.value??String(i)}_scheduleFlush(){this._flushTimer||(this._flushTimer=window.setTimeout(()=>{this._flushTimer=void 0,this._flushPending()},80))}_flushPending(){if(!this.open||this._pendingByKey.size===0)return;const e=Array.from(this._pendingByKey.values());this._pendingByKey.clear(),this.dispatchEvent(new CustomEvent("event-tracking",{detail:{products:e},bubbles:!0,composed:!0}))}_emitTrackingEvent(e,t){const i=e==null?void 0:e.dataproduct;if(!i)return;let n;try{n=JSON.parse(i)}catch(o){console.warn("Invalid dataproduct JSON:",i,o);return}this.dispatchEvent(new CustomEvent("event-tracking",{detail:{product:n},bubbles:!0,composed:!0}))}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleOutsideClick)}disconnectedCallback(){document.removeEventListener("click",this._handleOutsideClick),super.disconnectedCallback()}_startObserveVisibleItems(){var t;this._stopObserveVisibleItems();const e=(t=this.renderRoot)==null?void 0:t.querySelector("#dropdown-listbox");e&&(this._io=new IntersectionObserver(i=>{if(this.open)for(const n of i){if(!n.isIntersecting)continue;const o=n.target,s=o.dataset.index;if(!s)continue;const r=Number(s),c=this.options[r];if(!c||c.disabled)continue;const h=c.dataproduct??o.dataset.product;if(!h)continue;let u;try{u=JSON.parse(h)}catch(f){console.warn("Invalid dataproduct JSON:",h,f);continue}const b=this._getKey(c,u,r);this._sent.has(b)||(this._sent.add(b),this._pendingByKey.set(b,u),this._scheduleFlush())}},{root:e,threshold:.75}),e.querySelectorAll("li[role='option']").forEach(i=>{var n;return(n=this._io)==null?void 0:n.observe(i)}))}_stopObserveVisibleItems(){var e;this._flushPending(),this._flushTimer&&(clearTimeout(this._flushTimer),this._flushTimer=void 0),(e=this._io)==null||e.disconnect(),this._io=void 0}toggle(){var e;if(!this.disabled){if(this.open=!this.open,this.activeIndex=this.open?this.options.findIndex(t=>t.value===this.value):-1,this.open&&this.width==="auto"){const t=(e=this.renderRoot)==null?void 0:e.querySelector("button");t&&(this.menuWidth=`${t.getBoundingClientRect().width}px`)}this.open?this.updateComplete.then(()=>{this._focusActiveOption(),this._startObserveVisibleItems()}):this._stopObserveVisibleItems()}}_focusActiveOption(){var t;const e=(t=this.renderRoot)==null?void 0:t.querySelector(`#option-${this.activeIndex}`);e==null||e.focus()}selectOption(e){this.value=e.value,this.dispatchEvent(new CustomEvent("change",{detail:{value:this.value,url:e.url}})),this.open=!1,this.activeIndex=-1}handleKeydown(e){if(this.disabled){e.preventDefault();return}if(!this.open){(e.key==="ArrowDown"||e.key==="ArrowUp")&&(e.preventDefault(),this.open=!0,this.activeIndex=this.options.findIndex(t=>t.value===this.value),this.updateComplete.then(()=>this._focusActiveOption()));return}switch(e.key){case"ArrowDown":e.preventDefault(),this.activeIndex=(this.activeIndex+1)%this.options.length,this.updateComplete.then(()=>this._focusActiveOption());break;case"ArrowUp":e.preventDefault(),this.activeIndex=(this.activeIndex-1+this.options.length)%this.options.length,this.updateComplete.then(()=>this._focusActiveOption());break;case"Home":e.preventDefault(),this.activeIndex=0,this.updateComplete.then(()=>this._focusActiveOption());break;case"End":e.preventDefault(),this.activeIndex=this.options.length-1,this.updateComplete.then(()=>this._focusActiveOption());break;case"Enter":e.preventDefault(),this.activeIndex>=0&&this.selectOption(this.options[this.activeIndex]);break;case"Escape":e.preventDefault(),this.open=!1,this.activeIndex=-1;break}}updated(){this.options.length>0&&(this.options.some(t=>t.value===this.value)||(this.value=this.options[0].value))}render(){const e=F1["occ-check-outlined"].replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"'),t=this.options.find(i=>i.value===this.value);return a`
|
|
2379
2387
|
<button
|
|
2380
2388
|
role="combobox"
|
|
2381
2389
|
aria-haspopup="listbox"
|
|
@@ -2616,7 +2624,7 @@
|
|
|
2616
2624
|
input[type="hidden"] {
|
|
2617
2625
|
display: none;
|
|
2618
2626
|
}
|
|
2619
|
-
`;
|
|
2627
|
+
`;N([l({type:Array,reflect:!0})],_.prototype,"options",2);N([l({type:String,reflect:!0})],_.prototype,"value",2);N([l({type:String,reflect:!0})],_.prototype,"name",2);N([l({type:String,reflect:!0})],_.prototype,"additionaltext",2);N([l({type:Boolean,reflect:!0})],_.prototype,"disabled",2);N([l({type:String,reflect:!0})],_.prototype,"width",2);N([Q()],_.prototype,"open",2);N([Q()],_.prototype,"activeIndex",2);N([Q()],_.prototype,"menuWidth",2);_=N([v("o-dropdown-variant")],_);/**
|
|
2620
2628
|
* @license
|
|
2621
2629
|
* Copyright 2018 Google LLC
|
|
2622
2630
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -2798,7 +2806,7 @@
|
|
|
2798
2806
|
|
|
2799
2807
|
.o-chip:focus-visible,
|
|
2800
2808
|
.button:focus-visible {
|
|
2801
|
-
${
|
|
2809
|
+
${j};
|
|
2802
2810
|
}
|
|
2803
2811
|
|
|
2804
2812
|
span.text + span.text::before {
|
|
@@ -2819,7 +2827,7 @@
|
|
|
2819
2827
|
flex-wrap: wrap;
|
|
2820
2828
|
gap: var(--spacing-s);
|
|
2821
2829
|
}
|
|
2822
|
-
`;u2([l({reflect:!0})],M1.prototype,"name",2);u2([l({reflect:!0})],M1.prototype,"value",2);M1=u2([v("o-chipset")],M1);var N5=Object.defineProperty,q5=Object.getOwnPropertyDescriptor,
|
|
2830
|
+
`;u2([l({reflect:!0})],M1.prototype,"name",2);u2([l({reflect:!0})],M1.prototype,"value",2);M1=u2([v("o-chipset")],M1);var N5=Object.defineProperty,q5=Object.getOwnPropertyDescriptor,q=(e,t,i,n)=>{for(var o=n>1?void 0:n?q5(t,i):t,s=e.length-1,r;s>=0;s--)(r=e[s])&&(o=(n?r(t,i,o):r(o))||o);return n&&o&&N5(t,i,o),o};const K5=l2(p);let S=class extends K5{constructor(){super(...arguments),this.name="",this.value="",this.type="",this.text="",this.selected=!1,this.disabled=!1,this.fullwidth=!1,this.crossIconName="cross",this.strikethroughImgName="strikeDiagonal"}handleClick(e){if(e instanceof KeyboardEvent&&e.key!=="Enter"&&e.key!==" ")return;this.selected=!this.selected;const t={selected:this.selected},i=new CustomEvent("selected",{detail:t,bubbles:!0,composed:!0,cancelable:!0});this.dispatchEvent(i),i.defaultPrevented&&e.preventDefault(),this.selected=t.selected}crossIcon(){return a`<o-icon-button size="xsmall" icon="occ-close-outlined" bgstyle="none-light"></o-icon-button>`}strikeThroughImg(){const e=e5[this.strikethroughImgName].replace("<svg",'<svg aria-hidden="true" focusable="false" part="strikethrough"').replace(/stroke=[#"'a-z1-9]*/gi,"");return z(e)}render(){const e=this.text;return a`${this.type==="link"?a`
|
|
2823
2831
|
<a role="button" tabindex="0" class="button" href=${this.href} ?disabled=${this.disabled} @click=${this.handleClick} @keydown=${this.handleClick}
|
|
2824
2832
|
aria-label=${this.ariaLabel||d} aria-pressed=${this.selected}>
|
|
2825
2833
|
${e?a`
|
|
@@ -2921,7 +2929,7 @@
|
|
|
2921
2929
|
}
|
|
2922
2930
|
|
|
2923
2931
|
.button:focus-visible {
|
|
2924
|
-
${
|
|
2932
|
+
${j};
|
|
2925
2933
|
}
|
|
2926
2934
|
|
|
2927
2935
|
span.text + span.text::before {
|
|
@@ -2961,7 +2969,7 @@
|
|
|
2961
2969
|
stroke-width: 4px;
|
|
2962
2970
|
stroke-linecap: round;
|
|
2963
2971
|
}
|
|
2964
|
-
`;
|
|
2972
|
+
`;q([l({reflect:!0})],S.prototype,"name",2);q([l({reflect:!0})],S.prototype,"value",2);q([l({type:String,reflect:!0})],S.prototype,"type",2);q([l({type:String,reflect:!0})],S.prototype,"href",2);q([l({type:String,reflect:!0,attribute:"data-href"})],S.prototype,"dataHref",2);q([l({type:String})],S.prototype,"text",2);q([l({type:Boolean,reflect:!0})],S.prototype,"selected",2);q([l({type:Boolean,reflect:!0})],S.prototype,"disabled",2);q([l({type:Boolean,reflect:!0})],S.prototype,"fullwidth",2);S=q([v("o-filter-chip")],S);var W5=Object.defineProperty,O=(e,t,i,n)=>{for(var o=void 0,s=e.length-1,r;s>=0;s--)(r=e[s])&&(o=r(t,i,o)||o);return o&&W5(t,i,o),o};const w2=class w2 extends p{constructor(){super(...arguments),this.type="cart | chevron",this.titleProduct="",this.volume="",this.perLiter="",this.mainPrice="",this.imageUrl="https://placehold.co/56x70",this.altImage="",this.fullwidth=!1,this.tagText="",this.outOfStock=!1}onClick(t){var n,o,s;const i=t.target;(n=i==null?void 0:i.classList)!=null&&n.contains("add-to-bag")||(o=i==null?void 0:i.classList)!=null&&o.contains("js-availability-notify-details-cart")||((s=this.onClickTile)==null||s.call(this),this.dispatchEvent(new CustomEvent("tile-click",{bubbles:!0,composed:!0})))}onClickIcons(){var t;(t=this.onClickIcon)==null||t.call(this),this.dispatchEvent(new CustomEvent("tile-icon-click",{bubbles:!0,composed:!0}))}get icons(){return this.type==="chevron"?a`
|
|
2965
2973
|
<o-icon-button
|
|
2966
2974
|
@click=${this.onClickIcons}
|
|
2967
2975
|
icon="occ-chevron-right"
|
|
@@ -3369,7 +3377,7 @@
|
|
|
3369
3377
|
svg path {
|
|
3370
3378
|
stroke: var(--color-border-light);
|
|
3371
3379
|
}
|
|
3372
|
-
`;D([l({type:Boolean,reflect:!0})],M.prototype,"checked",2);D([l({type:Boolean,reflect:!0})],M.prototype,"indeterminate",2);D([l({type:Boolean,reflect:!0})],M.prototype,"disabled",2);D([l({type:String,reflect:!0})],M.prototype,"size",2);D([l({type:Boolean})],M.prototype,"showLabel",2);D([l({type:String})],M.prototype,"label",2);D([l({type:String})],M.prototype,"name",2);D([l({type:String})],M.prototype,"value",2);D([l({type:String,reflect:!0})],M.prototype,"inputId",2);D([n2("input")],M.prototype,"inputEl",2);M=D([v("o-checkbox")],M);var i8=Object.defineProperty,o8=Object.getOwnPropertyDescriptor,
|
|
3380
|
+
`;D([l({type:Boolean,reflect:!0})],M.prototype,"checked",2);D([l({type:Boolean,reflect:!0})],M.prototype,"indeterminate",2);D([l({type:Boolean,reflect:!0})],M.prototype,"disabled",2);D([l({type:String,reflect:!0})],M.prototype,"size",2);D([l({type:Boolean})],M.prototype,"showLabel",2);D([l({type:String})],M.prototype,"label",2);D([l({type:String})],M.prototype,"name",2);D([l({type:String})],M.prototype,"value",2);D([l({type:String,reflect:!0})],M.prototype,"inputId",2);D([n2("input")],M.prototype,"inputEl",2);M=D([v("o-checkbox")],M);var i8=Object.defineProperty,o8=Object.getOwnPropertyDescriptor,K=(e,t,i,n)=>{for(var o=n>1?void 0:n?o8(t,i):t,s=e.length-1,r;s>=0;s--)(r=e[s])&&(o=(n?r(t,i,o):r(o))||o);return n&&o&&i8(t,i,o),o};let n8=0,A=class extends p{constructor(){super(),this.checked=!1,this.disabled=!1,this.size="S",this.showLabel=!0,this.label="Radio button",this.name="",this.value="on",this.inputId="",this.inputId||(this.inputId=`o-radio-${++n8}`)}handleClick(){this.disabled||this.checked||(this.checked=!0,this.syncInput(),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}syncInput(){this.inputEl&&(this.inputEl.checked=this.checked)}updated(e){if(e.has("checked")&&this.checked){const t=this.parentElement;t&&Array.from(t.querySelectorAll(`o-radio[name="${this.name}"]`)).forEach(n=>{n!==this&&(n.checked=!1)})}this.syncInput()}handleKeyDown(e){this.disabled||(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.handleClick())}render(){return a`
|
|
3373
3381
|
<input type="radio" id=${this.inputId} ?checked=${this.checked} ?disabled=${this.disabled} name=${this.name} value=${this.value} />
|
|
3374
3382
|
|
|
3375
3383
|
<div class="box" role="radio" tabindex=${this.disabled?-1:0} aria-checked=${String(this.checked)} aria-disabled=${String(this.disabled)} @click=${this.handleClick} @keydown=${this.handleKeyDown}>
|
|
@@ -3466,7 +3474,7 @@
|
|
|
3466
3474
|
width: 0;
|
|
3467
3475
|
height: 0;
|
|
3468
3476
|
}
|
|
3469
|
-
`;
|
|
3477
|
+
`;K([l({type:Boolean,reflect:!0})],A.prototype,"checked",2);K([l({type:Boolean,reflect:!0})],A.prototype,"disabled",2);K([l({type:String,reflect:!0})],A.prototype,"size",2);K([l({type:Boolean})],A.prototype,"showLabel",2);K([l({type:String})],A.prototype,"label",2);K([l({type:String})],A.prototype,"name",2);K([l({type:String})],A.prototype,"value",2);K([l({type:String,reflect:!0})],A.prototype,"inputId",2);K([n2("input")],A.prototype,"inputEl",2);A=K([v("o-radio")],A);var s8=Object.getOwnPropertyDescriptor,r8=(e,t,i,n)=>{for(var o=n>1?void 0:n?s8(t,i):t,s=e.length-1,r;s>=0;s--)(r=e[s])&&(o=r(o)||o);return o};let Q1=class extends p{render(){return a`
|
|
3470
3478
|
<nav aria-label="Breadcrumbs">
|
|
3471
3479
|
<ul>
|
|
3472
3480
|
<slot></slot>
|
|
@@ -3528,13 +3536,13 @@
|
|
|
3528
3536
|
}
|
|
3529
3537
|
|
|
3530
3538
|
a:focus-visible {
|
|
3531
|
-
${
|
|
3539
|
+
${j};
|
|
3532
3540
|
}
|
|
3533
3541
|
|
|
3534
3542
|
:host(.a--tabfocus) {
|
|
3535
3543
|
outline: none !important;
|
|
3536
3544
|
}
|
|
3537
|
-
`;v2([l({type:String})],k1.prototype,"href",2);v2([l({type:Boolean,reflect:!0})],k1.prototype,"active",2);k1=v2([v("o-breadcrumb")],k1);var c8=Object.defineProperty,h8=Object.getOwnPropertyDescriptor,d1=(e,t,i,n)=>{for(var o=n>1?void 0:n?h8(t,i):t,s=e.length-1,r;s>=0;s--)(r=e[s])&&(o=(n?r(t,i,o):r(o))||o);return n&&o&&c8(t,i,o),o};let
|
|
3545
|
+
`;v2([l({type:String})],k1.prototype,"href",2);v2([l({type:Boolean,reflect:!0})],k1.prototype,"active",2);k1=v2([v("o-breadcrumb")],k1);var c8=Object.defineProperty,h8=Object.getOwnPropertyDescriptor,d1=(e,t,i,n)=>{for(var o=n>1?void 0:n?h8(t,i):t,s=e.length-1,r;s>=0;s--)(r=e[s])&&(o=(n?r(t,i,o):r(o))||o);return n&&o&&c8(t,i,o),o};let X=class extends p{constructor(){super(...arguments),this.imageUrl="",this.imageAlt="",this.hoverUrl="",this.hoverAlt="",this.dimmed=!1,this.showHover=!1}render(){return a`<div class="card">
|
|
3538
3546
|
<svg aria-hidden="true">
|
|
3539
3547
|
<defs>
|
|
3540
3548
|
<clipPath id="arch-gift-finder" clipPathUnits="objectBoundingBox">
|
|
@@ -3545,7 +3553,7 @@
|
|
|
3545
3553
|
<img src="${this.imageUrl}" alt="${this.imageAlt}" class="card-img base" loading="lazy" />
|
|
3546
3554
|
${this.hoverUrl?a`<img src="${this.hoverUrl}" alt="${this.hoverAlt||this.imageAlt}" class="card-img hover" loading="lazy" />`:""}
|
|
3547
3555
|
<div class="overlay" part="overlay"></div>
|
|
3548
|
-
</div>`}};
|
|
3556
|
+
</div>`}};X.styles=C`
|
|
3549
3557
|
:host {
|
|
3550
3558
|
--card-width : 175px;
|
|
3551
3559
|
--card-height : 260px;
|
|
@@ -3629,7 +3637,7 @@
|
|
|
3629
3637
|
:host([dimmed]) .overlay {
|
|
3630
3638
|
opacity: var(--overlay-opacity, 1);
|
|
3631
3639
|
}
|
|
3632
|
-
`;d1([l({type:String})],
|
|
3640
|
+
`;d1([l({type:String})],X.prototype,"imageUrl",2);d1([l({type:String})],X.prototype,"imageAlt",2);d1([l({type:String})],X.prototype,"hoverUrl",2);d1([l({type:String})],X.prototype,"hoverAlt",2);d1([l({type:Boolean,reflect:!0})],X.prototype,"dimmed",2);d1([l({type:Boolean,reflect:!0,attribute:"showhover"})],X.prototype,"showHover",2);X=d1([v("o-arch-image")],X);const d8=`<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
3633
3641
|
<svg
|
|
3634
3642
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
3635
3643
|
xmlns:cc="http://creativecommons.org/ns#"
|
|
@@ -3896,7 +3904,7 @@
|
|
|
3896
3904
|
from { transform: translateY(10px) scale(.98); opacity: 0; }
|
|
3897
3905
|
to { transform: translateY(0) scale(1); opacity: 1; }
|
|
3898
3906
|
}
|
|
3899
|
-
`;let y=b2;H([l({type:Boolean,reflect:!0})],y.prototype,"ispagedesigner",2);H([l({type:String,reflect:!0})],y.prototype,"classPopin",1);H([l({type:Boolean,reflect:!0})],y.prototype,"open",2);H([l({type:String,reflect:!0})],y.prototype,"background",2);H([l({type:String,attribute:"background-url",reflect:!0})],y.prototype,"backgroundUrl",2);H([l({type:Boolean,attribute:"close-on-esc"})],y.prototype,"closeOnEsc",2);H([l({type:Boolean,attribute:"close-on-backdrop"})],y.prototype,"closeOnBackdrop",2);H([l({type:Boolean,attribute:"lock-scroll"})],y.prototype,"lockScroll",2);H([l({type:String,reflect:!0})],y.prototype,"variant",2);H([l({type:String,attribute:"max-width"})],y.prototype,"maxWidth",2);H([l({type:Boolean,reflect:!0})],y.prototype,"showBackButton",2);H([l({type:Boolean,reflect:!0})],y.prototype,"contrast",2);H([l({type:String,reflect:!0})],y.prototype,"iconSize",2);H([l({type:Boolean,attribute:"hide-header-on-scroll"})],y.prototype,"hideHeaderOnScroll",2);H([
|
|
3907
|
+
`;let y=b2;H([l({type:Boolean,reflect:!0})],y.prototype,"ispagedesigner",2);H([l({type:String,reflect:!0})],y.prototype,"classPopin",1);H([l({type:Boolean,reflect:!0})],y.prototype,"open",2);H([l({type:String,reflect:!0})],y.prototype,"background",2);H([l({type:String,attribute:"background-url",reflect:!0})],y.prototype,"backgroundUrl",2);H([l({type:Boolean,attribute:"close-on-esc"})],y.prototype,"closeOnEsc",2);H([l({type:Boolean,attribute:"close-on-backdrop"})],y.prototype,"closeOnBackdrop",2);H([l({type:Boolean,attribute:"lock-scroll"})],y.prototype,"lockScroll",2);H([l({type:String,reflect:!0})],y.prototype,"variant",2);H([l({type:String,attribute:"max-width"})],y.prototype,"maxWidth",2);H([l({type:Boolean,reflect:!0})],y.prototype,"showBackButton",2);H([l({type:Boolean,reflect:!0})],y.prototype,"contrast",2);H([l({type:String,reflect:!0})],y.prototype,"iconSize",2);H([l({type:Boolean,attribute:"hide-header-on-scroll"})],y.prototype,"hideHeaderOnScroll",2);H([Q()],y.prototype,"_labelId",2);H([Q()],y.prototype,"_headerHidden",2);customElements.define("o-popin",y);var g8=Object.defineProperty,u8=Object.getOwnPropertyDescriptor,x=(e,t,i,n)=>{for(var o=n>1?void 0:n?u8(t,i):t,s=e.length-1,r;s>=0;s--)(r=e[s])&&(o=(n?r(t,i,o):r(o))||o);return n&&o&&g8(t,i,o),o};let L=class extends p{constructor(){super(...arguments),this.type="cart | notifyme",this.titleProduct="",this.descriptionProduct="",this.volume="",this.perLiter="",this.mainPrice="",this.salesPercentage="",this.oldPrice="",this.imageUrl="https://placehold.co/112x140",this.outOfStock=!1,this.outOfStockText="Out of stock",this.altImage="",this.fullwidth=!1,this.current=!1,this.hideIcon=!1,this.tagText=""}onClick(e){var i,n,o;const t=e.target;(i=t==null?void 0:t.classList)!=null&&i.contains("add-to-bag")||(n=t==null?void 0:t.classList)!=null&&n.contains("js-availability-notify-details-routine")||((o=this.onClickTile)==null||o.call(this),this.dispatchEvent(new CustomEvent("tile-click",{bubbles:!0,composed:!0})))}onClickIcons(){var e;(e=this.onClickIcon)==null||e.call(this),this.dispatchEvent(new CustomEvent("tile-icon-click",{bubbles:!0,composed:!0}))}get icons(){return this.hideIcon?"":a`
|
|
3900
3908
|
<o-icon-button
|
|
3901
3909
|
@click=${this.onClickIcons}
|
|
3902
3910
|
icon=${this.type==="notifyme"?"notifyme":"cart"}
|
|
@@ -4109,13 +4117,13 @@
|
|
|
4109
4117
|
.fullpointer {
|
|
4110
4118
|
cursor: pointer;
|
|
4111
4119
|
}
|
|
4112
|
-
`;x([l({type:String})],L.prototype,"type",2);x([l({type:String})],L.prototype,"titleProduct",2);x([l({type:String})],L.prototype,"descriptionProduct",2);x([l({type:String})],L.prototype,"volume",2);x([l({type:String})],L.prototype,"perLiter",2);x([l({type:String})],L.prototype,"mainPrice",2);x([l({type:String})],L.prototype,"salesPercentage",2);x([l({type:String})],L.prototype,"oldPrice",2);x([l({type:String})],L.prototype,"imageUrl",2);x([l({type:Boolean})],L.prototype,"outOfStock",2);x([l({type:String})],L.prototype,"outOfStockText",2);x([l({type:String})],L.prototype,"altImage",2);x([l({type:Boolean})],L.prototype,"fullwidth",2);x([l({type:Boolean})],L.prototype,"current",2);x([l({type:Boolean})],L.prototype,"hideIcon",2);x([l({type:String})],L.prototype,"tagText",2);x([l({attribute:!1})],L.prototype,"onClickTile",2);x([l({attribute:!1})],L.prototype,"onClickIcon",2);L=x([v("o-medium-tile")],L);var v8=Object.defineProperty,f8=Object.getOwnPropertyDescriptor,p1=(e,t,i,n)=>{for(var o=n>1?void 0:n?f8(t,i):t,s=e.length-1,r;s>=0;s--)(r=e[s])&&(o=(n?r(t,i,o):r(o))||o);return n&&o&&v8(t,i,o),o};let
|
|
4120
|
+
`;x([l({type:String})],L.prototype,"type",2);x([l({type:String})],L.prototype,"titleProduct",2);x([l({type:String})],L.prototype,"descriptionProduct",2);x([l({type:String})],L.prototype,"volume",2);x([l({type:String})],L.prototype,"perLiter",2);x([l({type:String})],L.prototype,"mainPrice",2);x([l({type:String})],L.prototype,"salesPercentage",2);x([l({type:String})],L.prototype,"oldPrice",2);x([l({type:String})],L.prototype,"imageUrl",2);x([l({type:Boolean})],L.prototype,"outOfStock",2);x([l({type:String})],L.prototype,"outOfStockText",2);x([l({type:String})],L.prototype,"altImage",2);x([l({type:Boolean})],L.prototype,"fullwidth",2);x([l({type:Boolean})],L.prototype,"current",2);x([l({type:Boolean})],L.prototype,"hideIcon",2);x([l({type:String})],L.prototype,"tagText",2);x([l({attribute:!1})],L.prototype,"onClickTile",2);x([l({attribute:!1})],L.prototype,"onClickIcon",2);L=x([v("o-medium-tile")],L);var v8=Object.defineProperty,f8=Object.getOwnPropertyDescriptor,p1=(e,t,i,n)=>{for(var o=n>1?void 0:n?f8(t,i):t,s=e.length-1,r;s>=0;s--)(r=e[s])&&(o=(n?r(t,i,o):r(o))||o);return n&&o&&v8(t,i,o),o};let J=class extends p{constructor(){super(...arguments),this.text="",this.class="",this.data="",this.link="",this.selected=!1,this.inactive=!1}handleClick(e){e.preventDefault(),this.selected||(this.selected=!0);const t={tab:this,link:this.link,data:this.data,selected:this.selected};this.dispatchEvent(new CustomEvent("selected",{bubbles:!0,composed:!0,detail:t}))}render(){return a`
|
|
4113
4121
|
<a href="${this.link}" class="o-tab" role="tab"
|
|
4114
4122
|
@click=${this.handleClick} data-url="${this.data?this.data:d}"
|
|
4115
4123
|
tabindex="${this.inactive?"-1":d}" aria-selected="${this.selected?"true":d}">
|
|
4116
4124
|
${this.text}
|
|
4117
4125
|
</a>
|
|
4118
|
-
`}};
|
|
4126
|
+
`}};J.styles=C`
|
|
4119
4127
|
:host {
|
|
4120
4128
|
position: relative;
|
|
4121
4129
|
cursor: pointer;
|
|
@@ -4189,9 +4197,9 @@
|
|
|
4189
4197
|
}
|
|
4190
4198
|
|
|
4191
4199
|
.o-tab:focus-visible {
|
|
4192
|
-
${
|
|
4200
|
+
${j};
|
|
4193
4201
|
}
|
|
4194
|
-
`;p1([l({type:String})],
|
|
4202
|
+
`;p1([l({type:String})],J.prototype,"text",2);p1([l({type:String})],J.prototype,"class",2);p1([l({type:String})],J.prototype,"data",2);p1([l({type:String,reflect:!0})],J.prototype,"link",2);p1([l({type:Boolean,reflect:!0})],J.prototype,"selected",2);p1([l({type:Boolean,reflect:!0})],J.prototype,"inactive",2);J=p1([v("o-tab")],J);var w8=Object.getOwnPropertyDescriptor,b8=(e,t,i,n)=>{for(var o=n>1?void 0:n?w8(t,i):t,s=e.length-1,r;s>=0;s--)(r=e[s])&&(o=r(o)||o);return o};let Y1=class extends p{constructor(){super(),this.addEventListener("selected",this.onTabSelected)}onTabSelected(e){var i;const t=(i=e.detail)==null?void 0:i.tab;t&&this.querySelectorAll("o-tab").forEach(n=>{n.selected=n===t})}firstUpdated(){const e=this.querySelectorAll("o-tab");!Array.from(e).some(t=>t.selected)&&e.length>0&&(e[0].selected=!0)}render(){return a`
|
|
4195
4203
|
<div role="tablist">
|
|
4196
4204
|
<slot></slot>
|
|
4197
4205
|
</div>
|
|
@@ -4257,7 +4265,7 @@
|
|
|
4257
4265
|
}
|
|
4258
4266
|
|
|
4259
4267
|
.header:focus-visible {
|
|
4260
|
-
${
|
|
4268
|
+
${j};
|
|
4261
4269
|
}
|
|
4262
4270
|
|
|
4263
4271
|
:host([disabled]) .header {
|
package/index.mjs
CHANGED
|
@@ -294,8 +294,8 @@ const t0 = (e, t) => {
|
|
|
294
294
|
let o, s = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", r = b1;
|
|
295
295
|
for (let c = 0; c < i; c++) {
|
|
296
296
|
const h = e[c];
|
|
297
|
-
let u, b, f = -1,
|
|
298
|
-
for (;
|
|
297
|
+
let u, b, f = -1, W = 0;
|
|
298
|
+
for (; W < h.length && (r.lastIndex = W, b = r.exec(h), b !== null); ) W = r.lastIndex, r === b1 ? b[1] === "!--" ? r = H2 : b[1] !== void 0 ? r = B2 : b[2] !== void 0 ? (P2.test(b[2]) && (o = RegExp("</" + b[2], "g")), r = r1) : b[3] !== void 0 && (r = r1) : r === r1 ? b[0] === ">" ? (r = o ?? b1, f = -1) : b[1] === void 0 ? f = -2 : (f = r.lastIndex - b[2].length, u = b[1], r = b[3] === void 0 ? r1 : b[3] === '"' ? E2 : $2) : r === E2 || r === $2 ? r = r1 : r === H2 || r === B2 ? r = b1 : (r = r1, o = void 0);
|
|
299
299
|
const e1 = r === r1 && e[c + 1].startsWith("/>") ? " " : "";
|
|
300
300
|
s += r === b1 ? h + J2 : f >= 0 ? (n.push(u), h.slice(0, f) + A2 + h.slice(f) + i1 + e1) : h + i1 + (f === -2 ? c : e1);
|
|
301
301
|
}
|
|
@@ -314,15 +314,15 @@ class H1 {
|
|
|
314
314
|
for (; (o = l1.nextNode()) !== null && h.length < c; ) {
|
|
315
315
|
if (o.nodeType === 1) {
|
|
316
316
|
if (o.hasAttributes()) for (const f of o.getAttributeNames()) if (f.endsWith(A2)) {
|
|
317
|
-
const
|
|
317
|
+
const W = b[r++], e1 = o.getAttribute(f).split(i1), S1 = /([.?@])?(.*)/.exec(W);
|
|
318
318
|
h.push({ type: 1, index: s, name: S1[2], strings: e1, ctor: S1[1] === "." ? i0 : S1[1] === "?" ? o0 : S1[1] === "@" ? n0 : I1 }), o.removeAttribute(f);
|
|
319
319
|
} else f.startsWith(i1) && (h.push({ type: 6, index: s }), o.removeAttribute(f));
|
|
320
320
|
if (P2.test(o.tagName)) {
|
|
321
|
-
const f = o.textContent.split(i1),
|
|
322
|
-
if (
|
|
321
|
+
const f = o.textContent.split(i1), W = f.length - 1;
|
|
322
|
+
if (W > 0) {
|
|
323
323
|
o.textContent = P1 ? P1.emptyScript : "";
|
|
324
|
-
for (let e1 = 0; e1 <
|
|
325
|
-
o.append(f[
|
|
324
|
+
for (let e1 = 0; e1 < W; e1++) o.append(f[e1], x1()), l1.nextNode(), h.push({ type: 2, index: ++s });
|
|
325
|
+
o.append(f[W], x1());
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
328
|
} else if (o.nodeType === 8) if (o.data === O2) h.push({ type: 2, index: s });
|
|
@@ -596,7 +596,7 @@ function l(e) {
|
|
|
596
596
|
* Copyright 2017 Google LLC
|
|
597
597
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
598
598
|
*/
|
|
599
|
-
function
|
|
599
|
+
function Q(e) {
|
|
600
600
|
return l({ ...e, state: !0, attribute: !1 });
|
|
601
601
|
}
|
|
602
602
|
/**
|
|
@@ -621,7 +621,7 @@ function n2(e, t) {
|
|
|
621
621
|
} });
|
|
622
622
|
};
|
|
623
623
|
}
|
|
624
|
-
const
|
|
624
|
+
const j = C`
|
|
625
625
|
outline: 1px dashed var(--color-border-primary);
|
|
626
626
|
outline-offset: 2px;
|
|
627
627
|
`;
|
|
@@ -1857,7 +1857,7 @@ const _2 = h2(h5);
|
|
|
1857
1857
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1858
1858
|
*/
|
|
1859
1859
|
const E = (e) => e ?? d;
|
|
1860
|
-
var d5 = Object.defineProperty, p5 = Object.getOwnPropertyDescriptor,
|
|
1860
|
+
var d5 = Object.defineProperty, p5 = Object.getOwnPropertyDescriptor, U = (e, t, i, n) => {
|
|
1861
1861
|
for (var o = n > 1 ? void 0 : n ? p5(t, i) : t, s = e.length - 1, r; s >= 0; s--)
|
|
1862
1862
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
1863
1863
|
return n && o && d5(t, i, o), o;
|
|
@@ -2004,7 +2004,11 @@ Z.styles = C`
|
|
|
2004
2004
|
stroke: none;
|
|
2005
2005
|
fill: var(--color-content-action-primary);
|
|
2006
2006
|
}
|
|
2007
|
-
|
|
2007
|
+
|
|
2008
|
+
.icon-button.icon-wishlist.none-light svg path {
|
|
2009
|
+
stroke: var(--color-content-action-primary);
|
|
2010
|
+
}
|
|
2011
|
+
|
|
2008
2012
|
.icon-button.none-light.icon-wishlist svg path {
|
|
2009
2013
|
fill: none;
|
|
2010
2014
|
}
|
|
@@ -2072,41 +2076,41 @@ Z.styles = C`
|
|
|
2072
2076
|
}
|
|
2073
2077
|
|
|
2074
2078
|
.icon-button:focus-visible {
|
|
2075
|
-
${
|
|
2079
|
+
${j}
|
|
2076
2080
|
}
|
|
2077
2081
|
|
|
2078
2082
|
.sr-only {
|
|
2079
2083
|
${s2}
|
|
2080
2084
|
}
|
|
2081
2085
|
`;
|
|
2082
|
-
|
|
2086
|
+
U([
|
|
2083
2087
|
l({ type: String, reflect: !0 })
|
|
2084
2088
|
], Z.prototype, "bgstyle", 2);
|
|
2085
|
-
|
|
2089
|
+
U([
|
|
2086
2090
|
l({ type: String, reflect: !0 })
|
|
2087
2091
|
], Z.prototype, "size", 2);
|
|
2088
|
-
|
|
2092
|
+
U([
|
|
2089
2093
|
l({ type: String, reflect: !0 })
|
|
2090
2094
|
], Z.prototype, "status", 2);
|
|
2091
|
-
|
|
2095
|
+
U([
|
|
2092
2096
|
l({ type: String, reflect: !0 })
|
|
2093
2097
|
], Z.prototype, "type", 2);
|
|
2094
|
-
|
|
2098
|
+
U([
|
|
2095
2099
|
l({ type: String })
|
|
2096
2100
|
], Z.prototype, "strokewidth", 2);
|
|
2097
|
-
|
|
2101
|
+
U([
|
|
2098
2102
|
l({ type: String })
|
|
2099
2103
|
], Z.prototype, "icon", 2);
|
|
2100
|
-
|
|
2104
|
+
U([
|
|
2101
2105
|
l({ type: Boolean, reflect: !0 })
|
|
2102
2106
|
], Z.prototype, "disabled", 2);
|
|
2103
|
-
|
|
2107
|
+
U([
|
|
2104
2108
|
l({ type: Boolean })
|
|
2105
2109
|
], Z.prototype, "showSrLabel", 2);
|
|
2106
|
-
|
|
2110
|
+
U([
|
|
2107
2111
|
l({ type: String })
|
|
2108
2112
|
], Z.prototype, "srLabel", 2);
|
|
2109
|
-
Z =
|
|
2113
|
+
Z = U([
|
|
2110
2114
|
v("o-icon-button")
|
|
2111
2115
|
], Z);
|
|
2112
2116
|
var C5 = Object.defineProperty, g5 = Object.getOwnPropertyDescriptor, w = (e, t, i, n) => {
|
|
@@ -2546,7 +2550,7 @@ g.styles = C`
|
|
|
2546
2550
|
|
|
2547
2551
|
.panel:focus-visible,
|
|
2548
2552
|
.close-btn:focus-visible {
|
|
2549
|
-
${
|
|
2553
|
+
${j}
|
|
2550
2554
|
}
|
|
2551
2555
|
|
|
2552
2556
|
[role="document"] {
|
|
@@ -2811,6 +2815,10 @@ m.styles = C`
|
|
|
2811
2815
|
outline: none !important;
|
|
2812
2816
|
}
|
|
2813
2817
|
|
|
2818
|
+
:host(.a--tabfocus) .button {
|
|
2819
|
+
${j};
|
|
2820
|
+
}
|
|
2821
|
+
|
|
2814
2822
|
:host([fullwidth]) {
|
|
2815
2823
|
width: 100%;
|
|
2816
2824
|
}
|
|
@@ -2915,7 +2923,7 @@ m.styles = C`
|
|
|
2915
2923
|
}
|
|
2916
2924
|
|
|
2917
2925
|
.button:focus-visible {
|
|
2918
|
-
${
|
|
2926
|
+
${j};
|
|
2919
2927
|
}
|
|
2920
2928
|
|
|
2921
2929
|
span.text + span.text::before {
|
|
@@ -3136,7 +3144,7 @@ u1.styles = C`
|
|
|
3136
3144
|
}
|
|
3137
3145
|
|
|
3138
3146
|
.wishlist-button:focus-visible {
|
|
3139
|
-
${
|
|
3147
|
+
${j};
|
|
3140
3148
|
}
|
|
3141
3149
|
|
|
3142
3150
|
.wishlist-button:hover svg path {
|
|
@@ -3178,7 +3186,7 @@ var m5 = Object.defineProperty, L5 = Object.getOwnPropertyDescriptor, h1 = (e, t
|
|
|
3178
3186
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
3179
3187
|
return n && o && m5(t, i, o), o;
|
|
3180
3188
|
};
|
|
3181
|
-
let
|
|
3189
|
+
let G = class extends p {
|
|
3182
3190
|
constructor() {
|
|
3183
3191
|
super(...arguments), this.href = "", this.target = "", this.template = "standard", this.inverse = !1, this.endIcon = !1, this.reverseEndIcon = !1;
|
|
3184
3192
|
}
|
|
@@ -3219,7 +3227,7 @@ let W = class extends p {
|
|
|
3219
3227
|
` : a`<span class="link-wrapper">${t}</span>`;
|
|
3220
3228
|
}
|
|
3221
3229
|
};
|
|
3222
|
-
|
|
3230
|
+
G.styles = C`
|
|
3223
3231
|
:host {
|
|
3224
3232
|
cursor: pointer;
|
|
3225
3233
|
}
|
|
@@ -3308,25 +3316,25 @@ W.styles = C`
|
|
|
3308
3316
|
`;
|
|
3309
3317
|
h1([
|
|
3310
3318
|
l({ type: String })
|
|
3311
|
-
],
|
|
3319
|
+
], G.prototype, "href", 2);
|
|
3312
3320
|
h1([
|
|
3313
3321
|
l({ type: String })
|
|
3314
|
-
],
|
|
3322
|
+
], G.prototype, "target", 2);
|
|
3315
3323
|
h1([
|
|
3316
3324
|
l({ type: String, reflect: !0 })
|
|
3317
|
-
],
|
|
3325
|
+
], G.prototype, "template", 2);
|
|
3318
3326
|
h1([
|
|
3319
3327
|
l({ type: Boolean, reflect: !0 })
|
|
3320
|
-
],
|
|
3328
|
+
], G.prototype, "inverse", 2);
|
|
3321
3329
|
h1([
|
|
3322
3330
|
l({ type: Boolean, reflect: !0 })
|
|
3323
|
-
],
|
|
3331
|
+
], G.prototype, "endIcon", 2);
|
|
3324
3332
|
h1([
|
|
3325
3333
|
l({ type: Boolean, reflect: !0 })
|
|
3326
|
-
],
|
|
3327
|
-
|
|
3334
|
+
], G.prototype, "reverseEndIcon", 2);
|
|
3335
|
+
G = h1([
|
|
3328
3336
|
v("o-link")
|
|
3329
|
-
],
|
|
3337
|
+
], G);
|
|
3330
3338
|
var y5 = Object.defineProperty, x5 = Object.getOwnPropertyDescriptor, T1 = (e, t, i, n) => {
|
|
3331
3339
|
for (var o = n > 1 ? void 0 : n ? x5(t, i) : t, s = e.length - 1, r; s >= 0; s--)
|
|
3332
3340
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
@@ -3410,7 +3418,7 @@ var V5 = Object.defineProperty, H5 = Object.getOwnPropertyDescriptor, s1 = (e, t
|
|
|
3410
3418
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
3411
3419
|
return n && o && V5(t, i, o), o;
|
|
3412
3420
|
};
|
|
3413
|
-
let
|
|
3421
|
+
let R = class extends p {
|
|
3414
3422
|
constructor() {
|
|
3415
3423
|
super(...arguments), this.thumbnails = [], this.activeIndex = 0, this.disabledIndexes = [], this.maxWidth = "100%", this.altressource = "visual", this.focusedIndex = 0, this.playerIconTemplate = a`
|
|
3416
3424
|
<o-icon-button
|
|
@@ -3501,7 +3509,7 @@ let j = class extends p {
|
|
|
3501
3509
|
`;
|
|
3502
3510
|
}
|
|
3503
3511
|
};
|
|
3504
|
-
|
|
3512
|
+
R.styles = C`
|
|
3505
3513
|
:host {
|
|
3506
3514
|
display: flex;
|
|
3507
3515
|
gap: 5px;
|
|
@@ -3608,28 +3616,28 @@ j.styles = C`
|
|
|
3608
3616
|
`;
|
|
3609
3617
|
s1([
|
|
3610
3618
|
l({ type: Array })
|
|
3611
|
-
],
|
|
3619
|
+
], R.prototype, "thumbnails", 2);
|
|
3612
3620
|
s1([
|
|
3613
3621
|
l({ type: Number })
|
|
3614
|
-
],
|
|
3622
|
+
], R.prototype, "activeIndex", 2);
|
|
3615
3623
|
s1([
|
|
3616
3624
|
l({ type: Array })
|
|
3617
|
-
],
|
|
3625
|
+
], R.prototype, "disabledIndexes", 2);
|
|
3618
3626
|
s1([
|
|
3619
3627
|
l({ type: String })
|
|
3620
|
-
],
|
|
3628
|
+
], R.prototype, "maxWidth", 2);
|
|
3621
3629
|
s1([
|
|
3622
3630
|
l({ type: String })
|
|
3623
|
-
],
|
|
3631
|
+
], R.prototype, "altressource", 2);
|
|
3624
3632
|
s1([
|
|
3625
3633
|
l({ type: Object })
|
|
3626
|
-
],
|
|
3634
|
+
], R.prototype, "swiperInstance", 2);
|
|
3627
3635
|
s1([
|
|
3628
|
-
|
|
3629
|
-
],
|
|
3630
|
-
|
|
3636
|
+
Q()
|
|
3637
|
+
], R.prototype, "focusedIndex", 2);
|
|
3638
|
+
R = s1([
|
|
3631
3639
|
v("thumbnail-navigation")
|
|
3632
|
-
],
|
|
3640
|
+
], R);
|
|
3633
3641
|
var B5 = Object.defineProperty, $5 = Object.getOwnPropertyDescriptor, p2 = (e, t, i, n) => {
|
|
3634
3642
|
for (var o = n > 1 ? void 0 : n ? $5(t, i) : t, s = e.length - 1, r; s >= 0; s--)
|
|
3635
3643
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
@@ -4114,13 +4122,13 @@ Y([
|
|
|
4114
4122
|
l({ type: String, reflect: !0 })
|
|
4115
4123
|
], I.prototype, "width", 2);
|
|
4116
4124
|
Y([
|
|
4117
|
-
|
|
4125
|
+
Q()
|
|
4118
4126
|
], I.prototype, "open", 2);
|
|
4119
4127
|
Y([
|
|
4120
|
-
|
|
4128
|
+
Q()
|
|
4121
4129
|
], I.prototype, "activeIndex", 2);
|
|
4122
4130
|
Y([
|
|
4123
|
-
|
|
4131
|
+
Q()
|
|
4124
4132
|
], I.prototype, "menuWidth", 2);
|
|
4125
4133
|
I = Y([
|
|
4126
4134
|
v("o-dropdown")
|
|
@@ -4181,7 +4189,7 @@ J1.styles = C`
|
|
|
4181
4189
|
J1 = F5([
|
|
4182
4190
|
v("o-dots")
|
|
4183
4191
|
], J1);
|
|
4184
|
-
var S5 = Object.defineProperty, A5 = Object.getOwnPropertyDescriptor,
|
|
4192
|
+
var S5 = Object.defineProperty, A5 = Object.getOwnPropertyDescriptor, N = (e, t, i, n) => {
|
|
4185
4193
|
for (var o = n > 1 ? void 0 : n ? A5(t, i) : t, s = e.length - 1, r; s >= 0; s--)
|
|
4186
4194
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
4187
4195
|
return n && o && S5(t, i, o), o;
|
|
@@ -4587,34 +4595,34 @@ _.styles = C`
|
|
|
4587
4595
|
display: none;
|
|
4588
4596
|
}
|
|
4589
4597
|
`;
|
|
4590
|
-
|
|
4598
|
+
N([
|
|
4591
4599
|
l({ type: Array, reflect: !0 })
|
|
4592
4600
|
], _.prototype, "options", 2);
|
|
4593
|
-
|
|
4601
|
+
N([
|
|
4594
4602
|
l({ type: String, reflect: !0 })
|
|
4595
4603
|
], _.prototype, "value", 2);
|
|
4596
|
-
|
|
4604
|
+
N([
|
|
4597
4605
|
l({ type: String, reflect: !0 })
|
|
4598
4606
|
], _.prototype, "name", 2);
|
|
4599
|
-
|
|
4607
|
+
N([
|
|
4600
4608
|
l({ type: String, reflect: !0 })
|
|
4601
4609
|
], _.prototype, "additionaltext", 2);
|
|
4602
|
-
|
|
4610
|
+
N([
|
|
4603
4611
|
l({ type: Boolean, reflect: !0 })
|
|
4604
4612
|
], _.prototype, "disabled", 2);
|
|
4605
|
-
|
|
4613
|
+
N([
|
|
4606
4614
|
l({ type: String, reflect: !0 })
|
|
4607
4615
|
], _.prototype, "width", 2);
|
|
4608
|
-
|
|
4609
|
-
|
|
4616
|
+
N([
|
|
4617
|
+
Q()
|
|
4610
4618
|
], _.prototype, "open", 2);
|
|
4611
|
-
|
|
4612
|
-
|
|
4619
|
+
N([
|
|
4620
|
+
Q()
|
|
4613
4621
|
], _.prototype, "activeIndex", 2);
|
|
4614
|
-
|
|
4615
|
-
|
|
4622
|
+
N([
|
|
4623
|
+
Q()
|
|
4616
4624
|
], _.prototype, "menuWidth", 2);
|
|
4617
|
-
_ =
|
|
4625
|
+
_ = N([
|
|
4618
4626
|
v("o-dropdown-variant")
|
|
4619
4627
|
], _);
|
|
4620
4628
|
/**
|
|
@@ -4876,7 +4884,7 @@ F.styles = C`
|
|
|
4876
4884
|
|
|
4877
4885
|
.o-chip:focus-visible,
|
|
4878
4886
|
.button:focus-visible {
|
|
4879
|
-
${
|
|
4887
|
+
${j};
|
|
4880
4888
|
}
|
|
4881
4889
|
|
|
4882
4890
|
span.text + span.text::before {
|
|
@@ -4954,7 +4962,7 @@ u2([
|
|
|
4954
4962
|
M1 = u2([
|
|
4955
4963
|
v("o-chipset")
|
|
4956
4964
|
], M1);
|
|
4957
|
-
var N5 = Object.defineProperty, q5 = Object.getOwnPropertyDescriptor,
|
|
4965
|
+
var N5 = Object.defineProperty, q5 = Object.getOwnPropertyDescriptor, q = (e, t, i, n) => {
|
|
4958
4966
|
for (var o = n > 1 ? void 0 : n ? q5(t, i) : t, s = e.length - 1, r; s >= 0; s--)
|
|
4959
4967
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
4960
4968
|
return n && o && N5(t, i, o), o;
|
|
@@ -5088,7 +5096,7 @@ S.styles = C`
|
|
|
5088
5096
|
}
|
|
5089
5097
|
|
|
5090
5098
|
.button:focus-visible {
|
|
5091
|
-
${
|
|
5099
|
+
${j};
|
|
5092
5100
|
}
|
|
5093
5101
|
|
|
5094
5102
|
span.text + span.text::before {
|
|
@@ -5129,34 +5137,34 @@ S.styles = C`
|
|
|
5129
5137
|
stroke-linecap: round;
|
|
5130
5138
|
}
|
|
5131
5139
|
`;
|
|
5132
|
-
|
|
5140
|
+
q([
|
|
5133
5141
|
l({ reflect: !0 })
|
|
5134
5142
|
], S.prototype, "name", 2);
|
|
5135
|
-
|
|
5143
|
+
q([
|
|
5136
5144
|
l({ reflect: !0 })
|
|
5137
5145
|
], S.prototype, "value", 2);
|
|
5138
|
-
|
|
5146
|
+
q([
|
|
5139
5147
|
l({ type: String, reflect: !0 })
|
|
5140
5148
|
], S.prototype, "type", 2);
|
|
5141
|
-
|
|
5149
|
+
q([
|
|
5142
5150
|
l({ type: String, reflect: !0 })
|
|
5143
5151
|
], S.prototype, "href", 2);
|
|
5144
|
-
|
|
5152
|
+
q([
|
|
5145
5153
|
l({ type: String, reflect: !0, attribute: "data-href" })
|
|
5146
5154
|
], S.prototype, "dataHref", 2);
|
|
5147
|
-
|
|
5155
|
+
q([
|
|
5148
5156
|
l({ type: String })
|
|
5149
5157
|
], S.prototype, "text", 2);
|
|
5150
|
-
|
|
5158
|
+
q([
|
|
5151
5159
|
l({ type: Boolean, reflect: !0 })
|
|
5152
5160
|
], S.prototype, "selected", 2);
|
|
5153
|
-
|
|
5161
|
+
q([
|
|
5154
5162
|
l({ type: Boolean, reflect: !0 })
|
|
5155
5163
|
], S.prototype, "disabled", 2);
|
|
5156
|
-
|
|
5164
|
+
q([
|
|
5157
5165
|
l({ type: Boolean, reflect: !0 })
|
|
5158
5166
|
], S.prototype, "fullwidth", 2);
|
|
5159
|
-
S =
|
|
5167
|
+
S = q([
|
|
5160
5168
|
v("o-filter-chip")
|
|
5161
5169
|
], S);
|
|
5162
5170
|
var W5 = Object.defineProperty, O = (e, t, i, n) => {
|
|
@@ -5814,7 +5822,7 @@ D([
|
|
|
5814
5822
|
M = D([
|
|
5815
5823
|
v("o-checkbox")
|
|
5816
5824
|
], M);
|
|
5817
|
-
var i8 = Object.defineProperty, o8 = Object.getOwnPropertyDescriptor,
|
|
5825
|
+
var i8 = Object.defineProperty, o8 = Object.getOwnPropertyDescriptor, K = (e, t, i, n) => {
|
|
5818
5826
|
for (var o = n > 1 ? void 0 : n ? o8(t, i) : t, s = e.length - 1, r; s >= 0; s--)
|
|
5819
5827
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
5820
5828
|
return n && o && i8(t, i, o), o;
|
|
@@ -5943,34 +5951,34 @@ A.styles = C`
|
|
|
5943
5951
|
height: 0;
|
|
5944
5952
|
}
|
|
5945
5953
|
`;
|
|
5946
|
-
|
|
5954
|
+
K([
|
|
5947
5955
|
l({ type: Boolean, reflect: !0 })
|
|
5948
5956
|
], A.prototype, "checked", 2);
|
|
5949
|
-
|
|
5957
|
+
K([
|
|
5950
5958
|
l({ type: Boolean, reflect: !0 })
|
|
5951
5959
|
], A.prototype, "disabled", 2);
|
|
5952
|
-
|
|
5960
|
+
K([
|
|
5953
5961
|
l({ type: String, reflect: !0 })
|
|
5954
5962
|
], A.prototype, "size", 2);
|
|
5955
|
-
|
|
5963
|
+
K([
|
|
5956
5964
|
l({ type: Boolean })
|
|
5957
5965
|
], A.prototype, "showLabel", 2);
|
|
5958
|
-
|
|
5966
|
+
K([
|
|
5959
5967
|
l({ type: String })
|
|
5960
5968
|
], A.prototype, "label", 2);
|
|
5961
|
-
|
|
5969
|
+
K([
|
|
5962
5970
|
l({ type: String })
|
|
5963
5971
|
], A.prototype, "name", 2);
|
|
5964
|
-
|
|
5972
|
+
K([
|
|
5965
5973
|
l({ type: String })
|
|
5966
5974
|
], A.prototype, "value", 2);
|
|
5967
|
-
|
|
5975
|
+
K([
|
|
5968
5976
|
l({ type: String, reflect: !0 })
|
|
5969
5977
|
], A.prototype, "inputId", 2);
|
|
5970
|
-
|
|
5978
|
+
K([
|
|
5971
5979
|
n2("input")
|
|
5972
5980
|
], A.prototype, "inputEl", 2);
|
|
5973
|
-
A =
|
|
5981
|
+
A = K([
|
|
5974
5982
|
v("o-radio")
|
|
5975
5983
|
], A);
|
|
5976
5984
|
var s8 = Object.getOwnPropertyDescriptor, r8 = (e, t, i, n) => {
|
|
@@ -6065,7 +6073,7 @@ k1.styles = C`
|
|
|
6065
6073
|
}
|
|
6066
6074
|
|
|
6067
6075
|
a:focus-visible {
|
|
6068
|
-
${
|
|
6076
|
+
${j};
|
|
6069
6077
|
}
|
|
6070
6078
|
|
|
6071
6079
|
:host(.a--tabfocus) {
|
|
@@ -6086,7 +6094,7 @@ var c8 = Object.defineProperty, h8 = Object.getOwnPropertyDescriptor, d1 = (e, t
|
|
|
6086
6094
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
6087
6095
|
return n && o && c8(t, i, o), o;
|
|
6088
6096
|
};
|
|
6089
|
-
let
|
|
6097
|
+
let X = class extends p {
|
|
6090
6098
|
constructor() {
|
|
6091
6099
|
super(...arguments), this.imageUrl = "", this.imageAlt = "", this.hoverUrl = "", this.hoverAlt = "", this.dimmed = !1, this.showHover = !1;
|
|
6092
6100
|
}
|
|
@@ -6105,7 +6113,7 @@ let G = class extends p {
|
|
|
6105
6113
|
</div>`;
|
|
6106
6114
|
}
|
|
6107
6115
|
};
|
|
6108
|
-
|
|
6116
|
+
X.styles = C`
|
|
6109
6117
|
:host {
|
|
6110
6118
|
--card-width : 175px;
|
|
6111
6119
|
--card-height : 260px;
|
|
@@ -6192,25 +6200,25 @@ G.styles = C`
|
|
|
6192
6200
|
`;
|
|
6193
6201
|
d1([
|
|
6194
6202
|
l({ type: String })
|
|
6195
|
-
],
|
|
6203
|
+
], X.prototype, "imageUrl", 2);
|
|
6196
6204
|
d1([
|
|
6197
6205
|
l({ type: String })
|
|
6198
|
-
],
|
|
6206
|
+
], X.prototype, "imageAlt", 2);
|
|
6199
6207
|
d1([
|
|
6200
6208
|
l({ type: String })
|
|
6201
|
-
],
|
|
6209
|
+
], X.prototype, "hoverUrl", 2);
|
|
6202
6210
|
d1([
|
|
6203
6211
|
l({ type: String })
|
|
6204
|
-
],
|
|
6212
|
+
], X.prototype, "hoverAlt", 2);
|
|
6205
6213
|
d1([
|
|
6206
6214
|
l({ type: Boolean, reflect: !0 })
|
|
6207
|
-
],
|
|
6215
|
+
], X.prototype, "dimmed", 2);
|
|
6208
6216
|
d1([
|
|
6209
6217
|
l({ type: Boolean, reflect: !0, attribute: "showhover" })
|
|
6210
|
-
],
|
|
6211
|
-
|
|
6218
|
+
], X.prototype, "showHover", 2);
|
|
6219
|
+
X = d1([
|
|
6212
6220
|
v("o-arch-image")
|
|
6213
|
-
],
|
|
6221
|
+
], X);
|
|
6214
6222
|
const d8 = `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
6215
6223
|
<svg
|
|
6216
6224
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
@@ -6609,10 +6617,10 @@ H([
|
|
|
6609
6617
|
l({ type: Boolean, attribute: "hide-header-on-scroll" })
|
|
6610
6618
|
], y.prototype, "hideHeaderOnScroll", 2);
|
|
6611
6619
|
H([
|
|
6612
|
-
|
|
6620
|
+
Q()
|
|
6613
6621
|
], y.prototype, "_labelId", 2);
|
|
6614
6622
|
H([
|
|
6615
|
-
|
|
6623
|
+
Q()
|
|
6616
6624
|
], y.prototype, "_headerHidden", 2);
|
|
6617
6625
|
customElements.define("o-popin", y);
|
|
6618
6626
|
var g8 = Object.defineProperty, u8 = Object.getOwnPropertyDescriptor, x = (e, t, i, n) => {
|
|
@@ -6920,7 +6928,7 @@ var v8 = Object.defineProperty, f8 = Object.getOwnPropertyDescriptor, p1 = (e, t
|
|
|
6920
6928
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
6921
6929
|
return n && o && v8(t, i, o), o;
|
|
6922
6930
|
};
|
|
6923
|
-
let
|
|
6931
|
+
let J = class extends p {
|
|
6924
6932
|
constructor() {
|
|
6925
6933
|
super(...arguments), this.text = "", this.class = "", this.data = "", this.link = "", this.selected = !1, this.inactive = !1;
|
|
6926
6934
|
}
|
|
@@ -6951,7 +6959,7 @@ let X = class extends p {
|
|
|
6951
6959
|
`;
|
|
6952
6960
|
}
|
|
6953
6961
|
};
|
|
6954
|
-
|
|
6962
|
+
J.styles = C`
|
|
6955
6963
|
:host {
|
|
6956
6964
|
position: relative;
|
|
6957
6965
|
cursor: pointer;
|
|
@@ -7025,30 +7033,30 @@ X.styles = C`
|
|
|
7025
7033
|
}
|
|
7026
7034
|
|
|
7027
7035
|
.o-tab:focus-visible {
|
|
7028
|
-
${
|
|
7036
|
+
${j};
|
|
7029
7037
|
}
|
|
7030
7038
|
`;
|
|
7031
7039
|
p1([
|
|
7032
7040
|
l({ type: String })
|
|
7033
|
-
],
|
|
7041
|
+
], J.prototype, "text", 2);
|
|
7034
7042
|
p1([
|
|
7035
7043
|
l({ type: String })
|
|
7036
|
-
],
|
|
7044
|
+
], J.prototype, "class", 2);
|
|
7037
7045
|
p1([
|
|
7038
7046
|
l({ type: String })
|
|
7039
|
-
],
|
|
7047
|
+
], J.prototype, "data", 2);
|
|
7040
7048
|
p1([
|
|
7041
7049
|
l({ type: String, reflect: !0 })
|
|
7042
|
-
],
|
|
7050
|
+
], J.prototype, "link", 2);
|
|
7043
7051
|
p1([
|
|
7044
7052
|
l({ type: Boolean, reflect: !0 })
|
|
7045
|
-
],
|
|
7053
|
+
], J.prototype, "selected", 2);
|
|
7046
7054
|
p1([
|
|
7047
7055
|
l({ type: Boolean, reflect: !0 })
|
|
7048
|
-
],
|
|
7049
|
-
|
|
7056
|
+
], J.prototype, "inactive", 2);
|
|
7057
|
+
J = p1([
|
|
7050
7058
|
v("o-tab")
|
|
7051
|
-
],
|
|
7059
|
+
], J);
|
|
7052
7060
|
var w8 = Object.getOwnPropertyDescriptor, b8 = (e, t, i, n) => {
|
|
7053
7061
|
for (var o = n > 1 ? void 0 : n ? w8(t, i) : t, s = e.length - 1, r; s >= 0; s--)
|
|
7054
7062
|
(r = e[s]) && (o = r(o) || o);
|
|
@@ -7165,7 +7173,7 @@ w1.styles = C`
|
|
|
7165
7173
|
}
|
|
7166
7174
|
|
|
7167
7175
|
.header:focus-visible {
|
|
7168
|
-
${
|
|
7176
|
+
${j};
|
|
7169
7177
|
}
|
|
7170
7178
|
|
|
7171
7179
|
:host([disabled]) .header {
|