@meetelise/chat 1.20.32 → 1.20.34
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 +1 -1
- package/public/dist/index.js +659 -578
- package/src/WebComponent/Launcher.ts +8 -14
- package/src/WebComponent/Scheduler/tour-scheduler.ts +335 -331
- package/src/WebComponent/actions/InputStyles.ts +14 -8
- package/src/WebComponent/actions/action-confirm-button.ts +6 -7
- package/src/WebComponent/actions/call-us-window.ts +40 -17
- package/src/WebComponent/actions/details-window.ts +36 -3
- package/src/WebComponent/actions/email-us-window.ts +54 -47
- package/src/WebComponent/actions/text-us-window.ts +95 -65
- package/src/WebComponent/launcherStyles.ts +11 -1
- package/src/WebComponent/me-chat.ts +11 -4
- package/src/svgIcons.ts +4 -0
|
@@ -20,7 +20,6 @@ import {
|
|
|
20
20
|
OutlinedChatIcon,
|
|
21
21
|
OutlinedEmailIcon,
|
|
22
22
|
OutlinedPhoneIcon,
|
|
23
|
-
OutlinedTextIcon,
|
|
24
23
|
OutlinedTourIcon,
|
|
25
24
|
} from "../svgIcons";
|
|
26
25
|
|
|
@@ -48,7 +47,7 @@ export class Launcher extends LitElement {
|
|
|
48
47
|
@property()
|
|
49
48
|
phoneNumber = "";
|
|
50
49
|
@property({ attribute: true })
|
|
51
|
-
chatCallUsHeader = "
|
|
50
|
+
chatCallUsHeader = "";
|
|
52
51
|
@property({ attribute: false })
|
|
53
52
|
buildingId = 0;
|
|
54
53
|
@property({ attribute: true })
|
|
@@ -289,9 +288,7 @@ export class Launcher extends LitElement {
|
|
|
289
288
|
onClick: (e: MouseEvent) => void
|
|
290
289
|
): TemplateResult => {
|
|
291
290
|
return html`
|
|
292
|
-
<div class="
|
|
293
|
-
<div @click=${onClick} class="inner-pill-wrapper">${content}</div>
|
|
294
|
-
</div>
|
|
291
|
+
<div @click=${onClick} class="inner-pill-wrapper">${content}</div>
|
|
295
292
|
`;
|
|
296
293
|
};
|
|
297
294
|
|
|
@@ -338,8 +335,10 @@ export class Launcher extends LitElement {
|
|
|
338
335
|
html`
|
|
339
336
|
<div class="vertical-pill-icon">${FilledPhoneIcon}</div>
|
|
340
337
|
<div class="vertical-pill-title">
|
|
341
|
-
<span class="vertical-pill-bold">Call</span>
|
|
342
|
-
|
|
338
|
+
<span class="vertical-pill-bold">Call</span>
|
|
339
|
+
${this.hasTextUsEnabled
|
|
340
|
+
? html`or <span class="vertical-pill-bold">text</span> us`
|
|
341
|
+
: "us"}
|
|
343
342
|
</div>
|
|
344
343
|
`,
|
|
345
344
|
this.onClickPhoneOption
|
|
@@ -370,13 +369,6 @@ export class Launcher extends LitElement {
|
|
|
370
369
|
true
|
|
371
370
|
)
|
|
372
371
|
: ""}
|
|
373
|
-
${this.hasTextUsEnabled && !this.isCallToActionWindowOpen()
|
|
374
|
-
? this.renderMiniOption(
|
|
375
|
-
OutlinedTextIcon,
|
|
376
|
-
this.onClickTextUsOption,
|
|
377
|
-
true
|
|
378
|
-
)
|
|
379
|
-
: ""}
|
|
380
372
|
`;
|
|
381
373
|
};
|
|
382
374
|
|
|
@@ -431,6 +423,7 @@ export class Launcher extends LitElement {
|
|
|
431
423
|
phoneNumber="${this.phoneNumber}"
|
|
432
424
|
.buildingId=${this.buildingId}
|
|
433
425
|
chatCallUsHeader="${this.chatCallUsHeader}"
|
|
426
|
+
hasTextUsEnabled=${this.hasTextUsEnabled ? true : ""}
|
|
434
427
|
></call-us-window>
|
|
435
428
|
</div>
|
|
436
429
|
`
|
|
@@ -484,6 +477,7 @@ export class Launcher extends LitElement {
|
|
|
484
477
|
.onCloseClicked=${this.onClosePhoneWindow}
|
|
485
478
|
phoneNumber="${this.phoneNumber}"
|
|
486
479
|
.buildingId=${this.buildingId}
|
|
480
|
+
hasTextUsEnabled=${this.hasTextUsEnabled ? true : ""}
|
|
487
481
|
></call-us-window>
|
|
488
482
|
</div>
|
|
489
483
|
`
|