ngx-wapp-components 2.1.18 → 2.1.19
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/assets/wappIcons/mat-number.svg +3 -0
- package/assets/wappIcons/mat-participate-again.svg +3 -0
- package/assets/wappIcons/mat-participate.svg +3 -0
- package/esm2020/lib/material/shared/models/direct-lottery-participations.model.mjs +2 -0
- package/esm2020/lib/material/shared/models/enums.model.mjs +3 -1
- package/esm2020/lib/material/shared/models/lottery-event-next-draw.model.mjs +2 -0
- package/esm2020/lib/material/shared/models/lottery-event-previous-draws.model.mjs +2 -0
- package/esm2020/lib/material/shared/models/wallet-lottery-participations-response.model.mjs +2 -0
- package/esm2020/lib/material/shared/models/wapping-service-translations.model.mjs +1 -1
- package/esm2020/lib/material/w-material-service-card/w-material-service-card.component.mjs +2 -2
- package/esm2020/lib/material/w-material-service-view/w-material-service-view.component.mjs +45 -6
- package/esm2020/lib/material/wapp-material-service-card/wapp-material-service-card.component.mjs +2 -2
- package/esm2020/lib/material/wapp-material-service-view/wapp-material-service-view.component.mjs +37 -3
- package/esm2020/public-api.mjs +5 -1
- package/fesm2015/ngx-wapp-components.mjs +85 -10
- package/fesm2015/ngx-wapp-components.mjs.map +1 -1
- package/fesm2020/ngx-wapp-components.mjs +85 -10
- package/fesm2020/ngx-wapp-components.mjs.map +1 -1
- package/lib/material/shared/models/direct-lottery-participations.model.d.ts +12 -0
- package/lib/material/shared/models/enums.model.d.ts +3 -1
- package/lib/material/shared/models/lottery-event-next-draw.model.d.ts +5 -0
- package/lib/material/shared/models/lottery-event-previous-draws.model.d.ts +6 -0
- package/lib/material/shared/models/wallet-lottery-participations-response.model.d.ts +9 -0
- package/lib/material/shared/models/wapping-service-translations.model.d.ts +2 -0
- package/lib/material/w-material-service-view/w-material-service-view.component.d.ts +10 -1
- package/lib/material/wapp-material-service-view/wapp-material-service-view.component.d.ts +10 -1
- package/package.json +1 -1
- package/public-api.d.ts +4 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { WappingServiceSubtype, WappingServiceType } from "./enums.model";
|
|
2
|
+
export interface DirectLotteryParticipationsDto {
|
|
3
|
+
skyWappCardTransactionId: number;
|
|
4
|
+
participationDate: Date;
|
|
5
|
+
lotteryResultMessage: string;
|
|
6
|
+
isAwarded: boolean;
|
|
7
|
+
serviceAwardedId: number;
|
|
8
|
+
serviceTypeAwarded: WappingServiceType;
|
|
9
|
+
serviceSubtypeAwarded: WappingServiceSubtype;
|
|
10
|
+
serviceAwardedName: string;
|
|
11
|
+
serviceAwardedImage: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DirectLotteryParticipationsDto } from "./direct-lottery-participations.model";
|
|
2
|
+
import { LotteryEventNextDrawDto } from "./lottery-event-next-draw.model";
|
|
3
|
+
import { LotteryEventPreviousDrawsDto } from "./lottery-event-previous-draws.model";
|
|
4
|
+
export interface WalletLotteryParticipationsResponse {
|
|
5
|
+
isScheduledForDraw: boolean;
|
|
6
|
+
lotteryEventNextDraw: LotteryEventNextDrawDto;
|
|
7
|
+
lotteryEventPreviousDraws: LotteryEventPreviousDrawsDto[];
|
|
8
|
+
directLotteryParticipations: DirectLotteryParticipationsDto[];
|
|
9
|
+
}
|
|
@@ -8,6 +8,7 @@ import { MatIconRegistry } from '@angular/material/icon';
|
|
|
8
8
|
import { DialogService } from 'primeng/dynamicdialog';
|
|
9
9
|
import { WFileB64 } from '../../shared/models/w-file-b64.model';
|
|
10
10
|
import { WImageCropperData } from '../../shared/models/w-image-cropper-data.model';
|
|
11
|
+
import { WalletLotteryParticipationsResponse } from '../shared/models/wallet-lottery-participations-response.model';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
export declare class WMaterialServiceViewComponent implements OnInit, OnChanges {
|
|
13
14
|
private matIconRegistry;
|
|
@@ -27,6 +28,9 @@ export declare class WMaterialServiceViewComponent implements OnInit, OnChanges
|
|
|
27
28
|
disabledButtonService: boolean;
|
|
28
29
|
showButtonService: boolean;
|
|
29
30
|
showToggle: boolean;
|
|
31
|
+
private _lotteryEvent;
|
|
32
|
+
set lotteryEvent(value: WalletLotteryParticipationsResponse);
|
|
33
|
+
get lotteryEvent(): WalletLotteryParticipationsResponse;
|
|
30
34
|
private _wappingService;
|
|
31
35
|
set wappingService(value: WappingService);
|
|
32
36
|
get wappingService(): WappingService;
|
|
@@ -40,10 +44,15 @@ export declare class WMaterialServiceViewComponent implements OnInit, OnChanges
|
|
|
40
44
|
onDefaultImageEvent: EventEmitter<WFileB64>;
|
|
41
45
|
isNoImage: boolean;
|
|
42
46
|
onHoverImageTooltip: string;
|
|
47
|
+
firstParticipation: boolean;
|
|
48
|
+
isDraw: boolean;
|
|
49
|
+
hasParticipations: boolean;
|
|
50
|
+
disabledParticipationsModal: boolean;
|
|
43
51
|
constructor(matIconRegistry: MatIconRegistry, domSanitizer: DomSanitizer, dialogService: DialogService);
|
|
44
52
|
ngOnInit(): void;
|
|
45
53
|
ngOnChanges(changes: SimpleChanges): void;
|
|
46
54
|
getWappingService(wappService: WappingService): void;
|
|
55
|
+
evaluateDraw(): void;
|
|
47
56
|
getWappingServiceTiles(service: WappingService): void;
|
|
48
57
|
getWappingServiceImages(): void;
|
|
49
58
|
selectWappingService(): void;
|
|
@@ -53,5 +62,5 @@ export declare class WMaterialServiceViewComponent implements OnInit, OnChanges
|
|
|
53
62
|
getImage(): void;
|
|
54
63
|
isWFileImage(obj: WFileB64 | string): boolean;
|
|
55
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<WMaterialServiceViewComponent, never>;
|
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WMaterialServiceViewComponent, "w-material-service-view", never, { "forceMobile": "forceMobile"; "wappingServicesTranslations": "wappingServicesTranslations"; "disabledButtonService": "disabledButtonService"; "showButtonService": "showButtonService"; "showToggle": "showToggle"; "wappingService": "wappingService"; "isDevModeActive": "isDevModeActive"; "defaultImage": "defaultImage"; "croppedImageConfiguration": "croppedImageConfiguration"; "croppedDialogTranslations": "croppedDialogTranslations"; "isNoImage": "isNoImage"; "onHoverImageTooltip": "onHoverImageTooltip"; }, { "wappingServiceSelected": "wappingServiceSelected"; "triggerButtonService": "triggerButtonService"; "onDefaultImageEvent": "onDefaultImageEvent"; }, never, never, false, never>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WMaterialServiceViewComponent, "w-material-service-view", never, { "forceMobile": "forceMobile"; "wappingServicesTranslations": "wappingServicesTranslations"; "disabledButtonService": "disabledButtonService"; "showButtonService": "showButtonService"; "showToggle": "showToggle"; "lotteryEvent": "lotteryEvent"; "wappingService": "wappingService"; "isDevModeActive": "isDevModeActive"; "defaultImage": "defaultImage"; "croppedImageConfiguration": "croppedImageConfiguration"; "croppedDialogTranslations": "croppedDialogTranslations"; "isNoImage": "isNoImage"; "onHoverImageTooltip": "onHoverImageTooltip"; }, { "wappingServiceSelected": "wappingServiceSelected"; "triggerButtonService": "triggerButtonService"; "onDefaultImageEvent": "onDefaultImageEvent"; }, never, never, false, never>;
|
|
57
66
|
}
|
|
@@ -6,6 +6,7 @@ import { WappingServiceTranslations } from '../shared/models/wapping-service-tra
|
|
|
6
6
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
7
7
|
import { MatIconRegistry } from '@angular/material/icon';
|
|
8
8
|
import { MaterialModalService } from '../shared/services/material-modal.service';
|
|
9
|
+
import { WalletLotteryParticipationsResponse } from '../shared/models/wallet-lottery-participations-response.model';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class WappMaterialServiceViewComponent implements OnInit {
|
|
11
12
|
private matIconRegistry;
|
|
@@ -24,14 +25,22 @@ export declare class WappMaterialServiceViewComponent implements OnInit {
|
|
|
24
25
|
disabledButtonService: boolean;
|
|
25
26
|
showButtonService: boolean;
|
|
26
27
|
showToggle: boolean;
|
|
28
|
+
private _lotteryEvent;
|
|
29
|
+
set lotteryEvent(value: WalletLotteryParticipationsResponse);
|
|
30
|
+
get lotteryEvent(): WalletLotteryParticipationsResponse;
|
|
27
31
|
private _wappingService;
|
|
28
32
|
set wappingService(value: WappingService);
|
|
29
33
|
get wappingService(): WappingService;
|
|
30
34
|
wappingServiceSelected: EventEmitter<boolean>;
|
|
31
35
|
triggerButtonService: EventEmitter<void>;
|
|
36
|
+
firstParticipation: boolean;
|
|
37
|
+
isDraw: boolean;
|
|
38
|
+
hasParticipations: boolean;
|
|
39
|
+
disabledParticipationsModal: boolean;
|
|
32
40
|
constructor(matIconRegistry: MatIconRegistry, domSanitizer: DomSanitizer, materialModal: MaterialModalService);
|
|
33
41
|
ngOnInit(): void;
|
|
34
42
|
initWappingService(): void;
|
|
43
|
+
evaluateDraw(): void;
|
|
35
44
|
getWappingServiceTiles(): void;
|
|
36
45
|
getWappingServiceImages(): void;
|
|
37
46
|
selectWappingService(): void;
|
|
@@ -39,5 +48,5 @@ export declare class WappMaterialServiceViewComponent implements OnInit {
|
|
|
39
48
|
pressButtonService(): void;
|
|
40
49
|
isOverflown(): boolean;
|
|
41
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<WappMaterialServiceViewComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WappMaterialServiceViewComponent, "wapp-material-service-view", never, { "wappingServicesTranslations": "wappingServicesTranslations"; "disabledButtonService": "disabledButtonService"; "showButtonService": "showButtonService"; "showToggle": "showToggle"; "wappingService": "wappingService"; }, { "wappingServiceSelected": "wappingServiceSelected"; "triggerButtonService": "triggerButtonService"; }, never, never, false, never>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WappMaterialServiceViewComponent, "wapp-material-service-view", never, { "wappingServicesTranslations": "wappingServicesTranslations"; "disabledButtonService": "disabledButtonService"; "showButtonService": "showButtonService"; "showToggle": "showToggle"; "lotteryEvent": "lotteryEvent"; "wappingService": "wappingService"; }, { "wappingServiceSelected": "wappingServiceSelected"; "triggerButtonService": "triggerButtonService"; }, never, never, false, never>;
|
|
43
52
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -125,3 +125,7 @@ export * from './lib/shared/models/w-file-attachment.model';
|
|
|
125
125
|
export * from './lib/material/shared/models/enums.model';
|
|
126
126
|
export * from './lib/material/shared/models/wapping-service';
|
|
127
127
|
export * from './lib/material/shared/models/wapping-service-item-view';
|
|
128
|
+
export * from './lib/material/shared/models/wallet-lottery-participations-response.model';
|
|
129
|
+
export * from './lib/material/shared/models/lottery-event-next-draw.model';
|
|
130
|
+
export * from './lib/material/shared/models/lottery-event-previous-draws.model';
|
|
131
|
+
export * from './lib/material/shared/models/direct-lottery-participations.model';
|