@everymatrix/general-tutorial-slider 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 (20) hide show
  1. package/dist/cjs/general-tutorial-slider.cjs.entry.js +54 -19
  2. package/dist/cjs/general-tutorial-slider.cjs.js +2 -2
  3. package/dist/cjs/{index-e91cd3ca.js → index-24edb761.js} +174 -77
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/collection/collection-manifest.json +1 -1
  6. package/dist/collection/components/general-tutorial-slider/general-tutorial-slider.js +79 -18
  7. package/dist/esm/general-tutorial-slider.entry.js +54 -19
  8. package/dist/esm/general-tutorial-slider.js +3 -3
  9. package/dist/esm/{index-8f6f886a.js → index-00ddeeaf.js} +174 -77
  10. package/dist/esm/loader.js +2 -2
  11. package/dist/general-tutorial-slider/general-tutorial-slider.esm.js +1 -1
  12. package/dist/general-tutorial-slider/p-598d4c9d.entry.js +1 -0
  13. package/dist/general-tutorial-slider/p-918875e2.js +2 -0
  14. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-tutorial-slider/.stencil/packages/stencil/general-tutorial-slider/stencil.config.d.ts +2 -0
  15. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-tutorial-slider/.stencil/packages/stencil/general-tutorial-slider/stencil.config.dev.d.ts +2 -0
  16. package/package.json +1 -1
  17. package/dist/general-tutorial-slider/p-61e877f0.entry.js +0 -1
  18. package/dist/general-tutorial-slider/p-f4302c55.js +0 -2
  19. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-tutorial-slider/.stencil/packages/stencil/general-tutorial-slider/stencil.config.d.ts +0 -2
  20. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-tutorial-slider/.stencil/packages/stencil/general-tutorial-slider/stencil.config.dev.d.ts +0 -2
@@ -3,6 +3,59 @@ import { translate } from "../../utils/locale.utils";
3
3
  import { isMobile, getDevicePlatform } from "../../utils/utils";
4
4
  export class GeneralTutorialSlider {
5
5
  constructor() {
6
+ /**
7
+ * Client custom styling via inline style
8
+ */
9
+ this.clientStyling = '';
10
+ /**
11
+ * Client custom styling via url
12
+ */
13
+ this.clientStylingUrl = '';
14
+ /**
15
+ * Language of the widget
16
+ */
17
+ this.language = 'en';
18
+ /**
19
+ * User roles
20
+ */
21
+ this.userRoles = 'everyone';
22
+ /**
23
+ * CMS Endpoint stage
24
+ */
25
+ this.cmsEnv = 'stage';
26
+ /**
27
+ * Show slider dots
28
+ */
29
+ this.showSliderDots = true;
30
+ /**
31
+ * Show slider navigate arrows
32
+ */
33
+ this.showSliderArrows = true;
34
+ /**
35
+ * Show slider navigate arrows on mobile
36
+ */
37
+ this.showSliderArrowsMobile = false;
38
+ /**
39
+ * Auto-scroll will only function if it is set to true, and otherwise it will be ignored.
40
+ */
41
+ this.enableAutoScroll = false;
42
+ /**
43
+ * Set interval period for slider
44
+ */
45
+ this.intervalPeriod = 5000;
46
+ /**
47
+ * Set the number of slides you wish to display.
48
+ */
49
+ this.scrollItems = 1;
50
+ /**
51
+ * Set the number of slides you wish to display.
52
+ */
53
+ this.itemsPerPage = 1;
54
+ this.hasErrors = false;
55
+ this.limitStylingAppends = false;
56
+ this.isLoading = true;
57
+ this.activeIndex = 0;
58
+ this.tutorialElementWidth = 0;
6
59
  this.userAgent = window.navigator.userAgent;
7
60
  this.isMobile = isMobile(this.userAgent);
8
61
  this.allElementsWidth = 0;
@@ -34,24 +87,6 @@ export class GeneralTutorialSlider {
34
87
  console.log('error ', err);
35
88
  });
36
89
  };
