yukit-web 1.1.0 → 1.1.1

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.
@@ -16,7 +16,7 @@ import * as i1$32 from "@spartan-ng/brain/tooltip";
16
16
  import { BrnTooltip, provideBrnTooltipDefaultOptions } from "@spartan-ng/brain/tooltip";
17
17
  import { DEFAULT_TOOLTIP_CONTENT_CLASSES, DEFAULT_TOOLTIP_SVG_CLASS, tooltipPositionVariants } from "yukit-web/helm/tooltip";
18
18
  import { NgIcon, provideIcons } from "@ng-icons/core";
19
- import { lucideArchiveRestore, lucideArrowLeft, lucideCheck, lucideChevronDown, lucideChevronLeft, lucideChevronRight, lucideChevronUp, lucideChevronsUpDown, lucideClipboardCopy, lucideCopy, lucideDownload, lucideEllipsis, lucideEye, lucideEyeOff, lucideFileDown, lucideFileSpreadsheet, lucideFileText, lucideImagePlus, lucideLayoutGrid, lucideList, lucideMinus, lucidePaperclip, lucidePencil, lucidePlus, lucidePrinter, lucideSave, lucideSearch, lucideSettings2, lucideShare, lucideStar, lucideTrash2, lucideUndo2, lucideUpload, lucideX } from "@ng-icons/lucide";
19
+ import { lucideArchiveRestore, lucideArrowLeft, lucideCheck, lucideChevronDown, lucideChevronLeft, lucideChevronRight, lucideChevronUp, lucideChevronsUpDown, lucideCircleAlert, lucideClipboardCopy, lucideCopy, lucideDownload, lucideEllipsis, lucideEye, lucideEyeOff, lucideFileDown, lucideFileSpreadsheet, lucideFileText, lucideImagePlus, lucideInfo, lucideLayoutGrid, lucideList, lucideMinus, lucidePaperclip, lucidePencil, lucidePlus, lucidePrinter, lucideSaveCheck, lucideSearch, lucideSettings2, lucideShare, lucideStar, lucideTrash2, lucideUndo2, lucideUpload, lucideX } from "@ng-icons/lucide";
20
20
  import * as i1$31 from "yukit-web/helm/badge";
21
21
  import { HlmBadge } from "yukit-web/helm/badge";
22
22
  import * as i1$30 from "yukit-web/helm/breadcrumb";
@@ -65,7 +65,7 @@ import * as i1$16 from "yukit-web/helm/card";
65
65
  import { HlmCard, HlmCardAction, HlmCardContent, HlmCardDescription, HlmCardFooter, HlmCardHeader, HlmCardTitle } from "yukit-web/helm/card";
66
66
  import * as i1$15 from "yukit-web/helm/empty";
67
67
  import { HlmEmpty, HlmEmptyContent, HlmEmptyDescription, HlmEmptyHeader, HlmEmptyMedia, HlmEmptyTitle } from "yukit-web/helm/empty";
68
- import { CdkContextMenuTrigger, CdkMenuItem, CdkMenuItemCheckbox, CdkMenuItemRadio, CdkMenuTrigger } from "@angular/cdk/menu";
68
+ import { CdkContextMenuTrigger, CdkMenuItemCheckbox, CdkMenuItemRadio, CdkMenuTrigger } from "@angular/cdk/menu";
69
69
  import * as i1$14 from "yukit-web/helm/context-menu";
70
70
  import { HlmContextMenuTrigger } from "yukit-web/helm/context-menu";
71
71
  import { BrnCalendar, BrnCalendarCell, BrnCalendarCellButton, BrnCalendarGrid, BrnCalendarNextButton, BrnCalendarPreviousButton, BrnCalendarRange, BrnCalendarWeek, BrnCalendarWeekday, injectBrnCalendar, injectBrnCalendarI18n } from "@spartan-ng/brain/calendar";
@@ -160,6 +160,11 @@ i0.ɵɵngDeclareClassMetadata({
160
160
  }]
161
161
  }] }
162
162
  });
163
+ const YUW_MENU_PANEL_CLASS = "p-2";
164
+ const YUW_MENU_ITEM_CLASS = "gap-2.5 px-2 py-2";
165
+ const YUW_MENU_INDICATOR_ITEM_CLASS = "gap-2.5 py-2 ps-2";
166
+ const YUW_MENU_LABEL_CLASS = "block px-2 pt-1 pb-2 text-sm font-normal text-muted-foreground";
167
+ const YUW_MENU_SEPARATOR_CLASS = "-mx-2 my-1.5";
163
168
  const DRAG_THRESHOLD_PX = 5;
164
169
  const AXES = {
165
170
  x: {
@@ -2831,7 +2836,9 @@ i0.ɵɵngDeclareClassMetadata({
2831
2836
  }]
2832
2837
  });
2833
2838
  let nextUniqueId$2 = 0;
