tickera-angular-components 0.0.1-dev.195 → 0.0.1-dev.197
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
|
@@ -870,6 +870,7 @@ interface PriceZone extends Auditable {
|
|
|
870
870
|
is_active: boolean;
|
|
871
871
|
elements: any[];
|
|
872
872
|
room_map_id: number | null;
|
|
873
|
+
room_map?: RoomMap;
|
|
873
874
|
}
|
|
874
875
|
|
|
875
876
|
interface NumerationConfig {
|
|
@@ -1733,7 +1734,8 @@ interface PriceZonesResponseInterface {
|
|
|
1733
1734
|
}
|
|
1734
1735
|
|
|
1735
1736
|
interface FindAllPriceZoneParams {
|
|
1736
|
-
|
|
1737
|
+
room_map_id?: number;
|
|
1738
|
+
show_ids?: number[];
|
|
1737
1739
|
page?: number;
|
|
1738
1740
|
search?: string;
|
|
1739
1741
|
limit?: number;
|
|
@@ -2256,8 +2258,8 @@ declare class PriceZoneService {
|
|
|
2256
2258
|
private priceZonesSubject;
|
|
2257
2259
|
priceZones$: Observable<PriceZone[]>;
|
|
2258
2260
|
constructor(apiService: ApiService);
|
|
2259
|
-
fetchPriceZones(
|
|
2260
|
-
loadPriceZones(
|
|
2261
|
+
fetchPriceZones(params?: FindAllPriceZoneParams): Observable<PriceZonesResponseInterface>;
|
|
2262
|
+
loadPriceZones(params?: FindAllPriceZoneParams): void;
|
|
2261
2263
|
getCurrentPriceZones(): PriceZone[];
|
|
2262
2264
|
fetchOneById(id: number): Observable<PriceZoneResponse>;
|
|
2263
2265
|
createOne(data: PriceZone): Observable<any>;
|
|
@@ -3562,14 +3564,14 @@ declare class FileUploadPreviewComponent {
|
|
|
3562
3564
|
interface AsyncSelectConfig<T = any> {
|
|
3563
3565
|
load: (params?: {
|
|
3564
3566
|
search?: string;
|
|
3565
|
-
parentId?: number;
|
|
3567
|
+
parentId?: number | number[];
|
|
3566
3568
|
}) => Observable<T>;
|
|
3567
3569
|
map: (response: T) => SelectOption[];
|
|
3568
3570
|
}
|
|
3569
3571
|
declare class AsyncSelectComponent implements OnInit, OnDestroy, OnChanges, ControlValueAccessor {
|
|
3570
3572
|
config?: AsyncSelectConfig<any>;
|
|
3571
3573
|
items: SelectOption[];
|
|
3572
|
-
parentId?: number | null;
|
|
3574
|
+
parentId?: number | number[] | null;
|
|
3573
3575
|
label: string;
|
|
3574
3576
|
placeholder: string;
|
|
3575
3577
|
name: string;
|
|
@@ -3601,6 +3603,7 @@ declare class AsyncSelectComponent implements OnInit, OnDestroy, OnChanges, Cont
|
|
|
3601
3603
|
private searchMode;
|
|
3602
3604
|
private loadAndMap;
|
|
3603
3605
|
private fetchData;
|
|
3606
|
+
private hasParentId;
|
|
3604
3607
|
private handleParentIdChange;
|
|
3605
3608
|
onSearch(event: any): void;
|
|
3606
3609
|
onSelectChange(value: any): void;
|
|
@@ -4012,7 +4015,7 @@ declare class ShowMultiSelectComponent implements OnInit, OnDestroy, ControlValu
|
|
|
4012
4015
|
static ɵcmp: i0.ɵɵComponentDeclaration<ShowMultiSelectComponent, "show-multi-select", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, true, never>;
|
|
4013
4016
|
}
|
|
4014
4017
|
|
|
4015
|
-
declare class PriceZoneSelectComponent implements OnInit, OnDestroy, ControlValueAccessor, Validator {
|
|
4018
|
+
declare class PriceZoneSelectComponent implements OnInit, OnChanges, OnDestroy, ControlValueAccessor, Validator {
|
|
4016
4019
|
private platformId;
|
|
4017
4020
|
private priceZoneService;
|
|
4018
4021
|
label: string;
|
|
@@ -4023,6 +4026,7 @@ declare class PriceZoneSelectComponent implements OnInit, OnDestroy, ControlValu
|
|
|
4023
4026
|
showError: boolean;
|
|
4024
4027
|
customClass: string;
|
|
4025
4028
|
control?: AbstractControl | null;
|
|
4029
|
+
showIds: number[];
|
|
4026
4030
|
priceZoneChange: EventEmitter<number | null>;
|
|
4027
4031
|
priceZones: WritableSignal<SelectOption[]>;
|
|
4028
4032
|
loading: WritableSignal<boolean>;
|
|
@@ -4034,6 +4038,7 @@ declare class PriceZoneSelectComponent implements OnInit, OnDestroy, ControlValu
|
|
|
4034
4038
|
onTouched: any;
|
|
4035
4039
|
constructor(platformId: string, priceZoneService: PriceZoneService);
|
|
4036
4040
|
ngOnInit(): void;
|
|
4041
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
4037
4042
|
get formControl(): FormControl;
|
|
4038
4043
|
ngOnDestroy(): void;
|
|
4039
4044
|
onSearchChange(search: string): void;
|
|
@@ -4046,7 +4051,7 @@ declare class PriceZoneSelectComponent implements OnInit, OnDestroy, ControlValu
|
|
|
4046
4051
|
} | null;
|
|
4047
4052
|
get isInvalid(): boolean;
|
|
4048
4053
|
static ɵfac: i0.ɵɵFactoryDeclaration<PriceZoneSelectComponent, never>;
|
|
4049
|
-
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>;
|
|
4054
|
+
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; }; "showIds": { "alias": "showIds"; "required": false; }; }, { "priceZoneChange": "priceZoneChange"; }, never, never, true, never>;
|
|
4050
4055
|
}
|
|
4051
4056
|
|
|
4052
4057
|
declare class PerformanceTicketStatusBadgeComponent {
|