@aseansc/ui 5.3.0 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/fesm2022/aseansc-ui.mjs +21 -23
- package/fesm2022/aseansc-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/aseansc-ui.d.ts +2 -4
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,28 @@ All notable changes to `@aseansc/ui` (trước đây `@asc/ui`) are documented h
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
## [5.4.0] — 2026-10-09
|
|
8
|
+
|
|
9
|
+
Dialog / Confirm dialog / Confirm popup theo Figma Dialog.
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- **`AscDialogComponent` + `AscConfirmDialog` — khung dùng chung** (giờ trông giống hệt nhau):
|
|
14
|
+
- Container: nền `#FFFFFF` 95% (`--asc-surface-overlay`, dark mode tự đổi), không viền, bo **16px**.
|
|
15
|
+
- Header: margin ngang **16px**, padding dọc **12px**; title **14px / 600 / 20px** `#0F0F0F`.
|
|
16
|
+
- Divider 1px `#DEDFE0` dưới header, **cách 2 mép 16px**.
|
|
17
|
+
- Nút đóng **20×20**, màu `icon/disable` `#C0C0C2`.
|
|
18
|
+
- Content padding **16px**; footer margin-top 12px, padding-bottom 16px, không còn divider trên footer.
|
|
19
|
+
- Override qua CSS variable: `--asc-dialog-bg`, `--asc-dialog-radius`, `--asc-dialog-padding-x`, `--asc-dialog-header-padding-y`, `--asc-dialog-divider-color`, `--asc-dialog-close-color`, `--asc-dialog-title-color`.
|
|
20
|
+
- **Preset**: `--p-dialog-content-padding` → **16px** (áp cả `p-dialog` / `p-confirmdialog` dùng trực tiếp).
|
|
21
|
+
- **Nút Hủy — Outline thuần** (bỏ `severity="secondary"`): footer mặc định của `AscDialogComponent` dùng `asc-button` (`variant="outlined"`); `AscConfirmService.show()` / `.popup()` nút Hủy `outlined` — viền `#525252`, chữ `#262626`. Nút trong confirm dialog / popup trông như `asc-button` (pill, weight 400; dialog size md, popup size sm).
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
- **Style của `AscConfirmDialog` / `AscConfirmPopup` không áp dụng** (confirm dialog thiếu divider): class gắn qua `[class]` chỉ nằm trên thẻ host, trong khi PrimeNG render dialog/popup ra `body`. Đổi sang `styleClass` → class nằm trên root `.p-dialog` / `.p-confirmpopup`. `AscDialogComponent` cũng đổi theo (trước đây nền/bo góc/padding content target `.asc-dialog.p-dialog` không khớp).
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
7
29
|
## [5.3.0] — 2026-10-08
|
|
8
30
|
|
|
9
31
|
### Added
|
package/fesm2022/aseansc-ui.mjs
CHANGED
|
@@ -531,6 +531,11 @@ const ASC_PRESET = definePreset(Aura, {
|
|
|
531
531
|
extend: {
|
|
532
532
|
borderRadius: '12px',
|
|
533
533
|
},
|
|
534
|
+
// --p-dialog-content-padding — Figma Dialog: content 16px (Aura: 0 1.25rem 1.25rem).
|
|
535
|
+
// Áp cho cả p-dialog / p-confirmdialog dùng trực tiếp.
|
|
536
|
+
content: {
|
|
537
|
+
padding: '16px',
|
|
538
|
+
},
|
|
534
539
|
},
|
|
535
540
|
drawer: {
|
|
536
541
|
extend: {
|
|
@@ -7210,16 +7215,6 @@ class AscDialogComponent {
|
|
|
7210
7215
|
...(ngDevMode ? [{ debugName: "resolvedConfirmLabel" }] : /* istanbul ignore next */ []));
|
|
7211
7216
|
this.resolvedCancelLabel = computed(() => this.cancelLabel() || this.msg.dialog.cancel, /* @ts-ignore */
|
|
7212
7217
|
...(ngDevMode ? [{ debugName: "resolvedCancelLabel" }] : /* istanbul ignore next */ []));
|
|
7213
|
-
/** Map AscSeverity → PrimeNG Button severity */
|
|
7214
|
-
this.pConfirmSeverity = computed(() => {
|
|
7215
|
-
const s = this.confirmSeverity();
|
|
7216
|
-
if (s === 'warn')
|
|
7217
|
-
return 'warn';
|
|
7218
|
-
if (s === 'primary')
|
|
7219
|
-
return undefined; // PrimeNG default = primary
|
|
7220
|
-
return s;
|
|
7221
|
-
}, /* @ts-ignore */
|
|
7222
|
-
...(ngDevMode ? [{ debugName: "pConfirmSeverity" }] : /* istanbul ignore next */ []));
|
|
7223
7218
|
this.dialogStyleClass = computed(() => ascCls('asc-dialog', this.styleClass()), /* @ts-ignore */
|
|
7224
7219
|
...(ngDevMode ? [{ debugName: "dialogStyleClass" }] : /* istanbul ignore next */ []));
|
|
7225
7220
|
}
|
|
@@ -7239,15 +7234,15 @@ class AscDialogComponent {
|
|
|
7239
7234
|
this.showed.emit();
|
|
7240
7235
|
}
|
|
7241
7236
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: AscDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7242
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: AscDialogComponent, isStandalone: true, selector: "asc-dialog", inputs: { header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, headerIcon: { classPropertyName: "headerIcon", publicName: "headerIcon", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, modal: { classPropertyName: "modal", publicName: "modal", isSignal: true, isRequired: false, transformFunction: null }, closable: { classPropertyName: "closable", publicName: "closable", isSignal: true, isRequired: false, transformFunction: null }, closeOnEscape: { classPropertyName: "closeOnEscape", publicName: "closeOnEscape", isSignal: true, isRequired: false, transformFunction: null }, dismissableMask: { classPropertyName: "dismissableMask", publicName: "dismissableMask", isSignal: true, isRequired: false, transformFunction: null }, maximizable: { classPropertyName: "maximizable", publicName: "maximizable", isSignal: true, isRequired: false, transformFunction: null }, draggable: { classPropertyName: "draggable", publicName: "draggable", isSignal: true, isRequired: false, transformFunction: null }, resizable: { classPropertyName: "resizable", publicName: "resizable", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, showFooter: { classPropertyName: "showFooter", publicName: "showFooter", isSignal: true, isRequired: false, transformFunction: null }, confirmLabel: { classPropertyName: "confirmLabel", publicName: "confirmLabel", isSignal: true, isRequired: false, transformFunction: null }, confirmSeverity: { classPropertyName: "confirmSeverity", publicName: "confirmSeverity", isSignal: true, isRequired: false, transformFunction: null }, confirmIcon: { classPropertyName: "confirmIcon", publicName: "confirmIcon", isSignal: true, isRequired: false, transformFunction: null }, confirmLoading: { classPropertyName: "confirmLoading", publicName: "confirmLoading", isSignal: true, isRequired: false, transformFunction: null }, confirmDisabled: { classPropertyName: "confirmDisabled", publicName: "confirmDisabled", isSignal: true, isRequired: false, transformFunction: null }, cancelLabel: { classPropertyName: "cancelLabel", publicName: "cancelLabel", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { visible: "visibleChange", confirmed: "confirmed", cancelled: "cancelled", showed: "showed", hidden: "hidden" }, queries: [{ propertyName: "headerTpl", first: true, predicate: AscDialogHeaderDirective, descendants: true, isSignal: true }, { propertyName: "footerTpl", first: true, predicate: AscDialogFooterDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<!-- @file asc-dialog.html -->\n<p-dialog\n [(visible)]=\"visible\"\n [modal]=\"modal()\"\n [closable]=\"closable()\"\n [closeOnEscape]=\"closeOnEscape()\"\n [dismissableMask]=\"dismissableMask()\"\n [maximizable]=\"maximizable()\"\n [draggable]=\"draggable()\"\n [resizable]=\"resizable()\"\n [position]=\"position()\"\n [style]=\"{ width: dialogWidth() }\"\n [
|
|
7237
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: AscDialogComponent, isStandalone: true, selector: "asc-dialog", inputs: { header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, headerIcon: { classPropertyName: "headerIcon", publicName: "headerIcon", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, modal: { classPropertyName: "modal", publicName: "modal", isSignal: true, isRequired: false, transformFunction: null }, closable: { classPropertyName: "closable", publicName: "closable", isSignal: true, isRequired: false, transformFunction: null }, closeOnEscape: { classPropertyName: "closeOnEscape", publicName: "closeOnEscape", isSignal: true, isRequired: false, transformFunction: null }, dismissableMask: { classPropertyName: "dismissableMask", publicName: "dismissableMask", isSignal: true, isRequired: false, transformFunction: null }, maximizable: { classPropertyName: "maximizable", publicName: "maximizable", isSignal: true, isRequired: false, transformFunction: null }, draggable: { classPropertyName: "draggable", publicName: "draggable", isSignal: true, isRequired: false, transformFunction: null }, resizable: { classPropertyName: "resizable", publicName: "resizable", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, showFooter: { classPropertyName: "showFooter", publicName: "showFooter", isSignal: true, isRequired: false, transformFunction: null }, confirmLabel: { classPropertyName: "confirmLabel", publicName: "confirmLabel", isSignal: true, isRequired: false, transformFunction: null }, confirmSeverity: { classPropertyName: "confirmSeverity", publicName: "confirmSeverity", isSignal: true, isRequired: false, transformFunction: null }, confirmIcon: { classPropertyName: "confirmIcon", publicName: "confirmIcon", isSignal: true, isRequired: false, transformFunction: null }, confirmLoading: { classPropertyName: "confirmLoading", publicName: "confirmLoading", isSignal: true, isRequired: false, transformFunction: null }, confirmDisabled: { classPropertyName: "confirmDisabled", publicName: "confirmDisabled", isSignal: true, isRequired: false, transformFunction: null }, cancelLabel: { classPropertyName: "cancelLabel", publicName: "cancelLabel", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { visible: "visibleChange", confirmed: "confirmed", cancelled: "cancelled", showed: "showed", hidden: "hidden" }, queries: [{ propertyName: "headerTpl", first: true, predicate: AscDialogHeaderDirective, descendants: true, isSignal: true }, { propertyName: "footerTpl", first: true, predicate: AscDialogFooterDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<!-- @file asc-dialog.html -->\n<p-dialog\n [(visible)]=\"visible\"\n [modal]=\"modal()\"\n [closable]=\"closable()\"\n [closeOnEscape]=\"closeOnEscape()\"\n [dismissableMask]=\"dismissableMask()\"\n [maximizable]=\"maximizable()\"\n [draggable]=\"draggable()\"\n [resizable]=\"resizable()\"\n [position]=\"position()\"\n [style]=\"{ width: dialogWidth() }\"\n [styleClass]=\"dialogStyleClass()\"\n [contentStyleClass]=\"'asc-dialog-content'\"\n (onShow)=\"onShow()\"\n (onHide)=\"onHide()\"\n>\n <!-- \u2500\u2500 Header \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n <ng-template #header>\n @if (headerTpl()) {\n <ng-container [ngTemplateOutlet]=\"headerTpl()!.templateRef\" />\n } @else {\n <div class=\"asc-dialog-header-default\">\n @if (headerIcon()) {\n <i [class]=\"headerIcon() + ' asc-dialog-header-icon'\" aria-hidden=\"true\"></i>\n }\n <span class=\"asc-dialog-title\">{{ headerLabel() }}</span>\n </div>\n }\n </ng-template>\n\n <!-- \u2500\u2500 Body \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n <ng-content />\n\n <!-- \u2500\u2500 Footer \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n <ng-template #footer>\n @if (footerTpl()) {\n <ng-container [ngTemplateOutlet]=\"footerTpl()!.templateRef\" />\n } @else if (showFooter()) {\n <div class=\"asc-dialog-footer-default\">\n <!-- H\u1EE7y: Outline thu\u1EA7n (kh\u00F4ng secondary) \u2014 Figma Button/Outline -->\n <asc-button\n [label]=\"resolvedCancelLabel()\"\n variant=\"outlined\"\n [disabled]=\"confirmLoading()\"\n (clicked)=\"onCancel()\"\n />\n <asc-button\n [label]=\"resolvedConfirmLabel()\"\n [severity]=\"confirmSeverity()\"\n [icon]=\"confirmIcon()\"\n [loading]=\"confirmLoading()\"\n [disabled]=\"confirmDisabled()\"\n (clicked)=\"onConfirm()\"\n />\n </div>\n }\n </ng-template>\n</p-dialog>\n", styles: [":host{display:contents}::ng-deep .asc-dialog.p-dialog{background:var(--asc-dialog-bg, color-mix(in srgb, var(--asc-surface-overlay, #FFFFFF) 95%, transparent));border:none;border-radius:var(--asc-dialog-radius, 16px)}::ng-deep .asc-dialog .p-dialog-header{margin:0 var(--asc-dialog-padding-x, 16px);padding:var(--asc-dialog-header-padding-y, 12px) 0;border-bottom:1px solid var(--asc-dialog-divider-color, var(--asc-border-color, #DEDFE0))}::ng-deep .asc-dialog .p-dialog-title{font-family:var(--asc-font-family, \"Inter\", sans-serif);font-size:14px;font-weight:600;line-height:20px;color:var(--asc-dialog-title-color, var(--asc-text-primary, #0F0F0F))}::ng-deep .asc-dialog .p-dialog-header .p-dialog-close-button{width:20px;height:20px;min-width:20px;padding:0;color:var(--asc-dialog-close-color, var(--asc-icon-disabled, #C0C0C2))}::ng-deep .asc-dialog .p-dialog-header .p-dialog-close-button .p-icon,::ng-deep .asc-dialog .p-dialog-header .p-dialog-close-button .p-button-icon{width:20px;height:20px;font-size:20px}::ng-deep .asc-dialog.p-dialog .p-dialog-content{padding:var(--p-dialog-content-padding, 16px)}::ng-deep .asc-dialog .p-dialog-footer{margin-top:12px;padding:0 var(--asc-dialog-padding-x, 16px) 16px;border-top:none;display:flex;align-items:center;justify-content:flex-end;gap:.625rem}.asc-dialog-header-default{display:flex;align-items:center;gap:.625rem}.asc-dialog-header-icon{font-size:1.125rem;color:var(--p-primary-500)}.asc-dialog-title{font-family:var(--asc-font-family, \"Inter\", sans-serif);font-size:14px;font-weight:600;line-height:20px;color:var(--asc-dialog-title-color, var(--asc-text-primary, #0F0F0F))}.asc-dialog-footer-default{display:flex;align-items:center;justify-content:flex-end;gap:.625rem}\n"], dependencies: [{ kind: "ngmodule", type: DialogModule }, { kind: "component", type: i1$3.Dialog, selector: "p-dialog", inputs: ["hostName", "header", "draggable", "resizable", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "maskMotionOptions", "motionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "closeButtonProps", "maximizeButtonProps", "visible", "style", "position", "role", "appendTo", "content", "contentTemplate", "footerTemplate", "closeIconTemplate", "maximizeIconTemplate", "minimizeIconTemplate", "headlessTemplate"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "component", type: AscButtonComponent, selector: "asc-button", inputs: ["label", "icon", "iconPos", "severity", "variant", "size", "loading", "disabled", "raised", "fullWidth", "type", "tooltip", "tooltipPos", "ariaLabel", "styleClass", "rounded"], outputs: ["clicked"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7243
7238
|
}
|
|
7244
7239
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: AscDialogComponent, decorators: [{
|
|
7245
7240
|
type: Component,
|
|
7246
7241
|
args: [{ selector: 'asc-dialog', standalone: true, imports: [
|
|
7247
7242
|
DialogModule,
|
|
7248
|
-
|
|
7243
|
+
AscButtonComponent,
|
|
7249
7244
|
NgTemplateOutlet,
|
|
7250
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- @file asc-dialog.html -->\n<p-dialog\n [(visible)]=\"visible\"\n [modal]=\"modal()\"\n [closable]=\"closable()\"\n [closeOnEscape]=\"closeOnEscape()\"\n [dismissableMask]=\"dismissableMask()\"\n [maximizable]=\"maximizable()\"\n [draggable]=\"draggable()\"\n [resizable]=\"resizable()\"\n [position]=\"position()\"\n [style]=\"{ width: dialogWidth() }\"\n [
|
|
7245
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- @file asc-dialog.html -->\n<p-dialog\n [(visible)]=\"visible\"\n [modal]=\"modal()\"\n [closable]=\"closable()\"\n [closeOnEscape]=\"closeOnEscape()\"\n [dismissableMask]=\"dismissableMask()\"\n [maximizable]=\"maximizable()\"\n [draggable]=\"draggable()\"\n [resizable]=\"resizable()\"\n [position]=\"position()\"\n [style]=\"{ width: dialogWidth() }\"\n [styleClass]=\"dialogStyleClass()\"\n [contentStyleClass]=\"'asc-dialog-content'\"\n (onShow)=\"onShow()\"\n (onHide)=\"onHide()\"\n>\n <!-- \u2500\u2500 Header \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n <ng-template #header>\n @if (headerTpl()) {\n <ng-container [ngTemplateOutlet]=\"headerTpl()!.templateRef\" />\n } @else {\n <div class=\"asc-dialog-header-default\">\n @if (headerIcon()) {\n <i [class]=\"headerIcon() + ' asc-dialog-header-icon'\" aria-hidden=\"true\"></i>\n }\n <span class=\"asc-dialog-title\">{{ headerLabel() }}</span>\n </div>\n }\n </ng-template>\n\n <!-- \u2500\u2500 Body \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n <ng-content />\n\n <!-- \u2500\u2500 Footer \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n <ng-template #footer>\n @if (footerTpl()) {\n <ng-container [ngTemplateOutlet]=\"footerTpl()!.templateRef\" />\n } @else if (showFooter()) {\n <div class=\"asc-dialog-footer-default\">\n <!-- H\u1EE7y: Outline thu\u1EA7n (kh\u00F4ng secondary) \u2014 Figma Button/Outline -->\n <asc-button\n [label]=\"resolvedCancelLabel()\"\n variant=\"outlined\"\n [disabled]=\"confirmLoading()\"\n (clicked)=\"onCancel()\"\n />\n <asc-button\n [label]=\"resolvedConfirmLabel()\"\n [severity]=\"confirmSeverity()\"\n [icon]=\"confirmIcon()\"\n [loading]=\"confirmLoading()\"\n [disabled]=\"confirmDisabled()\"\n (clicked)=\"onConfirm()\"\n />\n </div>\n }\n </ng-template>\n</p-dialog>\n", styles: [":host{display:contents}::ng-deep .asc-dialog.p-dialog{background:var(--asc-dialog-bg, color-mix(in srgb, var(--asc-surface-overlay, #FFFFFF) 95%, transparent));border:none;border-radius:var(--asc-dialog-radius, 16px)}::ng-deep .asc-dialog .p-dialog-header{margin:0 var(--asc-dialog-padding-x, 16px);padding:var(--asc-dialog-header-padding-y, 12px) 0;border-bottom:1px solid var(--asc-dialog-divider-color, var(--asc-border-color, #DEDFE0))}::ng-deep .asc-dialog .p-dialog-title{font-family:var(--asc-font-family, \"Inter\", sans-serif);font-size:14px;font-weight:600;line-height:20px;color:var(--asc-dialog-title-color, var(--asc-text-primary, #0F0F0F))}::ng-deep .asc-dialog .p-dialog-header .p-dialog-close-button{width:20px;height:20px;min-width:20px;padding:0;color:var(--asc-dialog-close-color, var(--asc-icon-disabled, #C0C0C2))}::ng-deep .asc-dialog .p-dialog-header .p-dialog-close-button .p-icon,::ng-deep .asc-dialog .p-dialog-header .p-dialog-close-button .p-button-icon{width:20px;height:20px;font-size:20px}::ng-deep .asc-dialog.p-dialog .p-dialog-content{padding:var(--p-dialog-content-padding, 16px)}::ng-deep .asc-dialog .p-dialog-footer{margin-top:12px;padding:0 var(--asc-dialog-padding-x, 16px) 16px;border-top:none;display:flex;align-items:center;justify-content:flex-end;gap:.625rem}.asc-dialog-header-default{display:flex;align-items:center;gap:.625rem}.asc-dialog-header-icon{font-size:1.125rem;color:var(--p-primary-500)}.asc-dialog-title{font-family:var(--asc-font-family, \"Inter\", sans-serif);font-size:14px;font-weight:600;line-height:20px;color:var(--asc-dialog-title-color, var(--asc-text-primary, #0F0F0F))}.asc-dialog-footer-default{display:flex;align-items:center;justify-content:flex-end;gap:.625rem}\n"] }]
|
|
7251
7246
|
}], propDecorators: { headerTpl: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AscDialogHeaderDirective), { isSignal: true }] }], footerTpl: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AscDialogFooterDirective), { isSignal: true }] }], header: [{ type: i0.Input, args: [{ isSignal: true, alias: "header", required: false }] }], headerIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "headerIcon", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], modal: [{ type: i0.Input, args: [{ isSignal: true, alias: "modal", required: false }] }], closable: [{ type: i0.Input, args: [{ isSignal: true, alias: "closable", required: false }] }], closeOnEscape: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnEscape", required: false }] }], dismissableMask: [{ type: i0.Input, args: [{ isSignal: true, alias: "dismissableMask", required: false }] }], maximizable: [{ type: i0.Input, args: [{ isSignal: true, alias: "maximizable", required: false }] }], draggable: [{ type: i0.Input, args: [{ isSignal: true, alias: "draggable", required: false }] }], resizable: [{ type: i0.Input, args: [{ isSignal: true, alias: "resizable", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], showFooter: [{ type: i0.Input, args: [{ isSignal: true, alias: "showFooter", required: false }] }], confirmLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "confirmLabel", required: false }] }], confirmSeverity: [{ type: i0.Input, args: [{ isSignal: true, alias: "confirmSeverity", required: false }] }], confirmIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "confirmIcon", required: false }] }], confirmLoading: [{ type: i0.Input, args: [{ isSignal: true, alias: "confirmLoading", required: false }] }], confirmDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "confirmDisabled", required: false }] }], cancelLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "cancelLabel", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }], confirmed: [{ type: i0.Output, args: ["confirmed"] }], cancelled: [{ type: i0.Output, args: ["cancelled"] }], showed: [{ type: i0.Output, args: ["showed"] }], hidden: [{ type: i0.Output, args: ["hidden"] }] } });
|
|
7252
7247
|
|
|
7253
7248
|
/**
|
|
@@ -7284,20 +7279,20 @@ class AscConfirmPopup {
|
|
|
7284
7279
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.5", type: AscConfirmPopup, isStandalone: true, selector: "asc-confirm-popup", inputs: { key: { classPropertyName: "key", publicName: "key", isSignal: true, isRequired: false, transformFunction: null }, maxWidth: { classPropertyName: "maxWidth", publicName: "maxWidth", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
7285
7280
|
<p-confirmpopup
|
|
7286
7281
|
[key]="key() ?? DEFAULT_POPUP_KEY"
|
|
7287
|
-
|
|
7282
|
+
styleClass="asc-confirm-popup"
|
|
7288
7283
|
[style]="{ 'max-width': maxWidth() }"
|
|
7289
7284
|
/>
|
|
7290
|
-
`, isInline: true, styles: [":host{display:contents}::ng-deep .asc-confirm-popup .p-confirmpopup-content{display:flex;align-items:flex-start;gap:.625rem;padding:.875rem 1rem}::ng-deep .asc-confirm-popup .p-confirmpopup-icon{font-size:1.125rem;margin-top:.125rem;flex-shrink:0}::ng-deep .asc-confirm-popup .p-confirmpopup-message{font-size:.875rem;line-height:1.5}::ng-deep .asc-confirm-popup .p-confirmpopup-footer{display:flex;justify-content:flex-end;gap:.5rem;padding:0 1rem .875rem}\n"], dependencies: [{ kind: "ngmodule", type: ConfirmPopupModule }, { kind: "component", type: i1$4.ConfirmPopup, selector: "p-confirmpopup", inputs: ["key", "defaultFocus", "showTransitionOptions", "hideTransitionOptions", "autoZIndex", "baseZIndex", "style", "styleClass", "visible", "motionOptions", "appendTo"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7285
|
+
`, isInline: true, styles: [":host{display:contents}::ng-deep .asc-confirm-popup .p-confirmpopup-content{display:flex;align-items:flex-start;gap:.625rem;padding:.875rem 1rem}::ng-deep .asc-confirm-popup .p-confirmpopup-icon{font-size:1.125rem;margin-top:.125rem;flex-shrink:0}::ng-deep .asc-confirm-popup .p-confirmpopup-message{font-size:.875rem;line-height:1.5}::ng-deep .asc-confirm-popup .p-confirmpopup-footer{display:flex;justify-content:flex-end;gap:.5rem;padding:0 1rem .875rem}::ng-deep .asc-confirm-popup .p-confirmpopup-footer .p-button{min-width:64px;height:var(--asc-h-sm);padding:6px 16px;border-radius:999px;font-size:12px;font-weight:400;line-height:16px}::ng-deep .asc-confirm-popup .p-confirmpopup-footer .p-button .p-button-label{font-weight:400}::ng-deep .asc-confirm-popup .p-confirmpopup-footer .asc-confirm-accept--primary{color:var(--asc-button-solid-text, #FCFCFC)}::ng-deep .asc-confirm-popup .p-confirmpopup-footer .p-confirmpopup-reject-button{background:transparent;border-width:1.5px;border-color:var(--asc-button-outline-border, #525252);color:var(--asc-button-outline-text, #262626)}::ng-deep .asc-confirm-popup .p-confirmpopup-footer .p-confirmpopup-reject-button:not(:disabled):hover{background:var(--asc-button-outline-bg-hover, #F2F3F5);border-color:var(--asc-button-outline-border, #525252);color:var(--asc-button-outline-text, #262626)}::ng-deep .asc-confirm-popup .p-confirmpopup-footer .p-confirmpopup-reject-button:not(:disabled):active{background:var(--asc-button-outline-bg-active, #DEDFE0)}\n"], dependencies: [{ kind: "ngmodule", type: ConfirmPopupModule }, { kind: "component", type: i1$4.ConfirmPopup, selector: "p-confirmpopup", inputs: ["key", "defaultFocus", "showTransitionOptions", "hideTransitionOptions", "autoZIndex", "baseZIndex", "style", "styleClass", "visible", "motionOptions", "appendTo"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7291
7286
|
}
|
|
7292
7287
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: AscConfirmPopup, decorators: [{
|
|
7293
7288
|
type: Component,
|
|
7294
7289
|
args: [{ selector: 'asc-confirm-popup', standalone: true, imports: [ConfirmPopupModule], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
7295
7290
|
<p-confirmpopup
|
|
7296
7291
|
[key]="key() ?? DEFAULT_POPUP_KEY"
|
|
7297
|
-
|
|
7292
|
+
styleClass="asc-confirm-popup"
|
|
7298
7293
|
[style]="{ 'max-width': maxWidth() }"
|
|
7299
7294
|
/>
|
|
7300
|
-
`, styles: [":host{display:contents}::ng-deep .asc-confirm-popup .p-confirmpopup-content{display:flex;align-items:flex-start;gap:.625rem;padding:.875rem 1rem}::ng-deep .asc-confirm-popup .p-confirmpopup-icon{font-size:1.125rem;margin-top:.125rem;flex-shrink:0}::ng-deep .asc-confirm-popup .p-confirmpopup-message{font-size:.875rem;line-height:1.5}::ng-deep .asc-confirm-popup .p-confirmpopup-footer{display:flex;justify-content:flex-end;gap:.5rem;padding:0 1rem .875rem}\n"] }]
|
|
7295
|
+
`, styles: [":host{display:contents}::ng-deep .asc-confirm-popup .p-confirmpopup-content{display:flex;align-items:flex-start;gap:.625rem;padding:.875rem 1rem}::ng-deep .asc-confirm-popup .p-confirmpopup-icon{font-size:1.125rem;margin-top:.125rem;flex-shrink:0}::ng-deep .asc-confirm-popup .p-confirmpopup-message{font-size:.875rem;line-height:1.5}::ng-deep .asc-confirm-popup .p-confirmpopup-footer{display:flex;justify-content:flex-end;gap:.5rem;padding:0 1rem .875rem}::ng-deep .asc-confirm-popup .p-confirmpopup-footer .p-button{min-width:64px;height:var(--asc-h-sm);padding:6px 16px;border-radius:999px;font-size:12px;font-weight:400;line-height:16px}::ng-deep .asc-confirm-popup .p-confirmpopup-footer .p-button .p-button-label{font-weight:400}::ng-deep .asc-confirm-popup .p-confirmpopup-footer .asc-confirm-accept--primary{color:var(--asc-button-solid-text, #FCFCFC)}::ng-deep .asc-confirm-popup .p-confirmpopup-footer .p-confirmpopup-reject-button{background:transparent;border-width:1.5px;border-color:var(--asc-button-outline-border, #525252);color:var(--asc-button-outline-text, #262626)}::ng-deep .asc-confirm-popup .p-confirmpopup-footer .p-confirmpopup-reject-button:not(:disabled):hover{background:var(--asc-button-outline-bg-hover, #F2F3F5);border-color:var(--asc-button-outline-border, #525252);color:var(--asc-button-outline-text, #262626)}::ng-deep .asc-confirm-popup .p-confirmpopup-footer .p-confirmpopup-reject-button:not(:disabled):active{background:var(--asc-button-outline-bg-active, #DEDFE0)}\n"] }]
|
|
7301
7296
|
}], propDecorators: { key: [{ type: i0.Input, args: [{ isSignal: true, alias: "key", required: false }] }], maxWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxWidth", required: false }] }] } });
|
|
7302
7297
|
|
|
7303
7298
|
/**
|
|
@@ -7724,8 +7719,10 @@ class AscConfirmService {
|
|
|
7724
7719
|
acceptButtonProps: {
|
|
7725
7720
|
severity: this.mapSeverity(acceptSeverity),
|
|
7726
7721
|
},
|
|
7722
|
+
// Hook CSS cho chữ nút solid primary (asc-confirm-dialog.scss) — như asc-button
|
|
7723
|
+
acceptButtonStyleClass: acceptSeverity === 'primary' ? 'asc-confirm-accept--primary' : undefined,
|
|
7724
|
+
// Hủy: Outline thuần (không secondary) — giống nút Hủy của AscDialog
|
|
7727
7725
|
rejectButtonProps: {
|
|
7728
|
-
severity: 'secondary',
|
|
7729
7726
|
outlined: true,
|
|
7730
7727
|
},
|
|
7731
7728
|
defaultFocus: opts.defaultFocus ?? 'accept',
|
|
@@ -7817,8 +7814,9 @@ class AscConfirmService {
|
|
|
7817
7814
|
acceptButtonProps: {
|
|
7818
7815
|
severity: this.mapSeverity(opts.acceptSeverity ?? 'primary'),
|
|
7819
7816
|
},
|
|
7817
|
+
acceptButtonStyleClass: (opts.acceptSeverity ?? 'primary') === 'primary' ? 'asc-confirm-accept--primary' : undefined,
|
|
7818
|
+
// Hủy: Outline thuần (không secondary) — giống AscDialog / AscConfirmDialog
|
|
7820
7819
|
rejectButtonProps: {
|
|
7821
|
-
severity: 'secondary',
|
|
7822
7820
|
outlined: true,
|
|
7823
7821
|
},
|
|
7824
7822
|
key: opts.key ?? DEFAULT_POPUP_KEY,
|
|
@@ -7979,22 +7977,22 @@ class AscConfirmDialog {
|
|
|
7979
7977
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.5", type: AscConfirmDialog, isStandalone: true, selector: "asc-confirm-dialog", inputs: { key: { classPropertyName: "key", publicName: "key", isSignal: true, isRequired: false, transformFunction: null }, maxWidth: { classPropertyName: "maxWidth", publicName: "maxWidth", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
7980
7978
|
<p-confirm-dialog
|
|
7981
7979
|
[key]="key() ?? undefined"
|
|
7982
|
-
|
|
7980
|
+
styleClass="asc-confirm-dialog"
|
|
7983
7981
|
[maskStyleClass]="'asc-confirm-mask'"
|
|
7984
7982
|
[style]="{ 'max-width': maxWidth() }"
|
|
7985
7983
|
></p-confirm-dialog>
|
|
7986
|
-
`, isInline: true, styles: [":host{display:contents}::ng-deep .asc-confirm-dialog .p-dialog-header{padding:
|
|
7984
|
+
`, isInline: true, styles: [":host{display:contents}::ng-deep .asc-confirm-dialog.p-dialog{background:var(--asc-dialog-bg, color-mix(in srgb, var(--asc-surface-overlay, #FFFFFF) 95%, transparent));border:none;border-radius:var(--asc-dialog-radius, 16px)}::ng-deep .asc-confirm-dialog .p-dialog-header{margin:0 var(--asc-dialog-padding-x, 16px);padding:var(--asc-dialog-header-padding-y, 12px) 0;border-bottom:1px solid var(--asc-dialog-divider-color, var(--asc-border-color, #DEDFE0))}::ng-deep .asc-confirm-dialog .p-dialog-title{font-family:var(--asc-font-family, \"Inter\", sans-serif);font-size:14px;font-weight:600;line-height:20px;color:var(--asc-dialog-title-color, var(--asc-text-primary, #0F0F0F))}::ng-deep .asc-confirm-dialog .p-dialog-header .p-dialog-close-button{width:20px;height:20px;min-width:20px;padding:0;color:var(--asc-dialog-close-color, var(--asc-icon-disabled, #C0C0C2))}::ng-deep .asc-confirm-dialog .p-dialog-header .p-dialog-close-button .p-icon,::ng-deep .asc-confirm-dialog .p-dialog-header .p-dialog-close-button .p-button-icon{width:20px;height:20px;font-size:20px}::ng-deep .asc-confirm-dialog.p-dialog .p-dialog-content{padding:var(--p-dialog-content-padding, 16px)}::ng-deep .asc-confirm-dialog .p-dialog-footer{margin-top:12px;padding:0 var(--asc-dialog-padding-x, 16px) 16px;border-top:none;display:flex;align-items:center;justify-content:flex-end;gap:.625rem}::ng-deep .asc-confirm-dialog.p-dialog .p-dialog-content{display:flex;align-items:center;gap:.875rem}::ng-deep .asc-confirm-dialog .p-dialog-content .p-confirmdialog-icon{font-size:1.5rem;margin-top:.125rem;flex-shrink:0}::ng-deep .asc-confirm-dialog .p-dialog-content .p-confirmdialog-message{font-size:14px;line-height:20px;color:var(--asc-text-primary);word-break:break-word}::ng-deep .asc-confirm-dialog .p-dialog-footer .p-button{min-width:80px;height:var(--asc-h-md);padding:8px 16px;border-radius:999px;font-size:14px;font-weight:400;line-height:20px}::ng-deep .asc-confirm-dialog .p-dialog-footer .p-button .p-button-label{font-weight:400}::ng-deep .asc-confirm-dialog .p-dialog-footer .asc-confirm-accept--primary{color:var(--asc-button-solid-text, #FCFCFC)}::ng-deep .asc-confirm-dialog .p-dialog-footer .p-confirmdialog-reject-button{background:transparent;border-width:1.5px;border-color:var(--asc-button-outline-border, #525252);color:var(--asc-button-outline-text, #262626)}::ng-deep .asc-confirm-dialog .p-dialog-footer .p-confirmdialog-reject-button:not(:disabled):hover{background:var(--asc-button-outline-bg-hover, #F2F3F5);border-color:var(--asc-button-outline-border, #525252);color:var(--asc-button-outline-text, #262626)}::ng-deep .asc-confirm-dialog .p-dialog-footer .p-confirmdialog-reject-button:not(:disabled):active{background:var(--asc-button-outline-bg-active, #DEDFE0)}\n"], dependencies: [{ kind: "ngmodule", type: ConfirmDialogModule }, { kind: "component", type: i1$7.ConfirmDialog, selector: "p-confirmDialog, p-confirmdialog, p-confirm-dialog", inputs: ["header", "icon", "message", "style", "styleClass", "maskStyleClass", "acceptIcon", "acceptLabel", "closeAriaLabel", "acceptAriaLabel", "acceptVisible", "rejectIcon", "rejectLabel", "rejectAriaLabel", "rejectVisible", "acceptButtonStyleClass", "rejectButtonStyleClass", "closeOnEscape", "dismissableMask", "blockScroll", "rtl", "closable", "appendTo", "key", "autoZIndex", "baseZIndex", "transitionOptions", "focusTrap", "defaultFocus", "breakpoints", "modal", "visible", "position", "draggable"], outputs: ["onHide"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7987
7985
|
}
|
|
7988
7986
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: AscConfirmDialog, decorators: [{
|
|
7989
7987
|
type: Component,
|
|
7990
7988
|
args: [{ selector: 'asc-confirm-dialog', standalone: true, imports: [ConfirmDialogModule], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
7991
7989
|
<p-confirm-dialog
|
|
7992
7990
|
[key]="key() ?? undefined"
|
|
7993
|
-
|
|
7991
|
+
styleClass="asc-confirm-dialog"
|
|
7994
7992
|
[maskStyleClass]="'asc-confirm-mask'"
|
|
7995
7993
|
[style]="{ 'max-width': maxWidth() }"
|
|
7996
7994
|
></p-confirm-dialog>
|
|
7997
|
-
`, styles: [":host{display:contents}::ng-deep .asc-confirm-dialog .p-dialog-header{padding:
|
|
7995
|
+
`, styles: [":host{display:contents}::ng-deep .asc-confirm-dialog.p-dialog{background:var(--asc-dialog-bg, color-mix(in srgb, var(--asc-surface-overlay, #FFFFFF) 95%, transparent));border:none;border-radius:var(--asc-dialog-radius, 16px)}::ng-deep .asc-confirm-dialog .p-dialog-header{margin:0 var(--asc-dialog-padding-x, 16px);padding:var(--asc-dialog-header-padding-y, 12px) 0;border-bottom:1px solid var(--asc-dialog-divider-color, var(--asc-border-color, #DEDFE0))}::ng-deep .asc-confirm-dialog .p-dialog-title{font-family:var(--asc-font-family, \"Inter\", sans-serif);font-size:14px;font-weight:600;line-height:20px;color:var(--asc-dialog-title-color, var(--asc-text-primary, #0F0F0F))}::ng-deep .asc-confirm-dialog .p-dialog-header .p-dialog-close-button{width:20px;height:20px;min-width:20px;padding:0;color:var(--asc-dialog-close-color, var(--asc-icon-disabled, #C0C0C2))}::ng-deep .asc-confirm-dialog .p-dialog-header .p-dialog-close-button .p-icon,::ng-deep .asc-confirm-dialog .p-dialog-header .p-dialog-close-button .p-button-icon{width:20px;height:20px;font-size:20px}::ng-deep .asc-confirm-dialog.p-dialog .p-dialog-content{padding:var(--p-dialog-content-padding, 16px)}::ng-deep .asc-confirm-dialog .p-dialog-footer{margin-top:12px;padding:0 var(--asc-dialog-padding-x, 16px) 16px;border-top:none;display:flex;align-items:center;justify-content:flex-end;gap:.625rem}::ng-deep .asc-confirm-dialog.p-dialog .p-dialog-content{display:flex;align-items:center;gap:.875rem}::ng-deep .asc-confirm-dialog .p-dialog-content .p-confirmdialog-icon{font-size:1.5rem;margin-top:.125rem;flex-shrink:0}::ng-deep .asc-confirm-dialog .p-dialog-content .p-confirmdialog-message{font-size:14px;line-height:20px;color:var(--asc-text-primary);word-break:break-word}::ng-deep .asc-confirm-dialog .p-dialog-footer .p-button{min-width:80px;height:var(--asc-h-md);padding:8px 16px;border-radius:999px;font-size:14px;font-weight:400;line-height:20px}::ng-deep .asc-confirm-dialog .p-dialog-footer .p-button .p-button-label{font-weight:400}::ng-deep .asc-confirm-dialog .p-dialog-footer .asc-confirm-accept--primary{color:var(--asc-button-solid-text, #FCFCFC)}::ng-deep .asc-confirm-dialog .p-dialog-footer .p-confirmdialog-reject-button{background:transparent;border-width:1.5px;border-color:var(--asc-button-outline-border, #525252);color:var(--asc-button-outline-text, #262626)}::ng-deep .asc-confirm-dialog .p-dialog-footer .p-confirmdialog-reject-button:not(:disabled):hover{background:var(--asc-button-outline-bg-hover, #F2F3F5);border-color:var(--asc-button-outline-border, #525252);color:var(--asc-button-outline-text, #262626)}::ng-deep .asc-confirm-dialog .p-dialog-footer .p-confirmdialog-reject-button:not(:disabled):active{background:var(--asc-button-outline-bg-active, #DEDFE0)}\n"] }]
|
|
7998
7996
|
}], propDecorators: { key: [{ type: i0.Input, args: [{ isSignal: true, alias: "key", required: false }] }], maxWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxWidth", required: false }] }] } });
|
|
7999
7997
|
|
|
8000
7998
|
/**
|