@roomstay/core 0.1.76-2 → 0.1.76-4

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.
Files changed (60) hide show
  1. package/dist/components/DateRangePicker/DateRangePicker.d.ts +16 -0
  2. package/dist/components/DateRangePicker/DateRangePicker.type.d.ts +16 -0
  3. package/dist/components/DateRangePicker/DateRangePickerContext.d.ts +16 -0
  4. package/dist/components/DateRangePicker/DateRangePickerDay.d.ts +22 -0
  5. package/dist/components/DateRangePicker/DateRangePickerDays.d.ts +7 -0
  6. package/dist/components/DateRangePicker/DateRangePickerMonth.d.ts +9 -0
  7. package/dist/components/DateRangePicker/FloatingDateRangePicker.d.ts +26 -0
  8. package/dist/components/DateRangePicker/index.d.ts +3 -0
  9. package/dist/components/Icon/Icon.d.ts +19 -0
  10. package/dist/components/Icon/index.d.ts +1 -0
  11. package/dist/components/Overlay/Overlay.d.ts +21 -0
  12. package/dist/components/Overlay/index.d.ts +1 -0
  13. package/dist/components/RoomstayPortal/RoomstayPortal.d.ts +8 -0
  14. package/dist/components/RoomstayPortal/index.d.ts +1 -0
  15. package/dist/components/Text/Text.d.ts +18 -0
  16. package/dist/components/Text/Text.type.d.ts +14 -0
  17. package/dist/components/Text/index.d.ts +2 -0
  18. package/dist/components/animations/AutoAutoHeight.d.ts +9 -0
  19. package/dist/components/animations/Fade.d.ts +13 -0
  20. package/dist/components/animations/index.d.ts +1 -0
  21. package/dist/components/index.d.ts +6 -0
  22. package/dist/hooks/BodyClickHook.d.ts +8 -0
  23. package/dist/index.node.d.ts +2 -0
  24. package/dist/index.web.d.ts +3 -0
  25. package/dist/node.js +1 -1
  26. package/dist/node.js.map +1 -0
  27. package/dist/roomstay-core-0.1.26.tgz +0 -0
  28. package/dist/stories/DateRangePicker.stories.d.ts +8 -0
  29. package/dist/stories/FloatingDateRangePicker.stories.d.ts +5 -0
  30. package/dist/types/Addon/Addon.d.ts +38 -0
  31. package/dist/types/Api/ReservationsDTO.d.ts +102 -0
  32. package/dist/types/Api/RoomNightRateDTO.d.ts +7 -0
  33. package/dist/types/Availability/Availability.types.d.ts +3 -0
  34. package/dist/types/GiftCards/GiftCard.types.d.ts +1 -0
  35. package/dist/types/Hotel/EHotelAddressRequirement.enum.d.ts +5 -0
  36. package/dist/types/Hotel/IHotel.enum.d.ts +32 -0
  37. package/dist/types/Hotel/IHotel.type.d.ts +275 -0
  38. package/dist/types/Hotel/IntegrationConfigs.type.d.ts +76 -0
  39. package/dist/types/Hotel/InternalMemberSignInModal.type.d.ts +13 -0
  40. package/dist/types/Hotel/InternalMemberSignInModal.types.d.ts +13 -0
  41. package/dist/types/PromoCode/PromoCodeStayDateRangeType.enum.d.ts +11 -0
  42. package/dist/types/RMS/RMSBookingSource.type.d.ts +7 -0
  43. package/dist/types/Room/HotelRoom.type.d.ts +24 -0
  44. package/dist/types/Room/SynxisRoom.type.d.ts +35 -0
  45. package/dist/types/index.d.ts +7 -4
  46. package/dist/utils/CalendarHelper.d.ts +16 -0
  47. package/dist/utils/color.d.ts +17 -0
  48. package/dist/utils/index.node.d.ts +2 -0
  49. package/dist/utils/index.web.d.ts +4 -0
  50. package/dist/web.js +1 -1
  51. package/dist/web.js.map +1 -0
  52. package/package.json +1 -1
  53. package/dist/node.js.LICENSE.txt +0 -7
  54. package/dist/types/Analytics/IAnalyticsEvent.type.d.ts +0 -35
  55. package/dist/types/Analytics/IAnalyticsSession.type.d.ts +0 -11
  56. package/dist/types/Analytics/IBigQueryResponse.type.d.ts +0 -24
  57. package/dist/types/Booking/ISplitPayment.type.d.ts +0 -89
  58. package/dist/types/Fees/IFeeOptions.type.d.ts +0 -6
  59. package/dist/utils/feeOptionRules.d.ts +0 -0
  60. package/dist/web.js.LICENSE.txt +0 -7
