@meetelise/chat 1.43.6 → 1.43.7

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.
@@ -1,11 +1,12 @@
1
1
  import { TemplateResult } from "lit";
2
2
  export declare const CURRENT_CONSENT_ID = "currentConsentId";
3
- declare const formDisclaimer: ({ phoneNumberInput, emailInput, orgLegalName, orgSlug, }: {
3
+ declare const formDisclaimer: ({ phoneNumberInput, emailInput, orgLegalName, orgSlug, clickingButtonText, }: {
4
4
  buildingName: string;
5
5
  phoneNumberInput?: string | undefined;
6
6
  emailInput?: string | undefined;
7
7
  orgLegalName: string;
8
8
  orgSlug: string;
9
+ clickingButtonText?: string | undefined;
9
10
  }) => TemplateResult;
10
11
  export declare const getConsentPreChatDisclaimer: (orgSlug: string | null, privacyPolicyUrl: string, consentKey: string, changeConsent: (hasConsent: boolean) => void) => TemplateResult;
11
12
  export declare const inChatThreadDisclaimer: ({ orgSlug, buildingState, type, }: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meetelise/chat",
3
- "version": "1.43.6",
3
+ "version": "1.43.7",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/MeetElise/chat-ui#readme",
@@ -716,14 +716,15 @@ var e={2:(e,t,n)=>{var i=n(2199),r=n(4664),o=n(5950);e.exports=function(e){retur
716
716
  conversation recorded and used by a third party.
717
717
  </p>
718
718
  </li>
719
- `:B``,ci=({phoneNumberInput:e,emailInput:t,orgLegalName:n,orgSlug:i})=>e&&"greystar"===i?B`<div style=${Ue(oi)}>
720
- By providing your phone number and clicking send, you consent to receive
721
- recurring marketing calls and voice and text messages from Greystar or on
722
- its behalf at this number using artificial voice and/or an autodialer.
723
- Messages may be AI or human-generated. Your phone number and
724
- communications are shared with and recorded and used by EliseAI. You are
725
- not required to provide your phone number or consent to these terms to
726
- lease at this property. Msg & Data rates may apply. You consent to
719
+ `:B``,ci=({phoneNumberInput:e,emailInput:t,orgLegalName:n,orgSlug:i,clickingButtonText:r="send"})=>e&&"greystar"===i?B`<div style=${Ue(oi)}>
720
+ By providing your phone number and clicking ${r}, you
721
+ consent to receive recurring marketing calls and voice and text messages
722
+ from Greystar or on its behalf at this number using artificial voice
723
+ and/or an autodialer. Messages may be AI or human-generated. Your phone
724
+ number and communications are shared with and recorded and used by
725
+ EliseAI. You are not required to provide your phone number or consent to
726
+ these terms to lease at this property. Msg & Data rates may apply. You
727
+ consent to
727
728
  <a
728
729
  style=${Ue(ai)}
729
730
  href="https://www.greystar.com/privacy"
@@ -740,11 +741,11 @@ var e={2:(e,t,n)=>{var i=n(2199),r=n(4664),o=n(5950);e.exports=function(e){retur
740
741
  >EliseAI’s Privacy Policy</a
741
742
  >.
742
743
  </div>`:e?B` <div style=${Ue(oi)}>
743
- By providing your number and clicking send, you consent to receive
744
- recurring marketing calls and voice and text messages from or on behalf of
745
- ${n} at this number using artificial voice or an autodialer
746
- system. Messages may be AI or human generated. This consent is not
747
- required to lease at this property. Msg & Data rates may apply. You
744
+ By providing your number and clicking ${r}, you consent
745
+ to receive recurring marketing calls and voice and text messages from or
746
+ on behalf of ${n} at this number using artificial voice or an
747
+ autodialer system. Messages may be AI or human generated. This consent is
748
+ not required to lease at this property. Msg & Data rates may apply. You
748
749
  consent to this
749
750
  <a
750
751
  style=${Ue(ai)}
@@ -755,7 +756,8 @@ var e={2:(e,t,n)=>{var i=n(2199),r=n(4664),o=n(5950);e.exports=function(e){retur
755
756
  >, including having your number and communications recorded and used by a
756
757
  third party.
757
758
  </div>`:t?B` <div style=${Ue(oi)}>
758
- By entering your email and clicking submit, you consent to this
759
+ By entering your email and clicking ${r}, you consent to
760
+ this
759
761
  <a
760
762
  style=${Ue(ai)}
761
763
  href="http://bit.ly/me_privacy_policy"
@@ -1559,7 +1561,7 @@ xmlns="http://www.w3.org/2000/svg"
1559
1561
  ${e.nextButtonText}
1560
1562
  </button>`}`}
1561
1563
  ${this.mobilePageIndex+1===this.mobilePages.length?B`
1562
- ${ci({buildingName:this.buildingName,phoneNumberInput:null===(r=this.phoneInput)||void 0===r?void 0:r.value,emailInput:null===(o=this.emailInput)||void 0===o?void 0:o.value,orgLegalName:this.orgLegalName,orgSlug:this.orgSlug})}
1564
+ ${ci({buildingName:this.buildingName,phoneNumberInput:null===(r=this.phoneInput)||void 0===r?void 0:r.value,emailInput:null===(o=this.emailInput)||void 0===o?void 0:o.value,orgLegalName:this.orgLegalName,orgSlug:this.orgSlug,clickingButtonText:"schedule tour"})}
1563
1565
  `:B``}
1564
1566
  </div>
1565
1567
  </div>
@@ -1592,7 +1594,7 @@ xmlns="http://www.w3.org/2000/svg"
1592
1594
  We'll send a confirmation and any follow-ups to your email
1593
1595
  address, please reply to the email to make any appointment
1594
1596
  changes.
1595
- ${ci({buildingName:this.buildingName,phoneNumberInput:null===(e=this.phoneInput)||void 0===e?void 0:e.value,emailInput:null===(t=this.emailInput)||void 0===t?void 0:t.value,orgLegalName:this.orgLegalName,orgSlug:this.orgSlug})}
1597
+ ${ci({buildingName:this.buildingName,phoneNumberInput:null===(e=this.phoneInput)||void 0===e?void 0:e.value,emailInput:null===(t=this.emailInput)||void 0===t?void 0:t.value,orgLegalName:this.orgLegalName,orgSlug:this.orgSlug,clickingButtonText:"schedule tour"})}
1596
1598
  </p>
1597
1599
 
1598
1600
  <div class="reschedule-buttons-wrapper">
@@ -1636,7 +1638,7 @@ xmlns="http://www.w3.org/2000/svg"
1636
1638
  We'll send a confirmation and any follow-ups to your email
1637
1639
  address, please reply to the email to make any appointment
1638
1640
  changes.
1639
- ${ci({buildingName:this.buildingName,phoneNumberInput:null===(n=this.phoneInput)||void 0===n?void 0:n.value,emailInput:null===(i=this.emailInput)||void 0===i?void 0:i.value,orgLegalName:this.orgLegalName,orgSlug:this.orgSlug})}
1641
+ ${ci({buildingName:this.buildingName,phoneNumberInput:null===(n=this.phoneInput)||void 0===n?void 0:n.value,emailInput:null===(i=this.emailInput)||void 0===i?void 0:i.value,orgLegalName:this.orgLegalName,orgSlug:this.orgSlug,clickingButtonText:"schedule tour"})}
1640
1642
  </p>
1641
1643
 
1642
1644
  <action-confirm-button
@@ -2669,7 +2671,7 @@ xmlns="http://www.w3.org/2000/svg"
2669
2671
  `:""}
2670
2672
  </div>
2671
2673
 
2672
- ${ci({buildingName:this.buildingName,phoneNumberInput:this.phoneNumber,emailInput:this.email,orgLegalName:this.orgLegalName,orgSlug:this.orgSlug})}
2674
+ ${ci({buildingName:this.buildingName,phoneNumberInput:this.phoneNumber,emailInput:this.email,orgLegalName:this.orgLegalName,orgSlug:this.orgSlug,clickingButtonText:"send"})}
2673
2675
  </details-window>
2674
2676
  `)}};kr.styles=[u`
2675
2677
  .email-us__name-input,
@@ -1405,6 +1405,7 @@ export class TourScheduler extends LitElement {
1405
1405
  emailInput: this.emailInput?.value,
1406
1406
  orgLegalName: this.orgLegalName,
1407
1407
  orgSlug: this.orgSlug,
1408
+ clickingButtonText: "schedule tour",
1408
1409
  })}
1409
1410
  </p>
1410
1411
 
@@ -1458,6 +1459,7 @@ export class TourScheduler extends LitElement {
1458
1459
  emailInput: this.emailInput?.value,
1459
1460
  orgLegalName: this.orgLegalName,
1460
1461
  orgSlug: this.orgSlug,
1462
+ clickingButtonText: "schedule tour",
1461
1463
  })}
1462
1464
  </p>
1463
1465
 
@@ -1566,6 +1568,7 @@ export class TourScheduler extends LitElement {
1566
1568
  emailInput: this.emailInput?.value,
1567
1569
  orgLegalName: this.orgLegalName,
1568
1570
  orgSlug: this.orgSlug,
1571
+ clickingButtonText: "schedule tour",
1569
1572
  })}
1570
1573
  `
1571
1574
  : html``}
@@ -504,6 +504,7 @@ export class EmailUsWindow extends LitElement {
504
504
  emailInput: this.email,
505
505
  orgLegalName: this.orgLegalName,
506
506
  orgSlug: this.orgSlug,
507
+ clickingButtonText: "send",
507
508
  })}
508
509
  </details-window>
509
510
  `;
@@ -20,22 +20,25 @@ const formDisclaimer = ({
20
20
  emailInput,
21
21
  orgLegalName,
22
22
  orgSlug,
23
+ clickingButtonText = "send",
23
24
  }: {
24
25
  buildingName: string;
25
26
  phoneNumberInput?: string;
26
27
  emailInput?: string;
27
28
  orgLegalName: string;
28
29
  orgSlug: string;
30
+ clickingButtonText?: string;
29
31
  }): TemplateResult => {
30
32
  if (phoneNumberInput && orgSlug === "greystar") {
31
33
  return html`<div style=${styleMap(disclaimerStyles.container)}>
32
- By providing your phone number and clicking send, you consent to receive
33
- recurring marketing calls and voice and text messages from Greystar or on
34
- its behalf at this number using artificial voice and/or an autodialer.
35
- Messages may be AI or human-generated. Your phone number and
36
- communications are shared with and recorded and used by EliseAI. You are
37
- not required to provide your phone number or consent to these terms to
38
- lease at this property. Msg & Data rates may apply. You consent to
34
+ By providing your phone number and clicking ${clickingButtonText}, you
35
+ consent to receive recurring marketing calls and voice and text messages
36
+ from Greystar or on its behalf at this number using artificial voice
37
+ and/or an autodialer. Messages may be AI or human-generated. Your phone
38
+ number and communications are shared with and recorded and used by
39
+ EliseAI. You are not required to provide your phone number or consent to
40
+ these terms to lease at this property. Msg & Data rates may apply. You
41
+ consent to
39
42
  <a
40
43
  style=${styleMap(disclaimerStyles.link)}
41
44
  href="https://www.greystar.com/privacy"
@@ -55,11 +58,11 @@ const formDisclaimer = ({
55
58
  }
56
59
  if (phoneNumberInput) {
57
60
  return html` <div style=${styleMap(disclaimerStyles.container)}>
58
- By providing your number and clicking send, you consent to receive
59
- recurring marketing calls and voice and text messages from or on behalf of
60
- ${orgLegalName} at this number using artificial voice or an autodialer
61
- system. Messages may be AI or human generated. This consent is not
62
- required to lease at this property. Msg & Data rates may apply. You
61
+ By providing your number and clicking ${clickingButtonText}, you consent
62
+ to receive recurring marketing calls and voice and text messages from or
63
+ on behalf of ${orgLegalName} at this number using artificial voice or an
64
+ autodialer system. Messages may be AI or human generated. This consent is
65
+ not required to lease at this property. Msg & Data rates may apply. You
63
66
  consent to this
64
67
  <a
65
68
  style=${styleMap(disclaimerStyles.link)}
@@ -73,7 +76,8 @@ const formDisclaimer = ({
73
76
  }
74
77
  if (emailInput) {
75
78
  return html` <div style=${styleMap(disclaimerStyles.container)}>
76
- By entering your email and clicking submit, you consent to this
79
+ By entering your email and clicking ${clickingButtonText}, you consent to
80
+ this
77
81
  <a
78
82
  style=${styleMap(disclaimerStyles.link)}
79
83
  href="http://bit.ly/me_privacy_policy"