@meetelise/chat 1.22.18 → 1.22.19
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/package.json
CHANGED
package/public/demo/index.html
CHANGED
|
@@ -156,8 +156,8 @@
|
|
|
156
156
|
};
|
|
157
157
|
|
|
158
158
|
MEChat.start({
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
organization: "test-company",
|
|
160
|
+
building: "3fc93384-91f5-11ed-98a3-43f5a2f42588",
|
|
161
161
|
// onSstClose: () => {
|
|
162
162
|
// const meetEliseChats = document.getElementsByTagName("me-chat");
|
|
163
163
|
// if (!meetEliseChats || meetEliseChats.length === 0) {
|
|
@@ -172,8 +172,8 @@
|
|
|
172
172
|
|
|
173
173
|
// building: "43e3b1bc-d1b2-11ee-acb9-d77ba815aaac",
|
|
174
174
|
|
|
175
|
-
organization: "cardinal-group",
|
|
176
|
-
widgetType: "utilities",
|
|
175
|
+
// organization: "cardinal-group",
|
|
176
|
+
// widgetType: "utilities",
|
|
177
177
|
|
|
178
178
|
// organization: "test-company",
|
|
179
179
|
// building: "e2e-test-yardi-building",
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
<a
|
|
206
206
|
href="javascript:void(0);"
|
|
207
207
|
onclick="window.eliseAi.onOpenSST(() => {
|
|
208
|
-
|
|
208
|
+
|
|
209
209
|
const meetEliseChats = document.getElementsByTagName('me-chat');
|
|
210
210
|
if (!meetEliseChats || meetEliseChats.length === 0) {
|
|
211
211
|
return;
|
package/public/dist/index.js
CHANGED
|
@@ -3170,7 +3170,7 @@ otherwise there's some empty space at the bottom of the button, which interferes
|
|
|
3170
3170
|
</div>`}render(){return window.customElements.get("email-us-window")||window.customElements.define("email-us-window",Dn),window.customElements.get("call-us-window")||window.customElements.define("call-us-window",nr),(this.hasSSTEnabledDesktop||this.hasSSTEnabledMobile)&&(window.eliseAi.onOpenSST=e=>{this.isSSTWindowOpen=!0,this.isCallUsWindowOpen=!1,this.isEmailWindowOpen=!1,this.onExitChat(),e&&e()}),(this.hasChatEnabledDesktop||this.hasChatEnabledMobile)&&(window.eliseAi.onOpenChat=e=>{this.onChatTapped(),this.isSSTWindowOpen=!1,this.isCallUsWindowOpen=!1,this.isEmailWindowOpen=!1,e&&e()}),(this.hasCallUsEnabledDesktop||this.hasCallUsEnabledMobile)&&(window.eliseAi.onOpenCallUsWindow=e=>{this.isCallUsWindowOpen=!0,this.isSSTWindowOpen=!1,this.isEmailWindowOpen=!1,this.onExitChat(),e&&e()}),(this.hasEmailEnabledDesktop||this.hasEmailEnabledMobile)&&(window.eliseAi.onOpenEmailUsWindow=e=>{this.isEmailWindowOpen=!0,this.isSSTWindowOpen=!1,this.isCallUsWindowOpen=!1,this.onExitChat(),e&&e()}),U`
|
|
3171
3171
|
<div
|
|
3172
3172
|
class=${Qi()({"launcher__mobile-launcher-wrapper":ci()||this.isMinimized,"launcher__mini-launcher-wrapper":!ci()&&!this.isMinimized,"launcher__mini-elevated":"livcor"===this.orgSlug.toLowerCase()&&(ci()||this.isMinimized)})}
|
|
3173
|
-
style=${Pe({...this.launcherStyles,...this.mobileStyles,top:ci()||void 0===this.top||isNaN(this.top)?void 0:this.top-700+"px",bottom:ci()||void 0===this.bottom||isNaN(this.bottom)?"72px":`${this.bottom}px`,left:ci()||void 0===this.left||isNaN(this.left)?void 0:`${this.left}px`,right:ci()||void 0===this.right||isNaN(this.right)?"18px":`${this.right}px`})}
|
|
3173
|
+
style=${Pe({...this.launcherStyles,...this.mobileStyles,top:ci()||void 0===this.top||isNaN(this.top)?void 0!==this.mobileStyles.top?`${this.mobileStyles.top}px`:void 0:this.top-700+"px",bottom:ci()||void 0===this.bottom||isNaN(this.bottom)?void 0!==this.mobileStyles.bottom?`${this.mobileStyles.bottom}px`:"72px":`${this.bottom}px`,left:ci()||void 0===this.left||isNaN(this.left)?void 0!==this.mobileStyles.left?`${this.mobileStyles.left}px`:void 0:`${this.left}px`,right:ci()||void 0===this.right||isNaN(this.right)?void 0!==this.mobileStyles.right?`${this.mobileStyles.right}px`:"18px":`${this.right}px`})}
|
|
3174
3174
|
>
|
|
3175
3175
|
${this.isEmailWindowOpen?U`<div
|
|
3176
3176
|
class="launcher__window-wrapper"
|
|
@@ -839,18 +839,26 @@ export class Launcher extends LitElement {
|
|
|
839
839
|
top:
|
|
840
840
|
!isMobile() && this.top !== undefined && !isNaN(this.top)
|
|
841
841
|
? `${this.top - 700}px`
|
|
842
|
+
: this.mobileStyles.top !== undefined
|
|
843
|
+
? `${this.mobileStyles.top}px`
|
|
842
844
|
: undefined,
|
|
843
845
|
bottom:
|
|
844
846
|
!isMobile() && this.bottom !== undefined && !isNaN(this.bottom)
|
|
845
847
|
? `${this.bottom}px`
|
|
848
|
+
: this.mobileStyles.bottom !== undefined
|
|
849
|
+
? `${this.mobileStyles.bottom}px`
|
|
846
850
|
: "72px",
|
|
847
851
|
left:
|
|
848
852
|
!isMobile() && this.left !== undefined && !isNaN(this.left)
|
|
849
853
|
? `${this.left}px`
|
|
854
|
+
: this.mobileStyles.left !== undefined
|
|
855
|
+
? `${this.mobileStyles.left}px`
|
|
850
856
|
: undefined,
|
|
851
857
|
right:
|
|
852
858
|
!isMobile() && this.right !== undefined && !isNaN(this.right)
|
|
853
859
|
? `${this.right}px`
|
|
860
|
+
: this.mobileStyles.right !== undefined
|
|
861
|
+
? `${this.mobileStyles.right}px`
|
|
854
862
|
: "18px",
|
|
855
863
|
})}
|
|
856
864
|
>
|