@@ -0,0 +1,275 @@
1
+ import { EBookingPaymentMethod, EHotelCardProcessor } from "../Booking/IBookingPayment.type";
2
+ import { MediaType } from "../Media/IMedia.type";
3
+ import { HotelRoomType } from "../Room/HotelRoom.type";
4
+ import { HotelRoomGroupsType } from "../Room/IRoomGroup.type";
5
+ import { EHotelPriceModel } from "./EHotelPriceModel.enum";
6
+ import { EHotelStateFieldConfiguration } from "./EHotelStateFieldConfiguration.enum";
7
+ import { EHotelWeekdayStartsOn } from "./EHotelWeekdayStartsOn.enum";
8
+ import { EIntegration } from "./EIntegration.enum";
9
+ import { DatepickerType, EPaymentCardType, HotelDataSource } from "./IHotel.enum";
10
+ import { IHotelColorScheme } from "./IHotelColorScheme.type";
11
+ import { EDistanceUnitType, IHotelOverrides } from "./IHotelOverrides.type";
12
+ import { IHotelService } from "./IHotelService.type";
13
+ import { ActiveCampaignConfigs, Big4Configs, GdayConfigs, PlanPayConfigs, PlanpayConfigs, TillPaymentsConfigs } from "./IntegrationConfigs.type";
14
+ import { InternalMemberSignInInputs } from "./InternalMemberSignInModal.type";
15
+ export interface IVGSVaultNames {
16
+ standard: string;
17
+ members: string;
18
+ }
19
+ export interface IChildConfiguration {
20
+ supportChildren: boolean;
21
+ supportInfants: boolean;
22
+ childRange: {
23
+ min: number;
24
+ max: number;
25
+ };
26
+ infantRange: {
27
+ min: number;
28
+ max: number;
29
+ };
30
+ }
31
+ export type AddressType = {
32
+ line1: string;
33
+ line2?: string;
34
+ line3?: string;
35
+ city: string;
36
+ postalCode: string;
37
+ state: string;
38
+ country: string;
39
+ };
40
+ export type DealDisplayStrategyType = {
41
+ includePromotionalRates?: boolean;
42
+ includeMemberDeals?: boolean;
43
+ };
44
+ export type FrontendPerkType = {
45
+ name: string;
46
+ icon?: string;
47
+ image?: MediaType["url"];
48
+ };
49
+ export type HotelPerkType = {
50
+ name: string;
51
+ icon?: any;
52
+ id?: string;
53
+ companyId?: number;
54
+ hotelId?: string;
55
+ mediaId?: string;
56
+ media?: MediaType;
57
+ order?: number;
58
+ };
59
+ export type AdminHotelPerkConfigurationType = {
60
+ title?: string;
61
+ perks?: HotelPerkType[];
62
+ companyIcons?: MediaType[];
63
+ };
64
+ export interface IHotel {
65
+ /** FE/Admin Begin*/
66
+ id: string;
67
+ name: string;
68
+ chainId: number;
69
+ chainName: string | null;
70
+ phone: string;
71
+ latitude: string;
72
+ longitude: string;
73
+ utcOffset: string;
74
+ timeZone: string;
75
+ languageCode: string;
76
+ currencyCode: string;
77
+ checkInTime: string;
78
+ checkOutTime: string;
79
+ description: string;
80
+ locationDescription: string;
81
+ vgsVaultName?: string;
82
+ vgsMembers?: string;
83
+ vgsStandard?: string;
84
+ email: string;
85
+ shortName: string;
86
+ perkTitle?: string;
87
+ countryPrefix?: string;
88
+ policies: string;
89
+ hotelUrl: string;
90
+ checkoutUrl?: string;
91
+ paymentCardTypes: EPaymentCardType[];
92
+ distanceUnitType: EDistanceUnitType;
93
+ businessServices: IHotelService[];
94
+ hotelServices: IHotelService[];
95
+ cardProcessor: EHotelCardProcessor;
96
+ dealDisplayStrategy?: DealDisplayStrategyType;
97
+ stateFieldConfiguration: EHotelStateFieldConfiguration;
98
+ weekdayStartsOn: EHotelWeekdayStartsOn;
99
+ planpay?: Omit<PlanPayConfigs, "password">;
100
+ requireDeposit: boolean;
101
+ enableCreditCardSurcharge: boolean;
102
+ preventSameDayBookingsForDirtyRooms: boolean;
103
+ preventCancellation: boolean;
104
+ showMealPill: boolean;
105
+ showAddonLoader: boolean;
106
+ captureChildAge: boolean;
107
+ maxAdults: number;
108
+ maxChildren: number;
109
+ maxInfants: number;
110
+ pendingBookingTimeout: number;
111
+ }
112
+ export interface IHotelFrontend extends IHotel {
113
+ /** FE Only Begin */
114
+ address: AddressType;
115
+ rooms: {
116
+ [roomName: string]: HotelRoomType;
117
+ };
118
+ roomGroups: HotelRoomGroupsType[];
119
+ dataSource: HotelDataSource;
120
+ paymentMethods: EBookingPaymentMethod[];
121
+ integrations: EIntegration[];
122
+ availableCountries?: {
123
+ name: string;
124
+ value: string;
125
+ }[];
126
+ childConfiguration?: IChildConfiguration;
127
+ memberOnlySignupInputs?: InternalMemberSignInInputs;
128
+ defaultDatepickerType?: DatepickerType;
129
+ googleReCaptcha?: {
130
+ loadForMembers: boolean;
131
+ siteKey: string;
132
+ };
133
+ overwrites?: {
134
+ [roomCode: string]: {
135
+ RoomDimensions?: string;
136
+ prePerkDisclaimer?: string;
137
+ perks?: FrontendPerkType[];
138
+ };
139
+ };
140
+ company?: {
141
+ url?: string;
142
+ logo?: string;
143
+ };
144
+ vgs?: {
145
+ vaultNames: IVGSVaultNames;
146
+ };
147
+ colors: IHotelColorScheme;
148
+ images: string[];
149
+ heroImage: string;
150
+ googleMapsImage?: string;
151
+ quoteImageDesktop?: string;
152
+ quoteImageMobile?: string;
153
+ memberOnlyImage?: string;
154
+ bookNowPayLaterUrl?: string;
155
+ bestRateUrl?: string;
156
+ providerHotelID?: string;
157
+ memberOnlyPromoCode?: string;
158
+ logo?: string;
159
+ memberOnlyRates?: string[];
160
+ crossSellHotelIds?: string[];
161
+ memberOnlyModalUsePrimaryColor: boolean;
162
+ memberOnlyRenderRateLast: boolean;
163
+ forwardFindReservationToSynxis: boolean;
164
+ onLoad?: string | (() => void);
165
+ }
166
+ export interface IHotelAdmin extends IHotel {
167
+ /** Admin Only Begin */
168
+ planpayConfigs: PlanpayConfigs;
169
+ big4Configs: Big4Configs;
170
+ gdayConfigs: GdayConfigs;
171
+ tillConfigs: TillPaymentsConfigs;
172
+ activeCampaignConfigs: ActiveCampaignConfigs;
173
+ integrations: {
174
+ planpay: PlanPayConfigs;
175
+ tillPayments: TillPaymentsConfigs;
176
+ big4: Big4Configs;
177
+ };
178
+ useMinimumStayOnArrival: boolean;
179
+ splitChildAndInfant: boolean;
180
+ supportChildren: boolean;
181
+ reCaptchaLoadForMembers: boolean;
182
+ roomstaySendsEmails: boolean;
183
+ roomstaySendsEmailsCancellation: boolean;
184
+ reservationContactEmail?: string;
185
+ reCaptchaSiteKey?: string;
186
+ addressLine1?: string;
187
+ addressLine2?: string;
188
+ addressLine3?: string;
189
+ cityName?: string;
190
+ postalCode?: string;
191
+ state?: string;
192
+ country?: string;
193
+ availabilityType?: string;
194
+ calendarAvailabilityStrategy?: string;
195
+ cancellationEmailTemplate?: string;
196
+ confirmationEmailTemplate?: string;
197
+ ccBookingEmailsTo?: string;
198
+ crossSellDescription?: string;
199
+ crossSellHotelId?: string;
200
+ currentNightLastBookingTime?: string;
201
+ deletedDate?: string;
202
+ focusedCalendarRateId?: string;
203
+ frontendId: string;
204
+ providerId: string;
205
+ urlName?: string;
206
+ crossSellImagePath?: string;
207
+ environment?: string;
208
+ revinateToken?: string;
209
+ label?: string;
210
+ createdDate?: string;
211
+ updatedDate?: string;
212
+ supportedLanguages?: string[];
213
+ roomTypeCodes: string[];
214
+ rateMembersData: {
215
+ id: string;
216
+ rateCode: string;
217
+ hotelId: string;
218
+ companyId: number;
219
+ }[];
220
+ auxiliaryFilters: {
221
+ id: string;
222
+ name: string;
223
+ type: string;
224
+ includeAllAbove: boolean;
225
+ requireInput: boolean;
226
+ filterOptions: {
227
+ label: string;
228
+ value: number;
229
+ }[];
230
+ }[];
231
+ hotelColorScheme?: IHotelColorScheme;
232
+ hotelOverride?: IHotelOverrides;
233
+ images?: MediaType[];
234
+ logo?: MediaType;
235
+ heroImage?: MediaType;
236
+ googleMapsImage?: MediaType;
237
+ quoteImageDesktop?: MediaType;
238
+ quoteImageMobile?: MediaType;
239
+ memberOnlyImage?: MediaType;
240
+ maxChildAge?: number;
241
+ maxInfantAge?: number;
242
+ minChildAge?: number;
243
+ minInfantAge?: number;
244
+ passTemporaryBookingComment?: boolean;
245
+ preferProviderBookingId?: boolean;
246
+ perkConfiguration?: AdminHotelPerkConfigurationType;
247
+ priceModel: EHotelPriceModel;
248
+ providerData?: IHotelProviderData;
249
+ startsWeekOnDay: EHotelWeekdayStartsOn;
250
+ }
251
+ export interface IHotelProviderData {
252
+ rooms: {
253
+ [roomCode: string]: {
254
+ code: string;
255
+ name: string;
256
+ shortDescription: string;
257
+ longDescription: string;
258
+ bedType: string;
259
+ images: string[];
260
+ quantity: number;
261
+ maxOccupancy: number;
262
+ bedQuantity: number;
263
+ standardNumBeds: number;
264
+ maxRollaways: number;
265
+ amenities: {
266
+ type: string;
267
+ description: string;
268
+ }[];
269
+ features: {
270
+ type: string;
271
+ description: string;
272
+ }[];
273
+ };
274
+ };
275
+ }
@@ -0,0 +1,76 @@
1
+ export interface PlanpayConfigs {
2
+ deletedDate: string;
3
+ createdDate: string;
4
+ updatedDate: string;
5
+ companyId: number;
6
+ hotelId: string;
7
+ enabled: boolean;
8
+ username: string;
9
+ password: string;
10
+ endpoint: string;
11
+ minDaysShowPlanpay: number;
12
+ env: string;
13
+ }
14
+ export interface Big4Configs {
15
+ deletedDate: string;
16
+ createdDate: string;
17
+ updatedDate: string;
18
+ companyId: number;
19
+ hotelId: string;
20
+ enabled: boolean;
21
+ big4ParkId: string;
22
+ freeDiscountId: number;
23
+ perksPlusDiscountId: number;
24
+ vipPerksDiscountId: number;
25
+ }
26
+ export interface PlanPayConfigs {
27
+ username: string;
28
+ password: string;
29
+ env: string;
30
+ minDaysShowPlanpay: number;
31
+ enabled?: boolean;
32
+ }
33
+ export interface TillPaymentsConfigs {
34
+ deletedDate: string;
35
+ createdDate: string;
36
+ updatedDate: string;
37
+ companyId: number;
38
+ hotelId: string;
39
+ enabled: boolean;
40
+ apiKey: string;
41
+ sharedSecred: string;
42
+ apiUsername: string;
43
+ apiPassword: string;
44
+ useTestingDatabase: boolean;
45
+ includeSignature: boolean;
46
+ publicIntegrationKey: string;
47
+ }
48
+ export interface Big4Configs {
49
+ parkId: string;
50
+ freeDiscountId: number;
51
+ perksPlusDiscountId: number;
52
+ vipPerksDiscountId: number;
53
+ enabled: boolean;
54
+ }
55
+ export interface ActiveCampaignConfigs {
56
+ deletedDate: string;
57
+ createdDate: string;
58
+ updatedDate: string;
59
+ companyId: number;
60
+ hotelId: string;
61
+ enabled: boolean;
62
+ apiUrl: string;
63
+ apiKey: string;
64
+ listId: number;
65
+ tagName: string;
66
+ }
67
+ export interface GdayConfigs {
68
+ deletedDate: string;
69
+ createdDate: string;
70
+ updatedDate: string;
71
+ parkId: string;
72
+ gdayDiscountId: number;
73
+ companyId: number;
74
+ hotelId: string;
75
+ enabled: boolean;
76
+ }
@@ -0,0 +1,13 @@
1
+ export type InputGroupDimensions = "1" | "2/2" | "3/1" | "1/3" | "1/2/2" | "1/1/1";
2
+ export interface InternalMemberSignInInputs {
3
+ Lines: {
4
+ Dimension: InputGroupDimensions;
5
+ Inputs: {
6
+ name: string;
7
+ type: "TextBox";
8
+ placeholder?: string;
9
+ isRequired?: boolean;
10
+ validate?: (value: string) => string | boolean;
11
+ }[];
12
+ }[];
13
+ }
@@ -0,0 +1,13 @@
1
+ export type InputGroupDimensions = "1" | "2/2" | "3/1" | "1/3" | "1/2/2" | "1/1/1";
2
+ export interface InternalMemberSignInInputs {
3
+ Lines: {
4
+ Dimension: InputGroupDimensions;
5
+ Inputs: {
6
+ name: string;
7
+ type: "TextBox";
8
+ placeholder?: string;
9
+ isRequired?: boolean;
10
+ validate?: (value: string) => string | boolean;
11
+ }[];
12
+ }[];
13
+ }
@@ -0,0 +1,11 @@
1
+ export declare enum EPromoCodeStayDateRangeType {
2
+ Allowed = "Allowed",
3
+ Blocked = "Blocked"
4
+ }
5
+ export declare enum EPromoCodeStayDateRangeRepeatType {
6
+ None = "None",
7
+ Weekly = "Weekly",
8
+ MonthlyDayOfWeek = "MonthlyDayOfWeek",
9
+ MonthlyDate = "MonthlyDate",
10
+ Yearly = "Yearly"
11
+ }
@@ -0,0 +1,7 @@
1
+ export type RMSBookingSourceType = {
2
+ id: number;
3
+ companyId: number;
4
+ hotelId: string;
5
+ name: string;
6
+ code: string;
7
+ };
@@ -0,0 +1,24 @@
1
+ export type HotelRoomAmenitiesType = {
2
+ type: string;
3
+ description: string;
4
+ };
5
+ export declare class HotelRoomType {
6
+ code: string;
7
+ name: string;
8
+ shortDescription: string;
9
+ longDescription: string;
10
+ images: string[];
11
+ quantity: number;
12
+ maxOccupancy: number;
13
+ bedQuantity: number;
14
+ showBedType?: boolean;
15
+ standardNumBeds: number;
16
+ maxRollaways: number;
17
+ bedType: string;
18
+ amenities: HotelRoomAmenitiesType[];
19
+ features: HotelRoomAmenitiesType[];
20
+ bedTypeOverride?: string;
21
+ roomGroupId?: string;
22
+ roomSize?: number;
23
+ prePerkDisclaimer?: string;
24
+ }
@@ -0,0 +1,35 @@
1
+ export declare class SynxisRoom {
2
+ /** Room Type Code for this room in SynXis CR. */
3
+ code: string;
4
+ /** Name of the room type */
5
+ name: string;
6
+ shortDescription: string;
7
+ longDescription: string;
8
+ images: string[];
9
+ amenities: {
10
+ type: string;
11
+ description: string;
12
+ }[];
13
+ features: {
14
+ type: string;
15
+ description: string;
16
+ }[];
17
+ /** The number of guest rooms at the hotel for the guest room type. */
18
+ quantity: number;
19
+ /** The maximum guest occupancy for the SynXis CR room type. */
20
+ maxOccupancy: number;
21
+ /** Sum of the total number of Beds for the room type. */
22
+ standardNumBeds?: number;
23
+ /** Number of rollaways allowed in this room type */
24
+ maxRollaways?: number;
25
+ /** The type of beds in the room. */
26
+ bedType?: string;
27
+ /** Stored quantity for the default or primary bed type. */
28
+ bedQuantity?: number;
29
+ /** The view of the room. */
30
+ roomViewType?: string;
31
+ bedTypeOverride?: string;
32
+ roomGroupId?: string;
33
+ showBedType?: boolean;
34
+ roomSize?: number;
35
+ }
@@ -9,13 +9,13 @@ export * from './Booking/ConfirmBooking.types';
9
9
  export * from './Booking/EBooking.types';
