@everymatrix/bonus-pagination-nav 1.56.0 → 1.56.3

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/bonus-pagination-nav/bonus-pagination-nav.esm.js +1 -1
  2. package/dist/bonus-pagination-nav/p-206f54f8.js +2 -0
  3. package/dist/bonus-pagination-nav/p-d29d4ec0.entry.js +1 -0
  4. package/dist/cjs/bonus-pagination-nav.cjs.entry.js +3 -33
  5. package/dist/cjs/bonus-pagination-nav.cjs.js +2 -2
  6. package/dist/cjs/{index-de67c104.js → index-aabdc668.js} +54 -201
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/collection/collection-manifest.json +2 -2
  9. package/dist/collection/components/bonus-pagination-nav/bonus-pagination-nav.js +2 -54
  10. package/dist/esm/bonus-pagination-nav.entry.js +3 -33
  11. package/dist/esm/bonus-pagination-nav.js +3 -3
  12. package/dist/esm/{index-bbf5341c.js → index-9c2a4b03.js} +54 -201
  13. package/dist/esm/loader.js +2 -2
  14. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/bonus-pagination-nav/.stencil/packages/stencil/bonus-pagination-nav/stencil.config.d.ts +2 -0
  15. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/bonus-pagination-nav/.stencil/packages/stencil/bonus-pagination-nav/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/bonus-pagination-nav/p-22747bba.js +0 -2
  19. package/dist/bonus-pagination-nav/p-f089fb89.entry.js +0 -1
  20. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/bonus-pagination-nav/.stencil/packages/stencil/bonus-pagination-nav/stencil.config.d.ts +0 -2
  21. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/bonus-pagination-nav/.stencil/packages/stencil/bonus-pagination-nav/stencil.config.dev.d.ts +0 -2
  22. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/bonus-pagination-nav/.stencil/tools/plugins/index.d.ts +0 -0
  23. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/bonus-pagination-nav/.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/bonus-pagination-nav/.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/bonus-pagination-nav/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -2,49 +2,19 @@ import { h } from "@stencil/core";
2
2
  import { translate, TRANSLATIONS } from "../../utils/locale.utils";
3
3
  export class BonusPaginationNav {
4
4
  constructor() {
5
- /**
6
- * The received length of dataset
7
- */
8
5
  this.total = 1;
9
- /**
10
- * The received limit for the number of pages
11
- */
12
6
  this.limit = 10;
13
- /**
14
- * The offset of dataset
15
- */
16
7
  this.offset = 0;
17
- /**
18
- * The table id, use to identify which table listen the page change message
19
- * when there is more than 1 table on same page
20
- */
21
8
  this.tableId = 'default';
22
- /**
23
- * Language
24
- */
25
9
  this.language = 'en';
26
- /**
27
- * Translation via url
28
- */
29
10
  this.translationUrl = '';
30
- /**
31
- * Customize pagination: Activate pagination arrows
32
- */
33
11
  this.arrowsActive = true;
34
- /**
35
- * Customize pagination: Activate pagination secondary arrows
36
- */
37
12
  this.secondaryArrowsActive = true;
38
- /**
39
- * Customize pagination: Activate pagination numbered navigation
40
- */
41
13
  this.displayPageNumbers = true;
42
- /**
43
- * The Nav Items count for the pagination, default: 5
44
- * the value should be Odd, 5, 7
45
- */
14
+ this.displayRangeOfTotal = undefined;
46
15
  this.navItemAccount = 5;
47
16
  this.endPageIndex = 0;
17
+ this.pagesArray = undefined;
48
18
  this.currentPage = 1;
49
19
  this.showAsEllipsisMid = !this.arrowsActive;
50
20
  }
@@ -199,8 +169,6 @@ export class BonusPaginationNav {
199
169
  "tags": [],
200
170
  "text": "The received length of dataset"
201
171
  },
202
- "getter": false,
203
- "setter": false,
204
172
  "attribute": "total",
205
173
  "reflect": true,
206
174
  "defaultValue": "1"
@@ -219,8 +187,6 @@ export class BonusPaginationNav {
219
187
  "tags": [],
220
188
  "text": "The received limit for the number of pages"
221
189
  },
222
- "getter": false,
223
- "setter": false,
224
190
  "attribute": "limit",
225
191
  "reflect": true,
226
192
  "defaultValue": "10"
@@ -239,8 +205,6 @@ export class BonusPaginationNav {
239
205
  "tags": [],
240
206
  "text": "The offset of dataset"
241
207
  },
242
- "getter": false,
243
- "setter": false,
244
208
  "attribute": "offset",
245
209
  "reflect": true,
246
210
  "defaultValue": "0"
@@ -259,8 +223,6 @@ export class BonusPaginationNav {
259
223
  "tags": [],
260
224
  "text": "The table id, use to identify which table listen the page change message\nwhen there is more than 1 table on same page"
261
225
  },
262
- "getter": false,
263
- "setter": false,
264
226
  "attribute": "table-id",
265
227
  "reflect": true,
266
228
  "defaultValue": "'default'"
@@ -279,8 +241,6 @@ export class BonusPaginationNav {
279
241
  "tags": [],
280
242
  "text": "Language"
281
243
  },
282
- "getter": false,
283
- "setter": false,
284
244
  "attribute": "language",
285
245
  "reflect": true,
286
246
  "defaultValue": "'en'"
@@ -299,8 +259,6 @@ export class BonusPaginationNav {
299
259
  "tags": [],
300
260
  "text": "Translation via url"
301
261
  },
302
- "getter": false,
303
- "setter": false,
304
262
  "attribute": "translation-url",
305
263
  "reflect": true,
306
264
  "defaultValue": "''"
@@ -319,8 +277,6 @@ export class BonusPaginationNav {
319
277
  "tags": [],
320
278
  "text": "Customize pagination: Activate pagination arrows"
321
279
  },
322
- "getter": false,
323
- "setter": false,
324
280
  "attribute": "arrows-active",
325
281
  "reflect": true,
326
282
  "defaultValue": "true"
@@ -339,8 +295,6 @@ export class BonusPaginationNav {
339
295
  "tags": [],
340
296
  "text": "Customize pagination: Activate pagination secondary arrows"
341
297
  },
342
- "getter": false,
343
- "setter": false,
344
298
  "attribute": "secondary-arrows-active",
345
299
  "reflect": true,
346
300
  "defaultValue": "true"
@@ -359,8 +313,6 @@ export class BonusPaginationNav {
359
313
  "tags": [],
360
314
  "text": "Customize pagination: Activate pagination numbered navigation"
361
315
  },
362
- "getter": false,
363
- "setter": false,
364
316
  "attribute": "display-page-numbers",
365
317
  "reflect": true,
366
318
  "defaultValue": "true"
@@ -379,8 +331,6 @@ export class BonusPaginationNav {
379
331
  "tags": [],
380
332
  "text": "If show the page of message, eg: `1-20 of 100`"
381
333
  },
382
- "getter": false,
383
- "setter": false,
384
334
  "attribute": "display-range-of-total",
385
335
  "reflect": true
386
336
  },
