@everymatrix/bonus-pagination-nav 1.44.0 → 1.45.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.
- package/dist/bonus-pagination-nav/bonus-pagination-nav.esm.js +1 -1
- package/dist/bonus-pagination-nav/p-57809f35.js +2 -0
- package/dist/bonus-pagination-nav/p-e1255160.js +1 -0
- package/dist/bonus-pagination-nav/p-f71ef42b.entry.js +1 -0
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/bonus-pagination-nav.cjs.entry.js +140 -165
- package/dist/cjs/bonus-pagination-nav.cjs.js +16 -10
- package/dist/cjs/index-5f4d615c.js +1233 -0
- package/dist/cjs/loader.cjs.js +6 -12
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/bonus-pagination-nav/bonus-pagination-nav.js +325 -350
- package/dist/collection/components/bonus-pagination-nav/index.js +1 -0
- package/dist/collection/utils/locale.utils.js +55 -55
- package/dist/collection/utils/utils.js +3 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/bonus-pagination-nav.entry.js +140 -165
- package/dist/esm/bonus-pagination-nav.js +13 -10
- package/dist/esm/index-332d0149.js +1206 -0
- package/dist/esm/loader.js +6 -12
- package/dist/stencil.config.dev.js +17 -0
- package/dist/stencil.config.js +14 -21
- 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
- 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
- package/dist/types/components/bonus-pagination-nav/bonus-pagination-nav.d.ts +52 -52
- package/dist/types/components/bonus-pagination-nav/index.d.ts +1 -0
- package/dist/types/components.d.ts +16 -1
- package/dist/types/stencil-public-runtime.d.ts +142 -33
- package/dist/types/utils/locale.utils.d.ts +7 -7
- package/dist/types/utils/utils.d.ts +1 -0
- package/loader/cdn.js +1 -3
- package/loader/index.cjs.js +1 -3
- package/loader/index.d.ts +13 -1
- package/loader/index.es2017.js +1 -3
- package/loader/index.js +1 -3
- package/loader/package.json +1 -0
- package/package.json +9 -2
- package/dist/bonus-pagination-nav/p-06373b64.js +0 -1
- package/dist/bonus-pagination-nav/p-fc173a41.entry.js +0 -1
- package/dist/cjs/index-fb15607a.js +0 -1189
- package/dist/components/bonus-pagination-nav.d.ts +0 -11
- package/dist/components/bonus-pagination-nav.js +0 -215
- package/dist/components/index.d.ts +0 -26
- package/dist/components/index.js +0 -1
- package/dist/esm/index-7299a1fa.js +0 -1163
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/bonus-pagination-nav/.stencil/packages/bonus-pagination-nav/stencil.config.d.ts +0 -2
package/dist/esm/loader.js
CHANGED
|
@@ -1,17 +1,11 @@
|
|
|
1
|
-
import {
|
|
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';
|
|
2
4
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const patchEsm = () => {
|
|
7
|
-
return promiseResolve();
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
const defineCustomElements = (win, options) => {
|
|
11
|
-
if (typeof window === 'undefined') return Promise.resolve();
|
|
12
|
-
return patchEsm().then(() => {
|
|
5
|
+
const defineCustomElements = async (win, options) => {
|
|
6
|
+
if (typeof window === 'undefined') return undefined;
|
|
7
|
+
await globalScripts();
|
|
13
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);
|
|
14
|
-
});
|
|
15
9
|
};
|
|
16
10
|
|
|
17
11
|
export { defineCustomElements };
|
|
@@ -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
|
+
};
|
package/dist/stencil.config.js
CHANGED
|
@@ -1,24 +1,17 @@
|
|
|
1
|
-
import { sass } from
|
|
2
|
-
const local = process.argv && process.argv[2] && process.argv[2].indexOf('--dev') > -1;
|
|
1
|
+
import { sass } from "@stencil/sass";
|
|
3
2
|
export const config = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
type: 'dist',
|
|
11
|
-
esmLoaderPath: '../loader',
|
|
3
|
+
namespace: 'bonus-pagination-nav',
|
|
4
|
+
taskQueue: 'async',
|
|
5
|
+
sourceMap: false,
|
|
6
|
+
minifyJs: true,
|
|
7
|
+
extras: {
|
|
8
|
+
experimentalImportInjection: true
|
|
12
9
|
},
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
type: 'www',
|
|
21
|
-
serviceWorker: null, // disable service workers
|
|
22
|
-
},
|
|
23
|
-
],
|
|
10
|
+
plugins: [sass()],
|
|
11
|
+
outputTargets: [
|
|
12
|
+
{
|
|
13
|
+
type: 'dist',
|
|
14
|
+
esmLoaderPath: '../loader'
|
|
15
|
+
}
|
|
16
|
+
]
|
|
24
17
|
};
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
export declare class BonusPaginationNav {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
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
55
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BonusPaginationNav } from './bonus-pagination-nav';
|
|
@@ -49,8 +49,23 @@ export namespace Components {
|
|
|
49
49
|
"translationUrl": string;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
+
export interface BonusPaginationNavCustomEvent<T> extends CustomEvent<T> {
|
|
53
|
+
detail: T;
|
|
54
|
+
target: HTMLBonusPaginationNavElement;
|
|
55
|
+
}
|
|
52
56
|
declare global {
|
|
57
|
+
interface HTMLBonusPaginationNavElementEventMap {
|
|
58
|
+
"reloadPageByType": any;
|
|
59
|
+
}
|
|
53
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;
|
|
54
69
|
}
|
|
55
70
|
var HTMLBonusPaginationNavElement: {
|
|
56
71
|
prototype: HTMLBonusPaginationNavElement;
|
|
@@ -86,7 +101,7 @@ declare namespace LocalJSX {
|
|
|
86
101
|
* The offset of dataset
|
|
87
102
|
*/
|
|
88
103
|
"offset"?: number;
|
|
89
|
-
"onReloadPageByType"?: (event:
|
|
104
|
+
"onReloadPageByType"?: (event: BonusPaginationNavCustomEvent<any>) => void;
|
|
90
105
|
/**
|
|
91
106
|
* Customize pagination: Activate pagination secondary arrows
|
|
92
107
|
*/
|