ngx-wapp-components 3.2.28-alpha.3 → 3.2.28

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-wapp-components",
3
- "version": "3.2.28-alpha.3",
3
+ "version": "3.2.28",
4
4
  "description": "This is a Wapping reusable component library published by Wapping.",
5
5
  "keywords": [
6
6
  "code",
@@ -60,4 +60,4 @@
60
60
  }
61
61
  },
62
62
  "type": "module"
63
- }
63
+ }
@@ -3647,7 +3647,8 @@ declare enum WappingServiceType {
3647
3647
  Promotion = 4,
3648
3648
  Cuponing = 5,
3649
3649
  Post = 6,
3650
- Draws = 7
3650
+ Draws = 7,
3651
+ MemberGetMember = 8
3651
3652
  }
3652
3653
  declare enum WappingServiceSubtype {
3653
3654
  GiftCard = 1,
@@ -3665,7 +3666,10 @@ declare enum WappingServiceSubtype {
3665
3666
  Post = 13,
3666
3667
  DiscountCoupon = 14,
3667
3668
  Identity = 15,
3668
- PromoFixedPrice = 16
3669
+ PromoFixedPrice = 16,
3670
+ Draws = 17,
3671
+ EarnAndBurn = 18,
3672
+ MemberGetMember = 20
3669
3673
  }
3670
3674
  declare enum SendingStatus {
3671
3675
  ScheduledToSend = 1,
@@ -3827,6 +3831,9 @@ interface WappingServiceTranslations {
3827
3831
  showMore?: string;
3828
3832
  title?: string;
3829
3833
  participate?: string;
3834
+ buttonService?: string;
3835
+ winnerDate?: string;
3836
+ yourNumbers?: string;
3830
3837
  }
3831
3838
 
3832
3839
  declare class WMaterialServiceCardComponent implements OnChanges {
@@ -3867,6 +3874,38 @@ declare class WMaterialServiceCardComponent implements OnChanges {
3867
3874
  static ɵcmp: i0.ɵɵComponentDeclaration<WMaterialServiceCardComponent, "w-material-service-card", never, { "isDevModeActive": { "alias": "isDevModeActive"; "required": false; }; "wappingServicesTranslations": { "alias": "wappingServicesTranslations"; "required": false; }; "wappingService": { "alias": "wappingService"; "required": false; }; "defaultImage": { "alias": "defaultImage"; "required": false; }; "croppedImageConfiguration": { "alias": "croppedImageConfiguration"; "required": false; }; "croppedDialogTranslations": { "alias": "croppedDialogTranslations"; "required": false; }; "onHoverImageTooltip": { "alias": "onHoverImageTooltip"; "required": false; }; }, { "cardClicked": "cardClicked"; "onDefaultImageEvent": "onDefaultImageEvent"; }, never, never, false, never>;
3868
3875
  }
3869
3876
 
3877
+ interface DirectLotteryParticipationsDto {
3878
+ skyWappCardTransactionId: number;
3879
+ participationDate: Date;
3880
+ lotteryResultMessage: string;
3881
+ isAwarded: boolean;
3882
+ serviceAwardedId: number;
3883
+ serviceTypeAwarded: WappingServiceType;
3884
+ serviceSubtypeAwarded: WappingServiceSubtype;
3885
+ serviceAwardedName: string;
3886
+ serviceAwardedImage: string;
3887
+ }
3888
+
3889
+ interface LotteryEventNextDrawDto {
3890
+ lotteryEventId: number;
3891
+ drawDate: Date;
3892
+ skyWappCardTransactionIds: number[];
3893
+ }
3894
+
3895
+ interface LotteryEventPreviousDrawsDto {
3896
+ lotteryEventId: number;
3897
+ drawDate: Date;
3898
+ skyWappCardTransactionIds: number[];
3899
+ winningTransactionIds: number[];
3900
+ }
3901
+
3902
+ interface WalletLotteryParticipationsResponse {
3903
+ isScheduledForDraw: boolean;
3904
+ lotteryEventNextDraw: LotteryEventNextDrawDto;
3905
+ lotteryEventPreviousDraws: LotteryEventPreviousDrawsDto[];
3906
+ directLotteryParticipations: DirectLotteryParticipationsDto[];
3907
+ }
3908
+
3870
3909
  declare class WMaterialServiceViewComponent implements OnInit, OnChanges {
3871
3910
  private matIconRegistry;
3872
3911
  private domSanitizer;
@@ -3881,15 +3920,21 @@ declare class WMaterialServiceViewComponent implements OnInit, OnChanges {
3881
3920
  ecardStatus: typeof CardStatus;
3882
3921
  translations: any;
3883
3922
  isDrawService: boolean;
3923
+ isMemberGetMember: boolean;
3884
3924
  isStampBookletService: boolean;
3885
3925
  forceMobile: boolean;
3886
3926
  wappingServicesTranslations: WappingServiceTranslations;
3887
- canParticipateDraw: boolean;
3927
+ disabledButtonService: boolean;
3928
+ showButtonService: boolean;
3929
+ showToggle: boolean;
3930
+ private _lotteryEvent;
3931
+ set lotteryEvent(value: WalletLotteryParticipationsResponse);
3932
+ get lotteryEvent(): WalletLotteryParticipationsResponse;
3888
3933
  private _wappingService;
3889
3934
  set wappingService(value: WappingService);
3890
3935
  get wappingService(): WappingService;
3891
3936
  wappingServiceSelected: EventEmitter<boolean>;
3892
- participateDraw: EventEmitter<void>;
3937
+ triggerButtonService: EventEmitter<void>;
3893
3938
  isDevModeActive: boolean;
3894
3939
  defaultImage: WFileB64 | string;
3895
3940
  croppedImageConfiguration: WImageCropperData;
@@ -3898,23 +3943,25 @@ declare class WMaterialServiceViewComponent implements OnInit, OnChanges {
3898
3943
  onDefaultImageEvent: EventEmitter<WFileB64>;
3899
3944
  isNoImage: boolean;
3900
3945
  onHoverImageTooltip: string;
3946
+ firstParticipation: boolean;
3947
+ hasParticipations: boolean;
3948
+ disabledParticipationsModal: boolean;
3901
3949
  ref: DynamicDialogRef<WImageCropperComponent> | null;
3902
3950
  constructor(matIconRegistry: MatIconRegistry, domSanitizer: DomSanitizer, dialogService: DialogService);
3903
3951
  ngOnInit(): void;
3904
3952
  ngOnChanges(changes: SimpleChanges): void;
3905
3953
  getWappingService(wappService: WappingService): void;
3954
+ evaluateDraw(): void;
3906
3955
  getWappingServiceTiles(service: WappingService): void;
3907
3956
  getWappingServiceImages(): void;
3908
3957
  selectWappingService(): void;
3909
3958
  hasHtml(value: any): boolean;
3910
- triggerParticipate(): void;
3959
+ pressButtonService(): void;
3911
3960
  setImage(): void;
3912
- getImage(): {
3913
- path: string | WFileB64;
3914
- }[];
3961
+ getImage(): void;
3915
3962
  isWFileImage(obj: WFileB64 | string): boolean;
3916
3963
  static ɵfac: i0.ɵɵFactoryDeclaration<WMaterialServiceViewComponent, never>;
3917
- static ɵcmp: i0.ɵɵComponentDeclaration<WMaterialServiceViewComponent, "w-material-service-view", never, { "forceMobile": { "alias": "forceMobile"; "required": false; }; "wappingServicesTranslations": { "alias": "wappingServicesTranslations"; "required": false; }; "canParticipateDraw": { "alias": "canParticipateDraw"; "required": false; }; "wappingService": { "alias": "wappingService"; "required": false; }; "isDevModeActive": { "alias": "isDevModeActive"; "required": false; }; "defaultImage": { "alias": "defaultImage"; "required": false; }; "croppedImageConfiguration": { "alias": "croppedImageConfiguration"; "required": false; }; "croppedDialogTranslations": { "alias": "croppedDialogTranslations"; "required": false; }; "isNoImage": { "alias": "isNoImage"; "required": false; }; "onHoverImageTooltip": { "alias": "onHoverImageTooltip"; "required": false; }; }, { "wappingServiceSelected": "wappingServiceSelected"; "participateDraw": "participateDraw"; "onDefaultImageEvent": "onDefaultImageEvent"; }, never, never, false, never>;
3964
+ static ɵcmp: i0.ɵɵComponentDeclaration<WMaterialServiceViewComponent, "w-material-service-view", never, { "forceMobile": { "alias": "forceMobile"; "required": false; }; "wappingServicesTranslations": { "alias": "wappingServicesTranslations"; "required": false; }; "disabledButtonService": { "alias": "disabledButtonService"; "required": false; }; "showButtonService": { "alias": "showButtonService"; "required": false; }; "showToggle": { "alias": "showToggle"; "required": false; }; "lotteryEvent": { "alias": "lotteryEvent"; "required": false; }; "wappingService": { "alias": "wappingService"; "required": false; }; "isDevModeActive": { "alias": "isDevModeActive"; "required": false; }; "defaultImage": { "alias": "defaultImage"; "required": false; }; "croppedImageConfiguration": { "alias": "croppedImageConfiguration"; "required": false; }; "croppedDialogTranslations": { "alias": "croppedDialogTranslations"; "required": false; }; "isNoImage": { "alias": "isNoImage"; "required": false; }; "onHoverImageTooltip": { "alias": "onHoverImageTooltip"; "required": false; }; }, { "wappingServiceSelected": "wappingServiceSelected"; "triggerButtonService": "triggerButtonService"; "onDefaultImageEvent": "onDefaultImageEvent"; }, never, never, false, never>;
3918
3965
  }
3919
3966
 
3920
3967
  declare class WappMaterialServiceCardComponent {
@@ -3974,25 +4021,35 @@ declare class WappMaterialServiceViewComponent implements OnInit {
3974
4021
  enumSendingStatus: typeof SendingStatus;
3975
4022
  ecardStatus: typeof CardStatus;
3976
4023
  translations: any;
3977
- isDrawService: boolean;
3978
4024
  wappingServicesTranslations: WappingServiceTranslations;
3979
- canParticipateDraw: boolean;
4025
+ disabledButtonService: boolean;
4026
+ showButtonService: boolean;
4027
+ showToggle: boolean;
4028
+ private _lotteryEvent;
4029
+ set lotteryEvent(value: WalletLotteryParticipationsResponse);
4030
+ get lotteryEvent(): WalletLotteryParticipationsResponse;
3980
4031
  private _wappingService;
3981
4032
  set wappingService(value: WappingService);
3982
4033
  get wappingService(): WappingService;
3983
4034
  wappingServiceSelected: EventEmitter<boolean>;
3984
- participateDraw: EventEmitter<void>;
4035
+ triggerButtonService: EventEmitter<void>;
4036
+ firstParticipation: boolean;
4037
+ isDraw: boolean;
4038
+ hasParticipations: boolean;
4039
+ disabledParticipationsModal: boolean;
4040
+ isMemberGetMember: boolean;
3985
4041
  constructor(matIconRegistry: MatIconRegistry, domSanitizer: DomSanitizer, materialModal: MaterialModalService);
3986
4042
  ngOnInit(): void;
3987
4043
  initWappingService(): void;
4044
+ evaluateDraw(): void;
3988
4045
  getWappingServiceTiles(): void;
3989
4046
  getWappingServiceImages(): void;
3990
4047
  selectWappingService(): void;
3991
4048
  openModalShowMoreDescription(): void;
3992
- triggerParticipate(): void;
4049
+ pressButtonService(): void;
3993
4050
  isOverflown(): boolean;
3994
4051
  static ɵfac: i0.ɵɵFactoryDeclaration<WappMaterialServiceViewComponent, never>;
3995
- static ɵcmp: i0.ɵɵComponentDeclaration<WappMaterialServiceViewComponent, "wapp-material-service-view", never, { "wappingServicesTranslations": { "alias": "wappingServicesTranslations"; "required": false; }; "canParticipateDraw": { "alias": "canParticipateDraw"; "required": false; }; "wappingService": { "alias": "wappingService"; "required": false; }; }, { "wappingServiceSelected": "wappingServiceSelected"; "participateDraw": "participateDraw"; }, never, never, false, never>;
4052
+ static ɵcmp: i0.ɵɵComponentDeclaration<WappMaterialServiceViewComponent, "wapp-material-service-view", never, { "wappingServicesTranslations": { "alias": "wappingServicesTranslations"; "required": false; }; "disabledButtonService": { "alias": "disabledButtonService"; "required": false; }; "showButtonService": { "alias": "showButtonService"; "required": false; }; "showToggle": { "alias": "showToggle"; "required": false; }; "lotteryEvent": { "alias": "lotteryEvent"; "required": false; }; "wappingService": { "alias": "wappingService"; "required": false; }; }, { "wappingServiceSelected": "wappingServiceSelected"; "triggerButtonService": "triggerButtonService"; }, never, never, false, never>;
3996
4053
  }
3997
4054
 
3998
4055
  declare class MainTitleComponent implements OnInit {
@@ -4270,4 +4327,4 @@ interface WappTableActionButtonResponse {
4270
4327
  }
4271
4328
 
4272
4329
  export { AddressEnum, CONTROL_VALUE_ACCESSOR, CardStatus, CarouselComponent, ClipboardService, ColorService, ColorTextPipe, CronCharactersType, CronFieldType, CronPeriodicityType, CustomColor, DataTypeEnum, DateConversionService, FileService, FormControlService, MainTitleComponent, ModalService, NotificationsEventEnum, NumberConversionService, OperatorEnum, PeriodSelectEnum, QBDataTypeEnum, QueryArrowIconDirective, QueryBuilderComponent, QueryButtonGroupDirective, QueryEmptyWarningDirective, QueryEntityDirective, QueryFieldDirective, QueryInputDirective, QueryOperatorDirective, QueryRemoveButtonDirective, QueryResultType, QuerySwitchGroupDirective, SendingStatus, SessionStorageService, TableColumnFilterTypes, TableColumnTypes, TreeService, TypeMedia, VALIDATOR, WAddressFieldComponent, WAutocompleteSearchComponent, WBadgeComponent, WBodyComponent, WBodyContainerComponent, WBodyGridComponent, WButtonComponent, WButtonTabviewComponent, WButtonWeekComponent, WButtonsFooterComponent, WCardComponent, WChartBarComponent, WChipComponent, WClipboardComponent, WCodeBlockComponent, WContainerComponent, WCronExpressionsComponent, WCurrencyPipe, WDataviewComponent, WDatePipe, WDatePipeFormatType, WDatePipeReturnType, WEditCalendarComponent, WEditCalendarMonthComponent, WEditCheckboxComponent, WEditInputColorpickerComponent, WEditInputNumberComponent, WEditInputTextComponent, WEditInputTextareaComponent, WEditMultiselectComponent, WEditSelectComponent, WEditToggleComponent, WEditTreeselectComponent, WFileGeneratorComponent, WFileUploaderComponent, WFilterPanelComponent, WFooterComponent, WHeaderPanelComponent, WIconsComponent, WImageCropperComponent, WImageFileUploaderComponent, WInputLabelComponent, WInputSearchComponent, WInputVerticalGapDividerComponent, WLogosComponent, WMapsComponent, WMaterialServiceCardComponent, WMaterialServiceViewComponent, WNavbarComponent, WNotificationsEventFieldComponent, WPanelComponent, WPanelGridComponent, WPanelSectionGapDividerComponent, WPanelSubtitleComponent, WPanelTitleComponent, WParameterSelectorComponent, WPercentagePipe, WPowerbiReportComponent, WPreviewImageComponent, WRadioButtonComponent, WSelectButtonComponent, WSidebarComponent, WSkeletonEditComponent, WSkeletonEditProductComponent, WSkeletonFormComponent, WSkeletonGenericComponent, WSkeletonIframeComponent, WSkeletonInputGenericComponent, WSkeletonListComponent, WSkeletonPowerbiReportComponent, WSkeletonProfileSidebarComponent, WSkeletonQueryBuilderComponent, WSkeletonSidebarComponent, WSkeletonTimelineComponent, WSkeletonTreeComponent, WSkeletonUserProfileInfoSidebarComponent, WStampBookletComponent, WSummaryPipe, WTableComponent, WTableLazyComponent, WTabviewComponent, WTimelineComponent, WToggleButtonComponent, WTreeComponent, WTreeFieldComponent, WTreeTableComponent, WViewBadgeComponent, WViewBooleanComponent, WViewTextComponent, WWizardComponent, WappComponentsComponent, WappComponentsModule, WappComponentsService, WappMaterialServiceCardComponent, WappMaterialServiceViewComponent, WappModalCloseButtonComponent, WappModalTitleComponent, WappServiceDescriptionComponent, WappTableColumnAlignTypes, WappingServiceAppViewType, WappingServiceSubtype, WappingServiceType };
4273
- export type { ActionButton$1 as ActionButton, ActionButtonResponse$1 as ActionButtonResponse, ArrowIconContext, ButtonGroupContext, ChartConfig, CronComponentTranslations, EmbedConfig, EmptyWarningContext, Entity, EntityContext, EntityMap, Field, FieldContext, FieldMap, Filter, FilterPanelTranslations, ImageB64, InputContext, LazyElementQueryRequest, LocalRuleMeta, ModalSize$1 as ModalSize, NullableOption, OperatorContext, Option, ParameterSelector, PlatformEventsGroups, QueryBuilderClassNames, QueryBuilderConfig, QueryResults, RemoveButtonContext, Rule, RuleSet, StampBookletConfig, SwitchGroupContext, TableColoredBadge, TableEnumIcon, WAddress, WAddressMaps, WFileAttachment, WFileB64, WFileUploaderConfig, WFileUploaderDataSheetResponse, WImageCropperData, WImageFileUploaderConfig, WSelectButtonState, WTreeTable, WTreeTableColumn, WappTable, WappTableActionButtonResponse, WappTableLazyLoading, WappTableLazyTooltips, WappTableTooltips, WappingService, WappingServiceItemView };
4330
+ export type { ActionButton$1 as ActionButton, ActionButtonResponse$1 as ActionButtonResponse, ArrowIconContext, ButtonGroupContext, ChartConfig, CronComponentTranslations, DirectLotteryParticipationsDto, EmbedConfig, EmptyWarningContext, Entity, EntityContext, EntityMap, Field, FieldContext, FieldMap, Filter, FilterPanelTranslations, ImageB64, InputContext, LazyElementQueryRequest, LocalRuleMeta, LotteryEventNextDrawDto, LotteryEventPreviousDrawsDto, ModalSize$1 as ModalSize, NullableOption, OperatorContext, Option, ParameterSelector, PlatformEventsGroups, QueryBuilderClassNames, QueryBuilderConfig, QueryResults, RemoveButtonContext, Rule, RuleSet, StampBookletConfig, SwitchGroupContext, TableColoredBadge, TableEnumIcon, WAddress, WAddressMaps, WFileAttachment, WFileB64, WFileUploaderConfig, WFileUploaderDataSheetResponse, WImageCropperData, WImageFileUploaderConfig, WSelectButtonState, WTreeTable, WTreeTableColumn, WalletLotteryParticipationsResponse, WappTable, WappTableActionButtonResponse, WappTableLazyLoading, WappTableLazyTooltips, WappTableTooltips, WappingService, WappingServiceItemView };