@meetelise/chat 1.34.2 → 1.34.3

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 (279) hide show
  1. package/package.json +1 -1
  2. package/dist/src/MyPubnub.d.ts +0 -116
  3. package/dist/src/WebComponent/FeeCalculator/components/addons/addon-item-matrix-qty-selector/addon-item-matrix-qty-selector-styles.d.ts +0 -2
  4. package/dist/src/WebComponent/FeeCalculator/components/addons/addon-item-matrix-qty-selector/addon-item-matrix-qty-selector.d.ts +0 -28
  5. package/dist/src/WebComponent/FeeCalculator/components/addons/addon-item-qty-selector/addon-item-qty-selector-styles.d.ts +0 -2
  6. package/dist/src/WebComponent/FeeCalculator/components/addons/addon-item-qty-selector/addon-item-qty-selector.d.ts +0 -18
  7. package/dist/src/WebComponent/FeeCalculator/components/addons/common-addon-styles.d.ts +0 -2
  8. package/dist/src/WebComponent/FeeCalculator/components/addons/rentable-item-qty-selector/rentable-item-qty-selector-styles.d.ts +0 -2
  9. package/dist/src/WebComponent/FeeCalculator/components/addons/rentable-item-qty-selector/rentable-item-qty-selector.d.ts +0 -22
  10. package/dist/src/WebComponent/FeeCalculator/components/fee-calculator-layout/fee-calculator-layout-styles.d.ts +0 -2
  11. package/dist/src/WebComponent/FeeCalculator/components/fee-calculator-layout/fee-calculator-layout.d.ts +0 -46
  12. package/dist/src/WebComponent/FeeCalculator/components/fee-card/fee-card-styles.d.ts +0 -2
  13. package/dist/src/WebComponent/FeeCalculator/components/fee-card/fee-card.d.ts +0 -21
  14. package/dist/src/WebComponent/FeeCalculator/components/fee-item/fee-item-styles.d.ts +0 -2
  15. package/dist/src/WebComponent/FeeCalculator/components/fee-item/fee-item.d.ts +0 -13
  16. package/dist/src/WebComponent/FeeCalculator/components/floor-plan-selector/floor-plan-selector-styles.d.ts +0 -2
  17. package/dist/src/WebComponent/FeeCalculator/components/floor-plan-selector/floor-plan-selector.d.ts +0 -34
  18. package/dist/src/WebComponent/FeeCalculator/components/floorplan-image-card/floorplan-image-card-styles.d.ts +0 -2
  19. package/dist/src/WebComponent/FeeCalculator/components/floorplan-image-card/floorplan-image-card.d.ts +0 -18
  20. package/dist/src/WebComponent/FeeCalculator/components/incentive-banner/incentive-banner-styles.d.ts +0 -1
  21. package/dist/src/WebComponent/FeeCalculator/components/incentive-banner/incentive-banner.d.ts +0 -8
  22. package/dist/src/WebComponent/FeeCalculator/components/incentive-banner/index.d.ts +0 -1
  23. package/dist/src/WebComponent/FeeCalculator/components/index.d.ts +0 -5
  24. package/dist/src/WebComponent/FeeCalculator/components/promo-card/promo-card-styles.d.ts +0 -2
  25. package/dist/src/WebComponent/FeeCalculator/components/promo-card/promo-card.d.ts +0 -13
  26. package/dist/src/WebComponent/FeeCalculator/constants.d.ts +0 -3
  27. package/dist/src/WebComponent/FeeCalculator/fee-calculator-styles.d.ts +0 -1
  28. package/dist/src/WebComponent/FeeCalculator/fee-calculator.d.ts +0 -55
  29. package/dist/src/WebComponent/FeeCalculator/index.d.ts +0 -2
  30. package/dist/src/WebComponent/FeeCalculator/model/building-fee-view.d.ts +0 -41
  31. package/dist/src/WebComponent/FeeCalculator/model/building-fee.d.ts +0 -82
  32. package/dist/src/WebComponent/FeeCalculator/model/desired-addon.d.ts +0 -5
  33. package/dist/src/WebComponent/FeeCalculator/model/desired-rentable-item.d.ts +0 -4
  34. package/dist/src/WebComponent/FeeCalculator/model/index.d.ts +0 -13
  35. package/dist/src/WebComponent/FeeCalculator/model/item-combination.d.ts +0 -6
  36. package/dist/src/WebComponent/FeeCalculator/model/item-quantity.d.ts +0 -4
  37. package/dist/src/WebComponent/FeeCalculator/model/pricing-matrix.d.ts +0 -18
  38. package/dist/src/WebComponent/FeeCalculator/model/pricing-rule.d.ts +0 -8
  39. package/dist/src/WebComponent/FeeCalculator/model/rent-frequency.d.ts +0 -1
  40. package/dist/src/WebComponent/FeeCalculator/model/rentable-item-summary.d.ts +0 -9
  41. package/dist/src/WebComponent/FeeCalculator/model/rentable-item.d.ts +0 -9
  42. package/dist/src/WebComponent/FeeCalculator/model/transaction-category.d.ts +0 -23
  43. package/dist/src/WebComponent/FeeCalculator/model/unit-fee-bundle.d.ts +0 -31
  44. package/dist/src/WebComponent/LeadSourceClient.d.ts +0 -46
  45. package/dist/src/WebComponent/OfficeHours.d.ts +0 -21
  46. package/dist/src/WebComponent/Scheduler/date-picker.d.ts +0 -28
  47. package/dist/src/WebComponent/Scheduler/time-picker.d.ts +0 -14
  48. package/dist/src/WebComponent/Scheduler/tour-scheduler.d.ts +0 -101
  49. package/dist/src/WebComponent/Scheduler/tour-type-option.d.ts +0 -13
  50. package/dist/src/WebComponent/Scheduler/tourSchedulerStyles.d.ts +0 -1
  51. package/dist/src/WebComponent/actions/InputStyles.d.ts +0 -1
  52. package/dist/src/WebComponent/actions/action-confirm-button.d.ts +0 -13
  53. package/dist/src/WebComponent/actions/call-us-window.d.ts +0 -37
  54. package/dist/src/WebComponent/actions/collapse-expand-button.d.ts +0 -8
  55. package/dist/src/WebComponent/actions/details-window.d.ts +0 -14
  56. package/dist/src/WebComponent/actions/email-us-window.d.ts +0 -46
  57. package/dist/src/WebComponent/actions/formatPhoneNumber.d.ts +0 -17
  58. package/dist/src/WebComponent/actions/minimize-expand-button.d.ts +0 -8
  59. package/dist/src/WebComponent/chat-additional-actions.d.ts +0 -28
  60. package/dist/src/WebComponent/health-chat.d.ts +0 -47
  61. package/dist/src/WebComponent/healthchat-styles.d.ts +0 -1
  62. package/dist/src/WebComponent/icons/ApplyOutlineIcon.d.ts +0 -2
  63. package/dist/src/WebComponent/icons/BookTourOutlineIcon.d.ts +0 -2
  64. package/dist/src/WebComponent/icons/CalculatorOutlineIcon.d.ts +0 -2
  65. package/dist/src/WebComponent/icons/ChatOutlineIcon.d.ts +0 -2
  66. package/dist/src/WebComponent/icons/ChevronLeftIcon.d.ts +0 -2
  67. package/dist/src/WebComponent/icons/ChevronRightIcon.d.ts +0 -2
  68. package/dist/src/WebComponent/icons/ContactResidentIcon.d.ts +0 -2
  69. package/dist/src/WebComponent/icons/DollarOutlineIcon.d.ts +0 -7
  70. package/dist/src/WebComponent/icons/EmailOutlineIcon.d.ts +0 -2
  71. package/dist/src/WebComponent/icons/HeyThereEmojiIcon.d.ts +0 -2
  72. package/dist/src/WebComponent/icons/PhoneOutlineIcon.d.ts +0 -2
  73. package/dist/src/WebComponent/icons/SendMessageIcon.d.ts +0 -3
  74. package/dist/src/WebComponent/icons/TourSelfGuidedIcon.d.ts +0 -2
  75. package/dist/src/WebComponent/icons/TourVirtuallyIcon.d.ts +0 -2
  76. package/dist/src/WebComponent/icons/TourWithAgentIcon.d.ts +0 -2
  77. package/dist/src/WebComponent/icons/XOutlineIcon.d.ts +0 -2
  78. package/dist/src/WebComponent/index.d.ts +0 -2
  79. package/dist/src/WebComponent/launcher/Launcher.d.ts +0 -99
  80. package/dist/src/WebComponent/launcher/launcherStyles.d.ts +0 -1
  81. package/dist/src/WebComponent/launcher/mobile-launcher.d.ts +0 -27
  82. package/dist/src/WebComponent/launcher/typeEmojiStyles.d.ts +0 -1
  83. package/dist/src/WebComponent/launcher/typeMiniStyles.d.ts +0 -1
  84. package/dist/src/WebComponent/launcher/typeMobileStyles.d.ts +0 -1
  85. package/dist/src/WebComponent/leasing-chat-styles.d.ts +0 -1
  86. package/dist/src/WebComponent/loaders/index.d.ts +0 -4
  87. package/dist/src/WebComponent/loaders/mega-loader.d.ts +0 -7
  88. package/dist/src/WebComponent/loaders/skeleton-card.d.ts +0 -12
  89. package/dist/src/WebComponent/loaders/skeleton-loader-styles.d.ts +0 -3
  90. package/dist/src/WebComponent/loaders/skeleton-loader.d.ts +0 -13
  91. package/dist/src/WebComponent/me-chat.d.ts +0 -91
  92. package/dist/src/WebComponent/me-select.d.ts +0 -24
  93. package/dist/src/WebComponent/mini-loader.d.ts +0 -5
  94. package/dist/src/WebComponent/pubnub-chat-styles.d.ts +0 -1
  95. package/dist/src/WebComponent/pubnub-chat.d.ts +0 -49
  96. package/dist/src/WebComponent/pubnub-media.d.ts +0 -14
  97. package/dist/src/WebComponent/pubnub-message-styles.d.ts +0 -1
  98. package/dist/src/WebComponent/pubnub-message.d.ts +0 -39
  99. package/dist/src/WebComponent/simple-launcher/simple-launcher-styles.d.ts +0 -1
  100. package/dist/src/WebComponent/simple-launcher/simple-launcher.d.ts +0 -12
  101. package/dist/src/WebComponent/utilities-chat.d.ts +0 -47
  102. package/dist/src/WebComponent/utilities-styles.d.ts +0 -1
  103. package/dist/src/WebComponent/utils.d.ts +0 -31
  104. package/dist/src/analytics.d.ts +0 -64
  105. package/dist/src/disclaimers.d.ts +0 -9
  106. package/dist/src/fetchBuildingABTestType.d.ts +0 -8
  107. package/dist/src/fetchBuildingInfo.d.ts +0 -57
  108. package/dist/src/fetchBuildingWebchatView.d.ts +0 -124
  109. package/dist/src/fetchFeatureFlag.d.ts +0 -14
  110. package/dist/src/fetchLeadSources.d.ts +0 -4
  111. package/dist/src/fetchPhoneNumberFromSource.d.ts +0 -6
  112. package/dist/src/getAvailabilities.d.ts +0 -45
  113. package/dist/src/getBuildingPhoneNumber.d.ts +0 -1
  114. package/dist/src/getShouldAllowScheduling.d.ts +0 -1
  115. package/dist/src/getShouldShowWebchat.d.ts +0 -3
  116. package/dist/src/getTimezoneString.d.ts +0 -1
  117. package/dist/src/globals.d.ts +0 -2
  118. package/dist/src/gtm.d.ts +0 -6
  119. package/dist/src/handleChatId.d.ts +0 -11
  120. package/dist/src/insertDNIIntoWebsite.d.ts +0 -5
  121. package/dist/src/insertLeadSourceIntoSchedulerLinks.d.ts +0 -4
  122. package/dist/src/main/MEChat.d.ts +0 -74
  123. package/dist/src/main/utils.d.ts +0 -2
  124. package/dist/src/postLeadSources.d.ts +0 -3
  125. package/dist/src/rentgrata.d.ts +0 -4
  126. package/dist/src/replaceSelectButtonsWithNewLink.d.ts +0 -5
  127. package/dist/src/services/fees/calculateQuote.d.ts +0 -14
  128. package/dist/src/services/fees/fetchBuildingFeesV2.d.ts +0 -10
  129. package/dist/src/services/fees/fetchBuildingUnits.d.ts +0 -29
  130. package/dist/src/services/fees/utils.d.ts +0 -1
  131. package/dist/src/svgIcons.d.ts +0 -5
  132. package/dist/src/themes.d.ts +0 -5
  133. package/dist/src/types/incentive-v2.d.ts +0 -23
  134. package/dist/src/types/rest-sdk.types.d.ts +0 -11
  135. package/dist/src/types/webchat-no-show-reason.d.ts +0 -1
  136. package/dist/src/utils/queryParamBuilder.d.ts +0 -8
  137. package/dist/src/utils.d.ts +0 -13
  138. package/src/MyPubnub.ts +0 -792
  139. package/src/WebComponent/FeeCalculator/components/addons/addon-item-matrix-qty-selector/addon-item-matrix-qty-selector-styles.ts +0 -35
  140. package/src/WebComponent/FeeCalculator/components/addons/addon-item-matrix-qty-selector/addon-item-matrix-qty-selector.ts +0 -206
  141. package/src/WebComponent/FeeCalculator/components/addons/addon-item-qty-selector/addon-item-qty-selector-styles.ts +0 -6
  142. package/src/WebComponent/FeeCalculator/components/addons/addon-item-qty-selector/addon-item-qty-selector.ts +0 -101
  143. package/src/WebComponent/FeeCalculator/components/addons/common-addon-styles.ts +0 -82
  144. package/src/WebComponent/FeeCalculator/components/addons/rentable-item-qty-selector/rentable-item-qty-selector-styles.ts +0 -9
  145. package/src/WebComponent/FeeCalculator/components/addons/rentable-item-qty-selector/rentable-item-qty-selector.ts +0 -124
  146. package/src/WebComponent/FeeCalculator/components/fee-calculator-layout/fee-calculator-layout-styles.ts +0 -142
  147. package/src/WebComponent/FeeCalculator/components/fee-calculator-layout/fee-calculator-layout.ts +0 -243
  148. package/src/WebComponent/FeeCalculator/components/fee-card/fee-card-styles.ts +0 -65
  149. package/src/WebComponent/FeeCalculator/components/fee-card/fee-card.ts +0 -91
  150. package/src/WebComponent/FeeCalculator/components/fee-item/fee-item-styles.ts +0 -44
  151. package/src/WebComponent/FeeCalculator/components/fee-item/fee-item.ts +0 -38
  152. package/src/WebComponent/FeeCalculator/components/floor-plan-selector/floor-plan-selector-styles.ts +0 -151
  153. package/src/WebComponent/FeeCalculator/components/floor-plan-selector/floor-plan-selector.ts +0 -248
  154. package/src/WebComponent/FeeCalculator/components/floorplan-image-card/floorplan-image-card-styles.ts +0 -82
  155. package/src/WebComponent/FeeCalculator/components/floorplan-image-card/floorplan-image-card.ts +0 -76
  156. package/src/WebComponent/FeeCalculator/components/incentive-banner/incentive-banner-styles.ts +0 -40
  157. package/src/WebComponent/FeeCalculator/components/incentive-banner/incentive-banner.ts +0 -43
  158. package/src/WebComponent/FeeCalculator/components/incentive-banner/index.ts +0 -1
  159. package/src/WebComponent/FeeCalculator/components/index.ts +0 -5
  160. package/src/WebComponent/FeeCalculator/components/promo-card/promo-card-styles.ts +0 -39
  161. package/src/WebComponent/FeeCalculator/components/promo-card/promo-card.ts +0 -39
  162. package/src/WebComponent/FeeCalculator/constants.ts +0 -5
  163. package/src/WebComponent/FeeCalculator/fee-calculator-styles.ts +0 -310
  164. package/src/WebComponent/FeeCalculator/fee-calculator.ts +0 -341
  165. package/src/WebComponent/FeeCalculator/index.ts +0 -4
  166. package/src/WebComponent/FeeCalculator/model/building-fee-view.ts +0 -84
  167. package/src/WebComponent/FeeCalculator/model/building-fee.ts +0 -126
  168. package/src/WebComponent/FeeCalculator/model/desired-addon.ts +0 -6
  169. package/src/WebComponent/FeeCalculator/model/desired-rentable-item.ts +0 -4
  170. package/src/WebComponent/FeeCalculator/model/index.ts +0 -13
  171. package/src/WebComponent/FeeCalculator/model/item-combination.ts +0 -16
  172. package/src/WebComponent/FeeCalculator/model/item-quantity.ts +0 -4
  173. package/src/WebComponent/FeeCalculator/model/pricing-matrix.ts +0 -45
  174. package/src/WebComponent/FeeCalculator/model/pricing-rule.ts +0 -9
  175. package/src/WebComponent/FeeCalculator/model/rent-frequency.ts +0 -1
  176. package/src/WebComponent/FeeCalculator/model/rentable-item-summary.ts +0 -10
  177. package/src/WebComponent/FeeCalculator/model/rentable-item.ts +0 -10
  178. package/src/WebComponent/FeeCalculator/model/transaction-category.ts +0 -23
  179. package/src/WebComponent/FeeCalculator/model/unit-fee-bundle.ts +0 -54
  180. package/src/WebComponent/LeadSourceClient.ts +0 -332
  181. package/src/WebComponent/MEChat.css +0 -5
  182. package/src/WebComponent/OfficeHours.ts +0 -73
  183. package/src/WebComponent/Scheduler/date-picker.ts +0 -405
  184. package/src/WebComponent/Scheduler/time-picker.ts +0 -190
  185. package/src/WebComponent/Scheduler/tour-scheduler.ts +0 -1416
  186. package/src/WebComponent/Scheduler/tour-type-option.ts +0 -112
  187. package/src/WebComponent/Scheduler/tourSchedulerStyles.ts +0 -418
  188. package/src/WebComponent/actions/InputStyles.ts +0 -57
  189. package/src/WebComponent/actions/action-confirm-button.ts +0 -125
  190. package/src/WebComponent/actions/call-us-window.ts +0 -467
  191. package/src/WebComponent/actions/collapse-expand-button.ts +0 -65
  192. package/src/WebComponent/actions/details-window.ts +0 -150
  193. package/src/WebComponent/actions/email-us-window.ts +0 -556
  194. package/src/WebComponent/actions/formatPhoneNumber.ts +0 -72
  195. package/src/WebComponent/actions/minimize-expand-button.ts +0 -93
  196. package/src/WebComponent/chat-additional-actions.ts +0 -135
  197. package/src/WebComponent/health-chat.ts +0 -270
  198. package/src/WebComponent/healthchat-styles.ts +0 -119
  199. package/src/WebComponent/icons/ApplyOutlineIcon.ts +0 -22
  200. package/src/WebComponent/icons/BookTourOutlineIcon.ts +0 -13
  201. package/src/WebComponent/icons/CalculatorOutlineIcon.ts +0 -22
  202. package/src/WebComponent/icons/ChatOutlineIcon.ts +0 -10
  203. package/src/WebComponent/icons/ChevronLeftIcon.ts +0 -7
  204. package/src/WebComponent/icons/ChevronRightIcon.ts +0 -7
  205. package/src/WebComponent/icons/ContactResidentIcon.ts +0 -9
  206. package/src/WebComponent/icons/DollarOutlineIcon.ts +0 -26
  207. package/src/WebComponent/icons/EmailOutlineIcon.ts +0 -7
  208. package/src/WebComponent/icons/HeyThereEmojiIcon.ts +0 -12
  209. package/src/WebComponent/icons/PhoneOutlineIcon.ts +0 -7
  210. package/src/WebComponent/icons/SendMessageIcon.ts +0 -17
  211. package/src/WebComponent/icons/TourSelfGuidedIcon.ts +0 -17
  212. package/src/WebComponent/icons/TourVirtuallyIcon.ts +0 -17
  213. package/src/WebComponent/icons/TourWithAgentIcon.ts +0 -17
  214. package/src/WebComponent/icons/XOutlineIcon.ts +0 -8
  215. package/src/WebComponent/index.ts +0 -2
  216. package/src/WebComponent/launcher/Launcher.ts +0 -1284
  217. package/src/WebComponent/launcher/launcherStyles.ts +0 -500
  218. package/src/WebComponent/launcher/mobile-launcher.ts +0 -162
  219. package/src/WebComponent/launcher/typeEmojiStyles.ts +0 -161
  220. package/src/WebComponent/launcher/typeMiniStyles.ts +0 -60
  221. package/src/WebComponent/launcher/typeMobileStyles.ts +0 -50
  222. package/src/WebComponent/leasing-chat-styles.ts +0 -114
  223. package/src/WebComponent/loaders/index.ts +0 -7
  224. package/src/WebComponent/loaders/mega-loader.ts +0 -36
  225. package/src/WebComponent/loaders/skeleton-card.ts +0 -31
  226. package/src/WebComponent/loaders/skeleton-loader-styles.ts +0 -112
  227. package/src/WebComponent/loaders/skeleton-loader.ts +0 -34
  228. package/src/WebComponent/me-chat.ts +0 -1261
  229. package/src/WebComponent/me-select.ts +0 -322
  230. package/src/WebComponent/mini-loader.ts +0 -28
  231. package/src/WebComponent/pubnub-chat-styles.ts +0 -204
  232. package/src/WebComponent/pubnub-chat.ts +0 -928
  233. package/src/WebComponent/pubnub-media.ts +0 -208
  234. package/src/WebComponent/pubnub-message-styles.ts +0 -54
  235. package/src/WebComponent/pubnub-message.ts +0 -431
  236. package/src/WebComponent/simple-launcher/simple-launcher-styles.ts +0 -34
  237. package/src/WebComponent/simple-launcher/simple-launcher.ts +0 -100
  238. package/src/WebComponent/utilities-chat.ts +0 -270
  239. package/src/WebComponent/utilities-styles.ts +0 -110
  240. package/src/WebComponent/utils.ts +0 -82
  241. package/src/analytics.ts +0 -217
  242. package/src/assetUrls.ts +0 -6
  243. package/src/disclaimers.ts +0 -86
  244. package/src/fetchBuildingABTestType.ts +0 -21
  245. package/src/fetchBuildingInfo.ts +0 -87
  246. package/src/fetchBuildingWebchatView.ts +0 -176
  247. package/src/fetchFeatureFlag.ts +0 -250
  248. package/src/fetchLeadSources.ts +0 -98
  249. package/src/fetchPhoneNumberFromSource.ts +0 -31
  250. package/src/fetchWebchatPreferences.ts +0 -54
  251. package/src/getAvailabilities.ts +0 -179
  252. package/src/getBuildingPhoneNumber.ts +0 -26
  253. package/src/getShouldAllowScheduling.ts +0 -16
  254. package/src/getShouldShowWebchat.ts +0 -114
  255. package/src/getTimezoneString.ts +0 -39
  256. package/src/globals.ts +0 -3
  257. package/src/gtm.ts +0 -17
  258. package/src/handleChatId.ts +0 -101
  259. package/src/insertDNIIntoWebsite.ts +0 -146
  260. package/src/insertLeadSourceIntoSchedulerLinks.ts +0 -71
  261. package/src/main/MEChat.test.ts +0 -110
  262. package/src/main/MEChat.ts +0 -404
  263. package/src/main/utils.ts +0 -70
  264. package/src/postLeadSources.ts +0 -44
  265. package/src/rentgrata.ts +0 -74
  266. package/src/replaceSelectButtonsWithNewLink.ts +0 -90
  267. package/src/services/fees/calculateQuote.ts +0 -74
  268. package/src/services/fees/fetchBuildingFees.ts +0 -50
  269. package/src/services/fees/fetchBuildingFeesV2.ts +0 -56
  270. package/src/services/fees/fetchBuildingFloorplans.ts +0 -74
  271. package/src/services/fees/fetchBuildingUnits.ts +0 -86
  272. package/src/services/fees/utils.ts +0 -4
  273. package/src/svgIcons.ts +0 -14
  274. package/src/themes.ts +0 -65
  275. package/src/types/incentive-v2.ts +0 -24
  276. package/src/types/rest-sdk.types.ts +0 -13
  277. package/src/types/webchat-no-show-reason.ts +0 -6
  278. package/src/utils/queryParamBuilder.ts +0 -28
  279. package/src/utils.ts +0 -121
