@paperless/angular 2.0.1-beta.20 → 2.0.1-beta.201
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/directives/index.mjs +19 -7
- package/esm2020/lib/directives/p-checkbox.directive.mjs +39 -0
- package/esm2020/lib/directives/p-field.directive.mjs +38 -0
- package/esm2020/lib/directives/p-pagination-pages.directive.mjs +41 -0
- package/esm2020/lib/directives/p-pagination-size.directive.mjs +41 -0
- package/esm2020/lib/directives/p-radio.directive.mjs +60 -0
- package/esm2020/lib/directives/p-toggle.directive.mjs +38 -0
- package/esm2020/lib/modules/table/components/table/table.component.mjs +146 -80
- package/esm2020/lib/modules/table/components/table-cell/table-cell.component.mjs +5 -19
- package/esm2020/lib/modules/table/components/table-column/table-column.component.mjs +20 -4
- package/esm2020/lib/modules/toast/types.mjs +4 -3
- package/esm2020/lib/paperless.module.mjs +15 -11
- package/esm2020/lib/stencil/angular-component-lib/utils.mjs +9 -1
- package/esm2020/lib/stencil/components.mjs +377 -255
- package/esm2020/lib/stencil/index.mjs +15 -10
- package/esm2020/lib/stencil.module.mjs +1 -1
- package/fesm2015/paperless-angular.mjs +756 -392
- package/fesm2015/paperless-angular.mjs.map +1 -1
- package/fesm2020/paperless-angular.mjs +751 -391
- package/fesm2020/paperless-angular.mjs.map +1 -1
- package/lib/directives/index.d.ts +9 -4
- package/lib/directives/p-checkbox.directive.d.ts +9 -0
- package/lib/directives/p-field.directive.d.ts +9 -0
- package/lib/directives/p-pagination-pages.directive.d.ts +10 -0
- package/lib/directives/{p-page-size-select.directive.d.ts → p-pagination-size.directive.d.ts} +3 -3
- package/lib/directives/p-radio.directive.d.ts +18 -0
- package/lib/directives/p-toggle.directive.d.ts +9 -0
- package/lib/modules/table/components/table/table.component.d.ts +40 -14
- package/lib/modules/table/components/table-cell/table-cell.component.d.ts +2 -6
- package/lib/modules/table/components/table-column/table-column.component.d.ts +1 -1
- package/lib/modules/toast/types.d.ts +3 -2
- package/lib/paperless.module.d.ts +15 -11
- package/lib/stencil/components.d.ts +269 -164
- package/lib/stencil/index.d.ts +1 -1
- package/lib/stencil.module.d.ts +1 -1
- package/package.json +1 -1
- package/paperless.css +250 -55
- package/esm2020/lib/directives/p-page-size-select.directive.mjs +0 -41
- package/esm2020/lib/directives/p-pagination.directive.mjs +0 -41
- package/lib/directives/p-pagination.directive.d.ts +0 -10
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
export * from './p-checkbox.directive';
|
|
1
2
|
export * from './p-cropper.directive';
|
|
2
3
|
export * from './p-datepicker.directive';
|
|
3
|
-
export * from './p-
|
|
4
|
-
export * from './p-pagination.directive';
|
|
4
|
+
export * from './p-field.directive';
|
|
5
|
+
export * from './p-pagination-pages.directive';
|
|
6
|
+
export * from './p-pagination-size.directive';
|
|
7
|
+
export * from './p-radio.directive';
|
|
5
8
|
export * from './p-select.directive';
|
|
6
|
-
|
|
7
|
-
|
|
9
|
+
export * from './p-toggle.directive';
|
|
10
|
+
import { CheckboxDirective } from './p-checkbox.directive';
|
|
11
|
+
import { RadioDirective } from './p-radio.directive';
|
|
12
|
+
export declare const DIRECTIVES: (typeof CheckboxDirective | typeof RadioDirective)[];
|
|
@@ -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 CheckboxDirective extends BaseValueAccessor {
|
|
5
|
+
constructor(el: ElementRef);
|
|
6
|
+
writeValue(value: boolean | 'indeterminate'): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxDirective, "p-checkbox", never, {}, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -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 FieldDirective extends BaseValueAccessor {
|
|
5
|
+
constructor(el: ElementRef);
|
|
6
|
+
writeValue(value: any): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FieldDirective, "p-field", never, {}, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -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 PaginationPagesDirective extends BaseValueAccessor {
|
|
5
|
+
constructor(el: ElementRef);
|
|
6
|
+
writeValue(value: any): void;
|
|
7
|
+
registerOnChange(fn: (_: number | null) => void): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationPagesDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PaginationPagesDirective, "p-pagination-pages", never, {}, {}, never, never, false, never>;
|
|
10
|
+
}
|
package/lib/directives/{p-page-size-select.directive.d.ts → p-pagination-size.directive.d.ts}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { BaseValueAccessor } from '../base';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class PaginationSizeDirective extends BaseValueAccessor {
|
|
5
5
|
constructor(el: ElementRef);
|
|
6
6
|
writeValue(value: any): void;
|
|
7
7
|
registerOnChange(fn: (_: number | null) => void): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationSizeDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PaginationSizeDirective, "p-pagination-size", never, {}, {}, never, never, false, never>;
|
|
10
10
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
3
|
+
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
4
|
+
import { BaseValueAccessor } from '../base';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class RadioDirective extends BaseValueAccessor implements ControlValueAccessor, OnInit, OnDestroy {
|
|
7
|
+
private _control;
|
|
8
|
+
private _modelValue;
|
|
9
|
+
private _valueChanges;
|
|
10
|
+
constructor(_control: NgControl, el: ElementRef);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
writeValue(value: string): void;
|
|
13
|
+
handleChangeEvent(): void;
|
|
14
|
+
ngOnDestroy(): void;
|
|
15
|
+
private _getValue;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioDirective, [{ self: true; }, null]>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RadioDirective, "p-radio", never, {}, {}, never, never, false, never>;
|
|
18
|
+
}
|
|
@@ -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 ToggleDirective extends BaseValueAccessor {
|
|
5
|
+
constructor(el: ElementRef);
|
|
6
|
+
writeValue(value: boolean): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ToggleDirective, "p-toggle", never, {}, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, QueryList, SimpleChanges, TemplateRef } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit, QueryList, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
2
|
import { Params } from '@angular/router';
|
|
3
|
-
import { QuickFilter, RowClickEvent } from '@paperless/core';
|
|
3
|
+
import { QuickFilter, RowClickEvent, cn } from '@paperless/core';
|
|
4
4
|
import { IconVariant, IllustrationVariant } from '@paperless/core/dist/types/components';
|
|
5
5
|
import { BehaviorSubject } from 'rxjs';
|
|
6
6
|
import { TableColumn } from '../table-column/table-column.component';
|
|
7
7
|
import { AsyncItem, TableRowAction, TableRowActionQueryParams, TableRowActionRouterLink } from '../table-row-action/table-row-action.component';
|
|
8
|
+
import { TableCell } from '../table-cell/table-cell.component';
|
|
9
|
+
import { PTableRow } from '../../../../stencil/components';
|
|
8
10
|
import * as i0 from "@angular/core";
|
|
9
11
|
export declare class Table implements OnInit, OnChanges {
|
|
10
12
|
private _changeDetection;
|
|
13
|
+
className: string;
|
|
11
14
|
/**
|
|
12
15
|
* The items to be fed to the table
|
|
13
16
|
*/
|
|
@@ -167,13 +170,13 @@ export declare class Table implements OnInit, OnChanges {
|
|
|
167
170
|
*/
|
|
168
171
|
enableFooter: boolean;
|
|
169
172
|
/**
|
|
170
|
-
* Wether to enable
|
|
173
|
+
* Wether to enable pagination size select
|
|
171
174
|
*/
|
|
172
|
-
|
|
175
|
+
enablePaginationSize: boolean;
|
|
173
176
|
/**
|
|
174
|
-
* Wether to enable pagination
|
|
177
|
+
* Wether to enable pagination pages
|
|
175
178
|
*/
|
|
176
|
-
|
|
179
|
+
enablePaginationPages: boolean;
|
|
177
180
|
/**
|
|
178
181
|
* Wether to enable export
|
|
179
182
|
*/
|
|
@@ -215,24 +218,36 @@ export declare class Table implements OnInit, OnChanges {
|
|
|
215
218
|
emptyStateHeader: string;
|
|
216
219
|
emptyStateContent: string;
|
|
217
220
|
emptyStateAction: string;
|
|
221
|
+
emptyStateActionIcon: IconVariant;
|
|
218
222
|
enableEmptyStateAction: boolean;
|
|
219
223
|
emptyStateFilteredIllustration: IllustrationVariant;
|
|
220
224
|
emptyStateFilteredHeader: string;
|
|
221
225
|
emptyStateFilteredContent: string;
|
|
226
|
+
/**
|
|
227
|
+
* Wether to enable scrolling
|
|
228
|
+
*/
|
|
229
|
+
enableScroll: boolean;
|
|
230
|
+
tableRows: QueryList<ElementRef<PTableRow>>;
|
|
231
|
+
tableCells: QueryList<ElementRef<TableCell>>;
|
|
232
|
+
scrollContainer: ElementRef<HTMLDivElement>;
|
|
233
|
+
reachedScrollStart$: BehaviorSubject<boolean>;
|
|
234
|
+
reachedScrollEnd$: BehaviorSubject<boolean>;
|
|
235
|
+
private _totalWidth;
|
|
236
|
+
private _calculateColumnWidthsTimeout?;
|
|
237
|
+
private _rowChangesSubscription?;
|
|
238
|
+
private _cellChangesSubscription?;
|
|
222
239
|
/**
|
|
223
240
|
* Event whenever the empty state is clicked
|
|
224
241
|
*/
|
|
225
242
|
emptyStateActionClick: EventEmitter<null>;
|
|
226
243
|
shadow: boolean;
|
|
227
|
-
columns
|
|
244
|
+
columns$: BehaviorSubject<any[]>;
|
|
228
245
|
parsedItems: any[];
|
|
229
246
|
loadingRows: unknown[];
|
|
230
247
|
private _ctrlDown;
|
|
231
248
|
headerCustomFilterTemplate: TemplateRef<any> | undefined;
|
|
232
249
|
headerCustomActionsTemplate: TemplateRef<any> | undefined;
|
|
233
|
-
|
|
234
|
-
set columnDefinitions(v: QueryList<TableColumn>);
|
|
235
|
-
get columnDefinitions(): QueryList<TableColumn>;
|
|
250
|
+
columnDefinitions: QueryList<TableColumn>;
|
|
236
251
|
filterModalTemplate: TemplateRef<any> | undefined;
|
|
237
252
|
filterModalShow$: BehaviorSubject<boolean>;
|
|
238
253
|
private _rowActions;
|
|
@@ -249,16 +264,23 @@ export declare class Table implements OnInit, OnChanges {
|
|
|
249
264
|
filterModalSave: EventEmitter<void>;
|
|
250
265
|
filterModalReset: EventEmitter<boolean>;
|
|
251
266
|
rowActionsRow$: BehaviorSubject<TableRowAction[]>;
|
|
252
|
-
rowActionsRowDefinition$: BehaviorSubject<any>;
|
|
253
267
|
rowActionsFloatingAll$: BehaviorSubject<TableRowAction[]>;
|
|
254
268
|
rowActionsFloating$: BehaviorSubject<TableRowAction[]>;
|
|
255
269
|
isMobile$: BehaviorSubject<boolean>;
|
|
270
|
+
floatingMenuContainerClass: (props?: ({
|
|
271
|
+
hasFooter?: boolean | undefined;
|
|
272
|
+
active?: boolean | undefined;
|
|
273
|
+
shown?: boolean | undefined;
|
|
274
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
256
275
|
private _resizeTimeout;
|
|
257
276
|
private _inputEnableRowSelection;
|
|
258
277
|
private _inputRowSelectionLimit;
|
|
278
|
+
footerHidden$: BehaviorSubject<boolean>;
|
|
279
|
+
cn: typeof cn;
|
|
259
280
|
constructor(_changeDetection: ChangeDetectorRef);
|
|
260
281
|
ngOnInit(): void;
|
|
261
282
|
ngOnChanges(changes: SimpleChanges): void;
|
|
283
|
+
ngAfterViewInit(): void;
|
|
262
284
|
onResize(): void;
|
|
263
285
|
keyDown({ key }: {
|
|
264
286
|
key: string;
|
|
@@ -275,6 +297,7 @@ export declare class Table implements OnInit, OnChanges {
|
|
|
275
297
|
onFilterModalReset(resetQuickFilter?: boolean): void;
|
|
276
298
|
emptyStateClicked(): void;
|
|
277
299
|
parseRowActionsRow(actions: TableRowAction[] | null, rowIndex: number): TableRowAction[];
|
|
300
|
+
onContainerXScroll(ev: any): void;
|
|
278
301
|
private _parseItems;
|
|
279
302
|
private _generateColumns;
|
|
280
303
|
_checkboxDisabled(item: any, rowIndex: number): boolean;
|
|
@@ -294,9 +317,12 @@ export declare class Table implements OnInit, OnChanges {
|
|
|
294
317
|
private _setRowSelectionData;
|
|
295
318
|
private _showFloatingMenu;
|
|
296
319
|
private _parseDefinitions;
|
|
297
|
-
private _findLastDefinitionBySize;
|
|
298
320
|
private _parseDefinitionSizes;
|
|
299
|
-
private
|
|
321
|
+
private _checkChangesSubscriptions;
|
|
322
|
+
private _calculateColumnWidths;
|
|
323
|
+
private _setRowsWidth;
|
|
324
|
+
private _resetScrollPosition;
|
|
325
|
+
private _calculateScrollPosition;
|
|
300
326
|
static ɵfac: i0.ɵɵFactoryDeclaration<Table, never>;
|
|
301
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Table, "p-table-ngx", never, { "items": "items"; "loading": "loading"; "headerLoading": "headerLoading"; "footerLoading": "footerLoading"; "amountOfLoadingRows": "amountOfLoadingRows"; "enableRowSelection": "enableRowSelection"; "rowSelectionLimit": "rowSelectionLimit"; "enableRowClick": "enableRowClick"; "selectedRows": "selectedRows"; "selectionKey": "selectionKey"; "canSelectKey": "canSelectKey"; "enableFloatingMenu": "enableFloatingMenu"; "floatingMenuAmountSelectedText": "floatingMenuAmountSelectedText"; "floatingMenuAmountSelectedTemplate": "floatingMenuAmountSelectedTemplate"; "enableHeader": "enableHeader"; "quickFilters": "quickFilters"; "activeQuickFilterIdentifier": "activeQuickFilterIdentifier"; "enableSearch": "enableSearch"; "query": "query"; "enableFilter": "enableFilter"; "enableFilterDesktop": "enableFilterDesktop"; "selectedFiltersAmount": "selectedFiltersAmount"; "filterButtonTemplate": "filterButtonTemplate"; "enableAction": "enableAction"; "actionButtonLoading": "actionButtonLoading"; "actionButtonIcon": "actionButtonIcon"; "actionButtonEnabled": "actionButtonEnabled"; "actionButtonText": "actionButtonText"; "actionButtonTemplate": "actionButtonTemplate"; "enableFooter": "enableFooter"; "
|
|
327
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Table, "p-table-ngx", never, { "items": "items"; "loading": "loading"; "headerLoading": "headerLoading"; "footerLoading": "footerLoading"; "amountOfLoadingRows": "amountOfLoadingRows"; "enableRowSelection": "enableRowSelection"; "rowSelectionLimit": "rowSelectionLimit"; "enableRowClick": "enableRowClick"; "selectedRows": "selectedRows"; "selectionKey": "selectionKey"; "canSelectKey": "canSelectKey"; "enableFloatingMenu": "enableFloatingMenu"; "floatingMenuAmountSelectedText": "floatingMenuAmountSelectedText"; "floatingMenuAmountSelectedTemplate": "floatingMenuAmountSelectedTemplate"; "enableHeader": "enableHeader"; "quickFilters": "quickFilters"; "activeQuickFilterIdentifier": "activeQuickFilterIdentifier"; "enableSearch": "enableSearch"; "query": "query"; "enableFilter": "enableFilter"; "enableFilterDesktop": "enableFilterDesktop"; "selectedFiltersAmount": "selectedFiltersAmount"; "filterButtonTemplate": "filterButtonTemplate"; "enableAction": "enableAction"; "actionButtonLoading": "actionButtonLoading"; "actionButtonIcon": "actionButtonIcon"; "actionButtonEnabled": "actionButtonEnabled"; "actionButtonText": "actionButtonText"; "actionButtonTemplate": "actionButtonTemplate"; "enableFooter": "enableFooter"; "enablePaginationSize": "enablePaginationSize"; "enablePaginationPages": "enablePaginationPages"; "enableExport": "enableExport"; "page": "page"; "total": "total"; "pageSize": "pageSize"; "pageSizeOptions": "pageSizeOptions"; "hideOnSinglePage": "hideOnSinglePage"; "emptyStateType": "emptyStateType"; "emptyStateIllustration": "emptyStateIllustration"; "emptyStateHeader": "emptyStateHeader"; "emptyStateContent": "emptyStateContent"; "emptyStateAction": "emptyStateAction"; "emptyStateActionIcon": "emptyStateActionIcon"; "enableEmptyStateAction": "enableEmptyStateAction"; "emptyStateFilteredIllustration": "emptyStateFilteredIllustration"; "emptyStateFilteredHeader": "emptyStateFilteredHeader"; "emptyStateFilteredContent": "emptyStateFilteredContent"; "enableScroll": "enableScroll"; "shadow": "shadow"; "filterModalHeaderText": "filterModalHeaderText"; "filterModalSaveText": "filterModalSaveText"; "filterModalCancelText": "filterModalCancelText"; "filterModalResetText": "filterModalResetText"; "filterModalShowReset": "filterModalShowReset"; "filterModalShowResetMobile": "filterModalShowResetMobile"; }, { "selectedRowsChange": "selectedRowsChange"; "rowClick": "rowClick"; "rowSelected": "rowSelected"; "rowDeselected": "rowDeselected"; "quickFilter": "quickFilter"; "queryChange": "queryChange"; "filter": "filter"; "action": "action"; "pageChange": "pageChange"; "pageSizeChange": "pageSizeChange"; "export": "export"; "emptyStateActionClick": "emptyStateActionClick"; "filterModalShow": "filterModalShow"; "filterModalSave": "filterModalSave"; "filterModalReset": "filterModalReset"; }, ["headerCustomFilterTemplate", "headerCustomActionsTemplate", "filterModalTemplate", "columnDefinitions", "rowActions"], never, false, never>;
|
|
302
328
|
}
|
|
@@ -5,7 +5,7 @@ export declare class TableCell {
|
|
|
5
5
|
/**
|
|
6
6
|
* The variant of the column
|
|
7
7
|
*/
|
|
8
|
-
variant: 'default' | 'loading' | 'header'
|
|
8
|
+
variant: 'default' | 'loading' | 'header';
|
|
9
9
|
/**
|
|
10
10
|
* The index of the column
|
|
11
11
|
*/
|
|
@@ -26,10 +26,6 @@ export declare class TableCell {
|
|
|
26
26
|
* The value of the column
|
|
27
27
|
*/
|
|
28
28
|
value: any;
|
|
29
|
-
/**
|
|
30
|
-
* Wether the table has actions
|
|
31
|
-
*/
|
|
32
|
-
tableHasActions: boolean;
|
|
33
29
|
/**
|
|
34
30
|
* The checkbox templateRef
|
|
35
31
|
*/
|
|
@@ -43,5 +39,5 @@ export declare class TableCell {
|
|
|
43
39
|
value: string;
|
|
44
40
|
};
|
|
45
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableCell, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableCell, "p-table-cell-ngx", never, { "variant": "variant"; "index": "index"; "rowIndex": "rowIndex"; "definition": "definition"; "item": "item"; "value": "value"; "
|
|
42
|
+
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, never>;
|
|
47
43
|
}
|
|
@@ -13,5 +13,5 @@ export declare class TableColumn {
|
|
|
13
13
|
template: TemplateRef<any> | undefined;
|
|
14
14
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
15
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"; "
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableColumn, "p-table-column", never, { "align": "align"; "name": "name"; "path": "path"; "sizes": "sizes"; "variant": "variant"; "useSlot": "useSlot"; "hasCheckbox": "hasCheckbox"; }, {}, ["template"], ["*"], false, never>;
|
|
17
17
|
}
|
|
@@ -3,10 +3,11 @@ import { IconFlipOptions, IconVariant } from '@paperless/core/dist/types/compone
|
|
|
3
3
|
import { ToastDirective } from './directives';
|
|
4
4
|
export declare enum ToastVariants {
|
|
5
5
|
Success = "positive",
|
|
6
|
-
Warning = "
|
|
6
|
+
Warning = "biased",
|
|
7
7
|
Error = "negative",
|
|
8
|
+
Neutral = "neutral",
|
|
8
9
|
Positive = "positive",
|
|
9
|
-
|
|
10
|
+
Biased = "biased",
|
|
10
11
|
Negative = "negative"
|
|
11
12
|
}
|
|
12
13
|
export declare type ToastActionFunction = (directive?: ToastDirective, data?: any) => void;
|
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
import { ModuleWithProviders } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./directives/p-pagination.directive";
|
|
4
|
-
import * as i2 from "./directives/p-
|
|
3
|
+
import * as i1 from "./directives/p-pagination-size.directive";
|
|
4
|
+
import * as i2 from "./directives/p-pagination-pages.directive";
|
|
5
5
|
import * as i3 from "./directives/p-select.directive";
|
|
6
6
|
import * as i4 from "./directives/p-datepicker.directive";
|
|
7
7
|
import * as i5 from "./directives/p-cropper.directive";
|
|
8
|
-
import * as i6 from "./
|
|
9
|
-
import * as i7 from "./
|
|
10
|
-
import * as i8 from "./
|
|
11
|
-
import * as i9 from "
|
|
12
|
-
import * as i10 from "./
|
|
13
|
-
import * as i11 from "./
|
|
14
|
-
import * as i12 from "./
|
|
15
|
-
import * as i13 from "
|
|
8
|
+
import * as i6 from "./directives/p-field.directive";
|
|
9
|
+
import * as i7 from "./directives/p-radio.directive";
|
|
10
|
+
import * as i8 from "./directives/p-checkbox.directive";
|
|
11
|
+
import * as i9 from "./directives/p-toggle.directive";
|
|
12
|
+
import * as i10 from "./pipes/currency.pipe";
|
|
13
|
+
import * as i11 from "./pipes/date.pipe";
|
|
14
|
+
import * as i12 from "./pipes/safe.pipe";
|
|
15
|
+
import * as i13 from "@angular/common";
|
|
16
|
+
import * as i14 from "./stencil.module";
|
|
17
|
+
import * as i15 from "./modules/table/table.module";
|
|
18
|
+
import * as i16 from "./modules/toast/toast.module";
|
|
19
|
+
import * as i17 from "./modules/overlay/overlay.module";
|
|
16
20
|
export declare class PaperlessModule {
|
|
17
21
|
static forRoot(): ModuleWithProviders<PaperlessModule>;
|
|
18
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<PaperlessModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PaperlessModule, [typeof i1.
|
|
23
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PaperlessModule, [typeof i1.PaginationSizeDirective, typeof i2.PaginationPagesDirective, typeof i3.SelectDirective, typeof i4.DatepickerDirective, typeof i5.CropperDirective, typeof i6.FieldDirective, typeof i7.RadioDirective, typeof i8.CheckboxDirective, typeof i9.ToggleDirective, typeof i10.CustomCurrencyPipe, typeof i11.CustomDatePipe, typeof i12.SafePipe], [typeof i13.CommonModule, typeof i14.StencilModule, typeof i15.TableModule, typeof i16.ToastModule, typeof i17.OverlayModule], [typeof i14.StencilModule, typeof i15.TableModule, typeof i16.ToastModule, typeof i17.OverlayModule, typeof i1.PaginationSizeDirective, typeof i2.PaginationPagesDirective, typeof i3.SelectDirective, typeof i4.DatepickerDirective, typeof i5.CropperDirective, typeof i6.FieldDirective, typeof i7.RadioDirective, typeof i8.CheckboxDirective, typeof i9.ToggleDirective, typeof i10.CustomCurrencyPipe, typeof i11.CustomDatePipe, typeof i12.SafePipe]>;
|
|
20
24
|
static ɵinj: i0.ɵɵInjectorDeclaration<PaperlessModule>;
|
|
21
25
|
}
|