@paperless/angular 0.1.0-alpha.2 → 0.1.0-alpha.200

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.
Files changed (59) hide show
  1. package/README.md +18 -1
  2. package/esm2020/lib/base/form.component.mjs +105 -0
  3. package/esm2020/lib/base/index.mjs +5 -0
  4. package/esm2020/lib/base/table.component.mjs +162 -0
  5. package/esm2020/lib/base/upload.component.mjs +57 -0
  6. package/esm2020/lib/base/value-accessor.mjs +42 -0
  7. package/esm2020/lib/components/index.mjs +8 -0
  8. package/esm2020/lib/components/table/constants.mjs +3 -0
  9. package/esm2020/lib/components/table/table.component.mjs +544 -0
  10. package/esm2020/lib/components/table-cell/table-cell.component.mjs +167 -0
  11. package/esm2020/lib/components/table-column/table-column.component.mjs +37 -0
  12. package/esm2020/lib/directives/index.mjs +25 -0
  13. package/esm2020/lib/directives/p-page-size-select.directive.mjs +42 -0
  14. package/esm2020/lib/directives/p-pagination.directive.mjs +42 -0
  15. package/esm2020/lib/directives/p-select.directive.mjs +38 -0
  16. package/esm2020/lib/directives/p-table-footer.directive.mjs +52 -0
  17. package/esm2020/lib/directives/p-table-header.directive.mjs +60 -0
  18. package/esm2020/lib/directives/p-table-ngx.directive.mjs +88 -0
  19. package/esm2020/lib/directives/p-table.directive.mjs +78 -0
  20. package/esm2020/lib/paperless.module.mjs +32 -7
  21. package/esm2020/lib/pipes/currency.pipe.mjs +20 -0
  22. package/esm2020/lib/pipes/date.pipe.mjs +20 -0
  23. package/esm2020/lib/pipes/index.mjs +8 -0
  24. package/esm2020/lib/pipes/safe.pipe.mjs +33 -0
  25. package/esm2020/lib/stencil/components.mjs +1104 -28
  26. package/esm2020/lib/stencil/index.mjs +44 -1
  27. package/esm2020/public-api.mjs +5 -1
  28. package/fesm2015/paperless-angular.mjs +2659 -50
  29. package/fesm2015/paperless-angular.mjs.map +1 -1
  30. package/fesm2020/paperless-angular.mjs +2670 -50
  31. package/fesm2020/paperless-angular.mjs.map +1 -1
  32. package/{paperless-angular.d.ts → index.d.ts} +0 -0
  33. package/lib/base/form.component.d.ts +15 -0
  34. package/lib/base/index.d.ts +4 -0
  35. package/lib/base/table.component.d.ts +45 -0
  36. package/lib/base/upload.component.d.ts +16 -0
  37. package/lib/base/value-accessor.d.ts +17 -0
  38. package/lib/components/index.d.ts +7 -0
  39. package/lib/components/table/constants.d.ts +2 -0
  40. package/lib/components/table/table.component.d.ts +190 -0
  41. package/lib/components/table-cell/table-cell.component.d.ts +45 -0
  42. package/lib/components/table-column/table-column.component.d.ts +17 -0
  43. package/lib/directives/index.d.ts +10 -0
  44. package/lib/directives/p-page-size-select.directive.d.ts +10 -0
  45. package/lib/directives/p-pagination.directive.d.ts +10 -0
  46. package/lib/directives/p-select.directive.d.ts +9 -0
  47. package/lib/directives/p-table-footer.directive.d.ts +11 -0
  48. package/lib/directives/p-table-header.directive.d.ts +17 -0
  49. package/lib/directives/p-table-ngx.directive.d.ts +24 -0
  50. package/lib/directives/p-table.directive.d.ts +22 -0
  51. package/lib/paperless.module.d.ts +15 -1
  52. package/lib/pipes/currency.pipe.d.ts +10 -0
  53. package/lib/pipes/date.pipe.d.ts +10 -0
  54. package/lib/pipes/index.d.ts +7 -0
  55. package/lib/pipes/safe.pipe.d.ts +10 -0
  56. package/lib/stencil/components.d.ts +462 -6
  57. package/lib/stencil/index.d.ts +1 -1
  58. package/package.json +7 -6
  59. package/public-api.d.ts +4 -0
