tickera-angular-components 0.0.1-dev.16 → 0.0.1-dev.161
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/fesm2022/tickera-angular-components.mjs +6113 -1210
- package/fesm2022/tickera-angular-components.mjs.map +1 -1
- package/i18n/en.json +128 -3
- package/i18n/es.json +128 -3
- package/index.d.ts +2161 -422
- package/package.json +5 -2
- package/tickera.styles.css +1 -1
package/index.d.ts
CHANGED
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, EnvironmentProviders, WritableSignal, EventEmitter,
|
|
2
|
+
import { InjectionToken, EnvironmentProviders, WritableSignal, Signal, EventEmitter, OnChanges, OnDestroy, SimpleChanges, Injector, Type, ElementRef, OnInit, AfterViewInit } from '@angular/core';
|
|
3
|
+
export { TippyDirective } from '@ngneat/helipopper';
|
|
4
|
+
export * from '@ngneat/helipopper/config';
|
|
3
5
|
import { TranslocoLoader, TranslocoService } from '@jsverse/transloco';
|
|
4
6
|
import * as rxjs from 'rxjs';
|
|
5
7
|
import { Observable, Subject } from 'rxjs';
|
|
6
|
-
import {
|
|
8
|
+
import { ShapeConfig, Shape } from 'konva/lib/Shape';
|
|
9
|
+
import { Context } from 'konva/lib/Context';
|
|
10
|
+
import { ValidatorFn, FormGroup, FormBuilder, ControlValueAccessor, NgControl, Validator, AbstractControl, ValidationErrors, FormControl } from '@angular/forms';
|
|
7
11
|
import { HttpClient, HttpInterceptorFn } from '@angular/common/http';
|
|
12
|
+
import { Stage } from 'konva/lib/Stage';
|
|
13
|
+
import * as tickera_angular_components from 'tickera-angular-components';
|
|
8
14
|
import { Toolbar, Editor } from 'ngx-editor';
|
|
9
|
-
import { Router } from '@angular/router';
|
|
15
|
+
import { Router, ActivatedRoute } from '@angular/router';
|
|
16
|
+
import { StageComponent } from 'ng2-konva';
|
|
10
17
|
|
|
11
18
|
interface TickeraComponentsConfig {
|
|
12
19
|
apiUrl: string;
|
|
@@ -14,6 +21,7 @@ interface TickeraComponentsConfig {
|
|
|
14
21
|
defaultLang?: string;
|
|
15
22
|
availableLangs?: string[];
|
|
16
23
|
}
|
|
24
|
+
|
|
17
25
|
declare const TICKERA_COMPONENTS_CONFIG: InjectionToken<TickeraComponentsConfig>;
|
|
18
26
|
declare function provideTickeraComponents(config: TickeraComponentsConfig): EnvironmentProviders;
|
|
19
27
|
|
|
@@ -33,15 +41,6 @@ declare const ALERT_ICONS: {
|
|
|
33
41
|
info: string;
|
|
34
42
|
};
|
|
35
43
|
|
|
36
|
-
declare const BUTTON_VARIANT_CLASSES: Record<string, string>;
|
|
37
|
-
declare const BASE_BUTTON_CLASSES = "btn";
|
|
38
|
-
declare const BUTTON_SIZES_CLASSES: Record<string, string>;
|
|
39
|
-
|
|
40
|
-
declare const FORM_ERROR_MESSAGES: Record<string, string>;
|
|
41
|
-
|
|
42
|
-
declare const BASE_INPUT_CLASSES: string;
|
|
43
|
-
declare const ERROR_INPUT_CLASSES: string;
|
|
44
|
-
|
|
45
44
|
declare const ADMIN_API_ROUTES: {
|
|
46
45
|
FIND_ALL: string;
|
|
47
46
|
CREATE: string;
|
|
@@ -65,10 +64,10 @@ declare const COUNTRY_API_ENDPOINTS: {
|
|
|
65
64
|
delete: (id: number) => string;
|
|
66
65
|
};
|
|
67
66
|
|
|
68
|
-
declare const
|
|
67
|
+
declare const CUSTOMERS_API_ROUTES: {
|
|
69
68
|
findAll: string;
|
|
70
69
|
create: string;
|
|
71
|
-
|
|
70
|
+
findOne: (id: number) => string;
|
|
72
71
|
update: (id: number) => string;
|
|
73
72
|
delete: (id: number) => string;
|
|
74
73
|
};
|
|
@@ -79,6 +78,7 @@ declare const PERFORMANCES_API_ROUTES: {
|
|
|
79
78
|
createBulk: string;
|
|
80
79
|
findOneById: (id: number) => string;
|
|
81
80
|
findOneBookingData: (id: number) => string;
|
|
81
|
+
findOneBookingDataAdmin: (id: number) => string;
|
|
82
82
|
update: (id: number) => string;
|
|
83
83
|
delete: (id: number) => string;
|
|
84
84
|
deleteMany: string;
|
|
@@ -90,12 +90,49 @@ declare const PERFORMANCES_API_ROUTES: {
|
|
|
90
90
|
publicAvailablePerformances: string;
|
|
91
91
|
};
|
|
92
92
|
|
|
93
|
+
declare const PRICE_ZONES_API_ROUTES: {
|
|
94
|
+
FIND_ALL: string;
|
|
95
|
+
CREATE: string;
|
|
96
|
+
findOneById: (id: number) => string;
|
|
97
|
+
update: (id: number) => string;
|
|
98
|
+
delete: (id: number) => string;
|
|
99
|
+
updateElements: (id: number) => string;
|
|
100
|
+
duplicate: (id: number) => string;
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
declare const PRODUCT_CATEGORIES_API_ROUTES: {
|
|
104
|
+
FIND_ALL: string;
|
|
105
|
+
CREATE: string;
|
|
106
|
+
findById: (id: number) => string;
|
|
107
|
+
update: (id: number) => string;
|
|
108
|
+
delete: (id: number) => string;
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
declare const PRODUCT_TAGS_API_ROUTES: {
|
|
112
|
+
FIND_ALL: string;
|
|
113
|
+
CREATE: string;
|
|
114
|
+
findById: (id: number) => string;
|
|
115
|
+
update: (id: number) => string;
|
|
116
|
+
delete: (id: number) => string;
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
declare const PRODUCT_TYPES_API_ROUTES: {
|
|
120
|
+
FIND_ALL: string;
|
|
121
|
+
CREATE: string;
|
|
122
|
+
findById: (id: number) => string;
|
|
123
|
+
update: (id: number) => string;
|
|
124
|
+
delete: (id: number) => string;
|
|
125
|
+
};
|
|
126
|
+
|
|
93
127
|
declare const PRODUCTS_API_ROUTES: {
|
|
94
128
|
FIND_ALL: string;
|
|
95
129
|
CREATE: string;
|
|
96
130
|
findOneById: (id: number) => string;
|
|
97
131
|
update: (id: number) => string;
|
|
98
132
|
delete: (id: number) => string;
|
|
133
|
+
fetchImages: (id: number) => string;
|
|
134
|
+
uploadImages: (id: number) => string;
|
|
135
|
+
deleteOneImage: (productId: number, imageId: number) => string;
|
|
99
136
|
};
|
|
100
137
|
|
|
101
138
|
declare const SHOWS_API_ROUTES: {
|
|
@@ -110,22 +147,12 @@ declare const SHOWS_API_ROUTES: {
|
|
|
110
147
|
publicAvailablePerformances: string;
|
|
111
148
|
};
|
|
112
149
|
|
|
113
|
-
declare const
|
|
150
|
+
declare const STATE_API_ENDPOINTS: {
|
|
114
151
|
findAll: string;
|
|
115
152
|
create: string;
|
|
116
|
-
|
|
117
|
-
update: (id: number) => string;
|
|
118
|
-
delete: (id: number) => string;
|
|
119
|
-
};
|
|
120
|
-
|
|
121
|
-
declare const PRICE_ZONES_API_ROUTES: {
|
|
122
|
-
FIND_ALL: string;
|
|
123
|
-
CREATE: string;
|
|
124
|
-
findOneById: (id: number) => string;
|
|
153
|
+
findById: (id: number) => string;
|
|
125
154
|
update: (id: number) => string;
|
|
126
155
|
delete: (id: number) => string;
|
|
127
|
-
updateElements: (id: number) => string;
|
|
128
|
-
duplicate: (id: number) => string;
|
|
129
156
|
};
|
|
130
157
|
|
|
131
158
|
declare const VENUES_API_ROUTES: {
|
|
@@ -139,169 +166,36 @@ declare const VENUES_API_ROUTES: {
|
|
|
139
166
|
deleteOneImage: (venueId: number, imageId: number) => string;
|
|
140
167
|
};
|
|
141
168
|
|
|
142
|
-
declare
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
MEMBERSHIP_TYPE = "MEMBERSHIP_TYPE",
|
|
155
|
-
SHOWS = "SHOWS",
|
|
156
|
-
PERFORMANCES = "PERFORMANCES"
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
declare enum CouponDiscountType {
|
|
160
|
-
PERCENTAGE = "PERCENTAGE",
|
|
161
|
-
FIXED = "FIXED"
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
declare enum CouponStatus {
|
|
165
|
-
ACTIVE = "ACTIVE",
|
|
166
|
-
INACTIVE = "INACTIVE",
|
|
167
|
-
EXPIRED = "EXPIRED",
|
|
168
|
-
CONSUMED = "CONSUMED"
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
declare enum CorporateBondStatus {
|
|
172
|
-
ACTIVE = "ACTIVE",
|
|
173
|
-
INACTIVE = "INACTIVE",
|
|
174
|
-
EXPIRED = "EXPIRED"
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
declare enum PerformanceStatus {
|
|
178
|
-
ACTIVE = "active",
|
|
179
|
-
CANCELLED = "cancelled",
|
|
180
|
-
FINISHED = "finished",
|
|
181
|
-
POSTPONED = "postponed"
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
declare enum PerformanceTicketStatus {
|
|
185
|
-
AVAILABLE = "available",
|
|
186
|
-
RESERVED = "reserved",
|
|
187
|
-
SOLD = "sold",
|
|
188
|
-
BLOCKED = "blocked"
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
declare enum RoomMapElementOrientation {
|
|
192
|
-
TOP = "top",
|
|
193
|
-
RIGHT = "right",
|
|
194
|
-
BOTTOM = "bottom",
|
|
195
|
-
LEFT = "left",
|
|
196
|
-
CENTER = "center"
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
declare enum RoomMapElementType {
|
|
200
|
-
SEAT_BLOCK = "seat_block",
|
|
201
|
-
TABLE = "table",
|
|
202
|
-
ZONE = "zone",
|
|
203
|
-
EXIT = "exit",
|
|
204
|
-
STAGE = "stage",
|
|
205
|
-
PRODUCTION_AREA = "production_area",
|
|
206
|
-
UNAVAILABLE_SPACE = "unavailable_space",
|
|
207
|
-
STAIR = "stair",
|
|
208
|
-
HALLWAY = "hallway"
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
declare enum GiftBondStatus {
|
|
212
|
-
ACTIVE = "ACTIVE",
|
|
213
|
-
REDEEMED = "REDEEMED",
|
|
214
|
-
EXPIRED = "EXPIRED",
|
|
215
|
-
INACTIVE = "INACTIVE"
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
declare enum OrderItemType {
|
|
219
|
-
TICKET = "TICKET",
|
|
220
|
-
PRODUCT = "PRODUCT"
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
declare enum OrderStatus {
|
|
224
|
-
ON_HOLD = "on-hold",
|
|
225
|
-
PENDING_PAYMENT = "pending-payment",
|
|
226
|
-
PROCESSING = "processing",
|
|
227
|
-
COMPLETED = "completed",
|
|
228
|
-
FAILED = "failed",
|
|
229
|
-
CANCELLED = "cancelled",
|
|
230
|
-
REFUNDED = "refunded"
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
interface RoomMapPosition {
|
|
234
|
-
x: number;
|
|
235
|
-
y: number;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
interface RoomMapSize {
|
|
239
|
-
width: number;
|
|
240
|
-
height: number;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
interface RoomMapBaseElement {
|
|
244
|
-
id: string;
|
|
245
|
-
type: RoomMapElementType;
|
|
246
|
-
position: RoomMapPosition;
|
|
247
|
-
size: RoomMapSize;
|
|
248
|
-
rotation: number;
|
|
249
|
-
name?: string;
|
|
250
|
-
isLocked: boolean;
|
|
251
|
-
isVisible: boolean;
|
|
252
|
-
zIndex: number;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
interface RoomMapExitElement extends RoomMapBaseElement {
|
|
256
|
-
type: RoomMapElementType.EXIT;
|
|
257
|
-
exitName?: string;
|
|
258
|
-
exitType: 'emergency' | 'regular';
|
|
259
|
-
width: number;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
interface RoomMapProductionAreaElement extends RoomMapBaseElement {
|
|
263
|
-
type: RoomMapElementType.PRODUCTION_AREA;
|
|
264
|
-
areaName?: string;
|
|
265
|
-
areaType: 'lighting' | 'sound' | 'backstage' | 'orchestra' | 'custom';
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
interface RoomMapSeatElement extends RoomMapBaseElement {
|
|
269
|
-
type: RoomMapElementType.SEAT_BLOCK;
|
|
270
|
-
seatNumber?: string;
|
|
271
|
-
isAvailable: boolean;
|
|
272
|
-
priceCategory?: string;
|
|
273
|
-
}
|
|
169
|
+
declare const VIP_CARDS_API_ROUTES: {
|
|
170
|
+
findAll: string;
|
|
171
|
+
findOne: (id: number) => string;
|
|
172
|
+
activateAdmin: string;
|
|
173
|
+
rechargeAdmin: (id: number) => string;
|
|
174
|
+
updateStatus: (id: number) => string;
|
|
175
|
+
updateTerms: (id: number) => string;
|
|
176
|
+
transactions: (id: number) => string;
|
|
177
|
+
findMy: string;
|
|
178
|
+
activate: string;
|
|
179
|
+
recharge: string;
|
|
180
|
+
};
|
|
274
181
|
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
orientation: RoomMapElementOrientation;
|
|
279
|
-
isMainStage: boolean;
|
|
280
|
-
}
|
|
182
|
+
declare const BUTTON_VARIANT_CLASSES: Record<string, string>;
|
|
183
|
+
declare const BASE_BUTTON_CLASSES = "btn";
|
|
184
|
+
declare const BUTTON_SIZES_CLASSES: Record<string, string>;
|
|
281
185
|
|
|
282
|
-
|
|
283
|
-
type: RoomMapElementType.TABLE;
|
|
284
|
-
tableNumber?: string;
|
|
285
|
-
capacity: number;
|
|
286
|
-
shape: 'round' | 'rectangular' | 'square';
|
|
287
|
-
}
|
|
186
|
+
declare const FORM_ERROR_MESSAGES: Record<string, string>;
|
|
288
187
|
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
reason?: string;
|
|
292
|
-
}
|
|
188
|
+
declare const BASE_INPUT_CLASSES: string;
|
|
189
|
+
declare const ERROR_INPUT_CLASSES: string;
|
|
293
190
|
|
|
294
|
-
interface
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
color: string;
|
|
299
|
-
capacity?: number;
|
|
191
|
+
interface PhoneCountry {
|
|
192
|
+
name: string;
|
|
193
|
+
isoCode: string;
|
|
194
|
+
dialCode: string;
|
|
300
195
|
}
|
|
301
196
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
type RoomMapSeatDisplayState = 'normal' | 'accessible' | 'non_existent';
|
|
197
|
+
declare function phoneCountryFlag(isoCode: string): string;
|
|
198
|
+
declare const PHONE_COUNTRIES: PhoneCountry[];
|
|
305
199
|
|
|
306
200
|
interface SelectOption {
|
|
307
201
|
value: any;
|
|
@@ -309,7 +203,7 @@ interface SelectOption {
|
|
|
309
203
|
disabled?: boolean;
|
|
310
204
|
}
|
|
311
205
|
|
|
312
|
-
interface Admin {
|
|
206
|
+
interface Admin extends Auditable {
|
|
313
207
|
id: number;
|
|
314
208
|
username: string;
|
|
315
209
|
email: string;
|
|
@@ -325,16 +219,17 @@ interface Admin {
|
|
|
325
219
|
reset_password_expires: Date;
|
|
326
220
|
email_verified_at: Date;
|
|
327
221
|
last_login: Date;
|
|
328
|
-
created_at: Date;
|
|
329
|
-
updated_at: Date;
|
|
330
|
-
deleted_at: Date;
|
|
331
222
|
}
|
|
332
223
|
|
|
333
224
|
interface Auditable {
|
|
334
225
|
created_at: Date;
|
|
335
226
|
updated_at: Date;
|
|
227
|
+
deleted_at?: Date | null;
|
|
336
228
|
is_published?: boolean;
|
|
337
229
|
published_at?: Date;
|
|
230
|
+
published_by?: number;
|
|
231
|
+
deleted_by?: number;
|
|
232
|
+
deleted_by_admin?: Admin;
|
|
338
233
|
created_by_admin?: Admin;
|
|
339
234
|
updated_by_admin?: Admin;
|
|
340
235
|
published_by_admin?: Admin;
|
|
@@ -367,30 +262,21 @@ interface DeleteConfirmationOpen {
|
|
|
367
262
|
confirmationText: string;
|
|
368
263
|
}
|
|
369
264
|
|
|
370
|
-
interface AdminsResponse {
|
|
371
|
-
statusCode: number;
|
|
372
|
-
data: {
|
|
373
|
-
admins: Admin[];
|
|
374
|
-
total: number;
|
|
375
|
-
};
|
|
376
|
-
message: string;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
265
|
interface Country {
|
|
380
|
-
id:
|
|
266
|
+
id: number;
|
|
381
267
|
name: string;
|
|
382
268
|
iso2: string;
|
|
383
269
|
}
|
|
384
270
|
|
|
385
271
|
interface State {
|
|
386
|
-
id:
|
|
272
|
+
id: number;
|
|
387
273
|
name: string;
|
|
388
274
|
country_id: number;
|
|
389
275
|
country?: Country;
|
|
390
276
|
}
|
|
391
277
|
|
|
392
278
|
interface City {
|
|
393
|
-
id:
|
|
279
|
+
id: number;
|
|
394
280
|
name: string;
|
|
395
281
|
search_text: string | null;
|
|
396
282
|
state_id: number;
|
|
@@ -429,44 +315,65 @@ interface Venue extends Auditable {
|
|
|
429
315
|
images: VenueImage[];
|
|
430
316
|
}
|
|
431
317
|
|
|
432
|
-
interface HallFloor {
|
|
318
|
+
interface HallFloor extends Auditable {
|
|
433
319
|
id: number;
|
|
434
320
|
name: string;
|
|
435
321
|
level: number;
|
|
436
322
|
max_capacity: number;
|
|
437
323
|
description: string;
|
|
438
324
|
hall_id: number;
|
|
439
|
-
created_at: Date;
|
|
440
|
-
updated_at: Date;
|
|
441
|
-
deleted_at: Date | null;
|
|
442
325
|
}
|
|
443
326
|
|
|
444
|
-
interface Hall {
|
|
327
|
+
interface Hall extends Auditable {
|
|
445
328
|
id: number;
|
|
446
329
|
name: string;
|
|
447
330
|
venue_id: number;
|
|
448
331
|
venue?: Venue;
|
|
449
332
|
hall_floors?: HallFloor[];
|
|
450
|
-
created_at: Date;
|
|
451
|
-
updated_at: Date;
|
|
452
|
-
deleted_at: Date | null;
|
|
453
333
|
}
|
|
454
334
|
|
|
455
|
-
interface
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
335
|
+
interface BreadcrumbStep {
|
|
336
|
+
label: string;
|
|
337
|
+
href?: string;
|
|
338
|
+
icon?: string;
|
|
459
339
|
}
|
|
460
340
|
|
|
461
|
-
interface
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
341
|
+
interface CommonFetchAllParams {
|
|
342
|
+
id?: number;
|
|
343
|
+
page?: number;
|
|
344
|
+
limit?: number;
|
|
345
|
+
search?: string;
|
|
346
|
+
sort_by?: string;
|
|
347
|
+
sort_order?: 'ASC' | 'DESC';
|
|
348
|
+
is_published?: boolean;
|
|
349
|
+
ids_in?: number[];
|
|
350
|
+
ids_not_in?: number[];
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
interface CountriesResponse {
|
|
354
|
+
data: {
|
|
355
|
+
countries: Country[];
|
|
356
|
+
total: number;
|
|
465
357
|
};
|
|
466
358
|
message: string;
|
|
467
359
|
status: string;
|
|
468
360
|
}
|
|
469
361
|
|
|
362
|
+
interface CountryResponse {
|
|
363
|
+
data: Country;
|
|
364
|
+
message: string;
|
|
365
|
+
status: string;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
interface FetchCountriesParams extends CommonFetchAllParams {
|
|
369
|
+
sort_by?: 'country.id' | 'country.name' | 'country.iso2' | 'country.created_at' | 'country.updated_at';
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
interface FetchStatesParams extends CommonFetchAllParams {
|
|
373
|
+
country_id?: number;
|
|
374
|
+
sort_by?: 'state.id' | 'state.name' | 'state.country_id' | 'state.search_text' | 'state.created_at' | 'state.updated_at';
|
|
375
|
+
}
|
|
376
|
+
|
|
470
377
|
interface StateResponse {
|
|
471
378
|
data: State;
|
|
472
379
|
message: string;
|
|
@@ -482,28 +389,40 @@ interface StatesResponse {
|
|
|
482
389
|
statusCode: number;
|
|
483
390
|
}
|
|
484
391
|
|
|
392
|
+
interface CitiesResponse {
|
|
393
|
+
data: {
|
|
394
|
+
cities: City[];
|
|
395
|
+
total: number;
|
|
396
|
+
};
|
|
397
|
+
message: string;
|
|
398
|
+
status: string;
|
|
399
|
+
}
|
|
400
|
+
|
|
485
401
|
interface CityResponse {
|
|
486
402
|
data: City;
|
|
487
403
|
message: string;
|
|
488
404
|
status: string;
|
|
489
405
|
}
|
|
490
406
|
|
|
491
|
-
interface
|
|
407
|
+
interface FetchCitiesParams extends CommonFetchAllParams {
|
|
408
|
+
state_id?: number;
|
|
409
|
+
sort_by?: 'city.id' | 'city.name' | 'city.state_id' | 'city.search_text' | 'city.created_at' | 'city.updated_at';
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
interface AdminsResponse {
|
|
413
|
+
statusCode: number;
|
|
492
414
|
data: {
|
|
493
|
-
|
|
415
|
+
admins: Admin[];
|
|
494
416
|
total: number;
|
|
495
417
|
};
|
|
496
418
|
message: string;
|
|
497
|
-
status: string;
|
|
498
419
|
}
|
|
499
420
|
|
|
500
|
-
interface
|
|
501
|
-
|
|
502
|
-
page?: number;
|
|
503
|
-
search?: string;
|
|
421
|
+
interface FetchAdminsParams extends CommonFetchAllParams {
|
|
422
|
+
sort_by?: 'admin.id' | 'admin.username' | 'admin.email' | 'admin.mobile' | 'admin.first_name' | 'admin.last_name' | 'admin.full_name' | 'admin.principal_role' | 'admin.email_verified_at' | 'admin.last_login' | 'admin.created_at' | 'admin.updated_at';
|
|
504
423
|
}
|
|
505
424
|
|
|
506
|
-
interface Customer {
|
|
425
|
+
interface Customer extends Auditable {
|
|
507
426
|
username: string;
|
|
508
427
|
email: string;
|
|
509
428
|
mobile: string;
|
|
@@ -534,9 +453,6 @@ interface Customer {
|
|
|
534
453
|
membership_expires_at: Date | null;
|
|
535
454
|
id: number;
|
|
536
455
|
is_active: boolean;
|
|
537
|
-
created_at: Date;
|
|
538
|
-
updated_at: Date;
|
|
539
|
-
deleted_at: Date | null;
|
|
540
456
|
}
|
|
541
457
|
|
|
542
458
|
interface CustomerResponse {
|
|
@@ -554,76 +470,362 @@ interface CustomersResponse {
|
|
|
554
470
|
message: string;
|
|
555
471
|
}
|
|
556
472
|
|
|
557
|
-
|
|
473
|
+
interface FetchCustomersParams extends CommonFetchAllParams {
|
|
474
|
+
first_name?: string;
|
|
475
|
+
last_name?: string;
|
|
476
|
+
email?: string;
|
|
477
|
+
username?: string;
|
|
478
|
+
mobile?: string;
|
|
479
|
+
document_type?: Customer['document_type'];
|
|
480
|
+
document_number?: string;
|
|
481
|
+
address?: string;
|
|
482
|
+
sort_by?: 'customer.id' | 'customer.email' | 'customer.mobile' | 'customer.first_name' | 'customer.last_name' | 'customer.birthday_date' | 'customer.document_type' | 'customer.document_number' | 'customer.address' | 'customer.postal_code' | 'customer.country_id' | 'customer.city_id' | 'customer.state_id' | 'customer.phone' | 'customer.created_at';
|
|
483
|
+
}
|
|
558
484
|
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
485
|
+
declare enum OrderItemType {
|
|
486
|
+
TICKET = "TICKET",
|
|
487
|
+
PRODUCT = "PRODUCT",
|
|
488
|
+
GIFT_BOND = "GIFT_BOND",
|
|
489
|
+
CORPORATE_BOND = "CORPORATE_BOND"
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
declare enum OrderStatus {
|
|
493
|
+
ON_HOLD = "on-hold",
|
|
494
|
+
PENDING_PAYMENT = "pending-payment",
|
|
495
|
+
PROCESSING = "processing",
|
|
496
|
+
COMPLETED = "completed",
|
|
497
|
+
FAILED = "failed",
|
|
498
|
+
CANCELLED = "cancelled",
|
|
499
|
+
REFUNDED = "refunded"
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
declare enum CreatorType {
|
|
503
|
+
ADMIN = "admin",
|
|
504
|
+
CUSTOMER = "customer"
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
declare enum PaymentMethod {
|
|
508
|
+
PAYROLL = "payroll",
|
|
509
|
+
CASH = "cash",
|
|
510
|
+
DATAFONO = "datafono",
|
|
511
|
+
INTERNAL_EXCHANGE = "internal_exchange",
|
|
512
|
+
CLIENT_EXCHANGE = "client_exchange",
|
|
513
|
+
MERCADO_PAGO = "mercado_pago"
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
declare enum RoomMapElementType {
|
|
517
|
+
SEAT_BLOCK = "seat_block",
|
|
518
|
+
TABLE = "table",
|
|
519
|
+
ZONE = "zone",
|
|
520
|
+
EXIT = "exit",
|
|
521
|
+
STAGE = "stage",
|
|
522
|
+
PRODUCTION_AREA = "production_area",
|
|
523
|
+
UNAVAILABLE_SPACE = "unavailable_space",
|
|
524
|
+
STAIR = "stair",
|
|
525
|
+
HALLWAY = "hallway"
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
interface RoomMapPosition {
|
|
529
|
+
x: number;
|
|
530
|
+
y: number;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
interface RoomMapSize {
|
|
567
534
|
width: number;
|
|
568
535
|
height: number;
|
|
569
|
-
show_id: number;
|
|
570
|
-
created_at: Date;
|
|
571
536
|
}
|
|
572
537
|
|
|
573
|
-
interface
|
|
574
|
-
id:
|
|
538
|
+
interface RoomMapBaseElement {
|
|
539
|
+
id: string;
|
|
540
|
+
type: RoomMapElementType;
|
|
541
|
+
position: RoomMapPosition;
|
|
542
|
+
size: RoomMapSize;
|
|
543
|
+
rotation: number;
|
|
544
|
+
name?: string;
|
|
545
|
+
isLocked: boolean;
|
|
546
|
+
isVisible: boolean;
|
|
547
|
+
zIndex: number;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
interface RoomMapExitElement extends RoomMapBaseElement {
|
|
551
|
+
type: RoomMapElementType.EXIT;
|
|
552
|
+
exitName?: string;
|
|
553
|
+
exitType: 'emergency' | 'regular';
|
|
554
|
+
width: number;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
interface RoomMapProductionAreaElement extends RoomMapBaseElement {
|
|
558
|
+
type: RoomMapElementType.PRODUCTION_AREA;
|
|
559
|
+
areaName?: string;
|
|
560
|
+
areaType: 'lighting' | 'sound' | 'backstage' | 'orchestra' | 'custom';
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
interface RoomMapSeatElement extends RoomMapBaseElement {
|
|
564
|
+
type: RoomMapElementType.SEAT_BLOCK;
|
|
565
|
+
seatNumber?: string;
|
|
566
|
+
isAvailable: boolean;
|
|
567
|
+
priceCategory?: string;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
declare enum RoomMapElementOrientation {
|
|
571
|
+
TOP = "top",
|
|
572
|
+
RIGHT = "right",
|
|
573
|
+
BOTTOM = "bottom",
|
|
574
|
+
LEFT = "left",
|
|
575
|
+
CENTER = "center"
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
interface RoomMapStageElement extends RoomMapBaseElement {
|
|
579
|
+
type: RoomMapElementType.STAGE;
|
|
580
|
+
stageName?: string;
|
|
581
|
+
orientation: RoomMapElementOrientation;
|
|
582
|
+
isMainStage: boolean;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
interface RoomMapTableElement extends RoomMapBaseElement {
|
|
586
|
+
type: RoomMapElementType.TABLE;
|
|
587
|
+
tableNumber?: string;
|
|
588
|
+
capacity: number;
|
|
589
|
+
shape: 'round' | 'rectangular' | 'square';
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
interface RoomMapUnavailableElement extends RoomMapBaseElement {
|
|
593
|
+
type: RoomMapElementType.UNAVAILABLE_SPACE;
|
|
594
|
+
reason?: string;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
interface RoomMapZoneElement extends RoomMapBaseElement {
|
|
598
|
+
type: RoomMapElementType.ZONE;
|
|
599
|
+
zoneName: string;
|
|
600
|
+
zoneType: 'vip' | 'general' | 'premium' | 'balcony' | 'custom';
|
|
601
|
+
color: string;
|
|
602
|
+
capacity?: number;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
type RoomMapCanvasElement = RoomMapSeatElement | RoomMapTableElement | RoomMapZoneElement | RoomMapExitElement | RoomMapStageElement | RoomMapProductionAreaElement | RoomMapUnavailableElement;
|
|
606
|
+
|
|
607
|
+
type RoomMapSeatDisplayState = 'normal' | 'accessible' | 'non_existent';
|
|
608
|
+
|
|
609
|
+
declare enum ShowType {
|
|
610
|
+
PLAY = "PLAY",
|
|
611
|
+
CONCERT = "CONCERT",
|
|
612
|
+
STAND_UP_COMEDY = "STAND_UP_COMEDY",
|
|
613
|
+
OPERA = "OPERA",
|
|
614
|
+
MUSICAL = "MUSICAL",
|
|
615
|
+
DANCE = "DANCE",
|
|
616
|
+
SPORT = "SPORT",
|
|
617
|
+
OTHER = "OTHER",
|
|
618
|
+
DEFAULT = "DEFAULT"
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
type ModalSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl';
|
|
622
|
+
|
|
623
|
+
type FeedbackModalType = 'loading' | 'success' | 'info' | 'warning' | 'error';
|
|
624
|
+
|
|
625
|
+
type BadgeSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
626
|
+
|
|
627
|
+
type BadgeColor = 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info';
|
|
628
|
+
|
|
629
|
+
type BreadcrumbTheme = 'light' | 'dark';
|
|
630
|
+
|
|
631
|
+
type TextFontSize = 'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl';
|
|
632
|
+
|
|
633
|
+
interface FeedbackModalElement {
|
|
634
|
+
id: string;
|
|
635
|
+
type: FeedbackModalType;
|
|
575
636
|
title: string;
|
|
637
|
+
isOpen: WritableSignal<boolean>;
|
|
638
|
+
message?: string;
|
|
639
|
+
showHeader?: boolean;
|
|
640
|
+
showCloseButton?: boolean;
|
|
641
|
+
showTitle?: boolean;
|
|
642
|
+
closeModal?: void;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
declare enum FileType {
|
|
646
|
+
IMAGE = "image",
|
|
647
|
+
PDF = "pdf",
|
|
648
|
+
EXCEL = "excel",
|
|
649
|
+
WORD = "word",
|
|
650
|
+
TEXT = "text",
|
|
651
|
+
DEFAULT = "default"
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
declare enum CouponApplicability {
|
|
655
|
+
GENERAL = "GENERAL",
|
|
656
|
+
CUSTOMER_EMAIL = "CUSTOMER_EMAIL",
|
|
657
|
+
MEMBERSHIP_TYPE = "MEMBERSHIP_TYPE",
|
|
658
|
+
SHOWS = "SHOWS",
|
|
659
|
+
PERFORMANCES = "PERFORMANCES"
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
declare enum CouponDiscountType {
|
|
663
|
+
PERCENTAGE = "PERCENTAGE",
|
|
664
|
+
FIXED = "FIXED"
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
declare enum CouponStatus {
|
|
668
|
+
ACTIVE = "ACTIVE",
|
|
669
|
+
INACTIVE = "INACTIVE",
|
|
670
|
+
EXPIRED = "EXPIRED",
|
|
671
|
+
CONSUMED = "CONSUMED"
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
declare enum CorporateBondStatus {
|
|
675
|
+
ACTIVE = "ACTIVE",
|
|
676
|
+
INACTIVE = "INACTIVE",
|
|
677
|
+
PENDING = "PENDING",
|
|
678
|
+
PAYMENT_FAILED = "PAYMENT_FAILED",
|
|
679
|
+
EXPIRED = "EXPIRED",
|
|
680
|
+
CONSUMED = "CONSUMED"
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
declare enum PerformanceStatus {
|
|
684
|
+
SCHEDULED = "scheduled",
|
|
685
|
+
OPEN = "open",
|
|
686
|
+
CLOSED = "closed",
|
|
687
|
+
CANCELLED = "cancelled",
|
|
688
|
+
COMPLETED = "completed",
|
|
689
|
+
POSTPONED = "postponed"
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
declare enum PerformanceTicketStatus {
|
|
693
|
+
AVAILABLE = "available",
|
|
694
|
+
RESERVED = "reserved",
|
|
695
|
+
SOLD = "sold",
|
|
696
|
+
BLOCKED = "blocked"
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
declare enum GiftBondStatus {
|
|
700
|
+
ACTIVE = "ACTIVE",
|
|
701
|
+
INACTIVE = "INACTIVE"
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
declare enum GiftBondPurchaseStatus {
|
|
705
|
+
AVAILABLE = "AVAILABLE",
|
|
706
|
+
REDEEMED = "REDEEMED",
|
|
707
|
+
EXPIRED = "EXPIRED",
|
|
708
|
+
CANCELLED = "CANCELLED"
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
declare enum TransactionStatus {
|
|
712
|
+
PENDING = "PENDING",
|
|
713
|
+
APPROVED = "APPROVED",
|
|
714
|
+
REJECTED = "REJECTED",
|
|
715
|
+
ERROR = "ERROR"
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
declare enum VipCardStatus {
|
|
719
|
+
ACTIVE = "ACTIVE",
|
|
720
|
+
INACTIVE = "INACTIVE",
|
|
721
|
+
EXPIRED = "EXPIRED"
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
declare enum VipTransactionType {
|
|
725
|
+
INITIAL_RECHARGE = "INITIAL_RECHARGE",
|
|
726
|
+
RECHARGE = "RECHARGE",
|
|
727
|
+
PURCHASE_PAYMENT = "PURCHASE_PAYMENT"
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
declare enum MembershipStatus {
|
|
731
|
+
ACTIVE = "ACTIVE",
|
|
732
|
+
INACTIVE = "INACTIVE"
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
interface FetchProductCategoriesParams extends CommonFetchAllParams {
|
|
736
|
+
name?: string;
|
|
737
|
+
slug?: string;
|
|
738
|
+
sort_by?: 'category.id' | 'category.name' | 'category.slug' | 'category.created_at';
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
interface ProductCategory extends Auditable {
|
|
742
|
+
id: number;
|
|
743
|
+
name: string;
|
|
576
744
|
slug: string;
|
|
577
|
-
description: string;
|
|
578
|
-
duration_minutes: number | null;
|
|
579
|
-
type_of_costs: string | null;
|
|
580
|
-
service_fee: number | null;
|
|
581
|
-
show_type: ShowType | null;
|
|
582
|
-
pulep: string | null;
|
|
583
|
-
minimum_age: number | null;
|
|
584
|
-
show_category_id: number | null;
|
|
585
|
-
default_room_map_id: number | null;
|
|
586
|
-
published_at?: Date;
|
|
587
|
-
is_published: boolean;
|
|
588
|
-
images: ShowImage[];
|
|
589
|
-
terms_and_conditions: string;
|
|
590
|
-
performances_quantity?: number;
|
|
591
745
|
}
|
|
592
746
|
|
|
593
|
-
interface
|
|
747
|
+
interface ProductCategoriesResponse {
|
|
594
748
|
statusCode: number;
|
|
595
|
-
data:
|
|
749
|
+
data: {
|
|
750
|
+
categories: ProductCategory[];
|
|
751
|
+
total: number;
|
|
752
|
+
};
|
|
596
753
|
message: string;
|
|
597
754
|
}
|
|
598
755
|
|
|
599
|
-
interface
|
|
756
|
+
interface ProductCategoryResponse {
|
|
757
|
+
statusCode: number;
|
|
758
|
+
data: ProductCategory;
|
|
759
|
+
message: string;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
interface FetchProductTagsParams extends CommonFetchAllParams {
|
|
763
|
+
name?: string;
|
|
764
|
+
slug?: string;
|
|
765
|
+
sort_by?: 'tag.id' | 'tag.name' | 'tag.slug' | 'tag.created_at';
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
interface ProductTag extends Auditable {
|
|
769
|
+
id: number;
|
|
770
|
+
name: string;
|
|
771
|
+
slug: string;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
interface ProductTagResponse {
|
|
775
|
+
statusCode: number;
|
|
776
|
+
data: ProductTag;
|
|
777
|
+
message: string;
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
interface ProductTagsResponse {
|
|
600
781
|
statusCode: number;
|
|
601
782
|
data: {
|
|
602
|
-
|
|
783
|
+
tags: ProductTag[];
|
|
603
784
|
total: number;
|
|
604
785
|
};
|
|
605
786
|
message: string;
|
|
606
787
|
}
|
|
607
788
|
|
|
608
|
-
interface
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
date?: string;
|
|
789
|
+
interface FetchProductTypesParams extends CommonFetchAllParams {
|
|
790
|
+
name?: string;
|
|
791
|
+
slug?: string;
|
|
792
|
+
sort_by?: 'type.id' | 'type.name' | 'type.slug' | 'type.created_at';
|
|
613
793
|
}
|
|
614
794
|
|
|
615
|
-
interface
|
|
795
|
+
interface ProductType extends Auditable {
|
|
616
796
|
id: number;
|
|
617
797
|
name: string;
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
798
|
+
slug: string;
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
interface ProductTypeResponse {
|
|
802
|
+
statusCode: number;
|
|
803
|
+
data: ProductType;
|
|
804
|
+
message: string;
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
interface ProductTypesResponse {
|
|
808
|
+
statusCode: number;
|
|
809
|
+
data: {
|
|
810
|
+
types: ProductType[];
|
|
811
|
+
total: number;
|
|
812
|
+
};
|
|
813
|
+
message: string;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
interface ProductImage {
|
|
817
|
+
id: number;
|
|
818
|
+
path: string;
|
|
819
|
+
full_url: string;
|
|
820
|
+
original_name: string;
|
|
821
|
+
extension: string;
|
|
822
|
+
size: number;
|
|
823
|
+
mime_type: string;
|
|
824
|
+
width: number;
|
|
825
|
+
height: number;
|
|
826
|
+
product_id: number;
|
|
827
|
+
product: Product;
|
|
623
828
|
created_at: Date;
|
|
624
|
-
updated_at: Date;
|
|
625
|
-
created_by: number;
|
|
626
|
-
updated_by: number;
|
|
627
829
|
}
|
|
628
830
|
|
|
629
831
|
interface Product extends Auditable {
|
|
@@ -636,12 +838,35 @@ interface Product extends Auditable {
|
|
|
636
838
|
slug: string;
|
|
637
839
|
sku?: string;
|
|
638
840
|
is_limited_edition: boolean;
|
|
639
|
-
is_active: boolean;
|
|
640
841
|
deleted_at: Date | null;
|
|
641
|
-
categories?:
|
|
642
|
-
tags?:
|
|
643
|
-
types?:
|
|
644
|
-
images?:
|
|
842
|
+
categories?: ProductCategory[];
|
|
843
|
+
tags?: ProductTag[];
|
|
844
|
+
types?: ProductType[];
|
|
845
|
+
images?: ProductImage[];
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
interface ShowImage {
|
|
849
|
+
id: number;
|
|
850
|
+
path: string;
|
|
851
|
+
full_url: string;
|
|
852
|
+
original_name: string;
|
|
853
|
+
extension: string;
|
|
854
|
+
size: number;
|
|
855
|
+
mime_type: string;
|
|
856
|
+
width: number;
|
|
857
|
+
height: number;
|
|
858
|
+
show_id: number;
|
|
859
|
+
created_at: Date;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
interface PriceZone extends Auditable {
|
|
863
|
+
id: number;
|
|
864
|
+
name: string;
|
|
865
|
+
color: string;
|
|
866
|
+
normal_price: number | null;
|
|
867
|
+
is_active: boolean;
|
|
868
|
+
elements: any[];
|
|
869
|
+
room_map_id: number | null;
|
|
645
870
|
}
|
|
646
871
|
|
|
647
872
|
interface NumerationConfig {
|
|
@@ -679,7 +904,7 @@ interface RoomMapElementTemplate {
|
|
|
679
904
|
price_zone?: PriceZone;
|
|
680
905
|
}
|
|
681
906
|
|
|
682
|
-
interface RoomMap {
|
|
907
|
+
interface RoomMap extends Auditable {
|
|
683
908
|
id: number;
|
|
684
909
|
name: string;
|
|
685
910
|
canvas_settings: {
|
|
@@ -695,8 +920,6 @@ interface RoomMap {
|
|
|
695
920
|
related_product_ids: number[];
|
|
696
921
|
products?: Product[];
|
|
697
922
|
venue_name?: string;
|
|
698
|
-
created_at: Date;
|
|
699
|
-
updated_at: Date;
|
|
700
923
|
}
|
|
701
924
|
|
|
702
925
|
interface RoomMapCanvasConfiguration {
|
|
@@ -738,7 +961,7 @@ interface ElementPropertiesTab {
|
|
|
738
961
|
elements_access: string[];
|
|
739
962
|
}
|
|
740
963
|
|
|
741
|
-
interface Performance {
|
|
964
|
+
interface Performance extends Auditable {
|
|
742
965
|
id: number;
|
|
743
966
|
start_time: Date | string;
|
|
744
967
|
end_time: Date | string;
|
|
@@ -748,26 +971,95 @@ interface Performance {
|
|
|
748
971
|
show?: Show;
|
|
749
972
|
room_map: RoomMap;
|
|
750
973
|
room_map_id: number;
|
|
751
|
-
|
|
752
|
-
|
|
974
|
+
performance_tickets?: PerformanceTicket[];
|
|
975
|
+
can_delete?: boolean;
|
|
976
|
+
can_cancel?: boolean;
|
|
977
|
+
can_modify?: boolean;
|
|
978
|
+
can_reserve?: boolean;
|
|
753
979
|
}
|
|
754
980
|
|
|
755
|
-
interface
|
|
981
|
+
interface FetchShowCategoriesParams extends CommonFetchAllParams {
|
|
982
|
+
name?: string;
|
|
983
|
+
slug?: string;
|
|
984
|
+
sort_by?: 'category.id' | 'category.name' | 'category.slug' | 'category.created_at';
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
interface ShowCategory extends Auditable {
|
|
988
|
+
id: number;
|
|
989
|
+
name: string;
|
|
990
|
+
slug: string;
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
interface ShowCategoriesResponse {
|
|
756
994
|
statusCode: number;
|
|
757
|
-
data:
|
|
995
|
+
data: {
|
|
996
|
+
categories: ShowCategory[];
|
|
997
|
+
total: number;
|
|
998
|
+
};
|
|
758
999
|
message: string;
|
|
759
1000
|
}
|
|
760
1001
|
|
|
761
|
-
interface
|
|
1002
|
+
interface ShowCategoryResponse {
|
|
1003
|
+
statusCode: number;
|
|
1004
|
+
data: ShowCategory;
|
|
1005
|
+
message: string;
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
interface FetchShowGendersParams extends CommonFetchAllParams {
|
|
1009
|
+
name?: string;
|
|
1010
|
+
slug?: string;
|
|
1011
|
+
sort_by?: 'gender.id' | 'gender.name' | 'gender.slug' | 'gender.created_at';
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
interface ShowGender extends Auditable {
|
|
1015
|
+
id: number;
|
|
1016
|
+
name: string;
|
|
1017
|
+
slug: string;
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
interface ShowGenderResponse {
|
|
1021
|
+
statusCode: number;
|
|
1022
|
+
data: ShowGender;
|
|
1023
|
+
message: string;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
interface ShowGendersResponse {
|
|
762
1027
|
statusCode: number;
|
|
763
1028
|
data: {
|
|
764
|
-
|
|
1029
|
+
genders: ShowGender[];
|
|
765
1030
|
total: number;
|
|
766
1031
|
};
|
|
767
1032
|
message: string;
|
|
768
1033
|
}
|
|
769
1034
|
|
|
770
|
-
interface
|
|
1035
|
+
interface Show extends Auditable {
|
|
1036
|
+
id: number;
|
|
1037
|
+
title: string;
|
|
1038
|
+
slug: string;
|
|
1039
|
+
description: string;
|
|
1040
|
+
duration_minutes: number | null;
|
|
1041
|
+
type_of_costs: string | null;
|
|
1042
|
+
service_fee: number | null;
|
|
1043
|
+
show_type: ShowType | null;
|
|
1044
|
+
pulep: string | null;
|
|
1045
|
+
minimum_age: number | null;
|
|
1046
|
+
show_gender?: ShowGender | null;
|
|
1047
|
+
show_gender_id: number | null;
|
|
1048
|
+
show_category?: ShowCategory | null;
|
|
1049
|
+
show_category_id: number | null;
|
|
1050
|
+
default_room_map?: RoomMap | null;
|
|
1051
|
+
default_room_map_id: number | null;
|
|
1052
|
+
is_published: boolean;
|
|
1053
|
+
images: ShowImage[];
|
|
1054
|
+
terms_and_conditions: string | null;
|
|
1055
|
+
performances_quantity?: number;
|
|
1056
|
+
performances?: Performance[];
|
|
1057
|
+
next_performance?: Performance;
|
|
1058
|
+
days_of_week?: number[];
|
|
1059
|
+
unique_start_times?: string[];
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
interface OrderItem extends Auditable {
|
|
771
1063
|
id: number;
|
|
772
1064
|
order: Order;
|
|
773
1065
|
item_type: OrderItemType;
|
|
@@ -780,15 +1072,12 @@ interface OrderItem {
|
|
|
780
1072
|
ticket_id?: number;
|
|
781
1073
|
ticket_uuid?: string;
|
|
782
1074
|
item: Show | Product;
|
|
783
|
-
created_at: Date;
|
|
784
|
-
updated_at: Date;
|
|
785
|
-
created_by: number;
|
|
786
|
-
updated_by: number;
|
|
787
1075
|
}
|
|
788
1076
|
|
|
789
1077
|
interface Coupon extends Auditable {
|
|
790
1078
|
id: number;
|
|
791
1079
|
code: string;
|
|
1080
|
+
billing_code: string;
|
|
792
1081
|
description?: string;
|
|
793
1082
|
discount_type: CouponDiscountType;
|
|
794
1083
|
discount_value: number;
|
|
@@ -805,9 +1094,11 @@ interface Coupon extends Auditable {
|
|
|
805
1094
|
applicable_performance_ids?: number[];
|
|
806
1095
|
applicable_price_zone_ids?: number[];
|
|
807
1096
|
applies_to_service_fee?: boolean;
|
|
1097
|
+
orders?: Order[];
|
|
1098
|
+
customers?: Customer[];
|
|
808
1099
|
}
|
|
809
1100
|
|
|
810
|
-
interface CorporateBond {
|
|
1101
|
+
interface CorporateBond extends Auditable {
|
|
811
1102
|
id: number;
|
|
812
1103
|
name: string;
|
|
813
1104
|
description?: string;
|
|
@@ -817,11 +1108,13 @@ interface CorporateBond {
|
|
|
817
1108
|
quantity: number;
|
|
818
1109
|
status: CorporateBondStatus;
|
|
819
1110
|
value: number;
|
|
1111
|
+
purchase_value: number;
|
|
1112
|
+
buyer_customer_id: number | null;
|
|
1113
|
+
buyer: Customer | null;
|
|
1114
|
+
order_id: number | null;
|
|
1115
|
+
order: Order | null;
|
|
1116
|
+
payment_method?: PaymentMethod;
|
|
820
1117
|
codes: CorporateBondCode[];
|
|
821
|
-
created_at: Date;
|
|
822
|
-
updated_at: Date;
|
|
823
|
-
created_by: number;
|
|
824
|
-
updated_by: number;
|
|
825
1118
|
}
|
|
826
1119
|
|
|
827
1120
|
interface CorporateBondCode {
|
|
@@ -834,55 +1127,185 @@ interface CorporateBondCode {
|
|
|
834
1127
|
created_at: Date;
|
|
835
1128
|
}
|
|
836
1129
|
|
|
837
|
-
interface CorporateBondResponse {
|
|
1130
|
+
interface CorporateBondResponse {
|
|
1131
|
+
statusCode: number;
|
|
1132
|
+
data: CorporateBond;
|
|
1133
|
+
message: string;
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
interface ValidateCorporateBondResponse {
|
|
1137
|
+
data: {
|
|
1138
|
+
valid: boolean;
|
|
1139
|
+
message: string;
|
|
1140
|
+
code: string;
|
|
1141
|
+
bond?: CorporateBond;
|
|
1142
|
+
};
|
|
1143
|
+
message: string;
|
|
1144
|
+
statusCode: number;
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
interface GiftBondImage {
|
|
1148
|
+
id: number;
|
|
1149
|
+
path: string;
|
|
1150
|
+
full_url: string;
|
|
1151
|
+
original_name: string;
|
|
1152
|
+
extension: string;
|
|
1153
|
+
size: number;
|
|
1154
|
+
mime_type: string;
|
|
1155
|
+
width: number;
|
|
1156
|
+
height: number;
|
|
1157
|
+
is_featured: boolean;
|
|
1158
|
+
gift_bond_id: number;
|
|
1159
|
+
gift_bond: GiftBond;
|
|
1160
|
+
created_at: Date;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
interface GiftBond extends Auditable {
|
|
1164
|
+
id: number;
|
|
1165
|
+
name: string;
|
|
1166
|
+
description?: string;
|
|
1167
|
+
slug?: string;
|
|
1168
|
+
status: GiftBondStatus;
|
|
1169
|
+
value: number;
|
|
1170
|
+
page_content?: string;
|
|
1171
|
+
images?: GiftBondImage[];
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
interface GiftBondResponse {
|
|
1175
|
+
statusCode: number;
|
|
1176
|
+
data: GiftBond;
|
|
1177
|
+
message: string;
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
interface GiftBondsResponse {
|
|
838
1181
|
statusCode: number;
|
|
839
|
-
data:
|
|
1182
|
+
data: {
|
|
1183
|
+
gift_bonds: GiftBond[];
|
|
1184
|
+
total: number;
|
|
1185
|
+
};
|
|
840
1186
|
message: string;
|
|
841
1187
|
}
|
|
842
1188
|
|
|
843
|
-
interface
|
|
1189
|
+
interface GiftBondPurchase extends Auditable {
|
|
1190
|
+
id: number;
|
|
1191
|
+
code: string;
|
|
1192
|
+
original_value: number;
|
|
1193
|
+
used_value: number | null;
|
|
1194
|
+
lost_value: number | null;
|
|
1195
|
+
beneficiary_email: string;
|
|
1196
|
+
beneficiary: Customer | null;
|
|
1197
|
+
personalized_message: string | null;
|
|
1198
|
+
status: GiftBondPurchaseStatus;
|
|
1199
|
+
purchased_at: string;
|
|
1200
|
+
expires_at: string;
|
|
1201
|
+
redeemed_at: string | null;
|
|
1202
|
+
gift_bond?: GiftBond;
|
|
1203
|
+
gift_bond_id: number;
|
|
1204
|
+
buyer_customer_id: number;
|
|
1205
|
+
buyer: Customer;
|
|
1206
|
+
order: Order | null;
|
|
1207
|
+
order_id: number;
|
|
1208
|
+
redemption_order_id: number | null;
|
|
1209
|
+
redemption_order: Order | null;
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
interface ValidateGiftBondResponse {
|
|
844
1213
|
data: {
|
|
845
1214
|
valid: boolean;
|
|
846
1215
|
message: string;
|
|
847
1216
|
code: string;
|
|
848
|
-
bond?:
|
|
1217
|
+
bond?: GiftBondPurchase;
|
|
849
1218
|
};
|
|
1219
|
+
statusCode: number;
|
|
1220
|
+
message: string;
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
interface GiftBondPurchaseResponse {
|
|
1224
|
+
statusCode: number;
|
|
1225
|
+
data: GiftBondPurchase;
|
|
850
1226
|
message: string;
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
interface GiftBondPurchasesResponse {
|
|
851
1230
|
statusCode: number;
|
|
1231
|
+
data: {
|
|
1232
|
+
items: GiftBondPurchase[];
|
|
1233
|
+
total: number;
|
|
1234
|
+
};
|
|
1235
|
+
message: string;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
interface Transaction extends Auditable {
|
|
1239
|
+
id: number;
|
|
1240
|
+
status: TransactionStatus;
|
|
1241
|
+
amount: number;
|
|
1242
|
+
currency: string;
|
|
1243
|
+
payment_gateway: string;
|
|
1244
|
+
gateway_transaction_id: string;
|
|
1245
|
+
gateway_response: any;
|
|
1246
|
+
order: Order;
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
interface OrderBillingInfo {
|
|
1250
|
+
first_name: string;
|
|
1251
|
+
last_name: string;
|
|
1252
|
+
email: string;
|
|
1253
|
+
mobile: string;
|
|
1254
|
+
document_type: string;
|
|
1255
|
+
document_number: string;
|
|
1256
|
+
address: string;
|
|
1257
|
+
city_id: number;
|
|
1258
|
+
postal_code?: string;
|
|
1259
|
+
address_notes?: string;
|
|
1260
|
+
payment_method: PaymentMethod;
|
|
1261
|
+
terms_accepted: boolean;
|
|
1262
|
+
data_processing_accepted: boolean;
|
|
1263
|
+
comments?: string;
|
|
1264
|
+
products?: Array<{
|
|
1265
|
+
id: number;
|
|
1266
|
+
quantity: number;
|
|
1267
|
+
}>;
|
|
852
1268
|
}
|
|
853
1269
|
|
|
854
|
-
interface Order {
|
|
1270
|
+
interface Order extends Auditable {
|
|
855
1271
|
id: number;
|
|
856
1272
|
uuid: string;
|
|
857
|
-
|
|
1273
|
+
customer_id: number | null;
|
|
1274
|
+
customer: Customer | null;
|
|
858
1275
|
customer_name?: string;
|
|
859
1276
|
customer_email?: string;
|
|
860
1277
|
order_items: OrderItem[];
|
|
861
1278
|
order_items_quantity?: number;
|
|
862
|
-
|
|
1279
|
+
transactions: Transaction[];
|
|
1280
|
+
sub_total: number;
|
|
1281
|
+
discount_amount: number | null;
|
|
863
1282
|
total: number;
|
|
1283
|
+
sub_total_discounted: number | null;
|
|
864
1284
|
total_discounted: number;
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
coupon: Coupon;
|
|
870
|
-
coupon_snapshot: Record<string, any>;
|
|
871
|
-
corporate_bond_code: CorporateBondCode;
|
|
872
|
-
corporate_bond_code_snapshot: Record<string, any>;
|
|
1285
|
+
service_fee: number | null;
|
|
1286
|
+
service_fee_discounted: number | null;
|
|
1287
|
+
coupon: Coupon | null;
|
|
1288
|
+
coupon_snapshot: Record<string, any> | null;
|
|
873
1289
|
status: OrderStatus;
|
|
874
|
-
show_snapshot: Record<string, any
|
|
875
|
-
performance_snapshot: Record<string, any
|
|
876
|
-
|
|
877
|
-
updated_at: Date;
|
|
878
|
-
payment_method: string;
|
|
1290
|
+
show_snapshot: Record<string, any> | null;
|
|
1291
|
+
performance_snapshot: Record<string, any> | null;
|
|
1292
|
+
payment_method: PaymentMethod | null;
|
|
879
1293
|
terms_accepted: boolean;
|
|
880
1294
|
data_processing_accepted: boolean;
|
|
881
|
-
billing_info:
|
|
882
|
-
|
|
883
|
-
|
|
1295
|
+
billing_info: OrderBillingInfo | null;
|
|
1296
|
+
corporate_bond_code_snapshot: Record<string, any> | null;
|
|
1297
|
+
gift_bond_snapshot: Record<string, any> | null;
|
|
1298
|
+
corporate_bond_code: CorporateBondCode | null;
|
|
1299
|
+
corporate_bond_code_id: number | null;
|
|
1300
|
+
gift_bond: GiftBond | null;
|
|
1301
|
+
gift_bond_id: number | null;
|
|
1302
|
+
comments: string | null;
|
|
1303
|
+
address_notes: string | null;
|
|
1304
|
+
mercado_pago_preference_id: string;
|
|
884
1305
|
created_by: number;
|
|
1306
|
+
created_by_type: CreatorType;
|
|
885
1307
|
updated_by: number;
|
|
1308
|
+
updated_by_type: CreatorType;
|
|
886
1309
|
}
|
|
887
1310
|
|
|
888
1311
|
interface OrderResponse {
|
|
@@ -900,7 +1323,15 @@ interface OrdersResponse {
|
|
|
900
1323
|
message: string;
|
|
901
1324
|
}
|
|
902
1325
|
|
|
903
|
-
interface
|
|
1326
|
+
interface MercadoPagoPreference {
|
|
1327
|
+
data: {
|
|
1328
|
+
id: string;
|
|
1329
|
+
init_point: string;
|
|
1330
|
+
sandbox_init_point: string;
|
|
1331
|
+
};
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
interface PerformanceTicket extends Auditable {
|
|
904
1335
|
id: number;
|
|
905
1336
|
uuid: string;
|
|
906
1337
|
is_accessible: boolean;
|
|
@@ -914,14 +1345,147 @@ interface PerformanceTicket {
|
|
|
914
1345
|
presale_price: number | null;
|
|
915
1346
|
status: PerformanceTicketStatus;
|
|
916
1347
|
reserved_until: Date | null;
|
|
1348
|
+
reserved_by_type: CreatorType | null;
|
|
1349
|
+
reserved_by: number | null;
|
|
1350
|
+
reserved_by_admin: Admin | null;
|
|
1351
|
+
order: Order | null;
|
|
917
1352
|
order_id: number | null;
|
|
918
1353
|
customer_id: number | null;
|
|
919
1354
|
checked_in: boolean;
|
|
920
1355
|
checked_in_at: Date | null;
|
|
1356
|
+
checked_in_by: number | null;
|
|
1357
|
+
checked_in_by_admin: Admin | null;
|
|
921
1358
|
order_items: OrderItem[];
|
|
922
1359
|
element_qty?: number;
|
|
923
|
-
|
|
924
|
-
|
|
1360
|
+
blocked_at: Date | null;
|
|
1361
|
+
blocked_by: number | null;
|
|
1362
|
+
blocked_by_admin: Admin | null;
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
interface TicketMapSeatPosition {
|
|
1366
|
+
rowIndex: number;
|
|
1367
|
+
colIndex: number;
|
|
1368
|
+
seatLabel: string;
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
interface TicketMapTableChairPosition {
|
|
1372
|
+
index: number;
|
|
1373
|
+
angle: number;
|
|
1374
|
+
x: number;
|
|
1375
|
+
y: number;
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
interface ElementRenderData {
|
|
1379
|
+
elementId: number;
|
|
1380
|
+
hallFloorId: number | null;
|
|
1381
|
+
type: RoomMapElementType;
|
|
1382
|
+
shapeConfig: Record<string, any>;
|
|
1383
|
+
tickets: PerformanceTicket[];
|
|
1384
|
+
ticketByNumeration: Map<string, PerformanceTicket>;
|
|
1385
|
+
elementName: string;
|
|
1386
|
+
seatPositions?: TicketMapSeatPosition[][];
|
|
1387
|
+
chairPositions?: TicketMapTableChairPosition[];
|
|
1388
|
+
zoneCapacity?: number;
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1391
|
+
interface TicketMapTooltipData {
|
|
1392
|
+
x: number;
|
|
1393
|
+
y: number;
|
|
1394
|
+
elementName: string;
|
|
1395
|
+
seatLabel: string | null;
|
|
1396
|
+
price: number;
|
|
1397
|
+
status: PerformanceTicketStatus;
|
|
1398
|
+
statusLabel: string;
|
|
1399
|
+
statusColor: string;
|
|
1400
|
+
isSelected: boolean;
|
|
1401
|
+
ticketId: number;
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
interface TicketMapZoneQuantityState {
|
|
1405
|
+
elementId: number;
|
|
1406
|
+
selectedCount: number;
|
|
1407
|
+
maxCapacity: number;
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1410
|
+
interface ReservePerformanceDto {
|
|
1411
|
+
ticket_ids: number[];
|
|
1412
|
+
products?: {
|
|
1413
|
+
id: number;
|
|
1414
|
+
quantity: number;
|
|
1415
|
+
}[];
|
|
1416
|
+
coupon_code?: string;
|
|
1417
|
+
gift_bond_code?: string;
|
|
1418
|
+
corporate_bond_code?: string;
|
|
1419
|
+
payment_method?: string;
|
|
1420
|
+
billing?: {
|
|
1421
|
+
first_name: string;
|
|
1422
|
+
last_name: string;
|
|
1423
|
+
email: string;
|
|
1424
|
+
mobile: string;
|
|
1425
|
+
document_type: string;
|
|
1426
|
+
document_number: string;
|
|
1427
|
+
address: string;
|
|
1428
|
+
city_id: number;
|
|
1429
|
+
postal_code?: string;
|
|
1430
|
+
address_notes?: string;
|
|
1431
|
+
terms_accepted: boolean;
|
|
1432
|
+
data_processing_accepted: boolean;
|
|
1433
|
+
comments?: string;
|
|
1434
|
+
};
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
interface TicketMapZoomConfig {
|
|
1438
|
+
minZoom: number;
|
|
1439
|
+
maxZoom: number;
|
|
1440
|
+
zoomStep: number;
|
|
1441
|
+
scaleBy: number;
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
interface HallFloorOption {
|
|
1445
|
+
id: number | null;
|
|
1446
|
+
name: string;
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
declare enum SelectedDiscountCardType {
|
|
1450
|
+
COUPON = "COUPON",
|
|
1451
|
+
CORPORATE_BOND = "CORPORATE_BOND",
|
|
1452
|
+
GIFT_BOND = "GIFT_BOND"
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
interface SelectedDiscountCard {
|
|
1456
|
+
name: string;
|
|
1457
|
+
type: SelectedDiscountCardType;
|
|
1458
|
+
value: number;
|
|
1459
|
+
discountType: 'percentage' | 'fixed';
|
|
1460
|
+
}
|
|
1461
|
+
|
|
1462
|
+
interface FetchShowsParams extends CommonFetchAllParams {
|
|
1463
|
+
date?: string;
|
|
1464
|
+
sort_by?: 'show.id' | 'show.created_at' | 'show.title' | 'show.slug' | 'show.type_of_costs' | 'show.pulep' | 'show_category.name' | 'show_gender.name';
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
interface ShowResponse {
|
|
1468
|
+
statusCode: number;
|
|
1469
|
+
data: Show;
|
|
1470
|
+
message: string;
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
interface ShowsResponseInterface {
|
|
1474
|
+
statusCode: number;
|
|
1475
|
+
data: {
|
|
1476
|
+
shows: Show[];
|
|
1477
|
+
total: number;
|
|
1478
|
+
};
|
|
1479
|
+
message: string;
|
|
1480
|
+
}
|
|
1481
|
+
|
|
1482
|
+
interface FindAllPerformancesParams {
|
|
1483
|
+
roomMapId?: number;
|
|
1484
|
+
showId?: number;
|
|
1485
|
+
hallId?: number;
|
|
1486
|
+
page?: number;
|
|
1487
|
+
search?: string;
|
|
1488
|
+
limit?: number;
|
|
925
1489
|
}
|
|
926
1490
|
|
|
927
1491
|
interface PerformanceBookingDataResponse {
|
|
@@ -935,6 +1499,12 @@ interface PerformanceBookingDataResponse {
|
|
|
935
1499
|
message: string;
|
|
936
1500
|
}
|
|
937
1501
|
|
|
1502
|
+
interface PerformanceResponse {
|
|
1503
|
+
statusCode: number;
|
|
1504
|
+
data: Performance;
|
|
1505
|
+
message: string;
|
|
1506
|
+
}
|
|
1507
|
+
|
|
938
1508
|
interface PerformanceAvailableDay {
|
|
939
1509
|
date: string;
|
|
940
1510
|
count: number;
|
|
@@ -947,6 +1517,15 @@ interface PerformancesAvailableDaysResponse {
|
|
|
947
1517
|
message: string;
|
|
948
1518
|
}
|
|
949
1519
|
|
|
1520
|
+
interface PerformancesResponseInterface {
|
|
1521
|
+
statusCode: number;
|
|
1522
|
+
data: {
|
|
1523
|
+
performances: Performance[];
|
|
1524
|
+
total: number;
|
|
1525
|
+
};
|
|
1526
|
+
message: string;
|
|
1527
|
+
}
|
|
1528
|
+
|
|
950
1529
|
interface DailyPerformanceHall {
|
|
951
1530
|
name: string | null;
|
|
952
1531
|
}
|
|
@@ -999,12 +1578,31 @@ interface FetchDailyPerformancesParams {
|
|
|
999
1578
|
limit?: number;
|
|
1000
1579
|
}
|
|
1001
1580
|
|
|
1581
|
+
interface FetchProductsParams extends CommonFetchAllParams {
|
|
1582
|
+
name?: string;
|
|
1583
|
+
category_id?: number;
|
|
1584
|
+
tag_id?: number;
|
|
1585
|
+
type_id?: number;
|
|
1586
|
+
min_price?: number;
|
|
1587
|
+
max_price?: number;
|
|
1588
|
+
min_stock?: number;
|
|
1589
|
+
max_stock?: number;
|
|
1590
|
+
sort_by?: 'product.id' | 'product.name' | 'product.price' | 'product.stock_quantity' | 'product.slug' | 'product.sku' | 'product.created_at' | 'category.name' | 'tag.name' | 'type.name';
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1002
1593
|
interface ProductResponse {
|
|
1003
1594
|
statusCode: number;
|
|
1004
1595
|
data: Product;
|
|
1005
1596
|
message: string;
|
|
1006
1597
|
}
|
|
1007
1598
|
|
|
1599
|
+
interface ProductTaxonomy extends Auditable {
|
|
1600
|
+
id: number;
|
|
1601
|
+
name: string;
|
|
1602
|
+
slug: string;
|
|
1603
|
+
selected?: boolean;
|
|
1604
|
+
}
|
|
1605
|
+
|
|
1008
1606
|
interface ProductsResponseInterface {
|
|
1009
1607
|
statusCode: number;
|
|
1010
1608
|
data: {
|
|
@@ -1045,76 +1643,279 @@ interface FindAllPriceZoneParams {
|
|
|
1045
1643
|
limit?: number;
|
|
1046
1644
|
}
|
|
1047
1645
|
|
|
1048
|
-
interface
|
|
1646
|
+
interface CouponResponse {
|
|
1647
|
+
statusCode: number;
|
|
1648
|
+
data: Coupon;
|
|
1649
|
+
message: string;
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1652
|
+
interface ValidateCouponResponse {
|
|
1653
|
+
data: {
|
|
1654
|
+
coupon: Coupon;
|
|
1655
|
+
message: string;
|
|
1656
|
+
};
|
|
1657
|
+
}
|
|
1658
|
+
|
|
1659
|
+
interface RecentOrder {
|
|
1049
1660
|
id: number;
|
|
1661
|
+
customer_name: string;
|
|
1662
|
+
event: string;
|
|
1663
|
+
total: number;
|
|
1664
|
+
status: string;
|
|
1050
1665
|
uuid: string;
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
interface RecentRoomMap {
|
|
1669
|
+
id: number;
|
|
1051
1670
|
name: string;
|
|
1052
|
-
|
|
1053
|
-
status: GiftBondStatus;
|
|
1054
|
-
value: number;
|
|
1055
|
-
customer: Customer;
|
|
1056
|
-
customer_id: number;
|
|
1671
|
+
capacity: number;
|
|
1057
1672
|
created_at: Date;
|
|
1058
1673
|
updated_at: Date;
|
|
1059
|
-
created_by: number;
|
|
1060
|
-
updated_by: number;
|
|
1061
1674
|
}
|
|
1062
1675
|
|
|
1063
|
-
interface
|
|
1676
|
+
interface QrTokenData {
|
|
1677
|
+
token: string;
|
|
1678
|
+
expires_at: string;
|
|
1679
|
+
refresh_in: number;
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
interface QrTokenResponse {
|
|
1064
1683
|
statusCode: number;
|
|
1065
|
-
data:
|
|
1684
|
+
data: QrTokenData;
|
|
1066
1685
|
message: string;
|
|
1067
1686
|
}
|
|
1068
1687
|
|
|
1069
|
-
interface
|
|
1070
|
-
|
|
1688
|
+
interface VipCategorySnapshot {
|
|
1689
|
+
membership_id: number;
|
|
1690
|
+
name: string;
|
|
1691
|
+
discount_percentage: number;
|
|
1692
|
+
service_fee_exempt: boolean;
|
|
1693
|
+
applicable_show_ids: number[] | null;
|
|
1694
|
+
excluded_show_ids: number[] | null;
|
|
1695
|
+
duration_days: number;
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
interface VipCard extends Auditable {
|
|
1699
|
+
id: number;
|
|
1700
|
+
uuid: string;
|
|
1701
|
+
customer: Customer;
|
|
1702
|
+
customer_id: number;
|
|
1703
|
+
membership: {
|
|
1704
|
+
id: number;
|
|
1705
|
+
name: string;
|
|
1706
|
+
} | null;
|
|
1707
|
+
membership_id: number;
|
|
1708
|
+
category_snapshot: VipCategorySnapshot;
|
|
1709
|
+
balance: number;
|
|
1710
|
+
status: VipCardStatus;
|
|
1711
|
+
activated_at: string | null;
|
|
1712
|
+
last_activity_at: string | null;
|
|
1713
|
+
expires_at: string | null;
|
|
1714
|
+
last_low_balance_alert_at: string | null;
|
|
1715
|
+
last_expiry_alert_at: string | null;
|
|
1716
|
+
}
|
|
1717
|
+
|
|
1718
|
+
interface VipTransaction {
|
|
1719
|
+
id: number;
|
|
1720
|
+
uuid: string;
|
|
1721
|
+
vip_card_id: number;
|
|
1722
|
+
type: VipTransactionType;
|
|
1723
|
+
amount: number;
|
|
1724
|
+
balance_before: number;
|
|
1725
|
+
balance_after: number;
|
|
1726
|
+
order: Order | null;
|
|
1727
|
+
order_id: number | null;
|
|
1728
|
+
description: string | null;
|
|
1729
|
+
created_at: string;
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
interface VipCardResponse {
|
|
1733
|
+
data: VipCard;
|
|
1734
|
+
}
|
|
1735
|
+
interface VipCardsResponse {
|
|
1071
1736
|
data: {
|
|
1072
|
-
|
|
1737
|
+
vip_cards: VipCard[];
|
|
1073
1738
|
total: number;
|
|
1074
1739
|
};
|
|
1075
|
-
message: string;
|
|
1076
1740
|
}
|
|
1077
|
-
|
|
1078
|
-
interface ValidateGiftBondResponse {
|
|
1741
|
+
interface VipTransactionsResponse {
|
|
1079
1742
|
data: {
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
code: string;
|
|
1083
|
-
bond?: GiftBond;
|
|
1743
|
+
transactions: VipTransaction[];
|
|
1744
|
+
total: number;
|
|
1084
1745
|
};
|
|
1085
|
-
|
|
1086
|
-
|
|
1746
|
+
}
|
|
1747
|
+
interface VipOrderResponse {
|
|
1748
|
+
data: Order;
|
|
1087
1749
|
}
|
|
1088
1750
|
|
|
1089
|
-
interface
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1751
|
+
interface Membership extends Auditable {
|
|
1752
|
+
id: number;
|
|
1753
|
+
name: string;
|
|
1754
|
+
description: string;
|
|
1755
|
+
benefits: string[] | null;
|
|
1756
|
+
price: number;
|
|
1757
|
+
duration_days: number;
|
|
1758
|
+
min_recharge: number;
|
|
1759
|
+
status: MembershipStatus;
|
|
1760
|
+
discount_percentage: number;
|
|
1761
|
+
service_fee_exempt: boolean;
|
|
1762
|
+
applicable_show_ids: number[] | null;
|
|
1763
|
+
excluded_show_ids: number[] | null;
|
|
1093
1764
|
}
|
|
1094
1765
|
|
|
1095
|
-
interface
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1766
|
+
interface FetchVipCardsParams extends CommonFetchAllParams {
|
|
1767
|
+
status?: VipCardStatus;
|
|
1768
|
+
membership_id?: number;
|
|
1769
|
+
customer_id?: number;
|
|
1770
|
+
sort_by?: 'vip_card.id' | 'vip_card.uuid' | 'vip_card.customer_id' | 'vip_card.membership_id' | 'vip_card.balance' | 'vip_card.status' | 'vip_card.activated_at' | 'vip_card.last_activity_at' | 'vip_card.expires_at' | 'vip_card.last_low_balance_alert_at' | 'vip_card.last_expiry_alert_at' | 'vip_card.created_at' | 'vip_card.updated_at';
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1773
|
+
interface ActivateVipCardParams {
|
|
1774
|
+
customer_id: number;
|
|
1775
|
+
membership_id: number;
|
|
1776
|
+
amount: number;
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
declare const DOCUMENT_TYPES_OPTIONS: SelectOption[];
|
|
1780
|
+
|
|
1781
|
+
declare const PAYMENT_METHODS_OPTIONS: SelectOption[];
|
|
1782
|
+
declare const ORDER_STATUS_COLORS: Record<OrderStatus, {
|
|
1783
|
+
text: string;
|
|
1784
|
+
bg: string;
|
|
1785
|
+
}>;
|
|
1786
|
+
declare const ORDER_ITEM_TYPES_COLORS: Record<OrderItemType, {
|
|
1787
|
+
text: string;
|
|
1788
|
+
bg: string;
|
|
1789
|
+
}>;
|
|
1790
|
+
declare const ORDER_DISCOUNT_COLORS: Record<string, {
|
|
1791
|
+
text: string;
|
|
1792
|
+
bg: string;
|
|
1793
|
+
}>;
|
|
1794
|
+
declare const TRANSACTION_STATUS_COLORS: Record<TransactionStatus, {
|
|
1795
|
+
text: string;
|
|
1796
|
+
bg: string;
|
|
1797
|
+
}>;
|
|
1798
|
+
|
|
1799
|
+
declare const PERFORMANCE_TICKET_STATUS_COLORS: Record<PerformanceTicketStatus, {
|
|
1800
|
+
text: string;
|
|
1801
|
+
bg: string;
|
|
1802
|
+
}>;
|
|
1803
|
+
declare const PERFORMANCE_STATUS_COLORS: Record<PerformanceStatus, {
|
|
1804
|
+
text: string;
|
|
1805
|
+
bg: string;
|
|
1806
|
+
}>;
|
|
1807
|
+
|
|
1808
|
+
declare const TICKET_MAP_LAST_TICKETS_LIMIT = 10;
|
|
1809
|
+
declare const TICKET_ELEMENT_TYPES: RoomMapElementType[];
|
|
1810
|
+
declare const DEFAULT_STAGE_CONFIG: {
|
|
1811
|
+
[x: string]: any;
|
|
1812
|
+
};
|
|
1813
|
+
declare const TICKET_STATUS_COLORS: Record<PerformanceTicketStatus, string>;
|
|
1814
|
+
declare const TICKET_STATUS_FILLS: Record<PerformanceTicketStatus, string>;
|
|
1815
|
+
declare const TICKET_STATUS_LABELS: Record<PerformanceTicketStatus, string>;
|
|
1816
|
+
declare const TICKET_MAP_GRID_SIZE = 30;
|
|
1817
|
+
declare const TICKET_MAP_TITLE_HEIGHT = 30;
|
|
1818
|
+
|
|
1819
|
+
interface KonvaShapeConfig {
|
|
1820
|
+
config: ShapeConfig;
|
|
1821
|
+
layer: 'background' | 'elements' | 'foreground' | 'overlay';
|
|
1822
|
+
}
|
|
1823
|
+
|
|
1824
|
+
declare function drawRoundedRect(con: Context, shape: Shape, x: number, y: number, width: number, height: number, cornerRadius: number): void;
|
|
1825
|
+
|
|
1826
|
+
declare const generateExitScene: (con: Context, shape: Shape) => void;
|
|
1827
|
+
|
|
1828
|
+
declare const generateHallwayScene: (con: Context, shape: Shape) => void;
|
|
1829
|
+
|
|
1830
|
+
declare const generateProductionAreaScene: (con: Context, shape: Shape) => void;
|
|
1831
|
+
|
|
1832
|
+
declare const generateSeatBlockScene: (con: Context, shape: Shape, numerationConfig?: {
|
|
1833
|
+
start_row_letter: string;
|
|
1834
|
+
row_order: "TOP_TO_BOTTOM" | "BOTTOM_TO_TOP";
|
|
1835
|
+
start_column_number: number;
|
|
1836
|
+
column_order: "LEFT_TO_RIGHT" | "RIGHT_TO_LEFT";
|
|
1837
|
+
}) => void;
|
|
1838
|
+
|
|
1839
|
+
declare const generateStageScene: (con: Context, shape: Shape) => void;
|
|
1840
|
+
|
|
1841
|
+
declare const generateStairScene: (con: Context, shape: Shape) => void;
|
|
1842
|
+
|
|
1843
|
+
declare const generateTableScene: (con: Context, shape: Shape) => void;
|
|
1844
|
+
|
|
1845
|
+
declare const generateUnavailableSpaceScene: (con: Context, shape: Shape) => void;
|
|
1846
|
+
|
|
1847
|
+
declare const generateZoneScene: (con: Context, shape: Shape) => void;
|
|
1848
|
+
|
|
1849
|
+
declare const KONVA_SHAPE_MAPPINGS: Record<RoomMapElementType, KonvaShapeConfig>;
|
|
1850
|
+
|
|
1851
|
+
declare const SHOW_TYPE_COLORS: Record<ShowType, {
|
|
1852
|
+
bg: string;
|
|
1853
|
+
text: string;
|
|
1854
|
+
}>;
|
|
1855
|
+
|
|
1856
|
+
declare const getCustomerFullname: (customer: Customer) => string;
|
|
1857
|
+
|
|
1858
|
+
type OrderDiscountType = 'coupon' | 'corporate_bond' | 'gift_bond';
|
|
1859
|
+
interface OrderDiscountInfo {
|
|
1860
|
+
type: OrderDiscountType | null;
|
|
1861
|
+
code: string | null;
|
|
1862
|
+
name: string | null;
|
|
1863
|
+
value: number;
|
|
1864
|
+
discountType: 'percentage' | 'fixed' | null;
|
|
1865
|
+
icon: string;
|
|
1100
1866
|
}
|
|
1867
|
+
declare function getOrderDiscount(order: Order): OrderDiscountInfo;
|
|
1868
|
+
|
|
1869
|
+
declare function parseJsonToFormDataAdvanced(imageGallery: any[]): FormData;
|
|
1870
|
+
|
|
1871
|
+
declare const transformImageToFile: (image: ShowImage | VenueImage) => UploadedFile;
|
|
1872
|
+
|
|
1873
|
+
declare const transformUrlParams: (params: any) => URLSearchParams;
|
|
1874
|
+
|
|
1875
|
+
declare const formatCitiesResponseToSelect: (res: CitiesResponse) => {
|
|
1876
|
+
value: number;
|
|
1877
|
+
label: string;
|
|
1878
|
+
}[];
|
|
1879
|
+
|
|
1880
|
+
declare function tintColor(hex: string, amount?: number): string;
|
|
1881
|
+
|
|
1882
|
+
declare const drawChairIcon: (con: Context, cx: number, cy: number, size: number) => void;
|
|
1883
|
+
|
|
1884
|
+
declare const drawHappyFace: (con: Context, cx: number, cy: number, size: number) => void;
|
|
1101
1885
|
|
|
1102
|
-
declare const
|
|
1886
|
+
declare const drawWheelchairIcon: (con: Context, shape: Shape, cx: number, cy: number, size: number, fillColor?: string, strokeColor?: string) => void;
|
|
1103
1887
|
|
|
1104
|
-
declare
|
|
1888
|
+
declare const numberToLetter: (num: number) => string;
|
|
1105
1889
|
|
|
1106
|
-
declare const
|
|
1890
|
+
declare const getItemTypeIcon: (ticket: PerformanceTicket) => string;
|
|
1107
1891
|
|
|
1108
|
-
declare const
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1892
|
+
declare const generateSeatBlockTicketScene: (con: Context, shape: Shape, numerationConfig?: {
|
|
1893
|
+
start_row_letter: string;
|
|
1894
|
+
row_order: "TOP_TO_BOTTOM" | "BOTTOM_TO_TOP";
|
|
1895
|
+
start_column_number: number;
|
|
1896
|
+
column_order: "LEFT_TO_RIGHT" | "RIGHT_TO_LEFT";
|
|
1897
|
+
}, ticketStatusMap?: Map<string, PerformanceTicketStatus>) => void;
|
|
1898
|
+
|
|
1899
|
+
declare const generateTableTicketScene: (con: Context, shape: Shape, chairTicketStatuses?: PerformanceTicketStatus[], tableSeats?: RoomMapSeatState[][]) => void;
|
|
1900
|
+
|
|
1901
|
+
declare function processElementsToRenderData(elements: RoomMapElementTemplate[], tickets: PerformanceTicket[], priceZones?: {
|
|
1902
|
+
id: number;
|
|
1903
|
+
color: string;
|
|
1904
|
+
}[]): ElementRenderData[];
|
|
1905
|
+
declare function findTicketAtPosition(renderData: ElementRenderData, relX: number, relY: number): PerformanceTicket | null;
|
|
1906
|
+
declare function findElementAtPosition(renderDataList: ElementRenderData[], stageX: number, stageY: number): {
|
|
1907
|
+
element: ElementRenderData;
|
|
1908
|
+
relX: number;
|
|
1909
|
+
relY: number;
|
|
1910
|
+
} | null;
|
|
1112
1911
|
|
|
1113
1912
|
declare function MinTodayValidator(controlName: string): ValidatorFn;
|
|
1114
1913
|
declare function EndDateGreaterThanStartValidator(startDateControlName: string, endDateControlName: string): ValidatorFn;
|
|
1115
1914
|
|
|
1116
1915
|
declare function MustMatchValidator(controlName: string, matchingControlName: string): ValidatorFn;
|
|
1117
1916
|
|
|
1917
|
+
declare function emailValidator(): ValidatorFn;
|
|
1918
|
+
|
|
1118
1919
|
declare class ApiService {
|
|
1119
1920
|
private http;
|
|
1120
1921
|
private platformId;
|
|
@@ -1140,16 +1941,6 @@ declare class ToastService {
|
|
|
1140
1941
|
static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
|
|
1141
1942
|
}
|
|
1142
1943
|
|
|
1143
|
-
declare class LoadingModalService {
|
|
1144
|
-
title: WritableSignal<string>;
|
|
1145
|
-
isOpen: WritableSignal<boolean>;
|
|
1146
|
-
get modalIsOpen(): WritableSignal<boolean>;
|
|
1147
|
-
open(title?: string): void;
|
|
1148
|
-
close(): void;
|
|
1149
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingModalService, never>;
|
|
1150
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LoadingModalService>;
|
|
1151
|
-
}
|
|
1152
|
-
|
|
1153
1944
|
declare class DeleteConfirmationService {
|
|
1154
1945
|
title: WritableSignal<string>;
|
|
1155
1946
|
resourceName: WritableSignal<string>;
|
|
@@ -1193,7 +1984,7 @@ declare class DateService {
|
|
|
1193
1984
|
declare class AdminService {
|
|
1194
1985
|
private apiService;
|
|
1195
1986
|
constructor(apiService: ApiService);
|
|
1196
|
-
fetchAdmins(
|
|
1987
|
+
fetchAdmins(params: FetchAdminsParams): Observable<AdminsResponse>;
|
|
1197
1988
|
deleteOne(id: number): Observable<any>;
|
|
1198
1989
|
createOne(data: any): Observable<any>;
|
|
1199
1990
|
updateOne(id: number, data: any): Observable<any>;
|
|
@@ -1204,7 +1995,7 @@ declare class AdminService {
|
|
|
1204
1995
|
declare class CitiesService {
|
|
1205
1996
|
private apiService;
|
|
1206
1997
|
constructor(apiService: ApiService);
|
|
1207
|
-
fetchCities(
|
|
1998
|
+
fetchCities(params: FetchCitiesParams): Observable<CitiesResponse>;
|
|
1208
1999
|
createOne(data: City): Observable<CityResponse>;
|
|
1209
2000
|
updateOne(id: number, data: City): Observable<CityResponse>;
|
|
1210
2001
|
deleteOne(id: number): Observable<any>;
|
|
@@ -1215,7 +2006,7 @@ declare class CitiesService {
|
|
|
1215
2006
|
declare class CountryService {
|
|
1216
2007
|
private apiService;
|
|
1217
2008
|
constructor(apiService: ApiService);
|
|
1218
|
-
fetchCountries(
|
|
2009
|
+
fetchCountries(params: FetchCountriesParams): Observable<CountriesResponse>;
|
|
1219
2010
|
createOne(data: Country): Observable<CountryResponse>;
|
|
1220
2011
|
updateOne(id: number, data: Country): Observable<CountryResponse>;
|
|
1221
2012
|
deleteOne(id: number): Observable<any>;
|
|
@@ -1226,7 +2017,7 @@ declare class CountryService {
|
|
|
1226
2017
|
declare class StatesService {
|
|
1227
2018
|
private apiService;
|
|
1228
2019
|
constructor(apiService: ApiService);
|
|
1229
|
-
fetchStates(
|
|
2020
|
+
fetchStates(params: FetchStatesParams): Observable<StatesResponse>;
|
|
1230
2021
|
fetchStatesByCountryId(countryId: number): Observable<StatesResponse>;
|
|
1231
2022
|
createOne(data: State): Observable<StateResponse>;
|
|
1232
2023
|
updateOne(id: number, data: State): Observable<StateResponse>;
|
|
@@ -1240,7 +2031,7 @@ declare class PerformanceService {
|
|
|
1240
2031
|
private performancesSubject;
|
|
1241
2032
|
performances$: Observable<Performance[]>;
|
|
1242
2033
|
constructor(apiService: ApiService);
|
|
1243
|
-
fetchPerformances(showId
|
|
2034
|
+
fetchPerformances({ showId, roomMapId, hallId, search, page, limit, }: FindAllPerformancesParams): Observable<PerformancesResponseInterface>;
|
|
1244
2035
|
fetchDailyPerformances({ show_id, search, limit, date, }: FetchDailyPerformancesParams): Observable<DailyPerformancesResponse>;
|
|
1245
2036
|
loadPerformances({ showId, search }?: {
|
|
1246
2037
|
showId?: number;
|
|
@@ -1248,7 +2039,7 @@ declare class PerformanceService {
|
|
|
1248
2039
|
}): void;
|
|
1249
2040
|
getCurrentPerformances(): Performance[];
|
|
1250
2041
|
fetchOneById(id: number): Observable<PerformanceResponse>;
|
|
1251
|
-
fetchOneBookingData(id: number): Observable<PerformanceBookingDataResponse>;
|
|
2042
|
+
fetchOneBookingData(id: number, isAdmin?: boolean): Observable<PerformanceBookingDataResponse>;
|
|
1252
2043
|
fetchAvailableDays(params?: {
|
|
1253
2044
|
show_id?: number;
|
|
1254
2045
|
}): Observable<PerformancesAvailableDaysResponse>;
|
|
@@ -1278,25 +2069,6 @@ declare class PerformancesListEventsService {
|
|
|
1278
2069
|
static ɵprov: i0.ɵɵInjectableDeclaration<PerformancesListEventsService>;
|
|
1279
2070
|
}
|
|
1280
2071
|
|
|
1281
|
-
declare class ProductService {
|
|
1282
|
-
private apiService;
|
|
1283
|
-
private productsSubject;
|
|
1284
|
-
products$: Observable<Product[]>;
|
|
1285
|
-
constructor(apiService: ApiService);
|
|
1286
|
-
fetchProducts(page: number, search: string): Observable<ProductsResponseInterface>;
|
|
1287
|
-
loadProducts({ page, search }?: {
|
|
1288
|
-
page?: number;
|
|
1289
|
-
search?: string;
|
|
1290
|
-
}): void;
|
|
1291
|
-
getCurrentProducts(): Product[];
|
|
1292
|
-
fetchOneById(id: number): Observable<ProductResponse>;
|
|
1293
|
-
createOne(data: Product): Observable<any>;
|
|
1294
|
-
updateOne(id: number, data: any): Observable<ProductResponse>;
|
|
1295
|
-
deleteOne(id: number): Observable<any>;
|
|
1296
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProductService, never>;
|
|
1297
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ProductService>;
|
|
1298
|
-
}
|
|
1299
|
-
|
|
1300
2072
|
declare class ShowService {
|
|
1301
2073
|
private apiService;
|
|
1302
2074
|
private showsSubject;
|
|
@@ -1304,7 +2076,7 @@ declare class ShowService {
|
|
|
1304
2076
|
constructor(apiService: ApiService);
|
|
1305
2077
|
loadShows({ page, search }?: FetchShowsParams): void;
|
|
1306
2078
|
getCurrentShows(): Show[];
|
|
1307
|
-
fetchShows(
|
|
2079
|
+
fetchShows(params: FetchShowsParams): Observable<ShowsResponseInterface>;
|
|
1308
2080
|
fetchAvailableShows({ date, limit, page, search, }: FetchShowsParams): Observable<ShowsResponseInterface>;
|
|
1309
2081
|
fetchOneById(id: number): Observable<ShowResponse>;
|
|
1310
2082
|
createOne(data: Show): Observable<ShowResponse>;
|
|
@@ -1325,7 +2097,7 @@ declare class CustomerService {
|
|
|
1325
2097
|
private apiService;
|
|
1326
2098
|
constructor(apiService: ApiService);
|
|
1327
2099
|
createOne(data: Customer): Observable<CustomerResponse>;
|
|
1328
|
-
fetchCustomers(
|
|
2100
|
+
fetchCustomers(params: FetchCustomersParams): Observable<CustomersResponse>;
|
|
1329
2101
|
fetchOneById(id: number): Observable<CustomerResponse>;
|
|
1330
2102
|
updateOne(id: number, data: any): Observable<CustomerResponse>;
|
|
1331
2103
|
deleteOne(id: number): Observable<any>;
|
|
@@ -1377,6 +2149,353 @@ declare class PriceZoneFormModalService {
|
|
|
1377
2149
|
static ɵprov: i0.ɵɵInjectableDeclaration<PriceZoneFormModalService>;
|
|
1378
2150
|
}
|
|
1379
2151
|
|
|
2152
|
+
declare class ProductCategoryService {
|
|
2153
|
+
private apiService;
|
|
2154
|
+
constructor(apiService: ApiService);
|
|
2155
|
+
fetchCategories(params: FetchProductCategoriesParams): Observable<ProductCategoriesResponse>;
|
|
2156
|
+
fetchOneById(id: number): Observable<ProductCategoryResponse>;
|
|
2157
|
+
createOne(data: ProductCategory): Observable<any>;
|
|
2158
|
+
updateOne(id: number, data: ProductCategory): Observable<ProductCategoryResponse>;
|
|
2159
|
+
deleteOne(id: number): Observable<any>;
|
|
2160
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductCategoryService, never>;
|
|
2161
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductCategoryService>;
|
|
2162
|
+
}
|
|
2163
|
+
|
|
2164
|
+
declare class ProductTagService {
|
|
2165
|
+
private apiService;
|
|
2166
|
+
constructor(apiService: ApiService);
|
|
2167
|
+
fetchTags(params: FetchProductTagsParams): Observable<ProductTagsResponse>;
|
|
2168
|
+
fetchOneById(id: number): Observable<ProductTagResponse>;
|
|
2169
|
+
createOne(data: ProductTag): Observable<any>;
|
|
2170
|
+
updateOne(id: number, data: ProductTag): Observable<ProductTagResponse>;
|
|
2171
|
+
deleteOne(id: number): Observable<any>;
|
|
2172
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductTagService, never>;
|
|
2173
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductTagService>;
|
|
2174
|
+
}
|
|
2175
|
+
|
|
2176
|
+
declare class ProductTypeService {
|
|
2177
|
+
private apiService;
|
|
2178
|
+
constructor(apiService: ApiService);
|
|
2179
|
+
fetchTypes(params: FetchProductTypesParams): Observable<ProductTypesResponse>;
|
|
2180
|
+
fetchOneById(id: number): Observable<ProductTypeResponse>;
|
|
2181
|
+
createOne(data: ProductType): Observable<any>;
|
|
2182
|
+
updateOne(id: number, data: ProductType): Observable<ProductTypeResponse>;
|
|
2183
|
+
deleteOne(id: number): Observable<any>;
|
|
2184
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductTypeService, never>;
|
|
2185
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductTypeService>;
|
|
2186
|
+
}
|
|
2187
|
+
|
|
2188
|
+
declare class ProductService {
|
|
2189
|
+
private apiService;
|
|
2190
|
+
private productsSubject;
|
|
2191
|
+
products$: Observable<Product[]>;
|
|
2192
|
+
constructor(apiService: ApiService);
|
|
2193
|
+
fetchProducts(params: FetchProductsParams): Observable<ProductsResponseInterface>;
|
|
2194
|
+
loadProducts(params: FetchProductsParams): void;
|
|
2195
|
+
getCurrentProducts(): Product[];
|
|
2196
|
+
fetchOneById(id: number): Observable<ProductResponse>;
|
|
2197
|
+
createOne(data: Product): Observable<any>;
|
|
2198
|
+
updateOne(id: number, data: any): Observable<ProductResponse>;
|
|
2199
|
+
deleteOne(id: number): Observable<any>;
|
|
2200
|
+
fetchImages(id: number): Observable<{
|
|
2201
|
+
data: ProductImage[];
|
|
2202
|
+
}>;
|
|
2203
|
+
uploadImages(id: number, files?: FormData): Observable<{
|
|
2204
|
+
data: ProductImage[];
|
|
2205
|
+
}>;
|
|
2206
|
+
deleteOneImage(productId: number, imageId: number): Observable<any>;
|
|
2207
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductService, never>;
|
|
2208
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductService>;
|
|
2209
|
+
}
|
|
2210
|
+
|
|
2211
|
+
declare class BaseModalService {
|
|
2212
|
+
readonly isOpen: WritableSignal<boolean>;
|
|
2213
|
+
get modalIsOpen(): WritableSignal<boolean>;
|
|
2214
|
+
open(): void;
|
|
2215
|
+
close(): void;
|
|
2216
|
+
}
|
|
2217
|
+
|
|
2218
|
+
declare class FeedbackModalService {
|
|
2219
|
+
private _modals;
|
|
2220
|
+
readonly modals: i0.Signal<FeedbackModalElement[]>;
|
|
2221
|
+
addModal(modal: FeedbackModalElement): void;
|
|
2222
|
+
removeModal(id: string): void;
|
|
2223
|
+
removeAllModals(): void;
|
|
2224
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FeedbackModalService, never>;
|
|
2225
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FeedbackModalService>;
|
|
2226
|
+
}
|
|
2227
|
+
|
|
2228
|
+
declare class OrderTransactionDetailsModalService {
|
|
2229
|
+
readonly isOpen: WritableSignal<boolean>;
|
|
2230
|
+
transaction: WritableSignal<Transaction | null>;
|
|
2231
|
+
get modalIsOpen(): WritableSignal<boolean>;
|
|
2232
|
+
open(transaction: Transaction): void;
|
|
2233
|
+
close(): void;
|
|
2234
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderTransactionDetailsModalService, never>;
|
|
2235
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OrderTransactionDetailsModalService>;
|
|
2236
|
+
}
|
|
2237
|
+
|
|
2238
|
+
declare class PerformanceBookingDataService {
|
|
2239
|
+
private _show;
|
|
2240
|
+
private _performance;
|
|
2241
|
+
private _roomMap;
|
|
2242
|
+
private _hallFloors;
|
|
2243
|
+
private _selectedHallFloor;
|
|
2244
|
+
private _allRenderData;
|
|
2245
|
+
private _visibleFloorIds;
|
|
2246
|
+
private _stageConfig;
|
|
2247
|
+
readonly show: i0.Signal<Show | null>;
|
|
2248
|
+
readonly hallFloors: i0.Signal<HallFloor[]>;
|
|
2249
|
+
readonly selectedHallFloor: i0.Signal<HallFloor | null>;
|
|
2250
|
+
readonly performance: i0.Signal<Performance | null>;
|
|
2251
|
+
readonly stageConfig: i0.Signal<{
|
|
2252
|
+
[x: string]: any;
|
|
2253
|
+
}>;
|
|
2254
|
+
readonly roomMap: i0.Signal<RoomMap | null>;
|
|
2255
|
+
readonly visibleFloorIds: i0.Signal<Set<number>>;
|
|
2256
|
+
readonly availableFloors: i0.Signal<HallFloor[]>;
|
|
2257
|
+
readonly renderData: i0.Signal<ElementRenderData[]>;
|
|
2258
|
+
setPerformanceBookingData({ data }: PerformanceBookingDataResponse): void;
|
|
2259
|
+
setRoomMap(roomMap: RoomMap | null): void;
|
|
2260
|
+
setAllRenderData(data: ElementRenderData[]): void;
|
|
2261
|
+
setPerformance(performance: Performance | null): void;
|
|
2262
|
+
setShow(show: Show | null): void;
|
|
2263
|
+
setHallFloors(data: HallFloor[]): void;
|
|
2264
|
+
setSelectedHallFloor(id: number): void;
|
|
2265
|
+
toggleFloorVisibility(floorId: number): void;
|
|
2266
|
+
isFloorVisible(floorId: number): boolean;
|
|
2267
|
+
updateStageConfig(data: {
|
|
2268
|
+
[x: string]: any;
|
|
2269
|
+
}): void;
|
|
2270
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceBookingDataService, never>;
|
|
2271
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PerformanceBookingDataService>;
|
|
2272
|
+
}
|
|
2273
|
+
|
|
2274
|
+
declare class TicketSelectionDetailsService {
|
|
2275
|
+
private _customerEmail;
|
|
2276
|
+
private _customerId;
|
|
2277
|
+
private _paymentMethod;
|
|
2278
|
+
private _billingInformation;
|
|
2279
|
+
readonly customerEmail: i0.Signal<string | null>;
|
|
2280
|
+
readonly customerId: i0.Signal<number | null>;
|
|
2281
|
+
readonly paymentMethod: i0.Signal<string | null>;
|
|
2282
|
+
readonly billingInformation: i0.Signal<Customer | null>;
|
|
2283
|
+
setCustomerEmail(email: string | null): void;
|
|
2284
|
+
setCustomerId(id: number | null): void;
|
|
2285
|
+
setPaymentMethod(method: string | null): void;
|
|
2286
|
+
setBillingInformation(values: Customer): void;
|
|
2287
|
+
clearSelection(): void;
|
|
2288
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketSelectionDetailsService, never>;
|
|
2289
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketSelectionDetailsService>;
|
|
2290
|
+
}
|
|
2291
|
+
|
|
2292
|
+
declare class TicketSelectionDiscountService {
|
|
2293
|
+
private _coupon;
|
|
2294
|
+
private _corporateBond;
|
|
2295
|
+
private _corporateBondCode;
|
|
2296
|
+
private _giftBond;
|
|
2297
|
+
private _giftBondCode;
|
|
2298
|
+
readonly coupon: Signal<Coupon | null>;
|
|
2299
|
+
readonly corporateBond: Signal<CorporateBond | null>;
|
|
2300
|
+
readonly corporateBondCode: Signal<string | null>;
|
|
2301
|
+
readonly giftBond: Signal<GiftBondPurchase | null>;
|
|
2302
|
+
readonly giftBondCode: Signal<string | null>;
|
|
2303
|
+
readonly selectedDiscount: Signal<SelectedDiscountCard | null>;
|
|
2304
|
+
readonly selectedDiscountType: Signal<SelectedDiscountCardType | undefined>;
|
|
2305
|
+
readonly selectedDiscountValue: Signal<number | undefined>;
|
|
2306
|
+
setCoupon(coupon: Coupon | null): void;
|
|
2307
|
+
setCorporateBond(corporateBond: CorporateBond | null): void;
|
|
2308
|
+
setCorporateBondCode(code: string | null): void;
|
|
2309
|
+
setGiftBond(giftBond: GiftBondPurchase | null): void;
|
|
2310
|
+
setGiftBondCode(code: string | null): void;
|
|
2311
|
+
clearSelection(): void;
|
|
2312
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketSelectionDiscountService, never>;
|
|
2313
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketSelectionDiscountService>;
|
|
2314
|
+
}
|
|
2315
|
+
|
|
2316
|
+
declare class TicketSelectionTotalsService {
|
|
2317
|
+
private bookingDataService;
|
|
2318
|
+
private selectionService;
|
|
2319
|
+
private selectionDiscountService;
|
|
2320
|
+
readonly selectedProductEntries: i0.Signal<{
|
|
2321
|
+
id: number;
|
|
2322
|
+
quantity: number;
|
|
2323
|
+
}[]>;
|
|
2324
|
+
readonly selectedProductCount: i0.Signal<number>;
|
|
2325
|
+
readonly productSubtotal: i0.Signal<number>;
|
|
2326
|
+
readonly ticketSubtotal: i0.Signal<number>;
|
|
2327
|
+
readonly serviceFee: i0.Signal<number>;
|
|
2328
|
+
readonly discountAmount: i0.Signal<number | null>;
|
|
2329
|
+
subtotalValue(): number;
|
|
2330
|
+
totalValue(): number;
|
|
2331
|
+
totalDiscounted(): number | null;
|
|
2332
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketSelectionTotalsService, never>;
|
|
2333
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketSelectionTotalsService>;
|
|
2334
|
+
}
|
|
2335
|
+
|
|
2336
|
+
declare class TicketSelectionService {
|
|
2337
|
+
private bookingDataService;
|
|
2338
|
+
private feedbackModalService;
|
|
2339
|
+
private selectionDetailsService;
|
|
2340
|
+
private selectionDiscountService;
|
|
2341
|
+
private _zoneQuantities;
|
|
2342
|
+
private _allTickets;
|
|
2343
|
+
private _selectedTickets;
|
|
2344
|
+
private _selectedBlockedTickets;
|
|
2345
|
+
private _products;
|
|
2346
|
+
private _productQuantities;
|
|
2347
|
+
readonly selectedTickets: i0.Signal<PerformanceTicket[]>;
|
|
2348
|
+
readonly selectedBlockedTickets: i0.Signal<PerformanceTicket[]>;
|
|
2349
|
+
readonly selectedCount: i0.Signal<number>;
|
|
2350
|
+
readonly blockedSelectedCount: i0.Signal<number>;
|
|
2351
|
+
readonly selectedTicketIds: i0.Signal<Set<PerformanceTicket>>;
|
|
2352
|
+
readonly selectedBlockedTicketIds: i0.Signal<number[]>;
|
|
2353
|
+
readonly selectedTicketIdList: i0.Signal<number[]>;
|
|
2354
|
+
readonly products: i0.Signal<Product[]>;
|
|
2355
|
+
readonly productQuantities: i0.Signal<Map<number, number>>;
|
|
2356
|
+
readonly selectedProductEntries: i0.Signal<{
|
|
2357
|
+
id: number;
|
|
2358
|
+
quantity: number;
|
|
2359
|
+
}[]>;
|
|
2360
|
+
readonly selectedProductCount: i0.Signal<number>;
|
|
2361
|
+
readonly serviceFee: i0.Signal<number>;
|
|
2362
|
+
setTickets(tickets: PerformanceTicket[]): void;
|
|
2363
|
+
setProducts(products: Product[]): void;
|
|
2364
|
+
updateProductQuantity(productId: number, delta: number): void;
|
|
2365
|
+
getProductQuantity(productId: number): number;
|
|
2366
|
+
private getListByStatus;
|
|
2367
|
+
setSelectedTickets(tickets: PerformanceTicket[]): void;
|
|
2368
|
+
toggle(ticket: PerformanceTicket): void;
|
|
2369
|
+
select(ticket: PerformanceTicket): void;
|
|
2370
|
+
deselect(ticket: PerformanceTicket): void;
|
|
2371
|
+
clearBlockedSelection(): void;
|
|
2372
|
+
clearSelection(): void;
|
|
2373
|
+
isSelected(ticket: PerformanceTicket): boolean;
|
|
2374
|
+
initZoneQuantity(elementId: number, maxCapacity: number): void;
|
|
2375
|
+
adjustZoneQuantity(elementId: number, delta: number): void;
|
|
2376
|
+
getZoneTickets(elementId: number): PerformanceTicket[];
|
|
2377
|
+
buildTooltipData(ticket: PerformanceTicket, elementName: string, seatLabel: string | null, x: number, y: number): TicketMapTooltipData;
|
|
2378
|
+
buildReservePerformanceDto(paymentMethod?: string, termsAccepted?: boolean, dataProcessingAccepted?: boolean): ReservePerformanceDto;
|
|
2379
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketSelectionService, never>;
|
|
2380
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketSelectionService>;
|
|
2381
|
+
}
|
|
2382
|
+
|
|
2383
|
+
declare class TicketMapZoomService {
|
|
2384
|
+
readonly currentZoom: i0.WritableSignal<number>;
|
|
2385
|
+
private stage?;
|
|
2386
|
+
private bookingDataService;
|
|
2387
|
+
private readonly defaultConfig;
|
|
2388
|
+
constructor();
|
|
2389
|
+
/**
|
|
2390
|
+
* Set the Konva stage instance
|
|
2391
|
+
*/
|
|
2392
|
+
setStage(stage: Stage): void;
|
|
2393
|
+
/**
|
|
2394
|
+
* Zoom in by one step
|
|
2395
|
+
*/
|
|
2396
|
+
zoomIn(): void;
|
|
2397
|
+
/**
|
|
2398
|
+
* Zoom out by one step
|
|
2399
|
+
*/
|
|
2400
|
+
zoomOut(): void;
|
|
2401
|
+
/**
|
|
2402
|
+
* Reset zoom to 100%
|
|
2403
|
+
*/
|
|
2404
|
+
resetZoom(): void;
|
|
2405
|
+
/**
|
|
2406
|
+
* Get current zoom as percentage string
|
|
2407
|
+
*/
|
|
2408
|
+
getZoomPercentage(): string;
|
|
2409
|
+
/**
|
|
2410
|
+
* Get current zoom value
|
|
2411
|
+
*/
|
|
2412
|
+
getCurrentZoom(): number;
|
|
2413
|
+
/**
|
|
2414
|
+
* Apply zoom with center point
|
|
2415
|
+
*/
|
|
2416
|
+
private applyZoom;
|
|
2417
|
+
/**
|
|
2418
|
+
* Apply zoom scale with specific center point
|
|
2419
|
+
*/
|
|
2420
|
+
private applyZoomScale;
|
|
2421
|
+
/**
|
|
2422
|
+
* Handle mouse wheel zoom toward the cursor position
|
|
2423
|
+
*/
|
|
2424
|
+
handleWheelZoom(deltaY: number): void;
|
|
2425
|
+
/**
|
|
2426
|
+
* Fit the content bounds to fill the stage container
|
|
2427
|
+
*/
|
|
2428
|
+
fitToContainer(padding?: number): void;
|
|
2429
|
+
/**
|
|
2430
|
+
* Get current stage position
|
|
2431
|
+
*/
|
|
2432
|
+
getStagePosition(): {
|
|
2433
|
+
x: number;
|
|
2434
|
+
y: number;
|
|
2435
|
+
};
|
|
2436
|
+
/**
|
|
2437
|
+
* Set stage position (useful for programmatic panning)
|
|
2438
|
+
*/
|
|
2439
|
+
setStagePosition(position: {
|
|
2440
|
+
x: number;
|
|
2441
|
+
y: number;
|
|
2442
|
+
}): void;
|
|
2443
|
+
/**
|
|
2444
|
+
* Fit the stage content bounds to the container, centering and scaling
|
|
2445
|
+
* to show the full content with optional padding.
|
|
2446
|
+
*/
|
|
2447
|
+
fitToBounds(contentBounds: {
|
|
2448
|
+
x: number;
|
|
2449
|
+
y: number;
|
|
2450
|
+
width: number;
|
|
2451
|
+
height: number;
|
|
2452
|
+
}, containerWidth: number, containerHeight: number, padding?: number): void;
|
|
2453
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapZoomService, never>;
|
|
2454
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketMapZoomService>;
|
|
2455
|
+
}
|
|
2456
|
+
|
|
2457
|
+
declare class ConfirmationOrderModalService extends BaseModalService {
|
|
2458
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationOrderModalService, never>;
|
|
2459
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmationOrderModalService>;
|
|
2460
|
+
}
|
|
2461
|
+
|
|
2462
|
+
declare class TicketQrService {
|
|
2463
|
+
private apiService;
|
|
2464
|
+
constructor(apiService: ApiService);
|
|
2465
|
+
fetchQrToken(ticketUuid: string): Observable<QrTokenResponse>;
|
|
2466
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketQrService, never>;
|
|
2467
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketQrService>;
|
|
2468
|
+
}
|
|
2469
|
+
|
|
2470
|
+
declare class TicketQrModalService {
|
|
2471
|
+
isOpen: WritableSignal<boolean>;
|
|
2472
|
+
ticketUuid: WritableSignal<string | null>;
|
|
2473
|
+
ticketDescription: WritableSignal<string | null>;
|
|
2474
|
+
open(ticketUuid: string, description?: string): void;
|
|
2475
|
+
close(): void;
|
|
2476
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketQrModalService, never>;
|
|
2477
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketQrModalService>;
|
|
2478
|
+
}
|
|
2479
|
+
|
|
2480
|
+
declare class VipCardService {
|
|
2481
|
+
private apiService;
|
|
2482
|
+
constructor(apiService: ApiService);
|
|
2483
|
+
findMy(): Observable<{
|
|
2484
|
+
data: VipCard | null;
|
|
2485
|
+
}>;
|
|
2486
|
+
activate(data: any): Observable<VipOrderResponse>;
|
|
2487
|
+
recharge(data: any): Observable<VipOrderResponse>;
|
|
2488
|
+
fetchAll(params?: FetchVipCardsParams): Observable<VipCardsResponse>;
|
|
2489
|
+
fetchOneById(id: number): Observable<VipCardResponse>;
|
|
2490
|
+
activateAdmin(data: ActivateVipCardParams): Observable<VipOrderResponse>;
|
|
2491
|
+
rechargeAdmin(id: number, data: any): Observable<VipOrderResponse>;
|
|
2492
|
+
updateStatus(id: number, status: VipCardStatus): Observable<VipCardResponse>;
|
|
2493
|
+
updateTerms(id: number): Observable<VipCardResponse>;
|
|
2494
|
+
fetchTransactions(id: number, page?: number, limit?: number): Observable<VipTransactionsResponse>;
|
|
2495
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VipCardService, never>;
|
|
2496
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<VipCardService>;
|
|
2497
|
+
}
|
|
2498
|
+
|
|
1380
2499
|
declare const authInterceptor: HttpInterceptorFn;
|
|
1381
2500
|
|
|
1382
2501
|
declare class AppButtonComponent {
|
|
@@ -1389,10 +2508,11 @@ declare class AppButtonComponent {
|
|
|
1389
2508
|
size: 'xs' | 'sm' | 'md' | 'lg';
|
|
1390
2509
|
loadingText: string;
|
|
1391
2510
|
icon: string;
|
|
2511
|
+
tooltip: string;
|
|
1392
2512
|
handleClick(): void;
|
|
1393
2513
|
get buttonClasses(): string;
|
|
1394
2514
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppButtonComponent, never>;
|
|
1395
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppButtonComponent, "app-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "type": { "alias": "type"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "text": { "alias": "text"; "required": false; }; "size": { "alias": "size"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
|
2515
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppButtonComponent, "app-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "type": { "alias": "type"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "text": { "alias": "text"; "required": false; }; "size": { "alias": "size"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
|
1396
2516
|
}
|
|
1397
2517
|
|
|
1398
2518
|
declare class AppLinkButtonComponent {
|
|
@@ -1406,9 +2526,10 @@ declare class AppLinkButtonComponent {
|
|
|
1406
2526
|
queryParams: Record<string, any>;
|
|
1407
2527
|
size: 'xs' | 'sm' | 'md' | 'lg';
|
|
1408
2528
|
variant: 'primary' | 'secondary' | 'tertiary' | 'success' | 'transparent';
|
|
2529
|
+
tooltip: string;
|
|
1409
2530
|
get buttonClasses(): string;
|
|
1410
2531
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppLinkButtonComponent, never>;
|
|
1411
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppLinkButtonComponent, "app-link-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "target": { "alias": "target"; "required": false; }; "text": { "alias": "text"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "route": { "alias": "route"; "required": false; }; "queryParams": { "alias": "queryParams"; "required": false; }; "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, never, true, never>;
|
|
2532
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppLinkButtonComponent, "app-link-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "target": { "alias": "target"; "required": false; }; "text": { "alias": "text"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "route": { "alias": "route"; "required": false; }; "queryParams": { "alias": "queryParams"; "required": false; }; "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, {}, never, never, true, never>;
|
|
1412
2533
|
}
|
|
1413
2534
|
|
|
1414
2535
|
declare class AppAlertComponent {
|
|
@@ -1421,15 +2542,29 @@ declare class AppAlertComponent {
|
|
|
1421
2542
|
static ɵcmp: i0.ɵɵComponentDeclaration<AppAlertComponent, "app-alert", never, { "type": { "alias": "type"; "required": false; }; "text": { "alias": "text"; "required": false; }; "closeable": { "alias": "closeable"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
1422
2543
|
}
|
|
1423
2544
|
|
|
1424
|
-
declare class
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
2545
|
+
declare class FeedbackModalComponent implements OnChanges, OnDestroy {
|
|
2546
|
+
isOpen: WritableSignal<boolean>;
|
|
2547
|
+
type: FeedbackModalType;
|
|
2548
|
+
title: string;
|
|
2549
|
+
message: string;
|
|
2550
|
+
showHeader: boolean;
|
|
2551
|
+
showCloseButton: boolean;
|
|
2552
|
+
showTitle: boolean;
|
|
2553
|
+
autoClose: boolean;
|
|
2554
|
+
autoCloseDuration: number;
|
|
2555
|
+
buttonText: string;
|
|
2556
|
+
closed: EventEmitter<void>;
|
|
2557
|
+
private autoCloseTimeout;
|
|
2558
|
+
get defaultButtonText(): string;
|
|
2559
|
+
get resolvedButtonText(): string;
|
|
2560
|
+
get buttonVariant(): 'primary' | 'secondary';
|
|
2561
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2562
|
+
ngOnDestroy(): void;
|
|
1429
2563
|
closeModal(): void;
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
static
|
|
2564
|
+
private scheduleAutoClose;
|
|
2565
|
+
private clearAutoClose;
|
|
2566
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FeedbackModalComponent, never>;
|
|
2567
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FeedbackModalComponent, "feedback-modal", never, { "isOpen": { "alias": "isOpen"; "required": false; }; "type": { "alias": "type"; "required": false; }; "title": { "alias": "title"; "required": false; }; "message": { "alias": "message"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "autoClose": { "alias": "autoClose"; "required": false; }; "autoCloseDuration": { "alias": "autoCloseDuration"; "required": false; }; "buttonText": { "alias": "buttonText"; "required": false; }; }, { "closed": "closed"; }, never, never, true, never>;
|
|
1433
2568
|
}
|
|
1434
2569
|
|
|
1435
2570
|
declare class DeleteConfirmationComponent {
|
|
@@ -1452,12 +2587,29 @@ declare class DeleteConfirmationComponent {
|
|
|
1452
2587
|
declare class AppModalComponent {
|
|
1453
2588
|
title: string;
|
|
1454
2589
|
disableClose: boolean;
|
|
2590
|
+
showHeader: boolean;
|
|
2591
|
+
showCloseButton: boolean;
|
|
2592
|
+
showTitle: boolean;
|
|
2593
|
+
interactiveClose: boolean;
|
|
1455
2594
|
isOpen: WritableSignal<boolean>;
|
|
1456
|
-
size:
|
|
2595
|
+
size: ModalSize;
|
|
1457
2596
|
closeModal: EventEmitter<void>;
|
|
1458
2597
|
onCloseModal(): void;
|
|
2598
|
+
onInteractiveClose(): void;
|
|
2599
|
+
onKeydownEscape(): void;
|
|
1459
2600
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppModalComponent, never>;
|
|
1460
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppModalComponent, "app-modal", never, { "title": { "alias": "title"; "required": false; }; "disableClose": { "alias": "disableClose"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "closeModal": "closeModal"; }, never, ["*"], true, never>;
|
|
2601
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppModalComponent, "app-modal", never, { "title": { "alias": "title"; "required": false; }; "disableClose": { "alias": "disableClose"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "interactiveClose": { "alias": "interactiveClose"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "closeModal": "closeModal"; }, never, ["*"], true, never>;
|
|
2602
|
+
}
|
|
2603
|
+
|
|
2604
|
+
declare class AppBadgeComponent {
|
|
2605
|
+
text: string;
|
|
2606
|
+
color: BadgeColor;
|
|
2607
|
+
size: BadgeSize;
|
|
2608
|
+
bordered: boolean;
|
|
2609
|
+
backgroundColor: string;
|
|
2610
|
+
textColor: string;
|
|
2611
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppBadgeComponent, never>;
|
|
2612
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppBadgeComponent, "app-badge", never, { "text": { "alias": "text"; "required": false; }; "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "bordered": { "alias": "bordered"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
1461
2613
|
}
|
|
1462
2614
|
|
|
1463
2615
|
declare class AuditInformationComponent {
|
|
@@ -1472,6 +2624,7 @@ declare class DynamicTableComponent {
|
|
|
1472
2624
|
title: string;
|
|
1473
2625
|
data: any[];
|
|
1474
2626
|
headers: any[];
|
|
2627
|
+
searcherPlaceholder: string;
|
|
1475
2628
|
columnComponents: {
|
|
1476
2629
|
[key: string]: Type<any>;
|
|
1477
2630
|
};
|
|
@@ -1479,17 +2632,79 @@ declare class DynamicTableComponent {
|
|
|
1479
2632
|
totalItems: number;
|
|
1480
2633
|
itemsPerPage: number;
|
|
1481
2634
|
currentPage: number;
|
|
2635
|
+
searchValue: string;
|
|
1482
2636
|
pageChange: EventEmitter<number>;
|
|
1483
2637
|
searchChange: EventEmitter<string>;
|
|
2638
|
+
pageSizeChange: EventEmitter<number>;
|
|
2639
|
+
pageSizeOptions: number[];
|
|
1484
2640
|
showPagination: boolean;
|
|
1485
2641
|
showSearch: boolean;
|
|
1486
2642
|
showTitle: boolean;
|
|
1487
2643
|
get totalPages(): number;
|
|
1488
2644
|
onSearch(event: any): void;
|
|
1489
2645
|
changePage(delta: number): void;
|
|
2646
|
+
changePageSize(event: any): void;
|
|
1490
2647
|
createInjector(row: any): Injector;
|
|
1491
2648
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicTableComponent, never>;
|
|
1492
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicTableComponent, "dynamic-table", never, { "title": { "alias": "title"; "required": false; }; "data": { "alias": "data"; "required": false; }; "headers": { "alias": "headers"; "required": false; }; "columnComponents": { "alias": "columnComponents"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "itemsPerPage": { "alias": "itemsPerPage"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "showPagination": { "alias": "showPagination"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; }, { "pageChange": "pageChange"; "searchChange": "searchChange"; }, never, never, true, never>;
|
|
2649
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicTableComponent, "dynamic-table", never, { "title": { "alias": "title"; "required": false; }; "data": { "alias": "data"; "required": false; }; "headers": { "alias": "headers"; "required": false; }; "searcherPlaceholder": { "alias": "searcherPlaceholder"; "required": false; }; "columnComponents": { "alias": "columnComponents"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "itemsPerPage": { "alias": "itemsPerPage"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "searchValue": { "alias": "searchValue"; "required": false; }; "showPagination": { "alias": "showPagination"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; }, { "pageChange": "pageChange"; "searchChange": "searchChange"; "pageSizeChange": "pageSizeChange"; }, never, never, true, never>;
|
|
2650
|
+
}
|
|
2651
|
+
|
|
2652
|
+
declare class TextExpandableComponent implements OnChanges {
|
|
2653
|
+
text: string;
|
|
2654
|
+
maxLength: number;
|
|
2655
|
+
fontSize: TextFontSize;
|
|
2656
|
+
allowHtml: boolean;
|
|
2657
|
+
maxLines?: number;
|
|
2658
|
+
protected expanded: boolean;
|
|
2659
|
+
ngOnChanges(): void;
|
|
2660
|
+
get plainText(): string;
|
|
2661
|
+
get truncated(): boolean;
|
|
2662
|
+
get visibleText(): string;
|
|
2663
|
+
get lines(): number;
|
|
2664
|
+
toggleExpanded(): void;
|
|
2665
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextExpandableComponent, never>;
|
|
2666
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextExpandableComponent, "text-expandable", never, { "text": { "alias": "text"; "required": true; }; "maxLength": { "alias": "maxLength"; "required": false; }; "fontSize": { "alias": "fontSize"; "required": false; }; "allowHtml": { "alias": "allowHtml"; "required": false; }; "maxLines": { "alias": "maxLines"; "required": false; }; }, {}, never, never, true, never>;
|
|
2667
|
+
}
|
|
2668
|
+
|
|
2669
|
+
declare class ShowCardComponent {
|
|
2670
|
+
show: Show;
|
|
2671
|
+
linkText: string;
|
|
2672
|
+
linkUrlFn?: (show: Show) => string;
|
|
2673
|
+
linkQueryParams?: Record<string, any>;
|
|
2674
|
+
transloco: TranslocoService;
|
|
2675
|
+
dateService: DateService;
|
|
2676
|
+
get showTypeColor(): {
|
|
2677
|
+
bg: string;
|
|
2678
|
+
text: string;
|
|
2679
|
+
};
|
|
2680
|
+
formatTimeDate(date: string): Date;
|
|
2681
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowCardComponent, never>;
|
|
2682
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShowCardComponent, "show-card", never, { "show": { "alias": "show"; "required": true; }; "linkText": { "alias": "linkText"; "required": false; }; "linkUrlFn": { "alias": "linkUrlFn"; "required": false; }; "linkQueryParams": { "alias": "linkQueryParams"; "required": false; }; }, {}, never, never, true, never>;
|
|
2683
|
+
}
|
|
2684
|
+
|
|
2685
|
+
declare class ShowTypeBadgeComponent {
|
|
2686
|
+
show: Show;
|
|
2687
|
+
size: BadgeSize;
|
|
2688
|
+
transloco: TranslocoService;
|
|
2689
|
+
get showTypeColor(): {
|
|
2690
|
+
bg: string;
|
|
2691
|
+
text: string;
|
|
2692
|
+
};
|
|
2693
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowTypeBadgeComponent, never>;
|
|
2694
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShowTypeBadgeComponent, "show-type-badge", never, { "show": { "alias": "show"; "required": true; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
2695
|
+
}
|
|
2696
|
+
|
|
2697
|
+
declare class ShowCardSkeletonComponent {
|
|
2698
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowCardSkeletonComponent, never>;
|
|
2699
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShowCardSkeletonComponent, "show-card-skeleton", never, {}, {}, never, never, true, never>;
|
|
2700
|
+
}
|
|
2701
|
+
|
|
2702
|
+
declare class AppBreadcumbComponent {
|
|
2703
|
+
homeUrl: string | undefined;
|
|
2704
|
+
steps: BreadcrumbStep[];
|
|
2705
|
+
theme: BreadcrumbTheme;
|
|
2706
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppBreadcumbComponent, never>;
|
|
2707
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppBreadcumbComponent, "app-breadcrumb", never, { "homeUrl": { "alias": "homeUrl"; "required": false; }; "steps": { "alias": "steps"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, {}, never, never, true, never>;
|
|
1493
2708
|
}
|
|
1494
2709
|
|
|
1495
2710
|
declare class LanguageSwitcherComponent {
|
|
@@ -1512,7 +2727,9 @@ declare class FormInputComponent implements ControlValueAccessor {
|
|
|
1512
2727
|
placeholder: string;
|
|
1513
2728
|
required: boolean;
|
|
1514
2729
|
readonly: boolean;
|
|
2730
|
+
maxlength: number | null;
|
|
1515
2731
|
minlength: number | null;
|
|
2732
|
+
max: number | null;
|
|
1516
2733
|
min: number | null;
|
|
1517
2734
|
step: number | null;
|
|
1518
2735
|
pattern: string | null;
|
|
@@ -1534,12 +2751,12 @@ declare class FormInputComponent implements ControlValueAccessor {
|
|
|
1534
2751
|
get inputClasses(): string;
|
|
1535
2752
|
get fieldGroupClasses(): string;
|
|
1536
2753
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormInputComponent, [{ optional: true; self: true; }, null]>;
|
|
1537
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormInputComponent, "form-input", never, { "label": { "alias": "label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "min": { "alias": "min"; "required": false; }; "step": { "alias": "step"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "fieldGroupClass": { "alias": "fieldGroupClass"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; }, {}, never, never, true, never>;
|
|
2754
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormInputComponent, "form-input", never, { "label": { "alias": "label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "step": { "alias": "step"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "fieldGroupClass": { "alias": "fieldGroupClass"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; }, {}, never, never, true, never>;
|
|
1538
2755
|
}
|
|
1539
2756
|
|
|
1540
2757
|
declare class FormSelectComponent implements ControlValueAccessor {
|
|
1541
2758
|
ngControl: NgControl;
|
|
1542
|
-
|
|
2759
|
+
protected transloco: TranslocoService;
|
|
1543
2760
|
label: string;
|
|
1544
2761
|
name: string;
|
|
1545
2762
|
id: string;
|
|
@@ -1563,7 +2780,6 @@ declare class FormSelectComponent implements ControlValueAccessor {
|
|
|
1563
2780
|
get inputId(): string;
|
|
1564
2781
|
get showError(): boolean;
|
|
1565
2782
|
get errorMessage(): string;
|
|
1566
|
-
get resolvedDefaultOptionLabel(): string;
|
|
1567
2783
|
get fieldGroupClasses(): string;
|
|
1568
2784
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormSelectComponent, [{ optional: true; self: true; }, null]>;
|
|
1569
2785
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormSelectComponent, "form-select", never, { "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "options": { "alias": "options"; "required": false; }; "fieldGroupClass": { "alias": "fieldGroupClass"; "required": false; }; "showDefaultOption": { "alias": "showDefaultOption"; "required": false; }; "defaultOptionLabel": { "alias": "defaultOptionLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -1601,6 +2817,105 @@ declare class FormTextareaComponent implements ControlValueAccessor {
|
|
|
1601
2817
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormTextareaComponent, "form-textarea", never, { "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; "fieldGroupClass": { "alias": "fieldGroupClass"; "required": false; }; }, {}, never, never, true, never>;
|
|
1602
2818
|
}
|
|
1603
2819
|
|
|
2820
|
+
declare class NumberInputComponent implements ControlValueAccessor, Validator, OnChanges {
|
|
2821
|
+
transloco: TranslocoService;
|
|
2822
|
+
private injector;
|
|
2823
|
+
private elementRef;
|
|
2824
|
+
label: string;
|
|
2825
|
+
name: string;
|
|
2826
|
+
id: string;
|
|
2827
|
+
placeholder: string;
|
|
2828
|
+
required: boolean;
|
|
2829
|
+
readonly: boolean;
|
|
2830
|
+
min: number | null;
|
|
2831
|
+
max: number | null;
|
|
2832
|
+
step: number;
|
|
2833
|
+
fieldGroupClass: string;
|
|
2834
|
+
value: number | null;
|
|
2835
|
+
disabled: boolean;
|
|
2836
|
+
onChange: any;
|
|
2837
|
+
onTouched: any;
|
|
2838
|
+
private _ngControl;
|
|
2839
|
+
constructor(transloco: TranslocoService, injector: Injector, elementRef: ElementRef);
|
|
2840
|
+
get ngControl(): NgControl | null;
|
|
2841
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2842
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
2843
|
+
writeValue(value: any): void;
|
|
2844
|
+
registerOnChange(fn: any): void;
|
|
2845
|
+
registerOnTouched(fn: any): void;
|
|
2846
|
+
setDisabledState(isDisabled: boolean): void;
|
|
2847
|
+
onInput(value: any): void;
|
|
2848
|
+
increment(): void;
|
|
2849
|
+
decrement(): void;
|
|
2850
|
+
get canIncrement(): boolean;
|
|
2851
|
+
get canDecrement(): boolean;
|
|
2852
|
+
get inputId(): string;
|
|
2853
|
+
get showError(): boolean;
|
|
2854
|
+
get errorMessage(): string;
|
|
2855
|
+
get fieldGroupClasses(): string;
|
|
2856
|
+
private clamp;
|
|
2857
|
+
private round;
|
|
2858
|
+
private emitNativeChange;
|
|
2859
|
+
private minValidator;
|
|
2860
|
+
private maxValidator;
|
|
2861
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputComponent, never>;
|
|
2862
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumberInputComponent, "number-input", never, { "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "fieldGroupClass": { "alias": "fieldGroupClass"; "required": false; }; }, {}, never, never, true, never>;
|
|
2863
|
+
}
|
|
2864
|
+
|
|
2865
|
+
declare class PhoneInputComponent implements ControlValueAccessor, Validator, OnChanges {
|
|
2866
|
+
private transloco;
|
|
2867
|
+
private injector;
|
|
2868
|
+
label: string;
|
|
2869
|
+
name: string;
|
|
2870
|
+
id: string;
|
|
2871
|
+
placeholder: string;
|
|
2872
|
+
required: boolean;
|
|
2873
|
+
readonly: boolean;
|
|
2874
|
+
maxNationalDigits: number | null;
|
|
2875
|
+
minNationalDigits: number | null;
|
|
2876
|
+
defaultCountry: string;
|
|
2877
|
+
fieldGroupClass: string;
|
|
2878
|
+
readonly countries: tickera_angular_components.PhoneCountry[];
|
|
2879
|
+
readonly phoneOptions: {
|
|
2880
|
+
search: string;
|
|
2881
|
+
name: string;
|
|
2882
|
+
isoCode: string;
|
|
2883
|
+
dialCode: string;
|
|
2884
|
+
}[];
|
|
2885
|
+
selectedIso: string;
|
|
2886
|
+
nationalNumber: string;
|
|
2887
|
+
disabled: boolean;
|
|
2888
|
+
onChange: any;
|
|
2889
|
+
onTouched: any;
|
|
2890
|
+
onValidatorChange: () => void;
|
|
2891
|
+
private _ngControl;
|
|
2892
|
+
constructor(transloco: TranslocoService, injector: Injector);
|
|
2893
|
+
get ngControl(): NgControl | null;
|
|
2894
|
+
get selectedCountry(): tickera_angular_components.PhoneCountry;
|
|
2895
|
+
get dialCode(): string;
|
|
2896
|
+
dialCodeOf(isoCode: string): string;
|
|
2897
|
+
get value(): string;
|
|
2898
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2899
|
+
registerOnValidatorChange(fn: () => void): void;
|
|
2900
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
2901
|
+
writeValue(value: string | null | undefined): void;
|
|
2902
|
+
registerOnChange(fn: any): void;
|
|
2903
|
+
registerOnTouched(fn: any): void;
|
|
2904
|
+
setDisabledState(isDisabled: boolean): void;
|
|
2905
|
+
onInput(event: Event): void;
|
|
2906
|
+
onCountryChange(isoCode: string): void;
|
|
2907
|
+
get inputId(): string;
|
|
2908
|
+
get showError(): boolean;
|
|
2909
|
+
get errorMessage(): string;
|
|
2910
|
+
get effectivePlaceholder(): string;
|
|
2911
|
+
get fieldGroupClasses(): string;
|
|
2912
|
+
flag(isoCode: string): string;
|
|
2913
|
+
private sanitize;
|
|
2914
|
+
private nationalDigits;
|
|
2915
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneInputComponent, never>;
|
|
2916
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PhoneInputComponent, "phone-input", never, { "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "maxNationalDigits": { "alias": "maxNationalDigits"; "required": false; }; "minNationalDigits": { "alias": "minNationalDigits"; "required": false; }; "defaultCountry": { "alias": "defaultCountry"; "required": false; }; "fieldGroupClass": { "alias": "fieldGroupClass"; "required": false; }; }, {}, never, never, true, never>;
|
|
2917
|
+
}
|
|
2918
|
+
|
|
1604
2919
|
declare class FormEditorComponent implements ControlValueAccessor, OnInit, OnDestroy {
|
|
1605
2920
|
ngControl: NgControl;
|
|
1606
2921
|
private transloco;
|
|
@@ -1618,7 +2933,8 @@ declare class FormEditorComponent implements ControlValueAccessor, OnInit, OnDes
|
|
|
1618
2933
|
onChange: any;
|
|
1619
2934
|
onTouched: any;
|
|
1620
2935
|
private subscription;
|
|
1621
|
-
|
|
2936
|
+
isBrowser: boolean;
|
|
2937
|
+
constructor(ngControl: NgControl, transloco: TranslocoService, platformId: object);
|
|
1622
2938
|
ngOnInit(): void;
|
|
1623
2939
|
ngOnDestroy(): void;
|
|
1624
2940
|
writeValue(value: any): void;
|
|
@@ -1629,7 +2945,7 @@ declare class FormEditorComponent implements ControlValueAccessor, OnInit, OnDes
|
|
|
1629
2945
|
get showError(): boolean;
|
|
1630
2946
|
get errorMessage(): string;
|
|
1631
2947
|
get fieldGroupClasses(): string;
|
|
1632
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormEditorComponent, [{ optional: true; self: true; }, null]>;
|
|
2948
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormEditorComponent, [{ optional: true; self: true; }, null, null]>;
|
|
1633
2949
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormEditorComponent, "form-editor", never, { "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "toolbar": { "alias": "toolbar"; "required": false; }; "fieldGroupClass": { "alias": "fieldGroupClass"; "required": false; }; }, {}, never, never, true, never>;
|
|
1634
2950
|
}
|
|
1635
2951
|
|
|
@@ -1813,6 +3129,7 @@ declare class AsyncSelectComponent implements OnInit, OnDestroy, OnChanges, Cont
|
|
|
1813
3129
|
notFoundText: string;
|
|
1814
3130
|
bindLabel: string;
|
|
1815
3131
|
bindValue: string;
|
|
3132
|
+
disabled: boolean;
|
|
1816
3133
|
value: any;
|
|
1817
3134
|
onChange: any;
|
|
1818
3135
|
onTouched: any;
|
|
@@ -1842,7 +3159,7 @@ declare class AsyncSelectComponent implements OnInit, OnDestroy, OnChanges, Cont
|
|
|
1842
3159
|
registerOnTouched(fn: any): void;
|
|
1843
3160
|
setDisabledState(isDisabled: boolean): void;
|
|
1844
3161
|
static ɵfac: i0.ɵɵFactoryDeclaration<AsyncSelectComponent, never>;
|
|
1845
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AsyncSelectComponent, "async-select", never, { "config": { "alias": "config"; "required": false; }; "items": { "alias": "items"; "required": false; }; "parentId": { "alias": "parentId"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "notFoundText": { "alias": "notFoundText"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
3162
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AsyncSelectComponent, "async-select", never, { "config": { "alias": "config"; "required": false; }; "items": { "alias": "items"; "required": false; }; "parentId": { "alias": "parentId"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "notFoundText": { "alias": "notFoundText"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
1846
3163
|
}
|
|
1847
3164
|
|
|
1848
3165
|
declare class ChangePasswordFormComponent {
|
|
@@ -2279,6 +3596,28 @@ declare class PriceZoneSelectComponent implements OnInit, OnDestroy, ControlValu
|
|
|
2279
3596
|
static ɵcmp: i0.ɵɵComponentDeclaration<PriceZoneSelectComponent, "price-zone-select", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "showError": { "alias": "showError"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, { "priceZoneChange": "priceZoneChange"; }, never, never, true, never>;
|
|
2280
3597
|
}
|
|
2281
3598
|
|
|
3599
|
+
declare class PerformanceTicketStatusBadgeComponent {
|
|
3600
|
+
ticket: PerformanceTicket;
|
|
3601
|
+
size: BadgeSize;
|
|
3602
|
+
protected get statusColors(): {
|
|
3603
|
+
text: string;
|
|
3604
|
+
bg: string;
|
|
3605
|
+
};
|
|
3606
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceTicketStatusBadgeComponent, never>;
|
|
3607
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceTicketStatusBadgeComponent, "performance-ticket-status-badge", never, { "ticket": { "alias": "ticket"; "required": true; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
3608
|
+
}
|
|
3609
|
+
|
|
3610
|
+
declare class PerformanceStatusBadgeComponent {
|
|
3611
|
+
performance: Performance;
|
|
3612
|
+
size: BadgeSize;
|
|
3613
|
+
protected get statusColors(): {
|
|
3614
|
+
text: string;
|
|
3615
|
+
bg: string;
|
|
3616
|
+
};
|
|
3617
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceStatusBadgeComponent, never>;
|
|
3618
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceStatusBadgeComponent, "performance-status-badge", never, { "performance": { "alias": "performance"; "required": true; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
3619
|
+
}
|
|
3620
|
+
|
|
2282
3621
|
declare class DaySelectorGridComponent {
|
|
2283
3622
|
private platformId;
|
|
2284
3623
|
protected performanceService: PerformanceService;
|
|
@@ -2300,11 +3639,15 @@ declare class DaySelectorGridComponent {
|
|
|
2300
3639
|
declare class PerformanceCardComponent {
|
|
2301
3640
|
protected listEventService: PerformancesListEventsService;
|
|
2302
3641
|
card: DailyPerformanceItem;
|
|
3642
|
+
linkText: string;
|
|
3643
|
+
linkUrlFn?: (card: DailyPerformanceItem) => string;
|
|
3644
|
+
linkQueryParams?: Record<string, any>;
|
|
2303
3645
|
constructor(listEventService: PerformancesListEventsService);
|
|
3646
|
+
get badgeColor(): 'success' | 'error';
|
|
2304
3647
|
onSelect(): void;
|
|
2305
3648
|
isSelected(): boolean;
|
|
2306
3649
|
static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceCardComponent, never>;
|
|
2307
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceCardComponent, "performance-card", never, { "card": { "alias": "card"; "required": true; }; }, {}, never, never, true, never>;
|
|
3650
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceCardComponent, "performance-card", never, { "card": { "alias": "card"; "required": true; }; "linkText": { "alias": "linkText"; "required": false; }; "linkUrlFn": { "alias": "linkUrlFn"; "required": false; }; "linkQueryParams": { "alias": "linkQueryParams"; "required": false; }; }, {}, never, never, true, never>;
|
|
2308
3651
|
}
|
|
2309
3652
|
|
|
2310
3653
|
declare class PerformanceCardListComponent {
|
|
@@ -2312,6 +3655,9 @@ declare class PerformanceCardListComponent {
|
|
|
2312
3655
|
protected performanceService: PerformanceService;
|
|
2313
3656
|
protected listEventService: PerformancesListEventsService;
|
|
2314
3657
|
protected toastService: ToastService;
|
|
3658
|
+
linkText: string;
|
|
3659
|
+
linkUrlFn?: (card: DailyPerformanceItem) => string;
|
|
3660
|
+
linkQueryParams?: Record<string, any>;
|
|
2315
3661
|
loadingData: WritableSignal<boolean>;
|
|
2316
3662
|
performances: WritableSignal<DailyPerformanceItem[]>;
|
|
2317
3663
|
constructor(platformId: object, performanceService: PerformanceService, listEventService: PerformancesListEventsService, toastService: ToastService);
|
|
@@ -2319,7 +3665,7 @@ declare class PerformanceCardListComponent {
|
|
|
2319
3665
|
private loadData;
|
|
2320
3666
|
get selectedDayDate(): string | null;
|
|
2321
3667
|
static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceCardListComponent, never>;
|
|
2322
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceCardListComponent, "performance-card-list", never, {}, {}, never, never, true, never>;
|
|
3668
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceCardListComponent, "performance-card-list", never, { "linkText": { "alias": "linkText"; "required": false; }; "linkUrlFn": { "alias": "linkUrlFn"; "required": false; }; "linkQueryParams": { "alias": "linkQueryParams"; "required": false; }; }, {}, never, never, true, never>;
|
|
2323
3669
|
}
|
|
2324
3670
|
|
|
2325
3671
|
declare class PerformanceStepperComponent {
|
|
@@ -2348,9 +3694,9 @@ declare class ShowsFilterComponent {
|
|
|
2348
3694
|
}
|
|
2349
3695
|
|
|
2350
3696
|
interface PriceZoneItem {
|
|
2351
|
-
|
|
3697
|
+
color: string;
|
|
2352
3698
|
name: string;
|
|
2353
|
-
|
|
3699
|
+
available_seats: number;
|
|
2354
3700
|
price: string;
|
|
2355
3701
|
}
|
|
2356
3702
|
|
|
@@ -2366,5 +3712,398 @@ declare class ZonePriceListComponent {
|
|
|
2366
3712
|
static ɵcmp: i0.ɵɵComponentDeclaration<ZonePriceListComponent, "zone-price-list", never, { "zones": { "alias": "zones"; "required": true; }; }, {}, never, never, true, never>;
|
|
2367
3713
|
}
|
|
2368
3714
|
|
|
2369
|
-
|
|
2370
|
-
|
|
3715
|
+
declare class TicketMapWidgetComponent {
|
|
3716
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapWidgetComponent, never>;
|
|
3717
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapWidgetComponent, "ticket-map-widget", never, {}, {}, never, ["*"], true, never>;
|
|
3718
|
+
}
|
|
3719
|
+
|
|
3720
|
+
declare class TicketMapWidgetHeaderComponent {
|
|
3721
|
+
title: string;
|
|
3722
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapWidgetHeaderComponent, never>;
|
|
3723
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapWidgetHeaderComponent, "ticket-map-widget-header", never, { "title": { "alias": "title"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
3724
|
+
}
|
|
3725
|
+
|
|
3726
|
+
declare class TicketMapZoomControlsComponent {
|
|
3727
|
+
private zoomService;
|
|
3728
|
+
readonly currentZoom: i0.Signal<number>;
|
|
3729
|
+
readonly zoomPercentage: i0.Signal<string>;
|
|
3730
|
+
constructor(zoomService: TicketMapZoomService);
|
|
3731
|
+
zoomIn(): void;
|
|
3732
|
+
zoomOut(): void;
|
|
3733
|
+
resetZoom(): void;
|
|
3734
|
+
fitToContainer(): void;
|
|
3735
|
+
handleZoomAction(action: string): void;
|
|
3736
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapZoomControlsComponent, never>;
|
|
3737
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapZoomControlsComponent, "ticket-map-zoom-controls", never, {}, {}, never, never, true, never>;
|
|
3738
|
+
}
|
|
3739
|
+
|
|
3740
|
+
declare class TicketMapFloorSelectorComponent {
|
|
3741
|
+
private bookingDataService;
|
|
3742
|
+
readonly availableFloors: i0.Signal<tickera_angular_components.HallFloor[]>;
|
|
3743
|
+
readonly visibleFloorIds: i0.Signal<Set<number>>;
|
|
3744
|
+
readonly hasMultipleVisible: i0.Signal<boolean>;
|
|
3745
|
+
constructor(bookingDataService: PerformanceBookingDataService);
|
|
3746
|
+
isFloorVisible(floorId: number): boolean;
|
|
3747
|
+
canToggleOff(floorId: number): boolean;
|
|
3748
|
+
toggleFloor(floorId: number): void;
|
|
3749
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapFloorSelectorComponent, never>;
|
|
3750
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapFloorSelectorComponent, "ticket-map-floor-selector", never, {}, {}, never, never, true, never>;
|
|
3751
|
+
}
|
|
3752
|
+
|
|
3753
|
+
declare class PerformanceTicketMapComponent implements OnDestroy, AfterViewInit {
|
|
3754
|
+
private platformId;
|
|
3755
|
+
protected bookingDataService: PerformanceBookingDataService;
|
|
3756
|
+
protected feedbackModalService: FeedbackModalService;
|
|
3757
|
+
protected selectionService: TicketSelectionService;
|
|
3758
|
+
protected zoomService: TicketMapZoomService;
|
|
3759
|
+
selectionChange: EventEmitter<PerformanceTicket[]>;
|
|
3760
|
+
needsLoginError: EventEmitter<any>;
|
|
3761
|
+
readOnly: boolean;
|
|
3762
|
+
needsLogin: boolean;
|
|
3763
|
+
isLoggedIn: boolean;
|
|
3764
|
+
stageComponent?: StageComponent;
|
|
3765
|
+
protected tooltipData: i0.WritableSignal<TicketMapTooltipData | null>;
|
|
3766
|
+
protected renderData: i0.Signal<ElementRenderData[]>;
|
|
3767
|
+
private stageReady;
|
|
3768
|
+
private autoFitDone;
|
|
3769
|
+
private resizeObserver?;
|
|
3770
|
+
constructor(platformId: object, bookingDataService: PerformanceBookingDataService, feedbackModalService: FeedbackModalService, selectionService: TicketSelectionService, zoomService: TicketMapZoomService);
|
|
3771
|
+
protected get isBrowser(): boolean;
|
|
3772
|
+
ngAfterViewInit(): void;
|
|
3773
|
+
private setupResizeObserver;
|
|
3774
|
+
private syncStageToContainer;
|
|
3775
|
+
ngOnDestroy(): void;
|
|
3776
|
+
private getInternalPointer;
|
|
3777
|
+
protected selectHallFloor(floorId: number): void;
|
|
3778
|
+
protected handleStageClick(konvaEvent: any): void;
|
|
3779
|
+
protected handleStageMouseMove(konvaEvent: any): void;
|
|
3780
|
+
protected handleStageMouseLeave(): void;
|
|
3781
|
+
protected handleWheel(konvaEvent: any): void;
|
|
3782
|
+
protected trackByElementId(_index: number, item: ElementRenderData): number;
|
|
3783
|
+
protected trackByFloorId(_index: number, floor: HallFloorOption): HallFloorOption;
|
|
3784
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceTicketMapComponent, never>;
|
|
3785
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceTicketMapComponent, "performance-ticket-map", never, { "readOnly": { "alias": "readOnly"; "required": false; }; "needsLogin": { "alias": "needsLogin"; "required": false; }; "isLoggedIn": { "alias": "isLoggedIn"; "required": false; }; }, { "selectionChange": "selectionChange"; "needsLoginError": "needsLoginError"; }, never, never, true, never>;
|
|
3786
|
+
}
|
|
3787
|
+
|
|
3788
|
+
declare class TicketMapPriceZonesComponent {
|
|
3789
|
+
title: string;
|
|
3790
|
+
protected bookingDataService: PerformanceBookingDataService;
|
|
3791
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapPriceZonesComponent, never>;
|
|
3792
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapPriceZonesComponent, "ticket-map-price-zones", never, { "title": { "alias": "title"; "required": false; }; }, {}, never, never, true, never>;
|
|
3793
|
+
}
|
|
3794
|
+
|
|
3795
|
+
declare class TicketMapProductSelectionItemComponent {
|
|
3796
|
+
protected selectionService: TicketSelectionService;
|
|
3797
|
+
product: Product;
|
|
3798
|
+
constructor(selectionService: TicketSelectionService);
|
|
3799
|
+
get quantity(): number;
|
|
3800
|
+
get firstImage(): string | undefined;
|
|
3801
|
+
increment(): void;
|
|
3802
|
+
decrement(): void;
|
|
3803
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapProductSelectionItemComponent, never>;
|
|
3804
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapProductSelectionItemComponent, "ticket-map-product-selection-item", never, { "product": { "alias": "product"; "required": true; }; }, {}, never, never, true, never>;
|
|
3805
|
+
}
|
|
3806
|
+
|
|
3807
|
+
declare class TIcketMapProductSelectionComponent {
|
|
3808
|
+
private bookingDataService;
|
|
3809
|
+
readonly products: i0.Signal<tickera_angular_components.Product[]>;
|
|
3810
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TIcketMapProductSelectionComponent, never>;
|
|
3811
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TIcketMapProductSelectionComponent, "ticket-map-product-selection", never, {}, {}, never, never, true, never>;
|
|
3812
|
+
}
|
|
3813
|
+
|
|
3814
|
+
declare class TicketMapTotalsComponent {
|
|
3815
|
+
protected bookingDataService: PerformanceBookingDataService;
|
|
3816
|
+
protected selectionDetailsService: TicketSelectionDetailsService;
|
|
3817
|
+
protected selectionDiscountService: TicketSelectionDiscountService;
|
|
3818
|
+
protected selectionTotalsService: TicketSelectionTotalsService;
|
|
3819
|
+
protected selectionService: TicketSelectionService;
|
|
3820
|
+
private activatedRoute;
|
|
3821
|
+
title: string;
|
|
3822
|
+
buttonText: string;
|
|
3823
|
+
loadingButtonText: string;
|
|
3824
|
+
isLoading: boolean;
|
|
3825
|
+
onPurchaseClick: EventEmitter<void>;
|
|
3826
|
+
constructor(bookingDataService: PerformanceBookingDataService, selectionDetailsService: TicketSelectionDetailsService, selectionDiscountService: TicketSelectionDiscountService, selectionTotalsService: TicketSelectionTotalsService, selectionService: TicketSelectionService, activatedRoute: ActivatedRoute);
|
|
3827
|
+
get serviceFee(): number;
|
|
3828
|
+
get performanceId(): number;
|
|
3829
|
+
get selectedTicketIds(): number[];
|
|
3830
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapTotalsComponent, never>;
|
|
3831
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapTotalsComponent, "ticket-map-totals", never, { "title": { "alias": "title"; "required": false; }; "buttonText": { "alias": "buttonText"; "required": false; }; "loadingButtonText": { "alias": "loadingButtonText"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; }, { "onPurchaseClick": "onPurchaseClick"; }, never, never, true, never>;
|
|
3832
|
+
}
|
|
3833
|
+
|
|
3834
|
+
declare class TicketMapWrapperComponent {
|
|
3835
|
+
selectionChange: EventEmitter<PerformanceTicket[]>;
|
|
3836
|
+
needsLoginError: EventEmitter<any>;
|
|
3837
|
+
readOnly: boolean;
|
|
3838
|
+
needsLogin: boolean;
|
|
3839
|
+
isLoggedIn: boolean;
|
|
3840
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapWrapperComponent, never>;
|
|
3841
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapWrapperComponent, "ticket-map-wrapper", never, { "readOnly": { "alias": "readOnly"; "required": false; }; "needsLogin": { "alias": "needsLogin"; "required": false; }; "isLoggedIn": { "alias": "isLoggedIn"; "required": false; }; }, { "selectionChange": "selectionChange"; "needsLoginError": "needsLoginError"; }, never, never, true, never>;
|
|
3842
|
+
}
|
|
3843
|
+
|
|
3844
|
+
declare class SeatSelectionEmptySummaryComponent {
|
|
3845
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeatSelectionEmptySummaryComponent, never>;
|
|
3846
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeatSelectionEmptySummaryComponent, "seat-selection-empty-summary", never, {}, {}, never, never, true, never>;
|
|
3847
|
+
}
|
|
3848
|
+
|
|
3849
|
+
declare class SeatSelectionSummaryComponent {
|
|
3850
|
+
protected selectionService: TicketSelectionService;
|
|
3851
|
+
title: string;
|
|
3852
|
+
clearButtonText: string;
|
|
3853
|
+
constructor(selectionService: TicketSelectionService);
|
|
3854
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeatSelectionSummaryComponent, never>;
|
|
3855
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeatSelectionSummaryComponent, "seat-selection-summary", never, { "title": { "alias": "title"; "required": false; }; "clearButtonText": { "alias": "clearButtonText"; "required": false; }; }, {}, never, never, true, never>;
|
|
3856
|
+
}
|
|
3857
|
+
|
|
3858
|
+
declare class SeatSelectionSummaryItemComponent {
|
|
3859
|
+
protected selectionService: TicketSelectionService;
|
|
3860
|
+
item: PerformanceTicket;
|
|
3861
|
+
constructor(selectionService: TicketSelectionService);
|
|
3862
|
+
getItemTypeIcon: (ticket: PerformanceTicket) => string;
|
|
3863
|
+
removeItem(ticket: PerformanceTicket): void;
|
|
3864
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeatSelectionSummaryItemComponent, never>;
|
|
3865
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeatSelectionSummaryItemComponent, "seat-selection-summary-item", never, { "item": { "alias": "item"; "required": true; }; }, {}, never, never, true, never>;
|
|
3866
|
+
}
|
|
3867
|
+
|
|
3868
|
+
declare class ConfirmationOrderModalComponent {
|
|
3869
|
+
private confirmationOrderModalService;
|
|
3870
|
+
private selectionDiscountService;
|
|
3871
|
+
private selectionTotalsService;
|
|
3872
|
+
private selectionService;
|
|
3873
|
+
private bookingDataService;
|
|
3874
|
+
modalTitle: string;
|
|
3875
|
+
confirmButtonText: string;
|
|
3876
|
+
confirmButtonTextLoading: string;
|
|
3877
|
+
loading: boolean;
|
|
3878
|
+
onConfirm: EventEmitter<any>;
|
|
3879
|
+
constructor(confirmationOrderModalService: ConfirmationOrderModalService, selectionDiscountService: TicketSelectionDiscountService, selectionTotalsService: TicketSelectionTotalsService, selectionService: TicketSelectionService, bookingDataService: PerformanceBookingDataService);
|
|
3880
|
+
get isOpen(): i0.WritableSignal<boolean>;
|
|
3881
|
+
get selectedCount(): number;
|
|
3882
|
+
get serviceFee(): number;
|
|
3883
|
+
get subtotalValue(): number;
|
|
3884
|
+
get ticketSubtotal(): number;
|
|
3885
|
+
get productSubtotal(): number;
|
|
3886
|
+
get productCount(): number;
|
|
3887
|
+
get totalValue(): number;
|
|
3888
|
+
get totalDiscounted(): number | null;
|
|
3889
|
+
get coupon(): tickera_angular_components.Coupon | null;
|
|
3890
|
+
get corporateBond(): tickera_angular_components.CorporateBond | null;
|
|
3891
|
+
get giftBond(): tickera_angular_components.GiftBondPurchase | null;
|
|
3892
|
+
onClose(): void;
|
|
3893
|
+
confirmOrder(): void;
|
|
3894
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationOrderModalComponent, never>;
|
|
3895
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationOrderModalComponent, "confirmation-order-modal", never, { "modalTitle": { "alias": "modalTitle"; "required": false; }; "confirmButtonText": { "alias": "confirmButtonText"; "required": false; }; "confirmButtonTextLoading": { "alias": "confirmButtonTextLoading"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "onConfirm": "onConfirm"; }, never, never, true, never>;
|
|
3896
|
+
}
|
|
3897
|
+
|
|
3898
|
+
declare class OrderInformationComponent {
|
|
3899
|
+
readonly transloco: TranslocoService;
|
|
3900
|
+
private readonly toastService;
|
|
3901
|
+
order: Order;
|
|
3902
|
+
showPayButton: boolean;
|
|
3903
|
+
createMpPreference?: (order: Order) => Observable<MercadoPagoPreference>;
|
|
3904
|
+
paymentLinkCreated: EventEmitter<MercadoPagoPreference>;
|
|
3905
|
+
isLoading: boolean;
|
|
3906
|
+
constructor(transloco: TranslocoService, toastService: ToastService);
|
|
3907
|
+
get showMpButton(): boolean;
|
|
3908
|
+
payWithMercadoPago(): void;
|
|
3909
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderInformationComponent, never>;
|
|
3910
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderInformationComponent, "order-information", never, { "order": { "alias": "order"; "required": true; }; "showPayButton": { "alias": "showPayButton"; "required": false; }; "createMpPreference": { "alias": "createMpPreference"; "required": false; }; }, { "paymentLinkCreated": "paymentLinkCreated"; }, never, never, true, never>;
|
|
3911
|
+
}
|
|
3912
|
+
|
|
3913
|
+
declare class OrderStatusBadgeComponent {
|
|
3914
|
+
protected transloco: TranslocoService;
|
|
3915
|
+
order: Order | RecentOrder;
|
|
3916
|
+
size: BadgeSize;
|
|
3917
|
+
constructor(transloco: TranslocoService);
|
|
3918
|
+
protected get statusColors(): {
|
|
3919
|
+
text: string;
|
|
3920
|
+
bg: string;
|
|
3921
|
+
};
|
|
3922
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderStatusBadgeComponent, never>;
|
|
3923
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderStatusBadgeComponent, "order-status-badge", never, { "order": { "alias": "order"; "required": true; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
3924
|
+
}
|
|
3925
|
+
|
|
3926
|
+
declare class OrderItemTypeBadgeComponent {
|
|
3927
|
+
protected transloco: TranslocoService;
|
|
3928
|
+
item: OrderItem;
|
|
3929
|
+
size: BadgeSize;
|
|
3930
|
+
constructor(transloco: TranslocoService);
|
|
3931
|
+
protected get statusColors(): {
|
|
3932
|
+
text: string;
|
|
3933
|
+
bg: string;
|
|
3934
|
+
};
|
|
3935
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderItemTypeBadgeComponent, never>;
|
|
3936
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderItemTypeBadgeComponent, "order-item-type-badge", never, { "item": { "alias": "item"; "required": true; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
3937
|
+
}
|
|
3938
|
+
|
|
3939
|
+
declare class OrderItemsComponent {
|
|
3940
|
+
private ticketQrModalService;
|
|
3941
|
+
order: Order;
|
|
3942
|
+
constructor(ticketQrModalService: TicketQrModalService);
|
|
3943
|
+
protected get orderItems(): Order['order_items'];
|
|
3944
|
+
protected get products(): Order['order_items'];
|
|
3945
|
+
protected get tickets(): Order['order_items'];
|
|
3946
|
+
protected get giftBonds(): Order['order_items'];
|
|
3947
|
+
protected get corporateBonds(): Order['order_items'];
|
|
3948
|
+
protected get showActionColumn(): boolean;
|
|
3949
|
+
protected itemTotal(quantity: number, price: number): number;
|
|
3950
|
+
protected hasDiscount(): boolean;
|
|
3951
|
+
protected get totals(): {
|
|
3952
|
+
giftBonds: number;
|
|
3953
|
+
corporateBonds: number;
|
|
3954
|
+
products: number;
|
|
3955
|
+
tickets: number;
|
|
3956
|
+
};
|
|
3957
|
+
openTicketQr(ticketUuid: string, description: string): void;
|
|
3958
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderItemsComponent, never>;
|
|
3959
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderItemsComponent, "order-items", never, { "order": { "alias": "order"; "required": true; }; }, {}, never, never, true, never>;
|
|
3960
|
+
}
|
|
3961
|
+
|
|
3962
|
+
declare class OrderDiscountAppliedComponent {
|
|
3963
|
+
order: Order;
|
|
3964
|
+
protected get discountInfo(): OrderDiscountInfo;
|
|
3965
|
+
protected get hasDiscount(): boolean;
|
|
3966
|
+
protected get discountPercentage(): number | null;
|
|
3967
|
+
protected get badgeColors(): {
|
|
3968
|
+
text: string;
|
|
3969
|
+
bg: string;
|
|
3970
|
+
};
|
|
3971
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderDiscountAppliedComponent, never>;
|
|
3972
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderDiscountAppliedComponent, "order-discount-applied", never, { "order": { "alias": "order"; "required": true; }; }, {}, never, never, true, never>;
|
|
3973
|
+
}
|
|
3974
|
+
|
|
3975
|
+
interface BillingField {
|
|
3976
|
+
label: string;
|
|
3977
|
+
value: string | number | null;
|
|
3978
|
+
}
|
|
3979
|
+
declare class OrderBillingInfoComponent {
|
|
3980
|
+
order: Order;
|
|
3981
|
+
protected get fields(): BillingField[];
|
|
3982
|
+
protected get hasFields(): boolean;
|
|
3983
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderBillingInfoComponent, never>;
|
|
3984
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderBillingInfoComponent, "order-billing-info", never, { "order": { "alias": "order"; "required": true; }; }, {}, never, never, true, never>;
|
|
3985
|
+
}
|
|
3986
|
+
|
|
3987
|
+
declare class OrderTransactionsComponent {
|
|
3988
|
+
private transactionDetailsModalService;
|
|
3989
|
+
order: Order;
|
|
3990
|
+
constructor(transactionDetailsModalService: OrderTransactionDetailsModalService);
|
|
3991
|
+
protected get transactions(): Transaction[];
|
|
3992
|
+
protected get hasTransactions(): boolean;
|
|
3993
|
+
protected get txColors(): Record<string, {
|
|
3994
|
+
text: string;
|
|
3995
|
+
bg: string;
|
|
3996
|
+
}>;
|
|
3997
|
+
protected openTransaction(transaction: Transaction): void;
|
|
3998
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderTransactionsComponent, never>;
|
|
3999
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderTransactionsComponent, "order-transactions", never, { "order": { "alias": "order"; "required": true; }; }, {}, never, never, true, never>;
|
|
4000
|
+
}
|
|
4001
|
+
|
|
4002
|
+
declare class OrderTransactionDetailsModalComponent {
|
|
4003
|
+
private modalService;
|
|
4004
|
+
isOpen: WritableSignal<boolean> | null;
|
|
4005
|
+
transaction: Transaction | null;
|
|
4006
|
+
get modalIsOpen(): WritableSignal<boolean>;
|
|
4007
|
+
get selectedTransaction(): WritableSignal<Transaction | null>;
|
|
4008
|
+
protected get txColors(): Record<TransactionStatus, {
|
|
4009
|
+
text: string;
|
|
4010
|
+
bg: string;
|
|
4011
|
+
}>;
|
|
4012
|
+
protected get gatewayResponse(): string;
|
|
4013
|
+
onClose(): void;
|
|
4014
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderTransactionDetailsModalComponent, never>;
|
|
4015
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderTransactionDetailsModalComponent, "order-transaction-details-modal", never, { "isOpen": { "alias": "isOpen"; "required": false; }; "transaction": { "alias": "transaction"; "required": false; }; }, {}, never, never, true, never>;
|
|
4016
|
+
}
|
|
4017
|
+
|
|
4018
|
+
declare class TicketQrComponent implements OnInit, OnDestroy {
|
|
4019
|
+
private ticketQrService;
|
|
4020
|
+
private platformId;
|
|
4021
|
+
ticketUuid: string;
|
|
4022
|
+
qrCanvas: ElementRef<HTMLCanvasElement>;
|
|
4023
|
+
loading: i0.WritableSignal<boolean>;
|
|
4024
|
+
error: i0.WritableSignal<boolean>;
|
|
4025
|
+
refreshing: i0.WritableSignal<boolean>;
|
|
4026
|
+
countdown: i0.WritableSignal<number>;
|
|
4027
|
+
private destroy$;
|
|
4028
|
+
private refreshTimeout;
|
|
4029
|
+
private countdownInterval;
|
|
4030
|
+
private isFetching;
|
|
4031
|
+
constructor(ticketQrService: TicketQrService, platformId: Object);
|
|
4032
|
+
ngOnInit(): void;
|
|
4033
|
+
ngOnDestroy(): void;
|
|
4034
|
+
private onVisibilityChange;
|
|
4035
|
+
private onFocus;
|
|
4036
|
+
private refreshFromReenter;
|
|
4037
|
+
retry(): void;
|
|
4038
|
+
private clearTimers;
|
|
4039
|
+
private fetchAndRender;
|
|
4040
|
+
private scheduleRefresh;
|
|
4041
|
+
private startCountdown;
|
|
4042
|
+
private renderQr;
|
|
4043
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketQrComponent, never>;
|
|
4044
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketQrComponent, "performance-ticket-qr", never, { "ticketUuid": { "alias": "ticketUuid"; "required": true; }; }, {}, never, never, true, never>;
|
|
4045
|
+
}
|
|
4046
|
+
|
|
4047
|
+
declare class TicketQrModalComponent {
|
|
4048
|
+
private ticketQrModalService;
|
|
4049
|
+
constructor(ticketQrModalService: TicketQrModalService);
|
|
4050
|
+
get isOpen(): i0.WritableSignal<boolean>;
|
|
4051
|
+
get ticketUuid(): i0.WritableSignal<string | null>;
|
|
4052
|
+
get ticketDescription(): i0.WritableSignal<string | null>;
|
|
4053
|
+
onClose(): void;
|
|
4054
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketQrModalComponent, never>;
|
|
4055
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketQrModalComponent, "ticket-qr-modal", never, {}, {}, never, never, true, never>;
|
|
4056
|
+
}
|
|
4057
|
+
|
|
4058
|
+
declare class VipBalanceCardComponent {
|
|
4059
|
+
card: VipCard | null;
|
|
4060
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VipBalanceCardComponent, never>;
|
|
4061
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VipBalanceCardComponent, "vip-balance-card", never, { "card": { "alias": "card"; "required": false; }; }, {}, never, never, true, never>;
|
|
4062
|
+
}
|
|
4063
|
+
|
|
4064
|
+
declare class VipCardStatusBadgeComponent {
|
|
4065
|
+
protected readonly tranloco: TranslocoService;
|
|
4066
|
+
card: VipCard;
|
|
4067
|
+
get statusColor(): BadgeColor;
|
|
4068
|
+
get statusTranslationKey(): string;
|
|
4069
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VipCardStatusBadgeComponent, never>;
|
|
4070
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VipCardStatusBadgeComponent, "vip-card-status-badge", never, { "card": { "alias": "card"; "required": true; }; }, {}, never, never, true, never>;
|
|
4071
|
+
}
|
|
4072
|
+
|
|
4073
|
+
declare class VipRechargeModalComponent {
|
|
4074
|
+
private fb;
|
|
4075
|
+
protected transloco: TranslocoService;
|
|
4076
|
+
title: string;
|
|
4077
|
+
submitLabel: string;
|
|
4078
|
+
loading: boolean;
|
|
4079
|
+
amountStep: number;
|
|
4080
|
+
minAmount: number;
|
|
4081
|
+
maxAmount: number;
|
|
4082
|
+
isOpen: WritableSignal<boolean>;
|
|
4083
|
+
closeModal: EventEmitter<void>;
|
|
4084
|
+
confirm: EventEmitter<{
|
|
4085
|
+
amount: number;
|
|
4086
|
+
payment_method: string;
|
|
4087
|
+
}>;
|
|
4088
|
+
rechargeForm: FormGroup;
|
|
4089
|
+
paymentMethodOptions: {
|
|
4090
|
+
label: string;
|
|
4091
|
+
value: string;
|
|
4092
|
+
}[];
|
|
4093
|
+
constructor(fb: FormBuilder, transloco: TranslocoService);
|
|
4094
|
+
onClose(): void;
|
|
4095
|
+
onSubmit(): void;
|
|
4096
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VipRechargeModalComponent, never>;
|
|
4097
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VipRechargeModalComponent, "vip-recharge-modal", never, { "title": { "alias": "title"; "required": false; }; "submitLabel": { "alias": "submitLabel"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "amountStep": { "alias": "amountStep"; "required": false; }; "minAmount": { "alias": "minAmount"; "required": false; }; "maxAmount": { "alias": "maxAmount"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; }, { "closeModal": "closeModal"; "confirm": "confirm"; }, never, never, true, never>;
|
|
4098
|
+
}
|
|
4099
|
+
|
|
4100
|
+
declare class VipTransactionsTableComponent {
|
|
4101
|
+
transactions: VipTransaction[];
|
|
4102
|
+
loading: boolean;
|
|
4103
|
+
typeLabel(type: VipTransactionType): string;
|
|
4104
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VipTransactionsTableComponent, never>;
|
|
4105
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VipTransactionsTableComponent, "vip-transactions-table", never, { "transactions": { "alias": "transactions"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, {}, never, never, true, never>;
|
|
4106
|
+
}
|
|
4107
|
+
|
|
4108
|
+
export { ADMIN_API_ROUTES, ALERT_ICONS, AdminSelectComponent, AdminService, ApiService, AppAlertComponent, AppBadgeComponent, AppBreadcumbComponent, AppButtonComponent, AppLinkButtonComponent, AppModalComponent, AsyncSelectComponent, AuditInformationComponent, BASE_BUTTON_CLASSES, BASE_INPUT_CLASSES, BUTTON_SIZES_CLASSES, BUTTON_VARIANT_CLASSES, BaseModalService, CITY_API_ENDPOINTS, COUNTRY_API_ENDPOINTS, CUSTOMERS_API_ROUTES, ChangePasswordFormComponent, ChangePasswordFormService, CitiesService, CitySelectComponent, ColorPickerComponent, ConfirmationOrderModalComponent, ConfirmationOrderModalService, CorporateBondStatus, CountrySelectComponent, CountryService, CouponApplicability, CouponDiscountType, CouponStatus, CreatorType, CustomerSelectComponent, CustomerService, DEFAULT_STAGE_CONFIG, DOCUMENT_TYPES_OPTIONS, DateInputComponent, DateService, DaySelectorGridComponent, DeleteConfirmationComponent, DeleteConfirmationService, DynamicTableComponent, ERROR_INPUT_CLASSES, EndDateGreaterThanStartValidator, FORM_ERROR_MESSAGES, FeedbackModalComponent, FeedbackModalService, FileType, FileUploadComponent, FileUploadPreviewComponent, FormEditorComponent, FormInputComponent, FormSelectComponent, FormTextareaComponent, GiftBondPurchaseStatus, GiftBondStatus, KONVA_SHAPE_MAPPINGS, LanguageSwitcherComponent, MembershipStatus, MinTodayValidator, MustMatchValidator, NumberInputComponent, ORDER_DISCOUNT_COLORS, ORDER_ITEM_TYPES_COLORS, ORDER_STATUS_COLORS, OrderBillingInfoComponent, OrderDiscountAppliedComponent, OrderInformationComponent, OrderItemType, OrderItemTypeBadgeComponent, OrderItemsComponent, OrderStatus, OrderStatusBadgeComponent, OrderTransactionDetailsModalComponent, OrderTransactionDetailsModalService, OrderTransactionsComponent, PAYMENT_METHODS_OPTIONS, PERFORMANCES_API_ROUTES, PERFORMANCE_STATUS_COLORS, PERFORMANCE_TICKET_STATUS_COLORS, PHONE_COUNTRIES, PRICE_ZONES_API_ROUTES, PRODUCTS_API_ROUTES, PRODUCT_CATEGORIES_API_ROUTES, PRODUCT_TAGS_API_ROUTES, PRODUCT_TYPES_API_ROUTES, PaymentMethod, PerformanceBookingDataService, PerformanceCardComponent, PerformanceCardListComponent, PerformanceMultiSelectComponent, PerformanceSelectComponent, PerformanceService, PerformanceStatus, PerformanceStatusBadgeComponent, PerformanceStepperComponent, PerformanceTicketMapComponent, PerformanceTicketStatus, PerformanceTicketStatusBadgeComponent, PerformancesListEventsService, PhoneInputComponent, PriceZoneEventService, PriceZoneFormModalService, PriceZoneSelectComponent, PriceZoneService, ProductCategoryService, ProductMultiSelectComponent, ProductSelectComponent, ProductService, ProductTagService, ProductTypeService, RoomMapElementOrientation, RoomMapElementType, SHOWS_API_ROUTES, SHOW_TYPE_COLORS, STATE_API_ENDPOINTS, SeatSelectionEmptySummaryComponent, SeatSelectionSummaryComponent, SeatSelectionSummaryItemComponent, SelectedDiscountCardType, ShowCardComponent, ShowCardSkeletonComponent, ShowMultiSelectComponent, ShowSelectComponent, ShowService, ShowType, ShowTypeBadgeComponent, ShowsFilterComponent, StateSelectComponent, StatesService, TICKERA_COMPONENTS_CONFIG, TICKET_ELEMENT_TYPES, TICKET_MAP_GRID_SIZE, TICKET_MAP_LAST_TICKETS_LIMIT, TICKET_MAP_TITLE_HEIGHT, TICKET_STATUS_COLORS, TICKET_STATUS_FILLS, TICKET_STATUS_LABELS, TIcketMapProductSelectionComponent, TRANSACTION_STATUS_COLORS, TextExpandableComponent, TickeraTranslocoLoader, TicketMapFloorSelectorComponent, TicketMapPriceZonesComponent, TicketMapProductSelectionItemComponent, TicketMapTotalsComponent, TicketMapWidgetComponent, TicketMapWidgetHeaderComponent, TicketMapWrapperComponent, TicketMapZoomControlsComponent, TicketMapZoomService, TicketQrComponent, TicketQrModalComponent, TicketQrModalService, TicketQrService, TicketSelectionDetailsService, TicketSelectionDiscountService, TicketSelectionService, TicketSelectionTotalsService, ToastService, ToggleSwitchComponent, TransactionStatus, VENUES_API_ROUTES, VIP_CARDS_API_ROUTES, VipBalanceCardComponent, VipCardService, VipCardStatus, VipCardStatusBadgeComponent, VipRechargeModalComponent, VipTransactionType, VipTransactionsTableComponent, ZonePriceItemComponent, ZonePriceListComponent, authInterceptor, drawChairIcon, drawHappyFace, drawRoundedRect, drawWheelchairIcon, emailValidator, findElementAtPosition, findTicketAtPosition, formatCitiesResponseToSelect, generateExitScene, generateHallwayScene, generateProductionAreaScene, generateSeatBlockScene, generateSeatBlockTicketScene, generateStageScene, generateStairScene, generateTableScene, generateTableTicketScene, generateUnavailableSpaceScene, generateZoneScene, getBrowserLanguage, getCustomerFullname, getItemTypeIcon, getOrderDiscount, getStoredLanguage, numberToLetter, parseJsonToFormDataAdvanced, phoneCountryFlag, processElementsToRenderData, provideTickeraComponents, resolveLanguage, setStoredLanguage, tintColor, transformImageToFile, transformUrlParams };
|
|
4109
|
+
export type { ActivateVipCardParams, Admin, AdminsResponse, AsyncSelectConfig, Auditable, BadgeColor, BadgeSize, BreadcrumbStep, BreadcrumbTheme, CitiesResponse, City, CityResponse, CommonFetchAllParams, CorporateBond, CorporateBondCode, CorporateBondResponse, CountriesResponse, Country, CountryResponse, Coupon, CouponResponse, Customer, CustomerResponse, CustomersResponse, DailyPerformanceHall, DailyPerformanceItem, DailyPerformancePriceZone, DailyPerformanceShow, DailyPerformanceVenue, DailyPerformancesResponse, DeleteConfirmationOpen, DragDropEvent, DynamicTableHeader, ElementPropertiesTab, ElementRenderData, FeedbackModalElement, FeedbackModalType, FetchAdminsParams, FetchCitiesParams, FetchCountriesParams, FetchCustomersParams, FetchDailyPerformancesParams, FetchProductCategoriesParams, FetchProductTagsParams, FetchProductTypesParams, FetchProductsParams, FetchShowCategoriesParams, FetchShowGendersParams, FetchShowsParams, FetchStatesParams, FetchVipCardsParams, FileUploadConfig, FindAllPerformancesParams, FindAllPriceZoneParams, GiftBond, GiftBondImage, GiftBondPurchase, GiftBondPurchaseResponse, GiftBondPurchasesResponse, GiftBondResponse, GiftBondsResponse, Hall, HallFloor, HallFloorOption, KonvaShapeConfig, Membership, MercadoPagoPreference, ModalSize, NumerationConfig, Order, OrderBillingInfo, OrderDiscountInfo, OrderDiscountType, OrderItem, OrderResponse, OrdersResponse, Performance, PerformanceAvailableDay, PerformanceBookingDataResponse, PerformanceResponse, PerformanceTicket, PerformancesAvailableDaysResponse, PerformancesResponseInterface, PhoneCountry, PriceZone, PriceZoneResponse, PriceZoneUpdateResponse, PriceZonesResponseInterface, Product, ProductCategoriesResponse, ProductCategory, ProductCategoryResponse, ProductImage, ProductResponse, ProductTag, ProductTagResponse, ProductTagsResponse, ProductTaxonomy, ProductType, ProductTypeResponse, ProductTypesResponse, ProductsResponseInterface, QrTokenData, QrTokenResponse, RecentOrder, RecentRoomMap, ReservePerformanceDto, RoomMap, RoomMapBaseElement, RoomMapCanvasConfiguration, RoomMapCanvasElement, RoomMapChairPosition, RoomMapElementTemplate, RoomMapExitElement, RoomMapGridPosition, RoomMapPosition, RoomMapProductionAreaElement, RoomMapSeatDisplayState, RoomMapSeatElement, RoomMapSeatState, RoomMapSize, RoomMapStageElement, RoomMapTableElement, RoomMapUnavailableElement, RoomMapZoneElement, SelectOption, SelectedDiscountCard, Show, ShowCategoriesResponse, ShowCategory, ShowCategoryResponse, ShowGender, ShowGenderResponse, ShowGendersResponse, ShowImage, ShowResponse, ShowsResponseInterface, State, StateResponse, StatesResponse, TextFontSize, TickeraComponentsConfig, TicketMapSeatPosition, TicketMapTableChairPosition, TicketMapTooltipData, TicketMapZoneQuantityState, TicketMapZoomConfig, Transaction, UploadedFile, ValidateCorporateBondResponse, ValidateCouponResponse, ValidateGiftBondResponse, Venue, VenueImage, VipCard, VipCardResponse, VipCardsResponse, VipCategorySnapshot, VipOrderResponse, VipTransaction, VipTransactionsResponse };
|