@paperless/angular 1.9.4 → 1.11.0
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/base/upload.component.mjs +9 -10
- package/esm2020/lib/directives/index.mjs +4 -1
- package/esm2020/lib/directives/p-cropper.directive.mjs +37 -0
- package/esm2020/lib/modules/table/components/table/table.component.mjs +1 -1
- package/esm2020/lib/paperless.module.mjs +10 -9
- package/esm2020/lib/stencil/components.mjs +33 -7
- package/esm2020/lib/stencil/index.mjs +2 -1
- package/esm2020/lib/stencil.module.mjs +1 -1
- package/fesm2015/paperless-angular.mjs +78 -20
- package/fesm2015/paperless-angular.mjs.map +1 -1
- package/fesm2020/paperless-angular.mjs +78 -20
- package/fesm2020/paperless-angular.mjs.map +1 -1
- package/lib/base/upload.component.d.ts +2 -2
- package/lib/directives/index.d.ts +3 -2
- package/lib/directives/p-cropper.directive.d.ts +9 -0
- package/lib/paperless.module.d.ts +10 -9
- package/lib/stencil/components.d.ts +15 -2
- package/lib/stencil/index.d.ts +1 -1
- package/lib/stencil.module.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare abstract class BaseUploadComponent {
|
|
4
5
|
fileId?: string;
|
|
5
6
|
uploaded: boolean;
|
|
6
7
|
set loading(value: boolean);
|
|
7
|
-
get loading(): boolean;
|
|
8
8
|
fileChange: EventEmitter<any>;
|
|
9
9
|
uploaderInput?: ElementRef;
|
|
10
10
|
file?: File;
|
|
11
|
-
|
|
11
|
+
loading$: BehaviorSubject<boolean>;
|
|
12
12
|
onChange($event: Event): void;
|
|
13
13
|
onLoad(file: File, result: string): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseUploadComponent, never>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
export * from './p-cropper.directive';
|
|
1
2
|
export * from './p-datepicker.directive';
|
|
2
3
|
export * from './p-page-size-select.directive';
|
|
3
4
|
export * from './p-pagination.directive';
|
|
4
5
|
export * from './p-select.directive';
|
|
5
|
-
import {
|
|
6
|
-
export declare const DIRECTIVES: (typeof
|
|
6
|
+
import { CropperDirective } from './p-cropper.directive';
|
|
7
|
+
export declare const DIRECTIVES: (typeof CropperDirective)[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { BaseValueAccessor } from '../base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CropperDirective extends BaseValueAccessor {
|
|
5
|
+
constructor(el: ElementRef);
|
|
6
|
+
writeValue(value: any): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CropperDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CropperDirective, "p-cropper", never, {}, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -4,17 +4,18 @@ import * as i1 from "./directives/p-pagination.directive";
|
|
|
4
4
|
import * as i2 from "./directives/p-page-size-select.directive";
|
|
5
5
|
import * as i3 from "./directives/p-select.directive";
|
|
6
6
|
import * as i4 from "./directives/p-datepicker.directive";
|
|
7
|
-
import * as i5 from "./
|
|
8
|
-
import * as i6 from "./pipes/
|
|
9
|
-
import * as i7 from "./pipes/
|
|
10
|
-
import * as i8 from "
|
|
11
|
-
import * as i9 from "
|
|
12
|
-
import * as i10 from "./
|
|
13
|
-
import * as i11 from "./modules/
|
|
14
|
-
import * as i12 from "./modules/
|
|
7
|
+
import * as i5 from "./directives/p-cropper.directive";
|
|
8
|
+
import * as i6 from "./pipes/currency.pipe";
|
|
9
|
+
import * as i7 from "./pipes/date.pipe";
|
|
10
|
+
import * as i8 from "./pipes/safe.pipe";
|
|
11
|
+
import * as i9 from "@angular/common";
|
|
12
|
+
import * as i10 from "./stencil.module";
|
|
13
|
+
import * as i11 from "./modules/table/table.module";
|
|
14
|
+
import * as i12 from "./modules/toast/toast.module";
|
|
15
|
+
import * as i13 from "./modules/overlay/overlay.module";
|
|
15
16
|
export declare class PaperlessModule {
|
|
16
17
|
static forRoot(): ModuleWithProviders<PaperlessModule>;
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<PaperlessModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PaperlessModule, [typeof i1.PaginationDirective, typeof i2.PageSizeSelectDirective, typeof i3.SelectDirective, typeof i4.DatepickerDirective, typeof i5.
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PaperlessModule, [typeof i1.PaginationDirective, typeof i2.PageSizeSelectDirective, typeof i3.SelectDirective, typeof i4.DatepickerDirective, typeof i5.CropperDirective, typeof i6.CustomCurrencyPipe, typeof i7.CustomDatePipe, typeof i8.SafePipe], [typeof i9.CommonModule, typeof i10.StencilModule, typeof i11.TableModule, typeof i12.ToastModule, typeof i13.OverlayModule], [typeof i10.StencilModule, typeof i11.TableModule, typeof i12.ToastModule, typeof i13.OverlayModule, typeof i1.PaginationDirective, typeof i2.PageSizeSelectDirective, typeof i3.SelectDirective, typeof i4.DatepickerDirective, typeof i5.CropperDirective, typeof i6.CustomCurrencyPipe, typeof i7.CustomDatePipe, typeof i8.SafePipe]>;
|
|
19
20
|
static ɵinj: i0.ɵɵInjectorDeclaration<PaperlessModule>;
|
|
20
21
|
}
|
|
@@ -134,6 +134,19 @@ export declare class PCounter {
|
|
|
134
134
|
}
|
|
135
135
|
export declare interface PCounter extends Components.PCounter {
|
|
136
136
|
}
|
|
137
|
+
export declare class PCropper {
|
|
138
|
+
protected z: NgZone;
|
|
139
|
+
protected el: HTMLElement;
|
|
140
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
141
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PCropper, never>;
|
|
142
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PCropper, "p-cropper", never, { "returnType": "returnType"; "value": "value"; "variant": "variant"; }, {}, never, ["*"], false, never>;
|
|
143
|
+
}
|
|
144
|
+
export declare interface PCropper extends Components.PCropper {
|
|
145
|
+
/**
|
|
146
|
+
* Event when the value changes
|
|
147
|
+
*/
|
|
148
|
+
valueChange: EventEmitter<CustomEvent<any>>;
|
|
149
|
+
}
|
|
137
150
|
export declare class PDatepicker {
|
|
138
151
|
protected z: NgZone;
|
|
139
152
|
protected el: HTMLElement;
|
|
@@ -324,7 +337,7 @@ export declare class PModal {
|
|
|
324
337
|
protected el: HTMLElement;
|
|
325
338
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
326
339
|
static ɵfac: i0.ɵɵFactoryDeclaration<PModal, never>;
|
|
327
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PModal, "p-modal", never, { "applyBlur": "applyBlur"; "backdropClickClose": "backdropClickClose"; "header": "header"; "scrollLock": "scrollLock"; "show": "show"; "showClose": "showClose"; "showMobileFooter": "showMobileFooter"; "size": "size"; "variant": "variant"; }, {}, never, ["*"], false, never>;
|
|
340
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PModal, "p-modal", never, { "applyBlur": "applyBlur"; "backdropClickClose": "backdropClickClose"; "header": "header"; "padding": "padding"; "scrollLock": "scrollLock"; "show": "show"; "showClose": "showClose"; "showMobileFooter": "showMobileFooter"; "size": "size"; "variant": "variant"; }, {}, never, ["*"], false, never>;
|
|
328
341
|
}
|
|
329
342
|
export declare interface PModal extends Components.PModal {
|
|
330
343
|
/**
|
|
@@ -341,7 +354,7 @@ export declare class PModalBody {
|
|
|
341
354
|
protected el: HTMLElement;
|
|
342
355
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
343
356
|
static ɵfac: i0.ɵɵFactoryDeclaration<PModalBody, never>;
|
|
344
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PModalBody, "p-modal-body", never, { "rounded": "rounded"; "variant": "variant"; }, {}, never, ["*"], false, never>;
|
|
357
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PModalBody, "p-modal-body", never, { "padding": "padding"; "rounded": "rounded"; "variant": "variant"; }, {}, never, ["*"], false, never>;
|
|
345
358
|
}
|
|
346
359
|
export declare interface PModalBody extends Components.PModalBody {
|
|
347
360
|
}
|
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.PAccordion | typeof d.PAttachment | typeof d.PAvatar | typeof d.PAvatarGroup | typeof d.PBackdrop | typeof d.PButton | typeof d.PCalendar | typeof d.PCardBody | typeof d.PCardContainer | typeof d.PCardHeader | typeof d.PContentSlider | typeof d.PCounter | typeof d.PDatepicker | typeof d.PDivider | typeof d.PDrawer | typeof d.PDrawerBody | typeof d.PDrawerContainer | typeof d.PDrawerHeader | typeof d.PDropdown | typeof d.PDropdownMenuContainer | typeof d.PDropdownMenuItem | typeof d.PHelper | typeof d.PIcon | typeof d.PIllustration | typeof d.PInfoPanel | typeof d.PInputError | typeof d.PInputGroup | typeof d.PLabel | typeof d.PLayout | typeof d.PLoader | typeof d.PModal | typeof d.PModalBody | typeof d.PModalContainer | typeof d.PModalFooter | typeof d.PModalHeader | typeof d.PNavbar | typeof d.PNavigationItem | typeof d.PPageSizeSelect | typeof d.PPagination | typeof d.PPaginationItem | typeof d.PProfile | typeof d.PSegmentContainer | typeof d.PSegmentItem | typeof d.PSelect | typeof d.PSliderIndicator | typeof d.PStatus | typeof d.PStepper | typeof d.PStepperItem | typeof d.PStepperLine | typeof d.PTabGroup | typeof d.PTabItem | typeof d.PTableContainer | typeof d.PTableFooter | typeof d.PTableHeader | typeof d.PTableRow | typeof d.PToast | typeof d.PTooltip)[];
|
|
2
|
+
export declare const DIRECTIVES: (typeof d.PAccordion | typeof d.PAttachment | typeof d.PAvatar | typeof d.PAvatarGroup | typeof d.PBackdrop | typeof d.PButton | typeof d.PCalendar | typeof d.PCardBody | typeof d.PCardContainer | typeof d.PCardHeader | typeof d.PContentSlider | typeof d.PCounter | typeof d.PCropper | typeof d.PDatepicker | typeof d.PDivider | typeof d.PDrawer | typeof d.PDrawerBody | typeof d.PDrawerContainer | typeof d.PDrawerHeader | typeof d.PDropdown | typeof d.PDropdownMenuContainer | typeof d.PDropdownMenuItem | typeof d.PHelper | typeof d.PIcon | typeof d.PIllustration | typeof d.PInfoPanel | typeof d.PInputError | typeof d.PInputGroup | typeof d.PLabel | typeof d.PLayout | typeof d.PLoader | typeof d.PModal | typeof d.PModalBody | typeof d.PModalContainer | typeof d.PModalFooter | typeof d.PModalHeader | typeof d.PNavbar | typeof d.PNavigationItem | typeof d.PPageSizeSelect | typeof d.PPagination | typeof d.PPaginationItem | typeof d.PProfile | typeof d.PSegmentContainer | typeof d.PSegmentItem | typeof d.PSelect | typeof d.PSliderIndicator | typeof d.PStatus | typeof d.PStepper | typeof d.PStepperItem | typeof d.PStepperLine | typeof d.PTabGroup | typeof d.PTabItem | typeof d.PTableContainer | typeof d.PTableFooter | typeof d.PTableHeader | typeof d.PTableRow | typeof d.PToast | typeof d.PTooltip)[];
|
package/lib/stencil.module.d.ts
CHANGED
|
@@ -2,6 +2,6 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./stencil/components";
|
|
3
3
|
export declare class StencilModule {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<StencilModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<StencilModule, [typeof i1.PAccordion, typeof i1.PAttachment, typeof i1.PAvatar, typeof i1.PAvatarGroup, typeof i1.PBackdrop, typeof i1.PButton, typeof i1.PCalendar, typeof i1.PCardBody, typeof i1.PCardContainer, typeof i1.PCardHeader, typeof i1.PContentSlider, typeof i1.PCounter, typeof i1.PDatepicker, typeof i1.PDivider, typeof i1.PDrawer, typeof i1.PDrawerBody, typeof i1.PDrawerContainer, typeof i1.PDrawerHeader, typeof i1.PDropdown, typeof i1.PDropdownMenuContainer, typeof i1.PDropdownMenuItem, typeof i1.PHelper, typeof i1.PIcon, typeof i1.PIllustration, typeof i1.PInfoPanel, typeof i1.PInputError, typeof i1.PInputGroup, typeof i1.PLabel, typeof i1.PLayout, typeof i1.PLoader, typeof i1.PModal, typeof i1.PModalBody, typeof i1.PModalContainer, typeof i1.PModalFooter, typeof i1.PModalHeader, typeof i1.PNavbar, typeof i1.PNavigationItem, typeof i1.PPageSizeSelect, typeof i1.PPagination, typeof i1.PPaginationItem, typeof i1.PProfile, typeof i1.PSegmentContainer, typeof i1.PSegmentItem, typeof i1.PSelect, typeof i1.PSliderIndicator, typeof i1.PStatus, typeof i1.PStepper, typeof i1.PStepperItem, typeof i1.PStepperLine, typeof i1.PTabGroup, typeof i1.PTabItem, typeof i1.PTableContainer, typeof i1.PTableFooter, typeof i1.PTableHeader, typeof i1.PTableRow, typeof i1.PToast, typeof i1.PTooltip], never, [typeof i1.PAccordion, typeof i1.PAttachment, typeof i1.PAvatar, typeof i1.PAvatarGroup, typeof i1.PBackdrop, typeof i1.PButton, typeof i1.PCalendar, typeof i1.PCardBody, typeof i1.PCardContainer, typeof i1.PCardHeader, typeof i1.PContentSlider, typeof i1.PCounter, typeof i1.PDatepicker, typeof i1.PDivider, typeof i1.PDrawer, typeof i1.PDrawerBody, typeof i1.PDrawerContainer, typeof i1.PDrawerHeader, typeof i1.PDropdown, typeof i1.PDropdownMenuContainer, typeof i1.PDropdownMenuItem, typeof i1.PHelper, typeof i1.PIcon, typeof i1.PIllustration, typeof i1.PInfoPanel, typeof i1.PInputError, typeof i1.PInputGroup, typeof i1.PLabel, typeof i1.PLayout, typeof i1.PLoader, typeof i1.PModal, typeof i1.PModalBody, typeof i1.PModalContainer, typeof i1.PModalFooter, typeof i1.PModalHeader, typeof i1.PNavbar, typeof i1.PNavigationItem, typeof i1.PPageSizeSelect, typeof i1.PPagination, typeof i1.PPaginationItem, typeof i1.PProfile, typeof i1.PSegmentContainer, typeof i1.PSegmentItem, typeof i1.PSelect, typeof i1.PSliderIndicator, typeof i1.PStatus, typeof i1.PStepper, typeof i1.PStepperItem, typeof i1.PStepperLine, typeof i1.PTabGroup, typeof i1.PTabItem, typeof i1.PTableContainer, typeof i1.PTableFooter, typeof i1.PTableHeader, typeof i1.PTableRow, typeof i1.PToast, typeof i1.PTooltip]>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StencilModule, [typeof i1.PAccordion, typeof i1.PAttachment, typeof i1.PAvatar, typeof i1.PAvatarGroup, typeof i1.PBackdrop, typeof i1.PButton, typeof i1.PCalendar, typeof i1.PCardBody, typeof i1.PCardContainer, typeof i1.PCardHeader, typeof i1.PContentSlider, typeof i1.PCounter, typeof i1.PCropper, typeof i1.PDatepicker, typeof i1.PDivider, typeof i1.PDrawer, typeof i1.PDrawerBody, typeof i1.PDrawerContainer, typeof i1.PDrawerHeader, typeof i1.PDropdown, typeof i1.PDropdownMenuContainer, typeof i1.PDropdownMenuItem, typeof i1.PHelper, typeof i1.PIcon, typeof i1.PIllustration, typeof i1.PInfoPanel, typeof i1.PInputError, typeof i1.PInputGroup, typeof i1.PLabel, typeof i1.PLayout, typeof i1.PLoader, typeof i1.PModal, typeof i1.PModalBody, typeof i1.PModalContainer, typeof i1.PModalFooter, typeof i1.PModalHeader, typeof i1.PNavbar, typeof i1.PNavigationItem, typeof i1.PPageSizeSelect, typeof i1.PPagination, typeof i1.PPaginationItem, typeof i1.PProfile, typeof i1.PSegmentContainer, typeof i1.PSegmentItem, typeof i1.PSelect, typeof i1.PSliderIndicator, typeof i1.PStatus, typeof i1.PStepper, typeof i1.PStepperItem, typeof i1.PStepperLine, typeof i1.PTabGroup, typeof i1.PTabItem, typeof i1.PTableContainer, typeof i1.PTableFooter, typeof i1.PTableHeader, typeof i1.PTableRow, typeof i1.PToast, typeof i1.PTooltip], never, [typeof i1.PAccordion, typeof i1.PAttachment, typeof i1.PAvatar, typeof i1.PAvatarGroup, typeof i1.PBackdrop, typeof i1.PButton, typeof i1.PCalendar, typeof i1.PCardBody, typeof i1.PCardContainer, typeof i1.PCardHeader, typeof i1.PContentSlider, typeof i1.PCounter, typeof i1.PCropper, typeof i1.PDatepicker, typeof i1.PDivider, typeof i1.PDrawer, typeof i1.PDrawerBody, typeof i1.PDrawerContainer, typeof i1.PDrawerHeader, typeof i1.PDropdown, typeof i1.PDropdownMenuContainer, typeof i1.PDropdownMenuItem, typeof i1.PHelper, typeof i1.PIcon, typeof i1.PIllustration, typeof i1.PInfoPanel, typeof i1.PInputError, typeof i1.PInputGroup, typeof i1.PLabel, typeof i1.PLayout, typeof i1.PLoader, typeof i1.PModal, typeof i1.PModalBody, typeof i1.PModalContainer, typeof i1.PModalFooter, typeof i1.PModalHeader, typeof i1.PNavbar, typeof i1.PNavigationItem, typeof i1.PPageSizeSelect, typeof i1.PPagination, typeof i1.PPaginationItem, typeof i1.PProfile, typeof i1.PSegmentContainer, typeof i1.PSegmentItem, typeof i1.PSelect, typeof i1.PSliderIndicator, typeof i1.PStatus, typeof i1.PStepper, typeof i1.PStepperItem, typeof i1.PStepperLine, typeof i1.PTabGroup, typeof i1.PTabItem, typeof i1.PTableContainer, typeof i1.PTableFooter, typeof i1.PTableHeader, typeof i1.PTableRow, typeof i1.PToast, typeof i1.PTooltip]>;
|
|
6
6
|
static ɵinj: i0.ɵɵInjectorDeclaration<StencilModule>;
|
|
7
7
|
}
|