@@ -0,0 +1,16 @@
1
+ import { ElementRef, EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare abstract class BaseUploadComponent {
4
+ fileId?: string;
5
+ uploaded: boolean;
6
+ set loading(value: boolean);
7
+ get loading(): boolean;
8
+ fileChange: EventEmitter<any>;
9
+ uploaderInput?: ElementRef;
10
+ file?: File;
11
+ private _loading;
12
+ onChange($event: Event): void;
13
+ onLoad(file: File, result: string): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseUploadComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaseUploadComponent, "ng-component", never, { "fileId": "fileId"; "uploaded": "uploaded"; "loading": "loading"; }, { "fileChange": "fileChange"; }, never, never, false>;
16
+ }
@@ -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 BaseValueAccessor implements ControlValueAccessor {
5
+ protected el: ElementRef;
6
+ protected onChange: (value: any) => void;
7
+ protected onTouched: () => void;
8
+ protected lastValue: any;
9
+ constructor(el: ElementRef);
10
+ writeValue(value: any): void;
11
+ handleChangeEvent(value: any): void;
12
+ registerOnChange(fn: (value: any) => void): void;
13
+ registerOnTouched(fn: () => void): void;
14
+ private _handleBlurEvent;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseValueAccessor, never>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseValueAccessor, never, never, {}, {}, never, never, false>;
17
+ }
@@ -0,0 +1,7 @@
1
+ export * from './table-cell/table-cell.component';
2
+ export * from './table-column/table-column.component';
3
+ export * from './table/table.component';
4
+ import { TableCell } from './table-cell/table-cell.component';
5
+ import { TableColumn } from './table-column/table-column.component';
6
+ import { TableComponent } from './table/table.component';
7
+ export declare const COMPONENTS: (typeof TableCell | typeof TableColumn | typeof TableComponent)[];
@@ -0,0 +1,2 @@
1
+ export declare const defaultSize = 12;
2
+ export declare const defaultSizeOptions: number[];
@@ -0,0 +1,190 @@
1
+ import { EventEmitter, OnChanges, OnInit, QueryList, SimpleChanges } from '@angular/core';
2
+ import { QuickFilter, RowClickEvent } from '@paperless/core';
3
+ import { TableColumn } from '../table-column/table-column.component';
4
+ import * as i0 from "@angular/core";
5
+ export declare class TableComponent implements OnInit, OnChanges {
6
+ /**
7
+ * The items to be fed to the table
8
+ */
9
+ items: string;
10
+ /**
11
+ * Wether data is loading
12
+ */
13
+ loading: boolean;
14
+ /**
15
+ * The amount of loading rows to show
16
+ */
17
+ amountOfLoadingRows: number;
18
+ /**
19
+ * Wether to enable selection
20
+ */
21
+ enableRowSelection: boolean;
22
+ /**
23
+ * Wether to enable row clicking
24
+ */
25
+ enableRowClick: boolean;
26
+ /**
27
+ * The current selection of items
28
+ */
29
+ selectedRows: any[];
30
+ /**
31
+ * Event whenever the current selection changes
32
+ */
33
+ selectedRowsChange: EventEmitter<any>;
34
+ /**
35
+ * The key to determine if a row is selected
36
+ */
37
+ selectionKey: string | undefined;
38
+ /**
39
+ * A key to determine if a row can be selected
40
+ */
41
+ canSelectKey: string | undefined;
42
+ /**
43
+ * Event whenever a row is clicked
44
+ */
45
+ rowClick: EventEmitter<RowClickEvent>;
46
+ /**
47
+ * Event whenever a row is selected
48
+ */
49
+ rowSelected: EventEmitter<any>;
50
+ /**
51
+ * Event whenever a row is deselected
52
+ */
53
+ rowDeselected: EventEmitter<any>;
54
+ /** START HEADER */
55
+ /**
56
+ * Quick filters to show
57
+ */
58
+ quickFilters: QuickFilter[];
59
+ /**
60
+ * Active quick filter identifier
61
+ */
62
+ activeQuickFilterIdentifier: string | undefined;
63
+ /**
64
+ * Wether to show the search input
65
+ */
66
+ enableSearch: boolean;
67
+ /**
68
+ * The query to show in the search bar
69
+ */
70
+ query: string | undefined;
71
+ /**
72
+ * Wether to show the filter button
73
+ */
74
+ enableFilter: boolean;
75
+ /**
76
+ * The amount of filters being selected
77
+ */
78
+ selectedFiltersAmount: number | undefined;
79
+ /**
80
+ * The template for the filter button text
81
+ */
82
+ filterButtonTemplate: any;
83
+ /**
84
+ * Wether to show the edit button
85
+ */
86
+ enableEdit: boolean;
87
+ /**
88
+ * The template for the edit button text
89
+ */
90
+ editButtonTemplate: any;
91
+ /**
92
+ * Event when one of the quick filters is clicked
93
+ */
94
+ quickFilter: EventEmitter<QuickFilter>;
95
+ /**
96
+ * Event when the query changes
97
+ */
98
+ queryChange: EventEmitter<string>;
99
+ /**
100
+ * Event when the filter button is clicked
101
+ */
102
+ filter: EventEmitter<null>;
103
+ /**
104
+ * Event when the edit button is clicked
105
+ */
106
+ edit: EventEmitter<null>;
107
+ /** START FOOTER */
108
+ /**
109
+ * Wether to enable page size select
110
+ */
111
+ enablePageSize: boolean;
112
+ /**
113
+ * Wether to enable pagination
114
+ */
115
+ enablePagination: boolean;
116
+ /**
117
+ * Wether to enable export
118
+ */
119
+ enableExport: boolean;
120
+ /**
121
+ * The current page
122
+ */
123
+ page: number;
124
+ /**
125
+ * The total amount of items
126
+ */
127
+ total: number;
128
+ /**
129
+ * Event whenever the page changes
130
+ */
131
+ pageChange: EventEmitter<number>;
132
+ /**
133
+ * The amount of items per page
134
+ */
135
+ pageSize: number;
136
+ /**
137
+ * The options for the page size
138
+ */
139
+ pageSizeOptions: number[];
140
+ /**
141
+ * Event whenever the page changes
142
+ */
143
+ pageSizeChange: EventEmitter<number>;
144
+ /**
145
+ * Event whenever the page changes
146
+ */
147
+ export: EventEmitter<number>;
148
+ /**
149
+ * Wether to hide when there is only 1 page available
150
+ */
151
+ hideOnSinglePage: boolean;
152
+ columns: any[];
153
+ parsedItems: any[];
154
+ loadingRows: unknown[];
155
+ private _ctrlDown;
156
+ private _columnDefinitions;
157
+ set columnDefinitions(v: QueryList<TableColumn>);
158
+ get columnDefinitions(): QueryList<TableColumn>;
159
+ constructor();
160
+ ngOnInit(): void;
161
+ ngOnChanges(changes: SimpleChanges): void;
162
+ keyDown({ key }: {
163
+ key: string;
164
+ }): void;
165
+ keyUp({ key }: {
166
+ key: string;
167
+ }): void;
168
+ visibilityChange(): void;
169
+ onQueryChange({ detail }: CustomEvent<string>): void;
170
+ onQuickFilter({ detail }: CustomEvent<any>): void;
171
+ onPageSizeChange({ detail }: CustomEvent<number>): void;
172
+ onPageChange({ detail }: CustomEvent<number>): void;
173
+ private _parseItems;
174
+ private _generateColumns;
175
+ _checkboxDisabled(item: any): boolean | "" | undefined;
176
+ _selectAllChange($event: any): void;
177
+ _checkboxChange(target: any, index: number): void;
178
+ private _getCheckedValue;
179
+ private _getSelectionValue;
180
+ _selectionContains(row: any, index: number, returnIndex?: boolean): any;
181
+ _selectionContainsAll(): boolean;
182
+ _selectionIndeterminate(): boolean;
183
+ _rowClick($event: {
184
+ target: any;
185
+ }, index: number): void;
186
+ private _findRow;
187
+ private _findRowAction;
188
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
189
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "p-table-ngx", never, { "items": "items"; "loading": "loading"; "amountOfLoadingRows": "amountOfLoadingRows"; "enableRowSelection": "enableRowSelection"; "enableRowClick": "enableRowClick"; "selectedRows": "selectedRows"; "selectionKey": "selectionKey"; "canSelectKey": "canSelectKey"; "quickFilters": "quickFilters"; "activeQuickFilterIdentifier": "activeQuickFilterIdentifier"; "enableSearch": "enableSearch"; "query": "query"; "enableFilter": "enableFilter"; "selectedFiltersAmount": "selectedFiltersAmount"; "filterButtonTemplate": "filterButtonTemplate"; "enableEdit": "enableEdit"; "editButtonTemplate": "editButtonTemplate"; "enablePageSize": "enablePageSize"; "enablePagination": "enablePagination"; "enableExport": "enableExport"; "page": "page"; "total": "total"; "pageSize": "pageSize"; "pageSizeOptions": "pageSizeOptions"; "hideOnSinglePage": "hideOnSinglePage"; }, { "selectedRowsChange": "selectedRowsChange"; "rowClick": "rowClick"; "rowSelected": "rowSelected"; "rowDeselected": "rowDeselected"; "quickFilter": "quickFilter"; "queryChange": "queryChange"; "filter": "filter"; "edit": "edit"; "pageChange": "pageChange"; "pageSizeChange": "pageSizeChange"; "export": "export"; }, ["columnDefinitions"], never, false>;
190
+ }
@@ -0,0 +1,45 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import { TableDefinitionData } from '@paperless/core';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TableCell {
5
+ /**
6
+ * The variant of the column
7
+ */
8
+ variant: 'default' | 'loading' | 'header';
9
+ /**
10
+ * The index of the column
11
+ */
12
+ index: number;
13
+ /**
14
+ * The index of the row
15
+ */
16
+ rowIndex: number;
17
+ /**
18
+ * The definition of the table column
19
+ */
20
+ definition?: any;
21
+ /**
22
+ * The item in question
23
+ */
24
+ item: any;
25
+ /**
26
+ * The value of the column
27
+ */
28
+ value: any;
29
+ /**
30
+ * The checkbox templateRef
31
+ */
32
+ checkbox: TemplateRef<any> | undefined;
33
+ /**
34
+ * The template ref for the content
35
+ */
36
+ template: TemplateRef<any> | undefined;
37
+ get class(): any;
38
+ get data(): TableDefinitionData | {
39
+ value: string;
40
+ };
41
+ getColumnClasses(): any;
42
+ private _getSizes;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableCell, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableCell, "p-table-cell-ngx", never, { "variant": "variant"; "index": "index"; "rowIndex": "rowIndex"; "definition": "definition"; "item": "item"; "value": "value"; "checkbox": "checkbox"; "template": "template"; }, {}, never, never, false>;
45
+ }
@@ -0,0 +1,17 @@
1
+ import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone, TemplateRef } from '@angular/core';
2
+ import { Components } from '@paperless/core';
3
+ import * as i0 from "@angular/core";
4
+ export declare interface PTableColumn extends Components.PTableColumn {
5
+ /**
6
+ * Event to let the table know it has to re render
7
+ */
8
+ tableDefinitionChanged: EventEmitter<CustomEvent<boolean>>;
9
+ }
10
+ export declare class TableColumn {
11
+ protected z: NgZone;
12
+ protected el: HTMLElement;
13
+ template: TemplateRef<any> | undefined;
14
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableColumn, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableColumn, "p-table-column", never, { "align": "align"; "name": "name"; "path": "path"; "sizes": "sizes"; "type": "type"; "useSlot": "useSlot"; }, {}, ["template"], ["*"], false>;
17
+ }
@@ -0,0 +1,10 @@
1
+ export * from './p-page-size-select.directive';
2
+ export * from './p-pagination.directive';
3
+ export * from './p-select.directive';
4
+ export * from './p-table-footer.directive';
5
+ export * from './p-table-header.directive';
6
+ export * from './p-table-ngx.directive';
7
+ export * from './p-table.directive';
8
+ import { SelectDirective } from './p-select.directive';
9
+ import { TableNgxDirective } from './p-table-ngx.directive';
10
+ export declare const CUSTOM_DIRECTIVES: (typeof SelectDirective | typeof TableNgxDirective)[];
@@ -0,0 +1,10 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { BaseValueAccessor } from '../base';
3
+ import * as i0 from "@angular/core";
4
+ export declare class PageSizeSelectDirective extends BaseValueAccessor {
5
+ constructor(el: ElementRef);
6
+ writeValue(value: any): void;
7
+ registerOnChange(fn: (_: number | null) => void): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageSizeSelectDirective, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PageSizeSelectDirective, "p-page-size-select", never, {}, {}, never, never, false>;
10
+ }
@@ -0,0 +1,10 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { BaseValueAccessor } from '../base';
3
+ import * as i0 from "@angular/core";
4
+ export declare class PaginationDirective extends BaseValueAccessor {
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, never, false>;
10
+ }
@@ -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 SelectDirective extends BaseValueAccessor {
5
+ constructor(el: ElementRef);
6
+ writeValue(value: any): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SelectDirective, "p-select", never, {}, {}, never, never, false>;
9
+ }
@@ -0,0 +1,11 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { BaseValueAccessor } from '../base';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TableFooterDirective extends BaseValueAccessor {
5
+ protected lastValue: any;
6
+ constructor(el: ElementRef);
7
+ writeValue(value: any): void;
8
+ handleChange(value: number, type: 'page' | 'pageSize'): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableFooterDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableFooterDirective, "p-table-footer", never, {}, {}, never, never, false>;
11
+ }
@@ -0,0 +1,17 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { QuickFilter } from '@paperless/core';
3
+ import { BaseValueAccessor } from '../base';
4
+ import * as i0 from "@angular/core";
5
+ export interface TableHeaderDirectiveValue {
6
+ query?: string;
7
+ quickFilter?: QuickFilter;
8
+ }
9
+ export declare class TableHeaderDirective extends BaseValueAccessor {
10
+ protected lastValue: TableHeaderDirectiveValue;
11
+ constructor(el: ElementRef);
12
+ writeValue(value: TableHeaderDirectiveValue): void;
13
+ handleChange(value: string | QuickFilter, type: 'query' | 'quickFilter'): void;
14
+ private _setActiveQuickFilter;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderDirective, never>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderDirective, "p-table-header", never, {}, {}, never, never, false>;
17
+ }
@@ -0,0 +1,24 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { QuickFilter } from '@paperless/core';
3
+ import { BaseValueAccessor } from '../base';
4
+ import { TableComponent } from '../components/table/table.component';
5
+ import * as i0 from "@angular/core";
6
+ export interface TableDirectiveValue {
7
+ query?: string;
8
+ quickFilter?: QuickFilter;
9
+ page?: number;
10
+ pageSize?: number;
11
+ selectedRows?: any[];
12
+ }
13
+ export declare class TableNgxDirective extends BaseValueAccessor {
14
+ private _base;
15
+ protected lastValue: TableDirectiveValue;
16
+ constructor(el: ElementRef, _base: TableComponent);
17
+ writeValue(value: TableDirectiveValue): void;
18
+ registerOnChange(fn: (value: any) => void): void;
19
+ registerOnTouched(fn: () => void): void;
20
+ handleChange(value: number | string | QuickFilter, type: 'page' | 'pageSize' | 'query' | 'quickFilter' | 'selectedRows'): void;
21
+ private _setActiveQuickFilter;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableNgxDirective, [null, { host: true; }]>;
23
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableNgxDirective, "p-table-ngx", never, {}, {}, never, never, false>;
24
+ }
@@ -0,0 +1,22 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { QuickFilter } from '@paperless/core';
3
+ import { BaseValueAccessor } from '../base';
4
+ import * as i0 from "@angular/core";
5
+ export interface NGXTableDirectiveValue {
6
+ query?: string;
7
+ quickFilter?: QuickFilter;
8
+ page?: number;
9
+ pageSize?: number;
10
+ selectedRows?: any[];
11
+ }
12
+ export declare class TableDirective extends BaseValueAccessor {
13
+ protected lastValue: NGXTableDirectiveValue;
14
+ constructor(el: ElementRef);
15
+ writeValue(value: NGXTableDirectiveValue): void;
16
+ registerOnChange(fn: (value: any) => void): void;
17
+ registerOnTouched(fn: () => void): void;
18
+ handleChange(value: number | string | QuickFilter, type: 'page' | 'pageSize' | 'query' | 'quickFilter' | 'selectedRows'): void;
19
+ private _setActiveQuickFilter;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableDirective, never>;
21
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableDirective, "p-table", never, {}, {}, never, never, false>;
22
+ }
@@ -1,7 +1,21 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./stencil/components";
3
+ import * as i2 from "./components/table/table.component";
4
+ import * as i3 from "./components/table-column/table-column.component";
5
+ import * as i4 from "./components/table-cell/table-cell.component";
6
+ import * as i5 from "./pipes/currency.pipe";
7
+ import * as i6 from "./pipes/date.pipe";
8
+ import * as i7 from "./pipes/safe.pipe";
9
+ import * as i8 from "./directives/p-pagination.directive";
10
+ import * as i9 from "./directives/p-page-size-select.directive";
11
+ import * as i10 from "./directives/p-table-footer.directive";
12
+ import * as i11 from "./directives/p-table-header.directive";
13
+ import * as i12 from "./directives/p-table.directive";
14
+ import * as i13 from "./directives/p-table-ngx.directive";
15
+ import * as i14 from "./directives/p-select.directive";
16
+ import * as i15 from "@angular/common";
3
17
  export declare class PaperlessModule {
4
18
  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]>;
