@telia-ace/widget-components-area-flamingo 1.1.123-rc.3 → 1.1.123-rc.30
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.
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
svg=${l.svg}
|
|
72
72
|
size="lg"
|
|
73
73
|
></telia-icon>`:d}default:return d}}hideTrigger(){this.triggerVisible=!1}showTrigger(){this.triggerVisible=!0}render(){var t,e,i,r,o,n,a;return C`<div
|
|
74
|
-
class=${te({"trigger-container":!0,hidden:!this.triggerVisible})}
|
|
74
|
+
class=${te({"trigger-container":!0,"ace-hidden":!this.triggerVisible})}
|
|
75
75
|
${$e(this.containerRef)}
|
|
76
76
|
>
|
|
77
77
|
${!this.active&&((r=(i=(e=(t=this.application)==null?void 0:t.settings)==null?void 0:e.branding)==null?void 0:i.other)!=null&&r.showButtonLabel)?C`
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
gap: 1rem;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
.trigger-container.hidden {
|
|
144
|
+
.trigger-container.ace-hidden {
|
|
145
145
|
display: none;
|
|
146
146
|
}
|
|
147
147
|
|
|
@@ -438,19 +438,19 @@
|
|
|
438
438
|
}
|
|
439
439
|
}
|
|
440
440
|
|
|
441
|
-
:host(.expanded) {
|
|
441
|
+
:host(.ace-expanded) {
|
|
442
442
|
opacity: 1;
|
|
443
443
|
animation: slideUp 0.3s linear;
|
|
444
444
|
}
|
|
445
445
|
|
|
446
|
-
:host(.hidden) {
|
|
446
|
+
:host(.ace-hidden) {
|
|
447
447
|
opacity: 0;
|
|
448
448
|
animation: slideDown 0.3s linear;
|
|
449
449
|
pointer-events: none;
|
|
450
450
|
}
|
|
451
451
|
|
|
452
|
-
:host(.hidden.embedded),
|
|
453
|
-
:host(.expanded.embedded) {
|
|
452
|
+
:host(.ace-hidden.embedded),
|
|
453
|
+
:host(.ace-expanded.embedded) {
|
|
454
454
|
animation: none;
|
|
455
455
|
}
|
|
456
456
|
`;let D=kt;we([g({attribute:!0})],D.prototype,"fullscreen");we([g({attribute:!1}),_i({context:xi})],D.prototype,"application");var Ai=Object.defineProperty,Et=(s,t,e,i)=>{for(var r=void 0,o=s.length-1,n;o>=0;o--)(n=s[o])&&(r=n(t,e,r)||r);return r&&Ai(t,e,r),r};const Tt=class Tt extends m{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 d;if(this.widget.renderStrategy===Ct.Trigger){const t=new $;return t.application=this.widget,t}return this.widget.render()}};Tt.styles=[k`
|
|
@@ -1592,7 +1592,7 @@ const St = class St extends m {
|
|
|
1592
1592
|
return C`<div
|
|
1593
1593
|
class=${Qt({
|
|
1594
1594
|
"trigger-container": !0,
|
|
1595
|
-
hidden: !this.triggerVisible
|
|
1595
|
+
"ace-hidden": !this.triggerVisible
|
|
1596
1596
|
})}
|
|
1597
1597
|
${$e(this.containerRef)}
|
|
1598
1598
|
>
|
|
@@ -1676,7 +1676,7 @@ St.styles = [
|
|
|
1676
1676
|
gap: 1rem;
|
|
1677
1677
|
}
|
|
1678
1678
|
|
|
1679
|
-
.trigger-container.hidden {
|
|
1679
|
+
.trigger-container.ace-hidden {
|
|
1680
1680
|
display: none;
|
|
1681
1681
|
}
|
|
1682
1682
|
|
|
@@ -2182,19 +2182,19 @@ Ot.styles = k`
|
|
|
2182
2182
|
}
|
|
2183
2183
|
}
|
|
2184
2184
|
|
|
2185
|
-
:host(.expanded) {
|
|
2185
|
+
:host(.ace-expanded) {
|
|
2186
2186
|
opacity: 1;
|
|
2187
2187
|
animation: slideUp 0.3s linear;
|
|
2188
2188
|
}
|
|
2189
2189
|
|
|
2190
|
-
:host(.hidden) {
|
|
2190
|
+
:host(.ace-hidden) {
|
|
2191
2191
|
opacity: 0;
|
|
2192
2192
|
animation: slideDown 0.3s linear;
|
|
2193
2193
|
pointer-events: none;
|
|
2194
2194
|
}
|
|
2195
2195
|
|
|
2196
|
-
:host(.hidden.embedded),
|
|
2197
|
-
:host(.expanded.embedded) {
|
|
2196
|
+
:host(.ace-hidden.embedded),
|
|
2197
|
+
:host(.ace-expanded.embedded) {
|
|
2198
2198
|
animation: none;
|
|
2199
2199
|
}
|
|
2200
2200
|
`;
|
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-DiHzBWFy.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.123-rc.
|
|
3
|
+
"version": "1.1.123-rc.30",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@telia-ace/widget-core-flamingo": "1.1.123-rc.
|
|
5
|
+
"@telia-ace/widget-core-flamingo": "1.1.123-rc.30",
|
|
6
6
|
"lit": "^3.0.2"
|
|
7
7
|
},
|
|
8
8
|
"main": "./index.js",
|