@everymatrix/helper-pagination 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 (25) hide show
  1. package/dist/cjs/helper-pagination.cjs.entry.js +20 -49
  2. package/dist/cjs/helper-pagination.cjs.js +2 -2
  3. package/dist/cjs/{index-5d7ac0d5.js → index-d76910e9.js} +69 -204
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/collection/collection-manifest.json +2 -2
  6. package/dist/collection/components/helper-pagination/helper-pagination.js +19 -72
  7. package/dist/esm/helper-pagination.entry.js +20 -49
  8. package/dist/esm/helper-pagination.js +3 -3
  9. package/dist/esm/{index-49bd7818.js → index-0483e183.js} +69 -204
  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-b696341a.entry.js +1 -0
  13. package/dist/helper-pagination/p-fcde97c1.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/dist/types/stencil-public-runtime.d.ts +0 -6
  17. package/package.json +1 -1
  18. package/dist/helper-pagination/p-645aa72c.entry.js +0 -1
  19. package/dist/helper-pagination/p-d28f6456.js +0 -2
  20. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/helper-pagination/.stencil/packages/stencil/helper-pagination/stencil.config.d.ts +0 -2
  21. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/helper-pagination/.stencil/packages/stencil/helper-pagination/stencil.config.dev.d.ts +0 -2
  22. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/helper-pagination/.stencil/tools/plugins/index.d.ts +0 -0
  23. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/helper-pagination/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  24. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/helper-pagination/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  25. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/helper-pagination/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -4,54 +4,6 @@ import { isMobile } from "../../utils/utils";
4
4
  import { translate } from "../../utils/locale.utils";
