@aseansc/ui 5.7.2 → 5.9.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.
@@ -1964,6 +1964,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
1964
1964
  * e.fullName.toLowerCase().includes(query.toLowerCase())
1965
1965
  * );
1966
1966
  * }
1967
+ *
1968
+ * Dữ liệu lớn (vd. 100k bản ghi): tìm phía server (completeMethod → API ?q=&limit=),
1969
+ * huỷ request cũ bằng switchMap. Cần cuộn xem hết kết quả → bật [virtualScroll] +
1970
+ * [lazy], nghe (lazyLoad) và nối thêm trang kế tiếp khi `last` gần cuối danh sách:
1971
+ *
1972
+ * <asc-auto-complete
1973
+ * [suggestions]="items()" [virtualScroll]="true" [lazy]="true" [loading]="loading()"
1974
+ * (completeMethod)="search($event)" (lazyLoad)="loadMore($event)" />
1975
+ *
1976
+ * loadMore(e: AscAutoCompleteLazyLoadEvent) {
1977
+ * if (e.last >= this.items().length - 5 && this.hasMore && !this.loading()) this.fetchPage(e.query);
1978
+ * }
1967
1979
  */
1968
1980
  class AscAutoCompleteComponent extends BaseControlAccessor {
1969
1981
  constructor() {
@@ -2000,35 +2012,129 @@ class AscAutoCompleteComponent extends BaseControlAccessor {
2000
2012
  /** Placeholder */
2001
2013
  this.placeholder = input('', /* @ts-ignore */
2002
2014
  ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
2015
+ /** Kích thước — cùng thang với asc-input / asc-select. @default 'md' */
2016
+ this.size = input(undefined, /* @ts-ignore */
2017
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
2018
+ /** Ép trạng thái lỗi (ngoài trạng thái lỗi tự lấy từ FormControl) */
2019
+ this.invalid = input(false, /* @ts-ignore */
2020
+ ...(ngDevMode ? [{ debugName: "invalid" }] : /* istanbul ignore next */ []));
2021
+ /** Disable khi không dùng FormControl */
2022
+ this.disabled = input(false, /* @ts-ignore */
2023
+ ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
2024
+ /** Text khi không có gợi ý — fallback i18n "Không có kết quả" */
2025
+ this.emptyMessage = input(undefined, /* @ts-ignore */
2026
+ ...(ngDevMode ? [{ debugName: "emptyMessage" }] : /* istanbul ignore next */ []));
2027
+ /** Chiều cao tối đa của danh sách gợi ý. @default '200px' */
2028
+ this.scrollHeight = input('200px', /* @ts-ignore */
2029
+ ...(ngDevMode ? [{ debugName: "scrollHeight" }] : /* istanbul ignore next */ []));
2030
+ /** Cuộn ảo — chỉ render các dòng đang thấy, bắt buộc khi danh sách hàng nghìn dòng */
2031
+ this.virtualScroll = input(false, /* @ts-ignore */
2032
+ ...(ngDevMode ? [{ debugName: "virtualScroll" }] : /* istanbul ignore next */ []));
2033
+ /** Chiều cao 1 dòng (px) cho cuộn ảo — phải khớp chiều cao thật của option. @default 36 */
2034
+ this.virtualScrollItemSize = input(36, /* @ts-ignore */
2035
+ ...(ngDevMode ? [{ debugName: "virtualScrollItemSize" }] : /* istanbul ignore next */ []));
2036
+ /** Bật (lazyLoad) khi cuộn — dùng cùng virtualScroll để tải thêm trang */
2037
+ this.lazy = input(false, /* @ts-ignore */
2038
+ ...(ngDevMode ? [{ debugName: "lazy" }] : /* istanbul ignore next */ []));
2039
+ /** Đang tải trang kế tiếp → hiện dòng "Đang tải..." cuối danh sách */
2040
+ this.loading = input(false, /* @ts-ignore */
2041
+ ...(ngDevMode ? [{ debugName: "loading" }] : /* istanbul ignore next */ []));
2003
2042
  /** Emit text user đang gõ — consumer lọc và cập nhật [suggestions] */
2004
2043
  this.completeMethod = output();
2005
- this._hostCls = computed(() => ascCls({ 'asc-auto-complete': true }), /* @ts-ignore */
2044
+ /** Cuộn danh sách (lazy) — consumer tải thêm khi `last` gần cuối [suggestions] */
2045
+ this.lazyLoad = output();
2046
+ this.localeService = inject(AscLocaleService);
2047
+ /** Từ khoá của lần tìm gần nhất — gắn vào payload (lazyLoad) */
2048
+ this.lastQuery = '';
2049
+ this.resolvedEmptyMessage = computed(() => this.emptyMessage() ?? this.msg.form.noResults, /* @ts-ignore */
2050
+ ...(ngDevMode ? [{ debugName: "resolvedEmptyMessage" }] : /* istanbul ignore next */ []));
2051
+ this.resolvedSize = computed(() => this.size() ?? 'md', /* @ts-ignore */
2052
+ ...(ngDevMode ? [{ debugName: "resolvedSize" }] : /* istanbul ignore next */ []));
2053
+ this.isInvalidState = computed(() => this.invalid() || this.isInvalid(), /* @ts-ignore */
2054
+ ...(ngDevMode ? [{ debugName: "isInvalidState" }] : /* istanbul ignore next */ []));
2055
+ this.effectiveDisabled = computed(() => this.disabled() || this.isDisabled(), /* @ts-ignore */
2056
+ ...(ngDevMode ? [{ debugName: "effectiveDisabled" }] : /* istanbul ignore next */ []));
2057
+ this.innerCls = computed(() => ascCls(this.isInvalidState() && 'ng-invalid ng-dirty'), /* @ts-ignore */
2058
+ ...(ngDevMode ? [{ debugName: "innerCls" }] : /* istanbul ignore next */ []));
2059
+ /** mode="view": label của giá trị (multiple → nối bằng dấu phẩy) */
2060
+ this.viewText = computed(() => {
2061
+ const label = (item) => {
2062
+ if (item === null || item === undefined || item === '')
2063
+ return '';
2064
+ if (typeof item === 'string')
2065
+ return item;
2066
+ const key = this.optionLabel();
2067
+ return key ? String(item[key] ?? '') : String(item);
2068
+ };
2069
+ const v = this.value();
2070
+ const text = Array.isArray(v) ? v.map(label).filter(Boolean).join(', ') : label(v);
2071
+ return text || '—';
2072
+ }, /* @ts-ignore */
2073
+ ...(ngDevMode ? [{ debugName: "viewText" }] : /* istanbul ignore next */ []));
2074
+ this._hostCls = computed(() => ascCls('asc-auto-complete', `asc-auto-complete--${this.resolvedSize()}`, this.isInvalidState() && 'asc-auto-complete--invalid', this.effectiveDisabled() && 'asc-auto-complete--disabled', this.mode() === 'view' && 'asc-auto-complete--view'), /* @ts-ignore */
2006
2075
  ...(ngDevMode ? [{ debugName: "_hostCls" }] : /* istanbul ignore next */ []));
2007
2076
  }
2077
+ get msg() { return this.localeService.messages(); }
2078
+ handleComplete(query) {
2079
+ this.lastQuery = query;
2080
+ this.completeMethod.emit(query);
2081
+ }
2082
+ handleLazyLoad(event) {
2083
+ const first = typeof event.first === 'number' ? event.first : 0;
2084
+ const last = typeof event.last === 'number' ? event.last : 0;
2085
+ this.lazyLoad.emit({ query: this.lastQuery, first, last });
2086
+ }
2087
+ get controlSize() {
2088
+ return this.resolvedSize();
2089
+ }
2090
+ get controlDisabled() {
2091
+ return this.effectiveDisabled();
2092
+ }
2008
2093
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: AscAutoCompleteComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2009
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.5", type: AscAutoCompleteComponent, isStandalone: true, selector: "asc-auto-complete", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, suggestions: { classPropertyName: "suggestions", publicName: "suggestions", isSignal: true, isRequired: false, transformFunction: null }, optionLabel: { classPropertyName: "optionLabel", publicName: "optionLabel", isSignal: true, isRequired: false, transformFunction: null }, optionValue: { classPropertyName: "optionValue", publicName: "optionValue", isSignal: true, isRequired: false, transformFunction: null }, minLength: { classPropertyName: "minLength", publicName: "minLength", isSignal: true, isRequired: false, transformFunction: null }, delay: { classPropertyName: "delay", publicName: "delay", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, forceSelection: { classPropertyName: "forceSelection", publicName: "forceSelection", isSignal: true, isRequired: false, transformFunction: null }, dropdown: { classPropertyName: "dropdown", publicName: "dropdown", isSignal: true, isRequired: false, transformFunction: null }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { completeMethod: "completeMethod" }, host: { properties: { "id": "id()", "class": "_hostCls()" } }, providers: [
2094
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: AscAutoCompleteComponent, isStandalone: true, selector: "asc-auto-complete", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, suggestions: { classPropertyName: "suggestions", publicName: "suggestions", isSignal: true, isRequired: false, transformFunction: null }, optionLabel: { classPropertyName: "optionLabel", publicName: "optionLabel", isSignal: true, isRequired: false, transformFunction: null }, optionValue: { classPropertyName: "optionValue", publicName: "optionValue", isSignal: true, isRequired: false, transformFunction: null }, minLength: { classPropertyName: "minLength", publicName: "minLength", isSignal: true, isRequired: false, transformFunction: null }, delay: { classPropertyName: "delay", publicName: "delay", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, forceSelection: { classPropertyName: "forceSelection", publicName: "forceSelection", isSignal: true, isRequired: false, transformFunction: null }, dropdown: { classPropertyName: "dropdown", publicName: "dropdown", isSignal: true, isRequired: false, transformFunction: null }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: true, isRequired: false, transformFunction: null }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: true, isRequired: false, transformFunction: null }, virtualScroll: { classPropertyName: "virtualScroll", publicName: "virtualScroll", isSignal: true, isRequired: false, transformFunction: null }, virtualScrollItemSize: { classPropertyName: "virtualScrollItemSize", publicName: "virtualScrollItemSize", isSignal: true, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { completeMethod: "completeMethod", lazyLoad: "lazyLoad" }, host: { properties: { "id": "id()", "class": "_hostCls()" } }, providers: [
2010
2095
  { provide: ASC_BASE_CONTROL, useExisting: forwardRef(() => AscAutoCompleteComponent) },
2011
- ], usesInheritance: true, ngImport: i0, template: `
2012
- <p-autocomplete
2013
- [ngModel]="value()"
2014
- [ngModelOptions]="{ standalone: true }"
2015
- (ngModelChange)="setValue($event)"
2016
- [suggestions]="suggestions()"
2017
- [optionLabel]="optionLabel()"
2018
- [optionValue]="optionValue()"
2019
- [minQueryLength]="minLength()"
2020
- [delay]="delay()"
2021
- [multiple]="multiple()"
2022
- [forceSelection]="forceSelection()"
2023
- [dropdown]="dropdown()"
2024
- [showClear]="showClear()"
2025
- [placeholder]="placeholder()"
2026
- [disabled]="isDisabled()"
2027
- appendTo="body"
2028
- (completeMethod)="completeMethod.emit($event.query)"
2029
- (onBlur)="markTouched()"
2030
- />
2031
- `, isInline: true, styles: [":host{display:block;--p-icon-size: 20px}:host ::ng-deep .p-autocomplete{width:100%}:host ::ng-deep .p-autocomplete-input{width:100%;font-size:14px;font-weight:400;line-height:20px}:host ::ng-deep input.p-autocomplete-input{height:var(--asc-h-md)}:host ::ng-deep .p-autocomplete-input-multiple{min-height:var(--asc-h-md)}:host ::ng-deep .p-autocomplete-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-autocomplete-clear-icon:hover{background:var(--asc-input-clear-bg-hover, #C0C0C2)}:host ::ng-deep .p-autocomplete-input:disabled,:host ::ng-deep .p-autocomplete.p-disabled .p-autocomplete-input-multiple{border-color:var(--asc-formfield-disabled-border-color, #F2F3F5)}\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: "component", type: AutoComplete, selector: "p-autoComplete, p-autocomplete, p-auto-complete", inputs: ["minLength", "minQueryLength", "delay", "panelStyle", "styleClass", "panelStyleClass", "inputStyle", "inputId", "inputStyleClass", "placeholder", "readonly", "scrollHeight", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "autoHighlight", "forceSelection", "type", "autoZIndex", "baseZIndex", "ariaLabel", "dropdownAriaLabel", "ariaLabelledBy", "dropdownIcon", "unique", "group", "completeOnFocus", "showClear", "dropdown", "showEmptyMessage", "dropdownMode", "multiple", "addOnTab", "tabindex", "dataKey", "emptyMessage", "showTransitionOptions", "hideTransitionOptions", "autofocus", "autocomplete", "optionGroupChildren", "optionGroupLabel", "overlayOptions", "suggestions", "optionLabel", "optionValue", "id", "searchMessage", "emptySelectionMessage", "selectionMessage", "autoOptionFocus", "selectOnFocus", "searchLocale", "optionDisabled", "focusOnHover", "typeahead", "addOnBlur", "separator", "appendTo", "motionOptions"], outputs: ["completeMethod", "onSelect", "onUnselect", "onAdd", "onFocus", "onBlur", "onDropdownClick", "onClear", "onInputKeydown", "onKeyUp", "onShow", "onHide", "onLazyLoad"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2096
+ ], usesInheritance: true, ngImport: i0, template: `
2097
+ @if (mode() === 'view') {
2098
+ <span class="asc-auto-complete-view">{{ viewText() }}</span>
2099
+ } @else {
2100
+ <p-autocomplete
2101
+ [ngModel]="value()"
2102
+ [ngModelOptions]="{ standalone: true }"
2103
+ (ngModelChange)="setValue($event)"
2104
+ [suggestions]="suggestions()"
2105
+ [optionLabel]="optionLabel()"
2106
+ [optionValue]="optionValue()"
2107
+ [minQueryLength]="minLength()"
2108
+ [delay]="delay()"
2109
+ [multiple]="multiple()"
2110
+ [forceSelection]="forceSelection()"
2111
+ [dropdown]="dropdown()"
2112
+ [showClear]="showClear()"
2113
+ [placeholder]="placeholder()"
2114
+ [emptyMessage]="resolvedEmptyMessage()"
2115
+ [virtualScroll]="virtualScroll()"
2116
+ [virtualScrollItemSize]="virtualScrollItemSize()"
2117
+ [lazy]="lazy()"
2118
+ [scrollHeight]="scrollHeight()"
2119
+ [disabled]="effectiveDisabled()"
2120
+ [class]="innerCls()"
2121
+ [attr.aria-invalid]="isInvalidState() || undefined"
2122
+ appendTo="body"
2123
+ (completeMethod)="handleComplete($event.query)"
2124
+ (onLazyLoad)="handleLazyLoad($event)"
2125
+ (onBlur)="markTouched()"
2126
+ >
2127
+ @if (loading()) {
2128
+ <ng-template #footer>
2129
+ <div class="asc-auto-complete-loading-more">
2130
+ <i class="pi pi-spin pi-spinner" aria-hidden="true"></i>
2131
+ {{ msg.table.loading }}
2132
+ </div>
2133
+ </ng-template>
2134
+ }
2135
+ </p-autocomplete>
2136
+ }
2137
+ `, isInline: true, styles: [":host{display:block;width:100%;--p-icon-size: 20px;--asc-ac-pad-x: 8px;--asc-ac-height: var(--asc-h-md);--asc-ac-font-size: 14px;--asc-ac-line-height: 20px;--asc-ac-dropdown-width: 36px}:host(.asc-auto-complete--xs){--p-icon-size: 14px;--asc-ac-height: var(--asc-h-xs);--asc-ac-font-size: 12px;--asc-ac-line-height: 16px;--asc-ac-dropdown-width: 28px}:host(.asc-auto-complete--sm){--asc-ac-height: var(--asc-h-sm);--asc-ac-font-size: 12px;--asc-ac-line-height: 18px;--asc-ac-dropdown-width: 32px}:host(.asc-auto-complete--lg){--asc-ac-pad-x: 10px;--asc-ac-height: var(--asc-h-lg);--asc-ac-font-size: 16px;--asc-ac-line-height: 24px;--asc-ac-dropdown-width: 40px}:host(.asc-auto-complete--xl){--p-icon-size: 24px;--asc-ac-pad-x: 12px;--asc-ac-height: var(--asc-h-xl);--asc-ac-font-size: 18px;--asc-ac-line-height: 28px;--asc-ac-dropdown-width: 44px}:host ::ng-deep .p-autocomplete{position:relative;width:100%}:host ::ng-deep .p-autocomplete>.p-autocomplete-input,:host ::ng-deep .p-autocomplete>.p-autocomplete-input-multiple{width:100%;border-radius:12px;font-size:var(--asc-ac-font-size);font-weight:400;line-height:var(--asc-ac-line-height);transition:border-color var(--asc-transition-fast),box-shadow var(--asc-transition-fast)}:host ::ng-deep .p-autocomplete>input.p-autocomplete-input{height:var(--asc-ac-height);padding-inline-start:var(--asc-ac-pad-x);padding-inline-end:var(--asc-ac-pad-x)}:host ::ng-deep .p-autocomplete>.p-autocomplete-input-multiple{min-height:var(--asc-ac-height);padding-block:4px;padding-inline:var(--asc-ac-pad-x);gap:4px}:host ::ng-deep .p-autocomplete-chip{--p-icon-size: 14px}:host ::ng-deep .p-autocomplete-input-chip input{font-size:var(--asc-ac-font-size);line-height:var(--asc-ac-line-height)}:host ::ng-deep .p-autocomplete:has(.p-autocomplete-dropdown)>.p-autocomplete-input,:host ::ng-deep .p-autocomplete:has(.p-autocomplete-dropdown)>.p-autocomplete-input-multiple{border-radius:12px;padding-inline-end:var(--asc-ac-dropdown-width)}:host ::ng-deep .p-autocomplete-dropdown{position:absolute;top:0;bottom:0;inset-inline-end:0;width:var(--asc-ac-dropdown-width);border:0 none;border-radius:0 12px 12px 0;background:transparent;color:var(--p-form-field-icon-color);--p-icon-size: 13px}:host ::ng-deep .p-autocomplete-dropdown:not(:disabled):hover,:host ::ng-deep .p-autocomplete-dropdown:not(:disabled):active{background:transparent;color:var(--asc-icon-primary)}:host ::ng-deep .p-autocomplete-dropdown:disabled{color:var(--asc-icon-disabled)}:host ::ng-deep .p-autocomplete-clear-icon{box-sizing:border-box;width:var(--p-icon-size);height:var(--p-icon-size);padding:calc(var(--p-icon-size) / 4);margin-top:calc(var(--p-icon-size) / -2);inset-inline-end:12px;border-radius:50%;background:var(--asc-input-clear-bg, #DEDFE0);color:var(--asc-input-clear-color, #FFFFFF)}:host ::ng-deep .p-autocomplete-clear-icon:hover{background:var(--asc-input-clear-bg-hover, #C0C0C2)}:host ::ng-deep .p-autocomplete:has(.p-autocomplete-clear-icon)>input.p-autocomplete-input{padding-inline-end:calc(12px + var(--p-icon-size) + 8px)}:host ::ng-deep .p-autocomplete:has(.p-autocomplete-dropdown) .p-autocomplete-clear-icon{inset-inline-end:var(--asc-ac-dropdown-width)}:host ::ng-deep .p-autocomplete:has(.p-autocomplete-dropdown):has(.p-autocomplete-clear-icon)>input.p-autocomplete-input{padding-inline-end:calc(var(--asc-ac-dropdown-width) + var(--p-icon-size) + 8px)}:host ::ng-deep .p-autocomplete-loader{inset-inline-end:12px}:host ::ng-deep .p-autocomplete:has(.p-autocomplete-dropdown) .p-autocomplete-loader{inset-inline-end:var(--asc-ac-dropdown-width)}:host ::ng-deep .p-autocomplete>.p-autocomplete-input:disabled,:host ::ng-deep .p-autocomplete.p-disabled .p-autocomplete-input-multiple{border-color:var(--asc-formfield-disabled-border-color, #F2F3F5)}:host(.asc-auto-complete--invalid) ::ng-deep .p-autocomplete>.p-autocomplete-input,:host(.asc-auto-complete--invalid) ::ng-deep .p-autocomplete>.p-autocomplete-input-multiple{border-color:var(--asc-border-color-invalid)!important}:host(.asc-auto-complete--invalid) ::ng-deep .p-autocomplete>.p-autocomplete-input:focus,:host(.asc-auto-complete--invalid) ::ng-deep .p-autocomplete-input-multiple:focus-within{box-shadow:0 0 0 3px color-mix(in srgb,var(--asc-color-danger) 20%,transparent)}::ng-deep .asc-auto-complete-loading-more{display:flex;align-items:center;gap:8px;padding:8px 12px;font-size:14px;line-height:20px;color:var(--asc-text-secondary)}.asc-auto-complete-view{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: "component", type: AutoComplete, selector: "p-autoComplete, p-autocomplete, p-auto-complete", inputs: ["minLength", "minQueryLength", "delay", "panelStyle", "styleClass", "panelStyleClass", "inputStyle", "inputId", "inputStyleClass", "placeholder", "readonly", "scrollHeight", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "autoHighlight", "forceSelection", "type", "autoZIndex", "baseZIndex", "ariaLabel", "dropdownAriaLabel", "ariaLabelledBy", "dropdownIcon", "unique", "group", "completeOnFocus", "showClear", "dropdown", "showEmptyMessage", "dropdownMode", "multiple", "addOnTab", "tabindex", "dataKey", "emptyMessage", "showTransitionOptions", "hideTransitionOptions", "autofocus", "autocomplete", "optionGroupChildren", "optionGroupLabel", "overlayOptions", "suggestions", "optionLabel", "optionValue", "id", "searchMessage", "emptySelectionMessage", "selectionMessage", "autoOptionFocus", "selectOnFocus", "searchLocale", "optionDisabled", "focusOnHover", "typeahead", "addOnBlur", "separator", "appendTo", "motionOptions"], outputs: ["completeMethod", "onSelect", "onUnselect", "onAdd", "onFocus", "onBlur", "onDropdownClick", "onClear", "onInputKeydown", "onKeyUp", "onShow", "onHide", "onLazyLoad"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2032
2138
  }
2033
2139
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: AscAutoCompleteComponent, decorators: [{
2034
2140
  type: Component,
@@ -2037,28 +2143,49 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
2037
2143
  ], host: {
2038
2144
  '[id]': 'id()',
2039
2145
  '[class]': '_hostCls()',
2040
- }, template: `
2041
- <p-autocomplete
2042
- [ngModel]="value()"
2043
- [ngModelOptions]="{ standalone: true }"
2044
- (ngModelChange)="setValue($event)"
2045
- [suggestions]="suggestions()"
2046
- [optionLabel]="optionLabel()"
2047
- [optionValue]="optionValue()"
2048
- [minQueryLength]="minLength()"
2049
- [delay]="delay()"
2050
- [multiple]="multiple()"
2051
- [forceSelection]="forceSelection()"
2052
- [dropdown]="dropdown()"
2053
- [showClear]="showClear()"
2054
- [placeholder]="placeholder()"
2055
- [disabled]="isDisabled()"
2056
- appendTo="body"
2057
- (completeMethod)="completeMethod.emit($event.query)"
2058
- (onBlur)="markTouched()"
2059
- />
2060
- `, styles: [":host{display:block;--p-icon-size: 20px}:host ::ng-deep .p-autocomplete{width:100%}:host ::ng-deep .p-autocomplete-input{width:100%;font-size:14px;font-weight:400;line-height:20px}:host ::ng-deep input.p-autocomplete-input{height:var(--asc-h-md)}:host ::ng-deep .p-autocomplete-input-multiple{min-height:var(--asc-h-md)}:host ::ng-deep .p-autocomplete-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-autocomplete-clear-icon:hover{background:var(--asc-input-clear-bg-hover, #C0C0C2)}:host ::ng-deep .p-autocomplete-input:disabled,:host ::ng-deep .p-autocomplete.p-disabled .p-autocomplete-input-multiple{border-color:var(--asc-formfield-disabled-border-color, #F2F3F5)}\n"] }]
2061
- }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], suggestions: [{ type: i0.Input, args: [{ isSignal: true, alias: "suggestions", required: false }] }], optionLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionLabel", required: false }] }], optionValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionValue", required: false }] }], minLength: [{ type: i0.Input, args: [{ isSignal: true, alias: "minLength", required: false }] }], delay: [{ type: i0.Input, args: [{ isSignal: true, alias: "delay", required: false }] }], multiple: [{ type: i0.Input, args: [{ isSignal: true, alias: "multiple", required: false }] }], forceSelection: [{ type: i0.Input, args: [{ isSignal: true, alias: "forceSelection", required: false }] }], dropdown: [{ type: i0.Input, args: [{ isSignal: true, alias: "dropdown", required: false }] }], showClear: [{ type: i0.Input, args: [{ isSignal: true, alias: "showClear", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], completeMethod: [{ type: i0.Output, args: ["completeMethod"] }] } });
2146
+ }, template: `
2147
+ @if (mode() === 'view') {
2148
+ <span class="asc-auto-complete-view">{{ viewText() }}</span>
2149
+ } @else {
2150
+ <p-autocomplete
2151
+ [ngModel]="value()"
2152
+ [ngModelOptions]="{ standalone: true }"
2153
+ (ngModelChange)="setValue($event)"
2154
+ [suggestions]="suggestions()"
2155
+ [optionLabel]="optionLabel()"
2156
+ [optionValue]="optionValue()"
2157
+ [minQueryLength]="minLength()"
2158
+ [delay]="delay()"
2159
+ [multiple]="multiple()"
2160
+ [forceSelection]="forceSelection()"
2161
+ [dropdown]="dropdown()"
2162
+ [showClear]="showClear()"
2163
+ [placeholder]="placeholder()"
2164
+ [emptyMessage]="resolvedEmptyMessage()"
2165
+ [virtualScroll]="virtualScroll()"
2166
+ [virtualScrollItemSize]="virtualScrollItemSize()"
2167
+ [lazy]="lazy()"
2168
+ [scrollHeight]="scrollHeight()"
2169
+ [disabled]="effectiveDisabled()"
2170
+ [class]="innerCls()"
2171
+ [attr.aria-invalid]="isInvalidState() || undefined"
2172
+ appendTo="body"
2173
+ (completeMethod)="handleComplete($event.query)"
2174
+ (onLazyLoad)="handleLazyLoad($event)"
2175
+ (onBlur)="markTouched()"
2176
+ >
2177
+ @if (loading()) {
2178
+ <ng-template #footer>
2179
+ <div class="asc-auto-complete-loading-more">
2180
+ <i class="pi pi-spin pi-spinner" aria-hidden="true"></i>
2181
+ {{ msg.table.loading }}
2182
+ </div>
2183
+ </ng-template>
2184
+ }
2185
+ </p-autocomplete>
2186
+ }
2187
+ `, styles: [":host{display:block;width:100%;--p-icon-size: 20px;--asc-ac-pad-x: 8px;--asc-ac-height: var(--asc-h-md);--asc-ac-font-size: 14px;--asc-ac-line-height: 20px;--asc-ac-dropdown-width: 36px}:host(.asc-auto-complete--xs){--p-icon-size: 14px;--asc-ac-height: var(--asc-h-xs);--asc-ac-font-size: 12px;--asc-ac-line-height: 16px;--asc-ac-dropdown-width: 28px}:host(.asc-auto-complete--sm){--asc-ac-height: var(--asc-h-sm);--asc-ac-font-size: 12px;--asc-ac-line-height: 18px;--asc-ac-dropdown-width: 32px}:host(.asc-auto-complete--lg){--asc-ac-pad-x: 10px;--asc-ac-height: var(--asc-h-lg);--asc-ac-font-size: 16px;--asc-ac-line-height: 24px;--asc-ac-dropdown-width: 40px}:host(.asc-auto-complete--xl){--p-icon-size: 24px;--asc-ac-pad-x: 12px;--asc-ac-height: var(--asc-h-xl);--asc-ac-font-size: 18px;--asc-ac-line-height: 28px;--asc-ac-dropdown-width: 44px}:host ::ng-deep .p-autocomplete{position:relative;width:100%}:host ::ng-deep .p-autocomplete>.p-autocomplete-input,:host ::ng-deep .p-autocomplete>.p-autocomplete-input-multiple{width:100%;border-radius:12px;font-size:var(--asc-ac-font-size);font-weight:400;line-height:var(--asc-ac-line-height);transition:border-color var(--asc-transition-fast),box-shadow var(--asc-transition-fast)}:host ::ng-deep .p-autocomplete>input.p-autocomplete-input{height:var(--asc-ac-height);padding-inline-start:var(--asc-ac-pad-x);padding-inline-end:var(--asc-ac-pad-x)}:host ::ng-deep .p-autocomplete>.p-autocomplete-input-multiple{min-height:var(--asc-ac-height);padding-block:4px;padding-inline:var(--asc-ac-pad-x);gap:4px}:host ::ng-deep .p-autocomplete-chip{--p-icon-size: 14px}:host ::ng-deep .p-autocomplete-input-chip input{font-size:var(--asc-ac-font-size);line-height:var(--asc-ac-line-height)}:host ::ng-deep .p-autocomplete:has(.p-autocomplete-dropdown)>.p-autocomplete-input,:host ::ng-deep .p-autocomplete:has(.p-autocomplete-dropdown)>.p-autocomplete-input-multiple{border-radius:12px;padding-inline-end:var(--asc-ac-dropdown-width)}:host ::ng-deep .p-autocomplete-dropdown{position:absolute;top:0;bottom:0;inset-inline-end:0;width:var(--asc-ac-dropdown-width);border:0 none;border-radius:0 12px 12px 0;background:transparent;color:var(--p-form-field-icon-color);--p-icon-size: 13px}:host ::ng-deep .p-autocomplete-dropdown:not(:disabled):hover,:host ::ng-deep .p-autocomplete-dropdown:not(:disabled):active{background:transparent;color:var(--asc-icon-primary)}:host ::ng-deep .p-autocomplete-dropdown:disabled{color:var(--asc-icon-disabled)}:host ::ng-deep .p-autocomplete-clear-icon{box-sizing:border-box;width:var(--p-icon-size);height:var(--p-icon-size);padding:calc(var(--p-icon-size) / 4);margin-top:calc(var(--p-icon-size) / -2);inset-inline-end:12px;border-radius:50%;background:var(--asc-input-clear-bg, #DEDFE0);color:var(--asc-input-clear-color, #FFFFFF)}:host ::ng-deep .p-autocomplete-clear-icon:hover{background:var(--asc-input-clear-bg-hover, #C0C0C2)}:host ::ng-deep .p-autocomplete:has(.p-autocomplete-clear-icon)>input.p-autocomplete-input{padding-inline-end:calc(12px + var(--p-icon-size) + 8px)}:host ::ng-deep .p-autocomplete:has(.p-autocomplete-dropdown) .p-autocomplete-clear-icon{inset-inline-end:var(--asc-ac-dropdown-width)}:host ::ng-deep .p-autocomplete:has(.p-autocomplete-dropdown):has(.p-autocomplete-clear-icon)>input.p-autocomplete-input{padding-inline-end:calc(var(--asc-ac-dropdown-width) + var(--p-icon-size) + 8px)}:host ::ng-deep .p-autocomplete-loader{inset-inline-end:12px}:host ::ng-deep .p-autocomplete:has(.p-autocomplete-dropdown) .p-autocomplete-loader{inset-inline-end:var(--asc-ac-dropdown-width)}:host ::ng-deep .p-autocomplete>.p-autocomplete-input:disabled,:host ::ng-deep .p-autocomplete.p-disabled .p-autocomplete-input-multiple{border-color:var(--asc-formfield-disabled-border-color, #F2F3F5)}:host(.asc-auto-complete--invalid) ::ng-deep .p-autocomplete>.p-autocomplete-input,:host(.asc-auto-complete--invalid) ::ng-deep .p-autocomplete>.p-autocomplete-input-multiple{border-color:var(--asc-border-color-invalid)!important}:host(.asc-auto-complete--invalid) ::ng-deep .p-autocomplete>.p-autocomplete-input:focus,:host(.asc-auto-complete--invalid) ::ng-deep .p-autocomplete-input-multiple:focus-within{box-shadow:0 0 0 3px color-mix(in srgb,var(--asc-color-danger) 20%,transparent)}::ng-deep .asc-auto-complete-loading-more{display:flex;align-items:center;gap:8px;padding:8px 12px;font-size:14px;line-height:20px;color:var(--asc-text-secondary)}.asc-auto-complete-view{display:block;width:100%;min-height:20px;box-sizing:border-box;color:var(--asc-text-primary);word-break:break-word}\n"] }]
2188
+ }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], suggestions: [{ type: i0.Input, args: [{ isSignal: true, alias: "suggestions", required: false }] }], optionLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionLabel", required: false }] }], optionValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionValue", required: false }] }], minLength: [{ type: i0.Input, args: [{ isSignal: true, alias: "minLength", required: false }] }], delay: [{ type: i0.Input, args: [{ isSignal: true, alias: "delay", required: false }] }], multiple: [{ type: i0.Input, args: [{ isSignal: true, alias: "multiple", required: false }] }], forceSelection: [{ type: i0.Input, args: [{ isSignal: true, alias: "forceSelection", required: false }] }], dropdown: [{ type: i0.Input, args: [{ isSignal: true, alias: "dropdown", required: false }] }], showClear: [{ type: i0.Input, args: [{ isSignal: true, alias: "showClear", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", 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 }] }], emptyMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyMessage", required: false }] }], scrollHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollHeight", required: false }] }], virtualScroll: [{ type: i0.Input, args: [{ isSignal: true, alias: "virtualScroll", required: false }] }], virtualScrollItemSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "virtualScrollItemSize", required: false }] }], lazy: [{ type: i0.Input, args: [{ isSignal: true, alias: "lazy", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], completeMethod: [{ type: i0.Output, args: ["completeMethod"] }], lazyLoad: [{ type: i0.Output, args: ["lazyLoad"] }] } });
2062
2189
 
