@coreui/angular-pro 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-pro",
3
- "version": "5.7.11",
3
+ "version": "5.7.13",
4
4
  "description": "CoreUI Pro Components Library for Angular",
5
5
  "copyright": "Copyright 2026 creativeLabs Łukasz Holeczek",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -31,7 +31,7 @@
31
31
  "@angular/forms": "^22.1.0",
32
32
  "@angular/router": "^22.1.0",
33
33
  "@coreui/coreui-pro": "^5.27.0",
34
- "@coreui/icons-angular": "~5.7.11",
34
+ "@coreui/icons-angular": "~5.7.13",
35
35
  "rxjs": "^7.8.2"
36
36
  },
37
37
  "repository": {
@@ -1,18 +1,18 @@
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, WritableSignal, InputSignal, InputSignalWithTransform, QueryList, AfterViewInit, PipeTransform, AfterContentInit, AfterContentChecked, ChangeDetectorRef, ViewContainerRef, OutputEmitterRef, OnChanges, SimpleChanges, Renderer2, ComponentRef, Injector, NgModuleRef, DestroyRef, AnimationCallbackEvent } from '@angular/core';
3
+ import { ElementRef, TemplateRef, ModuleWithProviders, OnInit, OnDestroy, WritableSignal, AnimationCallbackEvent, InputSignal, InputSignalWithTransform, QueryList, AfterViewInit, PipeTransform, AfterContentInit, AfterContentChecked, ChangeDetectorRef, ViewContainerRef, OutputEmitterRef, OnChanges, SimpleChanges, Renderer2, ComponentRef, Injector, NgModuleRef, DestroyRef } 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';
7
7
  import * as _popperjs_core from '@popperjs/core';
8
8
  import { Options, Placement, Modifier } from '@popperjs/core';
9
- import { AnimationEvent } from '@angular/animations';
10
9
  import * as rxjs from 'rxjs';
11
10
  import { Observable, Subscription, Subject, BehaviorSubject } from 'rxjs';
