@gomusdev/web-components 0.0.20 → 0.0.22
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-js/components/forms/ui/Signup.svelte.d.ts +1 -0
- package/dist-js/components/forms/ui/generic/AllFields.svelte.d.ts +1 -0
- package/dist-js/components/forms/ui/generic/ErrorsFeedback.svelte.d.ts +1 -0
- package/dist-js/components/forms/ui/generic/FieldGroup.svelte.d.ts +1 -0
- package/dist-js/components/forms/ui/generic/Form.svelte.d.ts +1 -0
- package/dist-js/components/forms/ui/generic/FormFeedback.svelte.d.ts +1 -0
- package/dist-js/components/forms/ui/generic/InputAndLabel.svelte.d.ts +1 -0
- package/dist-js/components/forms/ui/generic/Submit.spec.d.ts +1 -0
- package/dist-js/components/forms/ui/generic/Submit.svelte.d.ts +1 -0
- package/dist-js/components/forms/ui/generic/SuccessFeedback.svelte.d.ts +1 -0
- package/dist-js/components/forms/ui/specs/TestForm.spec.d.ts +1 -0
- package/dist-js/components/ticketSelection/TicketSelectionDetails.svelte.d.ts +2 -1
- package/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/TicketGroup.svelte.d.ts +1 -1
- package/dist-js/components/ticketSelection/subcomponents/timeslots/lib/generateAvailableTimeSlots.specs.d.ts +1 -121
- package/dist-js/gomus-webcomponents.css +12 -3
- package/dist-js/gomus-webcomponents.iife.js +2132 -138
- package/dist-js/gomus-webcomponents.js +2132 -138
- package/dist-js/lib/gomusTicket.svelte.d.ts +1 -1
- package/dist-js/lib/helpers/utils.d.ts +1 -0
- package/dist-js/lib/helpers/wrapInElement.d.ts +1 -0
- package/dist-js/lib/helpers/wrapInElement.spec.d.ts +1 -0
- package/dist-js/lib/stores/shop.svelte.d.ts +62 -0
- package/dist-js/lib/stores/shop.svelte.test.d.ts +1 -3
- package/dist-js/mocks/ShopMocks.d.ts +179 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SvelteComponent as default } from 'svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SvelteComponent as default } from 'svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SvelteComponent as default } from 'svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SvelteComponent as default } from 'svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SvelteComponent as default } from 'svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SvelteComponent as default } from 'svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SvelteComponent as default } from 'svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SvelteComponent as default } from 'svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SvelteComponent as default } from 'svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -2,7 +2,8 @@ import { Cart } from '../cart/lib/cart.svelte.ts';
|
|
|
2
2
|
import { TicketGroupDetails } from './subcomponents/tickets/subcomponents/TicketGroup.svelte.ts';
|
|
3
3
|
import { CalendarDate } from '@internationalized/date';
|
|
4
4
|
export type TicketSelectionMode = 'ticket' | 'event' | 'tour';
|
|
5
|
-
export
|
|
5
|
+
export declare const validTicketSelectionFilters: readonly ["timeslot", "normal", "annual"];
|
|
6
|
+
export type TicketSelectionFilter = (typeof validTicketSelectionFilters)[number];
|
|
6
7
|
export declare class TicketSelectionDetails {
|
|
7
8
|
uid: number;
|
|
8
9
|
mode: TicketSelectionMode | undefined;
|
|
@@ -282,7 +282,7 @@ export declare class TicketGroupDetails {
|
|
|
282
282
|
addItem(item: import('../../../../cart/lib/CartItem').CartItem): void;
|
|
283
283
|
addItems(items: import('../../../../cart/lib/CartItem').CartItem[]): void;
|
|
284
284
|
};
|
|
285
|
-
|
|
285
|
+
filters: TicketGroupType;
|
|
286
286
|
ticketSelectionDetails: TicketSelectionDetails | undefined;
|
|
287
287
|
constructor(type: TicketGroupType, ticketSelectionDetails: TicketSelectionDetails);
|
|
288
288
|
preCartTickets(): ({
|
|
@@ -1,121 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
tickets: {
|
|
3
|
-
'1': {
|
|
4
|
-
id: number;
|
|
5
|
-
title: string;
|
|
6
|
-
ticket_type: "time_slot" | "annual" | "normal";
|
|
7
|
-
bookable: boolean;
|
|
8
|
-
museum_ids: number[];
|
|
9
|
-
exhibition_ids: number[];
|
|
10
|
-
price_cents: number;
|
|
11
|
-
discount: number;
|
|
12
|
-
vat_pct: number;
|
|
13
|
-
tax_included: boolean;
|
|
14
|
-
entry_duration: number | null;
|
|
15
|
-
min_persons: number;
|
|
16
|
-
max_persons: number;
|
|
17
|
-
quota_ids: number[];
|
|
18
|
-
first_entry: number;
|
|
19
|
-
last_entry: number;
|
|
20
|
-
personalizeable: boolean;
|
|
21
|
-
attendees: boolean | string;
|
|
22
|
-
identification: boolean | string;
|
|
23
|
-
free_timing: boolean;
|
|
24
|
-
is_collective: boolean;
|
|
25
|
-
is_upgrade: boolean;
|
|
26
|
-
is_mantle: boolean;
|
|
27
|
-
description: string | null;
|
|
28
|
-
sub_ticket_ids: number[];
|
|
29
|
-
sub_tickets: {
|
|
30
|
-
[key: string]: {
|
|
31
|
-
title?: string;
|
|
32
|
-
min_persons?: number;
|
|
33
|
-
max_persons?: number;
|
|
34
|
-
description?: string | null;
|
|
35
|
-
};
|
|
36
|
-
} | null;
|
|
37
|
-
is_sub_ticket: boolean;
|
|
38
|
-
created_at: string;
|
|
39
|
-
updated_at: string;
|
|
40
|
-
shop_order: number;
|
|
41
|
-
shipped_with_merchandise_id: number | null;
|
|
42
|
-
restricted_shop_account: boolean;
|
|
43
|
-
cash_point_order: number;
|
|
44
|
-
capacities: {
|
|
45
|
-
[key: string]: number;
|
|
46
|
-
};
|
|
47
|
-
total_capacities: {
|
|
48
|
-
[key: string]: number;
|
|
49
|
-
};
|
|
50
|
-
max_capacity: number;
|
|
51
|
-
max_total_capacity: number;
|
|
52
|
-
dynamic_prices: {
|
|
53
|
-
[key: string]: number;
|
|
54
|
-
} | null;
|
|
55
|
-
};
|
|
56
|
-
'2': {
|
|
57
|
-
id: number;
|
|
58
|
-
title: string;
|
|
59
|
-
ticket_type: "time_slot" | "annual" | "normal";
|
|
60
|
-
bookable: boolean;
|
|
61
|
-
museum_ids: number[];
|
|
62
|
-
exhibition_ids: number[];
|
|
63
|
-
price_cents: number;
|
|
64
|
-
discount: number;
|
|
65
|
-
vat_pct: number;
|
|
66
|
-
tax_included: boolean;
|
|
67
|
-
entry_duration: number | null;
|
|
68
|
-
min_persons: number;
|
|
69
|
-
max_persons: number;
|
|
70
|
-
quota_ids: number[];
|
|
71
|
-
first_entry: number;
|
|
72
|
-
last_entry: number;
|
|
73
|
-
personalizeable: boolean;
|
|
74
|
-
attendees: boolean | string;
|
|
75
|
-
identification: boolean | string;
|
|
76
|
-
free_timing: boolean;
|
|
77
|
-
is_collective: boolean;
|
|
78
|
-
is_upgrade: boolean;
|
|
79
|
-
is_mantle: boolean;
|
|
80
|
-
description: string | null;
|
|
81
|
-
sub_ticket_ids: number[];
|
|
82
|
-
sub_tickets: {
|
|
83
|
-
[key: string]: {
|
|
84
|
-
title?: string;
|
|
85
|
-
min_persons?: number;
|
|
86
|
-
max_persons?: number;
|
|
87
|
-
description?: string | null;
|
|
88
|
-
};
|
|
89
|
-
} | null;
|
|
90
|
-
is_sub_ticket: boolean;
|
|
91
|
-
created_at: string;
|
|
92
|
-
updated_at: string;
|
|
93
|
-
shop_order: number;
|
|
94
|
-
shipped_with_merchandise_id: number | null;
|
|
95
|
-
restricted_shop_account: boolean;
|
|
96
|
-
cash_point_order: number;
|
|
97
|
-
capacities: {
|
|
98
|
-
[key: string]: number;
|
|
99
|
-
};
|
|
100
|
-
total_capacities: {
|
|
101
|
-
[key: string]: number;
|
|
102
|
-
};
|
|
103
|
-
max_capacity: number;
|
|
104
|
-
max_total_capacity: number;
|
|
105
|
-
dynamic_prices: {
|
|
106
|
-
[key: string]: number;
|
|
107
|
-
} | null;
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
|
-
quotas: {
|
|
111
|
-
'1': {
|
|
112
|
-
ticket_ids: number[];
|
|
113
|
-
capacities: {
|
|
114
|
-
[key: string]: number;
|
|
115
|
-
};
|
|
116
|
-
total_capacities: {
|
|
117
|
-
[key: string]: number;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
};
|
|
1
|
+
export {};
|
|
@@ -1228,11 +1228,20 @@ h2 {
|
|
|
1228
1228
|
justify-content: space-between;
|
|
1229
1229
|
}
|
|
1230
1230
|
|
|
1231
|
-
.
|
|
1231
|
+
.component-container {
|
|
1232
|
+
max-width: 650px;
|
|
1233
|
+
margin: 0 auto;
|
|
1234
|
+
box-shadow:
|
|
1235
|
+
0 4px 12px rgba(12, 12, 12, 0.15),
|
|
1236
|
+
0 0 0 1px rgba(0, 0, 0, 0.05);
|
|
1237
|
+
border-radius: 3px;
|
|
1238
|
+
padding: 32px 32px 48px;
|
|
1239
|
+
|
|
1240
|
+
margin: 2rem auto;
|
|
1241
|
+
}
|
|
1232
1242
|
go-cart,
|
|
1233
1243
|
go-ticket-selection,
|
|
1234
1244
|
go-if {
|
|
1235
|
-
|
|
1236
|
-
margin: 4rem auto;
|
|
1245
|
+
width: 100%;
|
|
1237
1246
|
display: block;
|
|
1238
1247
|
}
|