2063
2190
  /**
2064
2191
  * AscInputMaskComponent — input định dạng sẵn (số điện thoại, ngày, CCCD...).
@@ -2969,135 +3096,135 @@ class AscInputComponent extends BaseControlAccessor {
2969
3096
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: AscInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2970
3097
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: AscInputComponent, isStandalone: true, selector: "asc-input", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, iconPos: { classPropertyName: "iconPos", publicName: "iconPos", isSignal: true, isRequired: false, transformFunction: null }, clearable: { classPropertyName: "clearable", publicName: "clearable", isSignal: true, isRequired: false, transformFunction: null }, maxLength: { classPropertyName: "maxLength", publicName: "maxLength", isSignal: true, isRequired: false, transformFunction: null }, showCounter: { classPropertyName: "showCounter", publicName: "showCounter", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, floatLabel: { classPropertyName: "floatLabel", publicName: "floatLabel", isSignal: true, isRequired: false, transformFunction: null }, floatLabelVariant: { classPropertyName: "floatLabelVariant", publicName: "floatLabelVariant", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChange: "valueChange", enterPressed: "enterPressed", focused: "focused", blurred: "blurred" }, host: { properties: { "class": "hostCls()" } }, providers: [
2971
3098
  { provide: ASC_BASE_CONTROL, useExisting: forwardRef(() => AscInputComponent) },
2972
- ], viewQueries: [{ propertyName: "inputEl", first: true, predicate: ["inputEl"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
2973
- @if (mode() === 'view') {
2974
- <span class="asc-input-view">{{ value() || '—' }}</span>
2975
- } @else if (resolvedFloatLabel() && label()) {
2976
- <p-floatlabel [variant]="floatLabelVariant()">
2977
- <p-iconfield [iconPosition]="iconPos()">
2978
- @if (icon() && iconPos() === 'left') {
2979
- @if (isSearchIcon()) {
2980
- <p-inputicon class="asc-input-search-icon" aria-hidden="true"><asc-svg-icon name="search" size="1rem" /></p-inputicon>
2981
- } @else {
2982
- <p-inputicon [class]="icon()" aria-hidden="true" />
2983
- }
2984
- }
2985
-
2986
- <input
2987
- #inputEl
2988
- pInputText
2989
- [id]="_inputId"
2990
- [type]="type()"
2991
- [disabled]="effectiveDisabled()"
2992
- [readonly]="readonly()"
2993
- [maxlength]="maxLength() ?? 524288"
2994
- [autocomplete]="autocomplete()"
2995
- [class]="inputCls()"
2996
- [attr.aria-invalid]="isInvalidState() || undefined"
2997
- [ngModel]="value()"
2998
- [ngModelOptions]="{ standalone: true }"
2999
- (ngModelChange)="handleChange($event)"
3000
- (focus)="handleFocus($event)"
3001
- (blur)="handleBlur($event)"
3002
- (keydown.enter)="enterPressed.emit($event)"
3003
- />
3004
-
3005
- @if (showClearBtn()) {
3006
- <p-inputicon
3007
- class="pi pi-times asc-input-clear-btn"
3008
- role="button"
3009
- tabindex="0"
3010
- [attr.aria-label]="msg.form.clear"
3011
- (click)="clearValue()"
3012
- (keydown.enter)="clearValue()"
3013
- (keydown.space)="clearValue()"
3014
- />
3015
- }
3016
- @if (icon() && iconPos() === 'right') {
3017
- @if (isSearchIcon()) {
3018
- <p-inputicon class="asc-input-search-icon" aria-hidden="true"><asc-svg-icon name="search" size="1rem" /></p-inputicon>
3019
- } @else {
3020
- <p-inputicon [class]="icon()" aria-hidden="true" />
3021
- }
3022
- }
3023
- </p-iconfield>
3024
- <label [for]="_inputId">{{ label() }}</label>
3025
- </p-floatlabel>
3026
-
3027
- @if (maxLength() && showCounter()) {
3028
- <div
3029
- class="asc-input-counter"
3030
- [class.asc-input-counter--near-limit]="isNearLimit()"
3031
- [class.asc-input-counter--at-limit]="isAtLimit()"
3032
- aria-live="polite"
3033
- aria-atomic="true"
3034
- >
3035
- {{ value()?.length ?? 0 }}/{{ maxLength() }}
3036
- </div>
3037
- }
3038
- } @else {
3039
- <p-iconfield [iconPosition]="iconPos()">
3040
- @if (icon() && iconPos() === 'left') {
3041
- @if (isSearchIcon()) {
3042
- <p-inputicon class="asc-input-search-icon" aria-hidden="true"><asc-svg-icon name="search" size="1rem" /></p-inputicon>
3043
- } @else {
3044
- <p-inputicon [class]="icon()" aria-hidden="true" />
3045
- }
3046
- }
3047
-
3048
- <input
3049
- #inputEl
3050
- pInputText
3051
- [id]="_inputId"
3052
- [type]="type()"
3053
- [placeholder]="placeholder()"
3054
- [disabled]="effectiveDisabled()"
3055
- [readonly]="readonly()"
3056
- [maxlength]="maxLength() ?? 524288"
3057
- [autocomplete]="autocomplete()"
3058
- [class]="inputCls()"
3059
- [attr.aria-invalid]="isInvalidState() || undefined"
3060
- [ngModel]="value()"
3061
- [ngModelOptions]="{ standalone: true }"
3062
- (ngModelChange)="handleChange($event)"
3063
- (focus)="handleFocus($event)"
3064
- (blur)="handleBlur($event)"
3065
- (keydown.enter)="enterPressed.emit($event)"
3066
- />
3067
-
3068
- @if (showClearBtn()) {
3069
- <p-inputicon
3070
- class="pi pi-times asc-input-clear-btn"
3071
- role="button"
3072
- tabindex="0"
3073
- [attr.aria-label]="msg.form.clear"
3074
- (click)="clearValue()"
3075
- (keydown.enter)="clearValue()"
3076
- (keydown.space)="clearValue()"
3077
- />
3078
- }
3079
- @if (icon() && iconPos() === 'right') {
3080
- @if (isSearchIcon()) {
3081
- <p-inputicon class="asc-input-search-icon" aria-hidden="true"><asc-svg-icon name="search" size="1rem" /></p-inputicon>
3082
- } @else {
3083
- <p-inputicon [class]="icon()" aria-hidden="true" />
3084
- }
3085
- }
3086
- </p-iconfield>
3087
-
3088
- @if (maxLength() && showCounter()) {
3089
- <div
3090
- class="asc-input-counter"
3091
- [class.asc-input-counter--near-limit]="isNearLimit()"
3092
- [class.asc-input-counter--at-limit]="isAtLimit()"
3093
- aria-live="polite"
3094
- aria-atomic="true"
3095
- >
3096
- {{ value()?.length ?? 0 }}/{{ maxLength() }}
3097
- </div>
3098
- }
3099
- }
3100
- `, isInline: true, styles: [":host{display:flex;flex-direction:column;gap:.25rem;width:100%;--asc-input-icon-size: 20px;--asc-input-icon-inset: 12px;--asc-input-icon-gap: 8px}:host(.asc-input--xs){--asc-input-icon-size: 14px}:host(.asc-input--xl){--asc-input-icon-size: 24px}.p-inputicon{font-size:var(--asc-input-icon-size);width:var(--asc-input-icon-size);height:var(--asc-input-icon-size);margin-top:calc(var(--asc-input-icon-size) / -2);display:inline-flex;align-items:center;justify-content:center;color:var(--asc-input-icon-color, var(--asc-icon-primary, #0F0F0F))}.p-inputicon.asc-input-search-icon{color:var(--asc-input-icon-color, var(--asc-icon-secondary))}:host(.asc-input--disabled) .p-inputicon{color:var(--asc-icon-disabled)}::ng-deep p-iconfield,::ng-deep .p-iconfield{width:100%}::ng-deep p-floatlabel,::ng-deep .p-floatlabel{width:100%}::ng-deep .p-inputtext{width:100%;padding:10px 8px;transition:border-color var(--asc-transition-fast),box-shadow var(--asc-transition-fast)}:host ::ng-deep .p-inputtext{border-radius:12px}.asc-input-view{width:100%;min-height:20px;box-sizing:border-box;color:var(--asc-text-primary);word-break:break-word}:host(.asc-input--xs:not(.asc-input--float-in)) ::ng-deep .p-inputtext{height:var(--asc-h-xs);padding-inline-start:var(--asc-input-pad-start, 8px);padding-inline-end:var(--asc-input-pad-end, 8px);border-radius:12px;font-size:12px;font-weight:400}:host(.asc-input--sm:not(.asc-input--float-in)) ::ng-deep .p-inputtext{height:var(--asc-h-sm);padding-inline-start:var(--asc-input-pad-start, 8px);padding-inline-end:var(--asc-input-pad-end, 8px);border-radius:12px;font-size:12px;font-weight:400}:host(.asc-input--md:not(.asc-input--float-in)) ::ng-deep .p-inputtext{height:var(--asc-h-md);padding-inline-start:var(--asc-input-pad-start, 8px);padding-inline-end:var(--asc-input-pad-end, 8px);border-radius:12px;font-size:14px;font-weight:400}:host(.asc-input--lg:not(.asc-input--float-in)) ::ng-deep .p-inputtext{height:var(--asc-h-lg);padding-inline-start:var(--asc-input-pad-start, 10px);padding-inline-end:var(--asc-input-pad-end, 10px);border-radius:12px;font-size:16px;font-weight:400}:host(.asc-input--xl:not(.asc-input--float-in)) ::ng-deep .p-inputtext{height:var(--asc-h-xl);padding-inline-start:var(--asc-input-pad-start, 12px);padding-inline-end:var(--asc-input-pad-end, 12px);border-radius:12px;font-size:18px;font-weight:400}:host(.asc-input--xs) ::ng-deep .p-inputtext{line-height:16px}:host(.asc-input--sm) ::ng-deep .p-inputtext{line-height:18px}:host(.asc-input--md) ::ng-deep .p-inputtext{line-height:20px}:host(.asc-input--lg) ::ng-deep .p-inputtext{line-height:24px}:host(.asc-input--xl) ::ng-deep .p-inputtext{line-height:28px}:host(.asc-input--icon-left){--asc-input-pad-start: calc(var(--asc-input-icon-inset) + var(--asc-input-icon-size) + var(--asc-input-icon-gap))}:host(.asc-input--icon-right){--asc-input-pad-end: calc(var(--asc-input-icon-inset) + var(--asc-input-icon-size) + var(--asc-input-icon-gap))}:host(.asc-input--clear-with-icon){--asc-input-pad-end: calc(var(--asc-input-icon-inset) + 2 * (var(--asc-input-icon-size) + var(--asc-input-icon-gap)))}:host(.asc-input--float.asc-input--icon-left) ::ng-deep .p-inputtext{padding-inline-start:var(--asc-input-pad-start)}:host(.asc-input--float.asc-input--icon-right) ::ng-deep .p-inputtext{padding-inline-end:var(--asc-input-pad-end)}:host(.asc-input--disabled) ::ng-deep .p-inputtext{border-color:var(--asc-formfield-disabled-border-color, #F2F3F5)}:host(.asc-input--invalid) ::ng-deep .p-inputtext{border-color:var(--asc-border-color-invalid)!important}:host(.asc-input--invalid) ::ng-deep .p-inputtext:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--asc-color-danger) 20%,transparent)}.p-inputicon.asc-input-clear-btn{cursor:pointer;font-size:calc(var(--asc-input-icon-size) / 2);color:var(--asc-input-clear-color, #FFFFFF);background:var(--asc-input-clear-bg, #DEDFE0);border-radius:50%;transition:background-color var(--asc-transition-fast)}.p-inputicon.asc-input-clear-btn:hover{background:var(--asc-input-clear-bg-hover, #C0C0C2)}.p-inputicon.asc-input-clear-btn:focus-visible{outline:2px solid var(--asc-border-color-focus);outline-offset:1px}:host(.asc-input--clear-with-icon) .p-inputicon.asc-input-clear-btn{inset-inline-end:calc(var(--asc-input-icon-inset) + var(--asc-input-icon-size) + var(--asc-input-icon-gap))}.asc-input-counter{font-size:.6875rem;color:var(--asc-text-muted);text-align:right;transition:color var(--asc-transition-fast)}.asc-input-counter.asc-input-counter--near-limit{color:var(--asc-color-warning)}.asc-input-counter.asc-input-counter--at-limit{color:var(--asc-color-danger);font-weight:500}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: InputTextModule }, { kind: "directive", type: i2$2.InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pInputTextPT", "pInputTextUnstyled", "pSize", "variant", "fluid", "invalid"] }, { kind: "ngmodule", type: IconFieldModule }, { kind: "component", type: i3$1.IconField, selector: "p-iconfield, p-iconField, p-icon-field", inputs: ["hostName", "iconPosition", "styleClass"] }, { kind: "ngmodule", type: InputIconModule }, { kind: "component", type: i4.InputIcon, selector: "p-inputicon, p-inputIcon", inputs: ["hostName", "styleClass"] }, { 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 }); }
3099
+ ], viewQueries: [{ propertyName: "inputEl", first: true, predicate: ["inputEl"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
3100
+ @if (mode() === 'view') {
3101
+ <span class="asc-input-view">{{ value() || '—' }}</span>
3102
+ } @else if (resolvedFloatLabel() && label()) {
3103
+ <p-floatlabel [variant]="floatLabelVariant()">
3104
+ <p-iconfield [iconPosition]="iconPos()">
3105
+ @if (icon() && iconPos() === 'left') {
3106
+ @if (isSearchIcon()) {
3107
+ <p-inputicon class="asc-input-search-icon" aria-hidden="true"><asc-svg-icon name="search" size="1rem" /></p-inputicon>
3108
+ } @else {
3109
+ <p-inputicon [class]="icon()" aria-hidden="true" />
3110
+ }
3111
+ }
3112
+
3113
+ <input
3114
+ #inputEl
3115
+ pInputText
3116
+ [id]="_inputId"
3117
+ [type]="type()"
3118
+ [disabled]="effectiveDisabled()"
3119
+ [readonly]="readonly()"
3120
+ [maxlength]="maxLength() ?? 524288"
3121
+ [autocomplete]="autocomplete()"
3122
+ [class]="inputCls()"
3123
+ [attr.aria-invalid]="isInvalidState() || undefined"
3124
+ [ngModel]="value()"
3125
+ [ngModelOptions]="{ standalone: true }"
3126
+ (ngModelChange)="handleChange($event)"
3127
+ (focus)="handleFocus($event)"
3128
+ (blur)="handleBlur($event)"
3129
+ (keydown.enter)="enterPressed.emit($event)"
3130
+ />
3131
+
3132
+ @if (showClearBtn()) {
3133
+ <p-inputicon
3134
+ class="pi pi-times asc-input-clear-btn"
3135
+ role="button"
3136
+ tabindex="0"
3137
+ [attr.aria-label]="msg.form.clear"
3138
+ (click)="clearValue()"
3139
+ (keydown.enter)="clearValue()"
3140
+ (keydown.space)="clearValue()"
3141
+ />
3142
+ }
3143
+ @if (icon() && iconPos() === 'right') {
3144
+ @if (isSearchIcon()) {
3145
+ <p-inputicon class="asc-input-search-icon" aria-hidden="true"><asc-svg-icon name="search" size="1rem" /></p-inputicon>
3146
+ } @else {
3147
+ <p-inputicon [class]="icon()" aria-hidden="true" />
3148
+ }
3149
+ }
3150
+ </p-iconfield>
3151
+ <label [for]="_inputId">{{ label() }}</label>
3152
+ </p-floatlabel>
3153
+
3154
+ @if (maxLength() && showCounter()) {
3155
+ <div
3156
+ class="asc-input-counter"
3157
+ [class.asc-input-counter--near-limit]="isNearLimit()"
3158
+ [class.asc-input-counter--at-limit]="isAtLimit()"
3159
+ aria-live="polite"
3160
+ aria-atomic="true"
3161
+ >
3162
+ {{ value()?.length ?? 0 }}/{{ maxLength() }}
3163
+ </div>
3164
+ }
3165
+ } @else {
3166
+ <p-iconfield [iconPosition]="iconPos()">
3167
+ @if (icon() && iconPos() === 'left') {
3168
+ @if (isSearchIcon()) {
3169
+ <p-inputicon class="asc-input-search-icon" aria-hidden="true"><asc-svg-icon name="search" size="1rem" /></p-inputicon>
3170
+ } @else {
3171
+ <p-inputicon [class]="icon()" aria-hidden="true" />
3172
+ }
3173
+ }
3174
+
3175
+ <input
3176
+ #inputEl
3177
+ pInputText
3178
+ [id]="_inputId"
3179
+ [type]="type()"
3180
+ [placeholder]="placeholder()"
3181
+ [disabled]="effectiveDisabled()"
3182
+ [readonly]="readonly()"
3183
+ [maxlength]="maxLength() ?? 524288"
3184
+ [autocomplete]="autocomplete()"
3185
+ [class]="inputCls()"
3186
+ [attr.aria-invalid]="isInvalidState() || undefined"
3187
+ [ngModel]="value()"
3188
+ [ngModelOptions]="{ standalone: true }"
3189
+ (ngModelChange)="handleChange($event)"
3190
+ (focus)="handleFocus($event)"
3191
+ (blur)="handleBlur($event)"
3192
+ (keydown.enter)="enterPressed.emit($event)"
3193
+ />
3194
+
3195
+ @if (showClearBtn()) {
3196
+ <p-inputicon
3197
+ class="pi pi-times asc-input-clear-btn"
3198
+ role="button"
3199
+ tabindex="0"
3200
+ [attr.aria-label]="msg.form.clear"
3201
+ (click)="clearValue()"
3202
+ (keydown.enter)="clearValue()"
3203
+ (keydown.space)="clearValue()"
3204
+ />
3205
+ }
3206
+ @if (icon() && iconPos() === 'right') {
3207
+ @if (isSearchIcon()) {
3208
+ <p-inputicon class="asc-input-search-icon" aria-hidden="true"><asc-svg-icon name="search" size="1rem" /></p-inputicon>
3209
+ } @else {
3210
+ <p-inputicon [class]="icon()" aria-hidden="true" />
3211
+ }
3212
+ }
3213
+ </p-iconfield>
3214
+
3215
+ @if (maxLength() && showCounter()) {
3216
+ <div
3217
+ class="asc-input-counter"
3218
+ [class.asc-input-counter--near-limit]="isNearLimit()"
3219
+ [class.asc-input-counter--at-limit]="isAtLimit()"
3220
+ aria-live="polite"
3221
+ aria-atomic="true"
3222
+ >
3223
+ {{ value()?.length ?? 0 }}/{{ maxLength() }}
3224
+ </div>
3225
+ }
3226
+ }
3227
+ `, isInline: true, styles: [":host{display:flex;flex-direction:column;gap:.25rem;width:100%;--asc-input-icon-size: 20px;--asc-input-icon-inset: 12px;--asc-input-icon-gap: 8px}:host(.asc-input--xs){--asc-input-icon-size: 14px}:host(.asc-input--xl){--asc-input-icon-size: 24px}.p-inputicon{font-size:var(--asc-input-icon-size);width:var(--asc-input-icon-size);height:var(--asc-input-icon-size);margin-top:calc(var(--asc-input-icon-size) / -2);display:inline-flex;align-items:center;justify-content:center;color:var(--asc-input-icon-color, var(--asc-icon-primary, #0F0F0F))}.p-inputicon.asc-input-search-icon{color:var(--asc-input-icon-color, var(--asc-icon-secondary))}:host(.asc-input--disabled) .p-inputicon{color:var(--asc-icon-disabled)}::ng-deep p-iconfield,::ng-deep .p-iconfield{width:100%}::ng-deep p-floatlabel,::ng-deep .p-floatlabel{width:100%}::ng-deep .p-inputtext{width:100%;padding:10px 8px;transition:border-color var(--asc-transition-fast),box-shadow var(--asc-transition-fast)}:host ::ng-deep .p-inputtext{border-radius:12px}:host(.asc-input--xs){--asc-input-font-size: var(--asc-control-font-size-xs);--asc-input-line-height: var(--asc-control-line-height-xs)}:host(.asc-input--sm){--asc-input-font-size: var(--asc-control-font-size-sm);--asc-input-line-height: var(--asc-control-line-height-sm)}:host(.asc-input--md){--asc-input-font-size: var(--asc-control-font-size-md);--asc-input-line-height: var(--asc-control-line-height-md)}:host(.asc-input--lg){--asc-input-font-size: var(--asc-control-font-size-lg);--asc-input-line-height: var(--asc-control-line-height-lg)}:host(.asc-input--xl){--asc-input-font-size: var(--asc-control-font-size-xl);--asc-input-line-height: var(--asc-control-line-height-xl)}.asc-input-view{font-size:var(--asc-input-font-size);line-height:var(--asc-input-line-height);width:100%;min-height:20px;box-sizing:border-box;color:var(--asc-text-primary);word-break:break-word}:host(.asc-input--xs:not(.asc-input--float-in)) ::ng-deep .p-inputtext{height:var(--asc-h-xs);padding-inline-start:var(--asc-input-pad-start, 8px);padding-inline-end:var(--asc-input-pad-end, 8px);border-radius:12px;font-size:var(--asc-input-font-size);font-weight:400}:host(.asc-input--sm:not(.asc-input--float-in)) ::ng-deep .p-inputtext{height:var(--asc-h-sm);padding-inline-start:var(--asc-input-pad-start, 8px);padding-inline-end:var(--asc-input-pad-end, 8px);border-radius:12px;font-size:var(--asc-input-font-size);font-weight:400}:host(.asc-input--md:not(.asc-input--float-in)) ::ng-deep .p-inputtext{height:var(--asc-h-md);padding-inline-start:var(--asc-input-pad-start, 8px);padding-inline-end:var(--asc-input-pad-end, 8px);border-radius:12px;font-size:var(--asc-input-font-size);font-weight:400}:host(.asc-input--lg:not(.asc-input--float-in)) ::ng-deep .p-inputtext{height:var(--asc-h-lg);padding-inline-start:var(--asc-input-pad-start, 10px);padding-inline-end:var(--asc-input-pad-end, 10px);border-radius:12px;font-size:var(--asc-input-font-size);font-weight:400}:host(.asc-input--xl:not(.asc-input--float-in)) ::ng-deep .p-inputtext{height:var(--asc-h-xl);padding-inline-start:var(--asc-input-pad-start, 12px);padding-inline-end:var(--asc-input-pad-end, 12px);border-radius:12px;font-size:var(--asc-input-font-size);font-weight:400}:host(.asc-input--xs) ::ng-deep .p-inputtext{line-height:var(--asc-input-line-height)}:host(.asc-input--sm) ::ng-deep .p-inputtext{line-height:var(--asc-input-line-height)}:host(.asc-input--md) ::ng-deep .p-inputtext{line-height:var(--asc-input-line-height)}:host(.asc-input--lg) ::ng-deep .p-inputtext{line-height:var(--asc-input-line-height)}:host(.asc-input--xl) ::ng-deep .p-inputtext{line-height:var(--asc-input-line-height)}:host(.asc-input--icon-left){--asc-input-pad-start: calc(var(--asc-input-icon-inset) + var(--asc-input-icon-size) + var(--asc-input-icon-gap))}:host(.asc-input--icon-right){--asc-input-pad-end: calc(var(--asc-input-icon-inset) + var(--asc-input-icon-size) + var(--asc-input-icon-gap))}:host(.asc-input--clear-with-icon){--asc-input-pad-end: calc(var(--asc-input-icon-inset) + 2 * (var(--asc-input-icon-size) + var(--asc-input-icon-gap)))}:host(.asc-input--float.asc-input--icon-left) ::ng-deep .p-inputtext{padding-inline-start:var(--asc-input-pad-start)}:host(.asc-input--float.asc-input--icon-right) ::ng-deep .p-inputtext{padding-inline-end:var(--asc-input-pad-end)}:host(.asc-input--disabled) ::ng-deep .p-inputtext{border-color:var(--asc-formfield-disabled-border-color, #F2F3F5)}:host(.asc-input--invalid) ::ng-deep .p-inputtext{border-color:var(--asc-border-color-invalid)!important}:host(.asc-input--invalid) ::ng-deep .p-inputtext:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--asc-color-danger) 20%,transparent)}.p-inputicon.asc-input-clear-btn{cursor:pointer;font-size:calc(var(--asc-input-icon-size) / 2);color:var(--asc-input-clear-color, #FFFFFF);background:var(--asc-input-clear-bg, #DEDFE0);border-radius:50%;transition:background-color var(--asc-transition-fast)}.p-inputicon.asc-input-clear-btn:hover{background:var(--asc-input-clear-bg-hover, #C0C0C2)}.p-inputicon.asc-input-clear-btn:focus-visible{outline:2px solid var(--asc-border-color-focus);outline-offset:1px}:host(.asc-input--clear-with-icon) .p-inputicon.asc-input-clear-btn{inset-inline-end:calc(var(--asc-input-icon-inset) + var(--asc-input-icon-size) + var(--asc-input-icon-gap))}.asc-input-counter{font-size:.6875rem;color:var(--asc-text-muted);text-align:right;transition:color var(--asc-transition-fast)}.asc-input-counter.asc-input-counter--near-limit{color:var(--asc-color-warning)}.asc-input-counter.asc-input-counter--at-limit{color:var(--asc-color-danger);font-weight:500}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: InputTextModule }, { kind: "directive", type: i2$2.InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pInputTextPT", "pInputTextUnstyled", "pSize", "variant", "fluid", "invalid"] }, { kind: "ngmodule", type: IconFieldModule }, { kind: "component", type: i3$1.IconField, selector: "p-iconfield, p-iconField, p-icon-field", inputs: ["hostName", "iconPosition", "styleClass"] }, { kind: "ngmodule", type: InputIconModule }, { kind: "component", type: i4.InputIcon, selector: "p-inputicon, p-inputIcon", inputs: ["hostName", "styleClass"] }, { 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 }); }
3101
3228
  }
3102
3229
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: AscInputComponent, decorators: [{
3103
3230
  type: Component,
@@ -3105,135 +3232,135 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
3105
3232
  { provide: ASC_BASE_CONTROL, useExisting: forwardRef(() => AscInputComponent) },
3106
3233
  ], host: {
3107
3234
  '[class]': 'hostCls()',
3108
- }, template: `
3109
- @if (mode() === 'view') {
3110
- <span class="asc-input-view">{{ value() || '—' }}</span>
3111
- } @else if (resolvedFloatLabel() && label()) {
3112
- <p-floatlabel [variant]="floatLabelVariant()">
3113
- <p-iconfield [iconPosition]="iconPos()">
3114
- @if (icon() && iconPos() === 'left') {
3115
- @if (isSearchIcon()) {
3116
- <p-inputicon class="asc-input-search-icon" aria-hidden="true"><asc-svg-icon name="search" size="1rem" /></p-inputicon>
3117
- } @else {
3118
- <p-inputicon [class]="icon()" aria-hidden="true" />
3119
- }
3120
- }
3121
-
3122
- <input
3123
- #inputEl
3124
- pInputText
3125
- [id]="_inputId"
3126
- [type]="type()"
3127
- [disabled]="effectiveDisabled()"
3128
- [readonly]="readonly()"
3129
- [maxlength]="maxLength() ?? 524288"
3130
- [autocomplete]="autocomplete()"
3131
- [class]="inputCls()"
3132
- [attr.aria-invalid]="isInvalidState() || undefined"
3133
- [ngModel]="value()"
3134
- [ngModelOptions]="{ standalone: true }"
3135
- (ngModelChange)="handleChange($event)"
3136
- (focus)="handleFocus($event)"
3137
- (blur)="handleBlur($event)"
3138
- (keydown.enter)="enterPressed.emit($event)"
3139
- />
3140
-
3141
- @if (showClearBtn()) {
3142
- <p-inputicon
3143
- class="pi pi-times asc-input-clear-btn"
3144
- role="button"
3145
- tabindex="0"
3146
- [attr.aria-label]="msg.form.clear"
3147
- (click)="clearValue()"
3148
- (keydown.enter)="clearValue()"
3149
- (keydown.space)="clearValue()"
3150
- />
3151
- }
3152
- @if (icon() && iconPos() === 'right') {
3153
- @if (isSearchIcon()) {
3154
- <p-inputicon class="asc-input-search-icon" aria-hidden="true"><asc-svg-icon name="search" size="1rem" /></p-inputicon>
3155
- } @else {
3156
- <p-inputicon [class]="icon()" aria-hidden="true" />
3157
- }
3158
- }
3159
- </p-iconfield>
3160
- <label [for]="_inputId">{{ label() }}</label>
3161
- </p-floatlabel>
3162
-
3163
- @if (maxLength() && showCounter()) {
3164
- <div
3165
- class="asc-input-counter"
3166
- [class.asc-input-counter--near-limit]="isNearLimit()"
3167
- [class.asc-input-counter--at-limit]="isAtLimit()"
3168
- aria-live="polite"
3169
- aria-atomic="true"
3170
- >
3171
- {{ value()?.length ?? 0 }}/{{ maxLength() }}
3172
- </div>
3173
- }
3174
- } @else {
3175
- <p-iconfield [iconPosition]="iconPos()">
3176
- @if (icon() && iconPos() === 'left') {
3177
- @if (isSearchIcon()) {
3178
- <p-inputicon class="asc-input-search-icon" aria-hidden="true"><asc-svg-icon name="search" size="1rem" /></p-inputicon>
3179
- } @else {
3180
- <p-inputicon [class]="icon()" aria-hidden="true" />
3181
- }
3182
- }
3183
-
3184
- <input
3185
- #inputEl
3186
- pInputText
3187
- [id]="_inputId"
3188
- [type]="type()"
3189
- [placeholder]="placeholder()"
3190
- [disabled]="effectiveDisabled()"
3191
- [readonly]="readonly()"
3192
- [maxlength]="maxLength() ?? 524288"
3193
- [autocomplete]="autocomplete()"
3194
- [class]="inputCls()"
3195
- [attr.aria-invalid]="isInvalidState() || undefined"
3196
- [ngModel]="value()"
3197
- [ngModelOptions]="{ standalone: true }"
3198
- (ngModelChange)="handleChange($event)"
3199
- (focus)="handleFocus($event)"
3200
- (blur)="handleBlur($event)"
3201
- (keydown.enter)="enterPressed.emit($event)"
3202
- />
3203
-
3204
- @if (showClearBtn()) {
3205
- <p-inputicon
3206
- class="pi pi-times asc-input-clear-btn"
3207
- role="button"
3208
- tabindex="0"
3209
- [attr.aria-label]="msg.form.clear"
3210
- (click)="clearValue()"
3211
- (keydown.enter)="clearValue()"
3212
- (keydown.space)="clearValue()"
3213
- />
3214
- }
3215
- @if (icon() && iconPos() === 'right') {
3216
- @if (isSearchIcon()) {
3217
- <p-inputicon class="asc-input-search-icon" aria-hidden="true"><asc-svg-icon name="search" size="1rem" /></p-inputicon>
3218
- } @else {
3219
- <p-inputicon [class]="icon()" aria-hidden="true" />
3220
- }
3221
- }
3222
- </p-iconfield>
3223
-
3224
- @if (maxLength() && showCounter()) {
3225
- <div
3226
- class="asc-input-counter"
3227
- [class.asc-input-counter--near-limit]="isNearLimit()"
3228
- [class.asc-input-counter--at-limit]="isAtLimit()"
3229
- aria-live="polite"
3230
- aria-atomic="true"
3231
- >
3232
- {{ value()?.length ?? 0 }}/{{ maxLength() }}
3233
- </div>
3234
- }
3235
- }
3236
- `, styles: [":host{display:flex;flex-direction:column;gap:.25rem;width:100%;--asc-input-icon-size: 20px;--asc-input-icon-inset: 12px;--asc-input-icon-gap: 8px}:host(.asc-input--xs){--asc-input-icon-size: 14px}:host(.asc-input--xl){--asc-input-icon-size: 24px}.p-inputicon{font-size:var(--asc-input-icon-size);width:var(--asc-input-icon-size);height:var(--asc-input-icon-size);margin-top:calc(var(--asc-input-icon-size) / -2);display:inline-flex;align-items:center;justify-content:center;color:var(--asc-input-icon-color, var(--asc-icon-primary, #0F0F0F))}.p-inputicon.asc-input-search-icon{color:var(--asc-input-icon-color, var(--asc-icon-secondary))}:host(.asc-input--disabled) .p-inputicon{color:var(--asc-icon-disabled)}::ng-deep p-iconfield,::ng-deep .p-iconfield{width:100%}::ng-deep p-floatlabel,::ng-deep .p-floatlabel{width:100%}::ng-deep .p-inputtext{width:100%;padding:10px 8px;transition:border-color var(--asc-transition-fast),box-shadow var(--asc-transition-fast)}:host ::ng-deep .p-inputtext{border-radius:12px}.asc-input-view{width:100%;min-height:20px;box-sizing:border-box;color:var(--asc-text-primary);word-break:break-word}:host(.asc-input--xs:not(.asc-input--float-in)) ::ng-deep .p-inputtext{height:var(--asc-h-xs);padding-inline-start:var(--asc-input-pad-start, 8px);padding-inline-end:var(--asc-input-pad-end, 8px);border-radius:12px;font-size:12px;font-weight:400}:host(.asc-input--sm:not(.asc-input--float-in)) ::ng-deep .p-inputtext{height:var(--asc-h-sm);padding-inline-start:var(--asc-input-pad-start, 8px);padding-inline-end:var(--asc-input-pad-end, 8px);border-radius:12px;font-size:12px;font-weight:400}:host(.asc-input--md:not(.asc-input--float-in)) ::ng-deep .p-inputtext{height:var(--asc-h-md);padding-inline-start:var(--asc-input-pad-start, 8px);padding-inline-end:var(--asc-input-pad-end, 8px);border-radius:12px;font-size:14px;font-weight:400}:host(.asc-input--lg:not(.asc-input--float-in)) ::ng-deep .p-inputtext{height:var(--asc-h-lg);padding-inline-start:var(--asc-input-pad-start, 10px);padding-inline-end:var(--asc-input-pad-end, 10px);border-radius:12px;font-size:16px;font-weight:400}:host(.asc-input--xl:not(.asc-input--float-in)) ::ng-deep .p-inputtext{height:var(--asc-h-xl);padding-inline-start:var(--asc-input-pad-start, 12px);padding-inline-end:var(--asc-input-pad-end, 12px);border-radius:12px;font-size:18px;font-weight:400}:host(.asc-input--xs) ::ng-deep .p-inputtext{line-height:16px}:host(.asc-input--sm) ::ng-deep .p-inputtext{line-height:18px}:host(.asc-input--md) ::ng-deep .p-inputtext{line-height:20px}:host(.asc-input--lg) ::ng-deep .p-inputtext{line-height:24px}:host(.asc-input--xl) ::ng-deep .p-inputtext{line-height:28px}:host(.asc-input--icon-left){--asc-input-pad-start: calc(var(--asc-input-icon-inset) + var(--asc-input-icon-size) + var(--asc-input-icon-gap))}:host(.asc-input--icon-right){--asc-input-pad-end: calc(var(--asc-input-icon-inset) + var(--asc-input-icon-size) + var(--asc-input-icon-gap))}:host(.asc-input--clear-with-icon){--asc-input-pad-end: calc(var(--asc-input-icon-inset) + 2 * (var(--asc-input-icon-size) + var(--asc-input-icon-gap)))}:host(.asc-input--float.asc-input--icon-left) ::ng-deep .p-inputtext{padding-inline-start:var(--asc-input-pad-start)}:host(.asc-input--float.asc-input--icon-right) ::ng-deep .p-inputtext{padding-inline-end:var(--asc-input-pad-end)}:host(.asc-input--disabled) ::ng-deep .p-inputtext{border-color:var(--asc-formfield-disabled-border-color, #F2F3F5)}:host(.asc-input--invalid) ::ng-deep .p-inputtext{border-color:var(--asc-border-color-invalid)!important}:host(.asc-input--invalid) ::ng-deep .p-inputtext:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--asc-color-danger) 20%,transparent)}.p-inputicon.asc-input-clear-btn{cursor:pointer;font-size:calc(var(--asc-input-icon-size) / 2);color:var(--asc-input-clear-color, #FFFFFF);background:var(--asc-input-clear-bg, #DEDFE0);border-radius:50%;transition:background-color var(--asc-transition-fast)}.p-inputicon.asc-input-clear-btn:hover{background:var(--asc-input-clear-bg-hover, #C0C0C2)}.p-inputicon.asc-input-clear-btn:focus-visible{outline:2px solid var(--asc-border-color-focus);outline-offset:1px}:host(.asc-input--clear-with-icon) .p-inputicon.asc-input-clear-btn{inset-inline-end:calc(var(--asc-input-icon-inset) + var(--asc-input-icon-size) + var(--asc-input-icon-gap))}.asc-input-counter{font-size:.6875rem;color:var(--asc-text-muted);text-align:right;transition:color var(--asc-transition-fast)}.asc-input-counter.asc-input-counter--near-limit{color:var(--asc-color-warning)}.asc-input-counter.asc-input-counter--at-limit{color:var(--asc-color-danger);font-weight:500}\n"] }]
3235
+ }, template: `
3236
+ @if (mode() === 'view') {
3237
+ <span class="asc-input-view">{{ value() || '—' }}</span>
3238
+ } @else if (resolvedFloatLabel() && label()) {
3239
+ <p-floatlabel [variant]="floatLabelVariant()">
3240
+ <p-iconfield [iconPosition]="iconPos()">
3241
+ @if (icon() && iconPos() === 'left') {
3242
+ @if (isSearchIcon()) {
3243
+ <p-inputicon class="asc-input-search-icon" aria-hidden="true"><asc-svg-icon name="search" size="1rem" /></p-inputicon>
3244
+ } @else {
3245
+ <p-inputicon [class]="icon()" aria-hidden="true" />
3246
+ }
3247
+ }
3248
+
3249
+ <input
3250
+ #inputEl
3251
+ pInputText
3252
+ [id]="_inputId"
3253
+ [type]="type()"
3254
+ [disabled]="effectiveDisabled()"
3255
+ [readonly]="readonly()"
3256
+ [maxlength]="maxLength() ?? 524288"
3257
+ [autocomplete]="autocomplete()"
3258
+ [class]="inputCls()"
3259
+ [attr.aria-invalid]="isInvalidState() || undefined"
3260
+ [ngModel]="value()"
3261
+ [ngModelOptions]="{ standalone: true }"
3262
+ (ngModelChange)="handleChange($event)"
3263
+ (focus)="handleFocus($event)"
3264
+ (blur)="handleBlur($event)"
3265
+ (keydown.enter)="enterPressed.emit($event)"
3266
+ />
3267
+
3268
+ @if (showClearBtn()) {
3269
+ <p-inputicon
3270
+ class="pi pi-times asc-input-clear-btn"
3271
+ role="button"
3272
+ tabindex="0"
3273
+ [attr.aria-label]="msg.form.clear"
3274
+ (click)="clearValue()"
3275
+ (keydown.enter)="clearValue()"
3276
+ (keydown.space)="clearValue()"
3277
+ />
3278
+ }
3279
+ @if (icon() && iconPos() === 'right') {
3280
+ @if (isSearchIcon()) {
3281
+ <p-inputicon class="asc-input-search-icon" aria-hidden="true"><asc-svg-icon name="search" size="1rem" /></p-inputicon>
3282
+ } @else {
3283
+ <p-inputicon [class]="icon()" aria-hidden="true" />
3284
+ }
3285
+ }
3286
+ </p-iconfield>
3287
+ <label [for]="_inputId">{{ label() }}</label>
3288
+ </p-floatlabel>
3289
+
3290
+ @if (maxLength() && showCounter()) {
3291
+ <div
3292
+ class="asc-input-counter"
3293
+ [class.asc-input-counter--near-limit]="isNearLimit()"
3294
+ [class.asc-input-counter--at-limit]="isAtLimit()"
3295
+ aria-live="polite"
3296
+ aria-atomic="true"
3297
+ >
3298
+ {{ value()?.length ?? 0 }}/{{ maxLength() }}
3299
+ </div>
3300
+ }
3301
+ } @else {
3302
+ <p-iconfield [iconPosition]="iconPos()">
3303
+ @if (icon() && iconPos() === 'left') {
3304
+ @if (isSearchIcon()) {
3305
+ <p-inputicon class="asc-input-search-icon" aria-hidden="true"><asc-svg-icon name="search" size="1rem" /></p-inputicon>
3306
+ } @else {
3307
+ <p-inputicon [class]="icon()" aria-hidden="true" />
3308
+ }
3309
+ }
3310
+
3311
+ <input
3312
+ #inputEl
3313
+ pInputText
3314
+ [id]="_inputId"
3315
+ [type]="type()"
3316
+ [placeholder]="placeholder()"
3317
+ [disabled]="effectiveDisabled()"
3318
+ [readonly]="readonly()"
3319
+ [maxlength]="maxLength() ?? 524288"
3320
+ [autocomplete]="autocomplete()"
3321
+ [class]="inputCls()"
3322
+ [attr.aria-invalid]="isInvalidState() || undefined"
3323
+ [ngModel]="value()"
3324
+ [ngModelOptions]="{ standalone: true }"
3325
+ (ngModelChange)="handleChange($event)"
3326
+ (focus)="handleFocus($event)"
3327
+ (blur)="handleBlur($event)"
3328
+ (keydown.enter)="enterPressed.emit($event)"
3329
+ />
3330
+
3331
+ @if (showClearBtn()) {
3332
+ <p-inputicon
3333
+ class="pi pi-times asc-input-clear-btn"
3334
+ role="button"
3335
+ tabindex="0"
3336
+ [attr.aria-label]="msg.form.clear"
3337
+ (click)="clearValue()"
3338
+ (keydown.enter)="clearValue()"
3339
+ (keydown.space)="clearValue()"
3340
+ />
3341
+ }
3342
+ @if (icon() && iconPos() === 'right') {
3343
+ @if (isSearchIcon()) {
3344
+ <p-inputicon class="asc-input-search-icon" aria-hidden="true"><asc-svg-icon name="search" size="1rem" /></p-inputicon>
3345
+ } @else {
3346
+ <p-inputicon [class]="icon()" aria-hidden="true" />
3347
+ }
3348
+ }
3349
+ </p-iconfield>
3350
+
3351
+ @if (maxLength() && showCounter()) {
3352
+ <div
3353
+ class="asc-input-counter"
3354
+ [class.asc-input-counter--near-limit]="isNearLimit()"
3355
+ [class.asc-input-counter--at-limit]="isAtLimit()"
3356
+ aria-live="polite"
3357
+ aria-atomic="true"
3358
+ >
3359
+ {{ value()?.length ?? 0 }}/{{ maxLength() }}
3360
+ </div>
3361
+ }
3362
+ }
3363
+ `, styles: [":host{display:flex;flex-direction:column;gap:.25rem;width:100%;--asc-input-icon-size: 20px;--asc-input-icon-inset: 12px;--asc-input-icon-gap: 8px}:host(.asc-input--xs){--asc-input-icon-size: 14px}:host(.asc-input--xl){--asc-input-icon-size: 24px}.p-inputicon{font-size:var(--asc-input-icon-size);width:var(--asc-input-icon-size);height:var(--asc-input-icon-size);margin-top:calc(var(--asc-input-icon-size) / -2);display:inline-flex;align-items:center;justify-content:center;color:var(--asc-input-icon-color, var(--asc-icon-primary, #0F0F0F))}.p-inputicon.asc-input-search-icon{color:var(--asc-input-icon-color, var(--asc-icon-secondary))}:host(.asc-input--disabled) .p-inputicon{color:var(--asc-icon-disabled)}::ng-deep p-iconfield,::ng-deep .p-iconfield{width:100%}::ng-deep p-floatlabel,::ng-deep .p-floatlabel{width:100%}::ng-deep .p-inputtext{width:100%;padding:10px 8px;transition:border-color var(--asc-transition-fast),box-shadow var(--asc-transition-fast)}:host ::ng-deep .p-inputtext{border-radius:12px}:host(.asc-input--xs){--asc-input-font-size: var(--asc-control-font-size-xs);--asc-input-line-height: var(--asc-control-line-height-xs)}:host(.asc-input--sm){--asc-input-font-size: var(--asc-control-font-size-sm);--asc-input-line-height: var(--asc-control-line-height-sm)}:host(.asc-input--md){--asc-input-font-size: var(--asc-control-font-size-md);--asc-input-line-height: var(--asc-control-line-height-md)}:host(.asc-input--lg){--asc-input-font-size: var(--asc-control-font-size-lg);--asc-input-line-height: var(--asc-control-line-height-lg)}:host(.asc-input--xl){--asc-input-font-size: var(--asc-control-font-size-xl);--asc-input-line-height: var(--asc-control-line-height-xl)}.asc-input-view{font-size:var(--asc-input-font-size);line-height:var(--asc-input-line-height);width:100%;min-height:20px;box-sizing:border-box;color:var(--asc-text-primary);word-break:break-word}:host(.asc-input--xs:not(.asc-input--float-in)) ::ng-deep .p-inputtext{height:var(--asc-h-xs);padding-inline-start:var(--asc-input-pad-start, 8px);padding-inline-end:var(--asc-input-pad-end, 8px);border-radius:12px;font-size:var(--asc-input-font-size);font-weight:400}:host(.asc-input--sm:not(.asc-input--float-in)) ::ng-deep .p-inputtext{height:var(--asc-h-sm);padding-inline-start:var(--asc-input-pad-start, 8px);padding-inline-end:var(--asc-input-pad-end, 8px);border-radius:12px;font-size:var(--asc-input-font-size);font-weight:400}:host(.asc-input--md:not(.asc-input--float-in)) ::ng-deep .p-inputtext{height:var(--asc-h-md);padding-inline-start:var(--asc-input-pad-start, 8px);padding-inline-end:var(--asc-input-pad-end, 8px);border-radius:12px;font-size:var(--asc-input-font-size);font-weight:400}:host(.asc-input--lg:not(.asc-input--float-in)) ::ng-deep .p-inputtext{height:var(--asc-h-lg);padding-inline-start:var(--asc-input-pad-start, 10px);padding-inline-end:var(--asc-input-pad-end, 10px);border-radius:12px;font-size:var(--asc-input-font-size);font-weight:400}:host(.asc-input--xl:not(.asc-input--float-in)) ::ng-deep .p-inputtext{height:var(--asc-h-xl);padding-inline-start:var(--asc-input-pad-start, 12px);padding-inline-end:var(--asc-input-pad-end, 12px);border-radius:12px;font-size:var(--asc-input-font-size);font-weight:400}:host(.asc-input--xs) ::ng-deep .p-inputtext{line-height:var(--asc-input-line-height)}:host(.asc-input--sm) ::ng-deep .p-inputtext{line-height:var(--asc-input-line-height)}:host(.asc-input--md) ::ng-deep .p-inputtext{line-height:var(--asc-input-line-height)}:host(.asc-input--lg) ::ng-deep .p-inputtext{line-height:var(--asc-input-line-height)}:host(.asc-input--xl) ::ng-deep .p-inputtext{line-height:var(--asc-input-line-height)}:host(.asc-input--icon-left){--asc-input-pad-start: calc(var(--asc-input-icon-inset) + var(--asc-input-icon-size) + var(--asc-input-icon-gap))}:host(.asc-input--icon-right){--asc-input-pad-end: calc(var(--asc-input-icon-inset) + var(--asc-input-icon-size) + var(--asc-input-icon-gap))}:host(.asc-input--clear-with-icon){--asc-input-pad-end: calc(var(--asc-input-icon-inset) + 2 * (var(--asc-input-icon-size) + var(--asc-input-icon-gap)))}:host(.asc-input--float.asc-input--icon-left) ::ng-deep .p-inputtext{padding-inline-start:var(--asc-input-pad-start)}:host(.asc-input--float.asc-input--icon-right) ::ng-deep .p-inputtext{padding-inline-end:var(--asc-input-pad-end)}:host(.asc-input--disabled) ::ng-deep .p-inputtext{border-color:var(--asc-formfield-disabled-border-color, #F2F3F5)}:host(.asc-input--invalid) ::ng-deep .p-inputtext{border-color:var(--asc-border-color-invalid)!important}:host(.asc-input--invalid) ::ng-deep .p-inputtext:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--asc-color-danger) 20%,transparent)}.p-inputicon.asc-input-clear-btn{cursor:pointer;font-size:calc(var(--asc-input-icon-size) / 2);color:var(--asc-input-clear-color, #FFFFFF);background:var(--asc-input-clear-bg, #DEDFE0);border-radius:50%;transition:background-color var(--asc-transition-fast)}.p-inputicon.asc-input-clear-btn:hover{background:var(--asc-input-clear-bg-hover, #C0C0C2)}.p-inputicon.asc-input-clear-btn:focus-visible{outline:2px solid var(--asc-border-color-focus);outline-offset:1px}:host(.asc-input--clear-with-icon) .p-inputicon.asc-input-clear-btn{inset-inline-end:calc(var(--asc-input-icon-inset) + var(--asc-input-icon-size) + var(--asc-input-icon-gap))}.asc-input-counter{font-size:.6875rem;color:var(--asc-text-muted);text-align:right;transition:color var(--asc-transition-fast)}.asc-input-counter.asc-input-counter--near-limit{color:var(--asc-color-warning)}.asc-input-counter.asc-input-counter--at-limit{color:var(--asc-color-danger);font-weight:500}\n"] }]
3237
3364
  }], propDecorators: { placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], iconPos: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconPos", required: false }] }], clearable: [{ type: i0.Input, args: [{ isSignal: true, alias: "clearable", required: false }] }], maxLength: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxLength", required: false }] }], showCounter: [{ type: i0.Input, args: [{ isSignal: true, alias: "showCounter", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], autocomplete: [{ type: i0.Input, args: [{ isSignal: true, alias: "autocomplete", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", 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 }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], invalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalid", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", 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"] }], enterPressed: [{ type: i0.Output, args: ["enterPressed"] }], focused: [{ type: i0.Output, args: ["focused"] }], blurred: [{ type: i0.Output, args: ["blurred"] }], inputEl: [{ type: i0.ViewChild, args: ['inputEl', { isSignal: true }] }] } });
3238
3365
 
3239
3366
  // ─────────────────────────────────────────────────────────────────────────────
@@ -3452,177 +3579,177 @@ class AscSelectComponent extends BaseControlAccessor {
3452
3579
  provide: ASC_BASE_CONTROL,
3453
3580
  useExisting: forwardRef(() => AscSelectComponent),
3454
3581
  },
3455
- ], usesInheritance: true, ngImport: i0, template: `
3456
- @if (mode() === 'view') {
3457
- <span class="asc-select-view">{{ resolvedViewText() }}</span>
3458
- } @else if (multi()) {
3459
- <!-- ── Multi Select ───────────────────────────────────────────────── -->
3460
- @if (resolvedFloatLabel() && label()) {
3461
- <p-floatlabel [variant]="floatLabelVariant()">
3462
- <p-multiselect
3463
- [inputId]="selectId()"
3464
- [options]="options()"
3465
- [optionLabel]="optionLabel()"
3466
- [optionValue]="optionValue()"
3467
- [optionDisabled]="optionDisabled()"
3468
- [optionGroupLabel]="optionGroupLabel()"
3469
- [optionGroupChildren]="optionGroupChildren()"
3470
- [group]="grouped()"
3471
- [filter]="filterable()"
3472
- [filterBy]="filterBy()"
3473
- [showClear]="showClear()"
3474
- [display]="display()"
3475
- [maxSelectedLabels]="maxSelectedLabels()"
3476
- [selectedItemsLabel]="resolvedSelectedItemsLabel()"
3477
- [disabled]="effectiveDisabled()"
3478
- [loading]="loading()"
3479
- [virtualScroll]="virtualScroll()"
3480
- [virtualScrollItemSize]="virtualScrollItemSize()"
3481
- [emptyMessage]="resolvedEmptyMessage()"
3482
- [emptyFilterMessage]="resolvedEmptyFilterMessage()"
3483
- [appendTo]="appendTo()"
3484
- [class]="selectInnerCls()"
3485
- [panelStyleClass]="panelStyleClass()"
3486
- [attr.aria-invalid]="invalid() || undefined"
3487
- [ngModel]="value()"
3488
- [ngModelOptions]="{ standalone: true }"
3489
- (ngModelChange)="handleChange($event)"
3490
- (onFocus)="handleFocus($event)"
3491
- (onBlur)="handleBlur($event)"
3492
- (onPanelShow)="panelShow.emit()"
3493
- (onPanelHide)="panelHide.emit()"
3494
- (onFilter)="filterChange.emit($event)"
3495
- >
3496
- <ng-template #filtericon>
3497
- <asc-svg-icon name="search" size="1rem" class="asc-select-filter-icon" />
3498
- </ng-template>
3499
- </p-multiselect>
3500
- <label [for]="selectId()">{{ label() }}</label>
3501
- </p-floatlabel>
3502
- } @else {
3503
- <p-multiselect
3504
- [inputId]="selectId()"
3505
- [options]="options()"
3506
- [optionLabel]="optionLabel()"
3507
- [optionValue]="optionValue()"
3508
- [optionDisabled]="optionDisabled()"
3509
- [optionGroupLabel]="optionGroupLabel()"
3510
- [optionGroupChildren]="optionGroupChildren()"
3511
- [group]="grouped()"
3512
- [placeholder]="resolvedPlaceholder()"
3513
- [filter]="filterable()"
3514
- [filterBy]="filterBy()"
3515
- [showClear]="showClear()"
3516
- [display]="display()"
3517
- [maxSelectedLabels]="maxSelectedLabels()"
3518
- [selectedItemsLabel]="resolvedSelectedItemsLabel()"
3519
- [disabled]="effectiveDisabled()"
3520
- [loading]="loading()"
3521
- [virtualScroll]="virtualScroll()"
3522
- [virtualScrollItemSize]="virtualScrollItemSize()"
3523
- [emptyMessage]="resolvedEmptyMessage()"
3524
- [emptyFilterMessage]="resolvedEmptyFilterMessage()"
3525
- [appendTo]="appendTo()"
3526
- [class]="selectInnerCls()"
3527
- [panelStyleClass]="panelStyleClass()"
3528
- [attr.aria-invalid]="invalid() || undefined"
3529
- [ngModel]="value()"
3530
- [ngModelOptions]="{ standalone: true }"
3531
- (ngModelChange)="handleChange($event)"
3532
- (onFocus)="handleFocus($event)"
3533
- (onBlur)="handleBlur($event)"
3534
- (onPanelShow)="panelShow.emit()"
3535
- (onPanelHide)="panelHide.emit()"
3536
- (onFilter)="filterChange.emit($event)"
3537
- >
3538
- <ng-template #filtericon>
3539
- <asc-svg-icon name="search" size="1rem" class="asc-select-filter-icon" />
3540
- </ng-template>
3541
- </p-multiselect>
3542
- }
3543
- } @else {
3544
- <!-- ── Single Select ───────────────────────────────────────────────── -->
3545
- @if (resolvedFloatLabel() && label()) {
3546
- <p-floatlabel [variant]="floatLabelVariant()">
3547
- <p-select
3548
- [inputId]="selectId()"
3549
- [options]="options()"
3550
- [optionLabel]="optionLabel()"
3551
- [optionValue]="optionValue()"
3552
- [optionDisabled]="optionDisabled()"
3553
- [optionGroupLabel]="optionGroupLabel()"
3554
- [optionGroupChildren]="optionGroupChildren()"
3555
- [group]="grouped()"
3556
- [filter]="filterable()"
3557
- [filterBy]="filterBy()"
3558
- [filterPlaceholder]="resolvedFilterPlaceholder()"
3559
- [showClear]="showClear()"
3560
- [disabled]="effectiveDisabled()"
3561
- [loading]="loading()"
3562
- [virtualScroll]="virtualScroll()"
3563
- [virtualScrollItemSize]="virtualScrollItemSize()"
3564
- [emptyMessage]="resolvedEmptyMessage()"
3565
- [emptyFilterMessage]="resolvedEmptyFilterMessage()"
3566
- [appendTo]="appendTo()"
3567
- [class]="selectInnerCls()"
3568
- [panelStyleClass]="panelStyleClass()"
3569
- [attr.aria-invalid]="invalid() || undefined"
3570
- [ngModel]="value()"
3571
- [ngModelOptions]="{ standalone: true }"
3572
- (ngModelChange)="handleChange($event)"
3573
- (onFocus)="handleFocus($any($event))"
3574
- (onBlur)="handleBlur($any($event))"
3575
- (onShow)="panelShow.emit()"
3576
- (onHide)="panelHide.emit()"
3577
- (onFilter)="filterChange.emit($event)"
3578
- >
3579
- <ng-template #filtericon>
3580
- <asc-svg-icon name="search" size="1rem" class="asc-select-filter-icon" />
3581
- </ng-template>
3582
- </p-select>
3583
- <label [for]="selectId()">{{ label() }}</label>
3584
- </p-floatlabel>
3585
- } @else {
3586
- <p-select
3587
- [inputId]="selectId()"
3588
- [options]="options()"
3589
- [optionLabel]="optionLabel()"
3590
- [optionValue]="optionValue()"
3591
- [optionDisabled]="optionDisabled()"
3592
- [optionGroupLabel]="optionGroupLabel()"
3593
- [optionGroupChildren]="optionGroupChildren()"
3594
- [group]="grouped()"
3595
- [placeholder]="resolvedPlaceholder()"
3596
- [filter]="filterable()"
3597
- [filterBy]="filterBy()"
3598
- [filterPlaceholder]="resolvedFilterPlaceholder()"
3599
- [showClear]="showClear()"
3600
- [disabled]="effectiveDisabled()"
3601
- [loading]="loading()"
3602
- [virtualScroll]="virtualScroll()"
3603
- [virtualScrollItemSize]="virtualScrollItemSize()"
3604
- [emptyMessage]="resolvedEmptyMessage()"
3605
- [emptyFilterMessage]="resolvedEmptyFilterMessage()"
3606
- [appendTo]="appendTo()"
3607
- [class]="selectInnerCls()"
3608
- [panelStyleClass]="panelStyleClass()"
3609
- [attr.aria-invalid]="invalid() || undefined"
3610
- [ngModel]="value()"
3611
- [ngModelOptions]="{ standalone: true }"
3612
- (ngModelChange)="handleChange($event)"
3613
- (onFocus)="handleFocus($any($event))"
3614
- (onBlur)="handleBlur($any($event))"
3615
- (onShow)="panelShow.emit()"
3616
- (onHide)="panelHide.emit()"
3617
- (onFilter)="filterChange.emit($event)"
3618
- >
3619
- <ng-template #filtericon>
3620
- <asc-svg-icon name="search" size="1rem" class="asc-select-filter-icon" />
3621
- </ng-template>
3622
- </p-select>
3623
- }
3624
- }
3625
- `, 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%}.asc-select-view{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:12px;font-weight:400;line-height:16px;display:flex;align-items: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:12px;font-weight:400;line-height:18px;display:flex;align-items: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:14px;font-weight:400;line-height:20px;display:flex;align-items: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:16px;font-weight:400;line-height:24px;display:flex;align-items: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:18px;font-weight:400;line-height:28px;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:16px}:host(.asc-select--sm) ::ng-deep .p-select-label,:host(.asc-select--sm) ::ng-deep .p-multiselect-label{line-height:18px}:host(.asc-select--md) ::ng-deep .p-select-label,:host(.asc-select--md) ::ng-deep .p-multiselect-label{line-height:20px}:host(.asc-select--lg) ::ng-deep .p-select-label,:host(.asc-select--lg) ::ng-deep .p-multiselect-label{line-height:24px}:host(.asc-select--xl) ::ng-deep .p-select-label,:host(.asc-select--xl) ::ng-deep .p-multiselect-label{line-height:28px}: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 }); }
3582
+ ], usesInheritance: true, ngImport: i0, template: `
3583
+ @if (mode() === 'view') {
3584
+ <span class="asc-select-view">{{ resolvedViewText() }}</span>
3585
+ } @else if (multi()) {
3586
+ <!-- ── Multi Select ───────────────────────────────────────────────── -->
3587
+ @if (resolvedFloatLabel() && label()) {
3588
+ <p-floatlabel [variant]="floatLabelVariant()">
3589
+ <p-multiselect
3590
+ [inputId]="selectId()"
3591
+ [options]="options()"
3592
+ [optionLabel]="optionLabel()"
3593
+ [optionValue]="optionValue()"
3594
+ [optionDisabled]="optionDisabled()"
3595
+ [optionGroupLabel]="optionGroupLabel()"
3596
+ [optionGroupChildren]="optionGroupChildren()"
3597
+ [group]="grouped()"
3598
+ [filter]="filterable()"
3599
+ [filterBy]="filterBy()"
3600
+ [showClear]="showClear()"
3601
+ [display]="display()"
3602
+ [maxSelectedLabels]="maxSelectedLabels()"
3603
+ [selectedItemsLabel]="resolvedSelectedItemsLabel()"
3604
+ [disabled]="effectiveDisabled()"
3605
+ [loading]="loading()"
3606
+ [virtualScroll]="virtualScroll()"
3607
+ [virtualScrollItemSize]="virtualScrollItemSize()"
3608
+ [emptyMessage]="resolvedEmptyMessage()"
3609
+ [emptyFilterMessage]="resolvedEmptyFilterMessage()"
3610
+ [appendTo]="appendTo()"
3611
+ [class]="selectInnerCls()"
3612
+ [panelStyleClass]="panelStyleClass()"
3613
+ [attr.aria-invalid]="invalid() || undefined"
3614
+ [ngModel]="value()"
3615
+ [ngModelOptions]="{ standalone: true }"
3616
+ (ngModelChange)="handleChange($event)"
3617
+ (onFocus)="handleFocus($event)"
3618
+ (onBlur)="handleBlur($event)"
3619
+ (onPanelShow)="panelShow.emit()"
3620
+ (onPanelHide)="panelHide.emit()"
3621
+ (onFilter)="filterChange.emit($event)"
3622
+ >
3623
+ <ng-template #filtericon>
3624
+ <asc-svg-icon name="search" size="1rem" class="asc-select-filter-icon" />
3625
+ </ng-template>
3626
+ </p-multiselect>
3627
+ <label [for]="selectId()">{{ label() }}</label>
3628
+ </p-floatlabel>
3629
+ } @else {
3630
+ <p-multiselect
3631
+ [inputId]="selectId()"
3632
+ [options]="options()"
3633
+ [optionLabel]="optionLabel()"
3634
+ [optionValue]="optionValue()"
3635
+ [optionDisabled]="optionDisabled()"
3636
+ [optionGroupLabel]="optionGroupLabel()"
3637
+ [optionGroupChildren]="optionGroupChildren()"
3638
+ [group]="grouped()"
3639
+ [placeholder]="resolvedPlaceholder()"
3640
+ [filter]="filterable()"
3641
+ [filterBy]="filterBy()"
3642
+ [showClear]="showClear()"
3643
+ [display]="display()"
3644
+ [maxSelectedLabels]="maxSelectedLabels()"
3645
+ [selectedItemsLabel]="resolvedSelectedItemsLabel()"
3646
+ [disabled]="effectiveDisabled()"
3647
+ [loading]="loading()"
3648
+ [virtualScroll]="virtualScroll()"
3649
+ [virtualScrollItemSize]="virtualScrollItemSize()"
3650
+ [emptyMessage]="resolvedEmptyMessage()"
3651
+ [emptyFilterMessage]="resolvedEmptyFilterMessage()"
3652
+ [appendTo]="appendTo()"
3653
+ [class]="selectInnerCls()"
3654
+ [panelStyleClass]="panelStyleClass()"
3655
+ [attr.aria-invalid]="invalid() || undefined"
3656
+ [ngModel]="value()"
3657
+ [ngModelOptions]="{ standalone: true }"
3658
+ (ngModelChange)="handleChange($event)"
3659
+ (onFocus)="handleFocus($event)"
3660
+ (onBlur)="handleBlur($event)"
3661
+ (onPanelShow)="panelShow.emit()"
3662
+ (onPanelHide)="panelHide.emit()"
3663
+ (onFilter)="filterChange.emit($event)"
3664
+ >
3665
+ <ng-template #filtericon>
3666
+ <asc-svg-icon name="search" size="1rem" class="asc-select-filter-icon" />
3667
+ </ng-template>
3668
+ </p-multiselect>
3669
+ }
3670
+ } @else {
3671
+ <!-- ── Single Select ───────────────────────────────────────────────── -->
3672
+ @if (resolvedFloatLabel() && label()) {
3673
+ <p-floatlabel [variant]="floatLabelVariant()">
3674
+ <p-select
3675
+ [inputId]="selectId()"
3676
+ [options]="options()"
3677
+ [optionLabel]="optionLabel()"
3678
+ [optionValue]="optionValue()"
3679
+ [optionDisabled]="optionDisabled()"
3680
+ [optionGroupLabel]="optionGroupLabel()"
3681
+ [optionGroupChildren]="optionGroupChildren()"
3682
+ [group]="grouped()"
3683
+ [filter]="filterable()"
3684
+ [filterBy]="filterBy()"
3685
+ [filterPlaceholder]="resolvedFilterPlaceholder()"
3686
+ [showClear]="showClear()"
3687
+ [disabled]="effectiveDisabled()"
3688
+ [loading]="loading()"
3689
+ [virtualScroll]="virtualScroll()"
3690
+ [virtualScrollItemSize]="virtualScrollItemSize()"
3691
+ [emptyMessage]="resolvedEmptyMessage()"
3692
+ [emptyFilterMessage]="resolvedEmptyFilterMessage()"
3693
+ [appendTo]="appendTo()"
3694
+ [class]="selectInnerCls()"
3695
+ [panelStyleClass]="panelStyleClass()"
3696
+ [attr.aria-invalid]="invalid() || undefined"
3697
+ [ngModel]="value()"
3698
+ [ngModelOptions]="{ standalone: true }"
3699
+ (ngModelChange)="handleChange($event)"
3700
+ (onFocus)="handleFocus($any($event))"
3701
+ (onBlur)="handleBlur($any($event))"
3702
+ (onShow)="panelShow.emit()"
3703
+ (onHide)="panelHide.emit()"
3704
+ (onFilter)="filterChange.emit($event)"
3705
+ >
3706
+ <ng-template #filtericon>
3707
+ <asc-svg-icon name="search" size="1rem" class="asc-select-filter-icon" />
3708
+ </ng-template>
3709
+ </p-select>
3710
+ <label [for]="selectId()">{{ label() }}</label>
3711
+ </p-floatlabel>
3712
+ } @else {
3713
+ <p-select
3714
+ [inputId]="selectId()"
3715
+ [options]="options()"
3716
+ [optionLabel]="optionLabel()"
3717
+ [optionValue]="optionValue()"
3718
+ [optionDisabled]="optionDisabled()"
3719
+ [optionGroupLabel]="optionGroupLabel()"
3720
+ [optionGroupChildren]="optionGroupChildren()"
3721
+ [group]="grouped()"
3722
+ [placeholder]="resolvedPlaceholder()"
3723
+ [filter]="filterable()"
3724
+ [filterBy]="filterBy()"
3725
+ [filterPlaceholder]="resolvedFilterPlaceholder()"
3726
+ [showClear]="showClear()"
3727
+ [disabled]="effectiveDisabled()"
3728
+ [loading]="loading()"
3729
+ [virtualScroll]="virtualScroll()"
3730
+ [virtualScrollItemSize]="virtualScrollItemSize()"
3731
+ [emptyMessage]="resolvedEmptyMessage()"
3732
+ [emptyFilterMessage]="resolvedEmptyFilterMessage()"
3733
+ [appendTo]="appendTo()"
3734
+ [class]="selectInnerCls()"
3735
+ [panelStyleClass]="panelStyleClass()"
3736
+ [attr.aria-invalid]="invalid() || undefined"
3737
+ [ngModel]="value()"
3738
+ [ngModelOptions]="{ standalone: true }"
3739
+ (ngModelChange)="handleChange($event)"
3740
+ (onFocus)="handleFocus($any($event))"
3741
+ (onBlur)="handleBlur($any($event))"
3742
+ (onShow)="panelShow.emit()"
3743
+ (onHide)="panelHide.emit()"
3744
+ (onFilter)="filterChange.emit($event)"
3745
+ >
3746
+ <ng-template #filtericon>
3747
+ <asc-svg-icon name="search" size="1rem" class="asc-select-filter-icon" />
3748
+ </ng-template>
3749
+ </p-select>
3750
+ }
3751
+ }
3752
+ `, 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 }); }
3626
3753
  }
3627
3754
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: AscSelectComponent, decorators: [{
3628
3755
  type: Component,
@@ -3634,177 +3761,177 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
3634
3761
  ], host: {
3635
3762
  '[class]': 'hostCls()',
3636
3763
  '[attr.data-input-id]': 'selectId()',
3637
- }, template: `
3638
- @if (mode() === 'view') {
3639
- <span class="asc-select-view">{{ resolvedViewText() }}</span>
3640
- } @else if (multi()) {
3641
- <!-- ── Multi Select ───────────────────────────────────────────────── -->
3642
- @if (resolvedFloatLabel() && label()) {
3643
- <p-floatlabel [variant]="floatLabelVariant()">
3644
- <p-multiselect
3645
- [inputId]="selectId()"
3646
- [options]="options()"
3647
- [optionLabel]="optionLabel()"
3648
- [optionValue]="optionValue()"
3649
- [optionDisabled]="optionDisabled()"
3650
- [optionGroupLabel]="optionGroupLabel()"
3651
- [optionGroupChildren]="optionGroupChildren()"
3652
- [group]="grouped()"
3653
- [filter]="filterable()"
3654
- [filterBy]="filterBy()"
3655
- [showClear]="showClear()"
3656
- [display]="display()"
3657
- [maxSelectedLabels]="maxSelectedLabels()"
3658
- [selectedItemsLabel]="resolvedSelectedItemsLabel()"
3659
- [disabled]="effectiveDisabled()"
3660
- [loading]="loading()"
3661
- [virtualScroll]="virtualScroll()"
3662
- [virtualScrollItemSize]="virtualScrollItemSize()"
3663
- [emptyMessage]="resolvedEmptyMessage()"
3664
- [emptyFilterMessage]="resolvedEmptyFilterMessage()"
3665
- [appendTo]="appendTo()"
3666
- [class]="selectInnerCls()"
3667
- [panelStyleClass]="panelStyleClass()"
3668
- [attr.aria-invalid]="invalid() || undefined"
3669
- [ngModel]="value()"
3670
- [ngModelOptions]="{ standalone: true }"
3671
- (ngModelChange)="handleChange($event)"
3672
- (onFocus)="handleFocus($event)"
3673
- (onBlur)="handleBlur($event)"
3674
- (onPanelShow)="panelShow.emit()"
3675
- (onPanelHide)="panelHide.emit()"
3676
- (onFilter)="filterChange.emit($event)"
3677
- >
3678
- <ng-template #filtericon>
3679
- <asc-svg-icon name="search" size="1rem" class="asc-select-filter-icon" />
3680
- </ng-template>
3681
- </p-multiselect>
3682
- <label [for]="selectId()">{{ label() }}</label>
3683
- </p-floatlabel>
3684
- } @else {
3685
- <p-multiselect
3686
- [inputId]="selectId()"
3687
- [options]="options()"
3688
- [optionLabel]="optionLabel()"
3689
- [optionValue]="optionValue()"
3690
- [optionDisabled]="optionDisabled()"
3691
- [optionGroupLabel]="optionGroupLabel()"
3692
- [optionGroupChildren]="optionGroupChildren()"
3693
- [group]="grouped()"
3694
- [placeholder]="resolvedPlaceholder()"
3695
- [filter]="filterable()"
3696
- [filterBy]="filterBy()"
3697
- [showClear]="showClear()"
3698
- [display]="display()"
3699
- [maxSelectedLabels]="maxSelectedLabels()"
3700
- [selectedItemsLabel]="resolvedSelectedItemsLabel()"
3701
- [disabled]="effectiveDisabled()"
3702
- [loading]="loading()"
3703
- [virtualScroll]="virtualScroll()"
3704
- [virtualScrollItemSize]="virtualScrollItemSize()"
3705
- [emptyMessage]="resolvedEmptyMessage()"
3706
- [emptyFilterMessage]="resolvedEmptyFilterMessage()"
3707
- [appendTo]="appendTo()"
3708
- [class]="selectInnerCls()"
3709
- [panelStyleClass]="panelStyleClass()"
3710
- [attr.aria-invalid]="invalid() || undefined"
3711
- [ngModel]="value()"
3712
- [ngModelOptions]="{ standalone: true }"
3713
- (ngModelChange)="handleChange($event)"
3714
- (onFocus)="handleFocus($event)"
3715
- (onBlur)="handleBlur($event)"
3716
- (onPanelShow)="panelShow.emit()"
3717
- (onPanelHide)="panelHide.emit()"
3718
- (onFilter)="filterChange.emit($event)"
3719
- >
3720
- <ng-template #filtericon>
3721
- <asc-svg-icon name="search" size="1rem" class="asc-select-filter-icon" />
3722
- </ng-template>
3723
- </p-multiselect>
3724
- }
3725
- } @else {
3726
- <!-- ── Single Select ───────────────────────────────────────────────── -->
3727
- @if (resolvedFloatLabel() && label()) {
3728
- <p-floatlabel [variant]="floatLabelVariant()">
3729
- <p-select
3730
- [inputId]="selectId()"
3731
- [options]="options()"
3732
- [optionLabel]="optionLabel()"
3733
- [optionValue]="optionValue()"
3734
- [optionDisabled]="optionDisabled()"
3735
- [optionGroupLabel]="optionGroupLabel()"
3736
- [optionGroupChildren]="optionGroupChildren()"
3737
- [group]="grouped()"
3738
- [filter]="filterable()"
3739
- [filterBy]="filterBy()"
3740
- [filterPlaceholder]="resolvedFilterPlaceholder()"
3741
- [showClear]="showClear()"
3742
- [disabled]="effectiveDisabled()"
3743
- [loading]="loading()"
3744
- [virtualScroll]="virtualScroll()"
3745
- [virtualScrollItemSize]="virtualScrollItemSize()"
3746
- [emptyMessage]="resolvedEmptyMessage()"
3747
- [emptyFilterMessage]="resolvedEmptyFilterMessage()"
3748
- [appendTo]="appendTo()"
3749
- [class]="selectInnerCls()"
3750
- [panelStyleClass]="panelStyleClass()"
3751
- [attr.aria-invalid]="invalid() || undefined"
3752
- [ngModel]="value()"
3753
- [ngModelOptions]="{ standalone: true }"
3754
- (ngModelChange)="handleChange($event)"
3755
- (onFocus)="handleFocus($any($event))"
3756
- (onBlur)="handleBlur($any($event))"
3757
- (onShow)="panelShow.emit()"
3758
- (onHide)="panelHide.emit()"
3759
- (onFilter)="filterChange.emit($event)"
3760
- >
3761
- <ng-template #filtericon>
3762
- <asc-svg-icon name="search" size="1rem" class="asc-select-filter-icon" />
3763
- </ng-template>
3764
- </p-select>
3765
- <label [for]="selectId()">{{ label() }}</label>
3766
- </p-floatlabel>
3767
- } @else {
3768
- <p-select
3769
- [inputId]="selectId()"
3770
- [options]="options()"
3771
- [optionLabel]="optionLabel()"
3772
- [optionValue]="optionValue()"
3773
- [optionDisabled]="optionDisabled()"
3774
- [optionGroupLabel]="optionGroupLabel()"
3775
- [optionGroupChildren]="optionGroupChildren()"
3776
- [group]="grouped()"
3777
- [placeholder]="resolvedPlaceholder()"
3778
- [filter]="filterable()"
3779
- [filterBy]="filterBy()"
3780
- [filterPlaceholder]="resolvedFilterPlaceholder()"
3781
- [showClear]="showClear()"
3782
- [disabled]="effectiveDisabled()"
3783
- [loading]="loading()"
3784
- [virtualScroll]="virtualScroll()"
3785
- [virtualScrollItemSize]="virtualScrollItemSize()"
3786
- [emptyMessage]="resolvedEmptyMessage()"
3787
- [emptyFilterMessage]="resolvedEmptyFilterMessage()"
3788
- [appendTo]="appendTo()"
3789
- [class]="selectInnerCls()"
3790
- [panelStyleClass]="panelStyleClass()"
3791
- [attr.aria-invalid]="invalid() || undefined"
3792
- [ngModel]="value()"
3793
- [ngModelOptions]="{ standalone: true }"
3794
- (ngModelChange)="handleChange($event)"
3795
- (onFocus)="handleFocus($any($event))"
3796
- (onBlur)="handleBlur($any($event))"
3797
- (onShow)="panelShow.emit()"
3798
- (onHide)="panelHide.emit()"
3799
- (onFilter)="filterChange.emit($event)"
3800
- >
3801
- <ng-template #filtericon>
3802
- <asc-svg-icon name="search" size="1rem" class="asc-select-filter-icon" />
3803
- </ng-template>
3804
- </p-select>
3805
- }
3806
- }
3807
- `, 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%}.asc-select-view{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:12px;font-weight:400;line-height:16px;display:flex;align-items: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:12px;font-weight:400;line-height:18px;display:flex;align-items: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:14px;font-weight:400;line-height:20px;display:flex;align-items: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:16px;font-weight:400;line-height:24px;display:flex;align-items: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:18px;font-weight:400;line-height:28px;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:16px}:host(.asc-select--sm) ::ng-deep .p-select-label,:host(.asc-select--sm) ::ng-deep .p-multiselect-label{line-height:18px}:host(.asc-select--md) ::ng-deep .p-select-label,:host(.asc-select--md) ::ng-deep .p-multiselect-label{line-height:20px}:host(.asc-select--lg) ::ng-deep .p-select-label,:host(.asc-select--lg) ::ng-deep .p-multiselect-label{line-height:24px}:host(.asc-select--xl) ::ng-deep .p-select-label,:host(.asc-select--xl) ::ng-deep .p-multiselect-label{line-height:28px}: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"] }]
3764
+ }, template: `
3765
+ @if (mode() === 'view') {
3766
+ <span class="asc-select-view">{{ resolvedViewText() }}</span>
3767
+ } @else if (multi()) {
3768
+ <!-- ── Multi Select ───────────────────────────────────────────────── -->
3769
+ @if (resolvedFloatLabel() && label()) {
3770
+ <p-floatlabel [variant]="floatLabelVariant()">
3771
+ <p-multiselect
3772
+ [inputId]="selectId()"
3773
+ [options]="options()"
3774
+ [optionLabel]="optionLabel()"
3775
+ [optionValue]="optionValue()"
3776
+ [optionDisabled]="optionDisabled()"
3777
+ [optionGroupLabel]="optionGroupLabel()"
3778
+ [optionGroupChildren]="optionGroupChildren()"
3779
+ [group]="grouped()"
3780
+ [filter]="filterable()"
3781
+ [filterBy]="filterBy()"
3782
+ [showClear]="showClear()"
3783
+ [display]="display()"
3784
+ [maxSelectedLabels]="maxSelectedLabels()"
3785
+ [selectedItemsLabel]="resolvedSelectedItemsLabel()"
3786
+ [disabled]="effectiveDisabled()"
3787
+ [loading]="loading()"
3788
+ [virtualScroll]="virtualScroll()"
3789
+ [virtualScrollItemSize]="virtualScrollItemSize()"
3790
+ [emptyMessage]="resolvedEmptyMessage()"
3791
+ [emptyFilterMessage]="resolvedEmptyFilterMessage()"
3792
+ [appendTo]="appendTo()"
3793
+ [class]="selectInnerCls()"
3794
+ [panelStyleClass]="panelStyleClass()"
3795
+ [attr.aria-invalid]="invalid() || undefined"
3796
+ [ngModel]="value()"
3797
+ [ngModelOptions]="{ standalone: true }"
3798
+ (ngModelChange)="handleChange($event)"
3799
+ (onFocus)="handleFocus($event)"
3800
+ (onBlur)="handleBlur($event)"
3801
+ (onPanelShow)="panelShow.emit()"
3802
+ (onPanelHide)="panelHide.emit()"
3803
+ (onFilter)="filterChange.emit($event)"
3804
+ >
3805
+ <ng-template #filtericon>
3806
+ <asc-svg-icon name="search" size="1rem" class="asc-select-filter-icon" />
3807
+ </ng-template>
3808
+ </p-multiselect>
3809
+ <label [for]="selectId()">{{ label() }}</label>
3810
+ </p-floatlabel>
3811
+ } @else {
3812
+ <p-multiselect
3813
+ [inputId]="selectId()"
3814
+ [options]="options()"
3815
+ [optionLabel]="optionLabel()"
3816
+ [optionValue]="optionValue()"
3817
+ [optionDisabled]="optionDisabled()"
3818
+ [optionGroupLabel]="optionGroupLabel()"
3819
+ [optionGroupChildren]="optionGroupChildren()"
3820
+ [group]="grouped()"
3821
+ [placeholder]="resolvedPlaceholder()"
3822
+ [filter]="filterable()"
3823
+ [filterBy]="filterBy()"
3824
+ [showClear]="showClear()"
3825
+ [display]="display()"
3826
+ [maxSelectedLabels]="maxSelectedLabels()"
3827
+ [selectedItemsLabel]="resolvedSelectedItemsLabel()"
3828
+ [disabled]="effectiveDisabled()"
3829
+ [loading]="loading()"
3830
+ [virtualScroll]="virtualScroll()"
3831
+ [virtualScrollItemSize]="virtualScrollItemSize()"
3832
+ [emptyMessage]="resolvedEmptyMessage()"
3833
+ [emptyFilterMessage]="resolvedEmptyFilterMessage()"
3834
+ [appendTo]="appendTo()"
3835
+ [class]="selectInnerCls()"
3836
+ [panelStyleClass]="panelStyleClass()"
3837
+ [attr.aria-invalid]="invalid() || undefined"
3838
+ [ngModel]="value()"
3839
+ [ngModelOptions]="{ standalone: true }"
3840
+ (ngModelChange)="handleChange($event)"
3841
+ (onFocus)="handleFocus($event)"
3842
+ (onBlur)="handleBlur($event)"
3843
+ (onPanelShow)="panelShow.emit()"
3844
+ (onPanelHide)="panelHide.emit()"
3845
+ (onFilter)="filterChange.emit($event)"
3846
+ >
3847
+ <ng-template #filtericon>
3848
+ <asc-svg-icon name="search" size="1rem" class="asc-select-filter-icon" />
3849
+ </ng-template>
3850
+ </p-multiselect>
3851
+ }
3852
+ } @else {
3853
+ <!-- ── Single Select ───────────────────────────────────────────────── -->
3854
+ @if (resolvedFloatLabel() && label()) {
3855
+ <p-floatlabel [variant]="floatLabelVariant()">
3856
+ <p-select
3857
+ [inputId]="selectId()"
3858
+ [options]="options()"
3859
+ [optionLabel]="optionLabel()"
3860
+ [optionValue]="optionValue()"
3861
+ [optionDisabled]="optionDisabled()"
3862
+ [optionGroupLabel]="optionGroupLabel()"
3863
+ [optionGroupChildren]="optionGroupChildren()"
3864
+ [group]="grouped()"
3865
+ [filter]="filterable()"
3866
+ [filterBy]="filterBy()"
3867
+ [filterPlaceholder]="resolvedFilterPlaceholder()"
3868
+ [showClear]="showClear()"
3869
+ [disabled]="effectiveDisabled()"
3870
+ [loading]="loading()"
3871
+ [virtualScroll]="virtualScroll()"
3872
+ [virtualScrollItemSize]="virtualScrollItemSize()"
3873
+ [emptyMessage]="resolvedEmptyMessage()"
3874
+ [emptyFilterMessage]="resolvedEmptyFilterMessage()"
3875
+ [appendTo]="appendTo()"
3876
+ [class]="selectInnerCls()"
3877
+ [panelStyleClass]="panelStyleClass()"
3878
+ [attr.aria-invalid]="invalid() || undefined"
3879
+ [ngModel]="value()"
3880
+ [ngModelOptions]="{ standalone: true }"
3881
+ (ngModelChange)="handleChange($event)"
3882
+ (onFocus)="handleFocus($any($event))"
3883
+ (onBlur)="handleBlur($any($event))"
3884
+ (onShow)="panelShow.emit()"
3885
+ (onHide)="panelHide.emit()"
3886
+ (onFilter)="filterChange.emit($event)"
3887
+ >
3888
+ <ng-template #filtericon>
3889
+ <asc-svg-icon name="search" size="1rem" class="asc-select-filter-icon" />
3890
+ </ng-template>
3891
+ </p-select>
3892
+ <label [for]="selectId()">{{ label() }}</label>
3893
+ </p-floatlabel>
3894
+ } @else {
3895
+ <p-select
3896
+ [inputId]="selectId()"
3897
+ [options]="options()"
3898
+ [optionLabel]="optionLabel()"
3899
+ [optionValue]="optionValue()"
3900
+ [optionDisabled]="optionDisabled()"
3901
+ [optionGroupLabel]="optionGroupLabel()"
3902
+ [optionGroupChildren]="optionGroupChildren()"
3903
+ [group]="grouped()"
3904
+ [placeholder]="resolvedPlaceholder()"
3905
+ [filter]="filterable()"
3906
+ [filterBy]="filterBy()"
3907
+ [filterPlaceholder]="resolvedFilterPlaceholder()"
3908
+ [showClear]="showClear()"
3909
+ [disabled]="effectiveDisabled()"
3910
+ [loading]="loading()"
3911
+ [virtualScroll]="virtualScroll()"
3912
+ [virtualScrollItemSize]="virtualScrollItemSize()"
3913
+ [emptyMessage]="resolvedEmptyMessage()"
3914
+ [emptyFilterMessage]="resolvedEmptyFilterMessage()"
3915
+ [appendTo]="appendTo()"
3916
+ [class]="selectInnerCls()"
3917
+ [panelStyleClass]="panelStyleClass()"
3918
+ [attr.aria-invalid]="invalid() || undefined"
3919
+ [ngModel]="value()"
3920
+ [ngModelOptions]="{ standalone: true }"
3921
+ (ngModelChange)="handleChange($event)"
3922
+ (onFocus)="handleFocus($any($event))"
3923
+ (onBlur)="handleBlur($any($event))"
3924
+ (onShow)="panelShow.emit()"
3925
+ (onHide)="panelHide.emit()"
3926
+ (onFilter)="filterChange.emit($event)"
3927
+ >
3928
+ <ng-template #filtericon>
3929
+ <asc-svg-icon name="search" size="1rem" class="asc-select-filter-icon" />
3930
+ </ng-template>
3931
+ </p-select>
3932
+ }
3933
+ }
3934
+ `, 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"] }]
3808
3935
  }], 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"] }] } });
3809
3936
 
3810
3937
  // ─────────────────────────────────────────────────────────────────────────────
@@ -4145,7 +4272,7 @@ class AscDatepickerComponent extends BaseControlAccessor {
4145
4272
  (onYearChange)="viewDateChange.emit($event)"
4146
4273
  ></p-datepicker>
4147
4274
  }
4148
- `, 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:12px;font-weight:400;line-height:16px}: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:12px;font-weight:400;line-height:18px}: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:14px;font-weight:400;line-height:20px}: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:16px;font-weight:400;line-height:24px}: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:18px;font-weight:400;line-height:28px}: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)}.asc-datepicker-view{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 }); }
4275
+ `, 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 }); }
4149
4276
  }
4150
4277
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: AscDatepickerComponent, decorators: [{
4151
4278
  type: Component,
@@ -4237,7 +4364,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
4237
4364
  (onYearChange)="viewDateChange.emit($event)"
4238
4365
  ></p-datepicker>
4239
4366
  }
4240
- `, 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:12px;font-weight:400;line-height:16px}: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:12px;font-weight:400;line-height:18px}: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:14px;font-weight:400;line-height:20px}: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:16px;font-weight:400;line-height:24px}: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:18px;font-weight:400;line-height:28px}: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)}.asc-datepicker-view{display:block;width:100%;min-height:20px;box-sizing:border-box;color:var(--asc-text-primary);word-break:break-word}\n"] }]
4367
+ `, 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"] }]
4241
4368
  }], 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"] }] } });
4242
4369
 
4243
4370
  // ─────────────────────────────────────────────────────────────────────────────
@@ -4700,7 +4827,7 @@ class AscInputNumberComponent extends BaseControlAccessor {
4700
4827
  (onInput)="inputEvent.emit($event)"
4701
4828
  />
4702
4829
  }
4703
- `, isInline: true, styles: [":host{display:block;width:100%;--p-inputnumber-button-border-radius: 12px}::ng-deep p-inputnumber,::ng-deep .p-inputnumber{width:100%}::ng-deep .p-inputnumber-input{width:100%;transition:border-color var(--asc-transition-fast),box-shadow var(--asc-transition-fast)}:host ::ng-deep .p-inputnumber-input{border-radius:12px}.asc-input-number-view{display:block;width:100%;min-height:20px;box-sizing:border-box;color:var(--asc-text-primary);word-break:break-word}:host ::ng-deep .p-inputnumber.p-inputnumber-buttons-stacked .p-inputnumber-input,:host ::ng-deep .p-inputnumber.p-inputnumber-buttons-horizontal .p-inputnumber-input{flex:1 1 auto;width:auto}:host(.asc-input-number--xs:not(.asc-input-number--float)) ::ng-deep .p-inputnumber-input{height:var(--asc-h-xs);padding-inline-start:8px;padding-inline-end:8px;border-radius:12px;font-size:12px;font-weight:400;line-height:16px}:host(.asc-input-number--sm:not(.asc-input-number--float)) ::ng-deep .p-inputnumber-input{height:var(--asc-h-sm);padding-inline-start:8px;padding-inline-end:8px;border-radius:12px;font-size:12px;font-weight:400;line-height:18px}:host(.asc-input-number--md:not(.asc-input-number--float)) ::ng-deep .p-inputnumber-input{height:var(--asc-h-md);padding-inline-start:8px;padding-inline-end:8px;border-radius:12px;font-size:14px;font-weight:400;line-height:20px}:host(.asc-input-number--lg:not(.asc-input-number--float)) ::ng-deep .p-inputnumber-input{height:var(--asc-h-lg);padding-inline-start:10px;padding-inline-end:10px;border-radius:12px;font-size:16px;font-weight:400;line-height:24px}:host(.asc-input-number--xl:not(.asc-input-number--float)) ::ng-deep .p-inputnumber-input{height:var(--asc-h-xl);padding-inline-start:12px;padding-inline-end:12px;border-radius:12px;font-size:18px;font-weight:400;line-height:28px}:host(.asc-input-number--xs) ::ng-deep .p-inputnumber-input{line-height:16px}:host(.asc-input-number--sm) ::ng-deep .p-inputnumber-input{line-height:18px}:host(.asc-input-number--md) ::ng-deep .p-inputnumber-input{line-height:20px}:host(.asc-input-number--lg) ::ng-deep .p-inputnumber-input{line-height:24px}:host(.asc-input-number--xl) ::ng-deep .p-inputnumber-input{line-height:28px}:host{--p-icon-size: 20px}:host(.asc-input-number--xs){--p-icon-size: 14px}:host(.asc-input-number--xl){--p-icon-size: 24px}:host ::ng-deep .p-inputnumber.p-inputnumber-horizontal .p-inputnumber-input,:host ::ng-deep .p-inputnumber.p-inputnumber-vertical .p-inputnumber-input{border-radius:0}:host ::ng-deep .p-inputnumber-button .p-icon{width:14px;height:14px}:host ::ng-deep .p-inputnumber:has(.p-inputnumber-clear-icon) .p-inputnumber-input{padding-inline-end:calc((var(--p-form-field-padding-x) * 2) + var(--p-icon-size))}:host ::ng-deep .p-inputnumber-clear-icon{box-sizing:border-box;width:var(--p-icon-size);height:var(--p-icon-size);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-inputnumber-clear-icon:hover{background:var(--asc-input-clear-bg-hover, #C0C0C2)}:host(.asc-input-number--disabled) ::ng-deep .p-inputnumber-input{border-color:var(--asc-formfield-disabled-border-color, #F2F3F5)}:host(.asc-input-number--invalid) ::ng-deep .p-inputnumber-input{border-color:var(--asc-border-color-invalid)!important}:host(.asc-input-number--invalid) ::ng-deep .p-inputnumber-input:focus{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: InputNumberModule }, { kind: "component", type: i2$6.InputNumber, selector: "p-inputNumber, p-inputnumber, p-input-number", inputs: ["showButtons", "format", "buttonLayout", "inputId", "styleClass", "placeholder", "tabindex", "title", "ariaLabelledBy", "ariaDescribedBy", "ariaLabel", "ariaRequired", "autocomplete", "incrementButtonClass", "decrementButtonClass", "incrementButtonIcon", "decrementButtonIcon", "readonly", "allowEmpty", "locale", "localeMatcher", "mode", "currency", "currencyDisplay", "useGrouping", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "inputStyle", "inputStyleClass", "showClear", "autofocus"], outputs: ["onInput", "onFocus", "onBlur", "onKeyDown", "onClear"] }, { kind: "ngmodule", type: FloatLabelModule }, { kind: "component", type: i3.FloatLabel, selector: "p-floatlabel, p-floatLabel, p-float-label", inputs: ["variant"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4830
+ `, isInline: true, styles: [":host{display:block;width:100%;--p-inputnumber-button-border-radius: 12px}::ng-deep p-inputnumber,::ng-deep .p-inputnumber{width:100%}::ng-deep .p-inputnumber-input{width:100%;transition:border-color var(--asc-transition-fast),box-shadow var(--asc-transition-fast)}:host ::ng-deep .p-inputnumber-input{border-radius:12px}:host(.asc-input-number--xs){--asc-input-number-font-size: var(--asc-control-font-size-xs);--asc-input-number-line-height: var(--asc-control-line-height-xs)}:host(.asc-input-number--sm){--asc-input-number-font-size: var(--asc-control-font-size-sm);--asc-input-number-line-height: var(--asc-control-line-height-sm)}:host(.asc-input-number--md){--asc-input-number-font-size: var(--asc-control-font-size-md);--asc-input-number-line-height: var(--asc-control-line-height-md)}:host(.asc-input-number--lg){--asc-input-number-font-size: var(--asc-control-font-size-lg);--asc-input-number-line-height: var(--asc-control-line-height-lg)}:host(.asc-input-number--xl){--asc-input-number-font-size: var(--asc-control-font-size-xl);--asc-input-number-line-height: var(--asc-control-line-height-xl)}.asc-input-number-view{font-size:var(--asc-input-number-font-size);line-height:var(--asc-input-number-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-inputnumber.p-inputnumber-buttons-stacked .p-inputnumber-input,:host ::ng-deep .p-inputnumber.p-inputnumber-buttons-horizontal .p-inputnumber-input{flex:1 1 auto;width:auto}:host(.asc-input-number--xs:not(.asc-input-number--float)) ::ng-deep .p-inputnumber-input{height:var(--asc-h-xs);padding-inline-start:8px;padding-inline-end:8px;border-radius:12px;font-size:var(--asc-input-number-font-size);font-weight:400;line-height:var(--asc-input-number-line-height)}:host(.asc-input-number--sm:not(.asc-input-number--float)) ::ng-deep .p-inputnumber-input{height:var(--asc-h-sm);padding-inline-start:8px;padding-inline-end:8px;border-radius:12px;font-size:var(--asc-input-number-font-size);font-weight:400;line-height:var(--asc-input-number-line-height)}:host(.asc-input-number--md:not(.asc-input-number--float)) ::ng-deep .p-inputnumber-input{height:var(--asc-h-md);padding-inline-start:8px;padding-inline-end:8px;border-radius:12px;font-size:var(--asc-input-number-font-size);font-weight:400;line-height:var(--asc-input-number-line-height)}:host(.asc-input-number--lg:not(.asc-input-number--float)) ::ng-deep .p-inputnumber-input{height:var(--asc-h-lg);padding-inline-start:10px;padding-inline-end:10px;border-radius:12px;font-size:var(--asc-input-number-font-size);font-weight:400;line-height:var(--asc-input-number-line-height)}:host(.asc-input-number--xl:not(.asc-input-number--float)) ::ng-deep .p-inputnumber-input{height:var(--asc-h-xl);padding-inline-start:12px;padding-inline-end:12px;border-radius:12px;font-size:var(--asc-input-number-font-size);font-weight:400;line-height:var(--asc-input-number-line-height)}:host(.asc-input-number--xs) ::ng-deep .p-inputnumber-input{line-height:var(--asc-input-number-line-height)}:host(.asc-input-number--sm) ::ng-deep .p-inputnumber-input{line-height:var(--asc-input-number-line-height)}:host(.asc-input-number--md) ::ng-deep .p-inputnumber-input{line-height:var(--asc-input-number-line-height)}:host(.asc-input-number--lg) ::ng-deep .p-inputnumber-input{line-height:var(--asc-input-number-line-height)}:host(.asc-input-number--xl) ::ng-deep .p-inputnumber-input{line-height:var(--asc-input-number-line-height)}:host{--p-icon-size: 20px}:host(.asc-input-number--xs){--p-icon-size: 14px}:host(.asc-input-number--xl){--p-icon-size: 24px}:host ::ng-deep .p-inputnumber.p-inputnumber-horizontal .p-inputnumber-input,:host ::ng-deep .p-inputnumber.p-inputnumber-vertical .p-inputnumber-input{border-radius:0}:host ::ng-deep .p-inputnumber-button .p-icon{width:14px;height:14px}:host ::ng-deep .p-inputnumber:has(.p-inputnumber-clear-icon) .p-inputnumber-input{padding-inline-end:calc((var(--p-form-field-padding-x) * 2) + var(--p-icon-size))}:host ::ng-deep .p-inputnumber-clear-icon{box-sizing:border-box;width:var(--p-icon-size);height:var(--p-icon-size);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-inputnumber-clear-icon:hover{background:var(--asc-input-clear-bg-hover, #C0C0C2)}:host(.asc-input-number--disabled) ::ng-deep .p-inputnumber-input{border-color:var(--asc-formfield-disabled-border-color, #F2F3F5)}:host(.asc-input-number--invalid) ::ng-deep .p-inputnumber-input{border-color:var(--asc-border-color-invalid)!important}:host(.asc-input-number--invalid) ::ng-deep .p-inputnumber-input:focus{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: InputNumberModule }, { kind: "component", type: i2$6.InputNumber, selector: "p-inputNumber, p-inputnumber, p-input-number", inputs: ["showButtons", "format", "buttonLayout", "inputId", "styleClass", "placeholder", "tabindex", "title", "ariaLabelledBy", "ariaDescribedBy", "ariaLabel", "ariaRequired", "autocomplete", "incrementButtonClass", "decrementButtonClass", "incrementButtonIcon", "decrementButtonIcon", "readonly", "allowEmpty", "locale", "localeMatcher", "mode", "currency", "currencyDisplay", "useGrouping", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "inputStyle", "inputStyleClass", "showClear", "autofocus"], outputs: ["onInput", "onFocus", "onBlur", "onKeyDown", "onClear"] }, { kind: "ngmodule", type: FloatLabelModule }, { kind: "component", type: i3.FloatLabel, selector: "p-floatlabel, p-floatLabel, p-float-label", inputs: ["variant"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4704
4831
  }
4705
4832
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: AscInputNumberComponent, decorators: [{
4706
4833
  type: Component,
@@ -4770,7 +4897,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
4770
4897
  (onInput)="inputEvent.emit($event)"
4771
4898
  />
4772
4899
  }
4773
- `, styles: [":host{display:block;width:100%;--p-inputnumber-button-border-radius: 12px}::ng-deep p-inputnumber,::ng-deep .p-inputnumber{width:100%}::ng-deep .p-inputnumber-input{width:100%;transition:border-color var(--asc-transition-fast),box-shadow var(--asc-transition-fast)}:host ::ng-deep .p-inputnumber-input{border-radius:12px}.asc-input-number-view{display:block;width:100%;min-height:20px;box-sizing:border-box;color:var(--asc-text-primary);word-break:break-word}:host ::ng-deep .p-inputnumber.p-inputnumber-buttons-stacked .p-inputnumber-input,:host ::ng-deep .p-inputnumber.p-inputnumber-buttons-horizontal .p-inputnumber-input{flex:1 1 auto;width:auto}:host(.asc-input-number--xs:not(.asc-input-number--float)) ::ng-deep .p-inputnumber-input{height:var(--asc-h-xs);padding-inline-start:8px;padding-inline-end:8px;border-radius:12px;font-size:12px;font-weight:400;line-height:16px}:host(.asc-input-number--sm:not(.asc-input-number--float)) ::ng-deep .p-inputnumber-input{height:var(--asc-h-sm);padding-inline-start:8px;padding-inline-end:8px;border-radius:12px;font-size:12px;font-weight:400;line-height:18px}:host(.asc-input-number--md:not(.asc-input-number--float)) ::ng-deep .p-inputnumber-input{height:var(--asc-h-md);padding-inline-start:8px;padding-inline-end:8px;border-radius:12px;font-size:14px;font-weight:400;line-height:20px}:host(.asc-input-number--lg:not(.asc-input-number--float)) ::ng-deep .p-inputnumber-input{height:var(--asc-h-lg);padding-inline-start:10px;padding-inline-end:10px;border-radius:12px;font-size:16px;font-weight:400;line-height:24px}:host(.asc-input-number--xl:not(.asc-input-number--float)) ::ng-deep .p-inputnumber-input{height:var(--asc-h-xl);padding-inline-start:12px;padding-inline-end:12px;border-radius:12px;font-size:18px;font-weight:400;line-height:28px}:host(.asc-input-number--xs) ::ng-deep .p-inputnumber-input{line-height:16px}:host(.asc-input-number--sm) ::ng-deep .p-inputnumber-input{line-height:18px}:host(.asc-input-number--md) ::ng-deep .p-inputnumber-input{line-height:20px}:host(.asc-input-number--lg) ::ng-deep .p-inputnumber-input{line-height:24px}:host(.asc-input-number--xl) ::ng-deep .p-inputnumber-input{line-height:28px}:host{--p-icon-size: 20px}:host(.asc-input-number--xs){--p-icon-size: 14px}:host(.asc-input-number--xl){--p-icon-size: 24px}:host ::ng-deep .p-inputnumber.p-inputnumber-horizontal .p-inputnumber-input,:host ::ng-deep .p-inputnumber.p-inputnumber-vertical .p-inputnumber-input{border-radius:0}:host ::ng-deep .p-inputnumber-button .p-icon{width:14px;height:14px}:host ::ng-deep .p-inputnumber:has(.p-inputnumber-clear-icon) .p-inputnumber-input{padding-inline-end:calc((var(--p-form-field-padding-x) * 2) + var(--p-icon-size))}:host ::ng-deep .p-inputnumber-clear-icon{box-sizing:border-box;width:var(--p-icon-size);height:var(--p-icon-size);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-inputnumber-clear-icon:hover{background:var(--asc-input-clear-bg-hover, #C0C0C2)}:host(.asc-input-number--disabled) ::ng-deep .p-inputnumber-input{border-color:var(--asc-formfield-disabled-border-color, #F2F3F5)}:host(.asc-input-number--invalid) ::ng-deep .p-inputnumber-input{border-color:var(--asc-border-color-invalid)!important}:host(.asc-input-number--invalid) ::ng-deep .p-inputnumber-input:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--asc-color-danger) 20%,transparent)}\n"] }]
4900
+ `, styles: [":host{display:block;width:100%;--p-inputnumber-button-border-radius: 12px}::ng-deep p-inputnumber,::ng-deep .p-inputnumber{width:100%}::ng-deep .p-inputnumber-input{width:100%;transition:border-color var(--asc-transition-fast),box-shadow var(--asc-transition-fast)}:host ::ng-deep .p-inputnumber-input{border-radius:12px}:host(.asc-input-number--xs){--asc-input-number-font-size: var(--asc-control-font-size-xs);--asc-input-number-line-height: var(--asc-control-line-height-xs)}:host(.asc-input-number--sm){--asc-input-number-font-size: var(--asc-control-font-size-sm);--asc-input-number-line-height: var(--asc-control-line-height-sm)}:host(.asc-input-number--md){--asc-input-number-font-size: var(--asc-control-font-size-md);--asc-input-number-line-height: var(--asc-control-line-height-md)}:host(.asc-input-number--lg){--asc-input-number-font-size: var(--asc-control-font-size-lg);--asc-input-number-line-height: var(--asc-control-line-height-lg)}:host(.asc-input-number--xl){--asc-input-number-font-size: var(--asc-control-font-size-xl);--asc-input-number-line-height: var(--asc-control-line-height-xl)}.asc-input-number-view{font-size:var(--asc-input-number-font-size);line-height:var(--asc-input-number-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-inputnumber.p-inputnumber-buttons-stacked .p-inputnumber-input,:host ::ng-deep .p-inputnumber.p-inputnumber-buttons-horizontal .p-inputnumber-input{flex:1 1 auto;width:auto}:host(.asc-input-number--xs:not(.asc-input-number--float)) ::ng-deep .p-inputnumber-input{height:var(--asc-h-xs);padding-inline-start:8px;padding-inline-end:8px;border-radius:12px;font-size:var(--asc-input-number-font-size);font-weight:400;line-height:var(--asc-input-number-line-height)}:host(.asc-input-number--sm:not(.asc-input-number--float)) ::ng-deep .p-inputnumber-input{height:var(--asc-h-sm);padding-inline-start:8px;padding-inline-end:8px;border-radius:12px;font-size:var(--asc-input-number-font-size);font-weight:400;line-height:var(--asc-input-number-line-height)}:host(.asc-input-number--md:not(.asc-input-number--float)) ::ng-deep .p-inputnumber-input{height:var(--asc-h-md);padding-inline-start:8px;padding-inline-end:8px;border-radius:12px;font-size:var(--asc-input-number-font-size);font-weight:400;line-height:var(--asc-input-number-line-height)}:host(.asc-input-number--lg:not(.asc-input-number--float)) ::ng-deep .p-inputnumber-input{height:var(--asc-h-lg);padding-inline-start:10px;padding-inline-end:10px;border-radius:12px;font-size:var(--asc-input-number-font-size);font-weight:400;line-height:var(--asc-input-number-line-height)}:host(.asc-input-number--xl:not(.asc-input-number--float)) ::ng-deep .p-inputnumber-input{height:var(--asc-h-xl);padding-inline-start:12px;padding-inline-end:12px;border-radius:12px;font-size:var(--asc-input-number-font-size);font-weight:400;line-height:var(--asc-input-number-line-height)}:host(.asc-input-number--xs) ::ng-deep .p-inputnumber-input{line-height:var(--asc-input-number-line-height)}:host(.asc-input-number--sm) ::ng-deep .p-inputnumber-input{line-height:var(--asc-input-number-line-height)}:host(.asc-input-number--md) ::ng-deep .p-inputnumber-input{line-height:var(--asc-input-number-line-height)}:host(.asc-input-number--lg) ::ng-deep .p-inputnumber-input{line-height:var(--asc-input-number-line-height)}:host(.asc-input-number--xl) ::ng-deep .p-inputnumber-input{line-height:var(--asc-input-number-line-height)}:host{--p-icon-size: 20px}:host(.asc-input-number--xs){--p-icon-size: 14px}:host(.asc-input-number--xl){--p-icon-size: 24px}:host ::ng-deep .p-inputnumber.p-inputnumber-horizontal .p-inputnumber-input,:host ::ng-deep .p-inputnumber.p-inputnumber-vertical .p-inputnumber-input{border-radius:0}:host ::ng-deep .p-inputnumber-button .p-icon{width:14px;height:14px}:host ::ng-deep .p-inputnumber:has(.p-inputnumber-clear-icon) .p-inputnumber-input{padding-inline-end:calc((var(--p-form-field-padding-x) * 2) + var(--p-icon-size))}:host ::ng-deep .p-inputnumber-clear-icon{box-sizing:border-box;width:var(--p-icon-size);height:var(--p-icon-size);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-inputnumber-clear-icon:hover{background:var(--asc-input-clear-bg-hover, #C0C0C2)}:host(.asc-input-number--disabled) ::ng-deep .p-inputnumber-input{border-color:var(--asc-formfield-disabled-border-color, #F2F3F5)}:host(.asc-input-number--invalid) ::ng-deep .p-inputnumber-input{border-color:var(--asc-border-color-invalid)!important}:host(.asc-input-number--invalid) ::ng-deep .p-inputnumber-input:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--asc-color-danger) 20%,transparent)}\n"] }]
4774
4901
  }], propDecorators: { type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], fractionDigits: [{ type: i0.Input, args: [{ isSignal: true, alias: "fractionDigits", required: false }] }], useGrouping: [{ type: i0.Input, args: [{ isSignal: true, alias: "useGrouping", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], allowEmpty: [{ type: i0.Input, args: [{ isSignal: true, alias: "allowEmpty", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], prefix: [{ type: i0.Input, args: [{ isSignal: true, alias: "prefix", required: false }] }], suffix: [{ type: i0.Input, args: [{ isSignal: true, alias: "suffix", required: false }] }], showButtons: [{ type: i0.Input, args: [{ isSignal: true, alias: "showButtons", required: false }] }], buttonLayout: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonLayout", required: false }] }], showClear: [{ type: i0.Input, args: [{ isSignal: true, alias: "showClear", required: false }] }], locale: [{ type: i0.Input, args: [{ isSignal: true, alias: "locale", 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 }] }], 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 }] }], 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"] }], inputEvent: [{ type: i0.Output, args: ["inputEvent"] }], focused: [{ type: i0.Output, args: ["focused"] }], blurred: [{ type: i0.Output, args: ["blurred"] }] } });
4775
4902
 
4776
4903
  // ─────────────────────────────────────────────────────────────────────────────
@@ -4858,6 +4985,12 @@ class AscCheckboxComponent extends BaseControlAccessor {
4858
4985
  return undefined;
4859
4986
  }, /* @ts-ignore */
