@paperless/angular 1.62.0 → 1.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/modules/table/components/table/table.component.mjs +16 -4
- package/esm2020/lib/modules/table/directives/index.mjs +4 -1
- package/esm2020/lib/modules/table/directives/p-table-custom-actions.directive.mjs +13 -0
- package/esm2020/lib/modules/table/table.module.mjs +3 -2
- package/esm2020/lib/stencil/components.mjs +4 -4
- package/fesm2015/paperless-angular.mjs +31 -7
- package/fesm2015/paperless-angular.mjs.map +1 -1
- package/fesm2020/paperless-angular.mjs +31 -7
- package/fesm2020/paperless-angular.mjs.map +1 -1
- package/lib/modules/table/components/table/table.component.d.ts +6 -1
- package/lib/modules/table/directives/index.d.ts +1 -0
- package/lib/modules/table/directives/p-table-custom-actions.directive.d.ts +5 -0
- package/lib/modules/table/table.module.d.ts +5 -4
- package/lib/stencil/components.d.ts +1 -1
- package/package.json +1 -1
|
@@ -109,6 +109,10 @@ export declare class Table implements OnInit, OnChanges {
|
|
|
109
109
|
* Wether to show the filter button
|
|
110
110
|
*/
|
|
111
111
|
enableFilter: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Wether to show the filter button on desktop
|
|
114
|
+
*/
|
|
115
|
+
enableFilterDesktop: boolean;
|
|
112
116
|
/**
|
|
113
117
|
* The amount of filters being selected
|
|
114
118
|
*/
|
|
@@ -225,6 +229,7 @@ export declare class Table implements OnInit, OnChanges {
|
|
|
225
229
|
loadingRows: unknown[];
|
|
226
230
|
private _ctrlDown;
|
|
227
231
|
headerCustomFilterTemplate: TemplateRef<any> | undefined;
|
|
232
|
+
headerCustomActionsTemplate: TemplateRef<any> | undefined;
|
|
228
233
|
private _columnDefinitions;
|
|
229
234
|
set columnDefinitions(v: QueryList<TableColumn>);
|
|
230
235
|
get columnDefinitions(): QueryList<TableColumn>;
|
|
@@ -293,5 +298,5 @@ export declare class Table implements OnInit, OnChanges {
|
|
|
293
298
|
private _parseDefinitionSizes;
|
|
294
299
|
private _parseRowActionsRowDefinition;
|
|
295
300
|
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>;
|
|
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"; "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", "headerCustomActionsTemplate", "filterModalTemplate", "columnDefinitions", "rowActions"], never, false, never>;
|
|
297
302
|
}
|
|
@@ -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 "
|
|
13
|
-
import * as i12 from "@angular/
|
|
14
|
-
import * as i13 from "
|
|
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
|
|
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
|
}
|
|
@@ -637,7 +637,7 @@ export declare class PTableHeader {
|
|
|
637
637
|
protected el: HTMLElement;
|
|
638
638
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
639
639
|
static ɵfac: i0.ɵɵFactoryDeclaration<PTableHeader, never>;
|
|
640
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PTableHeader, "p-table-header", never, { "actionButtonTemplate": "actionButtonTemplate"; "actionIcon": "actionIcon"; "actionLoading": "actionLoading"; "actionText": "actionText"; "activeQuickFilterIdentifier": "activeQuickFilterIdentifier"; "canUseAction": "canUseAction"; "enableAction": "enableAction"; "enableFilter": "enableFilter"; "enableSearch": "enableSearch"; "filterButtonTemplate": "filterButtonTemplate"; "itemsSelectedAmount": "itemsSelectedAmount"; "loading": "loading"; "query": "query"; "quickFilters": "quickFilters"; "selectedFiltersAmount": "selectedFiltersAmount"; }, {}, never, ["*"], false, never>;
|
|
640
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PTableHeader, "p-table-header", never, { "actionButtonTemplate": "actionButtonTemplate"; "actionIcon": "actionIcon"; "actionLoading": "actionLoading"; "actionText": "actionText"; "activeQuickFilterIdentifier": "activeQuickFilterIdentifier"; "canUseAction": "canUseAction"; "enableAction": "enableAction"; "enableFilter": "enableFilter"; "enableFilterDesktop": "enableFilterDesktop"; "enableSearch": "enableSearch"; "filterButtonTemplate": "filterButtonTemplate"; "itemsSelectedAmount": "itemsSelectedAmount"; "loading": "loading"; "query": "query"; "quickFilters": "quickFilters"; "selectedFiltersAmount": "selectedFiltersAmount"; }, {}, never, ["*"], false, never>;
|
|
641
641
|
}
|
|
642
642
|
export declare interface PTableHeader extends Components.PTableHeader {
|
|
643
643
|
/**
|