2834
- const CHECKBOX_ITEM_CLASS = "cursor-pointer! gap-3! pe-1.5! [&>ng-icon]:hidden!";
2839
+ const CHECKBOX_ITEM_CLASS = "cursor-pointer! pe-2! [&>ng-icon]:hidden!";
2840
+ const CONTENT_CLASS = "p-2! **:data-[slot=input-group]:m-0! **:data-[slot=input-group]:mb-2!";
2841
+ const LIST_CLASS = "max-h-none! min-h-0 p-0!";
2835
2842
  var YuwComboboxComponent = class YuwComboboxComponent extends YuwValueAccessorBase {
2836
2843
  close() {
2837
2844
  (this._multipleBox() ?? this._singleBox())?.close();
@@ -2887,14 +2894,17 @@ var YuwComboboxComponent = class YuwComboboxComponent extends YuwValueAccessorBa
2887
2894
  this.triggerVariant = input("outline", ...ngDevMode ? [{ debugName: "triggerVariant" }] : /* istanbul ignore next */ []);
2888
2895
  this.value = model(void 0, ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
2889
2896
  this._focusSelectors = ["input", "button"];
2897
+ this._footerClass = "-mx-2 mt-1.5 border-t px-2 pt-1.5 empty:hidden";
2890
2898
  this._generatedId = `yuw-combobox-${++nextUniqueId$2}`;
2899
+ this._headerClass = cn(YUW_MENU_LABEL_CLASS, "empty:hidden");
2891
2900
  this._itemToString = (value) => this._labelByValue().get(value) ?? value;
2901
+ this._listClass = LIST_CLASS;
2892
2902
  this._chipsClass = computed(() => cn(yuwFieldMinHeightVariants({ size: this.size() }), YUW_FIELD_FILL_CLASS), ...ngDevMode ? [{ debugName: "_chipsClass" }] : /* istanbul ignore next */ []);
2893
2903
  this._clearVisible = computed(() => this.clearAriaLabel() !== void 0, ...ngDevMode ? [{ debugName: "_clearVisible" }] : /* istanbul ignore next */ []);
2894
- this._contentClass = computed(() => this.triggerTemplate() ? "w-auto min-w-56 max-w-80" : "", ...ngDevMode ? [{ debugName: "_contentClass" }] : /* istanbul ignore next */ []);
2904
+ this._contentClass = computed(() => cn(CONTENT_CLASS, this.triggerTemplate() ? "w-auto min-w-56 max-w-80" : ""), ...ngDevMode ? [{ debugName: "_contentClass" }] : /* istanbul ignore next */ []);
2895
2905
  this._controlId = computed(() => this.inputId() ?? this._generatedId, ...ngDevMode ? [{ debugName: "_controlId" }] : /* istanbul ignore next */ []);
2896
2906
  this._fieldClass = computed(() => cn(yuwFieldSizeVariants({ size: this.size() }), YUW_FIELD_FILL_CLASS), ...ngDevMode ? [{ debugName: "_fieldClass" }] : /* istanbul ignore next */ []);
2897
- this._itemClass = computed(() => this.checkboxes() ? CHECKBOX_ITEM_CLASS : "", ...ngDevMode ? [{ debugName: "_itemClass" }] : /* istanbul ignore next */ []);
2907
+ this._itemClass = computed(() => cn(YUW_MENU_INDICATOR_ITEM_CLASS, this.checkboxes() ? CHECKBOX_ITEM_CLASS : ""), ...ngDevMode ? [{ debugName: "_itemClass" }] : /* istanbul ignore next */ []);
2898
2908
  this._labelByValue = computed(() => new Map(this.options().map((option) => [option.value, option.label])), ...ngDevMode ? [{ debugName: "_labelByValue" }] : /* istanbul ignore next */ []);
2899
2909
  this._multipleValue = computed(() => {
2900
2910
  const value = this.value();
@@ -3130,7 +3140,10 @@ var YuwComboboxComponent = class YuwComboboxComponent extends YuwValueAccessorBa
3130
3140
  value: "valueChange"
3131
3141
  },
3132
3142
  host: { classAttribute: "contents" },
3133
- providers: [provideValueAccessor(YuwComboboxComponent)],
3143
+ providers: [provideIcons({
3144
+ lucideCircleAlert,
3145
+ lucideInfo
3146
+ }), provideValueAccessor(YuwComboboxComponent)],
3134
3147
  queries: [{
3135
3148
  propertyName: "itemTemplate",
3136
3149
  first: true,
@@ -3170,8 +3183,26 @@ var YuwComboboxComponent = class YuwComboboxComponent extends YuwValueAccessorBa
3170
3183
  ],
3171
3184
  usesInheritance: true,
3172
3185
  ngImport: i0,
3173
- template: "<ng-template #header>\n <ng-content select=\"[yuwComboboxHeader]\" />\n</ng-template>\n\n<ng-template #footer>\n <ng-content select=\"[yuwComboboxFooter]\" />\n</ng-template>\n\n<ng-template #itemContent let-option>\n @if (itemTemplate(); as custom) {\n <ng-container\n [ngTemplateOutlet]=\"custom.templateRef\"\n [ngTemplateOutletContext]=\"{\n $implicit: option,\n option: option,\n selected: _selectedValues().has(option.value),\n }\"\n />\n } @else if (checkboxes()) {\n <span inert class=\"pointer-events-none flex **:text-(--secondary-on-fill)!\">\n <yuw-checkbox [checked]=\"_selectedValues().has(option.value)\" />\n </span>\n <span class=\"min-w-0 flex-1 truncate\">{{ option.label }}</span>\n } @else {\n {{ option.label }}\n }\n</ng-template>\n\n<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"w-auto min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [attr.data-yuw-required]=\"required() ? '' : null\"\n>\n @if (multiple()) {\n <hlm-combobox-multiple\n [disabled]=\"_disabled()\"\n [value]=\"_multipleValue()\"\n (valueChange)=\"onValueChange($event)\"\n [(search)]=\"search\"\n [itemToString]=\"_itemToString\"\n (focusout)=\"_onFocusOut($event)\"\n >\n @if (triggerTemplate(); as trigger) {\n <yuw-button\n yuwComboboxTriggerButton\n [color]=\"triggerColor()\"\n [variant]=\"triggerVariant()\"\n [size]=\"triggerSize()\"\n [class]=\"triggerClass()\"\n [ariaLabel]=\"triggerAriaLabel()\"\n [disabled]=\"_disabled()\"\n >\n <ng-container [ngTemplateOutlet]=\"trigger.templateRef\" [ngTemplateOutletContext]=\"_triggerContext()\" />\n </yuw-button>\n } @else {\n <hlm-combobox-chips [forceInvalid]=\"feedback.forcedInvalid()\" [class]=\"_chipsClass()\">\n @for (chip of _selectedChips(); track chip.value) {\n <hlm-combobox-chip [value]=\"chip.value\">{{ chip.label }}</hlm-combobox-chip>\n }\n <input hlmComboboxChipInput [id]=\"_controlId()\" [placeholder]=\"placeholder() ?? ''\" />\n </hlm-combobox-chips>\n }\n\n <hlm-combobox-content *hlmComboboxPortal [class]=\"_contentClass()\">\n <ng-container [ngTemplateOutlet]=\"header\" />\n @if (_searchInPanel()) {\n <hlm-combobox-input\n [placeholder]=\"searchPlaceholder() ?? ''\"\n [triggerAriaLabel]=\"triggerAriaLabel()\"\n [showTrigger]=\"false\"\n />\n }\n <div hlmComboboxList>\n @for (option of options(); track option.value) {\n <hlm-combobox-item [class]=\"_itemClass()\" [value]=\"option.value\" [disabled]=\"option.disabled ?? false\">\n <ng-container [ngTemplateOutlet]=\"itemContent\" [ngTemplateOutletContext]=\"{ $implicit: option }\" />\n </hlm-combobox-item>\n }\n </div>\n <hlm-combobox-empty>{{ emptyText() ?? '' }}</hlm-combobox-empty>\n <ng-container [ngTemplateOutlet]=\"footer\" />\n </hlm-combobox-content>\n </hlm-combobox-multiple>\n } @else {\n <hlm-combobox\n [disabled]=\"_disabled()\"\n [value]=\"_singleValue()\"\n (valueChange)=\"onValueChange($event)\"\n [(search)]=\"search\"\n [itemToString]=\"_itemToString\"\n (focusout)=\"_onFocusOut($event)\"\n >\n @if (triggerTemplate(); as trigger) {\n <yuw-button\n yuwComboboxTriggerButton\n [color]=\"triggerColor()\"\n [variant]=\"triggerVariant()\"\n [size]=\"triggerSize()\"\n [class]=\"triggerClass()\"\n [ariaLabel]=\"triggerAriaLabel()\"\n [disabled]=\"_disabled()\"\n >\n <ng-container [ngTemplateOutlet]=\"trigger.templateRef\" [ngTemplateOutletContext]=\"_triggerContext()\" />\n </yuw-button>\n } @else if (readonlyTrigger()) {\n <hlm-combobox-trigger\n [buttonId]=\"_controlId()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [class]=\"_triggerClass()\"\n class=\"w-full justify-between items-center\"\n >\n <hlm-combobox-value class=\"min-w-0 truncate\" [placeholder]=\"placeholder() ?? ''\" />\n </hlm-combobox-trigger>\n } @else {\n <hlm-combobox-input\n [inputId]=\"_controlId()\"\n [placeholder]=\"placeholder() ?? ''\"\n [showClear]=\"_clearVisible()\"\n [clearAriaLabel]=\"clearAriaLabel() ?? ''\"\n [triggerAriaLabel]=\"triggerAriaLabel()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [class]=\"_fieldClass()\"\n />\n }\n\n <hlm-combobox-content *hlmComboboxPortal [class]=\"_contentClass()\">\n <ng-container [ngTemplateOutlet]=\"header\" />\n @if (_searchInPanel()) {\n <hlm-combobox-input\n [placeholder]=\"searchPlaceholder() ?? ''\"\n [showClear]=\"_clearVisible()\"\n [clearAriaLabel]=\"clearAriaLabel() ?? ''\"\n [triggerAriaLabel]=\"triggerAriaLabel()\"\n [showTrigger]=\"false\"\n />\n }\n <div hlmComboboxList>\n @for (option of options(); track option.value) {\n <hlm-combobox-item [class]=\"_itemClass()\" [value]=\"option.value\" [disabled]=\"option.disabled ?? false\">\n <ng-container [ngTemplateOutlet]=\"itemContent\" [ngTemplateOutletContext]=\"{ $implicit: option }\" />\n </hlm-combobox-item>\n }\n </div>\n <hlm-combobox-empty>{{ emptyText() ?? '' }}</hlm-combobox-empty>\n <ng-container [ngTemplateOutlet]=\"footer\" />\n </hlm-combobox-content>\n </hlm-combobox>\n }\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"text-destructive\">{{ feedback.errorMessage() }}</hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description>{{ helper }}</hlm-field-description>\n }\n</hlm-field>\n",
3186
+ template: "<ng-template #header>\n <div [class]=\"_headerClass\"><ng-content select=\"[yuwComboboxHeader]\" /></div>\n</ng-template>\n\n<ng-template #footer>\n <div [class]=\"_footerClass\"><ng-content select=\"[yuwComboboxFooter]\" /></div>\n</ng-template>\n\n<ng-template #itemContent let-option>\n @if (itemTemplate(); as custom) {\n <ng-container\n [ngTemplateOutlet]=\"custom.templateRef\"\n [ngTemplateOutletContext]=\"{\n $implicit: option,\n option: option,\n selected: _selectedValues().has(option.value),\n }\"\n />\n } @else if (checkboxes()) {\n <span inert class=\"pointer-events-none flex **:text-(--secondary-on-fill)!\">\n <yuw-checkbox [checked]=\"_selectedValues().has(option.value)\" />\n </span>\n <span class=\"min-w-0 flex-1 truncate\">{{ option.label }}</span>\n } @else {\n {{ option.label }}\n }\n</ng-template>\n\n<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"w-auto min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [attr.data-yuw-required]=\"required() ? '' : null\"\n>\n @if (multiple()) {\n <hlm-combobox-multiple\n [disabled]=\"_disabled()\"\n [value]=\"_multipleValue()\"\n (valueChange)=\"onValueChange($event)\"\n [(search)]=\"search\"\n [itemToString]=\"_itemToString\"\n (focusout)=\"_onFocusOut($event)\"\n >\n @if (triggerTemplate(); as trigger) {\n <yuw-button\n yuwComboboxTriggerButton\n [color]=\"triggerColor()\"\n [variant]=\"triggerVariant()\"\n [size]=\"triggerSize()\"\n [class]=\"triggerClass()\"\n [ariaLabel]=\"triggerAriaLabel()\"\n [disabled]=\"_disabled()\"\n >\n <ng-container [ngTemplateOutlet]=\"trigger.templateRef\" [ngTemplateOutletContext]=\"_triggerContext()\" />\n </yuw-button>\n } @else {\n <hlm-combobox-chips [forceInvalid]=\"feedback.forcedInvalid()\" [class]=\"_chipsClass()\">\n @for (chip of _selectedChips(); track chip.value) {\n <hlm-combobox-chip [value]=\"chip.value\">{{ chip.label }}</hlm-combobox-chip>\n }\n <input hlmComboboxChipInput [id]=\"_controlId()\" [placeholder]=\"placeholder() ?? ''\" />\n </hlm-combobox-chips>\n }\n\n <hlm-combobox-content *hlmComboboxPortal [class]=\"_contentClass()\">\n <ng-container [ngTemplateOutlet]=\"header\" />\n @if (_searchInPanel()) {\n <hlm-combobox-input\n [placeholder]=\"searchPlaceholder() ?? ''\"\n [triggerAriaLabel]=\"triggerAriaLabel()\"\n [showTrigger]=\"false\"\n />\n }\n <div hlmComboboxList [class]=\"_listClass\">\n @for (option of options(); track option.value) {\n <hlm-combobox-item [yuwClass]=\"_itemClass()\" [value]=\"option.value\" [disabled]=\"option.disabled ?? false\">\n <ng-container [ngTemplateOutlet]=\"itemContent\" [ngTemplateOutletContext]=\"{ $implicit: option }\" />\n </hlm-combobox-item>\n }\n </div>\n <hlm-combobox-empty>{{ emptyText() ?? '' }}</hlm-combobox-empty>\n <ng-container [ngTemplateOutlet]=\"footer\" />\n </hlm-combobox-content>\n </hlm-combobox-multiple>\n } @else {\n <hlm-combobox\n [disabled]=\"_disabled()\"\n [value]=\"_singleValue()\"\n (valueChange)=\"onValueChange($event)\"\n [(search)]=\"search\"\n [itemToString]=\"_itemToString\"\n (focusout)=\"_onFocusOut($event)\"\n >\n @if (triggerTemplate(); as trigger) {\n <yuw-button\n yuwComboboxTriggerButton\n [color]=\"triggerColor()\"\n [variant]=\"triggerVariant()\"\n [size]=\"triggerSize()\"\n [class]=\"triggerClass()\"\n [ariaLabel]=\"triggerAriaLabel()\"\n [disabled]=\"_disabled()\"\n >\n <ng-container [ngTemplateOutlet]=\"trigger.templateRef\" [ngTemplateOutletContext]=\"_triggerContext()\" />\n </yuw-button>\n } @else if (readonlyTrigger()) {\n <hlm-combobox-trigger\n [buttonId]=\"_controlId()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [class]=\"_triggerClass()\"\n class=\"w-full justify-between items-center\"\n >\n <hlm-combobox-value class=\"min-w-0 truncate\" [placeholder]=\"placeholder() ?? ''\" />\n </hlm-combobox-trigger>\n } @else {\n <hlm-combobox-input\n [inputId]=\"_controlId()\"\n [placeholder]=\"placeholder() ?? ''\"\n [showClear]=\"_clearVisible()\"\n [clearAriaLabel]=\"clearAriaLabel() ?? ''\"\n [triggerAriaLabel]=\"triggerAriaLabel()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [class]=\"_fieldClass()\"\n />\n }\n\n <hlm-combobox-content *hlmComboboxPortal [class]=\"_contentClass()\">\n <ng-container [ngTemplateOutlet]=\"header\" />\n @if (_searchInPanel()) {\n <hlm-combobox-input\n [placeholder]=\"searchPlaceholder() ?? ''\"\n [showClear]=\"_clearVisible()\"\n [clearAriaLabel]=\"clearAriaLabel() ?? ''\"\n [triggerAriaLabel]=\"triggerAriaLabel()\"\n [showTrigger]=\"false\"\n />\n }\n <div hlmComboboxList [class]=\"_listClass\">\n @for (option of options(); track option.value) {\n <hlm-combobox-item [yuwClass]=\"_itemClass()\" [value]=\"option.value\" [disabled]=\"option.disabled ?? false\">\n <ng-container [ngTemplateOutlet]=\"itemContent\" [ngTemplateOutletContext]=\"{ $implicit: option }\" />\n </hlm-combobox-item>\n }\n </div>\n <hlm-combobox-empty>{{ emptyText() ?? '' }}</hlm-combobox-empty>\n <ng-container [ngTemplateOutlet]=\"footer\" />\n </hlm-combobox-content>\n </hlm-combobox>\n }\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"flex items-start gap-1.5 text-xs text-destructive\">\n <ng-icon name=\"lucideCircleAlert\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ feedback.errorMessage() }}\n </hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description class=\"flex items-start gap-1.5 text-xs\">\n <ng-icon name=\"lucideInfo\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ helper }}\n </hlm-field-description>\n }\n</hlm-field>\n",
3174
3187
  dependencies: [
3188
+ {
3189
+ kind: "component",
3190
+ type: NgIcon,
3191
+ selector: "ng-icon",
3192
+ inputs: [
3193
+ "name",
3194
+ "svg",
3195
+ "size",
3196
+ "strokeWidth",
3197
+ "color"
3198
+ ]
3199
+ },
3200
+ {
3201
+ kind: "directive",
3202
+ type: YuwClassDirective,
3203
+ selector: "[yuwClass]",
3204
+ inputs: ["yuwClass"]
3205
+ },
3175
3206
  {
3176
3207
  kind: "directive",
3177
3208
  type: i1$28.HlmCombobox,
@@ -3343,6 +3374,8 @@ i0.ɵɵngDeclareClassMetadata({
3343
3374
  args: [{
3344
3375
  selector: "yuw-combobox",
3345
3376
  imports: [
3377
+ NgIcon,
3378
+ YuwClassDirective,
3346
3379
  ...HlmComboboxImports,
3347
3380
  HlmField,
3348
3381
  HlmFieldDescription,
@@ -3352,10 +3385,13 @@ i0.ɵɵngDeclareClassMetadata({
3352
3385
  YuwComboboxTriggerButtonDirective,
3353
3386
  YuwFieldFeedbackDirective
3354
3387
  ],
3355
- providers: [provideValueAccessor(YuwComboboxComponent)],
3388
+ providers: [provideIcons({
3389
+ lucideCircleAlert,
3390
+ lucideInfo
3391
+ }), provideValueAccessor(YuwComboboxComponent)],
3356
3392
  host: { class: "contents" },
3357
3393
  changeDetection: ChangeDetectionStrategy.OnPush,
3358
- template: "<ng-template #header>\n <ng-content select=\"[yuwComboboxHeader]\" />\n</ng-template>\n\n<ng-template #footer>\n <ng-content select=\"[yuwComboboxFooter]\" />\n</ng-template>\n\n<ng-template #itemContent let-option>\n @if (itemTemplate(); as custom) {\n <ng-container\n [ngTemplateOutlet]=\"custom.templateRef\"\n [ngTemplateOutletContext]=\"{\n $implicit: option,\n option: option,\n selected: _selectedValues().has(option.value),\n }\"\n />\n } @else if (checkboxes()) {\n <span inert class=\"pointer-events-none flex **:text-(--secondary-on-fill)!\">\n <yuw-checkbox [checked]=\"_selectedValues().has(option.value)\" />\n </span>\n <span class=\"min-w-0 flex-1 truncate\">{{ option.label }}</span>\n } @else {\n {{ option.label }}\n }\n</ng-template>\n\n<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"w-auto min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [attr.data-yuw-required]=\"required() ? '' : null\"\n>\n @if (multiple()) {\n <hlm-combobox-multiple\n [disabled]=\"_disabled()\"\n [value]=\"_multipleValue()\"\n (valueChange)=\"onValueChange($event)\"\n [(search)]=\"search\"\n [itemToString]=\"_itemToString\"\n (focusout)=\"_onFocusOut($event)\"\n >\n @if (triggerTemplate(); as trigger) {\n <yuw-button\n yuwComboboxTriggerButton\n [color]=\"triggerColor()\"\n [variant]=\"triggerVariant()\"\n [size]=\"triggerSize()\"\n [class]=\"triggerClass()\"\n [ariaLabel]=\"triggerAriaLabel()\"\n [disabled]=\"_disabled()\"\n >\n <ng-container [ngTemplateOutlet]=\"trigger.templateRef\" [ngTemplateOutletContext]=\"_triggerContext()\" />\n </yuw-button>\n } @else {\n <hlm-combobox-chips [forceInvalid]=\"feedback.forcedInvalid()\" [class]=\"_chipsClass()\">\n @for (chip of _selectedChips(); track chip.value) {\n <hlm-combobox-chip [value]=\"chip.value\">{{ chip.label }}</hlm-combobox-chip>\n }\n <input hlmComboboxChipInput [id]=\"_controlId()\" [placeholder]=\"placeholder() ?? ''\" />\n </hlm-combobox-chips>\n }\n\n <hlm-combobox-content *hlmComboboxPortal [class]=\"_contentClass()\">\n <ng-container [ngTemplateOutlet]=\"header\" />\n @if (_searchInPanel()) {\n <hlm-combobox-input\n [placeholder]=\"searchPlaceholder() ?? ''\"\n [triggerAriaLabel]=\"triggerAriaLabel()\"\n [showTrigger]=\"false\"\n />\n }\n <div hlmComboboxList>\n @for (option of options(); track option.value) {\n <hlm-combobox-item [class]=\"_itemClass()\" [value]=\"option.value\" [disabled]=\"option.disabled ?? false\">\n <ng-container [ngTemplateOutlet]=\"itemContent\" [ngTemplateOutletContext]=\"{ $implicit: option }\" />\n </hlm-combobox-item>\n }\n </div>\n <hlm-combobox-empty>{{ emptyText() ?? '' }}</hlm-combobox-empty>\n <ng-container [ngTemplateOutlet]=\"footer\" />\n </hlm-combobox-content>\n </hlm-combobox-multiple>\n } @else {\n <hlm-combobox\n [disabled]=\"_disabled()\"\n [value]=\"_singleValue()\"\n (valueChange)=\"onValueChange($event)\"\n [(search)]=\"search\"\n [itemToString]=\"_itemToString\"\n (focusout)=\"_onFocusOut($event)\"\n >\n @if (triggerTemplate(); as trigger) {\n <yuw-button\n yuwComboboxTriggerButton\n [color]=\"triggerColor()\"\n [variant]=\"triggerVariant()\"\n [size]=\"triggerSize()\"\n [class]=\"triggerClass()\"\n [ariaLabel]=\"triggerAriaLabel()\"\n [disabled]=\"_disabled()\"\n >\n <ng-container [ngTemplateOutlet]=\"trigger.templateRef\" [ngTemplateOutletContext]=\"_triggerContext()\" />\n </yuw-button>\n } @else if (readonlyTrigger()) {\n <hlm-combobox-trigger\n [buttonId]=\"_controlId()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [class]=\"_triggerClass()\"\n class=\"w-full justify-between items-center\"\n >\n <hlm-combobox-value class=\"min-w-0 truncate\" [placeholder]=\"placeholder() ?? ''\" />\n </hlm-combobox-trigger>\n } @else {\n <hlm-combobox-input\n [inputId]=\"_controlId()\"\n [placeholder]=\"placeholder() ?? ''\"\n [showClear]=\"_clearVisible()\"\n [clearAriaLabel]=\"clearAriaLabel() ?? ''\"\n [triggerAriaLabel]=\"triggerAriaLabel()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [class]=\"_fieldClass()\"\n />\n }\n\n <hlm-combobox-content *hlmComboboxPortal [class]=\"_contentClass()\">\n <ng-container [ngTemplateOutlet]=\"header\" />\n @if (_searchInPanel()) {\n <hlm-combobox-input\n [placeholder]=\"searchPlaceholder() ?? ''\"\n [showClear]=\"_clearVisible()\"\n [clearAriaLabel]=\"clearAriaLabel() ?? ''\"\n [triggerAriaLabel]=\"triggerAriaLabel()\"\n [showTrigger]=\"false\"\n />\n }\n <div hlmComboboxList>\n @for (option of options(); track option.value) {\n <hlm-combobox-item [class]=\"_itemClass()\" [value]=\"option.value\" [disabled]=\"option.disabled ?? false\">\n <ng-container [ngTemplateOutlet]=\"itemContent\" [ngTemplateOutletContext]=\"{ $implicit: option }\" />\n </hlm-combobox-item>\n }\n </div>\n <hlm-combobox-empty>{{ emptyText() ?? '' }}</hlm-combobox-empty>\n <ng-container [ngTemplateOutlet]=\"footer\" />\n </hlm-combobox-content>\n </hlm-combobox>\n }\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"text-destructive\">{{ feedback.errorMessage() }}</hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description>{{ helper }}</hlm-field-description>\n }\n</hlm-field>\n"
3394
+ template: "<ng-template #header>\n <div [class]=\"_headerClass\"><ng-content select=\"[yuwComboboxHeader]\" /></div>\n</ng-template>\n\n<ng-template #footer>\n <div [class]=\"_footerClass\"><ng-content select=\"[yuwComboboxFooter]\" /></div>\n</ng-template>\n\n<ng-template #itemContent let-option>\n @if (itemTemplate(); as custom) {\n <ng-container\n [ngTemplateOutlet]=\"custom.templateRef\"\n [ngTemplateOutletContext]=\"{\n $implicit: option,\n option: option,\n selected: _selectedValues().has(option.value),\n }\"\n />\n } @else if (checkboxes()) {\n <span inert class=\"pointer-events-none flex **:text-(--secondary-on-fill)!\">\n <yuw-checkbox [checked]=\"_selectedValues().has(option.value)\" />\n </span>\n <span class=\"min-w-0 flex-1 truncate\">{{ option.label }}</span>\n } @else {\n {{ option.label }}\n }\n</ng-template>\n\n<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"w-auto min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [attr.data-yuw-required]=\"required() ? '' : null\"\n>\n @if (multiple()) {\n <hlm-combobox-multiple\n [disabled]=\"_disabled()\"\n [value]=\"_multipleValue()\"\n (valueChange)=\"onValueChange($event)\"\n [(search)]=\"search\"\n [itemToString]=\"_itemToString\"\n (focusout)=\"_onFocusOut($event)\"\n >\n @if (triggerTemplate(); as trigger) {\n <yuw-button\n yuwComboboxTriggerButton\n [color]=\"triggerColor()\"\n [variant]=\"triggerVariant()\"\n [size]=\"triggerSize()\"\n [class]=\"triggerClass()\"\n [ariaLabel]=\"triggerAriaLabel()\"\n [disabled]=\"_disabled()\"\n >\n <ng-container [ngTemplateOutlet]=\"trigger.templateRef\" [ngTemplateOutletContext]=\"_triggerContext()\" />\n </yuw-button>\n } @else {\n <hlm-combobox-chips [forceInvalid]=\"feedback.forcedInvalid()\" [class]=\"_chipsClass()\">\n @for (chip of _selectedChips(); track chip.value) {\n <hlm-combobox-chip [value]=\"chip.value\">{{ chip.label }}</hlm-combobox-chip>\n }\n <input hlmComboboxChipInput [id]=\"_controlId()\" [placeholder]=\"placeholder() ?? ''\" />\n </hlm-combobox-chips>\n }\n\n <hlm-combobox-content *hlmComboboxPortal [class]=\"_contentClass()\">\n <ng-container [ngTemplateOutlet]=\"header\" />\n @if (_searchInPanel()) {\n <hlm-combobox-input\n [placeholder]=\"searchPlaceholder() ?? ''\"\n [triggerAriaLabel]=\"triggerAriaLabel()\"\n [showTrigger]=\"false\"\n />\n }\n <div hlmComboboxList [class]=\"_listClass\">\n @for (option of options(); track option.value) {\n <hlm-combobox-item [yuwClass]=\"_itemClass()\" [value]=\"option.value\" [disabled]=\"option.disabled ?? false\">\n <ng-container [ngTemplateOutlet]=\"itemContent\" [ngTemplateOutletContext]=\"{ $implicit: option }\" />\n </hlm-combobox-item>\n }\n </div>\n <hlm-combobox-empty>{{ emptyText() ?? '' }}</hlm-combobox-empty>\n <ng-container [ngTemplateOutlet]=\"footer\" />\n </hlm-combobox-content>\n </hlm-combobox-multiple>\n } @else {\n <hlm-combobox\n [disabled]=\"_disabled()\"\n [value]=\"_singleValue()\"\n (valueChange)=\"onValueChange($event)\"\n [(search)]=\"search\"\n [itemToString]=\"_itemToString\"\n (focusout)=\"_onFocusOut($event)\"\n >\n @if (triggerTemplate(); as trigger) {\n <yuw-button\n yuwComboboxTriggerButton\n [color]=\"triggerColor()\"\n [variant]=\"triggerVariant()\"\n [size]=\"triggerSize()\"\n [class]=\"triggerClass()\"\n [ariaLabel]=\"triggerAriaLabel()\"\n [disabled]=\"_disabled()\"\n >\n <ng-container [ngTemplateOutlet]=\"trigger.templateRef\" [ngTemplateOutletContext]=\"_triggerContext()\" />\n </yuw-button>\n } @else if (readonlyTrigger()) {\n <hlm-combobox-trigger\n [buttonId]=\"_controlId()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [class]=\"_triggerClass()\"\n class=\"w-full justify-between items-center\"\n >\n <hlm-combobox-value class=\"min-w-0 truncate\" [placeholder]=\"placeholder() ?? ''\" />\n </hlm-combobox-trigger>\n } @else {\n <hlm-combobox-input\n [inputId]=\"_controlId()\"\n [placeholder]=\"placeholder() ?? ''\"\n [showClear]=\"_clearVisible()\"\n [clearAriaLabel]=\"clearAriaLabel() ?? ''\"\n [triggerAriaLabel]=\"triggerAriaLabel()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [class]=\"_fieldClass()\"\n />\n }\n\n <hlm-combobox-content *hlmComboboxPortal [class]=\"_contentClass()\">\n <ng-container [ngTemplateOutlet]=\"header\" />\n @if (_searchInPanel()) {\n <hlm-combobox-input\n [placeholder]=\"searchPlaceholder() ?? ''\"\n [showClear]=\"_clearVisible()\"\n [clearAriaLabel]=\"clearAriaLabel() ?? ''\"\n [triggerAriaLabel]=\"triggerAriaLabel()\"\n [showTrigger]=\"false\"\n />\n }\n <div hlmComboboxList [class]=\"_listClass\">\n @for (option of options(); track option.value) {\n <hlm-combobox-item [yuwClass]=\"_itemClass()\" [value]=\"option.value\" [disabled]=\"option.disabled ?? false\">\n <ng-container [ngTemplateOutlet]=\"itemContent\" [ngTemplateOutletContext]=\"{ $implicit: option }\" />\n </hlm-combobox-item>\n }\n </div>\n <hlm-combobox-empty>{{ emptyText() ?? '' }}</hlm-combobox-empty>\n <ng-container [ngTemplateOutlet]=\"footer\" />\n </hlm-combobox-content>\n </hlm-combobox>\n }\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"flex items-start gap-1.5 text-xs text-destructive\">\n <ng-icon name=\"lucideCircleAlert\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ feedback.errorMessage() }}\n </hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description class=\"flex items-start gap-1.5 text-xs\">\n <ng-icon name=\"lucideInfo\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ helper }}\n </hlm-field-description>\n }\n</hlm-field>\n"
3359
3395
  }]
3360
3396
  }],
3361
3397
  ctorParameters: () => [],
@@ -3977,7 +4013,10 @@ var YuwInputComponent = class YuwInputComponent extends YuwTextFieldBase {
3977
4013
  },
3978
4014
  outputs: { enterPressed: "enterPressed" },
3979
4015
  host: { classAttribute: "contents" },
3980
- providers: [provideValueAccessor(YuwInputComponent)],
4016
+ providers: [provideIcons({
4017
+ lucideCircleAlert,
4018
+ lucideInfo
4019
+ }), provideValueAccessor(YuwInputComponent)],
3981
4020
  queries: [{
3982
4021
  propertyName: "_leftAddons",
3983
4022
  predicate: YuwLeftAddonDirective,
@@ -3989,8 +4028,20 @@ var YuwInputComponent = class YuwInputComponent extends YuwTextFieldBase {
3989
4028
  }],
3990
4029
  usesInheritance: true,
3991
4030
  ngImport: i0,
3992
- template: "<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [errorText]=\"errorText()\"\n>\n @if (_hasAddons()) {\n <hlm-input-group [class]=\"_classes()\">\n @if (_hasLeftAddon()) {\n <hlm-input-group-addon align=\"inline-start\">\n <ng-content select=\"yuw-left-addon\" />\n </hlm-input-group-addon>\n }\n\n <input\n hlmInputGroupInput\n [id]=\"_inputId()\"\n [type]=\"type()\"\n [attr.inputmode]=\"inputmode()\"\n [value]=\"value()\"\n [disabled]=\"_disabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.name]=\"name()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.maxlength]=\"maxlength()\"\n [attr.placeholder]=\"placeholder()\"\n (input)=\"onInput($event)\"\n (change)=\"onChange()\"\n (blur)=\"_onBlur()\"\n (keydown.enter)=\"onEnterPressed()\"\n />\n\n @if (_hasRightAddon()) {\n <hlm-input-group-addon align=\"inline-end\">\n <ng-content select=\"yuw-right-addon\" />\n </hlm-input-group-addon>\n }\n </hlm-input-group>\n } @else {\n <input\n hlmInput\n [class]=\"_classes()\"\n [id]=\"_inputId()\"\n [type]=\"type()\"\n [attr.inputmode]=\"inputmode()\"\n [value]=\"value()\"\n [disabled]=\"_disabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.name]=\"name()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.maxlength]=\"maxlength()\"\n [attr.placeholder]=\"placeholder()\"\n (input)=\"onInput($event)\"\n (change)=\"onChange()\"\n (blur)=\"_onBlur()\"\n (keydown.enter)=\"onEnterPressed()\"\n />\n }\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"text-destructive\">{{ feedback.errorMessage() }}</hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description>{{ helper }}</hlm-field-description>\n }\n</hlm-field>\n",
4031
+ template: "<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [errorText]=\"errorText()\"\n>\n @if (_hasAddons()) {\n <hlm-input-group [class]=\"_classes()\">\n @if (_hasLeftAddon()) {\n <hlm-input-group-addon align=\"inline-start\">\n <ng-content select=\"yuw-left-addon\" />\n </hlm-input-group-addon>\n }\n\n <input\n hlmInputGroupInput\n [id]=\"_inputId()\"\n [type]=\"type()\"\n [attr.inputmode]=\"inputmode()\"\n [value]=\"value()\"\n [disabled]=\"_disabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.name]=\"name()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.maxlength]=\"maxlength()\"\n [attr.placeholder]=\"placeholder()\"\n (input)=\"onInput($event)\"\n (change)=\"onChange()\"\n (blur)=\"_onBlur()\"\n (keydown.enter)=\"onEnterPressed()\"\n />\n\n @if (_hasRightAddon()) {\n <hlm-input-group-addon align=\"inline-end\">\n <ng-content select=\"yuw-right-addon\" />\n </hlm-input-group-addon>\n }\n </hlm-input-group>\n } @else {\n <input\n hlmInput\n [class]=\"_classes()\"\n [id]=\"_inputId()\"\n [type]=\"type()\"\n [attr.inputmode]=\"inputmode()\"\n [value]=\"value()\"\n [disabled]=\"_disabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.name]=\"name()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.maxlength]=\"maxlength()\"\n [attr.placeholder]=\"placeholder()\"\n (input)=\"onInput($event)\"\n (change)=\"onChange()\"\n (blur)=\"_onBlur()\"\n (keydown.enter)=\"onEnterPressed()\"\n />\n }\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"flex items-start gap-1.5 text-xs text-destructive\">\n <ng-icon name=\"lucideCircleAlert\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ feedback.errorMessage() }}\n </hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description class=\"flex items-start gap-1.5 text-xs\">\n <ng-icon name=\"lucideInfo\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ helper }}\n </hlm-field-description>\n }\n</hlm-field>\n",
3993
4032
  dependencies: [
4033
+ {
4034
+ kind: "component",
4035
+ type: NgIcon,
4036
+ selector: "ng-icon",
4037
+ inputs: [
4038
+ "name",
4039
+ "svg",
4040
+ "size",
4041
+ "strokeWidth",
4042
+ "color"
4043
+ ]
4044
+ },
3994
4045
  {
3995
4046
  kind: "directive",
3996
4047
  type: HlmField,
@@ -4046,6 +4097,7 @@ i0.ɵɵngDeclareClassMetadata({
4046
4097
  args: [{
4047
4098
  selector: "yuw-input",
4048
4099
  imports: [
4100
+ NgIcon,
4049
4101
  HlmField,
4050
4102
  HlmFieldDescription,
4051
4103
  YuwFieldFeedbackDirective,
@@ -4054,10 +4106,13 @@ i0.ɵɵngDeclareClassMetadata({
4054
4106
  HlmInputGroupInput,
4055
4107
  HlmInputGroupAddon
4056
4108
  ],
4057
- providers: [provideValueAccessor(YuwInputComponent)],
4109
+ providers: [provideIcons({
4110
+ lucideCircleAlert,
4111
+ lucideInfo
4112
+ }), provideValueAccessor(YuwInputComponent)],
4058
4113
  host: { class: "contents" },
4059
4114
  changeDetection: ChangeDetectionStrategy.OnPush,
4060
- template: "<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [errorText]=\"errorText()\"\n>\n @if (_hasAddons()) {\n <hlm-input-group [class]=\"_classes()\">\n @if (_hasLeftAddon()) {\n <hlm-input-group-addon align=\"inline-start\">\n <ng-content select=\"yuw-left-addon\" />\n </hlm-input-group-addon>\n }\n\n <input\n hlmInputGroupInput\n [id]=\"_inputId()\"\n [type]=\"type()\"\n [attr.inputmode]=\"inputmode()\"\n [value]=\"value()\"\n [disabled]=\"_disabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.name]=\"name()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.maxlength]=\"maxlength()\"\n [attr.placeholder]=\"placeholder()\"\n (input)=\"onInput($event)\"\n (change)=\"onChange()\"\n (blur)=\"_onBlur()\"\n (keydown.enter)=\"onEnterPressed()\"\n />\n\n @if (_hasRightAddon()) {\n <hlm-input-group-addon align=\"inline-end\">\n <ng-content select=\"yuw-right-addon\" />\n </hlm-input-group-addon>\n }\n </hlm-input-group>\n } @else {\n <input\n hlmInput\n [class]=\"_classes()\"\n [id]=\"_inputId()\"\n [type]=\"type()\"\n [attr.inputmode]=\"inputmode()\"\n [value]=\"value()\"\n [disabled]=\"_disabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.name]=\"name()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.maxlength]=\"maxlength()\"\n [attr.placeholder]=\"placeholder()\"\n (input)=\"onInput($event)\"\n (change)=\"onChange()\"\n (blur)=\"_onBlur()\"\n (keydown.enter)=\"onEnterPressed()\"\n />\n }\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"text-destructive\">{{ feedback.errorMessage() }}</hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description>{{ helper }}</hlm-field-description>\n }\n</hlm-field>\n"
4115
+ template: "<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [errorText]=\"errorText()\"\n>\n @if (_hasAddons()) {\n <hlm-input-group [class]=\"_classes()\">\n @if (_hasLeftAddon()) {\n <hlm-input-group-addon align=\"inline-start\">\n <ng-content select=\"yuw-left-addon\" />\n </hlm-input-group-addon>\n }\n\n <input\n hlmInputGroupInput\n [id]=\"_inputId()\"\n [type]=\"type()\"\n [attr.inputmode]=\"inputmode()\"\n [value]=\"value()\"\n [disabled]=\"_disabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.name]=\"name()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.maxlength]=\"maxlength()\"\n [attr.placeholder]=\"placeholder()\"\n (input)=\"onInput($event)\"\n (change)=\"onChange()\"\n (blur)=\"_onBlur()\"\n (keydown.enter)=\"onEnterPressed()\"\n />\n\n @if (_hasRightAddon()) {\n <hlm-input-group-addon align=\"inline-end\">\n <ng-content select=\"yuw-right-addon\" />\n </hlm-input-group-addon>\n }\n </hlm-input-group>\n } @else {\n <input\n hlmInput\n [class]=\"_classes()\"\n [id]=\"_inputId()\"\n [type]=\"type()\"\n [attr.inputmode]=\"inputmode()\"\n [value]=\"value()\"\n [disabled]=\"_disabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.name]=\"name()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.maxlength]=\"maxlength()\"\n [attr.placeholder]=\"placeholder()\"\n (input)=\"onInput($event)\"\n (change)=\"onChange()\"\n (blur)=\"_onBlur()\"\n (keydown.enter)=\"onEnterPressed()\"\n />\n }\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"flex items-start gap-1.5 text-xs text-destructive\">\n <ng-icon name=\"lucideCircleAlert\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ feedback.errorMessage() }}\n </hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description class=\"flex items-start gap-1.5 text-xs\">\n <ng-icon name=\"lucideInfo\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ helper }}\n </hlm-field-description>\n }\n</hlm-field>\n"
4061
4116
  }]
4062
4117
  }],
4063
4118
  propDecorators: {
@@ -4435,6 +4490,7 @@ var YuwPopoverComponent = class YuwPopoverComponent {
4435
4490
  transform: booleanAttribute
4436
4491
  });
4437
4492
  this.triggerVariant = input("outline", ...ngDevMode ? [{ debugName: "triggerVariant" }] : /* istanbul ignore next */ []);
4493
+ this._panelClass = computed(() => cn("p-2", "gap-0", this.panelClass()), ...ngDevMode ? [{ debugName: "_panelClass" }] : /* istanbul ignore next */ []);
4438
4494
  this._popoverState = computed(() => this.open() ? "open" : "closed", ...ngDevMode ? [{ debugName: "_popoverState" }] : /* istanbul ignore next */ []);
4439
4495
  }
4440
4496
  onOpenChange(state) {
@@ -4561,7 +4617,7 @@ var YuwPopoverComponent = class YuwPopoverComponent {
4561
4617
  isSignal: true
4562
4618
  }],
4563
4619
  ngImport: i0,
4564
- template: "<div\n hlmPopover\n [state]=\"_popoverState()\"\n [align]=\"align()\"\n [sideOffset]=\"sideOffset()\"\n [offsetX]=\"offsetX()\"\n [attachTo]=\"_trigger()\"\n (stateChanged)=\"onOpenChange($event)\"\n>\n @if (showTrigger()) {\n <yuw-button\n #trigger\n yuwPopoverTriggerButton\n [color]=\"triggerColor()\"\n [variant]=\"triggerVariant()\"\n [size]=\"triggerSize()\"\n [transparent]=\"triggerTransparent()\"\n [class]=\"triggerClass()\"\n >\n <ng-content select=\"[yuwPopoverTrigger]\" />\n </yuw-button>\n }\n\n <hlm-popover-content *hlmPopoverPortal [class]=\"panelClass()\">\n @if (title() || description()) {\n <div hlmPopoverHeader>\n @if (title()) {\n <p hlmPopoverTitle>{{ title() }}</p>\n }\n @if (description()) {\n <p hlmPopoverDescription>{{ description() }}</p>\n }\n </div>\n }\n\n <ng-content />\n </hlm-popover-content>\n</div>\n",
4620
+ template: "<div\n hlmPopover\n [state]=\"_popoverState()\"\n [align]=\"align()\"\n [sideOffset]=\"sideOffset()\"\n [offsetX]=\"offsetX()\"\n [attachTo]=\"_trigger()\"\n (stateChanged)=\"onOpenChange($event)\"\n>\n @if (showTrigger()) {\n <yuw-button\n #trigger\n yuwPopoverTriggerButton\n [color]=\"triggerColor()\"\n [variant]=\"triggerVariant()\"\n [size]=\"triggerSize()\"\n [transparent]=\"triggerTransparent()\"\n [class]=\"triggerClass()\"\n >\n <ng-content select=\"[yuwPopoverTrigger]\" />\n </yuw-button>\n }\n\n <hlm-popover-content *hlmPopoverPortal [class]=\"_panelClass()\">\n @if (title() || description()) {\n <div hlmPopoverHeader class=\"gap-0 px-2 pt-1 pb-2\">\n @if (title()) {\n <p hlmPopoverTitle class=\"font-normal text-muted-foreground\">{{ title() }}</p>\n }\n @if (description()) {\n <p hlmPopoverDescription class=\"pt-2 text-foreground\">{{ description() }}</p>\n }\n </div>\n }\n\n <ng-content />\n </hlm-popover-content>\n</div>\n",
4565
4621
  dependencies: [
4566
4622
  {
4567
4623
  kind: "directive",
@@ -4640,7 +4696,7 @@ i0.ɵɵngDeclareClassMetadata({
4640
4696
  ],
4641
4697
  host: { class: "contents" },
4642
4698
  changeDetection: ChangeDetectionStrategy.OnPush,
4643
- template: "<div\n hlmPopover\n [state]=\"_popoverState()\"\n [align]=\"align()\"\n [sideOffset]=\"sideOffset()\"\n [offsetX]=\"offsetX()\"\n [attachTo]=\"_trigger()\"\n (stateChanged)=\"onOpenChange($event)\"\n>\n @if (showTrigger()) {\n <yuw-button\n #trigger\n yuwPopoverTriggerButton\n [color]=\"triggerColor()\"\n [variant]=\"triggerVariant()\"\n [size]=\"triggerSize()\"\n [transparent]=\"triggerTransparent()\"\n [class]=\"triggerClass()\"\n >\n <ng-content select=\"[yuwPopoverTrigger]\" />\n </yuw-button>\n }\n\n <hlm-popover-content *hlmPopoverPortal [class]=\"panelClass()\">\n @if (title() || description()) {\n <div hlmPopoverHeader>\n @if (title()) {\n <p hlmPopoverTitle>{{ title() }}</p>\n }\n @if (description()) {\n <p hlmPopoverDescription>{{ description() }}</p>\n }\n </div>\n }\n\n <ng-content />\n </hlm-popover-content>\n</div>\n"
4699
+ template: "<div\n hlmPopover\n [state]=\"_popoverState()\"\n [align]=\"align()\"\n [sideOffset]=\"sideOffset()\"\n [offsetX]=\"offsetX()\"\n [attachTo]=\"_trigger()\"\n (stateChanged)=\"onOpenChange($event)\"\n>\n @if (showTrigger()) {\n <yuw-button\n #trigger\n yuwPopoverTriggerButton\n [color]=\"triggerColor()\"\n [variant]=\"triggerVariant()\"\n [size]=\"triggerSize()\"\n [transparent]=\"triggerTransparent()\"\n [class]=\"triggerClass()\"\n >\n <ng-content select=\"[yuwPopoverTrigger]\" />\n </yuw-button>\n }\n\n <hlm-popover-content *hlmPopoverPortal [class]=\"_panelClass()\">\n @if (title() || description()) {\n <div hlmPopoverHeader class=\"gap-0 px-2 pt-1 pb-2\">\n @if (title()) {\n <p hlmPopoverTitle class=\"font-normal text-muted-foreground\">{{ title() }}</p>\n }\n @if (description()) {\n <p hlmPopoverDescription class=\"pt-2 text-foreground\">{{ description() }}</p>\n }\n </div>\n }\n\n <ng-content />\n </hlm-popover-content>\n</div>\n"
4644
4700
  }]
4645
4701
  }],
4646
4702
  propDecorators: {
@@ -5724,7 +5780,9 @@ var YuwInputFileComponent = class YuwInputFileComponent extends YuwValueAccessor
5724
5780
  removed: "removed"
5725
5781
  },
5726
5782
  providers: [provideValueAccessor(YuwInputFileComponent), provideIcons({
5783
+ lucideCircleAlert,
5727
5784
  lucideImagePlus,
5785
+ lucideInfo,
5728
5786
  lucidePaperclip,
5729
5787
  lucideUpload,
5730
5788
  lucideX
@@ -5738,7 +5796,7 @@ var YuwInputFileComponent = class YuwInputFileComponent extends YuwValueAccessor
5738
5796
  }],
5739
5797
  usesInheritance: true,
5740
5798
  ngImport: i0,
5741
- template: "<ng-template #fileRow let-entry>\n <span class=\"min-w-0 flex-1 truncate\">{{ entry.file.name }}</span>\n <span class=\"shrink-0 text-muted-foreground\">{{ entry.size }}</span>\n <yuw-button\n variant=\"ghost\"\n size=\"icon-xs\"\n [ariaLabel]=\"removeLabel()\"\n [disabled]=\"_disabled()\"\n (clicked)=\"removed.emit(entry.file)\"\n >\n <ng-icon name=\"lucideX\" size=\"14\" />\n </yuw-button>\n</ng-template>\n\n<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [errorText]=\"errorText()\"\n>\n <input\n #native\n hlmInput\n hidden\n type=\"file\"\n [id]=\"_inputId()\"\n [attr.accept]=\"accept()\"\n [multiple]=\"multiple()\"\n [disabled]=\"_disabled()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.name]=\"name()\"\n (change)=\"onChange($event)\"\n />\n\n @if (variant() === 'avatar') {\n <div class=\"flex min-w-0 flex-wrap items-center gap-3\">\n <button\n type=\"button\"\n class=\"cursor-pointer rounded-full disabled:cursor-not-allowed\"\n tabindex=\"-1\"\n [attr.aria-label]=\"uploadLabel()\"\n [disabled]=\"_disabled()\"\n (click)=\"native.click()\"\n >\n <yuw-avatar size=\"lg\" [class]=\"userClass()\" [src]=\"_imageSrc()\" [alt]=\"alt()\" [fallback]=\"fallback()\" />\n </button>\n <yuw-button\n type=\"button\"\n variant=\"outline\"\n [size]=\"size()\"\n [disabled]=\"_disabled()\"\n (clicked)=\"native.click()\"\n (focusout)=\"_onBlur()\"\n >\n {{ uploadLabel() }}\n </yuw-button>\n </div>\n } @else if (variant() === 'tile') {\n <div class=\"flex\">\n <div class=\"relative\">\n <button\n type=\"button\"\n [class]=\"_tileClasses()\"\n [class.border-destructive]=\"feedback.showError()\"\n [attr.aria-label]=\"uploadLabel()\"\n [disabled]=\"_disabled()\"\n (click)=\"native.click()\"\n (focusout)=\"_onBlur()\"\n >\n @if (_imageSrc(); as image) {\n <img class=\"size-full object-cover\" [src]=\"image\" [alt]=\"alt()\" />\n } @else {\n <ng-icon name=\"lucideImagePlus\" size=\"20\" />\n <span>{{ uploadLabel() }}</span>\n }\n </button>\n @if (removeLabel() && value()[0]; as file) {\n <yuw-button\n class=\"absolute end-1 top-1\"\n variant=\"outline\"\n size=\"icon-xs\"\n [ariaLabel]=\"removeLabel()\"\n [disabled]=\"_disabled()\"\n (clicked)=\"removed.emit(file)\"\n >\n <ng-icon name=\"lucideX\" size=\"12\" />\n </yuw-button>\n }\n </div>\n </div>\n } @else {\n <div [class]=\"_inlineClasses()\">\n @if (_entries().length === 0 && emptyLabel()) {\n <div class=\"flex min-w-0 items-center justify-between gap-3\">\n <span class=\"truncate text-sm text-muted-foreground\">{{ emptyLabel() }}</span>\n <yuw-button\n type=\"button\"\n variant=\"outline\"\n color=\"secondary\"\n class=\"shrink-0\"\n [size]=\"size()\"\n [disabled]=\"_disabled()\"\n (clicked)=\"native.click()\"\n (focusout)=\"_onBlur()\"\n >\n <ng-icon name=\"lucidePaperclip\" size=\"16\" />\n {{ uploadLabel() }}\n </yuw-button>\n </div>\n } @else if (_entries().length === 0) {\n <yuw-button\n type=\"button\"\n variant=\"outline\"\n color=\"secondary\"\n class=\"w-full\"\n [size]=\"size()\"\n [disabled]=\"_disabled()\"\n (clicked)=\"native.click()\"\n (focusout)=\"_onBlur()\"\n >\n <ng-icon name=\"lucideUpload\" size=\"16\" />\n {{ uploadLabel() }}\n </yuw-button>\n } @else if (_entries().length === 1) {\n <div [class]=\"_boxClasses()\" [class.border-destructive]=\"feedback.showError()\">\n <ng-container [ngTemplateOutlet]=\"fileRow\" [ngTemplateOutletContext]=\"{ $implicit: _entries()[0] }\" />\n </div>\n } @else {\n @if (_isMobile()) {\n <yuw-button\n type=\"button\"\n variant=\"outline\"\n class=\"w-full justify-start font-normal\"\n [size]=\"size()\"\n [disabled]=\"_disabled()\"\n (clicked)=\"_listOpen.set(true)\"\n >\n {{ _countText() }}\n </yuw-button>\n\n <yuw-sheet\n side=\"bottom\"\n panelClass=\"max-h-[85svh] overflow-y-auto\"\n [showTrigger]=\"false\"\n [title]=\"_countText()\"\n [(open)]=\"_listOpen\"\n >\n <ul class=\"flex flex-col gap-1 pb-3\">\n @for (entry of _entries(); track entry.file) {\n <li class=\"flex items-center gap-2 text-sm\">\n <ng-container [ngTemplateOutlet]=\"fileRow\" [ngTemplateOutletContext]=\"{ $implicit: entry }\" />\n </li>\n }\n </ul>\n </yuw-sheet>\n } @else {\n <div class=\"[&_yuw-button]:flex [&_yuw-button]:w-full\">\n <yuw-popover\n align=\"start\"\n panelClass=\"w-80 p-2\"\n triggerVariant=\"outline\"\n triggerClass=\"w-full justify-start font-normal\"\n [triggerSize]=\"size()\"\n [(open)]=\"_listOpen\"\n >\n <span yuwPopoverTrigger>{{ _countText() }}</span>\n\n <ul class=\"flex flex-col gap-1\">\n @for (entry of _entries(); track entry.file) {\n <li class=\"flex items-center gap-2 text-sm\">\n <ng-container [ngTemplateOutlet]=\"fileRow\" [ngTemplateOutletContext]=\"{ $implicit: entry }\" />\n </li>\n }\n </ul>\n </yuw-popover>\n </div>\n }\n }\n </div>\n }\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"text-destructive\">{{ feedback.errorMessage() }}</hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description>{{ helper }}</hlm-field-description>\n }\n</hlm-field>\n",
5799
+ template: "<ng-template #fileRow let-entry>\n <span class=\"min-w-0 flex-1 truncate\">{{ entry.file.name }}</span>\n <span class=\"shrink-0 text-muted-foreground\">{{ entry.size }}</span>\n <yuw-button\n variant=\"ghost\"\n size=\"icon-xs\"\n [ariaLabel]=\"removeLabel()\"\n [disabled]=\"_disabled()\"\n (clicked)=\"removed.emit(entry.file)\"\n >\n <ng-icon name=\"lucideX\" size=\"14\" />\n </yuw-button>\n</ng-template>\n\n<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [errorText]=\"errorText()\"\n>\n <input\n #native\n hlmInput\n hidden\n type=\"file\"\n [id]=\"_inputId()\"\n [attr.accept]=\"accept()\"\n [multiple]=\"multiple()\"\n [disabled]=\"_disabled()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.name]=\"name()\"\n (change)=\"onChange($event)\"\n />\n\n @if (variant() === 'avatar') {\n <div class=\"flex min-w-0 flex-wrap items-center gap-3\">\n <button\n type=\"button\"\n class=\"cursor-pointer rounded-full disabled:cursor-not-allowed\"\n tabindex=\"-1\"\n [attr.aria-label]=\"uploadLabel()\"\n [disabled]=\"_disabled()\"\n (click)=\"native.click()\"\n >\n <yuw-avatar size=\"lg\" [class]=\"userClass()\" [src]=\"_imageSrc()\" [alt]=\"alt()\" [fallback]=\"fallback()\" />\n </button>\n <yuw-button\n type=\"button\"\n variant=\"outline\"\n [size]=\"size()\"\n [disabled]=\"_disabled()\"\n (clicked)=\"native.click()\"\n (focusout)=\"_onBlur()\"\n >\n {{ uploadLabel() }}\n </yuw-button>\n </div>\n } @else if (variant() === 'tile') {\n <div class=\"flex\">\n <div class=\"relative\">\n <button\n type=\"button\"\n [class]=\"_tileClasses()\"\n [class.border-destructive]=\"feedback.showError()\"\n [attr.aria-label]=\"uploadLabel()\"\n [disabled]=\"_disabled()\"\n (click)=\"native.click()\"\n (focusout)=\"_onBlur()\"\n >\n @if (_imageSrc(); as image) {\n <img class=\"size-full object-cover\" [src]=\"image\" [alt]=\"alt()\" />\n } @else {\n <ng-icon name=\"lucideImagePlus\" size=\"20\" />\n <span>{{ uploadLabel() }}</span>\n }\n </button>\n @if (removeLabel() && value()[0]; as file) {\n <div class=\"absolute inset-e-1 top-1 flex\">\n <yuw-button\n variant=\"outline\"\n size=\"icon-xs\"\n [ariaLabel]=\"removeLabel()\"\n [disabled]=\"_disabled()\"\n (clicked)=\"removed.emit(file)\"\n >\n <ng-icon name=\"lucideX\" size=\"12\" />\n </yuw-button>\n </div>\n }\n </div>\n </div>\n } @else {\n <div [class]=\"_inlineClasses()\">\n @if (_entries().length === 0 && emptyLabel()) {\n <div class=\"flex min-w-0 items-center justify-between gap-3\">\n <span class=\"truncate text-sm text-muted-foreground\">{{ emptyLabel() }}</span>\n <yuw-button\n type=\"button\"\n variant=\"outline\"\n color=\"secondary\"\n class=\"shrink-0\"\n [size]=\"size()\"\n [disabled]=\"_disabled()\"\n (clicked)=\"native.click()\"\n (focusout)=\"_onBlur()\"\n >\n <ng-icon name=\"lucidePaperclip\" size=\"16\" />\n {{ uploadLabel() }}\n </yuw-button>\n </div>\n } @else if (_entries().length === 0) {\n <yuw-button\n type=\"button\"\n variant=\"outline\"\n color=\"secondary\"\n class=\"w-full\"\n [size]=\"size()\"\n [disabled]=\"_disabled()\"\n (clicked)=\"native.click()\"\n (focusout)=\"_onBlur()\"\n >\n <ng-icon name=\"lucideUpload\" size=\"16\" />\n {{ uploadLabel() }}\n </yuw-button>\n } @else if (_entries().length === 1) {\n <div [class]=\"_boxClasses()\" [class.border-destructive]=\"feedback.showError()\">\n <ng-container [ngTemplateOutlet]=\"fileRow\" [ngTemplateOutletContext]=\"{ $implicit: _entries()[0] }\" />\n </div>\n } @else {\n @if (_isMobile()) {\n <yuw-button\n type=\"button\"\n variant=\"outline\"\n class=\"w-full justify-start font-normal\"\n [size]=\"size()\"\n [disabled]=\"_disabled()\"\n (clicked)=\"_listOpen.set(true)\"\n >\n {{ _countText() }}\n </yuw-button>\n\n <yuw-sheet\n side=\"bottom\"\n panelClass=\"max-h-[85svh] overflow-y-auto\"\n [showTrigger]=\"false\"\n [title]=\"_countText()\"\n [(open)]=\"_listOpen\"\n >\n <ul class=\"flex flex-col gap-1 pb-3\">\n @for (entry of _entries(); track entry.file) {\n <li class=\"flex items-center gap-2 text-sm\">\n <ng-container [ngTemplateOutlet]=\"fileRow\" [ngTemplateOutletContext]=\"{ $implicit: entry }\" />\n </li>\n }\n </ul>\n </yuw-sheet>\n } @else {\n <div class=\"[&_yuw-button]:flex [&_yuw-button]:w-full\">\n <yuw-popover\n align=\"start\"\n panelClass=\"w-80 p-2\"\n triggerVariant=\"outline\"\n triggerClass=\"w-full justify-start font-normal\"\n [triggerSize]=\"size()\"\n [(open)]=\"_listOpen\"\n >\n <span yuwPopoverTrigger>{{ _countText() }}</span>\n\n <ul class=\"flex flex-col gap-1\">\n @for (entry of _entries(); track entry.file) {\n <li class=\"flex items-center gap-2 text-sm\">\n <ng-container [ngTemplateOutlet]=\"fileRow\" [ngTemplateOutletContext]=\"{ $implicit: entry }\" />\n </li>\n }\n </ul>\n </yuw-popover>\n </div>\n }\n }\n </div>\n }\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"flex items-start gap-1.5 text-xs text-destructive\">\n <ng-icon name=\"lucideCircleAlert\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ feedback.errorMessage() }}\n </hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description class=\"flex items-start gap-1.5 text-xs\">\n <ng-icon name=\"lucideInfo\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ helper }}\n </hlm-field-description>\n }\n</hlm-field>\n",
5742
5800
  dependencies: [
5743
5801
  {
5744
5802
  kind: "directive",
@@ -5897,13 +5955,15 @@ i0.ɵɵngDeclareClassMetadata({
5897
5955
  YuwSheetComponent
5898
5956
  ],
5899
5957
  providers: [provideValueAccessor(YuwInputFileComponent), provideIcons({
5958
+ lucideCircleAlert,
5900
5959
  lucideImagePlus,
5960
+ lucideInfo,
5901
5961
  lucidePaperclip,
5902
5962
  lucideUpload,
5903
5963
  lucideX
5904
5964
  })],
5905
5965
  changeDetection: ChangeDetectionStrategy.OnPush,
5906
- template: "<ng-template #fileRow let-entry>\n <span class=\"min-w-0 flex-1 truncate\">{{ entry.file.name }}</span>\n <span class=\"shrink-0 text-muted-foreground\">{{ entry.size }}</span>\n <yuw-button\n variant=\"ghost\"\n size=\"icon-xs\"\n [ariaLabel]=\"removeLabel()\"\n [disabled]=\"_disabled()\"\n (clicked)=\"removed.emit(entry.file)\"\n >\n <ng-icon name=\"lucideX\" size=\"14\" />\n </yuw-button>\n</ng-template>\n\n<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [errorText]=\"errorText()\"\n>\n <input\n #native\n hlmInput\n hidden\n type=\"file\"\n [id]=\"_inputId()\"\n [attr.accept]=\"accept()\"\n [multiple]=\"multiple()\"\n [disabled]=\"_disabled()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.name]=\"name()\"\n (change)=\"onChange($event)\"\n />\n\n @if (variant() === 'avatar') {\n <div class=\"flex min-w-0 flex-wrap items-center gap-3\">\n <button\n type=\"button\"\n class=\"cursor-pointer rounded-full disabled:cursor-not-allowed\"\n tabindex=\"-1\"\n [attr.aria-label]=\"uploadLabel()\"\n [disabled]=\"_disabled()\"\n (click)=\"native.click()\"\n >\n <yuw-avatar size=\"lg\" [class]=\"userClass()\" [src]=\"_imageSrc()\" [alt]=\"alt()\" [fallback]=\"fallback()\" />\n </button>\n <yuw-button\n type=\"button\"\n variant=\"outline\"\n [size]=\"size()\"\n [disabled]=\"_disabled()\"\n (clicked)=\"native.click()\"\n (focusout)=\"_onBlur()\"\n >\n {{ uploadLabel() }}\n </yuw-button>\n </div>\n } @else if (variant() === 'tile') {\n <div class=\"flex\">\n <div class=\"relative\">\n <button\n type=\"button\"\n [class]=\"_tileClasses()\"\n [class.border-destructive]=\"feedback.showError()\"\n [attr.aria-label]=\"uploadLabel()\"\n [disabled]=\"_disabled()\"\n (click)=\"native.click()\"\n (focusout)=\"_onBlur()\"\n >\n @if (_imageSrc(); as image) {\n <img class=\"size-full object-cover\" [src]=\"image\" [alt]=\"alt()\" />\n } @else {\n <ng-icon name=\"lucideImagePlus\" size=\"20\" />\n <span>{{ uploadLabel() }}</span>\n }\n </button>\n @if (removeLabel() && value()[0]; as file) {\n <yuw-button\n class=\"absolute end-1 top-1\"\n variant=\"outline\"\n size=\"icon-xs\"\n [ariaLabel]=\"removeLabel()\"\n [disabled]=\"_disabled()\"\n (clicked)=\"removed.emit(file)\"\n >\n <ng-icon name=\"lucideX\" size=\"12\" />\n </yuw-button>\n }\n </div>\n </div>\n } @else {\n <div [class]=\"_inlineClasses()\">\n @if (_entries().length === 0 && emptyLabel()) {\n <div class=\"flex min-w-0 items-center justify-between gap-3\">\n <span class=\"truncate text-sm text-muted-foreground\">{{ emptyLabel() }}</span>\n <yuw-button\n type=\"button\"\n variant=\"outline\"\n color=\"secondary\"\n class=\"shrink-0\"\n [size]=\"size()\"\n [disabled]=\"_disabled()\"\n (clicked)=\"native.click()\"\n (focusout)=\"_onBlur()\"\n >\n <ng-icon name=\"lucidePaperclip\" size=\"16\" />\n {{ uploadLabel() }}\n </yuw-button>\n </div>\n } @else if (_entries().length === 0) {\n <yuw-button\n type=\"button\"\n variant=\"outline\"\n color=\"secondary\"\n class=\"w-full\"\n [size]=\"size()\"\n [disabled]=\"_disabled()\"\n (clicked)=\"native.click()\"\n (focusout)=\"_onBlur()\"\n >\n <ng-icon name=\"lucideUpload\" size=\"16\" />\n {{ uploadLabel() }}\n </yuw-button>\n } @else if (_entries().length === 1) {\n <div [class]=\"_boxClasses()\" [class.border-destructive]=\"feedback.showError()\">\n <ng-container [ngTemplateOutlet]=\"fileRow\" [ngTemplateOutletContext]=\"{ $implicit: _entries()[0] }\" />\n </div>\n } @else {\n @if (_isMobile()) {\n <yuw-button\n type=\"button\"\n variant=\"outline\"\n class=\"w-full justify-start font-normal\"\n [size]=\"size()\"\n [disabled]=\"_disabled()\"\n (clicked)=\"_listOpen.set(true)\"\n >\n {{ _countText() }}\n </yuw-button>\n\n <yuw-sheet\n side=\"bottom\"\n panelClass=\"max-h-[85svh] overflow-y-auto\"\n [showTrigger]=\"false\"\n [title]=\"_countText()\"\n [(open)]=\"_listOpen\"\n >\n <ul class=\"flex flex-col gap-1 pb-3\">\n @for (entry of _entries(); track entry.file) {\n <li class=\"flex items-center gap-2 text-sm\">\n <ng-container [ngTemplateOutlet]=\"fileRow\" [ngTemplateOutletContext]=\"{ $implicit: entry }\" />\n </li>\n }\n </ul>\n </yuw-sheet>\n } @else {\n <div class=\"[&_yuw-button]:flex [&_yuw-button]:w-full\">\n <yuw-popover\n align=\"start\"\n panelClass=\"w-80 p-2\"\n triggerVariant=\"outline\"\n triggerClass=\"w-full justify-start font-normal\"\n [triggerSize]=\"size()\"\n [(open)]=\"_listOpen\"\n >\n <span yuwPopoverTrigger>{{ _countText() }}</span>\n\n <ul class=\"flex flex-col gap-1\">\n @for (entry of _entries(); track entry.file) {\n <li class=\"flex items-center gap-2 text-sm\">\n <ng-container [ngTemplateOutlet]=\"fileRow\" [ngTemplateOutletContext]=\"{ $implicit: entry }\" />\n </li>\n }\n </ul>\n </yuw-popover>\n </div>\n }\n }\n </div>\n }\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"text-destructive\">{{ feedback.errorMessage() }}</hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description>{{ helper }}</hlm-field-description>\n }\n</hlm-field>\n"
5966
+ template: "<ng-template #fileRow let-entry>\n <span class=\"min-w-0 flex-1 truncate\">{{ entry.file.name }}</span>\n <span class=\"shrink-0 text-muted-foreground\">{{ entry.size }}</span>\n <yuw-button\n variant=\"ghost\"\n size=\"icon-xs\"\n [ariaLabel]=\"removeLabel()\"\n [disabled]=\"_disabled()\"\n (clicked)=\"removed.emit(entry.file)\"\n >\n <ng-icon name=\"lucideX\" size=\"14\" />\n </yuw-button>\n</ng-template>\n\n<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [errorText]=\"errorText()\"\n>\n <input\n #native\n hlmInput\n hidden\n type=\"file\"\n [id]=\"_inputId()\"\n [attr.accept]=\"accept()\"\n [multiple]=\"multiple()\"\n [disabled]=\"_disabled()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.name]=\"name()\"\n (change)=\"onChange($event)\"\n />\n\n @if (variant() === 'avatar') {\n <div class=\"flex min-w-0 flex-wrap items-center gap-3\">\n <button\n type=\"button\"\n class=\"cursor-pointer rounded-full disabled:cursor-not-allowed\"\n tabindex=\"-1\"\n [attr.aria-label]=\"uploadLabel()\"\n [disabled]=\"_disabled()\"\n (click)=\"native.click()\"\n >\n <yuw-avatar size=\"lg\" [class]=\"userClass()\" [src]=\"_imageSrc()\" [alt]=\"alt()\" [fallback]=\"fallback()\" />\n </button>\n <yuw-button\n type=\"button\"\n variant=\"outline\"\n [size]=\"size()\"\n [disabled]=\"_disabled()\"\n (clicked)=\"native.click()\"\n (focusout)=\"_onBlur()\"\n >\n {{ uploadLabel() }}\n </yuw-button>\n </div>\n } @else if (variant() === 'tile') {\n <div class=\"flex\">\n <div class=\"relative\">\n <button\n type=\"button\"\n [class]=\"_tileClasses()\"\n [class.border-destructive]=\"feedback.showError()\"\n [attr.aria-label]=\"uploadLabel()\"\n [disabled]=\"_disabled()\"\n (click)=\"native.click()\"\n (focusout)=\"_onBlur()\"\n >\n @if (_imageSrc(); as image) {\n <img class=\"size-full object-cover\" [src]=\"image\" [alt]=\"alt()\" />\n } @else {\n <ng-icon name=\"lucideImagePlus\" size=\"20\" />\n <span>{{ uploadLabel() }}</span>\n }\n </button>\n @if (removeLabel() && value()[0]; as file) {\n <div class=\"absolute inset-e-1 top-1 flex\">\n <yuw-button\n variant=\"outline\"\n size=\"icon-xs\"\n [ariaLabel]=\"removeLabel()\"\n [disabled]=\"_disabled()\"\n (clicked)=\"removed.emit(file)\"\n >\n <ng-icon name=\"lucideX\" size=\"12\" />\n </yuw-button>\n </div>\n }\n </div>\n </div>\n } @else {\n <div [class]=\"_inlineClasses()\">\n @if (_entries().length === 0 && emptyLabel()) {\n <div class=\"flex min-w-0 items-center justify-between gap-3\">\n <span class=\"truncate text-sm text-muted-foreground\">{{ emptyLabel() }}</span>\n <yuw-button\n type=\"button\"\n variant=\"outline\"\n color=\"secondary\"\n class=\"shrink-0\"\n [size]=\"size()\"\n [disabled]=\"_disabled()\"\n (clicked)=\"native.click()\"\n (focusout)=\"_onBlur()\"\n >\n <ng-icon name=\"lucidePaperclip\" size=\"16\" />\n {{ uploadLabel() }}\n </yuw-button>\n </div>\n } @else if (_entries().length === 0) {\n <yuw-button\n type=\"button\"\n variant=\"outline\"\n color=\"secondary\"\n class=\"w-full\"\n [size]=\"size()\"\n [disabled]=\"_disabled()\"\n (clicked)=\"native.click()\"\n (focusout)=\"_onBlur()\"\n >\n <ng-icon name=\"lucideUpload\" size=\"16\" />\n {{ uploadLabel() }}\n </yuw-button>\n } @else if (_entries().length === 1) {\n <div [class]=\"_boxClasses()\" [class.border-destructive]=\"feedback.showError()\">\n <ng-container [ngTemplateOutlet]=\"fileRow\" [ngTemplateOutletContext]=\"{ $implicit: _entries()[0] }\" />\n </div>\n } @else {\n @if (_isMobile()) {\n <yuw-button\n type=\"button\"\n variant=\"outline\"\n class=\"w-full justify-start font-normal\"\n [size]=\"size()\"\n [disabled]=\"_disabled()\"\n (clicked)=\"_listOpen.set(true)\"\n >\n {{ _countText() }}\n </yuw-button>\n\n <yuw-sheet\n side=\"bottom\"\n panelClass=\"max-h-[85svh] overflow-y-auto\"\n [showTrigger]=\"false\"\n [title]=\"_countText()\"\n [(open)]=\"_listOpen\"\n >\n <ul class=\"flex flex-col gap-1 pb-3\">\n @for (entry of _entries(); track entry.file) {\n <li class=\"flex items-center gap-2 text-sm\">\n <ng-container [ngTemplateOutlet]=\"fileRow\" [ngTemplateOutletContext]=\"{ $implicit: entry }\" />\n </li>\n }\n </ul>\n </yuw-sheet>\n } @else {\n <div class=\"[&_yuw-button]:flex [&_yuw-button]:w-full\">\n <yuw-popover\n align=\"start\"\n panelClass=\"w-80 p-2\"\n triggerVariant=\"outline\"\n triggerClass=\"w-full justify-start font-normal\"\n [triggerSize]=\"size()\"\n [(open)]=\"_listOpen\"\n >\n <span yuwPopoverTrigger>{{ _countText() }}</span>\n\n <ul class=\"flex flex-col gap-1\">\n @for (entry of _entries(); track entry.file) {\n <li class=\"flex items-center gap-2 text-sm\">\n <ng-container [ngTemplateOutlet]=\"fileRow\" [ngTemplateOutletContext]=\"{ $implicit: entry }\" />\n </li>\n }\n </ul>\n </yuw-popover>\n </div>\n }\n }\n </div>\n }\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"flex items-start gap-1.5 text-xs text-destructive\">\n <ng-icon name=\"lucideCircleAlert\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ feedback.errorMessage() }}\n </hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description class=\"flex items-start gap-1.5 text-xs\">\n <ng-icon name=\"lucideInfo\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ helper }}\n </hlm-field-description>\n }\n</hlm-field>\n"
5907
5967
  }]
5908
5968
  }],
5909
5969
  ctorParameters: () => [],
@@ -6128,7 +6188,10 @@ var YuwTextareaComponent = class YuwTextareaComponent extends YuwTextFieldBase {
6128
6188
  }
6129
6189
  },
6130
6190
  host: { classAttribute: "contents" },
6131
- providers: [provideValueAccessor(YuwTextareaComponent)],
6191
+ providers: [provideIcons({
6192
+ lucideCircleAlert,
6193
+ lucideInfo
6194
+ }), provideValueAccessor(YuwTextareaComponent)],
6132
6195
  queries: [{
6133
6196
  propertyName: "_leftAddons",
6134
6197
  predicate: YuwLeftAddonDirective,
@@ -6140,8 +6203,20 @@ var YuwTextareaComponent = class YuwTextareaComponent extends YuwTextFieldBase {
6140
6203
  }],
6141
6204
  usesInheritance: true,
6142
6205
  ngImport: i0,
6143
- template: "<!-- The control is repeated in both branches on purpose: a shared ng-template cannot express it,\n because the two variants differ in a statically-matched directive (hlmInputGroupTextarea vs\n hlmTextarea) and Angular resolves directives at compile time — a single template would drag the\n group's reset classes into the bare case (or vice versa). Keep the binding lists in sync. -->\n<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [errorText]=\"errorText()\"\n>\n @if (_hasAddons()) {\n <hlm-input-group [class]=\"_classes()\">\n @if (_hasLeftAddon()) {\n <hlm-input-group-addon align=\"block-start\">\n <ng-content select=\"yuw-left-addon\" />\n </hlm-input-group-addon>\n }\n\n <textarea\n hlmInputGroupTextarea\n [id]=\"_inputId()\"\n [value]=\"value()\"\n [disabled]=\"_disabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.rows]=\"rows()\"\n [attr.maxlength]=\"maxlength()\"\n [attr.name]=\"name()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.placeholder]=\"placeholder()\"\n (input)=\"onInput($event)\"\n (change)=\"onChange()\"\n (blur)=\"_onBlur()\"\n ></textarea>\n\n @if (_hasRightAddon()) {\n <hlm-input-group-addon align=\"block-end\">\n <ng-content select=\"yuw-right-addon\" />\n </hlm-input-group-addon>\n }\n </hlm-input-group>\n } @else {\n <textarea\n hlmTextarea\n [class]=\"_classes()\"\n [id]=\"_inputId()\"\n [value]=\"value()\"\n [disabled]=\"_disabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.rows]=\"rows()\"\n [attr.maxlength]=\"maxlength()\"\n [attr.name]=\"name()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.placeholder]=\"placeholder()\"\n (input)=\"onInput($event)\"\n (change)=\"onChange()\"\n (blur)=\"_onBlur()\"\n ></textarea>\n }\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"text-destructive\">{{ feedback.errorMessage() }}</hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description>{{ helper }}</hlm-field-description>\n }\n</hlm-field>\n",
6206
+ template: "<!-- The control is repeated in both branches on purpose: a shared ng-template cannot express it,\n because the two variants differ in a statically-matched directive (hlmInputGroupTextarea vs\n hlmTextarea) and Angular resolves directives at compile time — a single template would drag the\n group's reset classes into the bare case (or vice versa). Keep the binding lists in sync. -->\n<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [errorText]=\"errorText()\"\n>\n @if (_hasAddons()) {\n <hlm-input-group [class]=\"_classes()\">\n @if (_hasLeftAddon()) {\n <hlm-input-group-addon align=\"block-start\">\n <ng-content select=\"yuw-left-addon\" />\n </hlm-input-group-addon>\n }\n\n <textarea\n hlmInputGroupTextarea\n [id]=\"_inputId()\"\n [value]=\"value()\"\n [disabled]=\"_disabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.rows]=\"rows()\"\n [attr.maxlength]=\"maxlength()\"\n [attr.name]=\"name()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.placeholder]=\"placeholder()\"\n (input)=\"onInput($event)\"\n (change)=\"onChange()\"\n (blur)=\"_onBlur()\"\n ></textarea>\n\n @if (_hasRightAddon()) {\n <hlm-input-group-addon align=\"block-end\">\n <ng-content select=\"yuw-right-addon\" />\n </hlm-input-group-addon>\n }\n </hlm-input-group>\n } @else {\n <textarea\n hlmTextarea\n [class]=\"_classes()\"\n [id]=\"_inputId()\"\n [value]=\"value()\"\n [disabled]=\"_disabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.rows]=\"rows()\"\n [attr.maxlength]=\"maxlength()\"\n [attr.name]=\"name()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.placeholder]=\"placeholder()\"\n (input)=\"onInput($event)\"\n (change)=\"onChange()\"\n (blur)=\"_onBlur()\"\n ></textarea>\n }\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"flex items-start gap-1.5 text-xs text-destructive\">\n <ng-icon name=\"lucideCircleAlert\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ feedback.errorMessage() }}\n </hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description class=\"flex items-start gap-1.5 text-xs\">\n <ng-icon name=\"lucideInfo\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ helper }}\n </hlm-field-description>\n }\n</hlm-field>\n",
6144
6207
  dependencies: [
6208
+ {
6209
+ kind: "component",
6210
+ type: NgIcon,
6211
+ selector: "ng-icon",
6212
+ inputs: [
6213
+ "name",
6214
+ "svg",
6215
+ "size",
6216
+ "strokeWidth",
6217
+ "color"
6218
+ ]
6219
+ },
6145
6220
  {
6146
6221
  kind: "directive",
6147
6222
  type: HlmField,
@@ -6197,6 +6272,7 @@ i0.ɵɵngDeclareClassMetadata({
6197
6272
  args: [{
6198
6273
  selector: "yuw-textarea",
6199
6274
  imports: [
6275
+ NgIcon,
6200
6276
  HlmField,
6201
6277
  HlmFieldDescription,
6202
6278
  YuwFieldFeedbackDirective,
@@ -6205,10 +6281,13 @@ i0.ɵɵngDeclareClassMetadata({
6205
6281
  HlmInputGroupTextarea,
6206
6282
  HlmInputGroupAddon
6207
6283
  ],
6208
- providers: [provideValueAccessor(YuwTextareaComponent)],
6284
+ providers: [provideIcons({
6285
+ lucideCircleAlert,
6286
+ lucideInfo
6287
+ }), provideValueAccessor(YuwTextareaComponent)],
6209
6288
  host: { class: "contents" },
6210
6289
  changeDetection: ChangeDetectionStrategy.OnPush,
6211
- template: "<!-- The control is repeated in both branches on purpose: a shared ng-template cannot express it,\n because the two variants differ in a statically-matched directive (hlmInputGroupTextarea vs\n hlmTextarea) and Angular resolves directives at compile time — a single template would drag the\n group's reset classes into the bare case (or vice versa). Keep the binding lists in sync. -->\n<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [errorText]=\"errorText()\"\n>\n @if (_hasAddons()) {\n <hlm-input-group [class]=\"_classes()\">\n @if (_hasLeftAddon()) {\n <hlm-input-group-addon align=\"block-start\">\n <ng-content select=\"yuw-left-addon\" />\n </hlm-input-group-addon>\n }\n\n <textarea\n hlmInputGroupTextarea\n [id]=\"_inputId()\"\n [value]=\"value()\"\n [disabled]=\"_disabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.rows]=\"rows()\"\n [attr.maxlength]=\"maxlength()\"\n [attr.name]=\"name()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.placeholder]=\"placeholder()\"\n (input)=\"onInput($event)\"\n (change)=\"onChange()\"\n (blur)=\"_onBlur()\"\n ></textarea>\n\n @if (_hasRightAddon()) {\n <hlm-input-group-addon align=\"block-end\">\n <ng-content select=\"yuw-right-addon\" />\n </hlm-input-group-addon>\n }\n </hlm-input-group>\n } @else {\n <textarea\n hlmTextarea\n [class]=\"_classes()\"\n [id]=\"_inputId()\"\n [value]=\"value()\"\n [disabled]=\"_disabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.rows]=\"rows()\"\n [attr.maxlength]=\"maxlength()\"\n [attr.name]=\"name()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.placeholder]=\"placeholder()\"\n (input)=\"onInput($event)\"\n (change)=\"onChange()\"\n (blur)=\"_onBlur()\"\n ></textarea>\n }\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"text-destructive\">{{ feedback.errorMessage() }}</hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description>{{ helper }}</hlm-field-description>\n }\n</hlm-field>\n"
6290
+ template: "<!-- The control is repeated in both branches on purpose: a shared ng-template cannot express it,\n because the two variants differ in a statically-matched directive (hlmInputGroupTextarea vs\n hlmTextarea) and Angular resolves directives at compile time — a single template would drag the\n group's reset classes into the bare case (or vice versa). Keep the binding lists in sync. -->\n<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [errorText]=\"errorText()\"\n>\n @if (_hasAddons()) {\n <hlm-input-group [class]=\"_classes()\">\n @if (_hasLeftAddon()) {\n <hlm-input-group-addon align=\"block-start\">\n <ng-content select=\"yuw-left-addon\" />\n </hlm-input-group-addon>\n }\n\n <textarea\n hlmInputGroupTextarea\n [id]=\"_inputId()\"\n [value]=\"value()\"\n [disabled]=\"_disabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.rows]=\"rows()\"\n [attr.maxlength]=\"maxlength()\"\n [attr.name]=\"name()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.placeholder]=\"placeholder()\"\n (input)=\"onInput($event)\"\n (change)=\"onChange()\"\n (blur)=\"_onBlur()\"\n ></textarea>\n\n @if (_hasRightAddon()) {\n <hlm-input-group-addon align=\"block-end\">\n <ng-content select=\"yuw-right-addon\" />\n </hlm-input-group-addon>\n }\n </hlm-input-group>\n } @else {\n <textarea\n hlmTextarea\n [class]=\"_classes()\"\n [id]=\"_inputId()\"\n [value]=\"value()\"\n [disabled]=\"_disabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.rows]=\"rows()\"\n [attr.maxlength]=\"maxlength()\"\n [attr.name]=\"name()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.placeholder]=\"placeholder()\"\n (input)=\"onInput($event)\"\n (change)=\"onChange()\"\n (blur)=\"_onBlur()\"\n ></textarea>\n }\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"flex items-start gap-1.5 text-xs text-destructive\">\n <ng-icon name=\"lucideCircleAlert\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ feedback.errorMessage() }}\n </hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description class=\"flex items-start gap-1.5 text-xs\">\n <ng-icon name=\"lucideInfo\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ helper }}\n </hlm-field-description>\n }\n</hlm-field>\n"
6212
6291
  }]
6213
6292
  }],
6214
6293
  propDecorators: {
@@ -6495,6 +6574,8 @@ var YuwSearchInputComponent = class YuwSearchInputComponent extends YuwTextField
6495
6574
  outputs: { searched: "searched" },
6496
6575
  host: { classAttribute: "contents" },
6497
6576
  providers: [provideValueAccessor(YuwSearchInputComponent), provideIcons({
6577
+ lucideCircleAlert,
6578
+ lucideInfo,
6498
6579
  lucideSearch,
6499
6580
  lucideX
6500
6581
  })],
@@ -6507,7 +6588,7 @@ var YuwSearchInputComponent = class YuwSearchInputComponent extends YuwTextField
6507
6588
  }],
6508
6589
  usesInheritance: true,
6509
6590
  ngImport: i0,
6510
- template: "<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [errorText]=\"errorText()\"\n>\n <div [class]=\"_wrapperClasses()\" [style.max-width]=\"_wrapperMaxWidth()\">\n <hlm-input-group [class]=\"_classes()\">\n <hlm-input-group-addon align=\"inline-start\" [class]=\"_iconClasses()\">\n @if (_showExpandButton()) {\n <button\n hlmInputGroupButton\n size=\"icon-sm\"\n [class]=\"_expandButtonClasses()\"\n [attr.aria-label]=\"expandAriaLabel()\"\n [attr.aria-expanded]=\"false\"\n (focus)=\"onExpandFocus($event)\"\n (click)=\"onExpand()\"\n >\n <ng-icon name=\"lucideSearch\" />\n </button>\n } @else {\n <ng-icon name=\"lucideSearch\" />\n }\n </hlm-input-group-addon>\n\n <input\n #searchInput\n hlmInputGroupInput\n [class]=\"_fieldClasses()\"\n [id]=\"_inputId()\"\n type=\"text\"\n inputmode=\"search\"\n [value]=\"value()\"\n [disabled]=\"_disabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.name]=\"name()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.placeholder]=\"placeholder()\"\n [attr.tabindex]=\"expanded() ? null : -1\"\n [attr.aria-hidden]=\"expanded() ? null : true\"\n (input)=\"onInput($event)\"\n (keydown.enter)=\"onEnter()\"\n (keydown.escape)=\"onEscape()\"\n (blur)=\"onBlur()\"\n />\n\n @if (_showClear()) {\n <hlm-input-group-addon align=\"inline-end\">\n <button hlmInputGroupButton size=\"icon-xs\" [attr.aria-label]=\"clearAriaLabel()\" (click)=\"onClear()\">\n <ng-icon name=\"lucideX\" />\n </button>\n </hlm-input-group-addon>\n }\n </hlm-input-group>\n </div>\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"text-destructive\">{{ feedback.errorMessage() }}</hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description>{{ helper }}</hlm-field-description>\n }\n</hlm-field>\n",
6591
+ template: "<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [errorText]=\"errorText()\"\n>\n <div [class]=\"_wrapperClasses()\" [style.max-width]=\"_wrapperMaxWidth()\">\n <hlm-input-group [class]=\"_classes()\">\n <hlm-input-group-addon align=\"inline-start\" [class]=\"_iconClasses()\">\n @if (_showExpandButton()) {\n <button\n hlmInputGroupButton\n size=\"icon-sm\"\n [class]=\"_expandButtonClasses()\"\n [attr.aria-label]=\"expandAriaLabel()\"\n [attr.aria-expanded]=\"false\"\n (focus)=\"onExpandFocus($event)\"\n (click)=\"onExpand()\"\n >\n <ng-icon name=\"lucideSearch\" />\n </button>\n } @else {\n <ng-icon name=\"lucideSearch\" />\n }\n </hlm-input-group-addon>\n\n <input\n #searchInput\n hlmInputGroupInput\n [class]=\"_fieldClasses()\"\n [id]=\"_inputId()\"\n type=\"text\"\n inputmode=\"search\"\n [value]=\"value()\"\n [disabled]=\"_disabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.name]=\"name()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.placeholder]=\"placeholder()\"\n [attr.tabindex]=\"expanded() ? null : -1\"\n [attr.aria-hidden]=\"expanded() ? null : true\"\n (input)=\"onInput($event)\"\n (keydown.enter)=\"onEnter()\"\n (keydown.escape)=\"onEscape()\"\n (blur)=\"onBlur()\"\n />\n\n @if (_showClear()) {\n <hlm-input-group-addon align=\"inline-end\">\n <button hlmInputGroupButton size=\"icon-xs\" [attr.aria-label]=\"clearAriaLabel()\" (click)=\"onClear()\">\n <ng-icon name=\"lucideX\" />\n </button>\n </hlm-input-group-addon>\n }\n </hlm-input-group>\n </div>\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"flex items-start gap-1.5 text-xs text-destructive\">\n <ng-icon name=\"lucideCircleAlert\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ feedback.errorMessage() }}\n </hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description class=\"flex items-start gap-1.5 text-xs\">\n <ng-icon name=\"lucideInfo\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ helper }}\n </hlm-field-description>\n }\n</hlm-field>\n",
6511
6592
  dependencies: [
6512
6593
  {
6513
6594
  kind: "directive",
@@ -6584,12 +6665,14 @@ i0.ɵɵngDeclareClassMetadata({
6584
6665
  NgIcon
6585
6666
  ],
6586
6667
  providers: [provideValueAccessor(YuwSearchInputComponent), provideIcons({
6668
+ lucideCircleAlert,
6669
+ lucideInfo,
6587
6670
  lucideSearch,
6588
6671
  lucideX
6589
6672
  })],
6590
6673
  host: { class: "contents" },
6591
6674
  changeDetection: ChangeDetectionStrategy.OnPush,
6592
- template: "<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [errorText]=\"errorText()\"\n>\n <div [class]=\"_wrapperClasses()\" [style.max-width]=\"_wrapperMaxWidth()\">\n <hlm-input-group [class]=\"_classes()\">\n <hlm-input-group-addon align=\"inline-start\" [class]=\"_iconClasses()\">\n @if (_showExpandButton()) {\n <button\n hlmInputGroupButton\n size=\"icon-sm\"\n [class]=\"_expandButtonClasses()\"\n [attr.aria-label]=\"expandAriaLabel()\"\n [attr.aria-expanded]=\"false\"\n (focus)=\"onExpandFocus($event)\"\n (click)=\"onExpand()\"\n >\n <ng-icon name=\"lucideSearch\" />\n </button>\n } @else {\n <ng-icon name=\"lucideSearch\" />\n }\n </hlm-input-group-addon>\n\n <input\n #searchInput\n hlmInputGroupInput\n [class]=\"_fieldClasses()\"\n [id]=\"_inputId()\"\n type=\"text\"\n inputmode=\"search\"\n [value]=\"value()\"\n [disabled]=\"_disabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.name]=\"name()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.placeholder]=\"placeholder()\"\n [attr.tabindex]=\"expanded() ? null : -1\"\n [attr.aria-hidden]=\"expanded() ? null : true\"\n (input)=\"onInput($event)\"\n (keydown.enter)=\"onEnter()\"\n (keydown.escape)=\"onEscape()\"\n (blur)=\"onBlur()\"\n />\n\n @if (_showClear()) {\n <hlm-input-group-addon align=\"inline-end\">\n <button hlmInputGroupButton size=\"icon-xs\" [attr.aria-label]=\"clearAriaLabel()\" (click)=\"onClear()\">\n <ng-icon name=\"lucideX\" />\n </button>\n </hlm-input-group-addon>\n }\n </hlm-input-group>\n </div>\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"text-destructive\">{{ feedback.errorMessage() }}</hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description>{{ helper }}</hlm-field-description>\n }\n</hlm-field>\n"
6675
+ template: "<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [errorText]=\"errorText()\"\n>\n <div [class]=\"_wrapperClasses()\" [style.max-width]=\"_wrapperMaxWidth()\">\n <hlm-input-group [class]=\"_classes()\">\n <hlm-input-group-addon align=\"inline-start\" [class]=\"_iconClasses()\">\n @if (_showExpandButton()) {\n <button\n hlmInputGroupButton\n size=\"icon-sm\"\n [class]=\"_expandButtonClasses()\"\n [attr.aria-label]=\"expandAriaLabel()\"\n [attr.aria-expanded]=\"false\"\n (focus)=\"onExpandFocus($event)\"\n (click)=\"onExpand()\"\n >\n <ng-icon name=\"lucideSearch\" />\n </button>\n } @else {\n <ng-icon name=\"lucideSearch\" />\n }\n </hlm-input-group-addon>\n\n <input\n #searchInput\n hlmInputGroupInput\n [class]=\"_fieldClasses()\"\n [id]=\"_inputId()\"\n type=\"text\"\n inputmode=\"search\"\n [value]=\"value()\"\n [disabled]=\"_disabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.name]=\"name()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.placeholder]=\"placeholder()\"\n [attr.tabindex]=\"expanded() ? null : -1\"\n [attr.aria-hidden]=\"expanded() ? null : true\"\n (input)=\"onInput($event)\"\n (keydown.enter)=\"onEnter()\"\n (keydown.escape)=\"onEscape()\"\n (blur)=\"onBlur()\"\n />\n\n @if (_showClear()) {\n <hlm-input-group-addon align=\"inline-end\">\n <button hlmInputGroupButton size=\"icon-xs\" [attr.aria-label]=\"clearAriaLabel()\" (click)=\"onClear()\">\n <ng-icon name=\"lucideX\" />\n </button>\n </hlm-input-group-addon>\n }\n </hlm-input-group>\n </div>\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"flex items-start gap-1.5 text-xs text-destructive\">\n <ng-icon name=\"lucideCircleAlert\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ feedback.errorMessage() }}\n </hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description class=\"flex items-start gap-1.5 text-xs\">\n <ng-icon name=\"lucideInfo\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ helper }}\n </hlm-field-description>\n }\n</hlm-field>\n"
6593
6676
  }]
6594
6677
  }],
6595
6678
  propDecorators: {
@@ -6736,8 +6819,10 @@ var YuwPasswordInputComponent = class YuwPasswordInputComponent extends YuwTextF
6736
6819
  },
6737
6820
  host: { classAttribute: "contents" },
6738
6821
  providers: [provideValueAccessor(YuwPasswordInputComponent), provideIcons({
6822
+ lucideCircleAlert,
6739
6823
  lucideEye,
6740
- lucideEyeOff
6824
+ lucideEyeOff,
6825
+ lucideInfo
6741
6826
  })],
6742
6827
  queries: [{
6743
6828
  propertyName: "_leftAddons",
@@ -6746,7 +6831,7 @@ var YuwPasswordInputComponent = class YuwPasswordInputComponent extends YuwTextF
6746
6831
  }],
6747
6832
  usesInheritance: true,
6748
6833
  ngImport: i0,
6749
- template: "<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [errorText]=\"errorText()\"\n>\n <hlm-input-group [class]=\"_classes()\">\n @if (_hasLeftAddon()) {\n <hlm-input-group-addon align=\"inline-start\">\n <ng-content select=\"yuw-left-addon\" />\n </hlm-input-group-addon>\n }\n\n <input\n hlmInputGroupInput\n [id]=\"_inputId()\"\n [type]=\"_reveal().inputType\"\n [value]=\"value()\"\n [disabled]=\"_disabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.name]=\"name()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.placeholder]=\"placeholder()\"\n (input)=\"onInput($event)\"\n (change)=\"onChange()\"\n (blur)=\"_onBlur()\"\n (keydown.enter)=\"onEnterPressed()\"\n />\n\n @if (revealAriaLabel(); as label) {\n <hlm-input-group-addon align=\"inline-end\">\n <button\n hlmInputGroupButton\n size=\"icon-xs\"\n [disabled]=\"_disabled()\"\n [attr.aria-label]=\"label\"\n [attr.aria-pressed]=\"!_reveal().struck\"\n (click)=\"onToggleReveal()\"\n >\n <ng-icon [name]=\"_reveal().icon\" />\n </button>\n </hlm-input-group-addon>\n }\n </hlm-input-group>\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"text-destructive\">{{ feedback.errorMessage() }}</hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description>{{ helper }}</hlm-field-description>\n }\n</hlm-field>\n",
6834
+ template: "<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [errorText]=\"errorText()\"\n>\n <hlm-input-group [class]=\"_classes()\">\n @if (_hasLeftAddon()) {\n <hlm-input-group-addon align=\"inline-start\">\n <ng-content select=\"yuw-left-addon\" />\n </hlm-input-group-addon>\n }\n\n <input\n hlmInputGroupInput\n [id]=\"_inputId()\"\n [type]=\"_reveal().inputType\"\n [value]=\"value()\"\n [disabled]=\"_disabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.name]=\"name()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.placeholder]=\"placeholder()\"\n (input)=\"onInput($event)\"\n (change)=\"onChange()\"\n (blur)=\"_onBlur()\"\n (keydown.enter)=\"onEnterPressed()\"\n />\n\n @if (revealAriaLabel(); as label) {\n <hlm-input-group-addon align=\"inline-end\">\n <button\n hlmInputGroupButton\n size=\"icon-xs\"\n [disabled]=\"_disabled()\"\n [attr.aria-label]=\"label\"\n [attr.aria-pressed]=\"!_reveal().struck\"\n (click)=\"onToggleReveal()\"\n >\n <ng-icon [name]=\"_reveal().icon\" />\n </button>\n </hlm-input-group-addon>\n }\n </hlm-input-group>\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"flex items-start gap-1.5 text-xs text-destructive\">\n <ng-icon name=\"lucideCircleAlert\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ feedback.errorMessage() }}\n </hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description class=\"flex items-start gap-1.5 text-xs\">\n <ng-icon name=\"lucideInfo\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ helper }}\n </hlm-field-description>\n }\n</hlm-field>\n",
6750
6835
  dependencies: [
6751
6836
  {
6752
6837
  kind: "directive",
@@ -6823,12 +6908,14 @@ i0.ɵɵngDeclareClassMetadata({
6823
6908
  NgIcon
6824
6909
  ],
6825
6910
  providers: [provideValueAccessor(YuwPasswordInputComponent), provideIcons({
6911
+ lucideCircleAlert,
6826
6912
  lucideEye,
6827
- lucideEyeOff
6913
+ lucideEyeOff,
6914
+ lucideInfo
6828
6915
  })],
6829
6916
  host: { class: "contents" },
6830
6917
  changeDetection: ChangeDetectionStrategy.OnPush,
6831
- template: "<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [errorText]=\"errorText()\"\n>\n <hlm-input-group [class]=\"_classes()\">\n @if (_hasLeftAddon()) {\n <hlm-input-group-addon align=\"inline-start\">\n <ng-content select=\"yuw-left-addon\" />\n </hlm-input-group-addon>\n }\n\n <input\n hlmInputGroupInput\n [id]=\"_inputId()\"\n [type]=\"_reveal().inputType\"\n [value]=\"value()\"\n [disabled]=\"_disabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.name]=\"name()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.placeholder]=\"placeholder()\"\n (input)=\"onInput($event)\"\n (change)=\"onChange()\"\n (blur)=\"_onBlur()\"\n (keydown.enter)=\"onEnterPressed()\"\n />\n\n @if (revealAriaLabel(); as label) {\n <hlm-input-group-addon align=\"inline-end\">\n <button\n hlmInputGroupButton\n size=\"icon-xs\"\n [disabled]=\"_disabled()\"\n [attr.aria-label]=\"label\"\n [attr.aria-pressed]=\"!_reveal().struck\"\n (click)=\"onToggleReveal()\"\n >\n <ng-icon [name]=\"_reveal().icon\" />\n </button>\n </hlm-input-group-addon>\n }\n </hlm-input-group>\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"text-destructive\">{{ feedback.errorMessage() }}</hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description>{{ helper }}</hlm-field-description>\n }\n</hlm-field>\n"
6918
+ template: "<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [errorText]=\"errorText()\"\n>\n <hlm-input-group [class]=\"_classes()\">\n @if (_hasLeftAddon()) {\n <hlm-input-group-addon align=\"inline-start\">\n <ng-content select=\"yuw-left-addon\" />\n </hlm-input-group-addon>\n }\n\n <input\n hlmInputGroupInput\n [id]=\"_inputId()\"\n [type]=\"_reveal().inputType\"\n [value]=\"value()\"\n [disabled]=\"_disabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n [attr.name]=\"name()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.placeholder]=\"placeholder()\"\n (input)=\"onInput($event)\"\n (change)=\"onChange()\"\n (blur)=\"_onBlur()\"\n (keydown.enter)=\"onEnterPressed()\"\n />\n\n @if (revealAriaLabel(); as label) {\n <hlm-input-group-addon align=\"inline-end\">\n <button\n hlmInputGroupButton\n size=\"icon-xs\"\n [disabled]=\"_disabled()\"\n [attr.aria-label]=\"label\"\n [attr.aria-pressed]=\"!_reveal().struck\"\n (click)=\"onToggleReveal()\"\n >\n <ng-icon [name]=\"_reveal().icon\" />\n </button>\n </hlm-input-group-addon>\n }\n </hlm-input-group>\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"flex items-start gap-1.5 text-xs text-destructive\">\n <ng-icon name=\"lucideCircleAlert\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ feedback.errorMessage() }}\n </hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description class=\"flex items-start gap-1.5 text-xs\">\n <ng-icon name=\"lucideInfo\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ helper }}\n </hlm-field-description>\n }\n</hlm-field>\n"
6832
6919
  }]
6833
6920
  }],
6834
6921
  propDecorators: {
@@ -6977,11 +7064,26 @@ var YuwInputOtpComponent = class YuwInputOtpComponent extends YuwFieldBase {
6977
7064
  enterPressed: "enterPressed"
6978
7065
  },
6979
7066
  host: { classAttribute: "contents" },
6980
- providers: [provideValueAccessor(YuwInputOtpComponent)],
7067
+ providers: [provideIcons({
7068
+ lucideCircleAlert,
7069
+ lucideInfo
7070
+ }), provideValueAccessor(YuwInputOtpComponent)],
6981
7071
  usesInheritance: true,
6982
7072
  ngImport: i0,
6983
- template: "<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"w-fit min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [errorText]=\"errorText()\"\n>\n <brn-input-otp\n hlmInputOtp\n [class]=\"_classes()\"\n [inputId]=\"_inputId()\"\n [length]=\"_length()\"\n [value]=\"value()\"\n [inputMode]=\"mode()\"\n [disabled]=\"_disabled()\"\n [autofocus]=\"autofocus()\"\n [transformPaste]=\"transformPaste()\"\n inputAutocomplete=\"one-time-code\"\n (valueChange)=\"onValueChange($event)\"\n (focusout)=\"_onBlur()\"\n (completed)=\"completed.emit($event)\"\n (keydown.enter)=\"onEnterPressed()\"\n >\n @for (group of _groups(); track $index) {\n @if (group.precededBySeparator) {\n <hlm-input-otp-separator />\n }\n\n <hlm-input-otp-group>\n @for (index of group.indices; track index) {\n <hlm-input-otp-slot [index]=\"index\" [forceInvalid]=\"feedback.forcedInvalid()\" />\n }\n </hlm-input-otp-group>\n }\n </brn-input-otp>\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"text-destructive\">{{ feedback.errorMessage() }}</hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description>{{ helper }}</hlm-field-description>\n }\n</hlm-field>\n",
7073
+ template: "<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"w-fit min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [errorText]=\"errorText()\"\n>\n <brn-input-otp\n hlmInputOtp\n [class]=\"_classes()\"\n [inputId]=\"_inputId()\"\n [length]=\"_length()\"\n [value]=\"value()\"\n [inputMode]=\"mode()\"\n [disabled]=\"_disabled()\"\n [autofocus]=\"autofocus()\"\n [transformPaste]=\"transformPaste()\"\n inputAutocomplete=\"one-time-code\"\n (valueChange)=\"onValueChange($event)\"\n (focusout)=\"_onBlur()\"\n (completed)=\"completed.emit($event)\"\n (keydown.enter)=\"onEnterPressed()\"\n >\n @for (group of _groups(); track $index) {\n @if (group.precededBySeparator) {\n <hlm-input-otp-separator />\n }\n\n <hlm-input-otp-group>\n @for (index of group.indices; track index) {\n <hlm-input-otp-slot [index]=\"index\" [forceInvalid]=\"feedback.forcedInvalid()\" />\n }\n </hlm-input-otp-group>\n }\n </brn-input-otp>\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"flex items-start gap-1.5 text-xs text-destructive\">\n <ng-icon name=\"lucideCircleAlert\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ feedback.errorMessage() }}\n </hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description class=\"flex items-start gap-1.5 text-xs\">\n <ng-icon name=\"lucideInfo\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ helper }}\n </hlm-field-description>\n }\n</hlm-field>\n",
6984
7074
  dependencies: [
7075
+ {
7076
+ kind: "component",
7077
+ type: NgIcon,
7078
+ selector: "ng-icon",
7079
+ inputs: [
7080
+ "name",
7081
+ "svg",
7082
+ "size",
7083
+ "strokeWidth",
7084
+ "color"
7085
+ ]
7086
+ },
6985
7087
  {
6986
7088
  kind: "directive",
6987
7089
  type: HlmField,
@@ -7057,16 +7159,20 @@ i0.ɵɵngDeclareClassMetadata({
7057
7159
  args: [{
7058
7160
  selector: "yuw-input-otp",
7059
7161
  imports: [
7162
+ NgIcon,
7060
7163
  HlmField,
7061
7164
  HlmFieldDescription,
7062
7165
  YuwFieldFeedbackDirective,
7063
7166
  BrnInputOtp,
7064
7167
  ...HlmInputOtpImports
7065
7168
  ],
7066
- providers: [provideValueAccessor(YuwInputOtpComponent)],
7169
+ providers: [provideIcons({
7170
+ lucideCircleAlert,
7171
+ lucideInfo
7172
+ }), provideValueAccessor(YuwInputOtpComponent)],
7067
7173
  host: { class: "contents" },
7068
7174
  changeDetection: ChangeDetectionStrategy.OnPush,
7069
- template: "<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"w-fit min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [errorText]=\"errorText()\"\n>\n <brn-input-otp\n hlmInputOtp\n [class]=\"_classes()\"\n [inputId]=\"_inputId()\"\n [length]=\"_length()\"\n [value]=\"value()\"\n [inputMode]=\"mode()\"\n [disabled]=\"_disabled()\"\n [autofocus]=\"autofocus()\"\n [transformPaste]=\"transformPaste()\"\n inputAutocomplete=\"one-time-code\"\n (valueChange)=\"onValueChange($event)\"\n (focusout)=\"_onBlur()\"\n (completed)=\"completed.emit($event)\"\n (keydown.enter)=\"onEnterPressed()\"\n >\n @for (group of _groups(); track $index) {\n @if (group.precededBySeparator) {\n <hlm-input-otp-separator />\n }\n\n <hlm-input-otp-group>\n @for (index of group.indices; track index) {\n <hlm-input-otp-slot [index]=\"index\" [forceInvalid]=\"feedback.forcedInvalid()\" />\n }\n </hlm-input-otp-group>\n }\n </brn-input-otp>\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"text-destructive\">{{ feedback.errorMessage() }}</hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description>{{ helper }}</hlm-field-description>\n }\n</hlm-field>\n"
7175
+ template: "<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"w-fit min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [errorText]=\"errorText()\"\n>\n <brn-input-otp\n hlmInputOtp\n [class]=\"_classes()\"\n [inputId]=\"_inputId()\"\n [length]=\"_length()\"\n [value]=\"value()\"\n [inputMode]=\"mode()\"\n [disabled]=\"_disabled()\"\n [autofocus]=\"autofocus()\"\n [transformPaste]=\"transformPaste()\"\n inputAutocomplete=\"one-time-code\"\n (valueChange)=\"onValueChange($event)\"\n (focusout)=\"_onBlur()\"\n (completed)=\"completed.emit($event)\"\n (keydown.enter)=\"onEnterPressed()\"\n >\n @for (group of _groups(); track $index) {\n @if (group.precededBySeparator) {\n <hlm-input-otp-separator />\n }\n\n <hlm-input-otp-group>\n @for (index of group.indices; track index) {\n <hlm-input-otp-slot [index]=\"index\" [forceInvalid]=\"feedback.forcedInvalid()\" />\n }\n </hlm-input-otp-group>\n }\n </brn-input-otp>\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"flex items-start gap-1.5 text-xs text-destructive\">\n <ng-icon name=\"lucideCircleAlert\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ feedback.errorMessage() }}\n </hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description class=\"flex items-start gap-1.5 text-xs\">\n <ng-icon name=\"lucideInfo\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ helper }}\n </hlm-field-description>\n }\n</hlm-field>\n"
7070
7176
  }]
7071
7177
  }],
7072
7178
  propDecorators: {
@@ -8717,6 +8823,7 @@ var YuwContextMenuDirective = class YuwContextMenuDirective {
8717
8823
  type: YuwContextMenuDirective,
8718
8824
  isStandalone: true,
8719
8825
  selector: "[yuwContextMenu]",
8826
+ host: { classAttribute: "p-2" },
8720
8827
  hostDirectives: [{
8721
8828
  directive: i2.HlmDropdownMenu,
8722
8829
  inputs: ["sideOffset", "sideOffset"]
@@ -8737,15 +8844,12 @@ i0.ɵɵngDeclareClassMetadata({
8737
8844
  hostDirectives: [{
8738
8845
  directive: HlmDropdownMenu,
8739
8846
  inputs: ["sideOffset"]
8740
- }]
8847
+ }],
8848
+ host: { class: "p-2" }
8741
8849
  }]
8742
8850
  }]
8743
8851
  });
8744
8852
  var YuwContextMenuItemDirective = class YuwContextMenuItemDirective {
8745
- constructor() {
8746
- this._item = inject(CdkMenuItem, { host: true });
8747
- this.triggered = outputFromObservable(this._item.triggered);
8748
- }
8749
8853
  static {
8750
8854
  this.ɵfac = i0.ɵɵngDeclareFactory({
8751
8855
  minVersion: "12.0.0",
@@ -8763,7 +8867,7 @@ var YuwContextMenuItemDirective = class YuwContextMenuItemDirective {
8763
8867
  type: YuwContextMenuItemDirective,
8764
8868
  isStandalone: true,
8765
8869
  selector: "[yuwContextMenuItem]",
8766
- outputs: { triggered: "triggered" },
8870
+ host: { classAttribute: "gap-2.5 px-2 py-2" },
8767
8871
  hostDirectives: [{
8768
8872
  directive: i2.HlmDropdownMenuItem,
8769
8873
  inputs: [
@@ -8795,13 +8899,10 @@ i0.ɵɵngDeclareClassMetadata({
8795
8899
  "variant",
8796
8900
  "inset"
8797
8901
  ]
8798
- }]
8902
+ }],
8903
+ host: { class: YUW_MENU_ITEM_CLASS }
8799
8904
  }]
8800
- }],
8801
- propDecorators: { triggered: [{
8802
- type: i0.Output,
8803
- args: ["triggered"]
8804
- }] }
8905
+ }]
8805
8906
  });
8806
8907
  var YuwContextMenuCheckboxDirective = class YuwContextMenuCheckboxDirective {
8807
8908
  constructor() {
@@ -8814,7 +8915,6 @@ var YuwContextMenuCheckboxDirective = class YuwContextMenuCheckboxDirective {
8814
8915
  ...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
8815
8916
  transform: booleanAttribute
8816
8917
  });
8817
- this.triggered = outputFromObservable(this._item.triggered);
8818
8918
  effect(() => {
8819
8919
  this._item.checked = this.checked();
8820
8920
  this._item.disabled = this.disabled();
@@ -8853,7 +8953,7 @@ var YuwContextMenuCheckboxDirective = class YuwContextMenuCheckboxDirective {
8853
8953
  transformFunction: null
8854
8954
  }
8855
8955
  },
8856
- outputs: { triggered: "triggered" },
8956
+ host: { classAttribute: "gap-2.5 py-2 ps-2" },
8857
8957
  hostDirectives: [{
8858
8958
  directive: i2.HlmDropdownMenuCheckbox,
8859
8959
  inputs: ["inset", "inset"]
@@ -8874,7 +8974,8 @@ i0.ɵɵngDeclareClassMetadata({
8874
8974
  hostDirectives: [{
8875
8975
  directive: HlmDropdownMenuCheckbox,
8876
8976
  inputs: ["inset"]
8877
- }]
8977
+ }],
8978
+ host: { class: YUW_MENU_INDICATOR_ITEM_CLASS }
8878
8979
  }]
8879
8980
  }],
8880
8981
  ctorParameters: () => [],
@@ -8894,10 +8995,6 @@ i0.ɵɵngDeclareClassMetadata({
8894
8995
  alias: "disabled",
8895
8996
  required: false
8896
8997
  }]
8897
- }],
8898
- triggered: [{
8899
- type: i0.Output,
8900
- args: ["triggered"]
8901
8998
  }]
8902
8999
  }
8903
9000
  });
@@ -8912,7 +9009,6 @@ var YuwContextMenuRadioDirective = class YuwContextMenuRadioDirective {
8912
9009
  ...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
8913
9010
  transform: booleanAttribute
8914
9011
  });
8915
- this.triggered = outputFromObservable(this._item.triggered);
8916
9012
  effect(() => {
8917
9013
  this._item.checked = this.checked();
8918
9014
  this._item.disabled = this.disabled();
@@ -8951,7 +9047,7 @@ var YuwContextMenuRadioDirective = class YuwContextMenuRadioDirective {
8951
9047
  transformFunction: null
8952
9048
  }
8953
9049
  },
8954
- outputs: { triggered: "triggered" },
9050
+ host: { classAttribute: "gap-2.5 py-2 ps-2" },
8955
9051
  hostDirectives: [{ directive: i2.HlmDropdownMenuRadio }],
8956
9052
  ngImport: i0
8957
9053
  });
@@ -8966,7 +9062,8 @@ i0.ɵɵngDeclareClassMetadata({
8966
9062
  type: Directive,
8967
9063
  args: [{
8968
9064
  selector: "[yuwContextMenuRadio]",
8969
- hostDirectives: [HlmDropdownMenuRadio]
9065
+ hostDirectives: [HlmDropdownMenuRadio],
9066
+ host: { class: YUW_MENU_INDICATOR_ITEM_CLASS }
8970
9067
  }]
8971
9068
  }],
8972
9069
  ctorParameters: () => [],
@@ -8986,10 +9083,6 @@ i0.ɵɵngDeclareClassMetadata({
8986
9083
  alias: "disabled",
8987
9084
  required: false
8988
9085
  }]
8989
- }],
8990
- triggered: [{
8991
- type: i0.Output,
8992
- args: ["triggered"]
8993
9086
  }]
8994
9087
  }
8995
9088
  });
