@roomstay/core 0.1.28 → 0.1.29
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/.DS_Store +0 -0
- package/dist/node.js.map +1 -1
- package/dist/types/Hotel/IHotelColorScheme.type.d.ts +15 -0
- package/dist/types/stories/DateRangePicker.stories.d.ts +1 -1
- package/dist/types/stories/FloatingDateRangePicker.stories.d.ts +1 -1
- package/dist/types/types/Booking/IBookingPayment.type.d.ts +2 -12
- package/dist/types/types/index.d.ts +0 -26
- package/dist/web.js.map +1 -1
- package/package.json +1 -1
- package/dist/types/types/Booking/IBookingCreateErrorResponse.d.ts +0 -11
- package/dist/types/types/Booking/IBookingQuote.type.d.ts +0 -29
- package/dist/types/types/Company/ECompanyProvider.enum.d.ts +0 -6
- package/dist/types/types/Company/IAdminCompany.type.d.ts +0 -31
- package/dist/types/types/Hotel/IAuxiliaryFilter.type.d.ts +0 -20
- package/dist/types/types/Image/IRoomstayImage.type.d.ts +0 -8
- package/dist/types/types/Policies/EGuaranteePolicy.enum.d.ts +0 -5
- package/dist/types/types/RMS/ERMSDiscountType.enum.d.ts +0 -5
- package/dist/types/types/RMS/IRMSPropertyDiscount.type.d.ts +0 -28
- package/dist/types/types/RMS/IRMSRequirement.type.d.ts +0 -19
- package/dist/types/types/Room/IRoomGroup.type.d.ts +0 -11
- package/dist/types/utils/roomstayImageResize.d.ts +0 -14
package/dist/.DS_Store
ADDED
|
Binary file
|
package/dist/node.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.js","sources":["../src/types/Booking/IBookingStatus.type.ts","../src/types/Booking/IBookingPayment.type.ts","../src/types/
|
|
1
|
+
{"version":3,"file":"node.js","sources":["../src/types/Booking/IBookingStatus.type.ts","../src/types/Booking/IBookingPayment.type.ts","../src/types/Hotel/IHotelOverrides.type.ts","../src/types/Hotel/EHotelPriceModel.enum.ts","../src/types/Hotel/EHotelWeekdayStartsOn.enum.ts","../src/utils/bookingTotal.ts","../src/utils/uppercaseString.ts"],"sourcesContent":[null,null,null,null,null,null,null],"names":["IBookingStatus","EBookingPaymentMethod","EPlanpayBookingStatus","EDistanceUnitType","EHotelPriceModel","EHotelWeekdayStartsOn","reservation","total","itinerary","Object","values","item","nightsArray","keys","nights","night","toUppercase","toUpperCase"],"mappings":"aAAA,IAAYA,ECAAC,EAMAC,ECNAC,ECAAC,ECAAC,EJAAL,QAIXA,oBAAA,GAJWA,EAAAA,QAAcA,iBAAdA,uBAIX,CAAA,IAHC,QAAA,UACAA,EAAA,UAAA,YACAA,EAAA,UAAA,YCHUC,QAIXA,2BAAA,GAJWA,EAAAA,gCAAAA,QAAAA,sBAIX,CAAA,IAHC,KAAA,OACAA,EAAA,UAAA,YACAA,EAAA,QAAA,UAGUC,QAOXA,2BAAA,GAPWA,EAAAA,QAAqBA,wBAArBA,8BAOX,CAAA,IANC,QAAA,UACAA,EAAA,OAAA,SACAA,EAAA,SAAA,WACAA,EAAA,UAAA,YACAA,EAAA,SAAA,WACAA,EAAA,SAAA,WCZUC,QAGXA,uBAAA,GAHWA,EAAAA,QAAiBA,oBAAjBA,0BAGX,CAAA,IAFC,OAAA,SACAA,EAAA,SAAA,WCFUC,QAIXA,sBAAA,GAJWA,EAAAA,QAAgBA,mBAAhBA,yBAIX,CAAA,IAHC,UAAA,YACAA,EAAA,OAAA,SACAA,EAAA,aAAA,eCHUC,QAGXA,2BAAA,GAHWA,EAAAA,QAAqBA,wBAArBA,8BAGX,CAAA,IAFC,OAAA,SACAA,EAAA,OAAA,gDCMAC,IAEA,IAAIC,EAAQ,EAEZ,MAAMC,EAAYC,OAAOC,OAAOJ,EAAYE,WAE5C,IAAK,MAAMG,KAAQH,EAAW,CAC5B,MAAMI,EAAcH,OAAOI,KAAKF,EAAKG,QAErC,IAAK,MAAMC,KAASH,EAClBL,GAASI,EAAKG,OAAOC,GAAOR,KAE/B,CAED,OAAOA,CAAK,0BCtBR,SAA0BS,GAC9B,OAAOA,EAAYC,aACrB"}
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
export type IFEBtnColor = {
|
|
2
|
+
enable: boolean;
|
|
3
|
+
background: string;
|
|
4
|
+
backgroundActive: string;
|
|
5
|
+
};
|
|
1
6
|
export type IHotelColorScheme = {
|
|
2
7
|
accent: string;
|
|
3
8
|
accent2: string;
|
|
@@ -8,4 +13,14 @@ export type IHotelColorScheme = {
|
|
|
8
13
|
text?: string;
|
|
9
14
|
textActive?: string;
|
|
10
15
|
};
|
|
16
|
+
checkAvailability?: IFEBtnColor;
|
|
17
|
+
viewRates?: IFEBtnColor;
|
|
18
|
+
closeRates?: IFEBtnColor;
|
|
19
|
+
bookNow?: IFEBtnColor;
|
|
20
|
+
nextStep?: IFEBtnColor;
|
|
21
|
+
confirmReservation?: IFEBtnColor;
|
|
22
|
+
yourroomisbeingheldfor?: {
|
|
23
|
+
enable: boolean;
|
|
24
|
+
background: string;
|
|
25
|
+
};
|
|
11
26
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { DateRangePickerProps } from "@components/DateRangePicker/DateRangePicker";
|
|
3
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, DateRangePickerProps>;
|
|
4
4
|
export default _default;
|
|
5
5
|
export declare const Primary: (args: DateRangePickerProps) => React.JSX.Element;
|
|
6
6
|
export declare const StartDatePopulated: (args: DateRangePickerProps) => React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@components").FloatingDateRangePickerProps & React.RefAttributes<import("@components").FloatingDateRangePickerHandle>>;
|
|
3
3
|
export default _default;
|
|
4
4
|
export declare const Primary: () => React.JSX.Element;
|
|
5
5
|
export declare const ThemeSpecific: () => React.JSX.Element;
|
|
@@ -1,20 +1,10 @@
|
|
|
1
1
|
export declare enum EBookingPaymentMethod {
|
|
2
2
|
Card = "Card",
|
|
3
3
|
SavedCard = "SavedCard",
|
|
4
|
-
Planpay = "Planpay"
|
|
5
|
-
Adyen = "Adyen"
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* This enum decides what the function of the default payment input is (additionals like Planpay, or perhaps crypto in the future are other options, this only governs the default card input)
|
|
9
|
-
*/
|
|
10
|
-
export declare enum EHotelCardProcessor {
|
|
11
|
-
Passthrough = "Passthrough",
|
|
12
|
-
Adyen = "Adyen",
|
|
13
|
-
Till = "Till",
|
|
14
|
-
RMSPay = "RMSPay"
|
|
4
|
+
Planpay = "Planpay"
|
|
15
5
|
}
|
|
16
6
|
export declare enum EPlanpayBookingStatus {
|
|
17
|
-
Unknown = "unknown"
|
|
7
|
+
Unknown = "unknown",
|
|
18
8
|
Unpaid = "unpaid",
|
|
19
9
|
Accepted = "accepted",
|
|
20
10
|
Cancelled = "cancelled",
|
|
@@ -4,13 +4,6 @@
|
|
|
4
4
|
export * from "./Booking/IPrice.type";
|
|
5
5
|
export * from "./Booking/IBookingStatus.type";
|
|
6
6
|
export * from "./Booking/IBookingPayment.type";
|
|
7
|
-
export * from './Booking/IBookingQuote.type';
|
|
8
|
-
export * from './Booking/IBookingCreateErrorResponse';
|
|
9
|
-
/**
|
|
10
|
-
* Company
|
|
11
|
-
*/
|
|
12
|
-
export * from './Company/IAdminCompany.type';
|
|
13
|
-
export * from './Company/ECompanyProvider.enum';
|
|
14
7
|
/**
|
|
15
8
|
* Hotel
|
|
16
9
|
*/
|
|
@@ -20,21 +13,6 @@ export * from "./Hotel/IHotelOverrides.type";
|
|
|
20
13
|
export * from "./Hotel/IHotelService.type";
|
|
21
14
|
export * from "./Hotel/EHotelPriceModel.enum";
|
|
22
15
|
export * from "./Hotel/EHotelWeekdayStartsOn.enum";
|
|
23
|
-
export * from './Hotel/IAuxiliaryFilter.type';
|
|
24
|
-
/**
|
|
25
|
-
* Room
|
|
26
|
-
*/
|
|
27
|
-
export * from './Room/IRoomGroup.type';
|
|
28
|
-
/**
|
|
29
|
-
* RMS
|
|
30
|
-
*/
|
|
31
|
-
export * from './RMS/IRMSPropertyDiscount.type';
|
|
32
|
-
export * from './RMS/ERMSDiscountType.enum';
|
|
33
|
-
export * from './RMS/IRMSRequirement.type';
|
|
34
|
-
/**
|
|
35
|
-
* Image
|
|
36
|
-
*/
|
|
37
|
-
export * from './Image/IRoomstayImage.type';
|
|
38
16
|
/**
|
|
39
17
|
* Member Details
|
|
40
18
|
*/
|
|
@@ -46,10 +24,6 @@ export * from "./Member/IRoomstayMemberBookingProfile.type";
|
|
|
46
24
|
export * from "./Member/IRoomstayMemberBookingAddress.type";
|
|
47
25
|
export * from "./Member/IRoomstayMemberCards.type";
|
|
48
26
|
export * from "./Member/ISession.type";
|
|
49
|
-
/**
|
|
50
|
-
* Policies
|
|
51
|
-
*/
|
|
52
|
-
export * from './Policies/EGuaranteePolicy.enum';
|
|
53
27
|
/**
|
|
54
28
|
* Roomstay Events
|
|
55
29
|
*/
|