@meetelise/chat 1.25.0 → 1.25.2

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.
Files changed (136) hide show
  1. package/coverage/lcov-report/base.css +224 -0
  2. package/coverage/lcov-report/block-navigation.js +79 -0
  3. package/coverage/lcov-report/favicon.png +0 -0
  4. package/coverage/lcov-report/index.html +111 -0
  5. package/coverage/lcov-report/index.js.html +17093 -0
  6. package/coverage/lcov-report/prettify.css +1 -0
  7. package/coverage/lcov-report/prettify.js +2 -0
  8. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  9. package/coverage/lcov-report/sorter.js +170 -0
  10. package/coverage/lcov.info +9986 -0
  11. package/dist/index.d.ts +1 -0
  12. package/package.json +1 -1
  13. package/.eslintignore +0 -2
  14. package/.eslintrc.cjs +0 -23
  15. package/.github/pull_request_template.md +0 -61
  16. package/.github/workflows/pull.yml +0 -46
  17. package/.github/workflows/release.yml +0 -23
  18. package/.husky/commit-msg +0 -2
  19. package/.husky/pre-commit +0 -4
  20. package/.idea/codeStyles/Project.xml +0 -57
  21. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  22. package/.idea/inspectionProfiles/Project_Default.xml +0 -6
  23. package/.idea/vcs.xml +0 -6
  24. package/.idea/workspace.xml +0 -67
  25. package/.prettierignore +0 -2
  26. package/.prettierrc.json +0 -1
  27. package/.vscode/settings.json +0 -13
  28. package/CONTRIBUTING.md +0 -36
  29. package/public/demo/index.html +0 -347
  30. package/public/demo/secret.html +0 -63
  31. package/src/MyPubnub.ts +0 -792
  32. package/src/WebComponent/FeeCalculator/components/collapsible-fee-section/collapsible-fee-section-styles.ts +0 -86
  33. package/src/WebComponent/FeeCalculator/components/collapsible-fee-section/collapsible-fee-section.ts +0 -94
  34. package/src/WebComponent/FeeCalculator/components/fee-item/fee-item-styles.ts +0 -47
  35. package/src/WebComponent/FeeCalculator/components/fee-item/fee-item.ts +0 -50
  36. package/src/WebComponent/FeeCalculator/components/floor-plan-selector/floor-plan-selector-styles.ts +0 -46
  37. package/src/WebComponent/FeeCalculator/components/floor-plan-selector/floor-plan-selector.ts +0 -70
  38. package/src/WebComponent/FeeCalculator/components/index.ts +0 -3
  39. package/src/WebComponent/FeeCalculator/components/promo-card/promo-card-styles.ts +0 -39
  40. package/src/WebComponent/FeeCalculator/components/promo-card/promo-card.ts +0 -39
  41. package/src/WebComponent/FeeCalculator/fee-calculator-styles.ts +0 -280
  42. package/src/WebComponent/FeeCalculator/fee-calculator.ts +0 -256
  43. package/src/WebComponent/FeeCalculator/index.ts +0 -4
  44. package/src/WebComponent/FeeCalculator/model/building-fee.ts +0 -83
  45. package/src/WebComponent/FeeCalculator/model/transaction-category.ts +0 -23
  46. package/src/WebComponent/LeadSourceClient.ts +0 -332
  47. package/src/WebComponent/MEChat.css +0 -5
  48. package/src/WebComponent/OfficeHours.ts +0 -73
  49. package/src/WebComponent/Scheduler/date-picker.ts +0 -405
  50. package/src/WebComponent/Scheduler/time-picker.ts +0 -190
  51. package/src/WebComponent/Scheduler/tour-scheduler.ts +0 -1352
  52. package/src/WebComponent/Scheduler/tour-type-option.ts +0 -112
  53. package/src/WebComponent/Scheduler/tourSchedulerStyles.ts +0 -418
  54. package/src/WebComponent/actions/InputStyles.ts +0 -57
  55. package/src/WebComponent/actions/action-confirm-button.ts +0 -125
  56. package/src/WebComponent/actions/call-us-window.ts +0 -445
  57. package/src/WebComponent/actions/collapse-expand-button.ts +0 -65
  58. package/src/WebComponent/actions/details-window.ts +0 -150
  59. package/src/WebComponent/actions/email-us-window.ts +0 -555
  60. package/src/WebComponent/actions/formatPhoneNumber.ts +0 -72
  61. package/src/WebComponent/actions/minimize-expand-button.ts +0 -93
  62. package/src/WebComponent/chat-additional-actions.ts +0 -135
  63. package/src/WebComponent/health-chat.ts +0 -270
  64. package/src/WebComponent/healthchat-styles.ts +0 -119
  65. package/src/WebComponent/icons/ApplyOutlineIcon.ts +0 -22
  66. package/src/WebComponent/icons/BookTourOutlineIcon.ts +0 -13
  67. package/src/WebComponent/icons/CalculatorOutlineIcon.ts +0 -22
  68. package/src/WebComponent/icons/ChatOutlineIcon.ts +0 -10
  69. package/src/WebComponent/icons/ChevronLeftIcon.ts +0 -7
  70. package/src/WebComponent/icons/ChevronRightIcon.ts +0 -7
  71. package/src/WebComponent/icons/ContactResidentIcon.ts +0 -9
  72. package/src/WebComponent/icons/DollarOutlineIcon.ts +0 -18
  73. package/src/WebComponent/icons/EmailOutlineIcon.ts +0 -7
  74. package/src/WebComponent/icons/HeyThereEmojiIcon.ts +0 -12
  75. package/src/WebComponent/icons/PhoneOutlineIcon.ts +0 -7
  76. package/src/WebComponent/icons/SendMessageIcon.ts +0 -17
  77. package/src/WebComponent/icons/TourSelfGuidedIcon.ts +0 -17
  78. package/src/WebComponent/icons/TourVirtuallyIcon.ts +0 -17
  79. package/src/WebComponent/icons/TourWithAgentIcon.ts +0 -17
  80. package/src/WebComponent/icons/XOutlineIcon.ts +0 -8
  81. package/src/WebComponent/index.ts +0 -2
  82. package/src/WebComponent/launcher/Launcher.ts +0 -1193
  83. package/src/WebComponent/launcher/launcherStyles.ts +0 -500
  84. package/src/WebComponent/launcher/mobile-launcher.ts +0 -159
  85. package/src/WebComponent/launcher/typeEmojiStyles.ts +0 -161
  86. package/src/WebComponent/launcher/typeMiniStyles.ts +0 -60
  87. package/src/WebComponent/launcher/typeMobileStyles.ts +0 -50
  88. package/src/WebComponent/leasing-chat-styles.ts +0 -114
  89. package/src/WebComponent/me-chat.ts +0 -1257
  90. package/src/WebComponent/me-select.ts +0 -322
  91. package/src/WebComponent/mini-loader.ts +0 -28
  92. package/src/WebComponent/pubnub-chat-styles.ts +0 -204
  93. package/src/WebComponent/pubnub-chat.ts +0 -928
  94. package/src/WebComponent/pubnub-media.ts +0 -208
  95. package/src/WebComponent/pubnub-message-styles.ts +0 -54
  96. package/src/WebComponent/pubnub-message.ts +0 -431
  97. package/src/WebComponent/simple-launcher/simple-launcher-styles.ts +0 -34
  98. package/src/WebComponent/simple-launcher/simple-launcher.ts +0 -100
  99. package/src/WebComponent/utilities-chat.ts +0 -270
  100. package/src/WebComponent/utilities-styles.ts +0 -110
  101. package/src/WebComponent/utils.ts +0 -82
  102. package/src/analytics.ts +0 -217
  103. package/src/assetUrls.ts +0 -6
  104. package/src/disclaimers.ts +0 -58
  105. package/src/fetchBuildingABTestType.ts +0 -21
  106. package/src/fetchBuildingInfo.ts +0 -87
  107. package/src/fetchBuildingWebchatView.ts +0 -154
  108. package/src/fetchFeatureFlag.ts +0 -250
  109. package/src/fetchLeadSources.ts +0 -98
  110. package/src/fetchPhoneNumberFromSource.ts +0 -31
  111. package/src/fetchWebchatPreferences.ts +0 -54
  112. package/src/getAvailabilities.ts +0 -174
  113. package/src/getBuildingPhoneNumber.ts +0 -26
  114. package/src/getShouldAllowScheduling.ts +0 -16
  115. package/src/getShouldShowWebchat.ts +0 -114
  116. package/src/getTimezoneString.ts +0 -39
  117. package/src/globals.ts +0 -1
  118. package/src/gtm.ts +0 -17
  119. package/src/handleChatId.ts +0 -101
  120. package/src/insertDNIIntoWebsite.ts +0 -146
  121. package/src/insertLeadSourceIntoSchedulerLinks.ts +0 -71
  122. package/src/main/MEChat.test.ts +0 -110
  123. package/src/main/MEChat.ts +0 -404
  124. package/src/main/utils.ts +0 -70
  125. package/src/postLeadSources.ts +0 -44
  126. package/src/rentgrata.ts +0 -74
  127. package/src/replaceSelectButtonsWithNewLink.ts +0 -68
  128. package/src/services/fees/fetchBuildingFees.ts +0 -28
  129. package/src/svgIcons.ts +0 -14
  130. package/src/themes.ts +0 -65
  131. package/src/types/rest-sdk.types.ts +0 -13
  132. package/src/types/webchat-no-show-reason.ts +0 -6
  133. package/src/utils.ts +0 -121
  134. package/tsconfig.json +0 -84
  135. package/web-test-runner.config.js +0 -10
  136. package/webpack.config.cjs +0 -48
