@coreui/angular-pro 5.6.22 → 5.6.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreui/angular-pro",
3
- "version": "5.6.22",
3
+ "version": "5.6.23",
4
4
  "description": "CoreUI Pro Components Library for Angular",
5
5
  "copyright": "Copyright 2026 creativeLabs Łukasz Holeczek",
6
6
  "homepage": "https://coreui.io/angular",
@@ -22,14 +22,14 @@
22
22
  },
23
23
  "sideEffects": false,
24
24
  "peerDependencies": {
25
- "@angular/animations": "^21.2.10",
26
- "@angular/cdk": "^21.2.8",
27
- "@angular/common": "^21.2.10",
28
- "@angular/core": "^21.2.10",
29
- "@angular/forms": "^21.2.0",
30
- "@angular/router": "^21.2.10",
25
+ "@angular/animations": "^21.2.12",
26
+ "@angular/cdk": "^21.2.10",
27
+ "@angular/common": "^21.2.12",
28
+ "@angular/core": "^21.2.12",
29
+ "@angular/forms": "^21.2.12",
30
+ "@angular/router": "^21.2.12",
31
31
  "@coreui/coreui-pro": "^5.22.0",
32
- "@coreui/icons-angular": "~5.6.22",
32
+ "@coreui/icons-angular": "~5.6.23",
33
33
  "rxjs": "^7.8.2"
34
34
  },
