@everymatrix/player-elevate-points-history 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 (36) hide show
  1. package/dist/cjs/bonus-pagination-limits_6.cjs.entry.js +33 -106
  2. package/dist/cjs/{index-c3f0d8ea.js → index-ba216df9.js} +130 -281
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/{player-elevate-card-items-8b7d73d2.js → player-elevate-card-items-00234afd.js} +1 -1
  5. package/dist/cjs/player-elevate-card.cjs.entry.js +9 -21
  6. package/dist/cjs/player-elevate-loyaltycard.cjs.entry.js +10 -21
  7. package/dist/cjs/player-elevate-points-history.cjs.js +2 -2
  8. package/dist/collection/collection-manifest.json +2 -2
  9. package/dist/collection/components/player-elevate-points-history/player-elevate-points-history.js +5 -43
  10. package/dist/esm/bonus-pagination-limits_6.entry.js +33 -106
  11. package/dist/esm/{index-8008f845.js → index-f02f9189.js} +130 -281
  12. package/dist/esm/loader.js +2 -2
  13. package/dist/esm/{player-elevate-card-items-81ace8b1.js → player-elevate-card-items-9e358981.js} +1 -1
  14. package/dist/esm/player-elevate-card.entry.js +9 -21
  15. package/dist/esm/player-elevate-loyaltycard.entry.js +10 -21
  16. package/dist/esm/player-elevate-points-history.js +3 -3
  17. package/dist/player-elevate-points-history/p-09fa4bcd.js +2 -0
  18. package/dist/player-elevate-points-history/p-2be8ce26.entry.js +1 -0
  19. package/dist/player-elevate-points-history/{p-1c49c46d.js → p-55a1fd32.js} +1 -1
  20. package/dist/player-elevate-points-history/p-63db7560.entry.js +1 -0
  21. package/dist/player-elevate-points-history/p-77e54a25.entry.js +1 -0
  22. package/dist/player-elevate-points-history/player-elevate-points-history.esm.js +1 -1
  23. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/stencil.config.d.ts +2 -0
  24. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/stencil.config.dev.d.ts +2 -0
  25. package/dist/types/stencil-public-runtime.d.ts +0 -6
  26. package/package.json +1 -1
  27. package/dist/player-elevate-points-history/p-3d707cb1.entry.js +0 -1
  28. package/dist/player-elevate-points-history/p-530d5612.js +0 -2
  29. package/dist/player-elevate-points-history/p-78e6bcdb.entry.js +0 -1
  30. package/dist/player-elevate-points-history/p-d7b1a6d5.entry.js +0 -1
  31. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/stencil.config.d.ts +0 -2
  32. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/stencil.config.dev.d.ts +0 -2
  33. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/index.d.ts +0 -0
  34. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  35. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  36. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-c3f0d8ea.js');
6
- const playerElevateCardItems = require('./player-elevate-card-items-8b7d73d2.js');
5
+ const index = require('./index-ba216df9.js');
6
+ const playerElevateCardItems = require('./player-elevate-card-items-00234afd.js');
7
7
 
8
8
  const DEFAULT_LANGUAGE$1 = 'en';
9
9
  const SUPPORTED_LANGUAGES$1 = ['pt-br', 'en', 'es-mx', 'hu', 'hr'];