10
10
  export * from './Booking/GetBooking.types';
11
11
  export * from './Booking/IBookingCreateErrorResponse.type';
12
+ export * from './Booking/IBookingExtraFields.type';
12
13
  export * from './Booking/IBookingPayment.type';
13
14
  export * from './Booking/IBookingQuote.type';
14
15
  export * from './Booking/ICommonQueryParameters.type';
15
16
  export * from './Booking/Itinerary.types';
16
17
  export * from './Booking/PencilReservation.types';
17
18
  export * from './Booking/PlaceBooking.types';
18
- export * from './Booking/IBookingExtraFields.type';
19
19
  /**
20
20
  * Company
21
21
  */
@@ -25,6 +25,7 @@ export * from './Company/IAdminCompanyUser.type';
25
25
  /**
26
26
  * Hotel
27
27
  */
28
+ export * from './Hotel/EHotelAddressRequirement.enum';
28
29
  export * from './Hotel/EHotelPriceModel.enum';
29
30
  export * from './Hotel/EHotelStateFieldConfiguration.enum';
30
31
  export * from './Hotel/EHotelWeekdayStartsOn.enum';
@@ -41,12 +42,13 @@ export * from './Room/IRoomGroup.type';
41
42
  /**
42
43
  * RMS
43
44
  */