35
35
  "repository": {
@@ -1,6 +1,6 @@
1
1
  import { IsActiveMatchOptions, UrlTree, Router, NavigationEnd } from '@angular/router';
2
2
  import * as _angular_core from '@angular/core';
3
- import { ElementRef, TemplateRef, ModuleWithProviders, OnInit, OnDestroy, InputSignal, InputSignalWithTransform, QueryList, AfterViewInit, PipeTransform, AfterContentInit, AfterContentChecked, ModelSignal, ChangeDetectorRef, ViewContainerRef, OutputEmitterRef, WritableSignal, OnChanges, SimpleChanges, Renderer2, ComponentRef, Injector, NgModuleRef } from '@angular/core';
3
+ import { ElementRef, TemplateRef, ModuleWithProviders, OnInit, OnDestroy, WritableSignal, InputSignal, InputSignalWithTransform, QueryList, AfterViewInit, PipeTransform, AfterContentInit, AfterContentChecked, ModelSignal, ChangeDetectorRef, ViewContainerRef, OutputEmitterRef, OnChanges, SimpleChanges, Renderer2, ComponentRef, Injector, NgModuleRef } from '@angular/core';
4
4
  import * as _coreui_angular_pro from '@coreui/angular-pro';
5
5
  import { BooleanInput as BooleanInput$1, NumberInput as NumberInput$1 } from '@angular/cdk/coercion';
6
6
  import { ControlValueAccessor, FormGroup, FormControl } from '@angular/forms';
@@ -192,6 +192,7 @@ type Search = 'external' | 'global' | {
192
192
  external?: boolean;
193
193
  global?: boolean;
194
194
  };
195
+ type ValueOrigin = 'form' | 'event' | 'input' | 'program' | undefined;
195
196
 
196
197
  declare class AutocompleteDirective implements OnInit, ControlValueAccessor {
197
198
  #private;
@@ -259,7 +260,7 @@ declare class AutocompleteDirective implements OnInit, ControlValueAccessor {
259
260
  * Users cannot type, select options, or trigger the dropdown.
260
261
  */
261
262
  readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
262
- readonly disabledState: _angular_core.WritableSignal<boolean | null>;
263
+ readonly disabledState: WritableSignal<boolean | null>;
263
264
  /**
264
265
  * Highlight options that match the search criteria.
265
266
  * When `true`, matching portions of option labels are visually highlighted
@@ -315,7 +316,7 @@ declare class AutocompleteDirective implements OnInit, ControlValueAccessor {
315
316
  * @default 'auto'
316
317
  */
317
318
  readonly optionsMaxHeightInput: _angular_core.InputSignal<string | number>;
318
- readonly optionsMaxHeight: _angular_core.WritableSignal<string | number>;
319
+ readonly optionsMaxHeight: WritableSignal<string | number>;
319
320
  /**
320
321
  * Custom template for rendering individual options.
321
322
  * Allows complete customization of how each option appears in the dropdown.
@@ -390,8 +391,8 @@ declare class AutocompleteDirective implements OnInit, ControlValueAccessor {
390
391
  * Can be a string (matched against option labels) or number (matched against option values).
391
392
  * The component will attempt to find and select the matching option on mount.
392
393
  */
393
- readonly valueInput: _angular_core.InputSignal<string | number | undefined>;
394
- readonly value: _angular_core.WritableSignal<string | number | undefined>;
394
+ readonly value: _angular_core.ModelSignal<string | number | undefined>;
395
+ protected updateModel(value: number | string | undefined, origin: ValueOrigin): void;
395
396
  /**
396
397
  * Enable virtual scroller for the options list.
397
398
  * When `true`, only visible options are rendered in the DOM for better performance
@@ -405,7 +406,7 @@ declare class AutocompleteDirective implements OnInit, ControlValueAccessor {
405
406
  * The dropdown visibility can still be toggled through user interaction.
406
407
  */
407
408
  readonly visibleInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
408
- readonly visible: _angular_core.WritableSignal<boolean>;
409
+ readonly visible: WritableSignal<boolean>;
409
410
  /**
410
411
  * Amount of visible items when virtualScroller is enabled.
411
412
  * Determines how many option items are rendered at once when virtual scrolling is active.
@@ -440,12 +441,12 @@ declare class AutocompleteDirective implements OnInit, ControlValueAccessor {
440
441
  readonly filteredOptions: _angular_core.Signal<_coreui_angular_pro.IAutocompleteOptionNorm[]>;
441
442
  protected handleSearch(value: string | undefined): void;
442
443
  handleClear(): void;
443
- protected handleSelect(option?: IAutocompleteOption | null): void;
444
+ protected handleSelect(option?: IAutocompleteOption | null, origin?: ValueOrigin): void;
444
445
  protected dispatchInputEvent(value: string): void;
445
446
  protected handleDropdownHide(): void;
446
447
  protected handleDropdownShow(): void;
447
448
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AutocompleteDirective, never>;
448
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AutocompleteDirective, "input[cAutocomplete]", ["cAutocomplete"], { "popperOptionsInput": { "alias": "popperOptions"; "required": false; "isSignal": true; }; "allowOnlyDefinedOptions": { "alias": "allowOnlyDefinedOptions"; "required": false; "isSignal": true; }; "cleaner": { "alias": "cleaner"; "required": false; "isSignal": true; }; "clearSearchOnSelect": { "alias": "clearSearchOnSelect"; "required": false; "isSignal": true; }; "delay": { "alias": "delay"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "highlightOptionsOnSearch": { "alias": "highlightOptionsOnSearch"; "required": false; "isSignal": true; }; "idInput": { "alias": "id"; "required": false; "isSignal": true; }; "indicator": { "alias": "indicator"; "required": false; "isSignal": true; }; "itemSize": { "alias": "itemSize"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "optionsInput": { "alias": "options"; "required": true; "isSignal": true; }; "optionsMaxHeightInput": { "alias": "optionsMaxHeight"; "required": false; "isSignal": true; }; "optionTemplate": { "alias": "optionTemplate"; "required": false; "isSignal": true; }; "optionGroupTemplate": { "alias": "optionGroupTemplate"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "resetSelectionOnOptionsChange": { "alias": "resetSelectionOnOptionsChange"; "required": false; "isSignal": true; }; "search": { "alias": "search"; "required": false; "isSignal": true; }; "searchNoResultsLabel": { "alias": "searchNoResultsLabel"; "required": false; "isSignal": true; }; "showHints": { "alias": "showHints"; "required": false; "isSignal": true; }; "sizing": { "alias": "sizing"; "required": false; "isSignal": true; }; "valid": { "alias": "valid"; "required": false; "isSignal": true; }; "valueInput": { "alias": "value"; "required": false; "isSignal": true; }; "virtualScroller": { "alias": "virtualScroller"; "required": false; "isSignal": true; }; "visibleInput": { "alias": "visible"; "required": false; "isSignal": true; }; "visibleItemsInput": { "alias": "visibleItems"; "required": false; "isSignal": true; }; }, { "inputChange": "inputChange"; "optionChange": "optionChange"; "valueChange": "valueChange"; "visibleChange": "visibleChange"; }, never, never, true, never>;
449
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AutocompleteDirective, "input[cAutocomplete]", ["cAutocomplete"], { "popperOptionsInput": { "alias": "popperOptions"; "required": false; "isSignal": true; }; "allowOnlyDefinedOptions": { "alias": "allowOnlyDefinedOptions"; "required": false; "isSignal": true; }; "cleaner": { "alias": "cleaner"; "required": false; "isSignal": true; }; "clearSearchOnSelect": { "alias": "clearSearchOnSelect"; "required": false; "isSignal": true; }; "delay": { "alias": "delay"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "highlightOptionsOnSearch": { "alias": "highlightOptionsOnSearch"; "required": false; "isSignal": true; }; "idInput": { "alias": "id"; "required": false; "isSignal": true; }; "indicator": { "alias": "indicator"; "required": false; "isSignal": true; }; "itemSize": { "alias": "itemSize"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "optionsInput": { "alias": "options"; "required": true; "isSignal": true; }; "optionsMaxHeightInput": { "alias": "optionsMaxHeight"; "required": false; "isSignal": true; }; "optionTemplate": { "alias": "optionTemplate"; "required": false; "isSignal": true; }; "optionGroupTemplate": { "alias": "optionGroupTemplate"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "resetSelectionOnOptionsChange": { "alias": "resetSelectionOnOptionsChange"; "required": false; "isSignal": true; }; "search": { "alias": "search"; "required": false; "isSignal": true; }; "searchNoResultsLabel": { "alias": "searchNoResultsLabel"; "required": false; "isSignal": true; }; "showHints": { "alias": "showHints"; "required": false; "isSignal": true; }; "sizing": { "alias": "sizing"; "required": false; "isSignal": true; }; "valid": { "alias": "valid"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "virtualScroller": { "alias": "virtualScroller"; "required": false; "isSignal": true; }; "visibleInput": { "alias": "visible"; "required": false; "isSignal": true; }; "visibleItemsInput": { "alias": "visibleItems"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "inputChange": "inputChange"; "optionChange": "optionChange"; "valueChange": "valueChange"; "visibleChange": "visibleChange"; }, never, never, true, never>;
449
450
  }
450
451
 
451
452
  declare class AutocompleteModule {
@@ -7006,4 +7007,4 @@ declare class WidgetModule {
7006
7007
  }
7007
7008
 
7008
7009
  export { AccordionButtonDirective, AccordionComponent, AccordionItemComponent, AccordionModule, AlertComponent, AlertHeadingDirective, AlertLinkDirective, AlertModule, AlignDirective, AutocompleteDirective, AutocompleteModule, AvatarComponent, AvatarModule, BackdropService, BadgeComponent, BadgeModule, BgColorDirective, BorderDirective, BreadcrumbComponent, BreadcrumbItemComponent, BreadcrumbModule, BreadcrumbRouterComponent, BreadcrumbRouterService, BreakpointInfix, ButtonCloseDirective, ButtonDirective, ButtonGroupComponent, ButtonGroupModule, ButtonModule, ButtonToolbarComponent, CalendarComponent, CalendarModule, CalendarMonthComponent, CalendarNavigationComponent, CalloutComponent, CalloutModule, CardBodyComponent, CardComponent, CardFooterComponent, CardGroupComponent, CardHeaderActionsComponent, CardHeaderComponent, CardImgDirective, CardImgOverlayComponent, CardLinkDirective, CardModule, CardSubtitleDirective, CardTextDirective, CardTitleDirective, CarouselCaptionComponent, CarouselComponent, CarouselConfig, CarouselControlComponent, CarouselIndicatorsComponent, CarouselInnerComponent, CarouselItemComponent, CarouselModule, ClassToggleService, ColComponent, ColDirective, CollapseDirective, CollapseModule, ColorModeService, ContainerComponent, DatePickerComponent, DatePickerModule, DateRangePickerComponent, DateRangePickerModule, DropdownCloseDirective, DropdownComponent, DropdownDividerDirective, DropdownHeaderDirective, DropdownItemDirective, DropdownItemPlainDirective, DropdownMenuDirective, DropdownModule, DropdownService, DropdownToggleDirective, ElementCoverComponent, ElementCoverModule, ElementRefDirective, FooterComponent, FooterModule, FormCheckComponent, FormCheckInputDirective, FormCheckLabelDirective, FormControlDirective, FormDirective, FormFeedbackComponent, FormFloatingDirective, FormLabelDirective, FormModule, FormPasswordDirective, FormSelectDirective, FormTextDirective, GridModule, GutterDirective, HeaderBrandComponent, HeaderComponent, HeaderDividerComponent, HeaderModule, HeaderNavComponent, HeaderTextComponent, HeaderTogglerDirective, HtmlAttributesDirective, ImgDirective, ImgModule, InMemoryStorageService, InputGroupComponent, InputGroupTextDirective, IntersectionService, ListGroupDirective, ListGroupItemDirective, ListGroupModule, ListenersService, LoadingButtonComponent, LoadingButtonModule, LocalStorageService, ModalBodyComponent, ModalComponent, ModalContentComponent, ModalDialogComponent, ModalFooterComponent, ModalHeaderComponent, ModalModule, ModalService, ModalTitleDirective, ModalToggleDirective, MultiSelectComponent, MultiSelectModule, MultiSelectOptgroupComponent, MultiSelectOptgroupLabelComponent, MultiSelectOptionComponent, NavComponent, NavItemComponent, NavLinkDirective, NavModule, NavbarBrandDirective, NavbarComponent, NavbarModule, NavbarNavComponent, NavbarTextComponent, NavbarTogglerDirective, OffcanvasBodyComponent, OffcanvasComponent, OffcanvasHeaderComponent, OffcanvasModule, OffcanvasService, OffcanvasTitleDirective, OffcanvasToggleDirective, OneTimePasswordComponent, OneTimePasswordModule, OtpDirective, PageItemComponent, PageItemDirective, PageLinkDirective, PaginationComponent, PaginationModule, PlaceholderAnimationDirective, PlaceholderDirective, PlaceholderModule, PopoverComponent, PopoverDirective, PopoverModule, ProgressBarComponent, ProgressBarDirective, ProgressComponent, ProgressModule, ProgressStackedComponent, RangeSliderComponent, RangeSliderModule, RatingComponent, RatingModule, RoundedDirective, RowComponent, RowDirective, RtlService, ShadowOnScrollDirective, SharedModule, SidebarBrandComponent, SidebarComponent, SidebarFooterComponent, SidebarHeaderComponent, SidebarModule, SidebarNavComponent, SidebarNavHelper, SidebarService, SidebarToggleDirective, SidebarTogglerDirective, SmartPaginationComponent, SmartPaginationModule, SmartTableComponent, SmartTableFilterComponent, SmartTableModule, SpinnerComponent, SpinnerModule, StepButtonDirective, StepperComponent, StepperModule, StepperStepComponent, TabContentComponent, TabContentRefDirective, TabDirective, TabPaneComponent, TabPanelComponent, TabService, TableActiveDirective, TableColorDirective, TableDirective, TableModule, Tabs2Module, TabsComponent, TabsContentComponent, TabsListComponent, TabsModule, TabsService, TemplateIdDirective, TextBgColorDirective, TextColorDirective, ThemeDirective, TimePickerComponent, TimePickerModule, ToastBodyComponent, ToastCloseDirective, ToastComponent, ToastHeaderComponent, ToastModule, ToasterComponent, ToasterHostDirective, ToasterPlacement, ToasterService, TooltipComponent, TooltipDirective, TooltipModule, UIDService, UtilitiesModule, WidgetModule, WidgetStatAComponent, WidgetStatBComponent, WidgetStatCComponent, WidgetStatDComponent, WidgetStatEComponent, WidgetStatFComponent };
7009
- export type { Alignment, AutocompleteOption, BackgroundColors, BadgePositions, BooleanInput, BreakpointInfixStrings, Breakpoints, ButtonType, ColorMode, Colors, Directions, IAutocompleteOption, IAutocompleteOptionBase, IAutocompleteOptionNorm, IBreadcrumbItem, ICalendarRanges, IColumn, IColumnFilter, IColumnFilterValue, IGroup, IIntersectionObserverInit, IItem, IItemInternal, IListenersConfig, INavAttributes$1 as INavAttributes, INavData, INavLinkProps$1 as INavLinkProps, IOption, IProgress, IProgressBar, IProgressBarStacked, ISmartTable, ISorter, ISorterValue, ITableCellProps, ITableFilter, ITableHeaderCellProps, ITableSectionProps, InputType, ItemsPerPageSelect, Label, NgCssClass, NumberInput, Placements, Positions, Search, SearchFn, Shapes, Sizes, SortOrder, StepperRef, StepperStepData, StepperStepValidationResult, TToasterPlacement, TextColors, ThumbSize, Triggers };
7010
+ export type { Alignment, AutocompleteOption, BackgroundColors, BadgePositions, BooleanInput, BreakpointInfixStrings, Breakpoints, ButtonType, ColorMode, Colors, Directions, IAutocompleteOption, IAutocompleteOptionBase, IAutocompleteOptionNorm, IBreadcrumbItem, ICalendarRanges, IColumn, IColumnFilter, IColumnFilterValue, IGroup, IIntersectionObserverInit, IItem, IItemInternal, IListenersConfig, INavAttributes$1 as INavAttributes, INavData, INavLinkProps$1 as INavLinkProps, IOption, IProgress, IProgressBar, IProgressBarStacked, ISmartTable, ISorter, ISorterValue, ITableCellProps, ITableFilter, ITableHeaderCellProps, ITableSectionProps, InputType, ItemsPerPageSelect, Label, NgCssClass, NumberInput, Placements, Positions, Search, SearchFn, Shapes, Sizes, SortOrder, StepperRef, StepperStepData, StepperStepValidationResult, TToasterPlacement, TextColors, ThumbSize, Triggers, ValueOrigin };