swoop-common 2.2.190 → 2.2.192
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/api/generated/core/exports.d.ts +1 -0
- package/dist/api/generated/core/index.d.ts +1 -0
- package/dist/api/generated/core/models/DTOPublicSnapshotCreate.d.ts +1 -0
- package/dist/api/generated/core/models/DTOPublicSnapshotEntity.d.ts +1 -0
- package/dist/api/generated/core/models/DTOPublicSnapshotRead.d.ts +1 -0
- package/dist/api/generated/core/models/PublicSnapshotPartner.d.ts +7 -0
- package/dist/api/generated/core/models/PublicSnapshotPartner.js +1 -0
- package/dist/api/generated/swoop/models/Country.d.ts +1 -0
- package/dist/api/generated/swoop/models/Country_jsonld.d.ts +1 -0
- package/dist/api/generated/swoop/models/Customer.d.ts +2 -0
- package/dist/api/generated/swoop/models/Customer_jsonld.d.ts +2 -0
- package/dist/api/generated/swoop/models/Enquiry.d.ts +1 -0
- package/dist/api/generated/swoop/models/Enquiry_jsonld.d.ts +1 -0
- package/dist/api/generated/swoop/models/Partner.d.ts +1 -0
- package/dist/api/generated/swoop/models/Partner_jsonld.d.ts +1 -0
- package/dist/rendering/renderers/ComponentPicker.js +2 -0
- package/package.json +1 -1
|
@@ -100,6 +100,7 @@ export type { Price } from './index';
|
|
|
100
100
|
export type { PublicPaymentLead } from './index';
|
|
101
101
|
export type { PublicSnapShotEnquiryStatus } from './index';
|
|
102
102
|
export type { PublicSnapshotId } from './index';
|
|
103
|
+
export type { PublicSnapshotPartner } from './index';
|
|
103
104
|
export type { PublicSnapShotPayment } from './index';
|
|
104
105
|
export type { PublicSnapshotPerson } from './index';
|
|
105
106
|
export type { PublicSnapshotPricing } from './index';
|
|
@@ -100,6 +100,7 @@ export type { Price } from './models/Price';
|
|
|
100
100
|
export type { PublicPaymentLead } from './models/PublicPaymentLead';
|
|
101
101
|
export type { PublicSnapShotEnquiryStatus } from './models/PublicSnapShotEnquiryStatus';
|
|
102
102
|
export type { PublicSnapshotId } from './models/PublicSnapshotId';
|
|
103
|
+
export type { PublicSnapshotPartner } from './models/PublicSnapshotPartner';
|
|
103
104
|
export type { PublicSnapShotPayment } from './models/PublicSnapShotPayment';
|
|
104
105
|
export type { PublicSnapshotPerson } from './models/PublicSnapshotPerson';
|
|
105
106
|
export type { PublicSnapshotPricing } from './models/PublicSnapshotPricing';
|
|
@@ -16,6 +16,7 @@ export type DTOPublicSnapshotCreate = {
|
|
|
16
16
|
travellers: Array<PublicSnapshotTraveller>;
|
|
17
17
|
map: ExpandedMap;
|
|
18
18
|
componentInstancePricing: any;
|
|
19
|
+
partners: any;
|
|
19
20
|
enquiryStatus: PublicSnapShotEnquiryStatus;
|
|
20
21
|
salesPerson?: PublicSnapshotPerson;
|
|
21
22
|
cxPerson?: PublicSnapshotPerson;
|
|
@@ -20,6 +20,7 @@ export type DTOPublicSnapshotEntity = {
|
|
|
20
20
|
travellers: Array<PublicSnapshotTraveller>;
|
|
21
21
|
map: ExpandedMap;
|
|
22
22
|
componentInstancePricing: any;
|
|
23
|
+
partners: any;
|
|
23
24
|
enquiryStatus: PublicSnapShotEnquiryStatus;
|
|
24
25
|
salesPerson?: PublicSnapshotPerson;
|
|
25
26
|
cxPerson?: PublicSnapshotPerson;
|
|
@@ -20,6 +20,7 @@ export type DTOPublicSnapshotRead = {
|
|
|
20
20
|
travellers: Array<PublicSnapshotTraveller>;
|
|
21
21
|
map: ExpandedMap;
|
|
22
22
|
componentInstancePricing: any;
|
|
23
|
+
partners: any;
|
|
23
24
|
enquiryStatus: PublicSnapShotEnquiryStatus;
|
|
24
25
|
salesPerson?: PublicSnapshotPerson;
|
|
25
26
|
cxPerson?: PublicSnapshotPerson;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Address } from './Address';
|
|
2
|
+
import type { Country } from './Country';
|
|
2
3
|
import type { EmergencyDetails } from './EmergencyDetails';
|
|
3
4
|
import type { Passport } from './Passport';
|
|
4
5
|
export type Customer = {
|
|
@@ -22,6 +23,7 @@ export type Customer = {
|
|
|
22
23
|
specialOccasion?: string | null;
|
|
23
24
|
roomType?: string | null;
|
|
24
25
|
roomNotes?: string | null;
|
|
26
|
+
country?: (Country | null);
|
|
25
27
|
address?: (Address | null);
|
|
26
28
|
passport?: (Passport | null);
|
|
27
29
|
emergencyDetails?: (EmergencyDetails | null);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Address_jsonld } from './Address_jsonld';
|
|
2
|
+
import type { Country_jsonld } from './Country_jsonld';
|
|
2
3
|
import type { EmergencyDetails_jsonld } from './EmergencyDetails_jsonld';
|
|
3
4
|
import type { HydraItemBaseSchema } from './HydraItemBaseSchema';
|
|
4
5
|
import type { Passport_jsonld } from './Passport_jsonld';
|
|
@@ -23,6 +24,7 @@ export type Customer_jsonld = (HydraItemBaseSchema & {
|
|
|
23
24
|
specialOccasion?: string | null;
|
|
24
25
|
roomType?: string | null;
|
|
25
26
|
roomNotes?: string | null;
|
|
27
|
+
country?: (Country_jsonld | null);
|
|
26
28
|
address?: (Address_jsonld | null);
|
|
27
29
|
passport?: (Passport_jsonld | null);
|
|
28
30
|
emergencyDetails?: (EmergencyDetails_jsonld | null);
|
|
@@ -19,6 +19,7 @@ export type Partner_jsonld = (HydraItemBaseSchema & {
|
|
|
19
19
|
depositType?: string;
|
|
20
20
|
depositValue?: number;
|
|
21
21
|
nonCommissionableAmount?: number;
|
|
22
|
+
address?: string | null;
|
|
22
23
|
emergencyTelephoneCustomer?: string | null;
|
|
23
24
|
emergencyEmailCustomer?: string | null;
|
|
24
25
|
/**
|
|
@@ -37,8 +37,10 @@ export const FormComponentPicker = ({ selectedComponent, onChange, templateIds,
|
|
|
37
37
|
? `${activityData.type} - ${selected.name}`
|
|
38
38
|
: selected.name;
|
|
39
39
|
}, [selected, selectedComponent, label]);
|
|
40
|
+
const aboveLabel = label + " Component";
|
|
40
41
|
return (React.createElement(Paper, { component: "form", sx: { display: "flex", flexDirection: "column", gap: 1, p: 2, mb: 1 }, noValidate: true, autoComplete: "off" },
|
|
41
42
|
React.createElement(Box, { sx: { position: "relative" } },
|
|
43
|
+
React.createElement("p", { className: "text-lg" }, aboveLabel),
|
|
42
44
|
React.createElement(Button, { disabled: !enabled, onClick: () => {
|
|
43
45
|
get(templateIds)
|
|
44
46
|
.then((comp) => {
|