4860
4987
  ...(ngDevMode ? [{ debugName: "resolvedPSize" }] : /* istanbul ignore next */ []));
4988
+ /**
4989
+ * Size cho class host `asc-checkbox--{size}` (mặc định 'md' như các control khác).
4990
+ * Không override `controlSize` — giữ nguyên cỡ label của asc-form-field ở chế độ sửa.
4991
+ */
4992
+ this.resolvedSize = computed(() => this.size() ?? 'md', /* @ts-ignore */
4993
+ ...(ngDevMode ? [{ debugName: "resolvedSize" }] : /* istanbul ignore next */ []));
4861
4994
  this.listCls = computed(() => ascCls(`asc-checkbox-list--${this.layout()}`), /* @ts-ignore */
4862
4995
  ...(ngDevMode ? [{ debugName: "listCls" }] : /* istanbul ignore next */ []));
4863
4996
  /**
@@ -4875,7 +5008,7 @@ class AscCheckboxComponent extends BaseControlAccessor {
4875
5008
  return this.label() || '✓';
4876
5009
  }, /* @ts-ignore */
4877
5010
  ...(ngDevMode ? [{ debugName: "resolvedViewText" }] : /* istanbul ignore next */ []));
4878
- this.hostCls = computed(() => ascCls('asc-checkbox', this.isInvalidState() && 'asc-checkbox--invalid', this.effectiveDisabled() && 'asc-checkbox--disabled', this.readonly() && 'asc-checkbox--readonly', this.mode() === 'view' && 'asc-checkbox--view', this.styleClass()), /* @ts-ignore */
5011
+ this.hostCls = computed(() => ascCls('asc-checkbox', `asc-checkbox--${this.resolvedSize()}`, this.isInvalidState() && 'asc-checkbox--invalid', this.effectiveDisabled() && 'asc-checkbox--disabled', this.readonly() && 'asc-checkbox--readonly', this.mode() === 'view' && 'asc-checkbox--view', this.styleClass()), /* @ts-ignore */
4879
5012
  ...(ngDevMode ? [{ debugName: "hostCls" }] : /* istanbul ignore next */ []));
4880
5013
  }
