@paperless/angular 2.22.0-alpha.24 → 2.22.0-alpha.26

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 (39) hide show
  1. package/fesm2022/paperless-angular.mjs +167 -248
  2. package/fesm2022/paperless-angular.mjs.map +1 -1
  3. package/lib/base/form.component.d.ts +3 -3
  4. package/lib/base/upload.component.d.ts +1 -1
  5. package/lib/directives/p-checkbox.directive.d.ts +0 -2
  6. package/lib/directives/p-cropper.directive.d.ts +0 -2
  7. package/lib/directives/p-datepicker.directive.d.ts +1 -3
  8. package/lib/directives/p-field-number.directive.d.ts +0 -2
  9. package/lib/directives/p-field.directive.d.ts +1 -3
  10. package/lib/directives/p-pagination-pages.directive.d.ts +1 -3
  11. package/lib/directives/p-pagination-size.directive.d.ts +1 -3
  12. package/lib/directives/p-radio.directive.d.ts +1 -2
  13. package/lib/directives/p-select.directive.d.ts +1 -3
  14. package/lib/directives/p-toggle.directive.d.ts +0 -2
  15. package/lib/modules/table/base/table.component.d.ts +0 -1
  16. package/lib/modules/table/components/index.d.ts +6 -6
  17. package/lib/modules/table/components/table/table.component.d.ts +19 -20
  18. package/lib/modules/table/components/table-cell/table-cell.component.d.ts +3 -3
  19. package/lib/modules/table/components/table-column/table-column.component.d.ts +4 -4
  20. package/lib/modules/table/components/table-extra-header/table-extra-header.component.d.ts +4 -4
  21. package/lib/modules/table/components/table-row-action/table-row-action.component.d.ts +5 -5
  22. package/lib/modules/table/directives/index.d.ts +1 -1
  23. package/lib/modules/table/directives/p-table-footer.directive.d.ts +0 -2
  24. package/lib/modules/table/directives/p-table-header.directive.d.ts +0 -2
  25. package/lib/modules/table/directives/p-table-ngx.directive.d.ts +2 -2
  26. package/lib/modules/table/directives/p-table.directive.d.ts +0 -2
  27. package/lib/modules/table/table.module.d.ts +1 -1
  28. package/lib/modules/table/utils.d.ts +1 -3
  29. package/lib/modules/toast/components/index.d.ts +2 -2
  30. package/lib/modules/toast/components/toast-container/toast-container.component.d.ts +3 -3
  31. package/lib/modules/toast/directives/toast.directive.d.ts +2 -2
  32. package/lib/modules/toast/toast.module.d.ts +1 -1
  33. package/lib/modules/toast/types.d.ts +1 -2
  34. package/lib/pipes/date.pipe.d.ts +1 -1
  35. package/lib/pipes/safe.pipe.d.ts +1 -1
  36. package/lib/stencil/components.d.ts +0 -9
  37. package/lib/stencil/index.d.ts +1 -1
  38. package/lib/stencil.module.d.ts +1 -1
  39. package/package.json +1 -1
