@paperless/angular 2.0.1-beta.1 → 2.0.1-beta.100

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 (44) hide show
  1. package/esm2020/lib/directives/index.mjs +19 -7
  2. package/esm2020/lib/directives/p-checkbox.directive.mjs +39 -0
  3. package/esm2020/lib/directives/p-field.directive.mjs +38 -0
  4. package/esm2020/lib/directives/p-pagination-pages.directive.mjs +41 -0
  5. package/esm2020/lib/directives/p-pagination-size.directive.mjs +41 -0
  6. package/esm2020/lib/directives/p-radio.directive.mjs +60 -0
  7. package/esm2020/lib/directives/p-toggle.directive.mjs +38 -0
  8. package/esm2020/lib/modules/table/components/table/table.component.mjs +159 -81
  9. package/esm2020/lib/modules/table/components/table-cell/table-cell.component.mjs +4 -18
  10. package/esm2020/lib/modules/table/directives/index.mjs +4 -1
  11. package/esm2020/lib/modules/table/directives/p-table-custom-actions.directive.mjs +13 -0
  12. package/esm2020/lib/modules/table/table.module.mjs +3 -2
  13. package/esm2020/lib/modules/toast/types.mjs +4 -3
  14. package/esm2020/lib/paperless.module.mjs +15 -11
  15. package/esm2020/lib/stencil/angular-component-lib/utils.mjs +9 -1
  16. package/esm2020/lib/stencil/components.mjs +489 -119
  17. package/esm2020/lib/stencil/index.mjs +19 -4
  18. package/esm2020/lib/stencil.module.mjs +1 -1
  19. package/fesm2015/paperless-angular.mjs +878 -256
  20. package/fesm2015/paperless-angular.mjs.map +1 -1
  21. package/fesm2020/paperless-angular.mjs +873 -255
  22. package/fesm2020/paperless-angular.mjs.map +1 -1
  23. package/lib/directives/index.d.ts +9 -4
  24. package/lib/directives/p-checkbox.directive.d.ts +9 -0
  25. package/lib/directives/p-field.directive.d.ts +9 -0
  26. package/lib/directives/p-pagination-pages.directive.d.ts +10 -0
  27. package/lib/directives/{p-page-size-select.directive.d.ts → p-pagination-size.directive.d.ts} +3 -3
  28. package/lib/directives/p-radio.directive.d.ts +18 -0
  29. package/lib/directives/p-toggle.directive.d.ts +9 -0
  30. package/lib/modules/table/components/table/table.component.d.ts +45 -14
  31. package/lib/modules/table/components/table-cell/table-cell.component.d.ts +2 -6
  32. package/lib/modules/table/directives/index.d.ts +1 -0
  33. package/lib/modules/table/directives/p-table-custom-actions.directive.d.ts +5 -0
  34. package/lib/modules/table/table.module.d.ts +5 -4
  35. package/lib/modules/toast/types.d.ts +3 -2
  36. package/lib/paperless.module.d.ts +15 -11
  37. package/lib/stencil/components.d.ts +302 -106
  38. package/lib/stencil/index.d.ts +1 -1
  39. package/lib/stencil.module.d.ts +1 -1
  40. package/package.json +1 -1
  41. package/paperless.css +265 -62
  42. package/esm2020/lib/directives/p-page-size-select.directive.mjs +0 -41
  43. package/esm2020/lib/directives/p-pagination.directive.mjs +0 -41
  44. 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-page-size-select.directive';
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
- import { CropperDirective } from './p-cropper.directive';
7
- export declare const DIRECTIVES: (typeof CropperDirective)[];
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
+ }
@@ -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 PageSizeSelectDirective extends BaseValueAccessor {
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<PageSizeSelectDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<PageSizeSelectDirective, "p-page-size-select", never, {}, {}, never, never, false, never>;
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 'projects/paperless/src/public-api';
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
  */
@@ -109,6 +112,10 @@ export declare class Table implements OnInit, OnChanges {
109
112
  * Wether to show the filter button
110
113
  */
111
114
  enableFilter: boolean;
115
+ /**
116
+ * Wether to show the filter button on desktop
117
+ */
118
+ enableFilterDesktop: boolean;
112
119
  /**
113
120
  * The amount of filters being selected
114
121
  */
@@ -163,13 +170,13 @@ export declare class Table implements OnInit, OnChanges {
163
170
  */
164
171
  enableFooter: boolean;
165
172
  /**
166
- * Wether to enable page size select
173
+ * Wether to enable pagination size select
167
174
  */
168
- enablePageSize: boolean;
175
+ enablePaginationSize: boolean;
169
176
  /**
170
- * Wether to enable pagination
177
+ * Wether to enable pagination pages
171
178
  */
172
- enablePagination: boolean;
179
+ enablePaginationPages: boolean;
173
180
  /**
174
181
  * Wether to enable export
175
182
  */
@@ -211,23 +218,36 @@ export declare class Table implements OnInit, OnChanges {
211
218
  emptyStateHeader: string;
212
219
  emptyStateContent: string;
213
220
  emptyStateAction: string;
221
+ emptyStateActionIcon: IconVariant;
214
222
  enableEmptyStateAction: boolean;
215
223
  emptyStateFilteredIllustration: IllustrationVariant;
216
224
  emptyStateFilteredHeader: string;
217
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?;
218
239
  /**
219
240
  * Event whenever the empty state is clicked
220
241
  */
221
242
  emptyStateActionClick: EventEmitter<null>;
222
243
  shadow: boolean;
223
- columns: any[];
244
+ columns$: BehaviorSubject<any[]>;
224
245
  parsedItems: any[];
225
246
  loadingRows: unknown[];
226
247
  private _ctrlDown;
227
248
  headerCustomFilterTemplate: TemplateRef<any> | undefined;
228
- private _columnDefinitions;
229
- set columnDefinitions(v: QueryList<TableColumn>);
230
- get columnDefinitions(): QueryList<TableColumn>;
249
+ headerCustomActionsTemplate: TemplateRef<any> | undefined;
250
+ columnDefinitions: QueryList<TableColumn>;
231
251
  filterModalTemplate: TemplateRef<any> | undefined;
232
252
  filterModalShow$: BehaviorSubject<boolean>;
233
253
  private _rowActions;
@@ -244,16 +264,23 @@ export declare class Table implements OnInit, OnChanges {
244
264
  filterModalSave: EventEmitter<void>;
245
265
  filterModalReset: EventEmitter<boolean>;
246
266
  rowActionsRow$: BehaviorSubject<TableRowAction[]>;
247
- rowActionsRowDefinition$: BehaviorSubject<any>;
248
267
  rowActionsFloatingAll$: BehaviorSubject<TableRowAction[]>;
249
268
  rowActionsFloating$: BehaviorSubject<TableRowAction[]>;
250
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;
251
275
  private _resizeTimeout;
252
276
  private _inputEnableRowSelection;
253
277
  private _inputRowSelectionLimit;
278
+ footerHidden$: BehaviorSubject<boolean>;
279
+ cn: typeof cn;
254
280
  constructor(_changeDetection: ChangeDetectorRef);
255
281
  ngOnInit(): void;
256
282
  ngOnChanges(changes: SimpleChanges): void;
283
+ ngAfterViewInit(): void;
257
284
  onResize(): void;
258
285
  keyDown({ key }: {
259
286
  key: string;
@@ -270,6 +297,7 @@ export declare class Table implements OnInit, OnChanges {
270
297
  onFilterModalReset(resetQuickFilter?: boolean): void;
271
298
  emptyStateClicked(): void;
272
299
  parseRowActionsRow(actions: TableRowAction[] | null, rowIndex: number): TableRowAction[];
300
+ onContainerXScroll(ev: any): void;
273
301
  private _parseItems;
274
302
  private _generateColumns;
275
303
  _checkboxDisabled(item: any, rowIndex: number): boolean;
@@ -289,9 +317,12 @@ export declare class Table implements OnInit, OnChanges {
289
317
  private _setRowSelectionData;
290
318
  private _showFloatingMenu;
291
319
  private _parseDefinitions;
292
- private _findLastDefinitionBySize;
293
320
  private _parseDefinitionSizes;
294
- private _parseRowActionsRowDefinition;
321
+ private _checkChangesSubscriptions;
322
+ private _calculateColumnWidths;
323
+ private _setRowsWidth;
324
+ private _resetScrollPosition;
325
+ private _calculateScrollPosition;
295
326
  static ɵfac: i0.ɵɵFactoryDeclaration<Table, never>;
296
- 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"; "selectedFiltersAmount": "selectedFiltersAmount"; "filterButtonTemplate": "filterButtonTemplate"; "enableAction": "enableAction"; "actionButtonLoading": "actionButtonLoading"; "actionButtonIcon": "actionButtonIcon"; "actionButtonEnabled": "actionButtonEnabled"; "actionButtonText": "actionButtonText"; "actionButtonTemplate": "actionButtonTemplate"; "enableFooter": "enableFooter"; "enablePageSize": "enablePageSize"; "enablePagination": "enablePagination"; "enableExport": "enableExport"; "page": "page"; "total": "total"; "pageSize": "pageSize"; "pageSizeOptions": "pageSizeOptions"; "hideOnSinglePage": "hideOnSinglePage"; "emptyStateType": "emptyStateType"; "emptyStateIllustration": "emptyStateIllustration"; "emptyStateHeader": "emptyStateHeader"; "emptyStateContent": "emptyStateContent"; "emptyStateAction": "emptyStateAction"; "enableEmptyStateAction": "enableEmptyStateAction"; "emptyStateFilteredIllustration": "emptyStateFilteredIllustration"; "emptyStateFilteredHeader": "emptyStateFilteredHeader"; "emptyStateFilteredContent": "emptyStateFilteredContent"; "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", "filterModalTemplate", "columnDefinitions", "rowActions"], never, false, never>;
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>;
297
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' | 'actions';
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"; "tableHasActions": "tableHasActions"; "checkbox": "checkbox"; "template": "template"; }, {}, never, never, false, never>;
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
  }
@@ -4,6 +4,7 @@ export * from './p-table-footer.directive';
4
4
  export * from './p-table-header.directive';
5
5
  export * from './p-table-ngx.directive';
6
6
  export * from './p-table.directive';
7
+ export * from './p-table-custom-actions.directive';
7
8
  import { TableCustomFilterDirective } from './p-table-custom-filter.directive';
8
9
  import { TableFooterDirective } from './p-table-footer.directive';
9
10
  import { TableHeaderDirective } from './p-table-header.directive';
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class TableCustomActionsDirective {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableCustomActionsDirective, never>;
4
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableCustomActionsDirective, "[p-table-custom-actions]", never, {}, {}, never, never, false, never>;
5
+ }
@@ -9,11 +9,12 @@ import * as i7 from "./directives/p-table.directive";
9
9
  import * as i8 from "./directives/p-table-ngx.directive";
10
10
  import * as i9 from "./directives/p-table-filter-modal.directive";
11
11
  import * as i10 from "./directives/p-table-custom-filter.directive";
12
- import * as i11 from "@angular/common";
13
- import * as i12 from "@angular/router";
14
- import * as i13 from "../../stencil.module";
12
+ import * as i11 from "./directives/p-table-custom-actions.directive";
13
+ import * as i12 from "@angular/common";
14
+ import * as i13 from "@angular/router";
15
+ import * as i14 from "../../stencil.module";
15
16
  export declare class TableModule {
16
17
  static ɵfac: i0.ɵɵFactoryDeclaration<TableModule, never>;
17
- static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, [typeof i1.Table, typeof i2.TableCell, typeof i3.TableColumn, typeof i4.TableRowAction, typeof i5.TableFooterDirective, typeof i6.TableHeaderDirective, typeof i7.TableDirective, typeof i8.TableNgxDirective, typeof i9.TableFilterModalDirective, typeof i10.TableCustomFilterDirective], [typeof i11.CommonModule, typeof i12.RouterModule, typeof i13.StencilModule], [typeof i1.Table, typeof i2.TableCell, typeof i3.TableColumn, typeof i4.TableRowAction, typeof i5.TableFooterDirective, typeof i6.TableHeaderDirective, typeof i7.TableDirective, typeof i8.TableNgxDirective, typeof i9.TableFilterModalDirective, typeof i10.TableCustomFilterDirective]>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, [typeof i1.Table, typeof i2.TableCell, typeof i3.TableColumn, typeof i4.TableRowAction, typeof i5.TableFooterDirective, typeof i6.TableHeaderDirective, typeof i7.TableDirective, typeof i8.TableNgxDirective, typeof i9.TableFilterModalDirective, typeof i10.TableCustomFilterDirective, typeof i11.TableCustomActionsDirective], [typeof i12.CommonModule, typeof i13.RouterModule, typeof i14.StencilModule], [typeof i1.Table, typeof i2.TableCell, typeof i3.TableColumn, typeof i4.TableRowAction, typeof i5.TableFooterDirective, typeof i6.TableHeaderDirective, typeof i7.TableDirective, typeof i8.TableNgxDirective, typeof i9.TableFilterModalDirective, typeof i10.TableCustomFilterDirective, typeof i11.TableCustomActionsDirective]>;
18
19
  static ɵinj: i0.ɵɵInjectorDeclaration<TableModule>;
19
20
  }
@@ -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 = "unbiased",
6
+ Warning = "biased",
7
7
  Error = "negative",
8
+ Neutral = "neutral",
8
9
  Positive = "positive",
9
- Unbiased = "unbiased",
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-page-size-select.directive";
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 "./pipes/currency.pipe";
9
- import * as i7 from "./pipes/date.pipe";
10
- import * as i8 from "./pipes/safe.pipe";
11
- import * as i9 from "@angular/common";
12
- import * as i10 from "./stencil.module";
13
- import * as i11 from "./modules/table/table.module";
14
- import * as i12 from "./modules/toast/toast.module";
15
- import * as i13 from "./modules/overlay/overlay.module";
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.PaginationDirective, typeof i2.PageSizeSelectDirective, typeof i3.SelectDirective, typeof i4.DatepickerDirective, typeof i5.CropperDirective, typeof i6.CustomCurrencyPipe, typeof i7.CustomDatePipe, typeof i8.SafePipe], [typeof i9.CommonModule, typeof i10.StencilModule, typeof i11.TableModule, typeof i12.ToastModule, typeof i13.OverlayModule], [typeof i10.StencilModule, typeof i11.TableModule, typeof i12.ToastModule, typeof i13.OverlayModule, typeof i1.PaginationDirective, typeof i2.PageSizeSelectDirective, typeof i3.SelectDirective, typeof i4.DatepickerDirective, typeof i5.CropperDirective, typeof i6.CustomCurrencyPipe, typeof i7.CustomDatePipe, typeof i8.SafePipe]>;
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
  }