@coreui/angular 5.7.11 → 5.7.13

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",
3
- "version": "5.7.11",
3
+ "version": "5.7.13",
4
4
  "description": "CoreUI Components Library for Angular",
5
5
  "copyright": "Copyright 2026 creativeLabs Łukasz Holeczek",
6
6
  "license": "MIT",
@@ -30,7 +30,7 @@
30
30
  "@angular/core": "^22.1.0",
31
31
  "@angular/router": "^22.1.0",
32
32
  "@coreui/coreui": "^5.9.0",
33
- "@coreui/icons-angular": "~5.7.11",
33
+ "@coreui/icons-angular": "~5.7.13",
34
34
  "rxjs": "^7.8.2"
35
35
  },
36
36
  "repository": {
@@ -1,14 +1,14 @@
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, AfterContentInit, AfterContentChecked, AfterViewInit, Renderer2, ViewContainerRef, WritableSignal, OnChanges, SimpleChanges, PipeTransform, QueryList, OutputEmitterRef, ComponentRef, Injector, NgModuleRef, DestroyRef, ChangeDetectorRef, AnimationCallbackEvent } from '@angular/core';
4
- import { AnimationEvent } from '@angular/animations';
3
+ import { ElementRef, TemplateRef, ModuleWithProviders, OnInit, OnDestroy, AnimationCallbackEvent, InputSignal, InputSignalWithTransform, AfterContentInit, AfterContentChecked, AfterViewInit, Renderer2, ViewContainerRef, WritableSignal, OnChanges, SimpleChanges, PipeTransform, QueryList, OutputEmitterRef, ComponentRef, Injector, NgModuleRef, DestroyRef, ChangeDetectorRef } from '@angular/core';
5
4
  import * as rxjs from 'rxjs';
6
5
  import { Observable, Subscription } from 'rxjs';
6
+ import { BooleanInput as BooleanInput$1, NumberInput as NumberInput$1 } from '@angular/cdk/coercion';
7
7
  import { FocusableOption, FocusOrigin } from '@angular/cdk/a11y';
8
8
  import * as _popperjs_core from '@popperjs/core';
9
9
  import { Placement, Options } from '@popperjs/core';
10
10
  import * as node_modules_rxjs_dist_types from 'node_modules/rxjs/dist/types';
11
- import { BooleanInput as BooleanInput$1, NumberInput as NumberInput$1 } from '@angular/cdk/coercion';
11
+ import { AnimationEvent } from '@angular/animations';
12
12
 
13
13
  declare type BooleanInput = string | boolean | null | undefined;
14
14
  declare type NumberInput = string | number | null | undefined;
@@ -185,7 +185,6 @@ declare class AlertLinkDirective {
185
185
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AlertLinkDirective, "[cAlertLink]", never, {}, {}, never, never, true, never>;
186
186
  }
187
187
 
