@paperless/angular 0.1.0-alpha.2 → 0.1.0-alpha.22
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.
- package/README.md +18 -1
- package/esm2020/lib/base/index.mjs +2 -0
- package/esm2020/lib/base/value-accessor.mjs +42 -0
- package/esm2020/lib/directives/index.mjs +4 -0
- package/esm2020/lib/directives/pagination.directive.mjs +42 -0
- package/esm2020/lib/paperless.module.mjs +6 -4
- package/esm2020/lib/stencil/components.mjs +204 -8
- package/esm2020/lib/stencil/index.mjs +9 -1
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/paperless-angular.mjs +288 -11
- package/fesm2015/paperless-angular.mjs.map +1 -1
- package/fesm2020/paperless-angular.mjs +288 -11
- package/fesm2020/paperless-angular.mjs.map +1 -1
- package/lib/base/index.d.ts +1 -0
- package/lib/base/value-accessor.d.ts +17 -0
- package/lib/directives/index.d.ts +3 -0
- package/lib/directives/pagination.directive.d.ts +10 -0
- package/lib/paperless.module.d.ts +2 -1
- package/lib/stencil/components.d.ts +83 -3
- package/lib/stencil/index.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -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,19 +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;
|
|
167
|
+
proxyOutputs(this, this.el, ['onClick']);
|
|
62
168
|
}
|
|
63
169
|
};
|
|
64
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 });
|
|
65
|
-
PButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PButton, selector: "p-button", inputs: { 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: { 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 });
|
|
66
172
|
PButton = __decorate([
|
|
67
173
|
ProxyCmp({
|
|
68
174
|
defineCustomElementFn: undefined,
|
|
69
|
-
inputs: ['variant']
|
|
175
|
+
inputs: ['disabled', 'href', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'loading', 'size', 'target', 'variant']
|
|
70
176
|
})
|
|
71
177
|
], PButton);
|
|
72
178
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PButton, decorators: [{
|
|
@@ -75,7 +181,73 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
75
181
|
selector: 'p-button',
|
|
76
182
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
77
183
|
template: '<ng-content></ng-content>',
|
|
78
|
-
inputs: ['variant']
|
|
184
|
+
inputs: ['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 PHelper = class PHelper {
|
|
232
|
+
constructor(c, r, z) {
|
|
233
|
+
this.z = z;
|
|
234
|
+
c.detach();
|
|
235
|
+
this.el = r.nativeElement;
|
|
236
|
+
}
|
|
237
|
+
};
|
|
238
|
+
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 });
|
|
239
|
+
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 });
|
|
240
|
+
PHelper = __decorate([
|
|
241
|
+
ProxyCmp({
|
|
242
|
+
defineCustomElementFn: undefined
|
|
243
|
+
})
|
|
244
|
+
], PHelper);
|
|
245
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PHelper, decorators: [{
|
|
246
|
+
type: Component,
|
|
247
|
+
args: [{
|
|
248
|
+
selector: 'p-helper',
|
|
249
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
250
|
+
template: '<ng-content></ng-content>'
|
|
79
251
|
}]
|
|
80
252
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
81
253
|
let PIcon = class PIcon {
|
|
@@ -126,6 +298,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
126
298
|
inputs: ['variant']
|
|
127
299
|
}]
|
|
128
300
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
301
|
+
let PInfoPanel = class PInfoPanel {
|
|
302
|
+
constructor(c, r, z) {
|
|
303
|
+
this.z = z;
|
|
304
|
+
c.detach();
|
|
305
|
+
this.el = r.nativeElement;
|
|
306
|
+
}
|
|
307
|
+
};
|
|
308
|
+
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 });
|
|
309
|
+
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 });
|
|
310
|
+
PInfoPanel = __decorate([
|
|
311
|
+
ProxyCmp({
|
|
312
|
+
defineCustomElementFn: undefined,
|
|
313
|
+
inputs: ['closeable', 'content', 'header', 'variant']
|
|
314
|
+
})
|
|
315
|
+
], PInfoPanel);
|
|
316
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PInfoPanel, decorators: [{
|
|
317
|
+
type: Component,
|
|
318
|
+
args: [{
|
|
319
|
+
selector: 'p-info-panel',
|
|
320
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
321
|
+
template: '<ng-content></ng-content>',
|
|
322
|
+
inputs: ['closeable', 'content', 'header', 'variant']
|
|
323
|
+
}]
|
|
324
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
129
325
|
let PLoader = class PLoader {
|
|
130
326
|
constructor(c, r, z) {
|
|
131
327
|
this.z = z;
|
|
@@ -150,6 +346,79 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
150
346
|
inputs: ['color', 'modalDescription', 'modalTitle', 'show', 'variant']
|
|
151
347
|
}]
|
|
152
348
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
349
|
+
let PNavigationItem = class PNavigationItem {
|
|
350
|
+
constructor(c, r, z) {
|
|
351
|
+
this.z = z;
|
|
352
|
+
c.detach();
|
|
353
|
+
this.el = r.nativeElement;
|
|
354
|
+
}
|
|
355
|
+
};
|
|
356
|
+
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 });
|
|
357
|
+
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 });
|
|
358
|
+
PNavigationItem = __decorate([
|
|
359
|
+
ProxyCmp({
|
|
360
|
+
defineCustomElementFn: undefined,
|
|
361
|
+
inputs: ['active', 'counter', 'href', 'icon', 'target']
|
|
362
|
+
})
|
|
363
|
+
], PNavigationItem);
|
|
364
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PNavigationItem, decorators: [{
|
|
365
|
+
type: Component,
|
|
366
|
+
args: [{
|
|
367
|
+
selector: 'p-navigation-item',
|
|
368
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
369
|
+
template: '<ng-content></ng-content>',
|
|
370
|
+
inputs: ['active', 'counter', 'href', 'icon', 'target']
|
|
371
|
+
}]
|
|
372
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
373
|
+
let PPagination = class PPagination {
|
|
374
|
+
constructor(c, r, z) {
|
|
375
|
+
this.z = z;
|
|
376
|
+
c.detach();
|
|
377
|
+
this.el = r.nativeElement;
|
|
378
|
+
proxyOutputs(this, this.el, ['pageChange']);
|
|
379
|
+
}
|
|
380
|
+
};
|
|
381
|
+
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 });
|
|
382
|
+
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 });
|
|
383
|
+
PPagination = __decorate([
|
|
384
|
+
ProxyCmp({
|
|
385
|
+
defineCustomElementFn: undefined,
|
|
386
|
+
inputs: ['page', 'pageSize', 'total']
|
|
387
|
+
})
|
|
388
|
+
], PPagination);
|
|
389
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PPagination, decorators: [{
|
|
390
|
+
type: Component,
|
|
391
|
+
args: [{
|
|
392
|
+
selector: 'p-pagination',
|
|
393
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
394
|
+
template: '<ng-content></ng-content>',
|
|
395
|
+
inputs: ['page', 'pageSize', 'total']
|
|
396
|
+
}]
|
|
397
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
398
|
+
let PPaginationItem = class PPaginationItem {
|
|
399
|
+
constructor(c, r, z) {
|
|
400
|
+
this.z = z;
|
|
401
|
+
c.detach();
|
|
402
|
+
this.el = r.nativeElement;
|
|
403
|
+
}
|
|
404
|
+
};
|
|
405
|
+
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 });
|
|
406
|
+
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 });
|
|
407
|
+
PPaginationItem = __decorate([
|
|
408
|
+
ProxyCmp({
|
|
409
|
+
defineCustomElementFn: undefined,
|
|
410
|
+
inputs: ['active']
|
|
411
|
+
})
|
|
412
|
+
], PPaginationItem);
|
|
413
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PPaginationItem, decorators: [{
|
|
414
|
+
type: Component,
|
|
415
|
+
args: [{
|
|
416
|
+
selector: 'p-pagination-item',
|
|
417
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
418
|
+
template: '<ng-content></ng-content>',
|
|
419
|
+
inputs: ['active']
|
|
420
|
+
}]
|
|
421
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
153
422
|
let PTooltip = class PTooltip {
|
|
154
423
|
constructor(c, r, z) {
|
|
155
424
|
this.z = z;
|
|
@@ -158,11 +427,11 @@ let PTooltip = class PTooltip {
|
|
|
158
427
|
}
|
|
159
428
|
};
|
|
160
429
|
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 });
|
|
161
|
-
PTooltip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PTooltip, selector: "p-tooltip", inputs: {
|
|
430
|
+
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 });
|
|
162
431
|
PTooltip = __decorate([
|
|
163
432
|
ProxyCmp({
|
|
164
433
|
defineCustomElementFn: undefined,
|
|
165
|
-
inputs: ['
|
|
434
|
+
inputs: ['canManuallyClose', 'placement', 'popover', 'show', 'variant']
|
|
166
435
|
})
|
|
167
436
|
], PTooltip);
|
|
168
437
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PTooltip, decorators: [{
|
|
@@ -171,28 +440,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
171
440
|
selector: 'p-tooltip',
|
|
172
441
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
173
442
|
template: '<ng-content></ng-content>',
|
|
174
|
-
inputs: ['
|
|
443
|
+
inputs: ['canManuallyClose', 'placement', 'popover', 'show', 'variant']
|
|
175
444
|
}]
|
|
176
445
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
177
446
|
|
|
178
447
|
const DIRECTIVES = [
|
|
448
|
+
PAvatar,
|
|
179
449
|
PButton,
|
|
450
|
+
PCounter,
|
|
451
|
+
PDivider,
|
|
452
|
+
PHelper,
|
|
180
453
|
PIcon,
|
|
181
454
|
PIllustration,
|
|
455
|
+
PInfoPanel,
|
|
182
456
|
PLoader,
|
|
457
|
+
PNavigationItem,
|
|
458
|
+
PPagination,
|
|
459
|
+
PPaginationItem,
|
|
183
460
|
PTooltip
|
|
184
461
|
];
|
|
185
462
|
|
|
186
463
|
class PaperlessModule {
|
|
187
464
|
}
|
|
188
465
|
PaperlessModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
189
|
-
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] });
|
|
466
|
+
PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, declarations: [PAvatar, PButton, PCounter, PDivider, PHelper, PIcon, PIllustration, PInfoPanel, PLoader, PNavigationItem, PPagination, PPaginationItem, PTooltip, PaginationDirective], exports: [PAvatar, PButton, PCounter, PDivider, PHelper, PIcon, PIllustration, PInfoPanel, PLoader, PNavigationItem, PPagination, PPaginationItem, PTooltip, PaginationDirective] });
|
|
190
467
|
PaperlessModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule });
|
|
191
468
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, decorators: [{
|
|
192
469
|
type: NgModule,
|
|
193
470
|
args: [{
|
|
194
|
-
declarations: [...DIRECTIVES],
|
|
195
|
-
exports: [...DIRECTIVES],
|
|
471
|
+
declarations: [...DIRECTIVES, ...CUSTOM_DIRECTIVES],
|
|
472
|
+
exports: [...DIRECTIVES, ...CUSTOM_DIRECTIVES],
|
|
196
473
|
}]
|
|
197
474
|
}] });
|
|
198
475
|
|
|
@@ -204,5 +481,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
204
481
|
* Generated bundle index. Do not edit.
|
|
205
482
|
*/
|
|
206
483
|
|
|
207
|
-
export { PButton, PIcon, PIllustration, PLoader, PTooltip, PaperlessModule };
|
|
484
|
+
export { CUSTOM_DIRECTIVES, PAvatar, PButton, PCounter, PDivider, PHelper, PIcon, PIllustration, PInfoPanel, PLoader, PNavigationItem, PPagination, PPaginationItem, PTooltip, PaginationDirective, PaperlessModule };
|
|
208
485
|
//# sourceMappingURL=paperless-angular.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paperless-angular.mjs","sources":["../../projects/paperless/src/lib/stencil/angular-component-lib/utils.ts","../../projects/paperless/src/lib/stencil/components.ts","../../projects/paperless/src/lib/stencil/index.ts","../../projects/paperless/src/lib/paperless.module.ts","../../projects/paperless/src/public-api.ts","../../projects/paperless/src/paperless-angular.ts"],"sourcesContent":["/* eslint-disable */\n/* tslint:disable */\nimport { fromEvent } from 'rxjs';\n\nexport const proxyInputs = (Cmp: any, inputs: string[]) => {\n const Prototype = Cmp.prototype;\n inputs.forEach(item => {\n Object.defineProperty(Prototype, item, {\n get() {\n return this.el[item];\n },\n set(val: any) {\n this.z.runOutsideAngular(() => (this.el[item] = val));\n }\n });\n });\n};\n\nexport const proxyMethods = (Cmp: any, methods: string[]) => {\n const Prototype = Cmp.prototype;\n methods.forEach(methodName => {\n Prototype[methodName] = function () {\n const args = arguments;\n return this.z.runOutsideAngular(() =>\n this.el[methodName].apply(this.el, args)\n );\n };\n });\n};\n\nexport const proxyOutputs = (instance: any, el: any, events: string[]) => {\n events.forEach(eventName => instance[eventName] = fromEvent(el, eventName));\n}\n\nexport const defineCustomElement = (tagName: string, customElement: any) => {\n if (\n customElement !== undefined &&\n typeof customElements !== 'undefined' &&\n !customElements.get(tagName)\n ) {\n customElements.define(tagName, customElement);\n }\n}\n\n// tslint:disable-next-line: only-arrow-functions\nexport function ProxyCmp(opts: { defineCustomElementFn?: () => void, inputs?: any; methods?: any }) {\n const decorator = function (cls: any) {\n const { defineCustomElementFn, inputs, methods } = opts;\n\n if (defineCustomElementFn !== undefined) {\n defineCustomElementFn();\n }\n\n if (inputs) {\n proxyInputs(cls, inputs);\n }\n if (methods) {\n proxyMethods(cls, methods);\n }\n return cls;\n };\n return decorator;\n}\n","/* tslint:disable */\n/* auto-generated angular directive proxies */\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, NgZone } from '@angular/core';\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nimport { Components } from '@paperless/core';\n\n\n\n\nexport declare interface PButton extends Components.PButton {}\n\n@ProxyCmp({\n defineCustomElementFn: undefined,\n inputs: ['variant']\n})\n@Component({\n selector: 'p-button',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n inputs: ['variant']\n})\nexport class PButton {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface PIcon extends Components.PIcon {}\n\n@ProxyCmp({\n defineCustomElementFn: undefined,\n inputs: ['flip', 'rotate', 'size', 'variant']\n})\n@Component({\n selector: 'p-icon',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n inputs: ['flip', 'rotate', 'size', 'variant']\n})\nexport class PIcon {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface PIllustration extends Components.PIllustration {}\n\n@ProxyCmp({\n defineCustomElementFn: undefined,\n inputs: ['variant']\n})\n@Component({\n selector: 'p-illustration',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n inputs: ['variant']\n})\nexport class PIllustration {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface PLoader extends Components.PLoader {}\n\n@ProxyCmp({\n defineCustomElementFn: undefined,\n inputs: ['color', 'modalDescription', 'modalTitle', 'show', 'variant']\n})\n@Component({\n selector: 'p-loader',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n inputs: ['color', 'modalDescription', 'modalTitle', 'show', 'variant']\n})\nexport class PLoader {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface PTooltip extends Components.PTooltip {}\n\n@ProxyCmp({\n defineCustomElementFn: undefined,\n inputs: ['content', 'forceShow', 'placement']\n})\n@Component({\n selector: 'p-tooltip',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n inputs: ['content', 'forceShow', 'placement']\n})\nexport class PTooltip {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n","\nimport * as d from './components';\n\nexport const DIRECTIVES = [\n d.PButton,\n d.PIcon,\n d.PIllustration,\n d.PLoader,\n d.PTooltip\n];\n","import { NgModule } from '@angular/core';\nimport { DIRECTIVES } from './stencil';\n\n@NgModule({\n declarations: [...DIRECTIVES],\n exports: [...DIRECTIVES],\n})\nexport class PaperlessModule {}\n","/*\n * Public API Surface of paperless\n */\n\nexport * from './lib/paperless.module';\nexport * from './lib/stencil/components';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["d.PButton","d.PIcon","d.PIllustration","d.PLoader","d.PTooltip","i1.PButton","i1.PIcon","i1.PIllustration","i1.PLoader","i1.PTooltip"],"mappings":";;;;;AAAA;AAIO,MAAM,WAAW,GAAG,CAAC,GAAQ,EAAE,MAAgB,KAAI;AACxD,IAAA,MAAM,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC;AAChC,IAAA,MAAM,CAAC,OAAO,CAAC,IAAI,IAAG;AACpB,QAAA,MAAM,CAAC,cAAc,CAAC,SAAS,EAAE,IAAI,EAAE;YACrC,GAAG,GAAA;AACD,gBAAA,OAAO,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;aACtB;AACD,YAAA,GAAG,CAAC,GAAQ,EAAA;AACV,gBAAA,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC;aACvD;AACF,SAAA,CAAC,CAAC;AACL,KAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAEK,MAAM,YAAY,GAAG,CAAC,GAAQ,EAAE,OAAiB,KAAI;AAC1D,IAAA,MAAM,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC;AAChC,IAAA,OAAO,CAAC,OAAO,CAAC,UAAU,IAAG;QAC3B,SAAS,CAAC,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T,IAAAC,QAAU;CACX;;MCFY,eAAe,CAAA;;6GAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;8GAAf,eAAe,EAAA,YAAA,EAAA,CAAAC,OAAA,EAAAC,KAAA,EAAAC,aAAA,EAAAC,OAAA,EAAAC,QAAA,CAAA,EAAA,OAAA,EAAA,CAAAJ,OAAA,EAAAC,KAAA,EAAAC,aAAA,EAAAC,OAAA,EAAAC,QAAA,CAAA,EAAA,CAAA,CAAA;8GAAf,eAAe,EAAA,CAAA,CAAA;4FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAC7B,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACzB,iBAAA,CAAA;;;ACND;;AAEG;;ACFH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"paperless-angular.mjs","sources":["../../projects/paperless/src/lib/base/value-accessor.ts","../../projects/paperless/src/lib/directives/pagination.directive.ts","../../projects/paperless/src/lib/directives/index.ts","../../projects/paperless/src/lib/stencil/angular-component-lib/utils.ts","../../projects/paperless/src/lib/stencil/components.ts","../../projects/paperless/src/lib/stencil/index.ts","../../projects/paperless/src/lib/paperless.module.ts","../../projects/paperless/src/public-api.ts","../../projects/paperless/src/paperless-angular.ts"],"sourcesContent":["import { Directive, ElementRef, HostListener } from '@angular/core';\nimport { ControlValueAccessor } from '@angular/forms';\n\n@Directive({})\nexport class ValueAccessor implements ControlValueAccessor {\n private onChange: (value: any) => void = () => {\n /**/\n };\n private onTouched: () => void = () => {\n /**/\n };\n protected lastValue: any;\n\n constructor(protected el: ElementRef) {}\n\n writeValue(value: any) {\n this.el.nativeElement.value = this.lastValue =\n value == null ? '' : value;\n }\n\n handleChangeEvent(value: any) {\n if (value !== this.lastValue) {\n this.lastValue = value;\n this.onChange(value);\n }\n }\n\n @HostListener('focusout')\n _handleBlurEvent() {\n this.onTouched();\n }\n\n registerOnChange(fn: (value: any) => void) {\n this.onChange = fn;\n }\n registerOnTouched(fn: () => void) {\n this.onTouched = fn;\n }\n}\n","import { Directive, ElementRef } from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\n\nimport { ValueAccessor } from '../base';\n\n@Directive({\n /* tslint:disable-next-line:directive-selector */\n selector: 'p-pagination',\n host: {\n '(pageChange)': 'handleChangeEvent($event.target.page)',\n },\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: PaginationDirective,\n multi: true,\n },\n ],\n})\nexport class PaginationDirective extends ValueAccessor {\n constructor(el: ElementRef) {\n super(el);\n }\n\n override writeValue(value: any) {\n this.el.nativeElement.page = this.lastValue =\n value == null ? '' : value;\n }\n\n override registerOnChange(fn: (_: number | null) => void) {\n super.registerOnChange((value) => fn(value === '' ? null : parseInt(value, 10)));\n }\n}\n","export * from './pagination.directive';\nimport { PaginationDirective } from './pagination.directive';\n\nexport const CUSTOM_DIRECTIVES = [PaginationDirective];\n","/* eslint-disable */\n/* tslint:disable */\nimport { fromEvent } from 'rxjs';\n\nexport const proxyInputs = (Cmp: any, inputs: string[]) => {\n const Prototype = Cmp.prototype;\n inputs.forEach(item => {\n Object.defineProperty(Prototype, item, {\n get() {\n return this.el[item];\n },\n set(val: any) {\n this.z.runOutsideAngular(() => (this.el[item] = val));\n }\n });\n });\n};\n\nexport const proxyMethods = (Cmp: any, methods: string[]) => {\n const Prototype = Cmp.prototype;\n methods.forEach(methodName => {\n Prototype[methodName] = function () {\n const args = arguments;\n return this.z.runOutsideAngular(() =>\n this.el[methodName].apply(this.el, args)\n );\n };\n });\n};\n\nexport const proxyOutputs = (instance: any, el: any, events: string[]) => {\n events.forEach(eventName => instance[eventName] = fromEvent(el, eventName));\n}\n\nexport const defineCustomElement = (tagName: string, customElement: any) => {\n if (\n customElement !== undefined &&\n typeof customElements !== 'undefined' &&\n !customElements.get(tagName)\n ) {\n customElements.define(tagName, customElement);\n }\n}\n\n// tslint:disable-next-line: only-arrow-functions\nexport function ProxyCmp(opts: { defineCustomElementFn?: () => void, inputs?: any; methods?: any }) {\n const decorator = function (cls: any) {\n const { defineCustomElementFn, inputs, methods } = opts;\n\n if (defineCustomElementFn !== undefined) {\n defineCustomElementFn();\n }\n\n if (inputs) {\n proxyInputs(cls, inputs);\n }\n if (methods) {\n proxyMethods(cls, methods);\n }\n return cls;\n };\n return decorator;\n}\n","/* tslint:disable */\n/* auto-generated angular directive proxies */\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, NgZone } from '@angular/core';\nimport { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n\nimport { Components } from '@paperless/core';\n\n\n\n\nexport declare interface PAvatar extends Components.PAvatar {}\n\n@ProxyCmp({\n defineCustomElementFn: undefined,\n inputs: ['defaultImage', 'size', 'src', 'variant']\n})\n@Component({\n selector: 'p-avatar',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n inputs: ['defaultImage', 'size', 'src', 'variant']\n})\nexport class PAvatar {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface PButton extends Components.PButton {\n /**\n * Button click event \n */\n onClick: EventEmitter<CustomEvent<MouseEvent>>;\n\n}\n\n@ProxyCmp({\n defineCustomElementFn: undefined,\n inputs: ['disabled', 'href', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'loading', 'size', 'target', 'variant']\n})\n@Component({\n selector: 'p-button',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n inputs: ['disabled', 'href', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'loading', 'size', 'target', 'variant']\n})\nexport class PButton {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n proxyOutputs(this, this.el, ['onClick']);\n }\n}\n\n\nexport declare interface PCounter extends Components.PCounter {}\n\n@ProxyCmp({\n defineCustomElementFn: undefined\n})\n@Component({\n selector: 'p-counter',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>'\n})\nexport class PCounter {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface PDivider extends Components.PDivider {}\n\n@ProxyCmp({\n defineCustomElementFn: undefined\n})\n@Component({\n selector: 'p-divider',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>'\n})\nexport class PDivider {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface PHelper extends Components.PHelper {}\n\n@ProxyCmp({\n defineCustomElementFn: undefined\n})\n@Component({\n selector: 'p-helper',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>'\n})\nexport class PHelper {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface PIcon extends Components.PIcon {}\n\n@ProxyCmp({\n defineCustomElementFn: undefined,\n inputs: ['flip', 'rotate', 'size', 'variant']\n})\n@Component({\n selector: 'p-icon',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n inputs: ['flip', 'rotate', 'size', 'variant']\n})\nexport class PIcon {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface PIllustration extends Components.PIllustration {}\n\n@ProxyCmp({\n defineCustomElementFn: undefined,\n inputs: ['variant']\n})\n@Component({\n selector: 'p-illustration',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n inputs: ['variant']\n})\nexport class PIllustration {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface PInfoPanel extends Components.PInfoPanel {}\n\n@ProxyCmp({\n defineCustomElementFn: undefined,\n inputs: ['closeable', 'content', 'header', 'variant']\n})\n@Component({\n selector: 'p-info-panel',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n inputs: ['closeable', 'content', 'header', 'variant']\n})\nexport class PInfoPanel {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface PLoader extends Components.PLoader {}\n\n@ProxyCmp({\n defineCustomElementFn: undefined,\n inputs: ['color', 'modalDescription', 'modalTitle', 'show', 'variant']\n})\n@Component({\n selector: 'p-loader',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n inputs: ['color', 'modalDescription', 'modalTitle', 'show', 'variant']\n})\nexport class PLoader {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface PNavigationItem extends Components.PNavigationItem {}\n\n@ProxyCmp({\n defineCustomElementFn: undefined,\n inputs: ['active', 'counter', 'href', 'icon', 'target']\n})\n@Component({\n selector: 'p-navigation-item',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n inputs: ['active', 'counter', 'href', 'icon', 'target']\n})\nexport class PNavigationItem {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface PPagination extends Components.PPagination {\n /**\n * \n */\n pageChange: EventEmitter<CustomEvent<number>>;\n\n}\n\n@ProxyCmp({\n defineCustomElementFn: undefined,\n inputs: ['page', 'pageSize', 'total']\n})\n@Component({\n selector: 'p-pagination',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n inputs: ['page', 'pageSize', 'total']\n})\nexport class PPagination {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n proxyOutputs(this, this.el, ['pageChange']);\n }\n}\n\n\nexport declare interface PPaginationItem extends Components.PPaginationItem {}\n\n@ProxyCmp({\n defineCustomElementFn: undefined,\n inputs: ['active']\n})\n@Component({\n selector: 'p-pagination-item',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n inputs: ['active']\n})\nexport class PPaginationItem {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nexport declare interface PTooltip extends Components.PTooltip {}\n\n@ProxyCmp({\n defineCustomElementFn: undefined,\n inputs: ['canManuallyClose', 'placement', 'popover', 'show', 'variant']\n})\n@Component({\n selector: 'p-tooltip',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n inputs: ['canManuallyClose', 'placement', 'popover', 'show', 'variant']\n})\nexport class PTooltip {\n protected el: HTMLElement;\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n","\nimport * as d from './components';\n\nexport const DIRECTIVES = [\n d.PAvatar,\n d.PButton,\n d.PCounter,\n d.PDivider,\n d.PHelper,\n d.PIcon,\n d.PIllustration,\n d.PInfoPanel,\n d.PLoader,\n d.PNavigationItem,\n d.PPagination,\n d.PPaginationItem,\n d.PTooltip\n];\n","import { NgModule } from '@angular/core';\nimport { CUSTOM_DIRECTIVES } from './directives';\nimport { DIRECTIVES } from './stencil';\n\n@NgModule({\n declarations: [...DIRECTIVES, ...CUSTOM_DIRECTIVES],\n exports: [...DIRECTIVES, ...CUSTOM_DIRECTIVES],\n})\nexport class PaperlessModule {}\n","/*\n * Public API Surface of paperless\n */\n\nexport * from './lib/directives';\nexport * from './lib/paperless.module';\nexport * from './lib/stencil/components';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["d.PAvatar","d.PButton","d.PCounter","d.PDivider","d.PHelper","d.PIcon","d.PIllustration","d.PInfoPanel","d.PLoader","d.PNavigationItem","d.PPagination","d.PPaginationItem","d.PTooltip","i1.PAvatar","i1.PButton","i1.PCounter","i1.PDivider","i1.PHelper","i1.PIcon","i1.PIllustration","i1.PInfoPanel","i1.PLoader","i1.PNavigationItem","i1.PPagination","i1.PPaginationItem","i1.PTooltip","i2.PaginationDirective"],"mappings":";;;;;;MAIa,aAAa,CAAA;AAStB,IAAA,WAAA,CAAsB,EAAc,EAAA;QAAd,IAAE,CAAA,EAAA,GAAF,EAAE,CAAY;QAR5B,IAAQ,CAAA,QAAA,GAAyB,MAAK;;AAE9C,SAAC,CAAC;QACM,IAAS,CAAA,SAAA,GAAe,MAAK;;AAErC,SAAC,CAAC;KAGsC;AAExC,IAAA,UAAU,CAAC,KAAU,EAAA;QACjB,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,KAAK,GAAG,IAAI,CAAC,SAAS;YACxC,KAAK,IAAI,IAAI,GAAG,EAAE,GAAG,KAAK,CAAC;KAClC;AAED,IAAA,iBAAiB,CAAC,KAAU,EAAA;AACxB,QAAA,IAAI,KAAK,KAAK,IAAI,CAAC,SAAS,EAAE;AAC1B,YAAA,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;AACvB,YAAA,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AACxB,SAAA;KACJ;IAGD,gBAAgB,GAAA;QACZ,IAAI,CAAC,SAAS,EAAE,CAAC;KACpB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AAG,UAAU,EAAE,GAAG,iBAAiB,CAAC;AACjD,iBAAA,CAAA;;;ACPD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './value-accessor';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ValueAccessor implements ControlValueAccessor {
|
|
5
|
+
protected el: ElementRef;
|
|
6
|
+
private onChange;
|
|
7
|
+
private onTouched;
|
|
8
|
+
protected lastValue: any;
|
|
9
|
+
constructor(el: ElementRef);
|
|
10
|
+
writeValue(value: any): void;
|
|
11
|
+
handleChangeEvent(value: any): void;
|
|
12
|
+
_handleBlurEvent(): void;
|
|
13
|
+
registerOnChange(fn: (value: any) => void): void;
|
|
14
|
+
registerOnTouched(fn: () => void): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ValueAccessor, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ValueAccessor, never, never, {}, {}, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { ValueAccessor } from '../base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PaginationDirective extends ValueAccessor {
|
|
5
|
+
constructor(el: ElementRef);
|
|
6
|
+
writeValue(value: any): void;
|
|
7
|
+
registerOnChange(fn: (_: number | null) => void): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PaginationDirective, "p-pagination", never, {}, {}, never>;
|
|
10
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
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
4
|
export declare class PaperlessModule {
|
|
4
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<PaperlessModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PaperlessModule, [typeof i1.PButton, typeof i1.PIcon, typeof i1.PIllustration, typeof i1.PLoader, typeof i1.PTooltip], never, [typeof i1.PButton, typeof i1.PIcon, typeof i1.PIllustration, typeof i1.PLoader, typeof i1.PTooltip]>;
|
|
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]>;
|
|
6
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<PaperlessModule>;
|
|
7
8
|
}
|