@paperless/angular 2.0.1-beta.9 → 2.0.1-beta.90

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 (38) hide show
  1. package/esm2020/lib/directives/index.mjs +19 -7
  2. package/esm2020/lib/directives/p-checkbox.directive.mjs +39 -0
  3. package/esm2020/lib/directives/p-field.directive.mjs +38 -0
  4. package/esm2020/lib/directives/p-pagination-pages.directive.mjs +41 -0
  5. package/esm2020/lib/directives/p-pagination-size.directive.mjs +41 -0
  6. package/esm2020/lib/directives/p-radio.directive.mjs +48 -0
  7. package/esm2020/lib/directives/p-toggle.directive.mjs +38 -0
  8. package/esm2020/lib/modules/table/components/table/table.component.mjs +25 -70
  9. package/esm2020/lib/modules/table/components/table-cell/table-cell.component.mjs +4 -18
  10. package/esm2020/lib/modules/toast/types.mjs +4 -3
  11. package/esm2020/lib/paperless.module.mjs +15 -11
  12. package/esm2020/lib/stencil/angular-component-lib/utils.mjs +9 -1
  13. package/esm2020/lib/stencil/components.mjs +383 -134
  14. package/esm2020/lib/stencil/index.mjs +15 -5
  15. package/esm2020/lib/stencil.module.mjs +1 -1
  16. package/fesm2015/paperless-angular.mjs +612 -259
  17. package/fesm2015/paperless-angular.mjs.map +1 -1
  18. package/fesm2020/paperless-angular.mjs +610 -259
  19. package/fesm2020/paperless-angular.mjs.map +1 -1
  20. package/lib/directives/index.d.ts +9 -4
  21. package/lib/directives/p-checkbox.directive.d.ts +9 -0
  22. package/lib/directives/p-field.directive.d.ts +9 -0
  23. package/lib/directives/p-pagination-pages.directive.d.ts +10 -0
  24. package/lib/directives/{p-page-size-select.directive.d.ts → p-pagination-size.directive.d.ts} +3 -3
  25. package/lib/directives/p-radio.directive.d.ts +17 -0
  26. package/lib/directives/p-toggle.directive.d.ts +9 -0
  27. package/lib/modules/table/components/table/table.component.d.ts +13 -8
  28. package/lib/modules/table/components/table-cell/table-cell.component.d.ts +2 -6
  29. package/lib/modules/toast/types.d.ts +3 -2
  30. package/lib/paperless.module.d.ts +15 -11
  31. package/lib/stencil/components.d.ts +268 -117
  32. package/lib/stencil/index.d.ts +1 -1
  33. package/lib/stencil.module.d.ts +1 -1
  34. package/package.json +1 -1
  35. package/paperless.css +84 -64
  36. package/esm2020/lib/directives/p-page-size-select.directive.mjs +0 -41
  37. package/esm2020/lib/directives/p-pagination.directive.mjs +0 -41
  38. package/lib/directives/p-pagination.directive.d.ts +0 -10
@@ -1,2 +1,2 @@
1
1
  import * as d from './components';
