@florid-kit/components 0.10.3 → 0.10.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/popin.d.ts +5 -0
- package/index.js +71 -42
- package/index.mjs +243 -189
- package/package.json +2 -2
package/components/popin.d.ts
CHANGED
|
@@ -16,12 +16,17 @@ export declare class OPopin extends LitElement {
|
|
|
16
16
|
showBackButton: boolean;
|
|
17
17
|
contrast: boolean;
|
|
18
18
|
iconSize: "xsmall" | "small" | "medium" | "large";
|
|
19
|
+
hideHeaderOnScroll: boolean;
|
|
19
20
|
private _labelId;
|
|
21
|
+
private _headerHidden;
|
|
20
22
|
connectedCallback(): void;
|
|
21
23
|
disconnectedCallback(): void;
|
|
22
24
|
protected updated(changed: Map<string, unknown>): void;
|
|
23
25
|
private _onKeydown;
|
|
24
26
|
private _onBackdropClick;
|
|
27
|
+
private _onScroll;
|
|
28
|
+
private _setupScrollListener;
|
|
29
|
+
private _removeScrollListener;
|
|
25
30
|
private _onBackClick;
|
|
26
31
|
private _requestClose;
|
|
27
32
|
private _renderCloseButton;
|
package/index.js
CHANGED
|
@@ -6,17 +6,17 @@
|
|
|
6
6
|
* @license
|
|
7
7
|
* Copyright 2017 Google LLC
|
|
8
8
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
9
|
-
*/const{is:Pe,defineProperty:Be,getOwnPropertyDescriptor:ze,getOwnPropertyNames:Oe,getOwnPropertySymbols:Ie,getPrototypeOf:De}=Object,
|
|
9
|
+
*/const{is:Pe,defineProperty:Be,getOwnPropertyDescriptor:ze,getOwnPropertyNames:Oe,getOwnPropertySymbols:Ie,getPrototypeOf:De}=Object,Q=globalThis,he=Q.trustedTypes,He=he?he.emptyScript:"",Ht=Q.reactiveElementPolyfillSupport,vt=(o,t)=>o,Pt={toAttribute(o,t){switch(t){case Boolean:o=o?He:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},Kt=(o,t)=>!Pe(o,t),de={attribute:!0,type:String,converter:Pt,reflect:!1,useDefault:!1,hasChanged:Kt};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),Q.litPropertyMetadata??(Q.litPropertyMetadata=new WeakMap);let ct=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=de){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const n=Symbol(),i=this.getPropertyDescriptor(t,n,e);i!==void 0&&Be(this.prototype,t,i)}}static getPropertyDescriptor(t,e,n){const{get:i,set:r}=ze(this.prototype,t)??{get(){return this[e]},set(s){this[e]=s}};return{get:i,set(s){const c=i==null?void 0:i.call(this);r==null||r.call(this,s),this.requestUpdate(t,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??de}static _$Ei(){if(this.hasOwnProperty(vt("elementProperties")))return;const t=De(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(vt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(vt("properties"))){const e=this.properties,n=[...Oe(e),...Ie(e)];for(const i of n)this.createProperty(i,e[i])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[n,i]of e)this.elementProperties.set(n,i)}this._$Eh=new Map;for(const[e,n]of this.elementProperties){const i=this._$Eu(e,n);i!==void 0&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const n=new Set(t.flat(1/0).reverse());for(const i of n)e.unshift(ce(i))}else t!==void 0&&e.push(ce(t));return e}static _$Eu(t,e){const n=e.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const n of e.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Le(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var n;return(n=e.hostConnected)==null?void 0:n.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var n;return(n=e.hostDisconnected)==null?void 0:n.call(e)})}attributeChangedCallback(t,e,n){this._$AK(t,n)}_$ET(t,e){var r;const n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){const s=(((r=n.converter)==null?void 0:r.toAttribute)!==void 0?n.converter:Pt).toAttribute(e,n.type);this._$Em=t,s==null?this.removeAttribute(i):this.setAttribute(i,s),this._$Em=null}}_$AK(t,e){var r,s;const n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const c=n.getPropertyOptions(i),h=typeof c.converter=="function"?{fromAttribute:c.converter}:((r=c.converter)==null?void 0:r.fromAttribute)!==void 0?c.converter:Pt;this._$Em=i,this[i]=h.fromAttribute(e,c.type)??((s=this._$Ej)==null?void 0:s.get(i))??null,this._$Em=null}}requestUpdate(t,e,n){var i;if(t!==void 0){const r=this.constructor,s=this[t];if(n??(n=r.getPropertyOptions(t)),!((n.hasChanged??Kt)(s,e)||n.useDefault&&n.reflect&&s===((i=this._$Ej)==null?void 0:i.get(t))&&!this.hasAttribute(r._$Eu(t,n))))return;this.C(t,e,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:n,reflect:i,wrapped:r},s){n&&!(this._$Ej??(this._$Ej=new Map)).has(t)&&(this._$Ej.set(t,s??e??this[t]),r!==!0||s!==void 0)||(this._$AL.has(t)||(this.hasUpdated||n||(e=void 0),this._$AL.set(t,e)),i===!0&&this._$Em!==t&&(this._$Eq??(this._$Eq=new Set)).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var n;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[r,s]of this._$Ep)this[r]=s;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[r,s]of i){const{wrapped:c}=s,h=this[r];c!==!0||this._$AL.has(r)||h===void 0||this.C(r,void 0,s,h)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(n=this._$EO)==null||n.forEach(i=>{var r;return(r=i.hostUpdate)==null?void 0:r.call(i)}),this.update(e)):this._$EM()}catch(i){throw t=!1,this._$EM(),i}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(n=>{var i;return(i=n.hostUpdated)==null?void 0:i.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&(this._$Eq=this._$Eq.forEach(e=>this._$ET(e,this[e]))),this._$EM()}updated(t){}firstUpdated(t){}};ct.elementStyles=[],ct.shadowRootOptions={mode:"open"},ct[vt("elementProperties")]=new Map,ct[vt("finalized")]=new Map,Ht==null||Ht({ReactiveElement:ct}),(Q.reactiveElementVersions??(Q.reactiveElementVersions=[])).push("2.1.0");/**
|
|
10
10
|
* @license
|
|
11
11
|
* Copyright 2017 Google LLC
|
|
12
12
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13
|
-
*/const gt=globalThis,Bt=gt.trustedTypes,pe=Bt?Bt.createPolicy("lit-html",{createHTML:o=>o}):void 0,we="$lit$",
|
|
14
|
-
\f\r]`,ft=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ue=/-->/g,fe=/>/g,it=RegExp(`>|${
|
|
15
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),ve=/'/g,ge=/"/g,ke=/^(?:script|style|textarea|title)$/i,je=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),l=je(1),
|
|
13
|
+
*/const gt=globalThis,Bt=gt.trustedTypes,pe=Bt?Bt.createPolicy("lit-html",{createHTML:o=>o}):void 0,we="$lit$",J=`lit$${Math.random().toFixed(9).slice(2)}$`,$e="?"+J,Te=`<${$e}>`,st=document,yt=()=>st.createComment(""),mt=o=>o===null||typeof o!="object"&&typeof o!="function",Wt=Array.isArray,Me=o=>Wt(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",Tt=`[
|
|
14
|
+
\f\r]`,ft=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ue=/-->/g,fe=/>/g,it=RegExp(`>|${Tt}(?:([^\\s"'>=/]+)(${Tt}*=${Tt}*(?:[^
|
|
15
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),ve=/'/g,ge=/"/g,ke=/^(?:script|style|textarea|title)$/i,je=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),l=je(1),tt=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),be=new WeakMap,nt=st.createTreeWalker(st,129);function _e(o,t){if(!Wt(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return pe!==void 0?pe.createHTML(t):t}const Fe=(o,t)=>{const e=o.length-1,n=[];let i,r=t===2?"<svg>":t===3?"<math>":"",s=ft;for(let c=0;c<e;c++){const h=o[c];let w,_,v=-1,q=0;for(;q<h.length&&(s.lastIndex=q,_=s.exec(h),_!==null);)q=s.lastIndex,s===ft?_[1]==="!--"?s=ue:_[1]!==void 0?s=fe:_[2]!==void 0?(ke.test(_[2])&&(i=RegExp("</"+_[2],"g")),s=it):_[3]!==void 0&&(s=it):s===it?_[0]===">"?(s=i??ft,v=-1):_[1]===void 0?v=-2:(v=s.lastIndex-_[2].length,w=_[1],s=_[3]===void 0?it:_[3]==='"'?ge:ve):s===ge||s===ve?s=it:s===ue||s===fe?s=ft:(s=it,i=void 0);const Y=s===it&&o[c+1].startsWith("/>")?" ":"";r+=s===ft?h+Te:v>=0?(n.push(w),h.slice(0,v)+we+h.slice(v)+J+Y):h+J+(v===-2?c:Y)}return[_e(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]};class xt{constructor({strings:t,_$litType$:e},n){let i;this.parts=[];let r=0,s=0;const c=t.length-1,h=this.parts,[w,_]=Fe(t,e);if(this.el=xt.createElement(w,n),nt.currentNode=this.el.content,e===2||e===3){const v=this.el.content.firstChild;v.replaceWith(...v.childNodes)}for(;(i=nt.nextNode())!==null&&h.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(const v of i.getAttributeNames())if(v.endsWith(we)){const q=_[s++],Y=i.getAttribute(v).split(J),At=/([.?@])?(.*)/.exec(q);h.push({type:1,index:r,name:At[2],strings:Y,ctor:At[1]==="."?Ue:At[1]==="?"?Ne:At[1]==="@"?Ve:Ot}),i.removeAttribute(v)}else v.startsWith(J)&&(h.push({type:6,index:r}),i.removeAttribute(v));if(ke.test(i.tagName)){const v=i.textContent.split(J),q=v.length-1;if(q>0){i.textContent=Bt?Bt.emptyScript:"";for(let Y=0;Y<q;Y++)i.append(v[Y],yt()),nt.nextNode(),h.push({type:2,index:++r});i.append(v[q],yt())}}}else if(i.nodeType===8)if(i.data===$e)h.push({type:2,index:r});else{let v=-1;for(;(v=i.data.indexOf(J,v+1))!==-1;)h.push({type:7,index:r}),v+=J.length-1}r++}}static createElement(t,e){const n=st.createElement("template");return n.innerHTML=t,n}}function ht(o,t,e=o,n){var s,c;if(t===tt)return t;let i=n!==void 0?(s=e._$Co)==null?void 0:s[n]:e._$Cl;const r=mt(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=ht(o,i._$AS(o,t.values),i,n)),t}class Re{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)??st).importNode(e,!0);nt.currentNode=i;let r=nt.nextNode(),s=0,c=0,h=n[0];for(;h!==void 0;){if(s===h.index){let w;h.type===2?w=new Et(r,r.nextSibling,this,t):h.type===1?w=new h.ctor(r,h.name,h.strings,this,t):h.type===6&&(w=new qe(r,this,t)),this._$AV.push(w),h=n[++c]}s!==(h==null?void 0:h.index)&&(r=nt.nextNode(),s++)}return nt.currentNode=st,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 Et{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=ht(this,t,e),mt(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==tt&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Me(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&&mt(this._$AH)?this._$AA.nextSibling.data=t:this.T(st.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=xt.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 Re(i,this),c=s.u(this.options);s.p(e),this.T(c),this._$AH=s}}_$AC(t){let e=be.get(t.strings);return e===void 0&&be.set(t.strings,e=new xt(t)),e}k(t){Wt(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 Et(this.O(yt()),this.O(yt()),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 Ot{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=ht(this,t,e,0),s=!mt(t)||t!==this._$AH&&t!==tt,s&&(this._$AH=t);else{const c=t;let h,w;for(t=r[0],h=0;h<r.length-1;h++)w=ht(this,c[n+h],e,h),w===tt&&(w=this._$AH[h]),s||(s=!mt(w)||w!==this._$AH[h]),w===d?t=d:t!==d&&(t+=(w??"")+r[h+1]),this._$AH[h]=w}s&&!i&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Ue extends Ot{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}}class Ne extends Ot{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}}class Ve extends Ot{constructor(t,e,n,i,r){super(t,e,n,i,r),this.type=5}_$AI(t,e=this){if((t=ht(this,t,e,0)??d)===tt)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 qe{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){ht(this,t)}}const Mt=gt.litHtmlPolyfillSupport;Mt==null||Mt(xt,Et),(gt.litHtmlVersions??(gt.litHtmlVersions=[])).push("3.3.0");const Ze=(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 Et(t.insertBefore(yt(),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 rt=globalThis;let p=class extends ct{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=Ze(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
|
|
19
|
+
*/const rt=globalThis;let p=class extends ct{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=Ze(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 tt}};var me;p._$litElement$=!0,p.finalized=!0,(me=rt.litElementHydrateSupport)==null||me.call(rt,{LitElement:p});const jt=rt.litElementPolyfillSupport;jt==null||jt({LitElement:p});(rt.litElementVersions??(rt.litElementVersions=[])).push("4.2.0");/**
|
|
20
20
|
* @license
|
|
21
21
|
* Copyright 2017 Google LLC
|
|
22
22
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
* @license
|
|
29
29
|
* Copyright 2017 Google LLC
|
|
30
30
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
31
|
-
*/function
|
|
31
|
+
*/function W(o){return a({...o,state:!0,attribute:!1})}/**
|
|
32
32
|
* @license
|
|
33
33
|
* Copyright 2017 Google LLC
|
|
34
34
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -160,11 +160,11 @@
|
|
|
160
160
|
* @license
|
|
161
161
|
* Copyright 2017 Google LLC
|
|
162
162
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
163
|
-
*/class Rt extends Qt{constructor(t){if(super(t),this.it=d,t.type!==Yt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===d||t==null)return this._t=void 0,this.it=t;if(t===
|
|
163
|
+
*/class Rt extends Qt{constructor(t){if(super(t),this.it=d,t.type!==Yt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===d||t==null)return this._t=void 0,this.it=t;if(t===tt)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Rt.directiveName="unsafeHTML",Rt.resultType=1;/**
|
|
164
164
|
* @license
|
|
165
165
|
* Copyright 2017 Google LLC
|
|
166
166
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
167
|
-
*/class Ut extends Rt{}Ut.directiveName="unsafeSVG",Ut.resultType=2;const
|
|
167
|
+
*/class Ut extends Rt{}Ut.directiveName="unsafeSVG",Ut.resultType=2;const S=Jt(Ut);/**
|
|
168
168
|
* @license
|
|
169
169
|
* Copyright 2020 Google LLC
|
|
170
170
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -172,14 +172,14 @@
|
|
|
172
172
|
* @license
|
|
173
173
|
* Copyright 2017 Google LLC
|
|
174
174
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
175
|
-
*/const bt=(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),bt(i,t);return!0},zt=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)},Se=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),Io(t)}};function zo(o){this._$AN!==void 0?(zt(this),this._$AM=o,Se(this)):this._$AM=o}function Oo(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++)bt(n[r],!1),zt(n[r]);else n!=null&&(bt(n,!1),zt(n));else bt(this,o)}const Io=o=>{o.type==Yt.CHILD&&(o._$AP??(o._$AP=Oo),o._$AQ??(o._$AQ=zo))};class Do extends Qt{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,n){super._$AT(t,e,n),Se(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&&(bt(this,t),zt(this))}setValue(t){if(Bo(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
|
|
175
|
+
*/const bt=(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),bt(i,t);return!0},zt=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)},Se=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),Io(t)}};function zo(o){this._$AN!==void 0?(zt(this),this._$AM=o,Se(this)):this._$AM=o}function Oo(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++)bt(n[r],!1),zt(n[r]);else n!=null&&(bt(n,!1),zt(n));else bt(this,o)}const Io=o=>{o.type==Yt.CHILD&&(o._$AP??(o._$AP=Oo),o._$AQ??(o._$AQ=zo))};class Do extends Qt{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,n){super._$AT(t,e,n),Se(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&&(bt(this,t),zt(this))}setValue(t){if(Bo(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 Ho extends Do{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 To extends Ho{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 Mo extends To{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 ye=Jt(Mo);/**
|
|
176
176
|
* @license
|
|
177
177
|
* Copyright 2018 Google LLC
|
|
178
178
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
179
179
|
*/const P=o=>o??d;var jo=Object.defineProperty,Fo=Object.getOwnPropertyDescriptor,F=(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};let B=class extends p{constructor(){super(...arguments),this.bgstyle="background-light",this.size="medium",this.status="empty",this.type="button",this.strokewidth="1",this.icon="wishlist",this.disabled=!1,this.showSrLabel=!1,this.srLabel=""}updated(o){super.updated(o),this.style.setProperty("--icon-stroke-width",this.strokewidth)}render(){const o=Z[this.icon]??"",t=`icon-${this.icon}`,e=o.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"'),n=this.showSrLabel?l`<span class="sr-only">${this.srLabel}</span>`:null,i=this.showSrLabel?null:"icon";return l`
|
|
180
180
|
${this.type==="span"?l`
|
|
181
181
|
<span class="icon icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}" ?disabled="${this.disabled}">
|
|
182
|
-
${
|
|
182
|
+
${S(e)}
|
|
183
183
|
</span>
|
|
184
184
|
`:l`
|
|
185
185
|
<button
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
class="icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}"
|
|
189
189
|
?disabled="${this.disabled}"
|
|
190
190
|
>
|
|
191
|
-
${
|
|
191
|
+
${S(e)}
|
|
192
192
|
${n}
|
|
193
193
|
</button>
|
|
194
194
|
`}
|
|
@@ -693,7 +693,7 @@
|
|
|
693
693
|
overflow: auto;
|
|
694
694
|
box-sizing: border-box;
|
|
695
695
|
}
|
|
696
|
-
`;u.focusablesSelector='button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), o-icon-button, o-button';u.focusablesCustomElementsSelector="o-icon-button, o-button";u.shadowRootOptions={...p.shadowRootOptions,delegatesFocus:!0};b([a({type:Boolean,reflect:!0})],u.prototype,"open",2);b([a({type:Boolean,reflect:!0})],u.prototype,"showHeader",2);b([a({type:Boolean,reflect:!0})],u.prototype,"showFooter",2);b([a({type:Boolean,reflect:!0})],u.prototype,"showHeaderStartIcon",2);b([a({type:String,reflect:!0})],u.prototype,"headerTitle",2);b([a({type:String,reflect:!0})],u.prototype,"headerTitleClassName",2);b([a({type:String,reflect:!0})],u.prototype,"labelDialog",2);b([a({type:String,reflect:!0})],u.prototype,"closeButtonLabel",2);b([a({type:String,reflect:!0})],u.prototype,"goBackButtonLabel",2);b([a({type:String,reflect:!0})],u.prototype,"firstButtonLabel",2);b([a({type:String,reflect:!0})],u.prototype,"firstButtonVariant",2);b([a({type:Object,reflect:!0})],u.prototype,"firstButtonProps",2);b([a({type:Boolean,reflect:!0})],u.prototype,"onFirstButtonClickClose",2);b([a({type:String,reflect:!0})],u.prototype,"secondButtonLabel",2);b([a({type:String,reflect:!0})],u.prototype,"secondButtonVariant",2);b([a({type:Object,reflect:!0})],u.prototype,"secondButtonProps",2);b([a({type:Boolean,reflect:!0})],u.prototype,"onSecondButtonClickClose",2);b([a({type:Boolean,reflect:!0})],u.prototype,"disablePortal",2);b([a({type:Number,reflect:!0})],u.prototype,"zIndex",2);b([a({type:Boolean,reflect:!0})],u.prototype,"initialized",2);b([a({type:Boolean})],u.prototype,"showDetail",2);b([a({type:Boolean})],u.prototype,"isHidingDetail",2);u=b([g("o-side-panel")],u);var No=Object.defineProperty,Vo=Object.getOwnPropertyDescriptor,k=(o,t,e,n)=>{for(var i=n>1?void 0:n?Vo(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&&No(t,e,i),i};const qo=Xt(p);let y=class extends qo{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[Gt].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=Z[t].replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"');return l`<span class="${o==="start"?"icon-start":"icon-end"}">${
|
|
696
|
+
`;u.focusablesSelector='button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), o-icon-button, o-button';u.focusablesCustomElementsSelector="o-icon-button, o-button";u.shadowRootOptions={...p.shadowRootOptions,delegatesFocus:!0};b([a({type:Boolean,reflect:!0})],u.prototype,"open",2);b([a({type:Boolean,reflect:!0})],u.prototype,"showHeader",2);b([a({type:Boolean,reflect:!0})],u.prototype,"showFooter",2);b([a({type:Boolean,reflect:!0})],u.prototype,"showHeaderStartIcon",2);b([a({type:String,reflect:!0})],u.prototype,"headerTitle",2);b([a({type:String,reflect:!0})],u.prototype,"headerTitleClassName",2);b([a({type:String,reflect:!0})],u.prototype,"labelDialog",2);b([a({type:String,reflect:!0})],u.prototype,"closeButtonLabel",2);b([a({type:String,reflect:!0})],u.prototype,"goBackButtonLabel",2);b([a({type:String,reflect:!0})],u.prototype,"firstButtonLabel",2);b([a({type:String,reflect:!0})],u.prototype,"firstButtonVariant",2);b([a({type:Object,reflect:!0})],u.prototype,"firstButtonProps",2);b([a({type:Boolean,reflect:!0})],u.prototype,"onFirstButtonClickClose",2);b([a({type:String,reflect:!0})],u.prototype,"secondButtonLabel",2);b([a({type:String,reflect:!0})],u.prototype,"secondButtonVariant",2);b([a({type:Object,reflect:!0})],u.prototype,"secondButtonProps",2);b([a({type:Boolean,reflect:!0})],u.prototype,"onSecondButtonClickClose",2);b([a({type:Boolean,reflect:!0})],u.prototype,"disablePortal",2);b([a({type:Number,reflect:!0})],u.prototype,"zIndex",2);b([a({type:Boolean,reflect:!0})],u.prototype,"initialized",2);b([a({type:Boolean})],u.prototype,"showDetail",2);b([a({type:Boolean})],u.prototype,"isHidingDetail",2);u=b([g("o-side-panel")],u);var No=Object.defineProperty,Vo=Object.getOwnPropertyDescriptor,k=(o,t,e,n)=>{for(var i=n>1?void 0:n?Vo(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&&No(t,e,i),i};const qo=Xt(p);let y=class extends qo{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[Gt].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=Z[t].replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"');return l`<span class="${o==="start"?"icon-start":"icon-end"}">${S(e)}</span>`}renderButton(){const o=this.text||this.textsecond;return l`
|
|
697
697
|
<button type=${this.type} class="button" ?disabled=${this.disabled} @click=${this.handleClick} @keydown=${this.handleClick}>
|
|
698
698
|
${this.startIcon?this.renderIcon("start"):d}
|
|
699
699
|
${o?l`
|
|
@@ -925,7 +925,7 @@
|
|
|
925
925
|
`;k([a()],y.prototype,"type",2);k([a()],y.prototype,"value",2);k([a({type:String,reflect:!0})],y.prototype,"variant",2);k([a({type:String})],y.prototype,"text",2);k([a({type:String})],y.prototype,"textsecond",2);k([a({type:Boolean,reflect:!0})],y.prototype,"fullwidth",2);k([a({type:Boolean,reflect:!0})],y.prototype,"disabled",2);k([a({type:String})],y.prototype,"startIconModel",2);k([a({type:String})],y.prototype,"endIconModel",2);k([a({type:Boolean,reflect:!0,attribute:"starticon"})],y.prototype,"startIcon",2);k([a({type:Boolean,reflect:!0,attribute:"endicon"})],y.prototype,"endIcon",2);k([a({type:String,attribute:"paneltarget"})],y.prototype,"panelTarget",2);k([a({type:String})],y.prototype,"href",2);k([a({type:String})],y.prototype,"target",2);k([a({type:Boolean,reflect:!0})],y.prototype,"underlined",2);k([a({type:Boolean,reflect:!0})],y.prototype,"withbadge",2);y=k([g("o-button")],y);var Zo=Object.defineProperty,Ko=Object.getOwnPropertyDescriptor,It=(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 dt=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=Z.wishlist.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"');return l`
|
|
926
926
|
<button type="button" aria-describedby="${this.ariaDescribedBy}" class="wishlist-button">
|
|
927
927
|
<span class="sr-only">${this.label}</span>
|
|
928
|
-
${
|
|
928
|
+
${S(o)}
|
|
929
929
|
</button>
|
|
930
930
|
`}setStatus(o){this.status=o,this.setAttribute("aria-pressed",String(this.status==="filled")),this.requestUpdate()}setAriaDescribedBy(o){this.ariaDescribedBy=o,this.requestUpdate()}setLabel(o){this.label=o,this.requestUpdate()}};dt.styles=f`
|
|
931
931
|
:host {
|
|
@@ -1107,7 +1107,7 @@
|
|
|
1107
1107
|
`;lt([a({type:String})],K.prototype,"href",2);lt([a({type:String})],K.prototype,"target",2);lt([a({type:String,reflect:!0})],K.prototype,"template",2);lt([a({type:Boolean,reflect:!0})],K.prototype,"inverse",2);lt([a({type:Boolean,reflect:!0})],K.prototype,"endIcon",2);lt([a({type:Boolean,reflect:!0})],K.prototype,"reverseEndIcon",2);K=lt([g("o-link")],K);var Xo=Object.defineProperty,Yo=Object.getOwnPropertyDescriptor,Dt=(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 pt=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`
|
|
1108
1108
|
<div class="rating">
|
|
1109
1109
|
<div class="stars">
|
|
1110
|
-
${o.map(t=>l`<span class="star">${
|
|
1110
|
+
${o.map(t=>l`<span class="star">${S(Z[t]??"")}</span>`)}
|
|
1111
1111
|
</div>
|
|
1112
1112
|
${this.reviewCount!=null&&this.href!=null?l`<o-link template="review" href="${this.href}">${this.reviewCount}</o-link>`:null}
|
|
1113
1113
|
</div>
|
|
@@ -1278,7 +1278,7 @@
|
|
|
1278
1278
|
height: 0;
|
|
1279
1279
|
width: 0;
|
|
1280
1280
|
}
|
|
1281
|
-
`;ot([a({type:Array})],j.prototype,"thumbnails",2);ot([a({type:Number})],j.prototype,"activeIndex",2);ot([a({type:Array})],j.prototype,"disabledIndexes",2);ot([a({type:String})],j.prototype,"maxWidth",2);ot([a({type:String})],j.prototype,"altressource",2);ot([a({type:Object})],j.prototype,"swiperInstance",2);ot([
|
|
1281
|
+
`;ot([a({type:Array})],j.prototype,"thumbnails",2);ot([a({type:Number})],j.prototype,"activeIndex",2);ot([a({type:Array})],j.prototype,"disabledIndexes",2);ot([a({type:String})],j.prototype,"maxWidth",2);ot([a({type:String})],j.prototype,"altressource",2);ot([a({type:Object})],j.prototype,"swiperInstance",2);ot([W()],j.prototype,"focusedIndex",2);j=ot([g("thumbnail-navigation")],j);var ti=Object.defineProperty,ei=Object.getOwnPropertyDescriptor,te=(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 wt=class extends p{constructor(){super(...arguments),this.type="",this.bgstyle="background-white"}render(){return l`
|
|
1282
1282
|
<span class="tag ${this.bgstyle}"><slot></slot></span>
|
|
1283
1283
|
`}};wt.styles=f`
|
|
1284
1284
|
.tag {
|
|
@@ -1436,7 +1436,7 @@
|
|
|
1436
1436
|
border-color: transparent var(--color-alpha-dark-strongest) transparent transparent;
|
|
1437
1437
|
}
|
|
1438
1438
|
|
|
1439
|
-
`;ee([a({type:String,reflect:!0})],$t.prototype,"type",2);ee([a({type:String,reflect:!0})],$t.prototype,"text",2);$t=ee([g("o-tooltip")],$t);var ni=Object.defineProperty,ri=Object.getOwnPropertyDescriptor,
|
|
1439
|
+
`;ee([a({type:String,reflect:!0})],$t.prototype,"type",2);ee([a({type:String,reflect:!0})],$t.prototype,"text",2);$t=ee([g("o-tooltip")],$t);var ni=Object.defineProperty,ri=Object.getOwnPropertyDescriptor,G=(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 T=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=Z.checkstroke.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"'),t=this.options.find(e=>e.value===this.value);return l`
|
|
1440
1440
|
<button
|
|
1441
1441
|
role="combobox"
|
|
1442
1442
|
aria-haspopup="listbox"
|
|
@@ -1476,15 +1476,15 @@
|
|
|
1476
1476
|
${e.url?l`
|
|
1477
1477
|
<a href="${e.url}">
|
|
1478
1478
|
<span>${e.label}</span>
|
|
1479
|
-
${e.value===this.value?l`<span class="check">${
|
|
1479
|
+
${e.value===this.value?l`<span class="check">${S(o)}</span>`:null}
|
|
1480
1480
|
</a>`:l`
|
|
1481
1481
|
<span>${e.label}</span>
|
|
1482
|
-
${e.value===this.value?l`<span class="check">${
|
|
1482
|
+
${e.value===this.value?l`<span class="check">${S(o)}</span>`:null}`}
|
|
1483
1483
|
</li>`)}
|
|
1484
1484
|
</ul>`:null}
|
|
1485
1485
|
|
|
1486
1486
|
<input type="hidden" name="${this.name}" .value="${this.value}" />
|
|
1487
|
-
`}};
|
|
1487
|
+
`}};T.styles=f`
|
|
1488
1488
|
:host {
|
|
1489
1489
|
display: inline-block;
|
|
1490
1490
|
position: relative;
|
|
@@ -1623,7 +1623,7 @@
|
|
|
1623
1623
|
input[type="hidden"] {
|
|
1624
1624
|
display: none;
|
|
1625
1625
|
}
|
|
1626
|
-
`;
|
|
1626
|
+
`;G([a({type:Array,reflect:!0})],T.prototype,"options",2);G([a({type:String,reflect:!0})],T.prototype,"value",2);G([a({type:String,reflect:!0})],T.prototype,"name",2);G([a({type:Boolean,reflect:!0})],T.prototype,"disabled",2);G([a({type:String,reflect:!0})],T.prototype,"width",2);G([W()],T.prototype,"open",2);G([W()],T.prototype,"activeIndex",2);G([W()],T.prototype,"menuWidth",2);T=G([g("o-dropdown")],T);var si=Object.getOwnPropertyDescriptor,ai=(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=s(i)||i);return i};let Nt=class extends p{render(){return l` <span class="dots"></span> `}};Nt.styles=f`
|
|
1627
1627
|
:host {
|
|
1628
1628
|
display: flex;
|
|
1629
1629
|
align-items: center;
|
|
@@ -1728,7 +1728,7 @@
|
|
|
1728
1728
|
<div class="right">
|
|
1729
1729
|
<span class="additional-text">${P(e.additionaltext)}</span>
|
|
1730
1730
|
${e.value===this.value&&!e.additionaltext?l`
|
|
1731
|
-
<span class="check">${
|
|
1731
|
+
<span class="check">${S(o)}</span>`:null}
|
|
1732
1732
|
</div>
|
|
1733
1733
|
</a>
|
|
1734
1734
|
</li>
|
|
@@ -1911,11 +1911,11 @@
|
|
|
1911
1911
|
input[type="hidden"] {
|
|
1912
1912
|
display: none;
|
|
1913
1913
|
}
|
|
1914
|
-
`;R([a({type:Array,reflect:!0})],z.prototype,"options",2);R([a({type:String,reflect:!0})],z.prototype,"value",2);R([a({type:String,reflect:!0})],z.prototype,"name",2);R([a({type:String,reflect:!0})],z.prototype,"additionaltext",2);R([a({type:Boolean,reflect:!0})],z.prototype,"disabled",2);R([a({type:String,reflect:!0})],z.prototype,"width",2);R([
|
|
1914
|
+
`;R([a({type:Array,reflect:!0})],z.prototype,"options",2);R([a({type:String,reflect:!0})],z.prototype,"value",2);R([a({type:String,reflect:!0})],z.prototype,"name",2);R([a({type:String,reflect:!0})],z.prototype,"additionaltext",2);R([a({type:Boolean,reflect:!0})],z.prototype,"disabled",2);R([a({type:String,reflect:!0})],z.prototype,"width",2);R([W()],z.prototype,"open",2);R([W()],z.prototype,"activeIndex",2);R([W()],z.prototype,"menuWidth",2);z=R([g("o-dropdown-variant")],z);/**
|
|
1915
1915
|
* @license
|
|
1916
1916
|
* Copyright 2018 Google LLC
|
|
1917
1917
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1918
|
-
*/const Ee="important",hi=" !"+Ee,di=Jt(class extends Qt{constructor(o){var t;if(super(o),o.type!==Yt.ATTRIBUTE||o.name!=="style"||((t=o.strings)==null?void 0:t.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce((t,e)=>{const n=o[e];return n==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(o,[t]){const{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(const n of this.ft)t[n]==null&&(this.ft.delete(n),n.includes("-")?e.removeProperty(n):e[n]=null);for(const n in t){const i=t[n];if(i!=null){this.ft.add(n);const r=typeof i=="string"&&i.endsWith(hi);n.includes("-")||r?e.setProperty(n,r?i.slice(0,-11):i,r?Ee:""):e[n]=i}}return
|
|
1918
|
+
*/const Ee="important",hi=" !"+Ee,di=Jt(class extends Qt{constructor(o){var t;if(super(o),o.type!==Yt.ATTRIBUTE||o.name!=="style"||((t=o.strings)==null?void 0:t.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce((t,e)=>{const n=o[e];return n==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(o,[t]){const{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(const n of this.ft)t[n]==null&&(this.ft.delete(n),n.includes("-")?e.removeProperty(n):e[n]=null);for(const n in t){const i=t[n];if(i!=null){this.ft.add(n);const r=typeof i=="string"&&i.endsWith(hi);n.includes("-")||r?e.setProperty(n,r?i.slice(0,-11):i,r?Ee:""):e[n]=i}}return tt}});var pi=Object.defineProperty,ui=Object.getOwnPropertyDescriptor,oe=(o,t,e,n)=>{for(var i=n>1?void 0:n?ui(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 kt=class extends p{constructor(){super(...arguments),this.option={},this.imageSize=64}render(){const o=s=>{const c=document.createElement("textarea");return c.innerHTML=s,c.value},t=this.option&&this.option.clickable,e={width:`${this.imageSize}px`,height:`${this.imageSize}px`},n=this.option&&this.option.title?o(this.option.title):"",i=this.option&&this.option.description?o(this.option.description):"",r=l`
|
|
1919
1919
|
${this.option.imgurl?l`<img src="${this.option.imgurl}" alt="${P(n)}" aria-hidden="true" style=${di(e)} />`:""}
|
|
1920
1920
|
<div class="m-reassurance-content">
|
|
1921
1921
|
<h3 class="a-reassurance-text">${P(n)}</h3>
|
|
@@ -2002,7 +2002,7 @@
|
|
|
2002
2002
|
overflow: hidden;
|
|
2003
2003
|
}
|
|
2004
2004
|
}
|
|
2005
|
-
`;oe([a({type:Object,reflect:!0})],kt.prototype,"option",2);oe([a({type:Number,reflect:!0})],kt.prototype,"imageSize",2);kt=oe([g("o-reassurance")],kt);var fi=Object.defineProperty,vi=Object.getOwnPropertyDescriptor,
|
|
2005
|
+
`;oe([a({type:Object,reflect:!0})],kt.prototype,"option",2);oe([a({type:Number,reflect:!0})],kt.prototype,"imageSize",2);kt=oe([g("o-reassurance")],kt);var fi=Object.defineProperty,vi=Object.getOwnPropertyDescriptor,X=(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&&fi(t,e,i),i};const gi=Xt(p);let O=class extends gi{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`
|
|
2006
2006
|
<a href="${this.link}" class="o-chip" tabindex="${this.inactive?"-1":"0"}" aria-hidden="${this.inactive?"true":"false"}">
|
|
2007
2007
|
${o?this.text:l`<slot></slot>`}
|
|
2008
2008
|
</a>
|
|
@@ -2100,7 +2100,7 @@
|
|
|
2100
2100
|
display: inline-flex;
|
|
2101
2101
|
align-items: center;
|
|
2102
2102
|
}
|
|
2103
|
-
`;
|
|
2103
|
+
`;X([a({type:String,reflect:!0})],O.prototype,"link",2);X([a({reflect:!0})],O.prototype,"name",2);X([a({reflect:!0})],O.prototype,"value",2);X([a({type:String})],O.prototype,"text",2);X([a({type:String,reflect:!0})],O.prototype,"size",2);X([a({type:Boolean,reflect:!0})],O.prototype,"selected",2);X([a({type:Boolean,reflect:!0})],O.prototype,"fullwidth",2);X([a({type:Boolean,reflect:!0})],O.prototype,"inactive",2);O=X([g("o-chip")],O);var bi=Object.defineProperty,yi=Object.getOwnPropertyDescriptor,ie=(o,t,e,n)=>{for(var i=n>1?void 0:n?yi(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&&bi(t,e,i),i};let _t=class extends p{constructor(){super(),this.name="",this.value="",this.addEventListener("selected",this.onChipSelected)}onChipSelected(o){const t=o.target instanceof O?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`
|
|
2104
2104
|
<slot></slot>
|
|
2105
2105
|
`}};_t.styles=f`
|
|
2106
2106
|
:host {
|
|
@@ -2109,7 +2109,7 @@
|
|
|
2109
2109
|
flex-wrap: wrap;
|
|
2110
2110
|
gap: var(--spacing-s);
|
|
2111
2111
|
}
|
|
2112
|
-
`;ie([a({reflect:!0})],_t.prototype,"name",2);ie([a({reflect:!0})],_t.prototype,"value",2);_t=ie([g("o-chipset")],_t);var mi=Object.defineProperty,xi=Object.getOwnPropertyDescriptor,U=(o,t,e,n)=>{for(var i=n>1?void 0:n?xi(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&&mi(t,e,i),i};const wi=Xt(p);let I=class extends wi{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=Z[this.crossIconName].replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"').replace(/stroke=[#"'a-z1-9]*/gi,"");return l`<span class="cross-icon">${
|
|
2112
|
+
`;ie([a({reflect:!0})],_t.prototype,"name",2);ie([a({reflect:!0})],_t.prototype,"value",2);_t=ie([g("o-chipset")],_t);var mi=Object.defineProperty,xi=Object.getOwnPropertyDescriptor,U=(o,t,e,n)=>{for(var i=n>1?void 0:n?xi(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&&mi(t,e,i),i};const wi=Xt(p);let I=class extends wi{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=Z[this.crossIconName].replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"').replace(/stroke=[#"'a-z1-9]*/gi,"");return l`<span class="cross-icon">${S(o)}</span>`}strikeThroughImg(){const o=Lo[this.strikethroughImgName].replace("<svg",'<svg aria-hidden="true" focusable="false" part="strikethrough"').replace(/stroke=[#"'a-z1-9]*/gi,"");return S(o)}render(){const o=this.text;return l`${this.type==="link"?l`
|
|
2113
2113
|
<a role="button" tabindex="0" class="button" href=${this.href} ?disabled=${this.disabled} @click=${this.handleClick} @keydown=${this.handleClick}
|
|
2114
2114
|
aria-label=${this.ariaLabel} aria-pressed=${this.selected}>
|
|
2115
2115
|
${o?l`
|
|
@@ -2424,10 +2424,10 @@
|
|
|
2424
2424
|
color: var(--text-color);
|
|
2425
2425
|
}
|
|
2426
2426
|
|
|
2427
|
-
`;ne([a({type:String,reflect:!0})],Ct.prototype,"variant",2);ne([a({type:String})],Ct.prototype,"text",2);Ct=ne([g("o-badge")],Ct);var Ci=Object.defineProperty,Si=Object.getOwnPropertyDescriptor,
|
|
2427
|
+
`;ne([a({type:String,reflect:!0})],Ct.prototype,"variant",2);ne([a({type:String})],Ct.prototype,"text",2);Ct=ne([g("o-badge")],Ct);var Ci=Object.defineProperty,Si=Object.getOwnPropertyDescriptor,H=(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&&Ci(t,e,i),i};let E=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=Po[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`
|
|
2428
2428
|
<div class="o-toast">
|
|
2429
2429
|
<div class="o-toast-icon">
|
|
2430
|
-
${
|
|
2430
|
+
${S(t)}
|
|
2431
2431
|
</div>
|
|
2432
2432
|
<div class="o-toast-text">
|
|
2433
2433
|
${this.text}
|
|
@@ -2440,7 +2440,7 @@
|
|
|
2440
2440
|
</o-icon-button>
|
|
2441
2441
|
</div>
|
|
2442
2442
|
</div>
|
|
2443
|
-
`}};
|
|
2443
|
+
`}};E.styles=f`
|
|
2444
2444
|
:host {
|
|
2445
2445
|
--vertical-offset: 24px;
|
|
2446
2446
|
--horizontal-offset: 24px;
|
|
@@ -2517,7 +2517,7 @@
|
|
|
2517
2517
|
.o-toast-icon {
|
|
2518
2518
|
height: 16px;
|
|
2519
2519
|
}
|
|
2520
|
-
`;
|
|
2520
|
+
`;H([a({type:String,reflect:!0})],E.prototype,"icon",2);H([a({type:String,reflect:!0})],E.prototype,"text",2);H([a({type:String,reflect:!0})],E.prototype,"verticalanchor",2);H([a({type:String,reflect:!0})],E.prototype,"horizontalanchor",2);H([a({type:Number,reflect:!0})],E.prototype,"verticaloffset",2);H([a({type:Number,reflect:!0})],E.prototype,"horizontaloffset",2);H([a({type:Number,reflect:!0})],E.prototype,"animationduration",2);H([a({type:String,reflect:!0})],E.prototype,"animationaxis",2);H([a({type:Boolean,reflect:!0})],E.prototype,"animated",2);H([a({type:Number,reflect:!0})],E.prototype,"lifeduration",2);H([a({type:Boolean,reflect:!0})],E.prototype,"multiline",2);E=H([g("o-toast")],E);var Ei=Object.defineProperty,Ai=Object.getOwnPropertyDescriptor,M=(o,t,e,n)=>{for(var i=n>1?void 0:n?Ai(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 Li=0,L=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-${++Li}`)}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=S(Z.checkbox.replace("<svg",'<svg aria-hidden="true" focusable="false" part="svg"')),t=S(Z.icoMinus.replace("<svg",'<svg class="indeterminate" aria-hidden="true" focusable="false" part="svg"'));return l`
|
|
2521
2521
|
<input
|
|
2522
2522
|
type="checkbox"
|
|
2523
2523
|
id=${this.inputId}
|
|
@@ -2750,7 +2750,7 @@
|
|
|
2750
2750
|
margin: var(--spacing-4-xs);
|
|
2751
2751
|
padding: var(--spacing-4-xs);
|
|
2752
2752
|
}
|
|
2753
|
-
`;Vt=Ii([g("o-breadcrumbs")],Vt);var Di=Object.defineProperty,
|
|
2753
|
+
`;Vt=Ii([g("o-breadcrumbs")],Vt);var Di=Object.defineProperty,Hi=Object.getOwnPropertyDescriptor,re=(o,t,e,n)=>{for(var i=n>1?void 0:n?Hi(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&&Di(t,e,i),i};let St=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`
|
|
2754
2754
|
<li>
|
|
2755
2755
|
<a
|
|
2756
2756
|
href="${this.href}"
|
|
@@ -2799,7 +2799,7 @@
|
|
|
2799
2799
|
:host(.a--tabfocus) {
|
|
2800
2800
|
outline: none !important;
|
|
2801
2801
|
}
|
|
2802
|
-
`;re([a({type:String})],St.prototype,"href",2);re([a({type:Boolean,reflect:!0})],St.prototype,"active",2);St=re([g("o-breadcrumb")],St);var
|
|
2802
|
+
`;re([a({type:String})],St.prototype,"href",2);re([a({type:Boolean,reflect:!0})],St.prototype,"active",2);St=re([g("o-breadcrumb")],St);var Ti=Object.defineProperty,Mi=Object.getOwnPropertyDescriptor,ut=(o,t,e,n)=>{for(var i=n>1?void 0:n?Mi(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 et=class extends p{constructor(){super(...arguments),this.imageUrl="",this.imageAlt="",this.hoverUrl="",this.hoverAlt="",this.dimmed=!1}render(){return l`<div class="card">
|
|
2803
2803
|
<svg aria-hidden="true">
|
|
2804
2804
|
<defs>
|
|
2805
2805
|
<clipPath id="arch-gift-finder" clipPathUnits="objectBoundingBox">
|
|
@@ -2810,7 +2810,7 @@
|
|
|
2810
2810
|
<img src="${this.imageUrl}" alt="${this.imageAlt}" class="card-img base" loading="lazy" />
|
|
2811
2811
|
${this.hoverUrl?l`<img src="${this.hoverUrl}" alt="${this.hoverAlt||this.imageAlt}" class="card-img hover" loading="lazy" />`:""}
|
|
2812
2812
|
<div class="overlay" part="overlay"></div>
|
|
2813
|
-
</div>`}};
|
|
2813
|
+
</div>`}};et.styles=f`
|
|
2814
2814
|
:host {
|
|
2815
2815
|
--card-width : 175px;
|
|
2816
2816
|
--card-height : 260px;
|
|
@@ -2869,7 +2869,7 @@
|
|
|
2869
2869
|
:host([dimmed]) .overlay {
|
|
2870
2870
|
opacity: var(--overlay-opacity, 1);
|
|
2871
2871
|
}
|
|
2872
|
-
`;ut([a({type:String})],
|
|
2872
|
+
`;ut([a({type:String})],et.prototype,"imageUrl",2);ut([a({type:String})],et.prototype,"imageAlt",2);ut([a({type:String})],et.prototype,"hoverUrl",2);ut([a({type:String})],et.prototype,"hoverAlt",2);ut([a({type:Boolean,reflect:!0})],et.prototype,"dimmed",2);et=ut([g("o-arch-image")],et);const ji=`<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2873
2873
|
<svg
|
|
2874
2874
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
2875
2875
|
xmlns:cc="http://creativecommons.org/ns#"
|
|
@@ -2949,7 +2949,7 @@
|
|
|
2949
2949
|
d="m 1237.15,72.3984 c -3.61,1.5625 -7.64,0.6211 -10.76,-1.5898 -3.47,-2.4688 -6.01,-6.207 -8.42,-9.6484 l -2.61,-3.7305 c -3.58,-5.1094 -9.55,-13.6992 -12.29,-16.1094 -5.74,-5.1289 -9.34,-6.6094 -53,-6.6094 -33.15,0 -37.81,0.9883 -43.8,4.1602 -5.52,2.7891 -7.77,10.7773 -7.77,13.6484 0,3.3594 -0.2,14.711 -0.45,28.7422 -0.39,22.6093 -0.93,52.2383 -0.93,66.5083 v 2.082 c 61.53,-0.032 57.15,-0.524 65,-2.762 2.14,-0.75 4.31,-3.918 6.04,-9.07 0,0 1.62,-4.02 1.63,-4.032 1.32,-3.277 2.66,-6.867 5.45,-9.207 3.1,-2.609 8.34,-2.961 11.82,-0.832 2.53,1.551 4.41,4.86 5.34,7.641 1.18,3.469 1.06,7.031 0.47,10.601 -0.42,2.528 -1.65,14.649 -0.88,22.661 0.36,3.359 0.91,7.339 1.4,11.039 0.81,5.937 1.45,11.25 1.45,13.039 0,10.769 -6.83,13.64 -10.87,13.64 -7.45,0 -10.98,-7.148 -12.29,-9.8 -5.17,-10.34 -7.99,-12.258 -8.92,-12.77 -1.75,-1.09 -4.81,-1.93 -26.44,-1.93 h -39.2 v 107.52 c 0,4.422 0.17,7.101 0.34,8.738 15.96,0.774 76.93,0.524 87.71,-1.476 3.62,-0.602 9.08,-1.5 17.68,-21.911 1.36,-3.211 3.03,-6.711 5.7,-9.043 3,-2.609 7.9,-3.558 11.48,-1.648 3.15,1.672 4.77,5.262 5.42,8.621 0.48,2.52 0.57,5.379 0.02,7.899 -1.68,7.71 -2.32,17.339 -2.74,23.718 l -0.42,5.41 c -1.6,9.993 -5.84,15.063 -12.6,15.063 -1.95,0 -3.97,-0.121 -6.59,-0.27 -4.29,-0.261 -10.36,-0.652 -21.14,-0.652 -8.99,0 -29.44,-0.219 -50.5,-0.437 -22.25,-0.231 -45.19,-0.493 -55.89,-0.493 -7.8,0 -14.28,0.411 -20.23,0.77 -5.38,0.32 -10.33,0.621 -15.39,0.621 -8.85,0 -15.02,-4.461 -15.02,-10.859 0,-3.692 1.73,-10.231 13.17,-12.532 11.25,-2.488 15.05,-3.339 15.05,-28.168 0,-97.863 -0.47,-142.242 -2.32,-215.7808 -0.34,-15.5196 -5.21,-19.0821 -18.87,-21.3594 C 1027,30.8984 1016.62,29 1016.62,19.6719 c 0,-1.9727 0.81,-11.80081 16.89,-11.80081 1.95,0 6.58,0.3086 12.45,0.71875 9.5,0.67969 22.45,1.60156 31.94,1.60156 17.71,0 38.65,-0.41015 60.92,-0.83984 25.46,-0.49218 52.62,-1.01172 78.73,-1.01172 4,0 9.62,1.69926 13.67,9.76956 2.26,4.4687 4.54,12.8906 7.15,22.6094 1.18,4.4218 2.39,8.9531 3.55,12.8203 0.89,2.9804 1.73,5.9726 1.57,9.1211 -0.2,3.9804 -2.49,7.9804 -6.34,9.7382" /><path
|
|
2950
2950
|
id="path52"
|
|
2951
2951
|
style="fill:#3F2B2E;fill-opacity:1;fill-rule:nonzero;stroke:none"
|
|
2952
|
-
d="m 1647.15,320.5 c -2.07,0 -4.94,-0.199 -8.49,-0.469 -8.68,-0.64 -23.5,-1.062 -37.41,-0.172 -20.4,1.282 -32.01,-0.589 -32.01,-10.687 0,-8.66 8.46,-10.781 15.19,-12.461 11.42,-2.949 17.17,-4.422 17.17,-27.402 l 0.93,-77.731 c 0.5,-38.668 1.03,-80.199 1.26,-103.4296 -51.33,57.4726 -160.86,181.7736 -188.51,217.5116 -6.78,8.68 -10.53,13.449 -17.38,13.449 -9.28,0 -20.13,0.743 -29.55,1.379 -7.55,0.5 -14.21,0.934 -18.55,0.934 -12.43,0 -18.72,-3.953 -18.72,-11.781 0,-10.34 10.9,-11.911 15.93,-12.621 10.36,-1.731 14.33,-3.668 18.82,-7.11 2.1,-1.629 5.01,-3.879 5.01,-26.988 0,-29.461 -3.75,-186.1837 -5.06,-201.8126 -2.12,-24.4688 -4.58,-25.168 -18.72,-29.1485 -6.17,-1.6718 -14.6,-3.9609 -14.6,-12.7421 0,-5.1797 2.84,-11.34771 16.4,-11.34771 1.21,0 3.75,0.23829 7.15,0.61719 11.38,1.22266 33.32,1.64062 46.82,0.3125 25.84,-2.53125 30.46,3.93752 30.46,10.41802 0,9.3593 -9.18,11.8515 -14.53,13.3203 -8.73,2.4922 -15.61,6.5195 -17.27,10.1992 -3.05,6.5234 -4.31,16.8515 -4.31,35.6719 0,10.1093 0.37,54.9488 0.74,98.9808 0.25,28.839 0.47,57.359 0.59,75.558 25.28,-29.508 56.38,-65.5 86.72,-100.609 49.5,-57.2697 96.26,-111.3712 113.23,-132.09 l 1.93,-2.3516 c 3.93,-4.8203 7.75,-9.97652 12.34,-14.19918 3.35,-3.089845 8.47,-4.83985 12.86,-2.871095 3.52,1.570315 5.52,5.300785 6.26,8.941405 0.88,4.26177 0.44,8.69927 0.28,13.01177 -0.59,15.3281 -0.42,31.5898 -0.25,52.0703 0.12,12.1172 0.25,25.7184 0.25,41.4684 0,49.141 1.03,147.141 2.98,161.66 1.58,10.52 2.25,14.879 14.31,18.891 l 2.09,0.75 c 4.07,1.41 11.6,4.027 11.6,12.02 0,4.949 -2.76,10.859 -15.96,10.859" /></g></g></svg>`;var Fi=Object.defineProperty,Ri=Object.getOwnPropertyDescriptor,
|
|
2952
|
+
d="m 1647.15,320.5 c -2.07,0 -4.94,-0.199 -8.49,-0.469 -8.68,-0.64 -23.5,-1.062 -37.41,-0.172 -20.4,1.282 -32.01,-0.589 -32.01,-10.687 0,-8.66 8.46,-10.781 15.19,-12.461 11.42,-2.949 17.17,-4.422 17.17,-27.402 l 0.93,-77.731 c 0.5,-38.668 1.03,-80.199 1.26,-103.4296 -51.33,57.4726 -160.86,181.7736 -188.51,217.5116 -6.78,8.68 -10.53,13.449 -17.38,13.449 -9.28,0 -20.13,0.743 -29.55,1.379 -7.55,0.5 -14.21,0.934 -18.55,0.934 -12.43,0 -18.72,-3.953 -18.72,-11.781 0,-10.34 10.9,-11.911 15.93,-12.621 10.36,-1.731 14.33,-3.668 18.82,-7.11 2.1,-1.629 5.01,-3.879 5.01,-26.988 0,-29.461 -3.75,-186.1837 -5.06,-201.8126 -2.12,-24.4688 -4.58,-25.168 -18.72,-29.1485 -6.17,-1.6718 -14.6,-3.9609 -14.6,-12.7421 0,-5.1797 2.84,-11.34771 16.4,-11.34771 1.21,0 3.75,0.23829 7.15,0.61719 11.38,1.22266 33.32,1.64062 46.82,0.3125 25.84,-2.53125 30.46,3.93752 30.46,10.41802 0,9.3593 -9.18,11.8515 -14.53,13.3203 -8.73,2.4922 -15.61,6.5195 -17.27,10.1992 -3.05,6.5234 -4.31,16.8515 -4.31,35.6719 0,10.1093 0.37,54.9488 0.74,98.9808 0.25,28.839 0.47,57.359 0.59,75.558 25.28,-29.508 56.38,-65.5 86.72,-100.609 49.5,-57.2697 96.26,-111.3712 113.23,-132.09 l 1.93,-2.3516 c 3.93,-4.8203 7.75,-9.97652 12.34,-14.19918 3.35,-3.089845 8.47,-4.83985 12.86,-2.871095 3.52,1.570315 5.52,5.300785 6.26,8.941405 0.88,4.26177 0.44,8.69927 0.28,13.01177 -0.59,15.3281 -0.42,31.5898 -0.25,52.0703 0.12,12.1172 0.25,25.7184 0.25,41.4684 0,49.141 1.03,147.141 2.98,161.66 1.58,10.52 2.25,14.879 14.31,18.891 l 2.09,0.75 c 4.07,1.41 11.6,4.027 11.6,12.02 0,4.949 -2.76,10.859 -15.96,10.859" /></g></g></svg>`;var Fi=Object.defineProperty,Ri=Object.getOwnPropertyDescriptor,C=(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&&Fi(t,e,i),i};const ae=class ae extends p{constructor(){super(...arguments),this.ispagedesigner=!1,this._classPopin="",this.open=!1,this.background="",this.backgroundUrl="",this.closeOnEsc=!0,this.closeOnBackdrop=!0,this.lockScroll=!0,this.variant="fullscreen",this.maxWidth="640px",this.showBackButton=!1,this.contrast=!1,this.iconSize="large",this.hideHeaderOnScroll=!1,this._labelId=`title-${Math.random().toString(36).slice(2)}`,this._headerHidden=!1,this._onBackdropClick=t=>{var n;if(!this.open||!this.closeOnBackdrop)return;const e=t.composedPath()[0];(n=e==null?void 0:e.classList)!=null&&n.contains("backdrop")&&this._requestClose("backdrop")},this._onScroll=t=>{if(!this.hideHeaderOnScroll||!this.open)return;const i=t.target.scrollTop>50;i!==this._headerHidden&&(this._headerHidden=i,this.requestUpdate())}}get classPopin(){return this.ispagedesigner?"pagedesigner-popin "+this._classPopin:this._classPopin}set classPopin(t){this._classPopin=t}connectedCallback(){super.connectedCallback(),this._onKeydown=this._onKeydown.bind(this),this._onScroll=this._onScroll.bind(this),document.addEventListener("keydown",this._onKeydown)}disconnectedCallback(){document.removeEventListener("keydown",this._onKeydown),this._removeScrollListener(),super.disconnectedCallback()}updated(t){if(t.has("background")||t.has("backgroundUrl")){let e="";this.background&&this.background.trim()?e=this.background.trim():this.backgroundUrl&&this.backgroundUrl.trim()&&(e=`url('${this.backgroundUrl.trim()}') center/cover no-repeat`),this.style.setProperty("--_bg",e)}if(t.has("open")){if(this.lockScroll){const e=document==null?void 0:document.body;e&&(e.style.overflow=this.open?"hidden":"")}this.open?this.updateComplete.then(()=>{var n;(n=this.renderRoot.querySelector("[data-close-btn]")??this.renderRoot.querySelector('[role="dialog"]'))==null||n.focus(),this._setupScrollListener(),this.dispatchEvent(new CustomEvent("open",{bubbles:!0,composed:!0}))}):(this._removeScrollListener(),this._headerHidden=!1,this.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0})))}(t.has("hideHeaderOnScroll")||t.has("open"))&&(this.open?this._setupScrollListener():this._removeScrollListener())}_onKeydown(t){this.open&&this.closeOnEsc&&t.key==="Escape"&&(t.preventDefault(),this._requestClose("esc"))}_setupScrollListener(){this.hideHeaderOnScroll&&(this._removeScrollListener(),this.updateComplete.then(()=>{const t=this.renderRoot.querySelector('main[part="body"]');t&&t.addEventListener("scroll",this._onScroll,{passive:!0})}))}_removeScrollListener(){const t=this.renderRoot.querySelector('main[part="body"]');t&&t.removeEventListener("scroll",this._onScroll)}_onBackClick(){this.dispatchEvent(new CustomEvent("back",{bubbles:!0,composed:!0}))}_requestClose(t){const e=new CustomEvent("request-close",{bubbles:!0,composed:!0,detail:{reason:t}});this.dispatchEvent(e),e.defaultPrevented||(this.open=!1)}_renderCloseButton(){return customElements.get("o-icon-button")?l`
|
|
2953
2953
|
<o-icon-button
|
|
2954
2954
|
data-close-btn
|
|
2955
2955
|
icon="cross"
|
|
@@ -2978,21 +2978,21 @@
|
|
|
2978
2978
|
tabindex="-1"
|
|
2979
2979
|
></o-icon-button>
|
|
2980
2980
|
</div>
|
|
2981
|
-
`}render(){return l`
|
|
2981
|
+
`}render(){const t=`dialog${this._headerHidden?" header-hidden":""}`,e=this._headerHidden?"hidden":"";return l`
|
|
2982
2982
|
${this.open?l`<div class="backdrop" part="backdrop" @click=${this._onBackdropClick}></div>`:null}
|
|
2983
2983
|
<div class="dialog-wrapper ${this.ispagedesigner?"intro-pagedesigner":""}" @click=${this._onBackdropClick} aria-hidden=${this.open?"false":"true"}>
|
|
2984
2984
|
<section
|
|
2985
|
-
class="
|
|
2985
|
+
class="${t}"
|
|
2986
2986
|
part="dialog"
|
|
2987
2987
|
role="dialog"
|
|
2988
2988
|
aria-modal="true"
|
|
2989
2989
|
tabindex="-1"
|
|
2990
|
-
aria-labelledby=${this.
|
|
2990
|
+
aria-labelledby=${this._labelId}
|
|
2991
2991
|
>
|
|
2992
|
-
<header part="header">
|
|
2992
|
+
<header part="header" class="${e}">
|
|
2993
2993
|
${this.showBackButton?this._renderBackButton():null}
|
|
2994
2994
|
<div class="brand">
|
|
2995
|
-
<span slot="logo${this.contrast?"-contrast":""}">${
|
|
2995
|
+
<span slot="logo${this.contrast?"-contrast":""}">${S(ji)}</span>
|
|
2996
2996
|
</div>
|
|
2997
2997
|
<div part="close${this.contrast?"-contrast":""}">${this._renderCloseButton()}</div>
|
|
2998
2998
|
</header>
|
|
@@ -3083,6 +3083,31 @@
|
|
|
3083
3083
|
rgba(0, 0, 0, 0)
|
|
3084
3084
|
);
|
|
3085
3085
|
z-index: 2;
|
|
3086
|
+
transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
|
|
3087
|
+
overflow: hidden;
|
|
3088
|
+
}
|
|
3089
|
+
|
|
3090
|
+
/* Header hidden on scroll - use more specific selectors and important to override */
|
|
3091
|
+
:host([hide-header-on-scroll]) header[part="header"].hidden {
|
|
3092
|
+
transform: translateY(-100%) !important;
|
|
3093
|
+
opacity: 0 !important;
|
|
3094
|
+
pointer-events: none !important;
|
|
3095
|
+
visibility: hidden !important;
|
|
3096
|
+
height: 0 !important;
|
|
3097
|
+
min-height: 0 !important;
|
|
3098
|
+
padding: 0 !important;
|
|
3099
|
+
margin: 0 !important;
|
|
3100
|
+
overflow: hidden !important;
|
|
3101
|
+
}
|
|
3102
|
+
|
|
3103
|
+
/* When header is hidden, adjust the grid to give more space to content */
|
|
3104
|
+
:host([hide-header-on-scroll]) .dialog.header-hidden {
|
|
3105
|
+
grid-template-rows: 0px 1fr !important;
|
|
3106
|
+
}
|
|
3107
|
+
|
|
3108
|
+
/* Ensure the header takes no space when hidden in dialog variant */
|
|
3109
|
+
:host([variant="dialog"][hide-header-on-scroll]) .dialog.header-hidden {
|
|
3110
|
+
grid-template-rows: 0px 1fr !important;
|
|
3086
3111
|
}
|
|
3087
3112
|
|
|
3088
3113
|
.brand { display: inline-flex; align-items: center; gap: var(--spacing-s, 8px); }
|
|
@@ -3111,7 +3136,7 @@
|
|
|
3111
3136
|
from { transform: translateY(10px) scale(.98); opacity: 0; }
|
|
3112
3137
|
to { transform: translateY(0) scale(1); opacity: 1; }
|
|
3113
3138
|
}
|
|
3114
|
-
`;let
|
|
3139
|
+
`;let x=ae;C([a({type:Boolean,reflect:!0})],x.prototype,"ispagedesigner",2);C([a({type:String,reflect:!0})],x.prototype,"classPopin",1);C([a({type:Boolean,reflect:!0})],x.prototype,"open",2);C([a({type:String,reflect:!0})],x.prototype,"background",2);C([a({type:String,attribute:"background-url",reflect:!0})],x.prototype,"backgroundUrl",2);C([a({type:Boolean,attribute:"close-on-esc"})],x.prototype,"closeOnEsc",2);C([a({type:Boolean,attribute:"close-on-backdrop"})],x.prototype,"closeOnBackdrop",2);C([a({type:Boolean,attribute:"lock-scroll"})],x.prototype,"lockScroll",2);C([a({type:String,reflect:!0})],x.prototype,"variant",2);C([a({type:String,attribute:"max-width"})],x.prototype,"maxWidth",2);C([a({type:Boolean,reflect:!0})],x.prototype,"showBackButton",2);C([a({type:Boolean,reflect:!0})],x.prototype,"contrast",2);C([a({type:String,reflect:!0})],x.prototype,"iconSize",2);C([a({type:Boolean,attribute:"hide-header-on-scroll"})],x.prototype,"hideHeaderOnScroll",2);C([W()],x.prototype,"_labelId",2);C([W()],x.prototype,"_headerHidden",2);customElements.define("o-popin",x);var Ui=Object.defineProperty,Ni=Object.getOwnPropertyDescriptor,$=(o,t,e,n)=>{for(var i=n>1?void 0:n?Ni(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 m=class extends p{constructor(){super(...arguments),this.type="cart | notifyme",this.titleProduct="",this.descriptionProduct="",this.volume="",this.perLiter="",this.mainPrice="",this.salesPercentage="",this.oldPrice="",this.imageUrl="https://placehold.co/112x140",this.outOfStock=!1,this.altImage="",this.fullwidth=!1,this.current=!1,this.hideIcon=!1,this.tagText=""}onClick(o){var e,n,i;const t=o.target;(e=t==null?void 0:t.classList)!=null&&e.contains("add-to-bag")||(n=t==null?void 0:t.classList)!=null&&n.contains("js-availability-notify-details-routine")||((i=this.onClickTile)==null||i.call(this),this.dispatchEvent(new CustomEvent("tile-click",{bubbles:!0,composed:!0})))}onClickIcons(){var o;(o=this.onClickIcon)==null||o.call(this),this.dispatchEvent(new CustomEvent("tile-icon-click",{bubbles:!0,composed:!0}))}get icons(){return this.hideIcon?"":l`
|
|
3115
3140
|
<o-icon-button
|
|
3116
3141
|
@click=${this.onClickIcons}
|
|
3117
3142
|
icon=${this.type==="notifyme"?"notifyme":"cart"}
|
|
@@ -3214,6 +3239,10 @@
|
|
|
3214
3239
|
line-height: var(--line-height-200, 20px);
|
|
3215
3240
|
letter-spacing: var(--letter-spacing-000, 0);
|
|
3216
3241
|
text-align: left;
|
|
3242
|
+
display: -webkit-box;
|
|
3243
|
+
-webkit-line-clamp: 2;
|
|
3244
|
+
-webkit-box-orient: vertical;
|
|
3245
|
+
overflow: hidden;
|
|
3217
3246
|
}
|
|
3218
3247
|
|
|
3219
3248
|
.info .description {
|
|
@@ -3306,4 +3335,4 @@
|
|
|
3306
3335
|
.fullpointer {
|
|
3307
3336
|
cursor: pointer;
|
|
3308
3337
|
}
|
|
3309
|
-
|
|
3338
|
+
`;$([a({type:String})],m.prototype,"type",2);$([a({type:String})],m.prototype,"titleProduct",2);$([a({type:String})],m.prototype,"descriptionProduct",2);$([a({type:String})],m.prototype,"volume",2);$([a({type:String})],m.prototype,"perLiter",2);$([a({type:String})],m.prototype,"mainPrice",2);$([a({type:String})],m.prototype,"salesPercentage",2);$([a({type:String})],m.prototype,"oldPrice",2);$([a({type:String})],m.prototype,"imageUrl",2);$([a({type:Boolean})],m.prototype,"outOfStock",2);$([a({type:String})],m.prototype,"altImage",2);$([a({type:Boolean})],m.prototype,"fullwidth",2);$([a({type:Boolean})],m.prototype,"current",2);$([a({type:Boolean})],m.prototype,"hideIcon",2);$([a({type:String})],m.prototype,"tagText",2);$([a({attribute:!1})],m.prototype,"onClickTile",2);$([a({attribute:!1})],m.prototype,"onClickIcon",2);m=$([g("o-medium-tile")],m);
|