@everymatrix/player-elevate-card 1.56.0 → 1.56.3

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.
Files changed (28) hide show
  1. package/dist/cjs/general-styling-wrapper_5.cjs.entry.js +33 -78
  2. package/dist/cjs/{index-e1db0305.js → index-ea33d8f2.js} +129 -280
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/player-elevate-card.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +2 -2
  6. package/dist/collection/components/player-elevate-card/player-elevate-card.js +7 -39
  7. package/dist/collection/components/player-elevate-card-data/player-elevate-card-data.js +5 -2
  8. package/dist/collection/components/player-elevate-loyaltycard/player-elevate-loyaltycard.js +8 -41
  9. package/dist/collection/components/player-elevate-pointcard/player-elevate-pointcard.js +10 -51
  10. package/dist/esm/general-styling-wrapper_5.entry.js +33 -78
  11. package/dist/esm/{index-29ae3408.js → index-98f17aff.js} +129 -280
  12. package/dist/esm/loader.js +2 -2
  13. package/dist/esm/player-elevate-card.js +3 -3
  14. package/dist/player-elevate-card/p-17f8d580.js +2 -0
  15. package/dist/player-elevate-card/p-45b4751e.entry.js +1 -0
  16. package/dist/player-elevate-card/player-elevate-card.esm.js +1 -1
  17. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/player-elevate-card/.stencil/packages/stencil/player-elevate-card/stencil.config.d.ts +2 -0
  18. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/player-elevate-card/.stencil/packages/stencil/player-elevate-card/stencil.config.dev.d.ts +2 -0
  19. package/dist/types/stencil-public-runtime.d.ts +0 -6
  20. package/package.json +1 -1
  21. package/dist/player-elevate-card/p-17e5148c.js +0 -2
  22. package/dist/player-elevate-card/p-33df4709.entry.js +0 -1
  23. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/player-elevate-card/.stencil/packages/stencil/player-elevate-card/stencil.config.d.ts +0 -2
  24. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/player-elevate-card/.stencil/packages/stencil/player-elevate-card/stencil.config.dev.d.ts +0 -2
  25. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/player-elevate-card/.stencil/tools/plugins/index.d.ts +0 -0
  26. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/player-elevate-card/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  27. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/player-elevate-card/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  28. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/player-elevate-card/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-e1db0305.js');
5
+ const index = require('./index-ea33d8f2.js');
6
6
 
