@coreui/angular 5.7.12 → 5.7.14
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/fesm2022/coreui-angular.mjs +315 -259
- package/fesm2022/coreui-angular.mjs.map +1 -1
- package/package.json +2 -2
- package/types/coreui-angular.d.ts +56 -45
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coreui/angular",
|
|
3
|
-
"version": "5.7.
|
|
3
|
+
"version": "5.7.14",
|
|
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.
|
|
33
|
+
"@coreui/icons-angular": "~5.7.14",
|
|
34
34
|
"rxjs": "^7.8.2"
|
|
35
35
|
},
|
|
36
36
|
"repository": {
|
|
@@ -1,13 +1,13 @@
|
|
|
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, AnimationCallbackEvent, InputSignal, InputSignalWithTransform, AfterContentInit, AfterContentChecked, AfterViewInit, Renderer2, ViewContainerRef, WritableSignal, OnChanges, SimpleChanges, PipeTransform, QueryList,
|
|
3
|
+
import { ElementRef, TemplateRef, ModuleWithProviders, OnInit, OnDestroy, AnimationCallbackEvent, InputSignal, InputSignalWithTransform, AfterContentInit, AfterContentChecked, AfterViewInit, Renderer2, ViewContainerRef, WritableSignal, OnChanges, SimpleChanges, PipeTransform, QueryList, ComponentRef, Injector, NgModuleRef, DestroyRef, ChangeDetectorRef } from '@angular/core';
|
|
4
4
|
import * as rxjs from 'rxjs';
|
|
5
5
|
import { Observable, Subscription } from 'rxjs';
|
|
6
|
+
import { BooleanInput as BooleanInput$1, NumberInput as NumberInput$1 } from '@angular/cdk/coercion';
|
|
6
7
|
import { FocusableOption, FocusOrigin } from '@angular/cdk/a11y';
|
|
7
8
|
import * as _popperjs_core from '@popperjs/core';
|
|
8
9
|
import { Placement, Options } from '@popperjs/core';
|
|
9
10
|
import * as node_modules_rxjs_dist_types from 'node_modules/rxjs/dist/types';
|
|
10
|
-
import { BooleanInput as BooleanInput$1, NumberInput as NumberInput$1 } from '@angular/cdk/coercion';
|
|
11
11
|
import { AnimationEvent } from '@angular/animations';
|
|
12
12
|
|
|
13
13
|
declare type BooleanInput = string | boolean | null | undefined;
|
|
@@ -719,7 +719,7 @@ declare class CarouselComponent implements OnInit, OnDestroy, AfterContentInit {
|
|
|
719
719
|
*/
|
|
720
720
|
readonly touch: _angular_core.InputSignal<boolean>;
|
|
721
721
|
/**
|
|
722
|
-
* Set type of the transition.
|
|
722
|
+
* Set the type of the transition.
|
|
723
723
|
* @return {'slide' | 'crossfade'}
|
|
724
724
|
* @default 'slide'
|
|
725
725
|
*/
|
|
@@ -747,7 +747,7 @@ declare class CarouselComponent implements OnInit, OnDestroy, AfterContentInit {
|
|
|
747
747
|
get visible(): boolean;
|
|
748
748
|
setTimer(): void;
|
|
749
749
|
resetTimer(): void;
|
|
750
|
-
private
|
|
750
|
+
private carouselServiceSubscribe;
|
|
751
751
|
private intersectionServiceSubscribe;
|
|
752
752
|
private swipeSubscribe;
|
|
753
753
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CarouselComponent, never>;
|
|
@@ -797,7 +797,7 @@ declare class CarouselIndicatorsComponent implements OnInit {
|
|
|
797
797
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CarouselIndicatorsComponent, "c-carousel-indicators", ["cCarouselIndicators"], {}, {}, ["contentTemplates"], never, true, never>;
|
|
798
798
|
}
|
|
799
799
|
|
|
800
|
-
declare class CarouselItemComponent {
|
|
800
|
+
declare class CarouselItemComponent implements OnInit {
|
|
801
801
|
#private;
|
|
802
802
|
index?: number;
|
|
803
803
|
/**
|
|
@@ -806,7 +806,7 @@ declare class CarouselItemComponent {
|
|
|
806
806
|
readonly activeInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
807
807
|
readonly active: _angular_core.WritableSignal<boolean>;
|
|
808
808
|
/**
|
|
809
|
-
* Time delay before cycling to next item. If -1, uses carousel interval value.
|
|
809
|
+
* Time delay before cycling to the next item. If -1, uses carousel interval value.
|
|
810
810
|
* @return number
|
|
811
811
|
* @default -1
|
|
812
812
|
*/
|
|
@@ -818,6 +818,16 @@ declare class CarouselItemComponent {
|
|
|
818
818
|
*/
|
|
819
819
|
readonly role: _angular_core.InputSignal<string>;
|
|
820
820
|
constructor();
|
|
821
|
+
ngOnInit(): void;
|
|
822
|
+
protected readonly hostClasses: _angular_core.Signal<{
|
|
823
|
+
[x: string]: boolean;
|
|
824
|
+
active: boolean;
|
|
825
|
+
'd-none': boolean;
|
|
826
|
+
}>;
|
|
827
|
+
readonly prevActive: _angular_core.WritableSignal<boolean>;
|
|
828
|
+
readonly activeClass: _angular_core.WritableSignal<boolean>;
|
|
829
|
+
readonly orderClassName: _angular_core.WritableSignal<string>;
|
|
830
|
+
readonly directionClassName: _angular_core.WritableSignal<string>;
|
|
821
831
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CarouselItemComponent, never>;
|
|
822
832
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CarouselItemComponent, "c-carousel-item", ["cCarouselItem"], { "activeInput": { "alias": "active"; "required": false; "isSignal": true; }; "interval": { "alias": "interval"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
823
833
|
}
|
|
@@ -862,53 +872,54 @@ declare class CarouselModule {
|
|
|
862
872
|
|
|
863
873
|
declare class CollapseDirective implements OnDestroy {
|
|
864
874
|
#private;
|
|
865
|
-
|
|
875
|
+
static ngAcceptInputType_animate: BooleanInput$1;
|
|
876
|
+
static ngAcceptInputType_horizontal: BooleanInput$1;
|
|
877
|
+
static ngAcceptInputType_navbar: BooleanInput$1;
|
|
878
|
+
static ngAcceptInputType_visible: BooleanInput$1;
|
|
866
879
|
/**
|
|
867
|
-
* @ignore
|
|
880
|
+
* @ignore internal
|
|
868
881
|
*/
|
|
869
882
|
readonly animateInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
870
883
|
readonly animate: _angular_core.WritableSignal<boolean>;
|
|
871
884
|
/**
|
|
872
885
|
* Set horizontal collapsing to transition the width instead of height.
|
|
873
|
-
* @
|
|
886
|
+
* @return boolean
|
|
874
887
|
* @default false
|
|
875
888
|
*/
|
|
876
889
|
readonly horizontal: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
877
890
|
/**
|
|
878
|
-
* Toggle the visibility of collapsible element.
|
|
879
|
-
* @
|
|
891
|
+
* Toggle the visibility of a collapsible element.
|
|
892
|
+
* @return boolean
|
|
880
893
|
* @default false
|
|
881
894
|
*/
|
|
882
895
|
readonly visibleInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
896
|
+
/**
|
|
897
|
+
* Event emitted on visibility change. [docs]
|
|
898
|
+
* @return boolean
|
|
899
|
+
*/
|
|
883
900
|
readonly visibleChange: _angular_core.OutputEmitterRef<boolean>;
|
|
884
901
|
readonly visible: _angular_core.WritableSignal<boolean>;
|
|
885
902
|
/**
|
|
886
|
-
* Add `navbar` prop for grouping and hiding navbar contents by a parent breakpoint.
|
|
887
|
-
* @
|
|
903
|
+
* Add a `navbar` prop for grouping and hiding navbar contents by a parent breakpoint.
|
|
904
|
+
* @return boolean
|
|
888
905
|
* @default false
|
|
889
906
|
*/
|
|
890
907
|
readonly navbar: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
891
|
-
/**
|
|
892
|
-
* @ignore
|
|
893
|
-
*/
|
|
894
|
-
readonly duration: _angular_core.InputSignal<string>;
|
|
895
|
-
/**
|
|
896
|
-
* @ignore
|
|
897
|
-
*/
|
|
898
|
-
readonly transition: _angular_core.InputSignal<string>;
|
|
899
908
|
/**
|
|
900
909
|
* Event emitted on visibility change. [docs]
|
|
901
|
-
* @
|
|
910
|
+
* @return string
|
|
902
911
|
*/
|
|
903
912
|
readonly collapseChange: _angular_core.OutputEmitterRef<string>;
|
|
904
|
-
readonly hostClasses: _angular_core.Signal<Record<string, boolean>>;
|
|
913
|
+
protected readonly hostClasses: _angular_core.Signal<Record<string, boolean>>;
|
|
905
914
|
ngOnDestroy(): void;
|
|
906
915
|
toggle(visible?: boolean): void;
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
916
|
+
protected clearPendingCallbacks(): void;
|
|
917
|
+
protected setInitialState(visible: boolean): void;
|
|
918
|
+
protected runTransition(visible: boolean): void;
|
|
919
|
+
protected finishTransition(visible: boolean, host: HTMLElement, dimension: string): void;
|
|
920
|
+
protected setMaxSize(): void;
|
|
910
921
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CollapseDirective, never>;
|
|
911
|
-
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; };
|
|
922
|
+
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>;
|
|
912
923
|
}
|
|
913
924
|
|
|
914
925
|
declare class CollapseModule {
|
|
@@ -1824,23 +1835,23 @@ declare class NavbarTogglerDirective {
|
|
|
1824
1835
|
constructor();
|
|
1825
1836
|
/**
|
|
1826
1837
|
* Reference to navbar collapse element (via # template variable) . [docs]
|
|
1827
|
-
* @
|
|
1838
|
+
* @return string
|
|
1828
1839
|
* @default 'button'
|
|
1829
1840
|
*/
|
|
1830
1841
|
readonly collapseRef: _angular_core.InputSignal<CollapseDirective | undefined>;
|
|
1831
1842
|
/**
|
|
1832
1843
|
* Default type for navbar-toggler. [docs]
|
|
1833
|
-
* @
|
|
1844
|
+
* @return string
|
|
1834
1845
|
* @default 'button'
|
|
1835
1846
|
*/
|
|
1836
1847
|
readonly type: _angular_core.InputSignal<string>;
|
|
1837
1848
|
/**
|
|
1838
1849
|
* Default aria-label attr for navbar-toggler. [docs]
|
|
1839
|
-
* @
|
|
1850
|
+
* @return string
|
|
1840
1851
|
* @default 'Toggle navigation'
|
|
1841
1852
|
*/
|
|
1842
1853
|
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
1843
|
-
handleClick($event: MouseEvent): void;
|
|
1854
|
+
protected handleClick($event: MouseEvent): void;
|
|
1844
1855
|
addDefaultIcon(): void;
|
|
1845
1856
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NavbarTogglerDirective, never>;
|
|
1846
1857
|
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>;
|
|
@@ -3299,54 +3310,54 @@ type VisibleChangeEvent = {
|
|
|
3299
3310
|
visible: boolean;
|
|
3300
3311
|
};
|
|
3301
3312
|
declare class TabPanelComponent {
|
|
3302
|
-
|
|
3313
|
+
#private;
|
|
3303
3314
|
/**
|
|
3304
3315
|
* aria-labelledby attribute
|
|
3305
|
-
* @
|
|
3316
|
+
* @return string
|
|
3306
3317
|
* @default undefined
|
|
3307
3318
|
*/
|
|
3308
3319
|
readonly ariaLabelledBy: _angular_core.InputSignal<string | undefined>;
|
|
3309
3320
|
/**
|
|
3310
3321
|
* Element id attribute
|
|
3311
|
-
* @
|
|
3322
|
+
* @return string
|
|
3312
3323
|
* @default undefined
|
|
3313
3324
|
*/
|
|
3314
3325
|
readonly id: _angular_core.InputSignal<string | undefined>;
|
|
3315
3326
|
/**
|
|
3316
3327
|
* Item key.
|
|
3317
|
-
* @
|
|
3328
|
+
* @return string | number
|
|
3318
3329
|
* @required
|
|
3319
3330
|
*/
|
|
3320
3331
|
readonly itemKey: _angular_core.InputSignal<string | number>;
|
|
3321
3332
|
/**
|
|
3322
3333
|
* Element role.
|
|
3323
|
-
* @
|
|
3334
|
+
* @return string
|
|
3324
3335
|
* @default 'tabpanel'
|
|
3325
3336
|
*/
|
|
3326
3337
|
readonly role: _angular_core.InputSignal<string>;
|
|
3327
3338
|
/**
|
|
3328
3339
|
* tabindex attribute.
|
|
3329
|
-
* @
|
|
3340
|
+
* @return number
|
|
3330
3341
|
* @default 0
|
|
3331
3342
|
*/
|
|
3332
3343
|
readonly tabindex: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
3333
3344
|
/**
|
|
3334
3345
|
* Enable fade in transition.
|
|
3335
|
-
* @
|
|
3346
|
+
* @return boolean
|
|
3336
3347
|
* @default true
|
|
3337
3348
|
*/
|
|
3338
3349
|
readonly transition: _angular_core.InputSignal<boolean>;
|
|
3339
3350
|
/**
|
|
3340
3351
|
* visible change output
|
|
3341
|
-
* @
|
|
3352
|
+
* @return VisibleChangeEvent
|
|
3342
3353
|
*/
|
|
3343
|
-
readonly visibleChange: OutputEmitterRef<VisibleChangeEvent>;
|
|
3344
|
-
readonly show: _angular_core.WritableSignal<boolean>;
|
|
3354
|
+
readonly visibleChange: _angular_core.OutputEmitterRef<VisibleChangeEvent>;
|
|
3355
|
+
protected readonly show: _angular_core.WritableSignal<boolean>;
|
|
3345
3356
|
readonly visible: _angular_core.Signal<boolean>;
|
|
3346
|
-
readonly propId: _angular_core.Signal<string>;
|
|
3347
|
-
readonly attrAriaLabelledBy: _angular_core.Signal<string>;
|
|
3348
|
-
readonly hostClasses: _angular_core.Signal<Record<string, boolean>>;
|
|
3349
|
-
|
|
3357
|
+
protected readonly propId: _angular_core.Signal<string>;
|
|
3358
|
+
protected readonly attrAriaLabelledBy: _angular_core.Signal<string>;
|
|
3359
|
+
protected readonly hostClasses: _angular_core.Signal<Record<string, boolean>>;
|
|
3360
|
+
protected onTransitionEnd($event: TransitionEvent): void;
|
|
3350
3361
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabPanelComponent, never>;
|
|
3351
3362
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TabPanelComponent, "c-tab-panel", ["cTabPanel"], { "ariaLabelledBy": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "itemKey": { "alias": "itemKey"; "required": true; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; "transition": { "alias": "transition"; "required": false; "isSignal": true; }; }, { "visibleChange": "visibleChange"; }, never, ["*"], true, never>;
|
|
3352
3363
|
}
|