@coreui/angular 5.7.9 → 5.7.10
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 +777 -714
- package/fesm2022/coreui-angular.mjs.map +1 -1
- package/package.json +2 -2
- package/types/coreui-angular.d.ts +84 -22
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coreui/angular",
|
|
3
|
-
"version": "5.7.
|
|
3
|
+
"version": "5.7.10",
|
|
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.0.0",
|
|
31
31
|
"@angular/router": "^22.0.0",
|
|
32
32
|
"@coreui/coreui": "^5.9.0",
|
|
33
|
-
"@coreui/icons-angular": "~5.7.
|
|
33
|
+
"@coreui/icons-angular": "~5.7.10",
|
|
34
34
|
"rxjs": "^7.8.2"
|
|
35
35
|
},
|
|
36
36
|
"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, AfterContentInit, AfterContentChecked, AfterViewInit, Renderer2, ViewContainerRef, WritableSignal, OnChanges, SimpleChanges, PipeTransform, QueryList,
|
|
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
4
|
import { AnimationEvent } from '@angular/animations';
|
|
5
5
|
import * as rxjs from 'rxjs';
|
|
6
6
|
import { Observable, Subscription } from 'rxjs';
|
|
@@ -91,6 +91,11 @@ declare class ThemeDirective {
|
|
|
91
91
|
* @return 'dark' | 'light' | undefined
|
|
92
92
|
*/
|
|
93
93
|
readonly colorScheme: _angular_core.InputSignal<"dark" | "light" | undefined>;
|
|
94
|
+
/**
|
|
95
|
+
* Add darker controls, indicators, and captions.
|
|
96
|
+
* @return boolean
|
|
97
|
+
* @default false
|
|
98
|
+
*/
|
|
94
99
|
readonly dark: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
95
100
|
setTheme(theme?: string): void;
|
|
96
101
|
unsetTheme(): void;
|
|
@@ -258,40 +263,40 @@ declare class TextColorDirective {
|
|
|
258
263
|
declare class AvatarComponent {
|
|
259
264
|
/**
|
|
260
265
|
* Sets the background color context of the component to one of CoreUI’s themed colors.
|
|
261
|
-
* @
|
|
266
|
+
* @return Colors
|
|
262
267
|
*/
|
|
263
|
-
readonly color: InputSignal<
|
|
268
|
+
readonly color: _angular_core.InputSignal<string | undefined>;
|
|
264
269
|
/**
|
|
265
270
|
* Select the shape of the component.
|
|
266
|
-
* @
|
|
271
|
+
* @return Shapes
|
|
267
272
|
*/
|
|
268
|
-
readonly shape: InputSignal<
|
|
273
|
+
readonly shape: _angular_core.InputSignal<string | undefined>;
|
|
269
274
|
/**
|
|
270
275
|
* Size the component small, large, or extra large.
|
|
271
276
|
* @default 'md'
|
|
272
277
|
*/
|
|
273
|
-
readonly size: InputSignal<Omit<string, "xxl">>;
|
|
278
|
+
readonly size: _angular_core.InputSignal<Omit<string, "xxl">>;
|
|
274
279
|
/**
|
|
275
280
|
* The alt attribute for the img element alternate text.
|
|
276
|
-
* @
|
|
281
|
+
* @return string
|
|
277
282
|
*/
|
|
278
|
-
readonly alt: InputSignal<string>;
|
|
283
|
+
readonly alt: _angular_core.InputSignal<string>;
|
|
279
284
|
/**
|
|
280
285
|
* The src attribute for the img element.
|
|
281
|
-
* @
|
|
286
|
+
* @return string
|
|
282
287
|
*/
|
|
283
|
-
readonly src: InputSignal<string | undefined>;
|
|
288
|
+
readonly src: _angular_core.InputSignal<string | undefined>;
|
|
284
289
|
/**
|
|
285
290
|
* Sets the color context of the status indicator to one of CoreUI’s themed colors.
|
|
286
|
-
* @
|
|
291
|
+
* @return Colors
|
|
287
292
|
*/
|
|
288
|
-
readonly status: InputSignal<
|
|
293
|
+
readonly status: _angular_core.InputSignal<string | undefined>;
|
|
289
294
|
/**
|
|
290
295
|
* Sets the text color of the component to one of CoreUI’s themed colors.
|
|
291
296
|
* via TextColorDirective
|
|
292
|
-
* @
|
|
297
|
+
* @return TextColors
|
|
293
298
|
*/
|
|
294
|
-
readonly textColor: InputSignal<
|
|
299
|
+
readonly textColor: _angular_core.InputSignal<string | undefined>;
|
|
295
300
|
readonly statusClass: _angular_core.Signal<Record<string, boolean>>;
|
|
296
301
|
readonly hostClasses: _angular_core.Signal<Record<string, boolean>>;
|
|
297
302
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AvatarComponent, never>;
|
|
@@ -1406,6 +1411,10 @@ declare class ColDirective {
|
|
|
1406
1411
|
* @return { 'auto' | number | boolean }
|
|
1407
1412
|
*/
|
|
1408
1413
|
readonly cCol: _angular_core.InputSignalWithTransform<number | boolean | "auto", string | number | boolean | null | undefined>;
|
|
1414
|
+
/**
|
|
1415
|
+
* The number of columns on extra small devices (<576px).
|
|
1416
|
+
* @return { 'auto' | number | boolean }
|
|
1417
|
+
*/
|
|
1409
1418
|
readonly xs: _angular_core.InputSignalWithTransform<number | boolean | "auto", string | number | boolean | null | undefined>;
|
|
1410
1419
|
/**
|
|
1411
1420
|
* The number of columns/offset/order on small devices (<768px).
|
|
@@ -1433,7 +1442,13 @@ declare class ColDirective {
|
|
|
1433
1442
|
*/
|
|
1434
1443
|
readonly xxl: _angular_core.InputSignalWithTransform<number | boolean | "auto", string | number | boolean | null | undefined>;
|
|
1435
1444
|
readonly breakpoints: _angular_core.Signal<Record<string, any>>;
|
|
1445
|
+
/**
|
|
1446
|
+
* Offset grid columns.
|
|
1447
|
+
*/
|
|
1436
1448
|
readonly offset: _angular_core.InputSignal<ColOffsetType | undefined>;
|
|
1449
|
+
/**
|
|
1450
|
+
* Controls the visual order of your columns. Includes support for `1` through `5` across all breakpoints.
|
|
1451
|
+
*/
|
|
1437
1452
|
readonly order: _angular_core.InputSignal<ColOrderType | undefined>;
|
|
1438
1453
|
readonly hostClasses: _angular_core.Signal<Record<string, boolean>>;
|
|
1439
1454
|
coerceInput(value: BooleanInput$1 | NumberInput$1): number | boolean | "auto";
|
|
@@ -1772,6 +1787,10 @@ declare class NavbarComponent {
|
|
|
1772
1787
|
* Place component in non-static positions.
|
|
1773
1788
|
*/
|
|
1774
1789
|
readonly placement: _angular_core.InputSignal<"fixed-top" | "fixed-bottom" | "sticky-top" | undefined>;
|
|
1790
|
+
/**
|
|
1791
|
+
* HTML element role.
|
|
1792
|
+
* @return string
|
|
1793
|
+
*/
|
|
1775
1794
|
readonly role: _angular_core.InputSignal<string>;
|
|
1776
1795
|
readonly collapse: _angular_core.Signal<CollapseDirective | undefined>;
|
|
1777
1796
|
readonly hostClasses: _angular_core.Signal<Record<string, boolean>>;
|
|
@@ -1914,7 +1933,7 @@ declare class ModalComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
1914
1933
|
*/
|
|
1915
1934
|
readonly alignment: _angular_core.InputSignal<"top" | "center">;
|
|
1916
1935
|
/**
|
|
1917
|
-
* Apply a backdrop on body while modal is open.
|
|
1936
|
+
* Apply a backdrop on the body while the modal is open.
|
|
1918
1937
|
* @return boolean | 'static'
|
|
1919
1938
|
* @default true
|
|
1920
1939
|
*/
|
|
@@ -1926,11 +1945,15 @@ declare class ModalComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
1926
1945
|
*/
|
|
1927
1946
|
readonly fullscreen: _angular_core.InputSignal<boolean | "sm" | "md" | "lg" | "xl" | "xxl" | undefined>;
|
|
1928
1947
|
/**
|
|
1929
|
-
* Closes the modal when escape key is pressed.
|
|
1948
|
+
* Closes the modal when the escape key is pressed.
|
|
1930
1949
|
* @return boolean
|
|
1931
1950
|
* @default true
|
|
1932
1951
|
*/
|
|
1933
1952
|
readonly keyboard: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1953
|
+
/**
|
|
1954
|
+
* Html id attribute, required for programmatic visibility change.
|
|
1955
|
+
* @return string
|
|
1956
|
+
*/
|
|
1934
1957
|
readonly attrId: _angular_core.InputSignal<string | undefined>;
|
|
1935
1958
|
get id(): string | undefined;
|
|
1936
1959
|
/**
|
|
@@ -1940,7 +1963,7 @@ declare class ModalComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
1940
1963
|
*/
|
|
1941
1964
|
readonly size: _angular_core.InputSignal<"sm" | "lg" | "xl" | undefined>;
|
|
1942
1965
|
/**
|
|
1943
|
-
* Remove animation to create modal that simply
|
|
1966
|
+
* Remove animation to create a modal that simply appears rather than fades in to view.
|
|
1944
1967
|
*/
|
|
1945
1968
|
readonly transition: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1946
1969
|
/**
|
|
@@ -2022,19 +2045,19 @@ declare class OffcanvasComponent implements OnInit, OnDestroy {
|
|
|
2022
2045
|
static ngAcceptInputType_scroll: BooleanInput$1;
|
|
2023
2046
|
static ngAcceptInputType_visible: BooleanInput$1;
|
|
2024
2047
|
/**
|
|
2025
|
-
* Apply a backdrop on body while offcanvas is open.
|
|
2048
|
+
* Apply a backdrop on the body while offcanvas is open.
|
|
2026
2049
|
* @return boolean | 'static'
|
|
2027
2050
|
* @default true
|
|
2028
2051
|
*/
|
|
2029
2052
|
readonly backdrop: _angular_core.InputSignal<boolean | "static">;
|
|
2030
2053
|
/**
|
|
2031
|
-
* Closes the offcanvas when escape key is pressed
|
|
2054
|
+
* Closes the offcanvas when the escape key is pressed
|
|
2032
2055
|
* @return boolean
|
|
2033
2056
|
* @default true
|
|
2034
2057
|
*/
|
|
2035
2058
|
readonly keyboard: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2036
2059
|
/**
|
|
2037
|
-
*
|
|
2060
|
+
* Component placement
|
|
2038
2061
|
* @return {'start' | 'end' | 'top' | 'bottom'}
|
|
2039
2062
|
* @default 'start'
|
|
2040
2063
|
*/
|
|
@@ -2046,6 +2069,10 @@ declare class OffcanvasComponent implements OnInit, OnDestroy {
|
|
|
2046
2069
|
* @since 4.3.10
|
|
2047
2070
|
*/
|
|
2048
2071
|
readonly responsive: _angular_core.InputSignal<boolean | "sm" | "md" | "lg" | "xl" | "xxl" | undefined>;
|
|
2072
|
+
/**
|
|
2073
|
+
* Html id attribute, required for programmatic visibility change.
|
|
2074
|
+
* @return string
|
|
2075
|
+
*/
|
|
2049
2076
|
readonly id: _angular_core.InputSignal<string>;
|
|
2050
2077
|
/**
|
|
2051
2078
|
* Default role for offcanvas. [docs]
|
|
@@ -2648,8 +2675,17 @@ declare class SidebarComponent implements OnChanges, OnDestroy, OnInit {
|
|
|
2648
2675
|
}
|
|
2649
2676
|
|
|
2650
2677
|
declare class SidebarBrandComponent {
|
|
2678
|
+
/**
|
|
2679
|
+
* Image for the wide sidebar.
|
|
2680
|
+
*/
|
|
2651
2681
|
readonly brandFull: _angular_core.InputSignal<any>;
|
|
2682
|
+
/**
|
|
2683
|
+
* Image for the narrow sidebar.
|
|
2684
|
+
*/
|
|
2652
2685
|
readonly brandNarrow: _angular_core.InputSignal<any>;
|
|
2686
|
+
/**
|
|
2687
|
+
* Router link for the sidebar brand.
|
|
2688
|
+
*/
|
|
2653
2689
|
readonly routerLink: _angular_core.InputSignal<string | any[] | UrlTree | null | undefined>;
|
|
2654
2690
|
readonly brandImg: _angular_core.Signal<boolean>;
|
|
2655
2691
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidebarBrandComponent, never>;
|
|
@@ -2764,6 +2800,12 @@ declare class SidebarNavGroupComponent implements OnInit, OnDestroy {
|
|
|
2764
2800
|
readonly helper: SidebarNavHelper;
|
|
2765
2801
|
constructor();
|
|
2766
2802
|
readonly item: _angular_core.InputSignal<INavData | undefined>;
|
|
2803
|
+
/**
|
|
2804
|
+
* Determines when an inactive `c-sidebar-nav-group` closes.
|
|
2805
|
+
* - `path`: on an active route change only
|
|
2806
|
+
* - `close`: when another group is clicked
|
|
2807
|
+
* - `none`: never, the group stays open
|
|
2808
|
+
*/
|
|
2767
2809
|
readonly dropdownMode: _angular_core.InputSignal<"none" | "close" | "path">;
|
|
2768
2810
|
readonly show: _angular_core.InputSignal<boolean | undefined>;
|
|
2769
2811
|
readonly compact: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
@@ -2793,7 +2835,18 @@ declare class SidebarNavComponent implements OnChanges {
|
|
|
2793
2835
|
readonly sidebar: SidebarComponent | null;
|
|
2794
2836
|
readonly helper: SidebarNavHelper;
|
|
2795
2837
|
readonly router: Router;
|
|
2838
|
+
/**
|
|
2839
|
+
* Configuration object for sidebar-nav.
|
|
2840
|
+
* @type INavData[]
|
|
2841
|
+
* @default []
|
|
2842
|
+
*/
|
|
2796
2843
|
readonly navItems: _angular_core.InputSignal<INavData[] | undefined>;
|
|
2844
|
+
/**
|
|
2845
|
+
* Determines when an inactive `c-sidebar-nav-group` closes.
|
|
2846
|
+
* - `path`: on an active route change only
|
|
2847
|
+
* - `close`: when another group is clicked
|
|
2848
|
+
* - `none`: never, the group stays open
|
|
2849
|
+
*/
|
|
2797
2850
|
readonly dropdownMode: _angular_core.InputSignal<"none" | "close" | "path">;
|
|
2798
2851
|
readonly groupItems: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
2799
2852
|
readonly compact: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
@@ -3155,14 +3208,19 @@ declare class TabsComponent {
|
|
|
3155
3208
|
readonly tabsService: TabsService;
|
|
3156
3209
|
/**
|
|
3157
3210
|
* The active item key.
|
|
3158
|
-
* @
|
|
3211
|
+
* @return <string | number | undefined>
|
|
3159
3212
|
*/
|
|
3160
|
-
readonly activeItemKey: ModelSignal<string | number | undefined>;
|
|
3213
|
+
readonly activeItemKey: _angular_core.ModelSignal<string | number | undefined>;
|
|
3161
3214
|
/**
|
|
3162
3215
|
* The id attribute
|
|
3163
3216
|
* @type string
|
|
3164
3217
|
*/
|
|
3165
3218
|
tabsId: string;
|
|
3219
|
+
/**
|
|
3220
|
+
* HTML id attribute.
|
|
3221
|
+
* @return string
|
|
3222
|
+
* @default `tabs-{n}`
|
|
3223
|
+
*/
|
|
3166
3224
|
readonly id: _angular_core.InputSignal<string>;
|
|
3167
3225
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabsComponent, never>;
|
|
3168
3226
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TabsComponent, "c-tabs", ["cTabs"], { "activeItemKey": { "alias": "activeItemKey"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; }, { "activeItemKey": "activeItemKeyChange"; }, never, ["*"], true, never>;
|
|
@@ -3467,6 +3525,10 @@ declare class ToastHeaderComponent {
|
|
|
3467
3525
|
|
|
3468
3526
|
declare class ToastCloseDirective {
|
|
3469
3527
|
#private;
|
|
3528
|
+
/**
|
|
3529
|
+
* Toast to close.
|
|
3530
|
+
* @return ToastComponent
|
|
3531
|
+
*/
|
|
3470
3532
|
readonly cToastClose: _angular_core.InputSignal<ToastComponent | undefined>;
|
|
3471
3533
|
toggleOpen($event: MouseEvent): void;
|
|
3472
3534
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ToastCloseDirective, never>;
|