@everymatrix/helper-pagination 0.0.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 (47) hide show
  1. package/dist/cjs/helper-pagination.cjs.entry.js +188 -0
  2. package/dist/cjs/helper-pagination.cjs.js +19 -0
  3. package/dist/cjs/index-ea71a27d.js +1170 -0
  4. package/dist/cjs/index.cjs.js +2 -0
  5. package/dist/cjs/loader.cjs.js +21 -0
  6. package/dist/collection/collection-manifest.json +12 -0
  7. package/dist/collection/components/helper-pagination/helper-pagination.css +139 -0
  8. package/dist/collection/components/helper-pagination/helper-pagination.js +297 -0
  9. package/dist/collection/index.js +1 -0
  10. package/dist/collection/utils/locale.utils.js +20 -0
  11. package/dist/collection/utils/utils.js +15 -0
  12. package/dist/components/helper-pagination.d.ts +11 -0
  13. package/dist/components/helper-pagination.js +215 -0
  14. package/dist/components/index.d.ts +22 -0
  15. package/dist/components/index.js +2 -0
  16. package/dist/esm/helper-pagination.entry.js +184 -0
  17. package/dist/esm/helper-pagination.js +17 -0
  18. package/dist/esm/index-6ba22d2b.js +1144 -0
  19. package/dist/esm/index.js +1 -0
  20. package/dist/esm/loader.js +17 -0
  21. package/dist/esm/polyfills/core-js.js +11 -0
  22. package/dist/esm/polyfills/css-shim.js +1 -0
  23. package/dist/esm/polyfills/dom.js +79 -0
  24. package/dist/esm/polyfills/es5-html-element.js +1 -0
  25. package/dist/esm/polyfills/index.js +34 -0
  26. package/dist/esm/polyfills/system.js +6 -0
  27. package/dist/helper-pagination/helper-pagination.esm.js +1 -0
  28. package/dist/helper-pagination/index.esm.js +0 -0
  29. package/dist/helper-pagination/p-4038ff2e.entry.js +1 -0
  30. package/dist/helper-pagination/p-a4f374fc.js +2 -0
  31. package/dist/index.cjs.js +1 -0
  32. package/dist/index.js +1 -0
  33. package/dist/stencil.config.js +22 -0
  34. package/dist/types/Users/user/workspace/everymatrix/widgets-stencil/packages/helper-pagination/.stencil/packages/helper-pagination/stencil.config.d.ts +2 -0
  35. package/dist/types/components/helper-pagination/helper-pagination.d.ts +67 -0
  36. package/dist/types/components.d.ts +93 -0
  37. package/dist/types/index.d.ts +1 -0
  38. package/dist/types/stencil-public-runtime.d.ts +1565 -0
  39. package/dist/types/utils/locale.utils.d.ts +1 -0
  40. package/dist/types/utils/utils.d.ts +8 -0
  41. package/loader/cdn.js +3 -0
  42. package/loader/index.cjs.js +3 -0
  43. package/loader/index.d.ts +12 -0
  44. package/loader/index.es2017.js +3 -0
  45. package/loader/index.js +4 -0
  46. package/loader/package.json +10 -0
  47. package/package.json +19 -0
