@meetelise/chat 1.51.4 → 1.51.6
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/Scheduler/tour-scheduler.d.ts +2 -0
- package/dist/src/WebComponent/launcher/Launcher.d.ts +1 -0
- package/dist/src/WebComponent/me-chat.d.ts +1 -0
- package/dist/src/WebComponent/pubnub-chat.d.ts +3 -0
- package/dist/src/fetchFeatureFlag.d.ts +1 -0
- package/package.json +1 -1
- package/public/dist/index.js +232 -227
- package/src/WebComponent/Scheduler/tour-scheduler.ts +9 -2
- package/src/WebComponent/launcher/Launcher.ts +3 -0
- package/src/WebComponent/me-chat.ts +16 -6
- package/src/WebComponent/pubnub-chat.ts +20 -1
- package/src/fetchFeatureFlag.ts +22 -0
- package/src/pubnub-chat.test.ts +192 -0
|
@@ -30,6 +30,7 @@ export declare class TourScheduler extends LitElement {
|
|
|
30
30
|
virtualToursTypeOffered: string;
|
|
31
31
|
orgSlug: string;
|
|
32
32
|
hasDynamicSchedulingEnabled: boolean;
|
|
33
|
+
bedroomPreferenceRequired: boolean;
|
|
33
34
|
private leadSourceClient;
|
|
34
35
|
private leadSourceMultitouchClient;
|
|
35
36
|
buildingName: string;
|
|
@@ -106,6 +107,7 @@ export declare class TourScheduler extends LitElement {
|
|
|
106
107
|
tourType: () => boolean;
|
|
107
108
|
dateAndTime: () => boolean;
|
|
108
109
|
leadInfo: () => boolean;
|
|
110
|
+
layout: () => boolean;
|
|
109
111
|
};
|
|
110
112
|
formIsValidForSubmission: () => boolean;
|
|
111
113
|
/** E.g., `timeStringToHoursAndMinutes("4:15pm")` -> `[16, 15]`
|
|
@@ -53,6 +53,7 @@ export declare class Launcher extends LitElement {
|
|
|
53
53
|
hasSSTEnabledMobile: boolean;
|
|
54
54
|
tourTypeOptions: LabeledOption[];
|
|
55
55
|
layoutOptions: LayoutOption[];
|
|
56
|
+
bedroomPreferenceRequired: boolean;
|
|
56
57
|
hasDynamicSchedulingEnabled: boolean;
|
|
57
58
|
hasPricingCalculatorEnabledDesktop: boolean;
|
|
58
59
|
hasPricingCalculatorEnabledMobile: boolean;
|
|
@@ -5,6 +5,7 @@ import "./pubnub-media";
|
|
|
5
5
|
import { WidgetType } from "../main/MEChat";
|
|
6
6
|
import { BuildingWebchatView } from "../fetchBuildingWebchatView";
|
|
7
7
|
export declare class PubnubChat extends LitElement {
|
|
8
|
+
private static readonly AUTO_SCROLL_THRESHOLD_PX;
|
|
8
9
|
static styles: import("lit").CSSResult[];
|
|
9
10
|
private right;
|
|
10
11
|
private bottom;
|
|
@@ -26,6 +27,7 @@ export declare class PubnubChat extends LitElement {
|
|
|
26
27
|
messageBody: HTMLDivElement;
|
|
27
28
|
_isMobile: boolean;
|
|
28
29
|
private _cleanupMobileListener?;
|
|
30
|
+
private shouldAutoScroll;
|
|
29
31
|
messages: SimpleChatMessage[];
|
|
30
32
|
isLoadingMessages: boolean;
|
|
31
33
|
hasReceivedConsent: boolean;
|
|
@@ -45,6 +47,7 @@ export declare class PubnubChat extends LitElement {
|
|
|
45
47
|
sendMessage: (message: string) => Promise<void>;
|
|
46
48
|
firstUpdated(): void;
|
|
47
49
|
scrollToChatBottom: () => void;
|
|
50
|
+
private handleConversationScroll;
|
|
48
51
|
updated(): Promise<void>;
|
|
49
52
|
autoResizeMessageInput: () => void;
|
|
50
53
|
needsConsent: () => boolean;
|
|
@@ -7,3 +7,4 @@ export declare function fetchFeatureFlagMaintenanceMode(buildingSlug: string): P
|
|
|
7
7
|
export declare function fetchFeatureFlagUseOverrideContactUsForm(buildingSlug: string): Promise<boolean>;
|
|
8
8
|
export declare function fetchFeatureFlagShowUtilities(orgSlug: string): Promise<boolean>;
|
|
9
9
|
export declare function fetchFeatureFlagUseApplicationsLinkReplacement(buildingSlug: string): Promise<boolean>;
|
|
10
|
+
export declare function fetchTrackedRolloutBedroomPreferenceRequired(buildingSlug: string): Promise<boolean>;
|