@paperless/angular 2.22.0-alpha.33 → 2.22.0-alpha.35
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.
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { trigger, transition, style, animate } from '@angular/animations';
|
|
2
1
|
import * as i0 from '@angular/core';
|
|
3
2
|
import { Component, EventEmitter, ViewChild, Output, Input, ChangeDetectionStrategy, HostListener, Directive, forwardRef, Self, Injector, Injectable, NgModule, HostBinding, TemplateRef, ContentChild, Host, ElementRef, ContentChildren, ViewChildren, inject, Pipe } from '@angular/core';
|
|
4
3
|
import * as i1 from '@angular/forms';
|
|
@@ -90,49 +89,8 @@ import { defineCustomElement as defineCustomElement$18 } from '@paperless/core/c
|
|
|
90
89
|
import { defineCustomElement as defineCustomElement$19 } from '@paperless/core/components/p-tooltip.js';
|
|
91
90
|
import { RouterLink, RouterModule } from '@angular/router';
|
|
92
91
|
import { v4 } from 'uuid';
|
|
93
|
-
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
|
|
94
92
|
import * as i1$3 from '@angular/platform-browser';
|
|
95
93
|
|
|
96
|
-
const FADE_IN = trigger('pFadeIn', [
|
|
97
|
-
transition(':enter', [
|
|
98
|
-
style({
|
|
99
|
-
opacity: 0,
|
|
100
|
-
}),
|
|
101
|
-
animate('.2s ease-in', style({
|
|
102
|
-
opacity: 1,
|
|
103
|
-
})),
|
|
104
|
-
]),
|
|
105
|
-
]);
|
|
106
|
-
const FADE_OUT = trigger('pFadeOut', [
|
|
107
|
-
transition(':leave', [
|
|
108
|
-
style({
|
|
109
|
-
opacity: 1,
|
|
110
|
-
}),
|
|
111
|
-
animate('.2s ease-out', style({
|
|
112
|
-
opacity: 0,
|
|
113
|
-
})),
|
|
114
|
-
]),
|
|
115
|
-
]);
|
|
116
|
-
|
|
117
|
-
const SLIDE_IN_BOTTOM_OUT_TOP = trigger('pSlideInBottomOutTop', [
|
|
118
|
-
transition(':enter', [
|
|
119
|
-
style({ transform: 'translateY(50%)', opacity: 0 }),
|
|
120
|
-
animate('200ms ease-in', style({ transform: 'translateX(0%)', opacity: 1 })),
|
|
121
|
-
]),
|
|
122
|
-
transition(':leave', [
|
|
123
|
-
animate('200ms ease-in', style({ transform: 'translateY(-100%)', opacity: 0 })),
|
|
124
|
-
]),
|
|
125
|
-
]);
|
|
126
|
-
const SLIDE_IN_TOP_OUT_BOTTOM = trigger('pSlideInBottomOutTop', [
|
|
127
|
-
transition(':enter', [
|
|
128
|
-
style({ transform: 'translateY(-100%)', opacity: 0 }),
|
|
129
|
-
animate('200ms ease-in', style({ transform: 'translateX(0%)', opacity: 1 })),
|
|
130
|
-
]),
|
|
131
|
-
transition(':leave', [
|
|
132
|
-
animate('200ms ease-in', style({ transform: 'translateY(50%)', opacity: 0 })),
|
|
133
|
-
]),
|
|
134
|
-
]);
|
|
135
|
-
|
|
136
94
|
class BaseFormComponent {
|
|
137
95
|
markedDirty = false;
|
|
138
96
|
scrollToFirstError() {
|
|
@@ -5040,7 +4998,7 @@ let ToastContainerComponent = class ToastContainerComponent {
|
|
|
5040
4998
|
this._toastService.hide(identifier);
|
|
5041
4999
|
}
|
|
5042
5000
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ToastContainerComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
5043
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.0", type: ToastContainerComponent, isStandalone: true, selector: "p-toast-container", inputs: { placement: "placement" }, ngImport: i0, template: "@for (toast of toasts$ | async; track toast; let index = $index) {\n\t<p-toast\n\t\t
|
|
5001
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.0", type: ToastContainerComponent, isStandalone: true, selector: "p-toast-container", inputs: { placement: "placement" }, ngImport: i0, template: "@for (toast of toasts$ | async; track toast; let index = $index) {\n\t<p-toast\n\t\tanimate.enter=\"animate-in fade-in slide-in-from-top\"\n\t\tanimate.leave=\"animate-out fade-out\"\n\t\t[actionData]=\"toast.options.actionData\"\n\t\t[actionFunc]=\"toast.options.action\"\n\t\t[actionIcon]=\"toast.options.icon?.variant\"\n\t\t[actionIconFlip]=\"toast.options.icon?.flip\"\n\t\t[actionIconRotate]=\"toast.options.icon?.rotate\"\n\t\t[content]=\"toast.content\"\n\t\t[delay]=\"toast.options.delay ?? 5000\"\n\t\t[dismissOnAction]=\"toast.options.dismissOnAction ?? true\"\n\t\t[enableAction]=\"toast.options.enableAction\"\n\t\t[header]=\"toast.header\"\n\t\t[identifier]=\"toast.identifier\"\n\t\t[variant]=\"toast.variant\"\n\t\t(dismiss)=\"dismiss($event)\"\n\t/>\n}\n", dependencies: [{ kind: "component", type: PToast, selector: "p-toast", inputs: ["actionIcon", "actionIconFlip", "actionIconRotate", "content", "enableAction", "header", "variant"] }, { kind: "directive", type: ToastDirective, selector: "p-toast", inputs: ["delay", "identifier", "dismissOnAction", "actionFunc", "actionData"], outputs: ["dismiss"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5044
5002
|
};
|
|
5045
5003
|
ToastContainerComponent = __decorate([
|
|
5046
5004
|
ProxyCmp({
|
|
@@ -5050,7 +5008,7 @@ ToastContainerComponent = __decorate([
|
|
|
5050
5008
|
], ToastContainerComponent);
|
|
5051
5009
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ToastContainerComponent, decorators: [{
|
|
5052
5010
|
type: Component,
|
|
5053
|
-
args: [{ selector: 'p-toast-container', changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['placement'],
|
|
5011
|
+
args: [{ selector: 'p-toast-container', changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['placement'], standalone: true, imports: [PToast, ToastDirective, AsyncPipe], template: "@for (toast of toasts$ | async; track toast; let index = $index) {\n\t<p-toast\n\t\tanimate.enter=\"animate-in fade-in slide-in-from-top\"\n\t\tanimate.leave=\"animate-out fade-out\"\n\t\t[actionData]=\"toast.options.actionData\"\n\t\t[actionFunc]=\"toast.options.action\"\n\t\t[actionIcon]=\"toast.options.icon?.variant\"\n\t\t[actionIconFlip]=\"toast.options.icon?.flip\"\n\t\t[actionIconRotate]=\"toast.options.icon?.rotate\"\n\t\t[content]=\"toast.content\"\n\t\t[delay]=\"toast.options.delay ?? 5000\"\n\t\t[dismissOnAction]=\"toast.options.dismissOnAction ?? true\"\n\t\t[enableAction]=\"toast.options.enableAction\"\n\t\t[header]=\"toast.header\"\n\t\t[identifier]=\"toast.identifier\"\n\t\t[variant]=\"toast.variant\"\n\t\t(dismiss)=\"dismiss($event)\"\n\t/>\n}\n" }]
|
|
5054
5012
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
5055
5013
|
|
|
5056
5014
|
const TOAST_COMPONENTS = [ToastContainerComponent];
|
|
@@ -5060,14 +5018,14 @@ const TOAST_DIRECTIVES = [ToastDirective];
|
|
|
5060
5018
|
class ToastModule {
|
|
5061
5019
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5062
5020
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.0", ngImport: i0, type: ToastModule, imports: [ToastContainerComponent, ToastDirective], exports: [ToastContainerComponent, ToastDirective] });
|
|
5063
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ToastModule, providers: [ToastService
|
|
5021
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ToastModule, providers: [ToastService] });
|
|
5064
5022
|
}
|
|
5065
5023
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ToastModule, decorators: [{
|
|
5066
5024
|
type: NgModule,
|
|
5067
5025
|
args: [{
|
|
5068
5026
|
imports: [...TOAST_COMPONENTS, ...TOAST_DIRECTIVES],
|
|
5069
5027
|
exports: [...TOAST_COMPONENTS, ...TOAST_DIRECTIVES],
|
|
5070
|
-
providers: [ToastService
|
|
5028
|
+
providers: [ToastService],
|
|
5071
5029
|
}]
|
|
5072
5030
|
}] });
|
|
5073
5031
|
|
|
@@ -5281,5 +5239,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
5281
5239
|
* Generated bundle index. Do not edit.
|
|
5282
5240
|
*/
|
|
5283
5241
|
|
|
5284
|
-
export { BaseFormComponent, BaseTableComponent, BaseUploadComponent, BaseValueAccessor, CheckboxDirective, CropperDirective, CustomCurrencyPipe, CustomDatePipe, DIRECTIVES$1 as DIRECTIVES, DatepickerDirective,
|
|
5242
|
+
export { BaseFormComponent, BaseTableComponent, BaseUploadComponent, BaseValueAccessor, CheckboxDirective, CropperDirective, CustomCurrencyPipe, CustomDatePipe, DIRECTIVES$1 as DIRECTIVES, DatepickerDirective, FieldDirective, FieldNumberDirective, MODULES, 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, 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, SafePipe, SelectAutocompletePipe, SelectDirective, SelectSelectAllPipe, TABLE_COMPONENTS, TABLE_DIRECTIVES, TOAST_COMPONENTS, TOAST_DIRECTIVES, TableCellComponent, TableColumnComponent, TableComponent, TableCustomActionsDirective, TableCustomFilterDirective, TableCustomRowDirective, TableDirective, TableExtraHeaderComponent, TableFilterModalDirective, TableFooterDirective, TableHeaderDirective, TableModule, TableNgxDirective, TableRowActionComponent, ToastContainerComponent, ToastDirective, ToastModule, ToastService, ToastVariants, ToggleDirective, createFormFilters };
|
|
5285
5243
|
//# sourceMappingURL=paperless-angular.mjs.map
|