19
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PaperlessModule, [typeof i1.PAccordion, typeof i1.PAvatar, typeof i1.PAvatarGroup, typeof i1.PButton, typeof i1.PCardBody, typeof i1.PCardContainer, typeof i1.PCardHeader, typeof i1.PContentSlider, typeof i1.PCounter, typeof i1.PDivider, typeof i1.PDropdown, typeof i1.PDropdownMenuContainer, typeof i1.PDropdownMenuItem, typeof i1.PHelper, typeof i1.PIcon, typeof i1.PIllustration, typeof i1.PInfoPanel, typeof i1.PInputGroup, typeof i1.PLabel, typeof i1.PLayout, typeof i1.PLoader, typeof i1.PModal, typeof i1.PModalBackdrop, 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.PTooltip, typeof i2.TableComponent, typeof i3.TableColumn, typeof i4.TableCell, typeof i5.CustomCurrencyPipe, typeof i6.CustomDatePipe, typeof i7.SafePipe, typeof i8.PaginationDirective, typeof i9.PageSizeSelectDirective, typeof i10.TableFooterDirective, typeof i11.TableHeaderDirective, typeof i12.TableDirective, typeof i13.TableNgxDirective, typeof i14.SelectDirective], [typeof i15.CommonModule], [typeof i1.PAccordion, typeof i1.PAvatar, typeof i1.PAvatarGroup, typeof i1.PButton, typeof i1.PCardBody, typeof i1.PCardContainer, typeof i1.PCardHeader, typeof i1.PContentSlider, typeof i1.PCounter, typeof i1.PDivider, typeof i1.PDropdown, typeof i1.PDropdownMenuContainer, typeof i1.PDropdownMenuItem, typeof i1.PHelper, typeof i1.PIcon, typeof i1.PIllustration, typeof i1.PInfoPanel, typeof i1.PInputGroup, typeof i1.PLabel, typeof i1.PLayout, typeof i1.PLoader, typeof i1.PModal, typeof i1.PModalBackdrop, 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.PTooltip, typeof i2.TableComponent, typeof i3.TableColumn, typeof i4.TableCell, typeof i5.CustomCurrencyPipe, typeof i6.CustomDatePipe, typeof i7.SafePipe, typeof i8.PaginationDirective, typeof i9.PageSizeSelectDirective, typeof i10.TableFooterDirective, typeof i11.TableHeaderDirective, typeof i12.TableDirective, typeof i13.TableNgxDirective, typeof i14.SelectDirective]>;
6
20
  static ɵinj: i0.ɵɵInjectorDeclaration<PaperlessModule>;
