@telia-ace/widget-runtime-flamingo 1.1.111-rc.5 → 1.1.111-rc.7
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-Cb43X4KG.js → index-Bu5g2Hh-.js} +17 -17
- package/{index-BpOmXqng.mjs → index-CXqQFmLN.mjs} +148 -149
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
- package/{render-CDXkSh_X.js → render-BWvHPAsL.js} +7 -7
- package/{render-DPn5L-ek.mjs → render-DUlmO95v.mjs} +33 -33
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-Bu5g2Hh-.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-
|
|
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-CXqQFmLN.mjs";
|
|
2
2
|
export {
|
|
3
3
|
a as ActionsController,
|
|
4
4
|
o as DataProvider,
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-Bu5g2Hh-.js");/**
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright 2017 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
* @license
|
|
7
7
|
* Copyright 2020 Google LLC
|
|
8
8
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
9
|
-
*/const
|
|
9
|
+
*/const A=t=>t===null||typeof t!="object"&&typeof t!="function",P=t=>t.strings===void 0;/**
|
|
10
10
|
* @license
|
|
11
11
|
* Copyright 2017 Google LLC
|
|
12
12
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13
|
-
*/const u=(t,e)=>{var n;const s=t._$AN;if(s===void 0)return!1;for(const i of s)(n=i._$AO)==null||n.call(i,e,!1),u(i,e);return!0},f=t=>{let e,s;do{if((e=t._$AM)===void 0)break;s=e._$AN,s.delete(t),t=e}while((s==null?void 0:s.size)===0)},w=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(s===void 0)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),
|
|
13
|
+
*/const u=(t,e)=>{var n;const s=t._$AN;if(s===void 0)return!1;for(const i of s)(n=i._$AO)==null||n.call(i,e,!1),u(i,e);return!0},f=t=>{let e,s;do{if((e=t._$AM)===void 0)break;s=e._$AN,s.delete(t),t=e}while((s==null?void 0:s.size)===0)},w=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(s===void 0)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),k(e)}};function R(t){this._$AN!==void 0?(f(this),this._$AM=t,w(this)):this._$AM=t}function S(t,e=!1,s=0){const n=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(e)if(Array.isArray(n))for(let o=s;o<n.length;o++)u(n[o],!1),f(n[o]);else n!=null&&(u(n,!1),f(n));else u(this,t)}const k=t=>{t.type==r.t.CHILD&&(t._$AP??(t._$AP=S),t._$AQ??(t._$AQ=R))};class C extends r.i{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,s,n){super._$AT(e,s,n),w(this),this.isConnected=e._$AU}_$AO(e,s=!0){var n,i;e!==this.isConnected&&(this.isConnected=e,e?(n=this.reconnected)==null||n.call(this):(i=this.disconnected)==null||i.call(this)),s&&(u(this,e),f(this))}setValue(e){if(P(this._$Ct))this._$Ct._$AI(e,this);else{const s=[...this._$Ct._$AH];s[this._$Ci]=e,this._$Ct._$AI(s,this,0)}}disconnected(){}reconnected(){}}/**
|
|
14
14
|
* @license
|
|
15
15
|
* Copyright 2020 Google LLC
|
|
16
16
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
17
|
-
*/const
|
|
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`
|
|
18
18
|
<div class="widget-container" ${L(this.wrapperRef)}>
|
|
19
19
|
<ace-area entry=${this.entry}></ace-area>
|
|
20
20
|
</div>
|
|
@@ -100,11 +100,11 @@
|
|
|
100
100
|
* @license
|
|
101
101
|
* Copyright 2021 Google LLC
|
|
102
102
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
103
|
-
*/class
|
|
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}}/**
|
|
104
104
|
* @license
|
|
105
105
|
* Copyright 2017 Google LLC
|
|
106
106
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
107
|
-
*/const $=t=>!
|
|
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`
|
|
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
|
`))}
|
|
@@ -117,4 +117,4 @@
|
|
|
117
117
|
grid-template-rows: auto;
|
|
118
118
|
grid-template-columns: repeat(var(--columns), 1fr);
|
|
119
119
|
}
|
|
120
|
-
`];y=
|
|
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
|
|
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-CXqQFmLN.mjs";
|
|
2
2
|
/**
|
|
3
3
|
* @license
|
|
4
4
|
* Copyright 2017 Google LLC
|
|
@@ -26,13 +26,13 @@ const p = (t, e) => {
|
|
|
26
26
|
if (s === void 0) return !1;
|
|
27
27
|
for (const i of s) (n = i._$AO) == null || n.call(i, e, !1), p(i, e);
|
|
28
28
|
return !0;
|
|
29
|
-
},
|
|
29
|
+
}, m = (t) => {
|
|
30
30
|
let e, s;
|
|
31
31
|
do {
|
|
32
32
|
if ((e = t._$AM) === void 0) break;
|
|
33
33
|
s = e._$AN, s.delete(t), t = e;
|
|
34
34
|
} while ((s == null ? void 0 : s.size) === 0);
|
|
35
|
-
},
|
|
35
|
+
}, k = (t) => {
|
|
36
36
|
for (let e; e = t._$AM; t = e) {
|
|
37
37
|
let s = e._$AN;
|
|
38
38
|
if (s === void 0) e._$AN = s = /* @__PURE__ */ new Set();
|
|
@@ -41,27 +41,27 @@ const p = (t, e) => {
|
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
function H(t) {
|
|
44
|
-
this._$AN !== void 0 ? (
|
|
44
|
+
this._$AN !== void 0 ? (m(this), this._$AM = t, k(this)) : this._$AM = t;
|
|
45
45
|
}
|
|
46
46
|
function K(t, e = !1, s = 0) {
|
|
47
47
|
const n = this._$AH, i = this._$AN;
|
|
48
|
-
if (i !== void 0 && i.size !== 0) if (e) if (Array.isArray(n)) for (let r = s; r < n.length; r++) p(n[r], !1),
|
|
49
|
-
else n != null && (p(n, !1),
|
|
48
|
+
if (i !== void 0 && i.size !== 0) if (e) if (Array.isArray(n)) for (let r = s; r < n.length; r++) p(n[r], !1), m(n[r]);
|
|
49
|
+
else n != null && (p(n, !1), m(n));
|
|
50
50
|
else p(this, t);
|
|
51
51
|
}
|
|
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
|
|
55
|
+
class Y extends L {
|
|
56
56
|
constructor() {
|
|
57
57
|
super(...arguments), this._$AN = void 0;
|
|
58
58
|
}
|
|
59
59
|
_$AT(e, s, n) {
|
|
60
|
-
super._$AT(e, s, n),
|
|
60
|
+
super._$AT(e, s, n), k(this), this.isConnected = e._$AU;
|
|
61
61
|
}
|
|
62
62
|
_$AO(e, s = !0) {
|
|
63
63
|
var n, i;
|
|
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),
|
|
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
67
|
if (q(this._$Ct)) this._$Ct._$AI(e, this);
|
|
@@ -83,14 +83,14 @@ class k extends L {
|
|
|
83
83
|
const Z = () => new B();
|
|
84
84
|
let B = class {
|
|
85
85
|
};
|
|
86
|
-
const $ = /* @__PURE__ */ new WeakMap(), U =
|
|
86
|
+
const $ = /* @__PURE__ */ new WeakMap(), U = A(class extends Y {
|
|
87
87
|
render(t) {
|
|
88
|
-
return
|
|
88
|
+
return b;
|
|
89
89
|
}
|
|
90
90
|
update(t, [e]) {
|
|
91
91
|
var n;
|
|
92
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)),
|
|
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;
|
|
94
94
|
}
|
|
95
95
|
rt(t) {
|
|
96
96
|
if (this.isConnected || (t = void 0), typeof this.Y == "function") {
|
|
@@ -126,7 +126,7 @@ var Q = Object.defineProperty, J = Object.getOwnPropertyDescriptor, l = (t, e, s
|
|
|
126
126
|
(o = t[r]) && (i = (n ? o(e, s, i) : o(i)) || i);
|
|
127
127
|
return n && i && Q(e, s, i), i;
|
|
128
128
|
};
|
|
129
|
-
let c = class extends
|
|
129
|
+
let c = class extends P {
|
|
130
130
|
constructor() {
|
|
131
131
|
super(), this._provider = new z(this, E, void 0), this.wrapperRef = Z(), this.breakpoints = [], this.breakpointsSet = !1;
|
|
132
132
|
}
|
|
@@ -163,14 +163,14 @@ let c = class extends A {
|
|
|
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 &&
|
|
166
|
+
e != null && e.branding && N(e.branding, this.wrapperRef.value);
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
render() {
|
|
170
170
|
var e, s, n, i;
|
|
171
171
|
let t;
|
|
172
172
|
if (!this.entry || !this.breakpointsSet)
|
|
173
|
-
return
|
|
173
|
+
return b;
|
|
174
174
|
if (this.container && this.renderState) {
|
|
175
175
|
const [r] = this.container.get("widgetDOMElements");
|
|
176
176
|
r && r.setAttribute("data-state", this.renderState);
|
|
@@ -185,7 +185,7 @@ let c = class extends A {
|
|
|
185
185
|
this.renderRoot.host.style.setProperty(o, a);
|
|
186
186
|
}));
|
|
187
187
|
}
|
|
188
|
-
return this.renderState && (this.renderState === f.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(),
|
|
188
|
+
return this.renderState && (this.renderState === f.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(), g`
|
|
189
189
|
<div class="widget-container" ${U(this.wrapperRef)}>
|
|
190
190
|
<ace-area entry=${this.entry}></ace-area>
|
|
191
191
|
</div>
|
|
@@ -272,7 +272,7 @@ c.styles = R`
|
|
|
272
272
|
}
|
|
273
273
|
`;
|
|
274
274
|
l([
|
|
275
|
-
|
|
275
|
+
T({ attribute: !1 })
|
|
276
276
|
], c.prototype, "container", 2);
|
|
277
277
|
l([
|
|
278
278
|
u()
|
|
@@ -332,7 +332,7 @@ class et {
|
|
|
332
332
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
333
333
|
*/
|
|
334
334
|
const C = (t) => !I(t) && typeof t.then == "function", x = 1073741823;
|
|
335
|
-
class st extends
|
|
335
|
+
class st extends Y {
|
|
336
336
|
constructor() {
|
|
337
337
|
super(...arguments), this._$Cwt = x, this._$Cbt = [], this._$CK = new tt(this), this._$CX = new et();
|
|
338
338
|
}
|
|
@@ -366,14 +366,14 @@ class st extends k {
|
|
|
366
366
|
this._$CK.reconnect(this), this._$CX.resume();
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
|
-
const nt =
|
|
370
|
-
var it = Object.
|
|
371
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
372
|
-
(o = t[r]) && (i =
|
|
373
|
-
return
|
|
369
|
+
const nt = A(st);
|
|
370
|
+
var it = Object.getOwnPropertyDescriptor, rt = (t, e, s, n) => {
|
|
371
|
+
for (var i = n > 1 ? void 0 : n ? it(e, s) : e, r = t.length - 1, o; r >= 0; r--)
|
|
372
|
+
(o = t[r]) && (i = o(i) || i);
|
|
373
|
+
return i;
|
|
374
374
|
};
|
|
375
|
-
const O =
|
|
376
|
-
let
|
|
375
|
+
const O = j(P);
|
|
376
|
+
let _ = class extends O {
|
|
377
377
|
constructor() {
|
|
378
378
|
super(...arguments), this._resolveChildComponent = async (t) => {
|
|
379
379
|
const s = (await this.container.getAsync(
|
|
@@ -402,13 +402,13 @@ let b = class extends O {
|
|
|
402
402
|
), W(
|
|
403
403
|
this.renderRoot.host,
|
|
404
404
|
this._propertiesProvider.value
|
|
405
|
-
),
|
|
405
|
+
), g`
|
|
406
406
|
${nt(
|
|
407
407
|
this._resolveAllChildren(this._childrenProvider.value).then(
|
|
408
|
-
(e) =>
|
|
408
|
+
(e) => g`
|
|
409
409
|
${e.map((s) => {
|
|
410
410
|
if (s.type === "area")
|
|
411
|
-
return
|
|
411
|
+
return g`<ace-area entry=${s.id}></ace-area>`;
|
|
412
412
|
const n = new s.component();
|
|
413
413
|
return n.entry = s.id, n;
|
|
414
414
|
})}
|
|
@@ -418,7 +418,7 @@ let b = class extends O {
|
|
|
418
418
|
`;
|
|
419
419
|
}
|
|
420
420
|
};
|
|
421
|
-
|
|
421
|
+
_.styles = [
|
|
422
422
|
O.styles || [],
|
|
423
423
|
R`
|
|
424
424
|
:host {
|
|
@@ -431,13 +431,13 @@ b.styles = [
|
|
|
431
431
|
}
|
|
432
432
|
`
|
|
433
433
|
];
|
|
434
|
-
|
|
434
|
+
_ = rt([
|
|
435
435
|
S("ace-area")
|
|
436
|
-
],
|
|
437
|
-
const
|
|
436
|
+
], _);
|
|
437
|
+
const ct = (t, e) => {
|
|
438
438
|
const s = new c();
|
|
439
439
|
s.container = t, e.appendChild(s);
|
|
440
440
|
};
|
|
441
441
|
export {
|
|
442
|
-
|
|
442
|
+
ct as default
|
|
443
443
|
};
|