@aseansc/ui 5.11.0 → 5.12.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.
@@ -89,7 +89,7 @@ import { Accordion, AccordionPanel, AccordionHeader, AccordionContent } from 'pr
89
89
  import { ProgressSpinner } from 'primeng/progressspinner';
90
90
  import { ProgressBar } from 'primeng/progressbar';
91
91
  import * as i1$a from '@angular/router';
92
- import { RouterModule, NavigationEnd, Router, ActivatedRoute } from '@angular/router';
92
+ import { RouterModule, PRIMARY_OUTLET, NavigationEnd, Router, ActivatedRoute } from '@angular/router';
93
93
  import { StyleClassModule } from 'primeng/styleclass';
94
94
  import { Breadcrumb } from 'primeng/breadcrumb';
95
95
 
@@ -128,6 +128,7 @@ const ASC_UI_DEFAULT_CONFIG = {
128
128
  layout: {
129
129
  showFooter: true,
130
130
  sidebarCollapse: 'hidden',
131
+ menuActiveMatch: 'exact',
131
132
  },
132
133
  button: {
133
134
  size: 'md',
@@ -570,6 +571,45 @@ const ASC_PRESET = definePreset(Aura, {
570
571
  light: { root: { placeholderColor: '{grey.500}' } },
571
572
  dark: { root: { placeholderColor: '{grey.300}' } },
572
573
  },
574
+ // Option dài (tên TCPH…) — SEAHDR-496: PrimeNG nở khung theo option dài nhất rồi đẩy sang trái
575
+ // cho vừa màn → khung rộng cả màn hình. Chặn max-width, option xuống dòng (trừ virtual scroll:
576
+ // chiều cao option cố định).
577
+ css: `
578
+ .p-select-overlay {
579
+ max-width: var(--asc-overlay-max-width, min(30rem, calc(100vw - 2rem)));
580
+ }
581
+ .p-select-overlay:not(:has(.p-virtualscroller)) .p-select-option {
582
+ white-space: normal;
583
+ overflow-wrap: anywhere;
584
+ }
585
+ `,
586
+ },
587
+ // AutoComplete — SEAHDR-522: option dài bị cắt + cuộn ngang. Khung tối thiểu rộng bằng ô nhập
588
+ // (PrimeNG), nở theo chữ tới max-width, option xuống dòng. Riêng virtual scroll (lazy): scroller
589
+ // `contain: strict` + chiều cao option cố định → khung không nở theo chữ, không xuống dòng được →
590
+ // đặt rộng sẵn --asc-autocomplete-virtual-overlay-width (20rem) và cắt chữ bằng dấu …
591
+ autocomplete: {
592
+ css: `
593
+ .p-autocomplete-overlay {
594
+ max-width: var(--asc-overlay-max-width, min(30rem, calc(100vw - 2rem)));
595
+ }
596
+ .p-autocomplete-overlay:not(:has(.p-virtualscroller)) .p-autocomplete-option {
597
+ white-space: normal;
598
+ overflow-wrap: anywhere;
599
+ }
600
+ .p-autocomplete-overlay:has(.p-virtualscroller) {
601
+ width: var(--asc-autocomplete-virtual-overlay-width, 20rem);
602
+ }
603
+ .p-autocomplete-overlay .p-virtualscroller .p-autocomplete-option > span {
604
+ min-width: 0;
605
+ overflow: hidden;
606
+ text-overflow: ellipsis;
607
+ }
608
+ .p-autocomplete-overlay .p-virtualscroller-content {
609
+ min-width: 0;
610
+ width: 100%;
611
+ }
612
+ `,
573
613
  },
574
614
  multiselect: {
575
615
  extend: {
@@ -656,6 +696,23 @@ const ASC_PRESET = definePreset(Aura, {
656
696
  borderRadius: '8px',
657
697
  shadow: '0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)',
658
698
  },
699
+ // Tiêu đề card (asc-card [title] → .p-card-title) — UX SeAHolder: 14px / 400
700
+ // (Aura 1.25rem = 17.5px vì html 14px). App ghi đè: --p-card-title-font-size / --p-card-title-font-weight.
701
+ title: {
702
+ fontSize: '14px',
703
+ fontWeight: '400',
704
+ },
705
+ },
706
+ // Popover (asc-popover: Bộ lọc nâng cao, menu user…) — UX: bo 16px liền mạch với nút pill,
707
+ // padding nội dung 12px (Aura 0.75rem = 10.5px). App ghi đè: --p-popover-border-radius /
708
+ // --p-popover-content-padding.
709
+ popover: {
710
+ root: {
711
+ borderRadius: '16px',
712
+ },
713
+ content: {
714
+ padding: '12px',
715
+ },
659
716
  },
660
717
  dialog: {
661
718
  extend: {
@@ -2975,7 +3032,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
2975
3032
 
2976
3033
  // Path lấy từ ./svg/*.svg — sửa SVG thì chép lại path tương ứng vào đây.
2977
3034
  // - approve/view/edit/delete/search: bộ icon thao tác của designer, viewBox 0 0 20 20.
2978
- // - more/caret-down/caret-right: Phosphor Regular (MIT), viewBox 0 0 256 256 — xem ASC_BUILTIN_ICON_VIEWBOX.
3035
+ // - more/caret-down/caret-right/calendar-dots: Phosphor Regular (MIT), viewBox 0 0 256 256 — xem ASC_BUILTIN_ICON_VIEWBOX.
2979
3036
  /** viewBox mặc định của icon dựng sẵn. */
2980
3037
  const ASC_BUILTIN_ICON_DEFAULT_VIEWBOX = '0 0 20 20';
2981
3038
  /** viewBox riêng của icon không theo lưới 20 (icon Phosphor lưới 256). */
@@ -2983,6 +3040,7 @@ const ASC_BUILTIN_ICON_VIEWBOX = {
2983
3040
  more: '0 0 256 256',
2984
3041
  'caret-down': '0 0 256 256',
2985
3042
  'caret-right': '0 0 256 256',
3043
+ 'calendar-dots': '0 0 256 256',
2986
3044
  };
2987
3045
  /** Path data của từng icon — render với fill="currentColor". viewBox: xem ASC_BUILTIN_ICON_VIEWBOX. */
2988
3046
  const ASC_BUILTIN_ICONS = {
@@ -2997,6 +3055,8 @@ const ASC_BUILTIN_ICONS = {
2997
3055
  'caret-down': 'M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z',
2998
3056
  // Phosphor CaretRight (Regular)
2999
3057
  'caret-right': 'M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z',
3058
+ // Phosphor CalendarDots (Regular) — icon lịch của asc-datepicker
3059
+ 'calendar-dots': 'M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Zm-68-76a12,12,0,1,1-12-12A12,12,0,0,1,140,132Zm44,0a12,12,0,1,1-12-12A12,12,0,0,1,184,132ZM96,172a12,12,0,1,1-12-12A12,12,0,0,1,96,172Zm44,0a12,12,0,1,1-12-12A12,12,0,0,1,140,172Zm44,0a12,12,0,1,1-12-12A12,12,0,0,1,184,172Z',
3000
3060
  };
3001
3061
 
3002
3062
  /** Class PrimeIcons cũ → icon dựng sẵn tương ứng (để `icon="pi pi-trash"` tự đổi sang bộ icon mới). */
@@ -3872,7 +3932,7 @@ class AscSelectComponent extends BaseControlAccessor {
3872
3932
  </p-select>
3873
3933
  }
3874
3934
  }
3875
- `, isInline: true, styles: [":host{display:block;width:100%}.asc-select-filter-icon{color:var(--asc-icon-secondary)}:host ::ng-deep p-select,:host ::ng-deep p-multiselect,:host ::ng-deep .p-select,:host ::ng-deep .p-multiselect{width:100%}:host(.asc-select--xs){--asc-select-font-size: var(--asc-control-font-size-xs);--asc-select-line-height: var(--asc-control-line-height-xs)}:host(.asc-select--sm){--asc-select-font-size: var(--asc-control-font-size-sm);--asc-select-line-height: var(--asc-control-line-height-sm)}:host(.asc-select--md){--asc-select-font-size: var(--asc-control-font-size-md);--asc-select-line-height: var(--asc-control-line-height-md)}:host(.asc-select--lg){--asc-select-font-size: var(--asc-control-font-size-lg);--asc-select-line-height: var(--asc-control-line-height-lg)}:host(.asc-select--xl){--asc-select-font-size: var(--asc-control-font-size-xl);--asc-select-line-height: var(--asc-control-line-height-xl)}.asc-select-view{font-size:var(--asc-select-font-size);line-height:var(--asc-select-line-height);display:block;width:100%;min-height:20px;box-sizing:border-box;color:var(--asc-text-primary);word-break:break-word}:host ::ng-deep .p-select,:host ::ng-deep .p-multiselect{transition:border-color var(--asc-transition-fast),box-shadow var(--asc-transition-fast)}:host ::ng-deep .p-multiselect-label-container{display:flex;align-items:center}:host(.asc-select--xs:not(.asc-select--float-in)) ::ng-deep .p-select{height:var(--asc-h-xs);border-radius:12px}:host(.asc-select--xs:not(.asc-select--float-in)) ::ng-deep .p-multiselect{min-height:var(--asc-h-xs);border-radius:12px}:host(.asc-select--xs:not(.asc-select--float-in)) ::ng-deep .p-select-label,:host(.asc-select--xs:not(.asc-select--float-in)) ::ng-deep .p-multiselect-label{padding:0 8px;font-size:var(--asc-select-font-size);font-weight:400;line-height:var(--asc-select-line-height);display:block;align-content:center}:host(.asc-select--sm:not(.asc-select--float-in)) ::ng-deep .p-select{height:var(--asc-h-sm);border-radius:12px}:host(.asc-select--sm:not(.asc-select--float-in)) ::ng-deep .p-multiselect{min-height:var(--asc-h-sm);border-radius:12px}:host(.asc-select--sm:not(.asc-select--float-in)) ::ng-deep .p-select-label,:host(.asc-select--sm:not(.asc-select--float-in)) ::ng-deep .p-multiselect-label{padding:0 8px;font-size:var(--asc-select-font-size);font-weight:400;line-height:var(--asc-select-line-height);display:block;align-content:center}:host(.asc-select--md:not(.asc-select--float-in)) ::ng-deep .p-select{height:var(--asc-h-md);border-radius:12px}:host(.asc-select--md:not(.asc-select--float-in)) ::ng-deep .p-multiselect{min-height:var(--asc-h-md);border-radius:12px}:host(.asc-select--md:not(.asc-select--float-in)) ::ng-deep .p-select-label,:host(.asc-select--md:not(.asc-select--float-in)) ::ng-deep .p-multiselect-label{padding:0 8px;font-size:var(--asc-select-font-size);font-weight:400;line-height:var(--asc-select-line-height);display:block;align-content:center}:host(.asc-select--lg:not(.asc-select--float-in)) ::ng-deep .p-select{height:var(--asc-h-lg);border-radius:12px}:host(.asc-select--lg:not(.asc-select--float-in)) ::ng-deep .p-multiselect{min-height:var(--asc-h-lg);border-radius:12px}:host(.asc-select--lg:not(.asc-select--float-in)) ::ng-deep .p-select-label,:host(.asc-select--lg:not(.asc-select--float-in)) ::ng-deep .p-multiselect-label{padding:0 10px;font-size:var(--asc-select-font-size);font-weight:400;line-height:var(--asc-select-line-height);display:block;align-content:center}:host(.asc-select--xl:not(.asc-select--float-in)) ::ng-deep .p-select{height:var(--asc-h-xl);border-radius:12px}:host(.asc-select--xl:not(.asc-select--float-in)) ::ng-deep .p-multiselect{min-height:var(--asc-h-xl);border-radius:12px}:host(.asc-select--xl:not(.asc-select--float-in)) ::ng-deep .p-select-label,:host(.asc-select--xl:not(.asc-select--float-in)) ::ng-deep .p-multiselect-label{padding:0 12px;font-size:var(--asc-select-font-size);font-weight:400;line-height:var(--asc-select-line-height);display:block;align-content:center}:host ::ng-deep .p-select-label,:host ::ng-deep .p-multiselect-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}:host ::ng-deep .p-multiselect-label{flex:1 1 auto}:host(.asc-select--multi) ::ng-deep .p-multiselect-display-chip .p-multiselect-label{display:flex;align-items:center}:host(.asc-select--xs) ::ng-deep .p-select-label,:host(.asc-select--xs) ::ng-deep .p-multiselect-label{line-height:var(--asc-select-line-height)}:host(.asc-select--sm) ::ng-deep .p-select-label,:host(.asc-select--sm) ::ng-deep .p-multiselect-label{line-height:var(--asc-select-line-height)}:host(.asc-select--md) ::ng-deep .p-select-label,:host(.asc-select--md) ::ng-deep .p-multiselect-label{line-height:var(--asc-select-line-height)}:host(.asc-select--lg) ::ng-deep .p-select-label,:host(.asc-select--lg) ::ng-deep .p-multiselect-label{line-height:var(--asc-select-line-height)}:host(.asc-select--xl) ::ng-deep .p-select-label,:host(.asc-select--xl) ::ng-deep .p-multiselect-label{line-height:var(--asc-select-line-height)}:host(.asc-select--xs:not(.asc-select--float-in)) ::ng-deep .p-select-label{height:var(--asc-h-xs)}:host(.asc-select--sm:not(.asc-select--float-in)) ::ng-deep .p-select-label{height:var(--asc-h-sm)}:host(.asc-select--md:not(.asc-select--float-in)) ::ng-deep .p-select-label{height:var(--asc-h-md)}:host(.asc-select--lg:not(.asc-select--float-in)) ::ng-deep .p-select-label{height:var(--asc-h-lg)}:host(.asc-select--xl:not(.asc-select--float-in)) ::ng-deep .p-select-label{height:var(--asc-h-xl)}:host{--p-icon-size: 20px}:host(.asc-select--xs){--p-icon-size: 14px}:host(.asc-select--xl){--p-icon-size: 24px}:host ::ng-deep .p-select-overlay,:host ::ng-deep .p-multiselect-overlay{--p-icon-size: 1rem}:host ::ng-deep .p-select-dropdown,:host ::ng-deep .p-multiselect-dropdown{--p-icon-size: 13px}:host ::ng-deep .p-select-dropdown-icon,:host ::ng-deep .p-multiselect-dropdown-icon{font-size:13px}:host ::ng-deep .p-select-clear-icon,:host ::ng-deep .p-multiselect-clear-icon{box-sizing:border-box;padding:calc(var(--p-icon-size) / 4);border-radius:50%;background:var(--asc-input-clear-bg, #DEDFE0);color:var(--asc-input-clear-color, #FFFFFF);cursor:pointer}:host ::ng-deep .p-select-clear-icon:hover,:host ::ng-deep .p-multiselect-clear-icon:hover{background:var(--asc-input-clear-bg-hover, #C0C0C2)}:host(.asc-select--disabled) ::ng-deep .p-select,:host(.asc-select--disabled) ::ng-deep .p-multiselect{border-color:var(--asc-formfield-disabled-border-color, #F2F3F5)}:host(.asc-select--invalid) ::ng-deep .p-select,:host(.asc-select--invalid) ::ng-deep .p-multiselect{border-color:var(--asc-border-color-invalid)!important}:host(.asc-select--invalid) ::ng-deep .p-select:focus-within,:host(.asc-select--invalid) ::ng-deep .p-multiselect:focus-within{box-shadow:0 0 0 3px color-mix(in srgb,var(--asc-color-danger) 20%,transparent)}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: SelectModule }, { kind: "component", type: i2$3.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo", "motionOptions"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "ngmodule", type: MultiSelectModule }, { kind: "component", type: i3$2.MultiSelect, selector: "p-multiSelect, p-multiselect, p-multi-select", inputs: ["id", "ariaLabel", "styleClass", "panelStyle", "panelStyleClass", "inputId", "readonly", "group", "filter", "filterPlaceHolder", "filterLocale", "overlayVisible", "tabindex", "dataKey", "ariaLabelledBy", "displaySelectedLabel", "maxSelectedLabels", "selectionLimit", "selectedItemsLabel", "showToggleAll", "emptyFilterMessage", "emptyMessage", "resetFilterOnHide", "dropdownIcon", "chipIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "showHeader", "filterBy", "scrollHeight", "lazy", "virtualScroll", "loading", "virtualScrollItemSize", "loadingIcon", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "display", "autocomplete", "showClear", "autofocus", "placeholder", "options", "filterValue", "selectAll", "focusOnHover", "filterFields", "selectOnFocus", "autoOptionFocus", "highlightOnSelect", "size", "variant", "fluid", "appendTo", "motionOptions"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onClear", "onPanelShow", "onPanelHide", "onLazyLoad", "onRemove", "onSelectAllChange"] }, { kind: "ngmodule", type: FloatLabelModule }, { kind: "component", type: i3.FloatLabel, selector: "p-floatlabel, p-floatLabel, p-float-label", inputs: ["variant"] }, { kind: "component", type: AscSvgIconComponent, selector: "asc-svg-icon", inputs: ["name", "size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3935
+ `, isInline: true, styles: [":host{display:block;width:100%;min-width:0}.asc-select-filter-icon{color:var(--asc-icon-secondary)}:host ::ng-deep p-select,:host ::ng-deep p-multiselect,:host ::ng-deep .p-select,:host ::ng-deep .p-multiselect{width:100%}:host(.asc-select--xs){--asc-select-font-size: var(--asc-control-font-size-xs);--asc-select-line-height: var(--asc-control-line-height-xs)}:host(.asc-select--sm){--asc-select-font-size: var(--asc-control-font-size-sm);--asc-select-line-height: var(--asc-control-line-height-sm)}:host(.asc-select--md){--asc-select-font-size: var(--asc-control-font-size-md);--asc-select-line-height: var(--asc-control-line-height-md)}:host(.asc-select--lg){--asc-select-font-size: var(--asc-control-font-size-lg);--asc-select-line-height: var(--asc-control-line-height-lg)}:host(.asc-select--xl){--asc-select-font-size: var(--asc-control-font-size-xl);--asc-select-line-height: var(--asc-control-line-height-xl)}.asc-select-view{font-size:var(--asc-select-font-size);line-height:var(--asc-select-line-height);display:block;width:100%;min-height:20px;box-sizing:border-box;color:var(--asc-text-primary);word-break:break-word}:host ::ng-deep .p-select,:host ::ng-deep .p-multiselect{transition:border-color var(--asc-transition-fast),box-shadow var(--asc-transition-fast)}:host ::ng-deep .p-multiselect-label-container{display:flex;align-items:center}:host(.asc-select--xs:not(.asc-select--float-in)) ::ng-deep .p-select{height:var(--asc-h-xs);border-radius:12px}:host(.asc-select--xs:not(.asc-select--float-in)) ::ng-deep .p-multiselect{min-height:var(--asc-h-xs);border-radius:12px}:host(.asc-select--xs:not(.asc-select--float-in)) ::ng-deep .p-select-label,:host(.asc-select--xs:not(.asc-select--float-in)) ::ng-deep .p-multiselect-label{padding:0 8px;font-size:var(--asc-select-font-size);font-weight:400;line-height:var(--asc-select-line-height);display:block;align-content:center}:host(.asc-select--sm:not(.asc-select--float-in)) ::ng-deep .p-select{height:var(--asc-h-sm);border-radius:12px}:host(.asc-select--sm:not(.asc-select--float-in)) ::ng-deep .p-multiselect{min-height:var(--asc-h-sm);border-radius:12px}:host(.asc-select--sm:not(.asc-select--float-in)) ::ng-deep .p-select-label,:host(.asc-select--sm:not(.asc-select--float-in)) ::ng-deep .p-multiselect-label{padding:0 8px;font-size:var(--asc-select-font-size);font-weight:400;line-height:var(--asc-select-line-height);display:block;align-content:center}:host(.asc-select--md:not(.asc-select--float-in)) ::ng-deep .p-select{height:var(--asc-h-md);border-radius:12px}:host(.asc-select--md:not(.asc-select--float-in)) ::ng-deep .p-multiselect{min-height:var(--asc-h-md);border-radius:12px}:host(.asc-select--md:not(.asc-select--float-in)) ::ng-deep .p-select-label,:host(.asc-select--md:not(.asc-select--float-in)) ::ng-deep .p-multiselect-label{padding:0 8px;font-size:var(--asc-select-font-size);font-weight:400;line-height:var(--asc-select-line-height);display:block;align-content:center}:host(.asc-select--lg:not(.asc-select--float-in)) ::ng-deep .p-select{height:var(--asc-h-lg);border-radius:12px}:host(.asc-select--lg:not(.asc-select--float-in)) ::ng-deep .p-multiselect{min-height:var(--asc-h-lg);border-radius:12px}:host(.asc-select--lg:not(.asc-select--float-in)) ::ng-deep .p-select-label,:host(.asc-select--lg:not(.asc-select--float-in)) ::ng-deep .p-multiselect-label{padding:0 10px;font-size:var(--asc-select-font-size);font-weight:400;line-height:var(--asc-select-line-height);display:block;align-content:center}:host(.asc-select--xl:not(.asc-select--float-in)) ::ng-deep .p-select{height:var(--asc-h-xl);border-radius:12px}:host(.asc-select--xl:not(.asc-select--float-in)) ::ng-deep .p-multiselect{min-height:var(--asc-h-xl);border-radius:12px}:host(.asc-select--xl:not(.asc-select--float-in)) ::ng-deep .p-select-label,:host(.asc-select--xl:not(.asc-select--float-in)) ::ng-deep .p-multiselect-label{padding:0 12px;font-size:var(--asc-select-font-size);font-weight:400;line-height:var(--asc-select-line-height);display:block;align-content:center}:host ::ng-deep .p-select-label,:host ::ng-deep .p-multiselect-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}:host ::ng-deep .p-multiselect-label{flex:1 1 auto}:host(.asc-select--multi) ::ng-deep .p-multiselect-display-chip .p-multiselect-label{display:flex;align-items:center}:host(.asc-select--xs) ::ng-deep .p-select-label,:host(.asc-select--xs) ::ng-deep .p-multiselect-label{line-height:var(--asc-select-line-height)}:host(.asc-select--sm) ::ng-deep .p-select-label,:host(.asc-select--sm) ::ng-deep .p-multiselect-label{line-height:var(--asc-select-line-height)}:host(.asc-select--md) ::ng-deep .p-select-label,:host(.asc-select--md) ::ng-deep .p-multiselect-label{line-height:var(--asc-select-line-height)}:host(.asc-select--lg) ::ng-deep .p-select-label,:host(.asc-select--lg) ::ng-deep .p-multiselect-label{line-height:var(--asc-select-line-height)}:host(.asc-select--xl) ::ng-deep .p-select-label,:host(.asc-select--xl) ::ng-deep .p-multiselect-label{line-height:var(--asc-select-line-height)}:host(.asc-select--xs:not(.asc-select--float-in)) ::ng-deep .p-select-label{height:var(--asc-h-xs)}:host(.asc-select--sm:not(.asc-select--float-in)) ::ng-deep .p-select-label{height:var(--asc-h-sm)}:host(.asc-select--md:not(.asc-select--float-in)) ::ng-deep .p-select-label{height:var(--asc-h-md)}:host(.asc-select--lg:not(.asc-select--float-in)) ::ng-deep .p-select-label{height:var(--asc-h-lg)}:host(.asc-select--xl:not(.asc-select--float-in)) ::ng-deep .p-select-label{height:var(--asc-h-xl)}:host{--p-icon-size: 20px}:host(.asc-select--xs){--p-icon-size: 14px}:host(.asc-select--xl){--p-icon-size: 24px}:host ::ng-deep .p-select-overlay,:host ::ng-deep .p-multiselect-overlay{--p-icon-size: 1rem}:host ::ng-deep .p-select-dropdown,:host ::ng-deep .p-multiselect-dropdown{--p-icon-size: 13px}:host ::ng-deep .p-select-dropdown-icon,:host ::ng-deep .p-multiselect-dropdown-icon{font-size:13px}:host ::ng-deep .p-select-clear-icon,:host ::ng-deep .p-multiselect-clear-icon{box-sizing:border-box;padding:calc(var(--p-icon-size) / 4);border-radius:50%;background:var(--asc-input-clear-bg, #DEDFE0);color:var(--asc-input-clear-color, #FFFFFF);cursor:pointer}:host ::ng-deep .p-select-clear-icon:hover,:host ::ng-deep .p-multiselect-clear-icon:hover{background:var(--asc-input-clear-bg-hover, #C0C0C2)}:host(.asc-select--disabled) ::ng-deep .p-select,:host(.asc-select--disabled) ::ng-deep .p-multiselect{border-color:var(--asc-formfield-disabled-border-color, #F2F3F5)}:host(.asc-select--invalid) ::ng-deep .p-select,:host(.asc-select--invalid) ::ng-deep .p-multiselect{border-color:var(--asc-border-color-invalid)!important}:host(.asc-select--invalid) ::ng-deep .p-select:focus-within,:host(.asc-select--invalid) ::ng-deep .p-multiselect:focus-within{box-shadow:0 0 0 3px color-mix(in srgb,var(--asc-color-danger) 20%,transparent)}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: SelectModule }, { kind: "component", type: i2$3.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo", "motionOptions"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "ngmodule", type: MultiSelectModule }, { kind: "component", type: i3$2.MultiSelect, selector: "p-multiSelect, p-multiselect, p-multi-select", inputs: ["id", "ariaLabel", "styleClass", "panelStyle", "panelStyleClass", "inputId", "readonly", "group", "filter", "filterPlaceHolder", "filterLocale", "overlayVisible", "tabindex", "dataKey", "ariaLabelledBy", "displaySelectedLabel", "maxSelectedLabels", "selectionLimit", "selectedItemsLabel", "showToggleAll", "emptyFilterMessage", "emptyMessage", "resetFilterOnHide", "dropdownIcon", "chipIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "showHeader", "filterBy", "scrollHeight", "lazy", "virtualScroll", "loading", "virtualScrollItemSize", "loadingIcon", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "display", "autocomplete", "showClear", "autofocus", "placeholder", "options", "filterValue", "selectAll", "focusOnHover", "filterFields", "selectOnFocus", "autoOptionFocus", "highlightOnSelect", "size", "variant", "fluid", "appendTo", "motionOptions"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onClear", "onPanelShow", "onPanelHide", "onLazyLoad", "onRemove", "onSelectAllChange"] }, { kind: "ngmodule", type: FloatLabelModule }, { kind: "component", type: i3.FloatLabel, selector: "p-floatlabel, p-floatLabel, p-float-label", inputs: ["variant"] }, { kind: "component", type: AscSvgIconComponent, selector: "asc-svg-icon", inputs: ["name", "size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3876
3936
  }
3877
3937
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: AscSelectComponent, decorators: [{
3878
3938
  type: Component,
@@ -4054,7 +4114,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
4054
4114
  </p-select>
4055
4115
  }
4056
4116
  }
4057
- `, styles: [":host{display:block;width:100%}.asc-select-filter-icon{color:var(--asc-icon-secondary)}:host ::ng-deep p-select,:host ::ng-deep p-multiselect,:host ::ng-deep .p-select,:host ::ng-deep .p-multiselect{width:100%}:host(.asc-select--xs){--asc-select-font-size: var(--asc-control-font-size-xs);--asc-select-line-height: var(--asc-control-line-height-xs)}:host(.asc-select--sm){--asc-select-font-size: var(--asc-control-font-size-sm);--asc-select-line-height: var(--asc-control-line-height-sm)}:host(.asc-select--md){--asc-select-font-size: var(--asc-control-font-size-md);--asc-select-line-height: var(--asc-control-line-height-md)}:host(.asc-select--lg){--asc-select-font-size: var(--asc-control-font-size-lg);--asc-select-line-height: var(--asc-control-line-height-lg)}:host(.asc-select--xl){--asc-select-font-size: var(--asc-control-font-size-xl);--asc-select-line-height: var(--asc-control-line-height-xl)}.asc-select-view{font-size:var(--asc-select-font-size);line-height:var(--asc-select-line-height);display:block;width:100%;min-height:20px;box-sizing:border-box;color:var(--asc-text-primary);word-break:break-word}:host ::ng-deep .p-select,:host ::ng-deep .p-multiselect{transition:border-color var(--asc-transition-fast),box-shadow var(--asc-transition-fast)}:host ::ng-deep .p-multiselect-label-container{display:flex;align-items:center}:host(.asc-select--xs:not(.asc-select--float-in)) ::ng-deep .p-select{height:var(--asc-h-xs);border-radius:12px}:host(.asc-select--xs:not(.asc-select--float-in)) ::ng-deep .p-multiselect{min-height:var(--asc-h-xs);border-radius:12px}:host(.asc-select--xs:not(.asc-select--float-in)) ::ng-deep .p-select-label,:host(.asc-select--xs:not(.asc-select--float-in)) ::ng-deep .p-multiselect-label{padding:0 8px;font-size:var(--asc-select-font-size);font-weight:400;line-height:var(--asc-select-line-height);display:block;align-content:center}:host(.asc-select--sm:not(.asc-select--float-in)) ::ng-deep .p-select{height:var(--asc-h-sm);border-radius:12px}:host(.asc-select--sm:not(.asc-select--float-in)) ::ng-deep .p-multiselect{min-height:var(--asc-h-sm);border-radius:12px}:host(.asc-select--sm:not(.asc-select--float-in)) ::ng-deep .p-select-label,:host(.asc-select--sm:not(.asc-select--float-in)) ::ng-deep .p-multiselect-label{padding:0 8px;font-size:var(--asc-select-font-size);font-weight:400;line-height:var(--asc-select-line-height);display:block;align-content:center}:host(.asc-select--md:not(.asc-select--float-in)) ::ng-deep .p-select{height:var(--asc-h-md);border-radius:12px}:host(.asc-select--md:not(.asc-select--float-in)) ::ng-deep .p-multiselect{min-height:var(--asc-h-md);border-radius:12px}:host(.asc-select--md:not(.asc-select--float-in)) ::ng-deep .p-select-label,:host(.asc-select--md:not(.asc-select--float-in)) ::ng-deep .p-multiselect-label{padding:0 8px;font-size:var(--asc-select-font-size);font-weight:400;line-height:var(--asc-select-line-height);display:block;align-content:center}:host(.asc-select--lg:not(.asc-select--float-in)) ::ng-deep .p-select{height:var(--asc-h-lg);border-radius:12px}:host(.asc-select--lg:not(.asc-select--float-in)) ::ng-deep .p-multiselect{min-height:var(--asc-h-lg);border-radius:12px}:host(.asc-select--lg:not(.asc-select--float-in)) ::ng-deep .p-select-label,:host(.asc-select--lg:not(.asc-select--float-in)) ::ng-deep .p-multiselect-label{padding:0 10px;font-size:var(--asc-select-font-size);font-weight:400;line-height:var(--asc-select-line-height);display:block;align-content:center}:host(.asc-select--xl:not(.asc-select--float-in)) ::ng-deep .p-select{height:var(--asc-h-xl);border-radius:12px}:host(.asc-select--xl:not(.asc-select--float-in)) ::ng-deep .p-multiselect{min-height:var(--asc-h-xl);border-radius:12px}:host(.asc-select--xl:not(.asc-select--float-in)) ::ng-deep .p-select-label,:host(.asc-select--xl:not(.asc-select--float-in)) ::ng-deep .p-multiselect-label{padding:0 12px;font-size:var(--asc-select-font-size);font-weight:400;line-height:var(--asc-select-line-height);display:block;align-content:center}:host ::ng-deep .p-select-label,:host ::ng-deep .p-multiselect-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}:host ::ng-deep .p-multiselect-label{flex:1 1 auto}:host(.asc-select--multi) ::ng-deep .p-multiselect-display-chip .p-multiselect-label{display:flex;align-items:center}:host(.asc-select--xs) ::ng-deep .p-select-label,:host(.asc-select--xs) ::ng-deep .p-multiselect-label{line-height:var(--asc-select-line-height)}:host(.asc-select--sm) ::ng-deep .p-select-label,:host(.asc-select--sm) ::ng-deep .p-multiselect-label{line-height:var(--asc-select-line-height)}:host(.asc-select--md) ::ng-deep .p-select-label,:host(.asc-select--md) ::ng-deep .p-multiselect-label{line-height:var(--asc-select-line-height)}:host(.asc-select--lg) ::ng-deep .p-select-label,:host(.asc-select--lg) ::ng-deep .p-multiselect-label{line-height:var(--asc-select-line-height)}:host(.asc-select--xl) ::ng-deep .p-select-label,:host(.asc-select--xl) ::ng-deep .p-multiselect-label{line-height:var(--asc-select-line-height)}:host(.asc-select--xs:not(.asc-select--float-in)) ::ng-deep .p-select-label{height:var(--asc-h-xs)}:host(.asc-select--sm:not(.asc-select--float-in)) ::ng-deep .p-select-label{height:var(--asc-h-sm)}:host(.asc-select--md:not(.asc-select--float-in)) ::ng-deep .p-select-label{height:var(--asc-h-md)}:host(.asc-select--lg:not(.asc-select--float-in)) ::ng-deep .p-select-label{height:var(--asc-h-lg)}:host(.asc-select--xl:not(.asc-select--float-in)) ::ng-deep .p-select-label{height:var(--asc-h-xl)}:host{--p-icon-size: 20px}:host(.asc-select--xs){--p-icon-size: 14px}:host(.asc-select--xl){--p-icon-size: 24px}:host ::ng-deep .p-select-overlay,:host ::ng-deep .p-multiselect-overlay{--p-icon-size: 1rem}:host ::ng-deep .p-select-dropdown,:host ::ng-deep .p-multiselect-dropdown{--p-icon-size: 13px}:host ::ng-deep .p-select-dropdown-icon,:host ::ng-deep .p-multiselect-dropdown-icon{font-size:13px}:host ::ng-deep .p-select-clear-icon,:host ::ng-deep .p-multiselect-clear-icon{box-sizing:border-box;padding:calc(var(--p-icon-size) / 4);border-radius:50%;background:var(--asc-input-clear-bg, #DEDFE0);color:var(--asc-input-clear-color, #FFFFFF);cursor:pointer}:host ::ng-deep .p-select-clear-icon:hover,:host ::ng-deep .p-multiselect-clear-icon:hover{background:var(--asc-input-clear-bg-hover, #C0C0C2)}:host(.asc-select--disabled) ::ng-deep .p-select,:host(.asc-select--disabled) ::ng-deep .p-multiselect{border-color:var(--asc-formfield-disabled-border-color, #F2F3F5)}:host(.asc-select--invalid) ::ng-deep .p-select,:host(.asc-select--invalid) ::ng-deep .p-multiselect{border-color:var(--asc-border-color-invalid)!important}:host(.asc-select--invalid) ::ng-deep .p-select:focus-within,:host(.asc-select--invalid) ::ng-deep .p-multiselect:focus-within{box-shadow:0 0 0 3px color-mix(in srgb,var(--asc-color-danger) 20%,transparent)}\n"] }]
4117
+ `, styles: [":host{display:block;width:100%;min-width:0}.asc-select-filter-icon{color:var(--asc-icon-secondary)}:host ::ng-deep p-select,:host ::ng-deep p-multiselect,:host ::ng-deep .p-select,:host ::ng-deep .p-multiselect{width:100%}:host(.asc-select--xs){--asc-select-font-size: var(--asc-control-font-size-xs);--asc-select-line-height: var(--asc-control-line-height-xs)}:host(.asc-select--sm){--asc-select-font-size: var(--asc-control-font-size-sm);--asc-select-line-height: var(--asc-control-line-height-sm)}:host(.asc-select--md){--asc-select-font-size: var(--asc-control-font-size-md);--asc-select-line-height: var(--asc-control-line-height-md)}:host(.asc-select--lg){--asc-select-font-size: var(--asc-control-font-size-lg);--asc-select-line-height: var(--asc-control-line-height-lg)}:host(.asc-select--xl){--asc-select-font-size: var(--asc-control-font-size-xl);--asc-select-line-height: var(--asc-control-line-height-xl)}.asc-select-view{font-size:var(--asc-select-font-size);line-height:var(--asc-select-line-height);display:block;width:100%;min-height:20px;box-sizing:border-box;color:var(--asc-text-primary);word-break:break-word}:host ::ng-deep .p-select,:host ::ng-deep .p-multiselect{transition:border-color var(--asc-transition-fast),box-shadow var(--asc-transition-fast)}:host ::ng-deep .p-multiselect-label-container{display:flex;align-items:center}:host(.asc-select--xs:not(.asc-select--float-in)) ::ng-deep .p-select{height:var(--asc-h-xs);border-radius:12px}:host(.asc-select--xs:not(.asc-select--float-in)) ::ng-deep .p-multiselect{min-height:var(--asc-h-xs);border-radius:12px}:host(.asc-select--xs:not(.asc-select--float-in)) ::ng-deep .p-select-label,:host(.asc-select--xs:not(.asc-select--float-in)) ::ng-deep .p-multiselect-label{padding:0 8px;font-size:var(--asc-select-font-size);font-weight:400;line-height:var(--asc-select-line-height);display:block;align-content:center}:host(.asc-select--sm:not(.asc-select--float-in)) ::ng-deep .p-select{height:var(--asc-h-sm);border-radius:12px}:host(.asc-select--sm:not(.asc-select--float-in)) ::ng-deep .p-multiselect{min-height:var(--asc-h-sm);border-radius:12px}:host(.asc-select--sm:not(.asc-select--float-in)) ::ng-deep .p-select-label,:host(.asc-select--sm:not(.asc-select--float-in)) ::ng-deep .p-multiselect-label{padding:0 8px;font-size:var(--asc-select-font-size);font-weight:400;line-height:var(--asc-select-line-height);display:block;align-content:center}:host(.asc-select--md:not(.asc-select--float-in)) ::ng-deep .p-select{height:var(--asc-h-md);border-radius:12px}:host(.asc-select--md:not(.asc-select--float-in)) ::ng-deep .p-multiselect{min-height:var(--asc-h-md);border-radius:12px}:host(.asc-select--md:not(.asc-select--float-in)) ::ng-deep .p-select-label,:host(.asc-select--md:not(.asc-select--float-in)) ::ng-deep .p-multiselect-label{padding:0 8px;font-size:var(--asc-select-font-size);font-weight:400;line-height:var(--asc-select-line-height);display:block;align-content:center}:host(.asc-select--lg:not(.asc-select--float-in)) ::ng-deep .p-select{height:var(--asc-h-lg);border-radius:12px}:host(.asc-select--lg:not(.asc-select--float-in)) ::ng-deep .p-multiselect{min-height:var(--asc-h-lg);border-radius:12px}:host(.asc-select--lg:not(.asc-select--float-in)) ::ng-deep .p-select-label,:host(.asc-select--lg:not(.asc-select--float-in)) ::ng-deep .p-multiselect-label{padding:0 10px;font-size:var(--asc-select-font-size);font-weight:400;line-height:var(--asc-select-line-height);display:block;align-content:center}:host(.asc-select--xl:not(.asc-select--float-in)) ::ng-deep .p-select{height:var(--asc-h-xl);border-radius:12px}:host(.asc-select--xl:not(.asc-select--float-in)) ::ng-deep .p-multiselect{min-height:var(--asc-h-xl);border-radius:12px}:host(.asc-select--xl:not(.asc-select--float-in)) ::ng-deep .p-select-label,:host(.asc-select--xl:not(.asc-select--float-in)) ::ng-deep .p-multiselect-label{padding:0 12px;font-size:var(--asc-select-font-size);font-weight:400;line-height:var(--asc-select-line-height);display:block;align-content:center}:host ::ng-deep .p-select-label,:host ::ng-deep .p-multiselect-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}:host ::ng-deep .p-multiselect-label{flex:1 1 auto}:host(.asc-select--multi) ::ng-deep .p-multiselect-display-chip .p-multiselect-label{display:flex;align-items:center}:host(.asc-select--xs) ::ng-deep .p-select-label,:host(.asc-select--xs) ::ng-deep .p-multiselect-label{line-height:var(--asc-select-line-height)}:host(.asc-select--sm) ::ng-deep .p-select-label,:host(.asc-select--sm) ::ng-deep .p-multiselect-label{line-height:var(--asc-select-line-height)}:host(.asc-select--md) ::ng-deep .p-select-label,:host(.asc-select--md) ::ng-deep .p-multiselect-label{line-height:var(--asc-select-line-height)}:host(.asc-select--lg) ::ng-deep .p-select-label,:host(.asc-select--lg) ::ng-deep .p-multiselect-label{line-height:var(--asc-select-line-height)}:host(.asc-select--xl) ::ng-deep .p-select-label,:host(.asc-select--xl) ::ng-deep .p-multiselect-label{line-height:var(--asc-select-line-height)}:host(.asc-select--xs:not(.asc-select--float-in)) ::ng-deep .p-select-label{height:var(--asc-h-xs)}:host(.asc-select--sm:not(.asc-select--float-in)) ::ng-deep .p-select-label{height:var(--asc-h-sm)}:host(.asc-select--md:not(.asc-select--float-in)) ::ng-deep .p-select-label{height:var(--asc-h-md)}:host(.asc-select--lg:not(.asc-select--float-in)) ::ng-deep .p-select-label{height:var(--asc-h-lg)}:host(.asc-select--xl:not(.asc-select--float-in)) ::ng-deep .p-select-label{height:var(--asc-h-xl)}:host{--p-icon-size: 20px}:host(.asc-select--xs){--p-icon-size: 14px}:host(.asc-select--xl){--p-icon-size: 24px}:host ::ng-deep .p-select-overlay,:host ::ng-deep .p-multiselect-overlay{--p-icon-size: 1rem}:host ::ng-deep .p-select-dropdown,:host ::ng-deep .p-multiselect-dropdown{--p-icon-size: 13px}:host ::ng-deep .p-select-dropdown-icon,:host ::ng-deep .p-multiselect-dropdown-icon{font-size:13px}:host ::ng-deep .p-select-clear-icon,:host ::ng-deep .p-multiselect-clear-icon{box-sizing:border-box;padding:calc(var(--p-icon-size) / 4);border-radius:50%;background:var(--asc-input-clear-bg, #DEDFE0);color:var(--asc-input-clear-color, #FFFFFF);cursor:pointer}:host ::ng-deep .p-select-clear-icon:hover,:host ::ng-deep .p-multiselect-clear-icon:hover{background:var(--asc-input-clear-bg-hover, #C0C0C2)}:host(.asc-select--disabled) ::ng-deep .p-select,:host(.asc-select--disabled) ::ng-deep .p-multiselect{border-color:var(--asc-formfield-disabled-border-color, #F2F3F5)}:host(.asc-select--invalid) ::ng-deep .p-select,:host(.asc-select--invalid) ::ng-deep .p-multiselect{border-color:var(--asc-border-color-invalid)!important}:host(.asc-select--invalid) ::ng-deep .p-select:focus-within,:host(.asc-select--invalid) ::ng-deep .p-multiselect:focus-within{box-shadow:0 0 0 3px color-mix(in srgb,var(--asc-color-danger) 20%,transparent)}\n"] }]
4058
4118
  }], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], optionLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionLabel", required: false }] }], optionValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionValue", required: false }] }], optionDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionDisabled", required: false }] }], optionGroupLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionGroupLabel", required: false }] }], optionGroupChildren: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionGroupChildren", required: false }] }], multi: [{ type: i0.Input, args: [{ isSignal: true, alias: "multi", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], filterable: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterable", required: false }] }], filterBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterBy", required: false }] }], showClear: [{ type: i0.Input, args: [{ isSignal: true, alias: "showClear", required: false }] }], grouped: [{ type: i0.Input, args: [{ isSignal: true, alias: "grouped", required: false }] }], display: [{ type: i0.Input, args: [{ isSignal: true, alias: "display", required: false }] }], maxSelectedLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxSelectedLabels", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], invalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalid", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], floatLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "floatLabel", required: false }] }], floatLabelVariant: [{ type: i0.Input, args: [{ isSignal: true, alias: "floatLabelVariant", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], virtualScroll: [{ type: i0.Input, args: [{ isSignal: true, alias: "virtualScroll", required: false }] }], virtualScrollItemSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "virtualScrollItemSize", required: false }] }], emptyMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyMessage", required: false }] }], emptyFilterMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyFilterMessage", required: false }] }], appendTo: [{ type: i0.Input, args: [{ isSignal: true, alias: "appendTo", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], panelStyleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "panelStyleClass", required: false }] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }], focused: [{ type: i0.Output, args: ["focused"] }], blurred: [{ type: i0.Output, args: ["blurred"] }], panelShow: [{ type: i0.Output, args: ["panelShow"] }], panelHide: [{ type: i0.Output, args: ["panelHide"] }], filterChange: [{ type: i0.Output, args: ["filterChange"] }] } });
