@ngx-smz/core 19.2.1 → 19.2.3
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/fesm2022/ngx-smz-core.mjs +551 -462
- package/fesm2022/ngx-smz-core.mjs.map +1 -1
- package/lib/modules/rbk-utils/misc/toast.service.d.ts +6 -1
- package/lib/modules/smz-dialogs/smz-dialogs.module.d.ts +17 -18
- package/lib/modules/smz-layouts/features/outlet/outlet.module.d.ts +4 -5
- package/lib/modules/smz-toast/public_api.d.ts +1 -0
- package/lib/modules/smz-toast/smz-toast.d.ts +6 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, InjectionToken, provideAppInitializer, inject, makeEnvironmentProviders, Pipe, Input, Component, DestroyRef, EventEmitter, HostListener, Output, HostBinding, Directive, ChangeDetectionStrategy, ViewEncapsulation, Optional, NgModule, ViewChild, ElementRef, Renderer2, forwardRef, Inject, ChangeDetectorRef, LOCALE_ID, ContentChildren, ErrorHandler, Self, DEFAULT_CURRENCY_CODE, PLATFORM_ID } from '@angular/core';
|
|
2
|
+
import { Injectable, InjectionToken, provideAppInitializer, inject, makeEnvironmentProviders, Pipe, Input, Component, DestroyRef, EventEmitter, HostListener, Output, HostBinding, Directive, ChangeDetectionStrategy, ViewEncapsulation, Optional, NgModule, ViewChild, ElementRef, Renderer2, forwardRef, Inject, ChangeDetectorRef, LOCALE_ID, ContentChildren, signal, ErrorHandler, Self, DEFAULT_CURRENCY_CODE, PLATFORM_ID } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import { CommonModule, getCurrencySymbol, getLocaleCurrencyCode, LocationStrategy, NgStyle, registerLocaleData, DOCUMENT, isPlatformBrowser as isPlatformBrowser$1, formatDate } from '@angular/common';
|
|
5
5
|
import * as i2$2 from '@angular/forms';
|
|
@@ -73,7 +73,7 @@ import { animation, style, animate, trigger, transition, useAnimation, state, qu
|
|
|
73
73
|
import { DomHandler, ConnectedOverlayScrollHandler } from 'primeng/dom';
|
|
74
74
|
import * as i5$2 from 'primeng/config';
|
|
75
75
|
import { PrimeNG } from 'primeng/config';
|
|
76
|
-
import * as i3$
|
|
76
|
+
import * as i3$b from 'primeng/progressbar';
|
|
77
77
|
import { ProgressBarModule } from 'primeng/progressbar';
|
|
78
78
|
import cloneDeep$1 from 'lodash-es/cloneDeep';
|
|
79
79
|
import { JwtHelperService } from '@auth0/angular-jwt';
|
|
@@ -120,11 +120,11 @@ import { AccordionModule } from 'primeng/accordion';
|
|
|
120
120
|
import { MenubarModule } from 'primeng/menubar';
|
|
121
121
|
import * as i1$5 from '@angular/cdk/layout';
|
|
122
122
|
import { Breakpoints, LayoutModule } from '@angular/cdk/layout';
|
|
123
|
-
import * as i3$
|
|
123
|
+
import * as i3$8 from 'primeng/dock';
|
|
124
124
|
import { DockModule } from 'primeng/dock';
|
|
125
|
-
import * as i3$
|
|
125
|
+
import * as i3$9 from 'primeng/blockui';
|
|
126
126
|
import { BlockUIModule } from 'primeng/blockui';
|
|
127
|
-
import * as i3$
|
|
127
|
+
import * as i3$a from 'primeng/sidebar';
|
|
128
128
|
import { SidebarModule } from 'primeng/sidebar';
|
|
129
129
|
import * as i8$2 from 'primeng/contextmenu';
|
|
130
130
|
import { ContextMenuModule } from 'primeng/contextmenu';
|
|
@@ -132,6 +132,8 @@ import * as i9 from 'primeng/tree';
|
|
|
132
132
|
import { TreeModule } from 'primeng/tree';
|
|
133
133
|
import * as i11$1 from 'primeng/menu';
|
|
134
134
|
import { MenuModule } from 'primeng/menu';
|
|
135
|
+
import * as i1$6 from 'primeng/toast';
|
|
136
|
+
import { ToastModule } from 'primeng/toast';
|
|
135
137
|
import * as i2$6 from 'primeng/dataview';
|
|
136
138
|
import { DataView, DataViewModule } from 'primeng/dataview';
|
|
137
139
|
import * as i5$4 from 'primeng/timeline';
|
|
@@ -8717,11 +8719,11 @@ class DialogFooterComponent {
|
|
|
8717
8719
|
return response;
|
|
8718
8720
|
}
|
|
8719
8721
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: DialogFooterComponent, deps: [{ token: DynamicDialogRef }, { token: SmzDynamicDialogConfig }, { token: SmzDialogsVisibilityService }, { token: InjectComponentService }, { token: i0.ChangeDetectorRef }, { token: i1$2.Actions }, { token: i1$2.Store }], target: i0.ɵɵFactoryTarget.Component });
|
|
8720
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.5", type: DialogFooterComponent, isStandalone: false, selector: "smz-dialog-footer", ngImport: i0, template: "<ng-container *ngIf=\"dialogConfig.data._context as context\">\r\n\r\n <p-toolbar class=\"smz-dialog-footer\">\r\n <div class=\"grid grid-nogutter items-center justify-end gap-2\">\r\n\r\n <ng-container *ngIf=\"context.customButtonsOrder == null || context.customButtonsOrder === 'first'\">\r\n <ng-container *ngFor=\"let customButton of context.customButtons\">\r\n <p-button\r\n *ngIf=\"customButton.visible == null || customButton.visible\"\r\n [label]=\"customButton.name\"\r\n [
|
|
8722
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.5", type: DialogFooterComponent, isStandalone: false, selector: "smz-dialog-footer", ngImport: i0, template: "<ng-container *ngIf=\"dialogConfig.data._context as context\">\r\n\r\n <p-toolbar class=\"smz-dialog-footer\">\r\n <div class=\"grid grid-nogutter items-center justify-end gap-2\">\r\n\r\n <ng-container *ngIf=\"context.customButtonsOrder == null || context.customButtonsOrder === 'first'\">\r\n <ng-container *ngFor=\"let customButton of context.customButtons\">\r\n <p-button\r\n *ngIf=\"customButton.visible == null || customButton.visible\"\r\n [label]=\"customButton.name\"\r\n [styleClass]=\"customButton.class\"\r\n [disabled]=\"context.isGlobalDisabled || customButton.dependsOnValidation && !isValid() || customButton.disabled\"\r\n [pTooltip]=\"customButton.tooltip\"\r\n appendTo=\"body\"\r\n tooltipPosition=\"top\"\r\n (onClick)=\"customClick(customButton)\">\r\n </p-button>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <p-button\r\n *ngIf=\"context.behaviors.showCancelButton\"\r\n [label]=\"context.builtInButtons.cancelName\"\r\n [styleClass]=\"context.builtInButtons.cancelClass\"\r\n (onClick)=\"close()\">\r\n </p-button>\r\n\r\n <!-- DependsOnValidation -->\r\n <p-button\r\n *ngIf=\"context.behaviors.showConfirmButton\"\r\n [confirmOnEnter]=\"context.isLoading ? false : context.behaviors.confirmOnEnter\"\r\n [dialogId]=\"context.id\"\r\n [label]=\"context.builtInButtons.confirmName\"\r\n [styleClass]=\"context.builtInButtons.confirmClass\"\r\n [disabled]=\"context.isGlobalDisabled\"\r\n (onClick)=\"confirm()\">\r\n </p-button>\r\n\r\n <!-- DependsOnValidation -->\r\n <p-button\r\n *ngIf=\"context.behaviors.showOkButton\"\r\n [confirmOnEnter]=\"context.isLoading ? false : context.behaviors.confirmOnEnter\"\r\n [dialogId]=\"context.id\"\r\n [label]=\"context.builtInButtons.okName\"\r\n [styleClass]=\"context.builtInButtons.okClass\"\r\n [disabled]=\"context.isGlobalDisabled\"\r\n (onClick)=\"ok()\">\r\n </p-button>\r\n\r\n <!-- DependsOnValidation -->\r\n <p-button\r\n *ngIf=\"context.behaviors.showSaveButton\"\r\n [confirmOnEnter]=\"context.isLoading ? false : context.behaviors.confirmOnEnter\"\r\n [dialogId]=\"context.id\"\r\n [label]=\"context.builtInButtons.saveName\"\r\n [styleClass]=\"context.builtInButtons.saveClass\"\r\n [icon]=\"context.isLoading ? 'fa-solid fa-spinner fa-spin' : ''\"\r\n [disabled]=\"context.isGlobalDisabled\"\r\n (onClick)=\"save()\">\r\n </p-button>\r\n\r\n <ng-container *ngIf=\"context.customButtonsOrder === 'last'\">\r\n <ng-container *ngFor=\"let customButton of context.customButtons\">\r\n\r\n <!-- DependsOnValidation -->\r\n <p-button\r\n *ngIf=\"customButton.visible == null || customButton.visible\"\r\n [label]=\"customButton.name\"\r\n [styleClass]=\"customButton.class\"\r\n [disabled]=\"context.isGlobalDisabled || customButton.disabled\"\r\n [pTooltip]=\"customButton.tooltip\"\r\n appendTo=\"body\"\r\n tooltipPosition=\"top\"\r\n (onClick)=\"customClick(customButton)\">\r\n </p-button>\r\n </ng-container>\r\n </ng-container>\r\n\r\n </div>\r\n </p-toolbar>\r\n\r\n</ng-container>", styles: [""], dependencies: [{ kind: "directive", type: i0.forwardRef(() => i1.NgForOf), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i0.forwardRef(() => i4$2.Button), selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "raised", "rounded", "text", "plain", "severity", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "fluid", "buttonProps"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "component", type: i0.forwardRef(() => i8.Toolbar), selector: "p-toolbar", inputs: ["style", "styleClass", "ariaLabelledBy"] }, { kind: "directive", type: i0.forwardRef(() => i2.Tooltip), selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "directive", type: i0.forwardRef(() => ConfirmOnEnterDirective), selector: "[confirmOnEnter]", inputs: ["confirmOnEnter", "clickEvent", "delayConfirmation", "disabled", "dialogId"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
8721
8723
|
}
|
|
8722
8724
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: DialogFooterComponent, decorators: [{
|
|
8723
8725
|
type: Component,
|
|
8724
|
-
args: [{ selector: 'smz-dialog-footer', encapsulation: ViewEncapsulation.None, standalone: false, template: "<ng-container *ngIf=\"dialogConfig.data._context as context\">\r\n\r\n <p-toolbar class=\"smz-dialog-footer\">\r\n <div class=\"grid grid-nogutter items-center justify-end gap-2\">\r\n\r\n <ng-container *ngIf=\"context.customButtonsOrder == null || context.customButtonsOrder === 'first'\">\r\n <ng-container *ngFor=\"let customButton of context.customButtons\">\r\n <p-button\r\n *ngIf=\"customButton.visible == null || customButton.visible\"\r\n [label]=\"customButton.name\"\r\n [
|
|
8726
|
+
args: [{ selector: 'smz-dialog-footer', encapsulation: ViewEncapsulation.None, standalone: false, template: "<ng-container *ngIf=\"dialogConfig.data._context as context\">\r\n\r\n <p-toolbar class=\"smz-dialog-footer\">\r\n <div class=\"grid grid-nogutter items-center justify-end gap-2\">\r\n\r\n <ng-container *ngIf=\"context.customButtonsOrder == null || context.customButtonsOrder === 'first'\">\r\n <ng-container *ngFor=\"let customButton of context.customButtons\">\r\n <p-button\r\n *ngIf=\"customButton.visible == null || customButton.visible\"\r\n [label]=\"customButton.name\"\r\n [styleClass]=\"customButton.class\"\r\n [disabled]=\"context.isGlobalDisabled || customButton.dependsOnValidation && !isValid() || customButton.disabled\"\r\n [pTooltip]=\"customButton.tooltip\"\r\n appendTo=\"body\"\r\n tooltipPosition=\"top\"\r\n (onClick)=\"customClick(customButton)\">\r\n </p-button>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <p-button\r\n *ngIf=\"context.behaviors.showCancelButton\"\r\n [label]=\"context.builtInButtons.cancelName\"\r\n [styleClass]=\"context.builtInButtons.cancelClass\"\r\n (onClick)=\"close()\">\r\n </p-button>\r\n\r\n <!-- DependsOnValidation -->\r\n <p-button\r\n *ngIf=\"context.behaviors.showConfirmButton\"\r\n [confirmOnEnter]=\"context.isLoading ? false : context.behaviors.confirmOnEnter\"\r\n [dialogId]=\"context.id\"\r\n [label]=\"context.builtInButtons.confirmName\"\r\n [styleClass]=\"context.builtInButtons.confirmClass\"\r\n [disabled]=\"context.isGlobalDisabled\"\r\n (onClick)=\"confirm()\">\r\n </p-button>\r\n\r\n <!-- DependsOnValidation -->\r\n <p-button\r\n *ngIf=\"context.behaviors.showOkButton\"\r\n [confirmOnEnter]=\"context.isLoading ? false : context.behaviors.confirmOnEnter\"\r\n [dialogId]=\"context.id\"\r\n [label]=\"context.builtInButtons.okName\"\r\n [styleClass]=\"context.builtInButtons.okClass\"\r\n [disabled]=\"context.isGlobalDisabled\"\r\n (onClick)=\"ok()\">\r\n </p-button>\r\n\r\n <!-- DependsOnValidation -->\r\n <p-button\r\n *ngIf=\"context.behaviors.showSaveButton\"\r\n [confirmOnEnter]=\"context.isLoading ? false : context.behaviors.confirmOnEnter\"\r\n [dialogId]=\"context.id\"\r\n [label]=\"context.builtInButtons.saveName\"\r\n [styleClass]=\"context.builtInButtons.saveClass\"\r\n [icon]=\"context.isLoading ? 'fa-solid fa-spinner fa-spin' : ''\"\r\n [disabled]=\"context.isGlobalDisabled\"\r\n (onClick)=\"save()\">\r\n </p-button>\r\n\r\n <ng-container *ngIf=\"context.customButtonsOrder === 'last'\">\r\n <ng-container *ngFor=\"let customButton of context.customButtons\">\r\n\r\n <!-- DependsOnValidation -->\r\n <p-button\r\n *ngIf=\"customButton.visible == null || customButton.visible\"\r\n [label]=\"customButton.name\"\r\n [styleClass]=\"customButton.class\"\r\n [disabled]=\"context.isGlobalDisabled || customButton.disabled\"\r\n [pTooltip]=\"customButton.tooltip\"\r\n appendTo=\"body\"\r\n tooltipPosition=\"top\"\r\n (onClick)=\"customClick(customButton)\">\r\n </p-button>\r\n </ng-container>\r\n </ng-container>\r\n\r\n </div>\r\n </p-toolbar>\r\n\r\n</ng-container>" }]
|
|
8725
8727
|
}], ctorParameters: () => [{ type: DynamicDialogRef }, { type: SmzDynamicDialogConfig }, { type: SmzDialogsVisibilityService }, { type: InjectComponentService }, { type: i0.ChangeDetectorRef }, { type: i1$2.Actions }, { type: i1$2.Store }] });
|
|
8726
8728
|
class ConfirmOnEnterDirective {
|
|
8727
8729
|
el;
|
|
@@ -22484,10 +22486,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
22484
22486
|
|
|
22485
22487
|
class ToastService {
|
|
22486
22488
|
messageService;
|
|
22489
|
+
zone;
|
|
22487
22490
|
lastMessage;
|
|
22488
22491
|
lastUpdated;
|
|
22489
|
-
constructor(messageService) {
|
|
22492
|
+
constructor(messageService, zone) {
|
|
22490
22493
|
this.messageService = messageService;
|
|
22494
|
+
this.zone = zone;
|
|
22491
22495
|
if (GlobalInjector.config.rbkUtils.toastConfig == null || GlobalInjector.config.rbkUtils.toastConfig.debounceDistinctDelay == null) {
|
|
22492
22496
|
throw Error('You need to set the \'debounceDistinctDelay\' at rbkconfig.rbkUtils.toastConfig.');
|
|
22493
22497
|
}
|
|
@@ -22519,9 +22523,51 @@ class ToastService {
|
|
|
22519
22523
|
}
|
|
22520
22524
|
}
|
|
22521
22525
|
send(message) {
|
|
22522
|
-
|
|
22526
|
+
// Definir as opções de progresso
|
|
22527
|
+
const progressOptions = this.initializeProgressOptions(message);
|
|
22528
|
+
// TODO: Implementar o timeout do ProgressBar do Toast
|
|
22529
|
+
// Definir o timeout para finalizar a execução após o tempo de vida da mensagem
|
|
22530
|
+
// progressOptions.timeout = setTimeout(() => {
|
|
22531
|
+
// this.finalizeMessage(progressOptions);
|
|
22532
|
+
// }, message.life);
|
|
22533
|
+
// // Iniciar o timer de progresso
|
|
22534
|
+
// progressOptions.progressTimer = this.startProgressTimer(progressOptions);
|
|
22535
|
+
// Adicionar a mensagem ao serviço de mensagens
|
|
22536
|
+
this.messageService.add({ ...message, ...progressOptions });
|
|
22523
22537
|
this.registry(message);
|
|
22524
22538
|
}
|
|
22539
|
+
initializeProgressOptions(message) {
|
|
22540
|
+
const tick = 200;
|
|
22541
|
+
const add = (100 * tick) / message.life;
|
|
22542
|
+
return {
|
|
22543
|
+
showProgress: true,
|
|
22544
|
+
progress: signal(0),
|
|
22545
|
+
progressTimer: null,
|
|
22546
|
+
timeout: null,
|
|
22547
|
+
add,
|
|
22548
|
+
tick,
|
|
22549
|
+
};
|
|
22550
|
+
}
|
|
22551
|
+
startProgressTimer(progressOptions) {
|
|
22552
|
+
return setInterval(() => {
|
|
22553
|
+
progressOptions.progress.update((progress) => {
|
|
22554
|
+
console.log('progress', progress);
|
|
22555
|
+
return progress + progressOptions.add;
|
|
22556
|
+
});
|
|
22557
|
+
// Verificar se o progresso atingiu 100 e parar o timer
|
|
22558
|
+
if (progressOptions.progress() >= 100) {
|
|
22559
|
+
progressOptions.progress.set(100);
|
|
22560
|
+
clearInterval(progressOptions.progressTimer);
|
|
22561
|
+
console.log('Progress complete:', progressOptions.progress);
|
|
22562
|
+
this.messageService.clear(); // Limpar a mensagem quando o progresso for completo
|
|
22563
|
+
}
|
|
22564
|
+
}, progressOptions.tick);
|
|
22565
|
+
}
|
|
22566
|
+
finalizeMessage(progressOptions) {
|
|
22567
|
+
// Função de finalização, pode incluir outras lógicas se necessário
|
|
22568
|
+
console.log('Message lifecycle complete.');
|
|
22569
|
+
this.messageService.clear();
|
|
22570
|
+
}
|
|
22525
22571
|
registry(message) {
|
|
22526
22572
|
this.lastUpdated = new Date();
|
|
22527
22573
|
this.lastMessage = message;
|
|
@@ -22544,13 +22590,13 @@ class ToastService {
|
|
|
22544
22590
|
index++;
|
|
22545
22591
|
}, 900);
|
|
22546
22592
|
}
|
|
22547
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: ToastService, deps: [{ token: i4$1.MessageService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
22593
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: ToastService, deps: [{ token: i4$1.MessageService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
22548
22594
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: ToastService, providedIn: 'root' });
|
|
22549
22595
|
}
|
|
22550
22596
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: ToastService, decorators: [{
|
|
22551
22597
|
type: Injectable,
|
|
22552
22598
|
args: [{ providedIn: 'root' }]
|
|
22553
|
-
}], ctorParameters: () => [{ type: i4$1.MessageService }] });
|
|
22599
|
+
}], ctorParameters: () => [{ type: i4$1.MessageService }, { type: i0.NgZone }] });
|
|
22554
22600
|
|
|
22555
22601
|
// Initial application state, to be used ONLY when the application is starting
|
|
22556
22602
|
const getInitialApplicationState = () => ({
|
|
@@ -29739,442 +29785,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
29739
29785
|
}]
|
|
29740
29786
|
}] });
|
|
29741
29787
|
|
|
29742
|
-
class ToastItem {
|
|
29743
|
-
zone;
|
|
29744
|
-
cdr;
|
|
29745
|
-
message;
|
|
29746
|
-
index;
|
|
29747
|
-
template;
|
|
29748
|
-
showTransformOptions;
|
|
29749
|
-
hideTransformOptions;
|
|
29750
|
-
showTransitionOptions;
|
|
29751
|
-
hideTransitionOptions;
|
|
29752
|
-
showProgress = true;
|
|
29753
|
-
onClose = new EventEmitter();
|
|
29754
|
-
containerViewChild;
|
|
29755
|
-
timeout;
|
|
29756
|
-
timeoutValue = 0;
|
|
29757
|
-
progress = 0;
|
|
29758
|
-
progressTimer;
|
|
29759
|
-
tick = 100;
|
|
29760
|
-
add = 0;
|
|
29761
|
-
constructor(zone, cdr) {
|
|
29762
|
-
this.zone = zone;
|
|
29763
|
-
this.cdr = cdr;
|
|
29764
|
-
}
|
|
29765
|
-
ngAfterViewInit() {
|
|
29766
|
-
this.initTimeout();
|
|
29767
|
-
this.tick = 150;
|
|
29768
|
-
this.timeoutValue = this.message.life || 3000;
|
|
29769
|
-
this.add = (100 * this.tick) / this.timeoutValue;
|
|
29770
|
-
this.progress = this.add;
|
|
29771
|
-
}
|
|
29772
|
-
initTimeout() {
|
|
29773
|
-
if (!this.message.sticky) {
|
|
29774
|
-
this.zone.runOutsideAngular(() => {
|
|
29775
|
-
this.timeout = setTimeout(() => {
|
|
29776
|
-
}, this.timeoutValue);
|
|
29777
|
-
});
|
|
29778
|
-
this.cdr.markForCheck();
|
|
29779
|
-
this.progressTimer = setInterval(() => {
|
|
29780
|
-
this.progress = this.progress + this.add;
|
|
29781
|
-
this.cdr.markForCheck();
|
|
29782
|
-
if (this.progress >= 100) {
|
|
29783
|
-
this.progress = 100;
|
|
29784
|
-
clearInterval(this.progressTimer);
|
|
29785
|
-
this.cdr.markForCheck();
|
|
29786
|
-
this.onClose.emit({
|
|
29787
|
-
index: this.index,
|
|
29788
|
-
message: this.message
|
|
29789
|
-
});
|
|
29790
|
-
}
|
|
29791
|
-
}, this.tick);
|
|
29792
|
-
}
|
|
29793
|
-
}
|
|
29794
|
-
clearTimeout() {
|
|
29795
|
-
if (this.timeout) {
|
|
29796
|
-
clearTimeout(this.timeout);
|
|
29797
|
-
this.timeout = null;
|
|
29798
|
-
clearInterval(this.progressTimer);
|
|
29799
|
-
this.cdr.markForCheck();
|
|
29800
|
-
}
|
|
29801
|
-
}
|
|
29802
|
-
onMouseEnter() {
|
|
29803
|
-
this.clearTimeout();
|
|
29804
|
-
clearInterval(this.progressTimer);
|
|
29805
|
-
}
|
|
29806
|
-
onMouseLeave() {
|
|
29807
|
-
this.initTimeout();
|
|
29808
|
-
}
|
|
29809
|
-
onCloseIconClick(event) {
|
|
29810
|
-
this.clearTimeout();
|
|
29811
|
-
this.onClose.emit({
|
|
29812
|
-
index: this.index,
|
|
29813
|
-
message: this.message
|
|
29814
|
-
});
|
|
29815
|
-
event.preventDefault();
|
|
29816
|
-
}
|
|
29817
|
-
ngOnDestroy() {
|
|
29818
|
-
this.clearTimeout();
|
|
29819
|
-
}
|
|
29820
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: ToastItem, deps: [{ token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
29821
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.5", type: ToastItem, isStandalone: false, selector: "p-toastItem", inputs: { message: "message", index: "index", template: "template", showTransformOptions: "showTransformOptions", hideTransformOptions: "hideTransformOptions", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", showProgress: "showProgress" }, outputs: { onClose: "onClose" }, host: { classAttribute: "p-element" }, viewQueries: [{ propertyName: "containerViewChild", first: true, predicate: ["container"], descendants: true }], ngImport: i0, template: `
|
|
29822
|
-
<div #container [attr.id]="message.id" [class]="message.styleClass" [ngClass]="['p-toast-message-' + message.severity, 'p-toast-message']" [@messageState]="{value: 'visible', params: {showTransformParams: showTransformOptions, hideTransformParams: hideTransformOptions, showTransitionParams: showTransitionOptions, hideTransitionParams: hideTransitionOptions}}"
|
|
29823
|
-
(mouseenter)="onMouseEnter()" (mouseleave)="onMouseLeave()">
|
|
29824
|
-
<div class="p-toast-message-content relative" role="alert" aria-live="assertive" aria-atomic="true" [ngClass]="message.contentStyleClass">
|
|
29825
|
-
<ng-container *ngIf="!template">
|
|
29826
|
-
<span [class]="'p-toast-message-icon pi' + (message.icon ? ' ' + message.icon : '')" [ngClass]="{'pi-info-circle': message.severity == 'info', 'pi-exclamation-triangle': message.severity == 'warn',
|
|
29827
|
-
'pi-times-circle': message.severity == 'error', 'pi-check' :message.severity == 'success'}"></span>
|
|
29828
|
-
<div class="p-toast-message-text">
|
|
29829
|
-
<div class="p-toast-summary">{{message.summary}}</div>
|
|
29830
|
-
<div class="p-toast-detail">{{message.detail}}</div>
|
|
29831
|
-
</div>
|
|
29832
|
-
<div *ngIf="showProgress" class="absolute bottom-2 left-2 right-3">
|
|
29833
|
-
<p-progressBar [value]="progress" class="w-full" [ngClass]="[ 'toast-progress-' + message.severity ]" [showValue]="false"></p-progressBar>
|
|
29834
|
-
</div>
|
|
29835
|
-
</ng-container>
|
|
29836
|
-
<ng-container *ngTemplateOutlet="template; context: {$implicit: message}"></ng-container>
|
|
29837
|
-
<button type="button" class="p-toast-icon-close p-link" (click)="onCloseIconClick($event)" (keydown.enter)="onCloseIconClick($event)" *ngIf="message.closable !== false" pRipple>
|
|
29838
|
-
<span class="p-toast-icon-close-icon pi pi-times"></span>
|
|
29839
|
-
</button>
|
|
29840
|
-
</div>
|
|
29841
|
-
</div>
|
|
29842
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3$6.Ripple, selector: "[pRipple]" }, { kind: "component", type: i3$8.ProgressBar, selector: "p-progressBar, p-progressbar, p-progress-bar", inputs: ["value", "showValue", "styleClass", "valueStyleClass", "style", "unit", "mode", "color"] }], animations: [
|
|
29843
|
-
trigger('messageState', [
|
|
29844
|
-
state('visible', style({
|
|
29845
|
-
transform: 'translateY(0)',
|
|
29846
|
-
opacity: 1
|
|
29847
|
-
})),
|
|
29848
|
-
transition('void => *', [
|
|
29849
|
-
style({ transform: '{{showTransformParams}}', opacity: 0 }),
|
|
29850
|
-
animate('{{showTransitionParams}}')
|
|
29851
|
-
]),
|
|
29852
|
-
transition('* => void', [
|
|
29853
|
-
animate(('{{hideTransitionParams}}'), style({
|
|
29854
|
-
height: 0,
|
|
29855
|
-
opacity: 0,
|
|
29856
|
-
transform: '{{hideTransformParams}}'
|
|
29857
|
-
}))
|
|
29858
|
-
])
|
|
29859
|
-
])
|
|
29860
|
-
], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
|
|
29861
|
-
}
|
|
29862
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: ToastItem, decorators: [{
|
|
29863
|
-
type: Component,
|
|
29864
|
-
args: [{
|
|
29865
|
-
selector: 'p-toastItem',
|
|
29866
|
-
template: `
|
|
29867
|
-
<div #container [attr.id]="message.id" [class]="message.styleClass" [ngClass]="['p-toast-message-' + message.severity, 'p-toast-message']" [@messageState]="{value: 'visible', params: {showTransformParams: showTransformOptions, hideTransformParams: hideTransformOptions, showTransitionParams: showTransitionOptions, hideTransitionParams: hideTransitionOptions}}"
|
|
29868
|
-
(mouseenter)="onMouseEnter()" (mouseleave)="onMouseLeave()">
|
|
29869
|
-
<div class="p-toast-message-content relative" role="alert" aria-live="assertive" aria-atomic="true" [ngClass]="message.contentStyleClass">
|
|
29870
|
-
<ng-container *ngIf="!template">
|
|
29871
|
-
<span [class]="'p-toast-message-icon pi' + (message.icon ? ' ' + message.icon : '')" [ngClass]="{'pi-info-circle': message.severity == 'info', 'pi-exclamation-triangle': message.severity == 'warn',
|
|
29872
|
-
'pi-times-circle': message.severity == 'error', 'pi-check' :message.severity == 'success'}"></span>
|
|
29873
|
-
<div class="p-toast-message-text">
|
|
29874
|
-
<div class="p-toast-summary">{{message.summary}}</div>
|
|
29875
|
-
<div class="p-toast-detail">{{message.detail}}</div>
|
|
29876
|
-
</div>
|
|
29877
|
-
<div *ngIf="showProgress" class="absolute bottom-2 left-2 right-3">
|
|
29878
|
-
<p-progressBar [value]="progress" class="w-full" [ngClass]="[ 'toast-progress-' + message.severity ]" [showValue]="false"></p-progressBar>
|
|
29879
|
-
</div>
|
|
29880
|
-
</ng-container>
|
|
29881
|
-
<ng-container *ngTemplateOutlet="template; context: {$implicit: message}"></ng-container>
|
|
29882
|
-
<button type="button" class="p-toast-icon-close p-link" (click)="onCloseIconClick($event)" (keydown.enter)="onCloseIconClick($event)" *ngIf="message.closable !== false" pRipple>
|
|
29883
|
-
<span class="p-toast-icon-close-icon pi pi-times"></span>
|
|
29884
|
-
</button>
|
|
29885
|
-
</div>
|
|
29886
|
-
</div>
|
|
29887
|
-
`,
|
|
29888
|
-
animations: [
|
|
29889
|
-
trigger('messageState', [
|
|
29890
|
-
state('visible', style({
|
|
29891
|
-
transform: 'translateY(0)',
|
|
29892
|
-
opacity: 1
|
|
29893
|
-
})),
|
|
29894
|
-
transition('void => *', [
|
|
29895
|
-
style({ transform: '{{showTransformParams}}', opacity: 0 }),
|
|
29896
|
-
animate('{{showTransitionParams}}')
|
|
29897
|
-
]),
|
|
29898
|
-
transition('* => void', [
|
|
29899
|
-
animate(('{{hideTransitionParams}}'), style({
|
|
29900
|
-
height: 0,
|
|
29901
|
-
opacity: 0,
|
|
29902
|
-
transform: '{{hideTransformParams}}'
|
|
29903
|
-
}))
|
|
29904
|
-
])
|
|
29905
|
-
])
|
|
29906
|
-
],
|
|
29907
|
-
encapsulation: ViewEncapsulation.None,
|
|
29908
|
-
changeDetection: ChangeDetectionStrategy.Default,
|
|
29909
|
-
host: {
|
|
29910
|
-
'class': 'p-element'
|
|
29911
|
-
},
|
|
29912
|
-
standalone: false
|
|
29913
|
-
}]
|
|
29914
|
-
}], ctorParameters: () => [{ type: i0.NgZone }, { type: i0.ChangeDetectorRef }], propDecorators: { message: [{
|
|
29915
|
-
type: Input
|
|
29916
|
-
}], index: [{
|
|
29917
|
-
type: Input
|
|
29918
|
-
}], template: [{
|
|
29919
|
-
type: Input
|
|
29920
|
-
}], showTransformOptions: [{
|
|
29921
|
-
type: Input
|
|
29922
|
-
}], hideTransformOptions: [{
|
|
29923
|
-
type: Input
|
|
29924
|
-
}], showTransitionOptions: [{
|
|
29925
|
-
type: Input
|
|
29926
|
-
}], hideTransitionOptions: [{
|
|
29927
|
-
type: Input
|
|
29928
|
-
}], showProgress: [{
|
|
29929
|
-
type: Input
|
|
29930
|
-
}], onClose: [{
|
|
29931
|
-
type: Output
|
|
29932
|
-
}], containerViewChild: [{
|
|
29933
|
-
type: ViewChild,
|
|
29934
|
-
args: ['container']
|
|
29935
|
-
}] } });
|
|
29936
|
-
class Toast {
|
|
29937
|
-
messageService;
|
|
29938
|
-
cd;
|
|
29939
|
-
primeConfig = inject(PrimeNG);
|
|
29940
|
-
key;
|
|
29941
|
-
autoZIndex = true;
|
|
29942
|
-
baseZIndex = 0;
|
|
29943
|
-
style;
|
|
29944
|
-
styleClass;
|
|
29945
|
-
position = 'top-right';
|
|
29946
|
-
preventOpenDuplicates = false;
|
|
29947
|
-
preventDuplicates = false;
|
|
29948
|
-
showTransformOptions = 'translateY(100%)';
|
|
29949
|
-
hideTransformOptions = 'translateY(-100%)';
|
|
29950
|
-
showTransitionOptions = '300ms ease-out';
|
|
29951
|
-
hideTransitionOptions = '250ms ease-in';
|
|
29952
|
-
breakpoints;
|
|
29953
|
-
onClose = new EventEmitter();
|
|
29954
|
-
containerViewChild;
|
|
29955
|
-
templates;
|
|
29956
|
-
messageSubscription;
|
|
29957
|
-
clearSubscription;
|
|
29958
|
-
messages;
|
|
29959
|
-
messagesArchieve;
|
|
29960
|
-
template;
|
|
29961
|
-
constructor(messageService, cd) {
|
|
29962
|
-
this.messageService = messageService;
|
|
29963
|
-
this.cd = cd;
|
|
29964
|
-
}
|
|
29965
|
-
styleElement;
|
|
29966
|
-
id = UniqueComponentId();
|
|
29967
|
-
ngOnInit() {
|
|
29968
|
-
this.messageSubscription = this.messageService.messageObserver.subscribe(messages => {
|
|
29969
|
-
if (messages) {
|
|
29970
|
-
if (messages instanceof Array) {
|
|
29971
|
-
const filteredMessages = messages.filter(m => this.canAdd(m));
|
|
29972
|
-
this.add(filteredMessages);
|
|
29973
|
-
}
|
|
29974
|
-
else if (this.canAdd(messages)) {
|
|
29975
|
-
this.add([messages]);
|
|
29976
|
-
}
|
|
29977
|
-
}
|
|
29978
|
-
});
|
|
29979
|
-
this.clearSubscription = this.messageService.clearObserver.subscribe(key => {
|
|
29980
|
-
if (key) {
|
|
29981
|
-
if (this.key === key) {
|
|
29982
|
-
this.messages = null;
|
|
29983
|
-
}
|
|
29984
|
-
}
|
|
29985
|
-
else {
|
|
29986
|
-
this.messages = null;
|
|
29987
|
-
}
|
|
29988
|
-
this.cd.markForCheck();
|
|
29989
|
-
});
|
|
29990
|
-
}
|
|
29991
|
-
ngAfterViewInit() {
|
|
29992
|
-
if (this.breakpoints) {
|
|
29993
|
-
this.createStyle();
|
|
29994
|
-
}
|
|
29995
|
-
}
|
|
29996
|
-
add(messages) {
|
|
29997
|
-
this.messages = this.messages ? [...this.messages, ...messages] : [...messages];
|
|
29998
|
-
if (this.preventDuplicates) {
|
|
29999
|
-
this.messagesArchieve = this.messagesArchieve ? [...this.messagesArchieve, ...messages] : [...messages];
|
|
30000
|
-
}
|
|
30001
|
-
this.cd.markForCheck();
|
|
30002
|
-
}
|
|
30003
|
-
canAdd(message) {
|
|
30004
|
-
let allow = this.key === message.key;
|
|
30005
|
-
if (allow && this.preventOpenDuplicates) {
|
|
30006
|
-
allow = !this.containsMessage(this.messages, message);
|
|
30007
|
-
}
|
|
30008
|
-
if (allow && this.preventDuplicates) {
|
|
30009
|
-
allow = !this.containsMessage(this.messagesArchieve, message);
|
|
30010
|
-
}
|
|
30011
|
-
return allow;
|
|
30012
|
-
}
|
|
30013
|
-
containsMessage(collection, message) {
|
|
30014
|
-
if (!collection) {
|
|
30015
|
-
return false;
|
|
30016
|
-
}
|
|
30017
|
-
return collection.find(m => {
|
|
30018
|
-
return ((m.summary === message.summary) && (m.detail == message.detail) && (m.severity === message.severity));
|
|
30019
|
-
}) != null;
|
|
30020
|
-
}
|
|
30021
|
-
ngAfterContentInit() {
|
|
30022
|
-
this.templates.forEach((item) => {
|
|
30023
|
-
switch (item.getType()) {
|
|
30024
|
-
case 'message':
|
|
30025
|
-
this.template = item.template;
|
|
30026
|
-
break;
|
|
30027
|
-
default:
|
|
30028
|
-
this.template = item.template;
|
|
30029
|
-
break;
|
|
30030
|
-
}
|
|
30031
|
-
});
|
|
30032
|
-
}
|
|
30033
|
-
onMessageClose(event) {
|
|
30034
|
-
this.messages.splice(event.index, 1);
|
|
30035
|
-
this.onClose.emit({
|
|
30036
|
-
message: event.message
|
|
30037
|
-
});
|
|
30038
|
-
this.cd.detectChanges();
|
|
30039
|
-
}
|
|
30040
|
-
onAnimationStart(event) {
|
|
30041
|
-
if (event.fromState === 'void') {
|
|
30042
|
-
this.containerViewChild.nativeElement.setAttribute(this.id, '');
|
|
30043
|
-
if (this.autoZIndex && this.containerViewChild.nativeElement.style.zIndex === '') {
|
|
30044
|
-
ZIndexUtils.set('modal', this.containerViewChild.nativeElement, this.baseZIndex || this.primeConfig.zIndex.modal);
|
|
30045
|
-
}
|
|
30046
|
-
}
|
|
30047
|
-
}
|
|
30048
|
-
onAnimationEnd(event) {
|
|
30049
|
-
if (event.toState === 'void') {
|
|
30050
|
-
if (this.autoZIndex && ObjectUtils.isEmpty(this.messages)) {
|
|
30051
|
-
ZIndexUtils.clear(this.containerViewChild.nativeElement);
|
|
30052
|
-
}
|
|
30053
|
-
}
|
|
30054
|
-
}
|
|
30055
|
-
createStyle() {
|
|
30056
|
-
if (!this.styleElement) {
|
|
30057
|
-
this.styleElement = document.createElement('style');
|
|
30058
|
-
this.styleElement.type = 'text/css';
|
|
30059
|
-
document.head.appendChild(this.styleElement);
|
|
30060
|
-
let innerHTML = '';
|
|
30061
|
-
for (let breakpoint in this.breakpoints) {
|
|
30062
|
-
let breakpointStyle = '';
|
|
30063
|
-
for (let styleProp in this.breakpoints[breakpoint]) {
|
|
30064
|
-
breakpointStyle += styleProp + ':' + this.breakpoints[breakpoint][styleProp] + ' !important;';
|
|
30065
|
-
}
|
|
30066
|
-
innerHTML += `
|
|
30067
|
-
@media screen and (max-width: ${breakpoint}) {
|
|
30068
|
-
.p-toast[${this.id}] {
|
|
30069
|
-
${breakpointStyle}
|
|
30070
|
-
}
|
|
30071
|
-
}
|
|
30072
|
-
`;
|
|
30073
|
-
}
|
|
30074
|
-
this.styleElement.innerHTML = innerHTML;
|
|
30075
|
-
}
|
|
30076
|
-
}
|
|
30077
|
-
destroyStyle() {
|
|
30078
|
-
if (this.styleElement) {
|
|
30079
|
-
document.head.removeChild(this.styleElement);
|
|
30080
|
-
this.styleElement = null;
|
|
30081
|
-
}
|
|
30082
|
-
}
|
|
30083
|
-
ngOnDestroy() {
|
|
30084
|
-
if (this.messageSubscription) {
|
|
30085
|
-
this.messageSubscription.unsubscribe();
|
|
30086
|
-
}
|
|
30087
|
-
if (this.containerViewChild && this.autoZIndex) {
|
|
30088
|
-
ZIndexUtils.clear(this.containerViewChild.nativeElement);
|
|
30089
|
-
}
|
|
30090
|
-
if (this.clearSubscription) {
|
|
30091
|
-
this.clearSubscription.unsubscribe();
|
|
30092
|
-
}
|
|
30093
|
-
this.destroyStyle();
|
|
30094
|
-
}
|
|
30095
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: Toast, deps: [{ token: i4$1.MessageService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
30096
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.5", type: Toast, isStandalone: false, selector: "p-toast", inputs: { key: "key", autoZIndex: "autoZIndex", baseZIndex: "baseZIndex", style: "style", styleClass: "styleClass", position: "position", preventOpenDuplicates: "preventOpenDuplicates", preventDuplicates: "preventDuplicates", showTransformOptions: "showTransformOptions", hideTransformOptions: "hideTransformOptions", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", breakpoints: "breakpoints" }, outputs: { onClose: "onClose" }, host: { classAttribute: "p-element" }, queries: [{ propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "containerViewChild", first: true, predicate: ["container"], descendants: true }], ngImport: i0, template: `
|
|
30097
|
-
<div #container [ngClass]="'p-toast p-component p-toast-' + position" [ngStyle]="style" [class]="styleClass">
|
|
30098
|
-
<p-toastItem *ngFor="let msg of messages; let i=index" [message]="msg" [index]="i" (onClose)="onMessageClose($event)"
|
|
30099
|
-
[template]="template" @toastAnimation (@toastAnimation.start)="onAnimationStart($event)" (@toastAnimation.done)="onAnimationEnd($event)"
|
|
30100
|
-
[showTransformOptions]="showTransformOptions" [hideTransformOptions]="hideTransformOptions"
|
|
30101
|
-
[showTransitionOptions]="showTransitionOptions" [hideTransitionOptions]="hideTransitionOptions"></p-toastItem>
|
|
30102
|
-
</div>
|
|
30103
|
-
`, isInline: true, styles: [".p-toast{position:fixed;width:25rem}.p-toast .p-progressbar{height:5px}.p-toast .p-progressbar-determinate .p-progressbar-value-animate{transition:width .15s ease-in-out!important}.p-toast .p-toast-message .p-toast-message-content{padding:10px 10px 20px!important;border-width:0!important}.p-progressbar .p-progressbar-value{background:var(--color-success)!important}.toast-progress-warn .p-progressbar .p-progressbar-value{background:var(--color-warning)!important}.toast-progress-error .p-progressbar .p-progressbar-value{background:var(--color-danger)!important}.toast-progress-info .p-progressbar .p-progressbar-value{background:var(--color-info)!important}.toast-progress-success .p-progressbar .p-progressbar-value{background:var(--color-success)!important}.p-toast-message{overflow:hidden}.p-toast-message-content{display:flex;align-items:flex-start}.p-toast-message-text{flex:1 1 auto}.p-toast-top-right{top:20px;right:20px}.p-toast-top-left{top:20px;left:20px}.p-toast-bottom-left{bottom:20px;left:20px}.p-toast-bottom-right{bottom:20px;right:20px}.p-toast-top-center{top:20px;left:50%;transform:translate(-50%)}.p-toast-bottom-center{bottom:20px;left:50%;transform:translate(-50%)}.p-toast-center{left:50%;top:50%;min-width:20vw;transform:translate(-50%,-50%)}.p-toast-icon-close{display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-toast-icon-close.p-link{cursor:pointer}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: ToastItem, selector: "p-toastItem", inputs: ["message", "index", "template", "showTransformOptions", "hideTransformOptions", "showTransitionOptions", "hideTransitionOptions", "showProgress"], outputs: ["onClose"] }], animations: [
|
|
30104
|
-
trigger('toastAnimation', [
|
|
30105
|
-
transition(':enter, :leave', [
|
|
30106
|
-
query('@*', animateChild())
|
|
30107
|
-
])
|
|
30108
|
-
])
|
|
30109
|
-
], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
30110
|
-
}
|
|
30111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: Toast, decorators: [{
|
|
30112
|
-
type: Component,
|
|
30113
|
-
args: [{ selector: 'p-toast', template: `
|
|
30114
|
-
<div #container [ngClass]="'p-toast p-component p-toast-' + position" [ngStyle]="style" [class]="styleClass">
|
|
30115
|
-
<p-toastItem *ngFor="let msg of messages; let i=index" [message]="msg" [index]="i" (onClose)="onMessageClose($event)"
|
|
30116
|
-
[template]="template" @toastAnimation (@toastAnimation.start)="onAnimationStart($event)" (@toastAnimation.done)="onAnimationEnd($event)"
|
|
30117
|
-
[showTransformOptions]="showTransformOptions" [hideTransformOptions]="hideTransformOptions"
|
|
30118
|
-
[showTransitionOptions]="showTransitionOptions" [hideTransitionOptions]="hideTransitionOptions"></p-toastItem>
|
|
30119
|
-
</div>
|
|
30120
|
-
`, animations: [
|
|
30121
|
-
trigger('toastAnimation', [
|
|
30122
|
-
transition(':enter, :leave', [
|
|
30123
|
-
query('@*', animateChild())
|
|
30124
|
-
])
|
|
30125
|
-
])
|
|
30126
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
30127
|
-
'class': 'p-element'
|
|
30128
|
-
}, standalone: false, styles: [".p-toast{position:fixed;width:25rem}.p-toast .p-progressbar{height:5px}.p-toast .p-progressbar-determinate .p-progressbar-value-animate{transition:width .15s ease-in-out!important}.p-toast .p-toast-message .p-toast-message-content{padding:10px 10px 20px!important;border-width:0!important}.p-progressbar .p-progressbar-value{background:var(--color-success)!important}.toast-progress-warn .p-progressbar .p-progressbar-value{background:var(--color-warning)!important}.toast-progress-error .p-progressbar .p-progressbar-value{background:var(--color-danger)!important}.toast-progress-info .p-progressbar .p-progressbar-value{background:var(--color-info)!important}.toast-progress-success .p-progressbar .p-progressbar-value{background:var(--color-success)!important}.p-toast-message{overflow:hidden}.p-toast-message-content{display:flex;align-items:flex-start}.p-toast-message-text{flex:1 1 auto}.p-toast-top-right{top:20px;right:20px}.p-toast-top-left{top:20px;left:20px}.p-toast-bottom-left{bottom:20px;left:20px}.p-toast-bottom-right{bottom:20px;right:20px}.p-toast-top-center{top:20px;left:50%;transform:translate(-50%)}.p-toast-bottom-center{bottom:20px;left:50%;transform:translate(-50%)}.p-toast-center{left:50%;top:50%;min-width:20vw;transform:translate(-50%,-50%)}.p-toast-icon-close{display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-toast-icon-close.p-link{cursor:pointer}\n"] }]
|
|
30129
|
-
}], ctorParameters: () => [{ type: i4$1.MessageService }, { type: i0.ChangeDetectorRef }], propDecorators: { key: [{
|
|
30130
|
-
type: Input
|
|
30131
|
-
}], autoZIndex: [{
|
|
30132
|
-
type: Input
|
|
30133
|
-
}], baseZIndex: [{
|
|
30134
|
-
type: Input
|
|
30135
|
-
}], style: [{
|
|
30136
|
-
type: Input
|
|
30137
|
-
}], styleClass: [{
|
|
30138
|
-
type: Input
|
|
30139
|
-
}], position: [{
|
|
30140
|
-
type: Input
|
|
30141
|
-
}], preventOpenDuplicates: [{
|
|
30142
|
-
type: Input
|
|
30143
|
-
}], preventDuplicates: [{
|
|
30144
|
-
type: Input
|
|
30145
|
-
}], showTransformOptions: [{
|
|
30146
|
-
type: Input
|
|
30147
|
-
}], hideTransformOptions: [{
|
|
30148
|
-
type: Input
|
|
30149
|
-
}], showTransitionOptions: [{
|
|
30150
|
-
type: Input
|
|
30151
|
-
}], hideTransitionOptions: [{
|
|
30152
|
-
type: Input
|
|
30153
|
-
}], breakpoints: [{
|
|
30154
|
-
type: Input
|
|
30155
|
-
}], onClose: [{
|
|
30156
|
-
type: Output
|
|
30157
|
-
}], containerViewChild: [{
|
|
30158
|
-
type: ViewChild,
|
|
30159
|
-
args: ['container']
|
|
30160
|
-
}], templates: [{
|
|
30161
|
-
type: ContentChildren,
|
|
30162
|
-
args: [PrimeTemplate]
|
|
30163
|
-
}] } });
|
|
30164
|
-
class SmzToastModule {
|
|
30165
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: SmzToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
30166
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.5", ngImport: i0, type: SmzToastModule, declarations: [Toast, ToastItem], imports: [CommonModule, RippleModule, ProgressBarModule], exports: [Toast, SharedModule] });
|
|
30167
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: SmzToastModule, imports: [CommonModule, RippleModule, ProgressBarModule, SharedModule] });
|
|
30168
|
-
}
|
|
30169
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: SmzToastModule, decorators: [{
|
|
30170
|
-
type: NgModule,
|
|
30171
|
-
args: [{
|
|
30172
|
-
imports: [CommonModule, RippleModule, ProgressBarModule],
|
|
30173
|
-
exports: [Toast, SharedModule],
|
|
30174
|
-
declarations: [Toast, ToastItem]
|
|
30175
|
-
}]
|
|
30176
|
-
}] });
|
|
30177
|
-
|
|
30178
29788
|
// export const ngxsModuleForFeatureDialogsState = NgxsModule.forFeature([DialogsState]);
|
|
30179
29789
|
class NgxSmzDialogsModule {
|
|
30180
29790
|
constructor() {
|
|
@@ -30200,7 +29810,6 @@ class NgxSmzDialogsModule {
|
|
|
30200
29810
|
DialogModule,
|
|
30201
29811
|
// ngxsModuleForFeatureDialogsState,
|
|
30202
29812
|
OverlayPanelModule$1,
|
|
30203
|
-
SmzToastModule,
|
|
30204
29813
|
TableModule$1,
|
|
30205
29814
|
ButtonModule,
|
|
30206
29815
|
MessageModule,
|
|
@@ -30222,7 +29831,6 @@ class NgxSmzDialogsModule {
|
|
|
30222
29831
|
DialogModule,
|
|
30223
29832
|
// ngxsModuleForFeatureDialogsState,
|
|
30224
29833
|
OverlayPanelModule$1,
|
|
30225
|
-
SmzToastModule,
|
|
30226
29834
|
TableModule$1,
|
|
30227
29835
|
ButtonModule,
|
|
30228
29836
|
MessageModule,
|
|
@@ -30261,7 +29869,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
30261
29869
|
DialogModule,
|
|
30262
29870
|
// ngxsModuleForFeatureDialogsState,
|
|
30263
29871
|
OverlayPanelModule$1,
|
|
30264
|
-
SmzToastModule,
|
|
30265
29872
|
TableModule$1,
|
|
30266
29873
|
ButtonModule,
|
|
30267
29874
|
MessageModule,
|
|
@@ -35849,7 +35456,7 @@ class SmzDockComponent {
|
|
|
35849
35456
|
}
|
|
35850
35457
|
}
|
|
35851
35458
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: SmzDockComponent, deps: [{ token: SmzDockService }], target: i0.ɵɵFactoryTarget.Component });
|
|
35852
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.5", type: SmzDockComponent, isStandalone: false, selector: "smz-ui-dock", ngImport: i0, template: "<ng-container *ngIf=\"dockService.dockItems != null\">\r\n <p-dock [model]=\"dockService.dockItems\" position=\"bottom\" [ngClass]=\"{ 'hidden': dockService.dockItems.length === 0}\">\r\n <ng-template pTemplate=\"item\" let-item>\r\n <div class=\"w-full relative cursor-pointer\" (click)=\"execute(item)\">\r\n <img [src]=\"item.icon\" width=\"100%\">\r\n <div *ngIf=\"item.label != null\" class=\"absolute inset-0 grid grid-nogutter items-center justify-center flex-col\">\r\n <div class=\"text-center font-medium my-auto pt-2 select-none text-black text-xs\">{{ item.label }}</div>\r\n </div>\r\n </div>\r\n </ng-template>\r\n </p-dock>\r\n</ng-container>", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3$
|
|
35459
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.5", type: SmzDockComponent, isStandalone: false, selector: "smz-ui-dock", ngImport: i0, template: "<ng-container *ngIf=\"dockService.dockItems != null\">\r\n <p-dock [model]=\"dockService.dockItems\" position=\"bottom\" [ngClass]=\"{ 'hidden': dockService.dockItems.length === 0}\">\r\n <ng-template pTemplate=\"item\" let-item>\r\n <div class=\"w-full relative cursor-pointer\" (click)=\"execute(item)\">\r\n <img [src]=\"item.icon\" width=\"100%\">\r\n <div *ngIf=\"item.label != null\" class=\"absolute inset-0 grid grid-nogutter items-center justify-center flex-col\">\r\n <div class=\"text-center font-medium my-auto pt-2 select-none text-black text-xs\">{{ item.label }}</div>\r\n </div>\r\n </div>\r\n </ng-template>\r\n </p-dock>\r\n</ng-container>", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3$8.Dock, selector: "p-dock", inputs: ["id", "style", "styleClass", "model", "position", "ariaLabel", "ariaLabelledBy"], outputs: ["onFocus", "onBlur"] }, { kind: "directive", type: i4$1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }] });
|
|
35853
35460
|
}
|
|
35854
35461
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: SmzDockComponent, decorators: [{
|
|
35855
35462
|
type: Component,
|
|
@@ -35875,7 +35482,7 @@ class SmzUiBlockComponent {
|
|
|
35875
35482
|
<i class="pi pi-lock" style="font-size: 2rem"></i>
|
|
35876
35483
|
</p-blockUI>
|
|
35877
35484
|
</ng-container>
|
|
35878
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i3$
|
|
35485
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i3$9.BlockUI, selector: "p-blockUI, p-blockui, p-block-ui", inputs: ["target", "autoZIndex", "baseZIndex", "styleClass", "blocked"] }] });
|
|
35879
35486
|
}
|
|
35880
35487
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: SmzUiBlockComponent, decorators: [{
|
|
35881
35488
|
type: Component,
|
|
@@ -37409,11 +37016,11 @@ class OutletComponent {
|
|
|
37409
37016
|
});
|
|
37410
37017
|
}
|
|
37411
37018
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: OutletComponent, deps: [{ token: RouterDataListenerService }, { token: i1$2.Store }, { token: PrimeConfigService }, { token: i1$5.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Component });
|
|
37412
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.5", type: OutletComponent, isStandalone: false, selector: "smz-ui-outlet", inputs: { menu: "menu" }, host: { listeners: { "mouseleave": "onMouseLeave()", "mouseenter": "onBeforeUnload()" } }, queries: [{ propertyName: "templates", predicate: PrimeTemplate }], ngImport: i0, template: "<ng-container [ngSwitch]=\"routerListener.data?.layout?.mode\">\r\n\r\n <!-- LAYOUT SIMPLES -->\r\n <ng-container *ngSwitchCase=\"'none'\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n </ng-container>\r\n\r\n <!-- LAYOUT COMPLETO -->\r\n <ng-container *ngSwitchCase=\"'full'\">\r\n <ng-container *ngTemplateOutlet=\"layoutTemplate\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <!-- LAYOUT APENAS COM MENU LATERAL -->\r\n <ng-container *ngSwitchCase=\"'menu-only'\">\r\n <ng-container *ngTemplateOutlet=\"layoutTemplate\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <!-- LAYOUT APENAS COM BARRA SUPERIOR -->\r\n <ng-container *ngSwitchCase=\"'topbar-only'\">\r\n <ng-container *ngTemplateOutlet=\"layoutTemplate\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <ng-container *ngSwitchCase=\"'custom'\">\r\n <ng-container *ngTemplateOutlet=\"layoutTemplate\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <ng-container *ngSwitchDefault>\r\n <!-- Nenhum tipo de layout foi encontrado. -->\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n </ng-container>\r\n</ng-container>\r\n\r\n<smz-ui-theme-manager></smz-ui-theme-manager>\r\n<smz-ui-global-loader></smz-ui-global-loader>\r\n<smz-ui-dock></smz-ui-dock>\r\n<smz-ui-block></smz-ui-block>\r\n<smz-export-dialog></smz-export-dialog>\r\n<ng-container *ngIf=\"toast$ | async as toast\">\r\n <p-toast [position]=\"toast.position\"></p-toast>\r\n</ng-container>", styles: [""], dependencies: [{ kind: "directive", type: i1.
|
|
37019
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.5", type: OutletComponent, isStandalone: false, selector: "smz-ui-outlet", inputs: { menu: "menu" }, host: { listeners: { "mouseleave": "onMouseLeave()", "mouseenter": "onBeforeUnload()" } }, queries: [{ propertyName: "templates", predicate: PrimeTemplate }], ngImport: i0, template: "<ng-container [ngSwitch]=\"routerListener.data?.layout?.mode\">\r\n\r\n <!-- LAYOUT SIMPLES -->\r\n <ng-container *ngSwitchCase=\"'none'\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n </ng-container>\r\n\r\n <!-- LAYOUT COMPLETO -->\r\n <ng-container *ngSwitchCase=\"'full'\">\r\n <ng-container *ngTemplateOutlet=\"layoutTemplate\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <!-- LAYOUT APENAS COM MENU LATERAL -->\r\n <ng-container *ngSwitchCase=\"'menu-only'\">\r\n <ng-container *ngTemplateOutlet=\"layoutTemplate\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <!-- LAYOUT APENAS COM BARRA SUPERIOR -->\r\n <ng-container *ngSwitchCase=\"'topbar-only'\">\r\n <ng-container *ngTemplateOutlet=\"layoutTemplate\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <ng-container *ngSwitchCase=\"'custom'\">\r\n <ng-container *ngTemplateOutlet=\"layoutTemplate\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <ng-container *ngSwitchDefault>\r\n <!-- Nenhum tipo de layout foi encontrado. -->\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n </ng-container>\r\n</ng-container>\r\n\r\n<smz-ui-theme-manager></smz-ui-theme-manager>\r\n<smz-ui-global-loader></smz-ui-global-loader>\r\n<smz-ui-dock></smz-ui-dock>\r\n<smz-ui-block></smz-ui-block>\r\n<smz-export-dialog></smz-export-dialog>\r\n<!-- <ng-container *ngIf=\"toast$ | async as toast\">\r\n <p-toast [position]=\"toast.position\"></p-toast>\r\n</ng-container> -->", styles: [""], dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: ThemeManagerComponent, selector: "smz-ui-theme-manager" }, { kind: "component", type: GlobalLoaderComponent, selector: "smz-ui-global-loader", inputs: ["template"] }, { kind: "component", type: SmzDockComponent, selector: "smz-ui-dock" }, { kind: "component", type: SmzUiBlockComponent, selector: "smz-ui-block" }, { kind: "component", type: SmzExportDialogComponent, selector: "smz-export-dialog" }] });
|
|
37413
37020
|
}
|
|
37414
37021
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: OutletComponent, decorators: [{
|
|
37415
37022
|
type: Component,
|
|
37416
|
-
args: [{ selector: 'smz-ui-outlet', standalone: false, template: "<ng-container [ngSwitch]=\"routerListener.data?.layout?.mode\">\r\n\r\n <!-- LAYOUT SIMPLES -->\r\n <ng-container *ngSwitchCase=\"'none'\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n </ng-container>\r\n\r\n <!-- LAYOUT COMPLETO -->\r\n <ng-container *ngSwitchCase=\"'full'\">\r\n <ng-container *ngTemplateOutlet=\"layoutTemplate\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <!-- LAYOUT APENAS COM MENU LATERAL -->\r\n <ng-container *ngSwitchCase=\"'menu-only'\">\r\n <ng-container *ngTemplateOutlet=\"layoutTemplate\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <!-- LAYOUT APENAS COM BARRA SUPERIOR -->\r\n <ng-container *ngSwitchCase=\"'topbar-only'\">\r\n <ng-container *ngTemplateOutlet=\"layoutTemplate\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <ng-container *ngSwitchCase=\"'custom'\">\r\n <ng-container *ngTemplateOutlet=\"layoutTemplate\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <ng-container *ngSwitchDefault>\r\n <!-- Nenhum tipo de layout foi encontrado. -->\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n </ng-container>\r\n</ng-container>\r\n\r\n<smz-ui-theme-manager></smz-ui-theme-manager>\r\n<smz-ui-global-loader></smz-ui-global-loader>\r\n<smz-ui-dock></smz-ui-dock>\r\n<smz-ui-block></smz-ui-block>\r\n<smz-export-dialog></smz-export-dialog>\r\n<ng-container *ngIf=\"toast$ | async as toast\">\r\n <p-toast [position]=\"toast.position\"></p-toast>\r\n</ng-container>" }]
|
|
37023
|
+
args: [{ selector: 'smz-ui-outlet', standalone: false, template: "<ng-container [ngSwitch]=\"routerListener.data?.layout?.mode\">\r\n\r\n <!-- LAYOUT SIMPLES -->\r\n <ng-container *ngSwitchCase=\"'none'\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n </ng-container>\r\n\r\n <!-- LAYOUT COMPLETO -->\r\n <ng-container *ngSwitchCase=\"'full'\">\r\n <ng-container *ngTemplateOutlet=\"layoutTemplate\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <!-- LAYOUT APENAS COM MENU LATERAL -->\r\n <ng-container *ngSwitchCase=\"'menu-only'\">\r\n <ng-container *ngTemplateOutlet=\"layoutTemplate\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <!-- LAYOUT APENAS COM BARRA SUPERIOR -->\r\n <ng-container *ngSwitchCase=\"'topbar-only'\">\r\n <ng-container *ngTemplateOutlet=\"layoutTemplate\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <ng-container *ngSwitchCase=\"'custom'\">\r\n <ng-container *ngTemplateOutlet=\"layoutTemplate\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <ng-container *ngSwitchDefault>\r\n <!-- Nenhum tipo de layout foi encontrado. -->\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n </ng-container>\r\n</ng-container>\r\n\r\n<smz-ui-theme-manager></smz-ui-theme-manager>\r\n<smz-ui-global-loader></smz-ui-global-loader>\r\n<smz-ui-dock></smz-ui-dock>\r\n<smz-ui-block></smz-ui-block>\r\n<smz-export-dialog></smz-export-dialog>\r\n<!-- <ng-container *ngIf=\"toast$ | async as toast\">\r\n <p-toast [position]=\"toast.position\"></p-toast>\r\n</ng-container> -->" }]
|
|
37417
37024
|
}], ctorParameters: () => [{ type: RouterDataListenerService }, { type: i1$2.Store }, { type: PrimeConfigService }, { type: i1$5.BreakpointObserver }], propDecorators: { templates: [{
|
|
37418
37025
|
type: ContentChildren,
|
|
37419
37026
|
args: [PrimeTemplate]
|
|
@@ -38907,7 +38514,7 @@ class HephaestusAssistanceComponent {
|
|
|
38907
38514
|
this.store.dispatch(new LayoutUiActions.ShowConfigAssistance);
|
|
38908
38515
|
}
|
|
38909
38516
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: HephaestusAssistanceComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
38910
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.5", type: HephaestusAssistanceComponent, isStandalone: false, selector: "smz-ui-hephaestus-assistance", ngImport: i0, template: "<ng-container *ngIf=\"assistance$ | async as assistance\">\r\n\r\n<a *ngIf=\"assistance.isEnabled\" id=\"layout-config-button\" class=\"layout-config-button\" [ngClass]=\"assistance.buttonPosition\" style=\"cursor: pointer;\" (click)=\"showAssistance()\"><i class=\"pi pi-cog\"></i></a>\r\n\r\n <p-sidebar [(visible)]=\"isVisible\" [position]=\"assistance.sidebarData.position\" styleClass=\"assistence_sidebar\" (onHide)=\"onHide()\" (onShow)=\"onShow()\">\r\n\r\n <div class=\"grid flex-col items-start justify-start p-2 grid-nogutter\">\r\n <h5>Menu</h5>\r\n <div class=\"grid grid-nogutter\">\r\n <p-selectButton appendTo=\"body\" [options]=\"menuTypes\" [(ngModel)]=\"menuType\" (onChange)=\"onMenuTypeChange()\" optionLabel=\"label\" optionValue=\"value\"></p-selectButton>\r\n\r\n <div class=\"col-5 mt-2 mr-2\">\r\n <label for=\"sidebar-width\">Sidebar Width</label>\r\n <input id=\"sidebar-width\" type=\"text\" pInputText [(ngModel)]=\"layout.sidebarWidth\" appInputChangeDetection (valueChanged)=\"setSidebarWidth($event)\"/>\r\n </div>\r\n\r\n <div class=\"col mt-2\">\r\n <label for=\"sidebar-slim-width\">Slim Width</label>\r\n <input id=\"sidebar-slim-width\" type=\"text\" pInputText [(ngModel)]=\"layout.sidebarSlimWidth\" appInputChangeDetection (valueChanged)=\"setSidebarSlimWidth($event)\"/>\r\n </div>\r\n </div>\r\n\r\n <smz-ui-global-assistance></smz-ui-global-assistance>\r\n </div>\r\n\r\n </p-sidebar>\r\n</ng-container>", styles: ["smz-ui-hephaestus-assistance .p-sidebar-content{overflow-y:auto;height:100%}smz-ui-hephaestus-assistance .assistence_sidebar{width:35em}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3$
|
|
38517
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.5", type: HephaestusAssistanceComponent, isStandalone: false, selector: "smz-ui-hephaestus-assistance", ngImport: i0, template: "<ng-container *ngIf=\"assistance$ | async as assistance\">\r\n\r\n<a *ngIf=\"assistance.isEnabled\" id=\"layout-config-button\" class=\"layout-config-button\" [ngClass]=\"assistance.buttonPosition\" style=\"cursor: pointer;\" (click)=\"showAssistance()\"><i class=\"pi pi-cog\"></i></a>\r\n\r\n <p-sidebar [(visible)]=\"isVisible\" [position]=\"assistance.sidebarData.position\" styleClass=\"assistence_sidebar\" (onHide)=\"onHide()\" (onShow)=\"onShow()\">\r\n\r\n <div class=\"grid flex-col items-start justify-start p-2 grid-nogutter\">\r\n <h5>Menu</h5>\r\n <div class=\"grid grid-nogutter\">\r\n <p-selectButton appendTo=\"body\" [options]=\"menuTypes\" [(ngModel)]=\"menuType\" (onChange)=\"onMenuTypeChange()\" optionLabel=\"label\" optionValue=\"value\"></p-selectButton>\r\n\r\n <div class=\"col-5 mt-2 mr-2\">\r\n <label for=\"sidebar-width\">Sidebar Width</label>\r\n <input id=\"sidebar-width\" type=\"text\" pInputText [(ngModel)]=\"layout.sidebarWidth\" appInputChangeDetection (valueChanged)=\"setSidebarWidth($event)\"/>\r\n </div>\r\n\r\n <div class=\"col mt-2\">\r\n <label for=\"sidebar-slim-width\">Slim Width</label>\r\n <input id=\"sidebar-slim-width\" type=\"text\" pInputText [(ngModel)]=\"layout.sidebarSlimWidth\" appInputChangeDetection (valueChanged)=\"setSidebarSlimWidth($event)\"/>\r\n </div>\r\n </div>\r\n\r\n <smz-ui-global-assistance></smz-ui-global-assistance>\r\n </div>\r\n\r\n </p-sidebar>\r\n</ng-container>", styles: ["smz-ui-hephaestus-assistance .p-sidebar-content{overflow-y:auto;height:100%}smz-ui-hephaestus-assistance .assistence_sidebar{width:35em}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3$a.Sidebar, selector: "p-sidebar", inputs: ["appendTo", "blockScroll", "style", "styleClass", "ariaCloseLabel", "autoZIndex", "baseZIndex", "modal", "closeButtonProps", "dismissible", "showCloseIcon", "closeOnEscape", "transitionOptions", "visible", "position", "fullScreen", "maskStyle", "headerTemplate", "footerTemplate", "closeIconTemplate", "headlessTemplate", "contentTemplate"], outputs: ["onShow", "onHide", "visibleChange"] }, { kind: "component", type: i4$8.SelectButton, selector: "p-selectButton, p-selectbutton, p-select-button", inputs: ["options", "optionLabel", "optionValue", "optionDisabled", "unselectable", "tabindex", "multiple", "allowEmpty", "style", "styleClass", "ariaLabelledBy", "size", "disabled", "dataKey", "autofocus"], outputs: ["onOptionClick", "onChange"] }, { kind: "directive", type: i3.InputText, selector: "[pInputText]", inputs: ["variant", "fluid", "pSize"] }, { kind: "directive", type: InputChangeDetectionDirective, selector: "[appInputChangeDetection]", outputs: ["valueChanged"] }, { kind: "component", type: GlobalAssistanceComponent, selector: "smz-ui-global-assistance" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], encapsulation: i0.ViewEncapsulation.None });
|
|
38911
38518
|
}
|
|
38912
38519
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: HephaestusAssistanceComponent, decorators: [{
|
|
38913
38520
|
type: Component,
|
|
@@ -39120,7 +38727,6 @@ class OutletModule {
|
|
|
39120
38727
|
SharedModule,
|
|
39121
38728
|
SmzThemeManagerModule,
|
|
39122
38729
|
GlobalLoaderModule,
|
|
39123
|
-
SmzToastModule,
|
|
39124
38730
|
NgxSmzDockModule,
|
|
39125
38731
|
NgxSmzUiBlockModule,
|
|
39126
38732
|
SmzExportDialogModule], exports: [OutletComponent] });
|
|
@@ -39128,7 +38734,6 @@ class OutletModule {
|
|
|
39128
38734
|
SharedModule,
|
|
39129
38735
|
SmzThemeManagerModule,
|
|
39130
38736
|
GlobalLoaderModule,
|
|
39131
|
-
SmzToastModule,
|
|
39132
38737
|
NgxSmzDockModule,
|
|
39133
38738
|
NgxSmzUiBlockModule,
|
|
39134
38739
|
SmzExportDialogModule] });
|
|
@@ -39142,7 +38747,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
39142
38747
|
SharedModule,
|
|
39143
38748
|
SmzThemeManagerModule,
|
|
39144
38749
|
GlobalLoaderModule,
|
|
39145
|
-
SmzToastModule,
|
|
39146
38750
|
NgxSmzDockModule,
|
|
39147
38751
|
NgxSmzUiBlockModule,
|
|
39148
38752
|
SmzExportDialogModule
|
|
@@ -40827,7 +40431,7 @@ class AthenaAssistanceComponent {
|
|
|
40827
40431
|
this.store.dispatch(new LayoutUiActions.ShowConfigAssistance);
|
|
40828
40432
|
}
|
|
40829
40433
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AthenaAssistanceComponent, deps: [{ token: i1$2.Store }], target: i0.ɵɵFactoryTarget.Component });
|
|
40830
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.5", type: AthenaAssistanceComponent, isStandalone: false, selector: "smz-ui-athena-assistance", ngImport: i0, template: "<ng-container *ngIf=\"assistance$ | async as assistance\">\r\n\r\n<div class=\"layout-config\">\r\n <a *ngIf=\"assistance.isEnabled\" id=\"layout-config-button\" class=\"layout-config-button\" [ngClass]=\"assistance.buttonPosition\" style=\"cursor: pointer;\" (click)=\"showAssistance()\"><i class=\"pi pi-cog text-surface-100\"></i></a>\r\n</div>\r\n\r\n <p-sidebar [(visible)]=\"isVisible\" [position]=\"assistance.sidebarData.position\" styleClass=\"assistence_sidebar\" (onHide)=\"onHide()\" (onShow)=\"onShow()\">\r\n\r\n <div class=\"grid flex-col items-start justify-start p-2 grid-nogutter\">\r\n <h5>Menu</h5>\r\n <div class=\"grid grid-nogutter gap-2\">\r\n <p-selectButton appendTo=\"body\" [options]=\"menuTypes\" [(ngModel)]=\"menuType\" (onChange)=\"onMenuTypeChange()\" optionLabel=\"label\" optionValue=\"value\"></p-selectButton>\r\n\r\n <div class=\"col-5 mt-2 mr-2\">\r\n <label for=\"sidebar-width\">Sidebar Width</label>\r\n <input id=\"sidebar-width\" type=\"text\" pInputText [(ngModel)]=\"layout.sidebarWidth\" appInputChangeDetection (valueChanged)=\"setSidebarWidth($event)\"/>\r\n </div>\r\n\r\n <div class=\"col mt-2\">\r\n <label for=\"sidebar-slim-width\">Slim Width</label>\r\n <input id=\"sidebar-slim-width\" type=\"text\" pInputText [(ngModel)]=\"layout.sidebarSlimWidth\" appInputChangeDetection (valueChanged)=\"setSidebarSlimWidth($event)\"/>\r\n </div>\r\n </div>\r\n\r\n <smz-ui-global-assistance></smz-ui-global-assistance>\r\n </div>\r\n\r\n </p-sidebar>\r\n</ng-container>", styles: ["smz-ui-athena-assistance .p-sidebar-content{overflow-y:auto;height:100%}smz-ui-athena-assistance .assistence_sidebar{width:35em}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3$
|
|
40434
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.5", type: AthenaAssistanceComponent, isStandalone: false, selector: "smz-ui-athena-assistance", ngImport: i0, template: "<ng-container *ngIf=\"assistance$ | async as assistance\">\r\n\r\n<div class=\"layout-config\">\r\n <a *ngIf=\"assistance.isEnabled\" id=\"layout-config-button\" class=\"layout-config-button\" [ngClass]=\"assistance.buttonPosition\" style=\"cursor: pointer;\" (click)=\"showAssistance()\"><i class=\"pi pi-cog text-surface-100\"></i></a>\r\n</div>\r\n\r\n <p-sidebar [(visible)]=\"isVisible\" [position]=\"assistance.sidebarData.position\" styleClass=\"assistence_sidebar\" (onHide)=\"onHide()\" (onShow)=\"onShow()\">\r\n\r\n <div class=\"grid flex-col items-start justify-start p-2 grid-nogutter\">\r\n <h5>Menu</h5>\r\n <div class=\"grid grid-nogutter gap-2\">\r\n <p-selectButton appendTo=\"body\" [options]=\"menuTypes\" [(ngModel)]=\"menuType\" (onChange)=\"onMenuTypeChange()\" optionLabel=\"label\" optionValue=\"value\"></p-selectButton>\r\n\r\n <div class=\"col-5 mt-2 mr-2\">\r\n <label for=\"sidebar-width\">Sidebar Width</label>\r\n <input id=\"sidebar-width\" type=\"text\" pInputText [(ngModel)]=\"layout.sidebarWidth\" appInputChangeDetection (valueChanged)=\"setSidebarWidth($event)\"/>\r\n </div>\r\n\r\n <div class=\"col mt-2\">\r\n <label for=\"sidebar-slim-width\">Slim Width</label>\r\n <input id=\"sidebar-slim-width\" type=\"text\" pInputText [(ngModel)]=\"layout.sidebarSlimWidth\" appInputChangeDetection (valueChanged)=\"setSidebarSlimWidth($event)\"/>\r\n </div>\r\n </div>\r\n\r\n <smz-ui-global-assistance></smz-ui-global-assistance>\r\n </div>\r\n\r\n </p-sidebar>\r\n</ng-container>", styles: ["smz-ui-athena-assistance .p-sidebar-content{overflow-y:auto;height:100%}smz-ui-athena-assistance .assistence_sidebar{width:35em}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3$a.Sidebar, selector: "p-sidebar", inputs: ["appendTo", "blockScroll", "style", "styleClass", "ariaCloseLabel", "autoZIndex", "baseZIndex", "modal", "closeButtonProps", "dismissible", "showCloseIcon", "closeOnEscape", "transitionOptions", "visible", "position", "fullScreen", "maskStyle", "headerTemplate", "footerTemplate", "closeIconTemplate", "headlessTemplate", "contentTemplate"], outputs: ["onShow", "onHide", "visibleChange"] }, { kind: "component", type: i4$8.SelectButton, selector: "p-selectButton, p-selectbutton, p-select-button", inputs: ["options", "optionLabel", "optionValue", "optionDisabled", "unselectable", "tabindex", "multiple", "allowEmpty", "style", "styleClass", "ariaLabelledBy", "size", "disabled", "dataKey", "autofocus"], outputs: ["onOptionClick", "onChange"] }, { kind: "directive", type: i3.InputText, selector: "[pInputText]", inputs: ["variant", "fluid", "pSize"] }, { kind: "directive", type: InputChangeDetectionDirective, selector: "[appInputChangeDetection]", outputs: ["valueChanged"] }, { kind: "component", type: GlobalAssistanceComponent, selector: "smz-ui-global-assistance" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], encapsulation: i0.ViewEncapsulation.None });
|
|
40831
40435
|
}
|
|
40832
40436
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AthenaAssistanceComponent, decorators: [{
|
|
40833
40437
|
type: Component,
|
|
@@ -42324,7 +41928,7 @@ class NewAthenaAssistanceComponent {
|
|
|
42324
41928
|
this.store.dispatch(new LayoutUiActions.ShowConfigAssistance);
|
|
42325
41929
|
}
|
|
42326
41930
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: NewAthenaAssistanceComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
42327
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.5", type: NewAthenaAssistanceComponent, isStandalone: false, selector: "smz-ui-new-athena-assistance", ngImport: i0, template: "<ng-container *ngIf=\"assistance$ | async as assistance\">\r\n\r\n<div class=\"layout-config\">\r\n <a *ngIf=\"assistance.isEnabled\" id=\"layout-config-button\" class=\"layout-config-button\" [ngClass]=\"assistance.buttonPosition\" style=\"cursor: pointer;\" (click)=\"showAssistance()\"><i class=\"pi pi-cog text-surface-100\"></i></a>\r\n</div>\r\n\r\n <p-sidebar [(visible)]=\"isVisible\" [position]=\"assistance.sidebarData.position\" styleClass=\"assistence_sidebar\" (onHide)=\"onHide()\" (onShow)=\"onShow()\">\r\n\r\n <div class=\"grid flex-col items-start justify-start p-2 grid-nogutter\">\r\n <h5>Menu</h5>\r\n <div class=\"grid grid-nogutter gap-2\">\r\n <p-selectButton appendTo=\"body\" [options]=\"menuTypes\" [(ngModel)]=\"menuType\" (onChange)=\"onMenuTypeChange()\" optionLabel=\"label\" optionValue=\"value\"></p-selectButton>\r\n\r\n <div class=\"col-5 mt-2 mr-2\">\r\n <label for=\"sidebar-width\">Sidebar Width</label>\r\n <input id=\"sidebar-width\" type=\"text\" pInputText [(ngModel)]=\"layout.sidebarWidth\" appInputChangeDetection (valueChanged)=\"setSidebarWidth($event)\"/>\r\n </div>\r\n\r\n <div class=\"col mt-2\">\r\n <label for=\"sidebar-slim-width\">Slim Width</label>\r\n <input id=\"sidebar-slim-width\" type=\"text\" pInputText [(ngModel)]=\"layout.sidebarSlimWidth\" appInputChangeDetection (valueChanged)=\"setSidebarSlimWidth($event)\"/>\r\n </div>\r\n </div>\r\n\r\n <smz-ui-global-assistance></smz-ui-global-assistance>\r\n </div>\r\n\r\n </p-sidebar>\r\n</ng-container>", styles: ["smz-ui-new-athena-assistance .p-sidebar-content{overflow-y:auto;height:100%}smz-ui-new-athena-assistance .assistence_sidebar{width:35em}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3$
|
|
41931
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.5", type: NewAthenaAssistanceComponent, isStandalone: false, selector: "smz-ui-new-athena-assistance", ngImport: i0, template: "<ng-container *ngIf=\"assistance$ | async as assistance\">\r\n\r\n<div class=\"layout-config\">\r\n <a *ngIf=\"assistance.isEnabled\" id=\"layout-config-button\" class=\"layout-config-button\" [ngClass]=\"assistance.buttonPosition\" style=\"cursor: pointer;\" (click)=\"showAssistance()\"><i class=\"pi pi-cog text-surface-100\"></i></a>\r\n</div>\r\n\r\n <p-sidebar [(visible)]=\"isVisible\" [position]=\"assistance.sidebarData.position\" styleClass=\"assistence_sidebar\" (onHide)=\"onHide()\" (onShow)=\"onShow()\">\r\n\r\n <div class=\"grid flex-col items-start justify-start p-2 grid-nogutter\">\r\n <h5>Menu</h5>\r\n <div class=\"grid grid-nogutter gap-2\">\r\n <p-selectButton appendTo=\"body\" [options]=\"menuTypes\" [(ngModel)]=\"menuType\" (onChange)=\"onMenuTypeChange()\" optionLabel=\"label\" optionValue=\"value\"></p-selectButton>\r\n\r\n <div class=\"col-5 mt-2 mr-2\">\r\n <label for=\"sidebar-width\">Sidebar Width</label>\r\n <input id=\"sidebar-width\" type=\"text\" pInputText [(ngModel)]=\"layout.sidebarWidth\" appInputChangeDetection (valueChanged)=\"setSidebarWidth($event)\"/>\r\n </div>\r\n\r\n <div class=\"col mt-2\">\r\n <label for=\"sidebar-slim-width\">Slim Width</label>\r\n <input id=\"sidebar-slim-width\" type=\"text\" pInputText [(ngModel)]=\"layout.sidebarSlimWidth\" appInputChangeDetection (valueChanged)=\"setSidebarSlimWidth($event)\"/>\r\n </div>\r\n </div>\r\n\r\n <smz-ui-global-assistance></smz-ui-global-assistance>\r\n </div>\r\n\r\n </p-sidebar>\r\n</ng-container>", styles: ["smz-ui-new-athena-assistance .p-sidebar-content{overflow-y:auto;height:100%}smz-ui-new-athena-assistance .assistence_sidebar{width:35em}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3$a.Sidebar, selector: "p-sidebar", inputs: ["appendTo", "blockScroll", "style", "styleClass", "ariaCloseLabel", "autoZIndex", "baseZIndex", "modal", "closeButtonProps", "dismissible", "showCloseIcon", "closeOnEscape", "transitionOptions", "visible", "position", "fullScreen", "maskStyle", "headerTemplate", "footerTemplate", "closeIconTemplate", "headlessTemplate", "contentTemplate"], outputs: ["onShow", "onHide", "visibleChange"] }, { kind: "component", type: i4$8.SelectButton, selector: "p-selectButton, p-selectbutton, p-select-button", inputs: ["options", "optionLabel", "optionValue", "optionDisabled", "unselectable", "tabindex", "multiple", "allowEmpty", "style", "styleClass", "ariaLabelledBy", "size", "disabled", "dataKey", "autofocus"], outputs: ["onOptionClick", "onChange"] }, { kind: "directive", type: i3.InputText, selector: "[pInputText]", inputs: ["variant", "fluid", "pSize"] }, { kind: "directive", type: InputChangeDetectionDirective, selector: "[appInputChangeDetection]", outputs: ["valueChanged"] }, { kind: "component", type: GlobalAssistanceComponent, selector: "smz-ui-global-assistance" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], encapsulation: i0.ViewEncapsulation.None });
|
|
42328
41932
|
}
|
|
42329
41933
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: NewAthenaAssistanceComponent, decorators: [{
|
|
42330
41934
|
type: Component,
|
|
@@ -44381,7 +43985,7 @@ class SmzSideContentComponent {
|
|
|
44381
43985
|
this.store.dispatch(new LayoutUiActions.RestoreLayoutPosition());
|
|
44382
43986
|
}
|
|
44383
43987
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: SmzSideContentComponent, deps: [{ token: i1$2.Store }], target: i0.ɵɵFactoryTarget.Component });
|
|
44384
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.5", type: SmzSideContentComponent, isStandalone: false, selector: "smz-side-content", inputs: { config: "config", visible: "visible", position: "position", overlay: "overlay", appendToBody: "appendToBody" }, outputs: { clicked: "clicked", onHide: "onHide" }, queries: [{ propertyName: "templates", predicate: PrimeTemplate }], usesOnChanges: true, ngImport: i0, template: "<p-sidebar\r\n [(visible)]=\"visible\"\r\n (onHide)=\"onHide.emit()\"\r\n [position]=\"position != null ? position : 'right'\"\r\n [fullScreen]=\"config.fullScreen != null ? config.fullScreen : defaultConfig.fullScreen\"\r\n [styleClass]=\"config.styleClass != null ? config.styleClass : defaultConfig.styleClass + ' sidebar-content-custom-width'\"\r\n [style]=\"config.style != null ? config.style : defaultConfig.style\"\r\n [blockScroll]=\"config.blockScroll != null ? config.blockScroll : defaultConfig.blockScroll\"\r\n [dismissible]=\"config.dismissible != null ? config.dismissible : defaultConfig.dismissible\"\r\n [modal]=\"config.modal != null ? config.modal : defaultConfig.modal\"\r\n [showCloseIcon]=\"config.showCloseIcon != null ? config.showCloseIcon : defaultConfig.showCloseIcon\"\r\n [ariaCloseLabel]=\"config.ariaCloseLabel != null ? config.ariaCloseLabel : defaultConfig.ariaCloseLabel\"\r\n [closeOnEscape]=\"config.closeOnEscape != null ? config.closeOnEscape : defaultConfig.closeOnEscape\"\r\n [appendTo]=\"appendToBody === true ? 'body' : null\">\r\n <ng-container *ngIf=\"contentTemplate != null\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n </ng-container>\r\n</p-sidebar>", styles: ["smz-side-content .p-sidebar{box-shadow:unset}smz-side-content .p-sidebar-right{height:unset;right:0;top:114px;bottom:58px;transform:translate(100%);width:20rem}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3$
|
|
43988
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.5", type: SmzSideContentComponent, isStandalone: false, selector: "smz-side-content", inputs: { config: "config", visible: "visible", position: "position", overlay: "overlay", appendToBody: "appendToBody" }, outputs: { clicked: "clicked", onHide: "onHide" }, queries: [{ propertyName: "templates", predicate: PrimeTemplate }], usesOnChanges: true, ngImport: i0, template: "<p-sidebar\r\n [(visible)]=\"visible\"\r\n (onHide)=\"onHide.emit()\"\r\n [position]=\"position != null ? position : 'right'\"\r\n [fullScreen]=\"config.fullScreen != null ? config.fullScreen : defaultConfig.fullScreen\"\r\n [styleClass]=\"config.styleClass != null ? config.styleClass : defaultConfig.styleClass + ' sidebar-content-custom-width'\"\r\n [style]=\"config.style != null ? config.style : defaultConfig.style\"\r\n [blockScroll]=\"config.blockScroll != null ? config.blockScroll : defaultConfig.blockScroll\"\r\n [dismissible]=\"config.dismissible != null ? config.dismissible : defaultConfig.dismissible\"\r\n [modal]=\"config.modal != null ? config.modal : defaultConfig.modal\"\r\n [showCloseIcon]=\"config.showCloseIcon != null ? config.showCloseIcon : defaultConfig.showCloseIcon\"\r\n [ariaCloseLabel]=\"config.ariaCloseLabel != null ? config.ariaCloseLabel : defaultConfig.ariaCloseLabel\"\r\n [closeOnEscape]=\"config.closeOnEscape != null ? config.closeOnEscape : defaultConfig.closeOnEscape\"\r\n [appendTo]=\"appendToBody === true ? 'body' : null\">\r\n <ng-container *ngIf=\"contentTemplate != null\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n </ng-container>\r\n</p-sidebar>", styles: ["smz-side-content .p-sidebar{box-shadow:unset}smz-side-content .p-sidebar-right{height:unset;right:0;top:114px;bottom:58px;transform:translate(100%);width:20rem}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3$a.Sidebar, selector: "p-sidebar", inputs: ["appendTo", "blockScroll", "style", "styleClass", "ariaCloseLabel", "autoZIndex", "baseZIndex", "modal", "closeButtonProps", "dismissible", "showCloseIcon", "closeOnEscape", "transitionOptions", "visible", "position", "fullScreen", "maskStyle", "headerTemplate", "footerTemplate", "closeIconTemplate", "headlessTemplate", "contentTemplate"], outputs: ["onShow", "onHide", "visibleChange"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
44385
43989
|
}
|
|
44386
43990
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: SmzSideContentComponent, decorators: [{
|
|
44387
43991
|
type: Component,
|
|
@@ -46386,6 +45990,491 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
46386
45990
|
type: Input
|
|
46387
45991
|
}] } });
|
|
46388
45992
|
|
|
45993
|
+
class ToastItem {
|
|
45994
|
+
zone;
|
|
45995
|
+
cdr;
|
|
45996
|
+
message;
|
|
45997
|
+
index;
|
|
45998
|
+
template;
|
|
45999
|
+
showTransformOptions;
|
|
46000
|
+
hideTransformOptions;
|
|
46001
|
+
showTransitionOptions;
|
|
46002
|
+
hideTransitionOptions;
|
|
46003
|
+
showProgress = true;
|
|
46004
|
+
onClose = new EventEmitter();
|
|
46005
|
+
containerViewChild;
|
|
46006
|
+
timeout;
|
|
46007
|
+
timeoutValue = 0;
|
|
46008
|
+
progress = 0;
|
|
46009
|
+
progressTimer;
|
|
46010
|
+
tick = 100;
|
|
46011
|
+
add = 0;
|
|
46012
|
+
constructor(zone, cdr) {
|
|
46013
|
+
this.zone = zone;
|
|
46014
|
+
this.cdr = cdr;
|
|
46015
|
+
}
|
|
46016
|
+
ngAfterViewInit() {
|
|
46017
|
+
this.initTimeout();
|
|
46018
|
+
this.tick = 150;
|
|
46019
|
+
this.timeoutValue = this.message.life || 3000;
|
|
46020
|
+
this.add = (100 * this.tick) / this.timeoutValue;
|
|
46021
|
+
this.progress = this.add;
|
|
46022
|
+
}
|
|
46023
|
+
initTimeout() {
|
|
46024
|
+
if (!this.message.sticky) {
|
|
46025
|
+
this.zone.runOutsideAngular(() => {
|
|
46026
|
+
this.timeout = setTimeout(() => {
|
|
46027
|
+
}, this.timeoutValue);
|
|
46028
|
+
});
|
|
46029
|
+
this.cdr.markForCheck();
|
|
46030
|
+
this.progressTimer = setInterval(() => {
|
|
46031
|
+
this.progress = this.progress + this.add;
|
|
46032
|
+
this.cdr.markForCheck();
|
|
46033
|
+
if (this.progress >= 100) {
|
|
46034
|
+
this.progress = 100;
|
|
46035
|
+
clearInterval(this.progressTimer);
|
|
46036
|
+
this.cdr.markForCheck();
|
|
46037
|
+
this.onClose.emit({
|
|
46038
|
+
index: this.index,
|
|
46039
|
+
message: this.message
|
|
46040
|
+
});
|
|
46041
|
+
}
|
|
46042
|
+
}, this.tick);
|
|
46043
|
+
}
|
|
46044
|
+
}
|
|
46045
|
+
clearTimeout() {
|
|
46046
|
+
if (this.timeout) {
|
|
46047
|
+
clearTimeout(this.timeout);
|
|
46048
|
+
this.timeout = null;
|
|
46049
|
+
clearInterval(this.progressTimer);
|
|
46050
|
+
this.cdr.markForCheck();
|
|
46051
|
+
}
|
|
46052
|
+
}
|
|
46053
|
+
onMouseEnter() {
|
|
46054
|
+
this.clearTimeout();
|
|
46055
|
+
clearInterval(this.progressTimer);
|
|
46056
|
+
}
|
|
46057
|
+
onMouseLeave() {
|
|
46058
|
+
this.initTimeout();
|
|
46059
|
+
}
|
|
46060
|
+
onCloseIconClick(event) {
|
|
46061
|
+
this.clearTimeout();
|
|
46062
|
+
this.onClose.emit({
|
|
46063
|
+
index: this.index,
|
|
46064
|
+
message: this.message
|
|
46065
|
+
});
|
|
46066
|
+
event.preventDefault();
|
|
46067
|
+
}
|
|
46068
|
+
ngOnDestroy() {
|
|
46069
|
+
this.clearTimeout();
|
|
46070
|
+
}
|
|
46071
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: ToastItem, deps: [{ token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
46072
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.5", type: ToastItem, isStandalone: false, selector: "p-toastItem", inputs: { message: "message", index: "index", template: "template", showTransformOptions: "showTransformOptions", hideTransformOptions: "hideTransformOptions", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", showProgress: "showProgress" }, outputs: { onClose: "onClose" }, host: { classAttribute: "p-element" }, viewQueries: [{ propertyName: "containerViewChild", first: true, predicate: ["container"], descendants: true }], ngImport: i0, template: `
|
|
46073
|
+
<div #container [attr.id]="message.id" [class]="message.styleClass" [ngClass]="['p-toast-message-' + message.severity, 'p-toast-message']" [@messageState]="{value: 'visible', params: {showTransformParams: showTransformOptions, hideTransformParams: hideTransformOptions, showTransitionParams: showTransitionOptions, hideTransitionParams: hideTransitionOptions}}"
|
|
46074
|
+
(mouseenter)="onMouseEnter()" (mouseleave)="onMouseLeave()">
|
|
46075
|
+
<div class="p-toast-message-content relative" role="alert" aria-live="assertive" aria-atomic="true" [ngClass]="message.contentStyleClass">
|
|
46076
|
+
<ng-container *ngIf="!template">
|
|
46077
|
+
<span [class]="'p-toast-message-icon pi' + (message.icon ? ' ' + message.icon : '')" [ngClass]="{'pi-info-circle': message.severity == 'info', 'pi-exclamation-triangle': message.severity == 'warn',
|
|
46078
|
+
'pi-times-circle': message.severity == 'error', 'pi-check' :message.severity == 'success'}"></span>
|
|
46079
|
+
<div class="p-toast-message-text">
|
|
46080
|
+
<div class="p-toast-summary">{{message.summary}}</div>
|
|
46081
|
+
<div class="p-toast-detail">{{message.detail}}</div>
|
|
46082
|
+
</div>
|
|
46083
|
+
<div *ngIf="showProgress" class="absolute bottom-2 left-2 right-3">
|
|
46084
|
+
<p-progressBar [value]="progress" class="w-full" [ngClass]="[ 'toast-progress-' + message.severity ]" [showValue]="false"></p-progressBar>
|
|
46085
|
+
</div>
|
|
46086
|
+
</ng-container>
|
|
46087
|
+
<ng-container *ngTemplateOutlet="template; context: {$implicit: message}"></ng-container>
|
|
46088
|
+
<button type="button" class="p-toast-icon-close p-link" (click)="onCloseIconClick($event)" (keydown.enter)="onCloseIconClick($event)" *ngIf="message.closable !== false" pRipple>
|
|
46089
|
+
<span class="p-toast-icon-close-icon pi pi-times"></span>
|
|
46090
|
+
</button>
|
|
46091
|
+
</div>
|
|
46092
|
+
</div>
|
|
46093
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3$6.Ripple, selector: "[pRipple]" }, { kind: "component", type: i3$b.ProgressBar, selector: "p-progressBar, p-progressbar, p-progress-bar", inputs: ["value", "showValue", "styleClass", "valueStyleClass", "style", "unit", "mode", "color"] }], animations: [
|
|
46094
|
+
trigger('messageState', [
|
|
46095
|
+
state('visible', style({
|
|
46096
|
+
transform: 'translateY(0)',
|
|
46097
|
+
opacity: 1
|
|
46098
|
+
})),
|
|
46099
|
+
transition('void => *', [
|
|
46100
|
+
style({ transform: '{{showTransformParams}}', opacity: 0 }),
|
|
46101
|
+
animate('{{showTransitionParams}}')
|
|
46102
|
+
]),
|
|
46103
|
+
transition('* => void', [
|
|
46104
|
+
animate(('{{hideTransitionParams}}'), style({
|
|
46105
|
+
height: 0,
|
|
46106
|
+
opacity: 0,
|
|
46107
|
+
transform: '{{hideTransformParams}}'
|
|
46108
|
+
}))
|
|
46109
|
+
])
|
|
46110
|
+
])
|
|
46111
|
+
], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
|
|
46112
|
+
}
|
|
46113
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: ToastItem, decorators: [{
|
|
46114
|
+
type: Component,
|
|
46115
|
+
args: [{
|
|
46116
|
+
selector: 'p-toastItem',
|
|
46117
|
+
template: `
|
|
46118
|
+
<div #container [attr.id]="message.id" [class]="message.styleClass" [ngClass]="['p-toast-message-' + message.severity, 'p-toast-message']" [@messageState]="{value: 'visible', params: {showTransformParams: showTransformOptions, hideTransformParams: hideTransformOptions, showTransitionParams: showTransitionOptions, hideTransitionParams: hideTransitionOptions}}"
|
|
46119
|
+
(mouseenter)="onMouseEnter()" (mouseleave)="onMouseLeave()">
|
|
46120
|
+
<div class="p-toast-message-content relative" role="alert" aria-live="assertive" aria-atomic="true" [ngClass]="message.contentStyleClass">
|
|
46121
|
+
<ng-container *ngIf="!template">
|
|
46122
|
+
<span [class]="'p-toast-message-icon pi' + (message.icon ? ' ' + message.icon : '')" [ngClass]="{'pi-info-circle': message.severity == 'info', 'pi-exclamation-triangle': message.severity == 'warn',
|
|
46123
|
+
'pi-times-circle': message.severity == 'error', 'pi-check' :message.severity == 'success'}"></span>
|
|
46124
|
+
<div class="p-toast-message-text">
|
|
46125
|
+
<div class="p-toast-summary">{{message.summary}}</div>
|
|
46126
|
+
<div class="p-toast-detail">{{message.detail}}</div>
|
|
46127
|
+
</div>
|
|
46128
|
+
<div *ngIf="showProgress" class="absolute bottom-2 left-2 right-3">
|
|
46129
|
+
<p-progressBar [value]="progress" class="w-full" [ngClass]="[ 'toast-progress-' + message.severity ]" [showValue]="false"></p-progressBar>
|
|
46130
|
+
</div>
|
|
46131
|
+
</ng-container>
|
|
46132
|
+
<ng-container *ngTemplateOutlet="template; context: {$implicit: message}"></ng-container>
|
|
46133
|
+
<button type="button" class="p-toast-icon-close p-link" (click)="onCloseIconClick($event)" (keydown.enter)="onCloseIconClick($event)" *ngIf="message.closable !== false" pRipple>
|
|
46134
|
+
<span class="p-toast-icon-close-icon pi pi-times"></span>
|
|
46135
|
+
</button>
|
|
46136
|
+
</div>
|
|
46137
|
+
</div>
|
|
46138
|
+
`,
|
|
46139
|
+
animations: [
|
|
46140
|
+
trigger('messageState', [
|
|
46141
|
+
state('visible', style({
|
|
46142
|
+
transform: 'translateY(0)',
|
|
46143
|
+
opacity: 1
|
|
46144
|
+
})),
|
|
46145
|
+
transition('void => *', [
|
|
46146
|
+
style({ transform: '{{showTransformParams}}', opacity: 0 }),
|
|
46147
|
+
animate('{{showTransitionParams}}')
|
|
46148
|
+
]),
|
|
46149
|
+
transition('* => void', [
|
|
46150
|
+
animate(('{{hideTransitionParams}}'), style({
|
|
46151
|
+
height: 0,
|
|
46152
|
+
opacity: 0,
|
|
46153
|
+
transform: '{{hideTransformParams}}'
|
|
46154
|
+
}))
|
|
46155
|
+
])
|
|
46156
|
+
])
|
|
46157
|
+
],
|
|
46158
|
+
encapsulation: ViewEncapsulation.None,
|
|
46159
|
+
changeDetection: ChangeDetectionStrategy.Default,
|
|
46160
|
+
host: {
|
|
46161
|
+
'class': 'p-element'
|
|
46162
|
+
},
|
|
46163
|
+
standalone: false
|
|
46164
|
+
}]
|
|
46165
|
+
}], ctorParameters: () => [{ type: i0.NgZone }, { type: i0.ChangeDetectorRef }], propDecorators: { message: [{
|
|
46166
|
+
type: Input
|
|
46167
|
+
}], index: [{
|
|
46168
|
+
type: Input
|
|
46169
|
+
}], template: [{
|
|
46170
|
+
type: Input
|
|
46171
|
+
}], showTransformOptions: [{
|
|
46172
|
+
type: Input
|
|
46173
|
+
}], hideTransformOptions: [{
|
|
46174
|
+
type: Input
|
|
46175
|
+
}], showTransitionOptions: [{
|
|
46176
|
+
type: Input
|
|
46177
|
+
}], hideTransitionOptions: [{
|
|
46178
|
+
type: Input
|
|
46179
|
+
}], showProgress: [{
|
|
46180
|
+
type: Input
|
|
46181
|
+
}], onClose: [{
|
|
46182
|
+
type: Output
|
|
46183
|
+
}], containerViewChild: [{
|
|
46184
|
+
type: ViewChild,
|
|
46185
|
+
args: ['container']
|
|
46186
|
+
}] } });
|
|
46187
|
+
class Toast {
|
|
46188
|
+
messageService;
|
|
46189
|
+
cd;
|
|
46190
|
+
primeConfig = inject(PrimeNG);
|
|
46191
|
+
key;
|
|
46192
|
+
autoZIndex = true;
|
|
46193
|
+
baseZIndex = 0;
|
|
46194
|
+
style;
|
|
46195
|
+
styleClass;
|
|
46196
|
+
position = 'top-right';
|
|
46197
|
+
preventOpenDuplicates = false;
|
|
46198
|
+
preventDuplicates = false;
|
|
46199
|
+
showTransformOptions = 'translateY(100%)';
|
|
46200
|
+
hideTransformOptions = 'translateY(-100%)';
|
|
46201
|
+
showTransitionOptions = '300ms ease-out';
|
|
46202
|
+
hideTransitionOptions = '250ms ease-in';
|
|
46203
|
+
breakpoints;
|
|
46204
|
+
onClose = new EventEmitter();
|
|
46205
|
+
containerViewChild;
|
|
46206
|
+
templates;
|
|
46207
|
+
messageSubscription;
|
|
46208
|
+
clearSubscription;
|
|
46209
|
+
messages;
|
|
46210
|
+
messagesArchieve;
|
|
46211
|
+
template;
|
|
46212
|
+
constructor(messageService, cd) {
|
|
46213
|
+
this.messageService = messageService;
|
|
46214
|
+
this.cd = cd;
|
|
46215
|
+
}
|
|
46216
|
+
styleElement;
|
|
46217
|
+
id = UniqueComponentId();
|
|
46218
|
+
ngOnInit() {
|
|
46219
|
+
this.messageSubscription = this.messageService.messageObserver.subscribe(messages => {
|
|
46220
|
+
if (messages) {
|
|
46221
|
+
if (messages instanceof Array) {
|
|
46222
|
+
const filteredMessages = messages.filter(m => this.canAdd(m));
|
|
46223
|
+
this.add(filteredMessages);
|
|
46224
|
+
}
|
|
46225
|
+
else if (this.canAdd(messages)) {
|
|
46226
|
+
this.add([messages]);
|
|
46227
|
+
}
|
|
46228
|
+
}
|
|
46229
|
+
});
|
|
46230
|
+
this.clearSubscription = this.messageService.clearObserver.subscribe(key => {
|
|
46231
|
+
if (key) {
|
|
46232
|
+
if (this.key === key) {
|
|
46233
|
+
this.messages = null;
|
|
46234
|
+
}
|
|
46235
|
+
}
|
|
46236
|
+
else {
|
|
46237
|
+
this.messages = null;
|
|
46238
|
+
}
|
|
46239
|
+
this.cd.markForCheck();
|
|
46240
|
+
});
|
|
46241
|
+
}
|
|
46242
|
+
ngAfterViewInit() {
|
|
46243
|
+
if (this.breakpoints) {
|
|
46244
|
+
this.createStyle();
|
|
46245
|
+
}
|
|
46246
|
+
}
|
|
46247
|
+
add(messages) {
|
|
46248
|
+
this.messages = this.messages ? [...this.messages, ...messages] : [...messages];
|
|
46249
|
+
if (this.preventDuplicates) {
|
|
46250
|
+
this.messagesArchieve = this.messagesArchieve ? [...this.messagesArchieve, ...messages] : [...messages];
|
|
46251
|
+
}
|
|
46252
|
+
this.cd.markForCheck();
|
|
46253
|
+
}
|
|
46254
|
+
canAdd(message) {
|
|
46255
|
+
let allow = this.key === message.key;
|
|
46256
|
+
if (allow && this.preventOpenDuplicates) {
|
|
46257
|
+
allow = !this.containsMessage(this.messages, message);
|
|
46258
|
+
}
|
|
46259
|
+
if (allow && this.preventDuplicates) {
|
|
46260
|
+
allow = !this.containsMessage(this.messagesArchieve, message);
|
|
46261
|
+
}
|
|
46262
|
+
return allow;
|
|
46263
|
+
}
|
|
46264
|
+
containsMessage(collection, message) {
|
|
46265
|
+
if (!collection) {
|
|
46266
|
+
return false;
|
|
46267
|
+
}
|
|
46268
|
+
return collection.find(m => {
|
|
46269
|
+
return ((m.summary === message.summary) && (m.detail == message.detail) && (m.severity === message.severity));
|
|
46270
|
+
}) != null;
|
|
46271
|
+
}
|
|
46272
|
+
ngAfterContentInit() {
|
|
46273
|
+
this.templates.forEach((item) => {
|
|
46274
|
+
switch (item.getType()) {
|
|
46275
|
+
case 'message':
|
|
46276
|
+
this.template = item.template;
|
|
46277
|
+
break;
|
|
46278
|
+
default:
|
|
46279
|
+
this.template = item.template;
|
|
46280
|
+
break;
|
|
46281
|
+
}
|
|
46282
|
+
});
|
|
46283
|
+
}
|
|
46284
|
+
onMessageClose(event) {
|
|
46285
|
+
this.messages.splice(event.index, 1);
|
|
46286
|
+
this.onClose.emit({
|
|
46287
|
+
message: event.message
|
|
46288
|
+
});
|
|
46289
|
+
this.cd.detectChanges();
|
|
46290
|
+
}
|
|
46291
|
+
onAnimationStart(event) {
|
|
46292
|
+
if (event.fromState === 'void') {
|
|
46293
|
+
this.containerViewChild.nativeElement.setAttribute(this.id, '');
|
|
46294
|
+
if (this.autoZIndex && this.containerViewChild.nativeElement.style.zIndex === '') {
|
|
46295
|
+
ZIndexUtils.set('modal', this.containerViewChild.nativeElement, this.baseZIndex || this.primeConfig.zIndex.modal);
|
|
46296
|
+
}
|
|
46297
|
+
}
|
|
46298
|
+
}
|
|
46299
|
+
onAnimationEnd(event) {
|
|
46300
|
+
if (event.toState === 'void') {
|
|
46301
|
+
if (this.autoZIndex && ObjectUtils.isEmpty(this.messages)) {
|
|
46302
|
+
ZIndexUtils.clear(this.containerViewChild.nativeElement);
|
|
46303
|
+
}
|
|
46304
|
+
}
|
|
46305
|
+
}
|
|
46306
|
+
createStyle() {
|
|
46307
|
+
if (!this.styleElement) {
|
|
46308
|
+
this.styleElement = document.createElement('style');
|
|
46309
|
+
this.styleElement.type = 'text/css';
|
|
46310
|
+
document.head.appendChild(this.styleElement);
|
|
46311
|
+
let innerHTML = '';
|
|
46312
|
+
for (let breakpoint in this.breakpoints) {
|
|
46313
|
+
let breakpointStyle = '';
|
|
46314
|
+
for (let styleProp in this.breakpoints[breakpoint]) {
|
|
46315
|
+
breakpointStyle += styleProp + ':' + this.breakpoints[breakpoint][styleProp] + ' !important;';
|
|
46316
|
+
}
|
|
46317
|
+
innerHTML += `
|
|
46318
|
+
@media screen and (max-width: ${breakpoint}) {
|
|
46319
|
+
.p-toast[${this.id}] {
|
|
46320
|
+
${breakpointStyle}
|
|
46321
|
+
}
|
|
46322
|
+
}
|
|
46323
|
+
`;
|
|
46324
|
+
}
|
|
46325
|
+
this.styleElement.innerHTML = innerHTML;
|
|
46326
|
+
}
|
|
46327
|
+
}
|
|
46328
|
+
destroyStyle() {
|
|
46329
|
+
if (this.styleElement) {
|
|
46330
|
+
document.head.removeChild(this.styleElement);
|
|
46331
|
+
this.styleElement = null;
|
|
46332
|
+
}
|
|
46333
|
+
}
|
|
46334
|
+
ngOnDestroy() {
|
|
46335
|
+
if (this.messageSubscription) {
|
|
46336
|
+
this.messageSubscription.unsubscribe();
|
|
46337
|
+
}
|
|
46338
|
+
if (this.containerViewChild && this.autoZIndex) {
|
|
46339
|
+
ZIndexUtils.clear(this.containerViewChild.nativeElement);
|
|
46340
|
+
}
|
|
46341
|
+
if (this.clearSubscription) {
|
|
46342
|
+
this.clearSubscription.unsubscribe();
|
|
46343
|
+
}
|
|
46344
|
+
this.destroyStyle();
|
|
46345
|
+
}
|
|
46346
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: Toast, deps: [{ token: i4$1.MessageService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
46347
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.5", type: Toast, isStandalone: false, selector: "p-toast", inputs: { key: "key", autoZIndex: "autoZIndex", baseZIndex: "baseZIndex", style: "style", styleClass: "styleClass", position: "position", preventOpenDuplicates: "preventOpenDuplicates", preventDuplicates: "preventDuplicates", showTransformOptions: "showTransformOptions", hideTransformOptions: "hideTransformOptions", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", breakpoints: "breakpoints" }, outputs: { onClose: "onClose" }, host: { classAttribute: "p-element" }, queries: [{ propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "containerViewChild", first: true, predicate: ["container"], descendants: true }], ngImport: i0, template: `
|
|
46348
|
+
<div #container [ngClass]="'p-toast p-component p-toast-' + position" [ngStyle]="style" [class]="styleClass">
|
|
46349
|
+
<p-toastItem *ngFor="let msg of messages; let i=index" [message]="msg" [index]="i" (onClose)="onMessageClose($event)"
|
|
46350
|
+
[template]="template" @toastAnimation (@toastAnimation.start)="onAnimationStart($event)" (@toastAnimation.done)="onAnimationEnd($event)"
|
|
46351
|
+
[showTransformOptions]="showTransformOptions" [hideTransformOptions]="hideTransformOptions"
|
|
46352
|
+
[showTransitionOptions]="showTransitionOptions" [hideTransitionOptions]="hideTransitionOptions"></p-toastItem>
|
|
46353
|
+
</div>
|
|
46354
|
+
`, isInline: true, styles: [".p-toast{position:fixed;width:25rem}.p-toast .p-progressbar{height:5px}.p-toast .p-progressbar-determinate .p-progressbar-value-animate{transition:width .15s ease-in-out!important}.p-toast .p-toast-message .p-toast-message-content{padding:10px 10px 20px!important;border-width:0!important}.p-progressbar .p-progressbar-value{background:var(--color-success)!important}.toast-progress-warn .p-progressbar .p-progressbar-value{background:var(--color-warning)!important}.toast-progress-error .p-progressbar .p-progressbar-value{background:var(--color-danger)!important}.toast-progress-info .p-progressbar .p-progressbar-value{background:var(--color-info)!important}.toast-progress-success .p-progressbar .p-progressbar-value{background:var(--color-success)!important}.p-toast-message{overflow:hidden}.p-toast-message-content{display:flex;align-items:flex-start}.p-toast-message-text{flex:1 1 auto}.p-toast-top-right{top:20px;right:20px}.p-toast-top-left{top:20px;left:20px}.p-toast-bottom-left{bottom:20px;left:20px}.p-toast-bottom-right{bottom:20px;right:20px}.p-toast-top-center{top:20px;left:50%;transform:translate(-50%)}.p-toast-bottom-center{bottom:20px;left:50%;transform:translate(-50%)}.p-toast-center{left:50%;top:50%;min-width:20vw;transform:translate(-50%,-50%)}.p-toast-icon-close{display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-toast-icon-close.p-link{cursor:pointer}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: ToastItem, selector: "p-toastItem", inputs: ["message", "index", "template", "showTransformOptions", "hideTransformOptions", "showTransitionOptions", "hideTransitionOptions", "showProgress"], outputs: ["onClose"] }], animations: [
|
|
46355
|
+
trigger('toastAnimation', [
|
|
46356
|
+
transition(':enter, :leave', [
|
|
46357
|
+
query('@*', animateChild())
|
|
46358
|
+
])
|
|
46359
|
+
])
|
|
46360
|
+
], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
46361
|
+
}
|
|
46362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: Toast, decorators: [{
|
|
46363
|
+
type: Component,
|
|
46364
|
+
args: [{ selector: 'p-toast', template: `
|
|
46365
|
+
<div #container [ngClass]="'p-toast p-component p-toast-' + position" [ngStyle]="style" [class]="styleClass">
|
|
46366
|
+
<p-toastItem *ngFor="let msg of messages; let i=index" [message]="msg" [index]="i" (onClose)="onMessageClose($event)"
|
|
46367
|
+
[template]="template" @toastAnimation (@toastAnimation.start)="onAnimationStart($event)" (@toastAnimation.done)="onAnimationEnd($event)"
|
|
46368
|
+
[showTransformOptions]="showTransformOptions" [hideTransformOptions]="hideTransformOptions"
|
|
46369
|
+
[showTransitionOptions]="showTransitionOptions" [hideTransitionOptions]="hideTransitionOptions"></p-toastItem>
|
|
46370
|
+
</div>
|
|
46371
|
+
`, animations: [
|
|
46372
|
+
trigger('toastAnimation', [
|
|
46373
|
+
transition(':enter, :leave', [
|
|
46374
|
+
query('@*', animateChild())
|
|
46375
|
+
])
|
|
46376
|
+
])
|
|
46377
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
46378
|
+
'class': 'p-element'
|
|
46379
|
+
}, standalone: false, styles: [".p-toast{position:fixed;width:25rem}.p-toast .p-progressbar{height:5px}.p-toast .p-progressbar-determinate .p-progressbar-value-animate{transition:width .15s ease-in-out!important}.p-toast .p-toast-message .p-toast-message-content{padding:10px 10px 20px!important;border-width:0!important}.p-progressbar .p-progressbar-value{background:var(--color-success)!important}.toast-progress-warn .p-progressbar .p-progressbar-value{background:var(--color-warning)!important}.toast-progress-error .p-progressbar .p-progressbar-value{background:var(--color-danger)!important}.toast-progress-info .p-progressbar .p-progressbar-value{background:var(--color-info)!important}.toast-progress-success .p-progressbar .p-progressbar-value{background:var(--color-success)!important}.p-toast-message{overflow:hidden}.p-toast-message-content{display:flex;align-items:flex-start}.p-toast-message-text{flex:1 1 auto}.p-toast-top-right{top:20px;right:20px}.p-toast-top-left{top:20px;left:20px}.p-toast-bottom-left{bottom:20px;left:20px}.p-toast-bottom-right{bottom:20px;right:20px}.p-toast-top-center{top:20px;left:50%;transform:translate(-50%)}.p-toast-bottom-center{bottom:20px;left:50%;transform:translate(-50%)}.p-toast-center{left:50%;top:50%;min-width:20vw;transform:translate(-50%,-50%)}.p-toast-icon-close{display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-toast-icon-close.p-link{cursor:pointer}\n"] }]
|
|
46380
|
+
}], ctorParameters: () => [{ type: i4$1.MessageService }, { type: i0.ChangeDetectorRef }], propDecorators: { key: [{
|
|
46381
|
+
type: Input
|
|
46382
|
+
}], autoZIndex: [{
|
|
46383
|
+
type: Input
|
|
46384
|
+
}], baseZIndex: [{
|
|
46385
|
+
type: Input
|
|
46386
|
+
}], style: [{
|
|
46387
|
+
type: Input
|
|
46388
|
+
}], styleClass: [{
|
|
46389
|
+
type: Input
|
|
46390
|
+
}], position: [{
|
|
46391
|
+
type: Input
|
|
46392
|
+
}], preventOpenDuplicates: [{
|
|
46393
|
+
type: Input
|
|
46394
|
+
}], preventDuplicates: [{
|
|
46395
|
+
type: Input
|
|
46396
|
+
}], showTransformOptions: [{
|
|
46397
|
+
type: Input
|
|
46398
|
+
}], hideTransformOptions: [{
|
|
46399
|
+
type: Input
|
|
46400
|
+
}], showTransitionOptions: [{
|
|
46401
|
+
type: Input
|
|
46402
|
+
}], hideTransitionOptions: [{
|
|
46403
|
+
type: Input
|
|
46404
|
+
}], breakpoints: [{
|
|
46405
|
+
type: Input
|
|
46406
|
+
}], onClose: [{
|
|
46407
|
+
type: Output
|
|
46408
|
+
}], containerViewChild: [{
|
|
46409
|
+
type: ViewChild,
|
|
46410
|
+
args: ['container']
|
|
46411
|
+
}], templates: [{
|
|
46412
|
+
type: ContentChildren,
|
|
46413
|
+
args: [PrimeTemplate]
|
|
46414
|
+
}] } });
|
|
46415
|
+
class SmzToastModule {
|
|
46416
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: SmzToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
46417
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.5", ngImport: i0, type: SmzToastModule, declarations: [Toast, ToastItem], imports: [CommonModule, RippleModule, ProgressBarModule], exports: [Toast, SharedModule] });
|
|
46418
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: SmzToastModule, imports: [CommonModule, RippleModule, ProgressBarModule, SharedModule] });
|
|
46419
|
+
}
|
|
46420
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: SmzToastModule, decorators: [{
|
|
46421
|
+
type: NgModule,
|
|
46422
|
+
args: [{
|
|
46423
|
+
imports: [CommonModule, RippleModule, ProgressBarModule],
|
|
46424
|
+
exports: [Toast, SharedModule],
|
|
46425
|
+
declarations: [Toast, ToastItem]
|
|
46426
|
+
}]
|
|
46427
|
+
}] });
|
|
46428
|
+
|
|
46429
|
+
class SmzToastComponent {
|
|
46430
|
+
messageService = inject(MessageService);
|
|
46431
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: SmzToastComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
46432
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.5", type: SmzToastComponent, isStandalone: true, selector: "smz-ui-toast", ngImport: i0, template: `
|
|
46433
|
+
<!-- <p-toast /> -->
|
|
46434
|
+
<p-toast position="bottom-right">
|
|
46435
|
+
<ng-template let-message #message>
|
|
46436
|
+
<span class="p-toast-message-icon">
|
|
46437
|
+
<i class="pi pi-info-circle"></i>
|
|
46438
|
+
</span>
|
|
46439
|
+
<div class="p-toast-message-text">
|
|
46440
|
+
<div class="p-toast-summary">{{ message.summary }}</div>
|
|
46441
|
+
<div class="p-toast-detail">{{ message.detail }}</div>
|
|
46442
|
+
<!-- <p-progressBar [value]="message.progress()" [style]="{ height: '6px' }" [showValue]="false"></p-progressBar> -->
|
|
46443
|
+
</div>
|
|
46444
|
+
</ng-template>
|
|
46445
|
+
</p-toast>
|
|
46446
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ToastModule }, { kind: "component", type: i1$6.Toast, selector: "p-toast", inputs: ["key", "autoZIndex", "baseZIndex", "life", "style", "styleClass", "position", "preventOpenDuplicates", "preventDuplicates", "showTransformOptions", "hideTransformOptions", "showTransitionOptions", "hideTransitionOptions", "breakpoints"], outputs: ["onClose"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "ngmodule", type: ProgressBarModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
46447
|
+
}
|
|
46448
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: SmzToastComponent, decorators: [{
|
|
46449
|
+
type: Component,
|
|
46450
|
+
args: [{
|
|
46451
|
+
selector: 'smz-ui-toast',
|
|
46452
|
+
standalone: true,
|
|
46453
|
+
imports: [
|
|
46454
|
+
CommonModule,
|
|
46455
|
+
ToastModule,
|
|
46456
|
+
ButtonModule,
|
|
46457
|
+
ProgressBarModule,
|
|
46458
|
+
],
|
|
46459
|
+
template: `
|
|
46460
|
+
<!-- <p-toast /> -->
|
|
46461
|
+
<p-toast position="bottom-right">
|
|
46462
|
+
<ng-template let-message #message>
|
|
46463
|
+
<span class="p-toast-message-icon">
|
|
46464
|
+
<i class="pi pi-info-circle"></i>
|
|
46465
|
+
</span>
|
|
46466
|
+
<div class="p-toast-message-text">
|
|
46467
|
+
<div class="p-toast-summary">{{ message.summary }}</div>
|
|
46468
|
+
<div class="p-toast-detail">{{ message.detail }}</div>
|
|
46469
|
+
<!-- <p-progressBar [value]="message.progress()" [style]="{ height: '6px' }" [showValue]="false"></p-progressBar> -->
|
|
46470
|
+
</div>
|
|
46471
|
+
</ng-template>
|
|
46472
|
+
</p-toast>
|
|
46473
|
+
`,
|
|
46474
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
46475
|
+
}]
|
|
46476
|
+
}] });
|
|
46477
|
+
|
|
46389
46478
|
class ServerImageDirective {
|
|
46390
46479
|
el;
|
|
46391
46480
|
dialogs;
|
|
@@ -56135,5 +56224,5 @@ __decorate([
|
|
|
56135
56224
|
* Generated bundle index. Do not edit.
|
|
56136
56225
|
*/
|
|
56137
56226
|
|
|
56138
|
-
export { AUTHORIZATION_HEADER, ActionDispatchDirective, ApplicationActions, ApplicationSelectors, ApplicationState, AsPipe, AthenaLayout, AthenaLayoutComponent, AthenaLayoutModule, AuthClaimDefinitions, AuthHandler, AuthService, AuthenticationActions, AuthenticationSelectors, AuthenticationService, AuthenticationState, AuthorizationService, AxisOverflowDirection, AxisOverflowType, AxisPosition, BaseApiService, BoilerplateService, BreadcrumbService, CLAIMS_PAGE_ROUTE, CLAIMS_PATH, CLAIMS_STATE_NAME, CONTENT_ENCODING_HEADER, CachedRouteReuseStrategy, CalendarComponent, CalendarPipe, CanAccess, ChartType, CheckBoxComponent, CheckBoxGroupComponent, ClaimAccessType, ClaimAccessTypeDescription, ClaimAccessTypeValues, ClaimsActions, ClaimsModule, ClaimsSelectors, ClaimsState, ClickStopPropagationDirective, ClickStopPropagationModule, ClonePipe, ColorPallete, ColorPickerComponent, Confirmable, CreateLinearChart, CreateRadialChart, CustomError, CustomNgForDirective, CustomNgForModule, DATABASE_REQUIRED_ACTIONS, DATABASE_STATES, DECORATOR_APPLIED, DatabaseActions, DatabaseSelectors, DatabaseState, DatasetType, DeepWrapper, DescribeAnyPipe, DescribeArrayPipe, DescribeSimpleNamedPipe, DialogContentManagerComponent, DialogService, DropdownComponent, DynamicDialogComponent, DynamicDialogConfig, DynamicDialogInjector, DynamicDialogModule, DynamicDialogRef, ERROR_HANDLING_TYPE_HEADER, ExcelsUiActions, FEATURE_STATES, FeaturesActions, FeaturesSelectors, FeaturesState, FileUploadComponent, FilterContains, FirstOrDefaultPipe, FormGroupComponent, FormSubmitComponent, GenericInjectComponentDirective, GetElementById, GetElementsByParentId, GlobalActions, GlobalFilter, GlobalInjector, GlobalLoaderComponent, GlobalLoaderModule, GlobalState, GroupingType, HephaestusLayout, HephaestusLayoutComponent, HephaestusLayoutModule, HephaestusProviderModule, HostElement, HttpErrorHandler, IGNORE_ERROR_HANDLING, InViewportMetadata, InjectComponentDirective, InjectComponentService, InjectContentAppModule, InjectContentDirective, InjectContentService, InputBlurDetectionModule, InputChangeDetectionDirective, InputClearExtensionDirective, InputCurrencyComponent, InputListComponent, InputMaskComponent, InputNumberComponent, InputPasswordComponent, InputSwitchComponent, InputTagAreaComponent, InputTextAreaComponent, InputTextComponent, InputTreeComponent, IsVisiblePipe, IsVisiblePipeModule, JoinPipe, LOADING_BEHAVIOR_HEADER, LOCAL_LOADING_TAG_HEADER, LayoutUiActions, LayoutUiSelectors, LayoutUiState, LegacyAuthenticationSelectors, LinearChartBuilder, LinkedDropdownComponent, LinkedMultiSelectComponent, MAIN_LAYOUT_PATH, MentionableTextareaComponent, MenuHelperService, MenuType, MergeClonePipe, MergeClonePipeModule, MultiSelectComponent, NG_ON_INIT, NewAthenaLayout, NewAthenaLayoutComponent, NewAthenaLayoutModule, NewAthenaProviderModule, NgCloneDirective, NgCloneModule, NgIfLandscapeDirective, NgIfLandscapeDirectiveModule, NgIfPortraitDirective, NgIfPortraitDirectiveModule, NgVar, NgVarContext, NgVarModule, NgxRbkUtilsConfig, NgxRbkUtilsModule, NgxSmzCardsModule, NgxSmzCommentsModule, NgxSmzDataInfoModule, NgxSmzDataPipesModule, NgxSmzDialogsModule, NgxSmzDockModule, NgxSmzDocumentsModule, NgxSmzFaqsModule, NgxSmzFormsModule, NgxSmzLayoutsModule, NgxSmzMenuModule, NgxSmzMultiTablesModule, NgxSmzRouterParamsModule, NgxSmzSafeImageModule, NgxSmzServerImageModule, NgxSmzServerImageToBase64Module, NgxSmzSideContentModule, NgxSmzTablesModule, NgxSmzTimelineModule, NgxSmzTreeWithDetailsModule, NgxSmzTreesModule, NgxSmzUiBlockModule, NgxSmzUiComponent, NgxSmzUiConfig, NgxSmzUiGuidesModule, NgxSmzUiModule, NgxSmzViewportModule, PrettyJsonPipe$1 as PrettyJsonPipe, PrettyJsonPipeModule, PrimeConfigService, REFRESH_TOKEN_BEHAVIOR_HEADER, RESTORE_STATE_ON_ERROR_HEADER, ROLES_PAGE_ROUTE, ROLES_PATH, ROLES_STATE_NAME, RadialChartBuilder, RadioButtonComponent, RbkAccessControlModule, RbkAuthGuard, RbkCanAccessAnyPipe, RbkCanAccessPipe, RbkClaimGuardDirective, RbkDatabaseStateGuard, RbkFeatureStateGuard, RbkPipesModule, RbkTableFilterClearDirectivesModule, RegistrySmzUiConfiguration, RepositoryForm, RoleMode, RoleModeDescription, RoleModeValues, RoleSource, RoleSourceDescription, RoleSourceValues, RolesActions, RolesModule, RolesSelectors, RolesState, RouterParamsActions, RouterParamsSelectors, SMZ_UI_ENVIRONMENT_CONFIG, SafeHtmlPipe$2 as SafeHtmlPipe, SafeImageDirective, SafeUrlPipe$1 as SafeUrlPipe, SelectorPipe, ServerImageDirective, ServerImageToBase64Directive, ServerPathPipe, SetTemplateClasses, SetTemplateClassesPipe, SidebarState, SimpleCalendarPipe, SmzActionDispatchModule, SmzAuthorizationDeactivatedUsersTableBuilder, SmzAuthorizationUsersTableBuilder, SmzBaseColumnBuilder, SmzBaseEditableBuilder, SmzBreakpoints, SmzBuilderUtilities, SmzCardsBuilder, SmzCardsComponent, SmzCardsContentType, SmzCardsInjectableComponentBuilder, SmzCardsTemplate, SmzCardsView, SmzChartComponent, SmzChartModule, SmzClipboardService, SmzColumnCollectionBuilder, SmzCommentsBuilder, SmzCommentsComponent, SmzCommentsSectionComponent, SmzContentTheme, SmzContentThemes, SmzContentType, SmzControlType, SmzCurrencyColumnBuilder, SmzCustomColumnBuilder, SmzDataInfoComponent, SmzDataTransformColumnBuilder, SmzDataTransformTreePipe, SmzDateColumnBuilder, SmzDialogBuilder, SmzDialogComponentBuilder, SmzDialogFormBuilder, SmzDialogTableBuilder, SmzDialogsConfig, SmzDialogsPresets, SmzDialogsService, SmzDockComponent, SmzDockService, SmzDocumentBaseCellBuilder, SmzDocumentBuilder, SmzDocumentComponent, SmzDocumentsService, SmzDragDropModule, SmzDraggable, SmzDropdownEditableBuilder, SmzDroppable, SmzDynamicDialogConfig, SmzEasyBaseColumnBuilder, SmzEasyColumnCollectionBuilder, SmzEasyCustomColumnBuilder, SmzEasyDataTransformColumnBuilder, SmzEasyDateColumnBuilder, SmzEasyMenuTableBuilder, SmzEasyTableBuilder, SmzEasyTableComponent, SmzEasyTableContentType, SmzEasyTableModule, SmzEasyTextColumnBuilder, SmzEditableCollectionBuilder, SmzEditableTableBuilder, SmzEditableType, SmzEnvironment, SmzExcelColorDefinitions, SmzExcelDataDefinitions, SmzExcelFontDefinitions, SmzExcelService, SmzExcelSortOrderDefinitions, SmzExcelThemeDefinitions, SmzExcelTypeDefinitions, SmzExcelsBuilder, SmzExportDialogComponent, SmzExportDialogModule, SmzExportDialogService, SmzExportableContentSource, SmzExportableContentType, SmzFaqsComponent, SmzFaqsConfig, SmzFilterType, SmzFlattenMenuPipe, SmzFlipCardContext, SmzFormBuilder, SmzFormViewdata, SmzFormsConfig, SmzFormsPresets, SmzFormsRepositoryService, SmzGaugeBuilder, SmzGaugeComponent, SmzGaugeThresholdBuilder, SmzGetDataPipe, SmzGridItemComponent, SmzHelpDialogService, SmzHtmlViewerComponent, SmzHtmlViewerModule, SmzIconColumnBuilder, SmzIconMessageComponent, SmzInfoDateComponent, SmzInfoDateModule, SmzInitialPipe, SmzInputAutocompleteTagArea, SmzInputTextModule, SmzInputTextPipe, SmzLayoutsConfig, SmzLoader, SmzLoaders, SmzLoginBuilder, SmzLoginComponent, SmzLoginModule, SmzMenuBuilder, SmzMenuComponent, SmzMenuCreationBuilder, SmzMenuCreationItemBuilder, SmzMenuItemActionsDirective, SmzMenuItemBuilder, SmzMenuItemEasyTableBuilder, SmzMenuItemTableBuilder, SmzMenuTableBuilder, SmzMessagesModule, SmzMultiTablesBuilder, SmzMultiTablesComponent, SmzNumberEditableBuilder, SmzPresets, SmzProxyStore, SmzResponsiveBreakpointsDirective, SmzResponsiveBreakpointsDirectiveModule, SmzResponsiveComponent, SmzRouteDatas, SmzRouteParams, SmzRouteQueryParams, SmzSideContentComponent, SmzSideContentDefault, SmzSincronizeTablePipe, SmzSmartTag, SmzSmartTagModule, SmzSubmitComponent, SmzSvgBuilder, SmzSvgComponent, SmzSvgFeatureBuilder, SmzSvgModule, SmzSvgPinBuilder, SmzSvgRootBuilder, SmzSvgWorldCoordinates, SmzSwitchEditableBuilder, SmzTableBuilder, SmzTableComponent, SmzTablesConfig, SmzTagMessage, SmzTailPipe, SmzTemplatesPipeModule, SmzTenantSwitchComponent, SmzTextColumnBuilder, SmzTextEditableBuilder, SmzTextPattern, SmzTimelineBuilder, SmzTimelineComponent, SmzToastModule, SmzTooltipTouchSupportModule, SmzTreeBuilder, SmzTreeComponent, SmzTreeDragAndDropBuilder, SmzTreeDropBuilder, SmzTreeDynamicMenuBuilder, SmzTreeDynamicMenuItemBuilder, SmzTreeEmptyFeedbackBuilder, SmzTreeMenuBuilder, SmzTreeMenuItemBuilder, SmzTreeToolbarBuilder, SmzTreeToolbarButtonBuilder, SmzTreeToolbarButtonCollectionBuilder, SmzTreeWithDetailsBuilder, SmzTreeWithDetailsComponent, SmzUiBlockComponent, SmzUiBlockDirective, SmzUiBlockService, SmzUiBuilder, SmzUiEnvironment, SmzUiGuidesBuilder, SmzUiGuidesService, SmzViewportDirective, SmzViewportService, StandaloneInjectComponentDirective, StateBuilderPipe, TENANTS_PAGE_ROUTE, TENANTS_PATH, TENANTS_STATE_NAME, TableClearExtensionDirective, TableHelperService, TenantAuthenticationSelectors, TenantsActions, TenantsModule, TenantsSelectors, TenantsState, ThemeManagerService, TitleService, Toast, ToastActions, ToastItem, ToastService, TooltipTouchSupportDirective, TreeHelperService, TreeHelpers, Tunnel, UI_DEFINITIONS_STATE_NAME, UI_LOCALIZATION_STATE_NAME, USERS_PAGE_ROUTE, USERS_PATH, USERS_STATE_NAME, USER_ID_HEADER, LayoutUiActions as UiActions, UiDefinitionsDbActions, UiDefinitionsDbSelectors, UiDefinitionsDbState, UiDefinitionsService, UiLocalizationDbActions, UiLocalizationDbSelectors, UiLocalizationDbState, UiLocalizationService, LayoutUiSelectors as UiSelectors, UniqueFilterPipe, UrlCheckerPipe, UrlCheckerPipeModule, UsersActions, UsersModule, UsersSelectors, UsersState, WINDOWS_AUTHENTICATION_HEADER, Wait, applyTableContentNgStyle, b64toBlob, base64ToFile, breakLinesForHtml, buildState, capitalizeFirstLetter, capitalizeWithSlash, clearArray, clone, cloneAndRemoveProperties, cloneAndRemoveProperty, compare, compareInsensitive, completeSubjectOnTheInstance, convertFormCreationFeature, convertFormFeature, convertFormFeatureFromInputData, convertFormUpdateFeature, count, createObjectFromString, createRound, createSubjectOnTheInstance, dataURLtoFile, databaseSmzAccessStates, debounce, deepClone, deepEqual, deepIndexOf, deepMerge, defaultFormsModuleConfig, defaultState, downloadBase64File, downloadFromServerUrl, downloadFromUrl, empty, every, executeTextPattern, featureSmzAccessStates, fixDate, fixDateProperties, fixDates, flatten, flattenObject, getAuthenticationInitialState, getCleanApplicationState, getFirst, getFirstElement, getFirstElements, getFormInputFromDialog, getGlobalInitialState, getInitialApplicationState, getInitialDatabaseStoreState, getInitialState$8 as getInitialState, getLastElements, getPreset, getProperty, getSymbol, getTreeNodeFromKey, getUiDefinitionsInitialState, getUiLocalizationInitialState, getUsersInitialState, getValidatorsForInput, handleBase64, isArray, isConvertibleToNumber, isDeepObject, isEmpty, isFunction$1 as isFunction, isInteger, isNil, isNull$1 as isNull, isNullOrEmptyString, isNumber$1 as isNumber, isNumberFinite$1 as isNumberFinite, isNumeric, isObject$2 as isObject, isObjectHelper, isPositive, isSimpleNamedEntity, isString$1 as isString, isUndefined$1 as isUndefined, isWithinTime, leftPad, longestStringInArray, mapParamsToObject, markAsDecorated, mergeClone, mergeDeep, nameof, namesof, ngxsModuleForFeatureFaqsDbState, ngxsModuleForFeatureUiAthenaLayoutState, ngxsModuleForFeatureUiHephaestusLayoutState, ngxsModuleForFeatureUiNewAthenaLayoutState, orderArrayByProperty, pad, provideSmzEnvironment, rbkSafeHtmlPipe, removeElementFromArray, replaceAll, replaceArrayItem, replaceArrayPartialItem, replaceItem, replaceNgOnInit, rightPad, routerModuleForChildUsersModule, routerParamsDispatch, routerParamsListener, setNestedObject, shorten, showConfirmation, showDialog, showMarkdownDialog, showMessage, showObjectDialog, showPersistentDialog, shuffle, sortArray, sortArrayOfObjects, sortArrayOfStrings, sortMenuItemsByLabel, sum, synchronizeNodes, synchronizeRow, synchronizeTable, synchronizeTrees, takeUntil, takeWhile, toDecimal, toSimpleNamedEntity, toString, unwrapDeep, upperFirst, uuidv4, wrapDeep };
|
|
56227
|
+
export { AUTHORIZATION_HEADER, ActionDispatchDirective, ApplicationActions, ApplicationSelectors, ApplicationState, AsPipe, AthenaLayout, AthenaLayoutComponent, AthenaLayoutModule, AuthClaimDefinitions, AuthHandler, AuthService, AuthenticationActions, AuthenticationSelectors, AuthenticationService, AuthenticationState, AuthorizationService, AxisOverflowDirection, AxisOverflowType, AxisPosition, BaseApiService, BoilerplateService, BreadcrumbService, CLAIMS_PAGE_ROUTE, CLAIMS_PATH, CLAIMS_STATE_NAME, CONTENT_ENCODING_HEADER, CachedRouteReuseStrategy, CalendarComponent, CalendarPipe, CanAccess, ChartType, CheckBoxComponent, CheckBoxGroupComponent, ClaimAccessType, ClaimAccessTypeDescription, ClaimAccessTypeValues, ClaimsActions, ClaimsModule, ClaimsSelectors, ClaimsState, ClickStopPropagationDirective, ClickStopPropagationModule, ClonePipe, ColorPallete, ColorPickerComponent, Confirmable, CreateLinearChart, CreateRadialChart, CustomError, CustomNgForDirective, CustomNgForModule, DATABASE_REQUIRED_ACTIONS, DATABASE_STATES, DECORATOR_APPLIED, DatabaseActions, DatabaseSelectors, DatabaseState, DatasetType, DeepWrapper, DescribeAnyPipe, DescribeArrayPipe, DescribeSimpleNamedPipe, DialogContentManagerComponent, DialogService, DropdownComponent, DynamicDialogComponent, DynamicDialogConfig, DynamicDialogInjector, DynamicDialogModule, DynamicDialogRef, ERROR_HANDLING_TYPE_HEADER, ExcelsUiActions, FEATURE_STATES, FeaturesActions, FeaturesSelectors, FeaturesState, FileUploadComponent, FilterContains, FirstOrDefaultPipe, FormGroupComponent, FormSubmitComponent, GenericInjectComponentDirective, GetElementById, GetElementsByParentId, GlobalActions, GlobalFilter, GlobalInjector, GlobalLoaderComponent, GlobalLoaderModule, GlobalState, GroupingType, HephaestusLayout, HephaestusLayoutComponent, HephaestusLayoutModule, HephaestusProviderModule, HostElement, HttpErrorHandler, IGNORE_ERROR_HANDLING, InViewportMetadata, InjectComponentDirective, InjectComponentService, InjectContentAppModule, InjectContentDirective, InjectContentService, InputBlurDetectionModule, InputChangeDetectionDirective, InputClearExtensionDirective, InputCurrencyComponent, InputListComponent, InputMaskComponent, InputNumberComponent, InputPasswordComponent, InputSwitchComponent, InputTagAreaComponent, InputTextAreaComponent, InputTextComponent, InputTreeComponent, IsVisiblePipe, IsVisiblePipeModule, JoinPipe, LOADING_BEHAVIOR_HEADER, LOCAL_LOADING_TAG_HEADER, LayoutUiActions, LayoutUiSelectors, LayoutUiState, LegacyAuthenticationSelectors, LinearChartBuilder, LinkedDropdownComponent, LinkedMultiSelectComponent, MAIN_LAYOUT_PATH, MentionableTextareaComponent, MenuHelperService, MenuType, MergeClonePipe, MergeClonePipeModule, MultiSelectComponent, NG_ON_INIT, NewAthenaLayout, NewAthenaLayoutComponent, NewAthenaLayoutModule, NewAthenaProviderModule, NgCloneDirective, NgCloneModule, NgIfLandscapeDirective, NgIfLandscapeDirectiveModule, NgIfPortraitDirective, NgIfPortraitDirectiveModule, NgVar, NgVarContext, NgVarModule, NgxRbkUtilsConfig, NgxRbkUtilsModule, NgxSmzCardsModule, NgxSmzCommentsModule, NgxSmzDataInfoModule, NgxSmzDataPipesModule, NgxSmzDialogsModule, NgxSmzDockModule, NgxSmzDocumentsModule, NgxSmzFaqsModule, NgxSmzFormsModule, NgxSmzLayoutsModule, NgxSmzMenuModule, NgxSmzMultiTablesModule, NgxSmzRouterParamsModule, NgxSmzSafeImageModule, NgxSmzServerImageModule, NgxSmzServerImageToBase64Module, NgxSmzSideContentModule, NgxSmzTablesModule, NgxSmzTimelineModule, NgxSmzTreeWithDetailsModule, NgxSmzTreesModule, NgxSmzUiBlockModule, NgxSmzUiComponent, NgxSmzUiConfig, NgxSmzUiGuidesModule, NgxSmzUiModule, NgxSmzViewportModule, PrettyJsonPipe$1 as PrettyJsonPipe, PrettyJsonPipeModule, PrimeConfigService, REFRESH_TOKEN_BEHAVIOR_HEADER, RESTORE_STATE_ON_ERROR_HEADER, ROLES_PAGE_ROUTE, ROLES_PATH, ROLES_STATE_NAME, RadialChartBuilder, RadioButtonComponent, RbkAccessControlModule, RbkAuthGuard, RbkCanAccessAnyPipe, RbkCanAccessPipe, RbkClaimGuardDirective, RbkDatabaseStateGuard, RbkFeatureStateGuard, RbkPipesModule, RbkTableFilterClearDirectivesModule, RegistrySmzUiConfiguration, RepositoryForm, RoleMode, RoleModeDescription, RoleModeValues, RoleSource, RoleSourceDescription, RoleSourceValues, RolesActions, RolesModule, RolesSelectors, RolesState, RouterParamsActions, RouterParamsSelectors, SMZ_UI_ENVIRONMENT_CONFIG, SafeHtmlPipe$2 as SafeHtmlPipe, SafeImageDirective, SafeUrlPipe$1 as SafeUrlPipe, SelectorPipe, ServerImageDirective, ServerImageToBase64Directive, ServerPathPipe, SetTemplateClasses, SetTemplateClassesPipe, SidebarState, SimpleCalendarPipe, SmzActionDispatchModule, SmzAuthorizationDeactivatedUsersTableBuilder, SmzAuthorizationUsersTableBuilder, SmzBaseColumnBuilder, SmzBaseEditableBuilder, SmzBreakpoints, SmzBuilderUtilities, SmzCardsBuilder, SmzCardsComponent, SmzCardsContentType, SmzCardsInjectableComponentBuilder, SmzCardsTemplate, SmzCardsView, SmzChartComponent, SmzChartModule, SmzClipboardService, SmzColumnCollectionBuilder, SmzCommentsBuilder, SmzCommentsComponent, SmzCommentsSectionComponent, SmzContentTheme, SmzContentThemes, SmzContentType, SmzControlType, SmzCurrencyColumnBuilder, SmzCustomColumnBuilder, SmzDataInfoComponent, SmzDataTransformColumnBuilder, SmzDataTransformTreePipe, SmzDateColumnBuilder, SmzDialogBuilder, SmzDialogComponentBuilder, SmzDialogFormBuilder, SmzDialogTableBuilder, SmzDialogsConfig, SmzDialogsPresets, SmzDialogsService, SmzDockComponent, SmzDockService, SmzDocumentBaseCellBuilder, SmzDocumentBuilder, SmzDocumentComponent, SmzDocumentsService, SmzDragDropModule, SmzDraggable, SmzDropdownEditableBuilder, SmzDroppable, SmzDynamicDialogConfig, SmzEasyBaseColumnBuilder, SmzEasyColumnCollectionBuilder, SmzEasyCustomColumnBuilder, SmzEasyDataTransformColumnBuilder, SmzEasyDateColumnBuilder, SmzEasyMenuTableBuilder, SmzEasyTableBuilder, SmzEasyTableComponent, SmzEasyTableContentType, SmzEasyTableModule, SmzEasyTextColumnBuilder, SmzEditableCollectionBuilder, SmzEditableTableBuilder, SmzEditableType, SmzEnvironment, SmzExcelColorDefinitions, SmzExcelDataDefinitions, SmzExcelFontDefinitions, SmzExcelService, SmzExcelSortOrderDefinitions, SmzExcelThemeDefinitions, SmzExcelTypeDefinitions, SmzExcelsBuilder, SmzExportDialogComponent, SmzExportDialogModule, SmzExportDialogService, SmzExportableContentSource, SmzExportableContentType, SmzFaqsComponent, SmzFaqsConfig, SmzFilterType, SmzFlattenMenuPipe, SmzFlipCardContext, SmzFormBuilder, SmzFormViewdata, SmzFormsConfig, SmzFormsPresets, SmzFormsRepositoryService, SmzGaugeBuilder, SmzGaugeComponent, SmzGaugeThresholdBuilder, SmzGetDataPipe, SmzGridItemComponent, SmzHelpDialogService, SmzHtmlViewerComponent, SmzHtmlViewerModule, SmzIconColumnBuilder, SmzIconMessageComponent, SmzInfoDateComponent, SmzInfoDateModule, SmzInitialPipe, SmzInputAutocompleteTagArea, SmzInputTextModule, SmzInputTextPipe, SmzLayoutsConfig, SmzLoader, SmzLoaders, SmzLoginBuilder, SmzLoginComponent, SmzLoginModule, SmzMenuBuilder, SmzMenuComponent, SmzMenuCreationBuilder, SmzMenuCreationItemBuilder, SmzMenuItemActionsDirective, SmzMenuItemBuilder, SmzMenuItemEasyTableBuilder, SmzMenuItemTableBuilder, SmzMenuTableBuilder, SmzMessagesModule, SmzMultiTablesBuilder, SmzMultiTablesComponent, SmzNumberEditableBuilder, SmzPresets, SmzProxyStore, SmzResponsiveBreakpointsDirective, SmzResponsiveBreakpointsDirectiveModule, SmzResponsiveComponent, SmzRouteDatas, SmzRouteParams, SmzRouteQueryParams, SmzSideContentComponent, SmzSideContentDefault, SmzSincronizeTablePipe, SmzSmartTag, SmzSmartTagModule, SmzSubmitComponent, SmzSvgBuilder, SmzSvgComponent, SmzSvgFeatureBuilder, SmzSvgModule, SmzSvgPinBuilder, SmzSvgRootBuilder, SmzSvgWorldCoordinates, SmzSwitchEditableBuilder, SmzTableBuilder, SmzTableComponent, SmzTablesConfig, SmzTagMessage, SmzTailPipe, SmzTemplatesPipeModule, SmzTenantSwitchComponent, SmzTextColumnBuilder, SmzTextEditableBuilder, SmzTextPattern, SmzTimelineBuilder, SmzTimelineComponent, SmzToastComponent, SmzToastModule, SmzTooltipTouchSupportModule, SmzTreeBuilder, SmzTreeComponent, SmzTreeDragAndDropBuilder, SmzTreeDropBuilder, SmzTreeDynamicMenuBuilder, SmzTreeDynamicMenuItemBuilder, SmzTreeEmptyFeedbackBuilder, SmzTreeMenuBuilder, SmzTreeMenuItemBuilder, SmzTreeToolbarBuilder, SmzTreeToolbarButtonBuilder, SmzTreeToolbarButtonCollectionBuilder, SmzTreeWithDetailsBuilder, SmzTreeWithDetailsComponent, SmzUiBlockComponent, SmzUiBlockDirective, SmzUiBlockService, SmzUiBuilder, SmzUiEnvironment, SmzUiGuidesBuilder, SmzUiGuidesService, SmzViewportDirective, SmzViewportService, StandaloneInjectComponentDirective, StateBuilderPipe, TENANTS_PAGE_ROUTE, TENANTS_PATH, TENANTS_STATE_NAME, TableClearExtensionDirective, TableHelperService, TenantAuthenticationSelectors, TenantsActions, TenantsModule, TenantsSelectors, TenantsState, ThemeManagerService, TitleService, Toast, ToastActions, ToastItem, ToastService, TooltipTouchSupportDirective, TreeHelperService, TreeHelpers, Tunnel, UI_DEFINITIONS_STATE_NAME, UI_LOCALIZATION_STATE_NAME, USERS_PAGE_ROUTE, USERS_PATH, USERS_STATE_NAME, USER_ID_HEADER, LayoutUiActions as UiActions, UiDefinitionsDbActions, UiDefinitionsDbSelectors, UiDefinitionsDbState, UiDefinitionsService, UiLocalizationDbActions, UiLocalizationDbSelectors, UiLocalizationDbState, UiLocalizationService, LayoutUiSelectors as UiSelectors, UniqueFilterPipe, UrlCheckerPipe, UrlCheckerPipeModule, UsersActions, UsersModule, UsersSelectors, UsersState, WINDOWS_AUTHENTICATION_HEADER, Wait, applyTableContentNgStyle, b64toBlob, base64ToFile, breakLinesForHtml, buildState, capitalizeFirstLetter, capitalizeWithSlash, clearArray, clone, cloneAndRemoveProperties, cloneAndRemoveProperty, compare, compareInsensitive, completeSubjectOnTheInstance, convertFormCreationFeature, convertFormFeature, convertFormFeatureFromInputData, convertFormUpdateFeature, count, createObjectFromString, createRound, createSubjectOnTheInstance, dataURLtoFile, databaseSmzAccessStates, debounce, deepClone, deepEqual, deepIndexOf, deepMerge, defaultFormsModuleConfig, defaultState, downloadBase64File, downloadFromServerUrl, downloadFromUrl, empty, every, executeTextPattern, featureSmzAccessStates, fixDate, fixDateProperties, fixDates, flatten, flattenObject, getAuthenticationInitialState, getCleanApplicationState, getFirst, getFirstElement, getFirstElements, getFormInputFromDialog, getGlobalInitialState, getInitialApplicationState, getInitialDatabaseStoreState, getInitialState$8 as getInitialState, getLastElements, getPreset, getProperty, getSymbol, getTreeNodeFromKey, getUiDefinitionsInitialState, getUiLocalizationInitialState, getUsersInitialState, getValidatorsForInput, handleBase64, isArray, isConvertibleToNumber, isDeepObject, isEmpty, isFunction$1 as isFunction, isInteger, isNil, isNull$1 as isNull, isNullOrEmptyString, isNumber$1 as isNumber, isNumberFinite$1 as isNumberFinite, isNumeric, isObject$2 as isObject, isObjectHelper, isPositive, isSimpleNamedEntity, isString$1 as isString, isUndefined$1 as isUndefined, isWithinTime, leftPad, longestStringInArray, mapParamsToObject, markAsDecorated, mergeClone, mergeDeep, nameof, namesof, ngxsModuleForFeatureFaqsDbState, ngxsModuleForFeatureUiAthenaLayoutState, ngxsModuleForFeatureUiHephaestusLayoutState, ngxsModuleForFeatureUiNewAthenaLayoutState, orderArrayByProperty, pad, provideSmzEnvironment, rbkSafeHtmlPipe, removeElementFromArray, replaceAll, replaceArrayItem, replaceArrayPartialItem, replaceItem, replaceNgOnInit, rightPad, routerModuleForChildUsersModule, routerParamsDispatch, routerParamsListener, setNestedObject, shorten, showConfirmation, showDialog, showMarkdownDialog, showMessage, showObjectDialog, showPersistentDialog, shuffle, sortArray, sortArrayOfObjects, sortArrayOfStrings, sortMenuItemsByLabel, sum, synchronizeNodes, synchronizeRow, synchronizeTable, synchronizeTrees, takeUntil, takeWhile, toDecimal, toSimpleNamedEntity, toString, unwrapDeep, upperFirst, uuidv4, wrapDeep };
|
|
56139
56228
|
//# sourceMappingURL=ngx-smz-core.mjs.map
|