@paperless/angular 0.1.0-alpha.0 → 0.1.0-alpha.4
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/esm2020/lib/paperless.module.mjs +1 -1
- package/esm2020/lib/stencil/components.mjs +31 -5
- package/esm2020/lib/stencil/index.mjs +2 -1
- package/fesm2015/paperless-angular.mjs +31 -5
- package/fesm2015/paperless-angular.mjs.map +1 -1
- package/fesm2020/paperless-angular.mjs +31 -5
- package/fesm2020/paperless-angular.mjs.map +1 -1
- package/lib/paperless.module.d.ts +1 -1
- package/lib/stencil/components.d.ts +15 -2
- package/lib/stencil/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ import * as i1 from "./stencil/components";
|
|
|
5
5
|
export class PaperlessModule {
|
|
6
6
|
}
|
|
7
7
|
PaperlessModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
-
PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, declarations: [i1.PButton, i1.PIcon, i1.PIllustration, i1.PTooltip], exports: [i1.PButton, i1.PIcon, i1.PIllustration, i1.PTooltip] });
|
|
8
|
+
PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, declarations: [i1.PButton, i1.PIcon, i1.PIllustration, i1.PLoader, i1.PTooltip], exports: [i1.PButton, i1.PIcon, i1.PIllustration, i1.PLoader, i1.PTooltip] });
|
|
9
9
|
PaperlessModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule });
|
|
10
10
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, decorators: [{
|
|
11
11
|
type: NgModule,
|
|
@@ -2,21 +2,22 @@ import { __decorate } from "tslib";
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* auto-generated angular directive proxies */
|
|
4
4
|
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
5
|
-
import { ProxyCmp } from './angular-component-lib/utils';
|
|
5
|
+
import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
let PButton = class PButton {
|
|
8
8
|
constructor(c, r, z) {
|
|
9
9
|
this.z = z;
|
|
10
10
|
c.detach();
|
|
11
11
|
this.el = r.nativeElement;
|
|
12
|
+
proxyOutputs(this, this.el, ['click']);
|
|
12
13
|
}
|
|
13
14
|
};
|
|
14
15
|
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 });
|
|
15
|
-
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 });
|
|
16
|
+
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 });
|
|
16
17
|
PButton = __decorate([
|
|
17
18
|
ProxyCmp({
|
|
18
19
|
defineCustomElementFn: undefined,
|
|
19
|
-
inputs: ['variant']
|
|
20
|
+
inputs: ['disabled', 'href', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'loading', 'size', 'target', 'variant']
|
|
20
21
|
})
|
|
21
22
|
], PButton);
|
|
22
23
|
export { PButton };
|
|
@@ -26,7 +27,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
26
27
|
selector: 'p-button',
|
|
27
28
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
28
29
|
template: '<ng-content></ng-content>',
|
|
29
|
-
inputs: ['variant']
|
|
30
|
+
inputs: ['disabled', 'href', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'loading', 'size', 'target', 'variant']
|
|
30
31
|
}]
|
|
31
32
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
32
33
|
let PIcon = class PIcon {
|
|
@@ -79,6 +80,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
79
80
|
inputs: ['variant']
|
|
80
81
|
}]
|
|
81
82
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
83
|
+
let PLoader = class PLoader {
|
|
84
|
+
constructor(c, r, z) {
|
|
85
|
+
this.z = z;
|
|
86
|
+
c.detach();
|
|
87
|
+
this.el = r.nativeElement;
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
PLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PLoader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
91
|
+
PLoader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PLoader, selector: "p-loader", inputs: { color: "color", modalDescription: "modalDescription", modalTitle: "modalTitle", show: "show", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
92
|
+
PLoader = __decorate([
|
|
93
|
+
ProxyCmp({
|
|
94
|
+
defineCustomElementFn: undefined,
|
|
95
|
+
inputs: ['color', 'modalDescription', 'modalTitle', 'show', 'variant']
|
|
96
|
+
})
|
|
97
|
+
], PLoader);
|
|
98
|
+
export { PLoader };
|
|
99
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PLoader, decorators: [{
|
|
100
|
+
type: Component,
|
|
101
|
+
args: [{
|
|
102
|
+
selector: 'p-loader',
|
|
103
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
104
|
+
template: '<ng-content></ng-content>',
|
|
105
|
+
inputs: ['color', 'modalDescription', 'modalTitle', 'show', 'variant']
|
|
106
|
+
}]
|
|
107
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
82
108
|
let PTooltip = class PTooltip {
|
|
83
109
|
constructor(c, r, z) {
|
|
84
110
|
this.z = z;
|
|
@@ -104,4 +130,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
104
130
|
inputs: ['content', 'forceShow', 'placement']
|
|
105
131
|
}]
|
|
106
132
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
107
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
133
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3BhcGVybGVzcy9zcmMvbGliL3N0ZW5jaWwvY29tcG9uZW50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FB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d.PButton,
|
|
4
4
|
d.PIcon,
|
|
5
5
|
d.PIllustration,
|
|
6
|
+
d.PLoader,
|
|
6
7
|
d.PTooltip
|
|
7
8
|
];
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9wYXBlcmxlc3Mvc3JjL2xpYi9zdGVuY2lsL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sS0FBSyxDQUFDLE1BQU0sY0FBYyxDQUFDO0FBRWxDLE1BQU0sQ0FBQyxNQUFNLFVBQVUsR0FBRztJQUN4QixDQUFDLENBQUMsT0FBTztJQUNULENBQUMsQ0FBQyxLQUFLO0lBQ1AsQ0FBQyxDQUFDLGFBQWE7SUFDZixDQUFDLENBQUMsT0FBTztJQUNULENBQUMsQ0FBQyxRQUFRO0NBQ1gsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIlxuaW1wb3J0ICogYXMgZCBmcm9tICcuL2NvbXBvbmVudHMnO1xuXG5leHBvcnQgY29uc3QgRElSRUNUSVZFUyA9IFtcbiAgZC5QQnV0dG9uLFxuICBkLlBJY29uLFxuICBkLlBJbGx1c3RyYXRpb24sXG4gIGQuUExvYWRlcixcbiAgZC5QVG9vbHRpcFxuXTtcbiJdfQ==
|
|
@@ -59,14 +59,15 @@ let PButton = class PButton {
|
|
|
59
59
|
this.z = z;
|
|
60
60
|
c.detach();
|
|
61
61
|
this.el = r.nativeElement;
|
|
62
|
+
proxyOutputs(this, this.el, ['click']);
|
|
62
63
|
}
|
|
63
64
|
};
|
|
64
65
|
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 });
|
|
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 });
|
|
66
67
|
PButton = __decorate([
|
|
67
68
|
ProxyCmp({
|
|
68
69
|
defineCustomElementFn: undefined,
|
|
69
|
-
inputs: ['variant']
|
|
70
|
+
inputs: ['disabled', 'href', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'loading', 'size', 'target', 'variant']
|
|
70
71
|
})
|
|
71
72
|
], PButton);
|
|
72
73
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PButton, decorators: [{
|
|
@@ -75,7 +76,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
75
76
|
selector: 'p-button',
|
|
76
77
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
77
78
|
template: '<ng-content></ng-content>',
|
|
78
|
-
inputs: ['variant']
|
|
79
|
+
inputs: ['disabled', 'href', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'loading', 'size', 'target', 'variant']
|
|
79
80
|
}]
|
|
80
81
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
81
82
|
let PIcon = class PIcon {
|
|
@@ -126,6 +127,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
126
127
|
inputs: ['variant']
|
|
127
128
|
}]
|
|
128
129
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
130
|
+
let PLoader = class PLoader {
|
|
131
|
+
constructor(c, r, z) {
|
|
132
|
+
this.z = z;
|
|
133
|
+
c.detach();
|
|
134
|
+
this.el = r.nativeElement;
|
|
135
|
+
}
|
|
136
|
+
};
|
|
137
|
+
PLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PLoader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
138
|
+
PLoader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PLoader, selector: "p-loader", inputs: { color: "color", modalDescription: "modalDescription", modalTitle: "modalTitle", show: "show", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
139
|
+
PLoader = __decorate([
|
|
140
|
+
ProxyCmp({
|
|
141
|
+
defineCustomElementFn: undefined,
|
|
142
|
+
inputs: ['color', 'modalDescription', 'modalTitle', 'show', 'variant']
|
|
143
|
+
})
|
|
144
|
+
], PLoader);
|
|
145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PLoader, decorators: [{
|
|
146
|
+
type: Component,
|
|
147
|
+
args: [{
|
|
148
|
+
selector: 'p-loader',
|
|
149
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
150
|
+
template: '<ng-content></ng-content>',
|
|
151
|
+
inputs: ['color', 'modalDescription', 'modalTitle', 'show', 'variant']
|
|
152
|
+
}]
|
|
153
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
129
154
|
let PTooltip = class PTooltip {
|
|
130
155
|
constructor(c, r, z) {
|
|
131
156
|
this.z = z;
|
|
@@ -155,13 +180,14 @@ const DIRECTIVES = [
|
|
|
155
180
|
PButton,
|
|
156
181
|
PIcon,
|
|
157
182
|
PIllustration,
|
|
183
|
+
PLoader,
|
|
158
184
|
PTooltip
|
|
159
185
|
];
|
|
160
186
|
|
|
161
187
|
class PaperlessModule {
|
|
162
188
|
}
|
|
163
189
|
PaperlessModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
164
|
-
PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, declarations: [PButton, PIcon, PIllustration, PTooltip], exports: [PButton, PIcon, PIllustration, PTooltip] });
|
|
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] });
|
|
165
191
|
PaperlessModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule });
|
|
166
192
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, decorators: [{
|
|
167
193
|
type: NgModule,
|
|
@@ -179,5 +205,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
179
205
|
* Generated bundle index. Do not edit.
|
|
180
206
|
*/
|
|
181
207
|
|
|
182
|
-
export { PButton, PIcon, PIllustration, PTooltip, PaperlessModule };
|
|
208
|
+
export { PButton, PIcon, PIllustration, PLoader, PTooltip, PaperlessModule };
|
|
183
209
|
//# 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 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.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.PTooltip","i1.PButton","i1.PIcon","i1.PIllustration","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,UAAU,CAAC,GAAG,YAA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,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;8GAAf,eAAe,EAAA,YAAA,EAAA,CAAAC,OAAA,EAAAC,KAAA,EAAAC,aAAA,EAAAC,QAAA,CAAA,EAAA,OAAA,EAAA,CAAAH,OAAA,EAAAC,KAAA,EAAAC,aAAA,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;iBACzB,CAAA;;;ACND;;AAEG;;ACFH;;AAEG;;;;"}
|
|
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 * Button press event \n */\n click: 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, ['click']);\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,UAAU,CAAC,GAAG,YAAA;YACtB,MAAM,IAAI,GAAG,SAAS,CAAC;YACvB,OAAO,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,MAC9B,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,CACzC,CAAC;AACJ,SAAC,CAAC;AACJ,KAAC,CAAC,CAAC;AACL,CAAC,CAAC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AAAC,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;iBACzB,CAAA;;;ACND;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -59,14 +59,15 @@ let PButton = class PButton {
|
|
|
59
59
|
this.z = z;
|
|
60
60
|
c.detach();
|
|
61
61
|
this.el = r.nativeElement;
|
|
62
|
+
proxyOutputs(this, this.el, ['click']);
|
|
62
63
|
}
|
|
63
64
|
};
|
|
64
65
|
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 });
|
|
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 });
|
|
66
67
|
PButton = __decorate([
|
|
67
68
|
ProxyCmp({
|
|
68
69
|
defineCustomElementFn: undefined,
|
|
69
|
-
inputs: ['variant']
|
|
70
|
+
inputs: ['disabled', 'href', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'loading', 'size', 'target', 'variant']
|
|
70
71
|
})
|
|
71
72
|
], PButton);
|
|
72
73
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PButton, decorators: [{
|
|
@@ -75,7 +76,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
75
76
|
selector: 'p-button',
|
|
76
77
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
77
78
|
template: '<ng-content></ng-content>',
|
|
78
|
-
inputs: ['variant']
|
|
79
|
+
inputs: ['disabled', 'href', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'loading', 'size', 'target', 'variant']
|
|
79
80
|
}]
|
|
80
81
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
81
82
|
let PIcon = class PIcon {
|
|
@@ -126,6 +127,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
126
127
|
inputs: ['variant']
|
|
127
128
|
}]
|
|
128
129
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
130
|
+
let PLoader = class PLoader {
|
|
131
|
+
constructor(c, r, z) {
|
|
132
|
+
this.z = z;
|
|
133
|
+
c.detach();
|
|
134
|
+
this.el = r.nativeElement;
|
|
135
|
+
}
|
|
136
|
+
};
|
|
137
|
+
PLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PLoader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
138
|
+
PLoader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PLoader, selector: "p-loader", inputs: { color: "color", modalDescription: "modalDescription", modalTitle: "modalTitle", show: "show", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
139
|
+
PLoader = __decorate([
|
|
140
|
+
ProxyCmp({
|
|
141
|
+
defineCustomElementFn: undefined,
|
|
142
|
+
inputs: ['color', 'modalDescription', 'modalTitle', 'show', 'variant']
|
|
143
|
+
})
|
|
144
|
+
], PLoader);
|
|
145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PLoader, decorators: [{
|
|
146
|
+
type: Component,
|
|
147
|
+
args: [{
|
|
148
|
+
selector: 'p-loader',
|
|
149
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
150
|
+
template: '<ng-content></ng-content>',
|
|
151
|
+
inputs: ['color', 'modalDescription', 'modalTitle', 'show', 'variant']
|
|
152
|
+
}]
|
|
153
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
129
154
|
let PTooltip = class PTooltip {
|
|
130
155
|
constructor(c, r, z) {
|
|
131
156
|
this.z = z;
|
|
@@ -155,13 +180,14 @@ const DIRECTIVES = [
|
|
|
155
180
|
PButton,
|
|
156
181
|
PIcon,
|
|
157
182
|
PIllustration,
|
|
183
|
+
PLoader,
|
|
158
184
|
PTooltip
|
|
159
185
|
];
|
|
160
186
|
|
|
161
187
|
class PaperlessModule {
|
|
162
188
|
}
|
|
163
189
|
PaperlessModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
164
|
-
PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, declarations: [PButton, PIcon, PIllustration, PTooltip], exports: [PButton, PIcon, PIllustration, PTooltip] });
|
|
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] });
|
|
165
191
|
PaperlessModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule });
|
|
166
192
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, decorators: [{
|
|
167
193
|
type: NgModule,
|
|
@@ -179,5 +205,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
179
205
|
* Generated bundle index. Do not edit.
|
|
180
206
|
*/
|
|
181
207
|
|
|
182
|
-
export { PButton, PIcon, PIllustration, PTooltip, PaperlessModule };
|
|
208
|
+
export { PButton, PIcon, PIllustration, PLoader, PTooltip, PaperlessModule };
|
|
183
209
|
//# 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 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.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.PTooltip","i1.PButton","i1.PIcon","i1.PIllustration","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,UAAU,CAAC,GAAG,YAAA;YACtB,MAAM,IAAI,GAAG,SAAS,CAAC;YACvB,OAAO,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,MAC9B,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,CACzC,CAAC;AACJ,SAAC,CAAC;AACJ,KAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAEK,MAAM,YAAY,GAAG,CAAC,QAAa,EAAE,EAAO,EAAE,MAAgB,KA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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/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 * Button press event \n */\n click: 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, ['click']);\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,MAA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,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;;;;"}
|
|
@@ -2,6 +2,6 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./stencil/components";
|
|
3
3
|
export declare class PaperlessModule {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<PaperlessModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PaperlessModule, [typeof i1.PButton, typeof i1.PIcon, typeof i1.PIllustration, typeof i1.PTooltip], never, [typeof i1.PButton, typeof i1.PIcon, typeof i1.PIllustration, typeof i1.PTooltip]>;
|
|
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
6
|
static ɵinj: i0.ɵɵInjectorDeclaration<PaperlessModule>;
|
|
7
7
|
}
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
|
|
2
2
|
import { Components } from '@paperless/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare interface PButton extends Components.PButton {
|
|
5
|
+
/**
|
|
6
|
+
* Button press event
|
|
7
|
+
*/
|
|
8
|
+
click: EventEmitter<CustomEvent<MouseEvent>>;
|
|
5
9
|
}
|
|
6
10
|
export declare class PButton {
|
|
7
11
|
protected z: NgZone;
|
|
8
12
|
protected el: HTMLElement;
|
|
9
13
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
10
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<PButton, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PButton, "p-button", never, { "variant": "variant"; }, {}, never, ["*"]>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PButton, "p-button", never, { "disabled": "disabled"; "href": "href"; "icon": "icon"; "iconFlip": "iconFlip"; "iconPosition": "iconPosition"; "iconRotate": "iconRotate"; "loading": "loading"; "size": "size"; "target": "target"; "variant": "variant"; }, {}, never, ["*"]>;
|
|
12
16
|
}
|
|
13
17
|
export declare interface PIcon extends Components.PIcon {
|
|
14
18
|
}
|
|
@@ -28,6 +32,15 @@ export declare class PIllustration {
|
|
|
28
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<PIllustration, never>;
|
|
29
33
|
static ɵcmp: i0.ɵɵComponentDeclaration<PIllustration, "p-illustration", never, { "variant": "variant"; }, {}, never, ["*"]>;
|
|
30
34
|
}
|
|
35
|
+
export declare interface PLoader extends Components.PLoader {
|
|
36
|
+
}
|
|
37
|
+
export declare class PLoader {
|
|
38
|
+
protected z: NgZone;
|
|
39
|
+
protected el: HTMLElement;
|
|
40
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PLoader, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PLoader, "p-loader", never, { "color": "color"; "modalDescription": "modalDescription"; "modalTitle": "modalTitle"; "show": "show"; "variant": "variant"; }, {}, never, ["*"]>;
|
|
43
|
+
}
|
|
31
44
|
export declare interface PTooltip extends Components.PTooltip {
|
|
32
45
|
}
|
|
33
46
|
export declare class PTooltip {
|
package/lib/stencil/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as d from './components';
|
|
2
|
-
export declare const DIRECTIVES: (typeof d.PButton | typeof d.PIcon | typeof d.PIllustration | typeof d.PTooltip)[];
|
|
2
|
+
export declare const DIRECTIVES: (typeof d.PButton | typeof d.PIcon | typeof d.PIllustration | typeof d.PLoader | typeof d.PTooltip)[];
|