@meetelise/chat 1.73.0 → 1.74.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.
@@ -63,6 +63,10 @@ export declare class TourScheduler extends LitElement {
63
63
  private shouldAllowScheduleLoading;
64
64
  private promptForReschedule;
65
65
  private canceledReschedule;
66
+ /** The existing tour's community, from the "already has a tour" 409. */
67
+ private existingTourBuildingName?;
68
+ /** The existing tour's readable time, in its own UTC offset, from the same 409. */
69
+ private existingTourStartTime?;
66
70
  isBrokerReferral: boolean;
67
71
  brokerFirstName: string;
68
72
  brokerLastName: string;
@@ -178,6 +182,8 @@ export declare class TourScheduler extends LitElement {
178
182
  private selectLayout;
179
183
  userInfoAndLayoutMenu(): TemplateResult;
180
184
  confirmationMessage(): TemplateResult;
185
+ /** Names the existing tour's community and time when the 409 sent both. */
186
+ rescheduleExplanation(): TemplateResult;
181
187
  /** The broker isn't the one touring: the client gets the confirmation email. */
182
188
  private referralConfirmation;
183
189
  loadingIcon(size?: number): TemplateResult;
@@ -45,6 +45,12 @@ export declare class CommunityPicker extends LitElement {
45
45
  private filterLabel;
46
46
  /** Each filter's controls, in the panel its chip opens. */
47
47
  private renderFilterPanel;
48
+ /**
49
+ * A move-in date or budget, once set, closes its panel and so removes the
50
+ * input that had focus. Focus goes back to the chip, as on Escape, rather
51
+ * than out of the dialog, unless the prospect already moved it elsewhere.
52
+ */
53
+ private closeCommittedFilter;
48
54
  private renderFilters;
49
55
  private renderCard;
50
56
  private renderList;
@@ -9,8 +9,8 @@ export interface ContactValues {
9
9
  phone: string;
10
10
  phoneE164: string | null;
11
11
  phoneCountry: string | null;
12
- /** The building's layout option value picked, or null. */
13
- layout: number | null;
12
+ /** The building's layout option values picked, in the options' order. */
13
+ layouts: number[];
14
14
  moveIn: string;
15
15
  notes: string;
16
16
  /** Picked in "How did you hear about us?", when that is shown. */
@@ -19,7 +19,7 @@ export interface ContactValues {
19
19
  export declare const EMPTY_CONTACT: ContactValues;
20
20
  /**
21
21
  * Today's scheduler's rules: a first or last name, a valid email and phone,
22
- * and a bedroom preference only where the building requires one.
22
+ * and at least one bedroom preference only where the building requires one.
23
23
  */
24
24
  export declare const contactIsValid: (values: ContactValues, bedroomsRequired: boolean) => boolean;
25
25
  /**
@@ -39,6 +39,11 @@ export declare class ContactForm extends LitElement {
39
39
  private phoneHasBlurred;
40
40
  private setValues;
41
41
  private inputClasses;
42
+ /**
43
+ * The bedroom preferences as the filters' chips: each tap picks or clears
44
+ * one, as the Bedrooms filter does.
45
+ */
46
+ private renderLayouts;
42
47
  render(): TemplateResult;
43
48
  static styles: import("lit").CSSResult[];
44
49
  }
@@ -2,7 +2,9 @@ import { LitElement, TemplateResult } from "lit";
2
2
  /**
3
3
  * A trigger and the small panel it opens, for the v2 scheduler's secondary
4
4
  * choices. The panel floats under the trigger with `me-select`'s list surface
5
- * and closes, as that list does, on a click outside it, or on Escape. With
5
+ * and closes, as that list does, on a click outside it, or on Escape, and
6
+ * when focus moves out of it, so a later Escape closes the scheduler only
7
+ * once no panel is open. With
6
8
  * `inline` (phones) it opens in place instead, after its siblings in the
7
9
  * parent's flex row, as the filter row always did there.
8
10
  *
@@ -18,6 +20,12 @@ export declare class SchedulerPopover extends LitElement {
18
20
  private requestClose;
19
21
  /** As `me-select`: a click anywhere outside, trigger included, closes it. */
20
22
  private onDocumentClick;
23
+ /**
24
+ * Tabbing on to another control. Not when focus goes nowhere (a click on
25
+ * the panel's own text), nor inline, where closing would move what is
26
+ * being tapped.
27
+ */
28
+ private onFocusout;
21
29
  private onKeydown;
22
30
  render(): TemplateResult;
23
31
  static styles: import("lit").CSSResult;
@@ -176,11 +176,8 @@ export declare class TourSchedulerV2 extends LitElement {
176
176
  * building's layouts.
177
177
  */
178
178
  private get bedroomOptions();
179
- /**
180
- * The form's bedroom preference, from the shared bedrooms: the one offered
181
- * option they name, or none when they name no offered option or several.
182
- */
183
- private get preferredLayout();
179
+ /** The form's bedroom preferences: every offered option the shared bedrooms name. */
180
+ private get preferredLayouts();
184
181
  /** The form's values, with bedrooms and move-in from the shared preferences. */
185
182
  private get formValues();
186
183
  private onContactChange;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meetelise/chat",
3
- "version": "1.73.0",
3
+ "version": "1.74.0",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/MeetElise/chat-ui#readme",