tickera-angular-components 0.0.1-dev.188 → 0.0.1-dev.190
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/index.d.ts
CHANGED
|
@@ -99,6 +99,8 @@ declare const PERFORMANCES_API_ROUTES: {
|
|
|
99
99
|
seatEventsTicketAdmin: (id: number) => string;
|
|
100
100
|
seatEvents: (id: number) => string;
|
|
101
101
|
myQrToken: (ticketUuid: string) => string;
|
|
102
|
+
ticketPdf: (ticketUuid: string) => string;
|
|
103
|
+
myTicketPdf: (ticketUuid: string) => string;
|
|
102
104
|
};
|
|
103
105
|
|
|
104
106
|
declare const PRICE_ZONES_API_ROUTES: {
|
|
@@ -2015,6 +2017,7 @@ declare class ApiService {
|
|
|
2015
2017
|
private validateContentType;
|
|
2016
2018
|
private handleError;
|
|
2017
2019
|
get<T>(path: string): Observable<T>;
|
|
2020
|
+
getBlob(path: string): Observable<Blob>;
|
|
2018
2021
|
post<T>(path: string, body: any): Observable<T>;
|
|
2019
2022
|
patch<T>(path: string, body: any): Observable<T>;
|
|
2020
2023
|
put<T>(path: string, body: any): Observable<T>;
|
|
@@ -2728,6 +2731,8 @@ declare class TicketQrService {
|
|
|
2728
2731
|
constructor(apiService: ApiService);
|
|
2729
2732
|
fetchQrToken(ticketUuid: string): Observable<QrTokenResponse>;
|
|
2730
2733
|
fetchMyQrToken(ticketUuid: string): Observable<QrTokenResponse>;
|
|
2734
|
+
downloadTicketPdf(ticketUuid: string): Observable<Blob>;
|
|
2735
|
+
downloadMyTicketPdf(ticketUuid: string): Observable<Blob>;
|
|
2731
2736
|
static ɵfac: i0.ɵɵFactoryDeclaration<TicketQrService, never>;
|
|
2732
2737
|
static ɵprov: i0.ɵɵInjectableDeclaration<TicketQrService>;
|
|
2733
2738
|
}
|
|
@@ -4484,6 +4489,7 @@ declare class TicketQrComponent implements OnInit, OnDestroy {
|
|
|
4484
4489
|
error: i0.WritableSignal<boolean>;
|
|
4485
4490
|
refreshing: i0.WritableSignal<boolean>;
|
|
4486
4491
|
countdown: i0.WritableSignal<number>;
|
|
4492
|
+
downloading: i0.WritableSignal<boolean>;
|
|
4487
4493
|
private destroy$;
|
|
4488
4494
|
private refreshTimeout;
|
|
4489
4495
|
private countdownInterval;
|
|
@@ -4495,6 +4501,7 @@ declare class TicketQrComponent implements OnInit, OnDestroy {
|
|
|
4495
4501
|
private onFocus;
|
|
4496
4502
|
private refreshFromReenter;
|
|
4497
4503
|
retry(): void;
|
|
4504
|
+
downloadPdf(): void;
|
|
4498
4505
|
private clearTimers;
|
|
4499
4506
|
private fetchAndRender;
|
|
4500
4507
|
private scheduleRefresh;
|