@@ -36,17 +36,9 @@ const BonusPaginationLimits = class {
36
36
  constructor(hostRef) {
37
37
  index.registerInstance(this, hostRef);
38
38
  this.pageLimitChanged = index.createEvent(this, "pageLimitChanged", 7);
39
- /**
40
- * Language of the widget
41
- */
42
39
  this.language = 'en';
43
- /**
44
- * Translation via url
45
- */
46
40
  this.translationUrl = '';
47
- /**
48
- * Default limit for per page, default: 10
49
- */
41
+ this.pageLimitOptions = undefined;
50
42
  this.limit = 10;
51
43
  this.pageLimits = [10, 25, 50];
52
44
  }
@@ -145,49 +137,19 @@ const BonusPaginationNav = class {
145
137
  constructor(hostRef) {
146
138
  index.registerInstance(this, hostRef);
147
139
  this.reloadPageEmitter = index.createEvent(this, "reloadPageByType", 7);
148
- /**
149
- * The received length of dataset
150
- */
151
140
  this.total = 1;
152
- /**
153
- * The received limit for the number of pages
154
- */
155
141
  this.limit = 10;
156
- /**
157
- * The offset of dataset
158
- */
159
142
  this.offset = 0;
160
- /**
161
- * The table id, use to identify which table listen the page change message
162
- * when there is more than 1 table on same page
163
- */
164
143
  this.tableId = 'default';
165
- /**
166
- * Language
167
- */
168
144
  this.language = 'en';
169
- /**
170
- * Translation via url
171
- */
172
145
  this.translationUrl = '';
173
- /**
174
- * Customize pagination: Activate pagination arrows
175
- */
176
146
  this.arrowsActive = true;
177
- /**
178
- * Customize pagination: Activate pagination secondary arrows
179
- */
180
147
  this.secondaryArrowsActive = true;
181
- /**
182
- * Customize pagination: Activate pagination numbered navigation
183
- */
184
148
  this.displayPageNumbers = true;
185
- /**
186
- * The Nav Items count for the pagination, default: 5
187
- * the value should be Odd, 5, 7
188
- */
149
+ this.displayRangeOfTotal = undefined;
189
150
  this.navItemAccount = 5;
190
151
  this.endPageIndex = 0;
152
+ this.pagesArray = undefined;
191
153
  this.currentPage = 1;
192
154
  this.showAsEllipsisMid = !this.arrowsActive;
193
155
  }
@@ -340,18 +302,6 @@ const GeneralStylingWrapperStyle0 = generalStylingWrapperCss;
340
302
  const GeneralStylingWrapper = class {
341
303
  constructor(hostRef) {
342
304
  index.registerInstance(this, hostRef);
343
- /**
344
- * Client custom styling via inline styles
345
- */
346
- this.clientStyling = '';
347
- /**
348
- * Client custom styling via url
349
- */
350
- this.clientStylingUrl = '';
351
- /**
352
- * Translation via url
353
- */
354
- this.translationUrl = '';
355
305
  this.stylingAppends = false;
356
306
  this.setClientStyling = () => {
357
307
  let sheet = document.createElement('style');
@@ -373,6 +323,10 @@ const GeneralStylingWrapper = class {
373
323
  console.log('error ', err);
374
324
  });
375
325
  };
326
+ this.clientStyling = '';
327
+ this.clientStylingUrl = '';
328
+ this.translationUrl = '';
329
+ this.targetTranslations = undefined;
376
330
  }
377
331
  componentDidRender() {
378
332
  // start custom styling area
@@ -690,6 +644,9 @@ const PlayerElevateCardData = class {
690
644
  constructor(hostRef) {
691
645
  index.registerInstance(this, hostRef);
692
646
  this.playerElevateLeveLoaded = index.createEvent(this, "playerElevateLeveLoaded", 7);
647
+ this.params = undefined;
648
+ this.playerElevateLevel = undefined;
649
+ this.pointExpireString = undefined;
693
650
  }
694
651
  handleWindowResizs() {
695
652
  this.initLevelProgressbar();
@@ -857,40 +814,23 @@ const PlayerElevatePointcardStyle0 = playerElevatePointcardCss;
857
814
  const PlayerElevatePointcard = class {
858
815
  constructor(hostRef) {
859
816
  index.registerInstance(this, hostRef);
860
- /**
861
- * The style that widget shows,available value: Dark, Light
862
- * Default: Dark
863
- */
817
+ this.isPointDetailCard = this.buttonType === 'earningRule';
818
+ this.endpoint = undefined;
864
819
  this.theme = 'Dark';
865
- /**
866
- * Widget Language to show
867
- */
820
+ this.session = undefined;
821
+ this.playerAvatarUrl = undefined;
868
822
  this.language = 'en';
869
- /**
870
- * Check if the card used in points details widget, default: 'earningRule'
871
- * value: 'details'/'earningRule'
872
- * It effected the button in card
873
- * 'earningRule': button text, 'earning rules', post 'BEEPointRulesClicked' when clicked
874
- * 'details': button text, 'details', post 'BEEDetailsClicked' when clicked
875
- */
823
+ this.playerName = undefined;
824
+ this.cardTitle = undefined;
876
825
  this.buttonType = 'earningRule';
877
- /**
878
- * datePattern
879
- */
880
826
  this.dateFormat = 'yyyy-MM-dd';
881
- /**
882
- * Client custom styling via inline styles
883
- */
884
827
  this.clientStyling = '';
885
- /**
886
- * Client custom styling via url
887
- */
888
828
  this.clientStylingUrl = '';
889
- /**
890
- * Translation via url
891
- */
892
829
  this.translationUrl = '';
893
- this.isPointDetailCard = this.buttonType === 'earningRule';
830
+ this.pointExpireString = undefined;
831
+ this.playerElevateLevel = undefined;
832
+ this.elevateWalletTotal = undefined;
833
+ this.elevateSPTotal = undefined;
894
834
  }
895
835
  onSessionOrEndpointChange() {
896
836
  this.paramProxy = Object.assign(Object.assign({}, this.paramProxy), { session: this.session, endpoint: this.endpoint, language: this.language });
@@ -1152,7 +1092,8 @@ function U(t, e, n) {
1152
1092
  }
1153
1093
  }
1154
1094
  function I(t) {
1155
- if (!t) return document;
1095
+ if (!t)
1096
+ return document;
1156
1097
  const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
1157
1098
  return e && /** @type {ShadowRoot} */
1158
1099
  e.host ? (
@@ -1196,7 +1137,8 @@ function _(t) {
1196
1137
  p = t;
1197
1138
  }
1198
1139
  function J() {
1199
- if (!p) throw new Error("Function called outside component initialization");
1140
+ if (!p)
1141
+ throw new Error("Function called outside component initialization");
1200
1142
  return p;
1201
1143
  }
1202
1144
  function V(t) {
@@ -1227,7 +1169,8 @@ function m() {
1227
1169
  } catch (e) {
1228
1170
  throw $.length = 0, f = 0, e;
1229
1171
  }
1230
- for (_(null), $.length = 0, f = 0; w.length; ) w.pop()();
1172
+ for (_(null), $.length = 0, f = 0; w.length; )
1173
+ w.pop()();
1231
1174
  for (let e = 0; e < h.length; e += 1) {
1232
1175
  const n = h[e];
1233
1176
  b.has(n) || (b.add(n), n());
@@ -1653,36 +1596,20 @@ const PlayerElevatePointsHistory = class {
1653
1596
  constructor(hostRef) {
1654
1597
  index.registerInstance(this, hostRef);
1655
1598
  this.paginationReset = index.createEvent(this, "paginationReset", 7);
1656
- /**
1657
- * Customize pagination: Activate pagination secondary arrows
1658
- */
1599
+ this.playerAvatarUrl = undefined;
1600
+ this.session = undefined;
1601
+ this.endpoint = undefined;
1602
+ this.limit = undefined;
1659
1603
  this.secondaryArrowsActive = true;
1660
- /**
1661
- * Customize pagination: Activate pagination numbered navigation
1662
- */
1663
1604
  this.displayPageNumbers = false;
1664
- /**
1665
- * Customize page list options, default: 10,25,50
1666
- */
1667
1605
  this.pageLimitOptions = '10,25,50';
1668
- /**
1669
- * Language of the widget
1670
- */
1671
1606
  this.language = 'en';
1672
- /**
1673
- * Client custom styling via string
1674
- */
1675
1607
  this.clientStyling = '';
1676
- /**
1677
- * Client custom styling via url
1678
- */
1679
1608
  this.clientStylingUrl = '';
1680
- /**
1681
- * translation via url
1682
- */
1683
1609
  this.translationUrl = '';
1684
1610
  this.locale = translation['en'];
1685
1611
  this.type = WalletType.spendable;
1612
+ this.pageSetting = undefined;
1686
1613
  this.pointsWallets = {};
1687
1614
  }
1688
1615
  switchTab(type) {