@paperless/angular 0.1.0-alpha.18 → 0.1.0-alpha.181

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 (37) hide show
  1. package/esm2020/lib/base/form.component.mjs +105 -0
  2. package/esm2020/lib/base/index.mjs +4 -1
  3. package/esm2020/lib/base/table.component.mjs +162 -0
  4. package/esm2020/lib/base/upload.component.mjs +57 -0
  5. package/esm2020/lib/base/value-accessor.mjs +8 -8
  6. package/esm2020/lib/directives/index.mjs +19 -4
  7. package/esm2020/lib/directives/p-page-size-select.directive.mjs +42 -0
  8. package/esm2020/lib/directives/p-pagination.directive.mjs +42 -0
  9. package/esm2020/lib/directives/p-table-footer.directive.mjs +52 -0
  10. package/esm2020/lib/directives/p-table-header.directive.mjs +60 -0
  11. package/esm2020/lib/directives/p-table.directive.mjs +78 -0
  12. package/esm2020/lib/paperless.module.mjs +10 -6
  13. package/esm2020/lib/stencil/components.mjs +854 -50
  14. package/esm2020/lib/stencil/index.mjs +33 -1
  15. package/esm2020/public-api.mjs +2 -1
  16. package/fesm2015/paperless-angular.mjs +1511 -181
  17. package/fesm2015/paperless-angular.mjs.map +1 -1
  18. package/fesm2020/paperless-angular.mjs +1520 -181
  19. package/fesm2020/paperless-angular.mjs.map +1 -1
  20. package/{paperless-angular.d.ts → index.d.ts} +0 -0
  21. package/lib/base/form.component.d.ts +15 -0
  22. package/lib/base/index.d.ts +3 -0
  23. package/lib/base/table.component.d.ts +45 -0
  24. package/lib/base/upload.component.d.ts +16 -0
  25. package/lib/base/value-accessor.d.ts +6 -6
  26. package/lib/directives/index.d.ts +10 -3
  27. package/lib/directives/p-page-size-select.directive.d.ts +10 -0
  28. package/lib/directives/{pagination.directive.d.ts → p-pagination.directive.d.ts} +3 -3
  29. package/lib/directives/p-table-footer.directive.d.ts +11 -0
  30. package/lib/directives/p-table-header.directive.d.ts +17 -0
  31. package/lib/directives/p-table.directive.d.ts +22 -0
  32. package/lib/paperless.module.d.ts +6 -2
  33. package/lib/stencil/components.d.ts +355 -14
  34. package/lib/stencil/index.d.ts +1 -1
  35. package/package.json +7 -6
  36. package/public-api.d.ts +1 -0
  37. package/esm2020/lib/directives/pagination.directive.mjs +0 -42
@@ -1,8 +1,12 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./stencil/components";
3
- import * as i2 from "./directives/pagination.directive";
3
+ import * as i2 from "./directives/p-pagination.directive";
4
+ import * as i3 from "./directives/p-page-size-select.directive";
5
+ import * as i4 from "./directives/p-table-footer.directive";
6
+ import * as i5 from "./directives/p-table-header.directive";
7
+ import * as i6 from "./directives/p-table.directive";
4
8
  export declare class PaperlessModule {
5
9
  static ɵfac: i0.ɵɵFactoryDeclaration<PaperlessModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<PaperlessModule, [typeof i1.PAvatar, typeof i1.PButton, typeof i1.PCounter, typeof i1.PDivider, typeof i1.PHelper, typeof i1.PIcon, typeof i1.PIllustration, typeof i1.PInfoPanel, typeof i1.PLoader, typeof i1.PNavigationItem, typeof i1.PPagination, typeof i1.PPaginationItem, typeof i1.PTooltip, typeof i2.PaginationDirective], never, [typeof i1.PAvatar, typeof i1.PButton, typeof i1.PCounter, typeof i1.PDivider, typeof i1.PHelper, typeof i1.PIcon, typeof i1.PIllustration, typeof i1.PInfoPanel, typeof i1.PLoader, typeof i1.PNavigationItem, typeof i1.PPagination, typeof i1.PPaginationItem, typeof i1.PTooltip, typeof i2.PaginationDirective]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PaperlessModule, [typeof i1.PAccordion, typeof i1.PAvatar, typeof i1.PAvatarGroup, typeof i1.PButton, typeof i1.PCardBody, typeof i1.PCardContainer, typeof i1.PCardHeader, typeof i1.PContentSlider, typeof i1.PCounter, typeof i1.PDivider, typeof i1.PDropdown, typeof i1.PDropdownMenuContainer, typeof i1.PDropdownMenuItem, typeof i1.PHelper, typeof i1.PIcon, typeof i1.PIllustration, typeof i1.PInfoPanel, typeof i1.PInputGroup, typeof i1.PLayout, typeof i1.PLoader, typeof i1.PModal, typeof i1.PModalBackdrop, typeof i1.PModalBody, typeof i1.PModalContainer, typeof i1.PModalFooter, typeof i1.PModalHeader, typeof i1.PNavbar, typeof i1.PNavigationItem, typeof i1.PPageSizeSelect, typeof i1.PPagination, typeof i1.PPaginationItem, typeof i1.PProfile, typeof i1.PSegmentContainer, typeof i1.PSegmentItem, typeof i1.PSliderIndicator, typeof i1.PStatus, typeof i1.PStepper, typeof i1.PStepperItem, typeof i1.PStepperLine, typeof i1.PTabGroup, typeof i1.PTabItem, typeof i1.PTableFooter, typeof i1.PTableHeader, typeof i1.PTag, typeof i1.PTooltip, typeof i2.PaginationDirective, typeof i3.PageSizeSelectDirective, typeof i4.TableFooterDirective, typeof i5.TableHeaderDirective, typeof i6.TableDirective], never, [typeof i1.PAccordion, typeof i1.PAvatar, typeof i1.PAvatarGroup, typeof i1.PButton, typeof i1.PCardBody, typeof i1.PCardContainer, typeof i1.PCardHeader, typeof i1.PContentSlider, typeof i1.PCounter, typeof i1.PDivider, typeof i1.PDropdown, typeof i1.PDropdownMenuContainer, typeof i1.PDropdownMenuItem, typeof i1.PHelper, typeof i1.PIcon, typeof i1.PIllustration, typeof i1.PInfoPanel, typeof i1.PInputGroup, typeof i1.PLayout, typeof i1.PLoader, typeof i1.PModal, typeof i1.PModalBackdrop, typeof i1.PModalBody, typeof i1.PModalContainer, typeof i1.PModalFooter, typeof i1.PModalHeader, typeof i1.PNavbar, typeof i1.PNavigationItem, typeof i1.PPageSizeSelect, typeof i1.PPagination, typeof i1.PPaginationItem, typeof i1.PProfile, typeof i1.PSegmentContainer, typeof i1.PSegmentItem, typeof i1.PSliderIndicator, typeof i1.PStatus, typeof i1.PStepper, typeof i1.PStepperItem, typeof i1.PStepperLine, typeof i1.PTabGroup, typeof i1.PTabItem, typeof i1.PTableFooter, typeof i1.PTableHeader, typeof i1.PTag, typeof i1.PTooltip, typeof i2.PaginationDirective, typeof i3.PageSizeSelectDirective, typeof i4.TableFooterDirective, typeof i5.TableHeaderDirective, typeof i6.TableDirective]>;
7
11
  static ɵinj: i0.ɵɵInjectorDeclaration<PaperlessModule>;
8
12
  }
