@paperless/angular 2.0.1-beta.7 → 2.0.1-beta.72

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 (36) 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/paperless.module.mjs +15 -11
  11. package/esm2020/lib/stencil/angular-component-lib/utils.mjs +9 -1
  12. package/esm2020/lib/stencil/components.mjs +390 -116
  13. package/esm2020/lib/stencil/index.mjs +15 -4
  14. package/esm2020/lib/stencil.module.mjs +1 -1
  15. package/fesm2015/paperless-angular.mjs +617 -240
  16. package/fesm2015/paperless-angular.mjs.map +1 -1
  17. package/fesm2020/paperless-angular.mjs +615 -240
  18. package/fesm2020/paperless-angular.mjs.map +1 -1
  19. package/lib/directives/index.d.ts +9 -4
  20. package/lib/directives/p-checkbox.directive.d.ts +9 -0
  21. package/lib/directives/p-field.directive.d.ts +9 -0
  22. package/lib/directives/p-pagination-pages.directive.d.ts +10 -0
  23. package/lib/directives/{p-page-size-select.directive.d.ts → p-pagination-size.directive.d.ts} +3 -3
  24. package/lib/directives/p-radio.directive.d.ts +17 -0
  25. package/lib/directives/p-toggle.directive.d.ts +9 -0
  26. package/lib/modules/table/components/table/table.component.d.ts +13 -8
  27. package/lib/modules/table/components/table-cell/table-cell.component.d.ts +2 -6
  28. package/lib/paperless.module.d.ts +15 -11
  29. package/lib/stencil/components.d.ts +269 -109
  30. package/lib/stencil/index.d.ts +1 -1
  31. package/lib/stencil.module.d.ts +1 -1
  32. package/package.json +1 -1
  33. package/paperless.css +7 -76
  34. package/esm2020/lib/directives/p-page-size-select.directive.mjs +0 -41
  35. package/esm2020/lib/directives/p-pagination.directive.mjs +0 -41
  36. 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.PIconDeprecated | 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.PIconDeprecated, 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.PIconDeprecated, 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.7",
3
+ "version": "2.0.1-beta.72",
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
@@ -2,34 +2,14 @@
2
2
  position: static !important
3
3
  }
4
4
 
5
- .fixed {
6
- position: fixed !important
7
- }
8
-
9
- .absolute {
10
- position: absolute !important
11
- }
12
-
13
- .relative {
14
- position: relative !important
15
- }
16
-
17
5
  .bottom-0 {
18
6
  bottom: 0px !important
19
7
  }
20
8
 
21
- .bottom-4 {
22
- bottom: 1rem !important
23
- }
24
-
25
9
  .left-0 {
26
10
  left: 0px !important
27
11
  }
28
12
 
29
- .left-1\/2 {
30
- left: 50% !important
31
- }
32
-
33
13
  .right-0 {
34
14
  right: 0px !important
35
15
  }
@@ -38,17 +18,17 @@
38
18
  top: 0px !important
39
19
  }
40
20
 
41
- .mx-0 {
42
- margin-left: 0px !important;
43
- margin-right: 0px !important
21
+ .z-0 {
22
+ z-index: 0 !important
44
23
  }
45
24
 
46
- .mb-14 {
47
- margin-bottom: 3.5rem !important
25
+ .my-16 {
26
+ margin-top: 4rem !important;
27
+ margin-bottom: 4rem !important
48
28
  }
49
29
 
50
- .mb-6 {
51
- margin-bottom: 1.5rem !important
30
+ .mb-8 {
31
+ margin-bottom: 2rem !important
52
32
  }
53
33
 
54
34
  .ml-auto {
@@ -139,39 +119,18 @@
139
119
  min-width: 0px !important
140
120
  }
141
121
 
142
- .max-w-\[20rem\] {
143
- max-width: 20rem !important
144
- }
145
-
146
122
  .flex-1 {
147
123
  flex: 1 1 0% !important
148
124
  }
149
125
 
150
- .flex-shrink {
151
- flex-shrink: 1 !important
152
- }
153
-
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
157
- }
158
-
159
126
  .transform {
160
127
  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
161
128
  }
162
129
 
163
- .cursor-pointer {
164
- cursor: pointer !important
165
- }
166
-
167
130
  .flex-col {
168
131
  flex-direction: column !important
169
132
  }
170
133
 
171
- .items-center {
172
- align-items: center !important
173
- }
174
-
175
134
  .justify-start {
176
135
  justify-content: flex-start !important
177
136
  }
@@ -188,10 +147,6 @@
188
147
  justify-content: space-between !important
189
148
  }
190
149
 
191
- .gap-2 {
192
- gap: 0.5rem !important
193
- }
194
-
195
150
  .gap-4 {
196
151
  gap: 1rem !important
197
152
  }
@@ -212,11 +167,6 @@
212
167
  border-radius: 0.25rem !important
213
168
  }
214
169
 
215
- .py-24 {
216
- padding-top: 6rem !important;
217
- padding-bottom: 6rem !important
218
- }
219
-
220
170
  .pr-0 {
221
171
  padding-right: 0px !important
222
172
  }
@@ -225,34 +175,15 @@
225
175
  padding-right: 1rem !important
226
176
  }
227
177
 
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
178
  .font-semibold {
238
179
  font-weight: 600 !important
239
180
  }
240
181
 
241
- .text-storm {
242
- --tw-text-opacity: 1 !important;
243
- color: rgb(81 83 107 / var(--tw-text-opacity, 1)) !important
244
- }
245
-
246
182
  .text-storm-dark {
247
183
  --tw-text-opacity: 1 !important;
248
184
  color: rgb(39 40 56 / var(--tw-text-opacity, 1)) !important
249
185
  }
250
186
 
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
187
  .underline {
257
188
  text-decoration-line: underline !important
258
189
  }
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicC1wYWdlLXNpemUtc2VsZWN0LmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3BhcGVybGVzcy9zcmMvbGliL2RpcmVjdGl2ZXMvcC1wYWdlLXNpemUtc2VsZWN0LmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFjLE1BQU0sZUFBZSxDQUFDO0FBQ3RELE9BQU8sRUFBRSxpQkFB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ChfOiBudW1iZXIgfCBudWxsKSA9PiB2b2lkKSB7XG5cdFx0c3VwZXIucmVnaXN0ZXJPbkNoYW5nZSh2YWx1ZSA9PiBmbihwYXJzZUludCh2YWx1ZSwgMTApKSk7XG5cdH1cbn1cbiJdfQ==
@@ -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/json;base64,eyJ2ZXJza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nlc3NvciB7XG5cdGNvbnN0cnVjdG9yKGVsOiBFbGVtZW50UmVmKSB7XG5cdFx0c3VwZXIoZWwpO1xuXHR9XG5cblx0cHVibGljIG92ZXJyaWRlIHdyaXRlVmFsdWUodmFsdWU6IGFueSkge1xuXHRcdHRoaXMuZWwubmF0aXZlRWxlbWVudC5wYWdlID0gdGhpcy5sYXN0VmFsdWUgPSB2YWx1ZSA9PSBudWxsID8gMSA6IHZhbHVlO1xuXHR9XG5cblx0cHVibGljIG92ZXJyaWRlIHJlZ2lzdGVyT25DaGFuZ2UoZm46IChfOiBudW1iZXIgfCBudWxsKSA9PiB2b2lkKSB7XG5cdFx0c3VwZXIucmVnaXN0ZXJPbkNoYW5nZSh2YWx1ZSA9PiBmbihwYXJzZUludCh2YWx1ZSwgMTApKSk7XG5cdH1cbn1cbiJdfQ==
@@ -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
- }