@meetelise/chat 1.30.4 → 1.31.0
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/WebComponent/FeeCalculator/components/fee-calculator-layout/fee-calculator-layout.d.ts +1 -1
- package/dist/src/WebComponent/FeeCalculator/components/floor-plan-selector/floor-plan-selector.d.ts +1 -1
- 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/fee-calculator.d.ts +2 -3
- package/dist/src/WebComponent/FeeCalculator/model/building-fee.d.ts +2 -0
- package/dist/src/WebComponent/Scheduler/tour-scheduler.d.ts +1 -0
- package/dist/src/WebComponent/icons/DollarOutlineIcon.d.ts +5 -1
- package/dist/src/WebComponent/launcher/Launcher.d.ts +1 -0
- package/dist/src/WebComponent/loaders/index.d.ts +4 -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/fetchBuildingWebchatView.d.ts +1 -0
- package/dist/src/services/fees/fetchBuildingFees.d.ts +2 -0
- package/dist/src/types/incentive-v2.d.ts +23 -0
- package/package.json +1 -1
- package/public/dist/index.js +455 -299
- package/src/WebComponent/FeeCalculator/components/addon-item/addon-item.ts +2 -2
- package/src/WebComponent/FeeCalculator/components/fee-calculator-layout/fee-calculator-layout-styles.ts +19 -12
- package/src/WebComponent/FeeCalculator/components/fee-calculator-layout/fee-calculator-layout.ts +5 -2
- package/src/WebComponent/FeeCalculator/components/floor-plan-selector/floor-plan-selector-styles.ts +11 -9
- package/src/WebComponent/FeeCalculator/components/floor-plan-selector/floor-plan-selector.ts +1 -1
- package/src/WebComponent/FeeCalculator/components/floorplan-image-card/floorplan-image-card-styles.ts +9 -1
- 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/fee-calculator-styles.ts +50 -74
- package/src/WebComponent/FeeCalculator/fee-calculator.ts +22 -49
- package/src/WebComponent/FeeCalculator/model/building-fee.ts +2 -0
- package/src/WebComponent/Scheduler/tour-scheduler.ts +24 -7
- package/src/WebComponent/icons/DollarOutlineIcon.ts +11 -3
- package/src/WebComponent/launcher/Launcher.ts +3 -0
- package/src/WebComponent/loaders/index.ts +7 -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 +2 -0
- package/src/fetchBuildingWebchatView.ts +20 -0
- package/src/services/fees/fetchBuildingFees.ts +4 -0
- package/src/types/incentive-v2.ts +24 -0
- /package/dist/src/WebComponent/{mega-loader.d.ts → loaders/mega-loader.d.ts} +0 -0
- /package/src/WebComponent/{mega-loader.ts → loaders/mega-loader.ts} +0 -0
|
@@ -5,7 +5,7 @@ import { CalculateQuoteResponse, DesiredAddon, FeeEstimate } from "../../../../s
|
|
|
5
5
|
import "../floor-plan-selector/floor-plan-selector";
|
|
6
6
|
import "../fee-card/fee-card";
|
|
7
7
|
import "../addon-item/addon-item";
|
|
8
|
-
import "../../../
|
|
8
|
+
import "../../../loaders/skeleton-loader";
|
|
9
9
|
export declare class FeeCalculatorLayout extends LitElement {
|
|
10
10
|
static styles: import("lit").CSSResult;
|
|
11
11
|
buildingSlug: string;
|
package/dist/src/WebComponent/FeeCalculator/components/floor-plan-selector/floor-plan-selector.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { LitElement, TemplateResult } from "lit";
|
|
|
2
2
|
import { LayoutOption } from "../../../../fetchBuildingWebchatView";
|
|
3
3
|
import { Floorplan } from "../../../../services/fees/fetchBuildingFloorplans";
|
|
4
4
|
import "../floorplan-image-card/floorplan-image-card";
|
|
5
|
-
import "../../../mega-loader";
|
|
5
|
+
import "../../../loaders/mega-loader";
|
|
6
6
|
export declare class FloorPlanSelector extends LitElement {
|
|
7
7
|
static styles: import("lit").CSSResult;
|
|
8
8
|
buildingSlug: string;
|
package/dist/src/WebComponent/FeeCalculator/components/incentive-banner/incentive-banner-styles.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const incentiveBannerStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LitElement, TemplateResult } from "lit";
|
|
2
|
+
import { IncentiveV2 } from "../../../../types/incentive-v2";
|
|
3
|
+
export declare class IncentiveBanner extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult;
|
|
5
|
+
incentive: IncentiveV2;
|
|
6
|
+
getFormattedEndDate(incentive: IncentiveV2): string;
|
|
7
|
+
render(): TemplateResult;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./incentive-banner";
|
|
@@ -5,6 +5,7 @@ import { CalculateQuoteResponse, DesiredAddon, DesiredRentableItem } from "../..
|
|
|
5
5
|
import "./components";
|
|
6
6
|
import "./components/fee-calculator-layout/fee-calculator-layout";
|
|
7
7
|
import "../chat-additional-actions";
|
|
8
|
+
import "./components/incentive-banner";
|
|
8
9
|
export declare class FeeCalculator extends LitElement {
|
|
9
10
|
static styles: import("lit").CSSResult;
|
|
10
11
|
buildingSlug: string;
|
|
@@ -25,6 +26,7 @@ export declare class FeeCalculator extends LitElement {
|
|
|
25
26
|
private leaseTerm;
|
|
26
27
|
private moveInDate;
|
|
27
28
|
private buildingWebchatView;
|
|
29
|
+
private incentives;
|
|
28
30
|
enabledChatWidgets: {
|
|
29
31
|
callDesktop: boolean;
|
|
30
32
|
chatDesktop: boolean;
|
|
@@ -36,8 +38,6 @@ export declare class FeeCalculator extends LitElement {
|
|
|
36
38
|
private groupedFees;
|
|
37
39
|
private debouncedCalculateQuote;
|
|
38
40
|
get layouts(): LayoutOption[];
|
|
39
|
-
connectedCallback(): void;
|
|
40
|
-
disconnectedCallback(): void;
|
|
41
41
|
firstUpdated: () => Promise<void>;
|
|
42
42
|
setupCalculator: () => Promise<void>;
|
|
43
43
|
updated(changedProperties: Map<string, unknown>): void;
|
|
@@ -54,6 +54,5 @@ export declare class FeeCalculator extends LitElement {
|
|
|
54
54
|
handleClickTextUsOption: (e: MouseEvent) => void;
|
|
55
55
|
handleClose: () => void;
|
|
56
56
|
handleSelectLayout: (layoutIds: number[]) => void;
|
|
57
|
-
adjustPositionAdditionalActions: () => void;
|
|
58
57
|
render(): TemplateResult;
|
|
59
58
|
}
|
|
@@ -66,6 +66,8 @@ export interface AddOnInfo {
|
|
|
66
66
|
addOnType: string;
|
|
67
67
|
maxUnitsCharged: number | null;
|
|
68
68
|
minUnitsCharged: number | null;
|
|
69
|
+
maxUnitsAllowed: number | null;
|
|
70
|
+
minUnitsAllowed: number | null;
|
|
69
71
|
addOnTypeEmbedding: number[] | null;
|
|
70
72
|
}
|
|
71
73
|
export declare enum TransactionFlow {
|
|
@@ -15,6 +15,7 @@ export declare class TourScheduler extends LitElement {
|
|
|
15
15
|
selfGuidedTourEnabled: boolean;
|
|
16
16
|
escortedToursLink: string;
|
|
17
17
|
virtualToursLink: string;
|
|
18
|
+
virtualToursTypeOffered: string;
|
|
18
19
|
orgSlug: string;
|
|
19
20
|
hasDynamicSchedulingEnabled: boolean;
|
|
20
21
|
private leadSourceClient;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import { SVGTemplateResult } from "lit";
|
|
2
|
-
declare
|
|
2
|
+
declare type DollarOutlineIconProps = {
|
|
3
|
+
color?: string;
|
|
4
|
+
size?: number;
|
|
5
|
+
};
|
|
6
|
+
declare const DollarOutlineIcon: ({ color, size, }?: DollarOutlineIconProps) => SVGTemplateResult;
|
|
3
7
|
export default DollarOutlineIcon;
|
|
@@ -30,6 +30,7 @@ export declare class Launcher extends LitElement {
|
|
|
30
30
|
currentLeadSource: string;
|
|
31
31
|
escortedToursLink: string;
|
|
32
32
|
virtualToursLink: string;
|
|
33
|
+
virtualToursTypeOffered: string;
|
|
33
34
|
hasChatEnabledDesktop: boolean;
|
|
34
35
|
hasChatEnabledMobile: boolean;
|
|
35
36
|
hasEmailEnabledDesktop: boolean;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LitElement, TemplateResult } from "lit";
|
|
2
|
+
export declare class SkeletonCard extends LitElement {
|
|
3
|
+
static styles: import("lit").CSSResult;
|
|
4
|
+
rows: number;
|
|
5
|
+
header: boolean;
|
|
6
|
+
render(): TemplateResult;
|
|
7
|
+
}
|
|
8
|
+
declare global {
|
|
9
|
+
interface HTMLElementTagNameMap {
|
|
10
|
+
"skeleton-card": SkeletonCard;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LitElement, TemplateResult } from "lit";
|
|
2
|
+
import "./skeleton-card";
|
|
3
|
+
export declare class SkeletonLoader extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult;
|
|
5
|
+
cards: number;
|
|
6
|
+
rowsPerCard: number[];
|
|
7
|
+
render(): TemplateResult;
|
|
8
|
+
}
|
|
9
|
+
declare global {
|
|
10
|
+
interface HTMLElementTagNameMap {
|
|
11
|
+
"skeleton-loader": SkeletonLoader;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -23,6 +23,7 @@ declare enum TourAccessType {
|
|
|
23
23
|
SCHEDULED_BY_ME_MANAGED_BY_CLIENT = "scheduled_by_ME_managed_by_client",
|
|
24
24
|
SCHEDULED_BY_ME_MANAGED_BY_CONCIERGE = "scheduled_by_ME_managed_by_concierge"
|
|
25
25
|
}
|
|
26
|
+
export declare const shouldOpenTourLink: (tourType: string, tourTypeOffered: string) => boolean;
|
|
26
27
|
export interface LayoutOption {
|
|
27
28
|
value: number;
|
|
28
29
|
label: string;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { BuildingFee } from "../../WebComponent/FeeCalculator/model/building-fee";
|
|
2
|
+
import { IncentiveV2 } from "../../types/incentive-v2";
|
|
2
3
|
declare type BuildingFeeResponse = {
|
|
3
4
|
fees: BuildingFee[];
|
|
4
5
|
rentableItems: RentableItemSummary[];
|
|
6
|
+
buildingIncentives: IncentiveV2[];
|
|
5
7
|
};
|
|
6
8
|
export declare type RentFrequency = "monthly" | "annually";
|
|
7
9
|
declare type RentableItem = {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare type UnitData = {
|
|
2
|
+
unitIds: number[];
|
|
3
|
+
unitNumbers: string[];
|
|
4
|
+
layouts: number[];
|
|
5
|
+
floorplanNames: string[];
|
|
6
|
+
};
|
|
7
|
+
export declare type IncentiveV2 = {
|
|
8
|
+
id: number;
|
|
9
|
+
originalIncentiveString: string;
|
|
10
|
+
startDate: Date;
|
|
11
|
+
endDate: Date;
|
|
12
|
+
incentiveStatus: string;
|
|
13
|
+
source: string;
|
|
14
|
+
timeCreated: Date;
|
|
15
|
+
nofee: boolean;
|
|
16
|
+
numberOfFreeMonths: number;
|
|
17
|
+
leaseLength: number;
|
|
18
|
+
typeOfCustomerItAppliesTo: number;
|
|
19
|
+
typeOfIncentive: number;
|
|
20
|
+
numberOfMonthsOwnerPays: number;
|
|
21
|
+
unitData: UnitData;
|
|
22
|
+
qualifier: string;
|
|
23
|
+
};
|