7
21
  }
@@ -0,0 +1,10 @@
1
+ import { CurrencyPipe } from '@angular/common';
2
+ import { PipeTransform } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CustomCurrencyPipe implements PipeTransform {
5
+ private _currencyPipe;
6
+ constructor(_currencyPipe: CurrencyPipe);
7
+ transform(value: number | string | null | undefined, currencyCode?: string, display?: 'code' | 'symbol' | 'symbol-narrow' | string | boolean, digitsInfo?: string, locale?: string): string | null;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<CustomCurrencyPipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<CustomCurrencyPipe, "p-currency", false>;
10
+ }
@@ -0,0 +1,10 @@
1
+ import { DatePipe } from '@angular/common';
2
+ import { PipeTransform } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CustomDatePipe implements PipeTransform {
5
+ private _datePipe;
6
+ constructor(_datePipe: DatePipe);
7
+ transform(value: any, format: 'dd MMM yyyy'): string | null;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<CustomDatePipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<CustomDatePipe, "p-date", false>;
10
+ }
@@ -0,0 +1,7 @@
1
+ import { CustomCurrencyPipe } from './currency.pipe';
2
+ import { CustomDatePipe } from './date.pipe';
3
+ import { SafePipe } from './safe.pipe';
4
+ export * from './currency.pipe';
5
+ export * from './date.pipe';
6
+ export * from './safe.pipe';
7
+ export declare const PIPES: (typeof CustomCurrencyPipe | typeof CustomDatePipe | typeof SafePipe)[];
@@ -0,0 +1,10 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { DomSanitizer, SafeHtml, SafeResourceUrl, SafeScript, SafeStyle, SafeUrl } from '@angular/platform-browser';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SafePipe implements PipeTransform {
5
+ protected sanitizer: DomSanitizer;
6
+ constructor(sanitizer: DomSanitizer);
7
+ transform(value: any, type: string): SafeHtml | SafeStyle | SafeScript | SafeUrl | SafeResourceUrl;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<SafePipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<SafePipe, "p-safe", false>;
10
+ }