4059
4119
 
4060
4120
  // ─────────────────────────────────────────────────────────────────────────────
@@ -4354,7 +4414,12 @@ class AscDatepickerComponent extends BaseControlAccessor {
4354
4414
  (onClearClick)="clearClick.emit($event)"
4355
4415
  (onMonthChange)="viewDateChange.emit($event)"
4356
4416
  (onYearChange)="viewDateChange.emit($event)"
4357
- ></p-datepicker>
4417
+ >
4418
+ <!-- Figma: icon lịch Phosphor CalendarDots (thay icon PrimeIcons) — cỡ theo --p-icon-size của size ô -->
4419
+ <ng-template #inputicon let-clickCallBack="clickCallBack">
4420
+ <asc-svg-icon name="calendar-dots" size="var(--p-icon-size)" class="p-datepicker-input-icon" (click)="clickCallBack($event)" />
4421
+ </ng-template>
4422
+ </p-datepicker>
4358
4423
  <label [for]="pickerId()">{{ label() }}</label>
4359
4424
  </p-floatlabel>
4360
4425
  } @else {
@@ -4393,13 +4458,18 @@ class AscDatepickerComponent extends BaseControlAccessor {
4393
4458
  (onClearClick)="clearClick.emit($event)"
4394
4459
  (onMonthChange)="viewDateChange.emit($event)"
4395
4460
  (onYearChange)="viewDateChange.emit($event)"
4396
- ></p-datepicker>
4461
+ >
4462
+ <!-- Figma: icon lịch Phosphor CalendarDots (thay icon PrimeIcons) — cỡ theo --p-icon-size của size ô -->
4463
+ <ng-template #inputicon let-clickCallBack="clickCallBack">
4464
+ <asc-svg-icon name="calendar-dots" size="var(--p-icon-size)" class="p-datepicker-input-icon" (click)="clickCallBack($event)" />
4465
+ </ng-template>
4466
+ </p-datepicker>
4397
4467
  }
4398
- `, isInline: true, styles: [":host{display:block;width:100%}::ng-deep p-datepicker,::ng-deep .p-datepicker{width:100%}::ng-deep .p-datepicker-input{width:100%;transition:border-color var(--asc-transition-fast),box-shadow var(--asc-transition-fast)}:host(.asc-datepicker--xs) ::ng-deep .p-datepicker-input{height:var(--asc-h-xs);padding-inline-start:8px;padding-inline-end:8px;border-radius:12px;font-size:var(--asc-datepicker-font-size);font-weight:400;line-height:var(--asc-datepicker-line-height)}:host(.asc-datepicker--sm) ::ng-deep .p-datepicker-input{height:var(--asc-h-sm);padding-inline-start:8px;padding-inline-end:8px;border-radius:12px;font-size:var(--asc-datepicker-font-size);font-weight:400;line-height:var(--asc-datepicker-line-height)}:host(.asc-datepicker--md) ::ng-deep .p-datepicker-input{height:var(--asc-h-md);padding-inline-start:8px;padding-inline-end:8px;border-radius:12px;font-size:var(--asc-datepicker-font-size);font-weight:400;line-height:var(--asc-datepicker-line-height)}:host(.asc-datepicker--lg) ::ng-deep .p-datepicker-input{height:var(--asc-h-lg);padding-inline-start:10px;padding-inline-end:10px;border-radius:12px;font-size:var(--asc-datepicker-font-size);font-weight:400;line-height:var(--asc-datepicker-line-height)}:host(.asc-datepicker--xl) ::ng-deep .p-datepicker-input{height:var(--asc-h-xl);padding-inline-start:12px;padding-inline-end:12px;border-radius:12px;font-size:var(--asc-datepicker-font-size);font-weight:400;line-height:var(--asc-datepicker-line-height)}:host ::ng-deep .p-datepicker-input-icon{color:var(--asc-icon-secondary)}:host(.asc-datepicker--filled) ::ng-deep .p-datepicker-input-icon{color:var(--asc-icon-primary)}:host(.asc-datepicker--disabled) ::ng-deep .p-datepicker-input-icon{color:var(--asc-icon-disabled)}:host{--p-icon-size: 20px}:host(.asc-datepicker--xs){--p-icon-size: 14px}:host(.asc-datepicker--xl){--p-icon-size: 24px}:host ::ng-deep .p-datepicker-panel{--p-icon-size: 1rem}:host ::ng-deep .p-datepicker:has(.p-datepicker-input-icon-container) .p-datepicker-input,:host ::ng-deep .p-datepicker:has(.p-datepicker-clear-icon) .p-datepicker-input{padding-inline-end:calc((var(--p-form-field-padding-x) * 2) + var(--p-icon-size))}:host ::ng-deep .p-datepicker:has(.p-datepicker-input-icon-container):has(.p-datepicker-clear-icon) .p-datepicker-input{padding-inline-end:calc((var(--p-form-field-padding-x) * 3) + (var(--p-icon-size) * 2))}:host ::ng-deep .p-datepicker-clear-icon{box-sizing:border-box;padding:calc(var(--p-icon-size) / 4);margin-top:calc(var(--p-icon-size) / -2);border-radius:50%;background:var(--asc-input-clear-bg, #DEDFE0);color:var(--asc-input-clear-color, #FFFFFF)}:host ::ng-deep .p-datepicker-clear-icon:hover{background:var(--asc-input-clear-bg-hover, #C0C0C2)}:host(.asc-datepicker--disabled) ::ng-deep .p-datepicker-input{border-color:var(--asc-formfield-disabled-border-color, #F2F3F5);color:var(--asc-text-disabled)}:host(.asc-datepicker--disabled) ::ng-deep .p-datepicker-input::placeholder{color:var(--asc-text-disabled)}:host(.asc-datepicker--invalid) ::ng-deep .p-datepicker-input{border-color:var(--asc-border-color-invalid)!important}:host(.asc-datepicker--invalid) ::ng-deep .p-datepicker-input:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--asc-color-danger) 20%,transparent)}:host(.asc-datepicker--inline){width:auto}::ng-deep .p-datepicker-day-cell.p-datepicker-day-in-range{background:var(--asc-color-primary-lighter)}:host(.asc-datepicker--xs){--asc-datepicker-font-size: var(--asc-control-font-size-xs);--asc-datepicker-line-height: var(--asc-control-line-height-xs)}:host(.asc-datepicker--sm){--asc-datepicker-font-size: var(--asc-control-font-size-sm);--asc-datepicker-line-height: var(--asc-control-line-height-sm)}:host(.asc-datepicker--md){--asc-datepicker-font-size: var(--asc-control-font-size-md);--asc-datepicker-line-height: var(--asc-control-line-height-md)}:host(.asc-datepicker--lg){--asc-datepicker-font-size: var(--asc-control-font-size-lg);--asc-datepicker-line-height: var(--asc-control-line-height-lg)}:host(.asc-datepicker--xl){--asc-datepicker-font-size: var(--asc-control-font-size-xl);--asc-datepicker-line-height: var(--asc-control-line-height-xl)}.asc-datepicker-view{font-size:var(--asc-datepicker-font-size);line-height:var(--asc-datepicker-line-height);display:block;width:100%;min-height:20px;box-sizing:border-box;color:var(--asc-text-primary);word-break:break-word}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: DatePickerModule }, { kind: "component", type: i2$4.DatePicker, selector: "p-datePicker, p-datepicker, p-date-picker", inputs: ["iconDisplay", "styleClass", "inputStyle", "inputId", "inputStyleClass", "placeholder", "ariaLabelledBy", "ariaLabel", "iconAriaLabel", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "readonlyInput", "shortYearCutoff", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "showOnFocus", "showWeek", "startWeekFromFirstDayOfYear", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autofocus", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "minDate", "maxDate", "disabledDates", "disabledDays", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "view", "defaultDate", "appendTo", "motionOptions"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }, { kind: "ngmodule", type: FloatLabelModule }, { kind: "component", type: i3.FloatLabel, selector: "p-floatlabel, p-floatLabel, p-float-label", inputs: ["variant"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4468
+ `, isInline: true, styles: [":host{display:block;width:100%}::ng-deep p-datepicker,::ng-deep .p-datepicker{width:100%}::ng-deep .p-datepicker-input{width:100%;transition:border-color var(--asc-transition-fast),box-shadow var(--asc-transition-fast)}:host(.asc-datepicker--xs) ::ng-deep .p-datepicker-input{height:var(--asc-h-xs);padding-inline-start:8px;padding-inline-end:8px;border-radius:12px;font-size:var(--asc-datepicker-font-size);font-weight:400;line-height:var(--asc-datepicker-line-height)}:host(.asc-datepicker--sm) ::ng-deep .p-datepicker-input{height:var(--asc-h-sm);padding-inline-start:8px;padding-inline-end:8px;border-radius:12px;font-size:var(--asc-datepicker-font-size);font-weight:400;line-height:var(--asc-datepicker-line-height)}:host(.asc-datepicker--md) ::ng-deep .p-datepicker-input{height:var(--asc-h-md);padding-inline-start:8px;padding-inline-end:8px;border-radius:12px;font-size:var(--asc-datepicker-font-size);font-weight:400;line-height:var(--asc-datepicker-line-height)}:host(.asc-datepicker--lg) ::ng-deep .p-datepicker-input{height:var(--asc-h-lg);padding-inline-start:10px;padding-inline-end:10px;border-radius:12px;font-size:var(--asc-datepicker-font-size);font-weight:400;line-height:var(--asc-datepicker-line-height)}:host(.asc-datepicker--xl) ::ng-deep .p-datepicker-input{height:var(--asc-h-xl);padding-inline-start:12px;padding-inline-end:12px;border-radius:12px;font-size:var(--asc-datepicker-font-size);font-weight:400;line-height:var(--asc-datepicker-line-height)}:host ::ng-deep .p-datepicker-input-icon{color:var(--asc-icon-secondary)}:host(.asc-datepicker--filled) ::ng-deep .p-datepicker-input-icon{color:var(--asc-icon-primary)}:host(.asc-datepicker--disabled) ::ng-deep .p-datepicker-input-icon{color:var(--asc-icon-disabled)}:host{--p-icon-size: 20px}:host(.asc-datepicker--xs){--p-icon-size: 14px}:host(.asc-datepicker--xl){--p-icon-size: 24px}:host ::ng-deep .p-datepicker-panel{--p-icon-size: 1rem}:host ::ng-deep .p-datepicker:has(.p-datepicker-input-icon-container) .p-datepicker-input,:host ::ng-deep .p-datepicker:has(.p-datepicker-clear-icon) .p-datepicker-input{padding-inline-end:calc((var(--p-form-field-padding-x) * 2) + var(--p-icon-size))}:host ::ng-deep .p-datepicker:has(.p-datepicker-input-icon-container):has(.p-datepicker-clear-icon) .p-datepicker-input{padding-inline-end:calc((var(--p-form-field-padding-x) * 3) + (var(--p-icon-size) * 2))}:host ::ng-deep .p-datepicker-clear-icon{box-sizing:border-box;padding:calc(var(--p-icon-size) / 4);margin-top:calc(var(--p-icon-size) / -2);border-radius:50%;background:var(--asc-input-clear-bg, #DEDFE0);color:var(--asc-input-clear-color, #FFFFFF)}:host ::ng-deep .p-datepicker-clear-icon:hover{background:var(--asc-input-clear-bg-hover, #C0C0C2)}:host(.asc-datepicker--disabled) ::ng-deep .p-datepicker-input{border-color:var(--asc-formfield-disabled-border-color, #F2F3F5);color:var(--asc-text-disabled)}:host(.asc-datepicker--disabled) ::ng-deep .p-datepicker-input::placeholder{color:var(--asc-text-disabled)}:host(.asc-datepicker--invalid) ::ng-deep .p-datepicker-input{border-color:var(--asc-border-color-invalid)!important}:host(.asc-datepicker--invalid) ::ng-deep .p-datepicker-input:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--asc-color-danger) 20%,transparent)}:host(.asc-datepicker--inline){width:auto}::ng-deep .p-datepicker-day-cell.p-datepicker-day-in-range{background:var(--asc-color-primary-lighter)}:host(.asc-datepicker--xs){--asc-datepicker-font-size: var(--asc-control-font-size-xs);--asc-datepicker-line-height: var(--asc-control-line-height-xs)}:host(.asc-datepicker--sm){--asc-datepicker-font-size: var(--asc-control-font-size-sm);--asc-datepicker-line-height: var(--asc-control-line-height-sm)}:host(.asc-datepicker--md){--asc-datepicker-font-size: var(--asc-control-font-size-md);--asc-datepicker-line-height: var(--asc-control-line-height-md)}:host(.asc-datepicker--lg){--asc-datepicker-font-size: var(--asc-control-font-size-lg);--asc-datepicker-line-height: var(--asc-control-line-height-lg)}:host(.asc-datepicker--xl){--asc-datepicker-font-size: var(--asc-control-font-size-xl);--asc-datepicker-line-height: var(--asc-control-line-height-xl)}.asc-datepicker-view{font-size:var(--asc-datepicker-font-size);line-height:var(--asc-datepicker-line-height);display:block;width:100%;min-height:20px;box-sizing:border-box;color:var(--asc-text-primary);word-break:break-word}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: DatePickerModule }, { kind: "component", type: i2$4.DatePicker, selector: "p-datePicker, p-datepicker, p-date-picker", inputs: ["iconDisplay", "styleClass", "inputStyle", "inputId", "inputStyleClass", "placeholder", "ariaLabelledBy", "ariaLabel", "iconAriaLabel", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "readonlyInput", "shortYearCutoff", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "showOnFocus", "showWeek", "startWeekFromFirstDayOfYear", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autofocus", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "minDate", "maxDate", "disabledDates", "disabledDays", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "view", "defaultDate", "appendTo", "motionOptions"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }, { kind: "ngmodule", type: FloatLabelModule }, { kind: "component", type: i3.FloatLabel, selector: "p-floatlabel, p-floatLabel, p-float-label", inputs: ["variant"] }, { kind: "component", type: AscSvgIconComponent, selector: "asc-svg-icon", inputs: ["name", "size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4399
4469
  }
4400
4470
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: AscDatepickerComponent, decorators: [{
4401
4471
  type: Component,
4402
- args: [{ selector: 'asc-datepicker', standalone: true, imports: [FormsModule, DatePickerModule, FloatLabelModule], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
4472
+ args: [{ selector: 'asc-datepicker', standalone: true, imports: [FormsModule, DatePickerModule, FloatLabelModule, AscSvgIconComponent], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
4403
4473
  {
4404
4474
  provide: ASC_BASE_CONTROL,
4405
4475
  useExisting: forwardRef(() => AscDatepickerComponent),
@@ -4446,7 +4516,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
4446
4516
  (onClearClick)="clearClick.emit($event)"
4447
4517
  (onMonthChange)="viewDateChange.emit($event)"
4448
4518
  (onYearChange)="viewDateChange.emit($event)"
4449
- ></p-datepicker>
4519
+ >
4520
+ <!-- Figma: icon lịch Phosphor CalendarDots (thay icon PrimeIcons) — cỡ theo --p-icon-size của size ô -->
4521
+ <ng-template #inputicon let-clickCallBack="clickCallBack">
4522
+ <asc-svg-icon name="calendar-dots" size="var(--p-icon-size)" class="p-datepicker-input-icon" (click)="clickCallBack($event)" />
4523
+ </ng-template>
4524
+ </p-datepicker>
4450
4525
  <label [for]="pickerId()">{{ label() }}</label>
4451
4526
  </p-floatlabel>
4452
4527
  } @else {
@@ -4485,7 +4560,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
4485
4560
  (onClearClick)="clearClick.emit($event)"
4486
4561
  (onMonthChange)="viewDateChange.emit($event)"
4487
4562
  (onYearChange)="viewDateChange.emit($event)"
4488
- ></p-datepicker>
4563
+ >
4564
+ <!-- Figma: icon lịch Phosphor CalendarDots (thay icon PrimeIcons) — cỡ theo --p-icon-size của size ô -->
4565
+ <ng-template #inputicon let-clickCallBack="clickCallBack">
4566
+ <asc-svg-icon name="calendar-dots" size="var(--p-icon-size)" class="p-datepicker-input-icon" (click)="clickCallBack($event)" />
4567
+ </ng-template>
4568
+ </p-datepicker>
4489
4569
  }
4490
4570
  `, styles: [":host{display:block;width:100%}::ng-deep p-datepicker,::ng-deep .p-datepicker{width:100%}::ng-deep .p-datepicker-input{width:100%;transition:border-color var(--asc-transition-fast),box-shadow var(--asc-transition-fast)}:host(.asc-datepicker--xs) ::ng-deep .p-datepicker-input{height:var(--asc-h-xs);padding-inline-start:8px;padding-inline-end:8px;border-radius:12px;font-size:var(--asc-datepicker-font-size);font-weight:400;line-height:var(--asc-datepicker-line-height)}:host(.asc-datepicker--sm) ::ng-deep .p-datepicker-input{height:var(--asc-h-sm);padding-inline-start:8px;padding-inline-end:8px;border-radius:12px;font-size:var(--asc-datepicker-font-size);font-weight:400;line-height:var(--asc-datepicker-line-height)}:host(.asc-datepicker--md) ::ng-deep .p-datepicker-input{height:var(--asc-h-md);padding-inline-start:8px;padding-inline-end:8px;border-radius:12px;font-size:var(--asc-datepicker-font-size);font-weight:400;line-height:var(--asc-datepicker-line-height)}:host(.asc-datepicker--lg) ::ng-deep .p-datepicker-input{height:var(--asc-h-lg);padding-inline-start:10px;padding-inline-end:10px;border-radius:12px;font-size:var(--asc-datepicker-font-size);font-weight:400;line-height:var(--asc-datepicker-line-height)}:host(.asc-datepicker--xl) ::ng-deep .p-datepicker-input{height:var(--asc-h-xl);padding-inline-start:12px;padding-inline-end:12px;border-radius:12px;font-size:var(--asc-datepicker-font-size);font-weight:400;line-height:var(--asc-datepicker-line-height)}:host ::ng-deep .p-datepicker-input-icon{color:var(--asc-icon-secondary)}:host(.asc-datepicker--filled) ::ng-deep .p-datepicker-input-icon{color:var(--asc-icon-primary)}:host(.asc-datepicker--disabled) ::ng-deep .p-datepicker-input-icon{color:var(--asc-icon-disabled)}:host{--p-icon-size: 20px}:host(.asc-datepicker--xs){--p-icon-size: 14px}:host(.asc-datepicker--xl){--p-icon-size: 24px}:host ::ng-deep .p-datepicker-panel{--p-icon-size: 1rem}:host ::ng-deep .p-datepicker:has(.p-datepicker-input-icon-container) .p-datepicker-input,:host ::ng-deep .p-datepicker:has(.p-datepicker-clear-icon) .p-datepicker-input{padding-inline-end:calc((var(--p-form-field-padding-x) * 2) + var(--p-icon-size))}:host ::ng-deep .p-datepicker:has(.p-datepicker-input-icon-container):has(.p-datepicker-clear-icon) .p-datepicker-input{padding-inline-end:calc((var(--p-form-field-padding-x) * 3) + (var(--p-icon-size) * 2))}:host ::ng-deep .p-datepicker-clear-icon{box-sizing:border-box;padding:calc(var(--p-icon-size) / 4);margin-top:calc(var(--p-icon-size) / -2);border-radius:50%;background:var(--asc-input-clear-bg, #DEDFE0);color:var(--asc-input-clear-color, #FFFFFF)}:host ::ng-deep .p-datepicker-clear-icon:hover{background:var(--asc-input-clear-bg-hover, #C0C0C2)}:host(.asc-datepicker--disabled) ::ng-deep .p-datepicker-input{border-color:var(--asc-formfield-disabled-border-color, #F2F3F5);color:var(--asc-text-disabled)}:host(.asc-datepicker--disabled) ::ng-deep .p-datepicker-input::placeholder{color:var(--asc-text-disabled)}:host(.asc-datepicker--invalid) ::ng-deep .p-datepicker-input{border-color:var(--asc-border-color-invalid)!important}:host(.asc-datepicker--invalid) ::ng-deep .p-datepicker-input:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--asc-color-danger) 20%,transparent)}:host(.asc-datepicker--inline){width:auto}::ng-deep .p-datepicker-day-cell.p-datepicker-day-in-range{background:var(--asc-color-primary-lighter)}:host(.asc-datepicker--xs){--asc-datepicker-font-size: var(--asc-control-font-size-xs);--asc-datepicker-line-height: var(--asc-control-line-height-xs)}:host(.asc-datepicker--sm){--asc-datepicker-font-size: var(--asc-control-font-size-sm);--asc-datepicker-line-height: var(--asc-control-line-height-sm)}:host(.asc-datepicker--md){--asc-datepicker-font-size: var(--asc-control-font-size-md);--asc-datepicker-line-height: var(--asc-control-line-height-md)}:host(.asc-datepicker--lg){--asc-datepicker-font-size: var(--asc-control-font-size-lg);--asc-datepicker-line-height: var(--asc-control-line-height-lg)}:host(.asc-datepicker--xl){--asc-datepicker-font-size: var(--asc-control-font-size-xl);--asc-datepicker-line-height: var(--asc-control-line-height-xl)}.asc-datepicker-view{font-size:var(--asc-datepicker-font-size);line-height:var(--asc-datepicker-line-height);display:block;width:100%;min-height:20px;box-sizing:border-box;color:var(--asc-text-primary);word-break:break-word}\n"] }]
4491
4571
  }], propDecorators: { selectionMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectionMode", required: false }] }], view: [{ type: i0.Input, args: [{ isSignal: true, alias: "view", required: false }] }], dateFormat: [{ type: i0.Input, args: [{ isSignal: true, alias: "dateFormat", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], showTime: [{ type: i0.Input, args: [{ isSignal: true, alias: "showTime", required: false }] }], timeOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "timeOnly", required: false }] }], hourFormat: [{ type: i0.Input, args: [{ isSignal: true, alias: "hourFormat", required: false }] }], showButtonBar: [{ type: i0.Input, args: [{ isSignal: true, alias: "showButtonBar", required: false }] }], showIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "showIcon", required: false }] }], showWeek: [{ type: i0.Input, args: [{ isSignal: true, alias: "showWeek", required: false }] }], inline: [{ type: i0.Input, args: [{ isSignal: true, alias: "inline", required: false }] }], numberOfMonths: [{ type: i0.Input, args: [{ isSignal: true, alias: "numberOfMonths", required: false }] }], firstDayOfWeek: [{ type: i0.Input, args: [{ isSignal: true, alias: "firstDayOfWeek", required: false }] }], minDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "minDate", required: false }] }], maxDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxDate", required: false }] }], disabledDates: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabledDates", required: false }] }], disabledDays: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabledDays", required: false }] }], readonlyInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonlyInput", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], invalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalid", required: false }] }], floatLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "floatLabel", required: false }] }], floatLabelVariant: [{ type: i0.Input, args: [{ isSignal: true, alias: "floatLabelVariant", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], appendTo: [{ type: i0.Input, args: [{ isSignal: true, alias: "appendTo", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }], focused: [{ type: i0.Output, args: ["focused"] }], blurred: [{ type: i0.Output, args: ["blurred"] }], dateSelect: [{ type: i0.Output, args: ["dateSelect"] }], viewDateChange: [{ type: i0.Output, args: ["viewDateChange"] }], todayClick: [{ type: i0.Output, args: ["todayClick"] }], clearClick: [{ type: i0.Output, args: ["clearClick"] }] } });
@@ -7985,7 +8065,7 @@ class AscDialogComponent {
7985
8065
  this.showed.emit();
7986
8066
  }
7987
8067
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: AscDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7988
- 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", "iconSrc", "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 }); }
8068
+ 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 -->\r\n<p-dialog\r\n [(visible)]=\"visible\"\r\n [modal]=\"modal()\"\r\n [closable]=\"closable()\"\r\n [closeOnEscape]=\"closeOnEscape()\"\r\n [dismissableMask]=\"dismissableMask()\"\r\n [maximizable]=\"maximizable()\"\r\n [draggable]=\"draggable()\"\r\n [resizable]=\"resizable()\"\r\n [position]=\"position()\"\r\n [style]=\"{ width: dialogWidth() }\"\r\n [styleClass]=\"dialogStyleClass()\"\r\n [contentStyleClass]=\"'asc-dialog-content'\"\r\n (onShow)=\"onShow()\"\r\n (onHide)=\"onHide()\"\r\n>\r\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 -->\r\n <ng-template #header>\r\n @if (headerTpl()) {\r\n <ng-container [ngTemplateOutlet]=\"headerTpl()!.templateRef\" />\r\n } @else {\r\n <div class=\"asc-dialog-header-default\">\r\n @if (headerIcon()) {\r\n <i [class]=\"headerIcon() + ' asc-dialog-header-icon'\" aria-hidden=\"true\"></i>\r\n }\r\n <span class=\"asc-dialog-title\">{{ headerLabel() }}</span>\r\n </div>\r\n }\r\n </ng-template>\r\n\r\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 -->\r\n <ng-content />\r\n\r\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 -->\r\n <!-- Kh\u00F4ng c\u00F3 footer (showFooter=false, kh\u00F4ng ascDialogFooter) \u2192 kh\u00F4ng khai template \u0111\u1EC3 p-dialog\r\n kh\u00F4ng render .p-dialog-footer r\u1ED7ng (margin + padding th\u1EEBa ~28px d\u01B0\u1EDBi \u0111\u00E1y) -->\r\n @if (footerTpl() || showFooter()) {\r\n <ng-template #footer>\r\n @if (footerTpl()) {\r\n <ng-container [ngTemplateOutlet]=\"footerTpl()!.templateRef\" />\r\n } @else {\r\n <div class=\"asc-dialog-footer-default\">\r\n <!-- H\u1EE7y: Outline thu\u1EA7n (kh\u00F4ng secondary) \u2014 Figma Button/Outline -->\r\n <asc-button\r\n [label]=\"resolvedCancelLabel()\"\r\n variant=\"outlined\"\r\n [disabled]=\"confirmLoading()\"\r\n (clicked)=\"onCancel()\"\r\n />\r\n <asc-button\r\n [label]=\"resolvedConfirmLabel()\"\r\n [severity]=\"confirmSeverity()\"\r\n [icon]=\"confirmIcon()\"\r\n [loading]=\"confirmLoading()\"\r\n [disabled]=\"confirmDisabled()\"\r\n (clicked)=\"onConfirm()\"\r\n />\r\n </div>\r\n }\r\n </ng-template>\r\n }\r\n</p-dialog>\r\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", "iconSrc", "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 }); }
7989
8069
  }
7990
8070
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: AscDialogComponent, decorators: [{
7991
8071
  type: Component,
@@ -7993,7 +8073,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
7993
8073
  DialogModule,
7994
8074
  AscButtonComponent,
7995
8075
  NgTemplateOutlet,
7996
- ], 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"] }]
8076
+ ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- @file asc-dialog.html -->\r\n<p-dialog\r\n [(visible)]=\"visible\"\r\n [modal]=\"modal()\"\r\n [closable]=\"closable()\"\r\n [closeOnEscape]=\"closeOnEscape()\"\r\n [dismissableMask]=\"dismissableMask()\"\r\n [maximizable]=\"maximizable()\"\r\n [draggable]=\"draggable()\"\r\n [resizable]=\"resizable()\"\r\n [position]=\"position()\"\r\n [style]=\"{ width: dialogWidth() }\"\r\n [styleClass]=\"dialogStyleClass()\"\r\n [contentStyleClass]=\"'asc-dialog-content'\"\r\n (onShow)=\"onShow()\"\r\n (onHide)=\"onHide()\"\r\n>\r\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 -->\r\n <ng-template #header>\r\n @if (headerTpl()) {\r\n <ng-container [ngTemplateOutlet]=\"headerTpl()!.templateRef\" />\r\n } @else {\r\n <div class=\"asc-dialog-header-default\">\r\n @if (headerIcon()) {\r\n <i [class]=\"headerIcon() + ' asc-dialog-header-icon'\" aria-hidden=\"true\"></i>\r\n }\r\n <span class=\"asc-dialog-title\">{{ headerLabel() }}</span>\r\n </div>\r\n }\r\n </ng-template>\r\n\r\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 -->\r\n <ng-content />\r\n\r\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 -->\r\n <!-- Kh\u00F4ng c\u00F3 footer (showFooter=false, kh\u00F4ng ascDialogFooter) \u2192 kh\u00F4ng khai template \u0111\u1EC3 p-dialog\r\n kh\u00F4ng render .p-dialog-footer r\u1ED7ng (margin + padding th\u1EEBa ~28px d\u01B0\u1EDBi \u0111\u00E1y) -->\r\n @if (footerTpl() || showFooter()) {\r\n <ng-template #footer>\r\n @if (footerTpl()) {\r\n <ng-container [ngTemplateOutlet]=\"footerTpl()!.templateRef\" />\r\n } @else {\r\n <div class=\"asc-dialog-footer-default\">\r\n <!-- H\u1EE7y: Outline thu\u1EA7n (kh\u00F4ng secondary) \u2014 Figma Button/Outline -->\r\n <asc-button\r\n [label]=\"resolvedCancelLabel()\"\r\n variant=\"outlined\"\r\n [disabled]=\"confirmLoading()\"\r\n (clicked)=\"onCancel()\"\r\n />\r\n <asc-button\r\n [label]=\"resolvedConfirmLabel()\"\r\n [severity]=\"confirmSeverity()\"\r\n [icon]=\"confirmIcon()\"\r\n [loading]=\"confirmLoading()\"\r\n [disabled]=\"confirmDisabled()\"\r\n (clicked)=\"onConfirm()\"\r\n />\r\n </div>\r\n }\r\n </ng-template>\r\n }\r\n</p-dialog>\r\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"] }]
7997
8077
  }], 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"] }] } });
7998
8078
 
7999
8079
  /**
@@ -9590,6 +9670,12 @@ class AscCardComponent {
9590
9670
  /** Border radius — none · xs · sm · md · lg (mặc định) · xl · 2xl · 3xl · full */
9591
9671
  this.rounded = input('lg', /* @ts-ignore */
9592
9672
  ...(ngDevMode ? [{ debugName: "rounded" }] : /* istanbul ignore next */ []));
9673
+ /**
9674
+ * Kiểu card: `default` (nền + shadow) · `flat` (bỏ nền, shadow, padding thân — dùng cho card lồng
9675
+ * trong trang, tiêu đề + nội dung thẳng hàng với nội dung trang).
9676
+ */
9677
+ this.variant = input('default', /* @ts-ignore */
9678
+ ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
9593
9679
  /** CSS class bổ sung vào host */
9594
9680
  this.styleClass = input('', /* @ts-ignore */
9595
9681
  ...(ngDevMode ? [{ debugName: "styleClass" }] : /* istanbul ignore next */ []));
@@ -9600,56 +9686,56 @@ class AscCardComponent {
9600
9686
  ...(ngDevMode ? [{ debugName: "_simpleSubtitle" }] : /* istanbul ignore next */ []));
9601
9687
  this._innerCls = computed(() => ascCls(SHADOW_CLS[this.shadow()], RADIUS_CLS[this.rounded()]), /* @ts-ignore */
9602
9688
  ...(ngDevMode ? [{ debugName: "_innerCls" }] : /* istanbul ignore next */ []));
9603
- this._hostCls = computed(() => ascCls('asc-card', this.styleClass()), /* @ts-ignore */
9689
+ this._hostCls = computed(() => ascCls('asc-card', this.variant() === 'flat' && 'asc-card--flat', this.shadow() === 'none' && 'asc-card--shadow-none', this.styleClass()), /* @ts-ignore */
9604
9690
  ...(ngDevMode ? [{ debugName: "_hostCls" }] : /* istanbul ignore next */ []));
9605
9691
  }
9606
9692
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: AscCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9607
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: AscCardComponent, isStandalone: true, selector: "asc-card", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: false, transformFunction: null }, shadow: { classPropertyName: "shadow", publicName: "shadow", isSignal: true, isRequired: false, transformFunction: null }, rounded: { classPropertyName: "rounded", publicName: "rounded", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "_hostCls()" } }, queries: [{ propertyName: "_headerTpl", first: true, predicate: AscCardHeaderDirective, descendants: true, isSignal: true }, { propertyName: "_footerTpl", first: true, predicate: AscCardFooterDirective, descendants: true, isSignal: true }], ngImport: i0, template: `
9608
- <p-card
9609
- [header]="_simpleTitle()"
9610
- [subheader]="_simpleSubtitle()"
9611
- [class]="_innerCls()">
9612
-
9613
- @if (_headerTpl()) {
9614
- <ng-template #header>
9615
- <ng-container [ngTemplateOutlet]="_headerTpl()!.templateRef" />
9616
- </ng-template>
9617
- }
9618
-
9619
- @if (_footerTpl()) {
9620
- <ng-template #footer>
9621
- <ng-container [ngTemplateOutlet]="_footerTpl()!.templateRef" />
9622
- </ng-template>
9623
- }
9624
-
9625
- <ng-content />
9626
- </p-card>
9627
- `, isInline: true, styles: [":host{display:block}:host ::ng-deep .p-card-header{padding:16px 20px;border-bottom:1px solid var(--p-surface-200)}\n"], dependencies: [{ kind: "component", type: Card, selector: "p-card", inputs: ["header", "subheader", "style", "styleClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
9693
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: AscCardComponent, isStandalone: true, selector: "asc-card", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: false, transformFunction: null }, shadow: { classPropertyName: "shadow", publicName: "shadow", isSignal: true, isRequired: false, transformFunction: null }, rounded: { classPropertyName: "rounded", publicName: "rounded", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "_hostCls()" } }, queries: [{ propertyName: "_headerTpl", first: true, predicate: AscCardHeaderDirective, descendants: true, isSignal: true }, { propertyName: "_footerTpl", first: true, predicate: AscCardFooterDirective, descendants: true, isSignal: true }], ngImport: i0, template: `
9694
+ <p-card
9695
+ [header]="_simpleTitle()"
9696
+ [subheader]="_simpleSubtitle()"
9697
+ [class]="_innerCls()">
9698
+
9699
+ @if (_headerTpl()) {
9700
+ <ng-template #header>
9701
+ <ng-container [ngTemplateOutlet]="_headerTpl()!.templateRef" />
9702
+ </ng-template>
9703
+ }
9704
+
9705
+ @if (_footerTpl()) {
9706
+ <ng-template #footer>
9707
+ <ng-container [ngTemplateOutlet]="_footerTpl()!.templateRef" />
9708
+ </ng-template>
9709
+ }
9710
+
9711
+ <ng-content />
9712
+ </p-card>
9713
+ `, isInline: true, styles: [":host{display:block}:host ::ng-deep .p-card-header{padding:16px 20px;border-bottom:1px solid var(--p-surface-200)}:host(.asc-card--shadow-none) ::ng-deep .p-card{box-shadow:none}:host(.asc-card--flat) ::ng-deep .p-card{background:var(--asc-card-flat-bg, transparent);box-shadow:none;border:none}:host(.asc-card--flat) ::ng-deep .p-card-body{padding:var(--asc-card-flat-body-padding, 0)}\n"], dependencies: [{ kind: "component", type: Card, selector: "p-card", inputs: ["header", "subheader", "style", "styleClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
9628
9714
  }
9629
9715
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: AscCardComponent, decorators: [{
9630
9716
  type: Component,
9631
- args: [{ selector: 'asc-card', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [Card, NgTemplateOutlet], host: { '[class]': '_hostCls()' }, template: `
9632
- <p-card
9633
- [header]="_simpleTitle()"
9634
- [subheader]="_simpleSubtitle()"
9635
- [class]="_innerCls()">
9636
-
9637
- @if (_headerTpl()) {
9638
- <ng-template #header>
9639
- <ng-container [ngTemplateOutlet]="_headerTpl()!.templateRef" />
9640
- </ng-template>
9641
- }
9642
-
9643
- @if (_footerTpl()) {
9644
- <ng-template #footer>
9645
- <ng-container [ngTemplateOutlet]="_footerTpl()!.templateRef" />
9646
- </ng-template>
9647
- }
9648
-
9649
- <ng-content />
9650
- </p-card>
9651
- `, styles: [":host{display:block}:host ::ng-deep .p-card-header{padding:16px 20px;border-bottom:1px solid var(--p-surface-200)}\n"] }]
9652
- }], propDecorators: { _headerTpl: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AscCardHeaderDirective), { isSignal: true }] }], _footerTpl: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AscCardFooterDirective), { isSignal: true }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], subtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtitle", required: false }] }], shadow: [{ type: i0.Input, args: [{ isSignal: true, alias: "shadow", required: false }] }], rounded: [{ type: i0.Input, args: [{ isSignal: true, alias: "rounded", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }] } });
9717
+ args: [{ selector: 'asc-card', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [Card, NgTemplateOutlet], host: { '[class]': '_hostCls()' }, template: `
9718
+ <p-card
9719
+ [header]="_simpleTitle()"
9720
+ [subheader]="_simpleSubtitle()"
9721
+ [class]="_innerCls()">
9722
+
9723
+ @if (_headerTpl()) {
9724
+ <ng-template #header>
9725
+ <ng-container [ngTemplateOutlet]="_headerTpl()!.templateRef" />
9726
+ </ng-template>
9727
+ }
9728
+
9729
+ @if (_footerTpl()) {
9730
+ <ng-template #footer>
9731
+ <ng-container [ngTemplateOutlet]="_footerTpl()!.templateRef" />
9732
+ </ng-template>
9733
+ }
9734
+
9735
+ <ng-content />
9736
+ </p-card>
9737
+ `, styles: [":host{display:block}:host ::ng-deep .p-card-header{padding:16px 20px;border-bottom:1px solid var(--p-surface-200)}:host(.asc-card--shadow-none) ::ng-deep .p-card{box-shadow:none}:host(.asc-card--flat) ::ng-deep .p-card{background:var(--asc-card-flat-bg, transparent);box-shadow:none;border:none}:host(.asc-card--flat) ::ng-deep .p-card-body{padding:var(--asc-card-flat-body-padding, 0)}\n"] }]
9738
+ }], propDecorators: { _headerTpl: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AscCardHeaderDirective), { isSignal: true }] }], _footerTpl: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AscCardFooterDirective), { isSignal: true }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], subtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtitle", required: false }] }], shadow: [{ type: i0.Input, args: [{ isSignal: true, alias: "shadow", required: false }] }], rounded: [{ type: i0.Input, args: [{ isSignal: true, alias: "rounded", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }] } });
9653
9739
 
9654
9740
  /**
9655
9741
  * Divider phân cách nội dung theo chiều ngang hoặc dọc, với nội dung tuỳ chọn ở giữa.
@@ -10275,6 +10361,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
10275
10361
  `, styles: [":host{position:fixed;inset:0;z-index:10000;background:#00000073;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.overlay-message{color:#fff;font-size:14px;font-weight:500;letter-spacing:.01em;text-shadow:0 1px 3px rgba(0,0,0,.4)}\n"] }]
10276
10362
  }], propDecorators: { visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }], message: [{ type: i0.Input, args: [{ isSignal: true, alias: "message", required: false }] }] } });
