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