tickera-angular-components 0.0.1-dev.152 → 0.0.1-dev.154
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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, EnvironmentProviders, WritableSignal, Signal, EventEmitter, OnChanges, OnDestroy, SimpleChanges, Injector, Type,
|
|
2
|
+
import { InjectionToken, EnvironmentProviders, WritableSignal, Signal, EventEmitter, OnChanges, OnDestroy, SimpleChanges, Injector, Type, ElementRef, OnInit, AfterViewInit } from '@angular/core';
|
|
3
3
|
export { TippyDirective } from '@ngneat/helipopper';
|
|
4
4
|
export * from '@ngneat/helipopper/config';
|
|
5
5
|
import { TranslocoLoader, TranslocoService } from '@jsverse/transloco';
|
|
@@ -1447,6 +1447,7 @@ interface SelectedDiscountCard {
|
|
|
1447
1447
|
name: string;
|
|
1448
1448
|
type: SelectedDiscountCardType;
|
|
1449
1449
|
value: number;
|
|
1450
|
+
discountType: 'percentage' | 'fixed';
|
|
1450
1451
|
}
|
|
1451
1452
|
|
|
1452
1453
|
interface FetchShowsParams extends CommonFetchAllParams {
|
|
@@ -2306,6 +2307,7 @@ declare class TicketSelectionTotalsService {
|
|
|
2306
2307
|
readonly productSubtotal: i0.Signal<number>;
|
|
2307
2308
|
readonly ticketSubtotal: i0.Signal<number>;
|
|
2308
2309
|
readonly serviceFee: i0.Signal<number>;
|
|
2310
|
+
readonly discountAmount: i0.Signal<number | null>;
|
|
2309
2311
|
subtotalValue(): number;
|
|
2310
2312
|
totalValue(): number;
|
|
2311
2313
|
totalDiscounted(): number | null;
|
|
@@ -2800,6 +2802,7 @@ declare class FormTextareaComponent implements ControlValueAccessor {
|
|
|
2800
2802
|
declare class NumberInputComponent implements ControlValueAccessor, Validator, OnChanges {
|
|
2801
2803
|
transloco: TranslocoService;
|
|
2802
2804
|
private injector;
|
|
2805
|
+
private elementRef;
|
|
2803
2806
|
label: string;
|
|
2804
2807
|
name: string;
|
|
2805
2808
|
id: string;
|
|
@@ -2815,7 +2818,7 @@ declare class NumberInputComponent implements ControlValueAccessor, Validator, O
|
|
|
2815
2818
|
onChange: any;
|
|
2816
2819
|
onTouched: any;
|
|
2817
2820
|
private _ngControl;
|
|
2818
|
-
constructor(transloco: TranslocoService, injector: Injector);
|
|
2821
|
+
constructor(transloco: TranslocoService, injector: Injector, elementRef: ElementRef);
|
|
2819
2822
|
get ngControl(): NgControl | null;
|
|
2820
2823
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2821
2824
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
@@ -2834,6 +2837,7 @@ declare class NumberInputComponent implements ControlValueAccessor, Validator, O
|
|
|
2834
2837
|
get fieldGroupClasses(): string;
|
|
2835
2838
|
private clamp;
|
|
2836
2839
|
private round;
|
|
2840
|
+
private emitNativeChange;
|
|
2837
2841
|
private minValidator;
|
|
2838
2842
|
private maxValidator;
|
|
2839
2843
|
static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputComponent, never>;
|