10277
10363
 
10364
+ /** `prefix` là tiền tố theo segment của `path`. Đường dẫn rỗng (`/`) chỉ khớp đường dẫn rỗng. */
10365
+ function isPathPrefix(prefix, path) {
10366
+ if (prefix.length === 0)
10367
+ return path.length === 0;
10368
+ return prefix.length <= path.length && prefix.every((seg, i) => seg === path[i]);
10369
+ }
10278
10370
  class LayoutService {
10279
10371
  constructor() {
10280
10372
  this.configUpdate = new Subject();
@@ -10327,6 +10419,15 @@ class LayoutService {
10327
10419
  ...(ngDevMode ? [{ debugName: "isRail" }] : /* istanbul ignore next */ []));
10328
10420
  this.transitionComplete = signal(false, /* @ts-ignore */
10329
10421
  ...(ngDevMode ? [{ debugName: "transitionComplete" }] : /* istanbul ignore next */ []));
10422
+ /** Cách xác định mục menu active — AscLayout đặt theo input / config `layout.menuActiveMatch`. */
10423
+ this.menuActiveMatch = signal('exact', /* @ts-ignore */
10424
+ ...(ngDevMode ? [{ debugName: "menuActiveMatch" }] : /* istanbul ignore next */ []));
10425
+ /** Đường dẫn (theo segment) của mọi mục menu có `routerLink` đang hiển thị — AppMenu cập nhật theo model. */
10426
+ this.menuLinkPaths = signal([], /* @ts-ignore */
10427
+ ...(ngDevMode ? [{ debugName: "menuLinkPaths" }] : /* istanbul ignore next */ []));
10428
+ /** URL hiện tại (AppMenu cập nhật sau mỗi lần điều hướng) — để template mục menu tính lại active. */
10429
+ this.menuUrl = signal('', /* @ts-ignore */
10430
+ ...(ngDevMode ? [{ debugName: "menuUrl" }] : /* istanbul ignore next */ []));
10330
10431
  effect(() => {
10331
10432
  const config = this.layoutConfig();
10332
10433
  if (config) {
@@ -10402,6 +10503,16 @@ class LayoutService {
10402
10503
  this.transitionComplete.set(false);
10403
10504
  });
10404
10505
  }
10506
+ /**
10507
+ * Chế độ 'longest-prefix': `linkPath` có phải mục menu khớp dài nhất với `urlPath` không.
10508
+ * Khớp = `linkPath` là tiền tố (theo segment) của `urlPath`; mục gốc (`/`, không segment) chỉ khớp đúng `/`.
10509
+ */
10510
+ isLongestMenuPrefix(linkPath, urlPath) {
10511
+ if (!isPathPrefix(linkPath, urlPath))
10512
+ return false;
10513
+ const longest = this.menuLinkPaths().reduce((max, p) => (p.length > max && isPathPrefix(p, urlPath) ? p.length : max), 0);
10514
+ return linkPath.length === longest;
10515
+ }
10405
10516
  isDesktop() {
10406
10517
  return window.innerWidth > 991;
10407
10518
  }
@@ -10544,6 +10655,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
10544
10655
 
10545
10656
  /** Khoảng cách popup dạng dải ↔ mép sidebar / mép màn hình */
10546
10657
  const RAIL_POPUP_GAP = 8;
10658
+ const EXACT_MATCH = {
10659
+ paths: 'exact',
10660
+ queryParams: 'ignored',
10661
+ matrixParams: 'ignored',
10662
+ fragment: 'ignored',
10663
+ };
10664
+ const SUBSET_MATCH = { ...EXACT_MATCH, paths: 'subset' };
10665
+ /** Các segment đường dẫn (outlet chính) của một UrlTree — bỏ query / fragment / matrix. */
10666
+ function treePath(tree) {
10667
+ return tree.root.children[PRIMARY_OUTLET]?.segments.map((s) => s.path) ?? [];
10668
+ }
10669
+ /** Các segment đường dẫn của `routerLink` một mục menu; `null` nếu link không hợp lệ. */
10670
+ function menuLinkPath(router, routerLink) {
10671
+ try {
10672
+ const commands = Array.isArray(routerLink) ? routerLink : [routerLink];
10673
+ return treePath(router.createUrlTree(commands));
10674
+ }
10675
+ catch {
10676
+ return null;
10677
+ }
10678
+ }
10547
10679
  /** Menu con → model cho popup dạng dải: giữ điều hướng, bỏ icon; mục ẩn (`visible: false`) bị loại. */
10548
10680
  function toRailMenuModel(items) {
10549
10681
  return items
@@ -10600,6 +10732,31 @@ class AppMenuitem {
10600
10732
  this.updateActiveStateFromRoute();
10601
10733
  }
10602
10734
  });
10735
+ // Đổi cách sáng mục (AscLayout đặt sau khi mục đã khởi tạo) → tính lại để mở nhóm cha
10736
+ effect(() => {
10737
+ this.layoutService.menuActiveMatch();
10738
+ this.layoutService.menuLinkPaths();
10739
+ untracked(() => {
10740
+ if (this.key && this.item?.routerLink && !this.item.items)
10741
+ this.updateActiveStateFromRoute();
10742
+ });
10743
+ });
10744
+ }
10745
+ /**
10746
+ * Options cho routerLinkActive khi mục không tự khai `routerLinkActiveOptions`.
10747
+ * 'longest-prefix': mục khớp dài nhất với URL dùng `subset` (trang con vẫn sáng), mục khác `exact`.
10748
+ * Đọc signal `menuUrl` để template tính lại sau mỗi lần điều hướng.
10749
+ */
10750
+ get linkActiveOptions() {
10751
+ if (this.layoutService.menuActiveMatch() !== 'longest-prefix')
10752
+ return EXACT_MATCH;
10753
+ return this.isLongestPrefixMatch(this.layoutService.menuUrl() || this.router.url) ? SUBSET_MATCH : EXACT_MATCH;
10754
+ }
10755
+ isLongestPrefixMatch(url) {
10756
+ const linkPath = menuLinkPath(this.router, this.item.routerLink);
10757
+ if (!linkPath)
10758
+ return false;
10759
+ return this.layoutService.isLongestMenuPrefix(linkPath, treePath(this.router.parseUrl(url)));
10603
10760
  }
10604
10761
  ngOnInit() {
10605
10762
  this.key = this.parentKey ? this.parentKey + '-' + this.index : String(this.index);
@@ -10608,12 +10765,10 @@ class AppMenuitem {
10608
10765
  }
10609
10766
  }
10610
10767
  updateActiveStateFromRoute() {
10611
- const activeRoute = this.router.isActive(this.item.routerLink[0], {
10612
- paths: 'exact',
10613
- queryParams: 'ignored',
10614
- matrixParams: 'ignored',
10615
- fragment: 'ignored',
10616
- });
10768
+ // 'longest-prefix': vào thẳng trang con (F5, link trực tiếp) vẫn mở nhóm chứa mục cha
10769
+ const activeRoute = this.layoutService.menuActiveMatch() === 'longest-prefix'
10770
+ ? this.isLongestPrefixMatch(this.router.url)
10771
+ : this.router.isActive(this.item.routerLink[0], EXACT_MATCH);
10617
10772
  if (activeRoute) {
10618
10773
  this.layoutService.onMenuStateChange({ key: this.key, routeEvent: true });
10619
10774
  }
@@ -10704,14 +10859,7 @@ class AppMenuitem {
10704
10859
  [ngClass]="item.styleClass"
10705
10860
  [routerLink]="item.routerLink"
10706
10861
  routerLinkActive="active-route"
10707
- [routerLinkActiveOptions]="
10708
- item.routerLinkActiveOptions || {
10709
- paths: 'exact',
10710
- queryParams: 'ignored',
10711
- matrixParams: 'ignored',
10712
- fragment: 'ignored',
10713
- }
10714
- "
10862
+ [routerLinkActiveOptions]="item.routerLinkActiveOptions || linkActiveOptions"
10715
10863
  [fragment]="item.fragment"
10716
10864
  [queryParamsHandling]="item.queryParamsHandling"
10717
10865
  [preserveFragment]="item.preserveFragment"
@@ -10818,14 +10966,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
10818
10966
  [ngClass]="item.styleClass"
10819
10967
  [routerLink]="item.routerLink"
10820
10968
  routerLinkActive="active-route"
10821
- [routerLinkActiveOptions]="
10822
- item.routerLinkActiveOptions || {
10823
- paths: 'exact',
10824
- queryParams: 'ignored',
10825
- matrixParams: 'ignored',
10826
- fragment: 'ignored',
10827
- }
10828
- "
10969
+ [routerLinkActiveOptions]="item.routerLinkActiveOptions || linkActiveOptions"
10829
10970
  [fragment]="item.fragment"
10830
10971
  [queryParamsHandling]="item.queryParamsHandling"
10831
10972
  [preserveFragment]="item.preserveFragment"
@@ -10909,13 +11050,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
10909
11050
  args: ['class.active-menuitem']
10910
11051
  }], railMenu: [{ type: i0.ViewChild, args: ['railMenu', { isSignal: true }] }] } });
