@paperless/angular 0.1.0-alpha.4 → 0.1.0-alpha.41

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", iconOnly: "iconOnly", iconPosition: "iconPosition", iconRotate: "iconRotate", inheritText: "inheritText", 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', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', '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,216 @@ 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', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'loading', 'size', 'target', 'variant']
185
+ }]
186
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
187
+ let PCardBody = class PCardBody {
188
+ constructor(c, r, z) {
189
+ this.z = z;
190
+ c.detach();
191
+ this.el = r.nativeElement;
192
+ }
193
+ };
194
+ PCardBody.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PCardBody, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
195
+ PCardBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PCardBody, selector: "p-card-body", inputs: { inheritText: "inheritText" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
196
+ PCardBody = __decorate([
197
+ ProxyCmp({
198
+ defineCustomElementFn: undefined,
199
+ inputs: ['inheritText']
200
+ })
201
+ ], PCardBody);
202
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PCardBody, decorators: [{
203
+ type: Component,
204
+ args: [{
205
+ selector: 'p-card-body',
206
+ changeDetection: ChangeDetectionStrategy.OnPush,
207
+ template: '<ng-content></ng-content>',
208
+ inputs: ['inheritText']
209
+ }]
210
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
211
+ let PCardContainer = class PCardContainer {
212
+ constructor(c, r, z) {
213
+ this.z = z;
214
+ c.detach();
215
+ this.el = r.nativeElement;
216
+ }
217
+ };
218
+ PCardContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PCardContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
219
+ PCardContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PCardContainer, selector: "p-card-container", inputs: { hoverable: "hoverable" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
220
+ PCardContainer = __decorate([
221
+ ProxyCmp({
222
+ defineCustomElementFn: undefined,
223
+ inputs: ['hoverable']
224
+ })
225
+ ], PCardContainer);
226
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PCardContainer, decorators: [{
227
+ type: Component,
228
+ args: [{
229
+ selector: 'p-card-container',
230
+ changeDetection: ChangeDetectionStrategy.OnPush,
231
+ template: '<ng-content></ng-content>',
232
+ inputs: ['hoverable']
233
+ }]
234
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
235
+ let PCardHeader = class PCardHeader {
236
+ constructor(c, r, z) {
237
+ this.z = z;
238
+ c.detach();
239
+ this.el = r.nativeElement;
240
+ }
241
+ };
242
+ PCardHeader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PCardHeader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
243
+ PCardHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PCardHeader, selector: "p-card-header", inputs: { arrow: "arrow", title: "title" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
244
+ PCardHeader = __decorate([
245
+ ProxyCmp({
246
+ defineCustomElementFn: undefined,
247
+ inputs: ['arrow', 'title']
248
+ })
249
+ ], PCardHeader);
250
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PCardHeader, decorators: [{
251
+ type: Component,
252
+ args: [{
253
+ selector: 'p-card-header',
254
+ changeDetection: ChangeDetectionStrategy.OnPush,
255
+ template: '<ng-content></ng-content>',
256
+ inputs: ['arrow', 'title']
257
+ }]
258
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
259
+ let PCounter = class PCounter {
260
+ constructor(c, r, z) {
261
+ this.z = z;
262
+ c.detach();
263
+ this.el = r.nativeElement;
264
+ }
265
+ };
266
+ 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 });
267
+ 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 });
268
+ PCounter = __decorate([
269
+ ProxyCmp({
270
+ defineCustomElementFn: undefined
271
+ })
272
+ ], PCounter);
273
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PCounter, decorators: [{
274
+ type: Component,
275
+ args: [{
276
+ selector: 'p-counter',
277
+ changeDetection: ChangeDetectionStrategy.OnPush,
278
+ template: '<ng-content></ng-content>'
279
+ }]
280
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
281
+ let PDivider = class PDivider {
282
+ constructor(c, r, z) {
283
+ this.z = z;
284
+ c.detach();
285
+ this.el = r.nativeElement;
286
+ }
287
+ };
288
+ 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 });
289
+ 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 });
290
+ PDivider = __decorate([
291
+ ProxyCmp({
292
+ defineCustomElementFn: undefined
293
+ })
294
+ ], PDivider);
295
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDivider, decorators: [{
296
+ type: Component,
297
+ args: [{
298
+ selector: 'p-divider',
299
+ changeDetection: ChangeDetectionStrategy.OnPush,
300
+ template: '<ng-content></ng-content>'
301
+ }]
302
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
303
+ let PDropdown = class PDropdown {
304
+ constructor(c, r, z) {
305
+ this.z = z;
306
+ c.detach();
307
+ this.el = r.nativeElement;
308
+ proxyOutputs(this, this.el, ['isOpen']);
309
+ }
310
+ };
311
+ 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 });
312
+ 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 });
313
+ PDropdown = __decorate([
314
+ ProxyCmp({
315
+ defineCustomElementFn: undefined,
316
+ inputs: ['disableTriggerClick', 'insideClick', 'placement', 'show']
317
+ })
318
+ ], PDropdown);
319
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDropdown, decorators: [{
320
+ type: Component,
321
+ args: [{
322
+ selector: 'p-dropdown',
323
+ changeDetection: ChangeDetectionStrategy.OnPush,
324
+ template: '<ng-content></ng-content>',
325
+ inputs: ['disableTriggerClick', 'insideClick', 'placement', 'show']
326
+ }]
327
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
328
+ let PDropdownMenuContainer = class PDropdownMenuContainer {
329
+ constructor(c, r, z) {
330
+ this.z = z;
331
+ c.detach();
332
+ this.el = r.nativeElement;
333
+ }
334
+ };
335
+ 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 });
336
+ 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 });
337
+ PDropdownMenuContainer = __decorate([
338
+ ProxyCmp({
339
+ defineCustomElementFn: undefined
340
+ })
341
+ ], PDropdownMenuContainer);
342
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDropdownMenuContainer, decorators: [{
343
+ type: Component,
344
+ args: [{
345
+ selector: 'p-dropdown-menu-container',
346
+ changeDetection: ChangeDetectionStrategy.OnPush,
347
+ template: '<ng-content></ng-content>'
348
+ }]
349
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
350
+ let PDropdownMenuItem = class PDropdownMenuItem {
351
+ constructor(c, r, z) {
352
+ this.z = z;
353
+ c.detach();
354
+ this.el = r.nativeElement;
355
+ }
356
+ };
357
+ 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 });
358
+ 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 });
359
+ PDropdownMenuItem = __decorate([
360
+ ProxyCmp({
361
+ defineCustomElementFn: undefined,
362
+ inputs: ['active']
363
+ })
364
+ ], PDropdownMenuItem);
365
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDropdownMenuItem, decorators: [{
366
+ type: Component,
367
+ args: [{
368
+ selector: 'p-dropdown-menu-item',
369
+ changeDetection: ChangeDetectionStrategy.OnPush,
370
+ template: '<ng-content></ng-content>',
371
+ inputs: ['active']
372
+ }]
373
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
374
+ let PHelper = class PHelper {
375
+ constructor(c, r, z) {
376
+ this.z = z;
377
+ c.detach();
378
+ this.el = r.nativeElement;
379
+ }
380
+ };
381
+ 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 });
382
+ 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 });
383
+ PHelper = __decorate([
384
+ ProxyCmp({
385
+ defineCustomElementFn: undefined
386
+ })
387
+ ], PHelper);
388
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PHelper, decorators: [{
389
+ type: Component,
390
+ args: [{
391
+ selector: 'p-helper',
392
+ changeDetection: ChangeDetectionStrategy.OnPush,
393
+ template: '<ng-content></ng-content>'
80
394
  }]
81
395
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
82
396
  let PIcon = class PIcon {
@@ -127,6 +441,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
127
441
  inputs: ['variant']
128
442
  }]
129
443
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
444
+ let PInfoPanel = class PInfoPanel {
445
+ constructor(c, r, z) {
446
+ this.z = z;
447
+ c.detach();
448
+ this.el = r.nativeElement;
449
+ }
450
+ };
451
+ 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 });
452
+ 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 });
453
+ PInfoPanel = __decorate([
454
+ ProxyCmp({
455
+ defineCustomElementFn: undefined,
456
+ inputs: ['closeable', 'content', 'header', 'variant']
457
+ })
458
+ ], PInfoPanel);
459
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PInfoPanel, decorators: [{
460
+ type: Component,
461
+ args: [{
462
+ selector: 'p-info-panel',
463
+ changeDetection: ChangeDetectionStrategy.OnPush,
464
+ template: '<ng-content></ng-content>',
465
+ inputs: ['closeable', 'content', 'header', 'variant']
466
+ }]
467
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
130
468
  let PLoader = class PLoader {
131
469
  constructor(c, r, z) {
132
470
  this.z = z;
@@ -151,6 +489,149 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
151
489
  inputs: ['color', 'modalDescription', 'modalTitle', 'show', 'variant']
152
490
  }]
153
491
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
492
+ let PNavigationItem = class PNavigationItem {
493
+ constructor(c, r, z) {
494
+ this.z = z;
495
+ c.detach();
496
+ this.el = r.nativeElement;
497
+ }
498
+ };
499
+ 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 });
500
+ 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 });
501
+ PNavigationItem = __decorate([
502
+ ProxyCmp({
503
+ defineCustomElementFn: undefined,
504
+ inputs: ['active', 'counter', 'href', 'icon', 'target']
505
+ })
506
+ ], PNavigationItem);
507
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PNavigationItem, decorators: [{
508
+ type: Component,
509
+ args: [{
510
+ selector: 'p-navigation-item',
511
+ changeDetection: ChangeDetectionStrategy.OnPush,
512
+ template: '<ng-content></ng-content>',
513
+ inputs: ['active', 'counter', 'href', 'icon', 'target']
514
+ }]
515
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
516
+ let PPagination = class PPagination {
517
+ constructor(c, r, z) {
518
+ this.z = z;
519
+ c.detach();
520
+ this.el = r.nativeElement;
521
+ proxyOutputs(this, this.el, ['pageChange']);
522
+ }
523
+ };
524
+ 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 });
525
+ 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 });
526
+ PPagination = __decorate([
527
+ ProxyCmp({
528
+ defineCustomElementFn: undefined,
529
+ inputs: ['page', 'pageSize', 'total']
530
+ })
531
+ ], PPagination);
532
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PPagination, decorators: [{
533
+ type: Component,
534
+ args: [{
535
+ selector: 'p-pagination',
536
+ changeDetection: ChangeDetectionStrategy.OnPush,
537
+ template: '<ng-content></ng-content>',
538
+ inputs: ['page', 'pageSize', 'total']
539
+ }]
540
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
541
+ let PPaginationItem = class PPaginationItem {
542
+ constructor(c, r, z) {
543
+ this.z = z;
544
+ c.detach();
545
+ this.el = r.nativeElement;
546
+ }
547
+ };
548
+ 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 });
549
+ 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 });
550
+ PPaginationItem = __decorate([
551
+ ProxyCmp({
552
+ defineCustomElementFn: undefined,
553
+ inputs: ['active']
554
+ })
555
+ ], PPaginationItem);
556
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PPaginationItem, decorators: [{
557
+ type: Component,
558
+ args: [{
559
+ selector: 'p-pagination-item',
560
+ changeDetection: ChangeDetectionStrategy.OnPush,
561
+ template: '<ng-content></ng-content>',
562
+ inputs: ['active']
563
+ }]
564
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
565
+ let PSegmentContainer = class PSegmentContainer {
566
+ constructor(c, r, z) {
567
+ this.z = z;
568
+ c.detach();
569
+ this.el = r.nativeElement;
570
+ }
571
+ };
572
+ 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 });
573
+ 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 });
574
+ PSegmentContainer = __decorate([
575
+ ProxyCmp({
576
+ defineCustomElementFn: undefined
577
+ })
578
+ ], PSegmentContainer);
579
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PSegmentContainer, decorators: [{
580
+ type: Component,
581
+ args: [{
582
+ selector: 'p-segment-container',
583
+ changeDetection: ChangeDetectionStrategy.OnPush,
584
+ template: '<ng-content></ng-content>'
585
+ }]
586
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
587
+ let PSegmentItem = class PSegmentItem {
588
+ constructor(c, r, z) {
589
+ this.z = z;
590
+ c.detach();
591
+ this.el = r.nativeElement;
592
+ }
593
+ };
594
+ 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 });
595
+ 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 });
596
+ PSegmentItem = __decorate([
597
+ ProxyCmp({
598
+ defineCustomElementFn: undefined,
599
+ inputs: ['active', 'icon', 'iconFlip', 'iconRotate']
600
+ })
601
+ ], PSegmentItem);
602
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PSegmentItem, decorators: [{
603
+ type: Component,
604
+ args: [{
605
+ selector: 'p-segment-item',
606
+ changeDetection: ChangeDetectionStrategy.OnPush,
607
+ template: '<ng-content></ng-content>',
608
+ inputs: ['active', 'icon', 'iconFlip', 'iconRotate']
609
+ }]
610
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
611
+ let PStatus = class PStatus {
612
+ constructor(c, r, z) {
613
+ this.z = z;
614
+ c.detach();
615
+ this.el = r.nativeElement;
616
+ }
617
+ };
618
+ 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 });
619
+ 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 });
620
+ PStatus = __decorate([
621
+ ProxyCmp({
622
+ defineCustomElementFn: undefined,
623
+ inputs: ['icon', 'iconFlip', 'iconRotate', 'variant']
624
+ })
625
+ ], PStatus);
626
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PStatus, decorators: [{
627
+ type: Component,
628
+ args: [{
629
+ selector: 'p-status',
630
+ changeDetection: ChangeDetectionStrategy.OnPush,
631
+ template: '<ng-content></ng-content>',
632
+ inputs: ['icon', 'iconFlip', 'iconRotate', 'variant']
633
+ }]
634
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
154
635
  let PTooltip = class PTooltip {
155
636
  constructor(c, r, z) {
156
637
  this.z = z;
@@ -159,11 +640,11 @@ let PTooltip = class PTooltip {
159
640
  }
160
641
  };
161
642
  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 });
643
+ 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
644
  PTooltip = __decorate([
164
645
  ProxyCmp({
165
646
  defineCustomElementFn: undefined,
166
- inputs: ['content', 'forceShow', 'placement']
647
+ inputs: ['canManuallyClose', 'placement', 'popover', 'show', 'variant']
167
648
  })
168
649
  ], PTooltip);
169
650
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PTooltip, decorators: [{
@@ -172,28 +653,45 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
172
653
  selector: 'p-tooltip',
173
654
  changeDetection: ChangeDetectionStrategy.OnPush,
174
655
  template: '<ng-content></ng-content>',
175
- inputs: ['content', 'forceShow', 'placement']
656
+ inputs: ['canManuallyClose', 'placement', 'popover', 'show', 'variant']
176
657
  }]
177
658
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
178
659
 
179
660
  const DIRECTIVES = [
661
+ PAvatar,
180
662
  PButton,
663
+ PCardBody,
664
+ PCardContainer,
665
+ PCardHeader,
666
+ PCounter,
667
+ PDivider,
668
+ PDropdown,
669
+ PDropdownMenuContainer,
670
+ PDropdownMenuItem,
671
+ PHelper,
181
672
  PIcon,
182
673
  PIllustration,
674
+ PInfoPanel,
183
675
  PLoader,
676
+ PNavigationItem,
677
+ PPagination,
678
+ PPaginationItem,
679
+ PSegmentContainer,
680
+ PSegmentItem,
681
+ PStatus,
184
682
  PTooltip
185
683
  ];
186
684
 
187
685
  class PaperlessModule {
188
686
  }
189
687
  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] });
