@coreui/angular 5.3.14 → 5.3.16
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 +906 -903
- package/fesm2022/coreui-angular.mjs.map +1 -1
- package/lib/dropdown/dropdown-menu/dropdown-menu.directive.d.ts +1 -1
- package/lib/form/form/form.directive.d.ts +1 -2
- package/lib/form/form-floating/form-floating.directive.d.ts +0 -1
- package/lib/modal/modal-dismiss/modal-toggle.directive.d.ts +1 -1
- package/lib/navbar/navbar-toggler/navbar-toggler.directive.d.ts +1 -1
- package/lib/shared/template-id.directive.d.ts +3 -2
- package/lib/sidebar/sidebar/sidebar.component.d.ts +43 -34
- package/lib/sidebar/sidebar-brand/sidebar-brand.component.d.ts +7 -9
- package/lib/sidebar/sidebar-nav/sidebar-nav-link.component.d.ts +2 -2
- package/lib/sidebar/sidebar-toggle/sidebar-toggle.directive.d.ts +7 -8
- package/lib/sidebar/sidebar-toggler/sidebar-toggler.directive.d.ts +2 -3
- package/lib/utilities/text-bg-color.directive.d.ts +1 -1
- package/lib/utilities/text-color.directive.d.ts +3 -1
- package/package.json +3 -3
|
@@ -14,7 +14,7 @@ export declare class DropdownMenuDirective implements OnInit, AfterContentInit {
|
|
|
14
14
|
* Toggle the visibility of dropdown menu component.
|
|
15
15
|
* @return boolean
|
|
16
16
|
*/
|
|
17
|
-
readonly visibleInput: import("@angular/core").
|
|
17
|
+
readonly visibleInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
18
18
|
readonly visible: import("@angular/core").WritableSignal<boolean>;
|
|
19
19
|
readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
20
20
|
readonly hostStyles: import("@angular/core").Signal<Record<string, any>>;
|
|
@@ -2,11 +2,10 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export declare class FormDirective {
|
|
3
3
|
/**
|
|
4
4
|
* Mark a form as validated. If you set it `true`, all validation styles will be applied to the form. [docs]
|
|
5
|
-
* @
|
|
5
|
+
* @return boolean
|
|
6
6
|
* @default false
|
|
7
7
|
*/
|
|
8
8
|
readonly validated: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
9
|
-
readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
10
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormDirective, never>;
|
|
11
10
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FormDirective, "form[cForm]", never, { "validated": { "alias": "validated"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
11
|
}
|
|
@@ -5,7 +5,6 @@ export declare class FormFloatingDirective {
|
|
|
5
5
|
* @type boolean
|
|
6
6
|
*/
|
|
7
7
|
readonly floating: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
8
|
-
readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
9
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFloatingDirective, never>;
|
|
10
9
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FormFloatingDirective, "[cFormFloating]", never, { "floating": { "alias": "cFormFloating"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
11
10
|
}
|
|
@@ -6,7 +6,7 @@ export declare class ModalToggleDirective {
|
|
|
6
6
|
* @default undefined
|
|
7
7
|
*/
|
|
8
8
|
readonly toggle: import("@angular/core").InputSignal<string | undefined>;
|
|
9
|
-
dismiss($event:
|
|
9
|
+
dismiss($event: Event): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalToggleDirective, never>;
|
|
11
11
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ModalToggleDirective, "[cModalToggle]", never, { "toggle": { "alias": "cModalToggle"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
12
|
}
|
|
@@ -21,7 +21,7 @@ export declare class NavbarTogglerDirective {
|
|
|
21
21
|
* @default 'Toggle navigation'
|
|
22
22
|
*/
|
|
23
23
|
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
24
|
-
handleClick(): void;
|
|
24
|
+
handleClick($event: MouseEvent): void;
|
|
25
25
|
addDefaultIcon(): void;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavbarTogglerDirective, never>;
|
|
27
27
|
static ɵdir: i0.ɵɵ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>;
|
|
@@ -2,7 +2,8 @@ import { TemplateRef } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TemplateIdDirective {
|
|
4
4
|
readonly templateRef: TemplateRef<any>;
|
|
5
|
-
|
|
5
|
+
readonly cTemplateId: import("@angular/core").InputSignal<string>;
|
|
6
|
+
get id(): string;
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateIdDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TemplateIdDirective, "[cTemplateId]", never, { "
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TemplateIdDirective, "[cTemplateId]", never, { "cTemplateId": { "alias": "cTemplateId"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8
9
|
}
|
|
@@ -1,70 +1,83 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { ISidebarAction } from '../sidebar.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SidebarComponent implements OnChanges, OnDestroy, OnInit {
|
|
5
5
|
#private;
|
|
6
|
-
state: ISidebarAction
|
|
6
|
+
readonly state: import("@angular/core").WritableSignal<ISidebarAction>;
|
|
7
7
|
/**
|
|
8
|
-
* Sets if the color of text should be colored for a light or dark background.
|
|
9
|
-
*
|
|
10
|
-
* @type 'dark' | 'light'
|
|
8
|
+
* Sets if the color of text should be colored for a light or dark background.
|
|
9
|
+
* @return 'dark' | 'light'
|
|
11
10
|
*/
|
|
12
|
-
colorScheme
|
|
11
|
+
readonly colorScheme: import("@angular/core").InputSignal<"dark" | "light" | undefined>;
|
|
13
12
|
/**
|
|
14
|
-
* Sets html attribute id.
|
|
15
|
-
*
|
|
16
|
-
* @type string
|
|
13
|
+
* Sets html attribute id.
|
|
14
|
+
* @return string
|
|
17
15
|
*/
|
|
18
|
-
id
|
|
16
|
+
readonly id: import("@angular/core").InputSignal<string | undefined>;
|
|
19
17
|
/**
|
|
20
|
-
* Make sidebar narrow.
|
|
21
|
-
* @
|
|
18
|
+
* Make sidebar narrow.
|
|
19
|
+
* @return boolean
|
|
22
20
|
* @default false
|
|
23
21
|
*/
|
|
24
|
-
|
|
22
|
+
readonly narrowInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
23
|
+
set narrow(value: boolean);
|
|
24
|
+
get narrow(): boolean;
|
|
25
25
|
/**
|
|
26
26
|
* Set sidebar to overlaid variant.
|
|
27
|
-
* @
|
|
27
|
+
* @return boolean
|
|
28
28
|
* @default false
|
|
29
29
|
*/
|
|
30
|
-
overlaid: boolean
|
|
30
|
+
readonly overlaid: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
31
31
|
/**
|
|
32
|
-
* Components placement, there’s no default placement.
|
|
33
|
-
* @
|
|
32
|
+
* Components placement, there’s no default placement.
|
|
33
|
+
* @return 'start' | 'end'
|
|
34
34
|
*/
|
|
35
|
-
placement
|
|
35
|
+
readonly placement: import("@angular/core").InputSignal<"start" | "end" | undefined>;
|
|
36
36
|
/**
|
|
37
|
-
* Place sidebar in non-static positions.
|
|
37
|
+
* Place sidebar in non-static positions.
|
|
38
|
+
* @return 'fixed' | 'sticky'
|
|
38
39
|
* @default 'fixed'
|
|
39
40
|
*/
|
|
40
|
-
position:
|
|
41
|
+
readonly position: import("@angular/core").InputSignal<"fixed" | "sticky">;
|
|
41
42
|
/**
|
|
42
|
-
* Size the component small, large, or extra large.
|
|
43
|
+
* Size the component small, large, or extra large.
|
|
44
|
+
* @return 'sm' | 'lg' | 'xl'
|
|
43
45
|
*/
|
|
44
|
-
size
|
|
46
|
+
readonly size: import("@angular/core").InputSignal<"sm" | "lg" | "xl" | undefined>;
|
|
45
47
|
/**
|
|
46
|
-
* Expand narrowed sidebar on hover.
|
|
48
|
+
* Expand narrowed sidebar on hover.
|
|
47
49
|
* @type boolean
|
|
48
50
|
* @default false
|
|
49
51
|
*/
|
|
50
|
-
|
|
52
|
+
readonly unfoldableInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
53
|
+
readonly unfoldable: import("@angular/core").WritableSignal<boolean>;
|
|
51
54
|
/**
|
|
52
|
-
* Toggle the visibility of sidebar component.
|
|
55
|
+
* Toggle the visibility of sidebar component.
|
|
53
56
|
* @type boolean
|
|
54
57
|
* @default false
|
|
55
58
|
*/
|
|
59
|
+
readonly visibleInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
56
60
|
set visible(value: boolean);
|
|
57
61
|
get visible(): boolean;
|
|
58
62
|
/**
|
|
59
|
-
* Event emitted on visibility change.
|
|
60
|
-
* @
|
|
63
|
+
* Event emitted on visibility change.
|
|
64
|
+
* @return boolean
|
|
61
65
|
*/
|
|
62
|
-
visibleChange:
|
|
66
|
+
readonly visibleChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
63
67
|
set sidebarState(value: ISidebarAction);
|
|
64
68
|
get sidebarState(): ISidebarAction;
|
|
65
69
|
get getMobileBreakpoint(): string;
|
|
66
70
|
constructor();
|
|
67
|
-
|
|
71
|
+
readonly hostClasses: import("@angular/core").Signal<{
|
|
72
|
+
[x: string]: boolean | "toggle" | undefined;
|
|
73
|
+
sidebar: boolean;
|
|
74
|
+
'sidebar-fixed': boolean;
|
|
75
|
+
'sidebar-narrow': boolean;
|
|
76
|
+
'sidebar-narrow-unfoldable': boolean;
|
|
77
|
+
'sidebar-overlaid': boolean;
|
|
78
|
+
show: boolean | "toggle" | undefined;
|
|
79
|
+
hide: boolean;
|
|
80
|
+
}>;
|
|
68
81
|
ngOnInit(): void;
|
|
69
82
|
ngOnDestroy(): void;
|
|
70
83
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -72,9 +85,5 @@ export declare class SidebarComponent implements OnChanges, OnDestroy, OnInit {
|
|
|
72
85
|
private stateToggleSubscribe;
|
|
73
86
|
layoutChangeSubscribe(subscribe?: boolean): void;
|
|
74
87
|
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarComponent, never>;
|
|
75
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarComponent, "c-sidebar", ["cSidebar"], { "colorScheme": { "alias": "colorScheme"; "required": false; }; "id": { "alias": "id"; "required": false; }; "
|
|
76
|
-
static ngAcceptInputType_narrow: unknown;
|
|
77
|
-
static ngAcceptInputType_overlaid: unknown;
|
|
78
|
-
static ngAcceptInputType_unfoldable: unknown;
|
|
79
|
-
static ngAcceptInputType_visible: unknown;
|
|
88
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarComponent, "c-sidebar", ["cSidebar"], { "colorScheme": { "alias": "colorScheme"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "narrowInput": { "alias": "narrow"; "required": false; "isSignal": true; }; "overlaid": { "alias": "overlaid"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "unfoldableInput": { "alias": "unfoldable"; "required": false; "isSignal": true; }; "visibleInput": { "alias": "visible"; "required": false; "isSignal": true; }; }, { "visibleChange": "visibleChange"; }, never, ["*"], true, never>;
|
|
80
89
|
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type UrlTree } from '@angular/router';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SidebarBrandComponent
|
|
4
|
-
brandFull
|
|
5
|
-
brandNarrow
|
|
6
|
-
routerLink
|
|
7
|
-
|
|
8
|
-
brandImg: boolean;
|
|
9
|
-
ngOnInit(): void;
|
|
3
|
+
export declare class SidebarBrandComponent {
|
|
4
|
+
readonly brandFull: import("@angular/core").InputSignal<any>;
|
|
5
|
+
readonly brandNarrow: import("@angular/core").InputSignal<any>;
|
|
6
|
+
readonly routerLink: import("@angular/core").InputSignal<string | any[] | UrlTree | null | undefined>;
|
|
7
|
+
readonly brandImg: import("@angular/core").Signal<boolean>;
|
|
10
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarBrandComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarBrandComponent, "c-sidebar-brand", never, { "brandFull": { "alias": "brandFull"; "required": false; }; "brandNarrow": { "alias": "brandNarrow"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarBrandComponent, "c-sidebar-brand", never, { "brandFull": { "alias": "brandFull"; "required": false; "isSignal": true; }; "brandNarrow": { "alias": "brandNarrow"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
12
10
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
3
|
import { SidebarNavHelper } from './sidebar-nav.service';
|
|
4
4
|
import { INavData } from './sidebar-nav';
|
|
@@ -14,7 +14,7 @@ export declare class SidebarNavLinkComponent implements OnInit, OnDestroy {
|
|
|
14
14
|
protected _item: INavData;
|
|
15
15
|
set item(item: INavData);
|
|
16
16
|
get item(): INavData;
|
|
17
|
-
linkClick:
|
|
17
|
+
readonly linkClick: import("@angular/core").OutputEmitterRef<void>;
|
|
18
18
|
linkType: string;
|
|
19
19
|
href: string;
|
|
20
20
|
linkActive: boolean;
|
|
@@ -5,19 +5,18 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class SidebarToggleDirective {
|
|
6
6
|
#private;
|
|
7
7
|
/**
|
|
8
|
-
* Id of sidebar for toggle action.
|
|
9
|
-
*
|
|
10
|
-
* @type string
|
|
8
|
+
* Id of sidebar for toggle action.
|
|
9
|
+
* @return string
|
|
11
10
|
*/
|
|
12
|
-
id
|
|
11
|
+
readonly id: import("@angular/core").InputSignal<string | undefined>;
|
|
13
12
|
/**
|
|
14
|
-
* Sidebar property name for toggle action.
|
|
13
|
+
* Sidebar property name for toggle action.
|
|
15
14
|
*
|
|
16
|
-
* @
|
|
15
|
+
* @return 'visible' | 'unfoldable'
|
|
17
16
|
* @default 'visible'
|
|
18
17
|
*/
|
|
19
|
-
toggle:
|
|
18
|
+
readonly toggle: import("@angular/core").InputSignal<"visible" | "unfoldable">;
|
|
20
19
|
toggleOpen($event: any): void;
|
|
21
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarToggleDirective, never>;
|
|
22
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SidebarToggleDirective, "[cSidebarToggle]", ["cSidebarToggle"], { "id": { "alias": "cSidebarToggle"; "required": false; }; "toggle": { "alias": "toggle"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SidebarToggleDirective, "[cSidebarToggle]", ["cSidebarToggle"], { "id": { "alias": "cSidebarToggle"; "required": false; "isSignal": true; }; "toggle": { "alias": "toggle"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
23
22
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "../sidebar-toggle/sidebar-toggle.directive";
|
|
3
3
|
export declare class SidebarTogglerDirective {
|
|
4
|
-
role: string
|
|
5
|
-
sidebarTogglerClass: boolean;
|
|
4
|
+
readonly role: import("@angular/core").InputSignal<string>;
|
|
6
5
|
get getStyles(): any;
|
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarTogglerDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SidebarTogglerDirective, "[cSidebarToggler]", never, { "role": { "alias": "role"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.SidebarToggleDirective; inputs: { "cSidebarToggle": "cSidebarToggler"; "toggle": "toggle"; }; outputs: {}; }]>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SidebarTogglerDirective, "[cSidebarToggler]", never, { "role": { "alias": "role"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.SidebarToggleDirective; inputs: { "cSidebarToggle": "cSidebarToggler"; "toggle": "toggle"; }; outputs: {}; }]>;
|
|
9
8
|
}
|
|
@@ -7,7 +7,7 @@ export declare class TextBgColorDirective {
|
|
|
7
7
|
* @type Colors
|
|
8
8
|
*/
|
|
9
9
|
readonly textBgColor: InputSignal<Colors>;
|
|
10
|
-
|
|
10
|
+
readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextBgColorDirective, never>;
|
|
12
12
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TextBgColorDirective, "[cTextBgColor]", never, { "textBgColor": { "alias": "cTextBgColor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
13
13
|
}
|
|
@@ -7,7 +7,9 @@ export declare class TextColorDirective {
|
|
|
7
7
|
* @type TextColors
|
|
8
8
|
*/
|
|
9
9
|
readonly color: InputSignal<TextColors>;
|
|
10
|
-
|
|
10
|
+
readonly hostClasses: import("@angular/core").Signal<{
|
|
11
|
+
[x: string]: boolean;
|
|
12
|
+
}>;
|
|
11
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextColorDirective, never>;
|
|
12
14
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TextColorDirective, "[cTextColor]", never, { "color": { "alias": "cTextColor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
13
15
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coreui/angular",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.16",
|
|
4
4
|
"description": "CoreUI Components Library for Angular",
|
|
5
5
|
"copyright": "Copyright 2025 creativeLabs Łukasz Holeczek",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"@angular/common": "^19.1.0",
|
|
29
29
|
"@angular/core": "^19.1.0",
|
|
30
30
|
"@angular/router": "^19.1.0",
|
|
31
|
-
"@coreui/coreui": "
|
|
32
|
-
"@coreui/icons-angular": "~5.3.
|
|
31
|
+
"@coreui/coreui": "~5.2.0",
|
|
32
|
+
"@coreui/icons-angular": "~5.3.15",
|
|
33
33
|
"rxjs": "^7.8.1"
|
|
34
34
|
},
|
|
35
35
|
"repository": {
|