37
- this.clientStyling = '';
38
- this.clientStylingUrl = '';
39
- this.language = 'en';
40
- this.cmsEndpoint = undefined;
41
- this.userRoles = 'everyone';
42
- this.cmsEnv = 'stage';
43
- this.showSliderDots = true;
44
- this.showSliderArrows = true;
45
- this.showSliderArrowsMobile = false;
46
- this.enableAutoScroll = false;
47
- this.intervalPeriod = 5000;
48
- this.scrollItems = 1;
49
- this.itemsPerPage = 1;
50
- this.hasErrors = false;
51
- this.limitStylingAppends = false;
52
- this.isLoading = true;
53
- this.activeIndex = 0;
54
- this.tutorialElementWidth = 0;
55
90
  }
56
91
  watchEndpoint(newValue, oldValue) {
57
92
  if (newValue && newValue != oldValue && this.cmsEndpoint) {
@@ -239,6 +274,8 @@ export class GeneralTutorialSlider {
239
274
  "tags": [],
240
275
  "text": "Client custom styling via inline style"
241
276
  },
277
+ "getter": false,
278
+ "setter": false,
242
279
  "attribute": "client-styling",
243
280
  "reflect": true,
244
281
  "defaultValue": "''"
@@ -257,6 +294,8 @@ export class GeneralTutorialSlider {
257
294
  "tags": [],
258
295
  "text": "Client custom styling via url"
259
296
  },
297
+ "getter": false,
298
+ "setter": false,
260
299
  "attribute": "client-styling-url",
261
300
  "reflect": true,
262
301
  "defaultValue": "''"
@@ -275,6 +314,8 @@ export class GeneralTutorialSlider {
275
314
  "tags": [],
276
315
  "text": "Language of the widget"
277
316
  },
317
+ "getter": false,
318
+ "setter": false,
278
319
  "attribute": "language",
279
320
  "reflect": true,
280
321
  "defaultValue": "'en'"
@@ -293,6 +334,8 @@ export class GeneralTutorialSlider {
293
334
  "tags": [],
294
335
  "text": "Endpoint URL for the source of data"
295
336
  },
337
+ "getter": false,
338
+ "setter": false,
296
339
  "attribute": "cms-endpoint",
297
340
  "reflect": true
298
341
  },
@@ -310,6 +353,8 @@ export class GeneralTutorialSlider {
310
353
  "tags": [],
311
354
  "text": "User roles"
312
355
  },
356
+ "getter": false,
357
+ "setter": false,
313
358
  "attribute": "user-roles",
314
359
  "reflect": true,
315
360
  "defaultValue": "'everyone'"
@@ -328,6 +373,8 @@ export class GeneralTutorialSlider {
328
373
  "tags": [],
329
374
  "text": "CMS Endpoint stage"
330
375
  },
376
+ "getter": false,
377
+ "setter": false,
331
378
  "attribute": "cms-env",
332
379
  "reflect": true,
333
380
  "defaultValue": "'stage'"
@@ -346,6 +393,8 @@ export class GeneralTutorialSlider {
346
393
  "tags": [],
347
394
  "text": "Show slider dots"
348
395
  },
396
+ "getter": false,
397
+ "setter": false,
349
398
  "attribute": "show-slider-dots",
350
399
  "reflect": true,
351
400
  "defaultValue": "true"
@@ -364,6 +413,8 @@ export class GeneralTutorialSlider {
364
413
  "tags": [],
365
414
  "text": "Show slider navigate arrows"
366
415
  },
416
+ "getter": false,
417
+ "setter": false,
367
418
  "attribute": "show-slider-arrows",
368
419
  "reflect": true,
369
420
  "defaultValue": "true"
@@ -382,6 +433,8 @@ export class GeneralTutorialSlider {
382
433
  "tags": [],
383
434
  "text": "Show slider navigate arrows on mobile"
384
435
  },
436
+ "getter": false,
437
+ "setter": false,
385
438
  "attribute": "show-slider-arrows-mobile",
386
439
  "reflect": true,
387
440
  "defaultValue": "false"
@@ -400,6 +453,8 @@ export class GeneralTutorialSlider {
400
453
  "tags": [],
401
454
  "text": "Auto-scroll will only function if it is set to true, and otherwise it will be ignored."
402
455
  },
456
+ "getter": false,
457
+ "setter": false,
403
458
  "attribute": "enable-auto-scroll",
404
459
  "reflect": true,
405
460
  "defaultValue": "false"
@@ -418,6 +473,8 @@ export class GeneralTutorialSlider {
418
473
  "tags": [],
419
474
  "text": "Set interval period for slider"
420
475
  },
476
+ "getter": false,
477
+ "setter": false,
421
478
  "attribute": "interval-period",
422
479
  "reflect": true,
423
480
  "defaultValue": "5000"
@@ -436,6 +493,8 @@ export class GeneralTutorialSlider {
436
493
  "tags": [],
437
494
  "text": "Set the number of slides you wish to display."
438
495
  },
496
+ "getter": false,
497
+ "setter": false,
439
498
  "attribute": "scroll-items",
440
499
  "reflect": true,
441
500
  "defaultValue": "1"
@@ -454,6 +513,8 @@ export class GeneralTutorialSlider {
454
513
  "tags": [],
455
514
  "text": "Set the number of slides you wish to display."
456
515
  },
516
+ "getter": false,
517
+ "setter": false,
457
518
  "attribute": "items-per-page",
458
519
  "reflect": true,
459
520
  "defaultValue": "1"
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-8f6f886a.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-00ddeeaf.js';
2
2
 
3
3
  const DEFAULT_LANGUAGE = 'en';
4
4
  const TRANSLATIONS = {
@@ -86,6 +86,59 @@ const GeneralTutorialSliderStyle0 = generalTutorialSliderCss;
86
86
  const GeneralTutorialSlider = class {
87
87
  constructor(hostRef) {
88
88
  registerInstance(this, hostRef);
89
+ /**
90
+ * Client custom styling via inline style
91
+ */
92
+ this.clientStyling = '';
93
+ /**
94
+ * Client custom styling via url
95
+ */
96
+ this.clientStylingUrl = '';
97
+ /**
98
+ * Language of the widget
99
+ */
100
+ this.language = 'en';
101
+ /**
102
+ * User roles
103
+ */
104
+ this.userRoles = 'everyone';
105
+ /**
106
+ * CMS Endpoint stage
107
+ */
108
+ this.cmsEnv = 'stage';
109
+ /**
110
+ * Show slider dots
111
+ */
112
+ this.showSliderDots = true;
113
+ /**
114
+ * Show slider navigate arrows
115
+ */
116
+ this.showSliderArrows = true;
117
+ /**
118
+ * Show slider navigate arrows on mobile
119
+ */
120
+ this.showSliderArrowsMobile = false;
121
+ /**
122
+ * Auto-scroll will only function if it is set to true, and otherwise it will be ignored.
123
+ */
124
+ this.enableAutoScroll = false;
125
+ /**
126
+ * Set interval period for slider
127
+ */
128
+ this.intervalPeriod = 5000;
129
+ /**
130
+ * Set the number of slides you wish to display.
131
+ */
132
+ this.scrollItems = 1;
133
+ /**
134
+ * Set the number of slides you wish to display.
135
+ */
136
+ this.itemsPerPage = 1;
137
+ this.hasErrors = false;
138
+ this.limitStylingAppends = false;
139
+ this.isLoading = true;
140
+ this.activeIndex = 0;
141
+ this.tutorialElementWidth = 0;
89
142
  this.userAgent = window.navigator.userAgent;
90
143
  this.isMobile = isMobile(this.userAgent);
91
144
  this.allElementsWidth = 0;
@@ -117,24 +170,6 @@ const GeneralTutorialSlider = class {
117
170
  console.log('error ', err);
118
171
  });
119
172
  };
120
- this.clientStyling = '';
121
- this.clientStylingUrl = '';
122
- this.language = 'en';
123
- this.cmsEndpoint = undefined;
124
- this.userRoles = 'everyone';
125
- this.cmsEnv = 'stage';
126
- this.showSliderDots = true;
127
- this.showSliderArrows = true;
128
- this.showSliderArrowsMobile = false;
129
- this.enableAutoScroll = false;
130
- this.intervalPeriod = 5000;
131
- this.scrollItems = 1;
132
- this.itemsPerPage = 1;
133
- this.hasErrors = false;
134
- this.limitStylingAppends = false;
135
- this.isLoading = true;
136
- this.activeIndex = 0;
137
- this.tutorialElementWidth = 0;
138
173
  }
139
174
  watchEndpoint(newValue, oldValue) {
140
175
  if (newValue && newValue != oldValue && this.cmsEndpoint) {
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-8f6f886a.js';
2
- export { s as setNonce } from './index-8f6f886a.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-00ddeeaf.js';
2
+ export { s as setNonce } from './index-00ddeeaf.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;