5
5
  export class HelperPagination {
6
6
  constructor() {
7
- /**
8
- * Next page string value - determines if the next page is disabled or active
9
- */
10
- this.nextPage = '';
11
- /**
12
- * Previous page string value - determines if the previous page is disabled or active
13
- */
14
- this.prevPage = '';
15
- /**
16
- * The received offset
17
- */
18
- this.offset = 0;
19
- /**
20
- * The received limit for the number of pages
21
- */
22
- this.limit = 1;
23
- /**
24
- * The received total number of pages
25
- */
26
- this.total = 1;
27
- /**
28
- * Language
29
- */
30
- this.language = 'en';
31
- /**
32
- * Client custom styling via string
33
- */
34
- this.clientStyling = '';
35
- /**
36
- * Client custom styling via url content
37
- */
38
- this.clientStylingUrl = '';
39
- /**
40
- * Component working variable for last page
41
- */
42
- this.lastPage = false;
43
- /**
44
- * Component working variable for prvious page
45
- */
46
- this.previousPage = false;
47
- /**
48
- * In component working variable for the array of pages
49
- */
50
- this.pagesArray = [];
51
- /**
52
- * In component working variable for last page
53
- */
54
- this.endInt = 0;
55
7
  this.userAgent = window.navigator.userAgent;
56
8
  this.currentPage = 1;
57
9
  /**
@@ -110,6 +62,25 @@ export class HelperPagination {
110
62
  }
111
63
  this.hpPageChange.emit({ offset: this.offsetInt, limit: this.limitInt, total: this.totalInt });
112
64
  };
65
+ this.nextPage = '';
66
+ this.prevPage = '';
67
+ this.offset = 0;
68
+ this.limit = 1;
69
+ this.total = 1;
70
+ this.language = 'en';
71
+ this.mbSource = undefined;
72
+ this.clientStyling = '';
73
+ this.clientStylingUrl = '';
74
+ this.arrowsActive = undefined;
75
+ this.secondaryArrowsActive = undefined;
76
+ this.numberedNavActive = undefined;
77
+ this.offsetInt = undefined;
78
+ this.lastPage = false;
79
+ this.previousPage = false;
80
+ this.limitInt = undefined;
81
+ this.totalInt = undefined;
82
+ this.pagesArray = [];
83
+ this.endInt = 0;
113
84
  }
114
85
  handleClientStylingChange(newValue, oldValue) {
115
86
  if (newValue != oldValue) {
@@ -218,8 +189,6 @@ export class HelperPagination {
218
189
  "tags": [],
219
190
  "text": "Next page string value - determines if the next page is disabled or active"
220
191
  },
221
- "getter": false,
222
- "setter": false,
223
192
  "attribute": "next-page",
224
193
  "reflect": true,
225
194
  "defaultValue": "''"
@@ -238,8 +207,6 @@ export class HelperPagination {
238
207
  "tags": [],
239
208
  "text": "Previous page string value - determines if the previous page is disabled or active"
240
209
  },
241
- "getter": false,
242
- "setter": false,
243
210
  "attribute": "prev-page",
244
211
  "reflect": true,
245
212
  "defaultValue": "''"
@@ -258,8 +225,6 @@ export class HelperPagination {
258
225
  "tags": [],
259
226
  "text": "The received offset"
260
227
  },
261
- "getter": false,
262
- "setter": false,
263
228
  "attribute": "offset",
264
229
  "reflect": true,
265
230
  "defaultValue": "0"
@@ -278,8 +243,6 @@ export class HelperPagination {
278
243
  "tags": [],
279
244
  "text": "The received limit for the number of pages"
280
245
  },
281
- "getter": false,
282
- "setter": false,
283
246
  "attribute": "limit",
284
247
  "reflect": true,
285
248
  "defaultValue": "1"
@@ -298,8 +261,6 @@ export class HelperPagination {
298
261
  "tags": [],
299
262
  "text": "The received total number of pages"
300
263
  },
301
- "getter": false,
302
- "setter": false,
303
264
  "attribute": "total",
304
265
  "reflect": true,
305
266
  "defaultValue": "1"
@@ -318,8 +279,6 @@ export class HelperPagination {
318
279
  "tags": [],
319
280
  "text": "Language"
320
281
  },
321
- "getter": false,
322
- "setter": false,
323
282
  "attribute": "language",
324
283
  "reflect": true,
325
284
  "defaultValue": "'en'"
@@ -338,8 +297,6 @@ export class HelperPagination {
338
297
  "tags": [],
339
298
  "text": "Client custom styling via streamStyling"
340
299
  },
341
- "getter": false,
342
- "setter": false,
343
300
  "attribute": "mb-source",
344
301
  "reflect": false
345
302
  },
@@ -357,8 +314,6 @@ export class HelperPagination {
357
314
  "tags": [],
358
315
  "text": "Client custom styling via string"
359
316
  },
360
- "getter": false,
361
- "setter": false,
362
317
  "attribute": "client-styling",
363
318
  "reflect": true,
364
319
  "defaultValue": "''"
@@ -377,8 +332,6 @@ export class HelperPagination {
377
332
  "tags": [],
378
333
  "text": "Client custom styling via url content"
379
334
  },
380
- "getter": false,
381
- "setter": false,
382
335
  "attribute": "client-styling-url",
383
336
  "reflect": true,
384
337
  "defaultValue": "''"
@@ -397,8 +350,6 @@ export class HelperPagination {
397
350
  "tags": [],
398
351
  "text": "Customize pagination: Activate pagination arrows"
399
352
  },
400
- "getter": false,
401
- "setter": false,
402
353
  "attribute": "arrows-active",
403
354
  "reflect": true
404
355
  },
@@ -416,8 +367,6 @@ export class HelperPagination {
416
367
  "tags": [],
417
368
  "text": "Customize pagination: Activate pagination secondary arrows"
418
369
  },
419
- "getter": false,
420
- "setter": false,
421
370
  "attribute": "secondary-arrows-active",
422
371
  "reflect": true
423
372
  },
@@ -435,8 +384,6 @@ export class HelperPagination {
435
384
  "tags": [],
436
385
  "text": "Customize pagination: Activate pagination numbered navigation"
437
386
  },
438
- "getter": false,
439
- "setter": false,
440
387
  "attribute": "numbered-nav-active",
441
388
  "reflect": true
442
389
  }
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-49bd7818.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-0483e183.js';
2
2
 
3
3
  /**
4
4
  * @name setClientStyling
@@ -121,54 +121,6 @@ const HelperPagination = class {
121
121
  constructor(hostRef) {
122
122
  registerInstance(this, hostRef);
123
123
  this.hpPageChange = createEvent(this, "hpPageChange", 7);
124
- /**
125
- * Next page string value - determines if the next page is disabled or active
126
- */
127
- this.nextPage = '';
128
- /**
129
- * Previous page string value - determines if the previous page is disabled or active
130
- */
131
- this.prevPage = '';
132
- /**
133
- * The received offset
134
- */
135
- this.offset = 0;
136
- /**
137
- * The received limit for the number of pages
138
- */
139
- this.limit = 1;
140
- /**
141
- * The received total number of pages
142
- */
143
- this.total = 1;
144
- /**
145
- * Language
146
- */
147
- this.language = 'en';
148
- /**
149
- * Client custom styling via string
150
- */
151
- this.clientStyling = '';
152
- /**
153
- * Client custom styling via url content
154
- */
155
- this.clientStylingUrl = '';
156
- /**
157
- * Component working variable for last page
158
- */
159
- this.lastPage = false;
160
- /**
161
- * Component working variable for prvious page
162
- */
163
- this.previousPage = false;
164
- /**
165
- * In component working variable for the array of pages
166
- */
167
- this.pagesArray = [];
168
- /**
169
- * In component working variable for last page
170
- */
171
- this.endInt = 0;
172
124
  this.userAgent = window.navigator.userAgent;
173
125
  this.currentPage = 1;
174
126
  /**
@@ -227,6 +179,25 @@ const HelperPagination = class {
227
179
  }
228
180
  this.hpPageChange.emit({ offset: this.offsetInt, limit: this.limitInt, total: this.totalInt });
229
181
  };
182
+ this.nextPage = '';
183
+ this.prevPage = '';
184
+ this.offset = 0;
185
+ this.limit = 1;
186
+ this.total = 1;
187
+ this.language = 'en';
188
+ this.mbSource = undefined;
189
+ this.clientStyling = '';
190
+ this.clientStylingUrl = '';
191
+ this.arrowsActive = undefined;
192
+ this.secondaryArrowsActive = undefined;
193
+ this.numberedNavActive = undefined;
194
+ this.offsetInt = undefined;
195
+ this.lastPage = false;
196
+ this.previousPage = false;
197
+ this.limitInt = undefined;
198
+ this.totalInt = undefined;
199
+ this.pagesArray = [];
200
+ this.endInt = 0;
230
201
  }
231
202
  handleClientStylingChange(newValue, oldValue) {
232
203
  if (newValue != oldValue) {
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-49bd7818.js';
2
- export { s as setNonce } from './index-49bd7818.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-0483e183.js';
2
+ export { s as setNonce } from './index-0483e183.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;