@@ -9011,6 +9104,7 @@ var YuwContextMenuLabelDirective = class YuwContextMenuLabelDirective {
9011
9104
  type: YuwContextMenuLabelDirective,
9012
9105
  isStandalone: true,
9013
9106
  selector: "[yuwContextMenuLabel]",
9107
+ host: { classAttribute: "block px-2 pt-1 pb-2 text-sm font-normal text-muted-foreground" },
9014
9108
  hostDirectives: [{
9015
9109
  directive: i2.HlmDropdownMenuLabel,
9016
9110
  inputs: ["inset", "inset"]
@@ -9031,7 +9125,8 @@ i0.ɵɵngDeclareClassMetadata({
9031
9125
  hostDirectives: [{
9032
9126
  directive: HlmDropdownMenuLabel,
9033
9127
  inputs: ["inset"]
9034
- }]
9128
+ }],
9129
+ host: { class: YUW_MENU_LABEL_CLASS }
9035
9130
  }]
9036
9131
  }]
9037
9132
  });
@@ -9089,6 +9184,7 @@ var YuwContextMenuSeparatorDirective = class YuwContextMenuSeparatorDirective {
9089
9184
  type: YuwContextMenuSeparatorDirective,
9090
9185
  isStandalone: true,
9091
9186
  selector: "[yuwContextMenuSeparator]",
9187
+ host: { classAttribute: "-mx-2 my-1.5" },
9092
9188
  hostDirectives: [{ directive: i2.HlmDropdownMenuSeparator }],
9093
9189
  ngImport: i0
9094
9190
  });
