@meetelise/chat 1.46.0 → 1.47.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/WebComponent/Scheduler/tour-scheduler.d.ts +3 -0
- package/dist/src/fetchBuildingAip.d.ts +1 -0
- package/dist/src/fetchBuildingWebchatView.d.ts +1 -0
- package/dist/src/fetchCentralConvoBuildings.d.ts +6 -3
- package/package.json +1 -1
- package/public/dist/index.js +77 -67
- package/src/WebComponent/Scheduler/tour-scheduler.ts +67 -31
- package/src/WebComponent/Scheduler/tourSchedulerStyles.ts +4 -0
- package/src/WebComponent/me-chat.ts +9 -7
- package/src/fetchBuildingAip.ts +18 -0
- package/src/fetchBuildingWebchatView.ts +1 -1
- package/src/fetchCentralConvoBuildings.ts +14 -6
- package/src/replaceSelectButtonsWithNewLink.ts +3 -0
|
@@ -68,6 +68,7 @@ export declare class TourScheduler extends LitElement {
|
|
|
68
68
|
private allowOccupiedUnitTours;
|
|
69
69
|
errorGettingAvailabilities: boolean;
|
|
70
70
|
private centralConvoBuildings;
|
|
71
|
+
private isGeneralBuilding;
|
|
71
72
|
selectedBuildingEl?: MESelect;
|
|
72
73
|
private statusMessage;
|
|
73
74
|
_setAvailabilities: () => Promise<void>;
|
|
@@ -83,6 +84,7 @@ export declare class TourScheduler extends LitElement {
|
|
|
83
84
|
private _loadForCurrentBuilding;
|
|
84
85
|
private _fetchCentralConvoBuildings;
|
|
85
86
|
private _onBuildingChange;
|
|
87
|
+
buildingSelectMenu(): TemplateResult;
|
|
86
88
|
buildingSelector(): TemplateResult | string;
|
|
87
89
|
protected willUpdate: (_changedProperties: PropertyValueMap<{
|
|
88
90
|
tourType: TourType;
|
|
@@ -121,6 +123,7 @@ export declare class TourScheduler extends LitElement {
|
|
|
121
123
|
confirmationMessage(): TemplateResult;
|
|
122
124
|
loadingIcon(size?: number): TemplateResult;
|
|
123
125
|
render(): TemplateResult;
|
|
126
|
+
private renderCenteredCard;
|
|
124
127
|
private renderBody;
|
|
125
128
|
}
|
|
126
129
|
export declare enum TourType {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function fetchBuildingAip(buildingSlug: string): Promise<boolean>;
|
|
@@ -117,6 +117,7 @@ export interface BuildingWebchatView {
|
|
|
117
117
|
featureFlagInsertDniIntoWebsite: boolean;
|
|
118
118
|
featureFlagWebchatReplaceAnyScheduleTourCtaWebsite: boolean;
|
|
119
119
|
customAdditionalDisclaimer: string | null;
|
|
120
|
+
isAip: boolean;
|
|
120
121
|
}
|
|
121
122
|
/**
|
|
122
123
|
* Load the publicly-available info for a building.
|
|
@@ -3,12 +3,15 @@ export interface CentralConvoBuilding {
|
|
|
3
3
|
name: string;
|
|
4
4
|
slug: string;
|
|
5
5
|
}
|
|
6
|
+
export interface CentralConvoBuildingsResponse {
|
|
7
|
+
is_general_building: boolean;
|
|
8
|
+
buildings: CentralConvoBuilding[];
|
|
9
|
+
}
|
|
6
10
|
/**
|
|
7
11
|
* Fetch the buildings that belong to the same central conversation group as the
|
|
8
|
-
* current building.
|
|
9
|
-
* central conversation group (in which case no building selector is shown).
|
|
12
|
+
* current building.
|
|
10
13
|
*
|
|
11
14
|
* @param orgSlug - The org slug, e.g. "big-prop-co"
|
|
12
15
|
* @param buildingSlug - The current building's slug, e.g. "gravity-falls"
|
|
13
16
|
*/
|
|
14
|
-
export default function fetchCentralConvoBuildings(orgSlug: string, buildingSlug: string): Promise<
|
|
17
|
+
export default function fetchCentralConvoBuildings(orgSlug: string, buildingSlug: string): Promise<CentralConvoBuildingsResponse>;
|