@meetelise/chat 1.20.49 → 1.20.50
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 +939 -374
- package/src/WebComponent/Launcher.ts +285 -234
- package/src/WebComponent/Scheduler/date-picker.ts +1 -1
- package/src/WebComponent/Scheduler/time-picker.ts +1 -1
- package/src/WebComponent/Scheduler/tour-scheduler.ts +2 -2
- package/src/WebComponent/Scheduler/tour-type-option.ts +1 -1
- package/src/WebComponent/actions/InputStyles.ts +13 -11
- package/src/WebComponent/actions/action-confirm-button.ts +7 -6
- package/src/WebComponent/actions/call-us-window.ts +53 -38
- package/src/WebComponent/actions/details-window.ts +28 -15
- package/src/WebComponent/actions/email-us-window.ts +8 -19
- package/src/WebComponent/actions/text-us-window.ts +35 -44
- package/src/WebComponent/launcherStyles.ts +422 -2
- package/src/WebComponent/me-chat.ts +36 -30
- package/src/WebComponent/me-select.ts +1 -2
- package/src/assetUrls.ts +2 -0
- package/src/fetchBuildingABTestType.ts +4 -0
- package/src/svgIcons.ts +99 -5
- package/src/themes.ts +18 -0
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import classnames from "classnames";
|
|
2
1
|
import { html, LitElement, TemplateResult } from "lit";
|
|
3
2
|
import { customElement, property, state } from "lit/decorators.js";
|
|
4
3
|
import { createRef, ref, Ref } from "lit/directives/ref.js";
|
|
5
|
-
import {
|
|
4
|
+
import { glowBackgroundMp4 } from "../assetUrls";
|
|
6
5
|
import { launcherStyles } from "./launcherStyles";
|
|
7
6
|
import { EmailUsWindow, installEmailUsWindow } from "./actions/email-us-window";
|
|
8
7
|
import { installTextUsWindow, TextUsWindow } from "./actions/text-us-window";
|
|
@@ -12,15 +11,21 @@ import { installCallUsWindow } from "./actions/call-us-window";
|
|
|
12
11
|
import { getRegisteredPhoneNumbers } from "../getRegisteredPhoneNumbers";
|
|
13
12
|
import { TourScheduler } from "./Scheduler/tour-scheduler";
|
|
14
13
|
import { LabeledOption, UnitV2 } from "../fetchBuildingInfo";
|
|
14
|
+
import { abTestTypes } from "../fetchBuildingABTestType";
|
|
15
15
|
import {
|
|
16
16
|
FilledChatIcon,
|
|
17
17
|
FilledEmailIcon,
|
|
18
18
|
FilledPhoneIcon,
|
|
19
19
|
FilledTourIcon,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
ChevronIcon,
|
|
21
|
+
ChevronIconBlack,
|
|
22
|
+
HeyThereEmoji,
|
|
23
|
+
EmailBlackStrokeIcon,
|
|
24
|
+
PhoneBlackStrokeIcon,
|
|
25
|
+
ChatWhiteStrokeIcon,
|
|
26
|
+
EmailWhiteStrokeIcon,
|
|
27
|
+
PhoneWhiteStrokeIcon,
|
|
28
|
+
ChatBlueBttnIcon,
|
|
24
29
|
} from "../svgIcons";
|
|
25
30
|
|
|
26
31
|
@customElement("meetelise-launcher")
|
|
@@ -77,7 +82,7 @@ export class Launcher extends LitElement {
|
|
|
77
82
|
@property({ type: Boolean })
|
|
78
83
|
hasSSTEnabled = false;
|
|
79
84
|
@property({ type: Boolean })
|
|
80
|
-
hasTextUsEnabled =
|
|
85
|
+
hasTextUsEnabled = true;
|
|
81
86
|
@property({ attribute: false })
|
|
82
87
|
layoutOptions: string[] = [];
|
|
83
88
|
@property({ attribute: false })
|
|
@@ -299,256 +304,302 @@ export class Launcher extends LitElement {
|
|
|
299
304
|
};
|
|
300
305
|
|
|
301
306
|
renderActionPills = (): TemplateResult => {
|
|
302
|
-
if (this.
|
|
303
|
-
return html
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
307
|
+
if (this.isMobile) {
|
|
308
|
+
return html`<div class="typeMobile-list">
|
|
309
|
+
<ul>
|
|
310
|
+
<li @click=${this.onChatTapped} class="typeMobile-bttn">
|
|
311
|
+
<div class="typeMobile-inner">
|
|
312
|
+
<div class="typeMobile-icon">${ChatWhiteStrokeIcon}</div>
|
|
313
|
+
</div>
|
|
314
|
+
</li>
|
|
315
|
+
<li @click=${this.onClickEmailOption} class="typeMobile-bttn">
|
|
316
|
+
<div class="typeMobile-inner">
|
|
317
|
+
<div class="typeMobile-icon">${EmailWhiteStrokeIcon}</div>
|
|
318
|
+
</div>
|
|
319
|
+
</li>
|
|
320
|
+
<li @click=${this.onClickPhoneOption} class="typeMobile-bttn">
|
|
321
|
+
<div class="typeMobile-inner">
|
|
322
|
+
<div class="typeMobile-icon">${PhoneWhiteStrokeIcon}</div>
|
|
323
|
+
</div>
|
|
324
|
+
</li>
|
|
325
|
+
</ul>
|
|
326
|
+
</div>`;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
if (this.buildingABTestType === abTestTypes.ConceptBlueBlack) {
|
|
330
|
+
return html`<div class="type-gradient__list">
|
|
331
|
+
${this.hasChatEnabled
|
|
332
|
+
? html`
|
|
333
|
+
<div
|
|
334
|
+
class="type-gradient__top-container"
|
|
335
|
+
@click=${this.onChatTapped}
|
|
336
|
+
>
|
|
337
|
+
<video class="glowBackground" autoplay loop muted playsinline>
|
|
338
|
+
<source src="${glowBackgroundMp4}" type="video/mp4" />
|
|
339
|
+
</video>
|
|
340
|
+
<div class="type-gradient__scroll-info">
|
|
341
|
+
${ChatWhiteStrokeIcon}
|
|
342
|
+
<div class="type-gradient__chat-container">
|
|
343
|
+
<div class="type-gradient__chat-header">
|
|
344
|
+
<span class="title-bold">Chat</span> with us
|
|
345
|
+
</div>
|
|
346
|
+
${ChevronIcon}
|
|
347
|
+
</div>
|
|
348
|
+
<ul class="type-gradient__description">
|
|
349
|
+
<li>our apartments</li>
|
|
350
|
+
<li>unit availability</li>
|
|
351
|
+
<li>tour bookings</li>
|
|
352
|
+
<li>our amenities</li>
|
|
353
|
+
<li>neighborhood</li>
|
|
354
|
+
</ul>
|
|
321
355
|
</div>
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
)
|
|
356
|
+
</div>
|
|
357
|
+
`
|
|
325
358
|
: ""}
|
|
326
|
-
${this.
|
|
327
|
-
? this.
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
)
|
|
359
|
+
${this.hasEmailEnabled
|
|
360
|
+
? html` <div class="type-gradient__email type-gradient__bottom-tab" @click=${this.onClickEmailOption}>
|
|
361
|
+
<div class="type-gradient__icon">${EmailWhiteStrokeIcon}</div>
|
|
362
|
+
<div class="type-gradient__inner-txt">
|
|
363
|
+
<span class="title-bold">Email</span> an agent
|
|
364
|
+
</div>
|
|
365
|
+
<div class="type-gradient__icon">${ChevronIcon}</div>
|
|
366
|
+
</div>
|
|
367
|
+
</div>`
|
|
336
368
|
: ""}
|
|
337
|
-
${this.phoneNumber &&
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
369
|
+
${this.phoneNumber && this.hasCallUsEnabled
|
|
370
|
+
? html`
|
|
371
|
+
<div class="type-gradient__contact type-gradient__bottom-tab" @click=${
|
|
372
|
+
this.onClickPhoneOption
|
|
373
|
+
}>
|
|
374
|
+
<div class="type-gradient__icon">${PhoneWhiteStrokeIcon}</div>
|
|
375
|
+
<div class="type-gradient__inner-txt">
|
|
376
|
+
<span class="title-bold">Call</span>
|
|
377
|
+
${
|
|
378
|
+
this.hasTextUsEnabled
|
|
379
|
+
? html`or <span class="title-bold">text</span> us`
|
|
380
|
+
: "us"
|
|
381
|
+
}
|
|
348
382
|
</div>
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
383
|
+
<div class="type-gradient__icon">${ChevronIcon}</div>
|
|
384
|
+
</div>
|
|
385
|
+
</div>
|
|
386
|
+
`
|
|
352
387
|
: ""}
|
|
353
388
|
</div>`;
|
|
354
389
|
}
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
390
|
+
|
|
391
|
+
if (this.buildingABTestType === abTestTypes.ConceptBlueWhite) {
|
|
392
|
+
return html`
|
|
393
|
+
<div class="type-hey__list">
|
|
394
|
+
<div class="type-hey__top-section">
|
|
395
|
+
<div class="type-hey__ai-topic">
|
|
396
|
+
<p>AI Assistant</p>
|
|
397
|
+
<div class="type-hey__ai-topic-notch"></div>
|
|
398
|
+
</div>
|
|
399
|
+
<div class="type-hey__greeting">
|
|
400
|
+
<h1>Hey there!</h1>
|
|
401
|
+
<div>${HeyThereEmoji}</div>
|
|
402
|
+
</div>
|
|
403
|
+
${
|
|
404
|
+
this.hasChatEnabled
|
|
405
|
+
? html`
|
|
406
|
+
<div class="type-hey__ask-prompt" @click=${this.onChatTapped}>
|
|
407
|
+
<div class="type-hey__ask-prompt-inner">
|
|
408
|
+
<div class="type-hey__ask-start">
|
|
409
|
+
<h2>Ask me about</h2>
|
|
410
|
+
<div class="scroll-container">
|
|
411
|
+
<ul>
|
|
412
|
+
<li>booking a tour</li>
|
|
413
|
+
<li>our pet policy</li>
|
|
414
|
+
<li>our amenities</li>
|
|
415
|
+
<li>our availability</li>
|
|
416
|
+
</ul>
|
|
417
|
+
</div>
|
|
418
|
+
</div>
|
|
419
|
+
<div>${ChevronIcon}</div>
|
|
420
|
+
</div>
|
|
421
|
+
</div>
|
|
422
|
+
</div>
|
|
423
|
+
`
|
|
424
|
+
: ""
|
|
425
|
+
}
|
|
426
|
+
</div>
|
|
427
|
+
|
|
428
|
+
<div class="type-hey__bottom-section">
|
|
429
|
+
${
|
|
430
|
+
this.hasEmailEnabled
|
|
431
|
+
? html` <div class="type-hey__email" @click=${this.onClickEmailOption}>
|
|
432
|
+
<div class="type-hey__icon">${EmailBlackStrokeIcon}</div>
|
|
433
|
+
<div>
|
|
434
|
+
<span class="title-bold">Email</span> an agent
|
|
435
|
+
</div>
|
|
436
|
+
<div class="type-gradient__icon">${ChevronIconBlack}</div>
|
|
437
|
+
</div>
|
|
438
|
+
</div>`
|
|
439
|
+
: ""
|
|
440
|
+
}
|
|
441
|
+
${
|
|
442
|
+
this.phoneNumber && this.hasCallUsEnabled
|
|
443
|
+
? html`
|
|
444
|
+
<div class="type-hey__contact" @click=${this.onClickPhoneOption}>
|
|
445
|
+
<div class="type-hey__icon">${PhoneBlackStrokeIcon}</div>
|
|
446
|
+
<div>
|
|
447
|
+
<span class="title-bold">Call</span>
|
|
448
|
+
${
|
|
449
|
+
this.hasTextUsEnabled
|
|
450
|
+
? html`or <span class="title-bold">text</span> us`
|
|
451
|
+
: "us"
|
|
452
|
+
}
|
|
453
|
+
</div>
|
|
454
|
+
<div class="type-gradient__icon">${ChevronIconBlack}</div>
|
|
455
|
+
</div>
|
|
456
|
+
</div>
|
|
457
|
+
`
|
|
458
|
+
: ""
|
|
459
|
+
}
|
|
460
|
+
<div class="type-hey__bottom-info">
|
|
461
|
+
Online <span class="heavy-blue">24 hours</span> a day, <span class="heavy-blue">7</span> days a week</div>
|
|
462
|
+
</div>
|
|
463
|
+
</div>
|
|
464
|
+
<div class="type-hey__chat-container" @click=${
|
|
465
|
+
this.onChatTapped
|
|
466
|
+
}>${ChatBlueBttnIcon}</div>
|
|
467
|
+
</div>
|
|
468
|
+
`;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
return html` <div class="vertical-pill-list">
|
|
472
|
+
${this.hasEmailEnabled
|
|
473
|
+
? this.renderPillVertical(
|
|
474
|
+
html`
|
|
475
|
+
<div class="vertical-pill-icon">${FilledEmailIcon}</div>
|
|
476
|
+
<div class="vertical-pill-title">
|
|
477
|
+
<span class="vertical-pill-bold">Email</span> an agent
|
|
478
|
+
</div>
|
|
479
|
+
`,
|
|
480
|
+
this.onClickEmailOption
|
|
364
481
|
)
|
|
365
482
|
: ""}
|
|
366
|
-
${this.
|
|
367
|
-
? this.
|
|
483
|
+
${this.hasChatEnabled
|
|
484
|
+
? this.renderPillVertical(
|
|
485
|
+
html`
|
|
486
|
+
<div class="vertical-pill-icon">${FilledChatIcon}</div>
|
|
487
|
+
<div class="vertical-pill-title">
|
|
488
|
+
<span class="vertical-pill-bold">Chat</span> with us
|
|
489
|
+
</div>
|
|
490
|
+
`,
|
|
491
|
+
this.onChatTapped
|
|
492
|
+
)
|
|
368
493
|
: ""}
|
|
369
|
-
${this.
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
494
|
+
${this.hasSSTEnabled
|
|
495
|
+
? this.renderPillVertical(
|
|
496
|
+
html`
|
|
497
|
+
<div class="vertical-pill-icon">${FilledTourIcon}</div>
|
|
498
|
+
<div class="vertical-pill-title">
|
|
499
|
+
<span class="vertical-pill-bold">Book</span> a tour
|
|
500
|
+
</div>
|
|
501
|
+
`,
|
|
502
|
+
this.onClickSSTOption
|
|
376
503
|
)
|
|
377
504
|
: ""}
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
${this.isEmailWindowOpen
|
|
388
|
-
? html`<div class="launcher__window-wrapper">
|
|
389
|
-
<email-us-window
|
|
390
|
-
chatId="${this.chatId}"
|
|
391
|
-
.leadSources="${this.leadSources}"
|
|
392
|
-
currentLeadSource="${this.currentLeadSource}"
|
|
393
|
-
orgSlug="${this.orgSlug}"
|
|
394
|
-
buildingSlug="${this.buildingSlug}"
|
|
395
|
-
${ref(this.emailUsWindowRef)}
|
|
396
|
-
.buildingId=${this.buildingId}
|
|
397
|
-
>
|
|
398
|
-
</email-us-window>
|
|
399
|
-
</div>`
|
|
400
|
-
: ""}
|
|
401
|
-
${this.isTextUsWindowOpen
|
|
402
|
-
? html`<div class="launcher__window-wrapper">
|
|
403
|
-
<text-us-window
|
|
404
|
-
orgSlug="${this.orgSlug}"
|
|
405
|
-
buildingSlug="${this.buildingSlug}"
|
|
406
|
-
${ref(this.textUsWindowRef)}
|
|
407
|
-
.buildingId=${this.buildingId}
|
|
408
|
-
currentLeadSource="${this.currentLeadSource}"
|
|
409
|
-
></text-us-window>
|
|
410
|
-
</div>`
|
|
411
|
-
: ""}
|
|
412
|
-
${this.isSSTWindowOpen
|
|
413
|
-
? html`<div class="launcher__window-wrapper">
|
|
414
|
-
<tour-scheduler
|
|
415
|
-
chatId="${this.chatId}"
|
|
416
|
-
orgSlug="${this.orgSlug}"
|
|
417
|
-
buildingSlug="${this.buildingSlug}"
|
|
418
|
-
sgtUrl="${this.sgtUrl}"
|
|
419
|
-
escortedToursLink="${this.escortedToursLink}"
|
|
420
|
-
virtualToursLink="${this.virtualToursLink}"
|
|
421
|
-
currentLeadSource="${this.currentLeadSource}"
|
|
422
|
-
.leadSources="${this.leadSources}"
|
|
423
|
-
.layoutOptions=${this.layoutOptions}
|
|
424
|
-
.unitOptions=${this.unitOptions}
|
|
425
|
-
.tourTypeOptions=${this.tourTypeOptions}
|
|
426
|
-
buildingId=${this.buildingId}
|
|
427
|
-
${ref(this.tourSchedulerRef)}
|
|
428
|
-
></tour-scheduler>
|
|
429
|
-
</div>`
|
|
430
|
-
: ""}
|
|
431
|
-
${this.isCallUsWindowOpen
|
|
432
|
-
? html`
|
|
433
|
-
<div class="launcher__window-wrapper">
|
|
434
|
-
<call-us-window
|
|
435
|
-
.onCloseClicked=${this.onClosePhoneWindow}
|
|
436
|
-
phoneNumber="${this.phoneNumber}"
|
|
437
|
-
.buildingId=${this.buildingId}
|
|
438
|
-
chatCallUsHeader="${this.chatCallUsHeader}"
|
|
439
|
-
hasTextUsEnabled=${this.hasTextUsEnabled ? true : ""}
|
|
440
|
-
currentLeadSource="${this.currentLeadSource}"
|
|
441
|
-
></call-us-window>
|
|
505
|
+
${this.phoneNumber && this.hasCallUsEnabled
|
|
506
|
+
? this.renderPillVertical(
|
|
507
|
+
html`
|
|
508
|
+
<div class="vertical-pill-icon">${FilledPhoneIcon}</div>
|
|
509
|
+
<div class="vertical-pill-title">
|
|
510
|
+
<span class="vertical-pill-bold">Call</span>
|
|
511
|
+
${this.hasTextUsEnabled
|
|
512
|
+
? html`or <span class="vertical-pill-bold">text</span> us`
|
|
513
|
+
: "us"}
|
|
442
514
|
</div>
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
515
|
+
`,
|
|
516
|
+
this.onClickPhoneOption
|
|
517
|
+
)
|
|
518
|
+
: ""}
|
|
519
|
+
</div>`;
|
|
448
520
|
};
|
|
449
521
|
|
|
450
522
|
render(): TemplateResult {
|
|
451
523
|
installEmailUsWindow();
|
|
452
524
|
installTextUsWindow();
|
|
453
525
|
installCallUsWindow();
|
|
454
|
-
if (this.isMini || this.buildingABTestType === "close") {
|
|
455
|
-
return this.renderMiniLauncher();
|
|
456
|
-
}
|
|
457
526
|
|
|
458
527
|
return html`
|
|
459
|
-
<div
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
${this.isSSTWindowOpen
|
|
478
|
-
? html`<div class="launcher__window-wrapper">
|
|
479
|
-
<tour-scheduler
|
|
480
|
-
.layoutOptions=${this.layoutOptions}
|
|
481
|
-
.tourTypeOptions=${this.tourTypeOptions}
|
|
482
|
-
buildingId=${this.buildingId}
|
|
483
|
-
${ref(this.tourSchedulerRef)}
|
|
484
|
-
></tour-scheduler>
|
|
485
|
-
</div>`
|
|
486
|
-
: ""}
|
|
487
|
-
${this.isCallUsWindowOpen && this.phoneNumber
|
|
488
|
-
? html`
|
|
489
|
-
<div class="launcher__window-wrapper">
|
|
490
|
-
<call-us-window
|
|
491
|
-
.onCloseClicked=${this.onClosePhoneWindow}
|
|
492
|
-
phoneNumber="${this.phoneNumber}"
|
|
528
|
+
<div"
|
|
529
|
+
class=${
|
|
530
|
+
this.isMobile
|
|
531
|
+
? "launcher__mobile-launcher-wrapper"
|
|
532
|
+
: "launcher__mini-launcher-wrapper"
|
|
533
|
+
}
|
|
534
|
+
style=${styleMap(this.launcherStyles)}
|
|
535
|
+
>
|
|
536
|
+
${
|
|
537
|
+
this.isEmailWindowOpen
|
|
538
|
+
? html`<div class="launcher__window-wrapper">
|
|
539
|
+
<email-us-window
|
|
540
|
+
chatId="${this.chatId}"
|
|
541
|
+
.leadSources="${this.leadSources}"
|
|
542
|
+
currentLeadSource="${this.currentLeadSource}"
|
|
543
|
+
orgSlug="${this.orgSlug}"
|
|
544
|
+
buildingSlug="${this.buildingSlug}"
|
|
545
|
+
${ref(this.emailUsWindowRef)}
|
|
493
546
|
.buildingId=${this.buildingId}
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
</div
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
${
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
"
|
|
505
|
-
this.
|
|
506
|
-
{
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
?
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
</div>
|
|
546
|
-
`
|
|
547
|
-
: this.renderCallToActions()}
|
|
547
|
+
>
|
|
548
|
+
</email-us-window>
|
|
549
|
+
</div>`
|
|
550
|
+
: ""
|
|
551
|
+
}
|
|
552
|
+
${
|
|
553
|
+
this.isTextUsWindowOpen
|
|
554
|
+
? html`<div class="launcher__window-wrapper">
|
|
555
|
+
<text-us-window
|
|
556
|
+
orgSlug="${this.orgSlug}"
|
|
557
|
+
buildingSlug="${this.buildingSlug}"
|
|
558
|
+
${ref(this.textUsWindowRef)}
|
|
559
|
+
.buildingId=${this.buildingId}
|
|
560
|
+
currentLeadSource="${this.currentLeadSource}"
|
|
561
|
+
></text-us-window>
|
|
562
|
+
</div>`
|
|
563
|
+
: ""
|
|
564
|
+
}
|
|
565
|
+
${
|
|
566
|
+
this.isSSTWindowOpen
|
|
567
|
+
? html`<div class="launcher__window-wrapper">
|
|
568
|
+
<tour-scheduler
|
|
569
|
+
chatId="${this.chatId}"
|
|
570
|
+
orgSlug="${this.orgSlug}"
|
|
571
|
+
buildingSlug="${this.buildingSlug}"
|
|
572
|
+
sgtUrl="${this.sgtUrl}"
|
|
573
|
+
escortedToursLink="${this.escortedToursLink}"
|
|
574
|
+
virtualToursLink="${this.virtualToursLink}"
|
|
575
|
+
currentLeadSource="${this.currentLeadSource}"
|
|
576
|
+
.leadSources="${this.leadSources}"
|
|
577
|
+
.layoutOptions=${this.layoutOptions}
|
|
578
|
+
.unitOptions=${this.unitOptions}
|
|
579
|
+
.tourTypeOptions=${this.tourTypeOptions}
|
|
580
|
+
buildingId=${this.buildingId}
|
|
581
|
+
${ref(this.tourSchedulerRef)}
|
|
582
|
+
></tour-scheduler>
|
|
583
|
+
</div>`
|
|
584
|
+
: ""
|
|
585
|
+
}
|
|
586
|
+
${
|
|
587
|
+
this.isCallUsWindowOpen
|
|
588
|
+
? html`
|
|
589
|
+
<div class="launcher__window-wrapper">
|
|
590
|
+
<call-us-window
|
|
591
|
+
.onCloseClicked=${this.onClosePhoneWindow}
|
|
592
|
+
phoneNumber="${this.phoneNumber}"
|
|
593
|
+
.buildingId=${this.buildingId}
|
|
594
|
+
chatCallUsHeader="${this.chatCallUsHeader}"
|
|
595
|
+
hasTextUsEnabled=${this.hasTextUsEnabled ? true : ""}
|
|
596
|
+
currentLeadSource="${this.currentLeadSource}"
|
|
597
|
+
></call-us-window>
|
|
548
598
|
</div>
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
599
|
+
`
|
|
600
|
+
: ""
|
|
601
|
+
}
|
|
602
|
+
${!this.isCallToActionWindowOpen() ? this.renderActionPills() : ""}
|
|
552
603
|
</div>
|
|
553
604
|
`;
|
|
554
605
|
}
|
|
@@ -419,7 +419,7 @@ export class TourScheduler extends LitElement {
|
|
|
419
419
|
background: #ffffff;
|
|
420
420
|
box-shadow: 0px 16px 18px 10px rgba(21, 21, 21, 0.4);
|
|
421
421
|
border-radius: 10px;
|
|
422
|
-
font-family: "
|
|
422
|
+
font-family: "Helvetica Neue";
|
|
423
423
|
color: #202020;
|
|
424
424
|
padding: 0 25px 0 27px;
|
|
425
425
|
|
|
@@ -723,7 +723,7 @@ export class TourScheduler extends LitElement {
|
|
|
723
723
|
background: #202020;
|
|
724
724
|
border: 1px solid #ffffff;
|
|
725
725
|
border-radius: 10px;
|
|
726
|
-
font-family: "
|
|
726
|
+
font-family: "Helvetica Neue";
|
|
727
727
|
font-weight: 700;
|
|
728
728
|
font-size: 14px;
|
|
729
729
|
color: #ffffff;
|