@telia-ace/widget-runtime-flamingo 1.1.115-rc.7 → 1.1.115

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-C4YLyWNb.js");exports.ActionsController=t.ActionsController;exports.DataProvider=t.DataProvider;exports.GridWidget=t.Widget;exports.GuideProviderPlugin=t.GuideProviderPlugin;exports.Widget=t.Widget;exports.WidgetComponent=t.WidgetComponent;exports.childrenContext=t.childrenContext;exports.containerContext=t.containerContext;exports.contextCtx=t.contextCtx;exports.createDataProvider=t.createDataProvider;exports.createWebComponent=t.createLitComponent;exports.descriptorContext=t.descriptorContext;exports.layoutCtx=t.layoutCtx;exports.propertiesCtx=t.propertiesCtx;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-BezgZo_3.js");exports.ActionsController=t.ActionsController;exports.DataProvider=t.DataProvider;exports.GridWidget=t.Widget;exports.GuideProviderPlugin=t.GuideProviderPlugin;exports.Widget=t.Widget;exports.WidgetComponent=t.WidgetComponent;exports.childrenContext=t.childrenContext;exports.containerContext=t.containerContext;exports.contextCtx=t.contextCtx;exports.createDataProvider=t.createDataProvider;exports.createWebComponent=t.createLitComponent;exports.descriptorContext=t.descriptorContext;exports.layoutCtx=t.layoutCtx;exports.propertiesCtx=t.propertiesCtx;
package/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { A as a, D as o, h as r, G as s, h as i, W as n, j as d, c as C, l as c, s as x, u as p, k as l, p as W, q as g } from "./index-B1Q3-FOo.mjs";
1
+ import { A as a, D as o, h as r, G as s, h as i, W as n, j as d, c as C, l as c, s as x, u as p, k as l, p as W, q as g } from "./index-Cw8NCTNJ.mjs";
2
2
  export {
3
3
  a as ActionsController,
4
4
  o as DataProvider,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telia-ace/widget-runtime-flamingo",
3
- "version": "1.1.115-rc.7",
3
+ "version": "1.1.115",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
@@ -1,8 +1,8 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-C4YLyWNb.js");/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-BezgZo_3.js");/**
2
2
  * @license
3
3
  * Copyright 2017 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
- */const _=t=>(e,s)=>{s!==void 0?s.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};/**
5
+ */const $=t=>(e,s)=>{s!==void 0?s.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};/**
6
6
  * @license
7
7
  * Copyright 2020 Google LLC
8
8
  * SPDX-License-Identifier: BSD-3-Clause
@@ -14,11 +14,11 @@
14
14
  * @license
15
15
  * Copyright 2020 Google LLC
16
16
  * SPDX-License-Identifier: BSD-3-Clause
17
- */const Y=()=>new O;let O=class{};const v=new WeakMap,L=r.e(class extends C{render(t){return r.E}update(t,[e]){var n;const s=e!==this.Y;return s&&this.Y!==void 0&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.Y=e,this.ht=(n=t.options)==null?void 0:n.host,this.rt(this.ct=t.element)),r.E}rt(t){if(this.isConnected||(t=void 0),typeof this.Y=="function"){const e=this.ht??globalThis;let s=v.get(e);s===void 0&&(s=new WeakMap,v.set(e,s)),s.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),s.set(this.Y,t),t!==void 0&&this.Y.call(this.ht,t)}else this.Y.value=t}get lt(){var t,e;return typeof this.Y=="function"?(t=v.get(this.ht??globalThis))==null?void 0:t.get(this.Y):(e=this.Y)==null?void 0:e.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}}),E=async t=>await t.get("$widget").invoke("renderState"),D=async(t,e)=>{const s=t.get("$widget");return(await t.getAsync("actionResolver")).subscribe(s.name,e)},M=(t,e,s=!1)=>{const n=t.reduce((a,{breakpoints:c=[],values:l})=>c.length?e.some(g=>c.includes(g))?{...a,...l}:a:{...a,...l},{}),i={},o=n.type;return i.height=n.height||"",i.width=n.width||"",n.type==="floating"||n.type==="inline"&&s&&(i.height="calc(100vh - 120px)"),{type:o,styles:i}};var T=Object.defineProperty,z=Object.getOwnPropertyDescriptor,d=(t,e,s,n)=>{for(var i=n>1?void 0:n?z(e,s):e,o=t.length-1,a;o>=0;o--)(a=t[o])&&(i=(n?a(e,s,i):a(i))||i);return n&&i&&T(e,s,i),i};let h=class extends r.r{constructor(){super(),this._provider=new r.i$1(this,r.containerContext,void 0),this.wrapperRef=Y(),this.breakpoints=[],this.breakpointsSet=!1}connectedCallback(){super.connectedCallback(),this._provider.setValue(this.container),this.container&&(E(this.container).then(t=>{this.renderState=t}),D(this.container,(t,e)=>{switch(e){case"close":case"open":this.renderState=e==="open"?r.ot.open:r.ot.closed;break;case"hide":this.renderState=r.ot.hidden}}).then(t=>{this._unsubscribeRenderState=t}),r.et.getInstance(this.container).then(t=>{this.componentPlatform=t,this.breakpoints=this.componentPlatform.breakpoints,this.breakpointsSet=!0,this._unsubscribePropChange=this.componentPlatform.events.subscribe("components:properties-changed",(e,s)=>{var n,i;((n=s==null?void 0:s.node)==null?void 0:n.type)==="root"&&(this.breakpoints=(i=this.componentPlatform)!=null&&i.breakpoints?[...this.componentPlatform.breakpoints]:[])}),this.entry=this.componentPlatform.nodes.root.children.default[0].id||void 0}))}disconnectedCallback(){super.disconnectedCallback(),this._unsubscribeRenderState&&this._unsubscribeRenderState(),this._unsubscribePropChange&&this._unsubscribePropChange()}applyBranding(){var t;if(this.wrapperRef.value){const e=(t=this.container)==null?void 0:t.get("$settings");e!=null&&e.branding&&r.mapBranding(e.branding,this.wrapperRef.value)}}render(){var e,s,n,i;let t;if(!this.entry||!this.breakpointsSet)return r.E;if(this.container&&this.renderState){const[o]=this.container.get("widgetDOMElements");o&&o.setAttribute("data-state",this.renderState)}if(this.container){const o=this.container.get("$settings");o!=null&&o.layout&&(t=M(o.layout,this.breakpoints,!!o.trigger),t.type==="floating"?(this.renderRoot.host.classList.add("floating"),this.renderRoot.host.classList.remove("inline")):(this.renderRoot.host.classList.add("inline"),this.renderRoot.host.classList.remove("floating")),Object.entries(t.styles).forEach(([a,c])=>{this.renderRoot.host.style.setProperty(a,c)}))}return this.renderState&&(this.renderState===r.ot.hidden?((e=this.wrapperRef.value)==null||e.classList.add("hidden"),(s=this.wrapperRef.value)==null||s.classList.remove("expanded")):((n=this.wrapperRef.value)==null||n.classList.remove("hidden"),(i=this.wrapperRef.value)==null||i.classList.add("expanded"))),this.applyBranding(),r.x`
17
+ */const G=()=>new O;let O=class{};const v=new WeakMap,L=r.e(class extends C{render(t){return r.E}update(t,[e]){var n;const s=e!==this.G;return s&&this.G!==void 0&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=(n=t.options)==null?void 0:n.host,this.rt(this.ct=t.element)),r.E}rt(t){if(this.isConnected||(t=void 0),typeof this.G=="function"){const e=this.ht??globalThis;let s=v.get(e);s===void 0&&(s=new WeakMap,v.set(e,s)),s.get(this.G)!==void 0&&this.G.call(this.ht,void 0),s.set(this.G,t),t!==void 0&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){var t,e;return typeof this.G=="function"?(t=v.get(this.ht??globalThis))==null?void 0:t.get(this.G):(e=this.G)==null?void 0:e.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}}),E=async t=>await t.get("$widget").invoke("renderState"),D=async(t,e)=>{const s=t.get("$widget");return(await t.getAsync("actionResolver")).subscribe(s.name,e)},M=(t,e,s=!1)=>{const n=t.reduce((a,{breakpoints:c=[],values:l})=>c.length?e.some(g=>c.includes(g))?{...a,...l}:a:{...a,...l},{}),i={},o=n.type;return i.height=n.height||"",i.width=n.width||"",n.type==="floating"||n.type==="inline"&&s&&(i.height="calc(100vh - 120px)"),{type:o,styles:i}};var T=Object.defineProperty,z=Object.getOwnPropertyDescriptor,d=(t,e,s,n)=>{for(var i=n>1?void 0:n?z(e,s):e,o=t.length-1,a;o>=0;o--)(a=t[o])&&(i=(n?a(e,s,i):a(i))||i);return n&&i&&T(e,s,i),i};let h=class extends r.i$1{constructor(){super(),this._provider=new r.i$2(this,r.containerContext,void 0),this.wrapperRef=G(),this.breakpoints=[],this.breakpointsSet=!1}connectedCallback(){super.connectedCallback(),this._provider.setValue(this.container),this.container&&(E(this.container).then(t=>{this.renderState=t}),D(this.container,(t,e)=>{switch(e){case"close":case"open":this.renderState=e==="open"?r.ot.open:r.ot.closed;break;case"hide":this.renderState=r.ot.hidden}}).then(t=>{this._unsubscribeRenderState=t}),r.et.getInstance(this.container).then(t=>{this.componentPlatform=t,this.breakpoints=this.componentPlatform.breakpoints,this.breakpointsSet=!0,this._unsubscribePropChange=this.componentPlatform.events.subscribe("components:properties-changed",(e,s)=>{var n,i;((n=s==null?void 0:s.node)==null?void 0:n.type)==="root"&&(this.breakpoints=(i=this.componentPlatform)!=null&&i.breakpoints?[...this.componentPlatform.breakpoints]:[])}),this.entry=this.componentPlatform.nodes.root.children.default[0].id||void 0}))}disconnectedCallback(){super.disconnectedCallback(),this._unsubscribeRenderState&&this._unsubscribeRenderState(),this._unsubscribePropChange&&this._unsubscribePropChange()}applyBranding(){var t;if(this.wrapperRef.value){const e=(t=this.container)==null?void 0:t.get("$settings");e!=null&&e.branding&&r.mapBranding(e.branding,this.wrapperRef.value)}}render(){var e,s,n,i;let t;if(!this.entry||!this.breakpointsSet)return r.E;if(this.container&&this.renderState){const[o]=this.container.get("widgetDOMElements");o&&o.setAttribute("data-state",this.renderState)}if(this.container){const o=this.container.get("$settings");o!=null&&o.layout&&(t=M(o.layout,this.breakpoints,!!o.trigger),t.type==="floating"?(this.renderRoot.host.classList.add("floating"),this.renderRoot.host.classList.remove("inline")):(this.renderRoot.host.classList.add("inline"),this.renderRoot.host.classList.remove("floating")),Object.entries(t.styles).forEach(([a,c])=>{this.renderRoot.host.style.setProperty(a,c)}))}return this.renderState&&(this.renderState===r.ot.hidden?((e=this.wrapperRef.value)==null||e.classList.add("hidden"),(s=this.wrapperRef.value)==null||s.classList.remove("expanded")):((n=this.wrapperRef.value)==null||n.classList.remove("hidden"),(i=this.wrapperRef.value)==null||i.classList.add("expanded"))),this.applyBranding(),r.x`
18
18
  <div class="widget-container" ${L(this.wrapperRef)}>
19
19
  <ace-area entry=${this.entry}></ace-area>
20
20
  </div>
21
- `}};h.styles=r.i$2`
21
+ `}};h.styles=r.i$3`
22
22
  :host {
23
23
  --font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
24
24
  --spacing-xs: 0.2rem;
@@ -96,19 +96,19 @@
96
96
  opacity: 1;
97
97
  }
98
98
  }
99
- `;d([r.n({attribute:!1})],h.prototype,"container",2);d([r.r$1()],h.prototype,"componentPlatform",2);d([r.r$1()],h.prototype,"renderState",2);d([r.r$1()],h.prototype,"breakpoints",2);d([r.r$1()],h.prototype,"breakpointsSet",2);d([r.r$1()],h.prototype,"entry",2);h=d([_("ace-widget-wrapper")],h);/**
99
+ `;d([r.n({attribute:!1})],h.prototype,"container",2);d([r.r()],h.prototype,"componentPlatform",2);d([r.r()],h.prototype,"renderState",2);d([r.r()],h.prototype,"breakpoints",2);d([r.r()],h.prototype,"breakpointsSet",2);d([r.r()],h.prototype,"entry",2);h=d([$("ace-widget-wrapper")],h);/**
100
100
  * @license
101
101
  * Copyright 2021 Google LLC
102
102
  * SPDX-License-Identifier: BSD-3-Clause
103
- */class j{constructor(e){this.Y=e}disconnect(){this.Y=void 0}reconnect(e){this.Y=e}deref(){return this.Y}}class N{constructor(){this.Z=void 0,this.q=void 0}get(){return this.Z}pause(){this.Z??(this.Z=new Promise(e=>this.q=e))}resume(){var e;(e=this.q)==null||e.call(this),this.Z=this.q=void 0}}/**
103
+ */class Y{constructor(e){this.G=e}disconnect(){this.G=void 0}reconnect(e){this.G=e}deref(){return this.G}}class j{constructor(){this.Y=void 0,this.Z=void 0}get(){return this.Y}pause(){this.Y??(this.Y=new Promise(e=>this.Z=e))}resume(){var e;(e=this.Z)==null||e.call(this),this.Y=this.Z=void 0}}/**
104
104
  * @license
105
105
  * Copyright 2017 Google LLC
106
106
  * SPDX-License-Identifier: BSD-3-Clause
107
- */const $=t=>!A(t)&&typeof t.then=="function",b=1073741823;class q extends C{constructor(){super(...arguments),this._$Cwt=b,this._$Cbt=[],this._$CK=new j(this),this._$CX=new N}render(...e){return e.find(s=>!$(s))??r.T}update(e,s){const n=this._$Cbt;let i=n.length;this._$Cbt=s;const o=this._$CK,a=this._$CX;this.isConnected||this.disconnected();for(let c=0;c<s.length&&!(c>this._$Cwt);c++){const l=s[c];if(!$(l))return this._$Cwt=c,l;c<i&&l===n[c]||(this._$Cwt=b,i=0,Promise.resolve(l).then(async g=>{for(;a.get();)await a.get();const p=o.deref();if(p!==void 0){const m=p._$Cbt.indexOf(l);m>-1&&m<p._$Cwt&&(p._$Cwt=m,p.setValue(g))}}))}return r.T}disconnected(){this._$CK.disconnect(),this._$CX.pause()}reconnected(){this._$CK.reconnect(this),this._$CX.resume()}}const I=r.e(q);var W=Object.getOwnPropertyDescriptor,H=(t,e,s,n)=>{for(var i=n>1?void 0:n?W(e,s):e,o=t.length-1,a;o>=0;o--)(a=t[o])&&(i=a(i)||i);return i};const x=r.WidgetComponent(r.r);let y=class extends x{constructor(){super(...arguments),this._resolveChildComponent=async t=>{const s=(await this.container.getAsync("componentResolver")).getComponent(t);if(s.then)return s.then(n=>n.default)},this._resolveAllChildren=async t=>Promise.all(t.map(async e=>{let s=customElements.get(`ace-${e.type}`);return s||(s=await this._resolveChildComponent(e.type||"")),{...e,component:s}}))}render(){var t;return this.renderRoot.host.style.setProperty("--width",this.layout.size==="full"?"var(--columns, 1)":`min(${this.layout.size||"var(--columns)"}, var(--columns))`),this.renderRoot.host.style.setProperty("--columns",((t=this._propertiesProvider.value.columns)==null?void 0:t.toString())||"1"),r.appendStyleFromProperties(this.renderRoot.host,this._propertiesProvider.value),r.x`
107
+ */const b=t=>!A(t)&&typeof t.then=="function",_=1073741823;class N extends C{constructor(){super(...arguments),this._$Cwt=_,this._$Cbt=[],this._$CK=new Y(this),this._$CX=new j}render(...e){return e.find(s=>!b(s))??r.T}update(e,s){const n=this._$Cbt;let i=n.length;this._$Cbt=s;const o=this._$CK,a=this._$CX;this.isConnected||this.disconnected();for(let c=0;c<s.length&&!(c>this._$Cwt);c++){const l=s[c];if(!b(l))return this._$Cwt=c,l;c<i&&l===n[c]||(this._$Cwt=_,i=0,Promise.resolve(l).then(async g=>{for(;a.get();)await a.get();const p=o.deref();if(p!==void 0){const m=p._$Cbt.indexOf(l);m>-1&&m<p._$Cwt&&(p._$Cwt=m,p.setValue(g))}}))}return r.T}disconnected(){this._$CK.disconnect(),this._$CX.pause()}reconnected(){this._$CK.reconnect(this),this._$CX.resume()}}const I=r.e(N);var W=Object.getOwnPropertyDescriptor,H=(t,e,s,n)=>{for(var i=n>1?void 0:n?W(e,s):e,o=t.length-1,a;o>=0;o--)(a=t[o])&&(i=a(i)||i);return i};const x=r.WidgetComponent(r.i$1);let y=class extends x{constructor(){super(...arguments),this._resolveChildComponent=async t=>{const s=(await this.container.getAsync("componentResolver")).getComponent(t);if(s.then)return s.then(n=>n.default)},this._resolveAllChildren=async t=>Promise.all(t.map(async e=>{let s=customElements.get(`ace-${e.type}`);return s||(s=await this._resolveChildComponent(e.type||"")),{...e,component:s}}))}render(){var t;return this.renderRoot.host.style.setProperty("--width",this.layout.size==="full"?"var(--columns, 1)":`min(${this.layout.size||"var(--columns)"}, var(--columns))`),this.renderRoot.host.style.setProperty("--columns",((t=this._propertiesProvider.value.columns)==null?void 0:t.toString())||"1"),r.appendStyleFromProperties(this.renderRoot.host,this._propertiesProvider.value),r.x`
108
108
  ${I(this._resolveAllChildren(this._childrenProvider.value).then(e=>r.x`
109
109
  ${e.map(s=>{if(s.type==="area")return r.x`<ace-area entry=${s.id}></ace-area>`;const n=new s.component;return n.entry=s.id,n})}
110
110
  `))}
111
- `}};y.styles=[x.styles||[],r.i$2`
111
+ `}};y.styles=[x.styles||[],r.i$3`
112
112
  :host {
113
113
  height: 100%;
114
114
  display: grid;
@@ -117,4 +117,4 @@
117
117
  grid-template-rows: auto;
118
118
  grid-template-columns: repeat(var(--columns), 1fr);
119
119
  }
120
- `];y=H([_("ace-area")],y);const K=(t,e)=>{const s=new h;s.container=t,e.appendChild(s)};exports.default=K;
120
+ `];y=H([$("ace-area")],y);const K=(t,e)=>{const s=new h;s.container=t,e.appendChild(s)};exports.default=K;
@@ -1,4 +1,4 @@
1
- import { i as L, t as D, e as A, E as b, r as P, a as z, c as E, b as M, m as N, o as f, x as g, d as R, n as T, f as u, T as w, W as j, g as W } from "./index-B1Q3-FOo.mjs";
1
+ import { i as L, t as D, e as A, E as b, a as P, b as z, c as E, d as M, m as Y, o as f, x as g, f as R, n as N, r as u, T as w, W as T, g as j } from "./index-Cw8NCTNJ.mjs";
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2017 Google LLC
@@ -14,7 +14,7 @@ const S = (t) => (e, s) => {
14
14
  * Copyright 2020 Google LLC
15
15
  * SPDX-License-Identifier: BSD-3-Clause
16
16
  */
17
- const I = (t) => t === null || typeof t != "object" && typeof t != "function", q = (t) => t.strings === void 0;
17
+ const W = (t) => t === null || typeof t != "object" && typeof t != "function", I = (t) => t.strings === void 0;
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -52,7 +52,7 @@ function K(t, e = !1, s = 0) {
52
52
  const X = (t) => {
53
53
  t.type == D.CHILD && (t._$AP ?? (t._$AP = K), t._$AQ ?? (t._$AQ = H));
54
54
  };
55
- class Y extends L {
55
+ class G extends L {
56
56
  constructor() {
57
57
  super(...arguments), this._$AN = void 0;
58
58
  }
@@ -64,7 +64,7 @@ class Y extends L {
64
64
  e !== this.isConnected && (this.isConnected = e, e ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), s && (p(this, e), m(this));
65
65
  }
66
66
  setValue(e) {
67
- if (q(this._$Ct)) this._$Ct._$AI(e, this);
67
+ if (I(this._$Ct)) this._$Ct._$AI(e, this);
68
68
  else {
69
69
  const s = [...this._$Ct._$AH];
70
70
  s[this._$Ci] = e, this._$Ct._$AI(s, this, 0);
@@ -83,25 +83,25 @@ class Y extends L {
83
83
  const Z = () => new B();
84
84
  let B = class {
85
85
  };
86
- const $ = /* @__PURE__ */ new WeakMap(), U = A(class extends Y {
86
+ const $ = /* @__PURE__ */ new WeakMap(), U = A(class extends G {
87
87
  render(t) {
88
88
  return b;
89
89
  }
90
90
  update(t, [e]) {
91
91
  var n;
92
- const s = e !== this.Y;
93
- return s && this.Y !== void 0 && this.rt(void 0), (s || this.lt !== this.ct) && (this.Y = e, this.ht = (n = t.options) == null ? void 0 : n.host, this.rt(this.ct = t.element)), b;
92
+ const s = e !== this.G;
93
+ return s && this.G !== void 0 && this.rt(void 0), (s || this.lt !== this.ct) && (this.G = e, this.ht = (n = t.options) == null ? void 0 : n.host, this.rt(this.ct = t.element)), b;
94
94
  }
95
95
  rt(t) {
96
- if (this.isConnected || (t = void 0), typeof this.Y == "function") {
96
+ if (this.isConnected || (t = void 0), typeof this.G == "function") {
97
97
  const e = this.ht ?? globalThis;
98
98
  let s = $.get(e);
99
- s === void 0 && (s = /* @__PURE__ */ new WeakMap(), $.set(e, s)), s.get(this.Y) !== void 0 && this.Y.call(this.ht, void 0), s.set(this.Y, t), t !== void 0 && this.Y.call(this.ht, t);
100
- } else this.Y.value = t;
99
+ s === void 0 && (s = /* @__PURE__ */ new WeakMap(), $.set(e, s)), s.get(this.G) !== void 0 && this.G.call(this.ht, void 0), s.set(this.G, t), t !== void 0 && this.G.call(this.ht, t);
100
+ } else this.G.value = t;
101
101
  }
102
102
  get lt() {
103
103
  var t, e;
104
- return typeof this.Y == "function" ? (t = $.get(this.ht ?? globalThis)) == null ? void 0 : t.get(this.Y) : (e = this.Y) == null ? void 0 : e.value;
104
+ return typeof this.G == "function" ? (t = $.get(this.ht ?? globalThis)) == null ? void 0 : t.get(this.G) : (e = this.G) == null ? void 0 : e.value;
105
105
  }
106
106
  disconnected() {
107
107
  this.lt === this.ct && this.rt(void 0);
@@ -114,17 +114,17 @@ const $ = /* @__PURE__ */ new WeakMap(), U = A(class extends Y {
114
114
  return (await t.getAsync(
115
115
  "actionResolver"
116
116
  )).subscribe(s.name, e);
117
- }, G = (t, e, s = !1) => {
117
+ }, Q = (t, e, s = !1) => {
118
118
  const n = t.reduce(
119
119
  (o, { breakpoints: a = [], values: h }) => a.length ? e.some((v) => a.includes(v)) ? { ...o, ...h } : o : { ...o, ...h },
120
120
  {}
121
121
  ), i = {}, r = n.type;
122
122
  return i.height = n.height || "", i.width = n.width || "", n.type === "floating" || n.type === "inline" && s && (i.height = "calc(100vh - 120px)"), { type: r, styles: i };
123
123
  };
124
- var Q = Object.defineProperty, J = Object.getOwnPropertyDescriptor, l = (t, e, s, n) => {
124
+ var q = Object.defineProperty, J = Object.getOwnPropertyDescriptor, l = (t, e, s, n) => {
125
125
  for (var i = n > 1 ? void 0 : n ? J(e, s) : e, r = t.length - 1, o; r >= 0; r--)
126
126
  (o = t[r]) && (i = (n ? o(e, s, i) : o(i)) || i);
127
- return n && i && Q(e, s, i), i;
127
+ return n && i && q(e, s, i), i;
128
128
  };
129
129
  let c = class extends P {
130
130
  constructor() {
@@ -163,7 +163,7 @@ let c = class extends P {
163
163
  var t;
164
164
  if (this.wrapperRef.value) {
165
165
  const e = (t = this.container) == null ? void 0 : t.get("$settings");
166
- e != null && e.branding && N(e.branding, this.wrapperRef.value);
166
+ e != null && e.branding && Y(e.branding, this.wrapperRef.value);
167
167
  }
168
168
  }
169
169
  render() {
@@ -177,7 +177,7 @@ let c = class extends P {
177
177
  }
178
178
  if (this.container) {
179
179
  const r = this.container.get("$settings");
180
- r != null && r.layout && (t = G(
180
+ r != null && r.layout && (t = Q(
181
181
  r.layout,
182
182
  this.breakpoints,
183
183
  !!r.trigger
@@ -272,7 +272,7 @@ c.styles = R`
272
272
  }
273
273
  `;
274
274
  l([
275
- T({ attribute: !1 })
275
+ N({ attribute: !1 })
276
276
  ], c.prototype, "container", 2);
277
277
  l([
278
278
  u()
@@ -299,31 +299,31 @@ c = l([
299
299
  */
300
300
  class tt {
301
301
  constructor(e) {
302
- this.Y = e;
302
+ this.G = e;
303
303
  }
304
304
  disconnect() {
305
- this.Y = void 0;
305
+ this.G = void 0;
306
306
  }
307
307
  reconnect(e) {
308
- this.Y = e;
308
+ this.G = e;
309
309
  }
310
310
  deref() {
311
- return this.Y;
311
+ return this.G;
312
312
  }
313
313
  }
314
314
  class et {
315
315
  constructor() {
316
- this.Z = void 0, this.q = void 0;
316
+ this.Y = void 0, this.Z = void 0;
317
317
  }
318
318
  get() {
319
- return this.Z;
319
+ return this.Y;
320
320
  }
321
321
  pause() {
322
- this.Z ?? (this.Z = new Promise((e) => this.q = e));
322
+ this.Y ?? (this.Y = new Promise((e) => this.Z = e));
323
323
  }
324
324
  resume() {
325
325
  var e;
326
- (e = this.q) == null || e.call(this), this.Z = this.q = void 0;
326
+ (e = this.Z) == null || e.call(this), this.Y = this.Z = void 0;
327
327
  }
328
328
  }
329
329
  /**
@@ -331,8 +331,8 @@ class et {
331
331
  * Copyright 2017 Google LLC
332
332
  * SPDX-License-Identifier: BSD-3-Clause
333
333
  */
334
- const C = (t) => !I(t) && typeof t.then == "function", x = 1073741823;
335
- class st extends Y {
334
+ const C = (t) => !W(t) && typeof t.then == "function", x = 1073741823;
335
+ class st extends G {
336
336
  constructor() {
337
337
  super(...arguments), this._$Cwt = x, this._$Cbt = [], this._$CK = new tt(this), this._$CX = new et();
338
338
  }
@@ -372,7 +372,7 @@ var it = Object.getOwnPropertyDescriptor, rt = (t, e, s, n) => {
372
372
  (o = t[r]) && (i = o(i) || i);
373
373
  return i;
374
374
  };
375
- const O = j(P);
375
+ const O = T(P);
376
376
  let _ = class extends O {
377
377
  constructor() {
378
378
  super(...arguments), this._resolveChildComponent = async (t) => {
@@ -399,7 +399,7 @@ let _ = class extends O {
399
399
  ), this.renderRoot.host.style.setProperty(
400
400
  "--columns",
401
401
  ((t = this._propertiesProvider.value.columns) == null ? void 0 : t.toString()) || "1"
402
- ), W(
402
+ ), j(
403
403
  this.renderRoot.host,
404
404
  this._propertiesProvider.value
405
405
  ), g`