swoop-common 2.2.190 → 2.2.191

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.
@@ -2,4 +2,5 @@ export type Country = {
2
2
  country_id?: number;
3
3
  title?: string;
4
4
  alias?: string;
5
+ continentCode?: string | null;
5
6
  };
@@ -3,4 +3,5 @@ export type Country_jsonld = (HydraItemBaseSchema & {
3
3
  country_id?: number;
4
4
  title?: string;
5
5
  alias?: string;
6
+ continentCode?: string | null;
6
7
  });
@@ -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);
@@ -16,4 +16,5 @@ export type Enquiry = {
16
16
  bookingGroups?: Array<BookingGroup>;
17
17
  startDate?: string | null;
18
18
  bookedDate?: string | null;
19
+ enquiryRef?: string | null;
19
20
  };
@@ -17,4 +17,5 @@ export type Enquiry_jsonld = (HydraItemBaseSchema & {
17
17
  bookingGroups?: Array<BookingGroup>;
18
18
  startDate?: string | null;
19
19
  bookedDate?: string | null;
20
+ enquiryRef?: string | null;
20
21
  });
@@ -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) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swoop-common",
3
- "version": "2.2.190",
3
+ "version": "2.2.191",
4
4
  "main": "dist/api/index.js",
5
5
  "types": "dist/api/index.d.ts",
6
6
  "exports": {