tickera-angular-components 0.0.1-dev.16 → 0.0.1-dev.160
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 +2155 -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,141 @@ interface PerformanceTicket {
|
|
|
914
1345
|
presale_price: number | null;
|
|
915
1346
|
status: PerformanceTicketStatus;
|
|
916
1347
|
reserved_until: Date | null;
|
|
1348
|
+
order: Order | null;
|
|
917
1349
|
order_id: number | null;
|
|
918
1350
|
customer_id: number | null;
|
|
919
1351
|
checked_in: boolean;
|
|
920
1352
|
checked_in_at: Date | null;
|
|
1353
|
+
checked_in_by: number | null;
|
|
1354
|
+
checked_in_by_admin: Admin | null;
|
|
921
1355
|
order_items: OrderItem[];
|
|
922
1356
|
element_qty?: number;
|
|
923
|
-
|
|
924
|
-
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
interface TicketMapSeatPosition {
|
|
1360
|
+
rowIndex: number;
|
|
1361
|
+
colIndex: number;
|
|
1362
|
+
seatLabel: string;
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
interface TicketMapTableChairPosition {
|
|
1366
|
+
index: number;
|
|
1367
|
+
angle: number;
|
|
1368
|
+
x: number;
|
|
1369
|
+
y: number;
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
interface ElementRenderData {
|
|
1373
|
+
elementId: number;
|
|
1374
|
+
hallFloorId: number | null;
|
|
1375
|
+
type: RoomMapElementType;
|
|
1376
|
+
shapeConfig: Record<string, any>;
|
|
1377
|
+
tickets: PerformanceTicket[];
|
|
1378
|
+
ticketByNumeration: Map<string, PerformanceTicket>;
|
|
1379
|
+
elementName: string;
|
|
1380
|
+
seatPositions?: TicketMapSeatPosition[][];
|
|
1381
|
+
chairPositions?: TicketMapTableChairPosition[];
|
|
1382
|
+
zoneCapacity?: number;
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
interface TicketMapTooltipData {
|
|
1386
|
+
x: number;
|
|
1387
|
+
y: number;
|
|
1388
|
+
elementName: string;
|
|
1389
|
+
seatLabel: string | null;
|
|
1390
|
+
price: number;
|
|
1391
|
+
status: PerformanceTicketStatus;
|
|
1392
|
+
statusLabel: string;
|
|
1393
|
+
statusColor: string;
|
|
1394
|
+
isSelected: boolean;
|
|
1395
|
+
ticketId: number;
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
interface TicketMapZoneQuantityState {
|
|
1399
|
+
elementId: number;
|
|
1400
|
+
selectedCount: number;
|
|
1401
|
+
maxCapacity: number;
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
interface ReservePerformanceDto {
|
|
1405
|
+
ticket_ids: number[];
|
|
1406
|
+
products?: {
|
|
1407
|
+
id: number;
|
|
1408
|
+
quantity: number;
|
|
1409
|
+
}[];
|
|
1410
|
+
coupon_code?: string;
|
|
1411
|
+
gift_bond_code?: string;
|
|
1412
|
+
corporate_bond_code?: string;
|
|
1413
|
+
payment_method?: string;
|
|
1414
|
+
billing?: {
|
|
1415
|
+
first_name: string;
|
|
1416
|
+
last_name: string;
|
|
1417
|
+
email: string;
|
|
1418
|
+
mobile: string;
|
|
1419
|
+
document_type: string;
|
|
1420
|
+
document_number: string;
|
|
1421
|
+
address: string;
|
|
1422
|
+
city_id: number;
|
|
1423
|
+
postal_code?: string;
|
|
1424
|
+
address_notes?: string;
|
|
1425
|
+
terms_accepted: boolean;
|
|
1426
|
+
data_processing_accepted: boolean;
|
|
1427
|
+
comments?: string;
|
|
1428
|
+
};
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
interface TicketMapZoomConfig {
|
|
1432
|
+
minZoom: number;
|
|
1433
|
+
maxZoom: number;
|
|
1434
|
+
zoomStep: number;
|
|
1435
|
+
scaleBy: number;
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
interface HallFloorOption {
|
|
1439
|
+
id: number | null;
|
|
1440
|
+
name: string;
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
declare enum SelectedDiscountCardType {
|
|
1444
|
+
COUPON = "COUPON",
|
|
1445
|
+
CORPORATE_BOND = "CORPORATE_BOND",
|
|
1446
|
+
GIFT_BOND = "GIFT_BOND"
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
interface SelectedDiscountCard {
|
|
1450
|
+
name: string;
|
|
1451
|
+
type: SelectedDiscountCardType;
|
|
1452
|
+
value: number;
|
|
1453
|
+
discountType: 'percentage' | 'fixed';
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1456
|
+
interface FetchShowsParams extends CommonFetchAllParams {
|
|
1457
|
+
date?: string;
|
|
1458
|
+
sort_by?: 'show.id' | 'show.created_at' | 'show.title' | 'show.slug' | 'show.type_of_costs' | 'show.pulep' | 'show_category.name' | 'show_gender.name';
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
interface ShowResponse {
|
|
1462
|
+
statusCode: number;
|
|
1463
|
+
data: Show;
|
|
1464
|
+
message: string;
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
interface ShowsResponseInterface {
|
|
1468
|
+
statusCode: number;
|
|
1469
|
+
data: {
|
|
1470
|
+
shows: Show[];
|
|
1471
|
+
total: number;
|
|
1472
|
+
};
|
|
1473
|
+
message: string;
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
interface FindAllPerformancesParams {
|
|
1477
|
+
roomMapId?: number;
|
|
1478
|
+
showId?: number;
|
|
1479
|
+
hallId?: number;
|
|
1480
|
+
page?: number;
|
|
1481
|
+
search?: string;
|
|
1482
|
+
limit?: number;
|
|
925
1483
|
}
|
|
926
1484
|
|
|
927
1485
|
interface PerformanceBookingDataResponse {
|
|
@@ -935,6 +1493,12 @@ interface PerformanceBookingDataResponse {
|
|
|
935
1493
|
message: string;
|
|
936
1494
|
}
|
|
937
1495
|
|
|
1496
|
+
interface PerformanceResponse {
|
|
1497
|
+
statusCode: number;
|
|
1498
|
+
data: Performance;
|
|
1499
|
+
message: string;
|
|
1500
|
+
}
|
|
1501
|
+
|
|
938
1502
|
interface PerformanceAvailableDay {
|
|
939
1503
|
date: string;
|
|
940
1504
|
count: number;
|
|
@@ -947,6 +1511,15 @@ interface PerformancesAvailableDaysResponse {
|
|
|
947
1511
|
message: string;
|
|
948
1512
|
}
|
|
949
1513
|
|
|
1514
|
+
interface PerformancesResponseInterface {
|
|
1515
|
+
statusCode: number;
|
|
1516
|
+
data: {
|
|
1517
|
+
performances: Performance[];
|
|
1518
|
+
total: number;
|
|
1519
|
+
};
|
|
1520
|
+
message: string;
|
|
1521
|
+
}
|
|
1522
|
+
|
|
950
1523
|
interface DailyPerformanceHall {
|
|
951
1524
|
name: string | null;
|
|
952
1525
|
}
|
|
@@ -999,12 +1572,31 @@ interface FetchDailyPerformancesParams {
|
|
|
999
1572
|
limit?: number;
|
|
1000
1573
|
}
|
|
1001
1574
|
|
|
1575
|
+
interface FetchProductsParams extends CommonFetchAllParams {
|
|
1576
|
+
name?: string;
|
|
1577
|
+
category_id?: number;
|
|
1578
|
+
tag_id?: number;
|
|
1579
|
+
type_id?: number;
|
|
1580
|
+
min_price?: number;
|
|
1581
|
+
max_price?: number;
|
|
1582
|
+
min_stock?: number;
|
|
1583
|
+
max_stock?: number;
|
|
1584
|
+
sort_by?: 'product.id' | 'product.name' | 'product.price' | 'product.stock_quantity' | 'product.slug' | 'product.sku' | 'product.created_at' | 'category.name' | 'tag.name' | 'type.name';
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1002
1587
|
interface ProductResponse {
|
|
1003
1588
|
statusCode: number;
|
|
1004
1589
|
data: Product;
|
|
1005
1590
|
message: string;
|
|
1006
1591
|
}
|
|
1007
1592
|
|
|
1593
|
+
interface ProductTaxonomy extends Auditable {
|
|
1594
|
+
id: number;
|
|
1595
|
+
name: string;
|
|
1596
|
+
slug: string;
|
|
1597
|
+
selected?: boolean;
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1008
1600
|
interface ProductsResponseInterface {
|
|
1009
1601
|
statusCode: number;
|
|
1010
1602
|
data: {
|
|
@@ -1045,76 +1637,279 @@ interface FindAllPriceZoneParams {
|
|
|
1045
1637
|
limit?: number;
|
|
1046
1638
|
}
|
|
1047
1639
|
|
|
1048
|
-
interface
|
|
1640
|
+
interface CouponResponse {
|
|
1641
|
+
statusCode: number;
|
|
1642
|
+
data: Coupon;
|
|
1643
|
+
message: string;
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1646
|
+
interface ValidateCouponResponse {
|
|
1647
|
+
data: {
|
|
1648
|
+
coupon: Coupon;
|
|
1649
|
+
message: string;
|
|
1650
|
+
};
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
interface RecentOrder {
|
|
1049
1654
|
id: number;
|
|
1655
|
+
customer_name: string;
|
|
1656
|
+
event: string;
|
|
1657
|
+
total: number;
|
|
1658
|
+
status: string;
|
|
1050
1659
|
uuid: string;
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
interface RecentRoomMap {
|
|
1663
|
+
id: number;
|
|
1051
1664
|
name: string;
|
|
1052
|
-
|
|
1053
|
-
status: GiftBondStatus;
|
|
1054
|
-
value: number;
|
|
1055
|
-
customer: Customer;
|
|
1056
|
-
customer_id: number;
|
|
1665
|
+
capacity: number;
|
|
1057
1666
|
created_at: Date;
|
|
1058
1667
|
updated_at: Date;
|
|
1059
|
-
created_by: number;
|
|
1060
|
-
updated_by: number;
|
|
1061
1668
|
}
|
|
1062
1669
|
|
|
1063
|
-
interface
|
|
1670
|
+
interface QrTokenData {
|
|
1671
|
+
token: string;
|
|
1672
|
+
expires_at: string;
|
|
1673
|
+
refresh_in: number;
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1676
|
+
interface QrTokenResponse {
|
|
1064
1677
|
statusCode: number;
|
|
1065
|
-
data:
|
|
1678
|
+
data: QrTokenData;
|
|
1066
1679
|
message: string;
|
|
1067
1680
|
}
|
|
1068
1681
|
|
|
1069
|
-
interface
|
|
1070
|
-
|
|
1682
|
+
interface VipCategorySnapshot {
|
|
1683
|
+
membership_id: number;
|
|
1684
|
+
name: string;
|
|
1685
|
+
discount_percentage: number;
|
|
1686
|
+
service_fee_exempt: boolean;
|
|
1687
|
+
applicable_show_ids: number[] | null;
|
|
1688
|
+
excluded_show_ids: number[] | null;
|
|
1689
|
+
duration_days: number;
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1692
|
+
interface VipCard extends Auditable {
|
|
1693
|
+
id: number;
|
|
1694
|
+
uuid: string;
|
|
1695
|
+
customer: Customer;
|
|
1696
|
+
customer_id: number;
|
|
1697
|
+
membership: {
|
|
1698
|
+
id: number;
|
|
1699
|
+
name: string;
|
|
1700
|
+
} | null;
|
|
1701
|
+
membership_id: number;
|
|
1702
|
+
category_snapshot: VipCategorySnapshot;
|
|
1703
|
+
balance: number;
|
|
1704
|
+
status: VipCardStatus;
|
|
1705
|
+
activated_at: string | null;
|
|
1706
|
+
last_activity_at: string | null;
|
|
1707
|
+
expires_at: string | null;
|
|
1708
|
+
last_low_balance_alert_at: string | null;
|
|
1709
|
+
last_expiry_alert_at: string | null;
|
|
1710
|
+
}
|
|
1711
|
+
|
|
1712
|
+
interface VipTransaction {
|
|
1713
|
+
id: number;
|
|
1714
|
+
uuid: string;
|
|
1715
|
+
vip_card_id: number;
|
|
1716
|
+
type: VipTransactionType;
|
|
1717
|
+
amount: number;
|
|
1718
|
+
balance_before: number;
|
|
1719
|
+
balance_after: number;
|
|
1720
|
+
order: Order | null;
|
|
1721
|
+
order_id: number | null;
|
|
1722
|
+
description: string | null;
|
|
1723
|
+
created_at: string;
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1726
|
+
interface VipCardResponse {
|
|
1727
|
+
data: VipCard;
|
|
1728
|
+
}
|
|
1729
|
+
interface VipCardsResponse {
|
|
1071
1730
|
data: {
|
|
1072
|
-
|
|
1731
|
+
vip_cards: VipCard[];
|
|
1073
1732
|
total: number;
|
|
1074
1733
|
};
|
|
1075
|
-
message: string;
|
|
1076
1734
|
}
|
|
1077
|
-
|
|
1078
|
-
interface ValidateGiftBondResponse {
|
|
1735
|
+
interface VipTransactionsResponse {
|
|
1079
1736
|
data: {
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
code: string;
|
|
1083
|
-
bond?: GiftBond;
|
|
1737
|
+
transactions: VipTransaction[];
|
|
1738
|
+
total: number;
|
|
1084
1739
|
};
|
|
1085
|
-
|
|
1086
|
-
|
|
1740
|
+
}
|
|
1741
|
+
interface VipOrderResponse {
|
|
1742
|
+
data: Order;
|
|
1087
1743
|
}
|
|
1088
1744
|
|
|
1089
|
-
interface
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1745
|
+
interface Membership extends Auditable {
|
|
1746
|
+
id: number;
|
|
1747
|
+
name: string;
|
|
1748
|
+
description: string;
|
|
1749
|
+
benefits: string[] | null;
|
|
1750
|
+
price: number;
|
|
1751
|
+
duration_days: number;
|
|
1752
|
+
min_recharge: number;
|
|
1753
|
+
status: MembershipStatus;
|
|
1754
|
+
discount_percentage: number;
|
|
1755
|
+
service_fee_exempt: boolean;
|
|
1756
|
+
applicable_show_ids: number[] | null;
|
|
1757
|
+
excluded_show_ids: number[] | null;
|
|
1093
1758
|
}
|
|
1094
1759
|
|
|
1095
|
-
interface
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1760
|
+
interface FetchVipCardsParams extends CommonFetchAllParams {
|
|
1761
|
+
status?: VipCardStatus;
|
|
1762
|
+
membership_id?: number;
|
|
1763
|
+
customer_id?: number;
|
|
1764
|
+
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';
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
interface ActivateVipCardParams {
|
|
1768
|
+
customer_id: number;
|
|
1769
|
+
membership_id: number;
|
|
1770
|
+
amount: number;
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1773
|
+
declare const DOCUMENT_TYPES_OPTIONS: SelectOption[];
|
|
1774
|
+
|
|
1775
|
+
declare const PAYMENT_METHODS_OPTIONS: SelectOption[];
|
|
1776
|
+
declare const ORDER_STATUS_COLORS: Record<OrderStatus, {
|
|
1777
|
+
text: string;
|
|
1778
|
+
bg: string;
|
|
1779
|
+
}>;
|
|
1780
|
+
declare const ORDER_ITEM_TYPES_COLORS: Record<OrderItemType, {
|
|
1781
|
+
text: string;
|
|
1782
|
+
bg: string;
|
|
1783
|
+
}>;
|
|
1784
|
+
declare const ORDER_DISCOUNT_COLORS: Record<string, {
|
|
1785
|
+
text: string;
|
|
1786
|
+
bg: string;
|
|
1787
|
+
}>;
|
|
1788
|
+
declare const TRANSACTION_STATUS_COLORS: Record<TransactionStatus, {
|
|
1789
|
+
text: string;
|
|
1790
|
+
bg: string;
|
|
1791
|
+
}>;
|
|
1792
|
+
|
|
1793
|
+
declare const PERFORMANCE_TICKET_STATUS_COLORS: Record<PerformanceTicketStatus, {
|
|
1794
|
+
text: string;
|
|
1795
|
+
bg: string;
|
|
1796
|
+
}>;
|
|
1797
|
+
declare const PERFORMANCE_STATUS_COLORS: Record<PerformanceStatus, {
|
|
1798
|
+
text: string;
|
|
1799
|
+
bg: string;
|
|
1800
|
+
}>;
|
|
1801
|
+
|
|
1802
|
+
declare const TICKET_MAP_LAST_TICKETS_LIMIT = 10;
|
|
1803
|
+
declare const TICKET_ELEMENT_TYPES: RoomMapElementType[];
|
|
1804
|
+
declare const DEFAULT_STAGE_CONFIG: {
|
|
1805
|
+
[x: string]: any;
|
|
1806
|
+
};
|
|
1807
|
+
declare const TICKET_STATUS_COLORS: Record<PerformanceTicketStatus, string>;
|
|
1808
|
+
declare const TICKET_STATUS_FILLS: Record<PerformanceTicketStatus, string>;
|
|
1809
|
+
declare const TICKET_STATUS_LABELS: Record<PerformanceTicketStatus, string>;
|
|
1810
|
+
declare const TICKET_MAP_GRID_SIZE = 30;
|
|
1811
|
+
declare const TICKET_MAP_TITLE_HEIGHT = 30;
|
|
1812
|
+
|
|
1813
|
+
interface KonvaShapeConfig {
|
|
1814
|
+
config: ShapeConfig;
|
|
1815
|
+
layer: 'background' | 'elements' | 'foreground' | 'overlay';
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
declare function drawRoundedRect(con: Context, shape: Shape, x: number, y: number, width: number, height: number, cornerRadius: number): void;
|
|
1819
|
+
|
|
1820
|
+
declare const generateExitScene: (con: Context, shape: Shape) => void;
|
|
1821
|
+
|
|
1822
|
+
declare const generateHallwayScene: (con: Context, shape: Shape) => void;
|
|
1823
|
+
|
|
1824
|
+
declare const generateProductionAreaScene: (con: Context, shape: Shape) => void;
|
|
1825
|
+
|
|
1826
|
+
declare const generateSeatBlockScene: (con: Context, shape: Shape, numerationConfig?: {
|
|
1827
|
+
start_row_letter: string;
|
|
1828
|
+
row_order: "TOP_TO_BOTTOM" | "BOTTOM_TO_TOP";
|
|
1829
|
+
start_column_number: number;
|
|
1830
|
+
column_order: "LEFT_TO_RIGHT" | "RIGHT_TO_LEFT";
|
|
1831
|
+
}) => void;
|
|
1832
|
+
|
|
1833
|
+
declare const generateStageScene: (con: Context, shape: Shape) => void;
|
|
1834
|
+
|
|
1835
|
+
declare const generateStairScene: (con: Context, shape: Shape) => void;
|
|
1836
|
+
|
|
1837
|
+
declare const generateTableScene: (con: Context, shape: Shape) => void;
|
|
1838
|
+
|
|
1839
|
+
declare const generateUnavailableSpaceScene: (con: Context, shape: Shape) => void;
|
|
1840
|
+
|
|
1841
|
+
declare const generateZoneScene: (con: Context, shape: Shape) => void;
|
|
1842
|
+
|
|
1843
|
+
declare const KONVA_SHAPE_MAPPINGS: Record<RoomMapElementType, KonvaShapeConfig>;
|
|
1844
|
+
|
|
1845
|
+
declare const SHOW_TYPE_COLORS: Record<ShowType, {
|
|
1846
|
+
bg: string;
|
|
1847
|
+
text: string;
|
|
1848
|
+
}>;
|
|
1849
|
+
|
|
1850
|
+
declare const getCustomerFullname: (customer: Customer) => string;
|
|
1851
|
+
|
|
1852
|
+
type OrderDiscountType = 'coupon' | 'corporate_bond' | 'gift_bond';
|
|
1853
|
+
interface OrderDiscountInfo {
|
|
1854
|
+
type: OrderDiscountType | null;
|
|
1855
|
+
code: string | null;
|
|
1856
|
+
name: string | null;
|
|
1857
|
+
value: number;
|
|
1858
|
+
discountType: 'percentage' | 'fixed' | null;
|
|
1859
|
+
icon: string;
|
|
1100
1860
|
}
|
|
1861
|
+
declare function getOrderDiscount(order: Order): OrderDiscountInfo;
|
|
1862
|
+
|
|
1863
|
+
declare function parseJsonToFormDataAdvanced(imageGallery: any[]): FormData;
|
|
1864
|
+
|
|
1865
|
+
declare const transformImageToFile: (image: ShowImage | VenueImage) => UploadedFile;
|
|
1866
|
+
|
|
1867
|
+
declare const transformUrlParams: (params: any) => URLSearchParams;
|
|
1868
|
+
|
|
1869
|
+
declare const formatCitiesResponseToSelect: (res: CitiesResponse) => {
|
|
1870
|
+
value: number;
|
|
1871
|
+
label: string;
|
|
1872
|
+
}[];
|
|
1873
|
+
|
|
1874
|
+
declare function tintColor(hex: string, amount?: number): string;
|
|
1875
|
+
|
|
1876
|
+
declare const drawChairIcon: (con: Context, cx: number, cy: number, size: number) => void;
|
|
1877
|
+
|
|
1878
|
+
declare const drawHappyFace: (con: Context, cx: number, cy: number, size: number) => void;
|
|
1101
1879
|
|
|
1102
|
-
declare const
|
|
1880
|
+
declare const drawWheelchairIcon: (con: Context, shape: Shape, cx: number, cy: number, size: number, fillColor?: string, strokeColor?: string) => void;
|
|
1103
1881
|
|
|
1104
|
-
declare
|
|
1882
|
+
declare const numberToLetter: (num: number) => string;
|
|
1105
1883
|
|
|
1106
|
-
declare const
|
|
1884
|
+
declare const getItemTypeIcon: (ticket: PerformanceTicket) => string;
|
|
1107
1885
|
|
|
1108
|
-
declare const
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1886
|
+
declare const generateSeatBlockTicketScene: (con: Context, shape: Shape, numerationConfig?: {
|
|
1887
|
+
start_row_letter: string;
|
|
1888
|
+
row_order: "TOP_TO_BOTTOM" | "BOTTOM_TO_TOP";
|
|
1889
|
+
start_column_number: number;
|
|
1890
|
+
column_order: "LEFT_TO_RIGHT" | "RIGHT_TO_LEFT";
|
|
1891
|
+
}, ticketStatusMap?: Map<string, PerformanceTicketStatus>) => void;
|
|
1892
|
+
|
|
1893
|
+
declare const generateTableTicketScene: (con: Context, shape: Shape, chairTicketStatuses?: PerformanceTicketStatus[], tableSeats?: RoomMapSeatState[][]) => void;
|
|
1894
|
+
|
|
1895
|
+
declare function processElementsToRenderData(elements: RoomMapElementTemplate[], tickets: PerformanceTicket[], priceZones?: {
|
|
1896
|
+
id: number;
|
|
1897
|
+
color: string;
|
|
1898
|
+
}[]): ElementRenderData[];
|
|
1899
|
+
declare function findTicketAtPosition(renderData: ElementRenderData, relX: number, relY: number): PerformanceTicket | null;
|
|
1900
|
+
declare function findElementAtPosition(renderDataList: ElementRenderData[], stageX: number, stageY: number): {
|
|
1901
|
+
element: ElementRenderData;
|
|
1902
|
+
relX: number;
|
|
1903
|
+
relY: number;
|
|
1904
|
+
} | null;
|
|
1112
1905
|
|
|
1113
1906
|
declare function MinTodayValidator(controlName: string): ValidatorFn;
|
|
1114
1907
|
declare function EndDateGreaterThanStartValidator(startDateControlName: string, endDateControlName: string): ValidatorFn;
|
|
1115
1908
|
|
|
1116
1909
|
declare function MustMatchValidator(controlName: string, matchingControlName: string): ValidatorFn;
|
|
1117
1910
|
|
|
1911
|
+
declare function emailValidator(): ValidatorFn;
|
|
1912
|
+
|
|
1118
1913
|
declare class ApiService {
|
|
1119
1914
|
private http;
|
|
1120
1915
|
private platformId;
|
|
@@ -1140,16 +1935,6 @@ declare class ToastService {
|
|
|
1140
1935
|
static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
|
|
1141
1936
|
}
|
|
1142
1937
|
|
|
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
1938
|
declare class DeleteConfirmationService {
|
|
1154
1939
|
title: WritableSignal<string>;
|
|
1155
1940
|
resourceName: WritableSignal<string>;
|
|
@@ -1193,7 +1978,7 @@ declare class DateService {
|
|
|
1193
1978
|
declare class AdminService {
|
|
1194
1979
|
private apiService;
|
|
1195
1980
|
constructor(apiService: ApiService);
|
|
1196
|
-
fetchAdmins(
|
|
1981
|
+
fetchAdmins(params: FetchAdminsParams): Observable<AdminsResponse>;
|
|
1197
1982
|
deleteOne(id: number): Observable<any>;
|
|
1198
1983
|
createOne(data: any): Observable<any>;
|
|
1199
1984
|
updateOne(id: number, data: any): Observable<any>;
|
|
@@ -1204,7 +1989,7 @@ declare class AdminService {
|
|
|
1204
1989
|
declare class CitiesService {
|
|
1205
1990
|
private apiService;
|
|
1206
1991
|
constructor(apiService: ApiService);
|
|
1207
|
-
fetchCities(
|
|
1992
|
+
fetchCities(params: FetchCitiesParams): Observable<CitiesResponse>;
|
|
1208
1993
|
createOne(data: City): Observable<CityResponse>;
|
|
1209
1994
|
updateOne(id: number, data: City): Observable<CityResponse>;
|
|
1210
1995
|
deleteOne(id: number): Observable<any>;
|
|
@@ -1215,7 +2000,7 @@ declare class CitiesService {
|
|
|
1215
2000
|
declare class CountryService {
|
|
1216
2001
|
private apiService;
|
|
1217
2002
|
constructor(apiService: ApiService);
|
|
1218
|
-
fetchCountries(
|
|
2003
|
+
fetchCountries(params: FetchCountriesParams): Observable<CountriesResponse>;
|
|
1219
2004
|
createOne(data: Country): Observable<CountryResponse>;
|
|
1220
2005
|
updateOne(id: number, data: Country): Observable<CountryResponse>;
|
|
1221
2006
|
deleteOne(id: number): Observable<any>;
|
|
@@ -1226,7 +2011,7 @@ declare class CountryService {
|
|
|
1226
2011
|
declare class StatesService {
|
|
1227
2012
|
private apiService;
|
|
1228
2013
|
constructor(apiService: ApiService);
|
|
1229
|
-
fetchStates(
|
|
2014
|
+
fetchStates(params: FetchStatesParams): Observable<StatesResponse>;
|
|
1230
2015
|
fetchStatesByCountryId(countryId: number): Observable<StatesResponse>;
|
|
1231
2016
|
createOne(data: State): Observable<StateResponse>;
|
|
1232
2017
|
updateOne(id: number, data: State): Observable<StateResponse>;
|
|
@@ -1240,7 +2025,7 @@ declare class PerformanceService {
|
|
|
1240
2025
|
private performancesSubject;
|
|
1241
2026
|
performances$: Observable<Performance[]>;
|
|
1242
2027
|
constructor(apiService: ApiService);
|
|
1243
|
-
fetchPerformances(showId
|
|
2028
|
+
fetchPerformances({ showId, roomMapId, hallId, search, page, limit, }: FindAllPerformancesParams): Observable<PerformancesResponseInterface>;
|
|
1244
2029
|
fetchDailyPerformances({ show_id, search, limit, date, }: FetchDailyPerformancesParams): Observable<DailyPerformancesResponse>;
|
|
1245
2030
|
loadPerformances({ showId, search }?: {
|
|
1246
2031
|
showId?: number;
|
|
@@ -1248,7 +2033,7 @@ declare class PerformanceService {
|
|
|
1248
2033
|
}): void;
|
|
1249
2034
|
getCurrentPerformances(): Performance[];
|
|
1250
2035
|
fetchOneById(id: number): Observable<PerformanceResponse>;
|
|
1251
|
-
fetchOneBookingData(id: number): Observable<PerformanceBookingDataResponse>;
|
|
2036
|
+
fetchOneBookingData(id: number, isAdmin?: boolean): Observable<PerformanceBookingDataResponse>;
|
|
1252
2037
|
fetchAvailableDays(params?: {
|
|
1253
2038
|
show_id?: number;
|
|
1254
2039
|
}): Observable<PerformancesAvailableDaysResponse>;
|
|
@@ -1278,25 +2063,6 @@ declare class PerformancesListEventsService {
|
|
|
1278
2063
|
static ɵprov: i0.ɵɵInjectableDeclaration<PerformancesListEventsService>;
|
|
1279
2064
|
}
|
|
1280
2065
|
|
|
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
2066
|
declare class ShowService {
|
|
1301
2067
|
private apiService;
|
|
1302
2068
|
private showsSubject;
|
|
@@ -1304,7 +2070,7 @@ declare class ShowService {
|
|
|
1304
2070
|
constructor(apiService: ApiService);
|
|
1305
2071
|
loadShows({ page, search }?: FetchShowsParams): void;
|
|
1306
2072
|
getCurrentShows(): Show[];
|
|
1307
|
-
fetchShows(
|
|
2073
|
+
fetchShows(params: FetchShowsParams): Observable<ShowsResponseInterface>;
|
|
1308
2074
|
fetchAvailableShows({ date, limit, page, search, }: FetchShowsParams): Observable<ShowsResponseInterface>;
|
|
1309
2075
|
fetchOneById(id: number): Observable<ShowResponse>;
|
|
1310
2076
|
createOne(data: Show): Observable<ShowResponse>;
|
|
@@ -1325,7 +2091,7 @@ declare class CustomerService {
|
|
|
1325
2091
|
private apiService;
|
|
1326
2092
|
constructor(apiService: ApiService);
|
|
1327
2093
|
createOne(data: Customer): Observable<CustomerResponse>;
|
|
1328
|
-
fetchCustomers(
|
|
2094
|
+
fetchCustomers(params: FetchCustomersParams): Observable<CustomersResponse>;
|
|
1329
2095
|
fetchOneById(id: number): Observable<CustomerResponse>;
|
|
1330
2096
|
updateOne(id: number, data: any): Observable<CustomerResponse>;
|
|
1331
2097
|
deleteOne(id: number): Observable<any>;
|
|
@@ -1377,6 +2143,353 @@ declare class PriceZoneFormModalService {
|
|
|
1377
2143
|
static ɵprov: i0.ɵɵInjectableDeclaration<PriceZoneFormModalService>;
|
|
1378
2144
|
}
|
|
1379
2145
|
|
|
2146
|
+
declare class ProductCategoryService {
|
|
2147
|
+
private apiService;
|
|
2148
|
+
constructor(apiService: ApiService);
|
|
2149
|
+
fetchCategories(params: FetchProductCategoriesParams): Observable<ProductCategoriesResponse>;
|
|
2150
|
+
fetchOneById(id: number): Observable<ProductCategoryResponse>;
|
|
2151
|
+
createOne(data: ProductCategory): Observable<any>;
|
|
2152
|
+
updateOne(id: number, data: ProductCategory): Observable<ProductCategoryResponse>;
|
|
2153
|
+
deleteOne(id: number): Observable<any>;
|
|
2154
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductCategoryService, never>;
|
|
2155
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductCategoryService>;
|
|
2156
|
+
}
|
|
2157
|
+
|
|
2158
|
+
declare class ProductTagService {
|
|
2159
|
+
private apiService;
|
|
2160
|
+
constructor(apiService: ApiService);
|
|
2161
|
+
fetchTags(params: FetchProductTagsParams): Observable<ProductTagsResponse>;
|
|
2162
|
+
fetchOneById(id: number): Observable<ProductTagResponse>;
|
|
2163
|
+
createOne(data: ProductTag): Observable<any>;
|
|
2164
|
+
updateOne(id: number, data: ProductTag): Observable<ProductTagResponse>;
|
|
2165
|
+
deleteOne(id: number): Observable<any>;
|
|
2166
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductTagService, never>;
|
|
2167
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductTagService>;
|
|
2168
|
+
}
|
|
2169
|
+
|
|
2170
|
+
declare class ProductTypeService {
|
|
2171
|
+
private apiService;
|
|
2172
|
+
constructor(apiService: ApiService);
|
|
2173
|
+
fetchTypes(params: FetchProductTypesParams): Observable<ProductTypesResponse>;
|
|
2174
|
+
fetchOneById(id: number): Observable<ProductTypeResponse>;
|
|
2175
|
+
createOne(data: ProductType): Observable<any>;
|
|
2176
|
+
updateOne(id: number, data: ProductType): Observable<ProductTypeResponse>;
|
|
2177
|
+
deleteOne(id: number): Observable<any>;
|
|
2178
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductTypeService, never>;
|
|
2179
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductTypeService>;
|
|
2180
|
+
}
|
|
2181
|
+
|
|
2182
|
+
declare class ProductService {
|
|
2183
|
+
private apiService;
|
|
2184
|
+
private productsSubject;
|
|
2185
|
+
products$: Observable<Product[]>;
|
|
2186
|
+
constructor(apiService: ApiService);
|
|
2187
|
+
fetchProducts(params: FetchProductsParams): Observable<ProductsResponseInterface>;
|
|
2188
|
+
loadProducts(params: FetchProductsParams): void;
|
|
2189
|
+
getCurrentProducts(): Product[];
|
|
2190
|
+
fetchOneById(id: number): Observable<ProductResponse>;
|
|
2191
|
+
createOne(data: Product): Observable<any>;
|
|
2192
|
+
updateOne(id: number, data: any): Observable<ProductResponse>;
|
|
2193
|
+
deleteOne(id: number): Observable<any>;
|
|
2194
|
+
fetchImages(id: number): Observable<{
|
|
2195
|
+
data: ProductImage[];
|
|
2196
|
+
}>;
|
|
2197
|
+
uploadImages(id: number, files?: FormData): Observable<{
|
|
2198
|
+
data: ProductImage[];
|
|
2199
|
+
}>;
|
|
2200
|
+
deleteOneImage(productId: number, imageId: number): Observable<any>;
|
|
2201
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductService, never>;
|
|
2202
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductService>;
|
|
2203
|
+
}
|
|
2204
|
+
|
|
2205
|
+
declare class BaseModalService {
|
|
2206
|
+
readonly isOpen: WritableSignal<boolean>;
|
|
2207
|
+
get modalIsOpen(): WritableSignal<boolean>;
|
|
2208
|
+
open(): void;
|
|
2209
|
+
close(): void;
|
|
2210
|
+
}
|
|
2211
|
+
|
|
2212
|
+
declare class FeedbackModalService {
|
|
2213
|
+
private _modals;
|
|
2214
|
+
readonly modals: i0.Signal<FeedbackModalElement[]>;
|
|
2215
|
+
addModal(modal: FeedbackModalElement): void;
|
|
2216
|
+
removeModal(id: string): void;
|
|
2217
|
+
removeAllModals(): void;
|
|
2218
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FeedbackModalService, never>;
|
|
2219
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FeedbackModalService>;
|
|
2220
|
+
}
|
|
2221
|
+
|
|
2222
|
+
declare class OrderTransactionDetailsModalService {
|
|
2223
|
+
readonly isOpen: WritableSignal<boolean>;
|
|
2224
|
+
transaction: WritableSignal<Transaction | null>;
|
|
2225
|
+
get modalIsOpen(): WritableSignal<boolean>;
|
|
2226
|
+
open(transaction: Transaction): void;
|
|
2227
|
+
close(): void;
|
|
2228
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderTransactionDetailsModalService, never>;
|
|
2229
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OrderTransactionDetailsModalService>;
|
|
2230
|
+
}
|
|
2231
|
+
|
|
2232
|
+
declare class PerformanceBookingDataService {
|
|
2233
|
+
private _show;
|
|
2234
|
+
private _performance;
|
|
2235
|
+
private _roomMap;
|
|
2236
|
+
private _hallFloors;
|
|
2237
|
+
private _selectedHallFloor;
|
|
2238
|
+
private _allRenderData;
|
|
2239
|
+
private _visibleFloorIds;
|
|
2240
|
+
private _stageConfig;
|
|
2241
|
+
readonly show: i0.Signal<Show | null>;
|
|
2242
|
+
readonly hallFloors: i0.Signal<HallFloor[]>;
|
|
2243
|
+
readonly selectedHallFloor: i0.Signal<HallFloor | null>;
|
|
2244
|
+
readonly performance: i0.Signal<Performance | null>;
|
|
2245
|
+
readonly stageConfig: i0.Signal<{
|
|
2246
|
+
[x: string]: any;
|
|
2247
|
+
}>;
|
|
2248
|
+
readonly roomMap: i0.Signal<RoomMap | null>;
|
|
2249
|
+
readonly visibleFloorIds: i0.Signal<Set<number>>;
|
|
2250
|
+
readonly availableFloors: i0.Signal<HallFloor[]>;
|
|
2251
|
+
readonly renderData: i0.Signal<ElementRenderData[]>;
|
|
2252
|
+
setPerformanceBookingData({ data }: PerformanceBookingDataResponse): void;
|
|
2253
|
+
setRoomMap(roomMap: RoomMap | null): void;
|
|
2254
|
+
setAllRenderData(data: ElementRenderData[]): void;
|
|
2255
|
+
setPerformance(performance: Performance | null): void;
|
|
2256
|
+
setShow(show: Show | null): void;
|
|
2257
|
+
setHallFloors(data: HallFloor[]): void;
|
|
2258
|
+
setSelectedHallFloor(id: number): void;
|
|
2259
|
+
toggleFloorVisibility(floorId: number): void;
|
|
2260
|
+
isFloorVisible(floorId: number): boolean;
|
|
2261
|
+
updateStageConfig(data: {
|
|
2262
|
+
[x: string]: any;
|
|
2263
|
+
}): void;
|
|
2264
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceBookingDataService, never>;
|
|
2265
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PerformanceBookingDataService>;
|
|
2266
|
+
}
|
|
2267
|
+
|
|
2268
|
+
declare class TicketSelectionDetailsService {
|
|
2269
|
+
private _customerEmail;
|
|
2270
|
+
private _customerId;
|
|
2271
|
+
private _paymentMethod;
|
|
2272
|
+
private _billingInformation;
|
|
2273
|
+
readonly customerEmail: i0.Signal<string | null>;
|
|
2274
|
+
readonly customerId: i0.Signal<number | null>;
|
|
2275
|
+
readonly paymentMethod: i0.Signal<string | null>;
|
|
2276
|
+
readonly billingInformation: i0.Signal<Customer | null>;
|
|
2277
|
+
setCustomerEmail(email: string | null): void;
|
|
2278
|
+
setCustomerId(id: number | null): void;
|
|
2279
|
+
setPaymentMethod(method: string | null): void;
|
|
2280
|
+
setBillingInformation(values: Customer): void;
|
|
2281
|
+
clearSelection(): void;
|
|
2282
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketSelectionDetailsService, never>;
|
|
2283
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketSelectionDetailsService>;
|
|
2284
|
+
}
|
|
2285
|
+
|
|
2286
|
+
declare class TicketSelectionDiscountService {
|
|
2287
|
+
private _coupon;
|
|
2288
|
+
private _corporateBond;
|
|
2289
|
+
private _corporateBondCode;
|
|
2290
|
+
private _giftBond;
|
|
2291
|
+
private _giftBondCode;
|
|
2292
|
+
readonly coupon: Signal<Coupon | null>;
|
|
2293
|
+
readonly corporateBond: Signal<CorporateBond | null>;
|
|
2294
|
+
readonly corporateBondCode: Signal<string | null>;
|
|
2295
|
+
readonly giftBond: Signal<GiftBondPurchase | null>;
|
|
2296
|
+
readonly giftBondCode: Signal<string | null>;
|
|
2297
|
+
readonly selectedDiscount: Signal<SelectedDiscountCard | null>;
|
|
2298
|
+
readonly selectedDiscountType: Signal<SelectedDiscountCardType | undefined>;
|
|
2299
|
+
readonly selectedDiscountValue: Signal<number | undefined>;
|
|
2300
|
+
setCoupon(coupon: Coupon | null): void;
|
|
2301
|
+
setCorporateBond(corporateBond: CorporateBond | null): void;
|
|
2302
|
+
setCorporateBondCode(code: string | null): void;
|
|
2303
|
+
setGiftBond(giftBond: GiftBondPurchase | null): void;
|
|
2304
|
+
setGiftBondCode(code: string | null): void;
|
|
2305
|
+
clearSelection(): void;
|
|
2306
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketSelectionDiscountService, never>;
|
|
2307
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketSelectionDiscountService>;
|
|
2308
|
+
}
|
|
2309
|
+
|
|
2310
|
+
declare class TicketSelectionTotalsService {
|
|
2311
|
+
private bookingDataService;
|
|
2312
|
+
private selectionService;
|
|
2313
|
+
private selectionDiscountService;
|
|
2314
|
+
readonly selectedProductEntries: i0.Signal<{
|
|
2315
|
+
id: number;
|
|
2316
|
+
quantity: number;
|
|
2317
|
+
}[]>;
|
|
2318
|
+
readonly selectedProductCount: i0.Signal<number>;
|
|
2319
|
+
readonly productSubtotal: i0.Signal<number>;
|
|
2320
|
+
readonly ticketSubtotal: i0.Signal<number>;
|
|
2321
|
+
readonly serviceFee: i0.Signal<number>;
|
|
2322
|
+
readonly discountAmount: i0.Signal<number | null>;
|
|
2323
|
+
subtotalValue(): number;
|
|
2324
|
+
totalValue(): number;
|
|
2325
|
+
totalDiscounted(): number | null;
|
|
2326
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketSelectionTotalsService, never>;
|
|
2327
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketSelectionTotalsService>;
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2330
|
+
declare class TicketSelectionService {
|
|
2331
|
+
private bookingDataService;
|
|
2332
|
+
private feedbackModalService;
|
|
2333
|
+
private selectionDetailsService;
|
|
2334
|
+
private selectionDiscountService;
|
|
2335
|
+
private _zoneQuantities;
|
|
2336
|
+
private _allTickets;
|
|
2337
|
+
private _selectedTickets;
|
|
2338
|
+
private _selectedBlockedTickets;
|
|
2339
|
+
private _products;
|
|
2340
|
+
private _productQuantities;
|
|
2341
|
+
readonly selectedTickets: i0.Signal<PerformanceTicket[]>;
|
|
2342
|
+
readonly selectedBlockedTickets: i0.Signal<PerformanceTicket[]>;
|
|
2343
|
+
readonly selectedCount: i0.Signal<number>;
|
|
2344
|
+
readonly blockedSelectedCount: i0.Signal<number>;
|
|
2345
|
+
readonly selectedTicketIds: i0.Signal<Set<PerformanceTicket>>;
|
|
2346
|
+
readonly selectedBlockedTicketIds: i0.Signal<number[]>;
|
|
2347
|
+
readonly selectedTicketIdList: i0.Signal<number[]>;
|
|
2348
|
+
readonly products: i0.Signal<Product[]>;
|
|
2349
|
+
readonly productQuantities: i0.Signal<Map<number, number>>;
|
|
2350
|
+
readonly selectedProductEntries: i0.Signal<{
|
|
2351
|
+
id: number;
|
|
2352
|
+
quantity: number;
|
|
2353
|
+
}[]>;
|
|
2354
|
+
readonly selectedProductCount: i0.Signal<number>;
|
|
2355
|
+
readonly serviceFee: i0.Signal<number>;
|
|
2356
|
+
setTickets(tickets: PerformanceTicket[]): void;
|
|
2357
|
+
setProducts(products: Product[]): void;
|
|
2358
|
+
updateProductQuantity(productId: number, delta: number): void;
|
|
2359
|
+
getProductQuantity(productId: number): number;
|
|
2360
|
+
private getListByStatus;
|
|
2361
|
+
setSelectedTickets(tickets: PerformanceTicket[]): void;
|
|
2362
|
+
toggle(ticket: PerformanceTicket): void;
|
|
2363
|
+
select(ticket: PerformanceTicket): void;
|
|
2364
|
+
deselect(ticket: PerformanceTicket): void;
|
|
2365
|
+
clearBlockedSelection(): void;
|
|
2366
|
+
clearSelection(): void;
|
|
2367
|
+
isSelected(ticket: PerformanceTicket): boolean;
|
|
2368
|
+
initZoneQuantity(elementId: number, maxCapacity: number): void;
|
|
2369
|
+
adjustZoneQuantity(elementId: number, delta: number): void;
|
|
2370
|
+
getZoneTickets(elementId: number): PerformanceTicket[];
|
|
2371
|
+
buildTooltipData(ticket: PerformanceTicket, elementName: string, seatLabel: string | null, x: number, y: number): TicketMapTooltipData;
|
|
2372
|
+
buildReservePerformanceDto(paymentMethod?: string, termsAccepted?: boolean, dataProcessingAccepted?: boolean): ReservePerformanceDto;
|
|
2373
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketSelectionService, never>;
|
|
2374
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketSelectionService>;
|
|
2375
|
+
}
|
|
2376
|
+
|
|
2377
|
+
declare class TicketMapZoomService {
|
|
2378
|
+
readonly currentZoom: i0.WritableSignal<number>;
|
|
2379
|
+
private stage?;
|
|
2380
|
+
private bookingDataService;
|
|
2381
|
+
private readonly defaultConfig;
|
|
2382
|
+
constructor();
|
|
2383
|
+
/**
|
|
2384
|
+
* Set the Konva stage instance
|
|
2385
|
+
*/
|
|
2386
|
+
setStage(stage: Stage): void;
|
|
2387
|
+
/**
|
|
2388
|
+
* Zoom in by one step
|
|
2389
|
+
*/
|
|
2390
|
+
zoomIn(): void;
|
|
2391
|
+
/**
|
|
2392
|
+
* Zoom out by one step
|
|
2393
|
+
*/
|
|
2394
|
+
zoomOut(): void;
|
|
2395
|
+
/**
|
|
2396
|
+
* Reset zoom to 100%
|
|
2397
|
+
*/
|
|
2398
|
+
resetZoom(): void;
|
|
2399
|
+
/**
|
|
2400
|
+
* Get current zoom as percentage string
|
|
2401
|
+
*/
|
|
2402
|
+
getZoomPercentage(): string;
|
|
2403
|
+
/**
|
|
2404
|
+
* Get current zoom value
|
|
2405
|
+
*/
|
|
2406
|
+
getCurrentZoom(): number;
|
|
2407
|
+
/**
|
|
2408
|
+
* Apply zoom with center point
|
|
2409
|
+
*/
|
|
2410
|
+
private applyZoom;
|
|
2411
|
+
/**
|
|
2412
|
+
* Apply zoom scale with specific center point
|
|
2413
|
+
*/
|
|
2414
|
+
private applyZoomScale;
|
|
2415
|
+
/**
|
|
2416
|
+
* Handle mouse wheel zoom toward the cursor position
|
|
2417
|
+
*/
|
|
2418
|
+
handleWheelZoom(deltaY: number): void;
|
|
2419
|
+
/**
|
|
2420
|
+
* Fit the content bounds to fill the stage container
|
|
2421
|
+
*/
|
|
2422
|
+
fitToContainer(padding?: number): void;
|
|
2423
|
+
/**
|
|
2424
|
+
* Get current stage position
|
|
2425
|
+
*/
|
|
2426
|
+
getStagePosition(): {
|
|
2427
|
+
x: number;
|
|
2428
|
+
y: number;
|
|
2429
|
+
};
|
|
2430
|
+
/**
|
|
2431
|
+
* Set stage position (useful for programmatic panning)
|
|
2432
|
+
*/
|
|
2433
|
+
setStagePosition(position: {
|
|
2434
|
+
x: number;
|
|
2435
|
+
y: number;
|
|
2436
|
+
}): void;
|
|
2437
|
+
/**
|
|
2438
|
+
* Fit the stage content bounds to the container, centering and scaling
|
|
2439
|
+
* to show the full content with optional padding.
|
|
2440
|
+
*/
|
|
2441
|
+
fitToBounds(contentBounds: {
|
|
2442
|
+
x: number;
|
|
2443
|
+
y: number;
|
|
2444
|
+
width: number;
|
|
2445
|
+
height: number;
|
|
2446
|
+
}, containerWidth: number, containerHeight: number, padding?: number): void;
|
|
2447
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapZoomService, never>;
|
|
2448
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketMapZoomService>;
|
|
2449
|
+
}
|
|
2450
|
+
|
|
2451
|
+
declare class ConfirmationOrderModalService extends BaseModalService {
|
|
2452
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationOrderModalService, never>;
|
|
2453
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmationOrderModalService>;
|
|
2454
|
+
}
|
|
2455
|
+
|
|
2456
|
+
declare class TicketQrService {
|
|
2457
|
+
private apiService;
|
|
2458
|
+
constructor(apiService: ApiService);
|
|
2459
|
+
fetchQrToken(ticketUuid: string): Observable<QrTokenResponse>;
|
|
2460
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketQrService, never>;
|
|
2461
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketQrService>;
|
|
2462
|
+
}
|
|
2463
|
+
|
|
2464
|
+
declare class TicketQrModalService {
|
|
2465
|
+
isOpen: WritableSignal<boolean>;
|
|
2466
|
+
ticketUuid: WritableSignal<string | null>;
|
|
2467
|
+
ticketDescription: WritableSignal<string | null>;
|
|
2468
|
+
open(ticketUuid: string, description?: string): void;
|
|
2469
|
+
close(): void;
|
|
2470
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketQrModalService, never>;
|
|
2471
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketQrModalService>;
|
|
2472
|
+
}
|
|
2473
|
+
|
|
2474
|
+
declare class VipCardService {
|
|
2475
|
+
private apiService;
|
|
2476
|
+
constructor(apiService: ApiService);
|
|
2477
|
+
findMy(): Observable<{
|
|
2478
|
+
data: VipCard | null;
|
|
2479
|
+
}>;
|
|
2480
|
+
activate(data: any): Observable<VipOrderResponse>;
|
|
2481
|
+
recharge(data: any): Observable<VipOrderResponse>;
|
|
2482
|
+
fetchAll(params?: FetchVipCardsParams): Observable<VipCardsResponse>;
|
|
2483
|
+
fetchOneById(id: number): Observable<VipCardResponse>;
|
|
2484
|
+
activateAdmin(data: ActivateVipCardParams): Observable<VipOrderResponse>;
|
|
2485
|
+
rechargeAdmin(id: number, data: any): Observable<VipOrderResponse>;
|
|
2486
|
+
updateStatus(id: number, status: VipCardStatus): Observable<VipCardResponse>;
|
|
2487
|
+
updateTerms(id: number): Observable<VipCardResponse>;
|
|
2488
|
+
fetchTransactions(id: number, page?: number, limit?: number): Observable<VipTransactionsResponse>;
|
|
2489
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VipCardService, never>;
|
|
2490
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<VipCardService>;
|
|
2491
|
+
}
|
|
2492
|
+
|
|
1380
2493
|
declare const authInterceptor: HttpInterceptorFn;
|
|
1381
2494
|
|
|
1382
2495
|
declare class AppButtonComponent {
|
|
@@ -1389,10 +2502,11 @@ declare class AppButtonComponent {
|
|
|
1389
2502
|
size: 'xs' | 'sm' | 'md' | 'lg';
|
|
1390
2503
|
loadingText: string;
|
|
1391
2504
|
icon: string;
|
|
2505
|
+
tooltip: string;
|
|
1392
2506
|
handleClick(): void;
|
|
1393
2507
|
get buttonClasses(): string;
|
|
1394
2508
|
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>;
|
|
2509
|
+
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
2510
|
}
|
|
1397
2511
|
|
|
1398
2512
|
declare class AppLinkButtonComponent {
|
|
@@ -1406,9 +2520,10 @@ declare class AppLinkButtonComponent {
|
|
|
1406
2520
|
queryParams: Record<string, any>;
|
|
1407
2521
|
size: 'xs' | 'sm' | 'md' | 'lg';
|
|
1408
2522
|
variant: 'primary' | 'secondary' | 'tertiary' | 'success' | 'transparent';
|
|
2523
|
+
tooltip: string;
|
|
1409
2524
|
get buttonClasses(): string;
|
|
1410
2525
|
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>;
|
|
2526
|
+
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
2527
|
}
|
|
1413
2528
|
|
|
1414
2529
|
declare class AppAlertComponent {
|
|
@@ -1421,15 +2536,29 @@ declare class AppAlertComponent {
|
|
|
1421
2536
|
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
2537
|
}
|
|
1423
2538
|
|
|
1424
|
-
declare class
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
2539
|
+
declare class FeedbackModalComponent implements OnChanges, OnDestroy {
|
|
2540
|
+
isOpen: WritableSignal<boolean>;
|
|
2541
|
+
type: FeedbackModalType;
|
|
2542
|
+
title: string;
|
|
2543
|
+
message: string;
|
|
2544
|
+
showHeader: boolean;
|
|
2545
|
+
showCloseButton: boolean;
|
|
2546
|
+
showTitle: boolean;
|
|
2547
|
+
autoClose: boolean;
|
|
2548
|
+
autoCloseDuration: number;
|
|
2549
|
+
buttonText: string;
|
|
2550
|
+
closed: EventEmitter<void>;
|
|
2551
|
+
private autoCloseTimeout;
|
|
2552
|
+
get defaultButtonText(): string;
|
|
2553
|
+
get resolvedButtonText(): string;
|
|
2554
|
+
get buttonVariant(): 'primary' | 'secondary';
|
|
2555
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2556
|
+
ngOnDestroy(): void;
|
|
1429
2557
|
closeModal(): void;
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
static
|
|
2558
|
+
private scheduleAutoClose;
|
|
2559
|
+
private clearAutoClose;
|
|
2560
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FeedbackModalComponent, never>;
|
|
2561
|
+
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
2562
|
}
|
|
1434
2563
|
|
|
1435
2564
|
declare class DeleteConfirmationComponent {
|
|
@@ -1452,12 +2581,29 @@ declare class DeleteConfirmationComponent {
|
|
|
1452
2581
|
declare class AppModalComponent {
|
|
1453
2582
|
title: string;
|
|
1454
2583
|
disableClose: boolean;
|
|
2584
|
+
showHeader: boolean;
|
|
2585
|
+
showCloseButton: boolean;
|
|
2586
|
+
showTitle: boolean;
|
|
2587
|
+
interactiveClose: boolean;
|
|
1455
2588
|
isOpen: WritableSignal<boolean>;
|
|
1456
|
-
size:
|
|
2589
|
+
size: ModalSize;
|
|
1457
2590
|
closeModal: EventEmitter<void>;
|
|
1458
2591
|
onCloseModal(): void;
|
|
2592
|
+
onInteractiveClose(): void;
|
|
2593
|
+
onKeydownEscape(): void;
|
|
1459
2594
|
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>;
|
|
2595
|
+
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>;
|
|
2596
|
+
}
|
|
2597
|
+
|
|
2598
|
+
declare class AppBadgeComponent {
|
|
2599
|
+
text: string;
|
|
2600
|
+
color: BadgeColor;
|
|
2601
|
+
size: BadgeSize;
|
|
2602
|
+
bordered: boolean;
|
|
2603
|
+
backgroundColor: string;
|
|
2604
|
+
textColor: string;
|
|
2605
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppBadgeComponent, never>;
|
|
2606
|
+
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
2607
|
}
|
|
1462
2608
|
|
|
1463
2609
|
declare class AuditInformationComponent {
|
|
@@ -1472,6 +2618,7 @@ declare class DynamicTableComponent {
|
|
|
1472
2618
|
title: string;
|
|
1473
2619
|
data: any[];
|
|
1474
2620
|
headers: any[];
|
|
2621
|
+
searcherPlaceholder: string;
|
|
1475
2622
|
columnComponents: {
|
|
1476
2623
|
[key: string]: Type<any>;
|
|
1477
2624
|
};
|
|
@@ -1479,17 +2626,79 @@ declare class DynamicTableComponent {
|
|
|
1479
2626
|
totalItems: number;
|
|
1480
2627
|
itemsPerPage: number;
|
|
1481
2628
|
currentPage: number;
|
|
2629
|
+
searchValue: string;
|
|
1482
2630
|
pageChange: EventEmitter<number>;
|
|
1483
2631
|
searchChange: EventEmitter<string>;
|
|
2632
|
+
pageSizeChange: EventEmitter<number>;
|
|
2633
|
+
pageSizeOptions: number[];
|
|
1484
2634
|
showPagination: boolean;
|
|
1485
2635
|
showSearch: boolean;
|
|
1486
2636
|
showTitle: boolean;
|
|
1487
2637
|
get totalPages(): number;
|
|
1488
2638
|
onSearch(event: any): void;
|
|
1489
2639
|
changePage(delta: number): void;
|
|
2640
|
+
changePageSize(event: any): void;
|
|
1490
2641
|
createInjector(row: any): Injector;
|
|
1491
2642
|
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>;
|
|
2643
|
+
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>;
|
|
2644
|
+
}
|
|
2645
|
+
|
|
2646
|
+
declare class TextExpandableComponent implements OnChanges {
|
|
2647
|
+
text: string;
|
|
2648
|
+
maxLength: number;
|
|
2649
|
+
fontSize: TextFontSize;
|
|
2650
|
+
allowHtml: boolean;
|
|
2651
|
+
maxLines?: number;
|
|
2652
|
+
protected expanded: boolean;
|
|
2653
|
+
ngOnChanges(): void;
|
|
2654
|
+
get plainText(): string;
|
|
2655
|
+
get truncated(): boolean;
|
|
2656
|
+
get visibleText(): string;
|
|
2657
|
+
get lines(): number;
|
|
2658
|
+
toggleExpanded(): void;
|
|
2659
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextExpandableComponent, never>;
|
|
2660
|
+
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>;
|
|
2661
|
+
}
|
|
2662
|
+
|
|
2663
|
+
declare class ShowCardComponent {
|
|
2664
|
+
show: Show;
|
|
2665
|
+
linkText: string;
|
|
2666
|
+
linkUrlFn?: (show: Show) => string;
|
|
2667
|
+
linkQueryParams?: Record<string, any>;
|
|
2668
|
+
transloco: TranslocoService;
|
|
2669
|
+
dateService: DateService;
|
|
2670
|
+
get showTypeColor(): {
|
|
2671
|
+
bg: string;
|
|
2672
|
+
text: string;
|
|
2673
|
+
};
|
|
2674
|
+
formatTimeDate(date: string): Date;
|
|
2675
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowCardComponent, never>;
|
|
2676
|
+
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>;
|
|
2677
|
+
}
|
|
2678
|
+
|
|
2679
|
+
declare class ShowTypeBadgeComponent {
|
|
2680
|
+
show: Show;
|
|
2681
|
+
size: BadgeSize;
|
|
2682
|
+
transloco: TranslocoService;
|
|
2683
|
+
get showTypeColor(): {
|
|
2684
|
+
bg: string;
|
|
2685
|
+
text: string;
|
|
2686
|
+
};
|
|
2687
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowTypeBadgeComponent, never>;
|
|
2688
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShowTypeBadgeComponent, "show-type-badge", never, { "show": { "alias": "show"; "required": true; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
2689
|
+
}
|
|
2690
|
+
|
|
2691
|
+
declare class ShowCardSkeletonComponent {
|
|
2692
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowCardSkeletonComponent, never>;
|
|
2693
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShowCardSkeletonComponent, "show-card-skeleton", never, {}, {}, never, never, true, never>;
|
|
2694
|
+
}
|
|
2695
|
+
|
|
2696
|
+
declare class AppBreadcumbComponent {
|
|
2697
|
+
homeUrl: string | undefined;
|
|
2698
|
+
steps: BreadcrumbStep[];
|
|
2699
|
+
theme: BreadcrumbTheme;
|
|
2700
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppBreadcumbComponent, never>;
|
|
2701
|
+
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
2702
|
}
|
|
1494
2703
|
|
|
1495
2704
|
declare class LanguageSwitcherComponent {
|
|
@@ -1512,7 +2721,9 @@ declare class FormInputComponent implements ControlValueAccessor {
|
|
|
1512
2721
|
placeholder: string;
|
|
1513
2722
|
required: boolean;
|
|
1514
2723
|
readonly: boolean;
|
|
2724
|
+
maxlength: number | null;
|
|
1515
2725
|
minlength: number | null;
|
|
2726
|
+
max: number | null;
|
|
1516
2727
|
min: number | null;
|
|
1517
2728
|
step: number | null;
|
|
1518
2729
|
pattern: string | null;
|
|
@@ -1534,12 +2745,12 @@ declare class FormInputComponent implements ControlValueAccessor {
|
|
|
1534
2745
|
get inputClasses(): string;
|
|
1535
2746
|
get fieldGroupClasses(): string;
|
|
1536
2747
|
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>;
|
|
2748
|
+
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
2749
|
}
|
|
1539
2750
|
|
|
1540
2751
|
declare class FormSelectComponent implements ControlValueAccessor {
|
|
1541
2752
|
ngControl: NgControl;
|
|
1542
|
-
|
|
2753
|
+
protected transloco: TranslocoService;
|
|
1543
2754
|
label: string;
|
|
1544
2755
|
name: string;
|
|
1545
2756
|
id: string;
|
|
@@ -1563,7 +2774,6 @@ declare class FormSelectComponent implements ControlValueAccessor {
|
|
|
1563
2774
|
get inputId(): string;
|
|
1564
2775
|
get showError(): boolean;
|
|
1565
2776
|
get errorMessage(): string;
|
|
1566
|
-
get resolvedDefaultOptionLabel(): string;
|
|
1567
2777
|
get fieldGroupClasses(): string;
|
|
1568
2778
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormSelectComponent, [{ optional: true; self: true; }, null]>;
|
|
1569
2779
|
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 +2811,105 @@ declare class FormTextareaComponent implements ControlValueAccessor {
|
|
|
1601
2811
|
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
2812
|
}
|
|
1603
2813
|
|
|
2814
|
+
declare class NumberInputComponent implements ControlValueAccessor, Validator, OnChanges {
|
|
2815
|
+
transloco: TranslocoService;
|
|
2816
|
+
private injector;
|
|
2817
|
+
private elementRef;
|
|
2818
|
+
label: string;
|
|
2819
|
+
name: string;
|
|
2820
|
+
id: string;
|
|
2821
|
+
placeholder: string;
|
|
2822
|
+
required: boolean;
|
|
2823
|
+
readonly: boolean;
|
|
2824
|
+
min: number | null;
|
|
2825
|
+
max: number | null;
|
|
2826
|
+
step: number;
|
|
2827
|
+
fieldGroupClass: string;
|
|
2828
|
+
value: number | null;
|
|
2829
|
+
disabled: boolean;
|
|
2830
|
+
onChange: any;
|
|
2831
|
+
onTouched: any;
|
|
2832
|
+
private _ngControl;
|
|
2833
|
+
constructor(transloco: TranslocoService, injector: Injector, elementRef: ElementRef);
|
|
2834
|
+
get ngControl(): NgControl | null;
|
|
2835
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2836
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
2837
|
+
writeValue(value: any): void;
|
|
2838
|
+
registerOnChange(fn: any): void;
|
|
2839
|
+
registerOnTouched(fn: any): void;
|
|
2840
|
+
setDisabledState(isDisabled: boolean): void;
|
|
2841
|
+
onInput(value: any): void;
|
|
2842
|
+
increment(): void;
|
|
2843
|
+
decrement(): void;
|
|
2844
|
+
get canIncrement(): boolean;
|
|
2845
|
+
get canDecrement(): boolean;
|
|
2846
|
+
get inputId(): string;
|
|
2847
|
+
get showError(): boolean;
|
|
2848
|
+
get errorMessage(): string;
|
|
2849
|
+
get fieldGroupClasses(): string;
|
|
2850
|
+
private clamp;
|
|
2851
|
+
private round;
|
|
2852
|
+
private emitNativeChange;
|
|
2853
|
+
private minValidator;
|
|
2854
|
+
private maxValidator;
|
|
2855
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputComponent, never>;
|
|
2856
|
+
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>;
|
|
2857
|
+
}
|
|
2858
|
+
|
|
2859
|
+
declare class PhoneInputComponent implements ControlValueAccessor, Validator, OnChanges {
|
|
2860
|
+
private transloco;
|
|
2861
|
+
private injector;
|
|
2862
|
+
label: string;
|
|
2863
|
+
name: string;
|
|
2864
|
+
id: string;
|
|
2865
|
+
placeholder: string;
|
|
2866
|
+
required: boolean;
|
|
2867
|
+
readonly: boolean;
|
|
2868
|
+
maxNationalDigits: number | null;
|
|
2869
|
+
minNationalDigits: number | null;
|
|
2870
|
+
defaultCountry: string;
|
|
2871
|
+
fieldGroupClass: string;
|
|
2872
|
+
readonly countries: tickera_angular_components.PhoneCountry[];
|
|
2873
|
+
readonly phoneOptions: {
|
|
2874
|
+
search: string;
|
|
2875
|
+
name: string;
|
|
2876
|
+
isoCode: string;
|
|
2877
|
+
dialCode: string;
|
|
2878
|
+
}[];
|
|
2879
|
+
selectedIso: string;
|
|
2880
|
+
nationalNumber: string;
|
|
2881
|
+
disabled: boolean;
|
|
2882
|
+
onChange: any;
|
|
2883
|
+
onTouched: any;
|
|
2884
|
+
onValidatorChange: () => void;
|
|
2885
|
+
private _ngControl;
|
|
2886
|
+
constructor(transloco: TranslocoService, injector: Injector);
|
|
2887
|
+
get ngControl(): NgControl | null;
|
|
2888
|
+
get selectedCountry(): tickera_angular_components.PhoneCountry;
|
|
2889
|
+
get dialCode(): string;
|
|
2890
|
+
dialCodeOf(isoCode: string): string;
|
|
2891
|
+
get value(): string;
|
|
2892
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2893
|
+
registerOnValidatorChange(fn: () => void): void;
|
|
2894
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
2895
|
+
writeValue(value: string | null | undefined): void;
|
|
2896
|
+
registerOnChange(fn: any): void;
|
|
2897
|
+
registerOnTouched(fn: any): void;
|
|
2898
|
+
setDisabledState(isDisabled: boolean): void;
|
|
2899
|
+
onInput(event: Event): void;
|
|
2900
|
+
onCountryChange(isoCode: string): void;
|
|
2901
|
+
get inputId(): string;
|
|
2902
|
+
get showError(): boolean;
|
|
2903
|
+
get errorMessage(): string;
|
|
2904
|
+
get effectivePlaceholder(): string;
|
|
2905
|
+
get fieldGroupClasses(): string;
|
|
2906
|
+
flag(isoCode: string): string;
|
|
2907
|
+
private sanitize;
|
|
2908
|
+
private nationalDigits;
|
|
2909
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneInputComponent, never>;
|
|
2910
|
+
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>;
|
|
2911
|
+
}
|
|
2912
|
+
|
|
1604
2913
|
declare class FormEditorComponent implements ControlValueAccessor, OnInit, OnDestroy {
|
|
1605
2914
|
ngControl: NgControl;
|
|
1606
2915
|
private transloco;
|
|
@@ -1618,7 +2927,8 @@ declare class FormEditorComponent implements ControlValueAccessor, OnInit, OnDes
|
|
|
1618
2927
|
onChange: any;
|
|
1619
2928
|
onTouched: any;
|
|
1620
2929
|
private subscription;
|
|
1621
|
-
|
|
2930
|
+
isBrowser: boolean;
|
|
2931
|
+
constructor(ngControl: NgControl, transloco: TranslocoService, platformId: object);
|
|
1622
2932
|
ngOnInit(): void;
|
|
1623
2933
|
ngOnDestroy(): void;
|
|
1624
2934
|
writeValue(value: any): void;
|
|
@@ -1629,7 +2939,7 @@ declare class FormEditorComponent implements ControlValueAccessor, OnInit, OnDes
|
|
|
1629
2939
|
get showError(): boolean;
|
|
1630
2940
|
get errorMessage(): string;
|
|
1631
2941
|
get fieldGroupClasses(): string;
|
|
1632
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormEditorComponent, [{ optional: true; self: true; }, null]>;
|
|
2942
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormEditorComponent, [{ optional: true; self: true; }, null, null]>;
|
|
1633
2943
|
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
2944
|
}
|
|
1635
2945
|
|
|
@@ -1813,6 +3123,7 @@ declare class AsyncSelectComponent implements OnInit, OnDestroy, OnChanges, Cont
|
|
|
1813
3123
|
notFoundText: string;
|
|
1814
3124
|
bindLabel: string;
|
|
1815
3125
|
bindValue: string;
|
|
3126
|
+
disabled: boolean;
|
|
1816
3127
|
value: any;
|
|
1817
3128
|
onChange: any;
|
|
1818
3129
|
onTouched: any;
|
|
@@ -1842,7 +3153,7 @@ declare class AsyncSelectComponent implements OnInit, OnDestroy, OnChanges, Cont
|
|
|
1842
3153
|
registerOnTouched(fn: any): void;
|
|
1843
3154
|
setDisabledState(isDisabled: boolean): void;
|
|
1844
3155
|
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>;
|
|
3156
|
+
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
3157
|
}
|
|
1847
3158
|
|
|
1848
3159
|
declare class ChangePasswordFormComponent {
|
|
@@ -2279,6 +3590,28 @@ declare class PriceZoneSelectComponent implements OnInit, OnDestroy, ControlValu
|
|
|
2279
3590
|
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
3591
|
}
|
|
2281
3592
|
|
|
3593
|
+
declare class PerformanceTicketStatusBadgeComponent {
|
|
3594
|
+
ticket: PerformanceTicket;
|
|
3595
|
+
size: BadgeSize;
|
|
3596
|
+
protected get statusColors(): {
|
|
3597
|
+
text: string;
|
|
3598
|
+
bg: string;
|
|
3599
|
+
};
|
|
3600
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceTicketStatusBadgeComponent, never>;
|
|
3601
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceTicketStatusBadgeComponent, "performance-ticket-status-badge", never, { "ticket": { "alias": "ticket"; "required": true; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
3602
|
+
}
|
|
3603
|
+
|
|
3604
|
+
declare class PerformanceStatusBadgeComponent {
|
|
3605
|
+
performance: Performance;
|
|
3606
|
+
size: BadgeSize;
|
|
3607
|
+
protected get statusColors(): {
|
|
3608
|
+
text: string;
|
|
3609
|
+
bg: string;
|
|
3610
|
+
};
|
|
3611
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceStatusBadgeComponent, never>;
|
|
3612
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceStatusBadgeComponent, "performance-status-badge", never, { "performance": { "alias": "performance"; "required": true; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
3613
|
+
}
|
|
3614
|
+
|
|
2282
3615
|
declare class DaySelectorGridComponent {
|
|
2283
3616
|
private platformId;
|
|
2284
3617
|
protected performanceService: PerformanceService;
|
|
@@ -2300,11 +3633,15 @@ declare class DaySelectorGridComponent {
|
|
|
2300
3633
|
declare class PerformanceCardComponent {
|
|
2301
3634
|
protected listEventService: PerformancesListEventsService;
|
|
2302
3635
|
card: DailyPerformanceItem;
|
|
3636
|
+
linkText: string;
|
|
3637
|
+
linkUrlFn?: (card: DailyPerformanceItem) => string;
|
|
3638
|
+
linkQueryParams?: Record<string, any>;
|
|
2303
3639
|
constructor(listEventService: PerformancesListEventsService);
|
|
3640
|
+
get badgeColor(): 'success' | 'error';
|
|
2304
3641
|
onSelect(): void;
|
|
2305
3642
|
isSelected(): boolean;
|
|
2306
3643
|
static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceCardComponent, never>;
|
|
2307
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceCardComponent, "performance-card", never, { "card": { "alias": "card"; "required": true; }; }, {}, never, never, true, never>;
|
|
3644
|
+
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
3645
|
}
|
|
2309
3646
|
|
|
2310
3647
|
declare class PerformanceCardListComponent {
|
|
@@ -2312,6 +3649,9 @@ declare class PerformanceCardListComponent {
|
|
|
2312
3649
|
protected performanceService: PerformanceService;
|
|
2313
3650
|
protected listEventService: PerformancesListEventsService;
|
|
2314
3651
|
protected toastService: ToastService;
|
|
3652
|
+
linkText: string;
|
|
3653
|
+
linkUrlFn?: (card: DailyPerformanceItem) => string;
|
|
3654
|
+
linkQueryParams?: Record<string, any>;
|
|
2315
3655
|
loadingData: WritableSignal<boolean>;
|
|
2316
3656
|
performances: WritableSignal<DailyPerformanceItem[]>;
|
|
2317
3657
|
constructor(platformId: object, performanceService: PerformanceService, listEventService: PerformancesListEventsService, toastService: ToastService);
|
|
@@ -2319,7 +3659,7 @@ declare class PerformanceCardListComponent {
|
|
|
2319
3659
|
private loadData;
|
|
2320
3660
|
get selectedDayDate(): string | null;
|
|
2321
3661
|
static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceCardListComponent, never>;
|
|
2322
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceCardListComponent, "performance-card-list", never, {}, {}, never, never, true, never>;
|
|
3662
|
+
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
3663
|
}
|
|
2324
3664
|
|
|
2325
3665
|
declare class PerformanceStepperComponent {
|
|
@@ -2348,9 +3688,9 @@ declare class ShowsFilterComponent {
|
|
|
2348
3688
|
}
|
|
2349
3689
|
|
|
2350
3690
|
interface PriceZoneItem {
|
|
2351
|
-
|
|
3691
|
+
color: string;
|
|
2352
3692
|
name: string;
|
|
2353
|
-
|
|
3693
|
+
available_seats: number;
|
|
2354
3694
|
price: string;
|
|
2355
3695
|
}
|
|
2356
3696
|
|
|
@@ -2366,5 +3706,398 @@ declare class ZonePriceListComponent {
|
|
|
2366
3706
|
static ɵcmp: i0.ɵɵComponentDeclaration<ZonePriceListComponent, "zone-price-list", never, { "zones": { "alias": "zones"; "required": true; }; }, {}, never, never, true, never>;
|
|
2367
3707
|
}
|
|
2368
3708
|
|
|
2369
|
-
|
|
2370
|
-
|
|
3709
|
+
declare class TicketMapWidgetComponent {
|
|
3710
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapWidgetComponent, never>;
|
|
3711
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapWidgetComponent, "ticket-map-widget", never, {}, {}, never, ["*"], true, never>;
|
|
3712
|
+
}
|
|
3713
|
+
|
|
3714
|
+
declare class TicketMapWidgetHeaderComponent {
|
|
3715
|
+
title: string;
|
|
3716
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapWidgetHeaderComponent, never>;
|
|
3717
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapWidgetHeaderComponent, "ticket-map-widget-header", never, { "title": { "alias": "title"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
3718
|
+
}
|
|
3719
|
+
|
|
3720
|
+
declare class TicketMapZoomControlsComponent {
|
|
3721
|
+
private zoomService;
|
|
3722
|
+
readonly currentZoom: i0.Signal<number>;
|
|
3723
|
+
readonly zoomPercentage: i0.Signal<string>;
|
|
3724
|
+
constructor(zoomService: TicketMapZoomService);
|
|
3725
|
+
zoomIn(): void;
|
|
3726
|
+
zoomOut(): void;
|
|
3727
|
+
resetZoom(): void;
|
|
3728
|
+
fitToContainer(): void;
|
|
3729
|
+
handleZoomAction(action: string): void;
|
|
3730
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapZoomControlsComponent, never>;
|
|
3731
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapZoomControlsComponent, "ticket-map-zoom-controls", never, {}, {}, never, never, true, never>;
|
|
3732
|
+
}
|
|
3733
|
+
|
|
3734
|
+
declare class TicketMapFloorSelectorComponent {
|
|
3735
|
+
private bookingDataService;
|
|
3736
|
+
readonly availableFloors: i0.Signal<tickera_angular_components.HallFloor[]>;
|
|
3737
|
+
readonly visibleFloorIds: i0.Signal<Set<number>>;
|
|
3738
|
+
readonly hasMultipleVisible: i0.Signal<boolean>;
|
|
3739
|
+
constructor(bookingDataService: PerformanceBookingDataService);
|
|
3740
|
+
isFloorVisible(floorId: number): boolean;
|
|
3741
|
+
canToggleOff(floorId: number): boolean;
|
|
3742
|
+
toggleFloor(floorId: number): void;
|
|
3743
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapFloorSelectorComponent, never>;
|
|
3744
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapFloorSelectorComponent, "ticket-map-floor-selector", never, {}, {}, never, never, true, never>;
|
|
3745
|
+
}
|
|
3746
|
+
|
|
3747
|
+
declare class PerformanceTicketMapComponent implements OnDestroy, AfterViewInit {
|
|
3748
|
+
private platformId;
|
|
3749
|
+
protected bookingDataService: PerformanceBookingDataService;
|
|
3750
|
+
protected feedbackModalService: FeedbackModalService;
|
|
3751
|
+
protected selectionService: TicketSelectionService;
|
|
3752
|
+
protected zoomService: TicketMapZoomService;
|
|
3753
|
+
selectionChange: EventEmitter<PerformanceTicket[]>;
|
|
3754
|
+
needsLoginError: EventEmitter<any>;
|
|
3755
|
+
readOnly: boolean;
|
|
3756
|
+
needsLogin: boolean;
|
|
3757
|
+
isLoggedIn: boolean;
|
|
3758
|
+
stageComponent?: StageComponent;
|
|
3759
|
+
protected tooltipData: i0.WritableSignal<TicketMapTooltipData | null>;
|
|
3760
|
+
protected renderData: i0.Signal<ElementRenderData[]>;
|
|
3761
|
+
private stageReady;
|
|
3762
|
+
private autoFitDone;
|
|
3763
|
+
private resizeObserver?;
|
|
3764
|
+
constructor(platformId: object, bookingDataService: PerformanceBookingDataService, feedbackModalService: FeedbackModalService, selectionService: TicketSelectionService, zoomService: TicketMapZoomService);
|
|
3765
|
+
protected get isBrowser(): boolean;
|
|
3766
|
+
ngAfterViewInit(): void;
|
|
3767
|
+
private setupResizeObserver;
|
|
3768
|
+
private syncStageToContainer;
|
|
3769
|
+
ngOnDestroy(): void;
|
|
3770
|
+
private getInternalPointer;
|
|
3771
|
+
protected selectHallFloor(floorId: number): void;
|
|
3772
|
+
protected handleStageClick(konvaEvent: any): void;
|
|
3773
|
+
protected handleStageMouseMove(konvaEvent: any): void;
|
|
3774
|
+
protected handleStageMouseLeave(): void;
|
|
3775
|
+
protected handleWheel(konvaEvent: any): void;
|
|
3776
|
+
protected trackByElementId(_index: number, item: ElementRenderData): number;
|
|
3777
|
+
protected trackByFloorId(_index: number, floor: HallFloorOption): HallFloorOption;
|
|
3778
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceTicketMapComponent, never>;
|
|
3779
|
+
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>;
|
|
3780
|
+
}
|
|
3781
|
+
|
|
3782
|
+
declare class TicketMapPriceZonesComponent {
|
|
3783
|
+
title: string;
|
|
3784
|
+
protected bookingDataService: PerformanceBookingDataService;
|
|
3785
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapPriceZonesComponent, never>;
|
|
3786
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapPriceZonesComponent, "ticket-map-price-zones", never, { "title": { "alias": "title"; "required": false; }; }, {}, never, never, true, never>;
|
|
3787
|
+
}
|
|
3788
|
+
|
|
3789
|
+
declare class TicketMapProductSelectionItemComponent {
|
|
3790
|
+
protected selectionService: TicketSelectionService;
|
|
3791
|
+
product: Product;
|
|
3792
|
+
constructor(selectionService: TicketSelectionService);
|
|
3793
|
+
get quantity(): number;
|
|
3794
|
+
get firstImage(): string | undefined;
|
|
3795
|
+
increment(): void;
|
|
3796
|
+
decrement(): void;
|
|
3797
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapProductSelectionItemComponent, never>;
|
|
3798
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapProductSelectionItemComponent, "ticket-map-product-selection-item", never, { "product": { "alias": "product"; "required": true; }; }, {}, never, never, true, never>;
|
|
3799
|
+
}
|
|
3800
|
+
|
|
3801
|
+
declare class TIcketMapProductSelectionComponent {
|
|
3802
|
+
private bookingDataService;
|
|
3803
|
+
readonly products: i0.Signal<tickera_angular_components.Product[]>;
|
|
3804
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TIcketMapProductSelectionComponent, never>;
|
|
3805
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TIcketMapProductSelectionComponent, "ticket-map-product-selection", never, {}, {}, never, never, true, never>;
|
|
3806
|
+
}
|
|
3807
|
+
|
|
3808
|
+
declare class TicketMapTotalsComponent {
|
|
3809
|
+
protected bookingDataService: PerformanceBookingDataService;
|
|
3810
|
+
protected selectionDetailsService: TicketSelectionDetailsService;
|
|
3811
|
+
protected selectionDiscountService: TicketSelectionDiscountService;
|
|
3812
|
+
protected selectionTotalsService: TicketSelectionTotalsService;
|
|
3813
|
+
protected selectionService: TicketSelectionService;
|
|
3814
|
+
private activatedRoute;
|
|
3815
|
+
title: string;
|
|
3816
|
+
buttonText: string;
|
|
3817
|
+
loadingButtonText: string;
|
|
3818
|
+
isLoading: boolean;
|
|
3819
|
+
onPurchaseClick: EventEmitter<void>;
|
|
3820
|
+
constructor(bookingDataService: PerformanceBookingDataService, selectionDetailsService: TicketSelectionDetailsService, selectionDiscountService: TicketSelectionDiscountService, selectionTotalsService: TicketSelectionTotalsService, selectionService: TicketSelectionService, activatedRoute: ActivatedRoute);
|
|
3821
|
+
get serviceFee(): number;
|
|
3822
|
+
get performanceId(): number;
|
|
3823
|
+
get selectedTicketIds(): number[];
|
|
3824
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapTotalsComponent, never>;
|
|
3825
|
+
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>;
|
|
3826
|
+
}
|
|
3827
|
+
|
|
3828
|
+
declare class TicketMapWrapperComponent {
|
|
3829
|
+
selectionChange: EventEmitter<PerformanceTicket[]>;
|
|
3830
|
+
needsLoginError: EventEmitter<any>;
|
|
3831
|
+
readOnly: boolean;
|
|
3832
|
+
needsLogin: boolean;
|
|
3833
|
+
isLoggedIn: boolean;
|
|
3834
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapWrapperComponent, never>;
|
|
3835
|
+
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>;
|
|
3836
|
+
}
|
|
3837
|
+
|
|
3838
|
+
declare class SeatSelectionEmptySummaryComponent {
|
|
3839
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeatSelectionEmptySummaryComponent, never>;
|
|
3840
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeatSelectionEmptySummaryComponent, "seat-selection-empty-summary", never, {}, {}, never, never, true, never>;
|
|
3841
|
+
}
|
|
3842
|
+
|
|
3843
|
+
declare class SeatSelectionSummaryComponent {
|
|
3844
|
+
protected selectionService: TicketSelectionService;
|
|
3845
|
+
title: string;
|
|
3846
|
+
clearButtonText: string;
|
|
3847
|
+
constructor(selectionService: TicketSelectionService);
|
|
3848
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeatSelectionSummaryComponent, never>;
|
|
3849
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeatSelectionSummaryComponent, "seat-selection-summary", never, { "title": { "alias": "title"; "required": false; }; "clearButtonText": { "alias": "clearButtonText"; "required": false; }; }, {}, never, never, true, never>;
|
|
3850
|
+
}
|
|
3851
|
+
|
|
3852
|
+
declare class SeatSelectionSummaryItemComponent {
|
|
3853
|
+
protected selectionService: TicketSelectionService;
|
|
3854
|
+
item: PerformanceTicket;
|
|
3855
|
+
constructor(selectionService: TicketSelectionService);
|
|
3856
|
+
getItemTypeIcon: (ticket: PerformanceTicket) => string;
|
|
3857
|
+
removeItem(ticket: PerformanceTicket): void;
|
|
3858
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeatSelectionSummaryItemComponent, never>;
|
|
3859
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeatSelectionSummaryItemComponent, "seat-selection-summary-item", never, { "item": { "alias": "item"; "required": true; }; }, {}, never, never, true, never>;
|
|
3860
|
+
}
|
|
3861
|
+
|
|
3862
|
+
declare class ConfirmationOrderModalComponent {
|
|
3863
|
+
private confirmationOrderModalService;
|
|
3864
|
+
private selectionDiscountService;
|
|
3865
|
+
private selectionTotalsService;
|
|
3866
|
+
private selectionService;
|
|
3867
|
+
private bookingDataService;
|
|
3868
|
+
modalTitle: string;
|
|
3869
|
+
confirmButtonText: string;
|
|
3870
|
+
confirmButtonTextLoading: string;
|
|
3871
|
+
loading: boolean;
|
|
3872
|
+
onConfirm: EventEmitter<any>;
|
|
3873
|
+
constructor(confirmationOrderModalService: ConfirmationOrderModalService, selectionDiscountService: TicketSelectionDiscountService, selectionTotalsService: TicketSelectionTotalsService, selectionService: TicketSelectionService, bookingDataService: PerformanceBookingDataService);
|
|
3874
|
+
get isOpen(): i0.WritableSignal<boolean>;
|
|
3875
|
+
get selectedCount(): number;
|
|
3876
|
+
get serviceFee(): number;
|
|
3877
|
+
get subtotalValue(): number;
|
|
3878
|
+
get ticketSubtotal(): number;
|
|
3879
|
+
get productSubtotal(): number;
|
|
3880
|
+
get productCount(): number;
|
|
3881
|
+
get totalValue(): number;
|
|
3882
|
+
get totalDiscounted(): number | null;
|
|
3883
|
+
get coupon(): tickera_angular_components.Coupon | null;
|
|
3884
|
+
get corporateBond(): tickera_angular_components.CorporateBond | null;
|
|
3885
|
+
get giftBond(): tickera_angular_components.GiftBondPurchase | null;
|
|
3886
|
+
onClose(): void;
|
|
3887
|
+
confirmOrder(): void;
|
|
3888
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationOrderModalComponent, never>;
|
|
3889
|
+
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>;
|
|
3890
|
+
}
|
|
3891
|
+
|
|
3892
|
+
declare class OrderInformationComponent {
|
|
3893
|
+
readonly transloco: TranslocoService;
|
|
3894
|
+
private readonly toastService;
|
|
3895
|
+
order: Order;
|
|
3896
|
+
showPayButton: boolean;
|
|
3897
|
+
createMpPreference?: (order: Order) => Observable<MercadoPagoPreference>;
|
|
3898
|
+
paymentLinkCreated: EventEmitter<MercadoPagoPreference>;
|
|
3899
|
+
isLoading: boolean;
|
|
3900
|
+
constructor(transloco: TranslocoService, toastService: ToastService);
|
|
3901
|
+
get showMpButton(): boolean;
|
|
3902
|
+
payWithMercadoPago(): void;
|
|
3903
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderInformationComponent, never>;
|
|
3904
|
+
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>;
|
|
3905
|
+
}
|
|
3906
|
+
|
|
3907
|
+
declare class OrderStatusBadgeComponent {
|
|
3908
|
+
protected transloco: TranslocoService;
|
|
3909
|
+
order: Order | RecentOrder;
|
|
3910
|
+
size: BadgeSize;
|
|
3911
|
+
constructor(transloco: TranslocoService);
|
|
3912
|
+
protected get statusColors(): {
|
|
3913
|
+
text: string;
|
|
3914
|
+
bg: string;
|
|
3915
|
+
};
|
|
3916
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderStatusBadgeComponent, never>;
|
|
3917
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderStatusBadgeComponent, "order-status-badge", never, { "order": { "alias": "order"; "required": true; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
3918
|
+
}
|
|
3919
|
+
|
|
3920
|
+
declare class OrderItemTypeBadgeComponent {
|
|
3921
|
+
protected transloco: TranslocoService;
|
|
3922
|
+
item: OrderItem;
|
|
3923
|
+
size: BadgeSize;
|
|
3924
|
+
constructor(transloco: TranslocoService);
|
|
3925
|
+
protected get statusColors(): {
|
|
3926
|
+
text: string;
|
|
3927
|
+
bg: string;
|
|
3928
|
+
};
|
|
3929
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderItemTypeBadgeComponent, never>;
|
|
3930
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderItemTypeBadgeComponent, "order-item-type-badge", never, { "item": { "alias": "item"; "required": true; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
3931
|
+
}
|
|
3932
|
+
|
|
3933
|
+
declare class OrderItemsComponent {
|
|
3934
|
+
private ticketQrModalService;
|
|
3935
|
+
order: Order;
|
|
3936
|
+
constructor(ticketQrModalService: TicketQrModalService);
|
|
3937
|
+
protected get orderItems(): Order['order_items'];
|
|
3938
|
+
protected get products(): Order['order_items'];
|
|
3939
|
+
protected get tickets(): Order['order_items'];
|
|
3940
|
+
protected get giftBonds(): Order['order_items'];
|
|
3941
|
+
protected get corporateBonds(): Order['order_items'];
|
|
3942
|
+
protected get showActionColumn(): boolean;
|
|
3943
|
+
protected itemTotal(quantity: number, price: number): number;
|
|
3944
|
+
protected hasDiscount(): boolean;
|
|
3945
|
+
protected get totals(): {
|
|
3946
|
+
giftBonds: number;
|
|
3947
|
+
corporateBonds: number;
|
|
3948
|
+
products: number;
|
|
3949
|
+
tickets: number;
|
|
3950
|
+
};
|
|
3951
|
+
openTicketQr(ticketUuid: string, description: string): void;
|
|
3952
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderItemsComponent, never>;
|
|
3953
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderItemsComponent, "order-items", never, { "order": { "alias": "order"; "required": true; }; }, {}, never, never, true, never>;
|
|
3954
|
+
}
|
|
3955
|
+
|
|
3956
|
+
declare class OrderDiscountAppliedComponent {
|
|
3957
|
+
order: Order;
|
|
3958
|
+
protected get discountInfo(): OrderDiscountInfo;
|
|
3959
|
+
protected get hasDiscount(): boolean;
|
|
3960
|
+
protected get discountPercentage(): number | null;
|
|
3961
|
+
protected get badgeColors(): {
|
|
3962
|
+
text: string;
|
|
3963
|
+
bg: string;
|
|
3964
|
+
};
|
|
3965
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderDiscountAppliedComponent, never>;
|
|
3966
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderDiscountAppliedComponent, "order-discount-applied", never, { "order": { "alias": "order"; "required": true; }; }, {}, never, never, true, never>;
|
|
3967
|
+
}
|
|
3968
|
+
|
|
3969
|
+
interface BillingField {
|
|
3970
|
+
label: string;
|
|
3971
|
+
value: string | number | null;
|
|
3972
|
+
}
|
|
3973
|
+
declare class OrderBillingInfoComponent {
|
|
3974
|
+
order: Order;
|
|
3975
|
+
protected get fields(): BillingField[];
|
|
3976
|
+
protected get hasFields(): boolean;
|
|
3977
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderBillingInfoComponent, never>;
|
|
3978
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderBillingInfoComponent, "order-billing-info", never, { "order": { "alias": "order"; "required": true; }; }, {}, never, never, true, never>;
|
|
3979
|
+
}
|
|
3980
|
+
|
|
3981
|
+
declare class OrderTransactionsComponent {
|
|
3982
|
+
private transactionDetailsModalService;
|
|
3983
|
+
order: Order;
|
|
3984
|
+
constructor(transactionDetailsModalService: OrderTransactionDetailsModalService);
|
|
3985
|
+
protected get transactions(): Transaction[];
|
|
3986
|
+
protected get hasTransactions(): boolean;
|
|
3987
|
+
protected get txColors(): Record<string, {
|
|
3988
|
+
text: string;
|
|
3989
|
+
bg: string;
|
|
3990
|
+
}>;
|
|
3991
|
+
protected openTransaction(transaction: Transaction): void;
|
|
3992
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderTransactionsComponent, never>;
|
|
3993
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderTransactionsComponent, "order-transactions", never, { "order": { "alias": "order"; "required": true; }; }, {}, never, never, true, never>;
|
|
3994
|
+
}
|
|
3995
|
+
|
|
3996
|
+
declare class OrderTransactionDetailsModalComponent {
|
|
3997
|
+
private modalService;
|
|
3998
|
+
isOpen: WritableSignal<boolean> | null;
|
|
3999
|
+
transaction: Transaction | null;
|
|
4000
|
+
get modalIsOpen(): WritableSignal<boolean>;
|
|
4001
|
+
get selectedTransaction(): WritableSignal<Transaction | null>;
|
|
4002
|
+
protected get txColors(): Record<TransactionStatus, {
|
|
4003
|
+
text: string;
|
|
4004
|
+
bg: string;
|
|
4005
|
+
}>;
|
|
4006
|
+
protected get gatewayResponse(): string;
|
|
4007
|
+
onClose(): void;
|
|
4008
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderTransactionDetailsModalComponent, never>;
|
|
4009
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderTransactionDetailsModalComponent, "order-transaction-details-modal", never, { "isOpen": { "alias": "isOpen"; "required": false; }; "transaction": { "alias": "transaction"; "required": false; }; }, {}, never, never, true, never>;
|
|
4010
|
+
}
|
|
4011
|
+
|
|
4012
|
+
declare class TicketQrComponent implements OnInit, OnDestroy {
|
|
4013
|
+
private ticketQrService;
|
|
4014
|
+
private platformId;
|
|
4015
|
+
ticketUuid: string;
|
|
4016
|
+
qrCanvas: ElementRef<HTMLCanvasElement>;
|
|
4017
|
+
loading: i0.WritableSignal<boolean>;
|
|
4018
|
+
error: i0.WritableSignal<boolean>;
|
|
4019
|
+
refreshing: i0.WritableSignal<boolean>;
|
|
4020
|
+
countdown: i0.WritableSignal<number>;
|
|
4021
|
+
private destroy$;
|
|
4022
|
+
private refreshTimeout;
|
|
4023
|
+
private countdownInterval;
|
|
4024
|
+
private isFetching;
|
|
4025
|
+
constructor(ticketQrService: TicketQrService, platformId: Object);
|
|
4026
|
+
ngOnInit(): void;
|
|
4027
|
+
ngOnDestroy(): void;
|
|
4028
|
+
private onVisibilityChange;
|
|
4029
|
+
private onFocus;
|
|
4030
|
+
private refreshFromReenter;
|
|
4031
|
+
retry(): void;
|
|
4032
|
+
private clearTimers;
|
|
4033
|
+
private fetchAndRender;
|
|
4034
|
+
private scheduleRefresh;
|
|
4035
|
+
private startCountdown;
|
|
4036
|
+
private renderQr;
|
|
4037
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketQrComponent, never>;
|
|
4038
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketQrComponent, "performance-ticket-qr", never, { "ticketUuid": { "alias": "ticketUuid"; "required": true; }; }, {}, never, never, true, never>;
|
|
4039
|
+
}
|
|
4040
|
+
|
|
4041
|
+
declare class TicketQrModalComponent {
|
|
4042
|
+
private ticketQrModalService;
|
|
4043
|
+
constructor(ticketQrModalService: TicketQrModalService);
|
|
4044
|
+
get isOpen(): i0.WritableSignal<boolean>;
|
|
4045
|
+
get ticketUuid(): i0.WritableSignal<string | null>;
|
|
4046
|
+
get ticketDescription(): i0.WritableSignal<string | null>;
|
|
4047
|
+
onClose(): void;
|
|
4048
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketQrModalComponent, never>;
|
|
4049
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketQrModalComponent, "ticket-qr-modal", never, {}, {}, never, never, true, never>;
|
|
4050
|
+
}
|
|
4051
|
+
|
|
4052
|
+
declare class VipBalanceCardComponent {
|
|
4053
|
+
card: VipCard | null;
|
|
4054
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VipBalanceCardComponent, never>;
|
|
4055
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VipBalanceCardComponent, "vip-balance-card", never, { "card": { "alias": "card"; "required": false; }; }, {}, never, never, true, never>;
|
|
4056
|
+
}
|
|
4057
|
+
|
|
4058
|
+
declare class VipCardStatusBadgeComponent {
|
|
4059
|
+
protected readonly tranloco: TranslocoService;
|
|
4060
|
+
card: VipCard;
|
|
4061
|
+
get statusColor(): BadgeColor;
|
|
4062
|
+
get statusTranslationKey(): string;
|
|
4063
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VipCardStatusBadgeComponent, never>;
|
|
4064
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VipCardStatusBadgeComponent, "vip-card-status-badge", never, { "card": { "alias": "card"; "required": true; }; }, {}, never, never, true, never>;
|
|
4065
|
+
}
|
|
4066
|
+
|
|
4067
|
+
declare class VipRechargeModalComponent {
|
|
4068
|
+
private fb;
|
|
4069
|
+
protected transloco: TranslocoService;
|
|
4070
|
+
title: string;
|
|
4071
|
+
submitLabel: string;
|
|
4072
|
+
loading: boolean;
|
|
4073
|
+
amountStep: number;
|
|
4074
|
+
minAmount: number;
|
|
4075
|
+
maxAmount: number;
|
|
4076
|
+
isOpen: WritableSignal<boolean>;
|
|
4077
|
+
closeModal: EventEmitter<void>;
|
|
4078
|
+
confirm: EventEmitter<{
|
|
4079
|
+
amount: number;
|
|
4080
|
+
payment_method: string;
|
|
4081
|
+
}>;
|
|
4082
|
+
rechargeForm: FormGroup;
|
|
4083
|
+
paymentMethodOptions: {
|
|
4084
|
+
label: string;
|
|
4085
|
+
value: string;
|
|
4086
|
+
}[];
|
|
4087
|
+
constructor(fb: FormBuilder, transloco: TranslocoService);
|
|
4088
|
+
onClose(): void;
|
|
4089
|
+
onSubmit(): void;
|
|
4090
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VipRechargeModalComponent, never>;
|
|
4091
|
+
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>;
|
|
4092
|
+
}
|
|
4093
|
+
|
|
4094
|
+
declare class VipTransactionsTableComponent {
|
|
4095
|
+
transactions: VipTransaction[];
|
|
4096
|
+
loading: boolean;
|
|
4097
|
+
typeLabel(type: VipTransactionType): string;
|
|
4098
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VipTransactionsTableComponent, never>;
|
|
4099
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VipTransactionsTableComponent, "vip-transactions-table", never, { "transactions": { "alias": "transactions"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, {}, never, never, true, never>;
|
|
4100
|
+
}
|
|
4101
|
+
|
|
4102
|
+
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 };
|
|
4103
|
+
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 };
|