@florid-kit/components 0.9.25 → 0.9.26
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 +45 -49
- package/index.mjs +84 -88
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -10,17 +10,17 @@
|
|
|
10
10
|
* @license
|
|
11
11
|
* Copyright 2017 Google LLC
|
|
12
12
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13
|
-
*/const ut=globalThis,Lt=ut.trustedTypes,he=Lt?Lt.createPolicy("lit-html",{createHTML:o=>o}):void 0,me="$lit$",W=`lit$${Math.random().toFixed(9).slice(2)}$`,xe="?"+W,De=`<${xe}>`,it=document,ft=()=>it.createComment(""),
|
|
13
|
+
*/const ut=globalThis,Lt=ut.trustedTypes,he=Lt?Lt.createPolicy("lit-html",{createHTML:o=>o}):void 0,me="$lit$",W=`lit$${Math.random().toFixed(9).slice(2)}$`,xe="?"+W,De=`<${xe}>`,it=document,ft=()=>it.createComment(""),bt=o=>o===null||typeof o!="object"&&typeof o!="function",Zt=Array.isArray,He=o=>Zt(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",Dt=`[
|
|
14
14
|
\f\r]`,dt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,de=/-->/g,pe=/>/g,tt=RegExp(`>|${Dt}(?:([^\\s"'>=/]+)(${Dt}*=${Dt}*(?:[^
|
|
15
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),ue=/'/g,ve=/"/g,we=/^(?:script|style|textarea|title)$/i,Me=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),l=Me(1),X=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),fe=new WeakMap,et=it.createTreeWalker(it,129);function $e(o,t){if(!Zt(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return he!==void 0?he.createHTML(t):t}const Te=(o,t)=>{const e=o.length-1,n=[];let i,r=t===2?"<svg>":t===3?"<math>":"",s=dt;for(let c=0;c<e;c++){const h=o[c];let m,w,f=-1,U=0;for(;U<h.length&&(s.lastIndex=U,w=s.exec(h),w!==null);)U=s.lastIndex,s===dt?w[1]==="!--"?s=de:w[1]!==void 0?s=pe:w[2]!==void 0?(we.test(w[2])&&(i=RegExp("</"+w[2],"g")),s=tt):w[3]!==void 0&&(s=tt):s===tt?w[0]===">"?(s=i??dt,f=-1):w[1]===void 0?f=-2:(f=s.lastIndex-w[2].length,m=w[1],s=w[3]===void 0?tt:w[3]==='"'?ve:ue):s===ve||s===ue?s=tt:s===de||s===pe?s=dt:(s=tt,i=void 0);const K=s===tt&&o[c+1].startsWith("/>")?" ":"";r+=s===dt?h+De:f>=0?(n.push(m),h.slice(0,f)+me+h.slice(f)+W+K):h+W+(f===-2?c:K)}return[$e(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]};class
|
|
15
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),ue=/'/g,ve=/"/g,we=/^(?:script|style|textarea|title)$/i,Me=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),l=Me(1),X=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),fe=new WeakMap,et=it.createTreeWalker(it,129);function $e(o,t){if(!Zt(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return he!==void 0?he.createHTML(t):t}const Te=(o,t)=>{const e=o.length-1,n=[];let i,r=t===2?"<svg>":t===3?"<math>":"",s=dt;for(let c=0;c<e;c++){const h=o[c];let m,w,f=-1,U=0;for(;U<h.length&&(s.lastIndex=U,w=s.exec(h),w!==null);)U=s.lastIndex,s===dt?w[1]==="!--"?s=de:w[1]!==void 0?s=pe:w[2]!==void 0?(we.test(w[2])&&(i=RegExp("</"+w[2],"g")),s=tt):w[3]!==void 0&&(s=tt):s===tt?w[0]===">"?(s=i??dt,f=-1):w[1]===void 0?f=-2:(f=s.lastIndex-w[2].length,m=w[1],s=w[3]===void 0?tt:w[3]==='"'?ve:ue):s===ve||s===ue?s=tt:s===de||s===pe?s=dt:(s=tt,i=void 0);const K=s===tt&&o[c+1].startsWith("/>")?" ":"";r+=s===dt?h+De:f>=0?(n.push(m),h.slice(0,f)+me+h.slice(f)+W+K):h+W+(f===-2?c:K)}return[$e(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]};class gt{constructor({strings:t,_$litType$:e},n){let i;this.parts=[];let r=0,s=0;const c=t.length-1,h=this.parts,[m,w]=Te(t,e);if(this.el=gt.createElement(m,n),et.currentNode=this.el.content,e===2||e===3){const f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=et.nextNode())!==null&&h.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(const f of i.getAttributeNames())if(f.endsWith(me)){const U=w[s++],K=i.getAttribute(f).split(W),Et=/([.?@])?(.*)/.exec(U);h.push({type:1,index:r,name:Et[2],strings:K,ctor:Et[1]==="."?Fe:Et[1]==="?"?Re:Et[1]==="@"?Ue:zt}),i.removeAttribute(f)}else f.startsWith(W)&&(h.push({type:6,index:r}),i.removeAttribute(f));if(we.test(i.tagName)){const f=i.textContent.split(W),U=f.length-1;if(U>0){i.textContent=Lt?Lt.emptyScript:"";for(let K=0;K<U;K++)i.append(f[K],ft()),et.nextNode(),h.push({type:2,index:++r});i.append(f[U],ft())}}}else if(i.nodeType===8)if(i.data===xe)h.push({type:2,index:r});else{let f=-1;for(;(f=i.data.indexOf(W,f+1))!==-1;)h.push({type:7,index:r}),f+=W.length-1}r++}}static createElement(t,e){const n=it.createElement("template");return n.innerHTML=t,n}}function lt(o,t,e=o,n){var s,c;if(t===X)return t;let i=n!==void 0?(s=e._$Co)==null?void 0:s[n]:e._$Cl;const r=bt(t)?void 0:t._$litDirective$;return(i==null?void 0:i.constructor)!==r&&((c=i==null?void 0:i._$AO)==null||c.call(i,!1),r===void 0?i=void 0:(i=new r(o),i._$AT(o,e,n)),n!==void 0?(e._$Co??(e._$Co=[]))[n]=i:e._$Cl=i),i!==void 0&&(t=lt(o,i._$AS(o,t.values),i,n)),t}class je{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:n}=this._$AD,i=((t==null?void 0:t.creationScope)??it).importNode(e,!0);et.currentNode=i;let r=et.nextNode(),s=0,c=0,h=n[0];for(;h!==void 0;){if(s===h.index){let m;h.type===2?m=new _t(r,r.nextSibling,this,t):h.type===1?m=new h.ctor(r,h.name,h.strings,this,t):h.type===6&&(m=new Ne(r,this,t)),this._$AV.push(m),h=n[++c]}s!==(h==null?void 0:h.index)&&(r=et.nextNode(),s++)}return et.currentNode=it,i}p(t){let e=0;for(const n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,e),e+=n.strings.length-2):n._$AI(t[e])),e++}}class _t{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,n,i){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=n,this.options=i,this._$Cv=(i==null?void 0:i.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=lt(this,t,e),bt(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==X&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):He(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&&bt(this._$AH)?this._$AA.nextSibling.data=t:this.T(it.createTextNode(t)),this._$AH=t}$(t){var r;const{values:e,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=gt.createElement($e(n.h,n.h[0]),this.options)),n);if(((r=this._$AH)==null?void 0:r._$AD)===i)this._$AH.p(e);else{const s=new je(i,this),c=s.u(this.options);s.p(e),this.T(c),this._$AH=s}}_$AC(t){let e=fe.get(t.strings);return e===void 0&&fe.set(t.strings,e=new gt(t)),e}k(t){Zt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let n,i=0;for(const r of t)i===e.length?e.push(n=new _t(this.O(ft()),this.O(ft()),this,this.options)):n=e[i],n._$AI(r),i++;i<e.length&&(this._$AR(n&&n._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var n;for((n=this._$AP)==null?void 0:n.call(this,!1,!0,e);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class zt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,n,i,r){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=d}_$AI(t,e=this,n,i){const r=this.strings;let s=!1;if(r===void 0)t=lt(this,t,e,0),s=!bt(t)||t!==this._$AH&&t!==X,s&&(this._$AH=t);else{const c=t;let h,m;for(t=r[0],h=0;h<r.length-1;h++)m=lt(this,c[n+h],e,h),m===X&&(m=this._$AH[h]),s||(s=!bt(m)||m!==this._$AH[h]),m===d?t=d:t!==d&&(t+=(m??"")+r[h+1]),this._$AH[h]=m}s&&!i&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Fe extends zt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}}class Re extends zt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}}class Ue extends zt{constructor(t,e,n,i,r){super(t,e,n,i,r),this.type=5}_$AI(t,e=this){if((t=lt(this,t,e,0)??d)===X)return;const n=this._$AH,i=t===d&&n!==d||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,r=t!==d&&(n===d||i);i&&this.element.removeEventListener(this.name,this,n),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;typeof this._$AH=="function"?this._$AH.call(((e=this.options)==null?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class Ne{constructor(t,e,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){lt(this,t)}}const Ht=ut.litHtmlPolyfillSupport;Ht==null||Ht(gt,_t),(ut.litHtmlVersions??(ut.litHtmlVersions=[])).push("3.3.0");const Ve=(o,t,e)=>{const n=(e==null?void 0:e.renderBefore)??t;let i=n._$litPart$;if(i===void 0){const r=(e==null?void 0:e.renderBefore)??null;n._$litPart$=i=new _t(t.insertBefore(ft(),r),r,void 0,e??{})}return i._$AI(o),i};/**
|
|
16
16
|
* @license
|
|
17
17
|
* Copyright 2017 Google LLC
|
|
18
18
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
19
|
-
*/const ot=globalThis;let p=class extends at{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e;const t=super.createRenderRoot();return(e=this.renderOptions).renderBefore??(e.renderBefore=t.firstChild),t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Ve(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return X}};var
|
|
19
|
+
*/const ot=globalThis;let p=class extends at{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e;const t=super.createRenderRoot();return(e=this.renderOptions).renderBefore??(e.renderBefore=t.firstChild),t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Ve(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return X}};var ge;p._$litElement$=!0,p.finalized=!0,(ge=ot.litElementHydrateSupport)==null||ge.call(ot,{LitElement:p});const Mt=ot.litElementPolyfillSupport;Mt==null||Mt({LitElement:p});(ot.litElementVersions??(ot.litElementVersions=[])).push("4.2.0");/**
|
|
20
20
|
* @license
|
|
21
21
|
* Copyright 2017 Google LLC
|
|
22
22
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
23
|
-
*/const
|
|
23
|
+
*/const b=o=>(t,e)=>{e!==void 0?e.addInitializer(()=>{customElements.define(o,t)}):customElements.define(o,t)};/**
|
|
24
24
|
* @license
|
|
25
25
|
* Copyright 2017 Google LLC
|
|
26
26
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -119,11 +119,11 @@
|
|
|
119
119
|
`,fo=`<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
120
120
|
<path d="M5.24611 10.4659C5.04705 10.4654 4.85616 10.3867 4.71465 10.2467L0.210718 5.74273C-0.0737595 5.44819 -0.0696911 4.98 0.219862 4.69045C0.509415 4.4009 0.977603 4.39683 1.27214 4.6813L5.18306 8.59071L10.6628 1.74024C10.9219 1.41646 11.3945 1.36403 11.7183 1.62314C12.042 1.88225 12.0945 2.35477 11.8354 2.67856L5.83012 10.1851C5.69763 10.3521 5.49956 10.4539 5.28665 10.4643L5.24611 10.4659Z" fill="#3F2B2E"/>
|
|
121
121
|
</svg>
|
|
122
|
-
`,
|
|
122
|
+
`,bo=`<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
123
123
|
<rect x="1" width="2" height="8" fill="#3F2B2E"/>
|
|
124
124
|
<rect x="5" width="2" height="8" fill="#3F2B2E"/>
|
|
125
125
|
</svg>
|
|
126
|
-
`,
|
|
126
|
+
`,go=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
127
127
|
<path d="M10.5037 5.99925C10.7795 5.99925 11.0037 6.22311 11.0037 6.49925V14.2922L13.1462 12.1448C13.3411 11.9498 13.6573 11.95 13.8523 12.1448H13.8533C14.0482 12.34 14.0481 12.6565 13.8533 12.8518L10.8572 15.8518C10.6618 16.0471 10.3455 16.0471 10.1501 15.8518L7.15406 12.8518C6.96522 12.6557 6.96774 12.3444 7.15992 12.1516C7.35242 11.9588 7.66416 11.9556 7.86011 12.1448L10.0046 14.2922V6.49925C10.0046 6.22319 10.228 5.99938 10.5037 5.99925ZM5.15699 0.145737C5.35218 -0.0485278 5.66791 -0.0486304 5.86304 0.145737L8.85913 3.14574C9.04829 3.34183 9.04562 3.65402 8.85327 3.84691C8.66066 4.03978 8.34902 4.04225 8.15308 3.85277L6.00952 1.70628V9.49925C6.0095 9.77533 5.78621 9.99918 5.5105 9.99925C5.23473 9.99925 5.0115 9.77538 5.01148 9.49925V1.70628L2.86695 3.85179C2.74288 3.98695 2.55447 4.04321 2.37671 3.99828C2.1991 3.95328 2.06051 3.81475 2.01538 3.63695C1.97026 3.45902 2.02608 3.27015 2.16089 3.14574L5.15699 0.145737Z" fill="#001022"/>
|
|
128
128
|
</svg>
|
|
129
129
|
`,yo=`<svg viewBox="0 0 200 200" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
</svg>
|
|
147
147
|
`,_o=`<svg xmlns="http://www.w3.org/2000/svg" width="10" height="8" viewBox="0 0 10 8" fill="none">
|
|
148
148
|
<path d="M1 4.5415L3 6.5415L9 0.541504" stroke="#FBF9F6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
149
|
-
</svg>`,N={wishlist:Ge,playerv:Xe,chevronRight:Ye,chevronLeft:Je,icoPlus:so,icoMinus:ao,"star-0":Qe,"star-25":to,"star-50":eo,"star-75":oo,"star-100":io,cross:no,search:ro,arrowLeft:lo,arrowTop:co,cart:ho,notifyme:po,triangledown:uo,triangleup:vo,checkstroke:fo,pause:
|
|
149
|
+
</svg>`,N={wishlist:Ge,playerv:Xe,chevronRight:Ye,chevronLeft:Je,icoPlus:so,icoMinus:ao,"star-0":Qe,"star-25":to,"star-50":eo,"star-75":oo,"star-100":io,cross:no,search:ro,arrowLeft:lo,arrowTop:co,cart:ho,notifyme:po,triangledown:uo,triangleup:vo,checkstroke:fo,pause:bo,mapDualArrow:go,swipeDualArrow:mo,backToBag:ko,checkbox:_o},Co={strikeDiagonal:yo},Eo={success:xo,error:wo,info:$o};/**
|
|
150
150
|
* @license
|
|
151
151
|
* Copyright 2017 Google LLC
|
|
152
152
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
* @license
|
|
167
167
|
* Copyright 2017 Google LLC
|
|
168
168
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
169
|
-
*/const vt=(o,t)=>{var n;const e=o._$AN;if(e===void 0)return!1;for(const i of e)(n=i._$AO)==null||n.call(i,t,!1),vt(i,t);return!0},Bt=o=>{let t,e;do{if((t=o._$AM)===void 0)break;e=t._$AN,e.delete(o),o=t}while((e==null?void 0:e.size)===0)},_e=o=>{for(let t;t=o._$AM;o=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(o))break;e.add(o),Bo(t)}};function Ao(o){this._$AN!==void 0?(Bt(this),this._$AM=o,_e(this)):this._$AM=o}function Lo(o,t=!1,e=0){const n=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(t)if(Array.isArray(n))for(let r=e;r<n.length;r++)vt(n[r],!1),Bt(n[r]);else n!=null&&(vt(n,!1),Bt(n));else vt(this,o)}const Bo=o=>{o.type==Gt.CHILD&&(o._$AP??(o._$AP=Lo),o._$AQ??(o._$AQ=Ao))};class zo extends Yt{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,n){super._$AT(t,e,n),_e(this),this.isConnected=t._$AU}_$AO(t,e=!0){var n,i;t!==this.isConnected&&(this.isConnected=t,t?(n=this.reconnected)==null||n.call(this):(i=this.disconnected)==null||i.call(this)),e&&(vt(this,t),Bt(this))}setValue(t){if(So(this._$Ct))this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}class Oo extends zo{constructor(){super(...arguments),this.prevData={}}render(t){return d}update(t,[e]){var n;this.element!==t.element&&(this.element=t.element),this.host=((n=t.options)===null||n===void 0?void 0:n.host)||this.element,this.apply(e),this.groom(e),this.prevData={...e}}apply(t){if(!t)return;const{prevData:e,element:n}=this;for(const i in t){const r=t[i];r!==e[i]&&(n[i]=r)}}groom(t){const{prevData:e,element:n}=this;if(e)for(const i in e)(!t||!(i in t)&&n[i]===e[i])&&(n[i]=void 0)}}class Po extends Oo{constructor(){super(...arguments),this.eventData={}}apply(t){if(t)for(const e in t){const n=t[e];n!==this.eventData[e]&&this.applyEvent(e,n)}}applyEvent(t,e){const{prevData:n,element:i}=this;this.eventData[t]=e,n[t]&&i.removeEventListener(t,this,e),i.addEventListener(t,this,e)}groom(t){const{prevData:e,element:n}=this;if(e)for(const i in e)(!t||!(i in t)&&n[i]===e[i])&&this.groomEvent(i,e[i])}groomEvent(t,e){const{element:n}=this;delete this.eventData[t],n.removeEventListener(t,this,e)}handleEvent(t){const e=this.eventData[t.type];typeof e=="function"?e.call(this.host,t):e.handleEvent(t)}disconnected(){const{eventData:t,element:e}=this;for(const n in t){const i=n.slice(1),r=t[n];e.removeEventListener(i,this,r)}}reconnected(){const{eventData:t,element:e}=this;for(const n in t){const i=n.slice(1),r=t[n];e.addEventListener(i,this,r)}}}class Io extends Po{apply(t){if(!t)return;const{prevData:e,element:n}=this;for(const i in t){const r=t[i];if(r===e[i])continue;const s=i.slice(1);switch(i[0]){case"@":this.eventData[s]=r,this.applyEvent(s,r);break;case".":n[s]=r;break;case"?":r?n.setAttribute(s,""):n.removeAttribute(s);break;default:r!=null?n.setAttribute(i,String(r)):n.removeAttribute(i);break}}}groom(t){const{prevData:e,element:n}=this;if(e)for(const i in e){const r=i.slice(1);if(!t||!(i in t)&&n[r]===e[i])switch(i[0]){case"@":this.groomEvent(r,e[i]);break;case".":n[r]=void 0;break;case"?":n.removeAttribute(r);break;default:n.removeAttribute(i);break}}}}const
|
|
169
|
+
*/const vt=(o,t)=>{var n;const e=o._$AN;if(e===void 0)return!1;for(const i of e)(n=i._$AO)==null||n.call(i,t,!1),vt(i,t);return!0},Bt=o=>{let t,e;do{if((t=o._$AM)===void 0)break;e=t._$AN,e.delete(o),o=t}while((e==null?void 0:e.size)===0)},_e=o=>{for(let t;t=o._$AM;o=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(o))break;e.add(o),Bo(t)}};function Ao(o){this._$AN!==void 0?(Bt(this),this._$AM=o,_e(this)):this._$AM=o}function Lo(o,t=!1,e=0){const n=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(t)if(Array.isArray(n))for(let r=e;r<n.length;r++)vt(n[r],!1),Bt(n[r]);else n!=null&&(vt(n,!1),Bt(n));else vt(this,o)}const Bo=o=>{o.type==Gt.CHILD&&(o._$AP??(o._$AP=Lo),o._$AQ??(o._$AQ=Ao))};class zo extends Yt{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,n){super._$AT(t,e,n),_e(this),this.isConnected=t._$AU}_$AO(t,e=!0){var n,i;t!==this.isConnected&&(this.isConnected=t,t?(n=this.reconnected)==null||n.call(this):(i=this.disconnected)==null||i.call(this)),e&&(vt(this,t),Bt(this))}setValue(t){if(So(this._$Ct))this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}class Oo extends zo{constructor(){super(...arguments),this.prevData={}}render(t){return d}update(t,[e]){var n;this.element!==t.element&&(this.element=t.element),this.host=((n=t.options)===null||n===void 0?void 0:n.host)||this.element,this.apply(e),this.groom(e),this.prevData={...e}}apply(t){if(!t)return;const{prevData:e,element:n}=this;for(const i in t){const r=t[i];r!==e[i]&&(n[i]=r)}}groom(t){const{prevData:e,element:n}=this;if(e)for(const i in e)(!t||!(i in t)&&n[i]===e[i])&&(n[i]=void 0)}}class Po extends Oo{constructor(){super(...arguments),this.eventData={}}apply(t){if(t)for(const e in t){const n=t[e];n!==this.eventData[e]&&this.applyEvent(e,n)}}applyEvent(t,e){const{prevData:n,element:i}=this;this.eventData[t]=e,n[t]&&i.removeEventListener(t,this,e),i.addEventListener(t,this,e)}groom(t){const{prevData:e,element:n}=this;if(e)for(const i in e)(!t||!(i in t)&&n[i]===e[i])&&this.groomEvent(i,e[i])}groomEvent(t,e){const{element:n}=this;delete this.eventData[t],n.removeEventListener(t,this,e)}handleEvent(t){const e=this.eventData[t.type];typeof e=="function"?e.call(this.host,t):e.handleEvent(t)}disconnected(){const{eventData:t,element:e}=this;for(const n in t){const i=n.slice(1),r=t[n];e.removeEventListener(i,this,r)}}reconnected(){const{eventData:t,element:e}=this;for(const n in t){const i=n.slice(1),r=t[n];e.addEventListener(i,this,r)}}}class Io extends Po{apply(t){if(!t)return;const{prevData:e,element:n}=this;for(const i in t){const r=t[i];if(r===e[i])continue;const s=i.slice(1);switch(i[0]){case"@":this.eventData[s]=r,this.applyEvent(s,r);break;case".":n[s]=r;break;case"?":r?n.setAttribute(s,""):n.removeAttribute(s);break;default:r!=null?n.setAttribute(i,String(r)):n.removeAttribute(i);break}}}groom(t){const{prevData:e,element:n}=this;if(e)for(const i in e){const r=i.slice(1);if(!t||!(i in t)&&n[r]===e[i])switch(i[0]){case"@":this.groomEvent(r,e[i]);break;case".":n[r]=void 0;break;case"?":n.removeAttribute(r);break;default:n.removeAttribute(i);break}}}}const be=Xt(Io);/**
|
|
170
170
|
* @license
|
|
171
171
|
* Copyright 2018 Google LLC
|
|
172
172
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -397,7 +397,7 @@
|
|
|
397
397
|
.sr-only {
|
|
398
398
|
display: none;
|
|
399
399
|
}
|
|
400
|
-
`;M([a({type:String,reflect:!0})],S.prototype,"bgstyle",2);M([a({type:String,reflect:!0})],S.prototype,"size",2);M([a({type:String,reflect:!0})],S.prototype,"status",2);M([a({type:String,reflect:!0})],S.prototype,"type",2);M([a({type:String})],S.prototype,"strokewidth",2);M([a({type:String})],S.prototype,"icon",2);M([a({type:Boolean,reflect:!0})],S.prototype,"disabled",2);M([a({type:Boolean})],S.prototype,"showSrLabel",2);M([a({type:String})],S.prototype,"srLabel",2);S=M([
|
|
400
|
+
`;M([a({type:String,reflect:!0})],S.prototype,"bgstyle",2);M([a({type:String,reflect:!0})],S.prototype,"size",2);M([a({type:String,reflect:!0})],S.prototype,"status",2);M([a({type:String,reflect:!0})],S.prototype,"type",2);M([a({type:String})],S.prototype,"strokewidth",2);M([a({type:String})],S.prototype,"icon",2);M([a({type:Boolean,reflect:!0})],S.prototype,"disabled",2);M([a({type:Boolean})],S.prototype,"showSrLabel",2);M([a({type:String})],S.prototype,"srLabel",2);S=M([b("o-icon-button")],S);var Mo=Object.defineProperty,To=Object.getOwnPropertyDescriptor,g=(o,t,e,n)=>{for(var i=n>1?void 0:n?To(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Mo(t,e,i),i};let u=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.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._onOpenDetail=async o=>{var e,n;const t=((e=o.detail)==null?void 0:e.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 i=(n=this.shadowRoot)==null?void 0:n.querySelector(".detail-view");i&&i.setAttribute("fromelement",this._detailOriginClass)}this._setPriceTabindex(),await this.focusDetailReturnBtn()},this._detailOriginEl=null,this._detailOriginClass="",this.handleKeyDown=o=>{this.open&&(o.key==="Escape"?this.closePanel():o.key==="Tab"&&this.trapFocus(o))},this.handleClosePanel=o=>{if(o instanceof KeyboardEvent&&o.key!=="Enter"&&o.key!==" ")return;o.preventDefault(),o.stopPropagation();const t=o.currentTarget,e=(t==null?void 0:t.getAttribute("data-role"))==="back";if(this.showDetail&&e){this.isHidingDetail=!0;const n=this.renderRoot.querySelector(".content"),i=async()=>{this.showDetail=!1,this.isHidingDetail=!1,this.showHeaderStartIcon=!1,await this.updateComplete,this._restoreFocusToOrigin()};if(n){this.showHeaderStartIcon=!1;const r=()=>{this.showDetail=!1,this.isHidingDetail=!1,n.removeEventListener("animationend",r),i()};n.addEventListener("animationend",r)}else this.showDetail=!1,this.isHidingDetail=!1,this.showHeaderStartIcon=!1;return}this.closePanel()},this._onDetailSlotChange=o=>{const n=o.target.assignedElements({flatten:!0}).flatMap(i=>Array.from(i.querySelectorAll("img")))[0];n&&(n.setAttribute("role","img"),n.hasAttribute("tabindex")||n.setAttribute("tabindex","-1"))}}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)}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 i,r,s,c,h;await this.updateComplete;const o=this.getDeepActiveElement(document);if(o&&o!==document.body)try{o.blur()}catch{}await new Promise(requestAnimationFrame);const t=(i=this.shadowRoot)==null?void 0:i.querySelector(".detail-view .return-btn");if(!t)return;t.updateComplete&&await t.updateComplete,(c=(s=((r=t.shadowRoot)==null?void 0:r.querySelector("button"))??t)==null?void 0:s.focus)==null||c.call(s,{preventScroll:!0});const n=(h=this.shadowRoot)==null?void 0:h.querySelector('.panel[role="dialog"]');n&&n.setAttribute("aria-label",this.headerTitle)}_setPriceTabindex(){var n;const o=(n=this.shadowRoot)==null?void 0:n.querySelector('slot[name="detail"]');if(!o)return;const e=o.assignedElements({flatten:!0}).flatMap(i=>Array.from(i.querySelectorAll(".m-product-price-standard")));for(const i of e)i.hasAttribute("tabindex")||i.setAttribute("tabindex","0")}_restoreFocusToOrigin(){var t,e;const o=this._detailOriginEl;!o||!document.contains(o)||((e=(t=document.activeElement)==null?void 0:t.blur)==null||e.call(t),requestAnimationFrame(()=>{var i;o.classList.add("a--tabfocus"),(((i=o.shadowRoot)==null?void 0:i.querySelector('button, .button, [tabindex]:not([tabindex="-1"])'))??null??o).focus({preventScroll:!0})}))}getDeepActiveElement(o=this.shadowRoot){let t=o.activeElement;for(;t&&t.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;return t}trapFocus(o){if(o.key!=="Tab")return;const t=this.getDeepActiveElement(),e=this.renderRoot.querySelector(".close-btn");if(!o.shiftKey&&e&&e.contains(t)){o.preventDefault();const n=this.renderRoot.querySelector(".o-whats-inside--content p");n==null||n.focus()}}getFocusableElements(){const o=this.renderRoot.querySelector(".panel");if(!o)return[];function t(i){return!(i.disabled||i.hasAttribute("disabled")||i.hasAttribute("tabindex")&&i.getAttribute("tabindex")==="-1")}function e(i){var s;const r=[i.matches(u.focusablesSelector)?i:[]];if(!["o-icon-button","o-button"].includes(i.tagName.toLowerCase())){const c=Array.from(i instanceof HTMLSlotElement?i.assignedElements({flatten:!0}):[]).filter(t).flatMap(e),h=Array.from(((s=i.shadowRoot)==null?void 0:s.querySelectorAll("*"))||[]).filter(t).flatMap(e);r.push(...c,...h)}return r.flat()}return Array.from(o.querySelectorAll("*")).filter(t).flatMap(e)}openPanel(){this.removeAttribute("hidden"),this.getBoundingClientRect(),this.previousFocusedElement=document.activeElement,this.open=!0,document.body.style.overflow="hidden",document.body.setAttribute("data-side-panel","open");const o=this.renderRoot.querySelector(".panel");o&&o.setAttribute("aria-modal","true"),this.updateComplete.then(()=>{var t,e,n,i;if(this.showHeader){const r=((t=this.shadowRoot)==null?void 0:t.querySelector(".panel .close-btn"))||null,s=((e=r==null?void 0:r.shadowRoot)==null?void 0:e.querySelector("button"))||null;s&&((n=s.focus)==null||n.call(s))}else{const r=this.getFocusableElements()[0];(i=r==null?void 0:r.focus)==null||i.call(r)}}),this.dispatchEvent(new CustomEvent("open",{bubbles:!0,composed:!0}))}closePanel(){var t,e,n,i,r;this.open=!1,this.showDetail=!1,document.body.style.overflow="",document.body.removeAttribute("data-side-panel"),((t=this.previousFocusedElement)==null?void 0:t.tagName.toLowerCase())==="o-button"?(i=(n=(e=this.previousFocusedElement.shadowRoot)==null?void 0:e.querySelector(".button"))==null?void 0:n.focus)==null||i.call(n):(r=this.previousFocusedElement)==null||r.focus();const o=this.renderRoot.querySelector(".panel");o&&o.removeAttribute("aria-modal"),this.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0}))}handleFirstClick(o){o instanceof KeyboardEvent&&o.key!=="Enter"&&o.key!==" "||(o.preventDefault(),o.stopPropagation(),this.onFirstButtonClickClose&&this.closePanel(),this.dispatchEvent(new CustomEvent("firstbuttonclick",{bubbles:!0,composed:!0,cancelable:!0,detail:{button:"first",target:o.target}})))}handleSecondClick(o){o instanceof KeyboardEvent&&o.key!=="Enter"&&o.key!==" "||(o.preventDefault(),o.stopPropagation(),this.onSecondButtonClickClose&&this.closePanel(),this.dispatchEvent(new CustomEvent("secondbuttonclick",{bubbles:!0,composed:!0,cancelable:!0,detail:{button:"second",target:o.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 o=this.showHeader?l`
|
|
401
401
|
<div tabindex="-1" class="header ${this.showDetail?"detail-view-header":""}">
|
|
402
402
|
${this.showHeaderStartIcon?l`
|
|
403
403
|
<o-icon-button
|
|
@@ -459,7 +459,7 @@
|
|
|
459
459
|
variant="${this.firstButtonVariant}"
|
|
460
460
|
@click=${this.handleFirstClick}
|
|
461
461
|
@keydown=${this.handleFirstClick}
|
|
462
|
-
${
|
|
462
|
+
${be(this.firstButtonProps)}
|
|
463
463
|
>
|
|
464
464
|
${this.firstButtonLabel}
|
|
465
465
|
</o-button>
|
|
@@ -470,7 +470,7 @@
|
|
|
470
470
|
variant="${this.secondButtonVariant}"
|
|
471
471
|
@click=${this.handleSecondClick}
|
|
472
472
|
@keydown=${this.handleSecondClick}
|
|
473
|
-
${
|
|
473
|
+
${be(this.secondButtonProps)}
|
|
474
474
|
>
|
|
475
475
|
${this.secondButtonLabel}
|
|
476
476
|
</o-button>
|
|
@@ -680,7 +680,7 @@
|
|
|
680
680
|
.detail-content {
|
|
681
681
|
padding: var(--spacing-xl);
|
|
682
682
|
}
|
|
683
|
-
`;u.focusablesSelector='button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), o-icon-button, o-button';u.focusablesCustomElementsSelector="o-icon-button, o-button";
|
|
683
|
+
`;u.focusablesSelector='button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), o-icon-button, o-button';u.focusablesCustomElementsSelector="o-icon-button, o-button";g([a({type:Boolean,reflect:!0})],u.prototype,"open",2);g([a({type:Boolean,reflect:!0})],u.prototype,"showHeader",2);g([a({type:Boolean,reflect:!0})],u.prototype,"showFooter",2);g([a({type:Boolean,reflect:!0})],u.prototype,"showHeaderStartIcon",2);g([a({type:String,reflect:!0})],u.prototype,"headerTitle",2);g([a({type:String,reflect:!0})],u.prototype,"headerTitleClassName",2);g([a({type:String,reflect:!0})],u.prototype,"labelDialog",2);g([a({type:String,reflect:!0})],u.prototype,"closeButtonLabel",2);g([a({type:String,reflect:!0})],u.prototype,"goBackButtonLabel",2);g([a({type:String,reflect:!0})],u.prototype,"firstButtonLabel",2);g([a({type:String,reflect:!0})],u.prototype,"firstButtonVariant",2);g([a({type:Object,reflect:!0})],u.prototype,"firstButtonProps",2);g([a({type:Boolean,reflect:!0})],u.prototype,"onFirstButtonClickClose",2);g([a({type:String,reflect:!0})],u.prototype,"secondButtonLabel",2);g([a({type:String,reflect:!0})],u.prototype,"secondButtonVariant",2);g([a({type:Object,reflect:!0})],u.prototype,"secondButtonProps",2);g([a({type:Boolean,reflect:!0})],u.prototype,"onSecondButtonClickClose",2);g([a({type:Boolean,reflect:!0})],u.prototype,"disablePortal",2);g([a({type:Number,reflect:!0})],u.prototype,"zIndex",2);g([a({type:Boolean,reflect:!0})],u.prototype,"initialized",2);g([a({type:Boolean})],u.prototype,"showDetail",2);g([a({type:Boolean})],u.prototype,"isHidingDetail",2);u=g([b("o-side-panel")],u);var jo=Object.defineProperty,Fo=Object.getOwnPropertyDescriptor,x=(o,t,e,n)=>{for(var i=n>1?void 0:n?Fo(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&jo(t,e,i),i};const Ro=Wt(p);let y=class extends Ro{constructor(){super(...arguments),this.type="submit",this.value="",this.variant="primary",this.text="",this.textsecond="",this.fullwidth=!1,this.disabled=!1,this.startIconModel="",this.endIconModel="",this.startIcon=!1,this.endIcon=!1,this.panelTarget="",this.href="",this.target="",this.underlined=!1,this.withbadge=!1}get name(){return this.getAttribute("name")??""}set name(o){this.setAttribute("name",o)}get form(){return this[Kt].form}handleClick(o){if(!(o instanceof KeyboardEvent&&!["Enter"," "].includes(o.key))&&this.panelTarget){const t=document.getElementById(this.panelTarget);t instanceof u&&(t!=null&&t.openPanel)&&typeof t.openPanel=="function"?(o.preventDefault(),t.openPanel()):console.warn(`[o-button] No side panel with id="${this.panelTarget}" found or it does not have an openPanel method.`)}}render(){return this.href?this.renderLink():this.renderButton()}renderIcon(o){const t=o==="start"?this.startIconModel:this.endIconModel;if(!t)return d;const e=N[t].replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"');return l`<span class="${o==="start"?"icon-start":"icon-end"}">${$(e)}</span>`}renderButton(){const o=this.text||this.textsecond;return l`
|
|
684
684
|
<button type=${this.type} class="button" ?disabled=${this.disabled} @click=${this.handleClick} @keydown=${this.handleClick}>
|
|
685
685
|
${this.startIcon?this.renderIcon("start"):d}
|
|
686
686
|
${o?l`
|
|
@@ -909,7 +909,7 @@
|
|
|
909
909
|
transform: translateX(4px);
|
|
910
910
|
}
|
|
911
911
|
//End icon movment on hover
|
|
912
|
-
`;x([a()],y.prototype,"type",2);x([a()],y.prototype,"value",2);x([a({type:String,reflect:!0})],y.prototype,"variant",2);x([a({type:String})],y.prototype,"text",2);x([a({type:String})],y.prototype,"textsecond",2);x([a({type:Boolean,reflect:!0})],y.prototype,"fullwidth",2);x([a({type:Boolean,reflect:!0})],y.prototype,"disabled",2);x([a({type:String})],y.prototype,"startIconModel",2);x([a({type:String})],y.prototype,"endIconModel",2);x([a({type:Boolean,reflect:!0,attribute:"starticon"})],y.prototype,"startIcon",2);x([a({type:Boolean,reflect:!0,attribute:"endicon"})],y.prototype,"endIcon",2);x([a({type:String,attribute:"paneltarget"})],y.prototype,"panelTarget",2);x([a({type:String})],y.prototype,"href",2);x([a({type:String})],y.prototype,"target",2);x([a({type:Boolean,reflect:!0})],y.prototype,"underlined",2);x([a({type:Boolean,reflect:!0})],y.prototype,"withbadge",2);y=x([
|
|
912
|
+
`;x([a()],y.prototype,"type",2);x([a()],y.prototype,"value",2);x([a({type:String,reflect:!0})],y.prototype,"variant",2);x([a({type:String})],y.prototype,"text",2);x([a({type:String})],y.prototype,"textsecond",2);x([a({type:Boolean,reflect:!0})],y.prototype,"fullwidth",2);x([a({type:Boolean,reflect:!0})],y.prototype,"disabled",2);x([a({type:String})],y.prototype,"startIconModel",2);x([a({type:String})],y.prototype,"endIconModel",2);x([a({type:Boolean,reflect:!0,attribute:"starticon"})],y.prototype,"startIcon",2);x([a({type:Boolean,reflect:!0,attribute:"endicon"})],y.prototype,"endIcon",2);x([a({type:String,attribute:"paneltarget"})],y.prototype,"panelTarget",2);x([a({type:String})],y.prototype,"href",2);x([a({type:String})],y.prototype,"target",2);x([a({type:Boolean,reflect:!0})],y.prototype,"underlined",2);x([a({type:Boolean,reflect:!0})],y.prototype,"withbadge",2);y=x([b("o-button")],y);var Uo=Object.defineProperty,No=Object.getOwnPropertyDescriptor,Ot=(o,t,e,n)=>{for(var i=n>1?void 0:n?No(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Uo(t,e,i),i};let ct=class extends p{constructor(){super(...arguments),this.status="empty",this.ariaDescribedBy="a-product-name",this.label="Add to wishlist",this.toggleStatus=()=>{this.status=this.status==="empty"?"filled":"empty",this.setAttribute("aria-pressed",String(this.status==="filled")),this.dispatchEvent(new CustomEvent("wishlist-toggle",{detail:{status:this.status},bubbles:!0,composed:!0}))}}connectedCallback(){super.connectedCallback(),this.setAttribute("role","button"),this.setAttribute("aria-pressed",String(this.status==="filled"))}firstUpdated(){this.addEventListener("click",this.toggleStatus),this.addEventListener("keydown",this.handleKeydown)}handleKeydown(o){(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),this.toggleStatus())}render(){const o=N.wishlist.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"');return l`
|
|
913
913
|
<button type="button" aria-describedby="${this.ariaDescribedBy}" class="wishlist-button">
|
|
914
914
|
<span class="sr-only">${this.label}</span>
|
|
915
915
|
${$(o)}
|
|
@@ -978,7 +978,7 @@
|
|
|
978
978
|
width: 0.1rem !important;
|
|
979
979
|
white-space: nowrap !important;
|
|
980
980
|
}
|
|
981
|
-
`;Ot([a({type:String,reflect:!0})],ct.prototype,"status",2);Ot([a({type:String,reflect:!0})],ct.prototype,"ariaDescribedBy",2);Ot([a({type:String,reflect:!0})],ct.prototype,"label",2);ct=Ot([
|
|
981
|
+
`;Ot([a({type:String,reflect:!0})],ct.prototype,"status",2);Ot([a({type:String,reflect:!0})],ct.prototype,"ariaDescribedBy",2);Ot([a({type:String,reflect:!0})],ct.prototype,"label",2);ct=Ot([b("o-wishlist-button")],ct);var Vo=Object.defineProperty,qo=Object.getOwnPropertyDescriptor,st=(o,t,e,n)=>{for(var i=n>1?void 0:n?qo(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Vo(t,e,i),i};let V=class extends p{constructor(){super(...arguments),this.href="",this.target="",this.template="standard",this.inverse=!1,this.endIcon=!1,this.reverseEndIcon=!1}_handleClick(o){(!this.href||this.href==="#")&&o.preventDefault(),this.dispatchEvent(new CustomEvent("click",{detail:{href:this.href},bubbles:!0,composed:!0}))}render(){const o=this.href||"#";return l`
|
|
982
982
|
<a
|
|
983
983
|
href="${o}"
|
|
984
984
|
target="${E(this.target||void 0)}"
|
|
@@ -1091,7 +1091,7 @@
|
|
|
1091
1091
|
height: 1px;
|
|
1092
1092
|
}
|
|
1093
1093
|
/* End of underline effect */
|
|
1094
|
-
`;st([a({type:String})],V.prototype,"href",2);st([a({type:String})],V.prototype,"target",2);st([a({type:String,reflect:!0})],V.prototype,"template",2);st([a({type:Boolean,reflect:!0})],V.prototype,"inverse",2);st([a({type:Boolean,reflect:!0})],V.prototype,"endIcon",2);st([a({type:Boolean,reflect:!0})],V.prototype,"reverseEndIcon",2);V=st([
|
|
1094
|
+
`;st([a({type:String})],V.prototype,"href",2);st([a({type:String})],V.prototype,"target",2);st([a({type:String,reflect:!0})],V.prototype,"template",2);st([a({type:Boolean,reflect:!0})],V.prototype,"inverse",2);st([a({type:Boolean,reflect:!0})],V.prototype,"endIcon",2);st([a({type:Boolean,reflect:!0})],V.prototype,"reverseEndIcon",2);V=st([b("o-link")],V);var Zo=Object.defineProperty,Ko=Object.getOwnPropertyDescriptor,Pt=(o,t,e,n)=>{for(var i=n>1?void 0:n?Ko(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Zo(t,e,i),i};let ht=class extends p{constructor(){super(...arguments),this.rating=0}getStarKeys(){const o=[];for(let t=0;t<5;t++){const e=this.rating-t;let n;e>=1?n=100:e<=0?n=0:n=Math.round(e*100/25)*25,o.push(`star-${n}`)}return o}render(){const o=this.getStarKeys();return l`
|
|
1095
1095
|
<div class="rating">
|
|
1096
1096
|
<div class="stars">
|
|
1097
1097
|
${o.map(t=>l`<span class="star">${$(N[t]??"")}</span>`)}
|
|
@@ -1131,7 +1131,7 @@
|
|
|
1131
1131
|
text-decoration: underline;
|
|
1132
1132
|
cursor: pointer;
|
|
1133
1133
|
}
|
|
1134
|
-
`;Pt([a({type:Number})],ht.prototype,"rating",2);Pt([a({type:String})],ht.prototype,"reviewCount",2);Pt([a({type:String})],ht.prototype,"href",2);ht=Pt([
|
|
1134
|
+
`;Pt([a({type:Number})],ht.prototype,"rating",2);Pt([a({type:String})],ht.prototype,"reviewCount",2);Pt([a({type:String})],ht.prototype,"href",2);ht=Pt([b("o-rating")],ht);var Wo=Object.defineProperty,Go=Object.getOwnPropertyDescriptor,J=(o,t,e,n)=>{for(var i=n>1?void 0:n?Go(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Wo(t,e,i),i};let H=class extends p{constructor(){super(...arguments),this.thumbnails=[],this.activeIndex=0,this.disabledIndexes=[],this.maxWidth="100%",this.altressource="visual",this.focusedIndex=0,this.playerIconTemplate=l`
|
|
1135
1135
|
<o-icon-button
|
|
1136
1136
|
icon="playerv"
|
|
1137
1137
|
size="xsmall"
|
|
@@ -1265,7 +1265,7 @@
|
|
|
1265
1265
|
height: 0;
|
|
1266
1266
|
width: 0;
|
|
1267
1267
|
}
|
|
1268
|
-
`;J([a({type:Array})],H.prototype,"thumbnails",2);J([a({type:Number})],H.prototype,"activeIndex",2);J([a({type:Array})],H.prototype,"disabledIndexes",2);J([a({type:String})],H.prototype,"maxWidth",2);J([a({type:String})],H.prototype,"altressource",2);J([a({type:Object})],H.prototype,"swiperInstance",2);J([Y()],H.prototype,"focusedIndex",2);H=J([
|
|
1268
|
+
`;J([a({type:Array})],H.prototype,"thumbnails",2);J([a({type:Number})],H.prototype,"activeIndex",2);J([a({type:Array})],H.prototype,"disabledIndexes",2);J([a({type:String})],H.prototype,"maxWidth",2);J([a({type:String})],H.prototype,"altressource",2);J([a({type:Object})],H.prototype,"swiperInstance",2);J([Y()],H.prototype,"focusedIndex",2);H=J([b("thumbnail-navigation")],H);var Xo=Object.defineProperty,Yo=Object.getOwnPropertyDescriptor,Jt=(o,t,e,n)=>{for(var i=n>1?void 0:n?Yo(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Xo(t,e,i),i};let yt=class extends p{constructor(){super(...arguments),this.type="",this.bgstyle="background-white"}render(){return l`
|
|
1269
1269
|
<span class="tag ${this.bgstyle}"><slot></slot></span>
|
|
1270
1270
|
`}};yt.styles=v`
|
|
1271
1271
|
.tag {
|
|
@@ -1324,7 +1324,7 @@
|
|
|
1324
1324
|
}
|
|
1325
1325
|
}
|
|
1326
1326
|
|
|
1327
|
-
`;Jt([a({type:String,reflect:!0})],yt.prototype,"type",2);Jt([a({type:String,reflect:!0})],yt.prototype,"bgstyle",2);yt=Jt([
|
|
1327
|
+
`;Jt([a({type:String,reflect:!0})],yt.prototype,"type",2);Jt([a({type:String,reflect:!0})],yt.prototype,"bgstyle",2);yt=Jt([b("o-tag")],yt);var Jo=Object.defineProperty,Qo=Object.getOwnPropertyDescriptor,Qt=(o,t,e,n)=>{for(var i=n>1?void 0:n?Qo(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Jo(t,e,i),i};let mt=class extends p{constructor(){super(...arguments),this.type="top",this.text=""}render(){return l`
|
|
1328
1328
|
<div class="tooltip">
|
|
1329
1329
|
<span class="tooltiptext">${this.text}</span>
|
|
1330
1330
|
<slot></slot>
|
|
@@ -1421,7 +1421,7 @@
|
|
|
1421
1421
|
border-color: transparent var(--color-alpha-dark-strongest) transparent transparent;
|
|
1422
1422
|
}
|
|
1423
1423
|
|
|
1424
|
-
`;Qt([a({type:String,reflect:!0})],mt.prototype,"type",2);Qt([a({type:String,reflect:!0})],mt.prototype,"text",2);mt=Qt([
|
|
1424
|
+
`;Qt([a({type:String,reflect:!0})],mt.prototype,"type",2);Qt([a({type:String,reflect:!0})],mt.prototype,"text",2);mt=Qt([b("o-tooltip")],mt);var ti=Object.defineProperty,ei=Object.getOwnPropertyDescriptor,q=(o,t,e,n)=>{for(var i=n>1?void 0:n?ei(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&ti(t,e,i),i};let P=class extends p{constructor(){super(...arguments),this.options=[],this.value="",this.name="",this.disabled=!1,this.width="100%",this.open=!1,this.activeIndex=-1,this.menuWidth="",this._handleOutsideClick=o=>{this.contains(o.target)||(this.open=!1,this.activeIndex=-1)}}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleOutsideClick)}disconnectedCallback(){document.removeEventListener("click",this._handleOutsideClick),super.disconnectedCallback()}toggle(){var o;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=(o=this.renderRoot)==null?void 0:o.querySelector("button");t&&(this.menuWidth=`${t.getBoundingClientRect().width}px`)}this.open&&this.updateComplete.then(()=>{this._focusActiveOption()})}}_focusActiveOption(){var t;const o=(t=this.renderRoot)==null?void 0:t.querySelector(`#option-${this.activeIndex}`);o==null||o.focus()}selectOption(o){this.value=o.value,this.dispatchEvent(new CustomEvent("change",{detail:{value:this.value,url:o.url}})),this.open=!1,this.activeIndex=-1}handleKeydown(o){if(this.disabled){o.preventDefault();return}if(!this.open){(o.key==="ArrowDown"||o.key==="ArrowUp")&&(o.preventDefault(),this.open=!0,this.activeIndex=this.options.findIndex(t=>t.value===this.value),this.updateComplete.then(()=>this._focusActiveOption()));return}switch(o.key){case"ArrowDown":o.preventDefault(),this.activeIndex=(this.activeIndex+1)%this.options.length,this.updateComplete.then(()=>this._focusActiveOption());break;case"ArrowUp":o.preventDefault(),this.activeIndex=(this.activeIndex-1+this.options.length)%this.options.length,this.updateComplete.then(()=>this._focusActiveOption());break;case"Home":o.preventDefault(),this.activeIndex=0,this.updateComplete.then(()=>this._focusActiveOption());break;case"End":o.preventDefault(),this.activeIndex=this.options.length-1,this.updateComplete.then(()=>this._focusActiveOption());break;case"Enter":o.preventDefault(),this.activeIndex>=0&&this.selectOption(this.options[this.activeIndex]);break;case"Escape":o.preventDefault(),this.open=!1,this.activeIndex=-1;break}}updated(o){this.options.length>0&&(this.options.some(e=>e.value===this.value)||(this.value=this.options[0].value))}render(){const o=N.checkstroke.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"'),t=this.options.find(e=>e.value===this.value);return l`
|
|
1425
1425
|
<button
|
|
1426
1426
|
role="combobox"
|
|
1427
1427
|
aria-haspopup="listbox"
|
|
@@ -1608,7 +1608,7 @@
|
|
|
1608
1608
|
input[type="hidden"] {
|
|
1609
1609
|
display: none;
|
|
1610
1610
|
}
|
|
1611
|
-
`;q([a({type:Array,reflect:!0})],P.prototype,"options",2);q([a({type:String,reflect:!0})],P.prototype,"value",2);q([a({type:String,reflect:!0})],P.prototype,"name",2);q([a({type:Boolean,reflect:!0})],P.prototype,"disabled",2);q([a({type:String,reflect:!0})],P.prototype,"width",2);q([Y()],P.prototype,"open",2);q([Y()],P.prototype,"activeIndex",2);q([Y()],P.prototype,"menuWidth",2);P=q([
|
|
1611
|
+
`;q([a({type:Array,reflect:!0})],P.prototype,"options",2);q([a({type:String,reflect:!0})],P.prototype,"value",2);q([a({type:String,reflect:!0})],P.prototype,"name",2);q([a({type:Boolean,reflect:!0})],P.prototype,"disabled",2);q([a({type:String,reflect:!0})],P.prototype,"width",2);q([Y()],P.prototype,"open",2);q([Y()],P.prototype,"activeIndex",2);q([Y()],P.prototype,"menuWidth",2);P=q([b("o-dropdown")],P);var oi=Object.getOwnPropertyDescriptor,ii=(o,t,e,n)=>{for(var i=n>1?void 0:n?oi(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=s(i)||i);return i};let Rt=class extends p{render(){return l` <span class="dots"></span> `}};Rt.styles=v`
|
|
1612
1612
|
:host {
|
|
1613
1613
|
display: flex;
|
|
1614
1614
|
align-items: center;
|
|
@@ -1659,7 +1659,7 @@
|
|
|
1659
1659
|
background-color: var(--color-container-action-primary-pressed);
|
|
1660
1660
|
}
|
|
1661
1661
|
}
|
|
1662
|
-
`;Rt=ii([
|
|
1662
|
+
`;Rt=ii([b("o-dots")],Rt);var ni=Object.defineProperty,ri=Object.getOwnPropertyDescriptor,T=(o,t,e,n)=>{for(var i=n>1?void 0:n?ri(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&ni(t,e,i),i};let A=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._handleOutsideClick=o=>{this.contains(o.target)||(this.open=!1,this.activeIndex=-1)}}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleOutsideClick)}disconnectedCallback(){document.removeEventListener("click",this._handleOutsideClick),super.disconnectedCallback()}toggle(){var o;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=(o=this.renderRoot)==null?void 0:o.querySelector("button");t&&(this.menuWidth=`${t.getBoundingClientRect().width}px`)}this.open&&this.updateComplete.then(()=>this._focusActiveOption())}}_focusActiveOption(){var t;const o=(t=this.renderRoot)==null?void 0:t.querySelector(`#option-${this.activeIndex}`);o==null||o.focus()}selectOption(o){this.value=o.value,this.dispatchEvent(new CustomEvent("change",{detail:{value:this.value,url:o.url}})),this.open=!1,this.activeIndex=-1}handleKeydown(o){if(this.disabled){o.preventDefault();return}if(!this.open){(o.key==="ArrowDown"||o.key==="ArrowUp")&&(o.preventDefault(),this.open=!0,this.activeIndex=this.options.findIndex(t=>t.value===this.value),this.updateComplete.then(()=>this._focusActiveOption()));return}switch(o.key){case"ArrowDown":o.preventDefault(),this.activeIndex=(this.activeIndex+1)%this.options.length,this.updateComplete.then(()=>this._focusActiveOption());break;case"ArrowUp":o.preventDefault(),this.activeIndex=(this.activeIndex-1+this.options.length)%this.options.length,this.updateComplete.then(()=>this._focusActiveOption());break;case"Home":o.preventDefault(),this.activeIndex=0,this.updateComplete.then(()=>this._focusActiveOption());break;case"End":o.preventDefault(),this.activeIndex=this.options.length-1,this.updateComplete.then(()=>this._focusActiveOption());break;case"Enter":o.preventDefault(),this.activeIndex>=0&&this.selectOption(this.options[this.activeIndex]);break;case"Escape":o.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 o=N.checkstroke.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"'),t=this.options.find(e=>e.value===this.value);return l`
|
|
1663
1663
|
<button
|
|
1664
1664
|
role="combobox"
|
|
1665
1665
|
aria-haspopup="listbox"
|
|
@@ -1896,7 +1896,7 @@
|
|
|
1896
1896
|
input[type="hidden"] {
|
|
1897
1897
|
display: none;
|
|
1898
1898
|
}
|
|
1899
|
-
`;T([a({type:Array,reflect:!0})],A.prototype,"options",2);T([a({type:String,reflect:!0})],A.prototype,"value",2);T([a({type:String,reflect:!0})],A.prototype,"name",2);T([a({type:String,reflect:!0})],A.prototype,"additionaltext",2);T([a({type:Boolean,reflect:!0})],A.prototype,"disabled",2);T([a({type:String,reflect:!0})],A.prototype,"width",2);T([Y()],A.prototype,"open",2);T([Y()],A.prototype,"activeIndex",2);T([Y()],A.prototype,"menuWidth",2);A=T([
|
|
1899
|
+
`;T([a({type:Array,reflect:!0})],A.prototype,"options",2);T([a({type:String,reflect:!0})],A.prototype,"value",2);T([a({type:String,reflect:!0})],A.prototype,"name",2);T([a({type:String,reflect:!0})],A.prototype,"additionaltext",2);T([a({type:Boolean,reflect:!0})],A.prototype,"disabled",2);T([a({type:String,reflect:!0})],A.prototype,"width",2);T([Y()],A.prototype,"open",2);T([Y()],A.prototype,"activeIndex",2);T([Y()],A.prototype,"menuWidth",2);A=T([b("o-dropdown-variant")],A);/**
|
|
1900
1900
|
* @license
|
|
1901
1901
|
* Copyright 2018 Google LLC
|
|
1902
1902
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -1987,7 +1987,7 @@
|
|
|
1987
1987
|
overflow: hidden;
|
|
1988
1988
|
}
|
|
1989
1989
|
}
|
|
1990
|
-
`;te([a({type:Object,reflect:!0})],xt.prototype,"option",2);te([a({type:Number,reflect:!0})],xt.prototype,"imageSize",2);xt=te([
|
|
1990
|
+
`;te([a({type:Object,reflect:!0})],xt.prototype,"option",2);te([a({type:Number,reflect:!0})],xt.prototype,"imageSize",2);xt=te([b("o-reassurance")],xt);var hi=Object.defineProperty,di=Object.getOwnPropertyDescriptor,Z=(o,t,e,n)=>{for(var i=n>1?void 0:n?di(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&hi(t,e,i),i};const pi=Wt(p);let L=class extends pi{constructor(){super(...arguments),this.link="",this.name="",this.value="",this.text="",this.size="standard",this.selected=!1,this.fullwidth=!1,this.inactive=!1}handleClick(o){this.selected||(this.selected=!0);const t={selected:this.selected},e=new CustomEvent("selected",{detail:t,bubbles:!0,composed:!0,cancelable:!0});this.dispatchEvent(e),e.defaultPrevented&&o.preventDefault(),this.selected=t.selected}render(){const o=this.text;return this.link?l`
|
|
1991
1991
|
<a href="${this.link}" class="o-chip" tabindex="${this.inactive?"-1":"0"}" aria-hidden="${this.inactive?"true":"false"}">
|
|
1992
1992
|
${o?this.text:l`<slot></slot>`}
|
|
1993
1993
|
</a>
|
|
@@ -2085,7 +2085,7 @@
|
|
|
2085
2085
|
display: inline-flex;
|
|
2086
2086
|
align-items: center;
|
|
2087
2087
|
}
|
|
2088
|
-
`;Z([a({type:String,reflect:!0})],L.prototype,"link",2);Z([a({reflect:!0})],L.prototype,"name",2);Z([a({reflect:!0})],L.prototype,"value",2);Z([a({type:String})],L.prototype,"text",2);Z([a({type:String,reflect:!0})],L.prototype,"size",2);Z([a({type:Boolean,reflect:!0})],L.prototype,"selected",2);Z([a({type:Boolean,reflect:!0})],L.prototype,"fullwidth",2);Z([a({type:Boolean,reflect:!0})],L.prototype,"inactive",2);L=Z([
|
|
2088
|
+
`;Z([a({type:String,reflect:!0})],L.prototype,"link",2);Z([a({reflect:!0})],L.prototype,"name",2);Z([a({reflect:!0})],L.prototype,"value",2);Z([a({type:String})],L.prototype,"text",2);Z([a({type:String,reflect:!0})],L.prototype,"size",2);Z([a({type:Boolean,reflect:!0})],L.prototype,"selected",2);Z([a({type:Boolean,reflect:!0})],L.prototype,"fullwidth",2);Z([a({type:Boolean,reflect:!0})],L.prototype,"inactive",2);L=Z([b("o-chip")],L);var ui=Object.defineProperty,vi=Object.getOwnPropertyDescriptor,ee=(o,t,e,n)=>{for(var i=n>1?void 0:n?vi(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&ui(t,e,i),i};let wt=class extends p{constructor(){super(),this.name="",this.value="",this.addEventListener("selected",this.onChipSelected)}onChipSelected(o){const t=o.target instanceof L?o.target:null;t!=null&&t.link||(this.name=(t==null?void 0:t.name)||"",this.value=(t==null?void 0:t.value)||"",this.querySelectorAll("o-chip").forEach(e=>{e!==t&&(e.selected=!1)}))}render(){return l`
|
|
2089
2089
|
<slot></slot>
|
|
2090
2090
|
`}};wt.styles=v`
|
|
2091
2091
|
:host {
|
|
@@ -2094,7 +2094,7 @@
|
|
|
2094
2094
|
flex-wrap: wrap;
|
|
2095
2095
|
gap: var(--spacing-s);
|
|
2096
2096
|
}
|
|
2097
|
-
`;ee([a({reflect:!0})],wt.prototype,"name",2);ee([a({reflect:!0})],wt.prototype,"value",2);wt=ee([
|
|
2097
|
+
`;ee([a({reflect:!0})],wt.prototype,"name",2);ee([a({reflect:!0})],wt.prototype,"value",2);wt=ee([b("o-chipset")],wt);var fi=Object.defineProperty,bi=Object.getOwnPropertyDescriptor,j=(o,t,e,n)=>{for(var i=n>1?void 0:n?bi(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&fi(t,e,i),i};const gi=Wt(p);let B=class extends gi{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(o){if(o instanceof KeyboardEvent&&o.key!=="Enter"&&o.key!==" ")return;this.selected=!this.selected;const t={selected:this.selected},e=new CustomEvent("selected",{detail:t,bubbles:!0,composed:!0,cancelable:!0});this.dispatchEvent(e),e.defaultPrevented&&o.preventDefault(),this.selected=t.selected}crossIcon(){const o=N[this.crossIconName].replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"').replace(/stroke=[#"'a-z1-9]*/gi,"");return l`<span class="cross-icon">${$(o)}</span>`}strikeThroughImg(){const o=Co[this.strikethroughImgName].replace("<svg",'<svg aria-hidden="true" focusable="false" part="strikethrough"').replace(/stroke=[#"'a-z1-9]*/gi,"");return $(o)}render(){const o=this.text;return l`${this.type==="link"?l`
|
|
2098
2098
|
<a role="button" tabindex="0" class="button" href=${this.href} ?disabled=${this.disabled} @click=${this.handleClick} @keydown=${this.handleClick}
|
|
2099
2099
|
aria-label=${this.ariaLabel} aria-pressed=${this.selected}>
|
|
2100
2100
|
${o?l`
|
|
@@ -2239,7 +2239,7 @@
|
|
|
2239
2239
|
stroke-linecap: round;
|
|
2240
2240
|
}
|
|
2241
2241
|
}
|
|
2242
|
-
`;j([a({reflect:!0})],B.prototype,"name",2);j([a({reflect:!0})],B.prototype,"value",2);j([a({type:String,reflect:!0})],B.prototype,"type",2);j([a({type:String,reflect:!0})],B.prototype,"href",2);j([a({type:String,reflect:!0,attribute:"data-href"})],B.prototype,"dataHref",2);j([a({type:String})],B.prototype,"text",2);j([a({type:Boolean,reflect:!0})],B.prototype,"selected",2);j([a({type:Boolean,reflect:!0})],B.prototype,"disabled",2);j([a({type:Boolean,reflect:!0})],B.prototype,"fullwidth",2);B=j([
|
|
2242
|
+
`;j([a({reflect:!0})],B.prototype,"name",2);j([a({reflect:!0})],B.prototype,"value",2);j([a({type:String,reflect:!0})],B.prototype,"type",2);j([a({type:String,reflect:!0})],B.prototype,"href",2);j([a({type:String,reflect:!0,attribute:"data-href"})],B.prototype,"dataHref",2);j([a({type:String})],B.prototype,"text",2);j([a({type:Boolean,reflect:!0})],B.prototype,"selected",2);j([a({type:Boolean,reflect:!0})],B.prototype,"disabled",2);j([a({type:Boolean,reflect:!0})],B.prototype,"fullwidth",2);B=j([b("o-filter-chip")],B);var yi=Object.defineProperty,F=(o,t,e,n)=>{for(var i=void 0,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=s(t,e,i)||i);return i&&yi(t,e,i),i};const ne=class ne 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=""}onClick(){typeof this.onClickTile=="function"&&this.onClickTile()}get icons(){return this.type==="chevron"?l`
|
|
2243
2243
|
<o-icon-button
|
|
2244
2244
|
@click=${this.onClick}
|
|
2245
2245
|
icon="chevronRight"
|
|
@@ -2409,7 +2409,7 @@
|
|
|
2409
2409
|
color: var(--text-color);
|
|
2410
2410
|
}
|
|
2411
2411
|
|
|
2412
|
-
`;oe([a({type:String,reflect:!0})],$t.prototype,"variant",2);oe([a({type:String})],$t.prototype,"text",2);$t=oe([
|
|
2412
|
+
`;oe([a({type:String,reflect:!0})],$t.prototype,"variant",2);oe([a({type:String})],$t.prototype,"text",2);$t=oe([b("o-badge")],$t);var wi=Object.defineProperty,$i=Object.getOwnPropertyDescriptor,O=(o,t,e,n)=>{for(var i=n>1?void 0:n?$i(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&wi(t,e,i),i};let k=class extends p{constructor(){super(...arguments),this.icon="info",this.text="Sample text",this.verticalanchor="top",this.horizontalanchor="right",this.verticaloffset=24,this.horizontaloffset=24,this.animationduration=500,this.animationaxis="horizontal",this.animated=!0,this.lifeduration=5e3,this.multiline=!1}attributeChangedCallback(o,t,e){super.attributeChangedCallback(o,t,e),o=="verticaloffset"&&this.style.setProperty("--vertical-offset",e+"px"),o=="horizontaloffset"&&this.style.setProperty("--horizontal-offset",e+"px"),o=="animationduration"&&this.style.setProperty("--animation-duration",e+"ms")}selfCloseAfterDelay(){var o=this;setTimeout(function(){o.animated=!0,o.selfClose()},this.lifeduration)}selfClose(){var o=this;setTimeout(function(){o.remove()},this.animationduration+200)}connectedCallback(){var o=this;super.connectedCallback(),setTimeout(()=>{o.animated=!1,this.selfCloseAfterDelay()},600)}firstUpdated(){var n,i;var o=this;const t=(n=this.renderRoot)==null?void 0:n.querySelector("o-icon-button"),e=(i=this.renderRoot)==null?void 0:i.querySelector(".o-toast-text");if(e!=null){const r=window.getComputedStyle(e),s=parseInt(r.getPropertyValue("line-height").replace("px","")),c=parseInt(r.getPropertyValue("height").replace("px",""));!isNaN(s)&&!isNaN(c)&&c>s&&(this.multiline=!0)}t!=null&&t.addEventListener("click",function(){o.remove()})}render(){const t=Eo[this.icon].replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"').replace(/<path\b/g,'<path part="icon-path"').replace(/<g\b/g,'<g part="icon-group"').replace(/<circle\b/g,'<circle part="icon-circle"');return l`
|
|
2413
2413
|
<div class="o-toast">
|
|
2414
2414
|
<div class="o-toast-icon">
|
|
2415
2415
|
${$(t)}
|
|
@@ -2502,7 +2502,7 @@
|
|
|
2502
2502
|
.o-toast-icon {
|
|
2503
2503
|
height: 16px;
|
|
2504
2504
|
}
|
|
2505
|
-
`;O([a({type:String,reflect:!0})],k.prototype,"icon",2);O([a({type:String,reflect:!0})],k.prototype,"text",2);O([a({type:String,reflect:!0})],k.prototype,"verticalanchor",2);O([a({type:String,reflect:!0})],k.prototype,"horizontalanchor",2);O([a({type:Number,reflect:!0})],k.prototype,"verticaloffset",2);O([a({type:Number,reflect:!0})],k.prototype,"horizontaloffset",2);O([a({type:Number,reflect:!0})],k.prototype,"animationduration",2);O([a({type:String,reflect:!0})],k.prototype,"animationaxis",2);O([a({type:Boolean,reflect:!0})],k.prototype,"animated",2);O([a({type:Number,reflect:!0})],k.prototype,"lifeduration",2);O([a({type:Boolean,reflect:!0})],k.prototype,"multiline",2);k=O([
|
|
2505
|
+
`;O([a({type:String,reflect:!0})],k.prototype,"icon",2);O([a({type:String,reflect:!0})],k.prototype,"text",2);O([a({type:String,reflect:!0})],k.prototype,"verticalanchor",2);O([a({type:String,reflect:!0})],k.prototype,"horizontalanchor",2);O([a({type:Number,reflect:!0})],k.prototype,"verticaloffset",2);O([a({type:Number,reflect:!0})],k.prototype,"horizontaloffset",2);O([a({type:Number,reflect:!0})],k.prototype,"animationduration",2);O([a({type:String,reflect:!0})],k.prototype,"animationaxis",2);O([a({type:Boolean,reflect:!0})],k.prototype,"animated",2);O([a({type:Number,reflect:!0})],k.prototype,"lifeduration",2);O([a({type:Boolean,reflect:!0})],k.prototype,"multiline",2);k=O([b("o-toast")],k);var ki=Object.defineProperty,_i=Object.getOwnPropertyDescriptor,D=(o,t,e,n)=>{for(var i=n>1?void 0:n?_i(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&ki(t,e,i),i};let Ci=0,C=class extends p{constructor(){super(),this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.size="S",this.showLabel=!0,this.label="Checkbox",this.name="",this.value="on",this.inputId="",this.inputId||(this.inputId=`o-checkbox-${++Ci}`)}toggle(){this.disabled||(this.indeterminate?(this.indeterminate=!1,this.checked=!0):this.checked=!this.checked,this.syncInput(),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}syncInput(){this.inputEl&&(this.inputEl.checked=this.checked,this.inputEl.indeterminate=this.indeterminate)}updated(o){this.syncInput()}handleKeyDown(o){this.disabled||(o.key===" "||o.key==="Enter")&&(o.preventDefault(),this.toggle())}render(){const o=$(N.checkbox.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"')),t=$(N.icoMinus.replace("<svg",'<svg class="indeterminate" aria-hidden="true" focusable="false" part="svg"'));return l`
|
|
2506
2506
|
<input
|
|
2507
2507
|
type="checkbox"
|
|
2508
2508
|
id=${this.inputId}
|
|
@@ -2621,7 +2621,7 @@
|
|
|
2621
2621
|
svg path {
|
|
2622
2622
|
stroke: var(--color-border-white);
|
|
2623
2623
|
}
|
|
2624
|
-
`;D([a({type:Boolean,reflect:!0})],C.prototype,"checked",2);D([a({type:Boolean,reflect:!0})],C.prototype,"indeterminate",2);D([a({type:Boolean,reflect:!0})],C.prototype,"disabled",2);D([a({type:String,reflect:!0})],C.prototype,"size",2);D([a({type:Boolean})],C.prototype,"showLabel",2);D([a({type:String})],C.prototype,"label",2);D([a({type:String})],C.prototype,"name",2);D([a({type:String})],C.prototype,"value",2);D([a({type:String,reflect:!0})],C.prototype,"inputId",2);D([ke("input")],C.prototype,"inputEl",2);C=D([
|
|
2624
|
+
`;D([a({type:Boolean,reflect:!0})],C.prototype,"checked",2);D([a({type:Boolean,reflect:!0})],C.prototype,"indeterminate",2);D([a({type:Boolean,reflect:!0})],C.prototype,"disabled",2);D([a({type:String,reflect:!0})],C.prototype,"size",2);D([a({type:Boolean})],C.prototype,"showLabel",2);D([a({type:String})],C.prototype,"label",2);D([a({type:String})],C.prototype,"name",2);D([a({type:String})],C.prototype,"value",2);D([a({type:String,reflect:!0})],C.prototype,"inputId",2);D([ke("input")],C.prototype,"inputEl",2);C=D([b("o-checkbox")],C);var Ei=Object.defineProperty,Si=Object.getOwnPropertyDescriptor,R=(o,t,e,n)=>{for(var i=n>1?void 0:n?Si(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Ei(t,e,i),i};let Ai=0,z=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-${++Ai}`)}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(o){if(o.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(o){this.disabled||(o.key===" "||o.key==="Enter")&&(o.preventDefault(),this.handleClick())}render(){return l`
|
|
2625
2625
|
<input type="radio" id=${this.inputId} ?checked=${this.checked} ?disabled=${this.disabled} name=${this.name} value=${this.value} />
|
|
2626
2626
|
|
|
2627
2627
|
<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}>
|
|
@@ -2718,7 +2718,7 @@
|
|
|
2718
2718
|
width: 0;
|
|
2719
2719
|
height: 0;
|
|
2720
2720
|
}
|
|
2721
|
-
`;R([a({type:Boolean,reflect:!0})],z.prototype,"checked",2);R([a({type:Boolean,reflect:!0})],z.prototype,"disabled",2);R([a({type:String,reflect:!0})],z.prototype,"size",2);R([a({type:Boolean})],z.prototype,"showLabel",2);R([a({type:String})],z.prototype,"label",2);R([a({type:String})],z.prototype,"name",2);R([a({type:String})],z.prototype,"value",2);R([a({type:String,reflect:!0})],z.prototype,"inputId",2);R([ke("input")],z.prototype,"inputEl",2);z=R([
|
|
2721
|
+
`;R([a({type:Boolean,reflect:!0})],z.prototype,"checked",2);R([a({type:Boolean,reflect:!0})],z.prototype,"disabled",2);R([a({type:String,reflect:!0})],z.prototype,"size",2);R([a({type:Boolean})],z.prototype,"showLabel",2);R([a({type:String})],z.prototype,"label",2);R([a({type:String})],z.prototype,"name",2);R([a({type:String})],z.prototype,"value",2);R([a({type:String,reflect:!0})],z.prototype,"inputId",2);R([ke("input")],z.prototype,"inputEl",2);z=R([b("o-radio")],z);var Li=Object.getOwnPropertyDescriptor,Bi=(o,t,e,n)=>{for(var i=n>1?void 0:n?Li(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=s(i)||i);return i};let Ut=class extends p{render(){return l`
|
|
2722
2722
|
<nav aria-label="Breadcrumbs">
|
|
2723
2723
|
<ul>
|
|
2724
2724
|
<slot></slot>
|
|
@@ -2735,7 +2735,7 @@
|
|
|
2735
2735
|
margin: var(--spacing-4-xs);
|
|
2736
2736
|
padding: var(--spacing-4-xs);
|
|
2737
2737
|
}
|
|
2738
|
-
`;Ut=Bi([
|
|
2738
|
+
`;Ut=Bi([b("o-breadcrumbs")],Ut);var zi=Object.defineProperty,Oi=Object.getOwnPropertyDescriptor,ie=(o,t,e,n)=>{for(var i=n>1?void 0:n?Oi(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&zi(t,e,i),i};let kt=class extends p{constructor(){super(...arguments),this.href="",this.active=!1}_handleClick(o){(!this.href||this.href==="#")&&o.preventDefault()}render(){return this.active?l`<span aria-current="page"><slot></slot></span>`:l`
|
|
2739
2739
|
<li>
|
|
2740
2740
|
<a
|
|
2741
2741
|
href="${this.href}"
|
|
@@ -2746,16 +2746,22 @@
|
|
|
2746
2746
|
</a>
|
|
2747
2747
|
</li>
|
|
2748
2748
|
`}};kt.styles=v`
|
|
2749
|
-
|
|
2750
|
-
display: inline-block;
|
|
2751
|
-
}
|
|
2752
|
-
|
|
2753
|
-
li::after {
|
|
2749
|
+
:host(:not([active]))::after {
|
|
2754
2750
|
content: "/";
|
|
2755
|
-
margin:
|
|
2751
|
+
margin: 0 0.5rem;
|
|
2756
2752
|
color: var(--color-content-description);
|
|
2757
2753
|
}
|
|
2758
2754
|
|
|
2755
|
+
:host([active]) {
|
|
2756
|
+
span {
|
|
2757
|
+
color: var(--color-content-body);
|
|
2758
|
+
}
|
|
2759
|
+
}
|
|
2760
|
+
|
|
2761
|
+
li {
|
|
2762
|
+
display: inline-block;
|
|
2763
|
+
}
|
|
2764
|
+
|
|
2759
2765
|
a, span {
|
|
2760
2766
|
color: var(--color-content-description);
|
|
2761
2767
|
font-family: var(--font-family-loccitane-sans);
|
|
@@ -2778,17 +2784,7 @@
|
|
|
2778
2784
|
:host(.a--tabfocus) {
|
|
2779
2785
|
outline: none !important;
|
|
2780
2786
|
}
|
|
2781
|
-
|
|
2782
|
-
:host([active]) {
|
|
2783
|
-
span {
|
|
2784
|
-
color: var(--color-content-body);
|
|
2785
|
-
}
|
|
2786
|
-
|
|
2787
|
-
li::after {
|
|
2788
|
-
content: "";
|
|
2789
|
-
}
|
|
2790
|
-
}
|
|
2791
|
-
`;ie([a({type:String})],kt.prototype,"href",2);ie([a({type:Boolean,reflect:!0})],kt.prototype,"active",2);kt=ie([g("o-breadcrumb")],kt);var Pi=Object.defineProperty,Ii=Object.getOwnPropertyDescriptor,Ct=(o,t,e,n)=>{for(var i=n>1?void 0:n?Ii(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Pi(t,e,i),i};let nt=class extends p{constructor(){super(...arguments),this.imageUrl="",this.imageAlt="",this.hoverUrl="",this.hoverAlt=""}render(){return l`<div class="card">
|
|
2787
|
+
`;ie([a({type:String})],kt.prototype,"href",2);ie([a({type:Boolean,reflect:!0})],kt.prototype,"active",2);kt=ie([b("o-breadcrumb")],kt);var Pi=Object.defineProperty,Ii=Object.getOwnPropertyDescriptor,Ct=(o,t,e,n)=>{for(var i=n>1?void 0:n?Ii(t,e):t,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(t,e,i):s(i))||i);return n&&i&&Pi(t,e,i),i};let nt=class extends p{constructor(){super(...arguments),this.imageUrl="",this.imageAlt="",this.hoverUrl="",this.hoverAlt=""}render(){return l`<div class="card">
|
|
2792
2788
|
<svg aria-hidden="true">
|
|
2793
2789
|
<defs>
|
|
2794
2790
|
<clipPath id="arch-gift-finder" clipPathUnits="objectBoundingBox">
|
|
@@ -2835,7 +2831,7 @@
|
|
|
2835
2831
|
opacity: 1;
|
|
2836
2832
|
}
|
|
2837
2833
|
}
|
|
2838
|
-
`;Ct([a({type:String})],nt.prototype,"imageUrl",2);Ct([a({type:String})],nt.prototype,"imageAlt",2);Ct([a({type:String})],nt.prototype,"hoverUrl",2);Ct([a({type:String})],nt.prototype,"hoverAlt",2);nt=Ct([
|
|
2834
|
+
`;Ct([a({type:String})],nt.prototype,"imageUrl",2);Ct([a({type:String})],nt.prototype,"imageAlt",2);Ct([a({type:String})],nt.prototype,"hoverUrl",2);Ct([a({type:String})],nt.prototype,"hoverAlt",2);nt=Ct([b("o-arch-image")],nt);const Di=`<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2839
2835
|
<svg
|
|
2840
2836
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
2841
2837
|
xmlns:cc="http://creativecommons.org/ns#"
|
package/index.mjs
CHANGED
|
@@ -282,7 +282,7 @@ at.elementStyles = [], at.shadowRootOptions = { mode: "open" }, at[pt("elementPr
|
|
|
282
282
|
* Copyright 2017 Google LLC
|
|
283
283
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
284
284
|
*/
|
|
285
|
-
const ut = globalThis, Lt = ut.trustedTypes, he = Lt ? Lt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, me = "$lit$", W = `lit$${Math.random().toFixed(9).slice(2)}$`, xe = "?" + W, De = `<${xe}>`, it = document, ft = () => it.createComment(""),
|
|
285
|
+
const ut = globalThis, Lt = ut.trustedTypes, he = Lt ? Lt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, me = "$lit$", W = `lit$${Math.random().toFixed(9).slice(2)}$`, xe = "?" + W, De = `<${xe}>`, it = document, ft = () => it.createComment(""), bt = (o) => o === null || typeof o != "object" && typeof o != "function", Zt = Array.isArray, He = (o) => Zt(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", Dt = `[
|
|
286
286
|
\f\r]`, dt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, de = /-->/g, pe = />/g, tt = RegExp(`>|${Dt}(?:([^\\s"'>=/]+)(${Dt}*=${Dt}*(?:[^
|
|
287
287
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), ue = /'/g, ve = /"/g, we = /^(?:script|style|textarea|title)$/i, Me = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = Me(1), X = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), fe = /* @__PURE__ */ new WeakMap(), et = it.createTreeWalker(it, 129);
|
|
288
288
|
function $e(o, t) {
|
|
@@ -301,13 +301,13 @@ const Te = (o, t) => {
|
|
|
301
301
|
}
|
|
302
302
|
return [$e(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), n];
|
|
303
303
|
};
|
|
304
|
-
class
|
|
304
|
+
class gt {
|
|
305
305
|
constructor({ strings: t, _$litType$: e }, n) {
|
|
306
306
|
let i;
|
|
307
307
|
this.parts = [];
|
|
308
308
|
let r = 0, s = 0;
|
|
309
309
|
const c = t.length - 1, h = this.parts, [m, w] = Te(t, e);
|
|
310
|
-
if (this.el =
|
|
310
|
+
if (this.el = gt.createElement(m, n), et.currentNode = this.el.content, e === 2 || e === 3) {
|
|
311
311
|
const f = this.el.content.firstChild;
|
|
312
312
|
f.replaceWith(...f.childNodes);
|
|
313
313
|
}
|
|
@@ -342,7 +342,7 @@ function lt(o, t, e = o, n) {
|
|
|
342
342
|
var s, c;
|
|
343
343
|
if (t === X) return t;
|
|
344
344
|
let i = n !== void 0 ? (s = e._$Co) == null ? void 0 : s[n] : e._$Cl;
|
|
345
|
-
const r =
|
|
345
|
+
const r = bt(t) ? void 0 : t._$litDirective$;
|
|
346
346
|
return (i == null ? void 0 : i.constructor) !== r && ((c = i == null ? void 0 : i._$AO) == null || c.call(i, !1), r === void 0 ? i = void 0 : (i = new r(o), i._$AT(o, e, n)), n !== void 0 ? (e._$Co ?? (e._$Co = []))[n] = i : e._$Cl = i), i !== void 0 && (t = lt(o, i._$AS(o, t.values), i, n)), t;
|
|
347
347
|
}
|
|
348
348
|
class je {
|
|
@@ -393,7 +393,7 @@ class _t {
|
|
|
393
393
|
return this._$AB;
|
|
394
394
|
}
|
|
395
395
|
_$AI(t, e = this) {
|
|
396
|
-
t = lt(this, t, e),
|
|
396
|
+
t = lt(this, t, e), bt(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== X && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : He(t) ? this.k(t) : this._(t);
|
|
397
397
|
}
|
|
398
398
|
O(t) {
|
|
399
399
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -402,11 +402,11 @@ class _t {
|
|
|
402
402
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
403
403
|
}
|
|
404
404
|
_(t) {
|
|
405
|
-
this._$AH !== d &&
|
|
405
|
+
this._$AH !== d && bt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(it.createTextNode(t)), this._$AH = t;
|
|
406
406
|
}
|
|
407
407
|
$(t) {
|
|
408
408
|
var r;
|
|
409
|
-
const { values: e, _$litType$: n } = t, i = typeof n == "number" ? this._$AC(t) : (n.el === void 0 && (n.el =
|
|
409
|
+
const { values: e, _$litType$: n } = t, i = typeof n == "number" ? this._$AC(t) : (n.el === void 0 && (n.el = gt.createElement($e(n.h, n.h[0]), this.options)), n);
|
|
410
410
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === i) this._$AH.p(e);
|
|
411
411
|
else {
|
|
412
412
|
const s = new je(i, this), c = s.u(this.options);
|
|
@@ -415,7 +415,7 @@ class _t {
|
|
|
415
415
|
}
|
|
416
416
|
_$AC(t) {
|
|
417
417
|
let e = fe.get(t.strings);
|
|
418
|
-
return e === void 0 && fe.set(t.strings, e = new
|
|
418
|
+
return e === void 0 && fe.set(t.strings, e = new gt(t)), e;
|
|
419
419
|
}
|
|
420
420
|
k(t) {
|
|
421
421
|
Zt(this._$AH) || (this._$AH = [], this._$AR());
|
|
@@ -449,11 +449,11 @@ class zt {
|
|
|
449
449
|
_$AI(t, e = this, n, i) {
|
|
450
450
|
const r = this.strings;
|
|
451
451
|
let s = !1;
|
|
452
|
-
if (r === void 0) t = lt(this, t, e, 0), s = !
|
|
452
|
+
if (r === void 0) t = lt(this, t, e, 0), s = !bt(t) || t !== this._$AH && t !== X, s && (this._$AH = t);
|
|
453
453
|
else {
|
|
454
454
|
const c = t;
|
|
455
455
|
let h, m;
|
|
456
|
-
for (t = r[0], h = 0; h < r.length - 1; h++) m = lt(this, c[n + h], e, h), m === X && (m = this._$AH[h]), s || (s = !
|
|
456
|
+
for (t = r[0], h = 0; h < r.length - 1; h++) m = lt(this, c[n + h], e, h), m === X && (m = this._$AH[h]), s || (s = !bt(m) || m !== this._$AH[h]), m === d ? t = d : t !== d && (t += (m ?? "") + r[h + 1]), this._$AH[h] = m;
|
|
457
457
|
}
|
|
458
458
|
s && !i && this.j(t);
|
|
459
459
|
}
|
|
@@ -503,7 +503,7 @@ class Ne {
|
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
505
|
const Ht = ut.litHtmlPolyfillSupport;
|
|
506
|
-
Ht == null || Ht(
|
|
506
|
+
Ht == null || Ht(gt, _t), (ut.litHtmlVersions ?? (ut.litHtmlVersions = [])).push("3.3.0");
|
|
507
507
|
const Ve = (o, t, e) => {
|
|
508
508
|
const n = (e == null ? void 0 : e.renderBefore) ?? t;
|
|
509
509
|
let i = n._$litPart$;
|
|
@@ -544,8 +544,8 @@ let p = class extends at {
|
|
|
544
544
|
return X;
|
|
545
545
|
}
|
|
546
546
|
};
|
|
547
|
-
var
|
|
548
|
-
p._$litElement$ = !0, p.finalized = !0, (
|
|
547
|
+
var ge;
|
|
548
|
+
p._$litElement$ = !0, p.finalized = !0, (ge = ot.litElementHydrateSupport) == null || ge.call(ot, { LitElement: p });
|
|
549
549
|
const Mt = ot.litElementPolyfillSupport;
|
|
550
550
|
Mt == null || Mt({ LitElement: p });
|
|
551
551
|
(ot.litElementVersions ?? (ot.litElementVersions = [])).push("4.2.0");
|
|
@@ -554,7 +554,7 @@ Mt == null || Mt({ LitElement: p });
|
|
|
554
554
|
* Copyright 2017 Google LLC
|
|
555
555
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
556
556
|
*/
|
|
557
|
-
const
|
|
557
|
+
const b = (o) => (t, e) => {
|
|
558
558
|
e !== void 0 ? e.addInitializer(() => {
|
|
559
559
|
customElements.define(o, t);
|
|
560
560
|
}) : customElements.define(o, t);
|
|
@@ -745,11 +745,11 @@ const Ge = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
745
745
|
`, fo = `<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
746
746
|
<path d="M5.24611 10.4659C5.04705 10.4654 4.85616 10.3867 4.71465 10.2467L0.210718 5.74273C-0.0737595 5.44819 -0.0696911 4.98 0.219862 4.69045C0.509415 4.4009 0.977603 4.39683 1.27214 4.6813L5.18306 8.59071L10.6628 1.74024C10.9219 1.41646 11.3945 1.36403 11.7183 1.62314C12.042 1.88225 12.0945 2.35477 11.8354 2.67856L5.83012 10.1851C5.69763 10.3521 5.49956 10.4539 5.28665 10.4643L5.24611 10.4659Z" fill="#3F2B2E"/>
|
|
747
747
|
</svg>
|
|
748
|
-
`,
|
|
748
|
+
`, bo = `<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
749
749
|
<rect x="1" width="2" height="8" fill="#3F2B2E"/>
|
|
750
750
|
<rect x="5" width="2" height="8" fill="#3F2B2E"/>
|
|
751
751
|
</svg>
|
|
752
|
-
`,
|
|
752
|
+
`, go = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
753
753
|
<path d="M10.5037 5.99925C10.7795 5.99925 11.0037 6.22311 11.0037 6.49925V14.2922L13.1462 12.1448C13.3411 11.9498 13.6573 11.95 13.8523 12.1448H13.8533C14.0482 12.34 14.0481 12.6565 13.8533 12.8518L10.8572 15.8518C10.6618 16.0471 10.3455 16.0471 10.1501 15.8518L7.15406 12.8518C6.96522 12.6557 6.96774 12.3444 7.15992 12.1516C7.35242 11.9588 7.66416 11.9556 7.86011 12.1448L10.0046 14.2922V6.49925C10.0046 6.22319 10.228 5.99938 10.5037 5.99925ZM5.15699 0.145737C5.35218 -0.0485278 5.66791 -0.0486304 5.86304 0.145737L8.85913 3.14574C9.04829 3.34183 9.04562 3.65402 8.85327 3.84691C8.66066 4.03978 8.34902 4.04225 8.15308 3.85277L6.00952 1.70628V9.49925C6.0095 9.77533 5.78621 9.99918 5.5105 9.99925C5.23473 9.99925 5.0115 9.77538 5.01148 9.49925V1.70628L2.86695 3.85179C2.74288 3.98695 2.55447 4.04321 2.37671 3.99828C2.1991 3.95328 2.06051 3.81475 2.01538 3.63695C1.97026 3.45902 2.02608 3.27015 2.16089 3.14574L5.15699 0.145737Z" fill="#001022"/>
|
|
754
754
|
</svg>
|
|
755
755
|
`, yo = `<svg viewBox="0 0 200 200" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -793,8 +793,8 @@ const Ge = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
793
793
|
triangledown: uo,
|
|
794
794
|
triangleup: vo,
|
|
795
795
|
checkstroke: fo,
|
|
796
|
-
pause:
|
|
797
|
-
mapDualArrow:
|
|
796
|
+
pause: bo,
|
|
797
|
+
mapDualArrow: go,
|
|
798
798
|
swipeDualArrow: mo,
|
|
799
799
|
backToBag: ko,
|
|
800
800
|
checkbox: _o
|
|
@@ -1042,7 +1042,7 @@ class Io extends Po {
|
|
|
1042
1042
|
}
|
|
1043
1043
|
}
|
|
1044
1044
|
}
|
|
1045
|
-
const
|
|
1045
|
+
const be = Xt(Io);
|
|
1046
1046
|
/**
|
|
1047
1047
|
* @license
|
|
1048
1048
|
* Copyright 2018 Google LLC
|
|
@@ -1322,9 +1322,9 @@ M([
|
|
|
1322
1322
|
a({ type: String })
|
|
1323
1323
|
], S.prototype, "srLabel", 2);
|
|
1324
1324
|
S = M([
|
|
1325
|
-
|
|
1325
|
+
b("o-icon-button")
|
|
1326
1326
|
], S);
|
|
1327
|
-
var Mo = Object.defineProperty, To = Object.getOwnPropertyDescriptor,
|
|
1327
|
+
var Mo = Object.defineProperty, To = Object.getOwnPropertyDescriptor, g = (o, t, e, n) => {
|
|
1328
1328
|
for (var i = n > 1 ? void 0 : n ? To(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1329
1329
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1330
1330
|
return n && i && Mo(t, e, i), i;
|
|
@@ -1566,7 +1566,7 @@ let u = class extends p {
|
|
|
1566
1566
|
variant="${this.firstButtonVariant}"
|
|
1567
1567
|
@click=${this.handleFirstClick}
|
|
1568
1568
|
@keydown=${this.handleFirstClick}
|
|
1569
|
-
${
|
|
1569
|
+
${be(this.firstButtonProps)}
|
|
1570
1570
|
>
|
|
1571
1571
|
${this.firstButtonLabel}
|
|
1572
1572
|
</o-button>
|
|
@@ -1577,7 +1577,7 @@ let u = class extends p {
|
|
|
1577
1577
|
variant="${this.secondButtonVariant}"
|
|
1578
1578
|
@click=${this.handleSecondClick}
|
|
1579
1579
|
@keydown=${this.handleSecondClick}
|
|
1580
|
-
${
|
|
1580
|
+
${be(this.secondButtonProps)}
|
|
1581
1581
|
>
|
|
1582
1582
|
${this.secondButtonLabel}
|
|
1583
1583
|
</o-button>
|
|
@@ -1793,74 +1793,74 @@ u.styles = v`
|
|
|
1793
1793
|
`;
|
|
1794
1794
|
u.focusablesSelector = 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), o-icon-button, o-button';
|
|
1795
1795
|
u.focusablesCustomElementsSelector = "o-icon-button, o-button";
|
|
1796
|
-
|
|
1796
|
+
g([
|
|
1797
1797
|
a({ type: Boolean, reflect: !0 })
|
|
1798
1798
|
], u.prototype, "open", 2);
|
|
1799
|
-
|
|
1799
|
+
g([
|
|
1800
1800
|
a({ type: Boolean, reflect: !0 })
|
|
1801
1801
|
], u.prototype, "showHeader", 2);
|
|
1802
|
-
|
|
1802
|
+
g([
|
|
1803
1803
|
a({ type: Boolean, reflect: !0 })
|
|
1804
1804
|
], u.prototype, "showFooter", 2);
|
|
1805
|
-
|
|
1805
|
+
g([
|
|
1806
1806
|
a({ type: Boolean, reflect: !0 })
|
|
1807
1807
|
], u.prototype, "showHeaderStartIcon", 2);
|
|
1808
|
-
|
|
1808
|
+
g([
|
|
1809
1809
|
a({ type: String, reflect: !0 })
|
|
1810
1810
|
], u.prototype, "headerTitle", 2);
|
|
1811
|
-
|
|
1811
|
+
g([
|
|
1812
1812
|
a({ type: String, reflect: !0 })
|
|
1813
1813
|
], u.prototype, "headerTitleClassName", 2);
|
|
1814
|
-
|
|
1814
|
+
g([
|
|
1815
1815
|
a({ type: String, reflect: !0 })
|
|
1816
1816
|
], u.prototype, "labelDialog", 2);
|
|
1817
|
-
|
|
1817
|
+
g([
|
|
1818
1818
|
a({ type: String, reflect: !0 })
|
|
1819
1819
|
], u.prototype, "closeButtonLabel", 2);
|
|
1820
|
-
|
|
1820
|
+
g([
|
|
1821
1821
|
a({ type: String, reflect: !0 })
|
|
1822
1822
|
], u.prototype, "goBackButtonLabel", 2);
|
|
1823
|
-
|
|
1823
|
+
g([
|
|
1824
1824
|
a({ type: String, reflect: !0 })
|
|
1825
1825
|
], u.prototype, "firstButtonLabel", 2);
|
|
1826
|
-
|
|
1826
|
+
g([
|
|
1827
1827
|
a({ type: String, reflect: !0 })
|
|
1828
1828
|
], u.prototype, "firstButtonVariant", 2);
|
|
1829
|
-
|
|
1829
|
+
g([
|
|
1830
1830
|
a({ type: Object, reflect: !0 })
|
|
1831
1831
|
], u.prototype, "firstButtonProps", 2);
|
|
1832
|
-
|
|
1832
|
+
g([
|
|
1833
1833
|
a({ type: Boolean, reflect: !0 })
|
|
1834
1834
|
], u.prototype, "onFirstButtonClickClose", 2);
|
|
1835
|
-
|
|
1835
|
+
g([
|
|
1836
1836
|
a({ type: String, reflect: !0 })
|
|
1837
1837
|
], u.prototype, "secondButtonLabel", 2);
|
|
1838
|
-
|
|
1838
|
+
g([
|
|
1839
1839
|
a({ type: String, reflect: !0 })
|
|
1840
1840
|
], u.prototype, "secondButtonVariant", 2);
|
|
1841
|
-
|
|
1841
|
+
g([
|
|
1842
1842
|
a({ type: Object, reflect: !0 })
|
|
1843
1843
|
], u.prototype, "secondButtonProps", 2);
|
|
1844
|
-
|
|
1844
|
+
g([
|
|
1845
1845
|
a({ type: Boolean, reflect: !0 })
|
|
1846
1846
|
], u.prototype, "onSecondButtonClickClose", 2);
|
|
1847
|
-
|
|
1847
|
+
g([
|
|
1848
1848
|
a({ type: Boolean, reflect: !0 })
|
|
1849
1849
|
], u.prototype, "disablePortal", 2);
|
|
1850
|
-
|
|
1850
|
+
g([
|
|
1851
1851
|
a({ type: Number, reflect: !0 })
|
|
1852
1852
|
], u.prototype, "zIndex", 2);
|
|
1853
|
-
|
|
1853
|
+
g([
|
|
1854
1854
|
a({ type: Boolean, reflect: !0 })
|
|
1855
1855
|
], u.prototype, "initialized", 2);
|
|
1856
|
-
|
|
1856
|
+
g([
|
|
1857
1857
|
a({ type: Boolean })
|
|
1858
1858
|
], u.prototype, "showDetail", 2);
|
|
1859
|
-
|
|
1859
|
+
g([
|
|
1860
1860
|
a({ type: Boolean })
|
|
1861
1861
|
], u.prototype, "isHidingDetail", 2);
|
|
1862
|
-
u =
|
|
1863
|
-
|
|
1862
|
+
u = g([
|
|
1863
|
+
b("o-side-panel")
|
|
1864
1864
|
], u);
|
|
1865
1865
|
var jo = Object.defineProperty, Fo = Object.getOwnPropertyDescriptor, x = (o, t, e, n) => {
|
|
1866
1866
|
for (var i = n > 1 ? void 0 : n ? Fo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -2189,7 +2189,7 @@ x([
|
|
|
2189
2189
|
a({ type: Boolean, reflect: !0 })
|
|
2190
2190
|
], y.prototype, "withbadge", 2);
|
|
2191
2191
|
y = x([
|
|
2192
|
-
|
|
2192
|
+
b("o-button")
|
|
2193
2193
|
], y);
|
|
2194
2194
|
var Uo = Object.defineProperty, No = Object.getOwnPropertyDescriptor, Ot = (o, t, e, n) => {
|
|
2195
2195
|
for (var i = n > 1 ? void 0 : n ? No(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -2312,7 +2312,7 @@ Ot([
|
|
|
2312
2312
|
a({ type: String, reflect: !0 })
|
|
2313
2313
|
], ct.prototype, "label", 2);
|
|
2314
2314
|
ct = Ot([
|
|
2315
|
-
|
|
2315
|
+
b("o-wishlist-button")
|
|
2316
2316
|
], ct);
|
|
2317
2317
|
var Vo = Object.defineProperty, qo = Object.getOwnPropertyDescriptor, st = (o, t, e, n) => {
|
|
2318
2318
|
for (var i = n > 1 ? void 0 : n ? qo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -2468,7 +2468,7 @@ st([
|
|
|
2468
2468
|
a({ type: Boolean, reflect: !0 })
|
|
2469
2469
|
], V.prototype, "reverseEndIcon", 2);
|
|
2470
2470
|
V = st([
|
|
2471
|
-
|
|
2471
|
+
b("o-link")
|
|
2472
2472
|
], V);
|
|
2473
2473
|
var Zo = Object.defineProperty, Ko = Object.getOwnPropertyDescriptor, Pt = (o, t, e, n) => {
|
|
2474
2474
|
for (var i = n > 1 ? void 0 : n ? Ko(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -2546,7 +2546,7 @@ Pt([
|
|
|
2546
2546
|
a({ type: String })
|
|
2547
2547
|
], ht.prototype, "href", 2);
|
|
2548
2548
|
ht = Pt([
|
|
2549
|
-
|
|
2549
|
+
b("o-rating")
|
|
2550
2550
|
], ht);
|
|
2551
2551
|
var Wo = Object.defineProperty, Go = Object.getOwnPropertyDescriptor, J = (o, t, e, n) => {
|
|
2552
2552
|
for (var i = n > 1 ? void 0 : n ? Go(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -2772,7 +2772,7 @@ J([
|
|
|
2772
2772
|
Y()
|
|
2773
2773
|
], H.prototype, "focusedIndex", 2);
|
|
2774
2774
|
H = J([
|
|
2775
|
-
|
|
2775
|
+
b("thumbnail-navigation")
|
|
2776
2776
|
], H);
|
|
2777
2777
|
var Xo = Object.defineProperty, Yo = Object.getOwnPropertyDescriptor, Jt = (o, t, e, n) => {
|
|
2778
2778
|
for (var i = n > 1 ? void 0 : n ? Yo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -2854,7 +2854,7 @@ Jt([
|
|
|
2854
2854
|
a({ type: String, reflect: !0 })
|
|
2855
2855
|
], yt.prototype, "bgstyle", 2);
|
|
2856
2856
|
yt = Jt([
|
|
2857
|
-
|
|
2857
|
+
b("o-tag")
|
|
2858
2858
|
], yt);
|
|
2859
2859
|
var Jo = Object.defineProperty, Qo = Object.getOwnPropertyDescriptor, Qt = (o, t, e, n) => {
|
|
2860
2860
|
for (var i = n > 1 ? void 0 : n ? Qo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -2974,7 +2974,7 @@ Qt([
|
|
|
2974
2974
|
a({ type: String, reflect: !0 })
|
|
2975
2975
|
], mt.prototype, "text", 2);
|
|
2976
2976
|
mt = Qt([
|
|
2977
|
-
|
|
2977
|
+
b("o-tooltip")
|
|
2978
2978
|
], mt);
|
|
2979
2979
|
var ti = Object.defineProperty, ei = Object.getOwnPropertyDescriptor, q = (o, t, e, n) => {
|
|
2980
2980
|
for (var i = n > 1 ? void 0 : n ? ei(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -3269,7 +3269,7 @@ q([
|
|
|
3269
3269
|
Y()
|
|
3270
3270
|
], P.prototype, "menuWidth", 2);
|
|
3271
3271
|
P = q([
|
|
3272
|
-
|
|
3272
|
+
b("o-dropdown")
|
|
3273
3273
|
], P);
|
|
3274
3274
|
var oi = Object.getOwnPropertyDescriptor, ii = (o, t, e, n) => {
|
|
3275
3275
|
for (var i = n > 1 ? void 0 : n ? oi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -3334,7 +3334,7 @@ Rt.styles = v`
|
|
|
3334
3334
|
}
|
|
3335
3335
|
`;
|
|
3336
3336
|
Rt = ii([
|
|
3337
|
-
|
|
3337
|
+
b("o-dots")
|
|
3338
3338
|
], Rt);
|
|
3339
3339
|
var ni = Object.defineProperty, ri = Object.getOwnPropertyDescriptor, T = (o, t, e, n) => {
|
|
3340
3340
|
for (var i = n > 1 ? void 0 : n ? ri(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -3682,7 +3682,7 @@ T([
|
|
|
3682
3682
|
Y()
|
|
3683
3683
|
], A.prototype, "menuWidth", 2);
|
|
3684
3684
|
A = T([
|
|
3685
|
-
|
|
3685
|
+
b("o-dropdown-variant")
|
|
3686
3686
|
], A);
|
|
3687
3687
|
/**
|
|
3688
3688
|
* @license
|
|
@@ -3830,7 +3830,7 @@ te([
|
|
|
3830
3830
|
a({ type: Number, reflect: !0 })
|
|
3831
3831
|
], xt.prototype, "imageSize", 2);
|
|
3832
3832
|
xt = te([
|
|
3833
|
-
|
|
3833
|
+
b("o-reassurance")
|
|
3834
3834
|
], xt);
|
|
3835
3835
|
var hi = Object.defineProperty, di = Object.getOwnPropertyDescriptor, Z = (o, t, e, n) => {
|
|
3836
3836
|
for (var i = n > 1 ? void 0 : n ? di(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -3976,7 +3976,7 @@ Z([
|
|
|
3976
3976
|
a({ type: Boolean, reflect: !0 })
|
|
3977
3977
|
], L.prototype, "inactive", 2);
|
|
3978
3978
|
L = Z([
|
|
3979
|
-
|
|
3979
|
+
b("o-chip")
|
|
3980
3980
|
], L);
|
|
3981
3981
|
var ui = Object.defineProperty, vi = Object.getOwnPropertyDescriptor, ee = (o, t, e, n) => {
|
|
3982
3982
|
for (var i = n > 1 ? void 0 : n ? vi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -4014,15 +4014,15 @@ ee([
|
|
|
4014
4014
|
a({ reflect: !0 })
|
|
4015
4015
|
], wt.prototype, "value", 2);
|
|
4016
4016
|
wt = ee([
|
|
4017
|
-
|
|
4017
|
+
b("o-chipset")
|
|
4018
4018
|
], wt);
|
|
4019
|
-
var fi = Object.defineProperty,
|
|
4020
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
4019
|
+
var fi = Object.defineProperty, bi = Object.getOwnPropertyDescriptor, j = (o, t, e, n) => {
|
|
4020
|
+
for (var i = n > 1 ? void 0 : n ? bi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
4021
4021
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
4022
4022
|
return n && i && fi(t, e, i), i;
|
|
4023
4023
|
};
|
|
4024
|
-
const
|
|
4025
|
-
let B = class extends
|
|
4024
|
+
const gi = Wt(p);
|
|
4025
|
+
let B = class extends gi {
|
|
4026
4026
|
constructor() {
|
|
4027
4027
|
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";
|
|
4028
4028
|
}
|
|
@@ -4226,7 +4226,7 @@ j([
|
|
|
4226
4226
|
a({ type: Boolean, reflect: !0 })
|
|
4227
4227
|
], B.prototype, "fullwidth", 2);
|
|
4228
4228
|
B = j([
|
|
4229
|
-
|
|
4229
|
+
b("o-filter-chip")
|
|
4230
4230
|
], B);
|
|
4231
4231
|
var yi = Object.defineProperty, F = (o, t, e, n) => {
|
|
4232
4232
|
for (var i = void 0, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -4471,7 +4471,7 @@ oe([
|
|
|
4471
4471
|
a({ type: String })
|
|
4472
4472
|
], $t.prototype, "text", 2);
|
|
4473
4473
|
$t = oe([
|
|
4474
|
-
|
|
4474
|
+
b("o-badge")
|
|
4475
4475
|
], $t);
|
|
4476
4476
|
var wi = Object.defineProperty, $i = Object.getOwnPropertyDescriptor, O = (o, t, e, n) => {
|
|
4477
4477
|
for (var i = n > 1 ? void 0 : n ? $i(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -4654,7 +4654,7 @@ O([
|
|
|
4654
4654
|
a({ type: Boolean, reflect: !0 })
|
|
4655
4655
|
], k.prototype, "multiline", 2);
|
|
4656
4656
|
k = O([
|
|
4657
|
-
|
|
4657
|
+
b("o-toast")
|
|
4658
4658
|
], k);
|
|
4659
4659
|
var ki = Object.defineProperty, _i = Object.getOwnPropertyDescriptor, D = (o, t, e, n) => {
|
|
4660
4660
|
for (var i = n > 1 ? void 0 : n ? _i(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -4836,7 +4836,7 @@ D([
|
|
|
4836
4836
|
ke("input")
|
|
4837
4837
|
], C.prototype, "inputEl", 2);
|
|
4838
4838
|
C = D([
|
|
4839
|
-
|
|
4839
|
+
b("o-checkbox")
|
|
4840
4840
|
], C);
|
|
4841
4841
|
var Ei = Object.defineProperty, Si = Object.getOwnPropertyDescriptor, R = (o, t, e, n) => {
|
|
4842
4842
|
for (var i = n > 1 ? void 0 : n ? Si(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -4995,7 +4995,7 @@ R([
|
|
|
4995
4995
|
ke("input")
|
|
4996
4996
|
], z.prototype, "inputEl", 2);
|
|
4997
4997
|
z = R([
|
|
4998
|
-
|
|
4998
|
+
b("o-radio")
|
|
4999
4999
|
], z);
|
|
5000
5000
|
var Li = Object.getOwnPropertyDescriptor, Bi = (o, t, e, n) => {
|
|
5001
5001
|
for (var i = n > 1 ? void 0 : n ? Li(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -5026,7 +5026,7 @@ Ut.styles = v`
|
|
|
5026
5026
|
}
|
|
5027
5027
|
`;
|
|
5028
5028
|
Ut = Bi([
|
|
5029
|
-
|
|
5029
|
+
b("o-breadcrumbs")
|
|
5030
5030
|
], Ut);
|
|
5031
5031
|
var zi = Object.defineProperty, Oi = Object.getOwnPropertyDescriptor, ie = (o, t, e, n) => {
|
|
5032
5032
|
for (var i = n > 1 ? void 0 : n ? Oi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -5055,16 +5055,22 @@ let kt = class extends p {
|
|
|
5055
5055
|
}
|
|
5056
5056
|
};
|
|
5057
5057
|
kt.styles = v`
|
|
5058
|
-
|
|
5059
|
-
display: inline-block;
|
|
5060
|
-
}
|
|
5061
|
-
|
|
5062
|
-
li::after {
|
|
5058
|
+
:host(:not([active]))::after {
|
|
5063
5059
|
content: "/";
|
|
5064
|
-
margin:
|
|
5060
|
+
margin: 0 0.5rem;
|
|
5065
5061
|
color: var(--color-content-description);
|
|
5066
5062
|
}
|
|
5067
5063
|
|
|
5064
|
+
:host([active]) {
|
|
5065
|
+
span {
|
|
5066
|
+
color: var(--color-content-body);
|
|
5067
|
+
}
|
|
5068
|
+
}
|
|
5069
|
+
|
|
5070
|
+
li {
|
|
5071
|
+
display: inline-block;
|
|
5072
|
+
}
|
|
5073
|
+
|
|
5068
5074
|
a, span {
|
|
5069
5075
|
color: var(--color-content-description);
|
|
5070
5076
|
font-family: var(--font-family-loccitane-sans);
|
|
@@ -5087,16 +5093,6 @@ kt.styles = v`
|
|
|
5087
5093
|
:host(.a--tabfocus) {
|
|
5088
5094
|
outline: none !important;
|
|
5089
5095
|
}
|
|
5090
|
-
|
|
5091
|
-
:host([active]) {
|
|
5092
|
-
span {
|
|
5093
|
-
color: var(--color-content-body);
|
|
5094
|
-
}
|
|
5095
|
-
|
|
5096
|
-
li::after {
|
|
5097
|
-
content: "";
|
|
5098
|
-
}
|
|
5099
|
-
}
|
|
5100
5096
|
`;
|
|
5101
5097
|
ie([
|
|
5102
5098
|
a({ type: String })
|
|
@@ -5105,7 +5101,7 @@ ie([
|
|
|
5105
5101
|
a({ type: Boolean, reflect: !0 })
|
|
5106
5102
|
], kt.prototype, "active", 2);
|
|
5107
5103
|
kt = ie([
|
|
5108
|
-
|
|
5104
|
+
b("o-breadcrumb")
|
|
5109
5105
|
], kt);
|
|
5110
5106
|
var Pi = Object.defineProperty, Ii = Object.getOwnPropertyDescriptor, Ct = (o, t, e, n) => {
|
|
5111
5107
|
for (var i = n > 1 ? void 0 : n ? Ii(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -5181,7 +5177,7 @@ Ct([
|
|
|
5181
5177
|
a({ type: String })
|
|
5182
5178
|
], nt.prototype, "hoverAlt", 2);
|
|
5183
5179
|
nt = Ct([
|
|
5184
|
-
|
|
5180
|
+
b("o-arch-image")
|
|
5185
5181
|
], nt);
|
|
5186
5182
|
const Di = `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
5187
5183
|
<svg
|