@everymatrix/bonus-elevate-shop-item 1.56.0 → 1.56.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.
Files changed (26) hide show
  1. package/dist/bonus-elevate-shop-item/bonus-elevate-shop-item.esm.js +1 -1
  2. package/dist/bonus-elevate-shop-item/p-c1287a22.entry.js +1 -0
  3. package/dist/bonus-elevate-shop-item/p-c581a4f1.js +2 -0
  4. package/dist/cjs/bonus-elevate-shop-assets-slider_3.cjs.entry.js +16 -47
  5. package/dist/cjs/bonus-elevate-shop-item.cjs.js +2 -2
  6. package/dist/cjs/{index-5ee6395c.js → index-0f3e5ac0.js} +138 -291
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/collection/collection-manifest.json +2 -2
  9. package/dist/collection/components/bonus-elevate-shop-item/bonus-elevate-shop-assets-slider.js +5 -22
  10. package/dist/collection/components/bonus-elevate-shop-item/bonus-elevate-shop-item.js +7 -41
  11. package/dist/esm/bonus-elevate-shop-assets-slider_3.entry.js +16 -47
  12. package/dist/esm/bonus-elevate-shop-item.js +3 -3
  13. package/dist/esm/{index-d65aef7f.js → index-7750792f.js} +138 -291
  14. package/dist/esm/loader.js +2 -2
  15. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/bonus-elevate-shop-item/.stencil/packages/stencil/bonus-elevate-shop-item/stencil.config.d.ts +2 -0
  16. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/bonus-elevate-shop-item/.stencil/packages/stencil/bonus-elevate-shop-item/stencil.config.dev.d.ts +2 -0
  17. package/dist/types/stencil-public-runtime.d.ts +0 -6
  18. package/package.json +1 -1
  19. package/dist/bonus-elevate-shop-item/p-649baad8.entry.js +0 -1
  20. package/dist/bonus-elevate-shop-item/p-7e614c16.js +0 -2
  21. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/bonus-elevate-shop-item/.stencil/packages/stencil/bonus-elevate-shop-item/stencil.config.d.ts +0 -2
  22. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/bonus-elevate-shop-item/.stencil/packages/stencil/bonus-elevate-shop-item/stencil.config.dev.d.ts +0 -2
  23. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/bonus-elevate-shop-item/.stencil/tools/plugins/index.d.ts +0 -0
  24. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/bonus-elevate-shop-item/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  25. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/bonus-elevate-shop-item/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  26. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/bonus-elevate-shop-item/.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-5ee6395c.js');
5
+ const index = require('./index-0f3e5ac0.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
@@ -5,8 +5,8 @@
5
5
  ],
6
6
  "compiler": {
7
7
  "name": "@stencil/core",
8
- "version": "4.26.0",
9
- "typescriptVersion": "5.5.4"
8
+ "version": "4.19.2",
9
+ "typescriptVersion": "5.4.5"
10
10
  },
