s4y-ui 5.1.2 → 5.2.2
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/s4y-ui.mjs +175 -3
- package/fesm2022/s4y-ui.mjs.map +1 -1
- package/lib/components/confirmation/confirmation.component.d.ts +23 -0
- package/lib/components/confirmation/confirmation.service.d.ts +34 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/src/scss/styles.scss +14 -0
- package/src/scss/styles.scss.map +1 -1
package/fesm2022/s4y-ui.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { ContentChild, Component, signal, computed, Injectable, inject, input, HostBinding, Input, ChangeDetectionStrategy, NgModule, booleanAttribute, forwardRef, HostListener, Directive, EventEmitter, Output, model, output, ViewEncapsulation, effect, Inject, TemplateRef, ViewChild, ContentChildren, ElementRef, ViewContainerRef, viewChild, Renderer2, DestroyRef, contentChild, InjectionToken, Injector, afterNextRender } from '@angular/core';
|
|
2
|
+
import { ContentChild, Component, signal, computed, Injectable, inject, input, HostBinding, Input, ChangeDetectionStrategy, NgModule, booleanAttribute, forwardRef, HostListener, Directive, EventEmitter, Output, model, output, ViewEncapsulation, effect, Inject, TemplateRef, ViewChild, ContentChildren, ElementRef, ViewContainerRef, viewChild, Renderer2, DestroyRef, contentChild, InjectionToken, Injector, afterNextRender, SecurityContext } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import { CommonModule, AsyncPipe, JsonPipe, NgClass, NgTemplateOutlet, DOCUMENT, NgIf, NgStyle } from '@angular/common';
|
|
5
5
|
import * as i1$1 from '@angular/platform-browser';
|
|
@@ -7,7 +7,7 @@ import { DomSanitizer } from '@angular/platform-browser';
|
|
|
7
7
|
import * as i1$2 from '@angular/router';
|
|
8
8
|
import { Router, RouterModule, GuardsCheckEnd } from '@angular/router';
|
|
9
9
|
import { catchError, map, filter } from 'rxjs/operators';
|
|
10
|
-
import { defer, from, throwError, BehaviorSubject, map as map$1, Subject, takeUntil, Subscription, filter as filter$1, fromEvent, isObservable, firstValueFrom, ReplaySubject, take } from 'rxjs';
|
|
10
|
+
import { defer, from, throwError, BehaviorSubject, map as map$1, Subject, takeUntil, Subscription, filter as filter$1, fromEvent, isObservable, firstValueFrom, ReplaySubject, take, finalize, catchError as catchError$1, of } from 'rxjs';
|
|
11
11
|
import * as i1$3 from '@angular/cdk/scrolling';
|
|
12
12
|
import { CdkScrollableModule, CdkScrollable } from '@angular/cdk/scrolling';
|
|
13
13
|
import * as i2 from '@angular/forms';
|
|
@@ -4590,6 +4590,178 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
4590
4590
|
}, template: "\r\n@if (!isEditing()) {\r\n <p (keydown)=\"onKeydown($event)\">\r\n {{ value() }}\r\n </p>\r\n\r\n <ng-content select=\"[icon]\"></ng-content>\r\n} @else {\r\n <input\r\n type=\"text\"\r\n [value]=\"value()\"\r\n (blur)=\"stopEdit()\"\r\n (keydown.enter)=\"stopEdit()\"\r\n (keydown.escape)=\"stopEdit(false)\"\r\n (input)=\"setValue($event)\"\r\n autofocus\r\n #editInput\r\n />\r\n}\r\n\r\n\r\n", styles: [":host{background-color:#fff;font-size:1.2rem;border-radius:var(--radius);width:fit-content;padding:.4rem .8rem;display:flex;align-items:center;justify-content:space-between;gap:.8rem;flex-shrink:0;border:1px solid transparent}:host(.size-xs){font-size:1rem;padding:.2rem .4rem;gap:.3rem}:host(.size-sm){font-size:1.2rem;padding:.25rem .55rem;gap:.4rem}:host(.size-md){font-size:1.4rem;padding:.3rem .7rem;gap:.5rem}:host(.size-lg){font-size:1.6rem;padding:.4rem .9rem;gap:.6rem}:host(.size-xl){font-size:1.8rem;padding:.5rem 1.1rem;gap:.7rem}:host(.tag-primary){background:var(--primary-color);color:#fff}:host(.tag-secondary){background:var(--secondary-color);color:#fff}:host(.tag-success){background:var(--success-color);color:#fff}:host(.tag-error){background:var(--danger-color);color:#fff}:host(.tag-warning){background:var(--warning-color);color:#fff}:host(.tag-info){background:var(--info-color);color:#fff}:host(.tag-neutral){background-color:var(--gray-500);border:1px solid var(--gray-500);color:#fff}:host(.tag-finished){color:#fff;background:var(--success-color)}:host(.tag-primary.outlined){border:1px solid var(--primary-color);color:var(--primary-color);background-color:transparent}:host(.tag-success.outlined){color:var(--success-color);background-color:transparent;border:1px solid var(--success-color)}:host(.tag-secondary.outlined){border:1px solid var(--secondary-color);color:var(--secondary-color);background-color:transparent}:host(.tag-neutral.outlined){background-color:transparent;border:1px solid var(--gray-500);color:var(--gray-500)}:host(.tag-error.outlined){border:1px solid var(--danger-color);color:var(--danger-color);background-color:transparent}:host(.tag-finished.outlined){border:1px solid var(--success-color);color:var(--success-color);background-color:transparent}:host(.tag-info.outlined){border:1px solid var(--info-color);color:var(--info-color);background-color:transparent}:host(.tag-warning.outlined){background-color:transparent;border:1px solid var(--warning-color);color:var(--warning-color)}input{background-color:transparent;width:100%}\n"] }]
|
|
4591
4591
|
}], ctorParameters: () => [] });
|
|
4592
4592
|
|
|
4593
|
+
class ConfirmationComponent {
|
|
4594
|
+
sanitizer = inject(DomSanitizer);
|
|
4595
|
+
props;
|
|
4596
|
+
onCancelClick;
|
|
4597
|
+
onConfirmClick;
|
|
4598
|
+
confirmLoading = false;
|
|
4599
|
+
cancelLoading = false;
|
|
4600
|
+
loading = false;
|
|
4601
|
+
get isTemplate() {
|
|
4602
|
+
return this.props?.content instanceof TemplateRef;
|
|
4603
|
+
}
|
|
4604
|
+
// Verifica se é HTML
|
|
4605
|
+
get isHtml() {
|
|
4606
|
+
return !this.isTemplate && this.props?.contentType === 'html';
|
|
4607
|
+
}
|
|
4608
|
+
// Verifica se é texto simples
|
|
4609
|
+
get isText() {
|
|
4610
|
+
return !this.isTemplate && this.props?.contentType !== 'html';
|
|
4611
|
+
}
|
|
4612
|
+
// Retorna o template se for TemplateRef
|
|
4613
|
+
get template() {
|
|
4614
|
+
return this.isTemplate
|
|
4615
|
+
? this.props.content
|
|
4616
|
+
: undefined;
|
|
4617
|
+
}
|
|
4618
|
+
// Retorna HTML sanitizado se contentType for 'html'
|
|
4619
|
+
get safeHtml() {
|
|
4620
|
+
if (!this.isHtml || typeof this.props?.content !== 'string')
|
|
4621
|
+
return undefined;
|
|
4622
|
+
return (this.sanitizer.sanitize(SecurityContext.HTML, this.props.content) || '');
|
|
4623
|
+
}
|
|
4624
|
+
// Retorna texto simples
|
|
4625
|
+
get textContent() {
|
|
4626
|
+
return this.isText && typeof this.props?.content === 'string'
|
|
4627
|
+
? this.props.content
|
|
4628
|
+
: undefined;
|
|
4629
|
+
}
|
|
4630
|
+
async handleCancel() {
|
|
4631
|
+
if (this.onCancelClick) {
|
|
4632
|
+
this.cancelLoading = true;
|
|
4633
|
+
this.loading = true;
|
|
4634
|
+
await this.onCancelClick();
|
|
4635
|
+
this.cancelLoading = false;
|
|
4636
|
+
this.loading = false;
|
|
4637
|
+
}
|
|
4638
|
+
}
|
|
4639
|
+
async handleConfirm() {
|
|
4640
|
+
if (this.onConfirmClick) {
|
|
4641
|
+
this.confirmLoading = true;
|
|
4642
|
+
this.loading = true;
|
|
4643
|
+
await this.onConfirmClick();
|
|
4644
|
+
this.confirmLoading = false;
|
|
4645
|
+
this.loading = false;
|
|
4646
|
+
}
|
|
4647
|
+
}
|
|
4648
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ConfirmationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4649
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: ConfirmationComponent, isStandalone: true, selector: "s4y-confirmation", ngImport: i0, template: "@let model = props;\r\n@let cancelModel = model?.cancelProps;\r\n@let confirmationModel = model?.confirmationProps;\r\n\r\n@if (model) {\r\n <div class=\"s4y-confirmation-icon\">\r\n @if (model.iconUri) {\r\n <s4y-svg [src]=\"model.iconUri\" />\r\n } @else {\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n viewBox=\"0 0 24 24\"\r\n fill=\"currentColor\"\r\n >\r\n <path\r\n d=\"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z\"\r\n ></path>\r\n </svg>\r\n }\r\n </div>\r\n\r\n\r\n <div class=\"s4y-confirmation-content flex\">\r\n <p class=\"medium-text-bold s4y-confirmation-title\">\r\n {{ model.title }}\r\n </p>\r\n\r\n @if (model.content) {\r\n <div class=\"s4y-confirmation-description\">\r\n @if (isTemplate) {\r\n <ng-container *ngTemplateOutlet=\"template!\"></ng-container>\r\n } @else if (isHtml) {\r\n <div class=\"small-text-regular\" [innerHTML]=\"safeHtml\"></div>\r\n } @else {\r\n <p class=\"small-text-regular\">{{ textContent }}</p>\r\n }\r\n </div>\r\n }\r\n </div>\r\n\r\n\r\n <div class=\"s4y-confirmation-buttons\">\r\n <button\r\n type=\"button\"\r\n s4yButton\r\n [outlined]=\"true\"\r\n [variant]=\"'danger'\"\r\n [fullWidth]=\"true\"\r\n [disabled]=\"cancelLoading || loading\"\r\n [loading]=\"cancelLoading\"\r\n (click)=\"handleCancel()\"\r\n >\r\n {{ cancelModel?.text ?? \"Cancelar\" }}\r\n </button>\r\n <button\r\n type=\"button\"\r\n s4yButton\r\n [outlined]=\"false\"\r\n [variant]=\"'danger'\"\r\n [fullWidth]=\"true\"\r\n [disabled]=\"confirmLoading || loading\"\r\n [loading]=\"confirmLoading\"\r\n (click)=\"handleConfirm()\"\r\n >\r\n {{ confirmationModel?.text ?? \"Confirmar\" }}\r\n </button>\r\n </div>\r\n}\r\n", styles: [":host{display:block;width:100%}:host .s4y-confirmation-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0}:host .s4y-confirmation-content{gap:.4rem;flex-direction:column;text-align:center;padding:1rem 0;width:100%;overflow-wrap:break-word;word-break:break-word}:host .s4y-confirmation-title{color:var(--primary-color)}:host .s4y-confirmation-description{font-weight:400;overflow-wrap:break-word;word-break:break-word}:host .s4y-confirmation-description strong,:host .s4y-confirmation-description b{font-weight:600;color:var(--primary-color)}:host .s4y-confirmation-description em,:host .s4y-confirmation-description i{font-style:italic}:host .s4y-confirmation-description a{color:var(--primary-color);text-decoration:underline}:host .s4y-confirmation-description p{margin:0}:host .s4y-confirmation-description p+p{margin-top:.8rem}:host .s4y-confirmation-description ul,:host .s4y-confirmation-description ol{margin:.8rem 0;padding-left:2rem}:host s4y-svg,:host svg{width:4rem;color:var(--warning-color);flex-shrink:0}:host .s4y-confirmation-buttons{display:flex;gap:1.4rem;align-items:center;margin-top:2.8rem;width:100%;flex-shrink:0;flex-wrap:wrap}:host .s4y-confirmation-buttons button{flex:1 1 calc(50% - .7rem)}@media (max-width: 30rem){:host .s4y-confirmation-buttons{flex:1 1 100%}}\n"], dependencies: [{ kind: "component", type: SvgComponent, selector: "s4y-svg", inputs: ["src", "color", "size"] }, { kind: "component", type: ButtonComponent, selector: "button[s4yButton], a[s4yButton]", inputs: ["disabled", "outlined", "loading", "size", "roundend", "variant", "fullWidth", "iconAligned"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
4650
|
+
}
|
|
4651
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ConfirmationComponent, decorators: [{
|
|
4652
|
+
type: Component,
|
|
4653
|
+
args: [{ selector: 's4y-confirmation', imports: [SvgComponent, ButtonComponent, NgTemplateOutlet], template: "@let model = props;\r\n@let cancelModel = model?.cancelProps;\r\n@let confirmationModel = model?.confirmationProps;\r\n\r\n@if (model) {\r\n <div class=\"s4y-confirmation-icon\">\r\n @if (model.iconUri) {\r\n <s4y-svg [src]=\"model.iconUri\" />\r\n } @else {\r\n <svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n viewBox=\"0 0 24 24\"\r\n fill=\"currentColor\"\r\n >\r\n <path\r\n d=\"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z\"\r\n ></path>\r\n </svg>\r\n }\r\n </div>\r\n\r\n\r\n <div class=\"s4y-confirmation-content flex\">\r\n <p class=\"medium-text-bold s4y-confirmation-title\">\r\n {{ model.title }}\r\n </p>\r\n\r\n @if (model.content) {\r\n <div class=\"s4y-confirmation-description\">\r\n @if (isTemplate) {\r\n <ng-container *ngTemplateOutlet=\"template!\"></ng-container>\r\n } @else if (isHtml) {\r\n <div class=\"small-text-regular\" [innerHTML]=\"safeHtml\"></div>\r\n } @else {\r\n <p class=\"small-text-regular\">{{ textContent }}</p>\r\n }\r\n </div>\r\n }\r\n </div>\r\n\r\n\r\n <div class=\"s4y-confirmation-buttons\">\r\n <button\r\n type=\"button\"\r\n s4yButton\r\n [outlined]=\"true\"\r\n [variant]=\"'danger'\"\r\n [fullWidth]=\"true\"\r\n [disabled]=\"cancelLoading || loading\"\r\n [loading]=\"cancelLoading\"\r\n (click)=\"handleCancel()\"\r\n >\r\n {{ cancelModel?.text ?? \"Cancelar\" }}\r\n </button>\r\n <button\r\n type=\"button\"\r\n s4yButton\r\n [outlined]=\"false\"\r\n [variant]=\"'danger'\"\r\n [fullWidth]=\"true\"\r\n [disabled]=\"confirmLoading || loading\"\r\n [loading]=\"confirmLoading\"\r\n (click)=\"handleConfirm()\"\r\n >\r\n {{ confirmationModel?.text ?? \"Confirmar\" }}\r\n </button>\r\n </div>\r\n}\r\n", styles: [":host{display:block;width:100%}:host .s4y-confirmation-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0}:host .s4y-confirmation-content{gap:.4rem;flex-direction:column;text-align:center;padding:1rem 0;width:100%;overflow-wrap:break-word;word-break:break-word}:host .s4y-confirmation-title{color:var(--primary-color)}:host .s4y-confirmation-description{font-weight:400;overflow-wrap:break-word;word-break:break-word}:host .s4y-confirmation-description strong,:host .s4y-confirmation-description b{font-weight:600;color:var(--primary-color)}:host .s4y-confirmation-description em,:host .s4y-confirmation-description i{font-style:italic}:host .s4y-confirmation-description a{color:var(--primary-color);text-decoration:underline}:host .s4y-confirmation-description p{margin:0}:host .s4y-confirmation-description p+p{margin-top:.8rem}:host .s4y-confirmation-description ul,:host .s4y-confirmation-description ol{margin:.8rem 0;padding-left:2rem}:host s4y-svg,:host svg{width:4rem;color:var(--warning-color);flex-shrink:0}:host .s4y-confirmation-buttons{display:flex;gap:1.4rem;align-items:center;margin-top:2.8rem;width:100%;flex-shrink:0;flex-wrap:wrap}:host .s4y-confirmation-buttons button{flex:1 1 calc(50% - .7rem)}@media (max-width: 30rem){:host .s4y-confirmation-buttons{flex:1 1 100%}}\n"] }]
|
|
4654
|
+
}] });
|
|
4655
|
+
|
|
4656
|
+
class ConfirmationService {
|
|
4657
|
+
overlay = inject(Overlay);
|
|
4658
|
+
constructor() { }
|
|
4659
|
+
open(config) {
|
|
4660
|
+
const overlayRef = this.createOverlay(config);
|
|
4661
|
+
const confirmationPortal = this.confirmationPortal();
|
|
4662
|
+
const result$ = new Subject();
|
|
4663
|
+
let isProcessing = false;
|
|
4664
|
+
const confirmationInstance = overlayRef.attach(confirmationPortal);
|
|
4665
|
+
confirmationInstance.instance.props = config;
|
|
4666
|
+
confirmationInstance.instance.onCancelClick = async () => {
|
|
4667
|
+
isProcessing = true;
|
|
4668
|
+
await this.handleAction(config.onCancel, overlayRef, false, result$);
|
|
4669
|
+
isProcessing = false;
|
|
4670
|
+
};
|
|
4671
|
+
confirmationInstance.instance.onConfirmClick = async () => {
|
|
4672
|
+
isProcessing = true;
|
|
4673
|
+
await this.handleAction(config.onConfirm, overlayRef, true, result$);
|
|
4674
|
+
isProcessing = false;
|
|
4675
|
+
};
|
|
4676
|
+
const backdropSub = overlayRef.backdropClick().subscribe(() => {
|
|
4677
|
+
if (!isProcessing) {
|
|
4678
|
+
this.closeWithResult(overlayRef, result$, false);
|
|
4679
|
+
}
|
|
4680
|
+
});
|
|
4681
|
+
const keySub = overlayRef.keydownEvents().subscribe((event) => {
|
|
4682
|
+
if (event.key === 'Escape' && !isProcessing) {
|
|
4683
|
+
// ADICIONE essa verificação
|
|
4684
|
+
this.closeWithResult(overlayRef, result$, false);
|
|
4685
|
+
}
|
|
4686
|
+
});
|
|
4687
|
+
return result$.asObservable().pipe(take(1), finalize(() => {
|
|
4688
|
+
backdropSub.unsubscribe();
|
|
4689
|
+
keySub.unsubscribe();
|
|
4690
|
+
}));
|
|
4691
|
+
}
|
|
4692
|
+
async handleAction(action, overlayRef, confirmed, result$) {
|
|
4693
|
+
try {
|
|
4694
|
+
if (!action) {
|
|
4695
|
+
result$.next({ confirmed });
|
|
4696
|
+
result$.complete();
|
|
4697
|
+
overlayRef.dispose();
|
|
4698
|
+
return;
|
|
4699
|
+
}
|
|
4700
|
+
const actionResult$ = this.toObservable(action);
|
|
4701
|
+
const actionData = await firstValueFrom(actionResult$.pipe(catchError$1(() => of(true))));
|
|
4702
|
+
if (actionData === false) {
|
|
4703
|
+
return;
|
|
4704
|
+
}
|
|
4705
|
+
result$.next({ confirmed, data: actionData });
|
|
4706
|
+
result$.complete();
|
|
4707
|
+
overlayRef.dispose();
|
|
4708
|
+
}
|
|
4709
|
+
catch (error) {
|
|
4710
|
+
console.error('Error handling confirmation action:', error);
|
|
4711
|
+
result$.next({ confirmed: false });
|
|
4712
|
+
result$.complete();
|
|
4713
|
+
overlayRef.dispose();
|
|
4714
|
+
}
|
|
4715
|
+
}
|
|
4716
|
+
toObservable(value) {
|
|
4717
|
+
const resolvedValue = typeof value === 'function' ? value() : value;
|
|
4718
|
+
if (isObservable(resolvedValue)) {
|
|
4719
|
+
return resolvedValue;
|
|
4720
|
+
}
|
|
4721
|
+
if (resolvedValue instanceof Promise) {
|
|
4722
|
+
return from(resolvedValue);
|
|
4723
|
+
}
|
|
4724
|
+
return of(resolvedValue);
|
|
4725
|
+
}
|
|
4726
|
+
createOverlay({ width, height }) {
|
|
4727
|
+
const overlayRef = this.overlay.create({
|
|
4728
|
+
hasBackdrop: true,
|
|
4729
|
+
disposeOnNavigation: true,
|
|
4730
|
+
backdropClass: 's4y-backdrop-dialog',
|
|
4731
|
+
panelClass: 's4y-confirmation-panel',
|
|
4732
|
+
maxWidth: '90dvw',
|
|
4733
|
+
height: height,
|
|
4734
|
+
width: width ?? 'min(41rem, 90dvw)',
|
|
4735
|
+
positionStrategy: this.overlay
|
|
4736
|
+
.position()
|
|
4737
|
+
.global()
|
|
4738
|
+
.centerHorizontally()
|
|
4739
|
+
.centerVertically(),
|
|
4740
|
+
});
|
|
4741
|
+
return overlayRef;
|
|
4742
|
+
}
|
|
4743
|
+
confirmationPortal() {
|
|
4744
|
+
return new ComponentPortal(ConfirmationComponent);
|
|
4745
|
+
}
|
|
4746
|
+
closeWithResult(overlayRef, result$, confirmed) {
|
|
4747
|
+
if (!result$.closed) {
|
|
4748
|
+
result$.next({ confirmed });
|
|
4749
|
+
result$.complete();
|
|
4750
|
+
}
|
|
4751
|
+
if (overlayRef.hasAttached()) {
|
|
4752
|
+
overlayRef.dispose();
|
|
4753
|
+
}
|
|
4754
|
+
}
|
|
4755
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ConfirmationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4756
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ConfirmationService, providedIn: 'root' });
|
|
4757
|
+
}
|
|
4758
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ConfirmationService, decorators: [{
|
|
4759
|
+
type: Injectable,
|
|
4760
|
+
args: [{
|
|
4761
|
+
providedIn: 'root',
|
|
4762
|
+
}]
|
|
4763
|
+
}], ctorParameters: () => [] });
|
|
4764
|
+
|
|
4593
4765
|
/*
|
|
4594
4766
|
* Public API Surface of s4y-components
|
|
4595
4767
|
*/
|
|
@@ -4599,5 +4771,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
4599
4771
|
* Generated bundle index. Do not edit.
|
|
4600
4772
|
*/
|
|
4601
4773
|
|
|
4602
|
-
export { AsideComponent, AsideService, AvatarComponent, BreadcrumbComponent, BreadcrumbItemDirective, BreadcrumbService, ButtonComponent, CheckboxComponent, ClickOutsideDirective, DYNAMIC_DIALOG_DATA, DYNAMIC_DIALOG_OPTIONS, DashboardContainerComponent, DashboardLayoutComponent, DashboardModule, DashboardRoutesComponent, DrawerComponent, DynamicDialogComponent, DynamicDialogRef, DynamicDialogService, DynamicLoadingGlobalService, DynamicTooltipDirective, ErrorMessageComponent, FormFieldComponent, FormFieldPasswordComponent, FormsKitModule, HintComponent, ImageComponent, ImageService, InputComponent, InputPrefixComponent, InputSufixComponent, LabelComponent, LoadingModalComponent, LoadingModalService, MaskDirective, MenuComponent, MenuItemComponent, ModalComponent, ModalConfirmationComponent, ModalConfirmationService, NavbarComponent, PaginationComponent, PopoverPanelComponent, PopoverTriggerDirective, RadioComponent, RatingComponent, SearchBarComponent, SelectComponent, SelectMultiComponent, SidebarRightComponent, SidebarRightService, SliderComponent, SpinnerComponent, StepComponent, StepPanelComponent, StepperComponent, SummaryCardComponent, SvgComponent, SvgService, TableComponent, TableSortDirective, TagComponent, ToastComponent, ToastService, ToggleComponent, TooltipComponent, TooltipDirective, TooltipModule, TooltipPosition, modalFadeCombined, sidebarRightAnimation };
|
|
4774
|
+
export { AsideComponent, AsideService, AvatarComponent, BreadcrumbComponent, BreadcrumbItemDirective, BreadcrumbService, ButtonComponent, CheckboxComponent, ClickOutsideDirective, ConfirmationService, DYNAMIC_DIALOG_DATA, DYNAMIC_DIALOG_OPTIONS, DashboardContainerComponent, DashboardLayoutComponent, DashboardModule, DashboardRoutesComponent, DrawerComponent, DynamicDialogComponent, DynamicDialogRef, DynamicDialogService, DynamicLoadingGlobalService, DynamicTooltipDirective, ErrorMessageComponent, FormFieldComponent, FormFieldPasswordComponent, FormsKitModule, HintComponent, ImageComponent, ImageService, InputComponent, InputPrefixComponent, InputSufixComponent, LabelComponent, LoadingModalComponent, LoadingModalService, MaskDirective, MenuComponent, MenuItemComponent, ModalComponent, ModalConfirmationComponent, ModalConfirmationService, NavbarComponent, PaginationComponent, PopoverPanelComponent, PopoverTriggerDirective, RadioComponent, RatingComponent, SearchBarComponent, SelectComponent, SelectMultiComponent, SidebarRightComponent, SidebarRightService, SliderComponent, SpinnerComponent, StepComponent, StepPanelComponent, StepperComponent, SummaryCardComponent, SvgComponent, SvgService, TableComponent, TableSortDirective, TagComponent, ToastComponent, ToastService, ToggleComponent, TooltipComponent, TooltipDirective, TooltipModule, TooltipPosition, modalFadeCombined, sidebarRightAnimation };
|
|
4603
4775
|
//# sourceMappingURL=s4y-ui.mjs.map
|