10911
11052
 
11053
+ /** Đường dẫn (segment) của mọi mục có `routerLink` đang hiển thị, kể cả trong nhóm lồng nhau. */
11054
+ function collectLinkPaths(router, items, out = []) {
11055
+ for (const item of items) {
11056
+ if (item.visible === false)
11057
+ continue;
11058
+ if (item.routerLink && !item.items) {
11059
+ const path = menuLinkPath(router, item.routerLink);
11060
+ if (path)
11061
+ out.push(path);
11062
+ }
11063
+ if (item.items?.length)
11064
+ collectLinkPaths(router, item.items, out);
11065
+ }
11066
+ return out;
11067
+ }
10912
11068
  class AppMenu {
10913
11069
  constructor() {
10914
11070
  this.model = input.required(/* @ts-ignore */
10915
11071
  ...(ngDevMode ? [{ debugName: "model" }] : /* istanbul ignore next */ []));
11072
+ this.router = inject(Router);
11073
+ this.layoutService = inject(LayoutService);
11074
+ this.router.events
11075
+ .pipe(filter((e) => e instanceof NavigationEnd), takeUntilDestroyed(inject(DestroyRef)))
11076
+ .subscribe(() => this.layoutService.menuUrl.set(this.router.url));
11077
+ }
11078
+ // ngOnChanges chạy trước khi tạo các mục menu con → mục nào ngOnInit cũng đã có danh sách link
11079
+ ngOnChanges() {
11080
+ this.layoutService.menuLinkPaths.set(collectLinkPaths(this.router, this.model() ?? []));
11081
+ this.layoutService.menuUrl.set(this.router.url);
10916
11082
  }
10917
11083
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: AppMenu, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10918
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: AppMenu, isStandalone: true, selector: "asc-menu", inputs: { model: { classPropertyName: "model", publicName: "model", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: `
11084
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: AppMenu, isStandalone: true, selector: "asc-menu", inputs: { model: { classPropertyName: "model", publicName: "model", isSignal: true, isRequired: true, transformFunction: null } }, usesOnChanges: true, ngImport: i0, template: `
10919
11085
  <ul class="layout-menu">
10920
11086
  @for (item of model(); track item) {
10921
11087
  @if (!item.separator) {
@@ -10946,7 +11112,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
10946
11112
  </ul>
10947
11113
  `,
10948
11114
  }]
10949
- }], propDecorators: { model: [{ type: i0.Input, args: [{ isSignal: true, alias: "model", required: true }] }] } });
11115
+ }], ctorParameters: () => [], propDecorators: { model: [{ type: i0.Input, args: [{ isSignal: true, alias: "model", required: true }] }] } });
10950
11116
 
10951
11117
  class AppSidebar {
10952
11118
  constructor(el) {
@@ -11077,6 +11243,14 @@ class AscLayout {
11077
11243
  ...(ngDevMode ? [{ debugName: "sidebarCollapse" }] : /* istanbul ignore next */ []));
11078
11244
  this.resolvedSidebarCollapse = computed(() => this.sidebarCollapse() ?? this.config.layout?.sidebarCollapse ?? 'hidden', /* @ts-ignore */
11079
11245
  ...(ngDevMode ? [{ debugName: "resolvedSidebarCollapse" }] : /* istanbul ignore next */ []));
11246
+ /**
11247
+ * Cách sáng mục menu: 'exact' | 'longest-prefix' (trang con sáng mục cha + mở nhóm).
11248
+ * Không truyền thì fallback về config.layout.menuActiveMatch → 'exact'.
11249
+ */
11250
+ this.menuActiveMatch = input(undefined, /* @ts-ignore */
11251
+ ...(ngDevMode ? [{ debugName: "menuActiveMatch" }] : /* istanbul ignore next */ []));
11252
+ this.resolvedMenuActiveMatch = computed(() => this.menuActiveMatch() ?? this.config.layout?.menuActiveMatch ?? 'exact', /* @ts-ignore */
11253
+ ...(ngDevMode ? [{ debugName: "resolvedMenuActiveMatch" }] : /* istanbul ignore next */ []));
11080
11254
  this.collapsedRestored = false;
11081
11255
  this.menuOutsideClickListener = null;
11082
11256
  this.overlayMenuOpenSubscription = this.layoutService.overlayOpen$.subscribe(() => {
@@ -11094,6 +11268,11 @@ class AscLayout {
11094
11268
  this.router.events.pipe(filter$1((event) => event instanceof NavigationEnd)).subscribe(() => {
11095
11269
  this.hideMenu();
11096
11270
  });
11271
+ // Đồng bộ cách sáng mục menu vào LayoutService (mục menu tự tính lại khi đổi)
11272
+ effect(() => {
11273
+ const match = this.resolvedMenuActiveMatch();
11274
+ untracked(() => this.layoutService.menuActiveMatch.set(match));
11275
+ });
11097
11276
  // Đồng bộ kiểu thu gọn vào LayoutService; ở kiểu 'rail' khôi phục / lưu trạng thái thu gọn qua localStorage
11098
11277
  effect(() => {
11099
11278
  const mode = this.resolvedSidebarCollapse();
@@ -11173,7 +11352,7 @@ class AscLayout {
11173
11352
  }
11174
11353
  }
11175
11354
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: AscLayout, deps: [{ token: LayoutService }, { token: i0.Renderer2 }, { token: i1$a.Router }], target: i0.ɵɵFactoryTarget.Component }); }
11176
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: AscLayout, isStandalone: true, selector: "asc-layout", inputs: { menuItems: { classPropertyName: "menuItems", publicName: "menuItems", isSignal: true, isRequired: true, transformFunction: null }, sideBarLogo: { classPropertyName: "sideBarLogo", publicName: "sideBarLogo", isSignal: true, isRequired: false, transformFunction: null }, sideBarLogoCollapsed: { classPropertyName: "sideBarLogoCollapsed", publicName: "sideBarLogoCollapsed", isSignal: true, isRequired: false, transformFunction: null }, topBarLogo: { classPropertyName: "topBarLogo", publicName: "topBarLogo", isSignal: true, isRequired: false, transformFunction: null }, iconToggle: { classPropertyName: "iconToggle", publicName: "iconToggle", isSignal: true, isRequired: false, transformFunction: null }, breadCrumb: { classPropertyName: "breadCrumb", publicName: "breadCrumb", isSignal: true, isRequired: false, transformFunction: null }, dropdownTpl: { classPropertyName: "dropdownTpl", publicName: "dropdownTpl", isSignal: true, isRequired: false, transformFunction: null }, footerSidebarTpl: { classPropertyName: "footerSidebarTpl", publicName: "footerSidebarTpl", isSignal: true, isRequired: false, transformFunction: null }, showFooter: { classPropertyName: "showFooter", publicName: "showFooter", isSignal: true, isRequired: false, transformFunction: null }, sidebarCollapse: { classPropertyName: "sidebarCollapse", publicName: "sidebarCollapse", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
11355
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: AscLayout, isStandalone: true, selector: "asc-layout", inputs: { menuItems: { classPropertyName: "menuItems", publicName: "menuItems", isSignal: true, isRequired: true, transformFunction: null }, sideBarLogo: { classPropertyName: "sideBarLogo", publicName: "sideBarLogo", isSignal: true, isRequired: false, transformFunction: null }, sideBarLogoCollapsed: { classPropertyName: "sideBarLogoCollapsed", publicName: "sideBarLogoCollapsed", isSignal: true, isRequired: false, transformFunction: null }, topBarLogo: { classPropertyName: "topBarLogo", publicName: "topBarLogo", isSignal: true, isRequired: false, transformFunction: null }, iconToggle: { classPropertyName: "iconToggle", publicName: "iconToggle", isSignal: true, isRequired: false, transformFunction: null }, breadCrumb: { classPropertyName: "breadCrumb", publicName: "breadCrumb", isSignal: true, isRequired: false, transformFunction: null }, dropdownTpl: { classPropertyName: "dropdownTpl", publicName: "dropdownTpl", isSignal: true, isRequired: false, transformFunction: null }, footerSidebarTpl: { classPropertyName: "footerSidebarTpl", publicName: "footerSidebarTpl", isSignal: true, isRequired: false, transformFunction: null }, showFooter: { classPropertyName: "showFooter", publicName: "showFooter", isSignal: true, isRequired: false, transformFunction: null }, sidebarCollapse: { classPropertyName: "sidebarCollapse", publicName: "sidebarCollapse", isSignal: true, isRequired: false, transformFunction: null }, menuActiveMatch: { classPropertyName: "menuActiveMatch", publicName: "menuActiveMatch", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
11177
11356
  <div class="layout-wrapper" [ngClass]="containerClass">
11178
11357
  <asc-topbar
11179
11358
  [iconToggle]="iconToggle()"
@@ -11234,7 +11413,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
11234
11413
  </div>
11235
11414
  `,
11236
11415
  }]
11237
- }], ctorParameters: () => [{ type: LayoutService }, { type: i0.Renderer2 }, { type: i1$a.Router }], propDecorators: { menuItems: [{ type: i0.Input, args: [{ isSignal: true, alias: "menuItems", required: true }] }], sideBarLogo: [{ type: i0.Input, args: [{ isSignal: true, alias: "sideBarLogo", required: false }] }], sideBarLogoCollapsed: [{ type: i0.Input, args: [{ isSignal: true, alias: "sideBarLogoCollapsed", required: false }] }], topBarLogo: [{ type: i0.Input, args: [{ isSignal: true, alias: "topBarLogo", required: false }] }], iconToggle: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconToggle", required: false }] }], breadCrumb: [{ type: i0.Input, args: [{ isSignal: true, alias: "breadCrumb", required: false }] }], dropdownTpl: [{ type: i0.Input, args: [{ isSignal: true, alias: "dropdownTpl", required: false }] }], footerSidebarTpl: [{ type: i0.Input, args: [{ isSignal: true, alias: "footerSidebarTpl", required: false }] }], showFooter: [{ type: i0.Input, args: [{ isSignal: true, alias: "showFooter", required: false }] }], sidebarCollapse: [{ type: i0.Input, args: [{ isSignal: true, alias: "sidebarCollapse", required: false }] }] } });
11416
+ }], ctorParameters: () => [{ type: LayoutService }, { type: i0.Renderer2 }, { type: i1$a.Router }], propDecorators: { menuItems: [{ type: i0.Input, args: [{ isSignal: true, alias: "menuItems", required: true }] }], sideBarLogo: [{ type: i0.Input, args: [{ isSignal: true, alias: "sideBarLogo", required: false }] }], sideBarLogoCollapsed: [{ type: i0.Input, args: [{ isSignal: true, alias: "sideBarLogoCollapsed", required: false }] }], topBarLogo: [{ type: i0.Input, args: [{ isSignal: true, alias: "topBarLogo", required: false }] }], iconToggle: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconToggle", required: false }] }], breadCrumb: [{ type: i0.Input, args: [{ isSignal: true, alias: "breadCrumb", required: false }] }], dropdownTpl: [{ type: i0.Input, args: [{ isSignal: true, alias: "dropdownTpl", required: false }] }], footerSidebarTpl: [{ type: i0.Input, args: [{ isSignal: true, alias: "footerSidebarTpl", required: false }] }], showFooter: [{ type: i0.Input, args: [{ isSignal: true, alias: "showFooter", required: false }] }], sidebarCollapse: [{ type: i0.Input, args: [{ isSignal: true, alias: "sidebarCollapse", required: false }] }], menuActiveMatch: [{ type: i0.Input, args: [{ isSignal: true, alias: "menuActiveMatch", required: false }] }] } });
11238
11417
  // localStorage có thể ném lỗi (chế độ riêng tư, chặn dữ liệu trang) — lỗi thì coi như không lưu
11239
11418
  function readStoredCollapsed() {
11240
11419
  try {