688
+ PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, declarations: [PAvatar, PButton, PCardBody, PCardContainer, PCardHeader, PCounter, PDivider, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PLoader, PNavigationItem, PPagination, PPaginationItem, PSegmentContainer, PSegmentItem, PStatus, PTooltip, PaginationDirective], exports: [PAvatar, PButton, PCardBody, PCardContainer, PCardHeader, PCounter, PDivider, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PLoader, PNavigationItem, PPagination, PPaginationItem, PSegmentContainer, PSegmentItem, PStatus, PTooltip, PaginationDirective] });
191
689
  PaperlessModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule });
192
690
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, decorators: [{
193
691
  type: NgModule,
194
692
  args: [{
195
- declarations: [...DIRECTIVES],
196
- exports: [...DIRECTIVES],
693
+ declarations: [...DIRECTIVES, ...CUSTOM_DIRECTIVES],
694
+ exports: [...DIRECTIVES, ...CUSTOM_DIRECTIVES],
197
695
  }]
198
696
  }] });
199
697
 
@@ -205,5 +703,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
205
703
  * Generated bundle index. Do not edit.
206
704
  */
207
705
 
208
- export { PButton, PIcon, PIllustration, PLoader, PTooltip, PaperlessModule };
706
+ export { CUSTOM_DIRECTIVES, PAvatar, PButton, PCardBody, PCardContainer, PCardHeader, PCounter, PDivider, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PLoader, PNavigationItem, PPagination, PPaginationItem, PSegmentContainer, PSegmentItem, PStatus, PTooltip, PaginationDirective, PaperlessModule };
209
707
  //# sourceMappingURL=paperless-angular.mjs.map