@coreui/angular-pro 5.3.7 → 5.3.9
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/LICENSE +1 -1
- package/README.md +2 -2
- package/fesm2022/coreui-angular-pro.mjs +2626 -2805
- package/fesm2022/coreui-angular-pro.mjs.map +1 -1
- package/lib/accordion/accordion-button/accordion-button.directive.d.ts +1 -4
- package/lib/accordion/accordion-item/accordion-item.component.d.ts +1 -2
- package/lib/alert/alert.component.d.ts +26 -30
- package/lib/breadcrumb/breadcrumb/breadcrumb.component.d.ts +5 -5
- package/lib/breadcrumb/breadcrumb-item/breadcrumb-item.component.d.ts +8 -9
- package/lib/breadcrumb/breadcrumb-item/breadcrumb-item.d.ts +3 -0
- package/lib/breadcrumb/breadcrumb-router/breadcrumb-router.component.d.ts +6 -7
- package/lib/button-group/button-group/button-group.component.d.ts +1 -5
- package/lib/carousel/carousel/carousel.component.d.ts +26 -31
- package/lib/carousel/carousel-caption/carousel-caption.component.d.ts +0 -1
- package/lib/carousel/carousel-control/carousel-control.component.d.ts +18 -16
- package/lib/carousel/carousel-indicators/carousel-indicators.component.d.ts +6 -5
- package/lib/carousel/carousel-inner/carousel-inner.component.d.ts +7 -7
- package/lib/carousel/carousel-item/carousel-item.component.d.ts +7 -12
- package/lib/carousel/carousel-state.d.ts +0 -1
- package/lib/carousel/carousel.config.d.ts +0 -1
- package/lib/carousel/carousel.service.d.ts +2 -2
- package/lib/form/form/form.directive.d.ts +3 -4
- package/lib/form/form-check/form-check-input.directive.d.ts +10 -12
- package/lib/form/form-check/form-check.component.d.ts +10 -18
- package/lib/form/form-control/form-control.directive.d.ts +10 -10
- package/lib/form/form-feedback/form-feedback.component.d.ts +6 -7
- package/lib/form/form-floating/form-floating.directive.d.ts +1 -3
- package/lib/form/form-label/form-label.directive.d.ts +6 -5
- package/lib/form/form-select/form-select.directive.d.ts +6 -5
- package/lib/form/input-group/input-group.component.d.ts +1 -1
- package/lib/grid/col.directive.d.ts +36 -45
- package/lib/grid/container.component.d.ts +4 -7
- package/lib/grid/gutter.directive.d.ts +4 -4
- package/lib/grid/gutter.type.d.ts +2 -1
- package/lib/grid/row.directive.d.ts +16 -16
- package/lib/header/header/header.component.d.ts +1 -1
- package/lib/header/header-brand/header-brand.component.d.ts +3 -4
- package/lib/header/header-divider/header-divider.component.d.ts +0 -1
- package/lib/header/header-nav/header-nav.component.d.ts +3 -4
- package/lib/header/header-text/header-text.component.d.ts +0 -1
- package/lib/header/header-toggler/header-toggler.directive.d.ts +5 -6
- package/lib/list-group/list-group-item.directive.d.ts +1 -7
- package/lib/modal/modal/modal.component.d.ts +34 -34
- package/lib/modal/modal-dialog/modal-dialog.component.d.ts +12 -9
- package/lib/modal/modal-dismiss/modal-toggle.directive.d.ts +3 -2
- package/lib/modal/modal.service.d.ts +2 -2
- package/lib/nav/nav-link.directive.d.ts +13 -15
- package/lib/nav/nav.component.d.ts +6 -6
- package/lib/offcanvas/offcanvas/offcanvas.component.d.ts +27 -29
- package/lib/offcanvas/offcanvas-toggle/offcanvas-toggle.directive.d.ts +4 -4
- package/lib/pagination/page-item/page-item.directive.d.ts +11 -13
- package/lib/pagination/pagination/pagination.component.d.ts +6 -6
- package/lib/placeholder/placeholder-animation.directive.d.ts +1 -3
- package/lib/placeholder/placeholder.directive.d.ts +1 -4
- package/lib/popover/popover/popover.component.d.ts +3 -3
- package/lib/popover/popover.directive.d.ts +6 -9
- package/lib/progress/progress-bar.component.d.ts +2 -2
- package/lib/progress/progress-bar.directive.d.ts +13 -30
- package/lib/progress/progress-stacked.component.d.ts +3 -4
- package/lib/progress/progress.component.d.ts +15 -17
- package/lib/progress/progress.service.d.ts +11 -0
- package/lib/services/color-mode.service.d.ts +0 -1
- package/lib/shared/html-attr.directive.d.ts +0 -1
- package/lib/shared/theme.directive.d.ts +4 -9
- package/lib/spinner/spinner.component.d.ts +1 -3
- package/lib/table/table-active.directive.d.ts +3 -5
- package/lib/table/table-color.directive.d.ts +4 -5
- package/lib/table/table.directive.d.ts +25 -35
- package/lib/tabs-2/tab/tab.directive.d.ts +5 -10
- package/lib/tabs-2/tab-panel/tab-panel.component.d.ts +1 -7
- package/lib/tabs-2/tabs-list/tabs-list.component.d.ts +1 -6
- package/lib/tabs-2/tabs.component.d.ts +1 -2
- package/lib/toast/toast/toast.component.d.ts +14 -15
- package/lib/toast/toast-body/toast-body.component.d.ts +1 -2
- package/lib/toast/toast-close.directive.d.ts +4 -3
- package/lib/toast/toast-header/toast-header.component.d.ts +5 -5
- package/lib/toast/toaster/toaster.component.d.ts +12 -13
- package/lib/toast/toaster/toaster.service.d.ts +1 -1
- package/lib/tooltip/tooltip/tooltip.component.d.ts +1 -1
- package/lib/tooltip/tooltip.directive.d.ts +6 -9
- package/lib/utilities/align.directive.d.ts +4 -4
- package/lib/utilities/bg-color.directive.d.ts +5 -6
- package/lib/utilities/border.directive.d.ts +4 -4
- package/lib/utilities/rounded.directive.d.ts +3 -3
- package/lib/utilities/shadow-on-scroll.directive.d.ts +2 -2
- package/lib/widget/widget-stat-a/widget-stat-a.component.d.ts +1 -1
- package/lib/widget/widget-stat-c/widget-stat-c.component.d.ts +1 -1
- package/lib/widget/widget-stat-f/widget-stat-f.component.d.ts +1 -1
- package/package.json +9 -9
- package/lib/grid/container.type.d.ts +0 -6
|
@@ -3,17 +3,12 @@ export declare class ThemeDirective {
|
|
|
3
3
|
#private;
|
|
4
4
|
/**
|
|
5
5
|
* Add dark theme attribute.
|
|
6
|
-
* @
|
|
6
|
+
* @return 'dark' | 'light' | undefined
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* Add dark theme attribute.
|
|
11
|
-
* @type boolean
|
|
12
|
-
*/
|
|
13
|
-
set dark(darkTheme: boolean);
|
|
8
|
+
readonly colorScheme: import("@angular/core").InputSignal<"dark" | "light" | undefined>;
|
|
9
|
+
readonly dark: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
14
10
|
setTheme(theme?: string): void;
|
|
15
11
|
unsetTheme(): void;
|
|
16
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeDirective, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ThemeDirective, "[cTheme]",
|
|
18
|
-
static ngAcceptInputType_dark: unknown;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ThemeDirective, "[cTheme]", ["cTheme"], { "colorScheme": { "alias": "colorScheme"; "required": false; "isSignal": true; }; "dark": { "alias": "dark"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
19
14
|
}
|
|
@@ -29,9 +29,7 @@ export declare class SpinnerComponent {
|
|
|
29
29
|
* @default 'status'
|
|
30
30
|
*/
|
|
31
31
|
readonly role: import("@angular/core").InputSignal<string>;
|
|
32
|
-
readonly hostClasses: import("@angular/core").Signal<
|
|
33
|
-
[x: string]: boolean;
|
|
34
|
-
}>;
|
|
32
|
+
readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
35
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerComponent, never>;
|
|
36
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "c-spinner", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
37
35
|
}
|
|
@@ -2,11 +2,9 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export declare class TableActiveDirective {
|
|
3
3
|
/**
|
|
4
4
|
* Highlight a table row or cell
|
|
5
|
-
* @
|
|
5
|
+
* @return boolean
|
|
6
6
|
*/
|
|
7
|
-
active:
|
|
8
|
-
get hostClasses(): any;
|
|
7
|
+
readonly active: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
9
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableActiveDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableActiveDirective, "[cTableActive]",
|
|
11
|
-
static ngAcceptInputType_active: unknown;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableActiveDirective, "[cTableActive]", ["cTableActive"], { "active": { "alias": "cTableActive"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
10
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { Colors } from '../coreui.types';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class TableColorDirective {
|
|
4
3
|
/**
|
|
5
4
|
* Use contextual color for tables, table rows or individual cells.
|
|
6
|
-
* @
|
|
5
|
+
* @return Colors
|
|
7
6
|
*/
|
|
8
|
-
color
|
|
9
|
-
|
|
7
|
+
readonly color: import("@angular/core").InputSignal<string | undefined>;
|
|
8
|
+
readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
10
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableColorDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableColorDirective, "[cTableColor]",
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableColorDirective, "[cTableColor]", ["cTableColor"], { "color": { "alias": "cTableColor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
11
|
}
|
|
@@ -1,75 +1,65 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { Breakpoints, Colors } from '../coreui.types';
|
|
3
|
-
import { ITable } from './table.type';
|
|
4
1
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TableDirective
|
|
2
|
+
export declare class TableDirective {
|
|
6
3
|
#private;
|
|
7
4
|
/**
|
|
8
5
|
* Set the vertical alignment.
|
|
9
|
-
* @
|
|
6
|
+
* @return string
|
|
10
7
|
* @values 'bottom' | 'middle' | 'top'
|
|
11
8
|
*/
|
|
12
|
-
align
|
|
9
|
+
readonly align: import("@angular/core").InputSignal<"top" | "middle" | "bottom" | undefined>;
|
|
13
10
|
/**
|
|
14
11
|
* Sets the border color of the component to one of CoreUI’s themed colors.
|
|
15
|
-
* @
|
|
12
|
+
* @return Colors
|
|
16
13
|
*/
|
|
17
|
-
borderColor
|
|
14
|
+
readonly borderColor: import("@angular/core").InputSignal<string | undefined>;
|
|
18
15
|
/**
|
|
19
16
|
* Add borders on all sides of the table and cells.
|
|
20
|
-
* @
|
|
17
|
+
* @return boolean
|
|
21
18
|
*/
|
|
22
|
-
bordered:
|
|
19
|
+
readonly bordered: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
23
20
|
/**
|
|
24
21
|
* Remove borders on all sides of the table and cells.
|
|
25
|
-
* @
|
|
22
|
+
* @return boolean
|
|
26
23
|
*/
|
|
27
|
-
borderless:
|
|
24
|
+
readonly borderless: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
28
25
|
/**
|
|
29
26
|
* Put the `<caption>` on the top of the table.
|
|
27
|
+
* @return 'top'
|
|
30
28
|
* @values 'top'
|
|
31
29
|
*/
|
|
32
|
-
caption
|
|
30
|
+
readonly caption: import("@angular/core").InputSignal<"top" | undefined>;
|
|
33
31
|
/**
|
|
34
32
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
35
|
-
* @
|
|
33
|
+
* @return Colors
|
|
36
34
|
*/
|
|
37
|
-
color
|
|
35
|
+
readonly color: import("@angular/core").InputSignal<string | undefined>;
|
|
38
36
|
/**
|
|
39
37
|
* Enable a hover state on table rows within table body.
|
|
40
|
-
* @
|
|
38
|
+
* @return boolean
|
|
41
39
|
*/
|
|
42
|
-
hover:
|
|
40
|
+
readonly hover: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
43
41
|
/**
|
|
44
42
|
* Make table responsive across all viewports or pick a maximum breakpoint with which to have a responsive table up to.
|
|
45
|
-
* @
|
|
43
|
+
* @values: {boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'}
|
|
46
44
|
*/
|
|
47
|
-
responsive
|
|
45
|
+
readonly responsive: import("@angular/core").InputSignal<boolean | Omit<string, "xs"> | undefined>;
|
|
48
46
|
/**
|
|
49
47
|
* Make table more compact by cutting all cell `padding` in half.
|
|
50
|
-
* @
|
|
48
|
+
* @return boolean
|
|
51
49
|
*/
|
|
52
|
-
small:
|
|
50
|
+
readonly small: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
53
51
|
/**
|
|
54
52
|
* Add zebra-striping to any table row within the table body.
|
|
55
|
-
* @
|
|
53
|
+
* @return boolean
|
|
56
54
|
*/
|
|
57
|
-
striped:
|
|
55
|
+
readonly striped: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
58
56
|
/**
|
|
59
57
|
* Add zebra-striping to any table column.
|
|
60
|
-
* @
|
|
58
|
+
* @return boolean
|
|
61
59
|
* @since 4.2.4
|
|
62
60
|
*/
|
|
63
|
-
stripedColumns:
|
|
64
|
-
|
|
65
|
-
ngOnInit(): void;
|
|
66
|
-
setResponsiveWrapper(): void;
|
|
61
|
+
readonly stripedColumns: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
62
|
+
readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
67
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableDirective, never>;
|
|
68
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableDirective, "table[cTable]",
|
|
69
|
-
static ngAcceptInputType_bordered: unknown;
|
|
70
|
-
static ngAcceptInputType_borderless: unknown;
|
|
71
|
-
static ngAcceptInputType_hover: unknown;
|
|
72
|
-
static ngAcceptInputType_small: unknown;
|
|
73
|
-
static ngAcceptInputType_striped: unknown;
|
|
74
|
-
static ngAcceptInputType_stripedColumns: unknown;
|
|
64
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableDirective, "table[cTable]", ["cTable"], { "align": { "alias": "align"; "required": false; "isSignal": true; }; "borderColor": { "alias": "borderColor"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "borderless": { "alias": "borderless"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "hover": { "alias": "hover"; "required": false; "isSignal": true; }; "responsive": { "alias": "responsive"; "required": false; "isSignal": true; }; "small": { "alias": "small"; "required": false; "isSignal": true; }; "striped": { "alias": "striped"; "required": false; "isSignal": true; }; "stripedColumns": { "alias": "stripedColumns"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
75
65
|
}
|
|
@@ -5,12 +5,13 @@ export declare class TabDirective implements FocusableOption, OnInit {
|
|
|
5
5
|
#private;
|
|
6
6
|
/**
|
|
7
7
|
* Disabled attribute
|
|
8
|
-
* @
|
|
8
|
+
* @return boolean
|
|
9
9
|
* @default false
|
|
10
10
|
*/
|
|
11
|
+
readonly disabledInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
12
|
+
readonly attrDisabled: import("@angular/core").Signal<true | null>;
|
|
11
13
|
set disabled(value: boolean);
|
|
12
14
|
get disabled(): boolean;
|
|
13
|
-
readonly attrDisabled: import("@angular/core").Signal<true | null>;
|
|
14
15
|
/**
|
|
15
16
|
* Item key.
|
|
16
17
|
* @type string | number
|
|
@@ -30,17 +31,11 @@ export declare class TabDirective implements FocusableOption, OnInit {
|
|
|
30
31
|
*/
|
|
31
32
|
readonly ariaControls: InputSignal<string | undefined>;
|
|
32
33
|
readonly isActive: import("@angular/core").WritableSignal<boolean>;
|
|
33
|
-
readonly hostClasses: import("@angular/core").Signal<
|
|
34
|
-
'nav-link': boolean;
|
|
35
|
-
active: boolean;
|
|
36
|
-
disabled: boolean;
|
|
37
|
-
}>;
|
|
34
|
+
readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
38
35
|
readonly propId: import("@angular/core").Signal<string>;
|
|
39
36
|
readonly attrAriaControls: import("@angular/core").Signal<string>;
|
|
40
|
-
disabledEffect: import("@angular/core").EffectRef;
|
|
41
37
|
focus(origin?: FocusOrigin): void;
|
|
42
38
|
ngOnInit(): void;
|
|
43
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabDirective, never>;
|
|
44
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TabDirective, "button[cTab]", ["cTab"], { "
|
|
45
|
-
static ngAcceptInputType_disabled: unknown;
|
|
40
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TabDirective, "button[cTab]", ["cTab"], { "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "itemKey": { "alias": "itemKey"; "required": true; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "ariaControls": { "alias": "aria-controls"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
46
41
|
}
|
|
@@ -48,13 +48,7 @@ export declare class TabPanelComponent {
|
|
|
48
48
|
readonly visible: import("@angular/core").Signal<boolean>;
|
|
49
49
|
readonly propId: import("@angular/core").Signal<string>;
|
|
50
50
|
readonly attrAriaLabelledBy: import("@angular/core").Signal<string>;
|
|
51
|
-
readonly hostClasses: import("@angular/core").Signal<
|
|
52
|
-
'tab-pane': boolean;
|
|
53
|
-
active: boolean;
|
|
54
|
-
fade: boolean;
|
|
55
|
-
show: boolean;
|
|
56
|
-
invisible: any;
|
|
57
|
-
}>;
|
|
51
|
+
readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
58
52
|
get animationDisabled(): boolean;
|
|
59
53
|
get animateType(): AnimateType;
|
|
60
54
|
onAnimationDone($event: AnimationEvent): void;
|
|
@@ -22,13 +22,8 @@ export declare class TabsListComponent {
|
|
|
22
22
|
* @default 'tablist'
|
|
23
23
|
*/
|
|
24
24
|
readonly role: InputSignal<string>;
|
|
25
|
-
readonly hostClasses: import("@angular/core").Signal<
|
|
26
|
-
[x: string]: boolean | "fill" | "justified" | "tabs" | "pills" | "underline" | "underline-border" | undefined;
|
|
27
|
-
nav: boolean;
|
|
28
|
-
}>;
|
|
25
|
+
readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
29
26
|
readonly tabs: import("@angular/core").Signal<readonly TabDirective[]>;
|
|
30
|
-
readonly tabsEffect: import("@angular/core").EffectRef;
|
|
31
|
-
readonly tabsServiceEffect: import("@angular/core").EffectRef;
|
|
32
27
|
onKeydown($event: any): void;
|
|
33
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabsListComponent, never>;
|
|
34
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<TabsListComponent, "c-tabs-list", ["cTabsList"], { "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; }, {}, ["tabs"], ["*"], true, never>;
|
|
@@ -2,6 +2,7 @@ import { ModelSignal } from '@angular/core';
|
|
|
2
2
|
import { TabsService } from './tabs.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class TabsComponent {
|
|
5
|
+
#private;
|
|
5
6
|
readonly tabsService: TabsService;
|
|
6
7
|
/**
|
|
7
8
|
* The active item key.
|
|
@@ -14,8 +15,6 @@ export declare class TabsComponent {
|
|
|
14
15
|
*/
|
|
15
16
|
tabsId: string;
|
|
16
17
|
readonly id: import("@angular/core").InputSignal<string>;
|
|
17
|
-
readonly activeItemEffect: import("@angular/core").EffectRef;
|
|
18
|
-
readonly tabsServiceEffect: import("@angular/core").EffectRef;
|
|
19
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
|
|
20
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "c-tabs", ["cTabs"], { "activeItemKey": { "alias": "activeItemKey"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; }, { "activeItemKey": "activeItemKeyChange"; }, never, ["*"], true, never>;
|
|
21
20
|
}
|
|
@@ -4,36 +4,38 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
type AnimateType = 'hide' | 'show';
|
|
5
5
|
export declare class ToastComponent implements OnInit, OnDestroy {
|
|
6
6
|
#private;
|
|
7
|
+
readonly changeDetectorRef: ChangeDetectorRef;
|
|
7
8
|
readonly hostElement: ElementRef<any>;
|
|
8
9
|
readonly renderer: Renderer2;
|
|
9
10
|
readonly toasterService: ToasterService;
|
|
10
|
-
readonly changeDetectorRef: ChangeDetectorRef;
|
|
11
11
|
readonly dynamic: import("@angular/core").InputSignal<boolean | undefined>;
|
|
12
|
-
readonly
|
|
12
|
+
readonly placementInput: import("@angular/core").InputSignal<string | undefined>;
|
|
13
|
+
get placement(): string | undefined;
|
|
13
14
|
/**
|
|
14
15
|
* Auto hide the toast.
|
|
15
|
-
* @
|
|
16
|
+
* @return boolean
|
|
16
17
|
*/
|
|
17
18
|
readonly autohide: import("@angular/core").InputSignal<boolean>;
|
|
18
19
|
/**
|
|
19
20
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
20
|
-
* @
|
|
21
|
+
* @return Colors
|
|
21
22
|
*/
|
|
22
23
|
readonly color: import("@angular/core").InputSignal<string>;
|
|
23
24
|
/**
|
|
24
25
|
* Delay hiding the toast (ms).
|
|
25
|
-
* @
|
|
26
|
+
* @return number
|
|
26
27
|
*/
|
|
27
28
|
readonly delay: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
28
29
|
/**
|
|
29
30
|
* Apply fade transition to the toast.
|
|
30
|
-
* @
|
|
31
|
+
* @return boolean
|
|
31
32
|
*/
|
|
32
33
|
readonly fade: import("@angular/core").InputSignal<boolean>;
|
|
33
34
|
/**
|
|
34
35
|
* Toggle the visibility of component.
|
|
35
|
-
* @
|
|
36
|
+
* @return boolean
|
|
36
37
|
*/
|
|
38
|
+
readonly visibleInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
37
39
|
set visible(value: boolean);
|
|
38
40
|
get visible(): boolean;
|
|
39
41
|
/**
|
|
@@ -42,12 +44,12 @@ export declare class ToastComponent implements OnInit, OnDestroy {
|
|
|
42
44
|
readonly index: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
43
45
|
/**
|
|
44
46
|
* Event emitted on visibility change. [docs]
|
|
45
|
-
* @
|
|
47
|
+
* @return <boolean>
|
|
46
48
|
*/
|
|
47
49
|
readonly visibleChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
48
50
|
/**
|
|
49
51
|
* Event emitted on timer tick. [docs]
|
|
50
|
-
* @
|
|
52
|
+
* @return number
|
|
51
53
|
*/
|
|
52
54
|
readonly timer: import("@angular/core").OutputEmitterRef<number>;
|
|
53
55
|
private timerId;
|
|
@@ -56,11 +58,9 @@ export declare class ToastComponent implements OnInit, OnDestroy {
|
|
|
56
58
|
private _clock;
|
|
57
59
|
get clock(): number;
|
|
58
60
|
set clock(value: number);
|
|
59
|
-
|
|
61
|
+
readonly animationDisabled: import("@angular/core").Signal<boolean>;
|
|
60
62
|
get animateType(): AnimateType;
|
|
61
|
-
|
|
62
|
-
onMouseOut(): void;
|
|
63
|
-
get hostClasses(): any;
|
|
63
|
+
readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
64
64
|
ngOnInit(): void;
|
|
65
65
|
ngOnDestroy(): void;
|
|
66
66
|
setTimer(): void;
|
|
@@ -69,7 +69,6 @@ export declare class ToastComponent implements OnInit, OnDestroy {
|
|
|
69
69
|
setClock(): void;
|
|
70
70
|
clearClock(): void;
|
|
71
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "c-toast", ["cToast"], { "dynamic": { "alias": "dynamic"; "required": false; "isSignal": true; }; "
|
|
73
|
-
static ngAcceptInputType_visible: unknown;
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "c-toast", ["cToast"], { "dynamic": { "alias": "dynamic"; "required": false; "isSignal": true; }; "placementInput": { "alias": "placement"; "required": false; "isSignal": true; }; "autohide": { "alias": "autohide"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "delay": { "alias": "delay"; "required": false; "isSignal": true; }; "fade": { "alias": "fade"; "required": false; "isSignal": true; }; "visibleInput": { "alias": "visible"; "required": false; "isSignal": true; }; "index": { "alias": "index"; "required": false; "isSignal": true; }; }, { "visibleChange": "visibleChange"; "timer": "timer"; }, never, ["*"], true, never>;
|
|
74
73
|
}
|
|
75
74
|
export {};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ToastComponent } from '../toast/toast.component';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class ToastBodyComponent {
|
|
4
|
-
toast?: ToastComponent | null | undefined;
|
|
5
|
-
toastBodyClass: boolean;
|
|
4
|
+
readonly toast?: ToastComponent | null | undefined;
|
|
6
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToastBodyComponent, never>;
|
|
7
6
|
static ɵcmp: i0.ɵɵComponentDeclaration<ToastBodyComponent, "c-toast-body", ["cToastBody"], {}, {}, never, ["*"], true, never>;
|
|
8
7
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import type { ToastComponent } from './toast/toast.component';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class ToastCloseDirective {
|
|
3
4
|
#private;
|
|
4
|
-
|
|
5
|
-
toggleOpen($event:
|
|
5
|
+
readonly cToastClose: import("@angular/core").InputSignal<ToastComponent | undefined>;
|
|
6
|
+
toggleOpen($event: MouseEvent): void;
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToastCloseDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ToastCloseDirective, "[cToastClose]", ["cToastClose"], { "
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ToastCloseDirective, "[cToastClose]", ["cToastClose"], { "cToastClose": { "alias": "cToastClose"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8
9
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ToastComponent } from '../toast/toast.component';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class ToastHeaderComponent {
|
|
4
|
-
|
|
4
|
+
#private;
|
|
5
|
+
readonly toast: import("@angular/core").WritableSignal<ToastComponent | undefined>;
|
|
5
6
|
/**
|
|
6
7
|
* Add close button to a toast header
|
|
7
|
-
* @
|
|
8
|
+
* @return boolean
|
|
8
9
|
*/
|
|
9
|
-
closeButton: boolean
|
|
10
|
-
toastHeaderClass: boolean;
|
|
10
|
+
readonly closeButton: import("@angular/core").InputSignal<boolean>;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToastHeaderComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToastHeaderComponent, "c-toast-header", ["cToastHeader"], { "closeButton": { "alias": "closeButton"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToastHeaderComponent, "c-toast-header", ["cToastHeader"], { "closeButton": { "alias": "closeButton"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
13
13
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComponentRef, Injector, NgModuleRef, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { IToasterAction } from './toaster.service';
|
|
3
3
|
import { ToasterHostDirective } from './toaster-host.directive';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -15,26 +15,25 @@ export declare enum ToasterPlacement {
|
|
|
15
15
|
BottomEnd = "bottom-end"
|
|
16
16
|
}
|
|
17
17
|
export type TToasterPlacement = ToasterPlacement.Static | ToasterPlacement.TopStart | ToasterPlacement.TopCenter | ToasterPlacement.TopEnd | ToasterPlacement.MiddleStart | ToasterPlacement.MiddleCenter | ToasterPlacement.MiddleEnd | ToasterPlacement.BottomStart | ToasterPlacement.BottomCenter | ToasterPlacement.BottomEnd | string;
|
|
18
|
-
export declare class ToasterComponent implements OnInit
|
|
18
|
+
export declare class ToasterComponent implements OnInit {
|
|
19
19
|
#private;
|
|
20
20
|
placements: ToasterPlacement[];
|
|
21
|
-
|
|
22
|
-
toastsDynamic: any[];
|
|
21
|
+
toastsDynamic: ComponentRef<any>[];
|
|
23
22
|
/**
|
|
24
23
|
* Toaster placement
|
|
25
|
-
* @
|
|
24
|
+
* @return TToasterPlacement
|
|
26
25
|
*/
|
|
27
|
-
|
|
26
|
+
readonly placementInput: import("@angular/core").InputSignal<string>;
|
|
27
|
+
get placement(): string;
|
|
28
28
|
/**
|
|
29
29
|
* Toaster position
|
|
30
|
-
* @
|
|
30
|
+
* @return (string | 'absolute' | 'fixed' | 'static')
|
|
31
31
|
*/
|
|
32
|
-
position: string
|
|
33
|
-
toasterHost: ToasterHostDirective
|
|
34
|
-
contentToasts:
|
|
35
|
-
|
|
32
|
+
readonly position: import("@angular/core").InputSignal<string>;
|
|
33
|
+
readonly toasterHost: import("@angular/core").Signal<ToasterHostDirective>;
|
|
34
|
+
readonly contentToasts: import("@angular/core").Signal<readonly ViewContainerRef[]>;
|
|
35
|
+
readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
36
36
|
ngOnInit(): void;
|
|
37
|
-
ngAfterContentChecked(): void;
|
|
38
37
|
addToast(toast: any, props: any, options?: {
|
|
39
38
|
index?: number;
|
|
40
39
|
injector?: Injector;
|
|
@@ -44,5 +43,5 @@ export declare class ToasterComponent implements OnInit, AfterContentChecked {
|
|
|
44
43
|
removeToast(state: IToasterAction): void;
|
|
45
44
|
private stateToasterSubscribe;
|
|
46
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToasterComponent, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToasterComponent, "c-toaster", ["cToaster"], { "
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToasterComponent, "c-toaster", ["cToaster"], { "placementInput": { "alias": "placement"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; }, {}, ["contentToasts"], ["*"], true, never>;
|
|
48
47
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TToasterPlacement } from './toaster.component';
|
|
2
|
-
import { ToastComponent } from '../toast/toast.component';
|
|
2
|
+
import { type ToastComponent } from '../toast/toast.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export interface IToasterAction {
|
|
5
5
|
placement?: TToasterPlacement;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { OnDestroy, Renderer2, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TooltipComponent implements OnDestroy {
|
|
4
|
+
#private;
|
|
4
5
|
readonly renderer: Renderer2;
|
|
5
6
|
/**
|
|
6
7
|
* Content of tooltip
|
|
7
8
|
* @type {string | TemplateRef}
|
|
8
9
|
*/
|
|
9
10
|
readonly content: import("@angular/core").InputSignal<string | TemplateRef<any>>;
|
|
10
|
-
readonly contentEffect: import("@angular/core").EffectRef;
|
|
11
11
|
/**
|
|
12
12
|
* Toggle the visibility of popover component.
|
|
13
13
|
* @type boolean
|
|
@@ -7,16 +7,14 @@ export declare class TooltipDirective implements OnDestroy, OnInit, AfterViewIni
|
|
|
7
7
|
#private;
|
|
8
8
|
/**
|
|
9
9
|
* Content of tooltip
|
|
10
|
-
* @
|
|
10
|
+
* @return {string | TemplateRef}
|
|
11
11
|
*/
|
|
12
12
|
readonly content: import("@angular/core").InputSignal<string | TemplateRef<any> | undefined>;
|
|
13
|
-
readonly contentEffect: import("@angular/core").EffectRef;
|
|
14
13
|
/**
|
|
15
14
|
* Optional popper Options object, takes precedence over cPopoverPlacement prop
|
|
16
|
-
* @
|
|
15
|
+
* @return Partial<Options>
|
|
17
16
|
*/
|
|
18
17
|
readonly popperOptions: import("@angular/core").InputSignal<Partial<Options>>;
|
|
19
|
-
readonly popperOptionsEffect: import("@angular/core").EffectRef;
|
|
20
18
|
readonly popperOptionsComputed: import("@angular/core").Signal<{
|
|
21
19
|
placement: import("@popperjs/core").Placement;
|
|
22
20
|
modifiers?: Partial<import("@popperjs/core").Modifier<any, any>>[] | undefined;
|
|
@@ -25,28 +23,27 @@ export declare class TooltipDirective implements OnDestroy, OnInit, AfterViewIni
|
|
|
25
23
|
}>;
|
|
26
24
|
/**
|
|
27
25
|
* Describes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property.
|
|
28
|
-
* @
|
|
26
|
+
* @return: 'top' | 'bottom' | 'left' | 'right'
|
|
29
27
|
* @default: 'top'
|
|
30
28
|
*/
|
|
31
29
|
readonly placement: import("@angular/core").InputSignal<"top" | "bottom" | "right" | "left">;
|
|
32
30
|
/**
|
|
33
31
|
* ElementRefDirective for positioning the tooltip on reference element
|
|
34
|
-
* @
|
|
32
|
+
* @return: ElementRefDirective
|
|
35
33
|
* @default: undefined
|
|
36
34
|
*/
|
|
37
35
|
readonly reference: import("@angular/core").InputSignal<ElementRefDirective | undefined>;
|
|
38
36
|
readonly referenceRef: import("@angular/core").Signal<ElementRef<any>>;
|
|
39
37
|
/**
|
|
40
38
|
* Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.
|
|
41
|
-
* @
|
|
39
|
+
* @return: 'Triggers | Triggers[]
|
|
42
40
|
*/
|
|
43
41
|
readonly trigger: import("@angular/core").InputSignal<Triggers | Triggers[]>;
|
|
44
42
|
/**
|
|
45
43
|
* Toggle the visibility of tooltip component.
|
|
46
|
-
* @
|
|
44
|
+
* @return boolean
|
|
47
45
|
*/
|
|
48
46
|
readonly visible: import("@angular/core").ModelSignal<boolean>;
|
|
49
|
-
readonly visibleEffect: import("@angular/core").EffectRef;
|
|
50
47
|
get ariaDescribedBy(): string | null;
|
|
51
48
|
private tooltip;
|
|
52
49
|
private tooltipId;
|
|
@@ -3,10 +3,10 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class AlignDirective {
|
|
4
4
|
/**
|
|
5
5
|
* Set vertical alignment of inline, inline-block, inline-table, and table cell elements
|
|
6
|
-
* @
|
|
6
|
+
* @return Alignment
|
|
7
7
|
*/
|
|
8
|
-
align
|
|
9
|
-
|
|
8
|
+
readonly align: import("@angular/core").InputSignal<Alignment | undefined>;
|
|
9
|
+
readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AlignDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AlignDirective, "[cAlign]",
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AlignDirective, "[cAlign]", ["cAlign"], { "align": { "alias": "cAlign"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
12
|
}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { BackgroundColors } from '../coreui.types';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class BgColorDirective {
|
|
4
3
|
/**
|
|
5
4
|
* Set the background of an element to any contextual class
|
|
6
5
|
*/
|
|
7
|
-
|
|
6
|
+
readonly cBgColor: import("@angular/core").InputSignal<string>;
|
|
8
7
|
/**
|
|
9
8
|
* Add linear gradient as background image to the backgrounds.
|
|
10
|
-
* @
|
|
9
|
+
* @return boolean
|
|
11
10
|
*/
|
|
12
|
-
gradient
|
|
13
|
-
|
|
11
|
+
readonly gradient: import("@angular/core").InputSignal<boolean | undefined>;
|
|
12
|
+
readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
14
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<BgColorDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BgColorDirective, "[cBgColor]",
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BgColorDirective, "[cBgColor]", ["cBgColor"], { "cBgColor": { "alias": "cBgColor"; "required": false; "isSignal": true; }; "gradient": { "alias": "gradient"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
16
15
|
}
|
|
@@ -3,10 +3,10 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class BorderDirective {
|
|
4
4
|
/**
|
|
5
5
|
* Add or remove an element’s borders
|
|
6
|
-
* @
|
|
6
|
+
* @return Border
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
readonly cBorder: import("@angular/core").InputSignal<Border>;
|
|
9
|
+
readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<BorderDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BorderDirective, "[cBorder]",
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BorderDirective, "[cBorder]", ["cBorder"], { "cBorder": { "alias": "cBorder"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
12
|
}
|
|
@@ -5,8 +5,8 @@ export declare class RoundedDirective {
|
|
|
5
5
|
* Set border radius variant and radius size
|
|
6
6
|
* @type Rounded
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
readonly cRounded: import("@angular/core").InputSignal<Rounded>;
|
|
9
|
+
readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<RoundedDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RoundedDirective, "[cRounded]",
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RoundedDirective, "[cRounded]", ["cRounded"], { "cRounded": { "alias": "cRounded"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
12
|
}
|
|
@@ -2,7 +2,7 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export declare class ShadowOnScrollDirective {
|
|
3
3
|
#private;
|
|
4
4
|
constructor();
|
|
5
|
-
|
|
5
|
+
readonly cShadowOnScroll: import("@angular/core").InputSignal<boolean | "sm" | "lg" | "none">;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShadowOnScrollDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ShadowOnScrollDirective, "[cShadowOnScroll]",
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ShadowOnScrollDirective, "[cShadowOnScroll]", ["cShadowOnScroll"], { "cShadowOnScroll": { "alias": "cShadowOnScroll"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8
8
|
}
|
|
@@ -3,6 +3,7 @@ import { TemplateIdDirective } from '../../shared';
|
|
|
3
3
|
import { CardComponent } from '../../card';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class WidgetStatAComponent extends CardComponent {
|
|
6
|
+
#private;
|
|
6
7
|
/**
|
|
7
8
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
8
9
|
* @type Colors
|
|
@@ -19,7 +20,6 @@ export declare class WidgetStatAComponent extends CardComponent {
|
|
|
19
20
|
readonly value: InputSignal<string | undefined>;
|
|
20
21
|
templates: Record<string, TemplateRef<any>>;
|
|
21
22
|
readonly contentTemplates: import("@angular/core").Signal<readonly TemplateIdDirective[]>;
|
|
22
|
-
readonly contentTemplatesEffect: import("@angular/core").EffectRef;
|
|
23
23
|
readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
24
24
|
get bodyClasses(): {
|
|
25
25
|
'pb-0': boolean;
|