@everymatrix/bonus-elevate-shop-item 1.53.0 → 1.53.11

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