ngx-wapp-components 3.2.25 → 3.2.26-alpha.2

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.25",
3
+ "version": "3.2.26-alpha.2",
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
+ }
@@ -3640,7 +3640,8 @@ declare enum WappingServiceType {
3640
3640
  Promotion = 4,
3641
3641
  Cuponing = 5,
3642
3642
  Post = 6,
3643
- Draws = 7
3643
+ Draws = 7,
3644
+ MemberGetMember = 8
3644
3645
  }
3645
3646
  declare enum WappingServiceSubtype {
3646
3647
  GiftCard = 1,
@@ -3658,7 +3659,10 @@ declare enum WappingServiceSubtype {
3658
3659
  Post = 13,
3659
3660
  DiscountCoupon = 14,
3660
3661
  Identity = 15,
3661
- PromoFixedPrice = 16
3662
+ PromoFixedPrice = 16,
3663
+ Draws = 17,
3664
+ EarnAndBurn = 18,
3665
+ MemberGetMember = 20
3662
3666
  }
3663
3667
  declare enum SendingStatus {
3664
3668
  ScheduledToSend = 1,
@@ -3820,6 +3824,9 @@ interface WappingServiceTranslations {
3820
3824
  showMore?: string;
3821
3825
  title?: string;
3822
3826
  participate?: string;
3827
+ buttonService?: string;
3828
+ winnerDate?: string;
3829
+ yourNumbers?: string;
3823
3830
  }
3824
3831
 
3825
3832
  declare class WMaterialServiceCardComponent implements OnChanges {
@@ -3860,6 +3867,38 @@ declare class WMaterialServiceCardComponent implements OnChanges {
3860
3867
  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>;
3861
3868
  }
3862
3869
 
3870
+ interface DirectLotteryParticipationsDto {
3871
+ skyWappCardTransactionId: number;
3872
+ participationDate: Date;
3873
+ lotteryResultMessage: string;
3874
+ isAwarded: boolean;
3875
+ serviceAwardedId: number;
3876
+ serviceTypeAwarded: WappingServiceType;
3877
+ serviceSubtypeAwarded: WappingServiceSubtype;
3878
+ serviceAwardedName: string;
3879
+ serviceAwardedImage: string;
3880
+ }
3881
+
3882
+ interface LotteryEventNextDrawDto {
3883
+ lotteryEventId: number;
3884
+ drawDate: Date;
3885
+ skyWappCardTransactionIds: number[];
3886
+ }
3887
+
3888
+ interface LotteryEventPreviousDrawsDto {
3889
+ lotteryEventId: number;
3890
+ drawDate: Date;
3891
+ skyWappCardTransactionIds: number[];
3892
+ winningTransactionIds: number[];
3893
+ }
3894
+
3895
+ interface WalletLotteryParticipationsResponse {
3896
+ isScheduledForDraw: boolean;
3897
+ lotteryEventNextDraw: LotteryEventNextDrawDto;
3898
+ lotteryEventPreviousDraws: LotteryEventPreviousDrawsDto[];
3899
+ directLotteryParticipations: DirectLotteryParticipationsDto[];
3900
+ }
3901
+
3863
3902
  declare class WMaterialServiceViewComponent implements OnInit, OnChanges {
3864
3903
  private matIconRegistry;
3865
3904
  private domSanitizer;
@@ -3874,15 +3913,21 @@ declare class WMaterialServiceViewComponent implements OnInit, OnChanges {
3874
3913
  ecardStatus: typeof CardStatus;
3875
3914
  translations: any;
3876
3915
  isDrawService: boolean;
3916
+ isMemberGetMember: boolean;
3877
3917
  isStampBookletService: boolean;
3878
3918
  forceMobile: boolean;
3879
3919
  wappingServicesTranslations: WappingServiceTranslations;
3880
- canParticipateDraw: boolean;
3920
+ disabledButtonService: boolean;
3921
+ showButtonService: boolean;
3922
+ showToggle: boolean;
3923
+ private _lotteryEvent;
3924
+ set lotteryEvent(value: WalletLotteryParticipationsResponse);
3925
+ get lotteryEvent(): WalletLotteryParticipationsResponse;
3881
3926
  private _wappingService;
3882
3927
  set wappingService(value: WappingService);
3883
3928
  get wappingService(): WappingService;
3884
3929
  wappingServiceSelected: EventEmitter<boolean>;
3885
- participateDraw: EventEmitter<void>;
3930
+ triggerButtonService: EventEmitter<void>;
3886
3931
  isDevModeActive: boolean;
3887
3932
  defaultImage: WFileB64 | string;
3888
3933
  croppedImageConfiguration: WImageCropperData;
@@ -3891,23 +3936,28 @@ declare class WMaterialServiceViewComponent implements OnInit, OnChanges {
3891
3936
  onDefaultImageEvent: EventEmitter<WFileB64>;
3892
3937
  isNoImage: boolean;
3893
3938
  onHoverImageTooltip: string;
3939
+ firstParticipation: boolean;
3940
+ isDraw: boolean;
3941
+ hasParticipations: boolean;
3942
+ disabledParticipationsModal: boolean;
3894
3943
  ref: DynamicDialogRef<WImageCropperComponent> | null;
3895
3944
  constructor(matIconRegistry: MatIconRegistry, domSanitizer: DomSanitizer, dialogService: DialogService);
3896
3945
  ngOnInit(): void;
3897
3946
  ngOnChanges(changes: SimpleChanges): void;
3898
3947
  getWappingService(wappService: WappingService): void;
3948
+ evaluateDraw(): void;
3899
3949
  getWappingServiceTiles(service: WappingService): void;
3900
3950
  getWappingServiceImages(): void;
3901
3951
  selectWappingService(): void;
3902
3952
  hasHtml(value: any): boolean;
3903
- triggerParticipate(): void;
3953
+ pressButtonService(): void;
3904
3954
  setImage(): void;
3905
3955
  getImage(): {
3906
3956
  path: string | WFileB64;
3907
3957
  }[];
3908
3958
  isWFileImage(obj: WFileB64 | string): boolean;
3909
3959
  static ɵfac: i0.ɵɵFactoryDeclaration<WMaterialServiceViewComponent, never>;
3910
- 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>;
3960
+ 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>;
3911
3961
  }
3912
3962
 
3913
3963
  declare class WappMaterialServiceCardComponent {
@@ -3967,25 +4017,35 @@ declare class WappMaterialServiceViewComponent implements OnInit {
3967
4017
  enumSendingStatus: typeof SendingStatus;
3968
4018
  ecardStatus: typeof CardStatus;
3969
4019
  translations: any;
3970
- isDrawService: boolean;
3971
4020
  wappingServicesTranslations: WappingServiceTranslations;
3972
- canParticipateDraw: boolean;
4021
+ disabledButtonService: boolean;
4022
+ showButtonService: boolean;
4023
+ showToggle: boolean;
4024
+ private _lotteryEvent;
4025
+ set lotteryEvent(value: WalletLotteryParticipationsResponse);
4026
+ get lotteryEvent(): WalletLotteryParticipationsResponse;
3973
4027
  private _wappingService;
3974
4028
  set wappingService(value: WappingService);
3975
4029
  get wappingService(): WappingService;
3976
4030
  wappingServiceSelected: EventEmitter<boolean>;
3977
- participateDraw: EventEmitter<void>;
4031
+ triggerButtonService: EventEmitter<void>;
4032
+ firstParticipation: boolean;
4033
+ isDraw: boolean;
4034
+ hasParticipations: boolean;
4035
+ disabledParticipationsModal: boolean;
4036
+ isMemberGetMember: boolean;
3978
4037
  constructor(matIconRegistry: MatIconRegistry, domSanitizer: DomSanitizer, materialModal: MaterialModalService);
3979
4038
  ngOnInit(): void;
3980
4039
  initWappingService(): void;
4040
+ evaluateDraw(): void;
3981
4041
  getWappingServiceTiles(): void;
3982
4042
  getWappingServiceImages(): void;
3983
4043
  selectWappingService(): void;
3984
4044
  openModalShowMoreDescription(): void;
3985
- triggerParticipate(): void;
4045
+ pressButtonService(): void;
3986
4046
  isOverflown(): boolean;
3987
4047
  static ɵfac: i0.ɵɵFactoryDeclaration<WappMaterialServiceViewComponent, never>;
3988
- 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>;
4048
+ 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>;
3989
4049
  }
3990
4050
 
3991
4051
  declare class MainTitleComponent implements OnInit {
@@ -4263,4 +4323,4 @@ interface WappTableActionButtonResponse {
4263
4323
  }
4264
4324
 
4265
4325
  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 };
4266
- 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 };
4326
+ 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 };