@@ -0,0 +1,67 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class HelperPagination {
3
+ /**
4
+ * First page boolean value - determines if the page is disabled or active
5
+ */
6
+ firstPage: boolean;
7
+ /**
8
+ * Previous page boolean value - determines if the page is disabled or active
9
+ */
10
+ previousPage: boolean;
11
+ /**
12
+ * The received offset
13
+ */
14
+ offset: number;
15
+ /**
16
+ * The received limit for the number of pages
17
+ */
18
+ limit: number;
19
+ /**
20
+ * The received total number of pages
21
+ */
22
+ total: number;
23
+ /**
24
+ * Language
25
+ */
26
+ language: string;
27
+ /**
28
+ * Component working variable for offset
29
+ */
30
+ private offsetInt;
31
+ /**
32
+ * Component working variable for last page
33
+ */
34
+ private lastPage;
35
+ /**
36
+ * Component working variable for limit
37
+ */
38
+ private limitInt;
39
+ /**
40
+ * Component working variable for total
41
+ */
42
+ private totalInt;
43
+ /**
44
+ * In component working variable for the array of pages
45
+ */
46
+ private pagesArray;
47
+ /**
48
+ * In component working variable for last page
49
+ */
50
+ private endInt;
51
+ private userAgent;
52
+ currentPage: number;
53
+ /**
54
+ * Event that handles the navigation, updating the offset, limit and total values
55
+ */
56
+ hpPageChange: EventEmitter<any>;
57
+ /**
58
+ * Navigation logic
59
+ */
60
+ navigateTo: (navigationPage: string) => void;
61
+ /**
62
+ * Handle navigation from here
63
+ */
64
+ paginationNavigation: (pageNumber: number, index: any) => void;
65
+ componentWillRender(): void;
66
+ render(): any;
67
+ }
@@ -0,0 +1,93 @@
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 HelperPagination {
10
+ /**
11
+ * First page boolean value - determines if the page is disabled or active
12
+ */
13
+ "firstPage": boolean;
14
+ /**
15
+ * Language
16
+ */
17
+ "language": string;
18
+ /**
19
+ * The received limit for the number of pages
20
+ */
21
+ "limit": number;
22
+ /**
23
+ * The received offset
24
+ */
25
+ "offset": number;
26
+ /**
27
+ * Previous page boolean value - determines if the page is disabled or active
28
+ */
29
+ "previousPage": boolean;
30
+ /**
31
+ * The received total number of pages
32
+ */
33
+ "total": number;
34
+ }
35
+ }
36
+ export interface HelperPaginationCustomEvent<T> extends CustomEvent<T> {
37
+ detail: T;
38
+ target: HTMLHelperPaginationElement;
39
+ }
40
+ declare global {
41
+ interface HTMLHelperPaginationElement extends Components.HelperPagination, HTMLStencilElement {
42
+ }
43
+ var HTMLHelperPaginationElement: {
44
+ prototype: HTMLHelperPaginationElement;
45
+ new (): HTMLHelperPaginationElement;
46
+ };
47
+ interface HTMLElementTagNameMap {
48
+ "helper-pagination": HTMLHelperPaginationElement;
49
+ }
50
+ }
51
+ declare namespace LocalJSX {
52
+ interface HelperPagination {
53
+ /**
54
+ * First page boolean value - determines if the page is disabled or active
55
+ */
56
+ "firstPage"?: boolean;
57
+ /**
58
+ * Language
59
+ */
60
+ "language"?: string;
61
+ /**
62
+ * The received limit for the number of pages
63
+ */
64
+ "limit"?: number;
65
+ /**
66
+ * The received offset
67
+ */
68
+ "offset"?: number;
69
+ /**
70
+ * Event that handles the navigation, updating the offset, limit and total values
71
+ */
72
+ "onHpPageChange"?: (event: HelperPaginationCustomEvent<any>) => void;
73
+ /**
74
+ * Previous page boolean value - determines if the page is disabled or active
75
+ */
76
+ "previousPage"?: boolean;
77
+ /**
78
+ * The received total number of pages
79
+ */
80
+ "total"?: number;
81
+ }
82
+ interface IntrinsicElements {
83
+ "helper-pagination": HelperPagination;
84
+ }
85
+ }
86
+ export { LocalJSX as JSX };
87
+ declare module "@stencil/core" {
88
+ export namespace JSX {
89
+ interface IntrinsicElements {
90
+ "helper-pagination": LocalJSX.HelperPagination & JSXBase.HTMLAttributes<HTMLHelperPaginationElement>;
91
+ }
92
+ }
93
+ }
@@ -0,0 +1 @@
1
+ export * from './components';