@meetelise/chat 1.20.32 → 1.20.33
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 +665 -583
- package/src/WebComponent/Launcher.ts +8 -6
- 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 +6 -5
- package/src/svgIcons.ts +4 -0
|
@@ -52,9 +52,12 @@ export class MEChat extends LitElement {
|
|
|
52
52
|
padding-left: 20px;
|
|
53
53
|
padding-right: 20px;
|
|
54
54
|
padding-bottom: 24px;
|
|
55
|
-
z-index:
|
|
55
|
+
z-index: 1000000000;
|
|
56
56
|
background: #353535;
|
|
57
57
|
border-radius: 10px 0px 0px 0px;
|
|
58
|
+
border-width: 1px 0px 0px 1px;
|
|
59
|
+
border-style: solid;
|
|
60
|
+
border-color: #ffffff;
|
|
58
61
|
}
|
|
59
62
|
.hideTab {
|
|
60
63
|
display: none;
|
|
@@ -427,7 +430,7 @@ export class MEChat extends LitElement {
|
|
|
427
430
|
.tourTypeOptions=${this.building?.tourTypeOptions ?? []}
|
|
428
431
|
.launcherStyles=${this.launcherStyles}
|
|
429
432
|
.autoOpenChatWidget=${this.building.autoOpenChatWidget ?? false}
|
|
430
|
-
chatCallUsHeader=${this.building?.chatCallUsHeader ?? "
|
|
433
|
+
chatCallUsHeader=${this.building?.chatCallUsHeader ?? ""}
|
|
431
434
|
phoneNumber="${this.building?.phoneNumber ?? ""}"
|
|
432
435
|
textColor="${this.theme.chatHeader.textColor}"
|
|
433
436
|
backgroundColor="${this.theme.chatPaneBackgroundColor}"
|
|
@@ -447,9 +450,7 @@ export class MEChat extends LitElement {
|
|
|
447
450
|
?hasEmailEnabled=${!this.building?.chatWidgets
|
|
448
451
|
? true
|
|
449
452
|
: this.building?.chatWidgets.includes("EMAIL")}
|
|
450
|
-
?hasTextUsEnabled=${!this.building?.chatWidgets
|
|
451
|
-
? true
|
|
452
|
-
: this.building?.chatWidgets.includes("SMS")}
|
|
453
|
+
?hasTextUsEnabled=${!this.building?.chatWidgets ? true : true}
|
|
453
454
|
?hasSSTEnabled=${!this.building?.chatWidgets
|
|
454
455
|
? true
|
|
455
456
|
: this.building?.chatWidgets.includes("SST")}
|
package/src/svgIcons.ts
CHANGED
|
@@ -60,3 +60,7 @@ export const OutlinedPhoneIcon = svg` <svg width="18" height="18" viewBox="0 0 1
|
|
|
60
60
|
export const OutlinedTextIcon = svg`<svg width="19" height="18" viewBox="0 0 19 18" fill="none" xmlns="http://www.w3.org/2000/svg" style="transform: translateX(2px);" >
|
|
61
61
|
<path d="M5.42513 8.09964C5.24713 8.09964 5.07313 8.15242 4.92514 8.25131C4.77714 8.3502 4.66179 8.49076 4.59367 8.6552C4.52556 8.81965 4.50773 9.0006 4.54246 9.17517C4.57719 9.34975 4.6629 9.51011 4.78876 9.63597C4.91462 9.76183 5.07498 9.84754 5.24955 9.88227C5.42413 9.91699 5.60508 9.89917 5.76953 9.83106C5.93397 9.76294 6.07453 9.64759 6.17342 9.49959C6.27231 9.35159 6.32509 9.1776 6.32509 8.9996C6.32509 8.76092 6.23027 8.53201 6.0615 8.36323C5.89272 8.19446 5.66381 8.09964 5.42513 8.09964ZM9.02497 8.09964C8.84697 8.09964 8.67297 8.15242 8.52498 8.25131C8.37698 8.3502 8.26163 8.49076 8.19351 8.6552C8.1254 8.81965 8.10758 9.0006 8.1423 9.17517C8.17703 9.34975 8.26274 9.51011 8.3886 9.63597C8.51446 9.76183 8.67482 9.84754 8.84939 9.88227C9.02397 9.91699 9.20492 9.89917 9.36937 9.83106C9.53382 9.76294 9.67437 9.64759 9.77326 9.49959C9.87215 9.35159 9.92493 9.1776 9.92493 8.9996C9.92493 8.76092 9.83011 8.53201 9.66134 8.36323C9.49256 8.19446 9.26365 8.09964 9.02497 8.09964ZM12.6248 8.09964C12.4468 8.09964 12.2728 8.15242 12.1248 8.25131C11.9768 8.3502 11.8615 8.49076 11.7934 8.6552C11.7252 8.81965 11.7074 9.0006 11.7421 9.17517C11.7769 9.34975 11.8626 9.51011 11.9884 9.63597C12.1143 9.76183 12.2747 9.84754 12.4492 9.88227C12.6238 9.91699 12.8048 9.89917 12.9692 9.83106C13.1337 9.76294 13.2742 9.64759 13.3731 9.49959C13.472 9.35159 13.5248 9.1776 13.5248 8.9996C13.5248 8.76092 13.43 8.53201 13.2612 8.36323C13.0924 8.19446 12.8635 8.09964 12.6248 8.09964ZM9.02497 0C7.84312 0 6.67285 0.232782 5.58097 0.685054C4.48909 1.13733 3.49698 1.80023 2.66129 2.63592C0.973536 4.32368 0.0253666 6.61276 0.0253666 8.9996C0.017499 11.0777 0.737048 13.0931 2.05928 14.6963L0.259356 16.4963C0.13448 16.6228 0.049887 16.7835 0.0162518 16.9581C-0.0173834 17.1327 0.00144614 17.3133 0.0703646 17.4772C0.145113 17.6392 0.26629 17.7752 0.418511 17.8682C0.570733 17.9611 0.747135 18.0067 0.925327 17.9992H9.02497C11.4118 17.9992 13.7009 17.051 15.3886 15.3633C17.0764 13.6755 18.0246 11.3864 18.0246 8.9996C18.0246 6.61276 17.0764 4.32368 15.3886 2.63592C13.7009 0.94817 11.4118 0 9.02497 0ZM9.02497 16.1993H3.09423L3.93119 15.3623C4.01623 15.279 4.08388 15.1796 4.13022 15.0699C4.17657 14.9602 4.20069 14.8424 4.20118 14.7233C4.1978 14.486 4.10076 14.2595 3.93119 14.0934C2.75277 12.9163 2.01894 11.367 1.85471 9.70948C1.69048 8.05199 2.10602 6.38882 3.03054 5.00335C3.95505 3.61787 5.33134 2.59581 6.92492 2.11128C8.51851 1.62676 10.2308 1.70975 11.77 2.34612C13.3093 2.98249 14.5803 4.13286 15.3665 5.60125C16.1527 7.06964 16.4054 8.7652 16.0817 10.399C15.7579 12.0329 14.8777 13.5039 13.591 14.5616C12.3042 15.6192 10.6906 16.198 9.02497 16.1993Z" fill="#1E1E1E" />
|
|
62
62
|
</svg>`;
|
|
63
|
+
|
|
64
|
+
export const SimplePhoneIcon = svg`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-telephone-fill" viewBox="0 0 16 16">
|
|
65
|
+
<path fill-rule="evenodd" d="M1.885.511a1.745 1.745 0 0 1 2.61.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511z"/>
|
|
66
|
+
</svg>`;
|