4881
5014
  get controlDisabled() {
@@ -4960,7 +5093,7 @@ class AscCheckboxComponent extends BaseControlAccessor {
4960
5093
  }
4961
5094
  </div>
4962
5095
  }
4963
- `, isInline: true, styles: [":host{display:block}.asc-checkbox-list--column{display:flex;flex-direction:column;gap:.5rem}.asc-checkbox-list--row{display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}:host(.asc-checkbox--invalid) ::ng-deep .p-checkbox .p-checkbox-box{border-color:var(--asc-border-color-invalid)!important}.asc-checkbox-view{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: CheckboxModule }, { kind: "component", type: i2$7.Checkbox, selector: "p-checkbox, p-checkBox, p-check-box", inputs: ["hostName", "value", "binary", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "inputStyle", "styleClass", "inputClass", "indeterminate", "formControl", "checkboxIcon", "readonly", "autofocus", "trueValue", "falseValue", "variant", "size"], outputs: ["onChange", "onFocus", "onBlur"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5096
+ `, isInline: true, styles: [":host{display:block}.asc-checkbox-list--column{display:flex;flex-direction:column;gap:.5rem}.asc-checkbox-list--row{display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}:host(.asc-checkbox--invalid) ::ng-deep .p-checkbox .p-checkbox-box{border-color:var(--asc-border-color-invalid)!important}:host(.asc-checkbox--xs){--asc-checkbox-font-size: var(--asc-control-font-size-xs);--asc-checkbox-line-height: var(--asc-control-line-height-xs)}:host(.asc-checkbox--sm){--asc-checkbox-font-size: var(--asc-control-font-size-sm);--asc-checkbox-line-height: var(--asc-control-line-height-sm)}:host(.asc-checkbox--md){--asc-checkbox-font-size: var(--asc-control-font-size-md);--asc-checkbox-line-height: var(--asc-control-line-height-md)}:host(.asc-checkbox--lg){--asc-checkbox-font-size: var(--asc-control-font-size-lg);--asc-checkbox-line-height: var(--asc-control-line-height-lg)}:host(.asc-checkbox--xl){--asc-checkbox-font-size: var(--asc-control-font-size-xl);--asc-checkbox-line-height: var(--asc-control-line-height-xl)}.asc-checkbox-view{font-size:var(--asc-checkbox-font-size);line-height:var(--asc-checkbox-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: CheckboxModule }, { kind: "component", type: i2$7.Checkbox, selector: "p-checkbox, p-checkBox, p-check-box", inputs: ["hostName", "value", "binary", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "inputStyle", "styleClass", "inputClass", "indeterminate", "formControl", "checkboxIcon", "readonly", "autofocus", "trueValue", "falseValue", "variant", "size"], outputs: ["onChange", "onFocus", "onBlur"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4964
5097
  }