45
+ export * from './RMS/ERMSAuthSyncHistoryStatus.type';
44
46
  export * from './RMS/ERMSDiscountType.enum';
47
+ export * from './RMS/ERMSSyncStrategy.enum';
45
48
  export * from './RMS/IRMSPropertyDiscount.type';
46
49
  export * from './RMS/IRMSRequirement.type';
47
- export * from './RMS/ERMSSyncStrategy.enum';
48
- export * from './RMS/ERMSAuthSyncHistoryStatus.type';
49
50
  export * from './RMS/IRMSSyncResponse.type';
51
+ export * from './RMS/RMSBookingSource.type';
50
52
  /**
51
53
  * OHIP
52
54
  */
@@ -83,6 +85,7 @@ export * from './Policies/EGuaranteePolicy.enum';
83
85
  * PromoCode
84
86
  */
85
87
  export * from './PromoCode/EPromoCodeDiscountType.enum';
88
+ export * from './PromoCode/PromoCodeStayDateRangeType.enum';
86
89
  /**
87
90
  * Roomstay Events
88
91
  */
@@ -118,8 +121,8 @@ export * from './Analytics/IBigQueryResults.type';
118
121
  /**
119
122
  * Analytics Events
120
123
  */
121
- export * from './AnalyticsEvents/IAnalyticsSession.type';
122
124
  export * from './AnalyticsEvents/IAnalyticsEvent.type';
