@everymatrix/helper-pagination 1.54.11 → 1.55.0

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 (24) hide show
  1. package/dist/cjs/helper-pagination.cjs.entry.js +20 -50
  2. package/dist/cjs/helper-pagination.cjs.js +2 -2
  3. package/dist/cjs/{index-3188ceac.js → index-502d881b.js} +66 -167
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/collection/collection-manifest.json +1 -1
  6. package/dist/collection/components/helper-pagination/helper-pagination.js +19 -71
  7. package/dist/esm/helper-pagination.entry.js +20 -50
  8. package/dist/esm/helper-pagination.js +3 -3
  9. package/dist/esm/{index-a5b73fb3.js → index-79ce7f1f.js} +66 -167
  10. package/dist/esm/loader.js +2 -2
  11. package/dist/helper-pagination/helper-pagination.esm.js +1 -1
  12. package/dist/helper-pagination/p-a3272d7a.entry.js +1 -0
  13. package/dist/helper-pagination/p-ddd49f2d.js +2 -0
  14. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/helper-pagination/.stencil/packages/stencil/helper-pagination/stencil.config.d.ts +2 -0
  15. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/helper-pagination/.stencil/packages/stencil/helper-pagination/stencil.config.dev.d.ts +2 -0
  16. package/package.json +1 -1
  17. package/dist/helper-pagination/p-1fe6bfca.entry.js +0 -1
  18. package/dist/helper-pagination/p-65ba28c7.js +0 -2
  19. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/helper-pagination/.stencil/packages/stencil/helper-pagination/stencil.config.d.ts +0 -2
  20. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/helper-pagination/.stencil/packages/stencil/helper-pagination/stencil.config.dev.d.ts +0 -2
  21. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/helper-pagination/.stencil/tools/plugins/index.d.ts +0 -0
  22. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/helper-pagination/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  23. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/helper-pagination/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  24. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/helper-pagination/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -3,57 +3,8 @@ import { isMobile } from "../../utils/utils";
3
3
  import { translate } from "../../utils/locale.utils";
4
4
  export class HelperPagination {
5
5
  constructor() {
6
- /**
7
- * Next page string value - determines if the next page is disabled or active
8
- */
9
- this.nextPage = '';
10
- /**
11
- * Previous page string value - determines if the previous page is disabled or active
12
- */
13
- this.prevPage = '';
14
- /**
15
- * The received offset
16
- */
17
- this.offset = 0;
18
- /**
19
- * The received limit for the number of pages
20
- */
21
- this.limit = 1;
22
- /**
23
- * The received total number of pages
24
- */
25
- this.total = 1;
26
- /**
27
- * Language
28
- */
29
- this.language = 'en';
30
- /**
31
- * Client custom styling via string
32
- */
33
- this.clientStyling = '';
34
- /**
35
- * Client custom styling via url content
36
- */
37
- this.clientStylingUrlContent = '';
38
- /**
39
- * Component working variable for last page
40
- */
41
- this.lastPage = false;
42
- /**
43
- * Component working variable for prvious page
44
- */
45
- this.previousPage = false;
46
- /**
47
- * In component working variable for the array of pages
48
- */
49
- this.pagesArray = [];
50
- /**
51
- * In component working variable for last page
52
- */
53
- this.endInt = 0;
54
6
  this.userAgent = window.navigator.userAgent;
55
7
  this.currentPage = 1;
56
- this.limitStylingAppends = false;
57
8
  /**
58
9
  * Navigation logic
59
10
  */
@@ -122,6 +73,25 @@ export class HelperPagination {
122
73
  this.stylingContainer.prepend(cssFile);
123
74
  }, 1);
124
75
  };
76
+ this.nextPage = '';
77
+ this.prevPage = '';
78
+ this.offset = 0;
79
+ this.limit = 1;
80
+ this.total = 1;
81
+ this.language = 'en';
82
+ this.clientStyling = '';
83
+ this.clientStylingUrlContent = '';
84
+ this.arrowsActive = undefined;
85
+ this.secondaryArrowsActive = undefined;
86
+ this.numberedNavActive = undefined;
87
+ this.offsetInt = undefined;
88
+ this.lastPage = false;
89
+ this.previousPage = false;
90
+ this.limitInt = undefined;
91
+ this.totalInt = undefined;
92
+ this.pagesArray = [];
93
+ this.endInt = 0;
94
+ this.limitStylingAppends = false;
125
95
  }
