@meetelise/chat 1.43.41 → 1.44.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.
@@ -6,9 +6,11 @@ import "../me-select.ts";
6
6
  import { TourAvailabilityResponse, TourAvailabilityResponseRankOrderedSupportedTourTypesEnum } from "../../types/rest-sdk.types";
7
7
  import { MESelect } from "../me-select";
8
8
  import { LabeledOption } from "../../fetchBuildingInfo";
9
+ import { LayoutOption } from "../../fetchBuildingWebchatView";
9
10
  export declare class TourScheduler extends LitElement {
10
11
  connectedCallback(): void;
11
12
  tourTypeOptions: LabeledOption[];
13
+ layoutOptions: LayoutOption[];
12
14
  chatId: string;
13
15
  buildingId: number;
14
16
  buildingSlug: string;
@@ -55,9 +57,11 @@ export declare class TourScheduler extends LitElement {
55
57
  emailInput: HTMLInputElement;
56
58
  phoneInput: HTMLInputElement;
57
59
  selectedLeadSource: MESelect;
60
+ selectedLayoutEl?: MESelect;
58
61
  firstNameInputValue: string;
59
62
  lastNameInputValue: string;
60
63
  leadSourceInputValue: string;
64
+ selectedLayoutValue: string;
61
65
  errorGettingAvailabilities: boolean;
62
66
  _setAvailabilities: () => Promise<void>;
63
67
  _setDefaultSelectedDateAndTimes: (tourType?: TourAvailabilityResponseRankOrderedSupportedTourTypesEnum, date?: Date) => Promise<void>;
@@ -7,6 +7,7 @@ import { FeeCalculator } from "../FeeCalculator/fee-calculator";
7
7
  import { LabeledOption } from "../../fetchBuildingInfo";
8
8
  import "./mobile-launcher";
9
9
  import "../actions/collapse-expand-button";
10
+ import { LayoutOption } from "../../fetchBuildingWebchatView";
10
11
  export declare class Launcher extends LitElement {
11
12
  static styles: import("lit").CSSResult;
12
13
  isMinimized: boolean;
@@ -46,6 +47,7 @@ export declare class Launcher extends LitElement {
46
47
  hasSSTEnabledDesktop: boolean;
47
48
  hasSSTEnabledMobile: boolean;
48
49
  tourTypeOptions: LabeledOption[];
50
+ layoutOptions: LayoutOption[];
49
51
  hasDynamicSchedulingEnabled: boolean;
50
52
  hasPricingCalculatorEnabledDesktop: boolean;
51
53
  hasPricingCalculatorEnabledMobile: boolean;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Some property websites embed hard-coded `applications.eliseai.com/building/<slug>/units`
3
+ * links whose slug has since been re-keyed in the backend. When the widget loads for the
4
+ * new slug, find those links on the host page and rewrite the slug to the current one,
5
+ * preserving query strings/hashes.
6
+ */
7
+ export declare const OUTDATED_APPLICATION_BUILDING_SLUGS: Record<string, string>;
8
+ export declare const replaceOutdatedApplicationLinks: (currentBuildingSlug: string) => number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meetelise/chat",
3
- "version": "1.43.41",
3
+ "version": "1.44.0",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/MeetElise/chat-ui#readme",