@paperless/angular 0.1.0-alpha.3 → 0.1.0-alpha.33

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.
@@ -1,8 +1,89 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
2
+ import { Directive, HostListener, Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
+ import { NG_VALUE_ACCESSOR } from '@angular/forms';
3
4
  import { __decorate } from 'tslib';
4
5
  import { fromEvent } from 'rxjs';
5
6
 
7
+ class ValueAccessor {
8
+ constructor(el) {
9
+ this.el = el;
10
+ this.onChange = () => {
11
+ /**/
12
+ };
13
+ this.onTouched = () => {
14
+ /**/
15
+ };
16
+ }
17
+ writeValue(value) {
18
+ this.el.nativeElement.value = this.lastValue =
19
+ value == null ? '' : value;
20
+ }
21
+ handleChangeEvent(value) {
22
+ if (value !== this.lastValue) {
23
+ this.lastValue = value;
24
+ this.onChange(value);
25
+ }
26
+ }
27
+ _handleBlurEvent() {
28
+ this.onTouched();
29
+ }
30
+ registerOnChange(fn) {
31
+ this.onChange = fn;
32
+ }
33
+ registerOnTouched(fn) {
34
+ this.onTouched = fn;
35
+ }
36
+ }
37
+ ValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
38
+ ValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ValueAccessor, host: { listeners: { "focusout": "_handleBlurEvent()" } }, ngImport: i0 });
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ValueAccessor, decorators: [{
40
+ type: Directive,
41
+ args: [{}]
42
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { _handleBlurEvent: [{
43
+ type: HostListener,
44
+ args: ['focusout']
45
+ }] } });
46
+
47
+ class PaginationDirective extends ValueAccessor {
48
+ constructor(el) {
49
+ super(el);
50
+ }
51
+ writeValue(value) {
52
+ this.el.nativeElement.page = this.lastValue =
53
+ value == null ? '' : value;
54
+ }
55
+ registerOnChange(fn) {
56
+ super.registerOnChange((value) => fn(value === '' ? null : parseInt(value, 10)));
57
+ }
58
+ }
59
+ PaginationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaginationDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
60
+ 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: [
61
+ {
62
+ provide: NG_VALUE_ACCESSOR,
63
+ useExisting: PaginationDirective,
64
+ multi: true,
65
+ },
66
+ ], usesInheritance: true, ngImport: i0 });
67
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaginationDirective, decorators: [{
68
+ type: Directive,
69
+ args: [{
70
+ /* tslint:disable-next-line:directive-selector */
71
+ selector: 'p-pagination',
72
+ host: {
73
+ '(pageChange)': 'handleChangeEvent($event.target.page)',
74
+ },
75
+ providers: [
76
+ {
77
+ provide: NG_VALUE_ACCESSOR,
78
+ useExisting: PaginationDirective,
79
+ multi: true,
80
+ },
81
+ ],
82
+ }]
83
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
84
+
85
+ const CUSTOM_DIRECTIVES = [PaginationDirective];
86
+
6
87
  /* eslint-disable */
7
88
  const proxyInputs = (Cmp, inputs) => {
8
89
  const Prototype = Cmp.prototype;
@@ -54,20 +135,44 @@ function ProxyCmp(opts) {
54
135
  return decorator;
55
136
  }
56
137
 
138
+ let PAvatar = class PAvatar {
139
+ constructor(c, r, z) {
140
+ this.z = z;
141
+ c.detach();
142
+ this.el = r.nativeElement;
143
+ }
144
+ };
145
+ PAvatar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PAvatar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
146
+ PAvatar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PAvatar, selector: "p-avatar", inputs: { defaultImage: "defaultImage", size: "size", src: "src", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
147
+ PAvatar = __decorate([
148
+ ProxyCmp({
149
+ defineCustomElementFn: undefined,
150
+ inputs: ['defaultImage', 'size', 'src', 'variant']
151
+ })
152
+ ], PAvatar);
153
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PAvatar, decorators: [{
154
+ type: Component,
155
+ args: [{
156
+ selector: 'p-avatar',
157
+ changeDetection: ChangeDetectionStrategy.OnPush,
158
+ template: '<ng-content></ng-content>',
159
+ inputs: ['defaultImage', 'size', 'src', 'variant']
160
+ }]
161
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
57
162
  let PButton = class PButton {
58
163
  constructor(c, r, z) {
59
164
  this.z = z;
60
165
  c.detach();
61
166
  this.el = r.nativeElement;
62
- proxyOutputs(this, this.el, ['click']);
167
+ proxyOutputs(this, this.el, ['onClick']);
63
168
  }
64
169
  };
65
170
  PButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
66
- PButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PButton, selector: "p-button", inputs: { disabled: "disabled", href: "href", icon: "icon", iconFlip: "iconFlip", iconPosition: "iconPosition", iconRotate: "iconRotate", loading: "loading", size: "size", target: "target", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
171
+ PButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PButton, selector: "p-button", inputs: { chevron: "chevron", disabled: "disabled", href: "href", icon: "icon", iconFlip: "iconFlip", iconPosition: "iconPosition", iconRotate: "iconRotate", loading: "loading", size: "size", target: "target", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
67
172
  PButton = __decorate([
68
173
  ProxyCmp({
69
174
  defineCustomElementFn: undefined,
70
- inputs: ['disabled', 'href', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'loading', 'size', 'target', 'variant']
175
+ inputs: ['chevron', 'disabled', 'href', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'loading', 'size', 'target', 'variant']
71
176
  })
72
177
  ], PButton);
73
178
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PButton, decorators: [{
@@ -76,7 +181,144 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
76
181
  selector: 'p-button',
77
182
  changeDetection: ChangeDetectionStrategy.OnPush,
78
183
  template: '<ng-content></ng-content>',
79
- inputs: ['disabled', 'href', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'loading', 'size', 'target', 'variant']
184
+ inputs: ['chevron', 'disabled', 'href', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'loading', 'size', 'target', 'variant']
185
+ }]
186
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
187
+ let PCounter = class PCounter {
188
+ constructor(c, r, z) {
189
+ this.z = z;
190
+ c.detach();
191
+ this.el = r.nativeElement;
192
+ }
193
+ };
194
+ PCounter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PCounter, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
195
+ PCounter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PCounter, selector: "p-counter", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
196
+ PCounter = __decorate([
197
+ ProxyCmp({
198
+ defineCustomElementFn: undefined
199
+ })
200
+ ], PCounter);
201
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PCounter, decorators: [{
202
+ type: Component,
203
+ args: [{
204
+ selector: 'p-counter',
205
+ changeDetection: ChangeDetectionStrategy.OnPush,
206
+ template: '<ng-content></ng-content>'
207
+ }]
208
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
209
+ let PDivider = class PDivider {
210
+ constructor(c, r, z) {
211
+ this.z = z;
212
+ c.detach();
213
+ this.el = r.nativeElement;
214
+ }
215
+ };
216
+ PDivider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDivider, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
217
+ PDivider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PDivider, selector: "p-divider", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
218
+ PDivider = __decorate([
219
+ ProxyCmp({
220
+ defineCustomElementFn: undefined
221
+ })
222
+ ], PDivider);
223
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDivider, decorators: [{
224
+ type: Component,
225
+ args: [{
226
+ selector: 'p-divider',
227
+ changeDetection: ChangeDetectionStrategy.OnPush,
228
+ template: '<ng-content></ng-content>'
229
+ }]
230
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
231
+ let PDropdown = class PDropdown {
232
+ constructor(c, r, z) {
233
+ this.z = z;
234
+ c.detach();
235
+ this.el = r.nativeElement;
236
+ proxyOutputs(this, this.el, ['isOpen']);
237
+ }
238
+ };
239
+ PDropdown.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDropdown, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
240
+ PDropdown.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PDropdown, selector: "p-dropdown", inputs: { disableTriggerClick: "disableTriggerClick", insideClick: "insideClick", placement: "placement", show: "show" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
241
+ PDropdown = __decorate([
242
+ ProxyCmp({
243
+ defineCustomElementFn: undefined,
244
+ inputs: ['disableTriggerClick', 'insideClick', 'placement', 'show']
245
+ })
246
+ ], PDropdown);
247
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDropdown, decorators: [{
248
+ type: Component,
249
+ args: [{
250
+ selector: 'p-dropdown',
251
+ changeDetection: ChangeDetectionStrategy.OnPush,
252
+ template: '<ng-content></ng-content>',
253
+ inputs: ['disableTriggerClick', 'insideClick', 'placement', 'show']
254
+ }]
255
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
256
+ let PDropdownMenuContainer = class PDropdownMenuContainer {
257
+ constructor(c, r, z) {
258
+ this.z = z;
259
+ c.detach();
260
+ this.el = r.nativeElement;
261
+ }
262
+ };
263
+ PDropdownMenuContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDropdownMenuContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
264
+ PDropdownMenuContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PDropdownMenuContainer, selector: "p-dropdown-menu-container", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
265
+ PDropdownMenuContainer = __decorate([
266
+ ProxyCmp({
267
+ defineCustomElementFn: undefined
268
+ })
269
+ ], PDropdownMenuContainer);
270
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDropdownMenuContainer, decorators: [{
271
+ type: Component,
272
+ args: [{
273
+ selector: 'p-dropdown-menu-container',
274
+ changeDetection: ChangeDetectionStrategy.OnPush,
275
+ template: '<ng-content></ng-content>'
276
+ }]
277
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
278
+ let PDropdownMenuItem = class PDropdownMenuItem {
279
+ constructor(c, r, z) {
280
+ this.z = z;
281
+ c.detach();
282
+ this.el = r.nativeElement;
283
+ }
284
+ };
285
+ PDropdownMenuItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDropdownMenuItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
286
+ PDropdownMenuItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PDropdownMenuItem, selector: "p-dropdown-menu-item", inputs: { active: "active" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
287
+ PDropdownMenuItem = __decorate([
288
+ ProxyCmp({
289
+ defineCustomElementFn: undefined,
290
+ inputs: ['active']
291
+ })
292
+ ], PDropdownMenuItem);
293
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDropdownMenuItem, decorators: [{
294
+ type: Component,
295
+ args: [{
296
+ selector: 'p-dropdown-menu-item',
297
+ changeDetection: ChangeDetectionStrategy.OnPush,
298
+ template: '<ng-content></ng-content>',
299
+ inputs: ['active']
300
+ }]
301
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
302
+ let PHelper = class PHelper {
303
+ constructor(c, r, z) {
304
+ this.z = z;
305
+ c.detach();
306
+ this.el = r.nativeElement;
307
+ }
308
+ };
309
+ PHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PHelper, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
310
+ PHelper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PHelper, selector: "p-helper", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
311
+ PHelper = __decorate([
312
+ ProxyCmp({
313
+ defineCustomElementFn: undefined
314
+ })
315
+ ], PHelper);
316
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PHelper, decorators: [{
317
+ type: Component,
318
+ args: [{
319
+ selector: 'p-helper',
320
+ changeDetection: ChangeDetectionStrategy.OnPush,
321
+ template: '<ng-content></ng-content>'
80
322
  }]
81
323
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
82
324
  let PIcon = class PIcon {
@@ -127,6 +369,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
127
369
  inputs: ['variant']
128
370
  }]
129
371
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
372
+ let PInfoPanel = class PInfoPanel {
373
+ constructor(c, r, z) {
374
+ this.z = z;
375
+ c.detach();
376
+ this.el = r.nativeElement;
377
+ }
378
+ };
379
+ PInfoPanel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PInfoPanel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
380
+ PInfoPanel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PInfoPanel, selector: "p-info-panel", inputs: { closeable: "closeable", content: "content", header: "header", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
381
+ PInfoPanel = __decorate([
382
+ ProxyCmp({
383
+ defineCustomElementFn: undefined,
384
+ inputs: ['closeable', 'content', 'header', 'variant']
385
+ })
386
+ ], PInfoPanel);
387
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PInfoPanel, decorators: [{
388
+ type: Component,
389
+ args: [{
390
+ selector: 'p-info-panel',
391
+ changeDetection: ChangeDetectionStrategy.OnPush,
392
+ template: '<ng-content></ng-content>',
393
+ inputs: ['closeable', 'content', 'header', 'variant']
394
+ }]
395
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
130
396
  let PLoader = class PLoader {
131
397
  constructor(c, r, z) {
132
398
  this.z = z;
@@ -151,6 +417,149 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
151
417
  inputs: ['color', 'modalDescription', 'modalTitle', 'show', 'variant']
152
418
  }]
153
419
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
420
+ let PNavigationItem = class PNavigationItem {
421
+ constructor(c, r, z) {
422
+ this.z = z;
423
+ c.detach();
424
+ this.el = r.nativeElement;
425
+ }
426
+ };
427
+ PNavigationItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PNavigationItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
428
+ PNavigationItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PNavigationItem, selector: "p-navigation-item", inputs: { active: "active", counter: "counter", href: "href", icon: "icon", target: "target" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
429
+ PNavigationItem = __decorate([
430
+ ProxyCmp({
431
+ defineCustomElementFn: undefined,
432
+ inputs: ['active', 'counter', 'href', 'icon', 'target']
433
+ })
434
+ ], PNavigationItem);
435
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PNavigationItem, decorators: [{
436
+ type: Component,
437
+ args: [{
438
+ selector: 'p-navigation-item',
439
+ changeDetection: ChangeDetectionStrategy.OnPush,
440
+ template: '<ng-content></ng-content>',
441
+ inputs: ['active', 'counter', 'href', 'icon', 'target']
442
+ }]
443
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
444
+ let PPagination = class PPagination {
445
+ constructor(c, r, z) {
446
+ this.z = z;
447
+ c.detach();
448
+ this.el = r.nativeElement;
449
+ proxyOutputs(this, this.el, ['pageChange']);
450
+ }
451
+ };
452
+ PPagination.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PPagination, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
453
+ PPagination.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PPagination, selector: "p-pagination", inputs: { page: "page", pageSize: "pageSize", total: "total" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
454
+ PPagination = __decorate([
455
+ ProxyCmp({
456
+ defineCustomElementFn: undefined,
457
+ inputs: ['page', 'pageSize', 'total']
458
+ })
459
+ ], PPagination);
460
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PPagination, decorators: [{
461
+ type: Component,
462
+ args: [{
463
+ selector: 'p-pagination',
464
+ changeDetection: ChangeDetectionStrategy.OnPush,
465
+ template: '<ng-content></ng-content>',
466
+ inputs: ['page', 'pageSize', 'total']
467
+ }]
468
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
469
+ let PPaginationItem = class PPaginationItem {
470
+ constructor(c, r, z) {
471
+ this.z = z;
472
+ c.detach();
473
+ this.el = r.nativeElement;
474
+ }
475
+ };
476
+ PPaginationItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PPaginationItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
477
+ PPaginationItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PPaginationItem, selector: "p-pagination-item", inputs: { active: "active" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
478
+ PPaginationItem = __decorate([
479
+ ProxyCmp({
480
+ defineCustomElementFn: undefined,
481
+ inputs: ['active']
482
+ })
483
+ ], PPaginationItem);
484
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PPaginationItem, decorators: [{
485
+ type: Component,
486
+ args: [{
487
+ selector: 'p-pagination-item',
488
+ changeDetection: ChangeDetectionStrategy.OnPush,
489
+ template: '<ng-content></ng-content>',
490
+ inputs: ['active']
491
+ }]
492
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
493
+ let PSegmentContainer = class PSegmentContainer {
494
+ constructor(c, r, z) {
495
+ this.z = z;
496
+ c.detach();
497
+ this.el = r.nativeElement;
498
+ }
499
+ };
500
+ PSegmentContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PSegmentContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
501
+ PSegmentContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PSegmentContainer, selector: "p-segment-container", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
502
+ PSegmentContainer = __decorate([
503
+ ProxyCmp({
504
+ defineCustomElementFn: undefined
505
+ })
506
+ ], PSegmentContainer);
507
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PSegmentContainer, decorators: [{
508
+ type: Component,
509
+ args: [{
510
+ selector: 'p-segment-container',
511
+ changeDetection: ChangeDetectionStrategy.OnPush,
512
+ template: '<ng-content></ng-content>'
513
+ }]
514
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
515
+ let PSegmentItem = class PSegmentItem {
516
+ constructor(c, r, z) {
517
+ this.z = z;
518
+ c.detach();
519
+ this.el = r.nativeElement;
520
+ }
521
+ };
522
+ PSegmentItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PSegmentItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
523
+ PSegmentItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PSegmentItem, selector: "p-segment-item", inputs: { active: "active", icon: "icon", iconFlip: "iconFlip", iconRotate: "iconRotate" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
524
+ PSegmentItem = __decorate([
525
+ ProxyCmp({
526
+ defineCustomElementFn: undefined,
527
+ inputs: ['active', 'icon', 'iconFlip', 'iconRotate']
528
+ })
529
+ ], PSegmentItem);
530
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PSegmentItem, decorators: [{
531
+ type: Component,
532
+ args: [{
533
+ selector: 'p-segment-item',
534
+ changeDetection: ChangeDetectionStrategy.OnPush,
535
+ template: '<ng-content></ng-content>',
536
+ inputs: ['active', 'icon', 'iconFlip', 'iconRotate']
537
+ }]
538
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
539
+ let PStatus = class PStatus {
540
+ constructor(c, r, z) {
541
+ this.z = z;
542
+ c.detach();
543
+ this.el = r.nativeElement;
544
+ }
545
+ };
546
+ PStatus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PStatus, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
547
+ PStatus.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PStatus, selector: "p-status", inputs: { icon: "icon", iconFlip: "iconFlip", iconRotate: "iconRotate", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
548
+ PStatus = __decorate([
549
+ ProxyCmp({
550
+ defineCustomElementFn: undefined,
551
+ inputs: ['icon', 'iconFlip', 'iconRotate', 'variant']
552
+ })
553
+ ], PStatus);
554
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PStatus, decorators: [{
555
+ type: Component,
556
+ args: [{
557
+ selector: 'p-status',
558
+ changeDetection: ChangeDetectionStrategy.OnPush,
559
+ template: '<ng-content></ng-content>',
560
+ inputs: ['icon', 'iconFlip', 'iconRotate', 'variant']
561
+ }]
562
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
154
563
  let PTooltip = class PTooltip {
155
564
  constructor(c, r, z) {
156
565
  this.z = z;
@@ -159,11 +568,11 @@ let PTooltip = class PTooltip {
159
568
  }
160
569
  };
161
570
  PTooltip.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PTooltip, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
162
- PTooltip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PTooltip, selector: "p-tooltip", inputs: { content: "content", forceShow: "forceShow", placement: "placement" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
571
+ PTooltip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PTooltip, selector: "p-tooltip", inputs: { canManuallyClose: "canManuallyClose", placement: "placement", popover: "popover", show: "show", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
163
572
  PTooltip = __decorate([
164
573
  ProxyCmp({
165
574
  defineCustomElementFn: undefined,
166
- inputs: ['content', 'forceShow', 'placement']
575
+ inputs: ['canManuallyClose', 'placement', 'popover', 'show', 'variant']
167
576
  })
168
577
  ], PTooltip);
169
578
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PTooltip, decorators: [{
@@ -172,28 +581,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
172
581
  selector: 'p-tooltip',
173
582
  changeDetection: ChangeDetectionStrategy.OnPush,
174
583
  template: '<ng-content></ng-content>',
175
- inputs: ['content', 'forceShow', 'placement']
584
+ inputs: ['canManuallyClose', 'placement', 'popover', 'show', 'variant']
176
585
  }]
177
586
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
178
587
 
179
588
  const DIRECTIVES = [
589
+ PAvatar,
180
590
  PButton,
591
+ PCounter,
592
+ PDivider,
593
+ PDropdown,
594
+ PDropdownMenuContainer,
595
+ PDropdownMenuItem,
596
+ PHelper,
181
597
  PIcon,
182
598
  PIllustration,
599
+ PInfoPanel,
183
600
  PLoader,
601
+ PNavigationItem,
602
+ PPagination,
603
+ PPaginationItem,
604
+ PSegmentContainer,
605
+ PSegmentItem,
606
+ PStatus,
184
607
  PTooltip
185
608
  ];
186
609
 
187
610
  class PaperlessModule {
188
611
  }
189
612
  PaperlessModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
190
- PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, declarations: [PButton, PIcon, PIllustration, PLoader, PTooltip], exports: [PButton, PIcon, PIllustration, PLoader, PTooltip] });
613
+ PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, declarations: [PAvatar, PButton, PCounter, PDivider, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PLoader, PNavigationItem, PPagination, PPaginationItem, PSegmentContainer, PSegmentItem, PStatus, PTooltip, PaginationDirective], exports: [PAvatar, PButton, PCounter, PDivider, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PLoader, PNavigationItem, PPagination, PPaginationItem, PSegmentContainer, PSegmentItem, PStatus, PTooltip, PaginationDirective] });
191
614
  PaperlessModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule });
192
615
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, decorators: [{
193
616
  type: NgModule,
194
617
  args: [{
195
- declarations: [...DIRECTIVES],
196
- exports: [...DIRECTIVES],
618
+ declarations: [...DIRECTIVES, ...CUSTOM_DIRECTIVES],
619
+ exports: [...DIRECTIVES, ...CUSTOM_DIRECTIVES],
197
620
  }]
198
621
  }] });
199
622
 
@@ -205,5 +628,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
205
628
  * Generated bundle index. Do not edit.
206
629
  */
207
630
 
208
- export { PButton, PIcon, PIllustration, PLoader, PTooltip, PaperlessModule };
631
+ export { CUSTOM_DIRECTIVES, PAvatar, PButton, PCounter, PDivider, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PLoader, PNavigationItem, PPagination, PPaginationItem, PSegmentContainer, PSegmentItem, PStatus, PTooltip, PaginationDirective, PaperlessModule };
209
632
  //# sourceMappingURL=paperless-angular.mjs.map