12
11
  import { FocusableOption, FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
13
12
  import * as node_modules_rxjs_dist_types from 'node_modules/rxjs/dist/types';
14
13
  import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
15
14
  import { SelectionModel, SelectionChange } from '@angular/cdk/collections';
15
+ import { AnimationEvent } from '@angular/animations';
16
16
 
17
17
  declare type BooleanInput = string | boolean | null | undefined;
18
18
  declare type NumberInput = string | number | null | undefined;
@@ -488,7 +488,6 @@ declare class AlertLinkDirective {
488
488
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AlertLinkDirective, "[cAlertLink]", never, {}, {}, never, never, true, never>;
489
489
  }
490
490
 
491
- type AnimateType = 'hide' | 'show';
492
491
  declare class AlertComponent {
493
492
  #private;
494
493
  /**
@@ -509,39 +508,36 @@ declare class AlertComponent {
509
508
  */
510
509
  readonly variant: _angular_core.InputSignal<"solid" | undefined>;
511
510
  /**
512
- * Optionally adds a close button to alert and allow it to self dismiss.
511
+ * Optionally adds a close button to the alert and allow it to self-dismiss.
513
512
  * @return boolean
514
513
  * @default false
515
514
  */
516
- readonly dismissibleInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
517
- set dismissible(value: boolean);
518
- get dismissible(): boolean;
515
+ readonly dismissible: _angular_core.InputSignalWithTransform<boolean, unknown>;
519
516
  /**
520
517
  * Adds animation for dismissible alert.
521
518
  * @return boolean
522
519
  */
523
520
  readonly fade: _angular_core.InputSignalWithTransform<boolean, unknown>;
524
521
  /**
525
- * Toggle the visibility of alert component.
522
+ * Toggle the visibility of the alert component.
526
523
  * @return boolean
527
524
  */
528
525
  readonly visibleInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
529
- set visible(value: boolean);
530
- get visible(): boolean;
531
- readonly hide: _angular_core.WritableSignal<boolean>;
526
+ readonly visible: _angular_core.WritableSignal<boolean>;
532
527
  /**
533
- * Event triggered on the alert dismiss.
528
+ * Event triggered on the alert visibility change.
529
+ * @return boolean
534
530
  */
535
531
  readonly visibleChange: _angular_core.OutputEmitterRef<boolean>;
536
- readonly contentTemplates: _angular_core.Signal<readonly TemplateIdDirective[]>;
537
- readonly templates: _angular_core.Signal<Record<string, TemplateRef<any>>>;
538
- get animateType(): AnimateType;
539
- readonly hostClasses: _angular_core.Signal<Record<string, boolean>>;
540
- onAnimationStart($event: AnimationEvent): void;
541
- onAnimationDone($event: AnimationEvent): void;
542
- onAnimationEvent(event: AnimationEvent): void;
532
+ protected readonly hide: _angular_core.WritableSignal<boolean>;
533
+ protected readonly contentTemplates: _angular_core.Signal<readonly TemplateIdDirective[]>;
534
+ protected readonly templates: _angular_core.Signal<Record<string, TemplateRef<any>>>;
535
+ protected readonly hostClasses: _angular_core.Signal<Record<string, boolean>>;
536
+ protected onTransitionStart($event: TransitionEvent): void;
537
+ protected onTransitionEnd($event: TransitionEvent): void;
538
+ protected handleLeaving($event: AnimationCallbackEvent): void;
543
539
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertComponent, never>;
544
- 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>;
540
+ 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>;
545
541
  }
546
542
 
547
543
  declare class AlertModule {
@@ -1680,53 +1676,54 @@ declare class CarouselModule {
1680
1676
 
1681
1677
  declare class CollapseDirective implements OnDestroy {
1682
1678
  #private;
1683
- constructor();
1679
+ static ngAcceptInputType_animate: BooleanInput$1;
1680
+ static ngAcceptInputType_horizontal: BooleanInput$1;
1681
+ static ngAcceptInputType_navbar: BooleanInput$1;
1682
+ static ngAcceptInputType_visible: BooleanInput$1;
1684
1683
  /**
1685
- * @ignore
1684
+ * @ignore internal
1686
1685
  */
1687
1686
  readonly animateInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
1688
1687
  readonly animate: _angular_core.WritableSignal<boolean>;
1689
1688
  /**
1690
1689
  * Set horizontal collapsing to transition the width instead of height.
1691
- * @type boolean
1690
+ * @return boolean
1692
1691
  * @default false
1693
1692
  */
1694
1693
  readonly horizontal: _angular_core.InputSignalWithTransform<boolean, unknown>;
1695
1694
  /**
1696
- * Toggle the visibility of collapsible element.
1697
- * @type boolean
1695
+ * Toggle the visibility of a collapsible element.
1696
+ * @return boolean
1698
1697
  * @default false
1699
1698
  */
1700
1699
  readonly visibleInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
1700
+ /**
1701
+ * Event emitted on visibility change. [docs]
1702
+ * @return boolean
1703
+ */
1701
1704
  readonly visibleChange: _angular_core.OutputEmitterRef<boolean>;
1702
1705
  readonly visible: _angular_core.WritableSignal<boolean>;
1703
1706
  /**
1704
- * Add `navbar` prop for grouping and hiding navbar contents by a parent breakpoint.
1705
- * @type boolean
1707
+ * Add a `navbar` prop for grouping and hiding navbar contents by a parent breakpoint.
1708
+ * @return boolean
1706
1709
  * @default false
1707
1710
  */
1708
1711
  readonly navbar: _angular_core.InputSignalWithTransform<boolean, unknown>;
1709
- /**
1710
- * @ignore
1711
- */
1712
- readonly duration: _angular_core.InputSignal<string>;
1713
- /**
1714
- * @ignore
1715
- */
1716
- readonly transition: _angular_core.InputSignal<string>;
1717
1712
  /**
1718
1713
  * Event emitted on visibility change. [docs]
1719
- * @type string
1714
+ * @return string
1720
1715
  */
1721
1716
  readonly collapseChange: _angular_core.OutputEmitterRef<string>;
1722
- readonly hostClasses: _angular_core.Signal<Record<string, boolean>>;
1717
+ protected readonly hostClasses: _angular_core.Signal<Record<string, boolean>>;
1723
1718
  ngOnDestroy(): void;
1724
1719
  toggle(visible?: boolean): void;
1725
- destroyPlayer(): void;
1726
- createPlayer(visible?: boolean): void;
1727
- setMaxSize(): void;
1720
+ protected clearPendingCallbacks(): void;
1721
+ protected setInitialState(visible: boolean): void;
1722
+ protected runTransition(visible: boolean): void;
1723
+ protected finishTransition(visible: boolean, host: HTMLElement, dimension: string): void;
1724
+ protected setMaxSize(): void;
1728
1725
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<CollapseDirective, never>;
1729
- 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>;
1726
+ 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>;
1730
1727
  }
1731
1728
 
1732
1729
  declare class CollapseModule {
@@ -2984,27 +2981,27 @@ declare class ListGroupModule {
2984
2981
 
2985
2982
  declare class LoadingButtonComponent extends ButtonDirective {
2986
2983
  /**
2987
- * Makes button disabled when loading.
2988
- * @type boolean
2984
+ * Makes a button disabled when loading.
2985
+ * @return boolean
2989
2986
  * @default false
2990
2987
  */
2991
- disabledOnLoading: InputSignalWithTransform<boolean, unknown>;
2988
+ disabledOnLoading: _angular_core.InputSignalWithTransform<boolean, unknown>;
2992
2989
  /**
2993
2990
  * Loading state (set to true to start animation).
2994
- * @type boolean
2991
+ * @return boolean
2995
2992
  */
2996
- loading: InputSignalWithTransform<boolean, unknown>;
2993
+ loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
2997
2994
  /**
2998
2995
  * Event emitted on loading change
2999
- * @type boolean
2996
+ * @return boolean
3000
2997
  */
3001
- loadingChange: OutputEmitterRef<boolean>;
2998
+ loadingChange: _angular_core.OutputEmitterRef<boolean>;
3002
2999
  loadingEffect: _angular_core.EffectRef;
3003
3000
  /**
3004
- * Sets type of spinner.
3005
- * @type {'border' | 'grow'}
3001
+ * Sets a type of spinner.
3002
+ * @return {'border' | 'grow'}
3006
3003
  */
3007
- spinnerType: InputSignal<'border' | 'grow'>;
3004
+ spinnerType: _angular_core.InputSignal<"border" | "grow">;
3008
3005
  constructor();
3009
3006
  hostClasses: _angular_core.Signal<Record<string, boolean>>;
3010
3007
  _disabled: _angular_core.Signal<boolean>;
@@ -3616,23 +3613,23 @@ declare class NavbarTogglerDirective {
3616
3613
  constructor();
3617
3614
  /**
3618
3615
  * Reference to navbar collapse element (via # template variable) . [docs]
3619
- * @type string
3616
+ * @return string
3620
3617
  * @default 'button'
3621
3618
  */
3622
3619
  readonly collapseRef: _angular_core.InputSignal<CollapseDirective | undefined>;
3623
3620
  /**
3624
3621
  * Default type for navbar-toggler. [docs]
3625
- * @type string
3622
+ * @return string
3626
3623
  * @default 'button'
3627
3624
  */
3628
3625
  readonly type: _angular_core.InputSignal<string>;
3629
3626
  /**
3630
3627
  * Default aria-label attr for navbar-toggler. [docs]
3631
- * @type string
3628
+ * @return string
3632
3629
  * @default 'Toggle navigation'
3633
3630
  */
3634
3631
  readonly ariaLabel: _angular_core.InputSignal<string>;
3635
- handleClick($event: MouseEvent): void;
3632
+ protected handleClick($event: MouseEvent): void;
3636
3633
  addDefaultIcon(): void;
3637
3634
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NavbarTogglerDirective, never>;
3638
3635
  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>;
@@ -3971,6 +3968,9 @@ declare class OtpDirective implements FocusableOption {
3971
3968
  get disabled(): boolean;
3972
3969
  readonly tabIndex: _angular_core.WritableSignal<number>;
3973
3970
  readonly index: _angular_core.WritableSignal<number | undefined>;
3971
+ readonly autocomplete: _angular_core.Signal<"off" | "one-time-code">;
3972
+ readonly maxLength: _angular_core.Signal<number>;
3973
+ readonly enterKeyHint: _angular_core.Signal<"next" | "done">;
3974
3974
  focus(origin?: FocusOrigin): void;
3975
3975
  protected readonly hostClasses: _angular_core.Signal<Record<string, boolean>>;
3976
3976
  protected readonly inputMode: _angular_core.Signal<"text" | "numeric">;
@@ -4001,17 +4001,17 @@ declare class OneTimePasswordComponent implements ControlValueAccessor {
4001
4001
  */
4002
4002
  readonly ariaLabel: _angular_core.InputSignal<(index: number, total: number) => string>;
4003
4003
  /**
4004
- * Automatically submit the form when all one time password fields are filled.
4004
+ * Automatically submit the form when all one-time password fields are filled.
4005
4005
  * @default: false
4006
4006
  */
4007
4007
  readonly autoSubmit: _angular_core.InputSignalWithTransform<boolean, unknown>;
4008
4008
  /**
4009
- * Initial value for Angular one time password input.
4009
+ * Initial value for Angular one-time password input.
4010
4010
  * @default: undefined
4011
4011
  */
4012
4012
  readonly defaultValue: _angular_core.InputSignal<string | number | undefined>;
4013
4013
  /**
4014
- * Disable all one time password (OTP) input fields.
4014
+ * Disable all one-time password (OTP) input fields.
4015
4015
  * @default: false
4016
4016
  */
4017
4017
  readonly disabledInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
@@ -4022,7 +4022,7 @@ declare class OneTimePasswordComponent implements ControlValueAccessor {
4022
4022
  */
4023
4023
  readonly linear: _angular_core.InputSignalWithTransform<boolean, unknown>;
4024
4024
  /**
4025
- * Show input as password (masked characters).
4025
+ * Show input as a password (masked characters).
4026
4026
  * @default: false
4027
4027
  */
4028
4028
  readonly masked: _angular_core.InputSignalWithTransform<boolean, unknown>;
@@ -4032,12 +4032,12 @@ declare class OneTimePasswordComponent implements ControlValueAccessor {
4032
4032
  */
4033
4033
  readonly placeholder: _angular_core.InputSignal<string>;
4034
4034
  /**
4035
- * Make Angular OTP input component read-only.
4035
+ * Make the Angular OTP input component read-only.
4036
4036
  * @default: false
4037
4037
  */
4038
4038
  readonly readOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
4039
4039
  /**
4040
- * Sets the visual size of the React.js one time password (OTP) input. Use 'sm' for small or 'lg' for large input fields.
4040
+ * Sets the visual size of the Angular one-time password (OTP) input. Use 'sm' for small or 'lg' for large input fields.
4041
4041
  * @default: undefined
4042
4042
  */
4043
4043
  readonly sizing: _angular_core.InputSignal<string | undefined>;
@@ -4058,11 +4058,11 @@ declare class OneTimePasswordComponent implements ControlValueAccessor {
4058
4058
  readonly valueInput: _angular_core.InputSignal<string | number | undefined>;
4059
4059
  protected readonly value: _angular_core.WritableSignal<string>;
4060
4060
  /**
4061
- * Event triggered when the Angular one time password (OTP) value changes.
4061
+ * Event triggered when the Angular one-time password (OTP) value changes.
4062
4062
  */
4063
4063
  readonly valueChange: _angular_core.OutputEmitterRef<string>;
4064
4064
  /**
4065
- * Callback triggered when all Angular one time password (OTP) fields are filled.
4065
+ * Callback triggered when all Angular one-time password (OTP) fields are filled.
4066
4066
  */
4067
4067
  readonly complete: _angular_core.OutputEmitterRef<string>;
4068
4068
  protected readonly hostClasses: _angular_core.Signal<{