2
- export declare const DIRECTIVES: (typeof d.PAccordion | typeof d.PAttachment | typeof d.PAvatar | typeof d.PAvatarGroup | typeof d.PBackdrop | typeof d.PBadge | typeof d.PButton | typeof d.PButtonGroup | typeof d.PCalendar | typeof d.PCardBody | typeof d.PCardContainer | typeof d.PCardHeader | typeof d.PContentSlider | typeof d.PCounter | typeof d.PCropper | typeof d.PDatepicker | typeof d.PDivider | typeof d.PDrawer | typeof d.PDrawerBody | typeof d.PDrawerContainer | typeof d.PDrawerHeader | typeof d.PDropdown | typeof d.PDropdownMenuContainer | typeof d.PDropdownMenuItem | typeof d.PFloatingMenuContainer | typeof d.PFloatingMenuItem | typeof d.PHelper | typeof d.PIbanIcon | typeof d.PIcon | typeof d.PIconDeprecated | typeof d.PIllustration | typeof d.PInfoPanel | typeof d.PInputError | typeof d.PInputGroup | typeof d.PLabel | typeof d.PLayout | typeof d.PLoader | typeof d.PModal | typeof d.PModalBody | typeof d.PModalContainer | typeof d.PModalFooter | typeof d.PModalHeader | typeof d.PNavbar | typeof d.PNavigationItem | typeof d.PNavigationSection | typeof d.PNavigationTitle | typeof d.PPageSizeSelect | typeof d.PPagination | typeof d.PPaginationItem | typeof d.PProfile | typeof d.PSegmentContainer | typeof d.PSegmentItem | typeof d.PSelect | typeof d.PSliderIndicator | typeof d.PStatus | typeof d.PStepper | typeof d.PStepperItem | typeof d.PStepperLine | typeof d.PTabGroup | typeof d.PTabItem | typeof d.PTableContainer | typeof d.PTableFooter | typeof d.PTableHeader | typeof d.PTableRow | typeof d.PToast | typeof d.PTooltip)[];
2
+ export declare const DIRECTIVES: (typeof d.PAccordion | typeof d.PAttachment | typeof d.PAvatar | typeof d.PAvatarGroup | typeof d.PBackdrop | typeof d.PBadge | typeof d.PButton | typeof d.PButtonGroup | typeof d.PCalendar | typeof d.PCardBody | typeof d.PCardContainer | typeof d.PCardHeader | typeof d.PCheckbox | typeof d.PContentSlider | typeof d.PCounter | typeof d.PCropper | typeof d.PDatepicker | typeof d.PDivider | typeof d.PDrawer | typeof d.PDrawerBody | typeof d.PDrawerContainer | typeof d.PDrawerHeader | typeof d.PDropdown | typeof d.PDropdownMenuContainer | typeof d.PDropdownMenuItem | typeof d.PEmptyState | typeof d.PField | typeof d.PFieldContainer | typeof d.PFloatingMenuContainer | typeof d.PFloatingMenuItem | typeof d.PHelper | typeof d.PIbanIcon | typeof d.PIcon | typeof d.PIllustration | typeof d.PIllustrationDeprecated | typeof d.PInfoPanel | typeof d.PInputError | typeof d.PInputGroup | typeof d.PLabel | typeof d.PLayout | typeof d.PLoader | typeof d.PModal | typeof d.PModalBody | typeof d.PModalContainer | typeof d.PModalFooter | typeof d.PModalHeader | typeof d.PNavbar | typeof d.PNavigationItem | typeof d.PNavigationSection | typeof d.PNavigationTitle | typeof d.PPagination | typeof d.PPaginationPages | typeof d.PPaginationPagesItem | typeof d.PPaginationSize | typeof d.PPortal | typeof d.PProfile | typeof d.PRadio | typeof d.PSegmentContainer | typeof d.PSegmentItem | typeof d.PSelect | typeof d.PSliderIndicator | typeof d.PSmile | typeof d.PStatus | typeof d.PStepper | typeof d.PStepperItem | typeof d.PStepperLine | typeof d.PTabContainer | typeof d.PTabItem | typeof d.PTableContainer | typeof d.PTableFooter | typeof d.PTableHeader | typeof d.PTableRow | typeof d.PTableRowActionsContainer | typeof d.PToast | typeof d.PToggle | typeof d.PTooltip)[];
@@ -2,6 +2,6 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./stencil/components";
3
3
  export declare class StencilModule {
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<StencilModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<StencilModule, [typeof i1.PAccordion, typeof i1.PAttachment, typeof i1.PAvatar, typeof i1.PAvatarGroup, typeof i1.PBackdrop, typeof i1.PBadge, typeof i1.PButton, typeof i1.PButtonGroup, typeof i1.PCalendar, typeof i1.PCardBody, typeof i1.PCardContainer, typeof i1.PCardHeader, typeof i1.PContentSlider, typeof i1.PCounter, typeof i1.PCropper, typeof i1.PDatepicker, typeof i1.PDivider, typeof i1.PDrawer, typeof i1.PDrawerBody, typeof i1.PDrawerContainer, typeof i1.PDrawerHeader, typeof i1.PDropdown, typeof i1.PDropdownMenuContainer, typeof i1.PDropdownMenuItem, typeof i1.PFloatingMenuContainer, typeof i1.PFloatingMenuItem, typeof i1.PHelper, typeof i1.PIbanIcon, typeof i1.PIcon, typeof i1.PIconDeprecated, typeof i1.PIllustration, typeof i1.PInfoPanel, typeof i1.PInputError, typeof i1.PInputGroup, typeof i1.PLabel, typeof i1.PLayout, typeof i1.PLoader, typeof i1.PModal, typeof i1.PModalBody, typeof i1.PModalContainer, typeof i1.PModalFooter, typeof i1.PModalHeader, typeof i1.PNavbar, typeof i1.PNavigationItem, typeof i1.PNavigationSection, typeof i1.PNavigationTitle, typeof i1.PPageSizeSelect, typeof i1.PPagination, typeof i1.PPaginationItem, typeof i1.PProfile, typeof i1.PSegmentContainer, typeof i1.PSegmentItem, typeof i1.PSelect, typeof i1.PSliderIndicator, typeof i1.PStatus, typeof i1.PStepper, typeof i1.PStepperItem, typeof i1.PStepperLine, typeof i1.PTabGroup, typeof i1.PTabItem, typeof i1.PTableContainer, typeof i1.PTableFooter, typeof i1.PTableHeader, typeof i1.PTableRow, typeof i1.PToast, typeof i1.PTooltip], never, [typeof i1.PAccordion, typeof i1.PAttachment, typeof i1.PAvatar, typeof i1.PAvatarGroup, typeof i1.PBackdrop, typeof i1.PBadge, typeof i1.PButton, typeof i1.PButtonGroup, typeof i1.PCalendar, typeof i1.PCardBody, typeof i1.PCardContainer, typeof i1.PCardHeader, typeof i1.PContentSlider, typeof i1.PCounter, typeof i1.PCropper, typeof i1.PDatepicker, typeof i1.PDivider, typeof i1.PDrawer, typeof i1.PDrawerBody, typeof i1.PDrawerContainer, typeof i1.PDrawerHeader, typeof i1.PDropdown, typeof i1.PDropdownMenuContainer, typeof i1.PDropdownMenuItem, typeof i1.PFloatingMenuContainer, typeof i1.PFloatingMenuItem, typeof i1.PHelper, typeof i1.PIbanIcon, typeof i1.PIcon, typeof i1.PIconDeprecated, typeof i1.PIllustration, typeof i1.PInfoPanel, typeof i1.PInputError, typeof i1.PInputGroup, typeof i1.PLabel, typeof i1.PLayout, typeof i1.PLoader, typeof i1.PModal, typeof i1.PModalBody, typeof i1.PModalContainer, typeof i1.PModalFooter, typeof i1.PModalHeader, typeof i1.PNavbar, typeof i1.PNavigationItem, typeof i1.PNavigationSection, typeof i1.PNavigationTitle, typeof i1.PPageSizeSelect, typeof i1.PPagination, typeof i1.PPaginationItem, typeof i1.PProfile, typeof i1.PSegmentContainer, typeof i1.PSegmentItem, typeof i1.PSelect, typeof i1.PSliderIndicator, typeof i1.PStatus, typeof i1.PStepper, typeof i1.PStepperItem, typeof i1.PStepperLine, typeof i1.PTabGroup, typeof i1.PTabItem, typeof i1.PTableContainer, typeof i1.PTableFooter, typeof i1.PTableHeader, typeof i1.PTableRow, typeof i1.PToast, typeof i1.PTooltip]>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<StencilModule, [typeof i1.PAccordion, typeof i1.PAttachment, typeof i1.PAvatar, typeof i1.PAvatarGroup, typeof i1.PBackdrop, typeof i1.PBadge, typeof i1.PButton, typeof i1.PButtonGroup, typeof i1.PCalendar, typeof i1.PCardBody, typeof i1.PCardContainer, typeof i1.PCardHeader, typeof i1.PCheckbox, typeof i1.PContentSlider, typeof i1.PCounter, typeof i1.PCropper, typeof i1.PDatepicker, typeof i1.PDivider, typeof i1.PDrawer, typeof i1.PDrawerBody, typeof i1.PDrawerContainer, typeof i1.PDrawerHeader, typeof i1.PDropdown, typeof i1.PDropdownMenuContainer, typeof i1.PDropdownMenuItem, typeof i1.PEmptyState, typeof i1.PField, typeof i1.PFieldContainer, typeof i1.PFloatingMenuContainer, typeof i1.PFloatingMenuItem, typeof i1.PHelper, typeof i1.PIbanIcon, typeof i1.PIcon, typeof i1.PIllustration, typeof i1.PIllustrationDeprecated, typeof i1.PInfoPanel, typeof i1.PInputError, typeof i1.PInputGroup, typeof i1.PLabel, typeof i1.PLayout, typeof i1.PLoader, typeof i1.PModal, typeof i1.PModalBody, typeof i1.PModalContainer, typeof i1.PModalFooter, typeof i1.PModalHeader, typeof i1.PNavbar, typeof i1.PNavigationItem, typeof i1.PNavigationSection, typeof i1.PNavigationTitle, typeof i1.PPagination, typeof i1.PPaginationPages, typeof i1.PPaginationPagesItem, typeof i1.PPaginationSize, typeof i1.PPortal, typeof i1.PProfile, typeof i1.PRadio, typeof i1.PSegmentContainer, typeof i1.PSegmentItem, typeof i1.PSelect, typeof i1.PSliderIndicator, typeof i1.PSmile, typeof i1.PStatus, typeof i1.PStepper, typeof i1.PStepperItem, typeof i1.PStepperLine, typeof i1.PTabContainer, typeof i1.PTabItem, typeof i1.PTableContainer, typeof i1.PTableFooter, typeof i1.PTableHeader, typeof i1.PTableRow, typeof i1.PTableRowActionsContainer, typeof i1.PToast, typeof i1.PToggle, typeof i1.PTooltip], never, [typeof i1.PAccordion, typeof i1.PAttachment, typeof i1.PAvatar, typeof i1.PAvatarGroup, typeof i1.PBackdrop, typeof i1.PBadge, typeof i1.PButton, typeof i1.PButtonGroup, typeof i1.PCalendar, typeof i1.PCardBody, typeof i1.PCardContainer, typeof i1.PCardHeader, typeof i1.PCheckbox, typeof i1.PContentSlider, typeof i1.PCounter, typeof i1.PCropper, typeof i1.PDatepicker, typeof i1.PDivider, typeof i1.PDrawer, typeof i1.PDrawerBody, typeof i1.PDrawerContainer, typeof i1.PDrawerHeader, typeof i1.PDropdown, typeof i1.PDropdownMenuContainer, typeof i1.PDropdownMenuItem, typeof i1.PEmptyState, typeof i1.PField, typeof i1.PFieldContainer, typeof i1.PFloatingMenuContainer, typeof i1.PFloatingMenuItem, typeof i1.PHelper, typeof i1.PIbanIcon, typeof i1.PIcon, typeof i1.PIllustration, typeof i1.PIllustrationDeprecated, typeof i1.PInfoPanel, typeof i1.PInputError, typeof i1.PInputGroup, typeof i1.PLabel, typeof i1.PLayout, typeof i1.PLoader, typeof i1.PModal, typeof i1.PModalBody, typeof i1.PModalContainer, typeof i1.PModalFooter, typeof i1.PModalHeader, typeof i1.PNavbar, typeof i1.PNavigationItem, typeof i1.PNavigationSection, typeof i1.PNavigationTitle, typeof i1.PPagination, typeof i1.PPaginationPages, typeof i1.PPaginationPagesItem, typeof i1.PPaginationSize, typeof i1.PPortal, typeof i1.PProfile, typeof i1.PRadio, typeof i1.PSegmentContainer, typeof i1.PSegmentItem, typeof i1.PSelect, typeof i1.PSliderIndicator, typeof i1.PSmile, typeof i1.PStatus, typeof i1.PStepper, typeof i1.PStepperItem, typeof i1.PStepperLine, typeof i1.PTabContainer, typeof i1.PTabItem, typeof i1.PTableContainer, typeof i1.PTableFooter, typeof i1.PTableHeader, typeof i1.PTableRow, typeof i1.PTableRowActionsContainer, typeof i1.PToast, typeof i1.PToggle, typeof i1.PTooltip]>;
6
6
  static ɵinj: i0.ɵɵInjectorDeclaration<StencilModule>;
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paperless/angular",
3
- "version": "2.0.1-beta.9",
3
+ "version": "2.0.1-beta.90",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^13.3.0 || ^14.0.0 || ^15.0.0 || ^17.0.0",
6
6
  "@angular/common": "^13.3.0 || ^14.0.0 || ^15.0.0",
package/paperless.css CHANGED
@@ -1,35 +1,27 @@
1
- .static {
2
- position: static !important
3
- }
4
-
5
- .fixed {
6
- position: fixed !important
1
+ .pointer-events-none {
2
+ pointer-events: none !important
7
3
  }
8
4
 
9
- .absolute {
10
- position: absolute !important
5
+ .static {
6
+ position: static !important
11
7
  }
12
8
 
13
- .relative {
14
- position: relative !important
9
+ .sticky {
10
+ position: sticky !important
15
11
  }
16
12
 
17
13
  .bottom-0 {
18
14
  bottom: 0px !important
19
15
  }
20
16
 
21
- .bottom-4 {
22
- bottom: 1rem !important
17
+ .bottom-11 {
18
+ bottom: 2.75rem !important
23
19
  }
24
20
 
25
21
  .left-0 {
26
22
  left: 0px !important
27
23
  }
28
24
 
29
- .left-1\/2 {
30
- left: 50% !important
31
- }
32
-
33
25
  .right-0 {
34
26
  right: 0px !important
35
27
  }
@@ -38,27 +30,48 @@
38
30
  top: 0px !important
39
31
  }
40
32
 
41
- .mx-0 {
42
- margin-left: 0px !important;
43
- margin-right: 0px !important
33
+ .z-0 {
34
+ z-index: 0 !important
35
+ }
36
+
37
+ .z-\[3\] {
38
+ z-index: 3 !important
39
+ }
40
+
41
+ .my-16 {
42
+ margin-top: 4rem !important;
43
+ margin-bottom: 4rem !important
44
+ }
45
+
46
+ .my-4 {
47
+ margin-top: 1rem !important;
48
+ margin-bottom: 1rem !important
44
49
  }
45
50
 
46
- .mb-14 {
47
- margin-bottom: 3.5rem !important
51
+ .-mb-5 {
52
+ margin-bottom: -1.25rem !important
48
53
  }
49
54
 
50
- .mb-6 {
51
- margin-bottom: 1.5rem !important
55
+ .mb-8 {
56
+ margin-bottom: 2rem !important
52
57
  }
53
58
 
54
59
  .ml-auto {
55
60
  margin-left: auto !important
56
61
  }
57
62
 
63
+ .mt-4 {
64
+ margin-top: 1rem !important
65
+ }
66
+
58
67
  .block {
59
68
  display: block !important
60
69
  }
61
70
 
71
+ .inline-block {
72
+ display: inline-block !important
73
+ }
74
+
62
75
  .inline {
63
76
  display: inline !important
64
77
  }
@@ -131,6 +144,10 @@
131
144
  width: 75% !important
132
145
  }
133
146
 
147
+ .w-auto {
148
+ width: auto !important
149
+ }
150
+
134
151
  .w-full {
135
152
  width: 100% !important
136
153
  }
@@ -139,29 +156,60 @@
139
156
  min-width: 0px !important
140
157
  }
141
158
 
142
- .max-w-\[20rem\] {
143
- max-width: 20rem !important
144
- }
145
-
146
159
  .flex-1 {
147
160
  flex: 1 1 0% !important
148
161
  }
149
162
 
150
- .flex-shrink {
151
- flex-shrink: 1 !important
163
+ .transform {
164
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important
152
165
  }
153
166
 
154
- .-translate-x-1\/2 {
155
- --tw-translate-x: -50% !important;
156
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important
167
+ @keyframes floatingMenuContainerIn {
168
+ 0% {
169
+ display: none;
170
+ transform: translateY(100%);
171
+ opacity: 0
172
+ }
173
+
174
+ 1% {
175
+ display: flex;
176
+ transform: translateY(100%);
177
+ opacity: 0
178
+ }
179
+
180
+ 100% {
181
+ display: flex;
182
+ transform: translateY(0);
183
+ opacity: 100
184
+ }
157
185
  }
158
186
 
159
- .transform {
160
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important
187
+ .animate-floating-menu-container-in {
188
+ animation: forwards floatingMenuContainerIn .5s ease !important
161
189
  }
162
190
 
163
- .cursor-pointer {
164
- cursor: pointer !important
191
+ @keyframes floatingMenuContainerOut {
192
+ 0% {
193
+ display: flex;
194
+ transform: translateY(0);
195
+ opacity: 100
196
+ }
197
+
198
+ 99% {
199
+ display: flex;
200
+ transform: translateY(100%);
201
+ opacity: 0
202
+ }
203
+
204
+ 100% {
205
+ display: none;
206
+ transform: translateY(100%);
207
+ opacity: 0
208
+ }
209
+ }
210
+
211
+ .animate-floating-menu-container-out {
212
+ animation: forwards floatingMenuContainerOut .5s ease !important
165
213
  }
166
214
 
167
215
  .flex-col {
@@ -188,10 +236,6 @@
188
236
  justify-content: space-between !important
189
237
  }
190
238
 
191
- .gap-2 {
192
- gap: 0.5rem !important
193
- }
194
-
195
239
  .gap-4 {
196
240
  gap: 1rem !important
197
241
  }
@@ -212,11 +256,6 @@
212
256
  border-radius: 0.25rem !important
213
257
  }
214
258
 
215
- .py-24 {
216
- padding-top: 6rem !important;
217
- padding-bottom: 6rem !important
218
- }
219
-
220
259
  .pr-0 {
221
260
  padding-right: 0px !important
222
261
  }
@@ -225,34 +264,15 @@
225
264
  padding-right: 1rem !important
226
265
  }
227
266
 
228
- .text-center {
229
- text-align: center !important
230
- }
231
-
232
- .text-sm {
233
- font-size: 0.875rem !important;
234
- line-height: 1.25rem !important
235
- }
236
-
237
267
  .font-semibold {
238
268
  font-weight: 600 !important
239
269
  }
240
270
 
241
- .text-storm {
242
- --tw-text-opacity: 1 !important;
243
- color: rgb(81 83 107 / var(--tw-text-opacity, 1)) !important
244
- }
245
-
246
271
  .text-storm-dark {
247
272
  --tw-text-opacity: 1 !important;
248
273
  color: rgb(39 40 56 / var(--tw-text-opacity, 1)) !important
249
274
  }
250
275
 
251
- .text-storm-medium {
252
- --tw-text-opacity: 1 !important;
253
- color: rgb(128 130 158 / var(--tw-text-opacity, 1)) !important
254
- }
255
-
256
276
  .underline {
257
277
  text-decoration-line: underline !important
258
278
  }
@@ -1,41 +0,0 @@
1
- import { Directive } from '@angular/core';
2
- import { NG_VALUE_ACCESSOR } from '@angular/forms';
3
- import { BaseValueAccessor } from '../base';
4
- import * as i0 from "@angular/core";
5
- export class PageSizeSelectDirective extends BaseValueAccessor {
6
- constructor(el) {
7
- super(el);
8
- }
9
- writeValue(value) {
10
- this.el.nativeElement.page = this.lastValue = value == null ? 12 : value;
11
- }
12
- registerOnChange(fn) {
13
- super.registerOnChange(value => fn(parseInt(value, 10)));
14
- }
15
- }
16
- PageSizeSelectDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PageSizeSelectDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
17
- PageSizeSelectDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: PageSizeSelectDirective, selector: "p-page-size-select", host: { listeners: { "sizeChange": "handleChangeEvent($event.detail)" } }, providers: [
18
- {
19
- provide: NG_VALUE_ACCESSOR,
20
- useExisting: PageSizeSelectDirective,
21
- multi: true,
22
- },
23
- ], usesInheritance: true, ngImport: i0 });
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PageSizeSelectDirective, decorators: [{
25
- type: Directive,
26
- args: [{
27
- /* tslint:disable-next-line:directive-selector */
28
- selector: 'p-page-size-select',
29
- host: {
30
- '(sizeChange)': 'handleChangeEvent($event.detail)',
31
- },
32
- providers: [
33
- {
34
- provide: NG_VALUE_ACCESSOR,
35
- useExisting: PageSizeSelectDirective,
36
- multi: true,
37
- },
38
- ],
39
- }]
40
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
41
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicC1wYWdlLXNpemUtc2VsZWN0LmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3BhcGVybGVzcy9zcmMvbGliL2RpcmVjdGl2ZXMvcC1wYWdlLXNpemUtc2VsZWN0LmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFjLE1BQU0sZUFBZSxDQUFDO0FBQ3RELE9B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T25DaGFuZ2UoZm46IChfOiBudW1iZXIgfCBudWxsKSA9PiB2b2lkKSB7XG5cdFx0c3VwZXIucmVnaXN0ZXJPbkNoYW5nZSh2YWx1ZSA9PiBmbihwYXJzZUludCh2YWx1ZSwgMTApKSk7XG5cdH1cbn1cbiJdfQ==
@@ -1,41 +0,0 @@
1
- import { Directive } from '@angular/core';
2
- import { NG_VALUE_ACCESSOR } from '@angular/forms';
3
- import { BaseValueAccessor } from '../base';
4
- import * as i0 from "@angular/core";
5
- export class PaginationDirective extends BaseValueAccessor {
6
- constructor(el) {
7
- super(el);
8
- }
9
- writeValue(value) {
10
- this.el.nativeElement.page = this.lastValue = value == null ? 1 : value;
11
- }
12
- registerOnChange(fn) {
13
- super.registerOnChange(value => fn(parseInt(value, 10)));
14
- }
15
- }
16
- PaginationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
17
- PaginationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: PaginationDirective, selector: "p-pagination", host: { listeners: { "pageChange": "handleChangeEvent($event.detail)" } }, providers: [
18
- {
19
- provide: NG_VALUE_ACCESSOR,
20
- useExisting: PaginationDirective,
21
- multi: true,
22
- },
23
- ], usesInheritance: true, ngImport: i0 });
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationDirective, decorators: [{
25
- type: Directive,
26
- args: [{
27
- /* tslint:disable-next-line:directive-selector */
28
- selector: 'p-pagination',
29
- host: {
30
- '(pageChange)': 'handleChangeEvent($event.detail)',
31
- },
32
- providers: [
33
- {
34
- provide: NG_VALUE_ACCESSOR,
35
- useExisting: PaginationDirective,
36
- multi: true,
37
- },
38
- ],
39
- }]
40
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
41
- //# sourceMappingURL=data:application/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CYXNlVmFsdWVBY2Nlc3NvciB7XG5cdGNvbnN0cnVjdG9yKGVsOiBFbGVtZW50UmVmKSB7XG5cdFx0c3VwZXIoZWwpO1xuXHR9XG5cblx0cHVibGljIG92ZXJyaWRlIHdyaXRlVmFsdWUodmFsdWU6IGFueSkge1xuXHRcdHRoaXMuZWwubmF0aXZlRWxlbWVudC5wYWdlID0gdGhpcy5sYXN0VmFsdWUgPSB2YWx1ZSA9PSBudWxsID8gMSA6IHZhbHVlO1xuXHR9XG5cblx0cHVibGljIG92ZXJyaWRlIHJlZ2lzdGVyT25DaGFuZ2UoZm46IChfOiBudW1iZXIgfCBudWxsKSA9PiB2b2lkKSB7XG5cdFx0c3VwZXIucmVnaXN0ZXJPbkNoYW5nZSh2YWx1ZSA9PiBmbihwYXJzZUludCh2YWx1ZSwgMTApKSk7XG5cdH1cbn1cbiJdfQ==
@@ -1,10 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import { BaseValueAccessor } from '../base';
3
- import * as i0 from "@angular/core";
4
- export declare class PaginationDirective extends BaseValueAccessor {
5
- constructor(el: ElementRef);
6
- writeValue(value: any): void;
7
- registerOnChange(fn: (_: number | null) => void): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<PaginationDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<PaginationDirective, "p-pagination", never, {}, {}, never, never, false, never>;
10
- }