188
- type AnimateType = 'hide' | 'show';
189
188
  declare class AlertComponent {
190
189
  #private;
191
190
  /**
@@ -206,39 +205,36 @@ declare class AlertComponent {
206
205
  */
207
206
  readonly variant: _angular_core.InputSignal<"solid" | undefined>;
208
207
  /**
209
- * Optionally adds a close button to alert and allow it to self dismiss.
208
+ * Optionally adds a close button to the alert and allow it to self-dismiss.
210
209
  * @return boolean
211
210
  * @default false
212
211
  */
213
- readonly dismissibleInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
214
- set dismissible(value: boolean);
215
- get dismissible(): boolean;
212
+ readonly dismissible: _angular_core.InputSignalWithTransform<boolean, unknown>;
216
213
  /**
217
214
  * Adds animation for dismissible alert.
218
215
  * @return boolean
219
216
  */
220
217
  readonly fade: _angular_core.InputSignalWithTransform<boolean, unknown>;
221
218
  /**
222
- * Toggle the visibility of alert component.
219
+ * Toggle the visibility of the alert component.
223
220
  * @return boolean
224
221
  */
225
222
  readonly visibleInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
226
- set visible(value: boolean);
227
- get visible(): boolean;
228
- readonly hide: _angular_core.WritableSignal<boolean>;
223
+ readonly visible: _angular_core.WritableSignal<boolean>;
229
224
  /**
230
- * Event triggered on the alert dismiss.
225
+ * Event triggered on the alert visibility change.
226
+ * @return boolean
231
227
  */
232
228
  readonly visibleChange: _angular_core.OutputEmitterRef<boolean>;
233
- readonly contentTemplates: _angular_core.Signal<readonly TemplateIdDirective[]>;
234
- readonly templates: _angular_core.Signal<Record<string, TemplateRef<any>>>;
235
- get animateType(): AnimateType;
236
- readonly hostClasses: _angular_core.Signal<Record<string, boolean>>;
237
- onAnimationStart($event: AnimationEvent): void;
238
- onAnimationDone($event: AnimationEvent): void;
239
- onAnimationEvent(event: AnimationEvent): void;
229
+ protected readonly hide: _angular_core.WritableSignal<boolean>;
230
+ protected readonly contentTemplates: _angular_core.Signal<readonly TemplateIdDirective[]>;
231
+ protected readonly templates: _angular_core.Signal<Record<string, TemplateRef<any>>>;
232
+ protected readonly hostClasses: _angular_core.Signal<Record<string, boolean>>;
233
+ protected onTransitionStart($event: TransitionEvent): void;
234
+ protected onTransitionEnd($event: TransitionEvent): void;
235
+ protected handleLeaving($event: AnimationCallbackEvent): void;
240
236
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertComponent, never>;
241
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertComponent, "c-alert", ["cAlert"], { "color": { "alias": "color"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "dismissibleInput": { "alias": "dismissible"; "required": false; "isSignal": true; }; "fade": { "alias": "fade"; "required": false; "isSignal": true; }; "visibleInput": { "alias": "visible"; "required": false; "isSignal": true; }; }, { "visibleChange": "visibleChange"; }, ["contentTemplates"], ["*"], true, never>;
237
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertComponent, "c-alert", ["cAlert"], { "color": { "alias": "color"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; "fade": { "alias": "fade"; "required": false; "isSignal": true; }; "visibleInput": { "alias": "visible"; "required": false; "isSignal": true; }; }, { "visibleChange": "visibleChange"; }, ["contentTemplates"], ["*"], true, never>;
242
238
  }
243
239
 
244
240
  declare class AlertModule {
@@ -866,53 +862,54 @@ declare class CarouselModule {
866
862
 
867
863
  declare class CollapseDirective implements OnDestroy {
868
864
  #private;
869
- constructor();
865
+ static ngAcceptInputType_animate: BooleanInput$1;
866
+ static ngAcceptInputType_horizontal: BooleanInput$1;
867
+ static ngAcceptInputType_navbar: BooleanInput$1;
868
+ static ngAcceptInputType_visible: BooleanInput$1;
870
869
  /**
871
- * @ignore
870
+ * @ignore internal
872
871
  */
873
872
  readonly animateInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
874
873
  readonly animate: _angular_core.WritableSignal<boolean>;
875
874
  /**
876
875
  * Set horizontal collapsing to transition the width instead of height.
877
- * @type boolean
876
+ * @return boolean
878
877
  * @default false
879
878
  */
880
879
  readonly horizontal: _angular_core.InputSignalWithTransform<boolean, unknown>;
881
880
  /**
882
- * Toggle the visibility of collapsible element.
883
- * @type boolean
881
+ * Toggle the visibility of a collapsible element.
882
+ * @return boolean
884
883
  * @default false
885
884
  */
886
885
  readonly visibleInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
886
+ /**
887
+ * Event emitted on visibility change. [docs]
888
+ * @return boolean
889
+ */
887
890
  readonly visibleChange: _angular_core.OutputEmitterRef<boolean>;
888
891
  readonly visible: _angular_core.WritableSignal<boolean>;
889
892
  /**
890
- * Add `navbar` prop for grouping and hiding navbar contents by a parent breakpoint.
891
- * @type boolean
893
+ * Add a `navbar` prop for grouping and hiding navbar contents by a parent breakpoint.
894
+ * @return boolean
892
895
  * @default false
893
896
  */
894
897
  readonly navbar: _angular_core.InputSignalWithTransform<boolean, unknown>;
895
- /**
896
- * @ignore
897
- */
898
- readonly duration: _angular_core.InputSignal<string>;
899
- /**
900
- * @ignore
901
- */
902
- readonly transition: _angular_core.InputSignal<string>;
903
898
  /**
904
899
  * Event emitted on visibility change. [docs]
905
- * @type string
900
+ * @return string
906
901
  */
907
902
  readonly collapseChange: _angular_core.OutputEmitterRef<string>;
908
- readonly hostClasses: _angular_core.Signal<Record<string, boolean>>;
903
+ protected readonly hostClasses: _angular_core.Signal<Record<string, boolean>>;
909
904
  ngOnDestroy(): void;
910
905
  toggle(visible?: boolean): void;
911
- destroyPlayer(): void;
912
- createPlayer(visible?: boolean): void;
913
- setMaxSize(): void;
906
+ protected clearPendingCallbacks(): void;
907
+ protected setInitialState(visible: boolean): void;
908
+ protected runTransition(visible: boolean): void;
909
+ protected finishTransition(visible: boolean, host: HTMLElement, dimension: string): void;
910
+ protected setMaxSize(): void;
914
911
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<CollapseDirective, never>;
915
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CollapseDirective, "[cCollapse]", ["cCollapse"], { "animateInput": { "alias": "animate"; "required": false; "isSignal": true; }; "horizontal": { "alias": "horizontal"; "required": false; "isSignal": true; }; "visibleInput": { "alias": "visible"; "required": false; "isSignal": true; }; "navbar": { "alias": "navbar"; "required": false; "isSignal": true; }; "duration": { "alias": "duration"; "required": false; "isSignal": true; }; "transition": { "alias": "transition"; "required": false; "isSignal": true; }; }, { "visibleChange": "visibleChange"; "collapseChange": "collapseChange"; }, never, never, true, never>;
912
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CollapseDirective, "[cCollapse]", ["cCollapse"], { "animateInput": { "alias": "animate"; "required": false; "isSignal": true; }; "horizontal": { "alias": "horizontal"; "required": false; "isSignal": true; }; "visibleInput": { "alias": "visible"; "required": false; "isSignal": true; }; "navbar": { "alias": "navbar"; "required": false; "isSignal": true; }; }, { "visibleChange": "visibleChange"; "collapseChange": "collapseChange"; }, never, never, true, never>;
916
913
  }
917
914
 
918
915
  declare class CollapseModule {
@@ -1828,23 +1825,23 @@ declare class NavbarTogglerDirective {
1828
1825
  constructor();
1829
1826
  /**
1830
1827
  * Reference to navbar collapse element (via # template variable) . [docs]
1831
- * @type string
1828
+ * @return string
1832
1829
  * @default 'button'
1833
1830
  */
1834
1831
  readonly collapseRef: _angular_core.InputSignal<CollapseDirective | undefined>;
1835
1832
  /**
1836
1833
  * Default type for navbar-toggler. [docs]
1837
- * @type string
1834
+ * @return string
1838
1835
  * @default 'button'
1839
1836
  */
1840
1837
  readonly type: _angular_core.InputSignal<string>;
1841
1838
  /**
1842
1839
  * Default aria-label attr for navbar-toggler. [docs]
1843
- * @type string
1840
+ * @return string
1844
1841
  * @default 'Toggle navigation'
1845
1842
  */
1846
1843
  readonly ariaLabel: _angular_core.InputSignal<string>;
1847
- handleClick($event: MouseEvent): void;
1844
+ protected handleClick($event: MouseEvent): void;
1848
1845
  addDefaultIcon(): void;
1849
1846
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NavbarTogglerDirective, never>;
1850
1847
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NavbarTogglerDirective, "[cNavbarToggler]", never, { "collapseRef": { "alias": "cNavbarToggler"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;