4965
5098
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: AscCheckboxComponent, decorators: [{
4966
5099
  type: Component,
@@ -5019,7 +5152,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
5019
5152
  }
5020
5153
  </div>
5021
5154
  }
5022
- `, styles: [":host{display:block}.asc-checkbox-list--column{display:flex;flex-direction:column;gap:.5rem}.asc-checkbox-list--row{display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}:host(.asc-checkbox--invalid) ::ng-deep .p-checkbox .p-checkbox-box{border-color:var(--asc-border-color-invalid)!important}.asc-checkbox-view{display:block;width:100%;min-height:20px;box-sizing:border-box;color:var(--asc-text-primary);word-break:break-word}\n"] }]
5155
+ `, styles: [":host{display:block}.asc-checkbox-list--column{display:flex;flex-direction:column;gap:.5rem}.asc-checkbox-list--row{display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}:host(.asc-checkbox--invalid) ::ng-deep .p-checkbox .p-checkbox-box{border-color:var(--asc-border-color-invalid)!important}:host(.asc-checkbox--xs){--asc-checkbox-font-size: var(--asc-control-font-size-xs);--asc-checkbox-line-height: var(--asc-control-line-height-xs)}:host(.asc-checkbox--sm){--asc-checkbox-font-size: var(--asc-control-font-size-sm);--asc-checkbox-line-height: var(--asc-control-line-height-sm)}:host(.asc-checkbox--md){--asc-checkbox-font-size: var(--asc-control-font-size-md);--asc-checkbox-line-height: var(--asc-control-line-height-md)}:host(.asc-checkbox--lg){--asc-checkbox-font-size: var(--asc-control-font-size-lg);--asc-checkbox-line-height: var(--asc-control-line-height-lg)}:host(.asc-checkbox--xl){--asc-checkbox-font-size: var(--asc-control-font-size-xl);--asc-checkbox-line-height: var(--asc-control-line-height-xl)}.asc-checkbox-view{font-size:var(--asc-checkbox-font-size);line-height:var(--asc-checkbox-line-height);display:block;width:100%;min-height:20px;box-sizing:border-box;color:var(--asc-text-primary);word-break:break-word}\n"] }]
5023
5156
  }], 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 }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], layout: [{ type: i0.Input, args: [{ isSignal: true, alias: "layout", 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 }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }] } });
