@everymatrix/bonus-pagination-nav 1.0.69

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 (44) hide show
  1. package/dist/bonus-pagination-nav/bonus-pagination-nav.esm.js +1 -0
  2. package/dist/bonus-pagination-nav/index.esm.js +0 -0
  3. package/dist/bonus-pagination-nav/p-57809f35.js +2 -0
  4. package/dist/bonus-pagination-nav/p-e1255160.js +1 -0
  5. package/dist/bonus-pagination-nav/p-f71ef42b.entry.js +1 -0
  6. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  7. package/dist/cjs/bonus-pagination-nav.cjs.entry.js +163 -0
  8. package/dist/cjs/bonus-pagination-nav.cjs.js +25 -0
  9. package/dist/cjs/index-5f4d615c.js +1233 -0
  10. package/dist/cjs/index.cjs.js +2 -0
  11. package/dist/cjs/loader.cjs.js +15 -0
  12. package/dist/collection/collection-manifest.json +12 -0
  13. package/dist/collection/components/bonus-pagination-nav/bonus-pagination-nav.css +51 -0
  14. package/dist/collection/components/bonus-pagination-nav/bonus-pagination-nav.js +334 -0
  15. package/dist/collection/components/bonus-pagination-nav/index.js +1 -0
  16. package/dist/collection/index.js +1 -0
  17. package/dist/collection/utils/locale.utils.js +65 -0
  18. package/dist/collection/utils/utils.js +3 -0
  19. package/dist/esm/app-globals-0f993ce5.js +3 -0
  20. package/dist/esm/bonus-pagination-nav.entry.js +159 -0
  21. package/dist/esm/bonus-pagination-nav.js +20 -0
  22. package/dist/esm/index-332d0149.js +1206 -0
  23. package/dist/esm/index.js +1 -0
  24. package/dist/esm/loader.js +11 -0
  25. package/dist/index.cjs.js +1 -0
  26. package/dist/index.js +1 -0
  27. package/dist/stencil.config.dev.js +17 -0
  28. package/dist/stencil.config.js +17 -0
  29. package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/bonus-pagination-nav/.stencil/packages/stencil/bonus-pagination-nav/stencil.config.d.ts +2 -0
  30. package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/bonus-pagination-nav/.stencil/packages/stencil/bonus-pagination-nav/stencil.config.dev.d.ts +2 -0
  31. package/dist/types/components/bonus-pagination-nav/bonus-pagination-nav.d.ts +55 -0
  32. package/dist/types/components/bonus-pagination-nav/index.d.ts +1 -0
  33. package/dist/types/components.d.ts +133 -0
  34. package/dist/types/index.d.ts +1 -0
  35. package/dist/types/stencil-public-runtime.d.ts +1674 -0
  36. package/dist/types/utils/locale.utils.d.ts +17 -0
  37. package/dist/types/utils/utils.d.ts +1 -0
  38. package/loader/cdn.js +1 -0
  39. package/loader/index.cjs.js +1 -0
  40. package/loader/index.d.ts +24 -0
  41. package/loader/index.es2017.js +1 -0
  42. package/loader/index.js +2 -0
  43. package/loader/package.json +11 -0
  44. package/package.json +26 -0
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,11 @@
1
+ import { b as bootstrapLazy } from './index-332d0149.js';
2
+ export { s as setNonce } from './index-332d0149.js';
3
+ import { g as globalScripts } from './app-globals-0f993ce5.js';
4
+
5
+ const defineCustomElements = async (win, options) => {
6
+ if (typeof window === 'undefined') return undefined;
7
+ await globalScripts();
8
+ return bootstrapLazy([["bonus-pagination-nav",[[0,"bonus-pagination-nav",{"total":[1538],"limit":[1538],"offset":[1538],"tableId":[1537,"table-id"],"language":[1537],"translationUrl":[513,"translation-url"],"arrowsActive":[1540,"arrows-active"],"secondaryArrowsActive":[1540,"secondary-arrows-active"],"displayPageNumbers":[1540,"display-page-numbers"],"displayRangeOfTotal":[1540,"display-range-of-total"],"endPageIndex":[32],"pagesArray":[32],"currentPage":[32]},[[8,"paginationReset","pageLimitChangedHandler"],[8,"pageLimitChanged","pageLimitChangedHandler"]]]]]], options);
9
+ };
10
+
11
+ export { defineCustomElements };
@@ -0,0 +1 @@
1
+ module.exports = require('./cjs/index.cjs.js');
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ export * from './esm/index.js';
@@ -0,0 +1,17 @@
1
+ import { sass } from "@stencil/sass";
2
+ export const config = {
3
+ namespace: 'bonus-pagination-nav',
4
+ taskQueue: 'async',
5
+ sourceMap: true,
6
+ minifyJs: false,
7
+ extras: {
8
+ experimentalImportInjection: true
9
+ },
10
+ plugins: [sass()],
11
+ outputTargets: [
12
+ {
13
+ type: 'www',
14
+ serviceWorker: null // disable service workers
15
+ }
16
+ ]
17
+ };
@@ -0,0 +1,17 @@
1
+ import { sass } from "@stencil/sass";
2
+ export const config = {
3
+ namespace: 'bonus-pagination-nav',
4
+ taskQueue: 'async',
5
+ sourceMap: false,
6
+ minifyJs: true,
7
+ extras: {
8
+ experimentalImportInjection: true
9
+ },
10
+ plugins: [sass()],
11
+ outputTargets: [
12
+ {
13
+ type: 'dist',
14
+ esmLoaderPath: '../loader'
15
+ }
16
+ ]
17
+ };
@@ -0,0 +1,2 @@
1
+ import { Config } from '../../../../../../../../../../../../stencil-public-runtime';
2
+ export declare const config: Config;
@@ -0,0 +1,2 @@
1
+ import { Config } from '../../../../../../../../../../../../stencil-public-runtime';
2
+ export declare const config: Config;
@@ -0,0 +1,55 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class BonusPaginationNav {
3
+ /**
4
+ * The received length of dataset
5
+ */
6
+ total: number;
7
+ /**
8
+ * The received limit for the number of pages
9
+ */
10
+ limit: number;
11
+ /**
12
+ * The offset of dataset
13
+ */
14
+ offset: number;
15
+ /**
16
+ * The table id, use to identify which table listen the page change message
17
+ * when there is more than 1 table on same page
18
+ */
19
+ tableId: string;
20
+ /**
21
+ * Language
22
+ */
23
+ language: string;
24
+ /**
25
+ * Translation via url
26
+ */
27
+ translationUrl: string;
28
+ /**
29
+ * Customize pagination: Activate pagination arrows
30
+ */
31
+ arrowsActive: boolean;
32
+ /**
33
+ * Customize pagination: Activate pagination secondary arrows
34
+ */
35
+ secondaryArrowsActive: boolean;
36
+ /**
37
+ * Customize pagination: Activate pagination numbered navigation
38
+ */
39
+ displayPageNumbers: boolean;
40
+ /**
41
+ * If show the page of message, eg: `1-20 of 100`
42
+ */
43
+ displayRangeOfTotal: boolean;
44
+ endPageIndex: number;
45
+ pagesArray: Array<string | number>;
46
+ reloadPageEmitter: EventEmitter;
47
+ currentPage: number;
48
+ pageLimitChangedHandler(event: CustomEvent): void;
49
+ goTo(step: number | string): void;
50
+ renderPageList(): any;
51
+ renderStylingWrapper(): any;
52
+ private updatePageStatus;
53
+ componentWillRender(): void;
54
+ render(): any;
55
+ }
@@ -0,0 +1 @@
1
+ export { BonusPaginationNav } from './bonus-pagination-nav';
@@ -0,0 +1,133 @@
1
+ /* eslint-disable */
2
+ /* tslint:disable */
3
+ /**
4
+ * This is an autogenerated file created by the Stencil compiler.
5
+ * It contains typing information for all components that exist in this project.
6
+ */
7
+ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
+ export namespace Components {
9
+ interface BonusPaginationNav {
10
+ /**
11
+ * Customize pagination: Activate pagination arrows
12
+ */
13
+ "arrowsActive": boolean;
14
+ /**
15
+ * Customize pagination: Activate pagination numbered navigation
16
+ */
17
+ "displayPageNumbers": boolean;
18
+ /**
19
+ * If show the page of message, eg: `1-20 of 100`
20
+ */
21
+ "displayRangeOfTotal": boolean;
22
+ /**
23
+ * Language
24
+ */
25
+ "language": string;
26
+ /**
27
+ * The received limit for the number of pages
28
+ */
29
+ "limit": number;
30
+ /**
31
+ * The offset of dataset
32
+ */
33
+ "offset": number;
34
+ /**
35
+ * Customize pagination: Activate pagination secondary arrows
36
+ */
37
+ "secondaryArrowsActive": boolean;
38
+ /**
39
+ * The table id, use to identify which table listen the page change message when there is more than 1 table on same page
40
+ */
41
+ "tableId": string;
42
+ /**
43
+ * The received length of dataset
44
+ */
45
+ "total": number;
46
+ /**
47
+ * Translation via url
48
+ */
49
+ "translationUrl": string;
50
+ }
51
+ }
52
+ export interface BonusPaginationNavCustomEvent<T> extends CustomEvent<T> {
53
+ detail: T;
54
+ target: HTMLBonusPaginationNavElement;
55
+ }
56
+ declare global {
57
+ interface HTMLBonusPaginationNavElementEventMap {
58
+ "reloadPageByType": any;
59
+ }
60
+ interface HTMLBonusPaginationNavElement extends Components.BonusPaginationNav, HTMLStencilElement {
61
+ addEventListener<K extends keyof HTMLBonusPaginationNavElementEventMap>(type: K, listener: (this: HTMLBonusPaginationNavElement, ev: BonusPaginationNavCustomEvent<HTMLBonusPaginationNavElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
62
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
63
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
64
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
65
+ removeEventListener<K extends keyof HTMLBonusPaginationNavElementEventMap>(type: K, listener: (this: HTMLBonusPaginationNavElement, ev: BonusPaginationNavCustomEvent<HTMLBonusPaginationNavElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
66
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
67
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
68
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
69
+ }
70
+ var HTMLBonusPaginationNavElement: {
71
+ prototype: HTMLBonusPaginationNavElement;
72
+ new (): HTMLBonusPaginationNavElement;
73
+ };
74
+ interface HTMLElementTagNameMap {
75
+ "bonus-pagination-nav": HTMLBonusPaginationNavElement;
76
+ }
77
+ }
78
+ declare namespace LocalJSX {
79
+ interface BonusPaginationNav {
80
+ /**
81
+ * Customize pagination: Activate pagination arrows
82
+ */
83
+ "arrowsActive"?: boolean;
84
+ /**
85
+ * Customize pagination: Activate pagination numbered navigation
86
+ */
87
+ "displayPageNumbers"?: boolean;
88
+ /**
89
+ * If show the page of message, eg: `1-20 of 100`
90
+ */
91
+ "displayRangeOfTotal"?: boolean;
92
+ /**
93
+ * Language
94
+ */
95
+ "language"?: string;
96
+ /**
97
+ * The received limit for the number of pages
98
+ */
99
+ "limit"?: number;
100
+ /**
101
+ * The offset of dataset
102
+ */
103
+ "offset"?: number;
104
+ "onReloadPageByType"?: (event: BonusPaginationNavCustomEvent<any>) => void;
105
+ /**
106
+ * Customize pagination: Activate pagination secondary arrows
107
+ */
108
+ "secondaryArrowsActive"?: boolean;
109
+ /**
110
+ * The table id, use to identify which table listen the page change message when there is more than 1 table on same page
111
+ */
112
+ "tableId"?: string;
113
+ /**
114
+ * The received length of dataset
115
+ */
116
+ "total"?: number;
117
+ /**
118
+ * Translation via url
119
+ */
120
+ "translationUrl"?: string;
121
+ }
122
+ interface IntrinsicElements {
123
+ "bonus-pagination-nav": BonusPaginationNav;
124
+ }
125
+ }
126
+ export { LocalJSX as JSX };
127
+ declare module "@stencil/core" {
128
+ export namespace JSX {
129
+ interface IntrinsicElements {
130
+ "bonus-pagination-nav": LocalJSX.BonusPaginationNav & JSXBase.HTMLAttributes<HTMLBonusPaginationNavElement>;
131
+ }
132
+ }
133
+ }
@@ -0,0 +1 @@
1
+ export * from './components';