@@ -1,500 +0,0 @@
1
- import { css } from "lit";
2
-
3
- export const launcherStyles = css`
4
- * {
5
- font-family: "Helvetica Neue", Arial;
6
- font-size: 14px;
7
-
8
- transition: all 0.2s ease-in-out; /* apply a smooth transition effect to all properties */
9
- }
10
- :host {
11
- --glowBarHeight: 11.2px;
12
- --enterAnimationDuration: 0.5s;
13
- --desktopZIndex: 100000;
14
- }
15
-
16
- @keyframes slideInFromRight {
17
- from {
18
- transform: translateX(100%);
19
- }
20
- to {
21
- transform: translateX(0);
22
- }
23
- }
24
- .launcher {
25
- font-family: "Helvetica Neue", Arial;
26
- user-select: none;
27
- position: fixed;
28
- }
29
- .launcher:not(.miniLauncher) {
30
- display: flex;
31
- justify-content: space-evenly;
32
- align-items: center;
33
- background-color: rgba(255, 255, 255, 0.8);
34
- color: #202020;
35
- backdrop-filter: blur(50px);
36
- box-shadow: 0px 8px 8px 4px rgba(0, 0, 0, 0.25);
37
- }
38
- .launcher:not(.miniLauncher).launcher__mobile {
39
- width: 100%;
40
- bottom: 0px;
41
- left: 0px;
42
- padding: 5px;
43
- }
44
- .launcher:not(.miniLauncher).launcher__desktop {
45
- width: 245px;
46
- height: 112px;
47
- padding-left: 10px;
48
- }
49
- .launcher.launcher__desktop {
50
- right: 0px;
51
- overflow: hidden;
52
- border-radius: 10px 0px 0px 10px;
53
- bottom: 40px;
54
- z-index: 100000;
55
- }
56
- .launcher.launcher__desktop.firstMount {
57
- animation: slideInFromRight var(--enterAnimationDuration);
58
- }
59
- .launcher .glowBar {
60
- overflow: hidden;
61
- background-position: center;
62
- position: absolute;
63
- top: 3px;
64
- left: 3px;
65
- height: 11.2px;
66
- width: 100%;
67
- object-fit: fill;
68
- border-top-left-radius: 10px;
69
- }
70
-
71
- .launcher .glowBar + * {
72
- margin-top: calc(var(--glowBarHeight) + 8px);
73
- }
74
- .launcher .content {
75
- display: flex;
76
- flex-direction: column;
77
- align-items: center;
78
- gap: 10px;
79
- margin-bottom: 6px;
80
- }
81
- .launcher .content .header {
82
- display: flex;
83
- align-items: center;
84
- }
85
- .launcher .content .header .headerText {
86
- font-weight: 600;
87
- font-size: 20px;
88
- }
89
- .launcher .content .subtitle {
90
- font-size: 12px;
91
- font-weight: 600;
92
- }
93
- .miniLauncher {
94
- display: flex;
95
- align-items: center;
96
- background-color: #202020;
97
- position: fixed;
98
- }
99
- .miniLauncher:hover {
100
- background: radial-gradient(
101
- 36.85% 65.32% at 50% 106.31%,
102
- #03ecc4 0%,
103
- rgba(131, 129, 142, 1) 100%
104
- );
105
- }
106
- .miniLauncher.firstMount {
107
- animation: slideInFromRight 0.5s;
108
- }
109
- .miniLauncher.launcher__desktop {
110
- padding-right: 20px;
111
- right: 0px;
112
- overflow: hidden;
113
- bottom: 40px;
114
- z-index: var(--desktopZIndex);
115
- }
116
- .miniLauncher.launcher__mobile {
117
- right: 10px;
118
- bottom: 20px;
119
- }
120
-
121
- .launcher__primary-action-text {
122
- font-family: "Helvetica Neue", Arial;
123
- font-weight: 700;
124
- font-size: 24px;
125
- line-height: 22px;
126
- cursor: pointer;
127
- }
128
-
129
- .launcher__primary-action:hover {
130
- color: #350da6;
131
- }
132
-
133
- .launcher__primary-action {
134
- transition: color 0.5s cubic-bezier(0.2, 0.19, 0.27, 0.98),
135
- fill 0.5s cubic-bezier(0.2, 0.19, 0.27, 0.98);
136
- cursor: pointer;
137
- }
138
-
139
- .launcher__primary-action:hover path {
140
- fill: #350da6;
141
- }
142
-
143
- .launcher__primary-action:hover .launcher__ask-underline {
144
- background: #350da6;
145
- }
146
-
147
- .launcher__primary-action svg {
148
- height: 28px;
149
- width: 28px;
150
- transform: translateX(2px);
151
- }
152
-
153
- .launcher__ask-underline {
154
- width: 47px;
155
- height: 3px;
156
- background: #1e1e1e;
157
- transition: background 0.5s cubic-bezier(0.2, 0.19, 0.27, 0.98);
158
- }
159
-
160
- .launcher__filler-text {
161
- font-size: 10px;
162
- line-height: 22px;
163
- color: #1e1e1e;
164
- }
165
-
166
- .launcher__call-to-action-option {
167
- font-weight: 700;
168
- font-size: 12px;
169
- line-height: 22px;
170
-
171
- color: #1e1e1e;
172
- border-bottom: 2px solid #1e1e1e;
173
- width: fit-content;
174
- height: fit-content;
175
- cursor: pointer;
176
- transition: color 0.2s cubic-bezier(0.2, 0.19, 0.27, 0.98);
177
- }
178
-
179
- .launcher__call-to-action-option:hover {
180
- color: #350da6;
181
- border-bottom: 2px solid #350da6;
182
- }
183
-
184
- .launcher__call-to-actions-wrapper {
185
- width: 100%;
186
- display: flex;
187
- }
188
-
189
- .launcher__call-to-actions-wrapper
190
- > .launcher__call-to-action-option:not(:last-child) {
191
- margin-right: 15px;
192
- }
193
-
194
- .launcher__window-wrapper {
195
- position: fixed;
196
- right: 0;
197
- bottom: 172px;
198
- }
199
-
200
- .launcher__mini-launcher-wrapper {
201
- position: fixed;
202
- right: 0px;
203
- bottom: 110px;
204
- z-index: 100000;
205
- display: flex;
206
- align-items: center;
207
- width: fit-content;
208
- }
209
- .launcher__mobile-launcher-wrapper {
210
- position: fixed;
211
- right: 12px;
212
- bottom: 0px;
213
- z-index: 100000;
214
- display: flex;
215
- align-items: center;
216
- }
217
-
218
- .launcher__mini-option {
219
- position: relative;
220
- // This is so that the pseudo elements we created will be visible despite being beneath the element it is a pseudo element for
221
- border: 4px solid transparent;
222
- height: 48px;
223
- width: 48px;
224
- display: flex;
225
- align-items: center;
226
- justify-content: center;
227
- border-radius: 50%;
228
- background: rgba(240, 240, 240, 0.9);
229
- background-clip: padding-box;
230
- padding: 4px;
231
- box-shadow: 0px 8px 8px 4px rgba(0, 0, 0, 0.25);
232
- cursor: pointer;
233
- }
234
-
235
- .launcher__mini-option-wrapper {
236
- margin-right: 12px;
237
- }
238
-
239
- .launcher__mini-option:not(:hover)::before {
240
- position: absolute;
241
- top: -4px;
242
- bottom: -4px;
243
- left: -4px;
244
- right: -4px;
245
- background: #ffffff;
246
- content: "";
247
- z-index: -1;
248
- border-radius: 50%;
249
- }
250
-
251
- .launcher__secondary-option {
252
- width: 30px;
253
- height: 30px;
254
- }
255
-
256
- .launcher__mini-option-wrapper {
257
- background-clip: padding-box;
258
- }
259
-
260
- .launcher__mini-option:hover {
261
- border: none;
262
- }
263
-
264
- .launcher__mini-option:hover::before {
265
- position: absolute;
266
- top: -4px;
267
- bottom: -4px;
268
- left: -4px;
269
- right: -4px;
270
- background: linear-gradient(to right, #350da6, #8c58e5, #e66933);
271
- background-size: cover;
272
- content: "";
273
- z-index: -1;
274
- border-radius: 50%;
275
- }
276
-
277
- @media screen and (max-width: 768px) {
278
- .launcher__mini-elevated {
279
- bottom: 75px;
280
- }
281
- }
282
-
283
- @media screen and (max-width: 767px) {
284
- .launcher:not(.miniLauncher).launcher__desktop {
285
- width: 100%;
286
- }
287
-
288
- .launcher.launcher__desktop {
289
- bottom: 0px;
290
- }
291
-
292
- .launcher.launcher__desktop {
293
- border-radius: 0px;
294
- }
295
-
296
- .launcher .glowBar {
297
- top: 3px;
298
- left: 0;
299
- border-top-left-radius: 0px;
300
- }
301
-
302
- .launcher .content {
303
- flex-direction: row;
304
- padding-top: 15px;
305
- padding-bottom: 15px;
306
- }
307
-
308
- .launcher__primary-action-text {
309
- font-size: 18px;
310
- flex-grow: 1;
311
- }
312
-
313
- .launcher__call-to-actions-wrapper {
314
- width: fit-content;
315
- }
316
-
317
- .launcher__ask-underline {
318
- width: 35px;
319
- }
320
-
321
- .launcher__window-wrapper {
322
- left: 0;
323
- bottom: 0;
324
- }
325
- }
326
-
327
- .minimize-button {
328
- position: absolute;
329
- top: -24px;
330
- right: 4px;
331
-
332
- background: #ffffff;
333
- border-radius: 4px;
334
- border: none;
335
-
336
- width: 18px;
337
- height: 18px;
338
-
339
- padding: 0;
340
- cursor: pointer;
341
- z-index: 1;
342
- box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
343
- }
344
- .minimize-button:hover {
345
- filter: brightness(0.9);
346
- }
347
-
348
- .chevron-down,
349
- .chevron-up {
350
- padding: 0;
351
- display: flex;
352
- align-items: center;
353
- justify-content: center;
354
- }
355
-
356
- .chevron-down {
357
- transform: rotate(90deg);
358
- }
359
- .chevron-up {
360
- transform: rotate(-90deg);
361
- }
362
-
363
- .type-gradient__list {
364
- width: 199px;
365
- height: 262px;
366
- left: 1218px;
367
- top: 604px;
368
-
369
- border: 1px solid #ffffff;
370
- border-radius: 20px 0px 20px 20px;
371
- background: #262626;
372
- color: #fff;
373
- display: flex;
374
- flex-direction: column;
375
- justify-content: flex-end;
376
- overflow: hidden;
377
- cursor: pointer;
378
-
379
- box-shadow: 0px 8px 8px 4px rgba(0, 0, 0, 0.5);
380
- }
381
- .type-gradient__top-container {
382
- position: relative;
383
- width: 100%;
384
- height: 100%;
385
- background: #ffffff;
386
- overflow: hidden;
387
- }
388
- .video-container {
389
- position: relative;
390
- margin-left: -48px;
391
- }
392
- .glowBackground {
393
- position: absolute;
394
- width: 100%;
395
- height: 100%;
396
- top: 0px;
397
- left: 0px;
398
- object-fit: cover;
399
- transform: scale(1.3);
400
- filter: brightness(80%);
401
- }
402
- .type-gradient__scroll-info {
403
- padding: 18px;
404
- display: flex;
405
- flex-direction: column;
406
- z-index: 99999;
407
-
408
- margin-top: 0em;
409
-
410
- opacity: 0.95;
411
- }
412
- .type-gradient__scroll-info:hover {
413
- text-shadow: 0px 0px 5px rgba(255, 255, 255, 0.85);
414
- }
415
- .type-gradient__scroll-info:hover > .type-gradient__description > li {
416
- opacity: 0.99;
417
- }
418
-
419
- .type-gradient__chat-container {
420
- display: flex;
421
- align-items: center;
422
- gap: 8px;
423
- margin-top: 4px;
424
- }
425
- .type-gradient__chat-header > .title-bold {
426
- font-family: "Helvetica Neue", Arial;
427
- font-style: normal;
428
- font-size: 22px;
429
- line-height: 28px;
430
- color: #ffffff;
431
- opacity: 0.95;
432
- }
433
- .type-gradient__chat-header {
434
- font-family: "Helvetica Neue", Arial;
435
- font-style: normal;
436
- font-size: 22px;
437
- line-height: 28px;
438
- color: #ffffff;
439
- font-weight: 300;
440
- }
441
- .type-gradient__description {
442
- padding: 0;
443
- margin: 0;
444
- list-style: none;
445
- }
446
- .type-gradient__description > li {
447
- font-family: "Helvetica Neue", Arial;
448
- font-style: normal;
449
- font-weight: 300;
450
- font-size: 18px;
451
- line-height: 24px;
452
-
453
- color: #ffffff;
454
- opacity: 0.5;
455
- }
456
-
457
- .type-gradient__email {
458
- background: #000000;
459
- border-top: 1px solid #4d4d4d;
460
- border-bottom: 1px solid #4d4d4d;
461
- }
462
-
463
- .type-gradient__bottom-tab {
464
- font-family: "Helvetica Neue", Arial;
465
- font-style: normal;
466
- font-weight: 400;
467
- font-size: 16px;
468
- line-height: 18px;
469
- padding: 16px 20px;
470
-
471
- color: #ffffff;
472
- display: flex;
473
- align-items: center;
474
- gap: 10px;
475
- }
476
- .type-gradient__bottom-tab:hover {
477
- text-shadow: 0px 0px 5px rgba(255, 255, 255, 0.85);
478
- background: linear-gradient(265.11deg, #000000 16.43%, #3c3c3c 87.21%);
479
- }
480
- .type-gradient__icon {
481
- display: flex;
482
- justify-content: center;
483
- align-items: center;
484
- }
485
- .type-gradient__icon svg {
486
- color: #ffffff;
487
- }
488
-
489
- @media screen and (max-height: 750px) {
490
- .launcher__window-wrapper {
491
- bottom: 0;
492
- }
493
- }
494
- @media screen and (min-width: 1000px) {
495
- .inner-pill-wrapper {
496
- height: 50px;
497
- width: 164px;
498
- }
499
- }
500
- `;
@@ -1,162 +0,0 @@
1
- import { html, LitElement, TemplateResult } from "lit";
2
- import { customElement, property } from "lit/decorators.js";
3
- import { typeMobileStyles } from "./typeMobileStyles";
4
- import { styleMap } from "lit/directives/style-map.js";
5
- import { defaultBackgroundColor, defaultPrimaryColor } from "../../themes";
6
- import { EmailOutlineIcon } from "../icons/EmailOutlineIcon";
7
- import { PhoneOutlineIcon } from "../icons/PhoneOutlineIcon";
8
- import { BookTourOutlineIcon } from "../icons/BookTourOutlineIcon";
9
- import { ChatOutlineIcon } from "../icons/ChatOutlineIcon";
10
- import { ApplyOutlineIcon } from "../icons/ApplyOutlineIcon";
11
- import { CalculatorOutlineIcon } from "../icons/CalculatorOutlineIcon";
12
-
13
- @customElement("mobile-launcher")
14
- export class MobileLauncher extends LitElement {
15
- static styles = [typeMobileStyles];
16
-
17
- @property({ attribute: true })
18
- onClickMinimize: () => void = () => {
19
- return;
20
- };
21
-
22
- @property({ attribute: true })
23
- onClickEmailOption: (e: MouseEvent) => void = () => {
24
- return;
25
- };
26
- @property({ attribute: true })
27
- onClickPhoneOption: (e: MouseEvent) => void = () => {
28
- return;
29
- };
30
- @property({ attribute: true })
31
- onClickSSTOption: (e: MouseEvent) => void = () => {
32
- return;
33
- };
34
- @property({ attribute: true })
35
- onClickApplyNowOption: (e: MouseEvent) => void = () => {
36
- return;
37
- };
38
- @property({ attribute: true })
39
- onClickPriceCalculatorOption: (e: MouseEvent) => void = () => {
40
- return;
41
- };
42
- @property({ attribute: true })
43
- onChatTapped: (e: MouseEvent) => void = () => {
44
- return;
45
- };
46
-
47
- @property({ attribute: true })
48
- hideChat = false;
49
-
50
- @property({ attribute: true })
51
- isMobileDesign = false;
52
-
53
- @property({ attribute: true })
54
- primaryColor: string = defaultPrimaryColor;
55
-
56
- @property({ attribute: true })
57
- backgroundColor: string = defaultBackgroundColor;
58
-
59
- @property({ attribute: true })
60
- hasChatEnabled = false;
61
-
62
- @property({ attribute: true })
63
- hasEmailEnabled = false;
64
-
65
- @property({ attribute: true })
66
- hasCallUsEnabled = false;
67
-
68
- @property({ attribute: true })
69
- hasTextUsEnabled = false;
70
-
71
- @property({ attribute: true })
72
- hasSSTEnabled = false;
73
-
74
- @property({ attribute: true })
75
- hasApplyNowEnabled = false;
76
-
77
- @property({ attribute: true })
78
- hasPricingCalculatorEnabled = false;
79
-
80
- @property({ attribute: true })
81
- applicationLink = "";
82
-
83
- @property({ attribute: true })
84
- overrideRentgrata = false;
85
-
86
- @property({ attribute: true })
87
- foregroundColorOnSecondaryBackgroundColor = "black";
88
-
89
- private renderListElement = (
90
- isEnabled: boolean,
91
- onClick: (e: MouseEvent) => void,
92
- icon: TemplateResult<2> // is an svg icon in lit
93
- ) => {
94
- if (!isEnabled) {
95
- return "";
96
- }
97
- return html` <li
98
- @click=${onClick}
99
- class="typeMobile-bttn"
100
- style=${styleMap({
101
- background: `${this.primaryColor}`,
102
- })}
103
- >
104
- <div
105
- class="typeMobile-inner"
106
- style=${styleMap({
107
- background: `${this.backgroundColor}`,
108
- })}
109
- >
110
- <div class="typeMobile-icon">${icon}</div>
111
- </div>
112
- </li>`;
113
- };
114
-
115
- render(): TemplateResult {
116
- return html`<div class="typeMobile-list">
117
- <ul>
118
- ${this.renderListElement(
119
- !!(this.hasApplyNowEnabled && this.applicationLink),
120
- this.onClickApplyNowOption,
121
- ApplyOutlineIcon(this.foregroundColorOnSecondaryBackgroundColor)
122
- )}
123
- ${this.renderListElement(
124
- this.hasPricingCalculatorEnabled,
125
- this.onClickPriceCalculatorOption,
126
- CalculatorOutlineIcon("black")
127
- )}
128
- ${this.renderListElement(
129
- this.hasEmailEnabled,
130
- this.onClickEmailOption,
131
- EmailOutlineIcon(this.foregroundColorOnSecondaryBackgroundColor)
132
- )}
133
- ${this.renderListElement(
134
- this.hasCallUsEnabled || this.hasTextUsEnabled,
135
- this.onClickPhoneOption,
136
- PhoneOutlineIcon(this.foregroundColorOnSecondaryBackgroundColor)
137
- )}
138
- ${this.renderListElement(
139
- this.hasSSTEnabled,
140
- this.onClickSSTOption,
141
- BookTourOutlineIcon(this.foregroundColorOnSecondaryBackgroundColor)
142
- )}
143
- ${this.renderListElement(
144
- this.hasChatEnabled && !this.hideChat, // hide chat if under talkjs popup
145
- this.onChatTapped,
146
- ChatOutlineIcon(this.foregroundColorOnSecondaryBackgroundColor)
147
- )}
148
- ${!this.isMobileDesign && !this.hideChat
149
- ? html`
150
- <li>
151
- <minimize-expand-button
152
- .onClick=${this.onClickMinimize}
153
- .primaryColor=${this.primaryColor}
154
- .toExpand=${true}
155
- ></minimize-expand-button>
156
- </li>
157
- `
158
- : ""}
159
- </ul>
160
- </div>`;
161
- }
162
- }