5024
5157
 
5025
5158
  // ─────────────────────────────────────────────────────────────────────────────
@@ -5073,6 +5206,13 @@ class AscRadioComponent extends BaseControlAccessor {
5073
5206
  /** Căn theo trục ngang của item (align-items). @default 'center' */
5074
5207
  this.alignColumn = input('center', /* @ts-ignore */
5075
5208
  ...(ngDevMode ? [{ debugName: "alignColumn" }] : /* istanbul ignore next */ []));
5209
+ /**
5210
+ * Size — cùng kiểu/mặc định với các control khác (undefined → 'md').
5211
+ * Hiện chỉ quyết định cỡ chữ ở mode="view" (class host `asc-radio--{size}`);
5212
+ * nút radio giữ cố định 20×20, label chế độ sửa giữ nguyên.
5213
+ */
5214
+ this.size = input(undefined, /* @ts-ignore */
5215
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
5076
5216
  this.invalid = input(false, /* @ts-ignore */
5077
5217
  ...(ngDevMode ? [{ debugName: "invalid" }] : /* istanbul ignore next */ []));
5078
5218
  this.disabled = input(false, /* @ts-ignore */
@@ -5103,6 +5243,9 @@ class AscRadioComponent extends BaseControlAccessor {
5103
5243
  */
5104
5244
  this.effectiveDisabled = computed(() => this.disabled() || this.isDisabled() || this.readonly(), /* @ts-ignore */
5105
5245
  ...(ngDevMode ? [{ debugName: "effectiveDisabled" }] : /* istanbul ignore next */ []));
5246
+ /** Không override `controlSize` — giữ nguyên cỡ label của asc-form-field ở chế độ sửa. */
5247
+ this.resolvedSize = computed(() => this.size() ?? 'md', /* @ts-ignore */
5248
+ ...(ngDevMode ? [{ debugName: "resolvedSize" }] : /* istanbul ignore next */ []));
5106
5249
  this.listCls = computed(() => ascCls(`asc-radio-list--${this.layout()}`), /* @ts-ignore */
5107
5250
  ...(ngDevMode ? [{ debugName: "listCls" }] : /* istanbul ignore next */ []));
5108
5251
  /** mode="view": label tương ứng value hiện tại */
@@ -5111,7 +5254,7 @@ class AscRadioComponent extends BaseControlAccessor {
5111
5254
  return val === null || val === undefined || val === '' ? '—' : this._findLabel(val);
5112
5255
  }, /* @ts-ignore */
5113
5256
  ...(ngDevMode ? [{ debugName: "resolvedViewText" }] : /* istanbul ignore next */ []));
5114
- this.hostCls = computed(() => ascCls('asc-radio', this.isInvalidState() && 'asc-radio--invalid', this.effectiveDisabled() && 'asc-radio--disabled', this.readonly() && 'asc-radio--readonly', this.mode() === 'view' && 'asc-radio--view', this.styleClass()), /* @ts-ignore */
5257
+ this.hostCls = computed(() => ascCls('asc-radio', `asc-radio--${this.resolvedSize()}`, this.isInvalidState() && 'asc-radio--invalid', this.effectiveDisabled() && 'asc-radio--disabled', this.readonly() && 'asc-radio--readonly', this.mode() === 'view' && 'asc-radio--view', this.styleClass()), /* @ts-ignore */
5115
5258
  ...(ngDevMode ? [{ debugName: "hostCls" }] : /* istanbul ignore next */ []));
5116
5259
  }
5117
5260
  get controlDisabled() {
@@ -5143,7 +5286,7 @@ class AscRadioComponent extends BaseControlAccessor {
5143
5286
  this.markTouched();
5144
5287
  }
5145
5288
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: AscRadioComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
5146
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: AscRadioComponent, isStandalone: true, selector: "asc-radio", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, optionLabel: { classPropertyName: "optionLabel", publicName: "optionLabel", isSignal: true, isRequired: false, transformFunction: null }, optionValue: { classPropertyName: "optionValue", publicName: "optionValue", isSignal: true, isRequired: false, transformFunction: null }, optionDisabled: { classPropertyName: "optionDisabled", publicName: "optionDisabled", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, alignColumn: { classPropertyName: "alignColumn", publicName: "alignColumn", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChange: "valueChange" }, host: { properties: { "class": "hostCls()" } }, providers: [
5289
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: AscRadioComponent, isStandalone: true, selector: "asc-radio", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, optionLabel: { classPropertyName: "optionLabel", publicName: "optionLabel", isSignal: true, isRequired: false, transformFunction: null }, optionValue: { classPropertyName: "optionValue", publicName: "optionValue", isSignal: true, isRequired: false, transformFunction: null }, optionDisabled: { classPropertyName: "optionDisabled", publicName: "optionDisabled", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, alignColumn: { classPropertyName: "alignColumn", publicName: "alignColumn", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChange: "valueChange" }, host: { properties: { "class": "hostCls()" } }, providers: [
5147
5290
  { provide: ASC_BASE_CONTROL, useExisting: forwardRef(() => AscRadioComponent) },
5148
5291
  ], queries: [{ propertyName: "customItemTpl", first: true, predicate: ["ascItem"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
5149
5292
  @if (mode() === 'view') {
@@ -5187,7 +5330,7 @@ class AscRadioComponent extends BaseControlAccessor {
5187
5330
  }
5188
5331
  </div>
5189
5332
  }
5190
- `, isInline: true, styles: [":host{display:block}.asc-radio-list--column{display:flex;flex-direction:column;gap:.5rem}.asc-radio-list--row{display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}.asc-radio-view{display:block;width:100%;min-height:20px;box-sizing:border-box;color:var(--asc-text-primary);word-break:break-word}.asc-radio-sublabel{margin-top:4px;font-weight:400;font-size:var(--asc-text-sm);color:var(--asc-radio-sublabel-color, #747475)}.asc-radio-label--disabled,.asc-radio-sublabel--disabled{color:var(--asc-text-disabled)}:host ::ng-deep .p-radiobutton,:host ::ng-deep .p-radiobutton-box{width:20px;height:20px}:host ::ng-deep .p-radiobutton-icon{width:10px;height:10px}:host ::ng-deep .p-radiobutton-checked:not(.p-disabled) .p-radiobutton-box{background:var(--asc-surface-0);border-width:2px}:host ::ng-deep .p-radiobutton-checked:not(.p-disabled) .p-radiobutton-box .p-radiobutton-icon{background:var(--p-primary-500)}:host ::ng-deep .p-radiobutton:not(.p-disabled):not(.p-radiobutton-checked):has(.p-radiobutton-input:hover) .p-radiobutton-box{border-color:var(--p-primary-400)}:host ::ng-deep .p-radiobutton-checked:not(.p-disabled):has(.p-radiobutton-input:hover) .p-radiobutton-box{background:var(--asc-surface-0);border-color:var(--p-primary-600)}:host ::ng-deep .p-radiobutton:not(.p-disabled):has(.p-radiobutton-input:hover).p-radiobutton-checked .p-radiobutton-box .p-radiobutton-icon{background:var(--p-primary-600)}\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: RadioButtonModule }, { kind: "component", type: i2$8.RadioButton, selector: "p-radioButton, p-radiobutton, p-radio-button", inputs: ["value", "tabindex", "inputId", "ariaLabelledBy", "ariaLabel", "styleClass", "autofocus", "binary", "variant", "size"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5333
+ `, isInline: true, styles: [":host{display:block}.asc-radio-list--column{display:flex;flex-direction:column;gap:.5rem}.asc-radio-list--row{display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}:host(.asc-radio--xs){--asc-radio-font-size: var(--asc-control-font-size-xs);--asc-radio-line-height: var(--asc-control-line-height-xs)}:host(.asc-radio--sm){--asc-radio-font-size: var(--asc-control-font-size-sm);--asc-radio-line-height: var(--asc-control-line-height-sm)}:host(.asc-radio--md){--asc-radio-font-size: var(--asc-control-font-size-md);--asc-radio-line-height: var(--asc-control-line-height-md)}:host(.asc-radio--lg){--asc-radio-font-size: var(--asc-control-font-size-lg);--asc-radio-line-height: var(--asc-control-line-height-lg)}:host(.asc-radio--xl){--asc-radio-font-size: var(--asc-control-font-size-xl);--asc-radio-line-height: var(--asc-control-line-height-xl)}.asc-radio-view{font-size:var(--asc-radio-font-size);line-height:var(--asc-radio-line-height);display:block;width:100%;min-height:20px;box-sizing:border-box;color:var(--asc-text-primary);word-break:break-word}.asc-radio-sublabel{margin-top:4px;font-weight:400;font-size:var(--asc-text-sm);color:var(--asc-radio-sublabel-color, #747475)}.asc-radio-label--disabled,.asc-radio-sublabel--disabled{color:var(--asc-text-disabled)}:host ::ng-deep .p-radiobutton,:host ::ng-deep .p-radiobutton-box{width:20px;height:20px}:host ::ng-deep .p-radiobutton-icon{width:10px;height:10px}:host ::ng-deep .p-radiobutton-checked:not(.p-disabled) .p-radiobutton-box{background:var(--asc-surface-0);border-width:2px}:host ::ng-deep .p-radiobutton-checked:not(.p-disabled) .p-radiobutton-box .p-radiobutton-icon{background:var(--p-primary-500)}:host ::ng-deep .p-radiobutton:not(.p-disabled):not(.p-radiobutton-checked):has(.p-radiobutton-input:hover) .p-radiobutton-box{border-color:var(--p-primary-400)}:host ::ng-deep .p-radiobutton-checked:not(.p-disabled):has(.p-radiobutton-input:hover) .p-radiobutton-box{background:var(--asc-surface-0);border-color:var(--p-primary-600)}:host ::ng-deep .p-radiobutton:not(.p-disabled):has(.p-radiobutton-input:hover).p-radiobutton-checked .p-radiobutton-box .p-radiobutton-icon{background:var(--p-primary-600)}\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: RadioButtonModule }, { kind: "component", type: i2$8.RadioButton, selector: "p-radioButton, p-radiobutton, p-radio-button", inputs: ["value", "tabindex", "inputId", "ariaLabelledBy", "ariaLabel", "styleClass", "autofocus", "binary", "variant", "size"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5191
5334
  }
5192
5335
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: AscRadioComponent, decorators: [{
5193
5336
  type: Component,
@@ -5237,8 +5380,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
5237
5380
  }
5238
5381
  </div>
5239
5382
  }
5240
- `, styles: [":host{display:block}.asc-radio-list--column{display:flex;flex-direction:column;gap:.5rem}.asc-radio-list--row{display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}.asc-radio-view{display:block;width:100%;min-height:20px;box-sizing:border-box;color:var(--asc-text-primary);word-break:break-word}.asc-radio-sublabel{margin-top:4px;font-weight:400;font-size:var(--asc-text-sm);color:var(--asc-radio-sublabel-color, #747475)}.asc-radio-label--disabled,.asc-radio-sublabel--disabled{color:var(--asc-text-disabled)}:host ::ng-deep .p-radiobutton,:host ::ng-deep .p-radiobutton-box{width:20px;height:20px}:host ::ng-deep .p-radiobutton-icon{width:10px;height:10px}:host ::ng-deep .p-radiobutton-checked:not(.p-disabled) .p-radiobutton-box{background:var(--asc-surface-0);border-width:2px}:host ::ng-deep .p-radiobutton-checked:not(.p-disabled) .p-radiobutton-box .p-radiobutton-icon{background:var(--p-primary-500)}:host ::ng-deep .p-radiobutton:not(.p-disabled):not(.p-radiobutton-checked):has(.p-radiobutton-input:hover) .p-radiobutton-box{border-color:var(--p-primary-400)}:host ::ng-deep .p-radiobutton-checked:not(.p-disabled):has(.p-radiobutton-input:hover) .p-radiobutton-box{background:var(--asc-surface-0);border-color:var(--p-primary-600)}:host ::ng-deep .p-radiobutton:not(.p-disabled):has(.p-radiobutton-input:hover).p-radiobutton-checked .p-radiobutton-box .p-radiobutton-icon{background:var(--p-primary-600)}\n"] }]
5241
- }], 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 }] }], layout: [{ type: i0.Input, args: [{ isSignal: true, alias: "layout", required: false }] }], alignColumn: [{ type: i0.Input, args: [{ isSignal: true, alias: "alignColumn", required: false }] }], invalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalid", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], customItemTpl: [{ type: i0.ContentChild, args: ['ascItem', { isSignal: true }] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }] } });
5383
+ `, styles: [":host{display:block}.asc-radio-list--column{display:flex;flex-direction:column;gap:.5rem}.asc-radio-list--row{display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}:host(.asc-radio--xs){--asc-radio-font-size: var(--asc-control-font-size-xs);--asc-radio-line-height: var(--asc-control-line-height-xs)}:host(.asc-radio--sm){--asc-radio-font-size: var(--asc-control-font-size-sm);--asc-radio-line-height: var(--asc-control-line-height-sm)}:host(.asc-radio--md){--asc-radio-font-size: var(--asc-control-font-size-md);--asc-radio-line-height: var(--asc-control-line-height-md)}:host(.asc-radio--lg){--asc-radio-font-size: var(--asc-control-font-size-lg);--asc-radio-line-height: var(--asc-control-line-height-lg)}:host(.asc-radio--xl){--asc-radio-font-size: var(--asc-control-font-size-xl);--asc-radio-line-height: var(--asc-control-line-height-xl)}.asc-radio-view{font-size:var(--asc-radio-font-size);line-height:var(--asc-radio-line-height);display:block;width:100%;min-height:20px;box-sizing:border-box;color:var(--asc-text-primary);word-break:break-word}.asc-radio-sublabel{margin-top:4px;font-weight:400;font-size:var(--asc-text-sm);color:var(--asc-radio-sublabel-color, #747475)}.asc-radio-label--disabled,.asc-radio-sublabel--disabled{color:var(--asc-text-disabled)}:host ::ng-deep .p-radiobutton,:host ::ng-deep .p-radiobutton-box{width:20px;height:20px}:host ::ng-deep .p-radiobutton-icon{width:10px;height:10px}:host ::ng-deep .p-radiobutton-checked:not(.p-disabled) .p-radiobutton-box{background:var(--asc-surface-0);border-width:2px}:host ::ng-deep .p-radiobutton-checked:not(.p-disabled) .p-radiobutton-box .p-radiobutton-icon{background:var(--p-primary-500)}:host ::ng-deep .p-radiobutton:not(.p-disabled):not(.p-radiobutton-checked):has(.p-radiobutton-input:hover) .p-radiobutton-box{border-color:var(--p-primary-400)}:host ::ng-deep .p-radiobutton-checked:not(.p-disabled):has(.p-radiobutton-input:hover) .p-radiobutton-box{background:var(--asc-surface-0);border-color:var(--p-primary-600)}:host ::ng-deep .p-radiobutton:not(.p-disabled):has(.p-radiobutton-input:hover).p-radiobutton-checked .p-radiobutton-box .p-radiobutton-icon{background:var(--p-primary-600)}\n"] }]
5384
+ }], 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 }] }], layout: [{ type: i0.Input, args: [{ isSignal: true, alias: "layout", required: false }] }], alignColumn: [{ type: i0.Input, args: [{ isSignal: true, alias: "alignColumn", 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 }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], customItemTpl: [{ type: i0.ContentChild, args: ['ascItem', { isSignal: true }] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }] } });
5242
5385
 
5243
5386
  // ─────────────────────────────────────────────────────────────────────────────
5244
5387
  // AscSelectButtonComponent
@@ -5568,7 +5711,7 @@ class AscTextareaComponent extends BaseControlAccessor {
5568
5711
  }
5569
5712
  </div>
5570
5713
  }