@@ -1,161 +0,0 @@
1
- import { css } from "lit";
2
-
3
- export const typeEmojiStyles = css`
4
- .type-hey__list {
5
- width: 280px;
6
- height: 300px;
7
- margin-right: 4px;
8
-
9
- border-radius: 16px;
10
- display: flex;
11
- flex-direction: column;
12
- align-items: center;
13
- position: relative;
14
- box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
15
- }
16
- .type-hey__top-section {
17
- width: 100%;
18
- border-radius: 16px;
19
- height: calc(100% + 56px);
20
- }
21
- #type-hey__ask-prompt:hover {
22
- filter: brightness(0.9);
23
- }
24
- .type-hey__chat-container {
25
- position: absolute;
26
- bottom: -72px;
27
- right: 0px;
28
- }
29
-
30
- .type-hey__bottom-section {
31
- position: absolute;
32
- bottom: 0;
33
- left: 0;
34
- right: 0;
35
-
36
- height: 120px;
37
-
38
- background: rgba(255, 255, 255, 1);
39
- border-radius: 16px;
40
- display: flex;
41
- flex-direction: column;
42
- justify-content: center;
43
- align-items: center;
44
- gap: 4px;
45
-
46
- padding: 16px 40px;
47
- }
48
- .type-hey__botton-section-pills {
49
- margin-top: -24px;
50
- display: flex;
51
- flex-direction: column;
52
- gap: 4px;
53
- }
54
- .type-hey__pill {
55
- width: 164px;
56
- height: 32px;
57
-
58
- background: #ffffff;
59
- mix-blend-mode: normal;
60
- box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15);
61
- border-radius: 4px;
62
-
63
- display: flex;
64
- justify-content: space-between;
65
- align-items: center;
66
-
67
- padding-left: 15px;
68
- padding-right: 15px;
69
- font-size: 12px;
70
-
71
- cursor: pointer;
72
- }
73
- .type-hey__pill-left {
74
- display: flex;
75
- justify-content: flex-start;
76
- align-items: center;
77
- gap: 8px;
78
- }
79
-
80
- .type-hey__pill:hover {
81
- background: #eaecf4;
82
- }
83
- .type-hey__ai-topic {
84
- background: rgba(255, 255, 255, 0.2);
85
- border-radius: 4px 4px 4px 0px;
86
- padding: 0px 8px;
87
- text-align: center;
88
- width: 73px;
89
-
90
- margin: auto;
91
- margin-top: 26px;
92
- color: #ffffff;
93
- position: relative;
94
- }
95
- .type-hey__ai-topic p {
96
- font-weight: 700;
97
- font-size: 8px;
98
- line-height: 18px;
99
- letter-spacing: 0.05em;
100
- text-transform: uppercase;
101
- }
102
- .type-hey__ai-topic-notch {
103
- content: "";
104
- width: 0px;
105
- height: 0px;
106
- position: absolute;
107
- border-left: 3px solid rgba(255, 255, 255, 0.2);
108
- border-right: 3px solid transparent;
109
- border-top: 3px solid rgba(255, 255, 255, 0.2);
110
- border-bottom: 3px solid transparent;
111
- left: 0px;
112
- bottom: -6px;
113
- }
114
- .type-hey__icon {
115
- display: flex;
116
- align-items: center;
117
- justify-content: center;
118
- }
119
- .type-hey__greeting {
120
- margin: auto;
121
- display: flex;
122
- justify-content: center;
123
- align-items: center;
124
- gap: 4px;
125
- }
126
- .type-hey__greeting > h1 {
127
- font-family: "Helvetica Neue", Arial;
128
- font-style: normal;
129
- font-weight: 500;
130
- font-size: 20px;
131
- line-height: 22px;
132
- margin: 0;
133
-
134
- color: #ffffff;
135
- }
136
-
137
- #type-hey__ask-prompt {
138
- margin: auto;
139
- margin-top: 9px;
140
- margin-bottom: 24px;
141
-
142
- border: 1px solid rgba(255, 255, 255, 0.8);
143
- box-shadow: 0px 12px 10px rgba(0, 0, 0, 0.1);
144
-
145
- color: #ffffff;
146
- }
147
-
148
- .type-hey__bottom-info {
149
- margin-top: 16px;
150
- }
151
- .type-hey__bottom-info-inner,
152
- .type-hey__bottom-info-inner > .title-bold {
153
- font-family: "Helvetica Neue", Arial;
154
- font-style: normal;
155
- font-size: 10px;
156
- line-height: 140%;
157
- }
158
- .title-bold {
159
- font-weight: 700;
160
- }
161
- `;
@@ -1,60 +0,0 @@
1
- import { css } from "lit";
2
-
3
- export const typeMiniStyles = css`
4
- .vertical-pill-list {
5
- position: relative;
6
- display: flex;
7
- flex-direction: column;
8
- gap: 4px;
9
- margin-right: 4px;
10
- }
11
- #overlay-inner-pill {
12
- color: #ffffff;
13
- }
14
- .inner-pill-wrapper {
15
- width: 164px;
16
- height: 36px;
17
- position: relative;
18
-
19
- background: #ffffff;
20
- mix-blend-mode: normal;
21
- box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15);
22
- border-radius: 4px;
23
-
24
- display: flex;
25
- flex-direction: row;
26
- justify-content: space-between;
27
- align-items: center;
28
-
29
- padding-left: 15px;
30
- padding-right: 15px;
31
- }
32
- .inner-pill-wrapper:hover,
33
- #overlay-inner-pill:hover {
34
- cursor: pointer;
35
- filter: brightness(90%);
36
- }
37
-
38
- .vertical-pill-left {
39
- display: flex;
40
- flex-direction: row;
41
- justify-content: flex-start;
42
- align-items: center;
43
- gap: 12px;
44
- }
45
- .vertical-pill-title {
46
- font-size: 13px;
47
- font-weight: 400;
48
- line-height: 18px;
49
- letter-spacing: 0em;
50
- }
51
- .vertical-pill-bold {
52
- font-weight: 700;
53
- }
54
- .vertical-pill-icon {
55
- text-align: center;
56
- display: flex;
57
- justify-content: center;
58
- align-items: center;
59
- }
60
- `;
@@ -1,50 +0,0 @@
1
- import { css } from "lit";
2
-
3
- export const typeMobileStyles = css`
4
- #minimize-mobile {
5
- position: absolute;
6
- top: -12px;
7
- right: 0;
8
- }
9
- .typeMobile-list {
10
- display: flex;
11
- justify-content: flex-end;
12
- align-items: center;
13
- margin-right: 0px;
14
- }
15
- .typeMobile-list > ul {
16
- padding: 0;
17
- list-style: none;
18
- display: flex;
19
- justify-content: center;
20
- align-items: center;
21
- gap: 3px;
22
- }
23
- .typeMobile-bttn {
24
- width: 54px;
25
- height: 54px;
26
-
27
- border: 2px solid #f3f6fc;
28
- border-radius: 1000px;
29
-
30
- display: flex;
31
- justify-content: center;
32
- align-items: center;
33
- }
34
- .typeMobile-bttn:hover > .typeMobile-inner {
35
- background: #eaecf4;
36
- cursor: pointer;
37
- }
38
- .typeMobile-bttn > .typeMobile-inner {
39
- width: 48px;
40
- height: 48px;
41
-
42
- background: #ffffff;
43
- border: 2px solid #f3f6fc;
44
- border-radius: 1000px;
45
-
46
- display: flex;
47
- justify-content: center;
48
- align-items: center;
49
- }
50
- `;
@@ -1,114 +0,0 @@
1
- import { css } from "lit";
2
-
3
- export const leasingChatStyles = css`
4
- #pubnub-chat-container {
5
- position: fixed;
6
-
7
- z-index: 100001;
8
- display: flex;
9
- align-items: center;
10
-
11
- display: flex;
12
- flex-direction: column;
13
- overflow: hidden;
14
-
15
- box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
16
- rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
17
-
18
- font-family: Poppins, "Open Sans", "Helvetica", sans-serif;
19
- }
20
- .pubnub-container__mobile {
21
- right: 0px;
22
- bottom: 0px;
23
- width: 100%;
24
- height: 100%;
25
- border-radius: 0px;
26
- }
27
- .pubnub-container__desktop {
28
- right: 0px;
29
- bottom: 110px;
30
- width: 340px;
31
- height: 600px;
32
- border-radius: 24px 24px 0px 24px;
33
- }
34
- #leasing-header {
35
- height: 70px;
36
- width: 100%;
37
- background: white;
38
- overflow: hidden;
39
-
40
- box-sizing: border-box;
41
-
42
- display: flex;
43
- align-items: center;
44
- padding: 24px;
45
- justify-content: space-between;
46
- }
47
- .leasing-conversation-body-backdrop {
48
- background: rgba(193, 193, 193, 0.5);
49
- backdrop-filter: blur(4px);
50
-
51
- border-top: 1px solid rgba(0, 0, 0, 0.1);
52
- border-bottom: 1px solid rgba(0, 0, 0, 0.1);
53
- }
54
-
55
- @media screen and (max-width: 767px) {
56
- #conversation-body {
57
- background: #efefef;
58
- backdrop-filter: none;
59
- }
60
- }
61
-
62
- .disclaimer-message {
63
- font-size: 12px;
64
- }
65
- .disclaimer-inner {
66
- margin: 0;
67
- }
68
- .disclaimer-inner > a {
69
- color: black;
70
- }
71
-
72
- #footer {
73
- min-height: 70px;
74
- max-height: 200px;
75
- width: 100%;
76
- background: black;
77
-
78
- display: flex;
79
- align-items: center;
80
- justify-content: space-between;
81
- box-sizing: border-box;
82
- gap: 16px;
83
- padding: 24px;
84
- z-index: 100001;
85
- }
86
- #message-input {
87
- width: 100%;
88
- height: auto;
89
- max-height: 100%;
90
-
91
- resize: none;
92
-
93
- font-family: inherit;
94
- box-sizing: border-box;
95
- font-weight: 300;
96
- line-height: 150%;
97
- border: none;
98
- color: white;
99
- background: none;
100
- padding-right: 6px; /* width of the scrollbar */
101
- box-sizing: border-box;
102
- z-index: 1000000000000000000000000001;
103
- }
104
- #message-input:focus {
105
- outline: none;
106
- -webkit-box-shadow: none;
107
- box-shadow: none;
108
- }
109
- #send-message-bttn {
110
- background: none;
111
- border: none;
112
- cursor: pointer;
113
- }
114
- `;