@entake/particle 18.0.5 → 19.0.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.
- package/LICENSE +1 -1
- package/app/{modules → shared/components}/accordion/accordion.component.d.ts +3 -3
- package/app/{modules/date-picker → shared}/components/calendar/calendar.component.d.ts +7 -12
- package/app/{modules → shared/components}/checkbox/checkbox.component.d.ts +5 -7
- package/app/{modules → shared/components}/color-picker/color-picker.component.d.ts +3 -9
- package/app/{modules → shared/components}/date-picker/date-picker.component.d.ts +20 -26
- package/app/{modules/date-picker → shared}/components/date-range-picker/date-range-picker.component.d.ts +10 -11
- package/app/{modules → shared/components}/dialog/dialog.component.d.ts +14 -24
- package/app/{modules → shared/components}/dropdown/dropdown.component.d.ts +12 -14
- package/app/{modules/icons/components → shared/components/icon-select}/icon-select.component.d.ts +14 -17
- package/app/{modules → shared/components}/idle-timeout/idle-timeout.component.d.ts +3 -4
- package/app/{modules → shared/components}/input-mask/input-mask.component.d.ts +6 -7
- package/app/shared/components/layout-full-framing/layout-full-framing.component.d.ts +27 -0
- package/app/shared/components/layout-fullwidth-sidebar/layout-fullwidth-sidebar.component.d.ts +23 -0
- package/app/{modules/loader/components → shared/components/loader}/loader.component.d.ts +2 -2
- package/app/{modules → shared/components}/multi-select/multi-select.component.d.ts +18 -24
- package/app/{modules → shared/components}/notification/notification.component.d.ts +5 -13
- package/app/{modules → shared/components}/paginator/paginator.component.d.ts +12 -11
- package/app/{modules → shared/components}/popover/popover.component.d.ts +10 -15
- package/app/{modules → shared/components}/profile-pic/profile-pic.component.d.ts +1 -1
- package/app/shared/components/progress-bar/progress-bar.component.d.ts +15 -0
- package/app/{modules → shared/components}/rich-text/rich-text.component.d.ts +11 -12
- package/app/shared/components/scroll-to-top/scroll-to-top.component.d.ts +18 -0
- package/app/shared/components/slideover/slideover.component.d.ts +35 -0
- package/app/{modules → shared/components}/slider/slider.component.d.ts +8 -22
- package/app/{modules → shared/components}/toggle-switch/toggle-switch.component.d.ts +4 -6
- package/app/{modules → shared/components}/week-picker/week-picker.component.d.ts +21 -22
- package/app/{modules/accordion → shared}/directives/accordion-content.directive.d.ts +1 -2
- package/app/{modules/accordion → shared}/directives/accordion-header.directive.d.ts +1 -2
- package/app/{modules/accordion → shared}/directives/accordion-item.directive.d.ts +1 -1
- package/app/{modules/background-carousel → shared/directives}/background-carousel.directive.d.ts +4 -4
- package/app/{modules/keyfilter → shared/directives}/keyfilter.directive.d.ts +1 -7
- package/app/{modules/tooltip → shared/directives}/tooltip.directive.d.ts +3 -9
- package/app/shared/models/carousel-options.model.d.ts +21 -0
- package/app/shared/models/pagination-event.model.d.ts +8 -0
- package/app/shared/models/particle-component-text.model.d.ts +0 -24
- package/app/shared/modules/icons/particle-icons.module.d.ts +7 -0
- package/app/{modules/ordinal-number-pipe → shared/pipes}/ordinal-number.pipe.d.ts +1 -1
- package/app/shared/services/base-data.service.d.ts +2 -2
- package/app/shared/services/dialog.service.d.ts +1 -1
- package/app/{modules/notification → shared}/services/notification.service.d.ts +0 -4
- package/app/{modules/theming → shared}/services/theming.service.d.ts +0 -19
- package/fesm2022/entake-particle.mjs +3871 -5573
- package/fesm2022/entake-particle.mjs.map +1 -1
- package/package.json +16 -25
- package/public_api.d.ts +47 -82
- package/app/modules/accordion/accordion.module.d.ts +0 -11
- package/app/modules/background-carousel/carousel-options.model.d.ts +0 -30
- package/app/modules/background-carousel/particle-background-carousel.module.d.ts +0 -8
- package/app/modules/checkbox/checkbox.module.d.ts +0 -9
- package/app/modules/color-picker/color-picker.module.d.ts +0 -9
- package/app/modules/date-picker/date-picker.module.d.ts +0 -15
- package/app/modules/dialog/dialog.module.d.ts +0 -9
- package/app/modules/dropdown/dropdown.module.d.ts +0 -9
- package/app/modules/endpoint-state/components/endpoint-state.component.d.ts +0 -46
- package/app/modules/endpoint-state/endpoint-state.module.d.ts +0 -8
- package/app/modules/icons/particle-icons.module.d.ts +0 -13
- package/app/modules/idle-timeout/particle-idle-timeout.module.d.ts +0 -9
- package/app/modules/input-mask/input-mask.module.d.ts +0 -8
- package/app/modules/keyfilter/keyfilter.module.d.ts +0 -8
- package/app/modules/layout/components/layout-full-framing/layout-full-framing.component.d.ts +0 -27
- package/app/modules/layout/components/layout-fullwidth-sidebar/layout-fullwidth-sidebar.component.d.ts +0 -23
- package/app/modules/layout/layout.module.d.ts +0 -10
- package/app/modules/loader/loader.module.d.ts +0 -8
- package/app/modules/multi-select/multi-select.module.d.ts +0 -8
- package/app/modules/notification/notification.module.d.ts +0 -8
- package/app/modules/ordinal-number-pipe/ordinal-number-pipe.module.d.ts +0 -8
- package/app/modules/paginator/pagination-event.model.d.ts +0 -24
- package/app/modules/paginator/particle-paginator.module.d.ts +0 -13
- package/app/modules/popover/popover.module.d.ts +0 -9
- package/app/modules/profile-pic/particle-profile-pic.module.d.ts +0 -9
- package/app/modules/progress-bar/progress-bar.component.d.ts +0 -16
- package/app/modules/progress-bar/progress-bar.module.d.ts +0 -8
- package/app/modules/push-container/particle-push-container.module.d.ts +0 -9
- package/app/modules/push-container/push-container-state.model.d.ts +0 -7
- package/app/modules/push-container/push-container.component.d.ts +0 -137
- package/app/modules/rich-text/particle-rich-text.module.d.ts +0 -15
- package/app/modules/rich-text/render-rich-text.component.d.ts +0 -6
- package/app/modules/scroll-to-top/particle-scroll-to-top.module.d.ts +0 -8
- package/app/modules/scroll-to-top/scroll-to-top.component.d.ts +0 -19
- package/app/modules/slideover/particle-slideover.module.d.ts +0 -8
- package/app/modules/slideover/slideover.component.d.ts +0 -35
- package/app/modules/slider/slider.module.d.ts +0 -9
- package/app/modules/theming/components/theming.component.d.ts +0 -43
- package/app/modules/theming/theming.module.d.ts +0 -12
- package/app/modules/toggle-switch/toggle-switch.module.d.ts +0 -8
- package/app/modules/tooltip/tooltip.module.d.ts +0 -8
- package/app/modules/week-picker/week-picker.module.d.ts +0 -13
- package/app/shared/enums/endpoint-status.enum.d.ts +0 -9
- package/esm2022/app/modules/accordion/accordion.component.mjs +0 -101
- package/esm2022/app/modules/accordion/accordion.module.mjs +0 -37
- package/esm2022/app/modules/accordion/directives/accordion-content.directive.mjs +0 -17
- package/esm2022/app/modules/accordion/directives/accordion-header.directive.mjs +0 -17
- package/esm2022/app/modules/accordion/directives/accordion-item.directive.mjs +0 -36
- package/esm2022/app/modules/background-carousel/background-carousel.directive.mjs +0 -91
- package/esm2022/app/modules/background-carousel/carousel-options.model.mjs +0 -36
- package/esm2022/app/modules/background-carousel/particle-background-carousel.module.mjs +0 -24
- package/esm2022/app/modules/checkbox/checkbox.component.mjs +0 -108
- package/esm2022/app/modules/checkbox/checkbox.module.mjs +0 -28
- package/esm2022/app/modules/color-picker/color-picker.component.mjs +0 -306
- package/esm2022/app/modules/color-picker/color-picker.module.mjs +0 -19
- package/esm2022/app/modules/date-picker/components/calendar/calendar.component.mjs +0 -496
- package/esm2022/app/modules/date-picker/components/date-range-picker/date-range-picker.component.mjs +0 -250
- package/esm2022/app/modules/date-picker/date-picker.component.mjs +0 -538
- package/esm2022/app/modules/date-picker/date-picker.module.mjs +0 -56
- package/esm2022/app/modules/dialog/dialog.component.mjs +0 -177
- package/esm2022/app/modules/dialog/dialog.module.mjs +0 -28
- package/esm2022/app/modules/dropdown/dropdown.component.mjs +0 -682
- package/esm2022/app/modules/dropdown/dropdown.module.mjs +0 -28
- package/esm2022/app/modules/dropdown/models/dropdown-option-group.model.mjs +0 -2
- package/esm2022/app/modules/dropdown/models/dropdown-option.model.mjs +0 -2
- package/esm2022/app/modules/endpoint-state/components/endpoint-state.component.mjs +0 -75
- package/esm2022/app/modules/endpoint-state/endpoint-state.module.mjs +0 -22
- package/esm2022/app/modules/icons/components/icon-select.component.mjs +0 -376
- package/esm2022/app/modules/icons/models/fontawesome-icons-brands.model.mjs +0 -471
- package/esm2022/app/modules/icons/models/fontawesome-icons-regular.model.mjs +0 -166
- package/esm2022/app/modules/icons/models/fontawesome-icons-solid.model.mjs +0 -1016
- package/esm2022/app/modules/icons/models/particle-icons-brands.model.mjs +0 -24
- package/esm2022/app/modules/icons/models/particle-icons-regular.model.mjs +0 -50
- package/esm2022/app/modules/icons/models/particle-icons-solid.model.mjs +0 -89
- package/esm2022/app/modules/icons/particle-icons.module.mjs +0 -66
- package/esm2022/app/modules/icons/services/icons.service.mjs +0 -82
- package/esm2022/app/modules/idle-timeout/idle-timeout.component.mjs +0 -85
- package/esm2022/app/modules/idle-timeout/idle-timer.mjs +0 -66
- package/esm2022/app/modules/idle-timeout/particle-idle-timeout.module.mjs +0 -28
- package/esm2022/app/modules/input-mask/input-mask.component.mjs +0 -594
- package/esm2022/app/modules/input-mask/input-mask.module.mjs +0 -18
- package/esm2022/app/modules/keyfilter/keyfilter.directive.mjs +0 -174
- package/esm2022/app/modules/keyfilter/keyfilter.module.mjs +0 -18
- package/esm2022/app/modules/layout/components/layout-full-framing/layout-full-framing.component.mjs +0 -81
- package/esm2022/app/modules/layout/components/layout-fullwidth-sidebar/layout-fullwidth-sidebar.component.mjs +0 -67
- package/esm2022/app/modules/layout/layout.module.mjs +0 -33
- package/esm2022/app/modules/loader/components/loader.component.mjs +0 -30
- package/esm2022/app/modules/loader/loader.module.mjs +0 -24
- package/esm2022/app/modules/multi-select/models/multi-select-option-group.model.mjs +0 -2
- package/esm2022/app/modules/multi-select/models/multi-select-option.model.mjs +0 -2
- package/esm2022/app/modules/multi-select/multi-select.component.mjs +0 -665
- package/esm2022/app/modules/multi-select/multi-select.module.mjs +0 -18
- package/esm2022/app/modules/notification/models/notification.model.mjs +0 -2
- package/esm2022/app/modules/notification/notification.component.mjs +0 -122
- package/esm2022/app/modules/notification/notification.module.mjs +0 -18
- package/esm2022/app/modules/notification/services/notification.service.mjs +0 -84
- package/esm2022/app/modules/ordinal-number-pipe/ordinal-number-pipe.module.mjs +0 -20
- package/esm2022/app/modules/ordinal-number-pipe/ordinal-number.pipe.mjs +0 -49
- package/esm2022/app/modules/paginator/pagination-event.model.mjs +0 -29
- package/esm2022/app/modules/paginator/paginator.component.mjs +0 -207
- package/esm2022/app/modules/paginator/particle-paginator.module.mjs +0 -48
- package/esm2022/app/modules/popover/popover.component.mjs +0 -352
- package/esm2022/app/modules/popover/popover.module.mjs +0 -24
- package/esm2022/app/modules/profile-pic/particle-profile-pic.module.mjs +0 -28
- package/esm2022/app/modules/profile-pic/profile-pic.component.mjs +0 -75
- package/esm2022/app/modules/progress-bar/progress-bar.component.mjs +0 -43
- package/esm2022/app/modules/progress-bar/progress-bar.module.mjs +0 -24
- package/esm2022/app/modules/push-container/particle-push-container.module.mjs +0 -26
- package/esm2022/app/modules/push-container/push-container-state.model.mjs +0 -2
- package/esm2022/app/modules/push-container/push-container.component.mjs +0 -363
- package/esm2022/app/modules/rich-text/particle-rich-text.module.mjs +0 -64
- package/esm2022/app/modules/rich-text/render-rich-text.component.mjs +0 -18
- package/esm2022/app/modules/rich-text/rich-text-capabilities.model.mjs +0 -2
- package/esm2022/app/modules/rich-text/rich-text.component.mjs +0 -209
- package/esm2022/app/modules/scroll-to-top/particle-scroll-to-top.module.mjs +0 -24
- package/esm2022/app/modules/scroll-to-top/scroll-to-top.component.mjs +0 -49
- package/esm2022/app/modules/slideover/particle-slideover.module.mjs +0 -24
- package/esm2022/app/modules/slideover/slideover.component.mjs +0 -115
- package/esm2022/app/modules/slider/slider.component.mjs +0 -243
- package/esm2022/app/modules/slider/slider.module.mjs +0 -26
- package/esm2022/app/modules/theming/components/theming.component.mjs +0 -86
- package/esm2022/app/modules/theming/models/theme.model.mjs +0 -9
- package/esm2022/app/modules/theming/services/theme-change-detection.service.mjs +0 -38
- package/esm2022/app/modules/theming/services/theming.service.mjs +0 -510
- package/esm2022/app/modules/theming/theming.module.mjs +0 -55
- package/esm2022/app/modules/toggle-switch/models/toggle-options.model.mjs +0 -2
- package/esm2022/app/modules/toggle-switch/toggle-switch.component.mjs +0 -107
- package/esm2022/app/modules/toggle-switch/toggle-switch.module.mjs +0 -24
- package/esm2022/app/modules/tooltip/tooltip.directive.mjs +0 -381
- package/esm2022/app/modules/tooltip/tooltip.module.mjs +0 -18
- package/esm2022/app/modules/week-picker/week-picker.component.mjs +0 -511
- package/esm2022/app/modules/week-picker/week-picker.module.mjs +0 -40
- package/esm2022/app/shared/enums/endpoint-status.enum.mjs +0 -11
- package/esm2022/app/shared/interceptors/json.interceptor.mjs +0 -23
- package/esm2022/app/shared/models/auditable.model.mjs +0 -2
- package/esm2022/app/shared/models/data-list.model.mjs +0 -2
- package/esm2022/app/shared/models/id.model.mjs +0 -2
- package/esm2022/app/shared/models/observable-container.mjs +0 -15
- package/esm2022/app/shared/models/particle-component-text.model.mjs +0 -2
- package/esm2022/app/shared/services/base-data.service.mjs +0 -190
- package/esm2022/app/shared/services/dialog.service.mjs +0 -50
- package/esm2022/app/shared/services/local-storage.service.mjs +0 -60
- package/esm2022/entake-particle.mjs +0 -5
- package/esm2022/public_api.mjs +0 -98
- /package/app/{modules/dropdown → shared}/models/dropdown-option-group.model.d.ts +0 -0
- /package/app/{modules/dropdown → shared}/models/dropdown-option.model.d.ts +0 -0
- /package/app/{modules/icons → shared}/models/fontawesome-icons-brands.model.d.ts +0 -0
- /package/app/{modules/icons → shared}/models/fontawesome-icons-regular.model.d.ts +0 -0
- /package/app/{modules/icons → shared}/models/fontawesome-icons-solid.model.d.ts +0 -0
- /package/app/{modules/multi-select → shared}/models/multi-select-option-group.model.d.ts +0 -0
- /package/app/{modules/multi-select → shared}/models/multi-select-option.model.d.ts +0 -0
- /package/app/{modules/notification → shared}/models/notification.model.d.ts +0 -0
- /package/app/{modules/icons → shared}/models/particle-icons-brands.model.d.ts +0 -0
- /package/app/{modules/icons → shared}/models/particle-icons-regular.model.d.ts +0 -0
- /package/app/{modules/icons → shared}/models/particle-icons-solid.model.d.ts +0 -0
- /package/app/{modules/rich-text → shared/models}/rich-text-capabilities.model.d.ts +0 -0
- /package/app/{modules/theming → shared}/models/theme.model.d.ts +0 -0
- /package/app/{modules/toggle-switch → shared}/models/toggle-options.model.d.ts +0 -0
- /package/app/{modules/icons → shared}/services/icons.service.d.ts +0 -0
- /package/app/{modules/idle-timeout → shared/services}/idle-timer.d.ts +0 -0
- /package/app/{modules/theming → shared}/services/theme-change-detection.service.d.ts +0 -0
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import { PaginationEvent } from './pagination-event.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
import * as i2 from "@angular/forms";
|
|
6
|
-
import * as i3 from "../popover/popover.component";
|
|
7
|
-
/**
|
|
8
|
-
* A Particle paginator, because we hated the other ones on the market.
|
|
9
|
-
*/
|
|
10
|
-
export class PaginatorComponent {
|
|
11
|
-
_pageSize = null;
|
|
12
|
-
/**
|
|
13
|
-
* An array of potential page sizes.
|
|
14
|
-
*/
|
|
15
|
-
pageSizeOptions = null;
|
|
16
|
-
/**
|
|
17
|
-
* Current page size
|
|
18
|
-
*/
|
|
19
|
-
set pageSize(pageSize) {
|
|
20
|
-
this._pageSize = pageSize;
|
|
21
|
-
this.resetPageStartEndValues();
|
|
22
|
-
}
|
|
23
|
-
get pageSize() {
|
|
24
|
-
return this._pageSize;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Total number of items
|
|
28
|
-
*/
|
|
29
|
-
totalLength = null;
|
|
30
|
-
showPages = false;
|
|
31
|
-
showFirstLast = false;
|
|
32
|
-
showButtonLabels = true;
|
|
33
|
-
showResultsPanel = true;
|
|
34
|
-
text = {
|
|
35
|
-
itemsPerPage: 'Items Per Page',
|
|
36
|
-
choosePageSize: 'Choose Page Size',
|
|
37
|
-
previousPage: 'Previous',
|
|
38
|
-
nextPage: 'Next',
|
|
39
|
-
disabled: 'Disabled',
|
|
40
|
-
firstPage: 'First',
|
|
41
|
-
lastPage: 'Last',
|
|
42
|
-
jumpToPage: 'Jump to Page',
|
|
43
|
-
page: 'Page',
|
|
44
|
-
outOf: 'out of',
|
|
45
|
-
of: 'of',
|
|
46
|
-
results: 'Results'
|
|
47
|
-
};
|
|
48
|
-
/**
|
|
49
|
-
* Event Emitter for pagination or page size change.
|
|
50
|
-
*/
|
|
51
|
-
paginate = new EventEmitter();
|
|
52
|
-
/**
|
|
53
|
-
* Currently active page
|
|
54
|
-
*/
|
|
55
|
-
activePage = 0;
|
|
56
|
-
/**
|
|
57
|
-
* For the page jump text input
|
|
58
|
-
*/
|
|
59
|
-
pageJumpInput = '';
|
|
60
|
-
/**
|
|
61
|
-
* Number of pages
|
|
62
|
-
*/
|
|
63
|
-
numberOfPages = null;
|
|
64
|
-
pageStartingValue = 0;
|
|
65
|
-
pageEndingValue = 0;
|
|
66
|
-
Math = Math;
|
|
67
|
-
/**
|
|
68
|
-
* Recalculate number of pages on input change
|
|
69
|
-
*/
|
|
70
|
-
ngOnChanges() {
|
|
71
|
-
this.numberOfPages = this.getNumberOfPages();
|
|
72
|
-
}
|
|
73
|
-
ngAfterViewInit() {
|
|
74
|
-
this.resetPageStartEndValues();
|
|
75
|
-
}
|
|
76
|
-
resetPageStartEndValues() {
|
|
77
|
-
this.pageStartingValue = 1;
|
|
78
|
-
this.pageEndingValue = this.pageSize;
|
|
79
|
-
this.numberOfPages = this.getNumberOfPages();
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Goes to the first page
|
|
83
|
-
*/
|
|
84
|
-
goToFirst() {
|
|
85
|
-
this.goToPage(0);
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* Goes to the last page
|
|
89
|
-
*/
|
|
90
|
-
goToLast() {
|
|
91
|
-
this.goToPage(this.getNumberOfPages() - 1);
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
* Calculates the number of pages
|
|
95
|
-
*/
|
|
96
|
-
getNumberOfPages() {
|
|
97
|
-
return Math.ceil(this.totalLength / this.pageSize);
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* Goes to a given page and emits a pagination event
|
|
101
|
-
*
|
|
102
|
-
* @param pageNumber
|
|
103
|
-
* @param inputFocus
|
|
104
|
-
*/
|
|
105
|
-
goToPage(pageNumber, inputFocus) {
|
|
106
|
-
this.activePage = pageNumber;
|
|
107
|
-
this.pageStartingValue = this.getStartingValueForPage(this.activePage);
|
|
108
|
-
this.pageEndingValue = this.getEndingValueForPage(this.activePage);
|
|
109
|
-
if (inputFocus) {
|
|
110
|
-
const element = document.getElementById('activePage');
|
|
111
|
-
if (element) {
|
|
112
|
-
element.focus();
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
this.emitEvent();
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* Emits a pagination event with the current paginator data
|
|
119
|
-
*/
|
|
120
|
-
emitEvent() {
|
|
121
|
-
this.paginate.emit(new PaginationEvent(this.activePage, this.pageSize, this.totalLength));
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* Determines whether a given page exists or not.
|
|
125
|
-
*
|
|
126
|
-
* @param pageNumber
|
|
127
|
-
*/
|
|
128
|
-
hasPage(pageNumber) {
|
|
129
|
-
if (pageNumber < 0) {
|
|
130
|
-
return false;
|
|
131
|
-
}
|
|
132
|
-
return !(pageNumber >= this.getNumberOfPages());
|
|
133
|
-
}
|
|
134
|
-
/**
|
|
135
|
-
* Gets the first value for a given page
|
|
136
|
-
*
|
|
137
|
-
* @param pageNumber
|
|
138
|
-
*/
|
|
139
|
-
getStartingValueForPage(pageNumber) {
|
|
140
|
-
return (pageNumber * this.pageSize) + 1;
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* Gets the last value for a given page
|
|
144
|
-
*
|
|
145
|
-
* @param pageNumber
|
|
146
|
-
*/
|
|
147
|
-
getEndingValueForPage(pageNumber) {
|
|
148
|
-
// If it's the last page, return the total length
|
|
149
|
-
if (pageNumber === this.getNumberOfPages() - 1) {
|
|
150
|
-
return this.totalLength;
|
|
151
|
-
}
|
|
152
|
-
return (pageNumber + 1) * this.pageSize;
|
|
153
|
-
}
|
|
154
|
-
/**
|
|
155
|
-
* When a page size is changed, go back to the first page and emit a pagination event
|
|
156
|
-
*/
|
|
157
|
-
pageSizeChange() {
|
|
158
|
-
this.goToFirst();
|
|
159
|
-
this.numberOfPages = this.getNumberOfPages();
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
* Jump to a page based on user input
|
|
163
|
-
*/
|
|
164
|
-
jumpPage() {
|
|
165
|
-
let page = +this.pageJumpInput;
|
|
166
|
-
page--;
|
|
167
|
-
if (isNaN(page)) {
|
|
168
|
-
this.pageJumpInput = '';
|
|
169
|
-
return;
|
|
170
|
-
}
|
|
171
|
-
if (this.hasPage(page)) {
|
|
172
|
-
this.goToPage(page);
|
|
173
|
-
}
|
|
174
|
-
if (page > this.getNumberOfPages()) {
|
|
175
|
-
this.goToLast();
|
|
176
|
-
}
|
|
177
|
-
if (page <= 0) {
|
|
178
|
-
this.goToFirst();
|
|
179
|
-
}
|
|
180
|
-
this.pageJumpInput = '';
|
|
181
|
-
}
|
|
182
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: PaginatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
183
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.1", type: PaginatorComponent, selector: "particle-paginator", inputs: { pageSizeOptions: "pageSizeOptions", pageSize: "pageSize", totalLength: "totalLength", showPages: "showPages", showFirstLast: "showFirstLast", showButtonLabels: "showButtonLabels", showResultsPanel: "showResultsPanel", text: "text" }, outputs: { paginate: "paginate" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"row wrap_reverse center_center\">\r\n <ng-container *ngIf=\"!showPages && showResultsPanel\">\r\n <div class=\"col min_w200\">\r\n <div class=\"row v_center ptl_brdr_size ptl_brdr_radius ptl_brdr_color content_color mar_right5 mar_left5 pad_3 ent_r2l_row\">\r\n <div class=\"col size_1 center_center pad_left5 pad_right5\">\r\n <ng-container *ngIf=\"totalLength > 0 else noResults\">\r\n <div class=\"text sm ent_r2l_txt\" style=\"user-select: none\">\r\n {{pageStartingValue}} - {{pageEndingValue > totalLength ? totalLength : pageEndingValue}} {{text.of}} {{totalLength}} {{text.results}}\r\n </div>\r\n </ng-container>\r\n <ng-template #noResults>\r\n <div class=\"text sm ent_r2l_txt\" style=\"user-select: none\">\r\n 0 - 0 {{text.of}} 0 {{text.results}}\r\n </div>\r\n </ng-template>\r\n </div>\r\n <div class=\"col center_center pad_lr5\">\r\n <button class=\"access btn clear circle_20px \" tabindex=\"0\" [attr.aria-label]=\"text.jumpToPage\"\r\n (click)=\"config.toggle($event)\">\r\n <i class=\"fas fa-cog\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n\r\n <div class=\"col pad_5\">\r\n <div class=\"row wrap_reverse center_center ent_r2l_row\">\r\n\r\n <ng-container *ngIf=\"showFirstLast\">\r\n <div class=\"col pad_5\">\r\n <!-- first -->\r\n <button class=\"access btnset clear\"\r\n [attr.aria-label]=\"text.firstPage\"\r\n [disabled]=\"activePage === 0\"\r\n (click)=\"goToFirst()\">\r\n <div class=\"col pad_tb5 pad_lr10 hov_glow previous_button_color ptl_brdr_radius ent_r2l_dir rc_gap\">\r\n <div [ngClass]=\"showButtonLabels ? '' : ''\">\r\n <i class=\"fas fa-angle-double-left ent_r2l_ico\"></i>\r\n </div>\r\n <div class=\"text ent_r2l_txt\" *ngIf=\"showButtonLabels\">{{text.firstPage}}</div>\r\n </div>\r\n </button>\r\n </div>\r\n </ng-container>\r\n\r\n <div class=\"col pad_5\">\r\n <!-- previous -->\r\n <button class=\"access btnset clear\"\r\n [attr.aria-label]=\"text.previousPage\"\r\n [disabled]=\"activePage === 0\"\r\n (click)=\"hasPage(activePage - 1) ? goToPage(activePage - 1) : goToPage(activePage)\">\r\n <div class=\"col pad_tb5 pad_lr10 hov_glow previous_button_color ptl_brdr_radius ent_r2l_dir rc_gap\">\r\n <div [ngClass]=\"showButtonLabels ? '' : ''\">\r\n <i class=\"fas fa-chevron-left ent_r2l_ico\"></i>\r\n </div>\r\n <div class=\"text ent_r2l_txt\" *ngIf=\"showButtonLabels\">{{text.previousPage}}</div>\r\n </div>\r\n </button>\r\n </div>\r\n\r\n <ng-container *ngIf=\"showPages\">\r\n <div class=\"col pad_5\">\r\n <!-- navigation -->\r\n <div class=\"row v_center pad_left5 pad_right5 bg_overlay brdr content_color ptl_brdr_radius ent_r2l_dir\"\r\n style=\"flex:1 1 auto;\">\r\n <!-- jump button -->\r\n <div class=\"center_right\" style=\"width:20px;min-width:20px;\">\r\n <button class=\"access btn underline_md pag_btn clear\" tabindex=\"0\"\r\n [attr.aria-label]=\"text.jumpToPage\" *ngIf=\"activePage > 3\"\r\n (click)=\"op.toggle($event)\">...</button>\r\n </div>\r\n <!-- nav buttons -->\r\n <div class=\"center_center\" style=\"min-width:180px;\">\r\n <!-- first -->\r\n <button class=\"access btn underline_md pag_btn clear\"\r\n [attr.aria-label]=\"text.page + ' ' + (activePage - 1)\"\r\n *ngIf=\"(activePage-2 >= 0 && activePage-2 < numberOfPages)\"\r\n (click)=\"goToPage(activePage - 2, true)\">\r\n {{activePage - 1}}\r\n </button>\r\n <!-- second -->\r\n <button class=\"access btn underline_md pag_btn clear\"\r\n [attr.aria-label]=\"text.page + ' ' + (activePage)\"\r\n *ngIf=\"(activePage-1 >= 0 && activePage-1 < numberOfPages)\"\r\n (click)=\"goToPage(activePage - 1, true)\">\r\n {{activePage}}\r\n </button>\r\n <!-- active page -->\r\n <div class=\"row pag_btn active brad_3 content_color\">\r\n <button style=\"cursor:default\"\r\n class=\"access col size_1 btn center_center brad_3 bg_overlay_rev brdr\" id=\"activePage\"\r\n [attr.aria-label]=\"text.page + ' ' + (activePage + 1)\" >\r\n {{activePage + 1}}\r\n </button>\r\n </div>\r\n <!-- fourth -->\r\n <button class=\"access btn underline_md pag_btn clear\"\r\n [attr.aria-label]=\"text.page + ' ' + (activePage + 2)\"\r\n *ngIf=\"(activePage+1 >= 0 && activePage+1 < numberOfPages)\"\r\n (click)=\"goToPage(activePage + 1, true)\">\r\n {{activePage + 2}}\r\n </button>\r\n <!-- fifth -->\r\n <button class=\"access btn underline_md pag_btn clear\"\r\n [attr.aria-label]=\"text.page + ' ' + (activePage + 3)\"\r\n *ngIf=\"(activePage+2 >= 0 && activePage+2 < numberOfPages)\"\r\n (click)=\"goToPage(activePage + 2, true)\">\r\n {{activePage + 3}}\r\n </button>\r\n </div>\r\n <!-- jump button -->\r\n <div class=\"center_left\" style=\"width:20px;min-width:20px;\">\r\n <button class=\"access btn underline_md pag_btn clear\"\r\n [attr.aria-label]=\"text.jumpToPage\" *ngIf=\"activePage < getNumberOfPages() - 4\"\r\n (click)=\"op.toggle($event)\" >...</button>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n\r\n <div class=\"col pad_5\">\r\n <!-- next -->\r\n <button class=\"access btnset clear\"\r\n [attr.aria-label]=\"text.nextPage\"\r\n [disabled]=\"activePage === numberOfPages - 1 || totalLength === 0\"\r\n (click)=\"hasPage(activePage + 1) ? goToPage(activePage + 1) : goToPage(activePage)\">\r\n <div class=\"col pad_tb5 pad_lr10 hov_glow next_button_color ptl_brdr_radius ent_r2l_dir rc_gap\">\r\n <div class=\"text ent_r2l_txt\" *ngIf=\"showButtonLabels\">{{text.nextPage}}</div>\r\n <div [ngClass]=\"showButtonLabels ? '' : ''\">\r\n <i class=\"fas fa-chevron-right ent_r2l_ico\"></i>\r\n </div>\r\n </div>\r\n </button>\r\n </div>\r\n\r\n <ng-container *ngIf=\"showFirstLast\">\r\n <div class=\"col pad_5\">\r\n <!-- last -->\r\n <button class=\"access btnset clear\"\r\n [attr.aria-label]=\"text.lastPage\"\r\n [disabled]=\"activePage === numberOfPages - 1\"\r\n (click)=\"goToLast()\">\r\n <div class=\"col pad_tb5 pad_lr10 hov_glow next_button_color ptl_brdr_radius ent_r2l_dir rc_gap\">\r\n <div class=\"text ent_r2l_txt\" *ngIf=\"showButtonLabels\">{{text.lastPage}}</div>\r\n <div [ngClass]=\"showButtonLabels ? '' : ''\">\r\n <i class=\"fas fa-angle-double-right ent_r2l_ico\"></i>\r\n </div>\r\n </div>\r\n </button>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<!-- Jump to popover -->\r\n<particle-popover #op>\r\n <ng-container *ngTemplateOutlet=\"jumpTo\"></ng-container>\r\n</particle-popover>\r\n\r\n<particle-popover #config>\r\n <ng-container *ngTemplateOutlet=\"jumpTo\"></ng-container>\r\n <ng-container *ngTemplateOutlet=\"pageSizeTemplate\"></ng-container>\r\n</particle-popover>\r\n\r\n<ng-template #jumpTo>\r\n <ng-container *ngIf=\"numberOfPages > 0\">\r\n <div class=\"row_block pad_10 center\">\r\n <div class=\"text sm text_center ent_r2l_txt\" style=\"text-align: center !important;\"><label for=\"pageJump\">{{text.jumpToPage}} ({{text.outOf}} {{numberOfPages}}):</label></div>\r\n <div class=\"row rc_gap center_center mar_top10 ent_r2l_dir\">\r\n <div class=\"col\">\r\n <input class=\"access fullwidth_input sm\" style=\"width:50px;\" maxlength=\"4\" id=\"pageJump\"\r\n type=\"text\" [attr.aria-label]=\"text.page\" name=\"pagejump\" [placeholder]=\"text.page\" [(ngModel)]=\"pageJumpInput\" />\r\n </div>\r\n <div class=\"col\">\r\n <button class=\"access btn clear\" [attr.aria-label]=\"text.jumpToPage\"\r\n (click)=\"jumpPage();op.close();config.close();\">\r\n <i class=\"fas fa-chevron-right ent_r2l_ico\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n</ng-template>\r\n\r\n<ng-template #pageSizeTemplate>\r\n <div class=\"row_block pad_10 center\">\r\n <div class=\"text sm text_center ent_r2l_txt\" style=\"text-align: center !important;\"><label for=\"pageSize\">{{text.itemsPerPage}}:</label></div>\r\n <div class=\"row rc_gap center_center mar_top10 ent_r2l_dir\">\r\n <div class=\"col\">\r\n <select class=\"access fullwidth_input content_color text sm\" style=\"width:50px;\"\r\n [(ngModel)]=\"pageSize\" (ngModelChange)=\"pageSizeChange();config.close();\" [title]=\"text.choosePageSize\" id=\"pageSize\">\r\n <option *ngFor=\"let option of pageSizeOptions\" [value]=\"option\" [attr.aria-label]=\"option\">\r\n {{option}}\r\n </option>\r\n </select>\r\n </div>\r\n </div>\r\n </div>\r\n</ng-template>\r\n", styles: [".pag_btn{flex:1;max-width:60px;margin:0 1px;height:24px;font-size:10pt}.pag_btn.active{height:30px;margin-top:-3px;margin-bottom:-3px}.spinspin{opacity:.5}.spinspin:hover{animation:spin 2s linear infinite;opacity:1}@keyframes spin{to{transform:rotate(360deg)}}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.PopoverComponent, selector: "particle-popover", inputs: ["offset", "width", "height", "classList", "targetOverride", "openDirection", "alignment", "scaleForMobile"], outputs: ["opened", "closed"] }] });
|
|
184
|
-
}
|
|
185
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: PaginatorComponent, decorators: [{
|
|
186
|
-
type: Component,
|
|
187
|
-
args: [{ selector: 'particle-paginator', template: "<div class=\"row wrap_reverse center_center\">\r\n <ng-container *ngIf=\"!showPages && showResultsPanel\">\r\n <div class=\"col min_w200\">\r\n <div class=\"row v_center ptl_brdr_size ptl_brdr_radius ptl_brdr_color content_color mar_right5 mar_left5 pad_3 ent_r2l_row\">\r\n <div class=\"col size_1 center_center pad_left5 pad_right5\">\r\n <ng-container *ngIf=\"totalLength > 0 else noResults\">\r\n <div class=\"text sm ent_r2l_txt\" style=\"user-select: none\">\r\n {{pageStartingValue}} - {{pageEndingValue > totalLength ? totalLength : pageEndingValue}} {{text.of}} {{totalLength}} {{text.results}}\r\n </div>\r\n </ng-container>\r\n <ng-template #noResults>\r\n <div class=\"text sm ent_r2l_txt\" style=\"user-select: none\">\r\n 0 - 0 {{text.of}} 0 {{text.results}}\r\n </div>\r\n </ng-template>\r\n </div>\r\n <div class=\"col center_center pad_lr5\">\r\n <button class=\"access btn clear circle_20px \" tabindex=\"0\" [attr.aria-label]=\"text.jumpToPage\"\r\n (click)=\"config.toggle($event)\">\r\n <i class=\"fas fa-cog\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n\r\n <div class=\"col pad_5\">\r\n <div class=\"row wrap_reverse center_center ent_r2l_row\">\r\n\r\n <ng-container *ngIf=\"showFirstLast\">\r\n <div class=\"col pad_5\">\r\n <!-- first -->\r\n <button class=\"access btnset clear\"\r\n [attr.aria-label]=\"text.firstPage\"\r\n [disabled]=\"activePage === 0\"\r\n (click)=\"goToFirst()\">\r\n <div class=\"col pad_tb5 pad_lr10 hov_glow previous_button_color ptl_brdr_radius ent_r2l_dir rc_gap\">\r\n <div [ngClass]=\"showButtonLabels ? '' : ''\">\r\n <i class=\"fas fa-angle-double-left ent_r2l_ico\"></i>\r\n </div>\r\n <div class=\"text ent_r2l_txt\" *ngIf=\"showButtonLabels\">{{text.firstPage}}</div>\r\n </div>\r\n </button>\r\n </div>\r\n </ng-container>\r\n\r\n <div class=\"col pad_5\">\r\n <!-- previous -->\r\n <button class=\"access btnset clear\"\r\n [attr.aria-label]=\"text.previousPage\"\r\n [disabled]=\"activePage === 0\"\r\n (click)=\"hasPage(activePage - 1) ? goToPage(activePage - 1) : goToPage(activePage)\">\r\n <div class=\"col pad_tb5 pad_lr10 hov_glow previous_button_color ptl_brdr_radius ent_r2l_dir rc_gap\">\r\n <div [ngClass]=\"showButtonLabels ? '' : ''\">\r\n <i class=\"fas fa-chevron-left ent_r2l_ico\"></i>\r\n </div>\r\n <div class=\"text ent_r2l_txt\" *ngIf=\"showButtonLabels\">{{text.previousPage}}</div>\r\n </div>\r\n </button>\r\n </div>\r\n\r\n <ng-container *ngIf=\"showPages\">\r\n <div class=\"col pad_5\">\r\n <!-- navigation -->\r\n <div class=\"row v_center pad_left5 pad_right5 bg_overlay brdr content_color ptl_brdr_radius ent_r2l_dir\"\r\n style=\"flex:1 1 auto;\">\r\n <!-- jump button -->\r\n <div class=\"center_right\" style=\"width:20px;min-width:20px;\">\r\n <button class=\"access btn underline_md pag_btn clear\" tabindex=\"0\"\r\n [attr.aria-label]=\"text.jumpToPage\" *ngIf=\"activePage > 3\"\r\n (click)=\"op.toggle($event)\">...</button>\r\n </div>\r\n <!-- nav buttons -->\r\n <div class=\"center_center\" style=\"min-width:180px;\">\r\n <!-- first -->\r\n <button class=\"access btn underline_md pag_btn clear\"\r\n [attr.aria-label]=\"text.page + ' ' + (activePage - 1)\"\r\n *ngIf=\"(activePage-2 >= 0 && activePage-2 < numberOfPages)\"\r\n (click)=\"goToPage(activePage - 2, true)\">\r\n {{activePage - 1}}\r\n </button>\r\n <!-- second -->\r\n <button class=\"access btn underline_md pag_btn clear\"\r\n [attr.aria-label]=\"text.page + ' ' + (activePage)\"\r\n *ngIf=\"(activePage-1 >= 0 && activePage-1 < numberOfPages)\"\r\n (click)=\"goToPage(activePage - 1, true)\">\r\n {{activePage}}\r\n </button>\r\n <!-- active page -->\r\n <div class=\"row pag_btn active brad_3 content_color\">\r\n <button style=\"cursor:default\"\r\n class=\"access col size_1 btn center_center brad_3 bg_overlay_rev brdr\" id=\"activePage\"\r\n [attr.aria-label]=\"text.page + ' ' + (activePage + 1)\" >\r\n {{activePage + 1}}\r\n </button>\r\n </div>\r\n <!-- fourth -->\r\n <button class=\"access btn underline_md pag_btn clear\"\r\n [attr.aria-label]=\"text.page + ' ' + (activePage + 2)\"\r\n *ngIf=\"(activePage+1 >= 0 && activePage+1 < numberOfPages)\"\r\n (click)=\"goToPage(activePage + 1, true)\">\r\n {{activePage + 2}}\r\n </button>\r\n <!-- fifth -->\r\n <button class=\"access btn underline_md pag_btn clear\"\r\n [attr.aria-label]=\"text.page + ' ' + (activePage + 3)\"\r\n *ngIf=\"(activePage+2 >= 0 && activePage+2 < numberOfPages)\"\r\n (click)=\"goToPage(activePage + 2, true)\">\r\n {{activePage + 3}}\r\n </button>\r\n </div>\r\n <!-- jump button -->\r\n <div class=\"center_left\" style=\"width:20px;min-width:20px;\">\r\n <button class=\"access btn underline_md pag_btn clear\"\r\n [attr.aria-label]=\"text.jumpToPage\" *ngIf=\"activePage < getNumberOfPages() - 4\"\r\n (click)=\"op.toggle($event)\" >...</button>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n\r\n <div class=\"col pad_5\">\r\n <!-- next -->\r\n <button class=\"access btnset clear\"\r\n [attr.aria-label]=\"text.nextPage\"\r\n [disabled]=\"activePage === numberOfPages - 1 || totalLength === 0\"\r\n (click)=\"hasPage(activePage + 1) ? goToPage(activePage + 1) : goToPage(activePage)\">\r\n <div class=\"col pad_tb5 pad_lr10 hov_glow next_button_color ptl_brdr_radius ent_r2l_dir rc_gap\">\r\n <div class=\"text ent_r2l_txt\" *ngIf=\"showButtonLabels\">{{text.nextPage}}</div>\r\n <div [ngClass]=\"showButtonLabels ? '' : ''\">\r\n <i class=\"fas fa-chevron-right ent_r2l_ico\"></i>\r\n </div>\r\n </div>\r\n </button>\r\n </div>\r\n\r\n <ng-container *ngIf=\"showFirstLast\">\r\n <div class=\"col pad_5\">\r\n <!-- last -->\r\n <button class=\"access btnset clear\"\r\n [attr.aria-label]=\"text.lastPage\"\r\n [disabled]=\"activePage === numberOfPages - 1\"\r\n (click)=\"goToLast()\">\r\n <div class=\"col pad_tb5 pad_lr10 hov_glow next_button_color ptl_brdr_radius ent_r2l_dir rc_gap\">\r\n <div class=\"text ent_r2l_txt\" *ngIf=\"showButtonLabels\">{{text.lastPage}}</div>\r\n <div [ngClass]=\"showButtonLabels ? '' : ''\">\r\n <i class=\"fas fa-angle-double-right ent_r2l_ico\"></i>\r\n </div>\r\n </div>\r\n </button>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<!-- Jump to popover -->\r\n<particle-popover #op>\r\n <ng-container *ngTemplateOutlet=\"jumpTo\"></ng-container>\r\n</particle-popover>\r\n\r\n<particle-popover #config>\r\n <ng-container *ngTemplateOutlet=\"jumpTo\"></ng-container>\r\n <ng-container *ngTemplateOutlet=\"pageSizeTemplate\"></ng-container>\r\n</particle-popover>\r\n\r\n<ng-template #jumpTo>\r\n <ng-container *ngIf=\"numberOfPages > 0\">\r\n <div class=\"row_block pad_10 center\">\r\n <div class=\"text sm text_center ent_r2l_txt\" style=\"text-align: center !important;\"><label for=\"pageJump\">{{text.jumpToPage}} ({{text.outOf}} {{numberOfPages}}):</label></div>\r\n <div class=\"row rc_gap center_center mar_top10 ent_r2l_dir\">\r\n <div class=\"col\">\r\n <input class=\"access fullwidth_input sm\" style=\"width:50px;\" maxlength=\"4\" id=\"pageJump\"\r\n type=\"text\" [attr.aria-label]=\"text.page\" name=\"pagejump\" [placeholder]=\"text.page\" [(ngModel)]=\"pageJumpInput\" />\r\n </div>\r\n <div class=\"col\">\r\n <button class=\"access btn clear\" [attr.aria-label]=\"text.jumpToPage\"\r\n (click)=\"jumpPage();op.close();config.close();\">\r\n <i class=\"fas fa-chevron-right ent_r2l_ico\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n</ng-template>\r\n\r\n<ng-template #pageSizeTemplate>\r\n <div class=\"row_block pad_10 center\">\r\n <div class=\"text sm text_center ent_r2l_txt\" style=\"text-align: center !important;\"><label for=\"pageSize\">{{text.itemsPerPage}}:</label></div>\r\n <div class=\"row rc_gap center_center mar_top10 ent_r2l_dir\">\r\n <div class=\"col\">\r\n <select class=\"access fullwidth_input content_color text sm\" style=\"width:50px;\"\r\n [(ngModel)]=\"pageSize\" (ngModelChange)=\"pageSizeChange();config.close();\" [title]=\"text.choosePageSize\" id=\"pageSize\">\r\n <option *ngFor=\"let option of pageSizeOptions\" [value]=\"option\" [attr.aria-label]=\"option\">\r\n {{option}}\r\n </option>\r\n </select>\r\n </div>\r\n </div>\r\n </div>\r\n</ng-template>\r\n", styles: [".pag_btn{flex:1;max-width:60px;margin:0 1px;height:24px;font-size:10pt}.pag_btn.active{height:30px;margin-top:-3px;margin-bottom:-3px}.spinspin{opacity:.5}.spinspin:hover{animation:spin 2s linear infinite;opacity:1}@keyframes spin{to{transform:rotate(360deg)}}\n"] }]
|
|
188
|
-
}], propDecorators: { pageSizeOptions: [{
|
|
189
|
-
type: Input
|
|
190
|
-
}], pageSize: [{
|
|
191
|
-
type: Input
|
|
192
|
-
}], totalLength: [{
|
|
193
|
-
type: Input
|
|
194
|
-
}], showPages: [{
|
|
195
|
-
type: Input
|
|
196
|
-
}], showFirstLast: [{
|
|
197
|
-
type: Input
|
|
198
|
-
}], showButtonLabels: [{
|
|
199
|
-
type: Input
|
|
200
|
-
}], showResultsPanel: [{
|
|
201
|
-
type: Input
|
|
202
|
-
}], text: [{
|
|
203
|
-
type: Input
|
|
204
|
-
}], paginate: [{
|
|
205
|
-
type: Output
|
|
206
|
-
}] } });
|
|
207
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnaW5hdG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9wYWdpbmF0b3IvcGFnaW5hdG9yLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9wYWdpbmF0b3IvcGFnaW5hdG9yLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsWUFBWSxFQUNaLEtBQUssRUFDTCxNQUFNLEVBS1AsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFDLGVBQWUsRUFBQyxNQUFNLDBCQUEwQixDQUFDOzs7OztBQUl6RDs7R0FFRztBQU1ILE1BQU0sT0FBTyxrQkFBa0I7SUFFckIsU0FBUyxHQUFXLElBQVcsQ0FBQztJQUV4Qzs7T0FFRztJQUVILGVBQWUsR0FBa0IsSUFBVyxDQUFDO0lBRTdDOztPQUVHO0lBQ0gsSUFDSSxRQUFRLENBQUMsUUFBZ0I7UUFDM0IsSUFBSSxDQUFDLFNBQVMsR0FBRyxRQUFRLENBQUM7UUFDMUIsSUFBSSxDQUFDLHVCQUF1QixFQUFFLENBQUM7SUFDakMsQ0FBQztJQUVELElBQUksUUFBUTtRQUNWLE9BQU8sSUFBSSxDQUFDLFNBQVMsQ0FBQztJQUN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G4gICAgICAgICAgICAgICAgPC9idXR0b24+XHJcbiAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgPCEtLSBmb3VydGggLS0+XHJcbiAgICAgICAgICAgICAgPGJ1dHRvbiBjbGFzcz1cImFjY2VzcyBidG4gdW5kZXJsaW5lX21kIHBhZ19idG4gY2xlYXJcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgW2F0dHIuYXJpYS1sYWJlbF09XCJ0ZXh0LnBhZ2UgKyAnICcgKyAoYWN0aXZlUGFnZSArIDIpXCJcclxuICAgICAgICAgICAgICAgICAgICAgICpuZ0lmPVwiKGFjdGl2ZVBhZ2UrMSA+PSAwICYmIGFjdGl2ZVBhZ2UrMSA8IG51bWJlck9mUGFnZXMpXCJcclxuICAgICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJnb1RvUGFnZShhY3RpdmVQYWdlICsgMSwgdHJ1ZSlcIj5cclxuICAgICAgICAgICAgICAgIHt7YWN0aXZlUGFnZSArIDJ9fVxyXG4gICAgICAgICAgICAgIDwvYnV0dG9uPlxyXG4gICAgICAgICAgICAgIDwhLS0gZmlmdGggLS0+XHJcbiAgICAgICAgICAgICAgPGJ1dHRvbiBjbGFzcz1cImFjY2VzcyBidG4gdW5kZXJsaW5lX21kIHBhZ19idG4gY2xlYXJcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgW2F0dHIuYXJpYS1sYWJlbF09XCJ0ZXh0LnBhZ2UgKyAnICcgKyAoYWN0aXZlUGFnZSArIDMpXCJcclxuICAgICAgICAgICAgICAgICAgICAgICpuZ0lmPVwiKGFjdGl2ZVBhZ2UrMiA+PSAwICYmIGFjdGl2ZVBhZ2UrMiA8IG51bWJlck9mUGFnZXMpXCJcclxuICAgICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJnb1RvUGFnZShhY3RpdmVQYWdlICsgMiwgdHJ1ZSlcIj5cclxuICAgICAgICAgICAgICAgIHt7YWN0aXZlUGFnZSArIDN9fVxyXG4g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mdGb3I9XCJsZXQgb3B0aW9uIG9mIHBhZ2VTaXplT3B0aW9uc1wiIFt2YWx1ZV09XCJvcHRpb25cIiBbYXR0ci5hcmlhLWxhYmVsXT1cIm9wdGlvblwiPlxyXG4gICAgICAgICAgICB7e29wdGlvbn19XHJcbiAgICAgICAgICA8L29wdGlvbj5cclxuICAgICAgICA8L3NlbGVjdD5cclxuICAgICAgPC9kaXY+XHJcbiAgICA8L2Rpdj5cclxuICA8L2Rpdj5cclxuPC9uZy10ZW1wbGF0ZT5cclxuIl19
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { PaginatorComponent } from './paginator.component';
|
|
4
|
-
import { BrowserModule } from '@angular/platform-browser';
|
|
5
|
-
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
6
|
-
import { HttpClientModule } from '@angular/common/http';
|
|
7
|
-
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
8
|
-
import { ParticlePopoverModule } from '../popover/popover.module';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export class ParticlePaginatorModule {
|
|
11
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ParticlePaginatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.1", ngImport: i0, type: ParticlePaginatorModule, declarations: [PaginatorComponent], imports: [CommonModule,
|
|
13
|
-
BrowserModule,
|
|
14
|
-
FormsModule,
|
|
15
|
-
ReactiveFormsModule,
|
|
16
|
-
HttpClientModule,
|
|
17
|
-
BrowserAnimationsModule,
|
|
18
|
-
ParticlePopoverModule], exports: [PaginatorComponent] });
|
|
19
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ParticlePaginatorModule, imports: [CommonModule,
|
|
20
|
-
BrowserModule,
|
|
21
|
-
FormsModule,
|
|
22
|
-
ReactiveFormsModule,
|
|
23
|
-
HttpClientModule,
|
|
24
|
-
BrowserAnimationsModule,
|
|
25
|
-
ParticlePopoverModule] });
|
|
26
|
-
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ParticlePaginatorModule, decorators: [{
|
|
28
|
-
type: NgModule,
|
|
29
|
-
args: [{
|
|
30
|
-
imports: [
|
|
31
|
-
CommonModule,
|
|
32
|
-
BrowserModule,
|
|
33
|
-
FormsModule,
|
|
34
|
-
ReactiveFormsModule,
|
|
35
|
-
HttpClientModule,
|
|
36
|
-
BrowserAnimationsModule,
|
|
37
|
-
ParticlePopoverModule
|
|
38
|
-
],
|
|
39
|
-
declarations: [
|
|
40
|
-
PaginatorComponent
|
|
41
|
-
],
|
|
42
|
-
providers: [],
|
|
43
|
-
exports: [
|
|
44
|
-
PaginatorComponent
|
|
45
|
-
]
|
|
46
|
-
}]
|
|
47
|
-
}] });
|
|
48
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFydGljbGUtcGFnaW5hdG9yLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvbW9kdWxlcy9wYWdpbmF0b3IvcGFydGljbGUtcGFnaW5hdG9yLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3ZDLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQztBQUM3QyxPQUFPLEVBQUMsa0JBQWtCLEVBQUMsTUFBTSx1QkFBdUIsQ0FBQztBQUN6RCxPQUFPLEVBQUMsYUFBYS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