@@ -5,9 +5,9 @@ export declare abstract class BaseFormComponent {
5
5
  scrollToFirstError(): void;
6
6
  markControlDirty(control: FormControl | FormGroup | FormArray | AbstractControl): void;
7
7
  markAllDirty(control: FormGroup | FormArray | FormControl): void;
8
- getControlError(control: FormControl | AbstractControl | FormArray | FormGroup): string | undefined;
9
- hasControlError(control: FormControl | AbstractControl | FormGroup | FormArray, showChildErrors?: boolean): string | false | undefined;
10
- firstControlError(control: FormControl | AbstractControl | FormGroup | FormArray, showChildErrors?: boolean): string | undefined;
8
+ getControlError(control: FormControl | AbstractControl | FormArray | FormGroup): string | (string | undefined)[] | undefined;
9
+ hasControlError(control: FormControl | AbstractControl | FormGroup | FormArray, showChildErrors?: boolean): string | false | (string | undefined)[] | undefined;
10
+ firstControlError(control: FormControl | AbstractControl | FormGroup | FormArray, showChildErrors?: boolean): (string | undefined)[] | (undefined | string);
11
11
  resetControl(control: FormControl | FormGroup | FormArray | AbstractControl): void;
12
12
  resetForm(formGroup: FormGroup): void;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<BaseFormComponent, never>;
@@ -10,7 +10,7 @@ export declare abstract class BaseUploadComponent {
10
10
  file?: File;
11
11
  loading$: BehaviorSubject<boolean>;
12
12
  onChange($event: Event): void;
13
- onLoad(file: File, result: string): void;
13
+ onLoad(file: File, result: string | ArrayBuffer | null): void;
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<BaseUploadComponent, never>;
15
15
  static ɵcmp: i0.ɵɵComponentDeclaration<BaseUploadComponent, "ng-component", never, { "fileId": { "alias": "fileId"; "required": false; }; "uploaded": { "alias": "uploaded"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "fileChange": "fileChange"; }, never, never, false, never>;
16
16
  }
@@ -1,8 +1,6 @@
1
- import { ElementRef } from '@angular/core';
2
1
  import { BaseValueAccessor } from '../base';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class CheckboxDirective extends BaseValueAccessor {
5
- constructor(el: ElementRef);
6
4
  writeValue(value: boolean | 'indeterminate'): void;
7
5
  static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxDirective, never>;
8
6
  static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxDirective, "p-checkbox", never, {}, {}, never, never, false, never>;
@@ -1,8 +1,6 @@
1
- import { ElementRef } from '@angular/core';
2
1
  import { BaseValueAccessor } from '../base';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class CropperDirective extends BaseValueAccessor {
5
- constructor(el: ElementRef);
6
4
  writeValue(value: any): void;
7
5
  static ɵfac: i0.ɵɵFactoryDeclaration<CropperDirective, never>;
8
6
  static ɵdir: i0.ɵɵDirectiveDeclaration<CropperDirective, "p-cropper", never, {}, {}, never, never, false, never>;
@@ -1,9 +1,7 @@
1
- import { ElementRef } from '@angular/core';
2
1
  import { BaseValueAccessor } from '../base';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class DatepickerDirective extends BaseValueAccessor {
5
- constructor(el: ElementRef);
6
- writeValue(value: any): void;
4
+ writeValue(value: string | Date): void;
7
5
  static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerDirective, never>;
8
6
  static ɵdir: i0.ɵɵDirectiveDeclaration<DatepickerDirective, "p-datepicker", never, {}, {}, never, never, false, never>;
9
7
  }
@@ -1,8 +1,6 @@
1
- import { ElementRef, Renderer2 } from '@angular/core';
2
1
  import { BaseNumberValueAccessor } from '../base/number-value-accessor';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class FieldNumberDirective extends BaseNumberValueAccessor {
5
- constructor(el: ElementRef, renderer: Renderer2);
6
4
  static ɵfac: i0.ɵɵFactoryDeclaration<FieldNumberDirective, never>;
7
5
  static ɵdir: i0.ɵɵDirectiveDeclaration<FieldNumberDirective, "p-field[type=number]", never, {}, {}, never, never, false, never>;
8
6
  }
@@ -1,9 +1,7 @@
1
- import { ElementRef } from '@angular/core';
2
1
  import { BaseValueAccessor } from '../base';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class FieldDirective extends BaseValueAccessor {
5
- constructor(el: ElementRef);
6
- writeValue(value: any): void;
4
+ writeValue(value: number): void;
7
5
  static ɵfac: i0.ɵɵFactoryDeclaration<FieldDirective, never>;
8
6
  static ɵdir: i0.ɵɵDirectiveDeclaration<FieldDirective, "p-field:not([type=number])", never, {}, {}, never, never, false, never>;
9
7
  }
@@ -1,9 +1,7 @@
1
- import { ElementRef } from '@angular/core';
2
1
  import { BaseValueAccessor } from '../base';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class PaginationPagesDirective extends BaseValueAccessor {
5
- constructor(el: ElementRef);
6
- writeValue(value: any): void;
4
+ writeValue(value: number): void;
7
5
  registerOnChange(fn: (_: number | null) => void): void;
8
6
  static ɵfac: i0.ɵɵFactoryDeclaration<PaginationPagesDirective, never>;
9
7
  static ɵdir: i0.ɵɵDirectiveDeclaration<PaginationPagesDirective, "p-pagination-pages", never, {}, {}, never, never, false, never>;
@@ -1,9 +1,7 @@
1
- import { ElementRef } from '@angular/core';
2
1
  import { BaseValueAccessor } from '../base';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class PaginationSizeDirective extends BaseValueAccessor {
5
- constructor(el: ElementRef);
6
- writeValue(value: any): void;
4
+ writeValue(value: number): void;
7
5
  registerOnChange(fn: (_: number | null) => void): void;
8
6
  static ɵfac: i0.ɵɵFactoryDeclaration<PaginationSizeDirective, never>;
9
7
  static ɵdir: i0.ɵɵDirectiveDeclaration<PaginationSizeDirective, "p-pagination-size", never, {}, {}, never, never, false, never>;
@@ -1,5 +1,4 @@
1
- import { OnDestroy } from '@angular/core';
2
- import { ElementRef, OnInit } from '@angular/core';
1
+ import { OnDestroy, ElementRef, OnInit } from '@angular/core';
3
2
  import { ControlValueAccessor, NgControl } from '@angular/forms';
4
3
  import { BaseValueAccessor } from '../base';
5
4
  import * as i0 from "@angular/core";
@@ -1,9 +1,7 @@
1
- import { ElementRef } from '@angular/core';
2
1
  import { BaseValueAccessor } from '../base';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class SelectDirective extends BaseValueAccessor {
5
- constructor(el: ElementRef);
6
- writeValue(value: any): void;
4
+ writeValue(value: unknown): void;
7
5
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectDirective, never>;
8
6
  static ɵdir: i0.ɵɵDirectiveDeclaration<SelectDirective, "p-select", never, {}, {}, never, never, false, never>;
9
7
  }
@@ -1,8 +1,6 @@
1
- import { ElementRef } from '@angular/core';
2
1
  import { BaseValueAccessor } from '../base';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class ToggleDirective extends BaseValueAccessor {
5
- constructor(el: ElementRef);
6
4
  writeValue(value: boolean): void;
7
5
  static ɵfac: i0.ɵɵFactoryDeclaration<ToggleDirective, never>;
8
6
  static ɵdir: i0.ɵɵDirectiveDeclaration<ToggleDirective, "p-toggle", never, {}, {}, never, never, false, never>;
@@ -48,7 +48,6 @@ export declare abstract class BaseTableComponent extends BaseFormComponent imple
48
48
  };
49
49
  get tableValues(): Partial<TableOptions>;
50
50
  set tableValues(values: Partial<TableOptions>);
51
- constructor();
52
51
  ngOnInit(): void;
53
52
  resetTable(emitEvent?: boolean, forceRefresh?: boolean): void;
54
53
  applyFormFilters(values?: any): void;
@@ -3,9 +3,9 @@ export * from './table-column/table-column.component';
3
3
  export * from './table-extra-header/table-extra-header.component';
4
4
  export * from './table/table.component';
5
5
  export * from './table-row-action/table-row-action.component';
6
- import { TableCell } from './table-cell/table-cell.component';
7
- import { TableColumn } from './table-column/table-column.component';
8
- import { TableExtraHeader } from './table-extra-header/table-extra-header.component';
9
- import { TableRowAction } from './table-row-action/table-row-action.component';
10
- import { Table } from './table/table.component';
11
- export declare const TABLE_COMPONENTS: (typeof TableCell | typeof TableColumn | typeof TableExtraHeader | typeof TableRowAction | typeof Table)[];
6
+ import { TableComponent } from './table/table.component';
7
+ import { TableCellComponent } from './table-cell/table-cell.component';
8
+ import { TableColumnComponent } from './table-column/table-column.component';
9
+ import { TableExtraHeaderComponent } from './table-extra-header/table-extra-header.component';
10
+ import { TableRowActionComponent } from './table-row-action/table-row-action.component';
11
+ export declare const TABLE_COMPONENTS: (typeof TableCellComponent | typeof TableColumnComponent | typeof TableExtraHeaderComponent | typeof TableRowActionComponent | typeof TableComponent)[];
@@ -1,18 +1,17 @@
1
1
  import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit, QueryList, SimpleChanges, TemplateRef, AfterViewInit } from '@angular/core';
2
2
  import { Params } from '@angular/router';
3
3
  import { BehaviorSubject } from 'rxjs';
4
- import { cn, onStateChange, QuickFilter, RowClickEvent } from '@paperless/core';
5
- import { IconVariant, IllustrationVariant } from '@paperless/core/dist/types/components';
4
+ import { cn, onStateChange, QuickFilter, RowClickEvent, IconVariant, IllustrationVariant } from '@paperless/core';
6
5
  import { PTableRow } from '../../../../stencil/components';
7
6
  import { TableCustomRowDirective } from '../../directives/p-table-custom-row.directive';
8
- import { TableCell } from '../table-cell/table-cell.component';
9
- import { TableColumn } from '../table-column/table-column.component';
10
- import { TableExtraHeader } from '../table-extra-header/table-extra-header.component';
11
- import { AsyncItem, TableRowAction, TableRowActionQueryParams, TableRowActionRouterLink } from '../table-row-action/table-row-action.component';
7
+ import { TableCellComponent } from '../table-cell/table-cell.component';
8
+ import { TableColumnComponent } from '../table-column/table-column.component';
9
+ import { TableExtraHeaderComponent } from '../table-extra-header/table-extra-header.component';
10
+ import { AsyncItem, TableRowActionComponent, TableRowActionQueryParams, TableRowActionRouterLink } from '../table-row-action/table-row-action.component';
12
11
  import * as i0 from "@angular/core";
13
- export declare class Table implements OnInit, OnChanges, AfterViewInit {
12
+ export declare class TableComponent implements OnInit, OnChanges, AfterViewInit {
14
13
  private _cd;
15
- className: string;
14
+ hostClass: string;
16
15
  theme: any;
17
16
  /**
18
17
  * The items to be fed to the table
@@ -231,7 +230,7 @@ export declare class Table implements OnInit, OnChanges, AfterViewInit {
231
230
  */
232
231
  enableScroll: boolean;
233
232
  tableRows: QueryList<ElementRef<PTableRow>>;
234
- tableCells: QueryList<ElementRef<TableCell>>;
233
+ tableCells: QueryList<ElementRef<TableCellComponent>>;
235
234
  scrollContainer: ElementRef<HTMLDivElement>;
236
235
  reachedScrollStart$: BehaviorSubject<boolean>;
237
236
  reachedScrollEnd$: BehaviorSubject<boolean>;
@@ -251,14 +250,14 @@ export declare class Table implements OnInit, OnChanges, AfterViewInit {
251
250
  private _ctrlDown;
252
251
  headerCustomFilterTemplate: TemplateRef<any> | undefined;
253
252
  headerCustomActionsTemplate: TemplateRef<any> | undefined;
254
- columnDefinitions: QueryList<TableColumn>;
255
- extraHeaderDefinitions: QueryList<TableExtraHeader>;
253
+ columnDefinitions: QueryList<TableColumnComponent>;
254
+ extraHeaderDefinitions: QueryList<TableExtraHeaderComponent>;
256
255
  filterModalTemplate: TemplateRef<any> | undefined;
257
256
  filterModalShow$: BehaviorSubject<boolean>;
258
257
  private _rowActions;
259
258
  private _rowActionsSubscriptions;
260
- set rowActions(v: QueryList<TableRowAction>);
261
- get rowActions(): QueryList<TableRowAction>;
259
+ set rowActions(v: QueryList<TableRowActionComponent>);
260
+ get rowActions(): QueryList<TableRowActionComponent>;
262
261
  customRows: QueryList<TableCustomRowDirective>;
263
262
  filterModalHeaderText: string;
264
263
  filterModalSaveText: string;
@@ -269,9 +268,9 @@ export declare class Table implements OnInit, OnChanges, AfterViewInit {
269
268
  filterModalShow: EventEmitter<boolean>;
270
269
  filterModalSave: EventEmitter<void>;
271
270
  filterModalReset: EventEmitter<boolean>;
272
- rowActionsRow$: BehaviorSubject<TableRowAction[]>;
273
- rowActionsFloatingAll$: BehaviorSubject<TableRowAction[]>;
274
- rowActionsFloating$: BehaviorSubject<TableRowAction[]>;
271
+ rowActionsRow$: BehaviorSubject<TableRowActionComponent[]>;
272
+ rowActionsFloatingAll$: BehaviorSubject<TableRowActionComponent[]>;
273
+ rowActionsFloating$: BehaviorSubject<TableRowActionComponent[]>;
275
274
  isMobile$: BehaviorSubject<boolean>;
276
275
  floatingMenuContainerClass: (props?: {
277
276
  hasFooter?: boolean;
@@ -303,7 +302,7 @@ export declare class Table implements OnInit, OnChanges, AfterViewInit {
303
302
  onFilterModalSave(): void;
304
303
  onFilterModalReset(resetQuickFilter?: boolean): void;
305
304
  emptyStateClicked(): void;
306
- parseRowActionsRow(actions: TableRowAction[] | null, rowIndex: number): TableRowAction[];
305
+ parseRowActionsRow(actions: TableRowActionComponent[] | null, rowIndex: number): TableRowActionComponent[];
307
306
  onContainerXScroll(ev: any): void;
308
307
  private _parseItems;
309
308
  private _generateColumns;
@@ -319,7 +318,7 @@ export declare class Table implements OnInit, OnChanges, AfterViewInit {
319
318
  _rowClick($event: MouseEvent, index: number): void;
320
319
  _getActionRouterLink(routerLink: TableRowActionRouterLink, rowIndex: number): BehaviorSubject<string | any[]> | AsyncItem<string | any[]>;
321
320
  _getActionQueryParams(queryParams: TableRowActionQueryParams, rowIndex: number): BehaviorSubject<Params> | AsyncItem<Params>;
322
- _rowActionClick(action: TableRowAction, rowIndex?: number): void;
321
+ _rowActionClick(action: TableRowActionComponent, rowIndex?: number): void;
323
322
  private _findRow;
324
323
  private _findRowAction;
325
324
  private _setRowSelectionData;
@@ -332,6 +331,6 @@ export declare class Table implements OnInit, OnChanges, AfterViewInit {
332
331
  private _resetScrollPosition;
333
332
  private _calculateScrollPosition;
334
333
  private _checkTheme;
335
- static ɵfac: i0.ɵɵFactoryDeclaration<Table, never>;
336
- static ɵcmp: i0.ɵɵComponentDeclaration<Table, "p-table-ngx", never, { "items": { "alias": "items"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "headerLoading": { "alias": "headerLoading"; "required": false; }; "footerLoading": { "alias": "footerLoading"; "required": false; }; "amountOfLoadingRows": { "alias": "amountOfLoadingRows"; "required": false; }; "enableRowSelection": { "alias": "enableRowSelection"; "required": false; }; "rowSelectionLimit": { "alias": "rowSelectionLimit"; "required": false; }; "enableRowClick": { "alias": "enableRowClick"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "selectionKey": { "alias": "selectionKey"; "required": false; }; "canSelectKey": { "alias": "canSelectKey"; "required": false; }; "enableFloatingMenu": { "alias": "enableFloatingMenu"; "required": false; }; "floatingMenuAmountSelectedText": { "alias": "floatingMenuAmountSelectedText"; "required": false; }; "floatingMenuAmountSelectedTemplate": { "alias": "floatingMenuAmountSelectedTemplate"; "required": false; }; "enableHeader": { "alias": "enableHeader"; "required": false; }; "quickFilters": { "alias": "quickFilters"; "required": false; }; "activeQuickFilterIdentifier": { "alias": "activeQuickFilterIdentifier"; "required": false; }; "enableSearch": { "alias": "enableSearch"; "required": false; }; "query": { "alias": "query"; "required": false; }; "enableFilter": { "alias": "enableFilter"; "required": false; }; "enableFilterDesktop": { "alias": "enableFilterDesktop"; "required": false; }; "selectedFiltersAmount": { "alias": "selectedFiltersAmount"; "required": false; }; "filterButtonTemplate": { "alias": "filterButtonTemplate"; "required": false; }; "enableAction": { "alias": "enableAction"; "required": false; }; "actionButtonLoading": { "alias": "actionButtonLoading"; "required": false; }; "actionButtonIcon": { "alias": "actionButtonIcon"; "required": false; }; "actionButtonEnabled": { "alias": "actionButtonEnabled"; "required": false; }; "actionButtonText": { "alias": "actionButtonText"; "required": false; }; "actionButtonTemplate": { "alias": "actionButtonTemplate"; "required": false; }; "enableFooter": { "alias": "enableFooter"; "required": false; }; "enablePaginationSize": { "alias": "enablePaginationSize"; "required": false; }; "enablePaginationPages": { "alias": "enablePaginationPages"; "required": false; }; "enableExport": { "alias": "enableExport"; "required": false; }; "page": { "alias": "page"; "required": false; }; "total": { "alias": "total"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "hideOnSinglePage": { "alias": "hideOnSinglePage"; "required": false; }; "emptyStateType": { "alias": "emptyStateType"; "required": false; }; "emptyStateIllustration": { "alias": "emptyStateIllustration"; "required": false; }; "emptyStateHeader": { "alias": "emptyStateHeader"; "required": false; }; "emptyStateContent": { "alias": "emptyStateContent"; "required": false; }; "emptyStateAction": { "alias": "emptyStateAction"; "required": false; }; "emptyStateActionIcon": { "alias": "emptyStateActionIcon"; "required": false; }; "enableEmptyStateAction": { "alias": "enableEmptyStateAction"; "required": false; }; "emptyStateFilteredIllustration": { "alias": "emptyStateFilteredIllustration"; "required": false; }; "emptyStateFilteredHeader": { "alias": "emptyStateFilteredHeader"; "required": false; }; "emptyStateFilteredContent": { "alias": "emptyStateFilteredContent"; "required": false; }; "enableScroll": { "alias": "enableScroll"; "required": false; }; "shadow": { "alias": "shadow"; "required": false; }; "filterModalHeaderText": { "alias": "filterModalHeaderText"; "required": false; }; "filterModalSaveText": { "alias": "filterModalSaveText"; "required": false; }; "filterModalCancelText": { "alias": "filterModalCancelText"; "required": false; }; "filterModalResetText": { "alias": "filterModalResetText"; "required": false; }; "filterModalShowReset": { "alias": "filterModalShowReset"; "required": false; }; "filterModalShowResetMobile": { "alias": "filterModalShowResetMobile"; "required": false; }; }, { "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", "extraHeaderDefinitions", "rowActions", "customRows"], never, false, never>;
334
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
335
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "p-table-ngx", never, { "items": { "alias": "items"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "headerLoading": { "alias": "headerLoading"; "required": false; }; "footerLoading": { "alias": "footerLoading"; "required": false; }; "amountOfLoadingRows": { "alias": "amountOfLoadingRows"; "required": false; }; "enableRowSelection": { "alias": "enableRowSelection"; "required": false; }; "rowSelectionLimit": { "alias": "rowSelectionLimit"; "required": false; }; "enableRowClick": { "alias": "enableRowClick"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "selectionKey": { "alias": "selectionKey"; "required": false; }; "canSelectKey": { "alias": "canSelectKey"; "required": false; }; "enableFloatingMenu": { "alias": "enableFloatingMenu"; "required": false; }; "floatingMenuAmountSelectedText": { "alias": "floatingMenuAmountSelectedText"; "required": false; }; "floatingMenuAmountSelectedTemplate": { "alias": "floatingMenuAmountSelectedTemplate"; "required": false; }; "enableHeader": { "alias": "enableHeader"; "required": false; }; "quickFilters": { "alias": "quickFilters"; "required": false; }; "activeQuickFilterIdentifier": { "alias": "activeQuickFilterIdentifier"; "required": false; }; "enableSearch": { "alias": "enableSearch"; "required": false; }; "query": { "alias": "query"; "required": false; }; "enableFilter": { "alias": "enableFilter"; "required": false; }; "enableFilterDesktop": { "alias": "enableFilterDesktop"; "required": false; }; "selectedFiltersAmount": { "alias": "selectedFiltersAmount"; "required": false; }; "filterButtonTemplate": { "alias": "filterButtonTemplate"; "required": false; }; "enableAction": { "alias": "enableAction"; "required": false; }; "actionButtonLoading": { "alias": "actionButtonLoading"; "required": false; }; "actionButtonIcon": { "alias": "actionButtonIcon"; "required": false; }; "actionButtonEnabled": { "alias": "actionButtonEnabled"; "required": false; }; "actionButtonText": { "alias": "actionButtonText"; "required": false; }; "actionButtonTemplate": { "alias": "actionButtonTemplate"; "required": false; }; "enableFooter": { "alias": "enableFooter"; "required": false; }; "enablePaginationSize": { "alias": "enablePaginationSize"; "required": false; }; "enablePaginationPages": { "alias": "enablePaginationPages"; "required": false; }; "enableExport": { "alias": "enableExport"; "required": false; }; "page": { "alias": "page"; "required": false; }; "total": { "alias": "total"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "hideOnSinglePage": { "alias": "hideOnSinglePage"; "required": false; }; "emptyStateType": { "alias": "emptyStateType"; "required": false; }; "emptyStateIllustration": { "alias": "emptyStateIllustration"; "required": false; }; "emptyStateHeader": { "alias": "emptyStateHeader"; "required": false; }; "emptyStateContent": { "alias": "emptyStateContent"; "required": false; }; "emptyStateAction": { "alias": "emptyStateAction"; "required": false; }; "emptyStateActionIcon": { "alias": "emptyStateActionIcon"; "required": false; }; "enableEmptyStateAction": { "alias": "enableEmptyStateAction"; "required": false; }; "emptyStateFilteredIllustration": { "alias": "emptyStateFilteredIllustration"; "required": false; }; "emptyStateFilteredHeader": { "alias": "emptyStateFilteredHeader"; "required": false; }; "emptyStateFilteredContent": { "alias": "emptyStateFilteredContent"; "required": false; }; "enableScroll": { "alias": "enableScroll"; "required": false; }; "shadow": { "alias": "shadow"; "required": false; }; "filterModalHeaderText": { "alias": "filterModalHeaderText"; "required": false; }; "filterModalSaveText": { "alias": "filterModalSaveText"; "required": false; }; "filterModalCancelText": { "alias": "filterModalCancelText"; "required": false; }; "filterModalResetText": { "alias": "filterModalResetText"; "required": false; }; "filterModalShowReset": { "alias": "filterModalShowReset"; "required": false; }; "filterModalShowResetMobile": { "alias": "filterModalShowResetMobile"; "required": false; }; }, { "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", "extraHeaderDefinitions", "rowActions", "customRows"], never, false, never>;
337
336
  }
@@ -1,7 +1,7 @@
1
1
  import { TemplateRef } from '@angular/core';
2
2
  import { cn, TableDefinitionData } from '@paperless/core';
3
3
  import * as i0 from "@angular/core";
4
- export declare class TableCell {
4
+ export declare class TableCellComponent {
5
5
  /**
6
6
  * The variant of the column
7
7
  */
@@ -48,6 +48,6 @@ export declare class TableCell {
48
48
  value: string;
49
49
  };
50
50
  get headerClass(): string;
51
- static ɵfac: i0.ɵɵFactoryDeclaration<TableCell, never>;
52
- static ɵcmp: i0.ɵɵComponentDeclaration<TableCell, "p-table-cell-ngx", never, { "variant": { "alias": "variant"; "required": false; }; "index": { "alias": "index"; "required": false; }; "rowIndex": { "alias": "rowIndex"; "required": false; }; "definition": { "alias": "definition"; "required": false; }; "item": { "alias": "item"; "required": false; }; "value": { "alias": "value"; "required": false; }; "checkbox": { "alias": "checkbox"; "required": false; }; "checkboxOffset": { "alias": "checkboxOffset"; "required": false; }; "template": { "alias": "template"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; }, {}, never, ["*"], false, never>;
51
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableCellComponent, never>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableCellComponent, "p-table-cell-ngx", never, { "variant": { "alias": "variant"; "required": false; }; "index": { "alias": "index"; "required": false; }; "rowIndex": { "alias": "rowIndex"; "required": false; }; "definition": { "alias": "definition"; "required": false; }; "item": { "alias": "item"; "required": false; }; "value": { "alias": "value"; "required": false; }; "checkbox": { "alias": "checkbox"; "required": false; }; "checkboxOffset": { "alias": "checkboxOffset"; "required": false; }; "template": { "alias": "template"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; }, {}, never, ["*"], false, never>;
53
53
  }
@@ -1,17 +1,17 @@
1
1
  import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone, TemplateRef } from '@angular/core';
2
2
  import { Components } from '@paperless/core';
3
3
  import * as i0 from "@angular/core";
4
- export declare interface TableColumn extends Components.PTableColumn {
4
+ export declare interface TableColumnComponent extends Components.PTableColumn {
5
5
  /**
6
6
  * Event to let the table know it has to re render
7
7
  */
8
8
  tableDefinitionChanged: EventEmitter<CustomEvent<boolean>>;
9
9
  }
10
- export declare class TableColumn {
10
+ export declare class TableColumnComponent {
11
11
  protected z: NgZone;
12
12
  protected el: HTMLElement;
13
13
  template: TemplateRef<any> | undefined;
14
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": { "alias": "align"; "required": false; }; "headerAlign": { "alias": "headerAlign"; "required": false; }; "flex": { "alias": "flex"; "required": false; }; "name": { "alias": "name"; "required": false; }; "path": { "alias": "path"; "required": false; }; "sizes": { "alias": "sizes"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "useSlot": { "alias": "useSlot"; "required": false; }; "hasCheckbox": { "alias": "hasCheckbox"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; }, {}, ["template"], ["*"], false, never>;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableColumnComponent, "p-table-column", never, { "align": { "alias": "align"; "required": false; }; "headerAlign": { "alias": "headerAlign"; "required": false; }; "flex": { "alias": "flex"; "required": false; }; "name": { "alias": "name"; "required": false; }; "path": { "alias": "path"; "required": false; }; "sizes": { "alias": "sizes"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "useSlot": { "alias": "useSlot"; "required": false; }; "hasCheckbox": { "alias": "hasCheckbox"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; }, {}, ["template"], ["*"], false, never>;
17
17
  }
@@ -1,17 +1,17 @@
1
1
  import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone, TemplateRef } from '@angular/core';
2
2
  import { Components } from '@paperless/core';
3
3
  import * as i0 from "@angular/core";
4
- export declare interface TableExtraHeader extends Components.PTableExtraHeader {
4
+ export declare interface TableExtraHeaderComponent extends Components.PTableExtraHeader {
5
5
  /**
6
6
  * Event to let the table know it has to re render
7
7
  */
8
8
  tableDefinitionChanged: EventEmitter<CustomEvent<boolean>>;
9
9
  }
10
- export declare class TableExtraHeader {
10
+ export declare class TableExtraHeaderComponent {
11
11
  protected z: NgZone;
12
12
  protected el: HTMLElement;
13
13
  template: TemplateRef<any> | undefined;
14
14
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
15
- static ɵfac: i0.ɵɵFactoryDeclaration<TableExtraHeader, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<TableExtraHeader, "p-table-extra-header", never, { "align": { "alias": "align"; "required": false; }; "name": { "alias": "name"; "required": false; }; "sizes": { "alias": "sizes"; "required": false; }; "parsedSizes": { "alias": "parsedSizes"; "required": false; }; "useSlot": { "alias": "useSlot"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; }, {}, ["template"], ["*"], false, never>;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableExtraHeaderComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableExtraHeaderComponent, "p-table-extra-header", never, { "align": { "alias": "align"; "required": false; }; "name": { "alias": "name"; "required": false; }; "sizes": { "alias": "sizes"; "required": false; }; "parsedSizes": { "alias": "parsedSizes"; "required": false; }; "useSlot": { "alias": "useSlot"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; }, {}, ["template"], ["*"], false, never>;
17
17
  }
@@ -1,8 +1,8 @@
1
1
  import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { Params } from '@angular/router';
3
+ import { Observable, Subscribable } from 'rxjs';
3
4
  import { Components } from '@paperless/core';
4
5
  import { TableRowActionShowFunc } from '@paperless/core/dist/types/components';
5
- import { Observable, Subscribable } from 'rxjs';
6
6
  import * as i0 from "@angular/core";
7
7
  export interface TableRowActionClickEvent {
8
8
  item?: any;
@@ -10,14 +10,14 @@ export interface TableRowActionClickEvent {
10
10
  multi: boolean;
11
11
  ctrlDown: boolean;
12
12
  }
13
- export declare interface TableRowAction extends Omit<Components.PTableRowAction, 'action' | 'showFunction'> {
13
+ export declare interface TableRowActionComponent extends Omit<Components.PTableRowAction, 'action' | 'showFunction'> {
14
14
  action: EventEmitter<TableRowActionClickEvent>;
15
15
  showFunction?: TableRowActionShowFunc;
16
16
  }
17
17
  export type AsyncItem<T> = Observable<T> | Subscribable<T> | Promise<T>;
18
18
  export type TableRowActionRouterLink = string | any[] | AsyncItem<string | any[]> | ((item: any) => AsyncItem<string | any[]> | string | any[]);
19
19
  export type TableRowActionQueryParams = Params | AsyncItem<Params> | ((item: any) => Params | AsyncItem<Params>);
20
- export declare class TableRowAction implements OnChanges {
20
+ export declare class TableRowActionComponent implements OnChanges {
21
21
  private _c;
22
22
  protected z: NgZone;
23
23
  protected el: HTMLElement;
@@ -43,6 +43,6 @@ export declare class TableRowAction implements OnChanges {
43
43
  showFunction?: TableRowActionShowFunc;
44
44
  constructor(_c: ChangeDetectorRef, z: NgZone, r: ElementRef);
45
45
  ngOnChanges(changes: SimpleChanges): void;
46
- static ɵfac: i0.ɵɵFactoryDeclaration<TableRowAction, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<TableRowAction, "p-table-row-action", never, { "disabled": { "alias": "disabled"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconFlip": { "alias": "iconFlip"; "required": false; }; "iconOnly": { "alias": "iconOnly"; "required": false; }; "iconRotate": { "alias": "iconRotate"; "required": false; }; "label": { "alias": "label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; "queryParams": { "alias": "queryParams"; "required": false; }; "showFunction": { "alias": "showFunction"; "required": false; }; }, { "action": "action"; "_loadingChanged": "_loadingChanged"; }, never, ["*"], false, never>;
46
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableRowActionComponent, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableRowActionComponent, "p-table-row-action", never, { "disabled": { "alias": "disabled"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconFlip": { "alias": "iconFlip"; "required": false; }; "iconOnly": { "alias": "iconOnly"; "required": false; }; "iconRotate": { "alias": "iconRotate"; "required": false; }; "label": { "alias": "label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; "queryParams": { "alias": "queryParams"; "required": false; }; "showFunction": { "alias": "showFunction"; "required": false; }; }, { "action": "action"; "_loadingChanged": "_loadingChanged"; }, never, ["*"], false, never>;
48
48
  }
@@ -6,8 +6,8 @@ export * from './p-table-ngx.directive';
6
6
  export * from './p-table.directive';
7
7
  export * from './p-table-custom-actions.directive';
8
8
  export * from './p-table-custom-row.directive';
9
- import { TableCustomRowDirective } from './p-table-custom-row.directive';
10
9
  import { TableCustomFilterDirective } from './p-table-custom-filter.directive';
10
+ import { TableCustomRowDirective } from './p-table-custom-row.directive';
11
11
  import { TableFooterDirective } from './p-table-footer.directive';
12
12
  import { TableHeaderDirective } from './p-table-header.directive';
13
13
  import { TableNgxDirective } from './p-table-ngx.directive';
@@ -1,9 +1,7 @@
1
- import { ElementRef } from '@angular/core';
2
1
  import { BaseValueAccessor } from '../../../base';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class TableFooterDirective extends BaseValueAccessor {
5
4
  protected lastValue: any;
6
- constructor(el: ElementRef);
7
5
  writeValue(value: any): void;
8
6
  handleChange(value: number, type: 'page' | 'pageSize'): void;
9
7
  static ɵfac: i0.ɵɵFactoryDeclaration<TableFooterDirective, never>;
@@ -1,4 +1,3 @@
1
- import { ElementRef } from '@angular/core';
2
1
  import { QuickFilter } from '@paperless/core';
3
2
  import { BaseValueAccessor } from '../../../base';
4
3
  import * as i0 from "@angular/core";
@@ -8,7 +7,6 @@ export interface TableHeaderDirectiveValue {
8
7
  }
9
8
  export declare class TableHeaderDirective extends BaseValueAccessor {
10
9
  protected lastValue: TableHeaderDirectiveValue;
11
- constructor(el: ElementRef);
12
10
  writeValue(value: TableHeaderDirectiveValue): void;
13
11
  handleChange(value: string | QuickFilter, type: 'query' | 'quickFilter'): void;
14
12
  private _setActiveQuickFilter;
@@ -1,7 +1,7 @@
1
1
  import { ElementRef } from '@angular/core';
2
2
  import { QuickFilter } from '@paperless/core';
3
3
  import { BaseValueAccessor } from '../../../base';
4
- import { Table } from '../components/table/table.component';
4
+ import { TableComponent } from '../components/table/table.component';
5
5
  import * as i0 from "@angular/core";
6
6
  export interface TableDirectiveValue {
7
7
  query?: string;
@@ -14,7 +14,7 @@ export interface TableDirectiveValue {
14
14
  export declare class TableNgxDirective extends BaseValueAccessor {
15
15
  private _base;
16
16
  protected lastValue: TableDirectiveValue;
17
- constructor(el: ElementRef, _base: Table);
17
+ constructor(el: ElementRef, _base: TableComponent);
18
18
  writeValue(value: TableDirectiveValue): void;
19
19
  registerOnChange(fn: (value: any) => void): void;
20
20
  registerOnTouched(fn: () => void): void;
@@ -1,4 +1,3 @@
1
- import { ElementRef } from '@angular/core';
2
1
  import { QuickFilter } from '@paperless/core';
3
2
  import { BaseValueAccessor } from '../../../base';
4
3
  import * as i0 from "@angular/core";
@@ -11,7 +10,6 @@ export interface NGXTableDirectiveValue {
11
10
  }
12
11
  export declare class TableDirective extends BaseValueAccessor {
13
12
  protected lastValue: NGXTableDirectiveValue;
14
- constructor(el: ElementRef);
15
13
  writeValue(value: NGXTableDirectiveValue): void;
16
14
  registerOnChange(fn: (value: any) => void): void;
17
15
  registerOnTouched(fn: () => void): void;
@@ -17,6 +17,6 @@ import * as i15 from "@angular/router";
17
17
  import * as i16 from "../../stencil.module";
18
18
  export declare class TableModule {
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<TableModule, never>;
20
- static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, [typeof i1.Table, typeof i2.TableCell, typeof i3.TableColumn, typeof i4.TableRowAction, typeof i5.TableExtraHeader, typeof i6.TableFooterDirective, typeof i7.TableHeaderDirective, typeof i8.TableDirective, typeof i9.TableNgxDirective, typeof i10.TableFilterModalDirective, typeof i11.TableCustomFilterDirective, typeof i12.TableCustomActionsDirective, typeof i13.TableCustomRowDirective], [typeof i14.CommonModule, typeof i15.RouterModule, typeof i16.StencilModule], [typeof i1.Table, typeof i2.TableCell, typeof i3.TableColumn, typeof i4.TableRowAction, typeof i5.TableExtraHeader, typeof i6.TableFooterDirective, typeof i7.TableHeaderDirective, typeof i8.TableDirective, typeof i9.TableNgxDirective, typeof i10.TableFilterModalDirective, typeof i11.TableCustomFilterDirective, typeof i12.TableCustomActionsDirective, typeof i13.TableCustomRowDirective]>;
20
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, [typeof i1.TableComponent, typeof i2.TableCellComponent, typeof i3.TableColumnComponent, typeof i4.TableRowActionComponent, typeof i5.TableExtraHeaderComponent, typeof i6.TableFooterDirective, typeof i7.TableHeaderDirective, typeof i8.TableDirective, typeof i9.TableNgxDirective, typeof i10.TableFilterModalDirective, typeof i11.TableCustomFilterDirective, typeof i12.TableCustomActionsDirective, typeof i13.TableCustomRowDirective], [typeof i14.CommonModule, typeof i15.RouterModule, typeof i16.StencilModule], [typeof i1.TableComponent, typeof i2.TableCellComponent, typeof i3.TableColumnComponent, typeof i4.TableRowActionComponent, typeof i5.TableExtraHeaderComponent, typeof i6.TableFooterDirective, typeof i7.TableHeaderDirective, typeof i8.TableDirective, typeof i9.TableNgxDirective, typeof i10.TableFilterModalDirective, typeof i11.TableCustomFilterDirective, typeof i12.TableCustomActionsDirective, typeof i13.TableCustomRowDirective]>;
21
21
  static ɵinj: i0.ɵɵInjectorDeclaration<TableModule>;
22
22
  }
@@ -1,7 +1,5 @@
1
1
  import { TableQuickFilter } from './base';
2
- export declare const createFormFilters: (values: {
3
- [key: string]: any;
4
- }, quickFilters: TableQuickFilter[], quickFilterKey?: string) => {
2
+ export declare const createFormFilters: (values: Record<string, any>, quickFilters: TableQuickFilter[], quickFilterKey?: string) => {
5
3
  filters: {
6
4
  key: string;
7
5
  value: any;
@@ -1,3 +1,3 @@
1
1
  export * from './toast-container/toast-container.component';
2
- import { ToastContainer } from './toast-container/toast-container.component';
3
- export declare const TOAST_COMPONENTS: (typeof ToastContainer)[];
2
+ import { ToastContainerComponent } from './toast-container/toast-container.component';
3
+ export declare const TOAST_COMPONENTS: (typeof ToastContainerComponent)[];
@@ -4,13 +4,13 @@ import * as i0 from "@angular/core";
4
4
  export declare interface PToastContainer extends Components.PToastContainer {
5
5
  placement: 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end';
6
6
  }
7
- export declare class ToastContainer {
7
+ export declare class ToastContainerComponent {
8
8
  protected z: NgZone;
9
9
  private _toastService;
10
10
  toasts$: import("rxjs").Observable<import("@paperless/angular").ToastData[]>;
11
11
  protected el: HTMLElement;
12
12
  constructor(r: ElementRef, z: NgZone);
13
13
  dismiss(identifier: string): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<ToastContainer, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<ToastContainer, "p-toast-container", never, { "placement": { "alias": "placement"; "required": false; }; }, {}, never, never, false, never>;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToastContainerComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToastContainerComponent, "p-toast-container", never, { "placement": { "alias": "placement"; "required": false; }; }, {}, never, never, false, never>;
16
16
  }
@@ -1,7 +1,7 @@
1
- import { EventEmitter } from '@angular/core';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { ToastActionFunction } from '../types';
3
3
  import * as i0 from "@angular/core";
4
- export declare class ToastDirective {
4
+ export declare class ToastDirective implements OnInit {
5
5
  delay: number | 'infinite';
6
6
  identifier: string;
7
7
  dismissOnAction: boolean;
@@ -5,6 +5,6 @@ import * as i3 from "@angular/common";
5
5
  import * as i4 from "../../stencil.module";
6
6
  export declare class ToastModule {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<ToastModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<ToastModule, [typeof i1.ToastContainer, typeof i2.ToastDirective], [typeof i3.CommonModule, typeof i4.StencilModule], [typeof i1.ToastContainer, typeof i2.ToastDirective]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ToastModule, [typeof i1.ToastContainerComponent, typeof i2.ToastDirective], [typeof i3.CommonModule, typeof i4.StencilModule], [typeof i1.ToastContainerComponent, typeof i2.ToastDirective]>;
9
9
  static ɵinj: i0.ɵɵInjectorDeclaration<ToastModule>;
10
10
  }
@@ -1,5 +1,4 @@
1
- import { RotateOptions } from '@paperless/core';
2
- import { IconFlipOptions, IconVariant } from '@paperless/core/dist/types/components/atoms/icon/icon.component';
1
+ import { IconFlipOptions, IconVariant, RotateOptions } from '@paperless/core';
3
2
  import { ToastDirective } from './directives';
4
3
  export declare enum ToastVariants {
5
4
  Success = "positive",
@@ -4,7 +4,7 @@ import * as i0 from "@angular/core";
4
4
  export declare class CustomDatePipe implements PipeTransform {
5
5
  private _datePipe;
6
6
  constructor(_datePipe: DatePipe);
7
- transform(value: any, format?: string): string | null;
7
+ transform(value: string | Date, format?: string): string | null;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<CustomDatePipe, never>;
9
9
  static ɵpipe: i0.ɵɵPipeDeclaration<CustomDatePipe, "pdate", false>;
10
10
  }
@@ -4,7 +4,7 @@ import * as i0 from "@angular/core";
4
4
  export declare class SafePipe implements PipeTransform {
5
5
  protected sanitizer: DomSanitizer;
6
6
  constructor(sanitizer: DomSanitizer);
7
- transform(value: any, type: string): SafeHtml | SafeStyle | SafeScript | SafeUrl | SafeResourceUrl;
7
+ transform(value: string, type: string): SafeHtml | SafeStyle | SafeScript | SafeUrl | SafeResourceUrl;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<SafePipe, never>;
9
9
  static ɵpipe: i0.ɵɵPipeDeclaration<SafePipe, "psafe", false>;
10
10
  }
@@ -392,15 +392,6 @@ export declare class PIllustration {
392
392
  }
393
393
  export declare interface PIllustration extends Components.PIllustration {
394
394
  }
395
- export declare class PIllustrationDeprecated {
396
- protected z: NgZone;
397
- protected el: HTMLPIllustrationDeprecatedElement;
398
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
399
- static ɵfac: i0.ɵɵFactoryDeclaration<PIllustrationDeprecated, never>;
400
- static ɵcmp: i0.ɵɵComponentDeclaration<PIllustrationDeprecated, "p-illustration-deprecated", never, { "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], false, never>;
401
- }
402
- export declare interface PIllustrationDeprecated extends Components.PIllustrationDeprecated {
403
- }
404
395
  export declare class PInfoPanel {
405
396
  protected z: NgZone;
406
397
  protected el: HTMLPInfoPanelElement;
@@ -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.PBadge | typeof d.PButton | typeof d.PButtonGroup | typeof d.PCalendar | typeof d.PCardBody | typeof d.PCardContainer | typeof d.PCardHeader | typeof d.PCheckbox | typeof d.PContentSlider | 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.PEmptyState | typeof d.PField | typeof d.PFieldContainer | typeof d.PFloatingMenuContainer | typeof d.PFloatingMenuItem | typeof d.PHelper | typeof d.PIbanIcon | typeof d.PIcon | typeof d.PIllustration | typeof d.PIllustrationDeprecated | typeof d.PInfoPanel | typeof d.PLabel | typeof d.PLayout | typeof d.PListing | typeof d.PListingItem | typeof d.PListingLine | 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.PNavigationSection | typeof d.PNavigationTitle | typeof d.PPagination | typeof d.PPaginationPages | typeof d.PPaginationPagesItem | typeof d.PPaginationSize | typeof d.PProfile | typeof d.PRadio | typeof d.PRange | typeof d.PSegmentContainer | typeof d.PSegmentItem | typeof d.PSelect | typeof d.PSmile | typeof d.PStepper | typeof d.PStepperItem | typeof d.PStepperLine | typeof d.PTabContainer | typeof d.PTabItem | typeof d.PTableContainer | typeof d.PTableFooter | typeof d.PTableHeader | typeof d.PTableRow | typeof d.PTableRowActionsContainer | typeof d.PToast | typeof d.PToggle | 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.PBadge | typeof d.PButton | typeof d.PButtonGroup | typeof d.PCalendar | typeof d.PCardBody | typeof d.PCardContainer | typeof d.PCardHeader | typeof d.PCheckbox | typeof d.PContentSlider | 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.PEmptyState | typeof d.PField | typeof d.PFieldContainer | typeof d.PFloatingMenuContainer | typeof d.PFloatingMenuItem | typeof d.PHelper | typeof d.PIbanIcon | typeof d.PIcon | typeof d.PIllustration | typeof d.PInfoPanel | typeof d.PLabel | typeof d.PLayout | typeof d.PListing | typeof d.PListingItem | typeof d.PListingLine | 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.PNavigationSection | typeof d.PNavigationTitle | typeof d.PPagination | typeof d.PPaginationPages | typeof d.PPaginationPagesItem | typeof d.PPaginationSize | typeof d.PProfile | typeof d.PRadio | typeof d.PRange | typeof d.PSegmentContainer | typeof d.PSegmentItem | typeof d.PSelect | typeof d.PSmile | typeof d.PStepper | typeof d.PStepperItem | typeof d.PStepperLine | typeof d.PTabContainer | typeof d.PTabItem | typeof d.PTableContainer | typeof d.PTableFooter | typeof d.PTableHeader | typeof d.PTableRow | typeof d.PTableRowActionsContainer | typeof d.PToast | typeof d.PToggle | typeof d.PTooltip)[];