@@ -398,8 +348,6 @@ export class BonusPaginationNav {
398
348
  "tags": [],
399
349
  "text": "The Nav Items count for the pagination, default: 5\nthe value should be Odd, 5, 7"
400
350
  },
401
- "getter": false,
402
- "setter": false,
403
351
  "attribute": "nav-item-account",
404
352
  "reflect": true,
405
353
  "defaultValue": "5"
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-bbf5341c.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-9c2a4b03.js';
2
2
 
3
3
  const DEFAULT_LANGUAGE = 'en';
4
4
  const SUPPORTED_LANGUAGES = ['pt-br', 'en', 'es-mx', 'hu', 'hr'];
@@ -58,49 +58,19 @@ const BonusPaginationNav = class {
58
58
  constructor(hostRef) {
59
59
  registerInstance(this, hostRef);
60
60
  this.reloadPageEmitter = createEvent(this, "reloadPageByType", 7);
61
- /**
62
- * The received length of dataset
63
- */
64
61
  this.total = 1;
65
- /**
66
- * The received limit for the number of pages
67
- */
68
62
  this.limit = 10;
69
- /**
70
- * The offset of dataset
71
- */
72
63
  this.offset = 0;
73
- /**
74
- * The table id, use to identify which table listen the page change message
75
- * when there is more than 1 table on same page
76
- */
77
64
  this.tableId = 'default';
78
- /**
79
- * Language
80
- */
81
65
  this.language = 'en';
82
- /**
83
- * Translation via url
84
- */
85
66
  this.translationUrl = '';
86
- /**
87
- * Customize pagination: Activate pagination arrows
88
- */
89
67
  this.arrowsActive = true;
90
- /**
91
- * Customize pagination: Activate pagination secondary arrows
92
- */
93
68
  this.secondaryArrowsActive = true;
94
- /**
95
- * Customize pagination: Activate pagination numbered navigation
96
- */
97
69
  this.displayPageNumbers = true;
98
- /**
99
- * The Nav Items count for the pagination, default: 5
100
- * the value should be Odd, 5, 7
101
- */
70
+ this.displayRangeOfTotal = undefined;
102
71
  this.navItemAccount = 5;
103
72
  this.endPageIndex = 0;
73
+ this.pagesArray = undefined;
104
74
  this.currentPage = 1;
105
75
  this.showAsEllipsisMid = !this.arrowsActive;
106
76
  }
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-bbf5341c.js';
2
- export { s as setNonce } from './index-bbf5341c.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-9c2a4b03.js';
2
+ export { s as setNonce } from './index-9c2a4b03.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;