5571
- `, isInline: true, styles: [":host{display:block;width:100%}.asc-textarea-wrapper{position:relative;width:100%}::ng-deep .p-textarea{width:100%;resize:vertical;transition:border-color var(--asc-transition-fast),box-shadow var(--asc-transition-fast)}.asc-textarea-view{display:block;width:100%;min-height:20px;box-sizing:border-box;color:var(--asc-text-primary);word-break:break-word;white-space:pre-wrap}:host(.asc-textarea--xs) ::ng-deep .p-textarea{font-size:12px;line-height:16px;font-weight:400;padding:4px 8px;border-radius:12px}:host(.asc-textarea--sm) ::ng-deep .p-textarea{font-size:12px;line-height:18px;font-weight:400;padding:6px 8px;border-radius:12px}:host(.asc-textarea--md) ::ng-deep .p-textarea{font-size:14px;line-height:20px;font-weight:400;padding:10px 8px;border-radius:12px}:host(.asc-textarea--lg) ::ng-deep .p-textarea{font-size:16px;line-height:24px;font-weight:400;padding:12px 10px;border-radius:12px}:host(.asc-textarea--xl) ::ng-deep .p-textarea{font-size:16px;line-height:24px;font-weight:400;padding:14px 12px;border-radius:12px}:host(.asc-textarea--disabled) ::ng-deep .p-textarea{border-color:var(--asc-formfield-disabled-border-color, #F2F3F5)}:host(.asc-textarea--invalid) ::ng-deep .p-textarea{border-color:var(--asc-border-color-invalid)!important}:host(.asc-textarea--invalid) ::ng-deep .p-textarea:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--asc-color-danger) 20%,transparent)}.asc-textarea-counter{position:absolute;bottom:6px;right:10px;font-size:.6875rem;color:var(--asc-text-muted);pointer-events:none;line-height:1;transition:color var(--asc-transition-fast)}.asc-textarea-counter.asc-textarea-counter--near-limit{color:var(--asc-color-warning)}.asc-textarea-counter.asc-textarea-counter--at-limit{color:var(--asc-color-danger);font-weight:500}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: TextareaModule }, { kind: "directive", type: i2$a.Textarea, selector: "[pTextarea], [pInputTextarea]", inputs: ["pTextareaPT", "pTextareaUnstyled", "autoResize", "pSize", "variant", "fluid", "invalid"], outputs: ["onResize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5714
+ `, isInline: true, styles: [":host{display:block;width:100%}.asc-textarea-wrapper{position:relative;width:100%}::ng-deep .p-textarea{width:100%;resize:vertical;transition:border-color var(--asc-transition-fast),box-shadow var(--asc-transition-fast)}:host(.asc-textarea--xs){--asc-textarea-font-size: var(--asc-control-font-size-xs);--asc-textarea-line-height: var(--asc-control-line-height-xs)}:host(.asc-textarea--sm){--asc-textarea-font-size: var(--asc-control-font-size-sm);--asc-textarea-line-height: var(--asc-control-line-height-sm)}:host(.asc-textarea--md){--asc-textarea-font-size: var(--asc-control-font-size-md);--asc-textarea-line-height: var(--asc-control-line-height-md)}:host(.asc-textarea--lg){--asc-textarea-font-size: var(--asc-control-font-size-lg);--asc-textarea-line-height: var(--asc-control-line-height-lg)}:host(.asc-textarea--xl){--asc-textarea-font-size: var(--asc-control-font-size-lg);--asc-textarea-line-height: var(--asc-control-line-height-lg)}.asc-textarea-view{font-size:var(--asc-textarea-font-size);line-height:var(--asc-textarea-line-height);display:block;width:100%;min-height:20px;box-sizing:border-box;color:var(--asc-text-primary);word-break:break-word;white-space:pre-wrap}:host(.asc-textarea--xs) ::ng-deep .p-textarea{font-size:var(--asc-textarea-font-size);line-height:var(--asc-textarea-line-height);font-weight:400;padding:4px 8px;border-radius:12px}:host(.asc-textarea--sm) ::ng-deep .p-textarea{font-size:var(--asc-textarea-font-size);line-height:var(--asc-textarea-line-height);font-weight:400;padding:6px 8px;border-radius:12px}:host(.asc-textarea--md) ::ng-deep .p-textarea{font-size:var(--asc-textarea-font-size);line-height:var(--asc-textarea-line-height);font-weight:400;padding:10px 8px;border-radius:12px}:host(.asc-textarea--lg) ::ng-deep .p-textarea{font-size:var(--asc-textarea-font-size);line-height:var(--asc-textarea-line-height);font-weight:400;padding:12px 10px;border-radius:12px}:host(.asc-textarea--xl) ::ng-deep .p-textarea{font-size:var(--asc-textarea-font-size);line-height:var(--asc-textarea-line-height);font-weight:400;padding:14px 12px;border-radius:12px}:host(.asc-textarea--disabled) ::ng-deep .p-textarea{border-color:var(--asc-formfield-disabled-border-color, #F2F3F5)}:host(.asc-textarea--invalid) ::ng-deep .p-textarea{border-color:var(--asc-border-color-invalid)!important}:host(.asc-textarea--invalid) ::ng-deep .p-textarea:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--asc-color-danger) 20%,transparent)}.asc-textarea-counter{position:absolute;bottom:6px;right:10px;font-size:.6875rem;color:var(--asc-text-muted);pointer-events:none;line-height:1;transition:color var(--asc-transition-fast)}.asc-textarea-counter.asc-textarea-counter--near-limit{color:var(--asc-color-warning)}.asc-textarea-counter.asc-textarea-counter--at-limit{color:var(--asc-color-danger);font-weight:500}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: TextareaModule }, { kind: "directive", type: i2$a.Textarea, selector: "[pTextarea], [pInputTextarea]", inputs: ["pTextareaPT", "pTextareaUnstyled", "autoResize", "pSize", "variant", "fluid", "invalid"], outputs: ["onResize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5572
5715
  }
