@meetelise/chat 1.40.0 → 1.40.2
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/date-picker.d.ts +2 -0
- package/dist/src/WebComponent/Scheduler/time-picker.d.ts +3 -1
- package/dist/src/getAvailabilities.d.ts +10 -0
- package/package.json +1 -1
- package/public/dist/index.js +224 -222
- package/src/WebComponent/Scheduler/date-picker.ts +11 -1
- package/src/WebComponent/Scheduler/time-picker.ts +14 -2
- package/src/WebComponent/Scheduler/tour-scheduler.ts +66 -0
- package/src/WebComponent/launcher/Launcher.ts +7 -0
- package/src/getAvailabilities.ts +10 -1
|
@@ -11,12 +11,14 @@ export declare class DatePicker extends LitElement {
|
|
|
11
11
|
* The attribute will not be updated if the user changes the year shown.
|
|
12
12
|
*/
|
|
13
13
|
defaultYear?: number;
|
|
14
|
+
defaultDate?: Date;
|
|
14
15
|
availabilities?: {
|
|
15
16
|
[day: string]: Date[];
|
|
16
17
|
};
|
|
17
18
|
private _selectedDate?;
|
|
18
19
|
set selectedDate(date: Date | undefined);
|
|
19
20
|
get selectedDate(): undefined | Date;
|
|
21
|
+
protected firstUpdated(): void;
|
|
20
22
|
now: Date;
|
|
21
23
|
private _monthShown;
|
|
22
24
|
set monthShown(month: number);
|
|
@@ -9,8 +9,10 @@ export declare class TimePicker extends LitElement {
|
|
|
9
9
|
options: TimePickerOption[];
|
|
10
10
|
selectedDateExists: boolean;
|
|
11
11
|
timezone: string;
|
|
12
|
+
defaultSelectedTime?: TimePickerOption | null;
|
|
12
13
|
private selected?;
|
|
13
|
-
get selectedTime(): undefined | TimePickerOption;
|
|
14
|
+
get selectedTime(): undefined | TimePickerOption | null;
|
|
15
|
+
willUpdate(changedProperties: Map<string, unknown>): void;
|
|
14
16
|
static styles: import("lit").CSSResult;
|
|
15
17
|
render(): TemplateResult;
|
|
16
18
|
}
|
|
@@ -44,3 +44,13 @@ export declare const getExistenceOfAvailabilitiesByTourType: () => Promise<{
|
|
|
44
44
|
export declare const getAvailabilitiesGroupedByDay: (tourType: TourAvailabilityResponseRankOrderedSupportedTourTypesEnum, buildingId?: number) => Promise<{
|
|
45
45
|
[day: string]: DateWithTimeZoneOffset[];
|
|
46
46
|
}>;
|
|
47
|
+
/**
|
|
48
|
+
* Takes an ISO 8601 date string with time zone offset and returns
|
|
49
|
+
* an object of our custom type DateWithTimeZoneOffset.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* // returns { datetime: '2022-06-27T09:00:00', offset: '-07:00' }
|
|
53
|
+
* dateStringToDateWithTimeZoneOffset('2022-06-27T09:00:00-07:00')
|
|
54
|
+
* */
|
|
55
|
+
export declare const dateStringToDateWithTimeZoneOffset: (dateString: string) => DateWithTimeZoneOffset;
|
|
56
|
+
export declare const dateToDateWithTimeZoneOffset: (date: Date) => DateWithTimeZoneOffset;
|