@@ -1,6 +1,20 @@
1
1
  import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
2
2
  import { Components } from '@paperless/core';
3
+ import type { QuickFilter as ITableHeaderQuickFilter } from '@paperless/core';
3
4
  import * as i0 from "@angular/core";
5
+ export declare interface PAccordion extends Components.PAccordion {
6
+ /**
7
+ * Open change event
8
+ */
9
+ isOpen: EventEmitter<CustomEvent<boolean>>;
10
+ }
11
+ export declare class PAccordion {
12
+ protected z: NgZone;
13
+ protected el: HTMLElement;
14
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<PAccordion, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<PAccordion, "p-accordion", never, { "closeable": "closeable"; "header": "header"; "open": "open"; "openable": "openable"; }, {}, never, ["*"], false>;
17
+ }
4
18
  export declare interface PAvatar extends Components.PAvatar {
5
19
  }
6
20
  export declare class PAvatar {
@@ -8,7 +22,16 @@ export declare class PAvatar {
8
22
  protected el: HTMLElement;
9
23
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
10
24
  static ɵfac: i0.ɵɵFactoryDeclaration<PAvatar, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<PAvatar, "p-avatar", never, { "defaultImage": "defaultImage"; "size": "size"; "src": "src"; "variant": "variant"; }, {}, never, ["*"]>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<PAvatar, "p-avatar", never, { "defaultImage": "defaultImage"; "size": "size"; "src": "src"; "variant": "variant"; }, {}, never, ["*"], false>;
26
+ }
27
+ export declare interface PAvatarGroup extends Components.PAvatarGroup {
28
+ }
29
+ export declare class PAvatarGroup {
30
+ protected z: NgZone;
31
+ protected el: HTMLElement;
32
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<PAvatarGroup, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<PAvatarGroup, "p-avatar-group", never, { "extra": "extra"; }, {}, never, ["*"], false>;
12
35
  }
13
36
  export declare interface PButton extends Components.PButton {
14
37
  /**
@@ -21,7 +44,43 @@ export declare class PButton {
21
44
  protected el: HTMLElement;
22
45
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
23
46
  static ɵfac: i0.ɵɵFactoryDeclaration<PButton, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<PButton, "p-button", never, { "disabled": "disabled"; "href": "href"; "icon": "icon"; "iconFlip": "iconFlip"; "iconPosition": "iconPosition"; "iconRotate": "iconRotate"; "loading": "loading"; "size": "size"; "target": "target"; "variant": "variant"; }, {}, never, ["*"]>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<PButton, "p-button", never, { "chevron": "chevron"; "chevronPosition": "chevronPosition"; "disabled": "disabled"; "href": "href"; "icon": "icon"; "iconFlip": "iconFlip"; "iconOnly": "iconOnly"; "iconPosition": "iconPosition"; "iconRotate": "iconRotate"; "inheritText": "inheritText"; "loading": "loading"; "size": "size"; "target": "target"; "variant": "variant"; "width": "width"; }, {}, never, ["*"], false>;
48
+ }
49
+ export declare interface PCardBody extends Components.PCardBody {
50
+ }
51
+ export declare class PCardBody {
52
+ protected z: NgZone;
53
+ protected el: HTMLElement;
54
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
55
+ static ɵfac: i0.ɵɵFactoryDeclaration<PCardBody, never>;
56
+ static ɵcmp: i0.ɵɵComponentDeclaration<PCardBody, "p-card-body", never, { "inheritText": "inheritText"; }, {}, never, ["*"], false>;
57
+ }
58
+ export declare interface PCardContainer extends Components.PCardContainer {
59
+ }
60
+ export declare class PCardContainer {
61
+ protected z: NgZone;
62
+ protected el: HTMLElement;
63
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
64
+ static ɵfac: i0.ɵɵFactoryDeclaration<PCardContainer, never>;
65
+ static ɵcmp: i0.ɵɵComponentDeclaration<PCardContainer, "p-card-container", never, { "hoverable": "hoverable"; "shadow": "shadow"; }, {}, never, ["*"], false>;
66
+ }
67
+ export declare interface PCardHeader extends Components.PCardHeader {
68
+ }
69
+ export declare class PCardHeader {
70
+ protected z: NgZone;
71
+ protected el: HTMLElement;
72
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
73
+ static ɵfac: i0.ɵɵFactoryDeclaration<PCardHeader, never>;
74
+ static ɵcmp: i0.ɵɵComponentDeclaration<PCardHeader, "p-card-header", never, { "arrow": "arrow"; "header": "header"; }, {}, never, ["*"], false>;
75
+ }
76
+ export declare interface PContentSlider extends Components.PContentSlider {
77
+ }
78
+ export declare class PContentSlider {
79
+ protected z: NgZone;
80
+ protected el: HTMLElement;
81
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
82
+ static ɵfac: i0.ɵɵFactoryDeclaration<PContentSlider, never>;
83
+ static ɵcmp: i0.ɵɵComponentDeclaration<PContentSlider, "p-content-slider", never, { "disableAutoCenter": "disableAutoCenter"; "disableDrag": "disableDrag"; "disableIndicatorClick": "disableIndicatorClick"; "hideMobileIndicator": "hideMobileIndicator"; }, {}, never, ["*"], false>;
25
84
  }
26
85
  export declare interface PCounter extends Components.PCounter {
27
86
  }
@@ -30,7 +89,7 @@ export declare class PCounter {
30
89
  protected el: HTMLElement;
31
90
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
32
91
  static ɵfac: i0.ɵɵFactoryDeclaration<PCounter, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<PCounter, "p-counter", never, {}, {}, never, ["*"]>;
92
+ static ɵcmp: i0.ɵɵComponentDeclaration<PCounter, "p-counter", never, { "size": "size"; "variant": "variant"; }, {}, never, ["*"], false>;
34
93
  }
35
94
  export declare interface PDivider extends Components.PDivider {
36
95
  }
@@ -39,7 +98,38 @@ export declare class PDivider {
39
98
  protected el: HTMLElement;
40
99
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
41
100
  static ɵfac: i0.ɵɵFactoryDeclaration<PDivider, never>;
42
- static ɵcmp: i0.ɵɵComponentDeclaration<PDivider, "p-divider", never, {}, {}, never, ["*"]>;
101
+ static ɵcmp: i0.ɵɵComponentDeclaration<PDivider, "p-divider", never, {}, {}, never, ["*"], false>;
102
+ }
103
+ export declare interface PDropdown extends Components.PDropdown {
104
+ /**
105
+ * Open change event
106
+ */
107
+ isOpen: EventEmitter<CustomEvent<boolean>>;
108
+ }
109
+ export declare class PDropdown {
110
+ protected z: NgZone;
111
+ protected el: HTMLElement;
112
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
113
+ static ɵfac: i0.ɵɵFactoryDeclaration<PDropdown, never>;
114
+ static ɵcmp: i0.ɵɵComponentDeclaration<PDropdown, "p-dropdown", never, { "chevronDirection": "chevronDirection"; "chevronPosition": "chevronPosition"; "disableTriggerClick": "disableTriggerClick"; "insideClick": "insideClick"; "placement": "placement"; "show": "show"; "strategy": "strategy"; }, {}, never, ["*"], false>;
115
+ }
116
+ export declare interface PDropdownMenuContainer extends Components.PDropdownMenuContainer {
117
+ }
118
+ export declare class PDropdownMenuContainer {
119
+ protected z: NgZone;
120
+ protected el: HTMLElement;
121
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
122
+ static ɵfac: i0.ɵɵFactoryDeclaration<PDropdownMenuContainer, never>;
123
+ static ɵcmp: i0.ɵɵComponentDeclaration<PDropdownMenuContainer, "p-dropdown-menu-container", never, {}, {}, never, ["*"], false>;
124
+ }
125
+ export declare interface PDropdownMenuItem extends Components.PDropdownMenuItem {
126
+ }
127
+ export declare class PDropdownMenuItem {
128
+ protected z: NgZone;
129
+ protected el: HTMLElement;
130
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
131
+ static ɵfac: i0.ɵɵFactoryDeclaration<PDropdownMenuItem, never>;
132
+ static ɵcmp: i0.ɵɵComponentDeclaration<PDropdownMenuItem, "p-dropdown-menu-item", never, { "active": "active"; "icon": "icon"; }, {}, never, ["*"], false>;
43
133
  }
44
134
  export declare interface PHelper extends Components.PHelper {
45
135
  }
@@ -48,7 +138,7 @@ export declare class PHelper {
48
138
  protected el: HTMLElement;
49
139
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
50
140
  static ɵfac: i0.ɵɵFactoryDeclaration<PHelper, never>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<PHelper, "p-helper", never, {}, {}, never, ["*"]>;
141
+ static ɵcmp: i0.ɵɵComponentDeclaration<PHelper, "p-helper", never, { "placement": "placement"; }, {}, never, ["*"], false>;
52
142
  }
53
143
  export declare interface PIcon extends Components.PIcon {
54
144
  }
@@ -57,7 +147,7 @@ export declare class PIcon {
57
147
  protected el: HTMLElement;
58
148
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
59
149
  static ɵfac: i0.ɵɵFactoryDeclaration<PIcon, never>;
60
- static ɵcmp: i0.ɵɵComponentDeclaration<PIcon, "p-icon", never, { "flip": "flip"; "rotate": "rotate"; "size": "size"; "variant": "variant"; }, {}, never, ["*"]>;
150
+ static ɵcmp: i0.ɵɵComponentDeclaration<PIcon, "p-icon", never, { "flip": "flip"; "rotate": "rotate"; "size": "size"; "variant": "variant"; }, {}, never, ["*"], false>;
61
151
  }
62
152
  export declare interface PIllustration extends Components.PIllustration {
63
153
  }
@@ -66,7 +156,7 @@ export declare class PIllustration {
66
156
  protected el: HTMLElement;
67
157
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
68
158
  static ɵfac: i0.ɵɵFactoryDeclaration<PIllustration, never>;
69
- static ɵcmp: i0.ɵɵComponentDeclaration<PIllustration, "p-illustration", never, { "variant": "variant"; }, {}, never, ["*"]>;
159
+ static ɵcmp: i0.ɵɵComponentDeclaration<PIllustration, "p-illustration", never, { "variant": "variant"; }, {}, never, ["*"], false>;
70
160
  }
71
161
  export declare interface PInfoPanel extends Components.PInfoPanel {
72
162
  }
@@ -75,7 +165,25 @@ export declare class PInfoPanel {
75
165
  protected el: HTMLElement;
76
166
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
77
167
  static ɵfac: i0.ɵɵFactoryDeclaration<PInfoPanel, never>;
78
- static ɵcmp: i0.ɵɵComponentDeclaration<PInfoPanel, "p-info-panel", never, { "closeable": "closeable"; "content": "content"; "header": "header"; "variant": "variant"; }, {}, never, ["*"]>;
168
+ static ɵcmp: i0.ɵɵComponentDeclaration<PInfoPanel, "p-info-panel", never, { "closeable": "closeable"; "content": "content"; "header": "header"; "variant": "variant"; }, {}, never, ["*"], false>;
169
+ }
170
+ export declare interface PInputGroup extends Components.PInputGroup {
171
+ }
172
+ export declare class PInputGroup {
173
+ protected z: NgZone;
174
+ protected el: HTMLElement;
175
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
176
+ static ɵfac: i0.ɵɵFactoryDeclaration<PInputGroup, never>;
177
+ static ɵcmp: i0.ɵɵComponentDeclaration<PInputGroup, "p-input-group", never, { "disabled": "disabled"; "error": "error"; "focused": "focused"; "helper": "helper"; "icon": "icon"; "iconFlip": "iconFlip"; "iconRotate": "iconRotate"; "label": "label"; "prefix": "prefix"; "size": "size"; "suffix": "suffix"; }, {}, never, ["*"], false>;
178
+ }
179
+ export declare interface PLayout extends Components.PLayout {
180
+ }
181
+ export declare class PLayout {
182
+ protected z: NgZone;
183
+ protected el: HTMLElement;
184
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
185
+ static ɵfac: i0.ɵɵFactoryDeclaration<PLayout, never>;
186
+ static ɵcmp: i0.ɵɵComponentDeclaration<PLayout, "p-layout", never, { "variant": "variant"; }, {}, never, ["*"], false>;
79
187
  }
80
188
  export declare interface PLoader extends Components.PLoader {
81
189
  }
@@ -84,7 +192,78 @@ export declare class PLoader {
84
192
  protected el: HTMLElement;
85
193
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
86
194
  static ɵfac: i0.ɵɵFactoryDeclaration<PLoader, never>;
87
- static ɵcmp: i0.ɵɵComponentDeclaration<PLoader, "p-loader", never, { "color": "color"; "modalDescription": "modalDescription"; "modalTitle": "modalTitle"; "show": "show"; "variant": "variant"; }, {}, never, ["*"]>;
195
+ static ɵcmp: i0.ɵɵComponentDeclaration<PLoader, "p-loader", never, { "color": "color"; "modalDescription": "modalDescription"; "modalTitle": "modalTitle"; "show": "show"; "variant": "variant"; }, {}, never, ["*"], false>;
196
+ }
197
+ export declare interface PModal extends Components.PModal {
198
+ /**
199
+ * Close click event
200
+ */
201
+ close: EventEmitter<CustomEvent<MouseEvent>>;
202
+ }
203
+ export declare class PModal {
204
+ protected z: NgZone;
205
+ protected el: HTMLElement;
206
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
207
+ static ɵfac: i0.ɵɵFactoryDeclaration<PModal, never>;
208
+ static ɵcmp: i0.ɵɵComponentDeclaration<PModal, "p-modal", never, { "header": "header"; "show": "show"; "showMobileClose": "showMobileClose"; "showMobileFooter": "showMobileFooter"; "size": "size"; "variant": "variant"; }, {}, never, ["*"], false>;
209
+ }
210
+ export declare interface PModalBackdrop extends Components.PModalBackdrop {
211
+ }
212
+ export declare class PModalBackdrop {
213
+ protected z: NgZone;
214
+ protected el: HTMLElement;
215
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
216
+ static ɵfac: i0.ɵɵFactoryDeclaration<PModalBackdrop, never>;
217
+ static ɵcmp: i0.ɵɵComponentDeclaration<PModalBackdrop, "p-modal-backdrop", never, {}, {}, never, ["*"], false>;
218
+ }
219
+ export declare interface PModalBody extends Components.PModalBody {
220
+ }
221
+ export declare class PModalBody {
222
+ protected z: NgZone;
223
+ protected el: HTMLElement;
224
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
225
+ static ɵfac: i0.ɵɵFactoryDeclaration<PModalBody, never>;
226
+ static ɵcmp: i0.ɵɵComponentDeclaration<PModalBody, "p-modal-body", never, { "variant": "variant"; }, {}, never, ["*"], false>;
227
+ }
228
+ export declare interface PModalContainer extends Components.PModalContainer {
229
+ }
230
+ export declare class PModalContainer {
231
+ protected z: NgZone;
232
+ protected el: HTMLElement;
233
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
234
+ static ɵfac: i0.ɵɵFactoryDeclaration<PModalContainer, never>;
235
+ static ɵcmp: i0.ɵɵComponentDeclaration<PModalContainer, "p-modal-container", never, { "size": "size"; }, {}, never, ["*"], false>;
236
+ }
237
+ export declare interface PModalFooter extends Components.PModalFooter {
238
+ }
239
+ export declare class PModalFooter {
240
+ protected z: NgZone;
241
+ protected el: HTMLElement;
242
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
243
+ static ɵfac: i0.ɵɵFactoryDeclaration<PModalFooter, never>;
244
+ static ɵcmp: i0.ɵɵComponentDeclaration<PModalFooter, "p-modal-footer", never, { "hideOnMobile": "hideOnMobile"; }, {}, never, ["*"], false>;
245
+ }
246
+ export declare interface PModalHeader extends Components.PModalHeader {
247
+ /**
248
+ * Close click event
249
+ */
250
+ close: EventEmitter<CustomEvent<MouseEvent>>;
251
+ }
252
+ export declare class PModalHeader {
253
+ protected z: NgZone;
254
+ protected el: HTMLElement;
255
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
256
+ static ɵfac: i0.ɵɵFactoryDeclaration<PModalHeader, never>;
257
+ static ɵcmp: i0.ɵɵComponentDeclaration<PModalHeader, "p-modal-header", never, { "showMobileClose": "showMobileClose"; }, {}, never, ["*"], false>;
258
+ }
259
+ export declare interface PNavbar extends Components.PNavbar {
260
+ }
261
+ export declare class PNavbar {
262
+ protected z: NgZone;
263
+ protected el: HTMLElement;
264
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
265
+ static ɵfac: i0.ɵɵFactoryDeclaration<PNavbar, never>;
266
+ static ɵcmp: i0.ɵɵComponentDeclaration<PNavbar, "p-navbar", never, { "closeText": "closeText"; "menuText": "menuText"; }, {}, never, ["*"], false>;
88
267
  }
89
268
  export declare interface PNavigationItem extends Components.PNavigationItem {
90
269
  }
@@ -93,11 +272,24 @@ export declare class PNavigationItem {
93
272
  protected el: HTMLElement;
94
273
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
95
274
  static ɵfac: i0.ɵɵFactoryDeclaration<PNavigationItem, never>;
96
- static ɵcmp: i0.ɵɵComponentDeclaration<PNavigationItem, "p-navigation-item", never, { "active": "active"; "counter": "counter"; "href": "href"; "icon": "icon"; "target": "target"; }, {}, never, ["*"]>;
275
+ static ɵcmp: i0.ɵɵComponentDeclaration<PNavigationItem, "p-navigation-item", never, { "active": "active"; "counter": "counter"; "href": "href"; "icon": "icon"; "target": "target"; }, {}, never, ["*"], false>;
276
+ }
277
+ export declare interface PPageSizeSelect extends Components.PPageSizeSelect {
278
+ /**
279
+ * Event whenever the size changes
280
+ */
281
+ sizeChange: EventEmitter<CustomEvent<number>>;
282
+ }
283
+ export declare class PPageSizeSelect {
284
+ protected z: NgZone;
285
+ protected el: HTMLElement;
286
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
287
+ static ɵfac: i0.ɵɵFactoryDeclaration<PPageSizeSelect, never>;
288
+ static ɵcmp: i0.ɵɵComponentDeclaration<PPageSizeSelect, "p-page-size-select", never, { "buttonSize": "buttonSize"; "buttonTemplate": "buttonTemplate"; "chevronPosition": "chevronPosition"; "hidden": "hidden"; "itemTemplate": "itemTemplate"; "size": "size"; "sizeOptions": "sizeOptions"; }, {}, never, ["*"], false>;
97
289
  }
98
290
  export declare interface PPagination extends Components.PPagination {
99
291
  /**
100
- *
292
+ * Event whenever the page changes
101
293
  */
102
294
  pageChange: EventEmitter<CustomEvent<number>>;
103
295
  }
@@ -106,7 +298,7 @@ export declare class PPagination {
106
298
  protected el: HTMLElement;
107
299
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
108
300
  static ɵfac: i0.ɵɵFactoryDeclaration<PPagination, never>;
109
- static ɵcmp: i0.ɵɵComponentDeclaration<PPagination, "p-pagination", never, { "page": "page"; "pageSize": "pageSize"; "total": "total"; }, {}, never, ["*"]>;
301
+ static ɵcmp: i0.ɵɵComponentDeclaration<PPagination, "p-pagination", never, { "hideOnSinglePage": "hideOnSinglePage"; "page": "page"; "pageSize": "pageSize"; "total": "total"; }, {}, never, ["*"], false>;
110
302
  }
111
303
  export declare interface PPaginationItem extends Components.PPaginationItem {
112
304
  }
@@ -115,14 +307,163 @@ export declare class PPaginationItem {
115
307
  protected el: HTMLElement;
116
308
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
117
309
  static ɵfac: i0.ɵɵFactoryDeclaration<PPaginationItem, never>;
118
- static ɵcmp: i0.ɵɵComponentDeclaration<PPaginationItem, "p-pagination-item", never, { "active": "active"; }, {}, never, ["*"]>;
310
+ static ɵcmp: i0.ɵɵComponentDeclaration<PPaginationItem, "p-pagination-item", never, { "active": "active"; }, {}, never, ["*"], false>;
311
+ }
312
+ export declare interface PProfile extends Components.PProfile {
313
+ }
314
+ export declare class PProfile {
315
+ protected z: NgZone;
316
+ protected el: HTMLElement;
317
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
318
+ static ɵfac: i0.ɵɵFactoryDeclaration<PProfile, never>;
319
+ static ɵcmp: i0.ɵɵComponentDeclaration<PProfile, "p-profile", never, { "size": "size"; "variant": "variant"; }, {}, never, ["*"], false>;
320
+ }
321
+ export declare interface PSegmentContainer extends Components.PSegmentContainer {
322
+ }
323
+ export declare class PSegmentContainer {
324
+ protected z: NgZone;
325
+ protected el: HTMLElement;
326
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
327
+ static ɵfac: i0.ɵɵFactoryDeclaration<PSegmentContainer, never>;
328
+ static ɵcmp: i0.ɵɵComponentDeclaration<PSegmentContainer, "p-segment-container", never, {}, {}, never, ["*"], false>;
329
+ }
330
+ export declare interface PSegmentItem extends Components.PSegmentItem {
331
+ }
332
+ export declare class PSegmentItem {
333
+ protected z: NgZone;
334
+ protected el: HTMLElement;
335
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
336
+ static ɵfac: i0.ɵɵFactoryDeclaration<PSegmentItem, never>;
337
+ static ɵcmp: i0.ɵɵComponentDeclaration<PSegmentItem, "p-segment-item", never, { "active": "active"; "icon": "icon"; "iconFlip": "iconFlip"; "iconRotate": "iconRotate"; }, {}, never, ["*"], false>;
338
+ }
339
+ export declare interface PSliderIndicator extends Components.PSliderIndicator {
340
+ }
341
+ export declare class PSliderIndicator {
342
+ protected z: NgZone;
343
+ protected el: HTMLElement;
344
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
345
+ static ɵfac: i0.ɵɵFactoryDeclaration<PSliderIndicator, never>;
346
+ static ɵcmp: i0.ɵɵComponentDeclaration<PSliderIndicator, "p-slider-indicator", never, { "active": "active"; }, {}, never, ["*"], false>;
347
+ }
348
+ export declare interface PStatus extends Components.PStatus {
349
+ }
350
+ export declare class PStatus {
351
+ protected z: NgZone;
352
+ protected el: HTMLElement;
353
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
354
+ static ɵfac: i0.ɵɵFactoryDeclaration<PStatus, never>;
355
+ static ɵcmp: i0.ɵɵComponentDeclaration<PStatus, "p-status", never, { "icon": "icon"; "iconFlip": "iconFlip"; "iconRotate": "iconRotate"; "variant": "variant"; }, {}, never, ["*"], false>;
356
+ }
357
+ export declare interface PStepper extends Components.PStepper {
358
+ }
359
+ export declare class PStepper {
360
+ protected z: NgZone;
361
+ protected el: HTMLElement;
362
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
363
+ static ɵfac: i0.ɵɵFactoryDeclaration<PStepper, never>;
364
+ static ɵcmp: i0.ɵɵComponentDeclaration<PStepper, "p-stepper", never, { "activeStep": "activeStep"; "direction": "direction"; }, {}, never, ["*"], false>;
365
+ }
366
+ export declare interface PStepperItem extends Components.PStepperItem {
367
+ }
368
+ export declare class PStepperItem {
369
+ protected z: NgZone;
370
+ protected el: HTMLElement;
371
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
372
+ static ɵfac: i0.ɵɵFactoryDeclaration<PStepperItem, never>;
373
+ static ɵcmp: i0.ɵɵComponentDeclaration<PStepperItem, "p-stepper-item", never, { "active": "active"; "align": "align"; "direction": "direction"; "finished": "finished"; }, {}, never, ["*"], false>;
374
+ }
375
+ export declare interface PStepperLine extends Components.PStepperLine {
376
+ }
377
+ export declare class PStepperLine {
378
+ protected z: NgZone;
379
+ protected el: HTMLElement;
380
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
381
+ static ɵfac: i0.ɵɵFactoryDeclaration<PStepperLine, never>;
382
+ static ɵcmp: i0.ɵɵComponentDeclaration<PStepperLine, "p-stepper-line", never, { "active": "active"; "direction": "direction"; }, {}, never, ["*"], false>;
383
+ }
384
+ export declare interface PTabGroup extends Components.PTabGroup {
385
+ }
386
+ export declare class PTabGroup {
387
+ protected z: NgZone;
388
+ protected el: HTMLElement;
389
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
390
+ static ɵfac: i0.ɵɵFactoryDeclaration<PTabGroup, never>;
391
+ static ɵcmp: i0.ɵɵComponentDeclaration<PTabGroup, "p-tab-group", never, {}, {}, never, ["*"], false>;
392
+ }
393
+ export declare interface PTabItem extends Components.PTabItem {
394
+ }
395
+ export declare class PTabItem {
396
+ protected z: NgZone;
397
+ protected el: HTMLElement;
398
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
399
+ static ɵfac: i0.ɵɵFactoryDeclaration<PTabItem, never>;
400
+ static ɵcmp: i0.ɵɵComponentDeclaration<PTabItem, "p-tab-item", never, { "active": "active"; }, {}, never, ["*"], false>;
401
+ }
402
+ export declare interface PTableFooter extends Components.PTableFooter {
403
+ /**
404
+ * Event whenever the page changes
405
+ */
406
+ pageChange: EventEmitter<CustomEvent<number>>;
407
+ /**
408
+ * Event whenever the page changes
409
+ */
410
+ pageSizeChange: EventEmitter<CustomEvent<number>>;
411
+ /**
412
+ * Event whenever the page changes
413
+ */
414
+ export: EventEmitter<CustomEvent<number>>;
415
+ }
416
+ export declare class PTableFooter {
417
+ protected z: NgZone;
418
+ protected el: HTMLElement;
419
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
420
+ static ɵfac: i0.ɵɵFactoryDeclaration<PTableFooter, never>;
421
+ static ɵcmp: i0.ɵɵComponentDeclaration<PTableFooter, "p-table-footer", never, { "enableExport": "enableExport"; "enablePageSize": "enablePageSize"; "enablePagination": "enablePagination"; "hideOnSinglePage": "hideOnSinglePage"; "page": "page"; "pageSize": "pageSize"; "pageSizeOptions": "pageSizeOptions"; "total": "total"; }, {}, never, ["*"], false>;
422
+ }
423
+ export declare interface PTableHeader extends Components.PTableHeader {
424
+ /**
425
+ * Event when one of the quick filters is clicked
426
+ */
427
+ quickFilter: EventEmitter<CustomEvent<ITableHeaderQuickFilter>>;
428
+ /**
429
+ * Event when the query changes
430
+ */
431
+ queryChange: EventEmitter<CustomEvent<string>>;
432
+ /**
433
+ * Event when the filter button is clicked
434
+ */
435
+ filter: EventEmitter<CustomEvent<null>>;
436
+ /**
437
+ * Event when the edit button is clicked
438
+ */
439
+ edit: EventEmitter<CustomEvent<null>>;
440
+ }
441
+ export declare class PTableHeader {
442
+ protected z: NgZone;
443
+ protected el: HTMLElement;
444
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
445
+ static ɵfac: i0.ɵɵFactoryDeclaration<PTableHeader, never>;
446
+ static ɵcmp: i0.ɵɵComponentDeclaration<PTableHeader, "p-table-header", never, { "activeQuickFilterIdentifier": "activeQuickFilterIdentifier"; "canEdit": "canEdit"; "editButtonTemplate": "editButtonTemplate"; "enableEdit": "enableEdit"; "enableFilter": "enableFilter"; "enableSearch": "enableSearch"; "filterButtonTemplate": "filterButtonTemplate"; "itemsSelectedAmount": "itemsSelectedAmount"; "query": "query"; "quickFilters": "quickFilters"; "selectedFiltersAmount": "selectedFiltersAmount"; }, {}, never, ["*"], false>;
447
+ }
448
+ export declare interface PTag extends Components.PTag {
449
+ }
450
+ export declare class PTag {
451
+ protected z: NgZone;
452
+ protected el: HTMLElement;
453
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
454
+ static ɵfac: i0.ɵɵFactoryDeclaration<PTag, never>;
455
+ static ɵcmp: i0.ɵɵComponentDeclaration<PTag, "p-tag", never, { "circle": "circle"; "variant": "variant"; }, {}, never, ["*"], false>;
119
456
  }
120
457
  export declare interface PTooltip extends Components.PTooltip {
458
+ /**
459
+ * Open change event
460
+ */
461
+ isOpen: EventEmitter<CustomEvent<boolean>>;
121
462
  }
122
463
  export declare class PTooltip {
123
464
  protected z: NgZone;
124
465
  protected el: HTMLElement;
125
466
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
126
467
  static ɵfac: i0.ɵɵFactoryDeclaration<PTooltip, never>;
127
- static ɵcmp: i0.ɵɵComponentDeclaration<PTooltip, "p-tooltip", never, { "canManuallyClose": "canManuallyClose"; "placement": "placement"; "popover": "popover"; "show": "show"; "variant": "variant"; }, {}, never, ["*"]>;
468
+ static ɵcmp: i0.ɵɵComponentDeclaration<PTooltip, "p-tooltip", never, { "canManuallyClose": "canManuallyClose"; "placement": "placement"; "popover": "popover"; "show": "show"; "strategy": "strategy"; "variant": "variant"; }, {}, never, ["*"], false>;
128
469
  }
@@ -1,2 +1,2 @@
1
1
  import * as d from './components';
2
- export declare const DIRECTIVES: (typeof d.PAvatar | typeof d.PButton | typeof d.PCounter | typeof d.PDivider | typeof d.PHelper | typeof d.PIcon | typeof d.PIllustration | typeof d.PInfoPanel | typeof d.PLoader | typeof d.PNavigationItem | typeof d.PPagination | typeof d.PPaginationItem | typeof d.PTooltip)[];
2
+ export declare const DIRECTIVES: (typeof d.PAccordion | typeof d.PAvatar | typeof d.PAvatarGroup | typeof d.PButton | typeof d.PCardBody | typeof d.PCardContainer | typeof d.PCardHeader | typeof d.PContentSlider | typeof d.PCounter | typeof d.PDivider | typeof d.PDropdown | typeof d.PDropdownMenuContainer | typeof d.PDropdownMenuItem | typeof d.PHelper | typeof d.PIcon | typeof d.PIllustration | typeof d.PInfoPanel | typeof d.PInputGroup | typeof d.PLayout | typeof d.PLoader | typeof d.PModal | typeof d.PModalBackdrop | typeof d.PModalBody | typeof d.PModalContainer | typeof d.PModalFooter | typeof d.PModalHeader | typeof d.PNavbar | typeof d.PNavigationItem | typeof d.PPageSizeSelect | typeof d.PPagination | typeof d.PPaginationItem | typeof d.PProfile | typeof d.PSegmentContainer | typeof d.PSegmentItem | typeof d.PSliderIndicator | typeof d.PStatus | typeof d.PStepper | typeof d.PStepperItem | typeof d.PStepperLine | typeof d.PTabGroup | typeof d.PTabItem | typeof d.PTableFooter | typeof d.PTableHeader | typeof d.PTag | typeof d.PTooltip)[];
package/package.json CHANGED
@@ -1,25 +1,26 @@
1
1
  {
2
2
  "name": "@paperless/angular",
3
- "version": "0.1.0-alpha.18",
3
+ "version": "0.1.0-alpha.181",
4
4
  "peerDependencies": {
5
- "@angular/common": "^13.3.0",
6
- "@angular/core": "^13.3.0"
5
+ "@angular/common": "^13.3.0 || ^14.0.0",
6
+ "@angular/core": "^13.3.0 || ^14.0.0"
7
7
  },
8
8
  "dependencies": {
9
- "tslib": "^2.3.0"
9
+ "@ngneat/until-destroy": "9.2.2",
10
+ "tslib": "2.4.0"
10
11
  },
11
12
  "module": "fesm2015/paperless-angular.mjs",
12
13
  "es2020": "fesm2020/paperless-angular.mjs",
13
14
  "esm2020": "esm2020/paperless-angular.mjs",
14
15
  "fesm2020": "fesm2020/paperless-angular.mjs",
15
16
  "fesm2015": "fesm2015/paperless-angular.mjs",
16
- "typings": "paperless-angular.d.ts",
17
+ "typings": "index.d.ts",
17
18
  "exports": {
18
19
  "./package.json": {
19
20
  "default": "./package.json"
20
21
  },
21
22
  ".": {
22
- "types": "./paperless-angular.d.ts",
23
+ "types": "./index.d.ts",
23
24
  "esm2020": "./esm2020/paperless-angular.mjs",
24
25
  "es2020": "./fesm2020/paperless-angular.mjs",
25
26
  "es2015": "./fesm2015/paperless-angular.mjs",
package/public-api.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from './lib/base';
1
2
  export * from './lib/directives';
2
3
  export * from './lib/paperless.module';
3
4
  export * from './lib/stencil/components';
@@ -1,42 +0,0 @@
1
- import { Directive } from '@angular/core';
2
- import { NG_VALUE_ACCESSOR } from '@angular/forms';
3
- import { ValueAccessor } from '../base';
4
- import * as i0 from "@angular/core";
5
- export class PaginationDirective extends ValueAccessor {
6
- constructor(el) {
7
- super(el);
8
- }
9
- writeValue(value) {
10
- this.el.nativeElement.page = this.lastValue =
11
- value == null ? '' : value;
12
- }
13
- registerOnChange(fn) {
14
- super.registerOnChange((value) => fn(value === '' ? null : parseInt(value, 10)));
15
- }
16
- }
17
- PaginationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaginationDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
18
- PaginationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: PaginationDirective, selector: "p-pagination", host: { listeners: { "pageChange": "handleChangeEvent($event.target.page)" } }, providers: [
19
- {
20
- provide: NG_VALUE_ACCESSOR,
21
- useExisting: PaginationDirective,
22
- multi: true,
23
- },
24
- ], usesInheritance: true, ngImport: i0 });
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaginationDirective, decorators: [{
26
- type: Directive,
27
- args: [{
28
- /* tslint:disable-next-line:directive-selector */
29
- selector: 'p-pagination',
30
- host: {
31
- '(pageChange)': 'handleChangeEvent($event.target.page)',
32
- },
33
- providers: [
34
- {
35
- provide: NG_VALUE_ACCESSOR,
36
- useExisting: PaginationDirective,
37
- multi: true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