@paperless/angular 2.19.7 → 2.20.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/paperless.module.mjs +8 -6
- package/esm2020/lib/pipes/index.mjs +12 -2
- package/esm2020/lib/pipes/select-autocomplete.pipe.mjs +17 -0
- package/esm2020/lib/pipes/select-select-all.pipe.mjs +17 -0
- package/fesm2015/paperless-angular.mjs +38 -4
- package/fesm2015/paperless-angular.mjs.map +1 -1
- package/fesm2020/paperless-angular.mjs +38 -4
- package/fesm2020/paperless-angular.mjs.map +1 -1
- package/lib/paperless.module.d.ts +8 -6
- package/lib/pipes/index.d.ts +4 -1
- package/lib/pipes/select-autocomplete.pipe.d.ts +7 -0
- package/lib/pipes/select-select-all.pipe.d.ts +7 -0
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@ import { OverlayModule as OverlayModule$1, OverlayConfig } from '@angular/cdk/ov
|
|
|
13
13
|
import { PlatformModule } from '@angular/cdk/platform';
|
|
14
14
|
import { PortalModule, CdkPortal, ComponentPortal } from '@angular/cdk/portal';
|
|
15
15
|
import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
|
|
16
|
-
import { PAGINATION_DEFAULT_PAGE_SIZE, cn, getTableCellColumnClasses, objectGetByPath, state, isMobile, floatingMenuContainerClass, onStateChange, tableColumSizesOptions } from '@paperless/core';
|
|
16
|
+
import { PAGINATION_DEFAULT_PAGE_SIZE, cn, getTableCellColumnClasses, objectGetByPath, state, isMobile, floatingMenuContainerClass, onStateChange, tableColumSizesOptions, SELECT_DEFAULT_MAX_DISPLAYED_ITEMS } from '@paperless/core';
|
|
17
17
|
import { startWith, tap, pairwise, map, filter as filter$1, debounce } from 'rxjs/operators';
|
|
18
18
|
import * as i2 from '@angular/router';
|
|
19
19
|
import { RouterModule } from '@angular/router';
|
|
@@ -4848,7 +4848,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
4848
4848
|
}]
|
|
4849
4849
|
}], ctorParameters: function () { return [{ type: i1$3.DomSanitizer }]; } });
|
|
4850
4850
|
|
|
4851
|
-
|
|
4851
|
+
class SelectAutocompletePipe {
|
|
4852
|
+
transform(value) {
|
|
4853
|
+
return value > SELECT_DEFAULT_MAX_DISPLAYED_ITEMS;
|
|
4854
|
+
}
|
|
4855
|
+
}
|
|
4856
|
+
SelectAutocompletePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SelectAutocompletePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4857
|
+
SelectAutocompletePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SelectAutocompletePipe, name: "pSelectAutocomplete" });
|
|
4858
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SelectAutocompletePipe, decorators: [{
|
|
4859
|
+
type: Pipe,
|
|
4860
|
+
args: [{
|
|
4861
|
+
name: 'pSelectAutocomplete',
|
|
4862
|
+
}]
|
|
4863
|
+
}] });
|
|
4864
|
+
|
|
4865
|
+
class SelectSelectAllPipe {
|
|
4866
|
+
transform(value) {
|
|
4867
|
+
return value <= SELECT_DEFAULT_MAX_DISPLAYED_ITEMS;
|
|
4868
|
+
}
|
|
4869
|
+
}
|
|
4870
|
+
SelectSelectAllPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SelectSelectAllPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4871
|
+
SelectSelectAllPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SelectSelectAllPipe, name: "pSelectSelectAll" });
|
|
4872
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SelectSelectAllPipe, decorators: [{
|
|
4873
|
+
type: Pipe,
|
|
4874
|
+
args: [{
|
|
4875
|
+
name: 'pSelectSelectAll',
|
|
4876
|
+
}]
|
|
4877
|
+
}] });
|
|
4878
|
+
|
|
4879
|
+
const PIPES = [
|
|
4880
|
+
CustomCurrencyPipe,
|
|
4881
|
+
CustomDatePipe,
|
|
4882
|
+
SafePipe,
|
|
4883
|
+
SelectAutocompletePipe,
|
|
4884
|
+
SelectSelectAllPipe,
|
|
4885
|
+
];
|
|
4852
4886
|
|
|
4853
4887
|
const NGX_PIPES = [DatePipe, CurrencyPipe];
|
|
4854
4888
|
class PaperlessModule {
|
|
@@ -4860,7 +4894,7 @@ class PaperlessModule {
|
|
|
4860
4894
|
}
|
|
4861
4895
|
}
|
|
4862
4896
|
PaperlessModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaperlessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4863
|
-
PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: PaperlessModule, declarations: [PaginationSizeDirective, PaginationPagesDirective, SelectDirective, DatepickerDirective, CropperDirective, FieldDirective, FieldNumberDirective, RadioDirective, CheckboxDirective, ToggleDirective, CustomCurrencyPipe, CustomDatePipe, SafePipe], imports: [CommonModule, StencilModule, TableModule, ToastModule, OverlayModule], exports: [StencilModule, TableModule, ToastModule, OverlayModule, PaginationSizeDirective, PaginationPagesDirective, SelectDirective, DatepickerDirective, CropperDirective, FieldDirective, FieldNumberDirective, RadioDirective, CheckboxDirective, ToggleDirective, CustomCurrencyPipe, CustomDatePipe, SafePipe] });
|
|
4897
|
+
PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: PaperlessModule, declarations: [PaginationSizeDirective, PaginationPagesDirective, SelectDirective, DatepickerDirective, CropperDirective, FieldDirective, FieldNumberDirective, RadioDirective, CheckboxDirective, ToggleDirective, CustomCurrencyPipe, CustomDatePipe, SafePipe, SelectAutocompletePipe, SelectSelectAllPipe], imports: [CommonModule, StencilModule, TableModule, ToastModule, OverlayModule], exports: [StencilModule, TableModule, ToastModule, OverlayModule, PaginationSizeDirective, PaginationPagesDirective, SelectDirective, DatepickerDirective, CropperDirective, FieldDirective, FieldNumberDirective, RadioDirective, CheckboxDirective, ToggleDirective, CustomCurrencyPipe, CustomDatePipe, SafePipe, SelectAutocompletePipe, SelectSelectAllPipe] });
|
|
4864
4898
|
PaperlessModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaperlessModule, providers: [...NGX_PIPES, ...PIPES], imports: [CommonModule, StencilModule, MODULES, StencilModule, TableModule, ToastModule, OverlayModule] });
|
|
4865
4899
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaperlessModule, decorators: [{
|
|
4866
4900
|
type: NgModule,
|
|
@@ -4880,5 +4914,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
4880
4914
|
* Generated bundle index. Do not edit.
|
|
4881
4915
|
*/
|
|
4882
4916
|
|
|
4883
|
-
export { BaseFormComponent, BaseTableComponent, BaseUploadComponent, BaseValueAccessor, CheckboxDirective, CropperDirective, CustomCurrencyPipe, CustomDatePipe, DIRECTIVES$1 as DIRECTIVES, DatepickerDirective, FADE_IN, FADE_OUT, FieldDirective, FieldNumberDirective, MODULES, OVERLAY_SERVICES, OverlayModule, OverlayRef, OverlayService, PAccordion, PAttachment, PAvatar, PAvatarGroup, PBackdrop, PBadge, PButton, PButtonGroup, PCalendar, PCardBody, PCardContainer, PCardHeader, PCheckbox, PContentSlider, PCropper, PDatepicker, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PEmptyState, PField, PFieldContainer, PFloatingMenuContainer, PFloatingMenuItem, PHelper, PIPES, PIbanIcon, PIcon, PIllustration, PIllustrationDeprecated, PInfoPanel, PLabel, PLayout, PListing, PListingItem, PListingLine, PLoader, PModal, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PNavigationSection, PNavigationTitle, PPagination, PPaginationPages, PPaginationPagesItem, PPaginationSize, PProfile, PRadio, PRange, PSegmentContainer, PSegmentItem, PSelect, PSmile, PStepper, PStepperItem, PStepperLine, PTabContainer, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PTableRowActionsContainer, PToast, PToggle, PTooltip, PaginationPagesDirective, PaginationSizeDirective, PaperlessModule, RadioDirective, SLIDE_IN_BOTTOM_OUT_TOP, SLIDE_IN_TOP_OUT_BOTTOM, SafePipe, SelectDirective, StencilModule, TABLE_COMPONENTS, TABLE_DIRECTIVES, TOAST_COMPONENTS, TOAST_DIRECTIVES, TOAST_SERVICES, Table, TableCell, TableColumn, TableCustomActionsDirective, TableCustomFilterDirective, TableCustomRowDirective, TableDirective, TableExtraHeader, TableFilterModalDirective, TableFooterDirective, TableHeaderDirective, TableModule, TableNgxDirective, TableRowAction, ToastContainer, ToastDirective, ToastModule, ToastService, ToastVariants, ToggleDirective, createFormFilters };
|
|
4917
|
+
export { BaseFormComponent, BaseTableComponent, BaseUploadComponent, BaseValueAccessor, CheckboxDirective, CropperDirective, CustomCurrencyPipe, CustomDatePipe, DIRECTIVES$1 as DIRECTIVES, DatepickerDirective, FADE_IN, FADE_OUT, FieldDirective, FieldNumberDirective, MODULES, OVERLAY_SERVICES, OverlayModule, OverlayRef, OverlayService, PAccordion, PAttachment, PAvatar, PAvatarGroup, PBackdrop, PBadge, PButton, PButtonGroup, PCalendar, PCardBody, PCardContainer, PCardHeader, PCheckbox, PContentSlider, PCropper, PDatepicker, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PEmptyState, PField, PFieldContainer, PFloatingMenuContainer, PFloatingMenuItem, PHelper, PIPES, PIbanIcon, PIcon, PIllustration, PIllustrationDeprecated, PInfoPanel, PLabel, PLayout, PListing, PListingItem, PListingLine, PLoader, PModal, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PNavigationSection, PNavigationTitle, PPagination, PPaginationPages, PPaginationPagesItem, PPaginationSize, PProfile, PRadio, PRange, PSegmentContainer, PSegmentItem, PSelect, PSmile, PStepper, PStepperItem, PStepperLine, PTabContainer, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PTableRowActionsContainer, PToast, PToggle, PTooltip, PaginationPagesDirective, PaginationSizeDirective, PaperlessModule, RadioDirective, SLIDE_IN_BOTTOM_OUT_TOP, SLIDE_IN_TOP_OUT_BOTTOM, SafePipe, SelectAutocompletePipe, SelectDirective, SelectSelectAllPipe, StencilModule, TABLE_COMPONENTS, TABLE_DIRECTIVES, TOAST_COMPONENTS, TOAST_DIRECTIVES, TOAST_SERVICES, Table, TableCell, TableColumn, TableCustomActionsDirective, TableCustomFilterDirective, TableCustomRowDirective, TableDirective, TableExtraHeader, TableFilterModalDirective, TableFooterDirective, TableHeaderDirective, TableModule, TableNgxDirective, TableRowAction, ToastContainer, ToastDirective, ToastModule, ToastService, ToastVariants, ToggleDirective, createFormFilters };
|
|
4884
4918
|
//# sourceMappingURL=paperless-angular.mjs.map
|