@telia-ace/widget-components-area-flamingo 1.1.28 → 1.1.30-rc.0
Sign up to get free protection for your applications and to get access to all the features.
- package/area-3e574351.js +330 -0
- package/{area-539bd3a4.mjs → area-e653d58f.mjs} +574 -357
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +2 -2
- package/area-c9421dd2.js +0 -323
package/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";const r=async e=>{e.registerComponent("area",Promise.resolve().then(()=>require("./area-
|
1
|
+
"use strict";const r=async e=>{e.registerComponent("area",Promise.resolve().then(()=>require("./area-3e574351.js")))};module.exports=r;
|
package/index.mjs
CHANGED
package/package.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
{
|
2
2
|
"name": "@telia-ace/widget-components-area-flamingo",
|
3
|
-
"version": "1.1.
|
3
|
+
"version": "1.1.30-rc.0",
|
4
4
|
"dependencies": {
|
5
|
-
"@telia-ace/widget-core-flamingo": "1.1.
|
5
|
+
"@telia-ace/widget-core-flamingo": "1.1.30-rc.0",
|
6
6
|
"lit": "^3.0.2"
|
7
7
|
},
|
8
8
|
"main": "./index.js",
|
package/area-c9421dd2.js
DELETED
@@ -1,323 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/**
|
2
|
-
* @license
|
3
|
-
* Copyright 2019 Google LLC
|
4
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
5
|
-
*/const I=globalThis,Q=I.ShadowRoot&&(I.ShadyCSS===void 0||I.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,X=Symbol(),nt=new WeakMap;let $t=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==X)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(Q&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=nt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&nt.set(e,t))}return t}toString(){return this.cssText}};const Rt=r=>new $t(typeof r=="string"?r:r+"",void 0,X),P=(r,...t)=>{const e=r.length===1?r[0]:t.reduce((s,i,n)=>s+(o=>{if(o._$cssResult$===!0)return o.cssText;if(typeof o=="number")return o;throw Error("Value passed to 'css' function must be a 'css' function result: "+o+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+r[n+1],r[0]);return new $t(e,r,X)},kt=(r,t)=>{if(Q)r.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),i=I.litNonce;i!==void 0&&s.setAttribute("nonce",i),s.textContent=e.cssText,r.appendChild(s)}},ot=Q?r=>r:r=>r instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return Rt(e)})(r):r;/**
|
6
|
-
* @license
|
7
|
-
* Copyright 2017 Google LLC
|
8
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
9
|
-
*/const{is:Nt,defineProperty:Mt,getOwnPropertyDescriptor:Ht,getOwnPropertyNames:Lt,getOwnPropertySymbols:jt,getPrototypeOf:zt}=Object,y=globalThis,at=y.trustedTypes,Bt=at?at.emptyScript:"",Y=y.reactiveElementPolyfillSupport,U=(r,t)=>r,G={toAttribute(r,t){switch(t){case Boolean:r=r?Bt:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,t){let e=r;switch(t){case Boolean:e=r!==null;break;case Number:e=r===null?null:Number(r);break;case Object:case Array:try{e=JSON.parse(r)}catch{e=null}}return e}},tt=(r,t)=>!Nt(r,t),ct={attribute:!0,type:String,converter:G,reflect:!1,hasChanged:tt};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),y.litPropertyMetadata??(y.litPropertyMetadata=new WeakMap);class C 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=ct){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);i!==void 0&&Mt(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:n}=Ht(this.prototype,t)??{get(){return this[e]},set(o){this[e]=o}};return{get(){return i==null?void 0:i.call(this)},set(o){const c=i==null?void 0:i.call(this);n.call(this,o),this.requestUpdate(t,c,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ct}static _$Ei(){if(this.hasOwnProperty(U("elementProperties")))return;const t=zt(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(U("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(U("properties"))){const e=this.properties,s=[...Lt(e),...jt(e)];for(const i of s)this.createProperty(i,e[i])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,i]of e)this.elementProperties.set(s,i)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const i=this._$Eu(e,s);i!==void 0&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const i of s)e.unshift(ot(i))}else t!==void 0&&e.push(ot(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s: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._$Eg=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._$ES??(this._$ES=[])).push(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$ES)==null||e.splice(this._$ES.indexOf(t)>>>0,1)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return kt(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)==null||t.forEach(e=>{var s;return(s=e.hostConnected)==null?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EO(t,e){var n;const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(i!==void 0&&s.reflect===!0){const o=(((n=s.converter)==null?void 0:n.toAttribute)!==void 0?s.converter:G).toAttribute(e,s.type);this._$Em=t,o==null?this.removeAttribute(i):this.setAttribute(i,o),this._$Em=null}}_$AK(t,e){var n;const s=this.constructor,i=s._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const o=s.getPropertyOptions(i),c=typeof o.converter=="function"?{fromAttribute:o.converter}:((n=o.converter)==null?void 0:n.fromAttribute)!==void 0?o.converter:G;this._$Em=i,this[i]=c.fromAttribute(e,o.type),this._$Em=null}}requestUpdate(t,e,s,i=!1,n){if(t!==void 0){if(s??(s=this.constructor.getPropertyOptions(t)),!(s.hasChanged??tt)(i?n:this[t],e))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this._$Ep){for(const[n,o]of this._$Ep)this[n]=o;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[n,o]of i)o.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.C(n,this[n],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(s=this._$ES)==null||s.forEach(i=>{var n;return(n=i.hostUpdate)==null?void 0:n.call(i)}),this.update(e)):this._$ET()}catch(i){throw t=!1,this._$ET(),i}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$ES)==null||e.forEach(s=>{var i;return(i=s.hostUpdated)==null?void 0:i.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EO(e,this[e]))),this._$ET()}updated(t){}firstUpdated(t){}}C.elementStyles=[],C.shadowRootOptions={mode:"open"},C[U("elementProperties")]=new Map,C[U("finalized")]=new Map,Y==null||Y({ReactiveElement:C}),(y.reactiveElementVersions??(y.reactiveElementVersions=[])).push("2.0.1");/**
|
10
|
-
* @license
|
11
|
-
* Copyright 2017 Google LLC
|
12
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
13
|
-
*/const R=globalThis,W=R.trustedTypes,lt=W?W.createPolicy("lit-html",{createHTML:r=>r}):void 0,mt="$lit$",m=`lit$${(Math.random()+"").slice(9)}$`,yt="?"+m,Dt=`<${yt}>`,x=document,N=()=>x.createComment(""),M=r=>r===null||typeof r!="object"&&typeof r!="function",_t=Array.isArray,It=r=>_t(r)||typeof(r==null?void 0:r[Symbol.iterator])=="function",J=`[
|
14
|
-
\f\r]`,T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ht=/-->/g,dt=/>/g,v=RegExp(`>|${J}(?:([^\\s"'>=/]+)(${J}*=${J}*(?:[^
|
15
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),pt=/'/g,ut=/"/g,vt=/^(?:script|style|textarea|title)$/i,Gt=r=>(t,...e)=>({_$litType$:r,strings:t,values:e}),A=Gt(1),E=Symbol.for("lit-noChange"),h=Symbol.for("lit-nothing"),gt=new WeakMap,w=x.createTreeWalker(x,129);function bt(r,t){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return lt!==void 0?lt.createHTML(t):t}const Wt=(r,t)=>{const e=r.length-1,s=[];let i,n=t===2?"<svg>":"",o=T;for(let c=0;c<e;c++){const a=r[c];let d,p,l=-1,u=0;for(;u<a.length&&(o.lastIndex=u,p=o.exec(a),p!==null);)u=o.lastIndex,o===T?p[1]==="!--"?o=ht:p[1]!==void 0?o=dt:p[2]!==void 0?(vt.test(p[2])&&(i=RegExp("</"+p[2],"g")),o=v):p[3]!==void 0&&(o=v):o===v?p[0]===">"?(o=i??T,l=-1):p[1]===void 0?l=-2:(l=o.lastIndex-p[2].length,d=p[1],o=p[3]===void 0?v:p[3]==='"'?ut:pt):o===ut||o===pt?o=v:o===ht||o===dt?o=T:(o=v,i=void 0);const $=o===v&&r[c+1].startsWith("/>")?" ":"";n+=o===T?a+Dt:l>=0?(s.push(d),a.slice(0,l)+mt+a.slice(l)+m+$):a+m+(l===-2?c:$)}return[bt(r,n+(r[e]||"<?>")+(t===2?"</svg>":"")),s]};class H{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let n=0,o=0;const c=t.length-1,a=this.parts,[d,p]=Wt(t,e);if(this.el=H.createElement(d,s),w.currentNode=this.el.content,e===2){const l=this.el.content.firstChild;l.replaceWith(...l.childNodes)}for(;(i=w.nextNode())!==null&&a.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(const l of i.getAttributeNames())if(l.endsWith(mt)){const u=p[o++],$=i.getAttribute(l).split(m),B=/([.?@])?(.*)/.exec(u);a.push({type:1,index:n,name:B[2],strings:$,ctor:B[1]==="."?qt:B[1]==="?"?Yt:B[1]==="@"?Jt:q}),i.removeAttribute(l)}else l.startsWith(m)&&(a.push({type:6,index:n}),i.removeAttribute(l));if(vt.test(i.tagName)){const l=i.textContent.split(m),u=l.length-1;if(u>0){i.textContent=W?W.emptyScript:"";for(let $=0;$<u;$++)i.append(l[$],N()),w.nextNode(),a.push({type:2,index:++n});i.append(l[u],N())}}}else if(i.nodeType===8)if(i.data===yt)a.push({type:2,index:n});else{let l=-1;for(;(l=i.data.indexOf(m,l+1))!==-1;)a.push({type:7,index:n}),l+=m.length-1}n++}}static createElement(t,e){const s=x.createElement("template");return s.innerHTML=t,s}}function S(r,t,e=r,s){var o,c;if(t===E)return t;let i=s!==void 0?(o=e._$Co)==null?void 0:o[s]:e._$Cl;const n=M(t)?void 0:t._$litDirective$;return(i==null?void 0:i.constructor)!==n&&((c=i==null?void 0:i._$AO)==null||c.call(i,!1),n===void 0?i=void 0:(i=new n(r),i._$AT(r,e,s)),s!==void 0?(e._$Co??(e._$Co=[]))[s]=i:e._$Cl=i),i!==void 0&&(t=S(r,i._$AS(r,t.values),i,s)),t}class Vt{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:s}=this._$AD,i=((t==null?void 0:t.creationScope)??x).importNode(e,!0);w.currentNode=i;let n=w.nextNode(),o=0,c=0,a=s[0];for(;a!==void 0;){if(o===a.index){let d;a.type===2?d=new L(n,n.nextSibling,this,t):a.type===1?d=new a.ctor(n,a.name,a.strings,this,t):a.type===6&&(d=new Kt(n,this,t)),this._$AV.push(d),a=s[++c]}o!==(a==null?void 0:a.index)&&(n=w.nextNode(),o++)}return w.currentNode=x,i}p(t){let e=0;for(const s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class L{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=h,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,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=S(this,t,e),M(t)?t===h||t==null||t===""?(this._$AH!==h&&this._$AR(),this._$AH=h):t!==this._$AH&&t!==E&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):It(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==h&&M(this._$AH)?this._$AA.nextSibling.data=t:this.$(x.createTextNode(t)),this._$AH=t}g(t){var n;const{values:e,_$litType$:s}=t,i=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=H.createElement(bt(s.h,s.h[0]),this.options)),s);if(((n=this._$AH)==null?void 0:n._$AD)===i)this._$AH.p(e);else{const o=new Vt(i,this),c=o.u(this.options);o.p(e),this.$(c),this._$AH=o}}_$AC(t){let e=gt.get(t.strings);return e===void 0&>.set(t.strings,e=new H(t)),e}T(t){_t(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const n of t)i===e.length?e.push(s=new L(this.k(N()),this.k(N()),this,this.options)):s=e[i],s._$AI(n),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.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 q{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,n){this.type=1,this._$AH=h,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=h}_$AI(t,e=this,s,i){const n=this.strings;let o=!1;if(n===void 0)t=S(this,t,e,0),o=!M(t)||t!==this._$AH&&t!==E,o&&(this._$AH=t);else{const c=t;let a,d;for(t=n[0],a=0;a<n.length-1;a++)d=S(this,c[s+a],e,a),d===E&&(d=this._$AH[a]),o||(o=!M(d)||d!==this._$AH[a]),d===h?t=h:t!==h&&(t+=(d??"")+n[a+1]),this._$AH[a]=d}o&&!i&&this.O(t)}O(t){t===h?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class qt extends q{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===h?void 0:t}}class Yt extends q{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==h)}}class Jt extends q{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t,e=this){if((t=S(this,t,e,0)??h)===E)return;const s=this._$AH,i=t===h&&s!==h||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==h&&(s===h||i);i&&this.element.removeEventListener(this.name,this,s),n&&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 Kt{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}}const K=R.litHtmlPolyfillSupport;K==null||K(H,L),(R.litHtmlVersions??(R.litHtmlVersions=[])).push("3.0.2");const Zt=(r,t,e)=>{const s=(e==null?void 0:e.renderBefore)??t;let i=s._$litPart$;if(i===void 0){const n=(e==null?void 0:e.renderBefore)??null;s._$litPart$=i=new L(t.insertBefore(N(),n),n,void 0,e??{})}return i._$AI(r),i};/**
|
16
|
-
* @license
|
17
|
-
* Copyright 2017 Google LLC
|
18
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
19
|
-
*/let f=class extends C{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=Zt(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 E}};var ft;f._$litElement$=!0,f.finalized=!0,(ft=globalThis.litElementHydrateSupport)==null||ft.call(globalThis,{LitElement:f});const Z=globalThis.litElementPolyfillSupport;Z==null||Z({LitElement:f});(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.0.1");/**
|
20
|
-
* @license
|
21
|
-
* Copyright 2021 Google LLC
|
22
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
23
|
-
*/function*At(r,t){if(r!==void 0){let e=0;for(const s of r)yield t(s,e++)}}/**
|
24
|
-
* @license
|
25
|
-
* Copyright 2017 Google LLC
|
26
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
27
|
-
*/const Ft={attribute:!0,type:String,converter:G,reflect:!1,hasChanged:tt},Qt=(r=Ft,t,e)=>{const{kind:s,metadata:i}=e;let n=globalThis.litPropertyMetadata.get(i);if(n===void 0&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(e.name,r),s==="accessor"){const{name:o}=e;return{set(c){const a=t.get.call(this);t.set.call(this,c),this.requestUpdate(o,a,r)},init(c){return c!==void 0&&this.C(o,void 0,r),c}}}if(s==="setter"){const{name:o}=e;return function(c){const a=this[o];t.call(this,c),this.requestUpdate(o,a,r)}}throw Error("Unsupported decorator location: "+s)};function g(r){return(t,e)=>typeof e=="object"?Qt(r,t,e):((s,i,n)=>{const o=i.hasOwnProperty(n);return i.constructor.createProperty(n,o?{...s,wrapped:!0}:s),o?Object.getOwnPropertyDescriptor(i,n):void 0})(r,t,e)}/**
|
28
|
-
* @license
|
29
|
-
* Copyright 2017 Google LLC
|
30
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
31
|
-
*/function O(r){return g({...r,state:!0,attribute:!1})}/**
|
32
|
-
* @license
|
33
|
-
* Copyright 2017 Google LLC
|
34
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
35
|
-
*/const wt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},xt=r=>(...t)=>({_$litDirective$:r,values:t});class Et{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}/**
|
36
|
-
* @license
|
37
|
-
* Copyright 2018 Google LLC
|
38
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
39
|
-
*/const Xt=xt(class extends Et{constructor(r){var t;if(super(r),r.type!==wt.ATTRIBUTE||r.name!=="class"||((t=r.strings)==null?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(r){return" "+Object.keys(r).filter(t=>r[t]).join(" ")+" "}update(r,[t]){var s,i;if(this.it===void 0){this.it=new Set,r.strings!==void 0&&(this.st=new Set(r.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(const n in t)t[n]&&!((s=this.st)!=null&&s.has(n))&&this.it.add(n);return this.render(t)}const e=r.element.classList;for(const n of this.it)n in t||(e.remove(n),this.it.delete(n));for(const n in t){const o=!!t[n];o===this.it.has(n)||(i=this.st)!=null&&i.has(n)||(o?(e.add(n),this.it.add(n)):(e.remove(n),this.it.delete(n)))}return E}}),D=(r,t,e)=>{r&&e.style.setProperty(t,r)},Ct=(r,t)=>{var e,s,i,n;D((e=r.colors)==null?void 0:e.primaryBackground,"--primary-background",t),D((s=r.colors)==null?void 0:s.textOnPrimaryBackground,"--text-on-primary-background",t),D((i=r.colors)==null?void 0:i.secondaryBackground,"--secondary-background",t),D((n=r.colors)==null?void 0:n.textOnSecondaryBackground,"--text-on-secondary-background",t)};/**
|
40
|
-
* @license
|
41
|
-
* Copyright 2020 Google LLC
|
42
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
43
|
-
*/const te=r=>r.strings===void 0;/**
|
44
|
-
* @license
|
45
|
-
* Copyright 2017 Google LLC
|
46
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
47
|
-
*/const k=(r,t)=>{var s;const e=r._$AN;if(e===void 0)return!1;for(const i of e)(s=i._$AO)==null||s.call(i,t,!1),k(i,t);return!0},V=r=>{let t,e;do{if((t=r._$AM)===void 0)break;e=t._$AN,e.delete(r),r=t}while((e==null?void 0:e.size)===0)},St=r=>{for(let t;t=r._$AM;r=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(r))break;e.add(r),ie(t)}};function ee(r){this._$AN!==void 0?(V(this),this._$AM=r,St(this)):this._$AM=r}function se(r,t=!1,e=0){const s=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(t)if(Array.isArray(s))for(let n=e;n<s.length;n++)k(s[n],!1),V(s[n]);else s!=null&&(k(s,!1),V(s));else k(this,r)}const ie=r=>{r.type==wt.CHILD&&(r._$AP??(r._$AP=se),r._$AQ??(r._$AQ=ee))};class re extends Et{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),St(this),this.isConnected=t._$AU}_$AO(t,e=!0){var s,i;t!==this.isConnected&&(this.isConnected=t,t?(s=this.reconnected)==null||s.call(this):(i=this.disconnected)==null||i.call(this)),e&&(k(this,t),V(this))}setValue(t){if(te(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(){}}/**
|
48
|
-
* @license
|
49
|
-
* Copyright 2020 Google LLC
|
50
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
51
|
-
*/const Pt=()=>new ne;class ne{}const F=new WeakMap,Ot=xt(class extends re{render(r){return h}update(r,[t]){var s;const e=t!==this.G;return e&&this.G!==void 0&&this.ot(void 0),(e||this.rt!==this.lt)&&(this.G=t,this.ct=(s=r.options)==null?void 0:s.host,this.ot(this.lt=r.element)),h}ot(r){if(typeof this.G=="function"){const t=this.ct??globalThis;let e=F.get(t);e===void 0&&(e=new WeakMap,F.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ct,void 0),e.set(this.G,r),r!==void 0&&this.G.call(this.ct,r)}else this.G.value=r}get rt(){var r,t;return typeof this.G=="function"?(r=F.get(this.ct??globalThis))==null?void 0:r.get(this.G):(t=this.G)==null?void 0:t.value}disconnected(){this.rt===this.lt&&this.ot(void 0)}reconnected(){this.ot(this.lt)}});var oe=Object.defineProperty,ae=Object.getOwnPropertyDescriptor,j=(r,t,e,s)=>{for(var i=s>1?void 0:s?ae(t,e):t,n=r.length-1,o;n>=0;n--)(o=r[n])&&(i=(s?o(t,e,i):o(i))||i);return s&&i&&oe(t,e,i),i};class _ extends f{constructor(){super(...arguments),this.active=!1,this.loaded=!1,this.offset=0,this.buttonRef=Pt()}async connectedCallback(){super.connectedCallback(),this.icon=await this._renderSymbol(),this.loaded=!0,this._applyBranding(),this.offset>0&&this.buttonRef.value&&(this.buttonRef.value.style.right=`calc(${this.offset}px + 20px)`)}_toggleActive(){var t;if(!((t=this.application)!=null&&t.root)){console.warn("Could not activate widget. No root element assigned to widget.");return}this.active=!this.active,this.active?this.application.appendToDOM():this.application.hide()}_applyBranding(){var t;(t=this.application)!=null&&t.settings&&Ct(this.application.settings.branding,this)}async _renderSymbol(){var c,a,d;const t=(c=this.application)==null?void 0:c.branding(),e=(a=t==null?void 0:t.graphics)==null?void 0:a.trigger;if(e)return A` <img src=${e} class="trigger-icon" alt="" /> `;const s=(d=this.application)==null?void 0:d.triggerIcon;if(!s)return h;const i=async p=>await Promise.resolve().then(()=>require("./index-6dd00f59.js")).then(u=>u[p]),{type:n,content:o}=s;switch(n){case"Telia":{const p=await i(o);return p?A`<telia-icon
|
52
|
-
class="trigger-icon"
|
53
|
-
svg=${p.svg}
|
54
|
-
size="lg"
|
55
|
-
></telia-icon>`:h}default:return h}}setOffset(t){this.offset=t}render(){var t,e,s,i;return A`<div class="trigger-container">
|
56
|
-
${(i=(s=(e=(t=this.application)==null?void 0:t.settings)==null?void 0:e.branding)==null?void 0:s.other)!=null&&i.showButtonLabel?A`
|
57
|
-
<button class="trigger-label" @click=${this._toggleActive}>
|
58
|
-
${this.application.settings.branding.other.buttonLabelText}
|
59
|
-
</button>
|
60
|
-
`:h}
|
61
|
-
|
62
|
-
<button
|
63
|
-
class=${Xt({trigger:!0,active:this.active,rendered:this.loaded})}
|
64
|
-
@click=${this._toggleActive}
|
65
|
-
${Ot(this.buttonRef)}
|
66
|
-
>
|
67
|
-
${this.icon}
|
68
|
-
<span class="trigger-close">
|
69
|
-
<svg
|
70
|
-
width="18"
|
71
|
-
height="9"
|
72
|
-
viewBox="0 0 18 9"
|
73
|
-
fill="none"
|
74
|
-
xmlns="http://www.w3.org/2000/svg"
|
75
|
-
>
|
76
|
-
<path
|
77
|
-
d="M9 9C8.81794 9.00045 8.63759 8.96634 8.46939 8.89965C8.3012 8.83295 8.14851 8.735 8.02015 8.61145L0.194523 1.12367C0.068294 0.99862 -0.00155266 0.831133 2.61958e-05 0.657285C0.00160506 0.483436 0.0744832 0.317136 0.202964 0.194202C0.331445 0.0712675 0.505249 0.00153576 0.686941 2.50649e-05C0.868634 -0.00148563 1.04368 0.0653456 1.17437 0.186125L9 7.6739L16.8256 0.186125C16.9563 0.0653456 17.1314 -0.00148563 17.3131 2.50649e-05C17.4948 0.00153576 17.6686 0.0712675 17.797 0.194202C17.9255 0.317136 17.9984 0.483436 18 0.657285C18.0016 0.831133 17.9317 0.99862 17.8055 1.12367L9.97985 8.61145C9.85149 8.735 9.6988 8.83295 9.53061 8.89965C9.36241 8.96634 9.18206 9.00045 9 9Z"
|
78
|
-
fill="white"
|
79
|
-
/>
|
80
|
-
</svg>
|
81
|
-
</span>
|
82
|
-
<span class="trigger-loader">
|
83
|
-
<svg viewBox="25 25 50 50">
|
84
|
-
<circle
|
85
|
-
cx="50"
|
86
|
-
cy="50"
|
87
|
-
r="20"
|
88
|
-
fill="none"
|
89
|
-
stroke="#000"
|
90
|
-
stroke-width="2"
|
91
|
-
stroke-miterlimit="10"
|
92
|
-
/>
|
93
|
-
</svg>
|
94
|
-
</span>
|
95
|
-
</button>
|
96
|
-
</div>`}}_.styles=[P`
|
97
|
-
:host {
|
98
|
-
--voca-rem-multiplier: 0.625;
|
99
|
-
--trigger-label-bg: #f5e0ff;
|
100
|
-
--trigger-label-text-color: rgba(0, 0, 0, 0.8);
|
101
|
-
display: block;
|
102
|
-
box-sizing: border-box;
|
103
|
-
/* font-family: var(--font-family); */
|
104
|
-
font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
|
105
|
-
}
|
106
|
-
|
107
|
-
.trigger-container {
|
108
|
-
position: fixed;
|
109
|
-
bottom: 20px;
|
110
|
-
right: 20px;
|
111
|
-
display: flex;
|
112
|
-
align-items: center;
|
113
|
-
gap: 1rem;
|
114
|
-
}
|
115
|
-
|
116
|
-
.trigger {
|
117
|
-
transform: scale(0);
|
118
|
-
box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
|
119
|
-
z-index: 5;
|
120
|
-
display: flex;
|
121
|
-
align-items: center;
|
122
|
-
justify-content: center;
|
123
|
-
border: none;
|
124
|
-
line-height: 55px;
|
125
|
-
height: 55px;
|
126
|
-
width: 55px;
|
127
|
-
border-radius: 55px;
|
128
|
-
cursor: pointer;
|
129
|
-
background-color: var(--trigger-bg, var(--primary-background));
|
130
|
-
font-family: Lato;
|
131
|
-
text-decoration: none;
|
132
|
-
border: 3px dashed transparent;
|
133
|
-
box-sizing: border-box;
|
134
|
-
transition: transform 200ms ease-out;
|
135
|
-
}
|
136
|
-
.trigger:hover {
|
137
|
-
transform: scale(1.1) !important;
|
138
|
-
}
|
139
|
-
.trigger.rendered {
|
140
|
-
transform: scale(1);
|
141
|
-
}
|
142
|
-
.trigger.active .trigger-icon {
|
143
|
-
opacity: 0;
|
144
|
-
transform: rotate(-180deg) scale(0);
|
145
|
-
}
|
146
|
-
.trigger.active .trigger-close {
|
147
|
-
opacity: 1;
|
148
|
-
transform: rotate(0deg) scale(1);
|
149
|
-
}
|
150
|
-
|
151
|
-
.trigger-icon {
|
152
|
-
display: inline-block;
|
153
|
-
line-height: inherit;
|
154
|
-
text-align: center;
|
155
|
-
opacity: 1;
|
156
|
-
transform: rotate(0deg) scale(1);
|
157
|
-
transition: opacity 200ms ease-out, transform 200ms ease-out;
|
158
|
-
color: var(--trigger-text-color, var(--text-on-primary-background));
|
159
|
-
}
|
160
|
-
.trigger-close {
|
161
|
-
opacity: 0;
|
162
|
-
transition: transform 200ms ease-out;
|
163
|
-
transform: rotate(180deg) scale(0);
|
164
|
-
position: absolute;
|
165
|
-
top: 0;
|
166
|
-
bottom: 0;
|
167
|
-
left: 0;
|
168
|
-
right: 0;
|
169
|
-
display: flex;
|
170
|
-
justify-content: center;
|
171
|
-
align-items: center;
|
172
|
-
fill: var(--trigger-text-color, var(--text-on-primary-background));
|
173
|
-
}
|
174
|
-
|
175
|
-
img {
|
176
|
-
max-width: 100%;
|
177
|
-
}
|
178
|
-
|
179
|
-
.trigger-label {
|
180
|
-
box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.1);
|
181
|
-
background-color: var(--trigger-label-bg);
|
182
|
-
color: var(--trigger-label-text-color);
|
183
|
-
white-space: nowrap;
|
184
|
-
padding: 0.7rem 1rem;
|
185
|
-
border-radius: 0.3rem;
|
186
|
-
font-weight: 500;
|
187
|
-
display: flex;
|
188
|
-
justify-content: center;
|
189
|
-
align-items: center;
|
190
|
-
cursor: pointer;
|
191
|
-
border: none;
|
192
|
-
font-size: 1rem;
|
193
|
-
font-family: inherit;
|
194
|
-
transition: all 300ms ease-in-out;
|
195
|
-
}
|
196
|
-
|
197
|
-
.trigger-label:hover {
|
198
|
-
opacity: 0.8;
|
199
|
-
}
|
200
|
-
`];j([g({attribute:!1})],_.prototype,"application",2);j([O()],_.prototype,"active",2);j([O()],_.prototype,"loaded",2);j([O()],_.prototype,"icon",2);j([O()],_.prototype,"offset",2);var ce=Object.defineProperty,le=Object.getOwnPropertyDescriptor,b=(r,t,e,s)=>{for(var i=s>1?void 0:s?le(t,e):t,n=r.length-1,o;n>=0;n--)(o=r[n])&&(i=(s?o(t,e,i):o(i))||i);return s&&i&&ce(t,e,i),i};const Tt=r=>{class t extends r{constructor(){super(...arguments),this.properties={},this.context={},this.layout={},this.nodes=[]}writeProperties(s){this.properties=s}writeLayout(s){this.layout=s}writeContext(s){this.context=s}addChild(s){s.parent=this,this.nodes.push(s)}connectedCallback(){super.connectedCallback(),this.renderRoot.host.style.setProperty("--width",this.layout.size==="full"?"var(--columns, 1)":`min(${this.layout.size||"var(--columns)"}, var(--columns))`)}}return t.styles=[P`
|
201
|
-
:host {
|
202
|
-
font-family: var(--font-family);
|
203
|
-
grid-column: span var(--width);
|
204
|
-
max-width: 100%;
|
205
|
-
overflow: hidden;
|
206
|
-
box-sizing: border-box;
|
207
|
-
display: block;
|
208
|
-
}
|
209
|
-
* {
|
210
|
-
box-sizing: border-box;
|
211
|
-
}
|
212
|
-
`],b([g()],t.prototype,"properties",2),b([g()],t.prototype,"context",2),b([g()],t.prototype,"layout",2),b([g()],t.prototype,"name",2),b([g()],t.prototype,"type",2),b([g({attribute:!1})],t.prototype,"application",2),b([g({attribute:!1})],t.prototype,"parent",2),t};class Ut extends Tt(f){render(){return A`Non resolved component`}}Ut.styles=[P`
|
213
|
-
:host {
|
214
|
-
display: block;
|
215
|
-
}
|
216
|
-
`];var et=(r=>(r.Inline="inline",r.Trigger="trigger",r))(et||{}),he=Object.defineProperty,de=Object.getOwnPropertyDescriptor,pe=(r,t,e,s)=>{for(var i=s>1?void 0:s?de(t,e):t,n=r.length-1,o;n>=0;n--)(o=r[n])&&(i=(s?o(t,e,i):o(i))||i);return s&&i&&he(t,e,i),i};class st extends f{constructor(){super(...arguments),this.nodes=[],this.wrapperRef=Pt()}addChild(t){t.parent=this,this.nodes.push(t)}applyBranding(){if(!this.wrapperRef.value)return;const t=this.application.settings;t!=null&&t.branding&&Ct(t.branding,this.wrapperRef.value)}applyStyles(){if(!this.wrapperRef.value)return;const t=this.application.styles(),e=this.wrapperRef.value;Object.entries(t).forEach(([s,i])=>{e.style.setProperty(`--${s}`,i)})}firstUpdated(t){this.applyBranding(),this.applyStyles()}render(){return this.application.renderStrategy===et.Trigger&&this.renderRoot.host.classList.add("floating"),A`<div class="widget-container" ${Ot(this.wrapperRef)}>
|
217
|
-
${At(this.nodes,t=>t)}
|
218
|
-
</div>`}}st.styles=P`
|
219
|
-
:host {
|
220
|
-
--font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
|
221
|
-
--spacing-xs: 0.2rem;
|
222
|
-
--spacing-sm: 0.5rem;
|
223
|
-
--spacing-md: 1rem;
|
224
|
-
--spacing-lg: 1.2rem;
|
225
|
-
--spacing-xl: 1.8rem;
|
226
|
-
|
227
|
-
--text-color: #222222;
|
228
|
-
--link-color: #990ae3;
|
229
|
-
--gray-color: #f3f3f8;
|
230
|
-
--gray-dark-color: #a6a6a6;
|
231
|
-
|
232
|
-
--box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
|
233
|
-
--border-radius: var(--spacing-sm);
|
234
|
-
--border-radius-sm: var(--spacing-sm);
|
235
|
-
--gap: var(--spacing-sm);
|
236
|
-
}
|
237
|
-
:host {
|
238
|
-
--voca-rem-multiplier: 0.625;
|
239
|
-
box-sizing: border-box;
|
240
|
-
display: block;
|
241
|
-
}
|
242
|
-
|
243
|
-
:host(.inline) {
|
244
|
-
height: 100%;
|
245
|
-
position: fixed;
|
246
|
-
inset: 0 0 0 0;
|
247
|
-
}
|
248
|
-
|
249
|
-
:host(.floating) {
|
250
|
-
z-index: 6;
|
251
|
-
position: fixed;
|
252
|
-
}
|
253
|
-
@media screen and (max-width: 800px) {
|
254
|
-
:host(.floating) {
|
255
|
-
inset: 0 0 95px 0;
|
256
|
-
}
|
257
|
-
}
|
258
|
-
@media screen and (min-width: 801px) {
|
259
|
-
:host(.floating) {
|
260
|
-
inset: auto 20px 95px auto;
|
261
|
-
max-height: calc(100vh - 120px);
|
262
|
-
width: 400px;
|
263
|
-
height: 700px;
|
264
|
-
}
|
265
|
-
}
|
266
|
-
|
267
|
-
:host(.floating) .widget-container {
|
268
|
-
box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
|
269
|
-
border-radius: 0.7rem;
|
270
|
-
}
|
271
|
-
|
272
|
-
* {
|
273
|
-
box-sizing: border-box;
|
274
|
-
}
|
275
|
-
.widget-container {
|
276
|
-
height: 100%;
|
277
|
-
background-color: var(--primary-background);
|
278
|
-
padding: var(--spacing-sm);
|
279
|
-
border: var(--widget-border, none);
|
280
|
-
}
|
281
|
-
@keyframes slideDown {
|
282
|
-
from {
|
283
|
-
transform: translateY(0);
|
284
|
-
opacity: 1;
|
285
|
-
}
|
286
|
-
to {
|
287
|
-
transform: translateY(100%);
|
288
|
-
opacity: 0;
|
289
|
-
}
|
290
|
-
}
|
291
|
-
@keyframes slideUp {
|
292
|
-
from {
|
293
|
-
transform: translateY(100%);
|
294
|
-
opacity: 0;
|
295
|
-
}
|
296
|
-
to {
|
297
|
-
transform: translateY(0);
|
298
|
-
opacity: 1;
|
299
|
-
}
|
300
|
-
}
|
301
|
-
:host(.expanded) {
|
302
|
-
opacity: 1;
|
303
|
-
animation: slideUp 0.3s linear;
|
304
|
-
}
|
305
|
-
:host(.hidden) {
|
306
|
-
opacity: 0;
|
307
|
-
animation: slideDown 0.3s linear;
|
308
|
-
}
|
309
|
-
`;pe([g({attribute:!1})],st.prototype,"application",2);var ue=Object.defineProperty,ge=Object.getOwnPropertyDescriptor,it=(r,t,e,s)=>{for(var i=s>1?void 0:s?ge(t,e):t,n=r.length-1,o;n>=0;n--)(o=r[n])&&(i=(s?o(t,e,i):o(i))||i);return s&&i&&ue(t,e,i),i};class z extends f{constructor(){super(),this.status="deactivated",this.addEventListener("environment-created",this.onEnvironmentCreated)}async connectedCallback(){super.connectedCallback(),await this.getGlobalEnvironment()}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("environment-created",this.onEnvironmentCreated)}async onEnvironmentCreated(t){this.widget=t.detail.widget,await this.activate(),this.requestUpdate()}async activate(){this.widget&&(await this.widget.activate(),this.status="activated")}async getGlobalEnvironment(){const t=globalThis.widgets;t&&(this.widget=t.applications.find(e=>e.name===this.name),await this.activate())}render(){if(!this.widget||this.status!=="activated")return h;if(this.widget.renderStrategy===et.Trigger){const t=new _;return t.application=this.widget,t}return this.widget.render()}}z.styles=[P`
|
310
|
-
:host {
|
311
|
-
display: block;
|
312
|
-
}
|
313
|
-
`];it([g({attribute:!0})],z.prototype,"name",2);it([O()],z.prototype,"widget",2);it([O()],z.prototype,"status",2);customElements.get("ace-trigger")||customElements.define("ace-trigger",_);customElements.get("ace-unresolved-component")||customElements.define("ace-unresolved-component",Ut);customElements.get("ace-wrapper")||customElements.define("ace-wrapper",st);customElements.get("ace-widget")||customElements.define("ace-widget",z);const fe=r=>{const t={};return Object.keys(r).forEach(e=>{e.indexOf("css-")>-1&&(t[e]=r[e])}),t},$e=(r,t)=>{const e=fe(t);Object.entries(e).forEach(([s,i])=>{r.style.setProperty(s.replace("css-",""),i)})};class rt extends Tt(f){constructor(){super(...arguments),this.nodes=[]}render(){var t;return $e(this.renderRoot.host,this.properties),this.renderRoot.host.style.setProperty("--columns",((t=this.properties.columns)==null?void 0:t.toString())||"1"),A`${At(this.nodes,e=>e)}`}}rt.styles=[P`
|
314
|
-
:host {
|
315
|
-
height: 100%;
|
316
|
-
display: grid;
|
317
|
-
justify-content: center;
|
318
|
-
grid-auto-rows: max-content;
|
319
|
-
grid-template-rows: auto;
|
320
|
-
grid-template-columns: repeat(var(--columns), 1fr);
|
321
|
-
gap: var(--gap);
|
322
|
-
}
|
323
|
-
`];exports.Area=rt;exports.default=rt;
|