7
7
  const mergeTranslations = (url, target) => {
8
8
  return new Promise((resolve) => {
@@ -26,18 +26,6 @@ const GeneralStylingWrapperStyle0 = generalStylingWrapperCss;
26
26
  const GeneralStylingWrapper = class {
27
27
  constructor(hostRef) {
28
28
  index.registerInstance(this, hostRef);
29
- /**
30
- * Client custom styling via inline styles
31
- */
32
- this.clientStyling = '';
33
- /**
34
- * Client custom styling via url
35
- */
36
- this.clientStylingUrl = '';
37
- /**
38
- * Translation via url
39
- */
40
- this.translationUrl = '';
41
29
  this.stylingAppends = false;
42
30
  this.setClientStyling = () => {
43
31
  let sheet = document.createElement('style');
@@ -59,6 +47,10 @@ const GeneralStylingWrapper = class {
59
47
  console.log('error ', err);
60
48
  });
61
49
  };
50
+ this.clientStyling = '';
51
+ this.clientStylingUrl = '';
52
+ this.translationUrl = '';
53
+ this.targetTranslations = undefined;
62
54
  }
63
55
  componentDidRender() {
64
56
  // start custom styling area
@@ -2489,32 +2481,20 @@ const PlayerElevateCardStyle0 = playerElevateCardCss;
2489
2481
  const PlayerElevateCard = class {
2490
2482
  constructor(hostRef) {
2491
2483
  index.registerInstance(this, hostRef);
2492
- /**
2493
- * The style that widget shows,available value: Dark, Light
2494
- * Default: Dark
2495
- */
2484
+ this.endpoint = undefined;
2496
2485
  this.theme = 'Dark';
2497
- /**
2498
- * Widget Language to show
2499
- */
2486
+ this.session = undefined;
2487
+ this.playerAvatarUrl = undefined;
2500
2488
  this.language = 'en';
2501
- /**
2502
- * datePattern
2503
- */
2489
+ this.playerName = undefined;
2504
2490
  this.dateFormat = 'yyyy-MM-dd';
2505
- /**
2506
- * Client custom styling via inline styles
2507
- */
2508
2491
  this.clientStyling = '';
2509
- /**
2510
- * Client custom styling via url
2511
- */
2512
2492
  this.clientStylingUrl = '';
2513
- /**
2514
- * Translation via url
2515
- */
2516
2493
  this.translationUrl = '';
2494
+ this.pointExpireString = undefined;
2517
2495
  this.playerLevelFlag = 0;
2496
+ this.playerElevateLevel = undefined;
2497
+ this.elevateWalletTotal = undefined;
2518
2498
  }
2519
2499
  onSessionOrEndpointChange() {
2520
2500
  this.paramProxy = Object.assign(Object.assign({}, this.paramProxy), { session: this.session, endpoint: this.endpoint, language: this.language });
@@ -2851,6 +2831,9 @@ const PlayerElevateCardData = class {
2851
2831
  constructor(hostRef) {
2852
2832
  index.registerInstance(this, hostRef);
2853
2833
  this.playerElevateLeveLoaded = index.createEvent(this, "playerElevateLeveLoaded", 7);
2834
+ this.params = undefined;
2835
+ this.playerElevateLevel = undefined;
2836
+ this.pointExpireString = undefined;
2854
2837
  }
2855
2838
  handleWindowResizs() {
2856
2839
  this.initLevelProgressbar();
@@ -3018,31 +3001,20 @@ const PlayerElevateLoyaltycardStyle0 = playerElevateLoyaltycardCss;
3018
3001
  const PlayerElevateLoyaltycard = class {
3019
3002
  constructor(hostRef) {
3020
3003
  index.registerInstance(this, hostRef);
3021
- /**
3022
- * The style that widget shows,available value: Dark, Light
3023
- * Default: Dark
3024
- */
3004
+ this.endpoint = undefined;
3025
3005
  this.theme = 'Dark';
3026
- /**
3027
- * Widget Language to show
3028
- */
3006
+ this.session = undefined;
3007
+ this.playerAvatarUrl = undefined;
3029
3008
  this.language = 'en';
3030
- /**
3031
- * datePattern
3032
- */
3009
+ this.playerName = undefined;
3033
3010
  this.dateFormat = 'yyyy-MM-dd';
3034
- /**
3035
- * Client custom styling via inline styles
3036
- */
3011
+ this.mbSource = undefined;
3037
3012
  this.clientStyling = '';
3038
- /**
3039
- * Client custom styling via url
3040
- */
3041
3013
  this.clientStylingUrl = '';
3042
- /**
3043
- * Translation via url
3044
- */
3045
3014
  this.translationUrl = '';
3015
+ this.pointExpireString = undefined;
3016
+ this.playerElevateLevel = undefined;
3017
+ this.elevateWalletTotal = undefined;
3046
3018
  }
3047
3019
  onSessionOrEndpointChange() {
3048
3020
  this.paramProxy = Object.assign(Object.assign({}, this.paramProxy), { session: this.session, endpoint: this.endpoint, language: this.language });
@@ -3108,40 +3080,23 @@ const PlayerElevatePointcardStyle0 = playerElevatePointcardCss;
3108
3080
  const PlayerElevatePointcard = class {
3109
3081
  constructor(hostRef) {
3110
3082
  index.registerInstance(this, hostRef);
3111
- /**
3112
- * The style that widget shows,available value: Dark, Light
3113
- * Default: Dark
3114
- */
3083
+ this.isPointDetailCard = this.buttonType === 'earningRule';
3084
+ this.endpoint = undefined;
3115
3085
  this.theme = 'Dark';
3116
- /**
3117
- * Widget Language to show
3118
- */
3086
+ this.session = undefined;
3087
+ this.playerAvatarUrl = undefined;
3119
3088
  this.language = 'en';
3120
- /**
3121
- * Check if the card used in points details widget, default: 'earningRule'
3122
- * value: 'details'/'earningRule'
3123
- * It effected the button in card
3124
- * 'earningRule': button text, 'earning rules', post 'BEEPointRulesClicked' when clicked
3125
- * 'details': button text, 'details', post 'BEEDetailsClicked' when clicked
3126
- */
3089
+ this.playerName = undefined;
3090
+ this.cardTitle = undefined;
3127
3091
  this.buttonType = 'earningRule';
3128
- /**
3129
- * datePattern
3130
- */
3131
3092
  this.dateFormat = 'yyyy-MM-dd';
3132
- /**
3133
- * Client custom styling via inline styles
3134
- */
3135
3093
  this.clientStyling = '';
3136
- /**
3137
- * Client custom styling via url
3138
- */
3139
3094
  this.clientStylingUrl = '';
3140
- /**
3141
- * Translation via url
3142
- */
3143
3095
  this.translationUrl = '';
3144
- this.isPointDetailCard = this.buttonType === 'earningRule';
3096
+ this.pointExpireString = undefined;
3097
+ this.playerElevateLevel = undefined;
3098
+ this.elevateWalletTotal = undefined;
3099
+ this.elevateSPTotal = undefined;
3145
3100
  }
3146
3101
  onSessionOrEndpointChange() {
3147
3102
  this.paramProxy = Object.assign(Object.assign({}, this.paramProxy), { session: this.session, endpoint: this.endpoint, language: this.language });