@gomusdev/web-components 1.43.0 → 1.44.0
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/graveyard/event/lib.svelte.d.ts +4 -0
- package/dist-js/components/order/lib/OrderDetails.svelte.d.ts +145 -7
- package/dist-js/gomus-webcomponents.iife.js +184 -66
- package/dist-js/gomus-webcomponents.js +184 -66
- package/dist-js/lib/stores/shop.svelte.d.ts +17 -11
- package/package.json +1 -1
|
@@ -7,6 +7,9 @@ export declare class Details {
|
|
|
7
7
|
museum_id: number;
|
|
8
8
|
exhibition_id: number | null;
|
|
9
9
|
foreign_id: string | null;
|
|
10
|
+
min_persons?: number;
|
|
11
|
+
max_persons?: number;
|
|
12
|
+
max_participants?: number;
|
|
10
13
|
title: string;
|
|
11
14
|
sub_title: string | null;
|
|
12
15
|
created_at: string;
|
|
@@ -37,6 +40,7 @@ export declare class Details {
|
|
|
37
40
|
sellabilities: import('@gomus/types').components["schemas"]["time_frame"][];
|
|
38
41
|
documents: import('@gomus/types').components["schemas"]["document"][];
|
|
39
42
|
content: Record<string, never>;
|
|
43
|
+
entry_fee: 0 | 10 | 20 | 100;
|
|
40
44
|
} | undefined;
|
|
41
45
|
}
|
|
42
46
|
export declare const setDetails: (host: HTMLElement, details: Details) => void;
|
|
@@ -66,9 +66,9 @@ export declare class OrderDetails {
|
|
|
66
66
|
salutation: string | null;
|
|
67
67
|
customer_salutation_id: number | null;
|
|
68
68
|
};
|
|
69
|
-
items: {
|
|
69
|
+
items: ({
|
|
70
70
|
id: number;
|
|
71
|
-
type:
|
|
71
|
+
type: "Ticket";
|
|
72
72
|
splitable?: boolean | undefined;
|
|
73
73
|
price_cents: number;
|
|
74
74
|
vat_pct: number;
|
|
@@ -82,7 +82,7 @@ export declare class OrderDetails {
|
|
|
82
82
|
quantity: number;
|
|
83
83
|
start_time: string;
|
|
84
84
|
canceled_at: string | null;
|
|
85
|
-
ticket_type: "time_slot";
|
|
85
|
+
ticket_type: "normal" | "time_slot" | "annual";
|
|
86
86
|
passbooks: boolean;
|
|
87
87
|
accounting_article_usings: never[];
|
|
88
88
|
location: string | null;
|
|
@@ -93,18 +93,121 @@ export declare class OrderDetails {
|
|
|
93
93
|
id?: number | undefined;
|
|
94
94
|
barcode?: string | undefined;
|
|
95
95
|
method?: string | undefined;
|
|
96
|
+
passbook_url?: string | null | undefined;
|
|
96
97
|
}[];
|
|
97
98
|
ical: boolean;
|
|
99
|
+
ical_url: string | null;
|
|
98
100
|
is_collective: boolean;
|
|
99
101
|
is_personalizable: boolean;
|
|
100
102
|
sub_ticket_times: {
|
|
101
103
|
[x: string]: never;
|
|
102
|
-
}
|
|
104
|
+
};
|
|
103
105
|
sub_ticket_quantities: {
|
|
104
106
|
[x: string]: never;
|
|
105
|
-
}
|
|
107
|
+
};
|
|
106
108
|
sub_ticket_sales: never[];
|
|
107
|
-
}
|
|
109
|
+
};
|
|
110
|
+
} | {
|
|
111
|
+
id: number;
|
|
112
|
+
type: "Tour";
|
|
113
|
+
splitable?: boolean | undefined;
|
|
114
|
+
price_cents: number;
|
|
115
|
+
vat_pct: number;
|
|
116
|
+
tax_included: boolean;
|
|
117
|
+
canceled: boolean;
|
|
118
|
+
attributes: {
|
|
119
|
+
id: number;
|
|
120
|
+
title: string;
|
|
121
|
+
tour_id: number;
|
|
122
|
+
accounting_article_usings: never[];
|
|
123
|
+
start_time: string;
|
|
124
|
+
participants: number;
|
|
125
|
+
equipments: {
|
|
126
|
+
id?: number | undefined;
|
|
127
|
+
type?: string | undefined;
|
|
128
|
+
quantity?: number | undefined;
|
|
129
|
+
}[] | null;
|
|
130
|
+
language: string | null;
|
|
131
|
+
age_group: string | null;
|
|
132
|
+
prices: {
|
|
133
|
+
title?: string | undefined;
|
|
134
|
+
description?: string | null | undefined;
|
|
135
|
+
total_price_cents?: number | undefined;
|
|
136
|
+
quantity?: number | undefined;
|
|
137
|
+
price_cents?: number | undefined;
|
|
138
|
+
}[];
|
|
139
|
+
comment: string | null;
|
|
140
|
+
location: string | null;
|
|
141
|
+
reservations: never[];
|
|
142
|
+
barcode: {
|
|
143
|
+
id?: number | undefined;
|
|
144
|
+
barcode?: string | undefined;
|
|
145
|
+
method?: string | undefined;
|
|
146
|
+
passbook_url?: string | null | undefined;
|
|
147
|
+
};
|
|
148
|
+
ical: boolean;
|
|
149
|
+
ical_url: string | null;
|
|
150
|
+
entry_fee: boolean;
|
|
151
|
+
free_entry: boolean;
|
|
152
|
+
children_pay_entry: boolean;
|
|
153
|
+
canceled_at: string | null;
|
|
154
|
+
duration: number | null;
|
|
155
|
+
meeting_point: string | null;
|
|
156
|
+
};
|
|
157
|
+
} | {
|
|
158
|
+
id: number;
|
|
159
|
+
type: "Event";
|
|
160
|
+
splitable?: boolean | undefined;
|
|
161
|
+
price_cents: number;
|
|
162
|
+
vat_pct: number;
|
|
163
|
+
tax_included: boolean;
|
|
164
|
+
canceled: boolean;
|
|
165
|
+
attributes: {
|
|
166
|
+
id: number;
|
|
167
|
+
date_id: number;
|
|
168
|
+
event_id: number;
|
|
169
|
+
accounting_article_usings: never[];
|
|
170
|
+
start_time: string;
|
|
171
|
+
location: string | null;
|
|
172
|
+
title: string;
|
|
173
|
+
comment: string | null;
|
|
174
|
+
reservations: never[];
|
|
175
|
+
barcode: {
|
|
176
|
+
id?: number | undefined;
|
|
177
|
+
barcode?: string | undefined;
|
|
178
|
+
method?: string | undefined;
|
|
179
|
+
passbook_url?: string | null | undefined;
|
|
180
|
+
};
|
|
181
|
+
barcodes: {
|
|
182
|
+
id?: number | undefined;
|
|
183
|
+
barcode?: string | undefined;
|
|
184
|
+
method?: string | undefined;
|
|
185
|
+
passbook_url?: string | null | undefined;
|
|
186
|
+
}[];
|
|
187
|
+
ical: boolean;
|
|
188
|
+
ical_url: string | null;
|
|
189
|
+
canceled_at: string | null;
|
|
190
|
+
language: string | null;
|
|
191
|
+
duration: number | null;
|
|
192
|
+
meeting_point: string | null;
|
|
193
|
+
quantities?: {
|
|
194
|
+
id?: number | undefined;
|
|
195
|
+
title?: string | undefined;
|
|
196
|
+
price_cents?: number | undefined;
|
|
197
|
+
quantity?: number | undefined;
|
|
198
|
+
total_price_cents?: number | undefined;
|
|
199
|
+
}[] | null | undefined;
|
|
200
|
+
quantity?: number | null | undefined;
|
|
201
|
+
};
|
|
202
|
+
} | {
|
|
203
|
+
id: number;
|
|
204
|
+
type: "Coupon";
|
|
205
|
+
splitable?: boolean | undefined;
|
|
206
|
+
price_cents: number;
|
|
207
|
+
vat_pct: number;
|
|
208
|
+
tax_included: boolean;
|
|
209
|
+
canceled: boolean;
|
|
210
|
+
attributes: {
|
|
108
211
|
id: number;
|
|
109
212
|
coupon_id: number;
|
|
110
213
|
accounting_article_usings: never[];
|
|
@@ -113,13 +216,48 @@ export declare class OrderDetails {
|
|
|
113
216
|
id?: number | undefined;
|
|
114
217
|
barcode?: string | undefined;
|
|
115
218
|
method?: string | undefined;
|
|
219
|
+
passbook_url?: string | null | undefined;
|
|
116
220
|
}[];
|
|
117
221
|
title: string;
|
|
118
222
|
description: string;
|
|
119
223
|
value_cents: number;
|
|
120
224
|
canceled_at: string | null;
|
|
121
225
|
};
|
|
122
|
-
}
|
|
226
|
+
} | {
|
|
227
|
+
id: number;
|
|
228
|
+
type: "Merchandise";
|
|
229
|
+
splitable?: boolean | undefined;
|
|
230
|
+
price_cents: number;
|
|
231
|
+
vat_pct: number;
|
|
232
|
+
tax_included: boolean;
|
|
233
|
+
canceled: boolean;
|
|
234
|
+
attributes: {
|
|
235
|
+
id: number;
|
|
236
|
+
merchandise_id: number;
|
|
237
|
+
accounting_article_usings: never[];
|
|
238
|
+
quantity: number;
|
|
239
|
+
title: string;
|
|
240
|
+
description: string | null;
|
|
241
|
+
canceled_at: string | null;
|
|
242
|
+
};
|
|
243
|
+
} | {
|
|
244
|
+
id: number;
|
|
245
|
+
type: "AccountingArticle";
|
|
246
|
+
splitable?: boolean | undefined;
|
|
247
|
+
price_cents: number;
|
|
248
|
+
vat_pct: number;
|
|
249
|
+
tax_included: boolean;
|
|
250
|
+
canceled: boolean;
|
|
251
|
+
attributes: {
|
|
252
|
+
id: number;
|
|
253
|
+
accounting_article_usings: never[];
|
|
254
|
+
quantity: number;
|
|
255
|
+
title: string;
|
|
256
|
+
canceled_at: string | null;
|
|
257
|
+
parent_type: string | null;
|
|
258
|
+
parent_id: number | null;
|
|
259
|
+
};
|
|
260
|
+
})[];
|
|
123
261
|
} | undefined;
|
|
124
262
|
downloadLink(item: OrderItem, barcodeId?: number): string | undefined;
|
|
125
263
|
}
|
|
@@ -12870,7 +12870,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
|
|
|
12870
12870
|
}
|
|
12871
12871
|
const KEY$4 = "go-annual-ticket-personalization";
|
|
12872
12872
|
const setPersonalizationDetails = createSetDetails(KEY$4);
|
|
12873
|
-
var root_3$
|
|
12873
|
+
var root_3$9 = /* @__PURE__ */ from_html(`<li><a> </a></li>`);
|
|
12874
12874
|
var root_2$q = /* @__PURE__ */ from_html(`<ul class="go-annual-ticket"><li class="go-annual-ticket-title"> </li> <li class="go-annual-ticket-personalization-count"> </li> <!></ul>`);
|
|
12875
12875
|
function AnnualTicketPersonalization($$anchor, $$props) {
|
|
12876
12876
|
push($$props, true);
|
|
@@ -12908,7 +12908,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
|
|
|
12908
12908
|
var node_2 = sibling(li_1, 2);
|
|
12909
12909
|
{
|
|
12910
12910
|
var consequent = ($$anchor4) => {
|
|
12911
|
-
var li_2 = root_3$
|
|
12911
|
+
var li_2 = root_3$9();
|
|
12912
12912
|
var a2 = child(li_2);
|
|
12913
12913
|
var text_2 = child(a2, true);
|
|
12914
12914
|
reset(a2);
|
|
@@ -17000,7 +17000,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17000
17000
|
delegate(["change", "click"]);
|
|
17001
17001
|
create_custom_element(Item$1, { cartItem: {}, cart: {}, preview: {} }, [], [], { mode: "open" });
|
|
17002
17002
|
var root_2$o = /* @__PURE__ */ from_html(`<li class="go-cart-header-remove" data-go-cart-header-remove=""></li>`);
|
|
17003
|
-
var root_3$
|
|
17003
|
+
var root_3$8 = /* @__PURE__ */ from_html(`<li class="go-cart-item" data-go-cart-item=""><!></li>`);
|
|
17004
17004
|
var root_4$6 = /* @__PURE__ */ from_html(`<li class="go-cart-footer-remove" data-go-cart-footer-remove=""></li>`);
|
|
17005
17005
|
var root_1$f = /* @__PURE__ */ from_html(`<ol data-testid="cart"><li class="go-cart-header" data-go-cart-header="" data-testid="cart-header"><ul><li class="go-cart-header-title" data-go-cart-header-title=""> </li> <li class="go-cart-header-price" data-go-cart-header-price=""> </li> <li class="go-cart-header-count" data-go-cart-header-count=""> </li> <!> <li class="go-cart-header-sum" data-go-cart-header-sum=""> </li></ul></li> <!> <li class="go-cart-footer" data-go-cart-footer="" data-testid="cart-footer"><ul><li class="go-cart-footer-title" data-go-cart-footer-title=""></li> <li class="go-cart-footer-price" data-go-cart-footer-price=""></li> <li class="go-cart-footer-count" data-go-cart-footer-count=""></li> <!> <li class="go-cart-footer-sum" data-go-cart-footer-sum="" data-go-cart-sum=""> </li></ul></li></ol>`);
|
|
17006
17006
|
function Cart($$anchor, $$props) {
|
|
@@ -17049,7 +17049,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17049
17049
|
reset(li);
|
|
17050
17050
|
var node_2 = sibling(li, 2);
|
|
17051
17051
|
each(node_2, 17, () => get$2(cart).items, (cartItem) => cartItem.uuid, ($$anchor3, cartItem) => {
|
|
17052
|
-
var li_6 = root_3$
|
|
17052
|
+
var li_6 = root_3$8();
|
|
17053
17053
|
var node_3 = child(li_6);
|
|
17054
17054
|
Item$1(node_3, {
|
|
17055
17055
|
get cartItem() {
|
|
@@ -30345,7 +30345,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
30345
30345
|
return pop($$exports);
|
|
30346
30346
|
}
|
|
30347
30347
|
create_custom_element(Date_picker_content, { ref: {}, onOpenAutoFocus: {} }, [], [], { mode: "open" });
|
|
30348
|
-
var root_3$
|
|
30348
|
+
var root_3$7 = /* @__PURE__ */ from_html(`<button><!></button>`);
|
|
30349
30349
|
function Popover_trigger($$anchor, $$props) {
|
|
30350
30350
|
const uid = props_id();
|
|
30351
30351
|
push($$props, true);
|
|
@@ -30456,7 +30456,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
30456
30456
|
append($$anchor3, fragment_2);
|
|
30457
30457
|
};
|
|
30458
30458
|
var alternate = ($$anchor3) => {
|
|
30459
|
-
var button = root_3$
|
|
30459
|
+
var button = root_3$7();
|
|
30460
30460
|
attribute_effect(button, () => ({ ...get$2(mergedProps) }));
|
|
30461
30461
|
var node_2 = child(button);
|
|
30462
30462
|
snippet(node_2, () => children() ?? noop$1);
|
|
@@ -30844,7 +30844,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
30844
30844
|
);
|
|
30845
30845
|
var root_2$6 = /* @__PURE__ */ from_html(`<span class="go-field-star" aria-hidden="true">*</span>`);
|
|
30846
30846
|
var root_1$b = /* @__PURE__ */ from_html(` <!>`, 1);
|
|
30847
|
-
var root_3$
|
|
30847
|
+
var root_3$6 = /* @__PURE__ */ from_html(`<label><!></label> <input/>`, 1);
|
|
30848
30848
|
var root_4$3 = /* @__PURE__ */ from_html(`<label><input/> <span class="go-checkbox-label"><!></span></label>`);
|
|
30849
30849
|
var root_7$2 = /* @__PURE__ */ from_html(`<option> </option>`);
|
|
30850
30850
|
var root_6$1 = /* @__PURE__ */ from_html(`<option disabled hidden="" selected> </option> <!>`, 1);
|
|
@@ -30871,7 +30871,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
30871
30871
|
append($$anchor2, fragment);
|
|
30872
30872
|
};
|
|
30873
30873
|
const input = ($$anchor2) => {
|
|
30874
|
-
var fragment_1 = root_3$
|
|
30874
|
+
var fragment_1 = root_3$6();
|
|
30875
30875
|
var label_1 = first_child(fragment_1);
|
|
30876
30876
|
var node_1 = child(label_1);
|
|
30877
30877
|
labelText(node_1);
|
|
@@ -31166,7 +31166,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31166
31166
|
{ mode: "open" }
|
|
31167
31167
|
);
|
|
31168
31168
|
var root_1$a = /* @__PURE__ */ from_html(`<span> </span>`);
|
|
31169
|
-
var root_3$
|
|
31169
|
+
var root_3$5 = /* @__PURE__ */ from_html(`<li> </li>`);
|
|
31170
31170
|
var root_2$5 = /* @__PURE__ */ from_html(`<ul class="go-field-errors" role="alert"></ul>`);
|
|
31171
31171
|
var root$5 = /* @__PURE__ */ from_html(`<!> <!> <!>`, 1);
|
|
31172
31172
|
function Field($$anchor, $$props) {
|
|
@@ -31268,7 +31268,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31268
31268
|
var consequent_1 = ($$anchor2) => {
|
|
31269
31269
|
var ul = root_2$5();
|
|
31270
31270
|
each(ul, 21, () => get$2(allErrors), index$1, ($$anchor3, error) => {
|
|
31271
|
-
var li = root_3$
|
|
31271
|
+
var li = root_3$5();
|
|
31272
31272
|
var text_1 = child(li, true);
|
|
31273
31273
|
reset(li);
|
|
31274
31274
|
template_effect(() => set_text(text_1, get$2(error)));
|
|
@@ -31316,7 +31316,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31316
31316
|
customElements.define("go-all-fields", create_custom_element(AllFields, {}, [], []));
|
|
31317
31317
|
var root_2$4 = /* @__PURE__ */ from_html(`<p aria-live="assertive" class="sr-only"> </p>`);
|
|
31318
31318
|
var root_4$2 = /* @__PURE__ */ from_html(`<li> </li>`);
|
|
31319
|
-
var root_3$
|
|
31319
|
+
var root_3$4 = /* @__PURE__ */ from_html(`<ul class="go-error-feedback-api-errors"></ul>`);
|
|
31320
31320
|
var root_5 = /* @__PURE__ */ from_html(`<p aria-hidden="true"> </p>`);
|
|
31321
31321
|
var root_1$8 = /* @__PURE__ */ from_html(`<div><!> <!> <!></div>`);
|
|
31322
31322
|
function ErrorsFeedback($$anchor, $$props) {
|
|
@@ -31361,7 +31361,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31361
31361
|
var node_2 = sibling(node_1, 2);
|
|
31362
31362
|
{
|
|
31363
31363
|
var consequent_1 = ($$anchor3) => {
|
|
31364
|
-
var ul = root_3$
|
|
31364
|
+
var ul = root_3$4();
|
|
31365
31365
|
each(ul, 21, () => get$2(details)?.apiErrors, index$1, ($$anchor4, error) => {
|
|
31366
31366
|
var li = root_4$2();
|
|
31367
31367
|
var text_1 = child(li, true);
|
|
@@ -31881,7 +31881,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31881
31881
|
customElements.define("go-order", create_custom_element(Order, { token: { attribute: "token", reflect: true, type: "String" } }, [], ["orderDetails"]));
|
|
31882
31882
|
var root_1$6 = /* @__PURE__ */ from_html(`<span class="go-cart-item-date" data-testid="cart-item-date"> </span> <span class="go-cart-item-time" data-testid="cart-item-time"> </span>`, 1);
|
|
31883
31883
|
var root_2$3 = /* @__PURE__ */ from_html(`<br/> <span class="go-order-item-quantities"> </span>`, 1);
|
|
31884
|
-
var
|
|
31884
|
+
var root_3$3 = /* @__PURE__ */ from_html(`<a aria-label="iCal link"> </a>`);
|
|
31885
|
+
var root$3 = /* @__PURE__ */ from_html(`<li><article><ul><li class="go-order-breakdown-count">1</li> <li class="go-order-breakdown-product"><span class="go-order-item-title"> </span> <!> <!> <a class="go-ticket-download" target="_blank" rel="noopener noreferrer"> </a></li> <li class="go-order-breakdown-item-price"> </li> <li class="go-order-breakdown-passbook"></li> <li class="go-order-breakdown-ical"><!></li></ul></article></li>`);
|
|
31885
31886
|
function Event$1($$anchor, $$props) {
|
|
31886
31887
|
push($$props, true);
|
|
31887
31888
|
let item = prop($$props, "item", 7), orderDetails = prop($$props, "orderDetails", 7);
|
|
@@ -31935,7 +31936,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31935
31936
|
});
|
|
31936
31937
|
}
|
|
31937
31938
|
var node_1 = sibling(node, 2);
|
|
31938
|
-
each(node_1, 17, () => item().attributes.quantities,
|
|
31939
|
+
each(node_1, 17, () => item().attributes.quantities, (scalePrice) => scalePrice.id, ($$anchor2, scalePrice) => {
|
|
31939
31940
|
var fragment_1 = root_2$3();
|
|
31940
31941
|
var span_3 = sibling(first_child(fragment_1), 2);
|
|
31941
31942
|
var text_3 = child(span_3);
|
|
@@ -31944,22 +31945,46 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31944
31945
|
append($$anchor2, fragment_1);
|
|
31945
31946
|
});
|
|
31946
31947
|
var a2 = sibling(node_1, 2);
|
|
31948
|
+
var text_4 = child(a2, true);
|
|
31949
|
+
reset(a2);
|
|
31947
31950
|
reset(li_1);
|
|
31948
31951
|
var li_2 = sibling(li_1, 2);
|
|
31949
|
-
var
|
|
31952
|
+
var text_5 = child(li_2, true);
|
|
31950
31953
|
reset(li_2);
|
|
31951
|
-
|
|
31954
|
+
var li_3 = sibling(li_2, 4);
|
|
31955
|
+
var node_2 = child(li_3);
|
|
31956
|
+
{
|
|
31957
|
+
var consequent_1 = ($$anchor2) => {
|
|
31958
|
+
var a_1 = root_3$3();
|
|
31959
|
+
var text_6 = child(a_1, true);
|
|
31960
|
+
reset(a_1);
|
|
31961
|
+
template_effect(
|
|
31962
|
+
($0) => {
|
|
31963
|
+
set_attribute(a_1, "href", shop.apiUrl + item().attributes.ical_url);
|
|
31964
|
+
set_text(text_6, $0);
|
|
31965
|
+
},
|
|
31966
|
+
[() => shop.t("common.calendar")]
|
|
31967
|
+
);
|
|
31968
|
+
append($$anchor2, a_1);
|
|
31969
|
+
};
|
|
31970
|
+
if_block(node_2, ($$render) => {
|
|
31971
|
+
if (item().attributes.ical_url) $$render(consequent_1);
|
|
31972
|
+
});
|
|
31973
|
+
}
|
|
31974
|
+
reset(li_3);
|
|
31952
31975
|
reset(ul);
|
|
31953
31976
|
reset(article);
|
|
31954
31977
|
reset(li);
|
|
31955
31978
|
template_effect(
|
|
31956
|
-
($0, $1) => {
|
|
31979
|
+
($0, $1, $2) => {
|
|
31957
31980
|
set_text(text2, item().attributes.title);
|
|
31958
31981
|
set_attribute(a2, "href", $0);
|
|
31959
31982
|
set_text(text_4, $1);
|
|
31983
|
+
set_text(text_5, $2);
|
|
31960
31984
|
},
|
|
31961
31985
|
[
|
|
31962
31986
|
() => orderDetails().downloadLink(item()),
|
|
31987
|
+
() => shop.t("common.download"),
|
|
31963
31988
|
() => formatCurrency$1(item().price_cents)
|
|
31964
31989
|
]
|
|
31965
31990
|
);
|
|
@@ -31969,13 +31994,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31969
31994
|
create_custom_element(Event$1, { item: {}, orderDetails: {} }, [], [], { mode: "open" });
|
|
31970
31995
|
var root_4$1 = /* @__PURE__ */ from_html(`<span class="go-cart-item-date"> </span> <span class="go-cart-item-time"> </span>`, 1);
|
|
31971
31996
|
var root_6 = /* @__PURE__ */ from_html(`<span class="go-cart-item-date"> </span>`);
|
|
31972
|
-
var root_3$2 = /* @__PURE__ */ from_html(`<!> <br/> <a class="go-ticket-download" target="_blank">
|
|
31973
|
-
var root_7$1 = /* @__PURE__ */ from_html(`<br/> <a class="go-ticket-personalization">
|
|
31997
|
+
var root_3$2 = /* @__PURE__ */ from_html(`<!> <br/> <a class="go-ticket-download" target="_blank" rel="noopener noreferrer"> </a>`, 1);
|
|
31998
|
+
var root_7$1 = /* @__PURE__ */ from_html(`<br/> <a class="go-ticket-personalization"> </a>`, 1);
|
|
31974
31999
|
var root_8 = /* @__PURE__ */ from_html(`<a aria-label="passbook link"><img alt="apple wallet icon"/></a>`);
|
|
31975
|
-
var
|
|
31976
|
-
var
|
|
31977
|
-
var root_11$1 = /* @__PURE__ */ from_html(`<a class="go-ticket-
|
|
31978
|
-
var
|
|
32000
|
+
var root_9 = /* @__PURE__ */ from_html(`<a aria-label="iCal link"> </a>`);
|
|
32001
|
+
var root_2$2 = /* @__PURE__ */ from_html(`<li><article><ul><li class="go-order-breakdown-count"></li> <li class="go-order-breakdown-product"><span class="go-order-item-title"> </span> <!></li> <li class="go-order-breakdown-item-price"> </li> <li class="go-order-breakdown-passbook"><!></li> <li class="go-order-breakdown-ical"><!></li></ul></article></li>`);
|
|
32002
|
+
var root_11$1 = /* @__PURE__ */ from_html(`<a class="go-ticket-download" target="_blank" rel="noopener noreferrer"> </a>`);
|
|
32003
|
+
var root_12 = /* @__PURE__ */ from_html(`<a class="go-ticket-personalization"> </a>`);
|
|
32004
|
+
var root_10 = /* @__PURE__ */ from_html(`<li><article><ul><li class="go-order-breakdown-count"> </li> <li class="go-order-breakdown-product"><span class="go-order-item-title"> </span> <!></li> <li class="go-order-breakdown-item-price"> </li> <li class="go-order-breakdown-passbook"></li></ul></article></li>`);
|
|
31979
32005
|
function TicketSale($$anchor, $$props) {
|
|
31980
32006
|
push($$props, true);
|
|
31981
32007
|
const APPLE_WALLET_CDN_PATH = `https://cdn.shop.platform.gomus.de/apple_wallet_${shop.locale}.svg`;
|
|
@@ -31999,7 +32025,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31999
32025
|
var fragment = comment();
|
|
32000
32026
|
var node = first_child(fragment);
|
|
32001
32027
|
{
|
|
32002
|
-
var
|
|
32028
|
+
var consequent_5 = ($$anchor2) => {
|
|
32003
32029
|
var fragment_1 = comment();
|
|
32004
32030
|
var node_1 = first_child(fragment_1);
|
|
32005
32031
|
each(node_1, 17, () => ({ length: item().attributes.quantity }), index$1, ($$anchor3, $$item, index2) => {
|
|
@@ -32068,13 +32094,35 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
32068
32094
|
});
|
|
32069
32095
|
}
|
|
32070
32096
|
var a2 = sibling(node_3, 4);
|
|
32071
|
-
|
|
32097
|
+
var text_4 = child(a2, true);
|
|
32098
|
+
reset(a2);
|
|
32099
|
+
template_effect(
|
|
32100
|
+
($0, $1) => {
|
|
32101
|
+
set_attribute(a2, "href", $0);
|
|
32102
|
+
set_text(text_4, $1);
|
|
32103
|
+
},
|
|
32104
|
+
[
|
|
32105
|
+
() => orderDetails().downloadLink(item(), get$2(barcodeId)),
|
|
32106
|
+
() => shop.t("common.download")
|
|
32107
|
+
]
|
|
32108
|
+
);
|
|
32072
32109
|
append($$anchor4, fragment_2);
|
|
32073
32110
|
};
|
|
32074
32111
|
var alternate_1 = ($$anchor4) => {
|
|
32075
32112
|
var fragment_5 = root_7$1();
|
|
32076
32113
|
var a_1 = sibling(first_child(fragment_5), 2);
|
|
32077
|
-
|
|
32114
|
+
var text_5 = child(a_1, true);
|
|
32115
|
+
reset(a_1);
|
|
32116
|
+
template_effect(
|
|
32117
|
+
($0, $1) => {
|
|
32118
|
+
set_attribute(a_1, "href", $0);
|
|
32119
|
+
set_text(text_5, $1);
|
|
32120
|
+
},
|
|
32121
|
+
[
|
|
32122
|
+
() => orderDetails().downloadLink(item()),
|
|
32123
|
+
() => shop.t("common.personalize")
|
|
32124
|
+
]
|
|
32125
|
+
);
|
|
32078
32126
|
append($$anchor4, fragment_5);
|
|
32079
32127
|
};
|
|
32080
32128
|
if_block(node_2, ($$render) => {
|
|
@@ -32084,7 +32132,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
32084
32132
|
}
|
|
32085
32133
|
reset(li_2);
|
|
32086
32134
|
var li_3 = sibling(li_2, 2);
|
|
32087
|
-
var
|
|
32135
|
+
var text_6 = child(li_3, true);
|
|
32088
32136
|
reset(li_3);
|
|
32089
32137
|
var li_4 = sibling(li_3, 2);
|
|
32090
32138
|
var node_5 = child(li_4);
|
|
@@ -32104,13 +32152,34 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
32104
32152
|
});
|
|
32105
32153
|
}
|
|
32106
32154
|
reset(li_4);
|
|
32155
|
+
var li_5 = sibling(li_4, 2);
|
|
32156
|
+
var node_6 = child(li_5);
|
|
32157
|
+
{
|
|
32158
|
+
var consequent_4 = ($$anchor4) => {
|
|
32159
|
+
var a_3 = root_9();
|
|
32160
|
+
var text_7 = child(a_3, true);
|
|
32161
|
+
reset(a_3);
|
|
32162
|
+
template_effect(
|
|
32163
|
+
($0) => {
|
|
32164
|
+
set_attribute(a_3, "href", shop.apiUrl + item().attributes.ical_url);
|
|
32165
|
+
set_text(text_7, $0);
|
|
32166
|
+
},
|
|
32167
|
+
[() => shop.t("common.calendar")]
|
|
32168
|
+
);
|
|
32169
|
+
append($$anchor4, a_3);
|
|
32170
|
+
};
|
|
32171
|
+
if_block(node_6, ($$render) => {
|
|
32172
|
+
if (item().attributes.ical_url) $$render(consequent_4);
|
|
32173
|
+
});
|
|
32174
|
+
}
|
|
32175
|
+
reset(li_5);
|
|
32107
32176
|
reset(ul);
|
|
32108
32177
|
reset(article);
|
|
32109
32178
|
reset(li);
|
|
32110
32179
|
template_effect(
|
|
32111
32180
|
($0) => {
|
|
32112
32181
|
set_text(text2, item().attributes.title);
|
|
32113
|
-
set_text(
|
|
32182
|
+
set_text(text_6, $0);
|
|
32114
32183
|
},
|
|
32115
32184
|
[() => formatCurrency$1(item().price_cents)]
|
|
32116
32185
|
);
|
|
@@ -32119,53 +32188,75 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
32119
32188
|
append($$anchor2, fragment_1);
|
|
32120
32189
|
};
|
|
32121
32190
|
var alternate_3 = ($$anchor2) => {
|
|
32122
|
-
var
|
|
32123
|
-
var article_1 = child(
|
|
32191
|
+
var li_6 = root_10();
|
|
32192
|
+
var article_1 = child(li_6);
|
|
32124
32193
|
var ul_1 = child(article_1);
|
|
32125
|
-
var
|
|
32126
|
-
var
|
|
32127
|
-
reset(
|
|
32128
|
-
var
|
|
32129
|
-
var span_4 = child(
|
|
32130
|
-
var
|
|
32194
|
+
var li_7 = child(ul_1);
|
|
32195
|
+
var text_8 = child(li_7, true);
|
|
32196
|
+
reset(li_7);
|
|
32197
|
+
var li_8 = sibling(li_7, 2);
|
|
32198
|
+
var span_4 = child(li_8);
|
|
32199
|
+
var text_9 = child(span_4, true);
|
|
32131
32200
|
reset(span_4);
|
|
32132
|
-
var
|
|
32201
|
+
var node_7 = sibling(span_4, 2);
|
|
32133
32202
|
{
|
|
32134
|
-
var
|
|
32135
|
-
var a_3 = root_10();
|
|
32136
|
-
template_effect(($0) => set_attribute(a_3, "href", $0), [() => orderDetails().downloadLink(item())]);
|
|
32137
|
-
append($$anchor3, a_3);
|
|
32138
|
-
};
|
|
32139
|
-
var alternate_2 = ($$anchor3) => {
|
|
32203
|
+
var consequent_6 = ($$anchor3) => {
|
|
32140
32204
|
var a_4 = root_11$1();
|
|
32141
|
-
|
|
32205
|
+
var text_10 = child(a_4, true);
|
|
32206
|
+
reset(a_4);
|
|
32207
|
+
template_effect(
|
|
32208
|
+
($0, $1) => {
|
|
32209
|
+
set_attribute(a_4, "href", $0);
|
|
32210
|
+
set_text(text_10, $1);
|
|
32211
|
+
},
|
|
32212
|
+
[
|
|
32213
|
+
() => orderDetails().downloadLink(item()),
|
|
32214
|
+
() => shop.t("common.download")
|
|
32215
|
+
]
|
|
32216
|
+
);
|
|
32142
32217
|
append($$anchor3, a_4);
|
|
32143
32218
|
};
|
|
32144
|
-
|
|
32145
|
-
|
|
32219
|
+
var alternate_2 = ($$anchor3) => {
|
|
32220
|
+
var a_5 = root_12();
|
|
32221
|
+
var text_11 = child(a_5, true);
|
|
32222
|
+
reset(a_5);
|
|
32223
|
+
template_effect(
|
|
32224
|
+
($0, $1) => {
|
|
32225
|
+
set_attribute(a_5, "href", $0);
|
|
32226
|
+
set_text(text_11, $1);
|
|
32227
|
+
},
|
|
32228
|
+
[
|
|
32229
|
+
() => orderDetails().downloadLink(item()),
|
|
32230
|
+
() => shop.t("common.personalize")
|
|
32231
|
+
]
|
|
32232
|
+
);
|
|
32233
|
+
append($$anchor3, a_5);
|
|
32234
|
+
};
|
|
32235
|
+
if_block(node_7, ($$render) => {
|
|
32236
|
+
if (item().attributes.is_voucher) $$render(consequent_6);
|
|
32146
32237
|
else $$render(alternate_2, false);
|
|
32147
32238
|
});
|
|
32148
32239
|
}
|
|
32149
|
-
reset(li_7);
|
|
32150
|
-
var li_8 = sibling(li_7, 2);
|
|
32151
|
-
var text_7 = child(li_8, true);
|
|
32152
32240
|
reset(li_8);
|
|
32241
|
+
var li_9 = sibling(li_8, 2);
|
|
32242
|
+
var text_12 = child(li_9, true);
|
|
32243
|
+
reset(li_9);
|
|
32153
32244
|
next(2);
|
|
32154
32245
|
reset(ul_1);
|
|
32155
32246
|
reset(article_1);
|
|
32156
|
-
reset(
|
|
32247
|
+
reset(li_6);
|
|
32157
32248
|
template_effect(
|
|
32158
32249
|
($0) => {
|
|
32159
|
-
set_text(
|
|
32160
|
-
set_text(
|
|
32161
|
-
set_text(
|
|
32250
|
+
set_text(text_8, item().attributes.quantity);
|
|
32251
|
+
set_text(text_9, item().attributes.title);
|
|
32252
|
+
set_text(text_12, $0);
|
|
32162
32253
|
},
|
|
32163
32254
|
[() => formatCurrency$1(item().price_cents)]
|
|
32164
32255
|
);
|
|
32165
|
-
append($$anchor2,
|
|
32256
|
+
append($$anchor2, li_6);
|
|
32166
32257
|
};
|
|
32167
32258
|
if_block(node, ($$render) => {
|
|
32168
|
-
if (item().attributes.ticket_type == "time_slot" || item().attributes.ticket_type == "normal") $$render(
|
|
32259
|
+
if (item().attributes.ticket_type == "time_slot" || item().attributes.ticket_type == "normal") $$render(consequent_5);
|
|
32169
32260
|
else $$render(alternate_3, false);
|
|
32170
32261
|
});
|
|
32171
32262
|
}
|
|
@@ -32173,7 +32264,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
32173
32264
|
return pop($$exports);
|
|
32174
32265
|
}
|
|
32175
32266
|
create_custom_element(TicketSale, { item: {}, orderDetails: {} }, [], [], { mode: "open" });
|
|
32176
|
-
var root_1$5 = /* @__PURE__ */ from_html(`<ol><li class="data-go-order-breakdown-header"><ul><li class="go-order-breakdown-header-count">
|
|
32267
|
+
var root_1$5 = /* @__PURE__ */ from_html(`<ol><li class="data-go-order-breakdown-header"><ul><li class="go-order-breakdown-header-count"> </li> <li class="go-order-breakdown-header-product"> </li> <li class="go-order-breakdown-header-price"> </li> <li class="go-order-breakdown-header-passbook"></li></ul></li> <!> <li class="go-order-breakdown-footer"><ul><li class="go-cart-footer-title"></li> <li class="go-cart-footer-count"></li> <li class="go-cart-footer-price"> </li> <li class="go-cart-footer-passbook"></li></ul></li></ol>`);
|
|
32177
32268
|
function Breakdown($$anchor, $$props) {
|
|
32178
32269
|
push($$props, true);
|
|
32179
32270
|
const _orderDetails = getDetails($$props.$$host);
|
|
@@ -32184,7 +32275,21 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
32184
32275
|
{
|
|
32185
32276
|
var consequent_2 = ($$anchor2) => {
|
|
32186
32277
|
var ol = root_1$5();
|
|
32187
|
-
var
|
|
32278
|
+
var li = child(ol);
|
|
32279
|
+
var ul = child(li);
|
|
32280
|
+
var li_1 = child(ul);
|
|
32281
|
+
var text2 = child(li_1, true);
|
|
32282
|
+
reset(li_1);
|
|
32283
|
+
var li_2 = sibling(li_1, 2);
|
|
32284
|
+
var text_1 = child(li_2, true);
|
|
32285
|
+
reset(li_2);
|
|
32286
|
+
var li_3 = sibling(li_2, 2);
|
|
32287
|
+
var text_2 = child(li_3, true);
|
|
32288
|
+
reset(li_3);
|
|
32289
|
+
next(2);
|
|
32290
|
+
reset(ul);
|
|
32291
|
+
reset(li);
|
|
32292
|
+
var node_1 = sibling(li, 2);
|
|
32188
32293
|
each(node_1, 17, () => get$2(order).items, (item) => item.id, ($$anchor3, item) => {
|
|
32189
32294
|
var fragment_1 = comment();
|
|
32190
32295
|
var node_2 = first_child(fragment_1);
|
|
@@ -32230,20 +32335,33 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
32230
32335
|
}
|
|
32231
32336
|
append($$anchor3, fragment_1);
|
|
32232
32337
|
});
|
|
32233
|
-
var
|
|
32234
|
-
var
|
|
32235
|
-
var
|
|
32236
|
-
var
|
|
32237
|
-
reset(
|
|
32338
|
+
var li_4 = sibling(node_1, 2);
|
|
32339
|
+
var ul_1 = child(li_4);
|
|
32340
|
+
var li_5 = sibling(child(ul_1), 4);
|
|
32341
|
+
var text_3 = child(li_5, true);
|
|
32342
|
+
reset(li_5);
|
|
32238
32343
|
next(2);
|
|
32239
|
-
reset(
|
|
32240
|
-
reset(
|
|
32344
|
+
reset(ul_1);
|
|
32345
|
+
reset(li_4);
|
|
32241
32346
|
reset(ol);
|
|
32242
|
-
template_effect(
|
|
32347
|
+
template_effect(
|
|
32348
|
+
($0, $1, $2, $3) => {
|
|
32349
|
+
set_text(text2, $0);
|
|
32350
|
+
set_text(text_1, $1);
|
|
32351
|
+
set_text(text_2, $2);
|
|
32352
|
+
set_text(text_3, $3);
|
|
32353
|
+
},
|
|
32354
|
+
[
|
|
32355
|
+
() => shop.t("common.table.count"),
|
|
32356
|
+
() => shop.t("common.table.product"),
|
|
32357
|
+
() => shop.t("common.table.price"),
|
|
32358
|
+
() => shop.t("common.table.total", { value: formatCurrency$1(get$2(order).total_price_cents) })
|
|
32359
|
+
]
|
|
32360
|
+
);
|
|
32243
32361
|
append($$anchor2, ol);
|
|
32244
32362
|
};
|
|
32245
32363
|
if_block(node, ($$render) => {
|
|
32246
|
-
if (get$2(order)) $$render(consequent_2);
|
|
32364
|
+
if (get$2(order) && get$2(orderDetails)) $$render(consequent_2);
|
|
32247
32365
|
});
|
|
32248
32366
|
}
|
|
32249
32367
|
append($$anchor, fragment);
|
|
@@ -12870,7 +12870,7 @@ class PersonalizationDetails {
|
|
|
12870
12870
|
}
|
|
12871
12871
|
const KEY$4 = "go-annual-ticket-personalization";
|
|
12872
12872
|
const setPersonalizationDetails = createSetDetails(KEY$4);
|
|
12873
|
-
var root_3$
|
|
12873
|
+
var root_3$9 = /* @__PURE__ */ from_html(`<li><a> </a></li>`);
|
|
12874
12874
|
var root_2$q = /* @__PURE__ */ from_html(`<ul class="go-annual-ticket"><li class="go-annual-ticket-title"> </li> <li class="go-annual-ticket-personalization-count"> </li> <!></ul>`);
|
|
12875
12875
|
function AnnualTicketPersonalization($$anchor, $$props) {
|
|
12876
12876
|
push($$props, true);
|
|
@@ -12908,7 +12908,7 @@ function AnnualTicketPersonalization($$anchor, $$props) {
|
|
|
12908
12908
|
var node_2 = sibling(li_1, 2);
|
|
12909
12909
|
{
|
|
12910
12910
|
var consequent = ($$anchor4) => {
|
|
12911
|
-
var li_2 = root_3$
|
|
12911
|
+
var li_2 = root_3$9();
|
|
12912
12912
|
var a2 = child(li_2);
|
|
12913
12913
|
var text_2 = child(a2, true);
|
|
12914
12914
|
reset(a2);
|
|
@@ -17000,7 +17000,7 @@ function Item$1($$anchor, $$props) {
|
|
|
17000
17000
|
delegate(["change", "click"]);
|
|
17001
17001
|
create_custom_element(Item$1, { cartItem: {}, cart: {}, preview: {} }, [], [], { mode: "open" });
|
|
17002
17002
|
var root_2$o = /* @__PURE__ */ from_html(`<li class="go-cart-header-remove" data-go-cart-header-remove=""></li>`);
|
|
17003
|
-
var root_3$
|
|
17003
|
+
var root_3$8 = /* @__PURE__ */ from_html(`<li class="go-cart-item" data-go-cart-item=""><!></li>`);
|
|
17004
17004
|
var root_4$6 = /* @__PURE__ */ from_html(`<li class="go-cart-footer-remove" data-go-cart-footer-remove=""></li>`);
|
|
17005
17005
|
var root_1$f = /* @__PURE__ */ from_html(`<ol data-testid="cart"><li class="go-cart-header" data-go-cart-header="" data-testid="cart-header"><ul><li class="go-cart-header-title" data-go-cart-header-title=""> </li> <li class="go-cart-header-price" data-go-cart-header-price=""> </li> <li class="go-cart-header-count" data-go-cart-header-count=""> </li> <!> <li class="go-cart-header-sum" data-go-cart-header-sum=""> </li></ul></li> <!> <li class="go-cart-footer" data-go-cart-footer="" data-testid="cart-footer"><ul><li class="go-cart-footer-title" data-go-cart-footer-title=""></li> <li class="go-cart-footer-price" data-go-cart-footer-price=""></li> <li class="go-cart-footer-count" data-go-cart-footer-count=""></li> <!> <li class="go-cart-footer-sum" data-go-cart-footer-sum="" data-go-cart-sum=""> </li></ul></li></ol>`);
|
|
17006
17006
|
function Cart($$anchor, $$props) {
|
|
@@ -17049,7 +17049,7 @@ function Cart($$anchor, $$props) {
|
|
|
17049
17049
|
reset(li);
|
|
17050
17050
|
var node_2 = sibling(li, 2);
|
|
17051
17051
|
each(node_2, 17, () => get$2(cart).items, (cartItem) => cartItem.uuid, ($$anchor3, cartItem) => {
|
|
17052
|
-
var li_6 = root_3$
|
|
17052
|
+
var li_6 = root_3$8();
|
|
17053
17053
|
var node_3 = child(li_6);
|
|
17054
17054
|
Item$1(node_3, {
|
|
17055
17055
|
get cartItem() {
|
|
@@ -30345,7 +30345,7 @@ function Date_picker_content($$anchor, $$props) {
|
|
|
30345
30345
|
return pop($$exports);
|
|
30346
30346
|
}
|
|
30347
30347
|
create_custom_element(Date_picker_content, { ref: {}, onOpenAutoFocus: {} }, [], [], { mode: "open" });
|
|
30348
|
-
var root_3$
|
|
30348
|
+
var root_3$7 = /* @__PURE__ */ from_html(`<button><!></button>`);
|
|
30349
30349
|
function Popover_trigger($$anchor, $$props) {
|
|
30350
30350
|
const uid = props_id();
|
|
30351
30351
|
push($$props, true);
|
|
@@ -30456,7 +30456,7 @@ function Popover_trigger($$anchor, $$props) {
|
|
|
30456
30456
|
append($$anchor3, fragment_2);
|
|
30457
30457
|
};
|
|
30458
30458
|
var alternate = ($$anchor3) => {
|
|
30459
|
-
var button = root_3$
|
|
30459
|
+
var button = root_3$7();
|
|
30460
30460
|
attribute_effect(button, () => ({ ...get$2(mergedProps) }));
|
|
30461
30461
|
var node_2 = child(button);
|
|
30462
30462
|
snippet(node_2, () => children() ?? noop$1);
|
|
@@ -30844,7 +30844,7 @@ create_custom_element(
|
|
|
30844
30844
|
);
|
|
30845
30845
|
var root_2$6 = /* @__PURE__ */ from_html(`<span class="go-field-star" aria-hidden="true">*</span>`);
|
|
30846
30846
|
var root_1$b = /* @__PURE__ */ from_html(` <!>`, 1);
|
|
30847
|
-
var root_3$
|
|
30847
|
+
var root_3$6 = /* @__PURE__ */ from_html(`<label><!></label> <input/>`, 1);
|
|
30848
30848
|
var root_4$3 = /* @__PURE__ */ from_html(`<label><input/> <span class="go-checkbox-label"><!></span></label>`);
|
|
30849
30849
|
var root_7$2 = /* @__PURE__ */ from_html(`<option> </option>`);
|
|
30850
30850
|
var root_6$1 = /* @__PURE__ */ from_html(`<option disabled hidden="" selected> </option> <!>`, 1);
|
|
@@ -30871,7 +30871,7 @@ function InputAndLabel($$anchor, $$props) {
|
|
|
30871
30871
|
append($$anchor2, fragment);
|
|
30872
30872
|
};
|
|
30873
30873
|
const input = ($$anchor2) => {
|
|
30874
|
-
var fragment_1 = root_3$
|
|
30874
|
+
var fragment_1 = root_3$6();
|
|
30875
30875
|
var label_1 = first_child(fragment_1);
|
|
30876
30876
|
var node_1 = child(label_1);
|
|
30877
30877
|
labelText(node_1);
|
|
@@ -31166,7 +31166,7 @@ create_custom_element(
|
|
|
31166
31166
|
{ mode: "open" }
|
|
31167
31167
|
);
|
|
31168
31168
|
var root_1$a = /* @__PURE__ */ from_html(`<span> </span>`);
|
|
31169
|
-
var root_3$
|
|
31169
|
+
var root_3$5 = /* @__PURE__ */ from_html(`<li> </li>`);
|
|
31170
31170
|
var root_2$5 = /* @__PURE__ */ from_html(`<ul class="go-field-errors" role="alert"></ul>`);
|
|
31171
31171
|
var root$5 = /* @__PURE__ */ from_html(`<!> <!> <!>`, 1);
|
|
31172
31172
|
function Field($$anchor, $$props) {
|
|
@@ -31268,7 +31268,7 @@ function Field($$anchor, $$props) {
|
|
|
31268
31268
|
var consequent_1 = ($$anchor2) => {
|
|
31269
31269
|
var ul = root_2$5();
|
|
31270
31270
|
each(ul, 21, () => get$2(allErrors), index$1, ($$anchor3, error) => {
|
|
31271
|
-
var li = root_3$
|
|
31271
|
+
var li = root_3$5();
|
|
31272
31272
|
var text_1 = child(li, true);
|
|
31273
31273
|
reset(li);
|
|
31274
31274
|
template_effect(() => set_text(text_1, get$2(error)));
|
|
@@ -31316,7 +31316,7 @@ function AllFields($$anchor, $$props) {
|
|
|
31316
31316
|
customElements.define("go-all-fields", create_custom_element(AllFields, {}, [], []));
|
|
31317
31317
|
var root_2$4 = /* @__PURE__ */ from_html(`<p aria-live="assertive" class="sr-only"> </p>`);
|
|
31318
31318
|
var root_4$2 = /* @__PURE__ */ from_html(`<li> </li>`);
|
|
31319
|
-
var root_3$
|
|
31319
|
+
var root_3$4 = /* @__PURE__ */ from_html(`<ul class="go-error-feedback-api-errors"></ul>`);
|
|
31320
31320
|
var root_5 = /* @__PURE__ */ from_html(`<p aria-hidden="true"> </p>`);
|
|
31321
31321
|
var root_1$8 = /* @__PURE__ */ from_html(`<div><!> <!> <!></div>`);
|
|
31322
31322
|
function ErrorsFeedback($$anchor, $$props) {
|
|
@@ -31361,7 +31361,7 @@ function ErrorsFeedback($$anchor, $$props) {
|
|
|
31361
31361
|
var node_2 = sibling(node_1, 2);
|
|
31362
31362
|
{
|
|
31363
31363
|
var consequent_1 = ($$anchor3) => {
|
|
31364
|
-
var ul = root_3$
|
|
31364
|
+
var ul = root_3$4();
|
|
31365
31365
|
each(ul, 21, () => get$2(details)?.apiErrors, index$1, ($$anchor4, error) => {
|
|
31366
31366
|
var li = root_4$2();
|
|
31367
31367
|
var text_1 = child(li, true);
|
|
@@ -31881,7 +31881,8 @@ function Order($$anchor, $$props) {
|
|
|
31881
31881
|
customElements.define("go-order", create_custom_element(Order, { token: { attribute: "token", reflect: true, type: "String" } }, [], ["orderDetails"]));
|
|
31882
31882
|
var root_1$6 = /* @__PURE__ */ from_html(`<span class="go-cart-item-date" data-testid="cart-item-date"> </span> <span class="go-cart-item-time" data-testid="cart-item-time"> </span>`, 1);
|
|
31883
31883
|
var root_2$3 = /* @__PURE__ */ from_html(`<br/> <span class="go-order-item-quantities"> </span>`, 1);
|
|
31884
|
-
var
|
|
31884
|
+
var root_3$3 = /* @__PURE__ */ from_html(`<a aria-label="iCal link"> </a>`);
|
|
31885
|
+
var root$3 = /* @__PURE__ */ from_html(`<li><article><ul><li class="go-order-breakdown-count">1</li> <li class="go-order-breakdown-product"><span class="go-order-item-title"> </span> <!> <!> <a class="go-ticket-download" target="_blank" rel="noopener noreferrer"> </a></li> <li class="go-order-breakdown-item-price"> </li> <li class="go-order-breakdown-passbook"></li> <li class="go-order-breakdown-ical"><!></li></ul></article></li>`);
|
|
31885
31886
|
function Event$1($$anchor, $$props) {
|
|
31886
31887
|
push($$props, true);
|
|
31887
31888
|
let item = prop($$props, "item", 7), orderDetails = prop($$props, "orderDetails", 7);
|
|
@@ -31935,7 +31936,7 @@ function Event$1($$anchor, $$props) {
|
|
|
31935
31936
|
});
|
|
31936
31937
|
}
|
|
31937
31938
|
var node_1 = sibling(node, 2);
|
|
31938
|
-
each(node_1, 17, () => item().attributes.quantities,
|
|
31939
|
+
each(node_1, 17, () => item().attributes.quantities, (scalePrice) => scalePrice.id, ($$anchor2, scalePrice) => {
|
|
31939
31940
|
var fragment_1 = root_2$3();
|
|
31940
31941
|
var span_3 = sibling(first_child(fragment_1), 2);
|
|
31941
31942
|
var text_3 = child(span_3);
|
|
@@ -31944,22 +31945,46 @@ function Event$1($$anchor, $$props) {
|
|
|
31944
31945
|
append($$anchor2, fragment_1);
|
|
31945
31946
|
});
|
|
31946
31947
|
var a2 = sibling(node_1, 2);
|
|
31948
|
+
var text_4 = child(a2, true);
|
|
31949
|
+
reset(a2);
|
|
31947
31950
|
reset(li_1);
|
|
31948
31951
|
var li_2 = sibling(li_1, 2);
|
|
31949
|
-
var
|
|
31952
|
+
var text_5 = child(li_2, true);
|
|
31950
31953
|
reset(li_2);
|
|
31951
|
-
|
|
31954
|
+
var li_3 = sibling(li_2, 4);
|
|
31955
|
+
var node_2 = child(li_3);
|
|
31956
|
+
{
|
|
31957
|
+
var consequent_1 = ($$anchor2) => {
|
|
31958
|
+
var a_1 = root_3$3();
|
|
31959
|
+
var text_6 = child(a_1, true);
|
|
31960
|
+
reset(a_1);
|
|
31961
|
+
template_effect(
|
|
31962
|
+
($0) => {
|
|
31963
|
+
set_attribute(a_1, "href", shop.apiUrl + item().attributes.ical_url);
|
|
31964
|
+
set_text(text_6, $0);
|
|
31965
|
+
},
|
|
31966
|
+
[() => shop.t("common.calendar")]
|
|
31967
|
+
);
|
|
31968
|
+
append($$anchor2, a_1);
|
|
31969
|
+
};
|
|
31970
|
+
if_block(node_2, ($$render) => {
|
|
31971
|
+
if (item().attributes.ical_url) $$render(consequent_1);
|
|
31972
|
+
});
|
|
31973
|
+
}
|
|
31974
|
+
reset(li_3);
|
|
31952
31975
|
reset(ul);
|
|
31953
31976
|
reset(article);
|
|
31954
31977
|
reset(li);
|
|
31955
31978
|
template_effect(
|
|
31956
|
-
($0, $1) => {
|
|
31979
|
+
($0, $1, $2) => {
|
|
31957
31980
|
set_text(text2, item().attributes.title);
|
|
31958
31981
|
set_attribute(a2, "href", $0);
|
|
31959
31982
|
set_text(text_4, $1);
|
|
31983
|
+
set_text(text_5, $2);
|
|
31960
31984
|
},
|
|
31961
31985
|
[
|
|
31962
31986
|
() => orderDetails().downloadLink(item()),
|
|
31987
|
+
() => shop.t("common.download"),
|
|
31963
31988
|
() => formatCurrency$1(item().price_cents)
|
|
31964
31989
|
]
|
|
31965
31990
|
);
|
|
@@ -31969,13 +31994,14 @@ function Event$1($$anchor, $$props) {
|
|
|
31969
31994
|
create_custom_element(Event$1, { item: {}, orderDetails: {} }, [], [], { mode: "open" });
|
|
31970
31995
|
var root_4$1 = /* @__PURE__ */ from_html(`<span class="go-cart-item-date"> </span> <span class="go-cart-item-time"> </span>`, 1);
|
|
31971
31996
|
var root_6 = /* @__PURE__ */ from_html(`<span class="go-cart-item-date"> </span>`);
|
|
31972
|
-
var root_3$2 = /* @__PURE__ */ from_html(`<!> <br/> <a class="go-ticket-download" target="_blank">
|
|
31973
|
-
var root_7$1 = /* @__PURE__ */ from_html(`<br/> <a class="go-ticket-personalization">
|
|
31997
|
+
var root_3$2 = /* @__PURE__ */ from_html(`<!> <br/> <a class="go-ticket-download" target="_blank" rel="noopener noreferrer"> </a>`, 1);
|
|
31998
|
+
var root_7$1 = /* @__PURE__ */ from_html(`<br/> <a class="go-ticket-personalization"> </a>`, 1);
|
|
31974
31999
|
var root_8 = /* @__PURE__ */ from_html(`<a aria-label="passbook link"><img alt="apple wallet icon"/></a>`);
|
|
31975
|
-
var
|
|
31976
|
-
var
|
|
31977
|
-
var root_11$1 = /* @__PURE__ */ from_html(`<a class="go-ticket-
|
|
31978
|
-
var
|
|
32000
|
+
var root_9 = /* @__PURE__ */ from_html(`<a aria-label="iCal link"> </a>`);
|
|
32001
|
+
var root_2$2 = /* @__PURE__ */ from_html(`<li><article><ul><li class="go-order-breakdown-count"></li> <li class="go-order-breakdown-product"><span class="go-order-item-title"> </span> <!></li> <li class="go-order-breakdown-item-price"> </li> <li class="go-order-breakdown-passbook"><!></li> <li class="go-order-breakdown-ical"><!></li></ul></article></li>`);
|
|
32002
|
+
var root_11$1 = /* @__PURE__ */ from_html(`<a class="go-ticket-download" target="_blank" rel="noopener noreferrer"> </a>`);
|
|
32003
|
+
var root_12 = /* @__PURE__ */ from_html(`<a class="go-ticket-personalization"> </a>`);
|
|
32004
|
+
var root_10 = /* @__PURE__ */ from_html(`<li><article><ul><li class="go-order-breakdown-count"> </li> <li class="go-order-breakdown-product"><span class="go-order-item-title"> </span> <!></li> <li class="go-order-breakdown-item-price"> </li> <li class="go-order-breakdown-passbook"></li></ul></article></li>`);
|
|
31979
32005
|
function TicketSale($$anchor, $$props) {
|
|
31980
32006
|
push($$props, true);
|
|
31981
32007
|
const APPLE_WALLET_CDN_PATH = `https://cdn.shop.platform.gomus.de/apple_wallet_${shop.locale}.svg`;
|
|
@@ -31999,7 +32025,7 @@ function TicketSale($$anchor, $$props) {
|
|
|
31999
32025
|
var fragment = comment();
|
|
32000
32026
|
var node = first_child(fragment);
|
|
32001
32027
|
{
|
|
32002
|
-
var
|
|
32028
|
+
var consequent_5 = ($$anchor2) => {
|
|
32003
32029
|
var fragment_1 = comment();
|
|
32004
32030
|
var node_1 = first_child(fragment_1);
|
|
32005
32031
|
each(node_1, 17, () => ({ length: item().attributes.quantity }), index$1, ($$anchor3, $$item, index2) => {
|
|
@@ -32068,13 +32094,35 @@ function TicketSale($$anchor, $$props) {
|
|
|
32068
32094
|
});
|
|
32069
32095
|
}
|
|
32070
32096
|
var a2 = sibling(node_3, 4);
|
|
32071
|
-
|
|
32097
|
+
var text_4 = child(a2, true);
|
|
32098
|
+
reset(a2);
|
|
32099
|
+
template_effect(
|
|
32100
|
+
($0, $1) => {
|
|
32101
|
+
set_attribute(a2, "href", $0);
|
|
32102
|
+
set_text(text_4, $1);
|
|
32103
|
+
},
|
|
32104
|
+
[
|
|
32105
|
+
() => orderDetails().downloadLink(item(), get$2(barcodeId)),
|
|
32106
|
+
() => shop.t("common.download")
|
|
32107
|
+
]
|
|
32108
|
+
);
|
|
32072
32109
|
append($$anchor4, fragment_2);
|
|
32073
32110
|
};
|
|
32074
32111
|
var alternate_1 = ($$anchor4) => {
|
|
32075
32112
|
var fragment_5 = root_7$1();
|
|
32076
32113
|
var a_1 = sibling(first_child(fragment_5), 2);
|
|
32077
|
-
|
|
32114
|
+
var text_5 = child(a_1, true);
|
|
32115
|
+
reset(a_1);
|
|
32116
|
+
template_effect(
|
|
32117
|
+
($0, $1) => {
|
|
32118
|
+
set_attribute(a_1, "href", $0);
|
|
32119
|
+
set_text(text_5, $1);
|
|
32120
|
+
},
|
|
32121
|
+
[
|
|
32122
|
+
() => orderDetails().downloadLink(item()),
|
|
32123
|
+
() => shop.t("common.personalize")
|
|
32124
|
+
]
|
|
32125
|
+
);
|
|
32078
32126
|
append($$anchor4, fragment_5);
|
|
32079
32127
|
};
|
|
32080
32128
|
if_block(node_2, ($$render) => {
|
|
@@ -32084,7 +32132,7 @@ function TicketSale($$anchor, $$props) {
|
|
|
32084
32132
|
}
|
|
32085
32133
|
reset(li_2);
|
|
32086
32134
|
var li_3 = sibling(li_2, 2);
|
|
32087
|
-
var
|
|
32135
|
+
var text_6 = child(li_3, true);
|
|
32088
32136
|
reset(li_3);
|
|
32089
32137
|
var li_4 = sibling(li_3, 2);
|
|
32090
32138
|
var node_5 = child(li_4);
|
|
@@ -32104,13 +32152,34 @@ function TicketSale($$anchor, $$props) {
|
|
|
32104
32152
|
});
|
|
32105
32153
|
}
|
|
32106
32154
|
reset(li_4);
|
|
32155
|
+
var li_5 = sibling(li_4, 2);
|
|
32156
|
+
var node_6 = child(li_5);
|
|
32157
|
+
{
|
|
32158
|
+
var consequent_4 = ($$anchor4) => {
|
|
32159
|
+
var a_3 = root_9();
|
|
32160
|
+
var text_7 = child(a_3, true);
|
|
32161
|
+
reset(a_3);
|
|
32162
|
+
template_effect(
|
|
32163
|
+
($0) => {
|
|
32164
|
+
set_attribute(a_3, "href", shop.apiUrl + item().attributes.ical_url);
|
|
32165
|
+
set_text(text_7, $0);
|
|
32166
|
+
},
|
|
32167
|
+
[() => shop.t("common.calendar")]
|
|
32168
|
+
);
|
|
32169
|
+
append($$anchor4, a_3);
|
|
32170
|
+
};
|
|
32171
|
+
if_block(node_6, ($$render) => {
|
|
32172
|
+
if (item().attributes.ical_url) $$render(consequent_4);
|
|
32173
|
+
});
|
|
32174
|
+
}
|
|
32175
|
+
reset(li_5);
|
|
32107
32176
|
reset(ul);
|
|
32108
32177
|
reset(article);
|
|
32109
32178
|
reset(li);
|
|
32110
32179
|
template_effect(
|
|
32111
32180
|
($0) => {
|
|
32112
32181
|
set_text(text2, item().attributes.title);
|
|
32113
|
-
set_text(
|
|
32182
|
+
set_text(text_6, $0);
|
|
32114
32183
|
},
|
|
32115
32184
|
[() => formatCurrency$1(item().price_cents)]
|
|
32116
32185
|
);
|
|
@@ -32119,53 +32188,75 @@ function TicketSale($$anchor, $$props) {
|
|
|
32119
32188
|
append($$anchor2, fragment_1);
|
|
32120
32189
|
};
|
|
32121
32190
|
var alternate_3 = ($$anchor2) => {
|
|
32122
|
-
var
|
|
32123
|
-
var article_1 = child(
|
|
32191
|
+
var li_6 = root_10();
|
|
32192
|
+
var article_1 = child(li_6);
|
|
32124
32193
|
var ul_1 = child(article_1);
|
|
32125
|
-
var
|
|
32126
|
-
var
|
|
32127
|
-
reset(
|
|
32128
|
-
var
|
|
32129
|
-
var span_4 = child(
|
|
32130
|
-
var
|
|
32194
|
+
var li_7 = child(ul_1);
|
|
32195
|
+
var text_8 = child(li_7, true);
|
|
32196
|
+
reset(li_7);
|
|
32197
|
+
var li_8 = sibling(li_7, 2);
|
|
32198
|
+
var span_4 = child(li_8);
|
|
32199
|
+
var text_9 = child(span_4, true);
|
|
32131
32200
|
reset(span_4);
|
|
32132
|
-
var
|
|
32201
|
+
var node_7 = sibling(span_4, 2);
|
|
32133
32202
|
{
|
|
32134
|
-
var
|
|
32135
|
-
var a_3 = root_10();
|
|
32136
|
-
template_effect(($0) => set_attribute(a_3, "href", $0), [() => orderDetails().downloadLink(item())]);
|
|
32137
|
-
append($$anchor3, a_3);
|
|
32138
|
-
};
|
|
32139
|
-
var alternate_2 = ($$anchor3) => {
|
|
32203
|
+
var consequent_6 = ($$anchor3) => {
|
|
32140
32204
|
var a_4 = root_11$1();
|
|
32141
|
-
|
|
32205
|
+
var text_10 = child(a_4, true);
|
|
32206
|
+
reset(a_4);
|
|
32207
|
+
template_effect(
|
|
32208
|
+
($0, $1) => {
|
|
32209
|
+
set_attribute(a_4, "href", $0);
|
|
32210
|
+
set_text(text_10, $1);
|
|
32211
|
+
},
|
|
32212
|
+
[
|
|
32213
|
+
() => orderDetails().downloadLink(item()),
|
|
32214
|
+
() => shop.t("common.download")
|
|
32215
|
+
]
|
|
32216
|
+
);
|
|
32142
32217
|
append($$anchor3, a_4);
|
|
32143
32218
|
};
|
|
32144
|
-
|
|
32145
|
-
|
|
32219
|
+
var alternate_2 = ($$anchor3) => {
|
|
32220
|
+
var a_5 = root_12();
|
|
32221
|
+
var text_11 = child(a_5, true);
|
|
32222
|
+
reset(a_5);
|
|
32223
|
+
template_effect(
|
|
32224
|
+
($0, $1) => {
|
|
32225
|
+
set_attribute(a_5, "href", $0);
|
|
32226
|
+
set_text(text_11, $1);
|
|
32227
|
+
},
|
|
32228
|
+
[
|
|
32229
|
+
() => orderDetails().downloadLink(item()),
|
|
32230
|
+
() => shop.t("common.personalize")
|
|
32231
|
+
]
|
|
32232
|
+
);
|
|
32233
|
+
append($$anchor3, a_5);
|
|
32234
|
+
};
|
|
32235
|
+
if_block(node_7, ($$render) => {
|
|
32236
|
+
if (item().attributes.is_voucher) $$render(consequent_6);
|
|
32146
32237
|
else $$render(alternate_2, false);
|
|
32147
32238
|
});
|
|
32148
32239
|
}
|
|
32149
|
-
reset(li_7);
|
|
32150
|
-
var li_8 = sibling(li_7, 2);
|
|
32151
|
-
var text_7 = child(li_8, true);
|
|
32152
32240
|
reset(li_8);
|
|
32241
|
+
var li_9 = sibling(li_8, 2);
|
|
32242
|
+
var text_12 = child(li_9, true);
|
|
32243
|
+
reset(li_9);
|
|
32153
32244
|
next(2);
|
|
32154
32245
|
reset(ul_1);
|
|
32155
32246
|
reset(article_1);
|
|
32156
|
-
reset(
|
|
32247
|
+
reset(li_6);
|
|
32157
32248
|
template_effect(
|
|
32158
32249
|
($0) => {
|
|
32159
|
-
set_text(
|
|
32160
|
-
set_text(
|
|
32161
|
-
set_text(
|
|
32250
|
+
set_text(text_8, item().attributes.quantity);
|
|
32251
|
+
set_text(text_9, item().attributes.title);
|
|
32252
|
+
set_text(text_12, $0);
|
|
32162
32253
|
},
|
|
32163
32254
|
[() => formatCurrency$1(item().price_cents)]
|
|
32164
32255
|
);
|
|
32165
|
-
append($$anchor2,
|
|
32256
|
+
append($$anchor2, li_6);
|
|
32166
32257
|
};
|
|
32167
32258
|
if_block(node, ($$render) => {
|
|
32168
|
-
if (item().attributes.ticket_type == "time_slot" || item().attributes.ticket_type == "normal") $$render(
|
|
32259
|
+
if (item().attributes.ticket_type == "time_slot" || item().attributes.ticket_type == "normal") $$render(consequent_5);
|
|
32169
32260
|
else $$render(alternate_3, false);
|
|
32170
32261
|
});
|
|
32171
32262
|
}
|
|
@@ -32173,7 +32264,7 @@ function TicketSale($$anchor, $$props) {
|
|
|
32173
32264
|
return pop($$exports);
|
|
32174
32265
|
}
|
|
32175
32266
|
create_custom_element(TicketSale, { item: {}, orderDetails: {} }, [], [], { mode: "open" });
|
|
32176
|
-
var root_1$5 = /* @__PURE__ */ from_html(`<ol><li class="data-go-order-breakdown-header"><ul><li class="go-order-breakdown-header-count">
|
|
32267
|
+
var root_1$5 = /* @__PURE__ */ from_html(`<ol><li class="data-go-order-breakdown-header"><ul><li class="go-order-breakdown-header-count"> </li> <li class="go-order-breakdown-header-product"> </li> <li class="go-order-breakdown-header-price"> </li> <li class="go-order-breakdown-header-passbook"></li></ul></li> <!> <li class="go-order-breakdown-footer"><ul><li class="go-cart-footer-title"></li> <li class="go-cart-footer-count"></li> <li class="go-cart-footer-price"> </li> <li class="go-cart-footer-passbook"></li></ul></li></ol>`);
|
|
32177
32268
|
function Breakdown($$anchor, $$props) {
|
|
32178
32269
|
push($$props, true);
|
|
32179
32270
|
const _orderDetails = getDetails($$props.$$host);
|
|
@@ -32184,7 +32275,21 @@ function Breakdown($$anchor, $$props) {
|
|
|
32184
32275
|
{
|
|
32185
32276
|
var consequent_2 = ($$anchor2) => {
|
|
32186
32277
|
var ol = root_1$5();
|
|
32187
|
-
var
|
|
32278
|
+
var li = child(ol);
|
|
32279
|
+
var ul = child(li);
|
|
32280
|
+
var li_1 = child(ul);
|
|
32281
|
+
var text2 = child(li_1, true);
|
|
32282
|
+
reset(li_1);
|
|
32283
|
+
var li_2 = sibling(li_1, 2);
|
|
32284
|
+
var text_1 = child(li_2, true);
|
|
32285
|
+
reset(li_2);
|
|
32286
|
+
var li_3 = sibling(li_2, 2);
|
|
32287
|
+
var text_2 = child(li_3, true);
|
|
32288
|
+
reset(li_3);
|
|
32289
|
+
next(2);
|
|
32290
|
+
reset(ul);
|
|
32291
|
+
reset(li);
|
|
32292
|
+
var node_1 = sibling(li, 2);
|
|
32188
32293
|
each(node_1, 17, () => get$2(order).items, (item) => item.id, ($$anchor3, item) => {
|
|
32189
32294
|
var fragment_1 = comment();
|
|
32190
32295
|
var node_2 = first_child(fragment_1);
|
|
@@ -32230,20 +32335,33 @@ function Breakdown($$anchor, $$props) {
|
|
|
32230
32335
|
}
|
|
32231
32336
|
append($$anchor3, fragment_1);
|
|
32232
32337
|
});
|
|
32233
|
-
var
|
|
32234
|
-
var
|
|
32235
|
-
var
|
|
32236
|
-
var
|
|
32237
|
-
reset(
|
|
32338
|
+
var li_4 = sibling(node_1, 2);
|
|
32339
|
+
var ul_1 = child(li_4);
|
|
32340
|
+
var li_5 = sibling(child(ul_1), 4);
|
|
32341
|
+
var text_3 = child(li_5, true);
|
|
32342
|
+
reset(li_5);
|
|
32238
32343
|
next(2);
|
|
32239
|
-
reset(
|
|
32240
|
-
reset(
|
|
32344
|
+
reset(ul_1);
|
|
32345
|
+
reset(li_4);
|
|
32241
32346
|
reset(ol);
|
|
32242
|
-
template_effect(
|
|
32347
|
+
template_effect(
|
|
32348
|
+
($0, $1, $2, $3) => {
|
|
32349
|
+
set_text(text2, $0);
|
|
32350
|
+
set_text(text_1, $1);
|
|
32351
|
+
set_text(text_2, $2);
|
|
32352
|
+
set_text(text_3, $3);
|
|
32353
|
+
},
|
|
32354
|
+
[
|
|
32355
|
+
() => shop.t("common.table.count"),
|
|
32356
|
+
() => shop.t("common.table.product"),
|
|
32357
|
+
() => shop.t("common.table.price"),
|
|
32358
|
+
() => shop.t("common.table.total", { value: formatCurrency$1(get$2(order).total_price_cents) })
|
|
32359
|
+
]
|
|
32360
|
+
);
|
|
32243
32361
|
append($$anchor2, ol);
|
|
32244
32362
|
};
|
|
32245
32363
|
if_block(node, ($$render) => {
|
|
32246
|
-
if (get$2(order)) $$render(consequent_2);
|
|
32364
|
+
if (get$2(order) && get$2(orderDetails)) $$render(consequent_2);
|
|
32247
32365
|
});
|
|
32248
32366
|
}
|
|
32249
32367
|
append($$anchor, fragment);
|
|
@@ -389,16 +389,7 @@ export declare class Shop {
|
|
|
389
389
|
donation_cents: number;
|
|
390
390
|
}[];
|
|
391
391
|
customer: import('@gomus/types').components["schemas"]["customer"];
|
|
392
|
-
items:
|
|
393
|
-
id: number;
|
|
394
|
-
type: string;
|
|
395
|
-
splitable?: boolean;
|
|
396
|
-
price_cents: number;
|
|
397
|
-
vat_pct: number;
|
|
398
|
-
tax_included: boolean;
|
|
399
|
-
canceled: boolean;
|
|
400
|
-
attributes: import('@gomus/types').components["schemas"]["ticket_sale"] | import('@gomus/types').components["schemas"]["coupon_sale"];
|
|
401
|
-
}[];
|
|
392
|
+
items: (import('@gomus/types').components["schemas"]["ticket_order_item"] | import('@gomus/types').components["schemas"]["tour_order_item"] | import('@gomus/types').components["schemas"]["event_order_item"] | import('@gomus/types').components["schemas"]["coupon_order_item"] | import('@gomus/types').components["schemas"]["merchandise_order_item"] | import('@gomus/types').components["schemas"]["accounting_article_order_item"])[];
|
|
402
393
|
};
|
|
403
394
|
annualOrder(token: string): {
|
|
404
395
|
id: number;
|
|
@@ -439,6 +430,7 @@ export declare class Shop {
|
|
|
439
430
|
id: number;
|
|
440
431
|
title: string;
|
|
441
432
|
sub_title: string | null;
|
|
433
|
+
description: string | null;
|
|
442
434
|
created_at: string;
|
|
443
435
|
updated_at: string;
|
|
444
436
|
picture: import('@gomus/types').components["schemas"]["picture"];
|
|
@@ -466,6 +458,9 @@ export declare class Shop {
|
|
|
466
458
|
museum_id: number;
|
|
467
459
|
exhibition_id: number | null;
|
|
468
460
|
foreign_id: string | null;
|
|
461
|
+
min_persons?: number;
|
|
462
|
+
max_persons?: number;
|
|
463
|
+
max_participants?: number;
|
|
469
464
|
title: string;
|
|
470
465
|
sub_title: string | null;
|
|
471
466
|
created_at: string;
|
|
@@ -496,6 +491,7 @@ export declare class Shop {
|
|
|
496
491
|
sellabilities: import('@gomus/types').components["schemas"]["time_frame"][];
|
|
497
492
|
documents: import('@gomus/types').components["schemas"]["document"][];
|
|
498
493
|
content: Record<string, never>;
|
|
494
|
+
entry_fee: 0 | 10 | 20 | 100;
|
|
499
495
|
};
|
|
500
496
|
getTicketCapacities(date: string, ticketIds: number[]): Promise<CapacitiesResponse>;
|
|
501
497
|
getCouponSaleByBarcode(token: string): {
|
|
@@ -551,6 +547,9 @@ export declare class Shop {
|
|
|
551
547
|
museum_id: number;
|
|
552
548
|
exhibition_id: number | null;
|
|
553
549
|
foreign_id: string | null;
|
|
550
|
+
min_persons?: number;
|
|
551
|
+
max_persons?: number;
|
|
552
|
+
max_participants?: number;
|
|
554
553
|
title: string;
|
|
555
554
|
sub_title: string | null;
|
|
556
555
|
created_at: string;
|
|
@@ -570,6 +569,7 @@ export declare class Shop {
|
|
|
570
569
|
languages: import('@gomus/types').components["schemas"]["language"][];
|
|
571
570
|
category: import('@gomus/types').components["schemas"]["category"];
|
|
572
571
|
upcoming_bookings_start_times: string[];
|
|
572
|
+
entry_fee: 0 | 10 | 20 | 100;
|
|
573
573
|
}[];
|
|
574
574
|
get upcomingEvents(): {
|
|
575
575
|
id: number;
|
|
@@ -577,6 +577,9 @@ export declare class Shop {
|
|
|
577
577
|
museum_id: number;
|
|
578
578
|
exhibition_id: number | null;
|
|
579
579
|
foreign_id: string | null;
|
|
580
|
+
min_persons?: number;
|
|
581
|
+
max_persons?: number;
|
|
582
|
+
max_participants?: number;
|
|
580
583
|
title: string;
|
|
581
584
|
sub_title: string | null;
|
|
582
585
|
created_at: string;
|
|
@@ -596,6 +599,7 @@ export declare class Shop {
|
|
|
596
599
|
languages: import('@gomus/types').components["schemas"]["language"][];
|
|
597
600
|
category: import('@gomus/types').components["schemas"]["category"];
|
|
598
601
|
upcoming_bookings_start_times: string[];
|
|
602
|
+
entry_fee: 0 | 10 | 20 | 100;
|
|
599
603
|
}[];
|
|
600
604
|
get tours(): {
|
|
601
605
|
id: number;
|
|
@@ -604,6 +608,7 @@ export declare class Shop {
|
|
|
604
608
|
foreign_id?: number | null;
|
|
605
609
|
min_persons?: number;
|
|
606
610
|
max_persons?: number;
|
|
611
|
+
max_participants?: number;
|
|
607
612
|
title: string;
|
|
608
613
|
sub_title?: string | null;
|
|
609
614
|
bookable: boolean;
|
|
@@ -619,6 +624,7 @@ export declare class Shop {
|
|
|
619
624
|
created_at?: string;
|
|
620
625
|
updated_at?: string;
|
|
621
626
|
duration?: number;
|
|
627
|
+
entry_fee?: 0 | 10 | 20 | 100;
|
|
622
628
|
location: import('@gomus/types').components["schemas"]["location"];
|
|
623
629
|
age_groups: Record<string, never>[];
|
|
624
630
|
audiences: Record<string, never>[];
|
|
@@ -657,7 +663,7 @@ export declare class Shop {
|
|
|
657
663
|
get locales(): {
|
|
658
664
|
id: number;
|
|
659
665
|
locale: string;
|
|
660
|
-
}[];
|
|
666
|
+
}[] | undefined;
|
|
661
667
|
get urls(): {
|
|
662
668
|
account: () => string;
|
|
663
669
|
annualTickets: () => string;
|