@meetelise/chat 1.34.7 → 1.35.1
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/dist/src/MyPubnub.d.ts +116 -0
- package/dist/src/WebComponent/FeeCalculator/components/addons/addon-item-matrix-qty-selector/addon-item-matrix-qty-selector-styles.d.ts +2 -0
- package/dist/src/WebComponent/FeeCalculator/components/addons/addon-item-matrix-qty-selector/addon-item-matrix-qty-selector.d.ts +28 -0
- package/dist/src/WebComponent/FeeCalculator/components/addons/addon-item-qty-selector/addon-item-qty-selector-styles.d.ts +2 -0
- package/dist/src/WebComponent/FeeCalculator/components/addons/addon-item-qty-selector/addon-item-qty-selector.d.ts +18 -0
- package/dist/src/WebComponent/FeeCalculator/components/addons/common-addon-styles.d.ts +2 -0
- package/dist/src/WebComponent/FeeCalculator/components/addons/rentable-item-qty-selector/rentable-item-qty-selector-styles.d.ts +2 -0
- package/dist/src/WebComponent/FeeCalculator/components/addons/rentable-item-qty-selector/rentable-item-qty-selector.d.ts +22 -0
- package/dist/src/WebComponent/FeeCalculator/components/fee-calculator-layout/fee-calculator-layout-styles.d.ts +2 -0
- package/dist/src/WebComponent/FeeCalculator/components/fee-calculator-layout/fee-calculator-layout.d.ts +46 -0
- package/dist/src/WebComponent/FeeCalculator/components/fee-card/fee-card-styles.d.ts +2 -0
- package/dist/src/WebComponent/FeeCalculator/components/fee-card/fee-card.d.ts +21 -0
- package/dist/src/WebComponent/FeeCalculator/components/fee-item/fee-item-styles.d.ts +2 -0
- package/dist/src/WebComponent/FeeCalculator/components/fee-item/fee-item.d.ts +13 -0
- package/dist/src/WebComponent/FeeCalculator/components/floor-plan-selector/floor-plan-selector-styles.d.ts +2 -0
- package/dist/src/WebComponent/FeeCalculator/components/floor-plan-selector/floor-plan-selector.d.ts +34 -0
- package/dist/src/WebComponent/FeeCalculator/components/floorplan-image-card/floorplan-image-card-styles.d.ts +2 -0
- package/dist/src/WebComponent/FeeCalculator/components/floorplan-image-card/floorplan-image-card.d.ts +18 -0
- package/dist/src/WebComponent/FeeCalculator/components/incentive-banner/incentive-banner-styles.d.ts +1 -0
- package/dist/src/WebComponent/FeeCalculator/components/incentive-banner/incentive-banner.d.ts +8 -0
- package/dist/src/WebComponent/FeeCalculator/components/incentive-banner/index.d.ts +1 -0
- package/dist/src/WebComponent/FeeCalculator/components/index.d.ts +5 -0
- package/dist/src/WebComponent/FeeCalculator/components/promo-card/promo-card-styles.d.ts +2 -0
- package/dist/src/WebComponent/FeeCalculator/components/promo-card/promo-card.d.ts +13 -0
- package/dist/src/WebComponent/FeeCalculator/constants.d.ts +3 -0
- package/dist/src/WebComponent/FeeCalculator/fee-calculator-styles.d.ts +1 -0
- package/dist/src/WebComponent/FeeCalculator/fee-calculator.d.ts +55 -0
- package/dist/src/WebComponent/FeeCalculator/index.d.ts +2 -0
- package/dist/src/WebComponent/FeeCalculator/model/building-fee-view.d.ts +41 -0
- package/dist/src/WebComponent/FeeCalculator/model/building-fee.d.ts +82 -0
- package/dist/src/WebComponent/FeeCalculator/model/desired-addon.d.ts +5 -0
- package/dist/src/WebComponent/FeeCalculator/model/desired-rentable-item.d.ts +4 -0
- package/dist/src/WebComponent/FeeCalculator/model/index.d.ts +13 -0
- package/dist/src/WebComponent/FeeCalculator/model/item-combination.d.ts +6 -0
- package/dist/src/WebComponent/FeeCalculator/model/item-quantity.d.ts +4 -0
- package/dist/src/WebComponent/FeeCalculator/model/pricing-matrix.d.ts +18 -0
- package/dist/src/WebComponent/FeeCalculator/model/pricing-rule.d.ts +8 -0
- package/dist/src/WebComponent/FeeCalculator/model/rent-frequency.d.ts +1 -0
- package/dist/src/WebComponent/FeeCalculator/model/rentable-item-summary.d.ts +9 -0
- package/dist/src/WebComponent/FeeCalculator/model/rentable-item.d.ts +9 -0
- package/dist/src/WebComponent/FeeCalculator/model/transaction-category.d.ts +23 -0
- package/dist/src/WebComponent/FeeCalculator/model/unit-fee-bundle.d.ts +31 -0
- package/dist/src/WebComponent/LeadSourceClient.d.ts +46 -0
- package/dist/src/WebComponent/OfficeHours.d.ts +21 -0
- package/dist/src/WebComponent/Scheduler/date-picker.d.ts +28 -0
- package/dist/src/WebComponent/Scheduler/time-picker.d.ts +16 -0
- package/dist/src/WebComponent/Scheduler/tour-scheduler.d.ts +102 -0
- package/dist/src/WebComponent/Scheduler/tour-type-option.d.ts +13 -0
- package/dist/src/WebComponent/Scheduler/tourSchedulerStyles.d.ts +1 -0
- package/dist/src/WebComponent/actions/InputStyles.d.ts +1 -0
- package/dist/src/WebComponent/actions/action-confirm-button.d.ts +13 -0
- package/dist/src/WebComponent/actions/call-us-window.d.ts +37 -0
- package/dist/src/WebComponent/actions/collapse-expand-button.d.ts +8 -0
- package/dist/src/WebComponent/actions/details-window.d.ts +14 -0
- package/dist/src/WebComponent/actions/email-us-window.d.ts +46 -0
- package/dist/src/WebComponent/actions/formatPhoneNumber.d.ts +17 -0
- package/dist/src/WebComponent/actions/minimize-expand-button.d.ts +8 -0
- package/dist/src/WebComponent/chat-additional-actions.d.ts +28 -0
- package/dist/src/WebComponent/health-chat.d.ts +47 -0
- package/dist/src/WebComponent/healthchat-styles.d.ts +1 -0
- package/dist/src/WebComponent/icons/ApplyOutlineIcon.d.ts +2 -0
- package/dist/src/WebComponent/icons/BookTourOutlineIcon.d.ts +2 -0
- package/dist/src/WebComponent/icons/CalculatorOutlineIcon.d.ts +2 -0
- package/dist/src/WebComponent/icons/ChatOutlineIcon.d.ts +2 -0
- package/dist/src/WebComponent/icons/ChevronLeftIcon.d.ts +2 -0
- package/dist/src/WebComponent/icons/ChevronRightIcon.d.ts +2 -0
- package/dist/src/WebComponent/icons/ContactResidentIcon.d.ts +2 -0
- package/dist/src/WebComponent/icons/DollarOutlineIcon.d.ts +7 -0
- package/dist/src/WebComponent/icons/EmailOutlineIcon.d.ts +2 -0
- package/dist/src/WebComponent/icons/HeyThereEmojiIcon.d.ts +2 -0
- package/dist/src/WebComponent/icons/PhoneOutlineIcon.d.ts +2 -0
- package/dist/src/WebComponent/icons/SendMessageIcon.d.ts +3 -0
- package/dist/src/WebComponent/icons/TourSelfGuidedIcon.d.ts +2 -0
- package/dist/src/WebComponent/icons/TourVirtuallyIcon.d.ts +2 -0
- package/dist/src/WebComponent/icons/TourWithAgentIcon.d.ts +2 -0
- package/dist/src/WebComponent/icons/XOutlineIcon.d.ts +2 -0
- package/dist/src/WebComponent/index.d.ts +2 -0
- package/dist/src/WebComponent/launcher/Launcher.d.ts +99 -0
- package/dist/src/WebComponent/launcher/launcherStyles.d.ts +1 -0
- package/dist/src/WebComponent/launcher/mobile-launcher.d.ts +27 -0
- package/dist/src/WebComponent/launcher/typeEmojiStyles.d.ts +1 -0
- package/dist/src/WebComponent/launcher/typeMiniStyles.d.ts +1 -0
- package/dist/src/WebComponent/launcher/typeMobileStyles.d.ts +1 -0
- package/dist/src/WebComponent/leasing-chat-styles.d.ts +1 -0
- package/dist/src/WebComponent/loaders/index.d.ts +4 -0
- package/dist/src/WebComponent/loaders/mega-loader.d.ts +7 -0
- package/dist/src/WebComponent/loaders/skeleton-card.d.ts +12 -0
- package/dist/src/WebComponent/loaders/skeleton-loader-styles.d.ts +3 -0
- package/dist/src/WebComponent/loaders/skeleton-loader.d.ts +13 -0
- package/dist/src/WebComponent/me-chat.d.ts +91 -0
- package/dist/src/WebComponent/me-select.d.ts +24 -0
- package/dist/src/WebComponent/mini-loader.d.ts +5 -0
- package/dist/src/WebComponent/pubnub-chat-styles.d.ts +1 -0
- package/dist/src/WebComponent/pubnub-chat.d.ts +48 -0
- package/dist/src/WebComponent/pubnub-media.d.ts +14 -0
- package/dist/src/WebComponent/pubnub-message-styles.d.ts +1 -0
- package/dist/src/WebComponent/pubnub-message.d.ts +39 -0
- package/dist/src/WebComponent/simple-launcher/simple-launcher-styles.d.ts +1 -0
- package/dist/src/WebComponent/simple-launcher/simple-launcher.d.ts +12 -0
- package/dist/src/WebComponent/utilities-chat.d.ts +47 -0
- package/dist/src/WebComponent/utilities-styles.d.ts +1 -0
- package/dist/src/WebComponent/utils.d.ts +31 -0
- package/dist/src/analytics.d.ts +64 -0
- package/dist/src/disclaimers.d.ts +16 -0
- package/dist/src/fetchBuildingABTestType.d.ts +8 -0
- package/dist/src/fetchBuildingInfo.d.ts +58 -0
- package/dist/src/fetchBuildingWebchatView.d.ts +124 -0
- package/dist/src/fetchFeatureFlag.d.ts +14 -0
- package/dist/src/fetchLeadSources.d.ts +4 -0
- package/dist/src/fetchPhoneNumberFromSource.d.ts +6 -0
- package/dist/src/getAvailabilities.d.ts +46 -0
- package/dist/src/getBuildingPhoneNumber.d.ts +1 -0
- package/dist/src/getShouldAllowScheduling.d.ts +1 -0
- package/dist/src/getShouldShowWebchat.d.ts +3 -0
- package/dist/src/getTimezoneString.d.ts +1 -0
- package/dist/src/globals.d.ts +2 -0
- package/dist/src/gtm.d.ts +6 -0
- package/dist/src/handleChatId.d.ts +11 -0
- package/dist/src/insertDNIIntoWebsite.d.ts +5 -0
- package/dist/src/insertLeadSourceIntoSchedulerLinks.d.ts +4 -0
- package/dist/src/main/MEChat.d.ts +74 -0
- package/dist/src/main/utils.d.ts +2 -0
- package/dist/src/postLeadSources.d.ts +3 -0
- package/dist/src/rentgrata.d.ts +4 -0
- package/dist/src/replaceSelectButtonsWithNewLink.d.ts +5 -0
- package/dist/src/services/fees/calculateQuote.d.ts +14 -0
- package/dist/src/services/fees/fetchBuildingFeesV2.d.ts +10 -0
- package/dist/src/services/fees/fetchBuildingUnits.d.ts +29 -0
- package/dist/src/services/fees/utils.d.ts +1 -0
- package/dist/src/svgIcons.d.ts +5 -0
- package/dist/src/themes.d.ts +5 -0
- package/dist/src/types/incentive-v2.d.ts +23 -0
- package/dist/src/types/rest-sdk.types.d.ts +11 -0
- package/dist/src/types/webchat-no-show-reason.d.ts +1 -0
- package/dist/src/utils/getWidgetOverrides.d.ts +39 -0
- package/dist/src/utils/queryParamBuilder.d.ts +8 -0
- package/dist/src/utils.d.ts +13 -0
- package/package.json +1 -1
- package/public/dist/index.js +41 -41
- package/src/MyPubnub.ts +792 -0
- package/src/WebComponent/FeeCalculator/components/addons/addon-item-matrix-qty-selector/addon-item-matrix-qty-selector-styles.ts +35 -0
- package/src/WebComponent/FeeCalculator/components/addons/addon-item-matrix-qty-selector/addon-item-matrix-qty-selector.ts +206 -0
- package/src/WebComponent/FeeCalculator/components/addons/addon-item-qty-selector/addon-item-qty-selector-styles.ts +6 -0
- package/src/WebComponent/FeeCalculator/components/addons/addon-item-qty-selector/addon-item-qty-selector.ts +101 -0
- package/src/WebComponent/FeeCalculator/components/addons/common-addon-styles.ts +82 -0
- package/src/WebComponent/FeeCalculator/components/addons/rentable-item-qty-selector/rentable-item-qty-selector-styles.ts +9 -0
- package/src/WebComponent/FeeCalculator/components/addons/rentable-item-qty-selector/rentable-item-qty-selector.ts +124 -0
- package/src/WebComponent/FeeCalculator/components/fee-calculator-layout/fee-calculator-layout-styles.ts +142 -0
- package/src/WebComponent/FeeCalculator/components/fee-calculator-layout/fee-calculator-layout.ts +243 -0
- package/src/WebComponent/FeeCalculator/components/fee-card/fee-card-styles.ts +65 -0
- package/src/WebComponent/FeeCalculator/components/fee-card/fee-card.ts +91 -0
- package/src/WebComponent/FeeCalculator/components/fee-item/fee-item-styles.ts +44 -0
- package/src/WebComponent/FeeCalculator/components/fee-item/fee-item.ts +38 -0
- package/src/WebComponent/FeeCalculator/components/floor-plan-selector/floor-plan-selector-styles.ts +151 -0
- package/src/WebComponent/FeeCalculator/components/floor-plan-selector/floor-plan-selector.ts +248 -0
- package/src/WebComponent/FeeCalculator/components/floorplan-image-card/floorplan-image-card-styles.ts +82 -0
- package/src/WebComponent/FeeCalculator/components/floorplan-image-card/floorplan-image-card.ts +76 -0
- package/src/WebComponent/FeeCalculator/components/incentive-banner/incentive-banner-styles.ts +40 -0
- package/src/WebComponent/FeeCalculator/components/incentive-banner/incentive-banner.ts +43 -0
- package/src/WebComponent/FeeCalculator/components/incentive-banner/index.ts +1 -0
- package/src/WebComponent/FeeCalculator/components/index.ts +5 -0
- package/src/WebComponent/FeeCalculator/components/promo-card/promo-card-styles.ts +39 -0
- package/src/WebComponent/FeeCalculator/components/promo-card/promo-card.ts +39 -0
- package/src/WebComponent/FeeCalculator/constants.ts +5 -0
- package/src/WebComponent/FeeCalculator/fee-calculator-styles.ts +310 -0
- package/src/WebComponent/FeeCalculator/fee-calculator.ts +341 -0
- package/src/WebComponent/FeeCalculator/index.ts +4 -0
- package/src/WebComponent/FeeCalculator/model/building-fee-view.ts +84 -0
- package/src/WebComponent/FeeCalculator/model/building-fee.ts +126 -0
- package/src/WebComponent/FeeCalculator/model/desired-addon.ts +6 -0
- package/src/WebComponent/FeeCalculator/model/desired-rentable-item.ts +4 -0
- package/src/WebComponent/FeeCalculator/model/index.ts +13 -0
- package/src/WebComponent/FeeCalculator/model/item-combination.ts +16 -0
- package/src/WebComponent/FeeCalculator/model/item-quantity.ts +4 -0
- package/src/WebComponent/FeeCalculator/model/pricing-matrix.ts +45 -0
- package/src/WebComponent/FeeCalculator/model/pricing-rule.ts +9 -0
- package/src/WebComponent/FeeCalculator/model/rent-frequency.ts +1 -0
- package/src/WebComponent/FeeCalculator/model/rentable-item-summary.ts +10 -0
- package/src/WebComponent/FeeCalculator/model/rentable-item.ts +10 -0
- package/src/WebComponent/FeeCalculator/model/transaction-category.ts +23 -0
- package/src/WebComponent/FeeCalculator/model/unit-fee-bundle.ts +54 -0
- package/src/WebComponent/LeadSourceClient.ts +332 -0
- package/src/WebComponent/MEChat.css +5 -0
- package/src/WebComponent/OfficeHours.ts +73 -0
- package/src/WebComponent/Scheduler/date-picker.ts +405 -0
- package/src/WebComponent/Scheduler/time-picker.ts +195 -0
- package/src/WebComponent/Scheduler/tour-scheduler.ts +1430 -0
- package/src/WebComponent/Scheduler/tour-type-option.ts +112 -0
- package/src/WebComponent/Scheduler/tourSchedulerStyles.ts +418 -0
- package/src/WebComponent/actions/InputStyles.ts +57 -0
- package/src/WebComponent/actions/action-confirm-button.ts +125 -0
- package/src/WebComponent/actions/call-us-window.ts +467 -0
- package/src/WebComponent/actions/collapse-expand-button.ts +65 -0
- package/src/WebComponent/actions/details-window.ts +150 -0
- package/src/WebComponent/actions/email-us-window.ts +556 -0
- package/src/WebComponent/actions/formatPhoneNumber.ts +72 -0
- package/src/WebComponent/actions/minimize-expand-button.ts +93 -0
- package/src/WebComponent/chat-additional-actions.ts +135 -0
- package/src/WebComponent/health-chat.ts +270 -0
- package/src/WebComponent/healthchat-styles.ts +119 -0
- package/src/WebComponent/icons/ApplyOutlineIcon.ts +22 -0
- package/src/WebComponent/icons/BookTourOutlineIcon.ts +13 -0
- package/src/WebComponent/icons/CalculatorOutlineIcon.ts +22 -0
- package/src/WebComponent/icons/ChatOutlineIcon.ts +10 -0
- package/src/WebComponent/icons/ChevronLeftIcon.ts +7 -0
- package/src/WebComponent/icons/ChevronRightIcon.ts +7 -0
- package/src/WebComponent/icons/ContactResidentIcon.ts +9 -0
- package/src/WebComponent/icons/DollarOutlineIcon.ts +26 -0
- package/src/WebComponent/icons/EmailOutlineIcon.ts +7 -0
- package/src/WebComponent/icons/HeyThereEmojiIcon.ts +12 -0
- package/src/WebComponent/icons/PhoneOutlineIcon.ts +7 -0
- package/src/WebComponent/icons/SendMessageIcon.ts +17 -0
- package/src/WebComponent/icons/TourSelfGuidedIcon.ts +17 -0
- package/src/WebComponent/icons/TourVirtuallyIcon.ts +17 -0
- package/src/WebComponent/icons/TourWithAgentIcon.ts +17 -0
- package/src/WebComponent/icons/XOutlineIcon.ts +8 -0
- package/src/WebComponent/index.ts +2 -0
- package/src/WebComponent/launcher/Launcher.ts +1284 -0
- package/src/WebComponent/launcher/launcherStyles.ts +500 -0
- package/src/WebComponent/launcher/mobile-launcher.ts +162 -0
- package/src/WebComponent/launcher/typeEmojiStyles.ts +161 -0
- package/src/WebComponent/launcher/typeMiniStyles.ts +60 -0
- package/src/WebComponent/launcher/typeMobileStyles.ts +50 -0
- package/src/WebComponent/leasing-chat-styles.ts +114 -0
- package/src/WebComponent/loaders/index.ts +7 -0
- package/src/WebComponent/loaders/mega-loader.ts +36 -0
- package/src/WebComponent/loaders/skeleton-card.ts +31 -0
- package/src/WebComponent/loaders/skeleton-loader-styles.ts +112 -0
- package/src/WebComponent/loaders/skeleton-loader.ts +34 -0
- package/src/WebComponent/me-chat.ts +1264 -0
- package/src/WebComponent/me-select.ts +322 -0
- package/src/WebComponent/mini-loader.ts +28 -0
- package/src/WebComponent/pubnub-chat-styles.ts +204 -0
- package/src/WebComponent/pubnub-chat.ts +771 -0
- package/src/WebComponent/pubnub-media.ts +208 -0
- package/src/WebComponent/pubnub-message-styles.ts +54 -0
- package/src/WebComponent/pubnub-message.ts +431 -0
- package/src/WebComponent/simple-launcher/simple-launcher-styles.ts +34 -0
- package/src/WebComponent/simple-launcher/simple-launcher.ts +100 -0
- package/src/WebComponent/utilities-chat.ts +270 -0
- package/src/WebComponent/utilities-styles.ts +110 -0
- package/src/WebComponent/utils.ts +82 -0
- package/src/analytics.ts +217 -0
- package/src/assetUrls.ts +6 -0
- package/src/disclaimers.ts +301 -0
- package/src/fetchBuildingABTestType.ts +21 -0
- package/src/fetchBuildingInfo.ts +88 -0
- package/src/fetchBuildingWebchatView.ts +176 -0
- package/src/fetchFeatureFlag.ts +250 -0
- package/src/fetchLeadSources.ts +98 -0
- package/src/fetchPhoneNumberFromSource.ts +31 -0
- package/src/fetchWebchatPreferences.ts +54 -0
- package/src/getAvailabilities.ts +189 -0
- package/src/getBuildingPhoneNumber.ts +26 -0
- package/src/getShouldAllowScheduling.ts +16 -0
- package/src/getShouldShowWebchat.ts +114 -0
- package/src/getTimezoneString.ts +40 -0
- package/src/globals.ts +3 -0
- package/src/gtm.ts +17 -0
- package/src/handleChatId.ts +101 -0
- package/src/insertDNIIntoWebsite.ts +146 -0
- package/src/insertLeadSourceIntoSchedulerLinks.ts +71 -0
- package/src/main/MEChat.test.ts +110 -0
- package/src/main/MEChat.ts +404 -0
- package/src/main/utils.ts +70 -0
- package/src/postLeadSources.ts +44 -0
- package/src/rentgrata.ts +74 -0
- package/src/replaceSelectButtonsWithNewLink.ts +91 -0
- package/src/services/fees/calculateQuote.ts +74 -0
- package/src/services/fees/fetchBuildingFees.ts +50 -0
- package/src/services/fees/fetchBuildingFeesV2.ts +56 -0
- package/src/services/fees/fetchBuildingFloorplans.ts +74 -0
- package/src/services/fees/fetchBuildingUnits.ts +86 -0
- package/src/services/fees/utils.ts +4 -0
- package/src/svgIcons.ts +14 -0
- package/src/themes.ts +65 -0
- package/src/types/incentive-v2.ts +24 -0
- package/src/types/rest-sdk.types.ts +13 -0
- package/src/types/webchat-no-show-reason.ts +6 -0
- package/src/utils/getWidgetOverrides.ts +91 -0
- package/src/utils/queryParamBuilder.ts +28 -0
- package/src/utils.ts +121 -0
|
@@ -0,0 +1,161 @@
|
|
|
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
|
+
`;
|
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
`;
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
`;
|
|
@@ -0,0 +1,114 @@
|
|
|
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
|
+
`;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { css, html, LitElement, TemplateResult } from "lit";
|
|
2
|
+
import { customElement, property } from "lit/decorators.js";
|
|
3
|
+
|
|
4
|
+
@customElement("mega-loader")
|
|
5
|
+
export class MegaLoader extends LitElement {
|
|
6
|
+
static styles = css`
|
|
7
|
+
.spinner {
|
|
8
|
+
border: 4px solid rgba(0, 0, 0, 0.2);
|
|
9
|
+
border-top: 4px solid var(--primary-color, #c057ff);
|
|
10
|
+
border-radius: 50%;
|
|
11
|
+
width: var(--mega-loader-size, 64px);
|
|
12
|
+
height: var(--mega-loader-size, 64px);
|
|
13
|
+
animation: spin 0.8s linear infinite;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@keyframes spin {
|
|
17
|
+
0% {
|
|
18
|
+
transform: rotate(0deg);
|
|
19
|
+
}
|
|
20
|
+
100% {
|
|
21
|
+
transform: rotate(360deg);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
`;
|
|
25
|
+
|
|
26
|
+
@property({ type: Number })
|
|
27
|
+
size = 64;
|
|
28
|
+
|
|
29
|
+
updated(): void {
|
|
30
|
+
this.style.setProperty("--mega-loader-size", `${this.size}px`);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
render(): TemplateResult {
|
|
34
|
+
return html`<div class="spinner"></div>`;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { LitElement, html, TemplateResult } from "lit";
|
|
2
|
+
import { customElement, property } from "lit/decorators.js";
|
|
3
|
+
import { skeletonCardStyles } from "./skeleton-loader-styles";
|
|
4
|
+
|
|
5
|
+
@customElement("skeleton-card")
|
|
6
|
+
export class SkeletonCard extends LitElement {
|
|
7
|
+
static styles = skeletonCardStyles;
|
|
8
|
+
|
|
9
|
+
@property({ type: Number })
|
|
10
|
+
rows = 2;
|
|
11
|
+
|
|
12
|
+
@property({ type: Boolean })
|
|
13
|
+
header = true;
|
|
14
|
+
|
|
15
|
+
render(): TemplateResult {
|
|
16
|
+
return html`
|
|
17
|
+
<div class="skeleton-card">
|
|
18
|
+
${this.header ? html`<div class="skeleton-header"></div>` : ""}
|
|
19
|
+
${Array(this.rows)
|
|
20
|
+
.fill(0)
|
|
21
|
+
.map(() => html`<div class="skeleton-row"></div>`)}
|
|
22
|
+
</div>
|
|
23
|
+
`;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
declare global {
|
|
28
|
+
interface HTMLElementTagNameMap {
|
|
29
|
+
"skeleton-card": SkeletonCard;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
|
|
3
|
+
const skeletonBase = css`
|
|
4
|
+
:host {
|
|
5
|
+
--skeleton-bg-color: #eaeaea;
|
|
6
|
+
--skeleton-highlight-color: #f5f5f5;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@keyframes shimmer {
|
|
10
|
+
0% {
|
|
11
|
+
background-position: -200px 0;
|
|
12
|
+
}
|
|
13
|
+
100% {
|
|
14
|
+
background-position: 200px 0;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
`;
|
|
18
|
+
|
|
19
|
+
export const skeletonCardStyles = css`
|
|
20
|
+
${skeletonBase}
|
|
21
|
+
|
|
22
|
+
:host {
|
|
23
|
+
display: block;
|
|
24
|
+
width: 100%;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.skeleton-card {
|
|
28
|
+
background-color: white;
|
|
29
|
+
border-radius: 4px;
|
|
30
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
31
|
+
padding: 16px;
|
|
32
|
+
width: 100%;
|
|
33
|
+
box-sizing: border-box;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.skeleton-header {
|
|
37
|
+
height: 24px;
|
|
38
|
+
width: 40%;
|
|
39
|
+
margin-bottom: 20px;
|
|
40
|
+
background: var(--skeleton-bg-color);
|
|
41
|
+
border-radius: 4px;
|
|
42
|
+
position: relative;
|
|
43
|
+
overflow: hidden;
|
|
44
|
+
animation: shimmer 2s infinite ease-in-out;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.skeleton-row {
|
|
48
|
+
height: 16px;
|
|
49
|
+
width: 100%;
|
|
50
|
+
background: var(--skeleton-bg-color);
|
|
51
|
+
border-radius: 4px;
|
|
52
|
+
margin-bottom: 12px;
|
|
53
|
+
position: relative;
|
|
54
|
+
overflow: hidden;
|
|
55
|
+
animation: shimmer 2s infinite ease-in-out;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.skeleton-row:last-child {
|
|
59
|
+
width: 70%;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.skeleton-header::after,
|
|
63
|
+
.skeleton-row::after {
|
|
64
|
+
content: "";
|
|
65
|
+
position: absolute;
|
|
66
|
+
top: 0;
|
|
67
|
+
left: 0;
|
|
68
|
+
width: 100%;
|
|
69
|
+
height: 100%;
|
|
70
|
+
background: linear-gradient(
|
|
71
|
+
90deg,
|
|
72
|
+
var(--skeleton-bg-color),
|
|
73
|
+
var(--skeleton-highlight-color),
|
|
74
|
+
var(--skeleton-bg-color)
|
|
75
|
+
);
|
|
76
|
+
background-size: 200px 100%;
|
|
77
|
+
animation: shimmer 2s infinite ease-in-out;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@media (max-width: 768px) {
|
|
81
|
+
.skeleton-card {
|
|
82
|
+
margin-bottom: 10px;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
`;
|
|
86
|
+
|
|
87
|
+
export const skeletonLoaderStyles = css`
|
|
88
|
+
${skeletonBase}
|
|
89
|
+
|
|
90
|
+
:host {
|
|
91
|
+
display: block;
|
|
92
|
+
width: 100%;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.skeleton-loader {
|
|
96
|
+
width: 100%;
|
|
97
|
+
display: flex;
|
|
98
|
+
flex-direction: column;
|
|
99
|
+
gap: 16px;
|
|
100
|
+
box-sizing: border-box;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@media (max-width: 768px) {
|
|
104
|
+
.skeleton-loader {
|
|
105
|
+
width: 100%;
|
|
106
|
+
padding: 0 10px;
|
|
107
|
+
box-sizing: border-box;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
`;
|
|
111
|
+
|
|
112
|
+
export default skeletonLoaderStyles;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { LitElement, html, TemplateResult } from "lit";
|
|
2
|
+
import { customElement, property } from "lit/decorators.js";
|
|
3
|
+
import { skeletonLoaderStyles } from "./skeleton-loader-styles";
|
|
4
|
+
import "./skeleton-card";
|
|
5
|
+
|
|
6
|
+
@customElement("skeleton-loader")
|
|
7
|
+
export class SkeletonLoader extends LitElement {
|
|
8
|
+
static styles = skeletonLoaderStyles;
|
|
9
|
+
|
|
10
|
+
@property({ type: Number })
|
|
11
|
+
cards = 3;
|
|
12
|
+
|
|
13
|
+
@property({ type: Array })
|
|
14
|
+
rowsPerCard = [3, 2, 1];
|
|
15
|
+
|
|
16
|
+
render(): TemplateResult {
|
|
17
|
+
return html`
|
|
18
|
+
<div class="skeleton-loader">
|
|
19
|
+
${Array.from({ length: this.cards }, (_, i) => {
|
|
20
|
+
const rowCount = Array.isArray(this.rowsPerCard)
|
|
21
|
+
? this.rowsPerCard[i] || 2
|
|
22
|
+
: this.rowsPerCard;
|
|
23
|
+
return html`<skeleton-card .rows=${rowCount}></skeleton-card>`;
|
|
24
|
+
})}
|
|
25
|
+
</div>
|
|
26
|
+
`;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare global {
|
|
31
|
+
interface HTMLElementTagNameMap {
|
|
32
|
+
"skeleton-loader": SkeletonLoader;
|
|
33
|
+
}
|
|
34
|
+
}
|