126
96
  componentWillRender() {
127
97
  this.offsetInt = this.offset;
@@ -214,8 +184,6 @@ export class HelperPagination {
214
184
  "tags": [],
215
185
  "text": "Next page string value - determines if the next page is disabled or active"
216
186
  },
217
- "getter": false,
218
- "setter": false,
219
187
  "attribute": "next-page",
220
188
  "reflect": true,
221
189
  "defaultValue": "''"
@@ -234,8 +202,6 @@ export class HelperPagination {
234
202
  "tags": [],
235
203
  "text": "Previous page string value - determines if the previous page is disabled or active"
236
204
  },
237
- "getter": false,
238
- "setter": false,
239
205
  "attribute": "prev-page",
240
206
  "reflect": true,
241
207
  "defaultValue": "''"
@@ -254,8 +220,6 @@ export class HelperPagination {
254
220
  "tags": [],
255
221
  "text": "The received offset"
256
222
  },
257
- "getter": false,
258
- "setter": false,
259
223
  "attribute": "offset",
260
224
  "reflect": true,
261
225
  "defaultValue": "0"
@@ -274,8 +238,6 @@ export class HelperPagination {
274
238
  "tags": [],
275
239
  "text": "The received limit for the number of pages"
276
240
  },
277
- "getter": false,
278
- "setter": false,
279
241
  "attribute": "limit",
280
242
  "reflect": true,
281
243
  "defaultValue": "1"
@@ -294,8 +256,6 @@ export class HelperPagination {
294
256
  "tags": [],
295
257
  "text": "The received total number of pages"
296
258
  },
297
- "getter": false,
298
- "setter": false,
299
259
  "attribute": "total",
300
260
  "reflect": true,
301
261
  "defaultValue": "1"
@@ -314,8 +274,6 @@ export class HelperPagination {
314
274
  "tags": [],
315
275
  "text": "Language"
316
276
  },
317
- "getter": false,
318
- "setter": false,
319
277
  "attribute": "language",
320
278
  "reflect": true,
321
279
  "defaultValue": "'en'"
@@ -334,8 +292,6 @@ export class HelperPagination {
334
292
  "tags": [],
335
293
  "text": "Client custom styling via string"
336
294
  },
337
- "getter": false,
338
- "setter": false,
339
295
  "attribute": "client-styling",
340
296
  "reflect": true,
341
297
  "defaultValue": "''"
@@ -354,8 +310,6 @@ export class HelperPagination {
354
310
  "tags": [],
355
311
  "text": "Client custom styling via url content"
356
312
  },
357
- "getter": false,
358
- "setter": false,
359
313
  "attribute": "client-styling-url-content",
360
314
  "reflect": true,
361
315
  "defaultValue": "''"
@@ -374,8 +328,6 @@ export class HelperPagination {
374
328
  "tags": [],
375
329
  "text": "Customize pagination: Activate pagination arrows"
376
330
  },
377
- "getter": false,
378
- "setter": false,
379
331
  "attribute": "arrows-active",
380
332
  "reflect": true
381
333
  },
@@ -393,8 +345,6 @@ export class HelperPagination {
393
345
  "tags": [],
394
346
  "text": "Customize pagination: Activate pagination secondary arrows"
395
347
  },
396
- "getter": false,
397
- "setter": false,
398
348
  "attribute": "secondary-arrows-active",
399
349
  "reflect": true
400
350
  },
@@ -412,8 +362,6 @@ export class HelperPagination {
412
362
  "tags": [],
413
363
  "text": "Customize pagination: Activate pagination numbered navigation"
414
364
  },
415
- "getter": false,
416
- "setter": false,
417
365
  "attribute": "numbered-nav-active",
418
366
  "reflect": true
419
367
  }
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-a5b73fb3.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-79ce7f1f.js';
2
2
 
3
3
  /**
4
4
  * @name isMobile
@@ -64,57 +64,8 @@ const HelperPagination = class {
64
64
  constructor(hostRef) {
65
65
  registerInstance(this, hostRef);
66
66
  this.hpPageChange = createEvent(this, "hpPageChange", 7);
67
- /**
68
- * Next page string value - determines if the next page is disabled or active
69
- */
70
- this.nextPage = '';
71
- /**
72
- * Previous page string value - determines if the previous page is disabled or active
73
- */
74
- this.prevPage = '';
75
- /**
76
- * The received offset
77
- */
78
- this.offset = 0;
79
- /**
80
- * The received limit for the number of pages
81
- */
82
- this.limit = 1;
83
- /**
84
- * The received total number of pages
85
- */
86
- this.total = 1;
87
- /**
88
- * Language
89
- */
90
- this.language = 'en';
91
- /**
92
- * Client custom styling via string
93
- */
94
- this.clientStyling = '';
95
- /**
96
- * Client custom styling via url content
97
- */
98
- this.clientStylingUrlContent = '';
99
- /**
100
- * Component working variable for last page
101
- */
102
- this.lastPage = false;
103
- /**
104
- * Component working variable for prvious page
105
- */
106
- this.previousPage = false;
107
- /**
108
- * In component working variable for the array of pages
109
- */
110
- this.pagesArray = [];
111
- /**
112
- * In component working variable for last page
113
- */
114
- this.endInt = 0;
115
67
  this.userAgent = window.navigator.userAgent;
116
68
  this.currentPage = 1;
117
- this.limitStylingAppends = false;
118
69
  /**
119
70
  * Navigation logic
120
71
  */
@@ -183,6 +134,25 @@ const HelperPagination = class {
183
134
  this.stylingContainer.prepend(cssFile);
184
135
  }, 1);
185
136
  };
137
+ this.nextPage = '';
138
+ this.prevPage = '';
139
+ this.offset = 0;
140
+ this.limit = 1;
141
+ this.total = 1;
142
+ this.language = 'en';
143
+ this.clientStyling = '';
144
+ this.clientStylingUrlContent = '';
145
+ this.arrowsActive = undefined;
146
+ this.secondaryArrowsActive = undefined;
147
+ this.numberedNavActive = undefined;
148
+ this.offsetInt = undefined;
149
+ this.lastPage = false;
150
+ this.previousPage = false;
151
+ this.limitInt = undefined;
152
+ this.totalInt = undefined;
153
+ this.pagesArray = [];
154
+ this.endInt = 0;
155
+ this.limitStylingAppends = false;
186
156
  }
187
157
  componentWillRender() {
188
158
  this.offsetInt = this.offset;
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-a5b73fb3.js';
2
- export { s as setNonce } from './index-a5b73fb3.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-79ce7f1f.js';
2
+ export { s as setNonce } from './index-79ce7f1f.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.22.3 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;