@meetelise/chat 1.34.2 → 1.34.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/public/dist/index.js +1 -1
- package/dist/src/MyPubnub.d.ts +0 -116
- package/dist/src/WebComponent/FeeCalculator/components/addons/addon-item-matrix-qty-selector/addon-item-matrix-qty-selector-styles.d.ts +0 -2
- package/dist/src/WebComponent/FeeCalculator/components/addons/addon-item-matrix-qty-selector/addon-item-matrix-qty-selector.d.ts +0 -28
- package/dist/src/WebComponent/FeeCalculator/components/addons/addon-item-qty-selector/addon-item-qty-selector-styles.d.ts +0 -2
- package/dist/src/WebComponent/FeeCalculator/components/addons/addon-item-qty-selector/addon-item-qty-selector.d.ts +0 -18
- package/dist/src/WebComponent/FeeCalculator/components/addons/common-addon-styles.d.ts +0 -2
- package/dist/src/WebComponent/FeeCalculator/components/addons/rentable-item-qty-selector/rentable-item-qty-selector-styles.d.ts +0 -2
- package/dist/src/WebComponent/FeeCalculator/components/addons/rentable-item-qty-selector/rentable-item-qty-selector.d.ts +0 -22
- package/dist/src/WebComponent/FeeCalculator/components/fee-calculator-layout/fee-calculator-layout-styles.d.ts +0 -2
- package/dist/src/WebComponent/FeeCalculator/components/fee-calculator-layout/fee-calculator-layout.d.ts +0 -46
- package/dist/src/WebComponent/FeeCalculator/components/fee-card/fee-card-styles.d.ts +0 -2
- package/dist/src/WebComponent/FeeCalculator/components/fee-card/fee-card.d.ts +0 -21
- package/dist/src/WebComponent/FeeCalculator/components/fee-item/fee-item-styles.d.ts +0 -2
- package/dist/src/WebComponent/FeeCalculator/components/fee-item/fee-item.d.ts +0 -13
- package/dist/src/WebComponent/FeeCalculator/components/floor-plan-selector/floor-plan-selector-styles.d.ts +0 -2
- package/dist/src/WebComponent/FeeCalculator/components/floor-plan-selector/floor-plan-selector.d.ts +0 -34
- package/dist/src/WebComponent/FeeCalculator/components/floorplan-image-card/floorplan-image-card-styles.d.ts +0 -2
- package/dist/src/WebComponent/FeeCalculator/components/floorplan-image-card/floorplan-image-card.d.ts +0 -18
- package/dist/src/WebComponent/FeeCalculator/components/incentive-banner/incentive-banner-styles.d.ts +0 -1
- package/dist/src/WebComponent/FeeCalculator/components/incentive-banner/incentive-banner.d.ts +0 -8
- package/dist/src/WebComponent/FeeCalculator/components/incentive-banner/index.d.ts +0 -1
- package/dist/src/WebComponent/FeeCalculator/components/index.d.ts +0 -5
- package/dist/src/WebComponent/FeeCalculator/components/promo-card/promo-card-styles.d.ts +0 -2
- package/dist/src/WebComponent/FeeCalculator/components/promo-card/promo-card.d.ts +0 -13
- package/dist/src/WebComponent/FeeCalculator/constants.d.ts +0 -3
- package/dist/src/WebComponent/FeeCalculator/fee-calculator-styles.d.ts +0 -1
- package/dist/src/WebComponent/FeeCalculator/fee-calculator.d.ts +0 -55
- package/dist/src/WebComponent/FeeCalculator/index.d.ts +0 -2
- package/dist/src/WebComponent/FeeCalculator/model/building-fee-view.d.ts +0 -41
- package/dist/src/WebComponent/FeeCalculator/model/building-fee.d.ts +0 -82
- package/dist/src/WebComponent/FeeCalculator/model/desired-addon.d.ts +0 -5
- package/dist/src/WebComponent/FeeCalculator/model/desired-rentable-item.d.ts +0 -4
- package/dist/src/WebComponent/FeeCalculator/model/index.d.ts +0 -13
- package/dist/src/WebComponent/FeeCalculator/model/item-combination.d.ts +0 -6
- package/dist/src/WebComponent/FeeCalculator/model/item-quantity.d.ts +0 -4
- package/dist/src/WebComponent/FeeCalculator/model/pricing-matrix.d.ts +0 -18
- package/dist/src/WebComponent/FeeCalculator/model/pricing-rule.d.ts +0 -8
- package/dist/src/WebComponent/FeeCalculator/model/rent-frequency.d.ts +0 -1
- package/dist/src/WebComponent/FeeCalculator/model/rentable-item-summary.d.ts +0 -9
- package/dist/src/WebComponent/FeeCalculator/model/rentable-item.d.ts +0 -9
- package/dist/src/WebComponent/FeeCalculator/model/transaction-category.d.ts +0 -23
- package/dist/src/WebComponent/FeeCalculator/model/unit-fee-bundle.d.ts +0 -31
- package/dist/src/WebComponent/LeadSourceClient.d.ts +0 -46
- package/dist/src/WebComponent/OfficeHours.d.ts +0 -21
- package/dist/src/WebComponent/Scheduler/date-picker.d.ts +0 -28
- package/dist/src/WebComponent/Scheduler/time-picker.d.ts +0 -14
- package/dist/src/WebComponent/Scheduler/tour-scheduler.d.ts +0 -101
- package/dist/src/WebComponent/Scheduler/tour-type-option.d.ts +0 -13
- package/dist/src/WebComponent/Scheduler/tourSchedulerStyles.d.ts +0 -1
- package/dist/src/WebComponent/actions/InputStyles.d.ts +0 -1
- package/dist/src/WebComponent/actions/action-confirm-button.d.ts +0 -13
- package/dist/src/WebComponent/actions/call-us-window.d.ts +0 -37
- package/dist/src/WebComponent/actions/collapse-expand-button.d.ts +0 -8
- package/dist/src/WebComponent/actions/details-window.d.ts +0 -14
- package/dist/src/WebComponent/actions/email-us-window.d.ts +0 -46
- package/dist/src/WebComponent/actions/formatPhoneNumber.d.ts +0 -17
- package/dist/src/WebComponent/actions/minimize-expand-button.d.ts +0 -8
- package/dist/src/WebComponent/chat-additional-actions.d.ts +0 -28
- package/dist/src/WebComponent/health-chat.d.ts +0 -47
- package/dist/src/WebComponent/healthchat-styles.d.ts +0 -1
- package/dist/src/WebComponent/icons/ApplyOutlineIcon.d.ts +0 -2
- package/dist/src/WebComponent/icons/BookTourOutlineIcon.d.ts +0 -2
- package/dist/src/WebComponent/icons/CalculatorOutlineIcon.d.ts +0 -2
- package/dist/src/WebComponent/icons/ChatOutlineIcon.d.ts +0 -2
- package/dist/src/WebComponent/icons/ChevronLeftIcon.d.ts +0 -2
- package/dist/src/WebComponent/icons/ChevronRightIcon.d.ts +0 -2
- package/dist/src/WebComponent/icons/ContactResidentIcon.d.ts +0 -2
- package/dist/src/WebComponent/icons/DollarOutlineIcon.d.ts +0 -7
- package/dist/src/WebComponent/icons/EmailOutlineIcon.d.ts +0 -2
- package/dist/src/WebComponent/icons/HeyThereEmojiIcon.d.ts +0 -2
- package/dist/src/WebComponent/icons/PhoneOutlineIcon.d.ts +0 -2
- package/dist/src/WebComponent/icons/SendMessageIcon.d.ts +0 -3
- package/dist/src/WebComponent/icons/TourSelfGuidedIcon.d.ts +0 -2
- package/dist/src/WebComponent/icons/TourVirtuallyIcon.d.ts +0 -2
- package/dist/src/WebComponent/icons/TourWithAgentIcon.d.ts +0 -2
- package/dist/src/WebComponent/icons/XOutlineIcon.d.ts +0 -2
- package/dist/src/WebComponent/index.d.ts +0 -2
- package/dist/src/WebComponent/launcher/Launcher.d.ts +0 -99
- package/dist/src/WebComponent/launcher/launcherStyles.d.ts +0 -1
- package/dist/src/WebComponent/launcher/mobile-launcher.d.ts +0 -27
- package/dist/src/WebComponent/launcher/typeEmojiStyles.d.ts +0 -1
- package/dist/src/WebComponent/launcher/typeMiniStyles.d.ts +0 -1
- package/dist/src/WebComponent/launcher/typeMobileStyles.d.ts +0 -1
- package/dist/src/WebComponent/leasing-chat-styles.d.ts +0 -1
- package/dist/src/WebComponent/loaders/index.d.ts +0 -4
- package/dist/src/WebComponent/loaders/mega-loader.d.ts +0 -7
- package/dist/src/WebComponent/loaders/skeleton-card.d.ts +0 -12
- package/dist/src/WebComponent/loaders/skeleton-loader-styles.d.ts +0 -3
- package/dist/src/WebComponent/loaders/skeleton-loader.d.ts +0 -13
- package/dist/src/WebComponent/me-chat.d.ts +0 -91
- package/dist/src/WebComponent/me-select.d.ts +0 -24
- package/dist/src/WebComponent/mini-loader.d.ts +0 -5
- package/dist/src/WebComponent/pubnub-chat-styles.d.ts +0 -1
- package/dist/src/WebComponent/pubnub-chat.d.ts +0 -49
- package/dist/src/WebComponent/pubnub-media.d.ts +0 -14
- package/dist/src/WebComponent/pubnub-message-styles.d.ts +0 -1
- package/dist/src/WebComponent/pubnub-message.d.ts +0 -39
- package/dist/src/WebComponent/simple-launcher/simple-launcher-styles.d.ts +0 -1
- package/dist/src/WebComponent/simple-launcher/simple-launcher.d.ts +0 -12
- package/dist/src/WebComponent/utilities-chat.d.ts +0 -47
- package/dist/src/WebComponent/utilities-styles.d.ts +0 -1
- package/dist/src/WebComponent/utils.d.ts +0 -31
- package/dist/src/analytics.d.ts +0 -64
- package/dist/src/disclaimers.d.ts +0 -9
- package/dist/src/fetchBuildingABTestType.d.ts +0 -8
- package/dist/src/fetchBuildingInfo.d.ts +0 -57
- package/dist/src/fetchBuildingWebchatView.d.ts +0 -124
- package/dist/src/fetchFeatureFlag.d.ts +0 -14
- package/dist/src/fetchLeadSources.d.ts +0 -4
- package/dist/src/fetchPhoneNumberFromSource.d.ts +0 -6
- package/dist/src/getAvailabilities.d.ts +0 -45
- package/dist/src/getBuildingPhoneNumber.d.ts +0 -1
- package/dist/src/getShouldAllowScheduling.d.ts +0 -1
- package/dist/src/getShouldShowWebchat.d.ts +0 -3
- package/dist/src/getTimezoneString.d.ts +0 -1
- package/dist/src/globals.d.ts +0 -2
- package/dist/src/gtm.d.ts +0 -6
- package/dist/src/handleChatId.d.ts +0 -11
- package/dist/src/insertDNIIntoWebsite.d.ts +0 -5
- package/dist/src/insertLeadSourceIntoSchedulerLinks.d.ts +0 -4
- package/dist/src/main/MEChat.d.ts +0 -74
- package/dist/src/main/utils.d.ts +0 -2
- package/dist/src/postLeadSources.d.ts +0 -3
- package/dist/src/rentgrata.d.ts +0 -4
- package/dist/src/replaceSelectButtonsWithNewLink.d.ts +0 -5
- package/dist/src/services/fees/calculateQuote.d.ts +0 -14
- package/dist/src/services/fees/fetchBuildingFeesV2.d.ts +0 -10
- package/dist/src/services/fees/fetchBuildingUnits.d.ts +0 -29
- package/dist/src/services/fees/utils.d.ts +0 -1
- package/dist/src/svgIcons.d.ts +0 -5
- package/dist/src/themes.d.ts +0 -5
- package/dist/src/types/incentive-v2.d.ts +0 -23
- package/dist/src/types/rest-sdk.types.d.ts +0 -11
- package/dist/src/types/webchat-no-show-reason.d.ts +0 -1
- package/dist/src/utils/queryParamBuilder.d.ts +0 -8
- package/dist/src/utils.d.ts +0 -13
- package/src/MyPubnub.ts +0 -792
- package/src/WebComponent/FeeCalculator/components/addons/addon-item-matrix-qty-selector/addon-item-matrix-qty-selector-styles.ts +0 -35
- package/src/WebComponent/FeeCalculator/components/addons/addon-item-matrix-qty-selector/addon-item-matrix-qty-selector.ts +0 -206
- package/src/WebComponent/FeeCalculator/components/addons/addon-item-qty-selector/addon-item-qty-selector-styles.ts +0 -6
- package/src/WebComponent/FeeCalculator/components/addons/addon-item-qty-selector/addon-item-qty-selector.ts +0 -101
- package/src/WebComponent/FeeCalculator/components/addons/common-addon-styles.ts +0 -82
- package/src/WebComponent/FeeCalculator/components/addons/rentable-item-qty-selector/rentable-item-qty-selector-styles.ts +0 -9
- package/src/WebComponent/FeeCalculator/components/addons/rentable-item-qty-selector/rentable-item-qty-selector.ts +0 -124
- package/src/WebComponent/FeeCalculator/components/fee-calculator-layout/fee-calculator-layout-styles.ts +0 -142
- package/src/WebComponent/FeeCalculator/components/fee-calculator-layout/fee-calculator-layout.ts +0 -243
- package/src/WebComponent/FeeCalculator/components/fee-card/fee-card-styles.ts +0 -65
- package/src/WebComponent/FeeCalculator/components/fee-card/fee-card.ts +0 -91
- package/src/WebComponent/FeeCalculator/components/fee-item/fee-item-styles.ts +0 -44
- package/src/WebComponent/FeeCalculator/components/fee-item/fee-item.ts +0 -38
- package/src/WebComponent/FeeCalculator/components/floor-plan-selector/floor-plan-selector-styles.ts +0 -151
- package/src/WebComponent/FeeCalculator/components/floor-plan-selector/floor-plan-selector.ts +0 -248
- package/src/WebComponent/FeeCalculator/components/floorplan-image-card/floorplan-image-card-styles.ts +0 -82
- package/src/WebComponent/FeeCalculator/components/floorplan-image-card/floorplan-image-card.ts +0 -76
- package/src/WebComponent/FeeCalculator/components/incentive-banner/incentive-banner-styles.ts +0 -40
- package/src/WebComponent/FeeCalculator/components/incentive-banner/incentive-banner.ts +0 -43
- package/src/WebComponent/FeeCalculator/components/incentive-banner/index.ts +0 -1
- package/src/WebComponent/FeeCalculator/components/index.ts +0 -5
- package/src/WebComponent/FeeCalculator/components/promo-card/promo-card-styles.ts +0 -39
- package/src/WebComponent/FeeCalculator/components/promo-card/promo-card.ts +0 -39
- package/src/WebComponent/FeeCalculator/constants.ts +0 -5
- package/src/WebComponent/FeeCalculator/fee-calculator-styles.ts +0 -310
- package/src/WebComponent/FeeCalculator/fee-calculator.ts +0 -341
- package/src/WebComponent/FeeCalculator/index.ts +0 -4
- package/src/WebComponent/FeeCalculator/model/building-fee-view.ts +0 -84
- package/src/WebComponent/FeeCalculator/model/building-fee.ts +0 -126
- package/src/WebComponent/FeeCalculator/model/desired-addon.ts +0 -6
- package/src/WebComponent/FeeCalculator/model/desired-rentable-item.ts +0 -4
- package/src/WebComponent/FeeCalculator/model/index.ts +0 -13
- package/src/WebComponent/FeeCalculator/model/item-combination.ts +0 -16
- package/src/WebComponent/FeeCalculator/model/item-quantity.ts +0 -4
- package/src/WebComponent/FeeCalculator/model/pricing-matrix.ts +0 -45
- package/src/WebComponent/FeeCalculator/model/pricing-rule.ts +0 -9
- package/src/WebComponent/FeeCalculator/model/rent-frequency.ts +0 -1
- package/src/WebComponent/FeeCalculator/model/rentable-item-summary.ts +0 -10
- package/src/WebComponent/FeeCalculator/model/rentable-item.ts +0 -10
- package/src/WebComponent/FeeCalculator/model/transaction-category.ts +0 -23
- package/src/WebComponent/FeeCalculator/model/unit-fee-bundle.ts +0 -54
- package/src/WebComponent/LeadSourceClient.ts +0 -332
- package/src/WebComponent/MEChat.css +0 -5
- package/src/WebComponent/OfficeHours.ts +0 -73
- package/src/WebComponent/Scheduler/date-picker.ts +0 -405
- package/src/WebComponent/Scheduler/time-picker.ts +0 -190
- package/src/WebComponent/Scheduler/tour-scheduler.ts +0 -1416
- package/src/WebComponent/Scheduler/tour-type-option.ts +0 -112
- package/src/WebComponent/Scheduler/tourSchedulerStyles.ts +0 -418
- package/src/WebComponent/actions/InputStyles.ts +0 -57
- package/src/WebComponent/actions/action-confirm-button.ts +0 -125
- package/src/WebComponent/actions/call-us-window.ts +0 -467
- package/src/WebComponent/actions/collapse-expand-button.ts +0 -65
- package/src/WebComponent/actions/details-window.ts +0 -150
- package/src/WebComponent/actions/email-us-window.ts +0 -556
- package/src/WebComponent/actions/formatPhoneNumber.ts +0 -72
- package/src/WebComponent/actions/minimize-expand-button.ts +0 -93
- package/src/WebComponent/chat-additional-actions.ts +0 -135
- package/src/WebComponent/health-chat.ts +0 -270
- package/src/WebComponent/healthchat-styles.ts +0 -119
- package/src/WebComponent/icons/ApplyOutlineIcon.ts +0 -22
- package/src/WebComponent/icons/BookTourOutlineIcon.ts +0 -13
- package/src/WebComponent/icons/CalculatorOutlineIcon.ts +0 -22
- package/src/WebComponent/icons/ChatOutlineIcon.ts +0 -10
- package/src/WebComponent/icons/ChevronLeftIcon.ts +0 -7
- package/src/WebComponent/icons/ChevronRightIcon.ts +0 -7
- package/src/WebComponent/icons/ContactResidentIcon.ts +0 -9
- package/src/WebComponent/icons/DollarOutlineIcon.ts +0 -26
- package/src/WebComponent/icons/EmailOutlineIcon.ts +0 -7
- package/src/WebComponent/icons/HeyThereEmojiIcon.ts +0 -12
- package/src/WebComponent/icons/PhoneOutlineIcon.ts +0 -7
- package/src/WebComponent/icons/SendMessageIcon.ts +0 -17
- package/src/WebComponent/icons/TourSelfGuidedIcon.ts +0 -17
- package/src/WebComponent/icons/TourVirtuallyIcon.ts +0 -17
- package/src/WebComponent/icons/TourWithAgentIcon.ts +0 -17
- package/src/WebComponent/icons/XOutlineIcon.ts +0 -8
- package/src/WebComponent/index.ts +0 -2
- package/src/WebComponent/launcher/Launcher.ts +0 -1284
- package/src/WebComponent/launcher/launcherStyles.ts +0 -500
- package/src/WebComponent/launcher/mobile-launcher.ts +0 -162
- package/src/WebComponent/launcher/typeEmojiStyles.ts +0 -161
- package/src/WebComponent/launcher/typeMiniStyles.ts +0 -60
- package/src/WebComponent/launcher/typeMobileStyles.ts +0 -50
- package/src/WebComponent/leasing-chat-styles.ts +0 -114
- package/src/WebComponent/loaders/index.ts +0 -7
- package/src/WebComponent/loaders/mega-loader.ts +0 -36
- package/src/WebComponent/loaders/skeleton-card.ts +0 -31
- package/src/WebComponent/loaders/skeleton-loader-styles.ts +0 -112
- package/src/WebComponent/loaders/skeleton-loader.ts +0 -34
- package/src/WebComponent/me-chat.ts +0 -1261
- package/src/WebComponent/me-select.ts +0 -322
- package/src/WebComponent/mini-loader.ts +0 -28
- package/src/WebComponent/pubnub-chat-styles.ts +0 -204
- package/src/WebComponent/pubnub-chat.ts +0 -928
- package/src/WebComponent/pubnub-media.ts +0 -208
- package/src/WebComponent/pubnub-message-styles.ts +0 -54
- package/src/WebComponent/pubnub-message.ts +0 -431
- package/src/WebComponent/simple-launcher/simple-launcher-styles.ts +0 -34
- package/src/WebComponent/simple-launcher/simple-launcher.ts +0 -100
- package/src/WebComponent/utilities-chat.ts +0 -270
- package/src/WebComponent/utilities-styles.ts +0 -110
- package/src/WebComponent/utils.ts +0 -82
- package/src/analytics.ts +0 -217
- package/src/assetUrls.ts +0 -6
- package/src/disclaimers.ts +0 -86
- package/src/fetchBuildingABTestType.ts +0 -21
- package/src/fetchBuildingInfo.ts +0 -87
- package/src/fetchBuildingWebchatView.ts +0 -176
- package/src/fetchFeatureFlag.ts +0 -250
- package/src/fetchLeadSources.ts +0 -98
- package/src/fetchPhoneNumberFromSource.ts +0 -31
- package/src/fetchWebchatPreferences.ts +0 -54
- package/src/getAvailabilities.ts +0 -179
- package/src/getBuildingPhoneNumber.ts +0 -26
- package/src/getShouldAllowScheduling.ts +0 -16
- package/src/getShouldShowWebchat.ts +0 -114
- package/src/getTimezoneString.ts +0 -39
- package/src/globals.ts +0 -3
- package/src/gtm.ts +0 -17
- package/src/handleChatId.ts +0 -101
- package/src/insertDNIIntoWebsite.ts +0 -146
- package/src/insertLeadSourceIntoSchedulerLinks.ts +0 -71
- package/src/main/MEChat.test.ts +0 -110
- package/src/main/MEChat.ts +0 -404
- package/src/main/utils.ts +0 -70
- package/src/postLeadSources.ts +0 -44
- package/src/rentgrata.ts +0 -74
- package/src/replaceSelectButtonsWithNewLink.ts +0 -90
- package/src/services/fees/calculateQuote.ts +0 -74
- package/src/services/fees/fetchBuildingFees.ts +0 -50
- package/src/services/fees/fetchBuildingFeesV2.ts +0 -56
- package/src/services/fees/fetchBuildingFloorplans.ts +0 -74
- package/src/services/fees/fetchBuildingUnits.ts +0 -86
- package/src/services/fees/utils.ts +0 -4
- package/src/svgIcons.ts +0 -14
- package/src/themes.ts +0 -65
- package/src/types/incentive-v2.ts +0 -24
- package/src/types/rest-sdk.types.ts +0 -13
- package/src/types/webchat-no-show-reason.ts +0 -6
- package/src/utils/queryParamBuilder.ts +0 -28
- package/src/utils.ts +0 -121
package/src/WebComponent/FeeCalculator/components/fee-calculator-layout/fee-calculator-layout.ts
DELETED
|
@@ -1,243 +0,0 @@
|
|
|
1
|
-
import { LitElement, html, TemplateResult } from "lit";
|
|
2
|
-
import { customElement, property } from "lit/decorators.js";
|
|
3
|
-
import { ALL_LAYOUTS_OPTION } from "../../constants";
|
|
4
|
-
import feeCalculatorLayoutStyles from "./fee-calculator-layout-styles";
|
|
5
|
-
import { LayoutOption } from "../../../../fetchBuildingWebchatView";
|
|
6
|
-
import { DesiredAddon, DesiredRentableItem, FeeEstimate } from "../../model";
|
|
7
|
-
import { CalculateQuoteResponse } from "../../../../services/fees/calculateQuote";
|
|
8
|
-
import { Unit } from "../../../../services/fees/fetchBuildingUnits";
|
|
9
|
-
import {
|
|
10
|
-
BuildingFeeView,
|
|
11
|
-
BuildingFeeFrequency,
|
|
12
|
-
RentableItemSummary,
|
|
13
|
-
} from "../../model";
|
|
14
|
-
|
|
15
|
-
import "../floor-plan-selector/floor-plan-selector";
|
|
16
|
-
import "../fee-card/fee-card";
|
|
17
|
-
import "../addons/addon-item-qty-selector/addon-item-qty-selector";
|
|
18
|
-
import "../addons/rentable-item-qty-selector/rentable-item-qty-selector";
|
|
19
|
-
import "../addons/addon-item-matrix-qty-selector/addon-item-matrix-qty-selector";
|
|
20
|
-
import "../../../loaders/skeleton-loader";
|
|
21
|
-
import "../../../loaders/mega-loader";
|
|
22
|
-
|
|
23
|
-
@customElement("fee-calculator-layout")
|
|
24
|
-
export class FeeCalculatorLayout extends LitElement {
|
|
25
|
-
static styles = feeCalculatorLayoutStyles;
|
|
26
|
-
|
|
27
|
-
@property({ type: String })
|
|
28
|
-
buildingSlug = "";
|
|
29
|
-
|
|
30
|
-
@property({ type: Boolean })
|
|
31
|
-
isLoading = false;
|
|
32
|
-
|
|
33
|
-
@property({ type: Object })
|
|
34
|
-
selectedUnit: Unit | null = null;
|
|
35
|
-
|
|
36
|
-
@property({ type: Object })
|
|
37
|
-
quote: CalculateQuoteResponse | null = null;
|
|
38
|
-
|
|
39
|
-
@property({ type: Array })
|
|
40
|
-
layoutOptions: LayoutOption[] = [];
|
|
41
|
-
|
|
42
|
-
@property({ type: Array })
|
|
43
|
-
selectedLayoutIds: number[] = [ALL_LAYOUTS_OPTION];
|
|
44
|
-
|
|
45
|
-
@property({ type: Object })
|
|
46
|
-
groupedFees: Record<BuildingFeeFrequency, BuildingFeeView[]> = {
|
|
47
|
-
[BuildingFeeFrequency.OneTime]: [],
|
|
48
|
-
[BuildingFeeFrequency.Monthly]: [],
|
|
49
|
-
[BuildingFeeFrequency.Quarterly]: [],
|
|
50
|
-
[BuildingFeeFrequency.Annually]: [],
|
|
51
|
-
[BuildingFeeFrequency.PerOccurrence]: [],
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
@property({ type: Array })
|
|
55
|
-
rentableItems: RentableItemSummary[] = [];
|
|
56
|
-
|
|
57
|
-
@property()
|
|
58
|
-
onSelectLayout: ((layoutIds: number[]) => void) | null = null;
|
|
59
|
-
|
|
60
|
-
@property()
|
|
61
|
-
onUnitSelect: ((unit: Unit) => void) | null = null;
|
|
62
|
-
|
|
63
|
-
@property()
|
|
64
|
-
onMoveInDateChange: ((moveInDate: Date) => void) | null = null;
|
|
65
|
-
|
|
66
|
-
@property()
|
|
67
|
-
onLeaseTermChange: ((leaseTerm: number) => void) | null = null;
|
|
68
|
-
|
|
69
|
-
@property()
|
|
70
|
-
onAddonSelect: ((addon: DesiredAddon) => void) | null = null;
|
|
71
|
-
|
|
72
|
-
@property()
|
|
73
|
-
onRentableItemSelect: ((rentableItem: DesiredRentableItem) => void) | null =
|
|
74
|
-
null;
|
|
75
|
-
|
|
76
|
-
get standardFees(): Record<BuildingFeeFrequency, BuildingFeeView[]> {
|
|
77
|
-
const result: Record<BuildingFeeFrequency, BuildingFeeView[]> =
|
|
78
|
-
{} as Record<BuildingFeeFrequency, BuildingFeeView[]>;
|
|
79
|
-
|
|
80
|
-
Object.entries(this.groupedFees).forEach(([frequency, fees]) => {
|
|
81
|
-
result[frequency as BuildingFeeFrequency] = fees.filter(
|
|
82
|
-
(fee) => !fee.isOptional
|
|
83
|
-
);
|
|
84
|
-
});
|
|
85
|
-
|
|
86
|
-
return result;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* A "rentable item" is simply a fee which has inventory attached to it.
|
|
91
|
-
*/
|
|
92
|
-
get addOns(): (BuildingFeeView | RentableItemSummary)[] {
|
|
93
|
-
const addons = Object.values(this.groupedFees)
|
|
94
|
-
.flat()
|
|
95
|
-
.filter((fee) => fee.isOptional);
|
|
96
|
-
|
|
97
|
-
return [...addons, ...this.rentableItems];
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
renderRecurrenceFeeSection(
|
|
101
|
-
title: string,
|
|
102
|
-
fees: FeeEstimate[]
|
|
103
|
-
): TemplateResult | null {
|
|
104
|
-
if (!fees?.length) return null;
|
|
105
|
-
|
|
106
|
-
return html` <fee-card .fees=${fees} title=${title}></fee-card> `;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
renderFeeSections(): TemplateResult[] {
|
|
110
|
-
const sections: TemplateResult[] = [];
|
|
111
|
-
|
|
112
|
-
const frequencyOrder = [
|
|
113
|
-
{ freq: BuildingFeeFrequency.Annually, title: "Yearly Charges" },
|
|
114
|
-
{ freq: BuildingFeeFrequency.Monthly, title: "Monthly Charges" },
|
|
115
|
-
{ freq: BuildingFeeFrequency.Quarterly, title: "Quarterly Charges" },
|
|
116
|
-
{ freq: BuildingFeeFrequency.OneTime, title: "Prior to Move-In" },
|
|
117
|
-
];
|
|
118
|
-
|
|
119
|
-
const unitFees =
|
|
120
|
-
this.quote?.units.find((unit) => unit.unitId === this.selectedUnit?.id)
|
|
121
|
-
?.fees ?? [];
|
|
122
|
-
|
|
123
|
-
const applicableFees = unitFees.filter((fee) => fee.applicable);
|
|
124
|
-
|
|
125
|
-
for (const { freq, title } of frequencyOrder) {
|
|
126
|
-
if (!applicableFees.length) continue;
|
|
127
|
-
|
|
128
|
-
const fees = applicableFees.filter((fee) => fee.frequency === freq);
|
|
129
|
-
const section = this.renderRecurrenceFeeSection(title, fees);
|
|
130
|
-
if (section) sections.push(section);
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
return sections;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
renderFeesContent(): TemplateResult {
|
|
137
|
-
if (!this.selectedUnit) {
|
|
138
|
-
return html`
|
|
139
|
-
<div class="fees-container empty-state">
|
|
140
|
-
<p>Select a unit to view estimated costs</p>
|
|
141
|
-
</div>
|
|
142
|
-
`;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
return html`
|
|
146
|
-
<div class="fees-container">
|
|
147
|
-
${this.isLoading
|
|
148
|
-
? html`
|
|
149
|
-
<div class="loading-container">
|
|
150
|
-
<skeleton-loader
|
|
151
|
-
.cards=${3}
|
|
152
|
-
.rowsPerCard=${[3, 2, 1]}
|
|
153
|
-
></skeleton-loader>
|
|
154
|
-
</div>
|
|
155
|
-
`
|
|
156
|
-
: this.renderFeeSections()}
|
|
157
|
-
</div>
|
|
158
|
-
`;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
renderAddOns(): TemplateResult | null {
|
|
162
|
-
if (!this.isLoading && !this.addOns.length) return null;
|
|
163
|
-
|
|
164
|
-
const initialLoad = this.isLoading && !this.addOns.length;
|
|
165
|
-
|
|
166
|
-
return html`
|
|
167
|
-
<div class="sidepanel-section">
|
|
168
|
-
<h5 class="sidepanel-section-title">Add-Ons</h5>
|
|
169
|
-
${this.renderAddOnsContent(initialLoad)}
|
|
170
|
-
</div>
|
|
171
|
-
`;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
private renderAddOnsContent(initialLoad: boolean): TemplateResult {
|
|
175
|
-
if (initialLoad) {
|
|
176
|
-
return html`
|
|
177
|
-
<div class="sidepanel-loading-container">
|
|
178
|
-
<mega-loader size="32"></mega-loader>
|
|
179
|
-
</div>
|
|
180
|
-
`;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
return html`
|
|
184
|
-
<div class="sidepanel-addons-container">
|
|
185
|
-
${this.addOns.map((addon) => {
|
|
186
|
-
if (addon instanceof BuildingFeeView) {
|
|
187
|
-
return html`
|
|
188
|
-
${addon.hasMatrix
|
|
189
|
-
? html`
|
|
190
|
-
<addon-item-matrix-qty-selector
|
|
191
|
-
.feeItem=${addon}
|
|
192
|
-
.onQuantityChange=${this.onAddonSelect}
|
|
193
|
-
></addon-item-matrix-qty-selector>
|
|
194
|
-
`
|
|
195
|
-
: html`
|
|
196
|
-
<addon-item-qty-selector
|
|
197
|
-
.feeItem=${addon}
|
|
198
|
-
.onQuantityChange=${this.onAddonSelect}
|
|
199
|
-
></addon-item-qty-selector>
|
|
200
|
-
`}
|
|
201
|
-
`;
|
|
202
|
-
} else {
|
|
203
|
-
return html`
|
|
204
|
-
<rentable-item-qty-selector
|
|
205
|
-
.rentableItem=${addon}
|
|
206
|
-
.onSelect=${this.onRentableItemSelect}
|
|
207
|
-
></rentable-item-qty-selector>
|
|
208
|
-
`;
|
|
209
|
-
}
|
|
210
|
-
})}
|
|
211
|
-
</div>
|
|
212
|
-
`;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
render(): TemplateResult {
|
|
216
|
-
return html`
|
|
217
|
-
<div class="fee-calculator-layout">
|
|
218
|
-
<div class="sidepanel">
|
|
219
|
-
<div class="sidepanel-section">
|
|
220
|
-
<floor-plan-selector
|
|
221
|
-
.layoutOptions=${this.layoutOptions}
|
|
222
|
-
.selectedLayoutIds=${this.selectedLayoutIds}
|
|
223
|
-
.onSelectLayout=${this.onSelectLayout}
|
|
224
|
-
.onUnitSelect=${this.onUnitSelect}
|
|
225
|
-
.onMoveInDateChange=${this.onMoveInDateChange}
|
|
226
|
-
.onLeaseTermChange=${this.onLeaseTermChange}
|
|
227
|
-
.buildingSlug=${this.buildingSlug}
|
|
228
|
-
></floor-plan-selector>
|
|
229
|
-
</div>
|
|
230
|
-
${this.renderAddOns()}
|
|
231
|
-
</div>
|
|
232
|
-
|
|
233
|
-
${this.renderFeesContent()}
|
|
234
|
-
</div>
|
|
235
|
-
`;
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
declare global {
|
|
240
|
-
interface HTMLElementTagNameMap {
|
|
241
|
-
"fee-calculator-layout": FeeCalculatorLayout;
|
|
242
|
-
}
|
|
243
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { css } from "lit";
|
|
2
|
-
|
|
3
|
-
const collapsibleFeeSectionStyles = css`
|
|
4
|
-
.fee-card-section-container {
|
|
5
|
-
margin: 0 12px;
|
|
6
|
-
border-radius: 4px;
|
|
7
|
-
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
8
|
-
background-color: white;
|
|
9
|
-
overflow: hidden;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.fee-card-section-header {
|
|
13
|
-
margin: 20px 0;
|
|
14
|
-
padding: 0 12px;
|
|
15
|
-
border-bottom: 1px solid #e0e0e0;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.fee-item-container {
|
|
19
|
-
border-bottom: 1px solid #e0e0e0;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.fee-item-container:last-child {
|
|
23
|
-
border-bottom: none;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.fee-card-list {
|
|
27
|
-
display: flex;
|
|
28
|
-
flex-direction: column;
|
|
29
|
-
gap: 8px;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.section-title {
|
|
33
|
-
font-size: 1.2rem;
|
|
34
|
-
font-weight: normal;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.section-title-addons {
|
|
38
|
-
margin-top: 8px;
|
|
39
|
-
margin-left: 20px;
|
|
40
|
-
font-size: 0.8rem;
|
|
41
|
-
color: #868e96;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.total-amount,
|
|
45
|
-
.total-label {
|
|
46
|
-
font-size: 1rem;
|
|
47
|
-
font-weight: normal;
|
|
48
|
-
margin: 12px;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.footer-container {
|
|
52
|
-
background-color: #f8f9fa;
|
|
53
|
-
margin: 20px;
|
|
54
|
-
border-radius: 4px;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.footer {
|
|
58
|
-
font-size: 0.8rem;
|
|
59
|
-
display: flex;
|
|
60
|
-
margin: 12px;
|
|
61
|
-
justify-content: space-between;
|
|
62
|
-
}
|
|
63
|
-
`;
|
|
64
|
-
|
|
65
|
-
export default collapsibleFeeSectionStyles;
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { LitElement, html, TemplateResult } from "lit";
|
|
2
|
-
import { customElement, property, state } from "lit/decorators.js";
|
|
3
|
-
import { formatCurrency } from "../../../../utils";
|
|
4
|
-
import collapsibleFeeSectionStyles from "./fee-card-styles";
|
|
5
|
-
import { FeeEstimate } from "../../model";
|
|
6
|
-
|
|
7
|
-
import "../fee-item/fee-item";
|
|
8
|
-
|
|
9
|
-
@customElement("fee-card")
|
|
10
|
-
export class FeeCard extends LitElement {
|
|
11
|
-
static styles = collapsibleFeeSectionStyles;
|
|
12
|
-
|
|
13
|
-
@property({ type: String })
|
|
14
|
-
title = "Fees";
|
|
15
|
-
|
|
16
|
-
@property({ type: Array })
|
|
17
|
-
fees: FeeEstimate[] = [];
|
|
18
|
-
|
|
19
|
-
@property({ type: Number })
|
|
20
|
-
rent = 0;
|
|
21
|
-
|
|
22
|
-
@property({ type: Number })
|
|
23
|
-
quoteTotal = 0;
|
|
24
|
-
|
|
25
|
-
@state()
|
|
26
|
-
private buildingFeesToQuantity: Record<number, number> = {};
|
|
27
|
-
|
|
28
|
-
get totalAmount(): string {
|
|
29
|
-
if (this.quoteTotal) return formatCurrency(this.quoteTotal);
|
|
30
|
-
|
|
31
|
-
const total = this.fees.reduce((acc, fee) => acc + fee.amount, 0);
|
|
32
|
-
return formatCurrency(total);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
get standardFees(): FeeEstimate[] {
|
|
36
|
-
return this.fees.filter((fee) => !fee.isAddOn);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
get addons(): FeeEstimate[] {
|
|
40
|
-
return this.fees.filter((fee) => fee.isAddOn);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
handleQuantityChange = (feeId: number, quantity: number): void => {
|
|
44
|
-
this.buildingFeesToQuantity[feeId] = quantity;
|
|
45
|
-
this.requestUpdate();
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
render(): TemplateResult {
|
|
49
|
-
return html`
|
|
50
|
-
<div class="fee-card-section-container">
|
|
51
|
-
<div class="fee-card-section-header">
|
|
52
|
-
<h1 class="section-title">${this.title}</h1>
|
|
53
|
-
</div>
|
|
54
|
-
|
|
55
|
-
<div class="fee-card-list">
|
|
56
|
-
${this.standardFees.map(
|
|
57
|
-
(item) => html`<div class="fee-item-container">
|
|
58
|
-
<fee-item .feeItem=${item}></fee-item>
|
|
59
|
-
</div>`
|
|
60
|
-
)}
|
|
61
|
-
</div>
|
|
62
|
-
|
|
63
|
-
${this.addons.length > 0
|
|
64
|
-
? html`
|
|
65
|
-
<div class="fee-card-list">
|
|
66
|
-
<div class="section-title-addons">Add-Ons</div>
|
|
67
|
-
${this.addons.map(
|
|
68
|
-
(item) => html`<div class="fee-item-container">
|
|
69
|
-
<fee-item .feeItem=${item}></fee-item>
|
|
70
|
-
</div>`
|
|
71
|
-
)}
|
|
72
|
-
</div>
|
|
73
|
-
`
|
|
74
|
-
: ""}
|
|
75
|
-
|
|
76
|
-
<div class="footer-container">
|
|
77
|
-
<div class="footer">
|
|
78
|
-
<h1 class="total-label">Estimated Total</h1>
|
|
79
|
-
<h1 class="total-amount">${this.totalAmount}</h1>
|
|
80
|
-
</div>
|
|
81
|
-
</div>
|
|
82
|
-
</div>
|
|
83
|
-
`;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
declare global {
|
|
88
|
-
interface HTMLElementTagNameMap {
|
|
89
|
-
"fee-card": FeeCard;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { css } from "lit";
|
|
2
|
-
|
|
3
|
-
const feeItemStyles = css`
|
|
4
|
-
:host {
|
|
5
|
-
display: block;
|
|
6
|
-
width: 100%;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.fee-item {
|
|
10
|
-
display: flex;
|
|
11
|
-
justify-content: space-between;
|
|
12
|
-
margin: 8px 20px;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.fee-info {
|
|
16
|
-
display: flex;
|
|
17
|
-
flex-direction: column;
|
|
18
|
-
align-items: flex-start;
|
|
19
|
-
flex: 1;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.required-label {
|
|
23
|
-
color: #868e96;
|
|
24
|
-
font-size: 0.8rem;
|
|
25
|
-
margin-bottom: 8px;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.fee-name {
|
|
29
|
-
font-size: 1rem;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.fee-description {
|
|
33
|
-
color: #868e96;
|
|
34
|
-
font-size: 0.8rem;
|
|
35
|
-
margin-top: 4px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.fee-amount {
|
|
39
|
-
font-size: 1rem;
|
|
40
|
-
align-self: center;
|
|
41
|
-
}
|
|
42
|
-
`;
|
|
43
|
-
|
|
44
|
-
export default feeItemStyles;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { LitElement, html, TemplateResult } from "lit";
|
|
2
|
-
import { customElement, property } from "lit/decorators.js";
|
|
3
|
-
import { FeeEstimate } from "../../model";
|
|
4
|
-
|
|
5
|
-
import "../addons/addon-item-qty-selector/addon-item-qty-selector";
|
|
6
|
-
|
|
7
|
-
import feeItemStyles from "./fee-item-styles";
|
|
8
|
-
|
|
9
|
-
@customElement("fee-item")
|
|
10
|
-
export class FeeItemComponent extends LitElement {
|
|
11
|
-
static styles = feeItemStyles;
|
|
12
|
-
|
|
13
|
-
@property({ type: Object })
|
|
14
|
-
feeItem: FeeEstimate | null = null;
|
|
15
|
-
|
|
16
|
-
render(): TemplateResult {
|
|
17
|
-
if (!this.feeItem) return html``;
|
|
18
|
-
|
|
19
|
-
return html`
|
|
20
|
-
<div class="fee-item">
|
|
21
|
-
<div class="fee-info">
|
|
22
|
-
${this.feeItem.required
|
|
23
|
-
? html`<div class="required-label">Required</div>`
|
|
24
|
-
: ""}
|
|
25
|
-
<div class="fee-name">${this.feeItem.displayName}</div>
|
|
26
|
-
<div class="fee-description">${this.feeItem.description}</div>
|
|
27
|
-
</div>
|
|
28
|
-
<div class="fee-amount">${this.feeItem.displayAmount}</div>
|
|
29
|
-
</div>
|
|
30
|
-
`;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
declare global {
|
|
35
|
-
interface HTMLElementTagNameMap {
|
|
36
|
-
"fee-item": FeeItemComponent;
|
|
37
|
-
}
|
|
38
|
-
}
|
package/src/WebComponent/FeeCalculator/components/floor-plan-selector/floor-plan-selector-styles.ts
DELETED
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
import { css } from "lit";
|
|
2
|
-
|
|
3
|
-
const floorPlanSelectorStyles = css`
|
|
4
|
-
:host {
|
|
5
|
-
display: block;
|
|
6
|
-
margin-bottom: 16px;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.floor-plan-selector {
|
|
10
|
-
display: flex;
|
|
11
|
-
flex-direction: column;
|
|
12
|
-
gap: 8px;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.floor-plan-selector-label {
|
|
16
|
-
font-size: 1rem;
|
|
17
|
-
font-weight: normal;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.floor-plan-selector-badges {
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: row;
|
|
23
|
-
overflow-x: scroll;
|
|
24
|
-
max-width: 400px;
|
|
25
|
-
gap: 8px;
|
|
26
|
-
margin-bottom: 12px;
|
|
27
|
-
scrollbar-width: thin;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.floor-plan-badge {
|
|
31
|
-
padding: 6px 12px;
|
|
32
|
-
border-radius: 16px;
|
|
33
|
-
min-width: 40px;
|
|
34
|
-
text-align: center;
|
|
35
|
-
font-size: 0.9rem;
|
|
36
|
-
cursor: pointer;
|
|
37
|
-
background-color: #f0f0f0;
|
|
38
|
-
border: 1px solid #ddd;
|
|
39
|
-
display: inline-flex;
|
|
40
|
-
align-items: center;
|
|
41
|
-
justify-content: center;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.floor-plan-badge:hover {
|
|
45
|
-
background-color: #e6e6e6;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.floor-plan-badge.selected {
|
|
49
|
-
background-color: var(--primary-color, #646987);
|
|
50
|
-
border-color: var(--primary-color, #646987);
|
|
51
|
-
color: white;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.advanced-section {
|
|
55
|
-
max-height: 0;
|
|
56
|
-
overflow: hidden;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.advanced-section.open {
|
|
60
|
-
max-height: 800px;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.date-fields {
|
|
64
|
-
display: flex;
|
|
65
|
-
flex-direction: row;
|
|
66
|
-
gap: 16px;
|
|
67
|
-
margin-bottom: 16px;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.date-field {
|
|
71
|
-
display: flex;
|
|
72
|
-
flex-direction: column;
|
|
73
|
-
gap: 4px;
|
|
74
|
-
flex: 1;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.date-field label {
|
|
78
|
-
font-size: 0.9rem;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.date-field input {
|
|
82
|
-
padding: 8px;
|
|
83
|
-
border-radius: 4px;
|
|
84
|
-
border: 1px solid #ddd;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.date-field-label {
|
|
88
|
-
font-size: #3a3a3b;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.image-carousel {
|
|
92
|
-
display: flex;
|
|
93
|
-
flex-direction: column;
|
|
94
|
-
max-height: 50%;
|
|
95
|
-
gap: 16px;
|
|
96
|
-
padding: 12px 0;
|
|
97
|
-
scroll-behavior: smooth;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.unit-selection {
|
|
101
|
-
margin-top: 16px;
|
|
102
|
-
max-height: 16rem;
|
|
103
|
-
overflow-y: auto;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.unit-label {
|
|
107
|
-
font-size: 1rem;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.loading-container,
|
|
111
|
-
.no-floorplans-container {
|
|
112
|
-
display: flex;
|
|
113
|
-
justify-content: center;
|
|
114
|
-
align-items: center;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
@media (max-width: 840px) {
|
|
118
|
-
.date-fields {
|
|
119
|
-
flex-direction: column;
|
|
120
|
-
gap: 12px;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
@media (max-width: 768px) {
|
|
125
|
-
.date-fields {
|
|
126
|
-
gap: 10px;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.image-carousel {
|
|
130
|
-
flex-direction: row;
|
|
131
|
-
max-height: none;
|
|
132
|
-
overflow-x: auto;
|
|
133
|
-
width: 100%;
|
|
134
|
-
padding: 12px 0;
|
|
135
|
-
-webkit-overflow-scrolling: touch;
|
|
136
|
-
scrollbar-width: none; /* Firefox */
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.image-carousel::-webkit-scrollbar {
|
|
140
|
-
display: none; /* Chrome, Safari, Opera */
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.unit-selection {
|
|
144
|
-
max-height: none;
|
|
145
|
-
overflow-y: visible;
|
|
146
|
-
overflow-x: auto;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
`;
|
|
150
|
-
|
|
151
|
-
export default floorPlanSelectorStyles;
|