5573
5716
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: AscTextareaComponent, decorators: [{
5574
5717
  type: Component,
@@ -5618,7 +5761,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
5618
5761
  }
5619
5762
  </div>
5620
5763
  }
5621
- `, styles: [":host{display:block;width:100%}.asc-textarea-wrapper{position:relative;width:100%}::ng-deep .p-textarea{width:100%;resize:vertical;transition:border-color var(--asc-transition-fast),box-shadow var(--asc-transition-fast)}.asc-textarea-view{display:block;width:100%;min-height:20px;box-sizing:border-box;color:var(--asc-text-primary);word-break:break-word;white-space:pre-wrap}:host(.asc-textarea--xs) ::ng-deep .p-textarea{font-size:12px;line-height:16px;font-weight:400;padding:4px 8px;border-radius:12px}:host(.asc-textarea--sm) ::ng-deep .p-textarea{font-size:12px;line-height:18px;font-weight:400;padding:6px 8px;border-radius:12px}:host(.asc-textarea--md) ::ng-deep .p-textarea{font-size:14px;line-height:20px;font-weight:400;padding:10px 8px;border-radius:12px}:host(.asc-textarea--lg) ::ng-deep .p-textarea{font-size:16px;line-height:24px;font-weight:400;padding:12px 10px;border-radius:12px}:host(.asc-textarea--xl) ::ng-deep .p-textarea{font-size:16px;line-height:24px;font-weight:400;padding:14px 12px;border-radius:12px}:host(.asc-textarea--disabled) ::ng-deep .p-textarea{border-color:var(--asc-formfield-disabled-border-color, #F2F3F5)}:host(.asc-textarea--invalid) ::ng-deep .p-textarea{border-color:var(--asc-border-color-invalid)!important}:host(.asc-textarea--invalid) ::ng-deep .p-textarea:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--asc-color-danger) 20%,transparent)}.asc-textarea-counter{position:absolute;bottom:6px;right:10px;font-size:.6875rem;color:var(--asc-text-muted);pointer-events:none;line-height:1;transition:color var(--asc-transition-fast)}.asc-textarea-counter.asc-textarea-counter--near-limit{color:var(--asc-color-warning)}.asc-textarea-counter.asc-textarea-counter--at-limit{color:var(--asc-color-danger);font-weight:500}\n"] }]
5764
+ `, styles: [":host{display:block;width:100%}.asc-textarea-wrapper{position:relative;width:100%}::ng-deep .p-textarea{width:100%;resize:vertical;transition:border-color var(--asc-transition-fast),box-shadow var(--asc-transition-fast)}:host(.asc-textarea--xs){--asc-textarea-font-size: var(--asc-control-font-size-xs);--asc-textarea-line-height: var(--asc-control-line-height-xs)}:host(.asc-textarea--sm){--asc-textarea-font-size: var(--asc-control-font-size-sm);--asc-textarea-line-height: var(--asc-control-line-height-sm)}:host(.asc-textarea--md){--asc-textarea-font-size: var(--asc-control-font-size-md);--asc-textarea-line-height: var(--asc-control-line-height-md)}:host(.asc-textarea--lg){--asc-textarea-font-size: var(--asc-control-font-size-lg);--asc-textarea-line-height: var(--asc-control-line-height-lg)}:host(.asc-textarea--xl){--asc-textarea-font-size: var(--asc-control-font-size-lg);--asc-textarea-line-height: var(--asc-control-line-height-lg)}.asc-textarea-view{font-size:var(--asc-textarea-font-size);line-height:var(--asc-textarea-line-height);display:block;width:100%;min-height:20px;box-sizing:border-box;color:var(--asc-text-primary);word-break:break-word;white-space:pre-wrap}:host(.asc-textarea--xs) ::ng-deep .p-textarea{font-size:var(--asc-textarea-font-size);line-height:var(--asc-textarea-line-height);font-weight:400;padding:4px 8px;border-radius:12px}:host(.asc-textarea--sm) ::ng-deep .p-textarea{font-size:var(--asc-textarea-font-size);line-height:var(--asc-textarea-line-height);font-weight:400;padding:6px 8px;border-radius:12px}:host(.asc-textarea--md) ::ng-deep .p-textarea{font-size:var(--asc-textarea-font-size);line-height:var(--asc-textarea-line-height);font-weight:400;padding:10px 8px;border-radius:12px}:host(.asc-textarea--lg) ::ng-deep .p-textarea{font-size:var(--asc-textarea-font-size);line-height:var(--asc-textarea-line-height);font-weight:400;padding:12px 10px;border-radius:12px}:host(.asc-textarea--xl) ::ng-deep .p-textarea{font-size:var(--asc-textarea-font-size);line-height:var(--asc-textarea-line-height);font-weight:400;padding:14px 12px;border-radius:12px}:host(.asc-textarea--disabled) ::ng-deep .p-textarea{border-color:var(--asc-formfield-disabled-border-color, #F2F3F5)}:host(.asc-textarea--invalid) ::ng-deep .p-textarea{border-color:var(--asc-border-color-invalid)!important}:host(.asc-textarea--invalid) ::ng-deep .p-textarea:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--asc-color-danger) 20%,transparent)}.asc-textarea-counter{position:absolute;bottom:6px;right:10px;font-size:.6875rem;color:var(--asc-text-muted);pointer-events:none;line-height:1;transition:color var(--asc-transition-fast)}.asc-textarea-counter.asc-textarea-counter--near-limit{color:var(--asc-color-warning)}.asc-textarea-counter.asc-textarea-counter--at-limit{color:var(--asc-color-danger);font-weight:500}\n"] }]
5622
5765
  }], propDecorators: { placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], rows: [{ type: i0.Input, args: [{ isSignal: true, alias: "rows", required: false }] }], cols: [{ type: i0.Input, args: [{ isSignal: true, alias: "cols", required: false }] }], maxLength: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxLength", required: false }] }], showCounter: [{ type: i0.Input, args: [{ isSignal: true, alias: "showCounter", required: false }] }], autoResize: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoResize", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], invalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalid", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", 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"] }], textareaEl: [{ type: i0.ViewChild, args: ['textareaEl', { isSignal: true }] }] } });
5623
5766
 
5624
5767
  // ─────────────────────────────────────────────────────────────────────────────