@@ -9103,7 +9199,8 @@ i0.ɵɵngDeclareClassMetadata({
9103
9199
  type: Directive,
9104
9200
  args: [{
9105
9201
  selector: "[yuwContextMenuSeparator]",
9106
- hostDirectives: [HlmDropdownMenuSeparator]
9202
+ hostDirectives: [HlmDropdownMenuSeparator],
9203
+ host: { class: YUW_MENU_SEPARATOR_CLASS }
9107
9204
  }]
9108
9205
  }]
9109
9206
  });
@@ -10316,7 +10413,10 @@ var YuwDatepickerComponent = class YuwDatepickerComponent extends YuwValueAccess
10316
10413
  value: "valueChange"
10317
10414
  },
10318
10415
  host: { classAttribute: "contents" },
10319
- providers: [provideValueAccessor(YuwDatepickerComponent)],
10416
+ providers: [provideIcons({
10417
+ lucideCircleAlert,
10418
+ lucideInfo
10419
+ }), provideValueAccessor(YuwDatepickerComponent)],
10320
10420
  queries: [{
10321
10421
  propertyName: "triggerTemplate",
10322
10422
  first: true,
@@ -10326,8 +10426,20 @@ var YuwDatepickerComponent = class YuwDatepickerComponent extends YuwValueAccess
10326
10426
  }],
10327
10427
  usesInheritance: true,
10328
10428
  ngImport: i0,