125
+ export * from './AnalyticsEvents/IAnalyticsSession.type';
123
126
  export * from './AnalyticsEvents/IRoomstayEventData.type';
124
127
  export * from './AnalyticsEvents/MetaCapiTransformer';
125
128
  /**
@@ -0,0 +1,16 @@
1
+ import dayjs from 'dayjs';
2
+ import { WeekdayStartsOn } from '../index.web';
3
+ export declare const getLetterDaysOfWeek: (startsWeekOnDay: string) => string[];
4
+ export default class CalendarHelper {
5
+ /**
6
+ * Returns an array always divisible by 7,
7
+ *
8
+ * Essentially no matter what what month is given, this function will always return the same number of days;
9
+ * with each MOD 7 index representing the correct date.
10
+ */
11
+ static getWeekPaddedMonthArrayForDate: (startWeekOnDay: WeekdayStartsOn, date: dayjs.Dayjs) => string[];
12
+ static getMonthArray: (date: dayjs.Dayjs) => dayjs.Dayjs[];
13
+ static getWeekFrom: (date: dayjs.Dayjs) => dayjs.Dayjs[];
14
+ static getWeekTo: (date: dayjs.Dayjs) => dayjs.Dayjs[];
15
+ static getDaysBetween: (startDate: dayjs.Dayjs, endDate: dayjs.Dayjs) => dayjs.Dayjs[];
16
+ }
@@ -0,0 +1,17 @@
1
+ export declare enum Color {
2
+ Accent = "var(--rs-color-accent-1)",
3
+ Accent2 = "var(--rs-color-accent-2)",
4
+ Accent3 = "var(--rs-color-accent-3)",
5
+ Success = "var(--rs-color-success)",
6
+ SuccessTint = "var(--rs-color-success-tint)",
7
+ Danger = "var(--rs-color-danger)",
8
+ Warning = "var(--rs-color-warning)",
9
+ Alert = "var(--rs-color-alert)",
10
+ Graphite = "var(--rs-color-graphite)",
11
+ DarkGrey = "var(--rs-color-dark-grey)",
12
+ Grey = "var(--rs-color-grey)",
13
+ LightGrey = "var(--rs-color-light-grey)",
14
+ Snow = "var(--rs-color-snow)",
15
+ Navy = "var(--rs-color-navy)",
16
+ White = "var(--rs-color-white)"
17
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./uppercaseString";
2
+ export * from "./bookingTotal";
@@ -0,0 +1,4 @@
1
+ export * from "./uppercaseString";
2
+ export * from "./bookingTotal";
3
+ export * from "./color";
4
+ export * from "./CalendarHelper";