11
11
  "collections": [
12
12
  {
@@ -1,20 +1,6 @@
1
1
  import { h } from "@stencil/core";
2
2
  export class BonusElevateShopAssetsSlider {
3
3
  constructor() {
4
- /**
5
- * Show slider dots
6
- */
7
- this.showSliderDots = false;
8
- /**
9
- * Show slider navigate arrows
10
- */
11
- this.showSliderArrows = true;
12
- this.itemsPerPage = 1;
13
- this.sliderItems = [];
14
- /**
15
- * Slider variables
16
- */
17
- this.activeIndex = 0;
18
4
  this.xDown = null;
19
5
  this.yDown = null;
20
6
  this.orientationChangeHandler = () => {
@@ -25,6 +11,11 @@ export class BonusElevateShopAssetsSlider {
25
11
  this.resizeHandler = () => {
26
12
  this.recalculateItemsPerPage();
27
13
  };
14
+ this.showSliderDots = false;
15
+ this.showSliderArrows = true;
16
+ this.itemsPerPage = 1;
17
+ this.sliderItems = [];
18
+ this.activeIndex = 0;
28
19
  }
29
20
  setActive(index) {
30
21
  var _a;
@@ -147,8 +138,6 @@ export class BonusElevateShopAssetsSlider {
147
138
  "tags": [],
148
139
  "text": "Show slider dots"
149
140
  },
150
- "getter": false,
151
- "setter": false,
152
141
  "attribute": "show-slider-dots",
153
142
  "reflect": true,
154
143
  "defaultValue": "false"
@@ -167,8 +156,6 @@ export class BonusElevateShopAssetsSlider {
167
156
  "tags": [],
168
157
  "text": "Show slider navigate arrows"
169
158
  },
170
- "getter": false,
171
- "setter": false,
172
159
  "attribute": "show-slider-arrows",
173
160
  "reflect": true,
174
161
  "defaultValue": "true"
@@ -187,8 +174,6 @@ export class BonusElevateShopAssetsSlider {
187
174
  "tags": [],
188
175
  "text": ""
189
176
  },
190
- "getter": false,
191
- "setter": false,
192
177
  "attribute": "items-per-page",
193
178
  "reflect": true,
194
179
  "defaultValue": "1"
@@ -212,8 +197,6 @@ export class BonusElevateShopAssetsSlider {
212
197
  "tags": [],
213
198
  "text": ""
214
199
  },
215
- "getter": false,
216
- "setter": false,
217
200
  "defaultValue": "[]"
218
201
  }
219
202
  };
@@ -4,35 +4,21 @@ import { getTranslations, translate } from "../../utils/locale.utils";
4
4
  import { getDevicePlatform } from "../../utils/utils";
5
5
  export class BonusElevateShopItem {
6
6
  constructor() {
7
- /**
8
- * Currently selected language.
9
- */
7
+ this.bindedHandler = this.handleMessage.bind(this);
8
+ this.deviceType = getDevicePlatform();
9
+ this.endpoint = undefined;
10
10
  this.language = 'en';
11
- /**
12
- * Client custom styling via inline styles
13
- */
11
+ this.itemId = undefined;
12
+ this.elevateGift = undefined;
13
+ this.session = undefined;
14
14
  this.clientStyling = '';
15
- /**
16
- * Client custom styling via url
17
- */
18
15
  this.clientStylingUrl = '';
19
- /**
20
- * Translation via url
21
- */
22
16
  this.translationUrl = '';
23
- /**
24
- * Show slider dots
25
- */
26
17
  this.showSliderDots = false;
27
- /**
28
- * Show slider navigate arrows
29
- */
30
18
  this.showSliderArrows = true;
31
19
  this.isGiftNotFound = false;
32
20
  this.redeemErrorMsg = '';
33
21
  this.isRedeeming = false;
34
- this.bindedHandler = this.handleMessage.bind(this);
35
- this.deviceType = getDevicePlatform();
36
22
  }
37
23
  redeemGiftConfirm() {
38
24
  if (this.isRedeeming || this.elevateGift.available != 'true') {
@@ -159,8 +145,6 @@ export class BonusElevateShopItem {
159
145
  "tags": [],
160
146
  "text": "NorWAy endpoint"
161
147
  },
162
- "getter": false,
163
- "setter": false,
164
148
  "attribute": "endpoint",
165
149
  "reflect": true
166
150
  },
@@ -178,8 +162,6 @@ export class BonusElevateShopItem {
178
162
  "tags": [],
179
163
  "text": "Currently selected language."
180
164
  },
181
- "getter": false,
182
- "setter": false,
183
165
  "attribute": "language",
184
166
  "reflect": true,
185
167
  "defaultValue": "'en'"
@@ -198,8 +180,6 @@ export class BonusElevateShopItem {
198
180
  "tags": [],
199
181
  "text": "Elevate gift id"
200
182
  },
201
- "getter": false,
202
- "setter": false,
203
183
  "attribute": "item-id",
204
184
  "reflect": true
205
185
  },
@@ -222,9 +202,7 @@ export class BonusElevateShopItem {
222
202
  "docs": {
223
203
  "tags": [],
224
204
  "text": "Elevate gift id"
225
- },
226
- "getter": false,
227
- "setter": false
205
+ }
228
206
  },
229
207
  "session": {
230
208
  "type": "string",
@@ -240,8 +218,6 @@ export class BonusElevateShopItem {
240
218
  "tags": [],
241
219
  "text": "session"
242
220
  },
243
- "getter": false,
244
- "setter": false,
245
221
  "attribute": "session",
246
222
  "reflect": true
247
223
  },
@@ -259,8 +235,6 @@ export class BonusElevateShopItem {
259
235
  "tags": [],
260
236
  "text": "Client custom styling via inline styles"
261
237
  },
262
- "getter": false,
263
- "setter": false,
264
238
  "attribute": "client-styling",
265
239
  "reflect": true,
266
240
  "defaultValue": "''"
@@ -279,8 +253,6 @@ export class BonusElevateShopItem {
279
253
  "tags": [],
280
254
  "text": "Client custom styling via url"
281
255
  },
282
- "getter": false,
283
- "setter": false,
284
256
  "attribute": "client-styling-url",
285
257
  "reflect": true,
286
258
  "defaultValue": "''"
@@ -299,8 +271,6 @@ export class BonusElevateShopItem {
299
271
  "tags": [],
300
272
  "text": "Translation via url"
301
273
  },
302
- "getter": false,
303
- "setter": false,
304
274
  "attribute": "translation-url",
305
275
  "reflect": true,
306
276
  "defaultValue": "''"
@@ -319,8 +289,6 @@ export class BonusElevateShopItem {
319
289
  "tags": [],
320
290
  "text": "Show slider dots"
321
291
  },
322
- "getter": false,
323
- "setter": false,
324
292
  "attribute": "show-slider-dots",
325
293
  "reflect": true,
326
294
  "defaultValue": "false"
@@ -339,8 +307,6 @@ export class BonusElevateShopItem {
339
307
  "tags": [],
340
308
  "text": "Show slider navigate arrows"
341
309
  },
342
- "getter": false,
343
- "setter": false,
344
310
  "attribute": "show-slider-arrows",
345
311
  "reflect": true,
346
312
  "defaultValue": "true"
@@ -1,22 +1,8 @@
1
- import { r as registerInstance, h, g as getElement, c as createEvent, F as Fragment, H as Host } from './index-d65aef7f.js';
1
+ import { r as registerInstance, h, g as getElement, c as createEvent, F as Fragment, H as Host } from './index-7750792f.js';
2
2
 
3
3
  const BonusElevateShopAssetsSlider = class {
4
4
  constructor(hostRef) {
5
5
  registerInstance(this, hostRef);
6
- /**
7
- * Show slider dots
8
- */
9
- this.showSliderDots = false;
10
- /**
11
- * Show slider navigate arrows
12
- */
13
- this.showSliderArrows = true;
14
- this.itemsPerPage = 1;
15
- this.sliderItems = [];
16
- /**
17
- * Slider variables
18
- */
19
- this.activeIndex = 0;
20
6
  this.xDown = null;
21
7
  this.yDown = null;
22
8
  this.orientationChangeHandler = () => {
@@ -27,6 +13,11 @@ const BonusElevateShopAssetsSlider = class {
27
13
  this.resizeHandler = () => {
28
14
  this.recalculateItemsPerPage();
29
15
  };
16
+ this.showSliderDots = false;
17
+ this.showSliderArrows = true;
18
+ this.itemsPerPage = 1;
19
+ this.sliderItems = [];
20
+ this.activeIndex = 0;
30
21
  }
31
22
  setActive(index) {
32
23
  var _a;
@@ -245,35 +236,21 @@ const BonusElevateShopItem = class {
245
236
  constructor(hostRef) {
246
237
  registerInstance(this, hostRef);
247
238
  this.redeemGiftButton = createEvent(this, "redeemGiftButton", 7);
248
- /**
249
- * Currently selected language.
250
- */
239
+ this.bindedHandler = this.handleMessage.bind(this);
240
+ this.deviceType = getDevicePlatform();
241
+ this.endpoint = undefined;
251
242
  this.language = 'en';
252
- /**
253
- * Client custom styling via inline styles
254
- */
243
+ this.itemId = undefined;
244
+ this.elevateGift = undefined;
245
+ this.session = undefined;
255
246
  this.clientStyling = '';
256
- /**
257
- * Client custom styling via url
258
- */
259
247
  this.clientStylingUrl = '';
260
- /**
261
- * Translation via url
262
- */
263
248
  this.translationUrl = '';
264
- /**
265
- * Show slider dots
266
- */
267
249
  this.showSliderDots = false;
268
- /**
269
- * Show slider navigate arrows
270
- */
271
250
  this.showSliderArrows = true;
272
251
  this.isGiftNotFound = false;
273
252
  this.redeemErrorMsg = '';
274
253
  this.isRedeeming = false;
275
- this.bindedHandler = this.handleMessage.bind(this);
276
- this.deviceType = getDevicePlatform();
277
254
  }
278
255
  redeemGiftConfirm() {
279
256
  if (this.isRedeeming || this.elevateGift.available != 'true') {
@@ -397,18 +374,6 @@ const GeneralStylingWrapperStyle0 = generalStylingWrapperCss;
397
374
  const GeneralStylingWrapper = class {
398
375
  constructor(hostRef) {
399
376
  registerInstance(this, hostRef);
400
- /**
401
- * Client custom styling via inline styles
402
- */
403
- this.clientStyling = '';
404
- /**
405
- * Client custom styling via url
406
- */
407
- this.clientStylingUrl = '';
408
- /**
409
- * Translation via url
410
- */
411
- this.translationUrl = '';
412
377
  this.stylingAppends = false;
413
378
  this.setClientStyling = () => {
414
379
  let sheet = document.createElement('style');
@@ -430,6 +395,10 @@ const GeneralStylingWrapper = class {
430
395
  console.log('error ', err);
431
396
  });
432
397
  };
398
+ this.clientStyling = '';
399
+ this.clientStylingUrl = '';
400
+ this.translationUrl = '';
401
+ this.targetTranslations = undefined;
433
402
  }
434
403
  componentDidRender() {
435
404
  // start custom styling area
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-d65aef7f.js';
2
- export { s as setNonce } from './index-d65aef7f.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-7750792f.js';
2
+ export { s as setNonce } from './index-7750792f.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.26.0 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;