10329
- template: "<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"w-auto min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [attr.data-yuw-required]=\"required() ? '' : null\"\n>\n @switch (mode()) {\n @case ('multiple') {\n <hlm-date-picker-multi\n [date]=\"_multipleValue()\"\n [disabled]=\"_disabled()\"\n [minDate]=\"minDate()\"\n [maxDate]=\"maxDate()\"\n [captionLayout]=\"captionLayout()\"\n [align]=\"align()\"\n [formatDates]=\"_formatMulti()\"\n (dateChange)=\"onValueChange($event)\"\n (focusout)=\"_onBlur()\"\n >\n <hlm-date-picker-trigger\n [buttonId]=\"_buttonId()\"\n [class]=\"_triggerClass()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n >\n {{ placeholder() ?? '' }}\n </hlm-date-picker-trigger>\n </hlm-date-picker-multi>\n }\n @case ('monthYear') {\n <hlm-month-year-picker\n [date]=\"_singleValue()\"\n [disabled]=\"_disabled()\"\n [minDate]=\"minDate()\"\n [maxDate]=\"maxDate()\"\n [align]=\"align()\"\n [formatDate]=\"_formatMonthYear()\"\n (dateChange)=\"onValueChange($event)\"\n (focusout)=\"_onBlur()\"\n >\n <hlm-date-picker-trigger\n [buttonId]=\"_buttonId()\"\n [class]=\"_triggerClass()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n >\n {{ placeholder() ?? '' }}\n </hlm-date-picker-trigger>\n </hlm-month-year-picker>\n }\n @default {\n <yuw-calendar-picker\n #picker\n [mode]=\"_calendarMode()\"\n [value]=\"_calendarValue()\"\n [label]=\"_label()\"\n [presets]=\"presets()\"\n [presetId]=\"presetId()\"\n [presetsLabel]=\"presetsLabel()\"\n [disabled]=\"_disabled()\"\n [minDate]=\"minDate()\"\n [maxDate]=\"maxDate()\"\n [align]=\"align()\"\n (picked)=\"onPicked($event)\"\n (focusout)=\"_onBlur()\"\n >\n @if (triggerTemplate(); as trigger) {\n <yuw-button\n [id]=\"_buttonId()\"\n [yuwPopoverTriggerFor]=\"picker.popover()\"\n [color]=\"triggerColor()\"\n [variant]=\"triggerVariant()\"\n [class]=\"userClass()\"\n [disabled]=\"_disabled()\"\n >\n <ng-container [ngTemplateOutlet]=\"trigger.templateRef\" [ngTemplateOutletContext]=\"_triggerContext()\" />\n </yuw-button>\n } @else {\n <hlm-date-picker-trigger\n [buttonId]=\"_buttonId()\"\n [class]=\"_triggerClass()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n >\n {{ placeholder() ?? '' }}\n </hlm-date-picker-trigger>\n }\n </yuw-calendar-picker>\n }\n }\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"text-destructive\">{{ feedback.errorMessage() }}</hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description>{{ helper }}</hlm-field-description>\n }\n</hlm-field>\n",
10429
+ template: "<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"w-auto min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [attr.data-yuw-required]=\"required() ? '' : null\"\n>\n @switch (mode()) {\n @case ('multiple') {\n <hlm-date-picker-multi\n [date]=\"_multipleValue()\"\n [disabled]=\"_disabled()\"\n [minDate]=\"minDate()\"\n [maxDate]=\"maxDate()\"\n [captionLayout]=\"captionLayout()\"\n [align]=\"align()\"\n [formatDates]=\"_formatMulti()\"\n (dateChange)=\"onValueChange($event)\"\n (focusout)=\"_onBlur()\"\n >\n <hlm-date-picker-trigger\n [buttonId]=\"_buttonId()\"\n [class]=\"_triggerClass()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n >\n {{ placeholder() ?? '' }}\n </hlm-date-picker-trigger>\n </hlm-date-picker-multi>\n }\n @case ('monthYear') {\n <hlm-month-year-picker\n [date]=\"_singleValue()\"\n [disabled]=\"_disabled()\"\n [minDate]=\"minDate()\"\n [maxDate]=\"maxDate()\"\n [align]=\"align()\"\n [formatDate]=\"_formatMonthYear()\"\n (dateChange)=\"onValueChange($event)\"\n (focusout)=\"_onBlur()\"\n >\n <hlm-date-picker-trigger\n [buttonId]=\"_buttonId()\"\n [class]=\"_triggerClass()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n >\n {{ placeholder() ?? '' }}\n </hlm-date-picker-trigger>\n </hlm-month-year-picker>\n }\n @default {\n <yuw-calendar-picker\n #picker\n [mode]=\"_calendarMode()\"\n [value]=\"_calendarValue()\"\n [label]=\"_label()\"\n [presets]=\"presets()\"\n [presetId]=\"presetId()\"\n [presetsLabel]=\"presetsLabel()\"\n [disabled]=\"_disabled()\"\n [minDate]=\"minDate()\"\n [maxDate]=\"maxDate()\"\n [align]=\"align()\"\n (picked)=\"onPicked($event)\"\n (focusout)=\"_onBlur()\"\n >\n @if (triggerTemplate(); as trigger) {\n <yuw-button\n [id]=\"_buttonId()\"\n [yuwPopoverTriggerFor]=\"picker.popover()\"\n [color]=\"triggerColor()\"\n [variant]=\"triggerVariant()\"\n [class]=\"userClass()\"\n [disabled]=\"_disabled()\"\n >\n <ng-container [ngTemplateOutlet]=\"trigger.templateRef\" [ngTemplateOutletContext]=\"_triggerContext()\" />\n </yuw-button>\n } @else {\n <hlm-date-picker-trigger\n [buttonId]=\"_buttonId()\"\n [class]=\"_triggerClass()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n >\n {{ placeholder() ?? '' }}\n </hlm-date-picker-trigger>\n }\n </yuw-calendar-picker>\n }\n }\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"flex items-start gap-1.5 text-xs text-destructive\">\n <ng-icon name=\"lucideCircleAlert\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ feedback.errorMessage() }}\n </hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description class=\"flex items-start gap-1.5 text-xs\">\n <ng-icon name=\"lucideInfo\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ helper }}\n </hlm-field-description>\n }\n</hlm-field>\n",
10330
10430
  dependencies: [
10431
+ {
10432
+ kind: "component",
10433
+ type: NgIcon,
10434
+ selector: "ng-icon",
10435
+ inputs: [
10436
+ "name",
10437
+ "svg",
10438
+ "size",
10439
+ "strokeWidth",
10440
+ "color"
10441
+ ]
10442
+ },
10331
10443
  {
10332
10444
  kind: "component",
10333
10445
  type: i1$12.HlmDatePickerMulti,
@@ -10464,6 +10576,7 @@ i0.ɵɵngDeclareClassMetadata({
10464
10576
  args: [{
10465
10577
  selector: "yuw-datepicker",
10466
10578
  imports: [
10579
+ NgIcon,
10467
10580
  ...HlmDatePickerImports,
10468
10581
  HlmField,
10469
10582
  HlmFieldDescription,
@@ -10473,10 +10586,13 @@ i0.ɵɵngDeclareClassMetadata({
10473
10586
  YuwFieldFeedbackDirective,
10474
10587
  YuwPopoverTriggerDirective
10475
10588
  ],
10476
- providers: [provideValueAccessor(YuwDatepickerComponent)],
10589
+ providers: [provideIcons({
10590
+ lucideCircleAlert,
10591
+ lucideInfo
10592
+ }), provideValueAccessor(YuwDatepickerComponent)],
10477
10593
  host: { class: "contents" },
10478
10594
  changeDetection: ChangeDetectionStrategy.OnPush,
10479
- template: "<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"w-auto min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [attr.data-yuw-required]=\"required() ? '' : null\"\n>\n @switch (mode()) {\n @case ('multiple') {\n <hlm-date-picker-multi\n [date]=\"_multipleValue()\"\n [disabled]=\"_disabled()\"\n [minDate]=\"minDate()\"\n [maxDate]=\"maxDate()\"\n [captionLayout]=\"captionLayout()\"\n [align]=\"align()\"\n [formatDates]=\"_formatMulti()\"\n (dateChange)=\"onValueChange($event)\"\n (focusout)=\"_onBlur()\"\n >\n <hlm-date-picker-trigger\n [buttonId]=\"_buttonId()\"\n [class]=\"_triggerClass()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n >\n {{ placeholder() ?? '' }}\n </hlm-date-picker-trigger>\n </hlm-date-picker-multi>\n }\n @case ('monthYear') {\n <hlm-month-year-picker\n [date]=\"_singleValue()\"\n [disabled]=\"_disabled()\"\n [minDate]=\"minDate()\"\n [maxDate]=\"maxDate()\"\n [align]=\"align()\"\n [formatDate]=\"_formatMonthYear()\"\n (dateChange)=\"onValueChange($event)\"\n (focusout)=\"_onBlur()\"\n >\n <hlm-date-picker-trigger\n [buttonId]=\"_buttonId()\"\n [class]=\"_triggerClass()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n >\n {{ placeholder() ?? '' }}\n </hlm-date-picker-trigger>\n </hlm-month-year-picker>\n }\n @default {\n <yuw-calendar-picker\n #picker\n [mode]=\"_calendarMode()\"\n [value]=\"_calendarValue()\"\n [label]=\"_label()\"\n [presets]=\"presets()\"\n [presetId]=\"presetId()\"\n [presetsLabel]=\"presetsLabel()\"\n [disabled]=\"_disabled()\"\n [minDate]=\"minDate()\"\n [maxDate]=\"maxDate()\"\n [align]=\"align()\"\n (picked)=\"onPicked($event)\"\n (focusout)=\"_onBlur()\"\n >\n @if (triggerTemplate(); as trigger) {\n <yuw-button\n [id]=\"_buttonId()\"\n [yuwPopoverTriggerFor]=\"picker.popover()\"\n [color]=\"triggerColor()\"\n [variant]=\"triggerVariant()\"\n [class]=\"userClass()\"\n [disabled]=\"_disabled()\"\n >\n <ng-container [ngTemplateOutlet]=\"trigger.templateRef\" [ngTemplateOutletContext]=\"_triggerContext()\" />\n </yuw-button>\n } @else {\n <hlm-date-picker-trigger\n [buttonId]=\"_buttonId()\"\n [class]=\"_triggerClass()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n >\n {{ placeholder() ?? '' }}\n </hlm-date-picker-trigger>\n }\n </yuw-calendar-picker>\n }\n }\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"text-destructive\">{{ feedback.errorMessage() }}</hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description>{{ helper }}</hlm-field-description>\n }\n</hlm-field>\n"
10595
+ template: "<hlm-field\n yuwFieldFeedback\n #feedback=\"yuwFieldFeedback\"\n class=\"w-auto min-w-0 data-[matches-spartan-invalid=true]:text-inherit\"\n [invalid]=\"invalid()\"\n [attr.data-yuw-required]=\"required() ? '' : null\"\n>\n @switch (mode()) {\n @case ('multiple') {\n <hlm-date-picker-multi\n [date]=\"_multipleValue()\"\n [disabled]=\"_disabled()\"\n [minDate]=\"minDate()\"\n [maxDate]=\"maxDate()\"\n [captionLayout]=\"captionLayout()\"\n [align]=\"align()\"\n [formatDates]=\"_formatMulti()\"\n (dateChange)=\"onValueChange($event)\"\n (focusout)=\"_onBlur()\"\n >\n <hlm-date-picker-trigger\n [buttonId]=\"_buttonId()\"\n [class]=\"_triggerClass()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n >\n {{ placeholder() ?? '' }}\n </hlm-date-picker-trigger>\n </hlm-date-picker-multi>\n }\n @case ('monthYear') {\n <hlm-month-year-picker\n [date]=\"_singleValue()\"\n [disabled]=\"_disabled()\"\n [minDate]=\"minDate()\"\n [maxDate]=\"maxDate()\"\n [align]=\"align()\"\n [formatDate]=\"_formatMonthYear()\"\n (dateChange)=\"onValueChange($event)\"\n (focusout)=\"_onBlur()\"\n >\n <hlm-date-picker-trigger\n [buttonId]=\"_buttonId()\"\n [class]=\"_triggerClass()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n >\n {{ placeholder() ?? '' }}\n </hlm-date-picker-trigger>\n </hlm-month-year-picker>\n }\n @default {\n <yuw-calendar-picker\n #picker\n [mode]=\"_calendarMode()\"\n [value]=\"_calendarValue()\"\n [label]=\"_label()\"\n [presets]=\"presets()\"\n [presetId]=\"presetId()\"\n [presetsLabel]=\"presetsLabel()\"\n [disabled]=\"_disabled()\"\n [minDate]=\"minDate()\"\n [maxDate]=\"maxDate()\"\n [align]=\"align()\"\n (picked)=\"onPicked($event)\"\n (focusout)=\"_onBlur()\"\n >\n @if (triggerTemplate(); as trigger) {\n <yuw-button\n [id]=\"_buttonId()\"\n [yuwPopoverTriggerFor]=\"picker.popover()\"\n [color]=\"triggerColor()\"\n [variant]=\"triggerVariant()\"\n [class]=\"userClass()\"\n [disabled]=\"_disabled()\"\n >\n <ng-container [ngTemplateOutlet]=\"trigger.templateRef\" [ngTemplateOutletContext]=\"_triggerContext()\" />\n </yuw-button>\n } @else {\n <hlm-date-picker-trigger\n [buttonId]=\"_buttonId()\"\n [class]=\"_triggerClass()\"\n [forceInvalid]=\"feedback.forcedInvalid()\"\n >\n {{ placeholder() ?? '' }}\n </hlm-date-picker-trigger>\n }\n </yuw-calendar-picker>\n }\n }\n\n @if (feedback.showError()) {\n <hlm-field-description role=\"alert\" class=\"flex items-start gap-1.5 text-xs text-destructive\">\n <ng-icon name=\"lucideCircleAlert\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ feedback.errorMessage() }}\n </hlm-field-description>\n } @else if (helperText(); as helper) {\n <hlm-field-description class=\"flex items-start gap-1.5 text-xs\">\n <ng-icon name=\"lucideInfo\" size=\"14\" class=\"mt-0.5 shrink-0\" aria-hidden=\"true\" />\n {{ helper }}\n </hlm-field-description>\n }\n</hlm-field>\n"
10480
10596
  }]
10481
10597
  }],
10482
10598
  propDecorators: {
@@ -17923,7 +18039,7 @@ var YuwCommandComponent = class YuwCommandComponent {
17923
18039
  classAttribute: "contents"
17924
18040
  },
17925
18041
  ngImport: i0,
17926
- template: "<div hlmCommand [class]=\"userClass()\" [disabled]=\"disabled()\" [filter]=\"filter()\" [(search)]=\"search\">\n <hlm-command-input [placeholder]=\"searchPlaceholder() ?? ''\" />\n\n <div hlmCommandList>\n @for (group of _groups(); track group.id; let first = $first) {\n @if (!first) {\n <div hlmCommandSeparator></div>\n }\n\n <div hlmCommandGroup>\n @if (group.label; as label) {\n <span hlmCommandGroupLabel>{{ label }}</span>\n }\n\n @for (entry of group.items; track entry.item.id) {\n <button\n hlmCommandItem\n [value]=\"entry.searchValue\"\n [disabled]=\"entry.item.disabled ?? false\"\n (selected)=\"onSelected(entry.item)\"\n >\n @if (entry.item.icon; as icon) {\n <ng-icon [name]=\"icon\" aria-hidden=\"true\" />\n }\n {{ entry.item.label }}\n @if (entry.item.shortcut; as shortcut) {\n <span hlmCommandShortcut>{{ shortcut }}</span>\n }\n </button>\n }\n </div>\n }\n\n <div hlmCommandEmpty *hlmCommandEmptyState>{{ emptyText() ?? '' }}</div>\n </div>\n</div>\n",
18042
+ template: "<div hlmCommand class=\"p-0\" [class]=\"userClass()\" [disabled]=\"disabled()\" [filter]=\"filter()\" [(search)]=\"search\">\n <hlm-command-input class=\"p-2 pb-0\" [placeholder]=\"searchPlaceholder() ?? ''\" />\n\n <div hlmCommandList class=\"p-2\">\n @for (group of _groups(); track group.id; let first = $first) {\n @if (!first) {\n <div hlmCommandSeparator class=\"-mx-2 my-1.5\"></div>\n }\n\n <div\n hlmCommandGroup\n class=\"p-0 **:data-[slot=command-group-label]:py-0 **:data-[slot=command-group-label]:pt-1 **:data-[slot=command-group-label]:pb-2 **:data-[slot=command-group-label]:text-sm **:data-[slot=command-group-label]:font-normal\"\n >\n @if (group.label; as label) {\n <span hlmCommandGroupLabel>{{ label }}</span>\n }\n\n @for (entry of group.items; track entry.item.id) {\n <button\n hlmCommandItem\n class=\"gap-2.5 px-2 py-2\"\n [value]=\"entry.searchValue\"\n [disabled]=\"entry.item.disabled ?? false\"\n (selected)=\"onSelected(entry.item)\"\n >\n @if (entry.item.icon; as icon) {\n <ng-icon [name]=\"icon\" aria-hidden=\"true\" />\n }\n {{ entry.item.label }}\n @if (entry.item.shortcut; as shortcut) {\n <span hlmCommandShortcut>{{ shortcut }}</span>\n }\n </button>\n }\n </div>\n }\n\n <div hlmCommandEmpty *hlmCommandEmptyState>{{ emptyText() ?? '' }}</div>\n </div>\n</div>\n",
17927
18043
  dependencies: [
17928
18044
  {
17929
18045
  kind: "directive",
@@ -18008,7 +18124,7 @@ i0.ɵɵngDeclareClassMetadata({
18008
18124
  "[attr.data-yuw-color]": "color()"
18009
18125
  },
18010
18126
  changeDetection: ChangeDetectionStrategy.OnPush,
18011
- template: "<div hlmCommand [class]=\"userClass()\" [disabled]=\"disabled()\" [filter]=\"filter()\" [(search)]=\"search\">\n <hlm-command-input [placeholder]=\"searchPlaceholder() ?? ''\" />\n\n <div hlmCommandList>\n @for (group of _groups(); track group.id; let first = $first) {\n @if (!first) {\n <div hlmCommandSeparator></div>\n }\n\n <div hlmCommandGroup>\n @if (group.label; as label) {\n <span hlmCommandGroupLabel>{{ label }}</span>\n }\n\n @for (entry of group.items; track entry.item.id) {\n <button\n hlmCommandItem\n [value]=\"entry.searchValue\"\n [disabled]=\"entry.item.disabled ?? false\"\n (selected)=\"onSelected(entry.item)\"\n >\n @if (entry.item.icon; as icon) {\n <ng-icon [name]=\"icon\" aria-hidden=\"true\" />\n }\n {{ entry.item.label }}\n @if (entry.item.shortcut; as shortcut) {\n <span hlmCommandShortcut>{{ shortcut }}</span>\n }\n </button>\n }\n </div>\n }\n\n <div hlmCommandEmpty *hlmCommandEmptyState>{{ emptyText() ?? '' }}</div>\n </div>\n</div>\n"
18127
+ template: "<div hlmCommand class=\"p-0\" [class]=\"userClass()\" [disabled]=\"disabled()\" [filter]=\"filter()\" [(search)]=\"search\">\n <hlm-command-input class=\"p-2 pb-0\" [placeholder]=\"searchPlaceholder() ?? ''\" />\n\n <div hlmCommandList class=\"p-2\">\n @for (group of _groups(); track group.id; let first = $first) {\n @if (!first) {\n <div hlmCommandSeparator class=\"-mx-2 my-1.5\"></div>\n }\n\n <div\n hlmCommandGroup\n class=\"p-0 **:data-[slot=command-group-label]:py-0 **:data-[slot=command-group-label]:pt-1 **:data-[slot=command-group-label]:pb-2 **:data-[slot=command-group-label]:text-sm **:data-[slot=command-group-label]:font-normal\"\n >\n @if (group.label; as label) {\n <span hlmCommandGroupLabel>{{ label }}</span>\n }\n\n @for (entry of group.items; track entry.item.id) {\n <button\n hlmCommandItem\n class=\"gap-2.5 px-2 py-2\"\n [value]=\"entry.searchValue\"\n [disabled]=\"entry.item.disabled ?? false\"\n (selected)=\"onSelected(entry.item)\"\n >\n @if (entry.item.icon; as icon) {\n <ng-icon [name]=\"icon\" aria-hidden=\"true\" />\n }\n {{ entry.item.label }}\n @if (entry.item.shortcut; as shortcut) {\n <span hlmCommandShortcut>{{ shortcut }}</span>\n }\n </button>\n }\n </div>\n }\n\n <div hlmCommandEmpty *hlmCommandEmptyState>{{ emptyText() ?? '' }}</div>\n </div>\n</div>\n"
18012
18128
  }]
18013
18129
  }],
18014
18130
  propDecorators: {
@@ -19348,7 +19464,7 @@ var YuwsMenuActionsCellComponent = class YuwsMenuActionsCellComponent {
19348
19464
  },
19349
19465
  providers: [provideIcons({ lucideEllipsis })],
19350
19466
  ngImport: i0,
19351
- template: "<yuw-button\n variant=\"ghost\"\n size=\"icon\"\n yuwDropdownMenuAlign=\"end\"\n [ariaLabel]=\"label()\"\n [yuwDropdownMenuTrigger]=\"menu\"\n>\n <ng-icon name=\"lucideEllipsis\" size=\"16\" />\n</yuw-button>\n\n<ng-template #entry let-action>\n @if (action.icon; as icon) {\n <ng-icon [name]=\"icon\" />\n }\n\n {{ action.label }}\n</ng-template>\n\n<ng-template #menu>\n <div yuwContextMenu class=\"min-w-44 p-2\">\n @for (action of actions(); track action.key) {\n @if (action.separated) {\n <div yuwContextMenuSeparator class=\"-mx-2 my-1.5\"></div>\n }\n @if (action.href; as href) {\n <a yuwContextMenuItem class=\"gap-2.5 px-2 py-2\" target=\"_blank\" rel=\"noopener\" [href]=\"href\">\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: action }\" />\n </a>\n } @else {\n <button\n yuwContextMenuItem\n class=\"gap-2.5 px-2 py-2\"\n [variant]=\"action.destructive ? 'destructive' : 'default'\"\n (triggered)=\"onRun(action)\"\n >\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: action }\" />\n </button>\n }\n }\n </div>\n</ng-template>\n",
19467
+ template: "<yuw-button\n variant=\"ghost\"\n size=\"icon\"\n yuwDropdownMenuAlign=\"end\"\n [ariaLabel]=\"label()\"\n [yuwDropdownMenuTrigger]=\"menu\"\n>\n <ng-icon name=\"lucideEllipsis\" size=\"16\" />\n</yuw-button>\n\n<ng-template #entry let-action>\n @if (action.icon; as icon) {\n <ng-icon [name]=\"icon\" />\n }\n\n {{ action.label }}\n</ng-template>\n\n<ng-template #menu>\n <div yuwContextMenu class=\"min-w-44\">\n @for (action of actions(); track action.key) {\n @if (action.separated) {\n <div yuwContextMenuSeparator></div>\n }\n @if (action.href; as href) {\n <a yuwContextMenuItem target=\"_blank\" rel=\"noopener\" [href]=\"href\">\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: action }\" />\n </a>\n } @else {\n <button\n yuwContextMenuItem\n [variant]=\"action.destructive ? 'destructive' : 'default'\"\n (triggered)=\"onRun(action)\"\n >\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: action }\" />\n </button>\n }\n }\n </div>\n</ng-template>\n",
19352
19468
  dependencies: [
19353
19469
  {
19354
19470
  kind: "directive",
@@ -19358,8 +19474,7 @@ var YuwsMenuActionsCellComponent = class YuwsMenuActionsCellComponent {
19358
19474
  {
19359
19475
  kind: "directive",
19360
19476
  type: YuwContextMenuItemDirective,
19361
- selector: "[yuwContextMenuItem]",
19362
- outputs: ["triggered"]
19477
+ selector: "[yuwContextMenuItem]"
19363
19478
  },
19364
19479
  {
19365
19480
  kind: "directive",
@@ -19436,7 +19551,7 @@ i0.ɵɵngDeclareClassMetadata({
19436
19551
  "(click)": "$event.stopPropagation()",
19437
19552
  "(keydown)": "$event.stopPropagation()"
19438
19553
  },
19439
- template: "<yuw-button\n variant=\"ghost\"\n size=\"icon\"\n yuwDropdownMenuAlign=\"end\"\n [ariaLabel]=\"label()\"\n [yuwDropdownMenuTrigger]=\"menu\"\n>\n <ng-icon name=\"lucideEllipsis\" size=\"16\" />\n</yuw-button>\n\n<ng-template #entry let-action>\n @if (action.icon; as icon) {\n <ng-icon [name]=\"icon\" />\n }\n\n {{ action.label }}\n</ng-template>\n\n<ng-template #menu>\n <div yuwContextMenu class=\"min-w-44 p-2\">\n @for (action of actions(); track action.key) {\n @if (action.separated) {\n <div yuwContextMenuSeparator class=\"-mx-2 my-1.5\"></div>\n }\n @if (action.href; as href) {\n <a yuwContextMenuItem class=\"gap-2.5 px-2 py-2\" target=\"_blank\" rel=\"noopener\" [href]=\"href\">\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: action }\" />\n </a>\n } @else {\n <button\n yuwContextMenuItem\n class=\"gap-2.5 px-2 py-2\"\n [variant]=\"action.destructive ? 'destructive' : 'default'\"\n (triggered)=\"onRun(action)\"\n >\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: action }\" />\n </button>\n }\n }\n </div>\n</ng-template>\n"
19554
+ template: "<yuw-button\n variant=\"ghost\"\n size=\"icon\"\n yuwDropdownMenuAlign=\"end\"\n [ariaLabel]=\"label()\"\n [yuwDropdownMenuTrigger]=\"menu\"\n>\n <ng-icon name=\"lucideEllipsis\" size=\"16\" />\n</yuw-button>\n\n<ng-template #entry let-action>\n @if (action.icon; as icon) {\n <ng-icon [name]=\"icon\" />\n }\n\n {{ action.label }}\n</ng-template>\n\n<ng-template #menu>\n <div yuwContextMenu class=\"min-w-44\">\n @for (action of actions(); track action.key) {\n @if (action.separated) {\n <div yuwContextMenuSeparator></div>\n }\n @if (action.href; as href) {\n <a yuwContextMenuItem target=\"_blank\" rel=\"noopener\" [href]=\"href\">\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: action }\" />\n </a>\n } @else {\n <button\n yuwContextMenuItem\n [variant]=\"action.destructive ? 'destructive' : 'default'\"\n (triggered)=\"onRun(action)\"\n >\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: action }\" />\n </button>\n }\n }\n </div>\n</ng-template>\n"
19440
19555
  }]
19441
19556
  }],
19442
19557
  propDecorators: {
@@ -19531,7 +19646,7 @@ var YuwsOverflowListCellComponent = class YuwsOverflowListCellComponent {
19531
19646
  classAttribute: "flex min-w-0 [&_yuw-button]:w-full"
19532
19647
  },
19533
19648
  ngImport: i0,
19534
- template: "@if (overflows()) {\n <yuw-popover\n triggerTransparent\n triggerClass=\"h-auto w-full min-w-0 justify-start gap-2 px-0 py-0 font-normal after:absolute after:inset-0 after:content-['']\"\n panelClass=\"w-auto min-w-48 max-w-80 gap-0 p-1\"\n [open]=\"open()\"\n (openChange)=\"onOpenChange($event)\"\n (pointerenter)=\"onPointerEnter($event)\"\n (pointerleave)=\"onPointerLeave($event)\"\n >\n <ng-container yuwPopoverTrigger>\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: first() }\" />\n <yuw-badge variant=\"outline\" color=\"neutral\" class=\"shrink-0 rounded-full px-1.5 font-normal\">\n {{ hiddenCount() }}\n </yuw-badge>\n </ng-container>\n\n <ul class=\"flex flex-col\" (pointerenter)=\"onPointerEnter($event)\" (pointerleave)=\"onPointerLeave($event)\">\n @for (item of entries(); track $index) {\n <li class=\"flex items-center rounded-sm px-2 py-1.5\">\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: item }\" />\n </li>\n }\n </ul>\n </yuw-popover>\n} @else {\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: first() }\" />\n}\n\n<ng-template #entry let-item>\n <span class=\"flex min-w-0 items-center gap-2\">\n @if (item.imageUrl) {\n <yuw-avatar size=\"sm\" shape=\"circle\" class=\"size-6 shrink-0\" [src]=\"item.imageUrl\" [alt]=\"item.label\" />\n }\n <span class=\"min-w-0 truncate\">{{ item.label }}</span>\n </span>\n</ng-template>\n",
19649
+ template: "@if (overflows()) {\n <yuw-popover\n triggerTransparent\n triggerClass=\"h-auto w-full min-w-0 justify-start gap-2 px-0 py-0 font-normal after:absolute after:inset-0 after:content-['']\"\n panelClass=\"w-auto min-w-48 max-w-80 gap-0 p-2\"\n [open]=\"open()\"\n (openChange)=\"onOpenChange($event)\"\n (pointerenter)=\"onPointerEnter($event)\"\n (pointerleave)=\"onPointerLeave($event)\"\n >\n <ng-container yuwPopoverTrigger>\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: first() }\" />\n <yuw-badge variant=\"outline\" color=\"neutral\" class=\"shrink-0 rounded-full px-1.5 font-normal\">\n {{ hiddenCount() }}\n </yuw-badge>\n </ng-container>\n\n <ul class=\"flex flex-col\" (pointerenter)=\"onPointerEnter($event)\" (pointerleave)=\"onPointerLeave($event)\">\n @for (item of entries(); track $index) {\n <li class=\"flex items-center px-2 py-2\">\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: item }\" />\n </li>\n }\n </ul>\n </yuw-popover>\n} @else {\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: first() }\" />\n}\n\n<ng-template #entry let-item>\n <span class=\"flex min-w-0 items-center gap-2\">\n @if (item.imageUrl) {\n <yuw-avatar size=\"sm\" shape=\"circle\" class=\"size-6 shrink-0\" [src]=\"item.imageUrl\" [alt]=\"item.label\" />\n }\n <span class=\"min-w-0 truncate\">{{ item.label }}</span>\n </span>\n</ng-template>\n",
19535
19650
  dependencies: [
19536
19651
  {
19537
19652
  kind: "directive",
@@ -19618,7 +19733,7 @@ i0.ɵɵngDeclareClassMetadata({
19618
19733
  "(click)": "$event.stopPropagation()",
19619
19734
  "(keydown)": "$event.stopPropagation()"
19620
19735
  },
19621
- template: "@if (overflows()) {\n <yuw-popover\n triggerTransparent\n triggerClass=\"h-auto w-full min-w-0 justify-start gap-2 px-0 py-0 font-normal after:absolute after:inset-0 after:content-['']\"\n panelClass=\"w-auto min-w-48 max-w-80 gap-0 p-1\"\n [open]=\"open()\"\n (openChange)=\"onOpenChange($event)\"\n (pointerenter)=\"onPointerEnter($event)\"\n (pointerleave)=\"onPointerLeave($event)\"\n >\n <ng-container yuwPopoverTrigger>\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: first() }\" />\n <yuw-badge variant=\"outline\" color=\"neutral\" class=\"shrink-0 rounded-full px-1.5 font-normal\">\n {{ hiddenCount() }}\n </yuw-badge>\n </ng-container>\n\n <ul class=\"flex flex-col\" (pointerenter)=\"onPointerEnter($event)\" (pointerleave)=\"onPointerLeave($event)\">\n @for (item of entries(); track $index) {\n <li class=\"flex items-center rounded-sm px-2 py-1.5\">\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: item }\" />\n </li>\n }\n </ul>\n </yuw-popover>\n} @else {\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: first() }\" />\n}\n\n<ng-template #entry let-item>\n <span class=\"flex min-w-0 items-center gap-2\">\n @if (item.imageUrl) {\n <yuw-avatar size=\"sm\" shape=\"circle\" class=\"size-6 shrink-0\" [src]=\"item.imageUrl\" [alt]=\"item.label\" />\n }\n <span class=\"min-w-0 truncate\">{{ item.label }}</span>\n </span>\n</ng-template>\n"
19736
+ template: "@if (overflows()) {\n <yuw-popover\n triggerTransparent\n triggerClass=\"h-auto w-full min-w-0 justify-start gap-2 px-0 py-0 font-normal after:absolute after:inset-0 after:content-['']\"\n panelClass=\"w-auto min-w-48 max-w-80 gap-0 p-2\"\n [open]=\"open()\"\n (openChange)=\"onOpenChange($event)\"\n (pointerenter)=\"onPointerEnter($event)\"\n (pointerleave)=\"onPointerLeave($event)\"\n >\n <ng-container yuwPopoverTrigger>\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: first() }\" />\n <yuw-badge variant=\"outline\" color=\"neutral\" class=\"shrink-0 rounded-full px-1.5 font-normal\">\n {{ hiddenCount() }}\n </yuw-badge>\n </ng-container>\n\n <ul class=\"flex flex-col\" (pointerenter)=\"onPointerEnter($event)\" (pointerleave)=\"onPointerLeave($event)\">\n @for (item of entries(); track $index) {\n <li class=\"flex items-center px-2 py-2\">\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: item }\" />\n </li>\n }\n </ul>\n </yuw-popover>\n} @else {\n <ng-container [ngTemplateOutlet]=\"entry\" [ngTemplateOutletContext]=\"{ $implicit: first() }\" />\n}\n\n<ng-template #entry let-item>\n <span class=\"flex min-w-0 items-center gap-2\">\n @if (item.imageUrl) {\n <yuw-avatar size=\"sm\" shape=\"circle\" class=\"size-6 shrink-0\" [src]=\"item.imageUrl\" [alt]=\"item.label\" />\n }\n <span class=\"min-w-0 truncate\">{{ item.label }}</span>\n </span>\n</ng-template>\n"
19622
19737
  }]
19623
19738
  }],
19624
19739
  ctorParameters: () => [],
@@ -20631,7 +20746,7 @@ var YuwsFormSheetComponent = class YuwsFormSheetComponent {
20631
20746
  ...ngDevMode ? { debugName: "saveDisabled" } : /* istanbul ignore next */ {},
20632
20747
  transform: booleanAttribute
20633
20748
  });
20634
- this.saveIcon = input("lucideSave", ...ngDevMode ? [{ debugName: "saveIcon" }] : /* istanbul ignore next */ []);
20749
+ this.saveIcon = input("lucideSaveCheck", ...ngDevMode ? [{ debugName: "saveIcon" }] : /* istanbul ignore next */ []);
20635
20750
  this.saving = input(false, {
20636
20751
  ...ngDevMode ? { debugName: "saving" } : /* istanbul ignore next */ {},
20637
20752
  transform: booleanAttribute
@@ -20812,7 +20927,7 @@ var YuwsFormSheetComponent = class YuwsFormSheetComponent {
20812
20927
  providers: [provideIcons({
20813
20928
  lucideArchiveRestore,
20814
20929
  lucideArrowLeft,
20815
- lucideSave,
20930
+ lucideSaveCheck,
20816
20931
  lucideTrash2,
20817
20932
  lucideX
20818
20933
  }), {
@@ -20916,7 +21031,7 @@ i0.ɵɵngDeclareClassMetadata({
20916
21031
  providers: [provideIcons({
20917
21032
  lucideArchiveRestore,
20918
21033
  lucideArrowLeft,
20919
- lucideSave,
21034
+ lucideSaveCheck,
20920
21035
  lucideTrash2,
20921
21036
  lucideX
20922
21037
  }), {
@@ -22824,7 +22939,7 @@ var YuwsListToolbarShareComponent = class YuwsListToolbarShareComponent {
22824
22939
  lucideShare
22825
22940
  })],
22826
22941
  ngImport: i0,
22827
- template: "<yuw-button\n variant=\"outline\"\n class=\"gap-2\"\n [ariaLabel]=\"labels().trigger\"\n [yuwDropdownMenuTrigger]=\"menu\"\n yuwDropdownMenuAlign=\"end\"\n>\n <ng-icon name=\"lucideShare\" size=\"16\" />\n</yuw-button>\n\n<ng-template #menu>\n <div yuwContextMenu class=\"min-w-56 p-2\">\n @if (labels().title; as title) {\n <p yuwContextMenuLabel class=\"px-2 pt-1 pb-2 text-sm font-normal\">{{ title }}</p>\n }\n\n @for (item of items(); track item.format) {\n <button yuwContextMenuItem class=\"gap-2.5 px-2 py-2\" (triggered)=\"onShare(item.format)\">\n <ng-icon [name]=\"item.icon\" />\n {{ item.label }}\n </button>\n }\n </div>\n</ng-template>\n",
22942
+ template: "<yuw-button\n variant=\"outline\"\n class=\"gap-2\"\n [ariaLabel]=\"labels().trigger\"\n [yuwDropdownMenuTrigger]=\"menu\"\n yuwDropdownMenuAlign=\"end\"\n>\n <ng-icon name=\"lucideShare\" size=\"16\" />\n</yuw-button>\n\n<ng-template #menu>\n <div yuwContextMenu class=\"min-w-56\">\n @if (labels().title; as title) {\n <p yuwContextMenuLabel>{{ title }}</p>\n }\n\n @for (item of items(); track item.format) {\n <button yuwContextMenuItem (triggered)=\"onShare(item.format)\">\n <ng-icon [name]=\"item.icon\" />\n {{ item.label }}\n </button>\n }\n </div>\n</ng-template>\n",
22828
22943
  dependencies: [
22829
22944
  {
22830
22945
  kind: "component",
@@ -22867,8 +22982,7 @@ var YuwsListToolbarShareComponent = class YuwsListToolbarShareComponent {
22867
22982
  {
22868
22983
  kind: "directive",
22869
22984
  type: YuwContextMenuItemDirective,
22870
- selector: "[yuwContextMenuItem]",
22871
- outputs: ["triggered"]
22985
+ selector: "[yuwContextMenuItem]"
22872
22986
  },
22873
22987
  {
22874
22988
  kind: "directive",
@@ -22904,7 +23018,7 @@ i0.ɵɵngDeclareClassMetadata({
22904
23018
  lucideShare
22905
23019
  })],
22906
23020
  host: { class: "flex shrink-0" },
22907
- template: "<yuw-button\n variant=\"outline\"\n class=\"gap-2\"\n [ariaLabel]=\"labels().trigger\"\n [yuwDropdownMenuTrigger]=\"menu\"\n yuwDropdownMenuAlign=\"end\"\n>\n <ng-icon name=\"lucideShare\" size=\"16\" />\n</yuw-button>\n\n<ng-template #menu>\n <div yuwContextMenu class=\"min-w-56 p-2\">\n @if (labels().title; as title) {\n <p yuwContextMenuLabel class=\"px-2 pt-1 pb-2 text-sm font-normal\">{{ title }}</p>\n }\n\n @for (item of items(); track item.format) {\n <button yuwContextMenuItem class=\"gap-2.5 px-2 py-2\" (triggered)=\"onShare(item.format)\">\n <ng-icon [name]=\"item.icon\" />\n {{ item.label }}\n </button>\n }\n </div>\n</ng-template>\n"
23021
+ template: "<yuw-button\n variant=\"outline\"\n class=\"gap-2\"\n [ariaLabel]=\"labels().trigger\"\n [yuwDropdownMenuTrigger]=\"menu\"\n yuwDropdownMenuAlign=\"end\"\n>\n <ng-icon name=\"lucideShare\" size=\"16\" />\n</yuw-button>\n\n<ng-template #menu>\n <div yuwContextMenu class=\"min-w-56\">\n @if (labels().title; as title) {\n <p yuwContextMenuLabel>{{ title }}</p>\n }\n\n @for (item of items(); track item.format) {\n <button yuwContextMenuItem (triggered)=\"onShare(item.format)\">\n <ng-icon [name]=\"item.icon\" />\n {{ item.label }}\n </button>\n }\n </div>\n</ng-template>\n"
22908
23022
  }]
22909
23023
  }],
22910
23024
  propDecorators: {
@@ -22996,7 +23110,6 @@ var YuwsListToolbarActionsComponent = class YuwsListToolbarActionsComponent {
22996
23110
  const defaults = new Set(this.defaultHiddenColumns());
22997
23111
  return hidden.size === defaults.size && [...defaults].every((id) => hidden.has(id));
22998
23112
  }, ...ngDevMode ? [{ debugName: "columnsAtDefault" }] : /* istanbul ignore next */ []);
22999
- this.hasHiddenColumns = computed(() => this.hiddenColumns().length > 0, ...ngDevMode ? [{ debugName: "hasHiddenColumns" }] : /* istanbul ignore next */ []);
23000
23113
  this.searchPopoverAlign = computed(() => this._searchIsOnlyAction() ? "end" : "center", ...ngDevMode ? [{ debugName: "searchPopoverAlign" }] : /* istanbul ignore next */ []);
23001
23114
  this.searchPopoverOffsetX = computed(() => this._searchIsOnlyAction() ? 0 : -16, ...ngDevMode ? [{ debugName: "searchPopoverOffsetX" }] : /* istanbul ignore next */ []);
23002
23115
  this.viewModeButtons = computed(() => VIEW_MODES.map((mode, index) => {
@@ -23164,7 +23277,7 @@ var YuwsListToolbarActionsComponent = class YuwsListToolbarActionsComponent {
23164
23277
  lucideSettings2
23165
23278
  })],
23166
23279
  ngImport: i0,
23167
- template: "@if (searchPlaceholder(); as placeholder) {\n @if (isMobile()) {\n <yuw-popover\n [align]=\"searchPopoverAlign()\"\n class=\"mr-5\"\n triggerVariant=\"outline\"\n triggerSize=\"icon\"\n panelClass=\"w-[min(20rem,calc(100vw-2rem))] p-2\"\n [offsetX]=\"searchPopoverOffsetX()\"\n [(open)]=\"searchOpen\"\n >\n <span yuwPopoverTrigger class=\"flex items-center\" [attr.aria-label]=\"labels().search.expand\">\n <ng-icon name=\"lucideSearch\" size=\"16\" />\n </span>\n\n <yuw-search-input\n expandedWidth=\"100%\"\n [(value)]=\"search\"\n [placeholder]=\"placeholder\"\n [clearAriaLabel]=\"labels().search.clear\"\n (searched)=\"searched.emit($event)\"\n />\n </yuw-popover>\n } @else {\n <yuw-search-input\n collapseFrom=\"right\"\n expandedWidth=\"18rem\"\n [(value)]=\"search\"\n [placeholder]=\"placeholder\"\n [clearAriaLabel]=\"labels().search.clear\"\n [expandAriaLabel]=\"labels().search.expand\"\n (searched)=\"searched.emit($event)\"\n />\n }\n}\n\n@if (showExport()) {\n <yuw-button variant=\"outline\" class=\"gap-2\" (clicked)=\"exported.emit($event)\">\n <ng-icon name=\"lucideDownload\" size=\"16\" />\n <span class=\"max-md:hidden\">\n {{ labels().export }}\n </span>\n </yuw-button>\n}\n\n@if (share(); as share) {\n <yuws-list-toolbar-share\n [formats]=\"shareFormats()\"\n [labels]=\"share.labels\"\n [serverSideFormats]=\"serverSideFormats()\"\n [source]=\"share.source\"\n [title]=\"shareTitle()\"\n (shareRequested)=\"shareRequested.emit($event)\"\n />\n}\n\n@if (hideableColumns(); as columns) {\n <div class=\"flex shrink-0\">\n <yuw-combobox\n multiple\n checkboxes\n keepValueOnEscape\n triggerSize=\"icon\"\n triggerClass=\"relative\"\n [options]=\"columns\"\n [value]=\"visibleColumns()\"\n [searchPlaceholder]=\"labels().columns.placeholder\"\n [emptyText]=\"labels().columns.empty\"\n [triggerAriaLabel]=\"labels().columns.trigger\"\n (valueChange)=\"onVisibleColumnsChange($event)\"\n >\n @if (labels().columns.title; as title) {\n <p yuwComboboxHeader class=\"px-2 pt-2 pb-1 text-sm text-muted-foreground\">{{ title }}</p>\n }\n\n @if (labels().columns.reset; as reset) {\n <div yuwComboboxFooter class=\"border-t p-1\">\n <yuw-button\n variant=\"ghost\"\n size=\"sm\"\n class=\"w-full [&>button]:w-full\"\n [disabled]=\"columnsAtDefault()\"\n (clicked)=\"onColumnsReset()\"\n >\n <span class=\"truncate\">{{ reset }}</span>\n </yuw-button>\n </div>\n }\n\n <ng-template yuwComboboxTrigger>\n <ng-icon name=\"lucideSettings2\" size=\"16\" />\n\n @if (hasHiddenColumns()) {\n <yuw-badge\n dot\n color=\"destructive\"\n class=\"absolute -top-1 -right-1\"\n style=\"width: 0.5rem; height: 0.5rem\"\n data-testid=\"hidden-columns-dot\"\n />\n }\n </ng-template>\n </yuw-combobox>\n </div>\n}\n\n@if (viewMode()) {\n <yuw-button-group\n variant=\"outline\"\n selectedVariant=\"secondary\"\n selectedColor=\"secondary\"\n [buttons]=\"viewModeButtons()\"\n (buttonClicked)=\"onViewModeClicked($event)\"\n >\n <ng-template yuwButtonGroupContent=\"list\">\n <ng-icon [name]=\"viewModeIconNames().list\" size=\"16\" />\n </ng-template>\n <ng-template yuwButtonGroupContent=\"block\">\n <ng-icon [name]=\"viewModeIconNames().block\" size=\"16\" />\n </ng-template>\n </yuw-button-group>\n}\n",
23280
+ template: "@if (searchPlaceholder(); as placeholder) {\n @if (isMobile()) {\n <yuw-popover\n [align]=\"searchPopoverAlign()\"\n class=\"mr-5\"\n triggerVariant=\"outline\"\n triggerSize=\"icon\"\n panelClass=\"w-[min(20rem,calc(100vw-2rem))] p-2\"\n [offsetX]=\"searchPopoverOffsetX()\"\n [(open)]=\"searchOpen\"\n >\n <span yuwPopoverTrigger class=\"flex items-center\" [attr.aria-label]=\"labels().search.expand\">\n <ng-icon name=\"lucideSearch\" size=\"16\" />\n </span>\n\n <yuw-search-input\n expandedWidth=\"100%\"\n [(value)]=\"search\"\n [placeholder]=\"placeholder\"\n [clearAriaLabel]=\"labels().search.clear\"\n (searched)=\"searched.emit($event)\"\n />\n </yuw-popover>\n } @else {\n <yuw-search-input\n collapseFrom=\"right\"\n expandedWidth=\"18rem\"\n [(value)]=\"search\"\n [placeholder]=\"placeholder\"\n [clearAriaLabel]=\"labels().search.clear\"\n [expandAriaLabel]=\"labels().search.expand\"\n (searched)=\"searched.emit($event)\"\n />\n }\n}\n\n@if (showExport()) {\n <yuw-button variant=\"outline\" class=\"gap-2\" (clicked)=\"exported.emit($event)\">\n <ng-icon name=\"lucideDownload\" size=\"16\" />\n <span class=\"max-md:hidden\">\n {{ labels().export }}\n </span>\n </yuw-button>\n}\n\n@if (share(); as share) {\n <yuws-list-toolbar-share\n [formats]=\"shareFormats()\"\n [labels]=\"share.labels\"\n [serverSideFormats]=\"serverSideFormats()\"\n [source]=\"share.source\"\n [title]=\"shareTitle()\"\n (shareRequested)=\"shareRequested.emit($event)\"\n />\n}\n\n@if (hideableColumns(); as columns) {\n <div class=\"flex shrink-0\">\n <yuw-combobox\n multiple\n checkboxes\n keepValueOnEscape\n triggerSize=\"icon\"\n triggerClass=\"relative\"\n [options]=\"columns\"\n [value]=\"visibleColumns()\"\n [searchPlaceholder]=\"labels().columns.placeholder\"\n [emptyText]=\"labels().columns.empty\"\n [triggerAriaLabel]=\"labels().columns.trigger\"\n (valueChange)=\"onVisibleColumnsChange($event)\"\n >\n @if (labels().columns.title; as title) {\n <p yuwComboboxHeader>{{ title }}</p>\n }\n\n @if (labels().columns.reset; as reset) {\n <div yuwComboboxFooter>\n <yuw-button\n variant=\"ghost\"\n size=\"sm\"\n class=\"w-full [&>button]:w-full\"\n [disabled]=\"columnsAtDefault()\"\n (clicked)=\"onColumnsReset()\"\n >\n <span class=\"truncate\">{{ reset }}</span>\n </yuw-button>\n </div>\n }\n\n <ng-template yuwComboboxTrigger>\n <ng-icon name=\"lucideSettings2\" size=\"16\" />\n\n @if (!columnsAtDefault()) {\n <yuw-badge\n dot\n color=\"destructive\"\n class=\"absolute -top-1 -right-1\"\n style=\"width: 0.5rem; height: 0.5rem\"\n data-testid=\"hidden-columns-dot\"\n />\n }\n </ng-template>\n </yuw-combobox>\n </div>\n}\n\n@if (viewMode()) {\n <yuw-button-group\n variant=\"outline\"\n selectedVariant=\"secondary\"\n selectedColor=\"secondary\"\n [buttons]=\"viewModeButtons()\"\n (buttonClicked)=\"onViewModeClicked($event)\"\n >\n <ng-template yuwButtonGroupContent=\"list\">\n <ng-icon [name]=\"viewModeIconNames().list\" size=\"16\" />\n </ng-template>\n <ng-template yuwButtonGroupContent=\"block\">\n <ng-icon [name]=\"viewModeIconNames().block\" size=\"16\" />\n </ng-template>\n </yuw-button-group>\n}\n",
23168
23281
  dependencies: [
23169
23282
  {
23170
23283
  kind: "component",
@@ -23350,7 +23463,7 @@ i0.ɵɵngDeclareClassMetadata({
23350
23463
  lucideSettings2
23351
23464
  })],
23352
23465
  host: { class: "flex items-center gap-2" },
23353
- template: "@if (searchPlaceholder(); as placeholder) {\n @if (isMobile()) {\n <yuw-popover\n [align]=\"searchPopoverAlign()\"\n class=\"mr-5\"\n triggerVariant=\"outline\"\n triggerSize=\"icon\"\n panelClass=\"w-[min(20rem,calc(100vw-2rem))] p-2\"\n [offsetX]=\"searchPopoverOffsetX()\"\n [(open)]=\"searchOpen\"\n >\n <span yuwPopoverTrigger class=\"flex items-center\" [attr.aria-label]=\"labels().search.expand\">\n <ng-icon name=\"lucideSearch\" size=\"16\" />\n </span>\n\n <yuw-search-input\n expandedWidth=\"100%\"\n [(value)]=\"search\"\n [placeholder]=\"placeholder\"\n [clearAriaLabel]=\"labels().search.clear\"\n (searched)=\"searched.emit($event)\"\n />\n </yuw-popover>\n } @else {\n <yuw-search-input\n collapseFrom=\"right\"\n expandedWidth=\"18rem\"\n [(value)]=\"search\"\n [placeholder]=\"placeholder\"\n [clearAriaLabel]=\"labels().search.clear\"\n [expandAriaLabel]=\"labels().search.expand\"\n (searched)=\"searched.emit($event)\"\n />\n }\n}\n\n@if (showExport()) {\n <yuw-button variant=\"outline\" class=\"gap-2\" (clicked)=\"exported.emit($event)\">\n <ng-icon name=\"lucideDownload\" size=\"16\" />\n <span class=\"max-md:hidden\">\n {{ labels().export }}\n </span>\n </yuw-button>\n}\n\n@if (share(); as share) {\n <yuws-list-toolbar-share\n [formats]=\"shareFormats()\"\n [labels]=\"share.labels\"\n [serverSideFormats]=\"serverSideFormats()\"\n [source]=\"share.source\"\n [title]=\"shareTitle()\"\n (shareRequested)=\"shareRequested.emit($event)\"\n />\n}\n\n@if (hideableColumns(); as columns) {\n <div class=\"flex shrink-0\">\n <yuw-combobox\n multiple\n checkboxes\n keepValueOnEscape\n triggerSize=\"icon\"\n triggerClass=\"relative\"\n [options]=\"columns\"\n [value]=\"visibleColumns()\"\n [searchPlaceholder]=\"labels().columns.placeholder\"\n [emptyText]=\"labels().columns.empty\"\n [triggerAriaLabel]=\"labels().columns.trigger\"\n (valueChange)=\"onVisibleColumnsChange($event)\"\n >\n @if (labels().columns.title; as title) {\n <p yuwComboboxHeader class=\"px-2 pt-2 pb-1 text-sm text-muted-foreground\">{{ title }}</p>\n }\n\n @if (labels().columns.reset; as reset) {\n <div yuwComboboxFooter class=\"border-t p-1\">\n <yuw-button\n variant=\"ghost\"\n size=\"sm\"\n class=\"w-full [&>button]:w-full\"\n [disabled]=\"columnsAtDefault()\"\n (clicked)=\"onColumnsReset()\"\n >\n <span class=\"truncate\">{{ reset }}</span>\n </yuw-button>\n </div>\n }\n\n <ng-template yuwComboboxTrigger>\n <ng-icon name=\"lucideSettings2\" size=\"16\" />\n\n @if (hasHiddenColumns()) {\n <yuw-badge\n dot\n color=\"destructive\"\n class=\"absolute -top-1 -right-1\"\n style=\"width: 0.5rem; height: 0.5rem\"\n data-testid=\"hidden-columns-dot\"\n />\n }\n </ng-template>\n </yuw-combobox>\n </div>\n}\n\n@if (viewMode()) {\n <yuw-button-group\n variant=\"outline\"\n selectedVariant=\"secondary\"\n selectedColor=\"secondary\"\n [buttons]=\"viewModeButtons()\"\n (buttonClicked)=\"onViewModeClicked($event)\"\n >\n <ng-template yuwButtonGroupContent=\"list\">\n <ng-icon [name]=\"viewModeIconNames().list\" size=\"16\" />\n </ng-template>\n <ng-template yuwButtonGroupContent=\"block\">\n <ng-icon [name]=\"viewModeIconNames().block\" size=\"16\" />\n </ng-template>\n </yuw-button-group>\n}\n"
23466
+ template: "@if (searchPlaceholder(); as placeholder) {\n @if (isMobile()) {\n <yuw-popover\n [align]=\"searchPopoverAlign()\"\n class=\"mr-5\"\n triggerVariant=\"outline\"\n triggerSize=\"icon\"\n panelClass=\"w-[min(20rem,calc(100vw-2rem))] p-2\"\n [offsetX]=\"searchPopoverOffsetX()\"\n [(open)]=\"searchOpen\"\n >\n <span yuwPopoverTrigger class=\"flex items-center\" [attr.aria-label]=\"labels().search.expand\">\n <ng-icon name=\"lucideSearch\" size=\"16\" />\n </span>\n\n <yuw-search-input\n expandedWidth=\"100%\"\n [(value)]=\"search\"\n [placeholder]=\"placeholder\"\n [clearAriaLabel]=\"labels().search.clear\"\n (searched)=\"searched.emit($event)\"\n />\n </yuw-popover>\n } @else {\n <yuw-search-input\n collapseFrom=\"right\"\n expandedWidth=\"18rem\"\n [(value)]=\"search\"\n [placeholder]=\"placeholder\"\n [clearAriaLabel]=\"labels().search.clear\"\n [expandAriaLabel]=\"labels().search.expand\"\n (searched)=\"searched.emit($event)\"\n />\n }\n}\n\n@if (showExport()) {\n <yuw-button variant=\"outline\" class=\"gap-2\" (clicked)=\"exported.emit($event)\">\n <ng-icon name=\"lucideDownload\" size=\"16\" />\n <span class=\"max-md:hidden\">\n {{ labels().export }}\n </span>\n </yuw-button>\n}\n\n@if (share(); as share) {\n <yuws-list-toolbar-share\n [formats]=\"shareFormats()\"\n [labels]=\"share.labels\"\n [serverSideFormats]=\"serverSideFormats()\"\n [source]=\"share.source\"\n [title]=\"shareTitle()\"\n (shareRequested)=\"shareRequested.emit($event)\"\n />\n}\n\n@if (hideableColumns(); as columns) {\n <div class=\"flex shrink-0\">\n <yuw-combobox\n multiple\n checkboxes\n keepValueOnEscape\n triggerSize=\"icon\"\n triggerClass=\"relative\"\n [options]=\"columns\"\n [value]=\"visibleColumns()\"\n [searchPlaceholder]=\"labels().columns.placeholder\"\n [emptyText]=\"labels().columns.empty\"\n [triggerAriaLabel]=\"labels().columns.trigger\"\n (valueChange)=\"onVisibleColumnsChange($event)\"\n >\n @if (labels().columns.title; as title) {\n <p yuwComboboxHeader>{{ title }}</p>\n }\n\n @if (labels().columns.reset; as reset) {\n <div yuwComboboxFooter>\n <yuw-button\n variant=\"ghost\"\n size=\"sm\"\n class=\"w-full [&>button]:w-full\"\n [disabled]=\"columnsAtDefault()\"\n (clicked)=\"onColumnsReset()\"\n >\n <span class=\"truncate\">{{ reset }}</span>\n </yuw-button>\n </div>\n }\n\n <ng-template yuwComboboxTrigger>\n <ng-icon name=\"lucideSettings2\" size=\"16\" />\n\n @if (!columnsAtDefault()) {\n <yuw-badge\n dot\n color=\"destructive\"\n class=\"absolute -top-1 -right-1\"\n style=\"width: 0.5rem; height: 0.5rem\"\n data-testid=\"hidden-columns-dot\"\n />\n }\n </ng-template>\n </yuw-combobox>\n </div>\n}\n\n@if (viewMode()) {\n <yuw-button-group\n variant=\"outline\"\n selectedVariant=\"secondary\"\n selectedColor=\"secondary\"\n [buttons]=\"viewModeButtons()\"\n (buttonClicked)=\"onViewModeClicked($event)\"\n >\n <ng-template yuwButtonGroupContent=\"list\">\n <ng-icon [name]=\"viewModeIconNames().list\" size=\"16\" />\n </ng-template>\n <ng-template yuwButtonGroupContent=\"block\">\n <ng-icon [name]=\"viewModeIconNames().block\" size=\"16\" />\n </ng-template>\n </yuw-button-group>\n}\n"
23354
23467
  }]
23355
23468
  }],
23356
23469
  propDecorators: {
@@ -23533,6 +23646,7 @@ var YuwsListToolbarFilterSetFormComponent = class YuwsListToolbarFilterSetFormCo
23533
23646
  this.confirmed = output();
23534
23647
  this.deleteRequested = output();
23535
23648
  this.nameMaxLength = NAME_MAX_LENGTH;
23649
+ this.titleClass = cn(YUW_MENU_LABEL_CLASS, "-mb-1 pb-0");
23536
23650
  this.draftName = linkedSignal(() => this.name(), ...ngDevMode ? [{ debugName: "draftName" }] : /* istanbul ignore next */ []);
23537
23651
  this.isDelete = computed(() => this.mode() === "delete", ...ngDevMode ? [{ debugName: "isDelete" }] : /* istanbul ignore next */ []);
23538
23652
  this.canConfirm = computed(() => this.isDelete() || this.draftName().trim().length > 0, ...ngDevMode ? [{ debugName: "canConfirm" }] : /* istanbul ignore next */ []);
@@ -23609,7 +23723,7 @@ var YuwsListToolbarFilterSetFormComponent = class YuwsListToolbarFilterSetFormCo
23609
23723
  isSignal: true
23610
23724
  }],
23611
23725
  ngImport: i0,
23612
- template: "@if (!titleHidden()) {\n <p class=\"text-sm font-medium\">{{ title() }}</p>\n}\n\n@if (isDelete()) {\n <p class=\"text-sm text-muted-foreground\">{{ deleteMessage() }}</p>\n} @else {\n <div class=\"flex flex-col gap-2\">\n <label class=\"text-sm\" for=\"yuw-filter-set-name\">{{ labels().nameLabel }}</label>\n <yuw-input inputId=\"yuw-filter-set-name\" [maxlength]=\"nameMaxLength\" [(value)]=\"draftName\" />\n </div>\n}\n\n<div\n class=\"flex min-w-0 flex-wrap items-center gap-1\"\n [class.justify-between]=\"canDelete()\"\n [class.justify-end]=\"!canDelete()\"\n>\n @if (canDelete()) {\n <yuw-button\n variant=\"ghost\"\n color=\"destructive\"\n size=\"sm\"\n class=\"max-w-full min-w-0 gap-1\"\n (clicked)=\"deleteRequested.emit()\"\n >\n <ng-icon name=\"lucideTrash2\" size=\"16\" class=\"shrink-0\" />\n </yuw-button>\n }\n\n <span class=\"flex min-w-0 max-w-full gap-1\">\n <yuw-button variant=\"outline\" size=\"sm\" class=\"min-w-0\" (clicked)=\"cancelled.emit()\">\n <span class=\"truncate\">{{ labels().cancel }}</span>\n </yuw-button>\n <yuw-button\n size=\"sm\"\n class=\"min-w-0\"\n [color]=\"isDelete() ? 'destructive' : 'neutral'\"\n [disabled]=\"!canConfirm()\"\n (clicked)=\"onConfirm()\"\n >\n <span class=\"truncate\">{{ isDelete() ? labels().delete : labels().confirm }}</span>\n </yuw-button>\n </span>\n</div>\n",
23726
+ template: "@if (!titleHidden()) {\n <p [class]=\"titleClass\">{{ title() }}</p>\n}\n\n@if (isDelete()) {\n <p class=\"text-sm text-muted-foreground\">{{ deleteMessage() }}</p>\n} @else {\n <div class=\"flex flex-col gap-2\">\n <label class=\"text-sm\" for=\"yuw-filter-set-name\">{{ labels().nameLabel }}</label>\n <yuw-input inputId=\"yuw-filter-set-name\" [maxlength]=\"nameMaxLength\" [(value)]=\"draftName\" />\n </div>\n}\n\n<div\n class=\"flex min-w-0 flex-wrap items-center gap-1\"\n [class.justify-between]=\"canDelete()\"\n [class.justify-end]=\"!canDelete()\"\n>\n @if (canDelete()) {\n <yuw-button\n variant=\"ghost\"\n color=\"destructive\"\n size=\"sm\"\n class=\"max-w-full min-w-0 gap-1\"\n (clicked)=\"deleteRequested.emit()\"\n >\n <ng-icon name=\"lucideTrash2\" size=\"16\" class=\"shrink-0\" />\n </yuw-button>\n }\n\n <span class=\"flex min-w-0 max-w-full gap-1\">\n <yuw-button variant=\"outline\" size=\"sm\" class=\"min-w-0\" (clicked)=\"cancelled.emit()\">\n <span class=\"truncate\">{{ labels().cancel }}</span>\n </yuw-button>\n <yuw-button\n size=\"sm\"\n class=\"min-w-0\"\n [color]=\"isDelete() ? 'destructive' : 'neutral'\"\n [disabled]=\"!canConfirm()\"\n (clicked)=\"onConfirm()\"\n >\n <span class=\"truncate\">{{ isDelete() ? labels().delete : labels().confirm }}</span>\n </yuw-button>\n </span>\n</div>\n",
23613
23727
  dependencies: [
23614
23728
  {
23615
23729
  kind: "component",
@@ -23681,7 +23795,7 @@ i0.ɵɵngDeclareClassMetadata({
23681
23795
  class: "flex max-w-full flex-col gap-3",
23682
23796
  "(keydown.enter)": "onConfirm()"
23683
23797
  },
23684
- template: "@if (!titleHidden()) {\n <p class=\"text-sm font-medium\">{{ title() }}</p>\n}\n\n@if (isDelete()) {\n <p class=\"text-sm text-muted-foreground\">{{ deleteMessage() }}</p>\n} @else {\n <div class=\"flex flex-col gap-2\">\n <label class=\"text-sm\" for=\"yuw-filter-set-name\">{{ labels().nameLabel }}</label>\n <yuw-input inputId=\"yuw-filter-set-name\" [maxlength]=\"nameMaxLength\" [(value)]=\"draftName\" />\n </div>\n}\n\n<div\n class=\"flex min-w-0 flex-wrap items-center gap-1\"\n [class.justify-between]=\"canDelete()\"\n [class.justify-end]=\"!canDelete()\"\n>\n @if (canDelete()) {\n <yuw-button\n variant=\"ghost\"\n color=\"destructive\"\n size=\"sm\"\n class=\"max-w-full min-w-0 gap-1\"\n (clicked)=\"deleteRequested.emit()\"\n >\n <ng-icon name=\"lucideTrash2\" size=\"16\" class=\"shrink-0\" />\n </yuw-button>\n }\n\n <span class=\"flex min-w-0 max-w-full gap-1\">\n <yuw-button variant=\"outline\" size=\"sm\" class=\"min-w-0\" (clicked)=\"cancelled.emit()\">\n <span class=\"truncate\">{{ labels().cancel }}</span>\n </yuw-button>\n <yuw-button\n size=\"sm\"\n class=\"min-w-0\"\n [color]=\"isDelete() ? 'destructive' : 'neutral'\"\n [disabled]=\"!canConfirm()\"\n (clicked)=\"onConfirm()\"\n >\n <span class=\"truncate\">{{ isDelete() ? labels().delete : labels().confirm }}</span>\n </yuw-button>\n </span>\n</div>\n"
23798
+ template: "@if (!titleHidden()) {\n <p [class]=\"titleClass\">{{ title() }}</p>\n}\n\n@if (isDelete()) {\n <p class=\"text-sm text-muted-foreground\">{{ deleteMessage() }}</p>\n} @else {\n <div class=\"flex flex-col gap-2\">\n <label class=\"text-sm\" for=\"yuw-filter-set-name\">{{ labels().nameLabel }}</label>\n <yuw-input inputId=\"yuw-filter-set-name\" [maxlength]=\"nameMaxLength\" [(value)]=\"draftName\" />\n </div>\n}\n\n<div\n class=\"flex min-w-0 flex-wrap items-center gap-1\"\n [class.justify-between]=\"canDelete()\"\n [class.justify-end]=\"!canDelete()\"\n>\n @if (canDelete()) {\n <yuw-button\n variant=\"ghost\"\n color=\"destructive\"\n size=\"sm\"\n class=\"max-w-full min-w-0 gap-1\"\n (clicked)=\"deleteRequested.emit()\"\n >\n <ng-icon name=\"lucideTrash2\" size=\"16\" class=\"shrink-0\" />\n </yuw-button>\n }\n\n <span class=\"flex min-w-0 max-w-full gap-1\">\n <yuw-button variant=\"outline\" size=\"sm\" class=\"min-w-0\" (clicked)=\"cancelled.emit()\">\n <span class=\"truncate\">{{ labels().cancel }}</span>\n </yuw-button>\n <yuw-button\n size=\"sm\"\n class=\"min-w-0\"\n [color]=\"isDelete() ? 'destructive' : 'neutral'\"\n [disabled]=\"!canConfirm()\"\n (clicked)=\"onConfirm()\"\n >\n <span class=\"truncate\">{{ isDelete() ? labels().delete : labels().confirm }}</span>\n </yuw-button>\n </span>\n</div>\n"
23685
23799
  }]
23686
23800
  }],
23687
23801
  ctorParameters: () => [],
@@ -23754,6 +23868,7 @@ var YuwsListToolbarFilterSetsComponent = class YuwsListToolbarFilterSetsComponen
23754
23868
  this.picked = output();
23755
23869
  this.saveRequested = output();
23756
23870
  this.stretchedCell = STRETCHED_CELL;
23871
+ this.titleClass = cn(YUW_MENU_LABEL_CLASS, "pb-0");
23757
23872
  this.options = computed(() => {
23758
23873
  const sets = this.sets();
23759
23874
  return sets.length > 0 ? [{
@@ -23849,7 +23964,7 @@ var YuwsListToolbarFilterSetsComponent = class YuwsListToolbarFilterSetsComponen
23849
23964
  picked: "picked",
23850
23965
  saveRequested: "saveRequested"
23851
23966
  },
23852
- host: { classAttribute: "flex max-w-full flex-col gap-3" },
23967
+ host: { classAttribute: "flex max-w-full flex-col gap-2" },
23853
23968
  providers: [provideIcons({
23854
23969
  lucideEllipsis,
23855
23970
  lucidePencil,
@@ -23863,7 +23978,7 @@ var YuwsListToolbarFilterSetsComponent = class YuwsListToolbarFilterSetsComponen
23863
23978
  isSignal: true
23864
23979
  }],
23865
23980
  ngImport: i0,
23866
- template: "@if (!titleHidden()) {\n <p class=\"text-sm font-medium\">{{ labels().title }}</p>\n}\n\n<yuw-combobox\n readonlyTrigger\n [options]=\"options()\"\n [value]=\"options().length > 0 ? selectedId() : undefined\"\n [placeholder]=\"labels().select\"\n [emptyText]=\"labels().empty\"\n [triggerAriaLabel]=\"labels().select\"\n (valueChange)=\"onPick($event)\"\n>\n <ng-template yuwComboboxItem let-option>\n <span class=\"min-w-0 flex-1 truncate\">{{ option.label }}</span>\n\n @if (option.data) {\n <span class=\"yuw-reveal inline-flex\" (click)=\"$event.stopPropagation()\">\n <yuw-button variant=\"ghost\" size=\"icon-sm\" [ariaLabel]=\"labels().edit\" (clicked)=\"onItemEdit(option.value)\">\n <ng-icon name=\"lucideEllipsis\" size=\"14\" />\n </yuw-button>\n </span>\n }\n </ng-template>\n</yuw-combobox>\n\n@if (canSave()) {\n <yuw-button variant=\"outline\" size=\"sm\" class=\"max-w-full min-w-0\" (clicked)=\"saveRequested.emit()\">\n <span class=\"truncate\">{{ labels().save }}</span>\n </yuw-button>\n}\n\n@if (canEdit()) {\n <div class=\"flex min-w-0 max-w-full\" [class.gap-1]=\"!stretchActions()\">\n <div [class]=\"stretchActions() ? stretchedCell : 'min-w-0'\">\n <yuw-button\n variant=\"outline\"\n size=\"sm\"\n [class]=\"stretchActions() ? 'w-full min-w-0 gap-1' : 'max-w-full min-w-0 gap-1'\"\n (clicked)=\"editRequested.emit()\"\n >\n <ng-icon name=\"lucidePencil\" size=\"16\" class=\"shrink-0\" />\n <span class=\"truncate\">{{ labels().edit }}</span>\n </yuw-button>\n </div>\n <div [class]=\"stretchActions() ? stretchedCell : 'min-w-0'\">\n <yuw-button\n variant=\"ghost\"\n color=\"destructive\"\n size=\"sm\"\n [class]=\"stretchActions() ? 'w-full min-w-0 gap-1' : 'max-w-full min-w-0 gap-1'\"\n (clicked)=\"deleteRequested.emit()\"\n >\n <ng-icon name=\"lucideTrash2\" size=\"16\" class=\"shrink-0\" />\n <span class=\"truncate\">{{ labels().delete }}</span>\n </yuw-button>\n </div>\n </div>\n}\n",
23981
+ template: "@if (!titleHidden()) {\n <p [class]=\"titleClass\">{{ labels().title }}</p>\n}\n\n<yuw-combobox\n readonlyTrigger\n [options]=\"options()\"\n [value]=\"options().length > 0 ? selectedId() : undefined\"\n [placeholder]=\"labels().select\"\n [emptyText]=\"labels().empty\"\n [triggerAriaLabel]=\"labels().select\"\n (valueChange)=\"onPick($event)\"\n>\n <ng-template yuwComboboxItem let-option>\n <span class=\"min-w-0 flex-1 truncate\">{{ option.label }}</span>\n\n @if (option.data) {\n <span class=\"yuw-reveal -my-1 inline-flex\" (click)=\"$event.stopPropagation()\">\n <yuw-button variant=\"ghost\" size=\"icon-xs\" [ariaLabel]=\"labels().edit\" (clicked)=\"onItemEdit(option.value)\">\n <ng-icon name=\"lucideEllipsis\" size=\"14\" />\n </yuw-button>\n </span>\n }\n </ng-template>\n</yuw-combobox>\n\n@if (canSave()) {\n <yuw-button variant=\"outline\" size=\"sm\" class=\"max-w-full min-w-0\" (clicked)=\"saveRequested.emit()\">\n <span class=\"truncate\">{{ labels().save }}</span>\n </yuw-button>\n}\n\n@if (canEdit()) {\n <div class=\"flex min-w-0 max-w-full\" [class.gap-1]=\"!stretchActions()\">\n <div [class]=\"stretchActions() ? stretchedCell : 'min-w-0'\">\n <yuw-button\n variant=\"outline\"\n size=\"sm\"\n [class]=\"stretchActions() ? 'w-full min-w-0 gap-1' : 'max-w-full min-w-0 gap-1'\"\n (clicked)=\"editRequested.emit()\"\n >\n <ng-icon name=\"lucidePencil\" size=\"16\" class=\"shrink-0\" />\n <span class=\"truncate\">{{ labels().edit }}</span>\n </yuw-button>\n </div>\n <div [class]=\"stretchActions() ? stretchedCell : 'min-w-0'\">\n <yuw-button\n variant=\"ghost\"\n color=\"destructive\"\n size=\"sm\"\n [class]=\"stretchActions() ? 'w-full min-w-0 gap-1' : 'max-w-full min-w-0 gap-1'\"\n (clicked)=\"deleteRequested.emit()\"\n >\n <ng-icon name=\"lucideTrash2\" size=\"16\" class=\"shrink-0\" />\n <span class=\"truncate\">{{ labels().delete }}</span>\n </yuw-button>\n </div>\n </div>\n}\n",
23867
23982
  dependencies: [
23868
23983
  {
23869
23984
  kind: "component",
@@ -23959,8 +24074,8 @@ i0.ɵɵngDeclareClassMetadata({
23959
24074
  lucidePencil,
23960
24075
  lucideTrash2
23961
24076
  })],
23962
- host: { class: "flex max-w-full flex-col gap-3" },
23963
- template: "@if (!titleHidden()) {\n <p class=\"text-sm font-medium\">{{ labels().title }}</p>\n}\n\n<yuw-combobox\n readonlyTrigger\n [options]=\"options()\"\n [value]=\"options().length > 0 ? selectedId() : undefined\"\n [placeholder]=\"labels().select\"\n [emptyText]=\"labels().empty\"\n [triggerAriaLabel]=\"labels().select\"\n (valueChange)=\"onPick($event)\"\n>\n <ng-template yuwComboboxItem let-option>\n <span class=\"min-w-0 flex-1 truncate\">{{ option.label }}</span>\n\n @if (option.data) {\n <span class=\"yuw-reveal inline-flex\" (click)=\"$event.stopPropagation()\">\n <yuw-button variant=\"ghost\" size=\"icon-sm\" [ariaLabel]=\"labels().edit\" (clicked)=\"onItemEdit(option.value)\">\n <ng-icon name=\"lucideEllipsis\" size=\"14\" />\n </yuw-button>\n </span>\n }\n </ng-template>\n</yuw-combobox>\n\n@if (canSave()) {\n <yuw-button variant=\"outline\" size=\"sm\" class=\"max-w-full min-w-0\" (clicked)=\"saveRequested.emit()\">\n <span class=\"truncate\">{{ labels().save }}</span>\n </yuw-button>\n}\n\n@if (canEdit()) {\n <div class=\"flex min-w-0 max-w-full\" [class.gap-1]=\"!stretchActions()\">\n <div [class]=\"stretchActions() ? stretchedCell : 'min-w-0'\">\n <yuw-button\n variant=\"outline\"\n size=\"sm\"\n [class]=\"stretchActions() ? 'w-full min-w-0 gap-1' : 'max-w-full min-w-0 gap-1'\"\n (clicked)=\"editRequested.emit()\"\n >\n <ng-icon name=\"lucidePencil\" size=\"16\" class=\"shrink-0\" />\n <span class=\"truncate\">{{ labels().edit }}</span>\n </yuw-button>\n </div>\n <div [class]=\"stretchActions() ? stretchedCell : 'min-w-0'\">\n <yuw-button\n variant=\"ghost\"\n color=\"destructive\"\n size=\"sm\"\n [class]=\"stretchActions() ? 'w-full min-w-0 gap-1' : 'max-w-full min-w-0 gap-1'\"\n (clicked)=\"deleteRequested.emit()\"\n >\n <ng-icon name=\"lucideTrash2\" size=\"16\" class=\"shrink-0\" />\n <span class=\"truncate\">{{ labels().delete }}</span>\n </yuw-button>\n </div>\n </div>\n}\n"
24077
+ host: { class: "flex max-w-full flex-col gap-2" },
24078
+ template: "@if (!titleHidden()) {\n <p [class]=\"titleClass\">{{ labels().title }}</p>\n}\n\n<yuw-combobox\n readonlyTrigger\n [options]=\"options()\"\n [value]=\"options().length > 0 ? selectedId() : undefined\"\n [placeholder]=\"labels().select\"\n [emptyText]=\"labels().empty\"\n [triggerAriaLabel]=\"labels().select\"\n (valueChange)=\"onPick($event)\"\n>\n <ng-template yuwComboboxItem let-option>\n <span class=\"min-w-0 flex-1 truncate\">{{ option.label }}</span>\n\n @if (option.data) {\n <span class=\"yuw-reveal -my-1 inline-flex\" (click)=\"$event.stopPropagation()\">\n <yuw-button variant=\"ghost\" size=\"icon-xs\" [ariaLabel]=\"labels().edit\" (clicked)=\"onItemEdit(option.value)\">\n <ng-icon name=\"lucideEllipsis\" size=\"14\" />\n </yuw-button>\n </span>\n }\n </ng-template>\n</yuw-combobox>\n\n@if (canSave()) {\n <yuw-button variant=\"outline\" size=\"sm\" class=\"max-w-full min-w-0\" (clicked)=\"saveRequested.emit()\">\n <span class=\"truncate\">{{ labels().save }}</span>\n </yuw-button>\n}\n\n@if (canEdit()) {\n <div class=\"flex min-w-0 max-w-full\" [class.gap-1]=\"!stretchActions()\">\n <div [class]=\"stretchActions() ? stretchedCell : 'min-w-0'\">\n <yuw-button\n variant=\"outline\"\n size=\"sm\"\n [class]=\"stretchActions() ? 'w-full min-w-0 gap-1' : 'max-w-full min-w-0 gap-1'\"\n (clicked)=\"editRequested.emit()\"\n >\n <ng-icon name=\"lucidePencil\" size=\"16\" class=\"shrink-0\" />\n <span class=\"truncate\">{{ labels().edit }}</span>\n </yuw-button>\n </div>\n <div [class]=\"stretchActions() ? stretchedCell : 'min-w-0'\">\n <yuw-button\n variant=\"ghost\"\n color=\"destructive\"\n size=\"sm\"\n [class]=\"stretchActions() ? 'w-full min-w-0 gap-1' : 'max-w-full min-w-0 gap-1'\"\n (clicked)=\"deleteRequested.emit()\"\n >\n <ng-icon name=\"lucideTrash2\" size=\"16\" class=\"shrink-0\" />\n <span class=\"truncate\">{{ labels().delete }}</span>\n </yuw-button>\n </div>\n </div>\n}\n"
23964
24079
  }]
23965
24080
  }],
23966
24081
  propDecorators: {
@@ -24048,7 +24163,6 @@ i0.ɵɵngDeclareClassMetadata({
24048
24163
  });
24049
24164
  var YuwsListToolbarFilterSetPickerComponent = class YuwsListToolbarFilterSetPickerComponent {
24050
24165
  constructor() {
24051
- this.idleColor = input.required(...ngDevMode ? [{ debugName: "idleColor" }] : /* istanbul ignore next */ []);
24052
24166
  this.labels = input.required(...ngDevMode ? [{ debugName: "labels" }] : /* istanbul ignore next */ []);
24053
24167
  this.selection = model({}, ...ngDevMode ? [{ debugName: "selection" }] : /* istanbul ignore next */ []);
24054
24168
  this.sets = input.required(...ngDevMode ? [{ debugName: "sets" }] : /* istanbul ignore next */ []);
@@ -24067,7 +24181,6 @@ var YuwsListToolbarFilterSetPickerComponent = class YuwsListToolbarFilterSetPick
24067
24181
  this.canSave = computed(() => this.hasActive() && !this.matchingSet(), ...ngDevMode ? [{ debugName: "canSave" }] : /* istanbul ignore next */ []);
24068
24182
  this.formName = computed(() => this.sets().find((set) => set.id === this._formSetId())?.name ?? "", ...ngDevMode ? [{ debugName: "formName" }] : /* istanbul ignore next */ []);
24069
24183
  this.selectedSetId = computed(() => this.matchingSet()?.id ?? "__yuw_no_set__", ...ngDevMode ? [{ debugName: "selectedSetId" }] : /* istanbul ignore next */ []);
24070
- this.triggerColor = computed(() => this.matchingSet() ? "secondary" : this.idleColor(), ...ngDevMode ? [{ debugName: "triggerColor" }] : /* istanbul ignore next */ []);
24071
24184
  this.triggerSize = computed(() => this.matchingSet() ? "default" : "icon", ...ngDevMode ? [{ debugName: "triggerSize" }] : /* istanbul ignore next */ []);
24072
24185
  this.triggerVariant = computed(() => this.matchingSet() ? "secondary" : "outline", ...ngDevMode ? [{ debugName: "triggerVariant" }] : /* istanbul ignore next */ []);
24073
24186
  }
@@ -24126,13 +24239,6 @@ var YuwsListToolbarFilterSetPickerComponent = class YuwsListToolbarFilterSetPick
24126
24239
  isStandalone: true,
24127
24240
  selector: "yuws-list-toolbar-filter-set-picker",
24128
24241
  inputs: {
24129
- idleColor: {
24130
- classPropertyName: "idleColor",
24131
- publicName: "idleColor",
24132
- isSignal: true,
24133
- isRequired: true,
24134
- transformFunction: null
24135
- },
24136
24242
  labels: {
24137
24243
  classPropertyName: "labels",
24138
24244
  publicName: "labels",
@@ -24164,7 +24270,7 @@ var YuwsListToolbarFilterSetPickerComponent = class YuwsListToolbarFilterSetPick
24164
24270
  host: { classAttribute: "contents" },
24165
24271
  providers: [provideIcons({ lucideStar })],
24166
24272
  ngImport: i0,
24167
- template: "<yuw-popover\n align=\"start\"\n panelClass=\"w-64 p-2 dark:border\"\n triggerClass=\"shrink-0 gap-1.5\"\n [triggerColor]=\"triggerColor()\"\n [triggerSize]=\"triggerSize()\"\n [triggerVariant]=\"triggerVariant()\"\n [open]=\"open()\"\n (openChange)=\"onOpenChange($event)\"\n>\n <span yuwPopoverTrigger class=\"flex min-w-0 items-center gap-1.5\" [attr.aria-label]=\"labels().title\">\n <ng-icon name=\"lucideStar\" size=\"16\" [class]=\"matchingSet() ? '[&_svg]:fill-current' : ''\" />\n\n @if (matchingSet(); as set) {\n <span class=\"block max-w-44 max-sm:max-w-14 truncate\">{{ set.name }}</span>\n }\n </span>\n\n @if (formMode(); as mode) {\n <yuws-list-toolbar-filter-set-form\n class=\"p-1\"\n [labels]=\"labels()\"\n [mode]=\"mode\"\n [name]=\"formName()\"\n (cancelled)=\"open.set(false)\"\n (confirmed)=\"onFormConfirmed($event)\"\n (deleteRequested)=\"formMode.set('delete')\"\n />\n } @else {\n <yuws-list-toolbar-filter-sets\n class=\"p-1\"\n [stretchActions]=\"true\"\n [labels]=\"labels()\"\n [sets]=\"sets()\"\n [selectedId]=\"selectedSetId()\"\n [canSave]=\"canSave()\"\n [canEdit]=\"!!matchingSet()\"\n (picked)=\"onPicked($event)\"\n (itemEditRequested)=\"openForm('rename', $event)\"\n (saveRequested)=\"openForm('save')\"\n (editRequested)=\"openForm('rename', $safeNavigationMigration(matchingSet()?.id))\"\n (deleteRequested)=\"openForm('delete', $safeNavigationMigration(matchingSet()?.id))\"\n />\n }\n</yuw-popover>\n",
24273
+ template: "<yuw-popover\n align=\"start\"\n panelClass=\"w-64 gap-0 p-2 dark:border\"\n triggerClass=\"shrink-0 gap-1.5\"\n triggerColor=\"secondary\"\n [triggerSize]=\"triggerSize()\"\n [triggerVariant]=\"triggerVariant()\"\n [open]=\"open()\"\n (openChange)=\"onOpenChange($event)\"\n>\n <span yuwPopoverTrigger class=\"flex min-w-0 items-center gap-1.5\" [attr.aria-label]=\"labels().title\">\n <ng-icon name=\"lucideStar\" size=\"16\" [class]=\"matchingSet() ? '[&_svg]:fill-current' : ''\" />\n\n @if (matchingSet(); as set) {\n <span class=\"block max-w-44 max-sm:max-w-14 truncate\">{{ set.name }}</span>\n }\n </span>\n\n @if (formMode(); as mode) {\n <yuws-list-toolbar-filter-set-form\n [labels]=\"labels()\"\n [mode]=\"mode\"\n [name]=\"formName()\"\n (cancelled)=\"open.set(false)\"\n (confirmed)=\"onFormConfirmed($event)\"\n (deleteRequested)=\"formMode.set('delete')\"\n />\n } @else {\n <yuws-list-toolbar-filter-sets\n [stretchActions]=\"true\"\n [labels]=\"labels()\"\n [sets]=\"sets()\"\n [selectedId]=\"selectedSetId()\"\n [canSave]=\"canSave()\"\n [canEdit]=\"!!matchingSet()\"\n (picked)=\"onPicked($event)\"\n (itemEditRequested)=\"openForm('rename', $event)\"\n (saveRequested)=\"openForm('save')\"\n (editRequested)=\"openForm('rename', $safeNavigationMigration(matchingSet()?.id))\"\n (deleteRequested)=\"openForm('delete', $safeNavigationMigration(matchingSet()?.id))\"\n />\n }\n</yuw-popover>\n",
24168
24274
  dependencies: [
24169
24275
  {
24170
24276
  kind: "component",
@@ -24259,18 +24365,10 @@ i0.ɵɵngDeclareClassMetadata({
24259
24365
  ],
24260
24366
  providers: [provideIcons({ lucideStar })],
24261
24367
  host: { class: "contents" },
24262
- template: "<yuw-popover\n align=\"start\"\n panelClass=\"w-64 p-2 dark:border\"\n triggerClass=\"shrink-0 gap-1.5\"\n [triggerColor]=\"triggerColor()\"\n [triggerSize]=\"triggerSize()\"\n [triggerVariant]=\"triggerVariant()\"\n [open]=\"open()\"\n (openChange)=\"onOpenChange($event)\"\n>\n <span yuwPopoverTrigger class=\"flex min-w-0 items-center gap-1.5\" [attr.aria-label]=\"labels().title\">\n <ng-icon name=\"lucideStar\" size=\"16\" [class]=\"matchingSet() ? '[&_svg]:fill-current' : ''\" />\n\n @if (matchingSet(); as set) {\n <span class=\"block max-w-44 max-sm:max-w-14 truncate\">{{ set.name }}</span>\n }\n </span>\n\n @if (formMode(); as mode) {\n <yuws-list-toolbar-filter-set-form\n class=\"p-1\"\n [labels]=\"labels()\"\n [mode]=\"mode\"\n [name]=\"formName()\"\n (cancelled)=\"open.set(false)\"\n (confirmed)=\"onFormConfirmed($event)\"\n (deleteRequested)=\"formMode.set('delete')\"\n />\n } @else {\n <yuws-list-toolbar-filter-sets\n class=\"p-1\"\n [stretchActions]=\"true\"\n [labels]=\"labels()\"\n [sets]=\"sets()\"\n [selectedId]=\"selectedSetId()\"\n [canSave]=\"canSave()\"\n [canEdit]=\"!!matchingSet()\"\n (picked)=\"onPicked($event)\"\n (itemEditRequested)=\"openForm('rename', $event)\"\n (saveRequested)=\"openForm('save')\"\n (editRequested)=\"openForm('rename', $safeNavigationMigration(matchingSet()?.id))\"\n (deleteRequested)=\"openForm('delete', $safeNavigationMigration(matchingSet()?.id))\"\n />\n }\n</yuw-popover>\n"
24368
+ template: "<yuw-popover\n align=\"start\"\n panelClass=\"w-64 gap-0 p-2 dark:border\"\n triggerClass=\"shrink-0 gap-1.5\"\n triggerColor=\"secondary\"\n [triggerSize]=\"triggerSize()\"\n [triggerVariant]=\"triggerVariant()\"\n [open]=\"open()\"\n (openChange)=\"onOpenChange($event)\"\n>\n <span yuwPopoverTrigger class=\"flex min-w-0 items-center gap-1.5\" [attr.aria-label]=\"labels().title\">\n <ng-icon name=\"lucideStar\" size=\"16\" [class]=\"matchingSet() ? '[&_svg]:fill-current' : ''\" />\n\n @if (matchingSet(); as set) {\n <span class=\"block max-w-44 max-sm:max-w-14 truncate\">{{ set.name }}</span>\n }\n </span>\n\n @if (formMode(); as mode) {\n <yuws-list-toolbar-filter-set-form\n [labels]=\"labels()\"\n [mode]=\"mode\"\n [name]=\"formName()\"\n (cancelled)=\"open.set(false)\"\n (confirmed)=\"onFormConfirmed($event)\"\n (deleteRequested)=\"formMode.set('delete')\"\n />\n } @else {\n <yuws-list-toolbar-filter-sets\n [stretchActions]=\"true\"\n [labels]=\"labels()\"\n [sets]=\"sets()\"\n [selectedId]=\"selectedSetId()\"\n [canSave]=\"canSave()\"\n [canEdit]=\"!!matchingSet()\"\n (picked)=\"onPicked($event)\"\n (itemEditRequested)=\"openForm('rename', $event)\"\n (saveRequested)=\"openForm('save')\"\n (editRequested)=\"openForm('rename', $safeNavigationMigration(matchingSet()?.id))\"\n (deleteRequested)=\"openForm('delete', $safeNavigationMigration(matchingSet()?.id))\"\n />\n }\n</yuw-popover>\n"
24263
24369
  }]
24264
24370
  }],
24265
24371
  propDecorators: {
24266
- idleColor: [{
24267
- type: i0.Input,
24268
- args: [{
24269
- isSignal: true,
24270
- alias: "idleColor",
24271
- required: true
24272
- }]
24273
- }],
24274
24372
  labels: [{
24275
24373
  type: i0.Input,
24276
24374
  args: [{
@@ -24502,7 +24600,7 @@ var YuwsListToolbarFiltersComponent = class YuwsListToolbarFiltersComponent {
24502
24600
  isSignal: true
24503
24601
  }],
24504
24602
  ngImport: i0,
24505
- template: "<fieldset class=\"m-0 flex min-w-0 flex-1 items-center gap-2 border-0 p-0 max-md:contents\" [disabled]=\"disabled()\">\n <legend class=\"sr-only\">{{ labels().title }}</legend>\n\n <!-- Saved sets -->\n @if (setLabels(); as setLabels) {\n <yuws-list-toolbar-filter-set-picker\n [idleColor]=\"idleColor()\"\n [labels]=\"setLabels\"\n [sets]=\"sets() ?? []\"\n [selection]=\"selection()\"\n (selectionChange)=\"onSetApplied($event)\"\n (setDeleted)=\"setDeleted.emit($event)\"\n (setRenamed)=\"setRenamed.emit($event)\"\n (setSaved)=\"setSaved.emit($event)\"\n />\n }\n\n <!-- Add filter -->\n <yuw-combobox\n #addBox\n multiple\n keepValueOnEscape\n triggerVariant=\"default\"\n triggerColor=\"secondary\"\n triggerClass=\"shrink-0 gap-1.5\"\n [options]=\"addOptions()\"\n [value]=\"addValue()\"\n [searchPlaceholder]=\"labels().search\"\n [emptyText]=\"labels().empty\"\n [triggerAriaLabel]=\"labels().add\"\n (valueChange)=\"onActiveChange($event)\"\n >\n <ng-template yuwComboboxTrigger>\n <ng-icon name=\"lucidePlus\" size=\"16\" />\n <span class=\"whitespace-nowrap max-md:hidden\">{{ labels().add }}</span>\n </ng-template>\n\n @if (activeGroups().length > 0) {\n <div yuwComboboxFooter class=\"border-t p-1\">\n <yuw-button\n variant=\"ghost\"\n color=\"destructive\"\n size=\"sm\"\n class=\"w-full [&>button]:w-full\"\n (clicked)=\"onClearAll()\"\n >\n <span class=\"truncate\">{{ labels().clearAll }}</span>\n </yuw-button>\n </div>\n }\n </yuw-combobox>\n\n <!-- Active filters -->\n @if (activeGroups().length > 0) {\n <div\n yuwMouseScrollX\n class=\"-my-1 flex min-w-0 flex-1 items-center gap-2 overflow-x-auto contain-inline-size px-px py-1 scroll-fade-x max-md:order-last max-md:basis-full [scrollbar-width:none] [&::-webkit-scrollbar]:hidden\"\n >\n @for (group of activeGroups(); track group.id) {\n <div\n class=\"flex shrink-0 items-center\"\n [class]=\"weldClass\"\n [attr.data-filter-id]=\"group.id\"\n data-testid=\"active-filter\"\n >\n @if (contentTemplates()[group.id]; as content) {\n <ng-container\n [ngTemplateOutlet]=\"content\"\n [ngTemplateOutletContext]=\"{\n $implicit: group,\n value: selection()[group.id],\n change: changers()[group.id],\n }\"\n />\n } @else if (dates()[group.id]; as date) {\n <yuw-datepicker\n #picker\n triggerVariant=\"secondary\"\n class=\"max-w-80 gap-1.5\"\n [triggerColor]=\"idleColor()\"\n [mode]=\"date.mode\"\n [value]=\"date.value\"\n [presetId]=\"date.presetId\"\n [presets]=\"date.presets\"\n [presetsLabel]=\"labels().datePresets\"\n [formatDate]=\"labels().formatDate\"\n (valueChange)=\"onDateChange(group.id, $event, picker.presetId())\"\n >\n <ng-template yuwDatepickerTrigger let-summary>\n <span class=\"whitespace-nowrap font-semibold\">{{ group.label }}</span>\n\n @if (summary) {\n <span class=\"min-w-0 truncate font-normal\">{{ summary }}</span>\n }\n </ng-template>\n </yuw-datepicker>\n } @else {\n <yuw-combobox\n keepValueOnEscape\n triggerVariant=\"secondary\"\n triggerClass=\"max-w-80 gap-1.5\"\n [triggerColor]=\"idleColor()\"\n [multiple]=\"group.mode === 'multiple'\"\n [options]=\"options()[group.id]\"\n [searchPlaceholder]=\"group.label\"\n [value]=\"values()[group.id]\"\n [emptyText]=\"labels().empty\"\n [triggerAriaLabel]=\"group.label\"\n (valueChange)=\"onValueChange(group.id, $event)\"\n >\n <ng-template yuwComboboxTrigger let-summary>\n <span class=\"whitespace-nowrap font-semibold\">{{ group.label }}</span>\n\n @if (summary) {\n <span class=\"min-w-0 truncate font-normal\">{{ summary }}</span>\n }\n </ng-template>\n </yuw-combobox>\n }\n\n <yuw-button\n variant=\"secondary\"\n size=\"icon\"\n class=\"w-8 rounded-s-none\"\n [color]=\"idleColor()\"\n [ariaLabel]=\"labels().remove\"\n (clicked)=\"onRemoved(group.id)\"\n >\n <ng-icon name=\"lucideX\" size=\"14\" />\n </yuw-button>\n </div>\n }\n </div>\n }\n</fieldset>\n",
24603
+ template: "<fieldset class=\"m-0 flex min-w-0 flex-1 items-center gap-2 border-0 p-0 max-md:contents\" [disabled]=\"disabled()\">\n <legend class=\"sr-only\">{{ labels().title }}</legend>\n\n <!-- Saved sets -->\n @if (setLabels(); as setLabels) {\n <yuws-list-toolbar-filter-set-picker\n [labels]=\"setLabels\"\n [sets]=\"sets() ?? []\"\n [selection]=\"selection()\"\n (selectionChange)=\"onSetApplied($event)\"\n (setDeleted)=\"setDeleted.emit($event)\"\n (setRenamed)=\"setRenamed.emit($event)\"\n (setSaved)=\"setSaved.emit($event)\"\n />\n }\n\n <!-- Add filter -->\n <yuw-combobox\n #addBox\n multiple\n keepValueOnEscape\n triggerVariant=\"default\"\n triggerColor=\"secondary\"\n triggerClass=\"shrink-0 gap-1.5\"\n [options]=\"addOptions()\"\n [value]=\"addValue()\"\n [searchPlaceholder]=\"labels().search\"\n [emptyText]=\"labels().empty\"\n [triggerAriaLabel]=\"labels().add\"\n (valueChange)=\"onActiveChange($event)\"\n >\n <ng-template yuwComboboxTrigger>\n <ng-icon name=\"lucidePlus\" size=\"16\" />\n <span class=\"whitespace-nowrap max-md:hidden\">{{ labels().add }}</span>\n </ng-template>\n\n @if (activeGroups().length > 0) {\n <div yuwComboboxFooter>\n <yuw-button\n variant=\"ghost\"\n color=\"destructive\"\n size=\"sm\"\n class=\"w-full [&>button]:w-full\"\n (clicked)=\"onClearAll()\"\n >\n <span class=\"truncate\">{{ labels().clearAll }}</span>\n </yuw-button>\n </div>\n }\n </yuw-combobox>\n\n <!-- Active filters -->\n @if (activeGroups().length > 0) {\n <div\n yuwMouseScrollX\n class=\"-my-1 flex min-w-0 flex-1 items-center gap-2 overflow-x-auto contain-inline-size px-px py-1 scroll-fade-x max-md:order-last max-md:basis-full scrollbar-width:none [&::-webkit-scrollbar]:hidden\"\n >\n @for (group of activeGroups(); track group.id) {\n <div\n class=\"flex shrink-0 items-center\"\n [class]=\"weldClass\"\n [attr.data-filter-id]=\"group.id\"\n data-testid=\"active-filter\"\n >\n @if (contentTemplates()[group.id]; as content) {\n <ng-container\n [ngTemplateOutlet]=\"content\"\n [ngTemplateOutletContext]=\"{\n $implicit: group,\n value: selection()[group.id],\n change: changers()[group.id],\n }\"\n />\n } @else if (dates()[group.id]; as date) {\n <yuw-datepicker\n #picker\n triggerVariant=\"secondary\"\n class=\"max-w-80 gap-1.5\"\n [triggerColor]=\"idleColor()\"\n [mode]=\"date.mode\"\n [value]=\"date.value\"\n [presetId]=\"date.presetId\"\n [presets]=\"date.presets\"\n [presetsLabel]=\"labels().datePresets\"\n [formatDate]=\"labels().formatDate\"\n (valueChange)=\"onDateChange(group.id, $event, picker.presetId())\"\n >\n <ng-template yuwDatepickerTrigger let-summary>\n <span class=\"whitespace-nowrap font-semibold\">{{ group.label }}</span>\n\n @if (summary) {\n <span class=\"min-w-0 truncate font-normal\">{{ summary }}</span>\n }\n </ng-template>\n </yuw-datepicker>\n } @else {\n <yuw-combobox\n keepValueOnEscape\n triggerVariant=\"secondary\"\n triggerClass=\"max-w-80 gap-1.5\"\n [triggerColor]=\"idleColor()\"\n [multiple]=\"group.mode === 'multiple'\"\n [options]=\"options()[group.id]\"\n [searchPlaceholder]=\"group.label\"\n [value]=\"values()[group.id]\"\n [emptyText]=\"labels().empty\"\n [triggerAriaLabel]=\"group.label\"\n (valueChange)=\"onValueChange(group.id, $event)\"\n >\n <ng-template yuwComboboxTrigger let-summary>\n <span class=\"whitespace-nowrap font-semibold\">{{ group.label }}</span>\n\n @if (summary) {\n <span class=\"min-w-0 truncate font-normal\">{{ summary }}</span>\n }\n </ng-template>\n </yuw-combobox>\n }\n\n <yuw-button\n variant=\"secondary\"\n size=\"icon\"\n class=\"w-8 rounded-s-none\"\n [color]=\"idleColor()\"\n [ariaLabel]=\"labels().remove\"\n (clicked)=\"onRemoved(group.id)\"\n >\n <ng-icon name=\"lucideX\" size=\"14\" />\n </yuw-button>\n </div>\n }\n </div>\n }\n</fieldset>\n",
24506
24604
  dependencies: [
24507
24605
  {
24508
24606
  kind: "component",
@@ -24618,7 +24716,6 @@ var YuwsListToolbarFiltersComponent = class YuwsListToolbarFiltersComponent {
24618
24716
  type: YuwsListToolbarFilterSetPickerComponent,
24619
24717
  selector: "yuws-list-toolbar-filter-set-picker",
24620
24718
  inputs: [
24621
- "idleColor",
24622
24719
  "labels",
24623
24720
  "selection",
24624
24721
  "sets"
@@ -24666,7 +24763,7 @@ i0.ɵɵngDeclareClassMetadata({
24666
24763
  lucideX
24667
24764
  })],
24668
24765
  host: { class: "flex min-w-0 max-w-full flex-1 max-md:contents" },
24669
- template: "<fieldset class=\"m-0 flex min-w-0 flex-1 items-center gap-2 border-0 p-0 max-md:contents\" [disabled]=\"disabled()\">\n <legend class=\"sr-only\">{{ labels().title }}</legend>\n\n <!-- Saved sets -->\n @if (setLabels(); as setLabels) {\n <yuws-list-toolbar-filter-set-picker\n [idleColor]=\"idleColor()\"\n [labels]=\"setLabels\"\n [sets]=\"sets() ?? []\"\n [selection]=\"selection()\"\n (selectionChange)=\"onSetApplied($event)\"\n (setDeleted)=\"setDeleted.emit($event)\"\n (setRenamed)=\"setRenamed.emit($event)\"\n (setSaved)=\"setSaved.emit($event)\"\n />\n }\n\n <!-- Add filter -->\n <yuw-combobox\n #addBox\n multiple\n keepValueOnEscape\n triggerVariant=\"default\"\n triggerColor=\"secondary\"\n triggerClass=\"shrink-0 gap-1.5\"\n [options]=\"addOptions()\"\n [value]=\"addValue()\"\n [searchPlaceholder]=\"labels().search\"\n [emptyText]=\"labels().empty\"\n [triggerAriaLabel]=\"labels().add\"\n (valueChange)=\"onActiveChange($event)\"\n >\n <ng-template yuwComboboxTrigger>\n <ng-icon name=\"lucidePlus\" size=\"16\" />\n <span class=\"whitespace-nowrap max-md:hidden\">{{ labels().add }}</span>\n </ng-template>\n\n @if (activeGroups().length > 0) {\n <div yuwComboboxFooter class=\"border-t p-1\">\n <yuw-button\n variant=\"ghost\"\n color=\"destructive\"\n size=\"sm\"\n class=\"w-full [&>button]:w-full\"\n (clicked)=\"onClearAll()\"\n >\n <span class=\"truncate\">{{ labels().clearAll }}</span>\n </yuw-button>\n </div>\n }\n </yuw-combobox>\n\n <!-- Active filters -->\n @if (activeGroups().length > 0) {\n <div\n yuwMouseScrollX\n class=\"-my-1 flex min-w-0 flex-1 items-center gap-2 overflow-x-auto contain-inline-size px-px py-1 scroll-fade-x max-md:order-last max-md:basis-full [scrollbar-width:none] [&::-webkit-scrollbar]:hidden\"\n >\n @for (group of activeGroups(); track group.id) {\n <div\n class=\"flex shrink-0 items-center\"\n [class]=\"weldClass\"\n [attr.data-filter-id]=\"group.id\"\n data-testid=\"active-filter\"\n >\n @if (contentTemplates()[group.id]; as content) {\n <ng-container\n [ngTemplateOutlet]=\"content\"\n [ngTemplateOutletContext]=\"{\n $implicit: group,\n value: selection()[group.id],\n change: changers()[group.id],\n }\"\n />\n } @else if (dates()[group.id]; as date) {\n <yuw-datepicker\n #picker\n triggerVariant=\"secondary\"\n class=\"max-w-80 gap-1.5\"\n [triggerColor]=\"idleColor()\"\n [mode]=\"date.mode\"\n [value]=\"date.value\"\n [presetId]=\"date.presetId\"\n [presets]=\"date.presets\"\n [presetsLabel]=\"labels().datePresets\"\n [formatDate]=\"labels().formatDate\"\n (valueChange)=\"onDateChange(group.id, $event, picker.presetId())\"\n >\n <ng-template yuwDatepickerTrigger let-summary>\n <span class=\"whitespace-nowrap font-semibold\">{{ group.label }}</span>\n\n @if (summary) {\n <span class=\"min-w-0 truncate font-normal\">{{ summary }}</span>\n }\n </ng-template>\n </yuw-datepicker>\n } @else {\n <yuw-combobox\n keepValueOnEscape\n triggerVariant=\"secondary\"\n triggerClass=\"max-w-80 gap-1.5\"\n [triggerColor]=\"idleColor()\"\n [multiple]=\"group.mode === 'multiple'\"\n [options]=\"options()[group.id]\"\n [searchPlaceholder]=\"group.label\"\n [value]=\"values()[group.id]\"\n [emptyText]=\"labels().empty\"\n [triggerAriaLabel]=\"group.label\"\n (valueChange)=\"onValueChange(group.id, $event)\"\n >\n <ng-template yuwComboboxTrigger let-summary>\n <span class=\"whitespace-nowrap font-semibold\">{{ group.label }}</span>\n\n @if (summary) {\n <span class=\"min-w-0 truncate font-normal\">{{ summary }}</span>\n }\n </ng-template>\n </yuw-combobox>\n }\n\n <yuw-button\n variant=\"secondary\"\n size=\"icon\"\n class=\"w-8 rounded-s-none\"\n [color]=\"idleColor()\"\n [ariaLabel]=\"labels().remove\"\n (clicked)=\"onRemoved(group.id)\"\n >\n <ng-icon name=\"lucideX\" size=\"14\" />\n </yuw-button>\n </div>\n }\n </div>\n }\n</fieldset>\n"
24766
+ template: "<fieldset class=\"m-0 flex min-w-0 flex-1 items-center gap-2 border-0 p-0 max-md:contents\" [disabled]=\"disabled()\">\n <legend class=\"sr-only\">{{ labels().title }}</legend>\n\n <!-- Saved sets -->\n @if (setLabels(); as setLabels) {\n <yuws-list-toolbar-filter-set-picker\n [labels]=\"setLabels\"\n [sets]=\"sets() ?? []\"\n [selection]=\"selection()\"\n (selectionChange)=\"onSetApplied($event)\"\n (setDeleted)=\"setDeleted.emit($event)\"\n (setRenamed)=\"setRenamed.emit($event)\"\n (setSaved)=\"setSaved.emit($event)\"\n />\n }\n\n <!-- Add filter -->\n <yuw-combobox\n #addBox\n multiple\n keepValueOnEscape\n triggerVariant=\"default\"\n triggerColor=\"secondary\"\n triggerClass=\"shrink-0 gap-1.5\"\n [options]=\"addOptions()\"\n [value]=\"addValue()\"\n [searchPlaceholder]=\"labels().search\"\n [emptyText]=\"labels().empty\"\n [triggerAriaLabel]=\"labels().add\"\n (valueChange)=\"onActiveChange($event)\"\n >\n <ng-template yuwComboboxTrigger>\n <ng-icon name=\"lucidePlus\" size=\"16\" />\n <span class=\"whitespace-nowrap max-md:hidden\">{{ labels().add }}</span>\n </ng-template>\n\n @if (activeGroups().length > 0) {\n <div yuwComboboxFooter>\n <yuw-button\n variant=\"ghost\"\n color=\"destructive\"\n size=\"sm\"\n class=\"w-full [&>button]:w-full\"\n (clicked)=\"onClearAll()\"\n >\n <span class=\"truncate\">{{ labels().clearAll }}</span>\n </yuw-button>\n </div>\n }\n </yuw-combobox>\n\n <!-- Active filters -->\n @if (activeGroups().length > 0) {\n <div\n yuwMouseScrollX\n class=\"-my-1 flex min-w-0 flex-1 items-center gap-2 overflow-x-auto contain-inline-size px-px py-1 scroll-fade-x max-md:order-last max-md:basis-full scrollbar-width:none [&::-webkit-scrollbar]:hidden\"\n >\n @for (group of activeGroups(); track group.id) {\n <div\n class=\"flex shrink-0 items-center\"\n [class]=\"weldClass\"\n [attr.data-filter-id]=\"group.id\"\n data-testid=\"active-filter\"\n >\n @if (contentTemplates()[group.id]; as content) {\n <ng-container\n [ngTemplateOutlet]=\"content\"\n [ngTemplateOutletContext]=\"{\n $implicit: group,\n value: selection()[group.id],\n change: changers()[group.id],\n }\"\n />\n } @else if (dates()[group.id]; as date) {\n <yuw-datepicker\n #picker\n triggerVariant=\"secondary\"\n class=\"max-w-80 gap-1.5\"\n [triggerColor]=\"idleColor()\"\n [mode]=\"date.mode\"\n [value]=\"date.value\"\n [presetId]=\"date.presetId\"\n [presets]=\"date.presets\"\n [presetsLabel]=\"labels().datePresets\"\n [formatDate]=\"labels().formatDate\"\n (valueChange)=\"onDateChange(group.id, $event, picker.presetId())\"\n >\n <ng-template yuwDatepickerTrigger let-summary>\n <span class=\"whitespace-nowrap font-semibold\">{{ group.label }}</span>\n\n @if (summary) {\n <span class=\"min-w-0 truncate font-normal\">{{ summary }}</span>\n }\n </ng-template>\n </yuw-datepicker>\n } @else {\n <yuw-combobox\n keepValueOnEscape\n triggerVariant=\"secondary\"\n triggerClass=\"max-w-80 gap-1.5\"\n [triggerColor]=\"idleColor()\"\n [multiple]=\"group.mode === 'multiple'\"\n [options]=\"options()[group.id]\"\n [searchPlaceholder]=\"group.label\"\n [value]=\"values()[group.id]\"\n [emptyText]=\"labels().empty\"\n [triggerAriaLabel]=\"group.label\"\n (valueChange)=\"onValueChange(group.id, $event)\"\n >\n <ng-template yuwComboboxTrigger let-summary>\n <span class=\"whitespace-nowrap font-semibold\">{{ group.label }}</span>\n\n @if (summary) {\n <span class=\"min-w-0 truncate font-normal\">{{ summary }}</span>\n }\n </ng-template>\n </yuw-combobox>\n }\n\n <yuw-button\n variant=\"secondary\"\n size=\"icon\"\n class=\"w-8 rounded-s-none\"\n [color]=\"idleColor()\"\n [ariaLabel]=\"labels().remove\"\n (clicked)=\"onRemoved(group.id)\"\n >\n <ng-icon name=\"lucideX\" size=\"14\" />\n </yuw-button>\n </div>\n }\n </div>\n }\n</fieldset>\n"
24670
24767
  }]
24671
24768
  }],
24672
24769
  propDecorators: {
@@ -25498,6 +25595,6 @@ i0.ɵɵngDeclareClassMetadata({
25498
25595
  }]
25499
25596
  }
25500
25597
  });
25501
- export { DATATABLE_ALIGN_CLASS, DATATABLE_LAYOUT_CLASS, DATATABLE_WRAP_CONTENT_CLASS, YUWS_AVATAR_NAME_HEADER_CLASS, YUWS_NO_DATA_PLACEHOLDER, YUW_DATATABLE_FEATURES, YUW_DATATABLE_WRAP_MIN_WIDTH, YUW_DATE_RANGES, YUW_PASSWORD_REVEAL_STATES, YUW_SIDEBAR_RAIL_ICON_SIZE, YUW_SIDEBAR_RAIL_WIDTH, YUW_TABLE_SHARE_FORMATS, YuwAccordion, YuwAccordionContentComponent, YuwAccordionImports, YuwAccordionItem, YuwAccordionTriggerComponent, YuwActionsCellComponent, YuwAlertActionDirective, YuwAlertComponent, YuwAlertDescriptionDirective, YuwAlertDialogComponent, YuwAlertDialogMediaDirective, YuwAlertDialogTriggerDirective, YuwAlertImports, YuwAlertTitleDirective, YuwAttachmentActionDirective, YuwAttachmentActionsDirective, YuwAttachmentContentDirective, YuwAttachmentDescriptionDirective, YuwAttachmentDirective, YuwAttachmentGroupDirective, YuwAttachmentMediaDirective, YuwAttachmentTitleDirective, YuwAttachmentTriggerDirective, YuwAvatarComponent, YuwBadgeComponent, YuwBreadcrumbComponent, YuwBreadcrumbTrailService, YuwButtonComponent, YuwButtonGroupComponent, YuwButtonGroupContentDirective, YuwCalendarComponent, YuwCaptionDirective, YuwCardActionDirective, YuwCardContentDirective, YuwCardDescriptionDirective, YuwCardDirective, YuwCardFooterDirective, YuwCardHeaderDirective, YuwCardImports, YuwCardTitleDirective, YuwCheckboxComponent, YuwClassDirective, YuwComboboxComponent, YuwComboboxItemDirective, YuwComboboxTriggerButtonDirective, YuwComboboxTriggerDirective, YuwCommandComponent, YuwCommandDialogComponent, YuwContextMenuCheckboxDirective, YuwContextMenuCheckboxIndicatorComponent, YuwContextMenuDirective, YuwContextMenuGroupDirective, YuwContextMenuImports, YuwContextMenuItemDirective, YuwContextMenuLabelDirective, YuwContextMenuRadioDirective, YuwContextMenuRadioIndicatorComponent, YuwContextMenuSeparatorDirective, YuwContextMenuShortcutDirective, YuwContextMenuSubDirective, YuwContextMenuSubIndicatorComponent, YuwContextMenuSubTriggerDirective, YuwContextMenuTriggerDirective, YuwDatatableComponent, YuwDatatablePaginationDirective, YuwDatatableRowSelect, YuwDatepickerComponent, YuwDatepickerTriggerDirective, YuwDialogCloseDirective, YuwDialogComponent, YuwDialogFooterDirective, YuwDialogImports, YuwDialogTriggerDirective, YuwEmptyContentDirective, YuwEmptyDescriptionDirective, YuwEmptyDirective, YuwEmptyHeaderDirective, YuwEmptyImports, YuwEmptyMediaDirective, YuwEmptyTitleDirective, YuwFieldBase, YuwInputAddonImports, YuwInputComponent, YuwInputFileComponent, YuwInputOtpComponent, YuwItemActionsDirective, YuwItemContentDirective, YuwItemDescriptionDirective, YuwItemDirective, YuwItemFooterDirective, YuwItemGroupDirective, YuwItemHeaderDirective, YuwItemImports, YuwItemMediaDirective, YuwItemSeparatorDirective, YuwItemTitleDirective, YuwLabel, YuwLayoutComponent, YuwLeftAddonDirective, YuwMouseScrollXDirective, YuwMouseScrollYDirective, YuwPaginationComponent, YuwPasswordInputComponent, YuwPopoverComponent, YuwPopoverTriggerDirective, YuwProgressComponent, YuwRadioGroupComponent, YuwRightAddonDirective, YuwSearchInputComponent, YuwSheetCloseDirective, YuwSheetComponent, YuwSheetFooterDirective, YuwSheetHeaderDirective, YuwSheetImports, YuwSheetTriggerDirective, YuwSidebarComponent, YuwSidebarContentDirective, YuwSidebarContentExtraDirective, YuwSidebarFooterDirective, YuwSidebarFooterExtraDirective, YuwSidebarGroupContentDirective, YuwSidebarGroupDirective, YuwSidebarGroupLabelDirective, YuwSidebarHeaderDirective, YuwSidebarInsetDirective, YuwSidebarMenuAvatarButtonDirective, YuwSidebarMenuBadgeDirective, YuwSidebarMenuButtonDirective, YuwSidebarMenuDirective, YuwSidebarMenuItemDirective, YuwSidebarMenuSubButtonDirective, YuwSidebarMenuSubDirective, YuwSidebarMenuSubItemDirective, YuwSidebarRailDirective, YuwSidebarRailService, YuwSidebarSeparatorDirective, YuwSidebarService, YuwSidebarSubmenuService, YuwSidebarTriggerComponent, YuwSidebarWrapperDirective, YuwSkeletonDirective, YuwSpinnerComponent, YuwStepIndicatorDirective, YuwStepPanelDirective, YuwStepperComponent, YuwSwitchCardComponent, YuwSwitchComponent, YuwTBodyDirective, YuwTFootDirective, YuwTHeadDirective, YuwTabContentDirective, YuwTabPanelDirective, YuwTableContainerDirective, YuwTableDirective, YuwTableImports, YuwTabsComponent, YuwTdDirective, YuwTextFieldBase, YuwTextareaComponent, YuwThDirective, YuwToasterComponent, YuwToggleGroupComponent, YuwTooltipDirective, YuwTrDirective, YuwValueAccessorBase, YuwsActiveStatusCellComponent, YuwsAdvanceOnEnterDirective, YuwsAvatarNameCellComponent, YuwsBadgeListCellComponent, YuwsCardGridComponent, YuwsCardGridItemComponent, YuwsClampedTextCellComponent, YuwsConfirmDialogComponent, YuwsCopyButtonComponent, YuwsFilterComboboxComponent, YuwsFilterContentDirective, YuwsFlagCellComponent, YuwsFormSheetComponent, YuwsIconActionCellComponent, YuwsImageCellComponent, YuwsImageFieldComponent, YuwsImageUploadComponent, YuwsLinkCellComponent, YuwsListPaginationComponent, YuwsListTableComponent, YuwsListToolbarComponent, YuwsMenuActionsCellComponent, YuwsOverflowListCellComponent, YuwsPageHeaderComponent, YuwsPageSizeComponent, YuwsSelectCellComponent, YuwsStackedTextCellComponent, YuwsStatusToggleCellComponent, YuwsTitleSkeletonDirective, YuwsWeekdayPickerComponent, buildInputOtpGroups, buildYuwActionsColumn, buildYuwTableSnapshot, buildYuwsActiveStatusColumn, buildYuwsDateTimeColumn, buildYuwsIconActionColumn, buildYuwsMenuActionsColumn, buildYuwsOptionalTextColumn, buildYuwsSelectColumn, buildYuwsStatusToggleColumn, cn, createPagedList, createYuwsSheetEditor, datatableCellVariants, datatableContainerVariants, datatableHeadVariants, datatableHeaderCellVariants, datatableRowVariants, getPaginationRange, provideValueAccessor, provideYuwSidebarConfig, shareTable, totalInputOtpLength, yuwCommandDefaultFilter, yuwCountdownToast, yuwDatePresets, yuwQuarterRange, yuwToast, yuwsDateFilterValue, yuwsInitialsOf, yuwsMediaQuerySignal, yuwsPendingRowClass, yuwsReadFileAsDataUrl, yuwsResolveDateFilter, yuwsStandardDatePresets };
25598
+ export { DATATABLE_ALIGN_CLASS, DATATABLE_LAYOUT_CLASS, DATATABLE_WRAP_CONTENT_CLASS, YUWS_AVATAR_NAME_HEADER_CLASS, YUWS_NO_DATA_PLACEHOLDER, YUW_DATATABLE_FEATURES, YUW_DATATABLE_WRAP_MIN_WIDTH, YUW_DATE_RANGES, YUW_MENU_INDICATOR_ITEM_CLASS, YUW_MENU_ITEM_CLASS, YUW_MENU_LABEL_CLASS, YUW_MENU_PANEL_CLASS, YUW_MENU_SEPARATOR_CLASS, YUW_PASSWORD_REVEAL_STATES, YUW_SIDEBAR_RAIL_ICON_SIZE, YUW_SIDEBAR_RAIL_WIDTH, YUW_TABLE_SHARE_FORMATS, YuwAccordion, YuwAccordionContentComponent, YuwAccordionImports, YuwAccordionItem, YuwAccordionTriggerComponent, YuwActionsCellComponent, YuwAlertActionDirective, YuwAlertComponent, YuwAlertDescriptionDirective, YuwAlertDialogComponent, YuwAlertDialogMediaDirective, YuwAlertDialogTriggerDirective, YuwAlertImports, YuwAlertTitleDirective, YuwAttachmentActionDirective, YuwAttachmentActionsDirective, YuwAttachmentContentDirective, YuwAttachmentDescriptionDirective, YuwAttachmentDirective, YuwAttachmentGroupDirective, YuwAttachmentMediaDirective, YuwAttachmentTitleDirective, YuwAttachmentTriggerDirective, YuwAvatarComponent, YuwBadgeComponent, YuwBreadcrumbComponent, YuwBreadcrumbTrailService, YuwButtonComponent, YuwButtonGroupComponent, YuwButtonGroupContentDirective, YuwCalendarComponent, YuwCaptionDirective, YuwCardActionDirective, YuwCardContentDirective, YuwCardDescriptionDirective, YuwCardDirective, YuwCardFooterDirective, YuwCardHeaderDirective, YuwCardImports, YuwCardTitleDirective, YuwCheckboxComponent, YuwClassDirective, YuwComboboxComponent, YuwComboboxItemDirective, YuwComboboxTriggerButtonDirective, YuwComboboxTriggerDirective, YuwCommandComponent, YuwCommandDialogComponent, YuwContextMenuCheckboxDirective, YuwContextMenuCheckboxIndicatorComponent, YuwContextMenuDirective, YuwContextMenuGroupDirective, YuwContextMenuImports, YuwContextMenuItemDirective, YuwContextMenuLabelDirective, YuwContextMenuRadioDirective, YuwContextMenuRadioIndicatorComponent, YuwContextMenuSeparatorDirective, YuwContextMenuShortcutDirective, YuwContextMenuSubDirective, YuwContextMenuSubIndicatorComponent, YuwContextMenuSubTriggerDirective, YuwContextMenuTriggerDirective, YuwDatatableComponent, YuwDatatablePaginationDirective, YuwDatatableRowSelect, YuwDatepickerComponent, YuwDatepickerTriggerDirective, YuwDialogCloseDirective, YuwDialogComponent, YuwDialogFooterDirective, YuwDialogImports, YuwDialogTriggerDirective, YuwEmptyContentDirective, YuwEmptyDescriptionDirective, YuwEmptyDirective, YuwEmptyHeaderDirective, YuwEmptyImports, YuwEmptyMediaDirective, YuwEmptyTitleDirective, YuwFieldBase, YuwInputAddonImports, YuwInputComponent, YuwInputFileComponent, YuwInputOtpComponent, YuwItemActionsDirective, YuwItemContentDirective, YuwItemDescriptionDirective, YuwItemDirective, YuwItemFooterDirective, YuwItemGroupDirective, YuwItemHeaderDirective, YuwItemImports, YuwItemMediaDirective, YuwItemSeparatorDirective, YuwItemTitleDirective, YuwLabel, YuwLayoutComponent, YuwLeftAddonDirective, YuwMouseScrollXDirective, YuwMouseScrollYDirective, YuwPaginationComponent, YuwPasswordInputComponent, YuwPopoverComponent, YuwPopoverTriggerDirective, YuwProgressComponent, YuwRadioGroupComponent, YuwRightAddonDirective, YuwSearchInputComponent, YuwSheetCloseDirective, YuwSheetComponent, YuwSheetFooterDirective, YuwSheetHeaderDirective, YuwSheetImports, YuwSheetTriggerDirective, YuwSidebarComponent, YuwSidebarContentDirective, YuwSidebarContentExtraDirective, YuwSidebarFooterDirective, YuwSidebarFooterExtraDirective, YuwSidebarGroupContentDirective, YuwSidebarGroupDirective, YuwSidebarGroupLabelDirective, YuwSidebarHeaderDirective, YuwSidebarInsetDirective, YuwSidebarMenuAvatarButtonDirective, YuwSidebarMenuBadgeDirective, YuwSidebarMenuButtonDirective, YuwSidebarMenuDirective, YuwSidebarMenuItemDirective, YuwSidebarMenuSubButtonDirective, YuwSidebarMenuSubDirective, YuwSidebarMenuSubItemDirective, YuwSidebarRailDirective, YuwSidebarRailService, YuwSidebarSeparatorDirective, YuwSidebarService, YuwSidebarSubmenuService, YuwSidebarTriggerComponent, YuwSidebarWrapperDirective, YuwSkeletonDirective, YuwSpinnerComponent, YuwStepIndicatorDirective, YuwStepPanelDirective, YuwStepperComponent, YuwSwitchCardComponent, YuwSwitchComponent, YuwTBodyDirective, YuwTFootDirective, YuwTHeadDirective, YuwTabContentDirective, YuwTabPanelDirective, YuwTableContainerDirective, YuwTableDirective, YuwTableImports, YuwTabsComponent, YuwTdDirective, YuwTextFieldBase, YuwTextareaComponent, YuwThDirective, YuwToasterComponent, YuwToggleGroupComponent, YuwTooltipDirective, YuwTrDirective, YuwValueAccessorBase, YuwsActiveStatusCellComponent, YuwsAdvanceOnEnterDirective, YuwsAvatarNameCellComponent, YuwsBadgeListCellComponent, YuwsCardGridComponent, YuwsCardGridItemComponent, YuwsClampedTextCellComponent, YuwsConfirmDialogComponent, YuwsCopyButtonComponent, YuwsFilterComboboxComponent, YuwsFilterContentDirective, YuwsFlagCellComponent, YuwsFormSheetComponent, YuwsIconActionCellComponent, YuwsImageCellComponent, YuwsImageFieldComponent, YuwsImageUploadComponent, YuwsLinkCellComponent, YuwsListPaginationComponent, YuwsListTableComponent, YuwsListToolbarComponent, YuwsMenuActionsCellComponent, YuwsOverflowListCellComponent, YuwsPageHeaderComponent, YuwsPageSizeComponent, YuwsSelectCellComponent, YuwsStackedTextCellComponent, YuwsStatusToggleCellComponent, YuwsTitleSkeletonDirective, YuwsWeekdayPickerComponent, buildInputOtpGroups, buildYuwActionsColumn, buildYuwTableSnapshot, buildYuwsActiveStatusColumn, buildYuwsDateTimeColumn, buildYuwsIconActionColumn, buildYuwsMenuActionsColumn, buildYuwsOptionalTextColumn, buildYuwsSelectColumn, buildYuwsStatusToggleColumn, cn, createPagedList, createYuwsSheetEditor, datatableCellVariants, datatableContainerVariants, datatableHeadVariants, datatableHeaderCellVariants, datatableRowVariants, getPaginationRange, provideValueAccessor, provideYuwSidebarConfig, shareTable, totalInputOtpLength, yuwCommandDefaultFilter, yuwCountdownToast, yuwDatePresets, yuwQuarterRange, yuwToast, yuwsDateFilterValue, yuwsInitialsOf, yuwsMediaQuerySignal, yuwsPendingRowClass, yuwsReadFileAsDataUrl, yuwsResolveDateFilter, yuwsStandardDatePresets };
25502
25599
 
25503
25600
  //# sourceMappingURL=yukit-web.mjs.map