@coreui/angular 4.7.17 → 5.0.0-rc.0
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 +11 -1
- package/esm2022/lib/accordion/accordion/accordion.component.mjs +22 -16
- package/esm2022/lib/alert/alert.component.mjs +28 -36
- package/esm2022/lib/avatar/avatar.component.mjs +8 -5
- package/esm2022/lib/backdrop/backdrop.service.mjs +1 -2
- package/esm2022/lib/badge/badge.component.mjs +8 -4
- package/esm2022/lib/breadcrumb/breadcrumb-item/breadcrumb-item.component.mjs +5 -4
- package/esm2022/lib/breadcrumb/breadcrumb-router/breadcrumb-router.component.mjs +3 -3
- package/esm2022/lib/breadcrumb/breadcrumb-router/breadcrumb-router.service.mjs +6 -6
- package/esm2022/lib/button/button-close.directive.mjs +9 -3
- package/esm2022/lib/card/card.component.mjs +11 -8
- package/esm2022/lib/carousel/carousel/carousel.component.mjs +18 -17
- package/esm2022/lib/carousel/carousel-indicators/carousel-indicators.component.mjs +3 -3
- package/esm2022/lib/carousel/carousel-item/carousel-item.component.mjs +7 -7
- package/esm2022/lib/collapse/collapse.directive.mjs +30 -40
- package/esm2022/lib/coreui.types.mjs +1 -1
- package/esm2022/lib/dropdown/dropdown/dropdown.component.mjs +28 -49
- package/esm2022/lib/dropdown/dropdown-item/dropdown-item.directive.mjs +10 -2
- package/esm2022/lib/dropdown/dropdown-menu/dropdown-menu.directive.mjs +76 -40
- package/esm2022/lib/dropdown/dropdown.service.mjs +2 -2
- package/esm2022/lib/form/form-check/form-check-input.directive.mjs +10 -8
- package/esm2022/lib/grid/row.directive.mjs +4 -4
- package/esm2022/lib/header/header/header.component.mjs +3 -3
- package/esm2022/lib/modal/modal/modal.component.mjs +1 -1
- package/esm2022/lib/nav/nav.component.mjs +3 -3
- package/esm2022/lib/navbar/navbar.component.mjs +7 -11
- package/esm2022/lib/offcanvas/offcanvas/offcanvas.component.mjs +8 -4
- package/esm2022/lib/placeholder/placeholder.directive.mjs +11 -18
- package/esm2022/lib/popover/popover.directive.mjs +2 -2
- package/esm2022/lib/progress/progress-bar.component.mjs +21 -87
- package/esm2022/lib/progress/progress-bar.directive.mjs +112 -0
- package/esm2022/lib/progress/progress-stacked.component.mjs +19 -0
- package/esm2022/lib/progress/progress.component.mjs +25 -10
- package/esm2022/lib/progress/progress.module.mjs +15 -5
- package/esm2022/lib/progress/progress.type.mjs +2 -0
- package/esm2022/lib/progress/public_api.mjs +3 -1
- package/esm2022/lib/services/color-mode.service.mjs +73 -0
- package/esm2022/lib/services/in-memory-storage.service.mjs +33 -0
- package/esm2022/lib/services/local-storage.service.mjs +51 -0
- package/esm2022/lib/services/public_api.mjs +4 -1
- package/esm2022/lib/shared/public_api.mjs +2 -1
- package/esm2022/lib/shared/shared.module.mjs +5 -12
- package/esm2022/lib/shared/theme.directive.mjs +45 -0
- package/esm2022/lib/sidebar/public_api.mjs +2 -2
- package/esm2022/lib/sidebar/sidebar/sidebar.component.mjs +38 -47
- package/esm2022/lib/sidebar/sidebar-brand/sidebar-brand.component.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-label.component.mjs +3 -3
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav-link.component.mjs +8 -8
- package/esm2022/lib/sidebar/sidebar-nav/sidebar-nav.component.mjs +19 -15
- package/esm2022/lib/sidebar/sidebar-toggler/sidebar-toggler.directive.mjs +39 -0
- package/esm2022/lib/sidebar/sidebar.module.mjs +6 -6
- package/esm2022/lib/table/table.type.mjs +1 -1
- package/esm2022/lib/tabs/tab-content/tab-content.component.mjs +7 -7
- package/esm2022/lib/tabs/tab-content-ref.directive.mjs +12 -9
- package/esm2022/lib/tabs/tab-pane/tab-pane.component.mjs +5 -8
- package/esm2022/lib/toast/toast/toast.component.mjs +11 -9
- package/esm2022/lib/tooltip/tooltip.directive.mjs +2 -2
- package/esm2022/lib/utilities/public_api.mjs +4 -3
- package/esm2022/lib/utilities/shadow-on-scroll.directive.mjs +48 -0
- package/esm2022/lib/utilities/utilities.module.mjs +5 -29
- package/esm2022/lib/widget/widget-stat-a/widget-stat-a.component.mjs +2 -2
- package/esm2022/lib/widget/widget-stat-b/widget-stat-b.component.mjs +4 -4
- package/esm2022/lib/widget/widget-stat-c/widget-stat-c.component.mjs +14 -16
- package/esm2022/lib/widget/widget-stat-d/widget-stat-d.component.mjs +3 -3
- package/esm2022/lib/widget/widget-stat-e/widget-stat-e.component.mjs +2 -2
- package/esm2022/lib/widget/widget-stat-f/widget-stat-f.component.mjs +2 -2
- package/esm2022/public-api.mjs +2 -2
- package/fesm2022/coreui-angular.mjs +1124 -826
- package/fesm2022/coreui-angular.mjs.map +1 -1
- package/lib/accordion/accordion/accordion.component.d.ts +4 -6
- package/lib/alert/alert.component.d.ts +8 -12
- package/lib/avatar/avatar.component.d.ts +4 -3
- package/lib/badge/badge.component.d.ts +5 -3
- package/lib/breadcrumb/breadcrumb-item/breadcrumb-item.component.d.ts +1 -0
- package/lib/breadcrumb/breadcrumb-router/breadcrumb-router.service.d.ts +1 -1
- package/lib/button/button-close.directive.d.ts +3 -1
- package/lib/card/card.component.d.ts +3 -2
- package/lib/carousel/carousel/carousel.component.d.ts +4 -8
- package/lib/carousel/carousel-item/carousel-item.component.d.ts +1 -2
- package/lib/collapse/collapse.directive.d.ts +13 -13
- package/lib/coreui.types.d.ts +5 -3
- package/lib/dropdown/dropdown/dropdown.component.d.ts +10 -21
- package/lib/dropdown/dropdown-item/dropdown-item.directive.d.ts +5 -1
- package/lib/dropdown/dropdown-menu/dropdown-menu.directive.d.ts +13 -16
- package/lib/dropdown/dropdown.service.d.ts +0 -1
- package/lib/form/form-check/form-check-input.directive.d.ts +4 -3
- package/lib/nav/nav.component.d.ts +2 -2
- package/lib/navbar/navbar.component.d.ts +2 -5
- package/lib/offcanvas/offcanvas/offcanvas.component.d.ts +2 -1
- package/lib/placeholder/placeholder.directive.d.ts +3 -7
- package/lib/progress/progress-bar.component.d.ts +5 -46
- package/lib/progress/progress-bar.directive.d.ts +58 -0
- package/lib/progress/progress-stacked.component.d.ts +7 -0
- package/lib/progress/progress.component.d.ts +15 -6
- package/lib/progress/progress.module.d.ts +3 -1
- package/lib/progress/progress.type.d.ts +18 -0
- package/lib/progress/public_api.d.ts +3 -1
- package/lib/services/color-mode.service.d.ts +20 -0
- package/lib/services/in-memory-storage.service.d.ts +13 -0
- package/lib/services/local-storage.service.d.ts +17 -0
- package/lib/services/public_api.d.ts +3 -0
- package/lib/shared/public_api.d.ts +1 -0
- package/lib/shared/shared.module.d.ts +2 -1
- package/lib/shared/theme.directive.d.ts +19 -0
- package/lib/sidebar/public_api.d.ts +1 -1
- package/lib/sidebar/sidebar/sidebar.component.d.ts +13 -11
- package/lib/sidebar/sidebar-nav/sidebar-nav.component.d.ts +5 -2
- package/lib/sidebar/sidebar-toggler/sidebar-toggler.directive.d.ts +9 -0
- package/lib/sidebar/sidebar.module.d.ts +2 -2
- package/lib/table/table.type.d.ts +5 -6
- package/lib/tabs/tab-content/tab-content.component.d.ts +1 -0
- package/lib/tabs/tab-content-ref.directive.d.ts +4 -2
- package/lib/toast/toast/toast.component.d.ts +3 -2
- package/lib/utilities/public_api.d.ts +3 -2
- package/lib/utilities/shadow-on-scroll.directive.d.ts +8 -0
- package/lib/utilities/utilities.module.d.ts +7 -6
- package/lib/widget/widget-stat-a/widget-stat-a.component.d.ts +1 -1
- package/lib/widget/widget-stat-b/widget-stat-b.component.d.ts +3 -3
- package/lib/widget/widget-stat-c/widget-stat-c.component.d.ts +16 -15
- package/lib/widget/widget-stat-e/widget-stat-e.component.d.ts +1 -1
- package/lib/widget/widget-stat-f/widget-stat-f.component.d.ts +1 -1
- package/package.json +7 -5
- package/public-api.d.ts +1 -1
- package/esm2022/lib/progress/progress-bar.mjs +0 -2
- package/esm2022/lib/sidebar/sidebar-toggler/sidebar-toggler.component.mjs +0 -27
- package/lib/progress/progress-bar.d.ts +0 -10
- package/lib/sidebar/sidebar-toggler/sidebar-toggler.component.d.ts +0 -7
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
-
import { AccordionService } from '../accordion.service';
|
|
3
1
|
import * as i0 from "@angular/core";
|
|
4
2
|
export declare class AccordionComponent {
|
|
5
|
-
private
|
|
6
|
-
static ngAcceptInputType_alwaysOpen: BooleanInput;
|
|
3
|
+
#private;
|
|
7
4
|
/**
|
|
8
5
|
* Removes the default background-color, some borders, and some rounded corners to render accordions edge-to-edge with their parent container.
|
|
9
6
|
* @type boolean
|
|
10
7
|
*/
|
|
11
|
-
flush
|
|
8
|
+
flush: boolean;
|
|
12
9
|
/**
|
|
13
10
|
* Make accordion items stay open when another item is opened
|
|
14
11
|
* @type boolean
|
|
@@ -16,7 +13,8 @@ export declare class AccordionComponent {
|
|
|
16
13
|
set alwaysOpen(value: boolean);
|
|
17
14
|
get alwaysOpen(): boolean;
|
|
18
15
|
get hostClasses(): any;
|
|
19
|
-
constructor(accordionService: AccordionService);
|
|
20
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, never>;
|
|
21
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "c-accordion", ["cAccordionItem"], { "flush": { "alias": "flush"; "required": false; }; "alwaysOpen": { "alias": "alwaysOpen"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
18
|
+
static ngAcceptInputType_flush: unknown;
|
|
19
|
+
static ngAcceptInputType_alwaysOpen: unknown;
|
|
22
20
|
}
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import { AfterContentInit, EventEmitter, QueryList } from '@angular/core';
|
|
2
2
|
import { AnimationEvent } from '@angular/animations';
|
|
3
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
4
3
|
import { Colors } from '../coreui.types';
|
|
5
4
|
import { TemplateIdDirective } from '../shared';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
type AnimateType = ('hide' | 'show');
|
|
8
7
|
export declare class AlertComponent implements AfterContentInit {
|
|
9
|
-
|
|
10
|
-
static ngAcceptInputType_fade: BooleanInput;
|
|
11
|
-
static ngAcceptInputType_visible: BooleanInput;
|
|
8
|
+
#private;
|
|
12
9
|
hide: boolean;
|
|
13
10
|
/**
|
|
14
11
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
@@ -34,27 +31,23 @@ export declare class AlertComponent implements AfterContentInit {
|
|
|
34
31
|
visibleChange: EventEmitter<boolean>;
|
|
35
32
|
templates: any;
|
|
36
33
|
contentTemplates: QueryList<TemplateIdDirective>;
|
|
37
|
-
private _dismissible;
|
|
38
34
|
/**
|
|
39
35
|
* Optionally adds a close button to alert and allow it to self dismiss.
|
|
40
36
|
* @type boolean
|
|
37
|
+
* @default false
|
|
41
38
|
*/
|
|
42
|
-
|
|
43
|
-
set dismissible(value: boolean);
|
|
44
|
-
private _fade;
|
|
39
|
+
dismissible: boolean;
|
|
45
40
|
/**
|
|
46
41
|
* Adds animation for dismissible alert.
|
|
47
42
|
* @type boolean
|
|
48
43
|
*/
|
|
49
|
-
|
|
50
|
-
set fade(value: boolean);
|
|
51
|
-
private _visible;
|
|
52
|
-
get visible(): boolean;
|
|
44
|
+
fade: boolean;
|
|
53
45
|
/**
|
|
54
46
|
* Toggle the visibility of alert component.
|
|
55
47
|
* @type boolean
|
|
56
48
|
*/
|
|
57
49
|
set visible(value: boolean);
|
|
50
|
+
get visible(): boolean;
|
|
58
51
|
get animationDisabled(): boolean;
|
|
59
52
|
get animateType(): AnimateType;
|
|
60
53
|
get hostClasses(): any;
|
|
@@ -64,5 +57,8 @@ export declare class AlertComponent implements AfterContentInit {
|
|
|
64
57
|
onAnimationEvent(event: AnimationEvent): void;
|
|
65
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
|
|
66
59
|
static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "c-alert", ["cAlert"], { "color": { "alias": "color"; "required": false; }; "role": { "alias": "role"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; }; "fade": { "alias": "fade"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, { "visibleChange": "visibleChange"; }, ["contentTemplates"], ["*"], true, never>;
|
|
60
|
+
static ngAcceptInputType_dismissible: unknown;
|
|
61
|
+
static ngAcceptInputType_fade: unknown;
|
|
62
|
+
static ngAcceptInputType_visible: unknown;
|
|
67
63
|
}
|
|
68
64
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Colors, Shapes, Sizes, TextColors } from '../coreui.types';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../utilities/text-color.directive";
|
|
3
4
|
export declare class AvatarComponent {
|
|
4
5
|
/**
|
|
5
6
|
* Sets the background color context of the component to one of CoreUI’s themed colors.
|
|
@@ -28,13 +29,13 @@ export declare class AvatarComponent {
|
|
|
28
29
|
status?: Colors;
|
|
29
30
|
/**
|
|
30
31
|
* Sets the text color of the component to one of CoreUI’s themed colors.
|
|
31
|
-
*
|
|
32
|
-
* @
|
|
32
|
+
* via TextColorDirective
|
|
33
|
+
* @type TextColors
|
|
33
34
|
*/
|
|
34
35
|
textColor?: TextColors;
|
|
35
36
|
constructor();
|
|
36
37
|
get statusClass(): any;
|
|
37
38
|
get hostClasses(): any;
|
|
38
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "c-avatar", never, { "color": { "alias": "color"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "size": { "alias": "size"; "required": false; }; "src": { "alias": "src"; "required": false; }; "status": { "alias": "status"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; }, {}, never, ["*"], true,
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "c-avatar", never, { "color": { "alias": "color"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "size": { "alias": "size"; "required": false; }; "src": { "alias": "src"; "required": false; }; "status": { "alias": "status"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; }, {}, never, ["*", "*"], true, [{ directive: typeof i1.TextColorDirective; inputs: { "cTextColor": "textColor"; }; outputs: {}; }]>;
|
|
40
41
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { BadgePositions, Colors, Shapes } from '../coreui.types';
|
|
1
|
+
import { BadgePositions, Colors, Shapes, TextColors } from '../coreui.types';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../utilities/text-color.directive";
|
|
3
4
|
export declare class BadgeComponent {
|
|
4
5
|
/**
|
|
5
6
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
@@ -22,11 +23,12 @@ export declare class BadgeComponent {
|
|
|
22
23
|
size?: 'sm';
|
|
23
24
|
/**
|
|
24
25
|
* Sets the text color of the component to one of CoreUI’s themed colors.
|
|
26
|
+
* via TextColorDirective
|
|
25
27
|
* @type TextColors
|
|
26
28
|
*/
|
|
27
|
-
textColor?:
|
|
29
|
+
textColor?: TextColors;
|
|
28
30
|
constructor();
|
|
29
31
|
get hostClasses(): any;
|
|
30
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "c-badge", never, { "color": { "alias": "color"; "required": false; }; "position": { "alias": "position"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "size": { "alias": "size"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; }, {}, never, ["*"], true,
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "c-badge", never, { "color": { "alias": "color"; "required": false; }; "position": { "alias": "position"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "size": { "alias": "size"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; }, {}, never, ["*"], true, [{ directive: typeof i1.TextColorDirective; inputs: { "cTextColor": "textColor"; }; outputs: {}; }]>;
|
|
32
34
|
}
|
|
@@ -25,4 +25,5 @@ export declare class BreadcrumbItemComponent {
|
|
|
25
25
|
get hostClasses(): any;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbItemComponent, never>;
|
|
27
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbItemComponent, "c-breadcrumb-item", never, { "active": { "alias": "active"; "required": false; }; "url": { "alias": "url"; "required": false; }; "attributes": { "alias": "attributes"; "required": false; }; "linkProps": { "alias": "linkProps"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
28
|
+
static ngAcceptInputType_active: unknown;
|
|
28
29
|
}
|
|
@@ -3,11 +3,11 @@ import { Observable } from 'rxjs';
|
|
|
3
3
|
import { IBreadcrumbItem } from '../breadcrumb-item/breadcrumb-item';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class BreadcrumbRouterService {
|
|
6
|
+
#private;
|
|
6
7
|
private router;
|
|
7
8
|
private route;
|
|
8
9
|
outlet: string;
|
|
9
10
|
breadcrumbs$: Observable<IBreadcrumbItem[]>;
|
|
10
|
-
private breadcrumbsBehaviorSubject;
|
|
11
11
|
constructor(router: Router, route: ActivatedRoute);
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbRouterService, never>;
|
|
13
13
|
static ɵprov: i0.ɵɵInjectableDeclaration<BreadcrumbRouterService>;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { ButtonDirective } from './button.directive';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../shared/theme.directive";
|
|
3
4
|
export declare class ButtonCloseDirective extends ButtonDirective {
|
|
4
5
|
/**
|
|
5
6
|
* Change the default color to white.
|
|
6
7
|
* @type boolean
|
|
8
|
+
* @deprecated 5.0.0. Use `cButtonClose.dark` instead.
|
|
7
9
|
*/
|
|
8
10
|
white: string | boolean;
|
|
9
11
|
get hostClasses(): any;
|
|
10
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonCloseDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonCloseDirective, "[cButtonClose]", never, { "white": { "alias": "white"; "required": false; }; }, {}, never, never, true,
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonCloseDirective, "[cButtonClose]", never, { "white": { "alias": "white"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.ThemeDirective; inputs: { "dark": "dark"; }; outputs: {}; }]>;
|
|
12
14
|
static ngAcceptInputType_white: unknown;
|
|
13
15
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Colors, TextColors } from '../coreui.types';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../utilities/text-color.directive";
|
|
3
4
|
export declare class CardComponent {
|
|
4
5
|
/**
|
|
5
6
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
@@ -8,11 +9,11 @@ export declare class CardComponent {
|
|
|
8
9
|
color?: Colors;
|
|
9
10
|
/**
|
|
10
11
|
* Sets the text color context of the component to one of CoreUI’s themed colors.
|
|
12
|
+
* via TextColorDirective
|
|
11
13
|
* @type TextColors
|
|
12
14
|
*/
|
|
13
15
|
textColor?: TextColors;
|
|
14
16
|
get hostClasses(): any;
|
|
15
|
-
constructor();
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "c-card, [c-card]", never, { "color": { "alias": "color"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; }, {}, never, ["*"], true,
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "c-card, [c-card]", never, { "color": { "alias": "color"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; }, {}, never, ["*"], true, [{ directive: typeof i1.TextColorDirective; inputs: { "cTextColor": "textColor"; }; outputs: {}; }]>;
|
|
18
19
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { AfterContentInit, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { IntersectionService } from '../../services';
|
|
3
3
|
import { ListenersService } from '../../services';
|
|
4
|
+
import { Triggers } from '../../coreui.types';
|
|
4
5
|
import { CarouselState } from '../carousel-state';
|
|
5
6
|
import { CarouselService } from '../carousel.service';
|
|
6
7
|
import { CarouselConfig } from '../carousel.config';
|
|
7
|
-
import { Triggers } from '../../coreui.types';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "../../shared/theme.directive";
|
|
9
10
|
export declare class CarouselComponent implements OnInit, OnDestroy, AfterContentInit {
|
|
10
11
|
#private;
|
|
11
12
|
private config;
|
|
@@ -14,6 +15,7 @@ export declare class CarouselComponent implements OnInit, OnDestroy, AfterConten
|
|
|
14
15
|
private carouselState;
|
|
15
16
|
private intersectionService;
|
|
16
17
|
private listenersService;
|
|
18
|
+
constructor(config: CarouselConfig, hostElement: ElementRef, carouselService: CarouselService, carouselState: CarouselState, intersectionService: IntersectionService, listenersService: ListenersService);
|
|
17
19
|
/**
|
|
18
20
|
* Index of the active item.
|
|
19
21
|
* @type number
|
|
@@ -24,11 +26,6 @@ export declare class CarouselComponent implements OnInit, OnDestroy, AfterConten
|
|
|
24
26
|
* @type boolean
|
|
25
27
|
*/
|
|
26
28
|
animate: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Add darker controls, indicators, and captions.
|
|
29
|
-
* @type boolean
|
|
30
|
-
*/
|
|
31
|
-
dark?: boolean;
|
|
32
29
|
/**
|
|
33
30
|
* Carousel direction. [docs]
|
|
34
31
|
* @type {'next' | 'prev'}
|
|
@@ -72,7 +69,6 @@ export declare class CarouselComponent implements OnInit, OnDestroy, AfterConten
|
|
|
72
69
|
private timerId;
|
|
73
70
|
private activeItemInterval;
|
|
74
71
|
private swipeSubscription?;
|
|
75
|
-
constructor(config: CarouselConfig, hostElement: ElementRef, carouselService: CarouselService, carouselState: CarouselState, intersectionService: IntersectionService, listenersService: ListenersService);
|
|
76
72
|
ngOnInit(): void;
|
|
77
73
|
ngOnDestroy(): void;
|
|
78
74
|
ngAfterContentInit(): void;
|
|
@@ -87,5 +83,5 @@ export declare class CarouselComponent implements OnInit, OnDestroy, AfterConten
|
|
|
87
83
|
private intersectionServiceSubscribe;
|
|
88
84
|
private swipeSubscribe;
|
|
89
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselComponent, never>;
|
|
90
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselComponent, "c-carousel", never, { "activeIndex": { "alias": "activeIndex"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; "
|
|
86
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselComponent, "c-carousel", never, { "activeIndex": { "alias": "activeIndex"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "interval": { "alias": "interval"; "required": false; }; "pause": { "alias": "pause"; "required": false; }; "touch": { "alias": "touch"; "required": false; }; "transition": { "alias": "transition"; "required": false; }; "wrap": { "alias": "wrap"; "required": false; }; }, { "itemChange": "itemChange"; }, never, ["*"], true, [{ directive: typeof i1.ThemeDirective; inputs: { "dark": "dark"; }; outputs: {}; }]>;
|
|
91
87
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
2
|
import { CarouselService } from '../carousel.service';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class CarouselItemComponent implements OnDestroy, AfterViewInit {
|
|
6
5
|
private carouselService;
|
|
7
6
|
private changeDetectorRef;
|
|
8
|
-
static ngAcceptInputType_active: BooleanInput;
|
|
9
7
|
index?: number;
|
|
10
8
|
private carouselIndexSubscription?;
|
|
11
9
|
/**
|
|
@@ -27,4 +25,5 @@ export declare class CarouselItemComponent implements OnDestroy, AfterViewInit {
|
|
|
27
25
|
private carouselStateSubscribe;
|
|
28
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselItemComponent, never>;
|
|
29
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselItemComponent, "c-carousel-item", never, { "active": { "alias": "active"; "required": false; }; "interval": { "alias": "interval"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
28
|
+
static ngAcceptInputType_active: unknown;
|
|
30
29
|
}
|
|
@@ -1,38 +1,34 @@
|
|
|
1
1
|
import { AfterViewInit, DoCheck, ElementRef, EventEmitter, OnChanges, OnDestroy, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { AnimationBuilder } from '@angular/animations';
|
|
3
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class CollapseDirective implements OnChanges, OnDestroy, DoCheck, AfterViewInit {
|
|
6
5
|
private hostElement;
|
|
7
6
|
private renderer;
|
|
8
7
|
private animationBuilder;
|
|
9
|
-
static ngAcceptInputType_horizontal: BooleanInput;
|
|
10
|
-
static ngAcceptInputType_navbar: BooleanInput;
|
|
11
|
-
static ngAcceptInputType_visible: BooleanInput;
|
|
12
8
|
/**
|
|
13
9
|
* @ignore
|
|
14
10
|
*/
|
|
15
|
-
|
|
16
|
-
get animate(): boolean;
|
|
17
|
-
private _animate;
|
|
11
|
+
animate: boolean;
|
|
18
12
|
/**
|
|
19
13
|
* Set horizontal collapsing to transition the width instead of height.
|
|
14
|
+
* @type boolean
|
|
15
|
+
* @default false
|
|
20
16
|
*/
|
|
21
|
-
|
|
22
|
-
get horizontal(): boolean;
|
|
23
|
-
private _horizontal;
|
|
17
|
+
horizontal: boolean;
|
|
24
18
|
/**
|
|
25
19
|
* Toggle the visibility of collapsible element.
|
|
20
|
+
* @type boolean
|
|
21
|
+
* @default false
|
|
26
22
|
*/
|
|
27
23
|
set visible(value: boolean);
|
|
28
24
|
get visible(): boolean;
|
|
29
25
|
private _visible;
|
|
30
26
|
/**
|
|
31
27
|
* Add `navbar` prop for grouping and hiding navbar contents by a parent breakpoint.
|
|
28
|
+
* @type boolean
|
|
29
|
+
* @default false
|
|
32
30
|
*/
|
|
33
|
-
|
|
34
|
-
get navbar(): boolean;
|
|
35
|
-
private _navbar;
|
|
31
|
+
navbar: boolean;
|
|
36
32
|
/**
|
|
37
33
|
* @ignore
|
|
38
34
|
*/
|
|
@@ -62,4 +58,8 @@ export declare class CollapseDirective implements OnChanges, OnDestroy, DoCheck,
|
|
|
62
58
|
setMaxSize(): void;
|
|
63
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<CollapseDirective, never>;
|
|
64
60
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CollapseDirective, "[cCollapse]", ["cCollapse"], { "animate": { "alias": "animate"; "required": false; }; "horizontal": { "alias": "horizontal"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "navbar": { "alias": "navbar"; "required": false; }; "duration": { "alias": "duration"; "required": false; }; "transition": { "alias": "transition"; "required": false; }; }, { "collapseChange": "collapseChange"; }, never, never, true, never>;
|
|
61
|
+
static ngAcceptInputType_animate: unknown;
|
|
62
|
+
static ngAcceptInputType_horizontal: unknown;
|
|
63
|
+
static ngAcceptInputType_visible: unknown;
|
|
64
|
+
static ngAcceptInputType_navbar: unknown;
|
|
65
65
|
}
|
package/lib/coreui.types.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { IsActiveMatchOptions } from '@angular/router';
|
|
2
|
+
export type NgCssClass = string | string[] | Set<string> | {
|
|
3
|
+
[klass: string]: any;
|
|
4
|
+
};
|
|
2
5
|
export declare enum BreakpointInfix {
|
|
3
6
|
xs = "xs",
|
|
4
7
|
sm = "sm",
|
|
@@ -10,11 +13,10 @@ export declare enum BreakpointInfix {
|
|
|
10
13
|
export type BreakpointInfixStrings = keyof typeof BreakpointInfix;
|
|
11
14
|
export type Breakpoints = BreakpointInfixStrings | string;
|
|
12
15
|
export type Sizes = 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | string;
|
|
13
|
-
export type Colors = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string;
|
|
14
|
-
export type ColorsGradient = `${Colors}-gradient`;
|
|
16
|
+
export type Colors = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | 'primary-gradient' | 'secondary-gradient' | 'success-gradient' | 'danger-gradient' | 'warning-gradient' | 'info-gradient' | 'dark-gradient' | 'light-gradient' | string;
|
|
15
17
|
export type BackgroundColors = Colors | 'body' | 'white' | 'transparent';
|
|
16
18
|
export type Directions = 'down' | 'up' | 'start' | 'end' | '';
|
|
17
|
-
export type TextColors = Colors | '
|
|
19
|
+
export type TextColors = Colors | 'primary-emphasis' | 'secondary-emphasis' | 'success-emphasis' | 'danger-emphasis' | 'warning-emphasis' | 'info-emphasis' | 'light-emphasis' | 'body' | 'body-emphasis' | 'body-secondary' | 'body-tertiary' | 'black' | 'black-50' | 'white' | 'white-50' | string;
|
|
18
20
|
export type Alignment = 'baseline' | 'top' | 'middle' | 'bottom' | 'text-top' | 'text-bottom';
|
|
19
21
|
export type BadgePositions = 'top-start' | 'top-end' | 'bottom-end' | 'bottom-start' | string | undefined;
|
|
20
22
|
export type Placements = 'auto' | 'auto-start' | 'auto-end' | 'top-end' | 'top' | 'top-start' | 'bottom-end' | 'bottom' | 'bottom-start' | 'right-start' | 'right' | 'right-end' | 'left-start' | 'left' | 'left-end' | undefined;
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
2
|
import { Options, Placement } from '@popperjs/core';
|
|
4
3
|
import { DropdownMenuDirective } from '../dropdown-menu/dropdown-menu.directive';
|
|
5
4
|
import { DropdownService } from '../dropdown.service';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "../../shared/theme.directive";
|
|
7
7
|
export declare abstract class DropdownToken {
|
|
8
8
|
}
|
|
9
9
|
export declare class DropdownToggleDirective implements AfterViewInit {
|
|
10
10
|
elementRef: ElementRef;
|
|
11
11
|
private dropdownService;
|
|
12
12
|
dropdown?: DropdownToken | undefined;
|
|
13
|
-
static ngAcceptInputType_split: BooleanInput;
|
|
14
|
-
static ngAcceptInputType_popper: BooleanInput;
|
|
15
13
|
constructor(elementRef: ElementRef, dropdownService: DropdownService, dropdown?: DropdownToken | undefined);
|
|
16
14
|
/**
|
|
17
15
|
* Toggle the disabled state for the toggler.
|
|
@@ -24,7 +22,7 @@ export declare class DropdownToggleDirective implements AfterViewInit {
|
|
|
24
22
|
* @type boolean
|
|
25
23
|
* @default false
|
|
26
24
|
*/
|
|
27
|
-
disabled
|
|
25
|
+
disabled: boolean;
|
|
28
26
|
/**
|
|
29
27
|
* Enables pseudo element caret on toggler.
|
|
30
28
|
* @type boolean
|
|
@@ -33,15 +31,16 @@ export declare class DropdownToggleDirective implements AfterViewInit {
|
|
|
33
31
|
/**
|
|
34
32
|
* Create split button dropdowns with virtually the same markup as single button dropdowns, but with the addition of `.dropdown-toggle-split` class for proper spacing around the dropdown caret.
|
|
35
33
|
* @type boolean
|
|
34
|
+
* @default false
|
|
36
35
|
*/
|
|
37
|
-
|
|
38
|
-
get split(): boolean;
|
|
39
|
-
private _split;
|
|
36
|
+
split: boolean;
|
|
40
37
|
get hostClasses(): any;
|
|
41
38
|
onClick($event: MouseEvent): void;
|
|
42
39
|
ngAfterViewInit(): void;
|
|
43
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownToggleDirective, [null, null, { optional: true; }]>;
|
|
44
41
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownToggleDirective, "[cDropdownToggle]", ["cDropdownToggle"], { "dropdownComponent": { "alias": "dropdownComponent"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "caret": { "alias": "caret"; "required": false; }; "split": { "alias": "split"; "required": false; }; }, {}, never, never, true, never>;
|
|
42
|
+
static ngAcceptInputType_disabled: unknown;
|
|
43
|
+
static ngAcceptInputType_split: unknown;
|
|
45
44
|
}
|
|
46
45
|
export declare class DropdownComponent implements AfterContentInit, OnChanges, OnDestroy, OnInit {
|
|
47
46
|
private document;
|
|
@@ -50,8 +49,6 @@ export declare class DropdownComponent implements AfterContentInit, OnChanges, O
|
|
|
50
49
|
private ngZone;
|
|
51
50
|
private changeDetectorRef;
|
|
52
51
|
dropdownService: DropdownService;
|
|
53
|
-
static ngAcceptInputType_dark: BooleanInput;
|
|
54
|
-
static ngAcceptInputType_visible: BooleanInput;
|
|
55
52
|
constructor(document: Document, elementRef: ElementRef, renderer: Renderer2, ngZone: NgZone, changeDetectorRef: ChangeDetectorRef, dropdownService: DropdownService);
|
|
56
53
|
/**
|
|
57
54
|
* Set alignment of dropdown menu.
|
|
@@ -59,14 +56,6 @@ export declare class DropdownComponent implements AfterContentInit, OnChanges, O
|
|
|
59
56
|
*/
|
|
60
57
|
alignment?: string;
|
|
61
58
|
autoClose: boolean | 'inside' | 'outside';
|
|
62
|
-
/**
|
|
63
|
-
* Sets a darker color scheme to match a dark navbar.
|
|
64
|
-
* @type boolean
|
|
65
|
-
* @default false
|
|
66
|
-
*/
|
|
67
|
-
set dark(value: boolean);
|
|
68
|
-
get dark(): boolean;
|
|
69
|
-
private _dark;
|
|
70
59
|
/**
|
|
71
60
|
* Sets a specified direction and location of the dropdown menu.
|
|
72
61
|
* @type 'dropup' | 'dropend' | 'dropstart'
|
|
@@ -82,9 +71,7 @@ export declare class DropdownComponent implements AfterContentInit, OnChanges, O
|
|
|
82
71
|
* @type boolean
|
|
83
72
|
* @default true
|
|
84
73
|
*/
|
|
85
|
-
|
|
86
|
-
get popper(): boolean;
|
|
87
|
-
private _popper;
|
|
74
|
+
popper: boolean;
|
|
88
75
|
/**
|
|
89
76
|
* Optional popper Options object, placement prop takes precedence over
|
|
90
77
|
* @type Partial<Options>
|
|
@@ -132,5 +119,7 @@ export declare class DropdownComponent implements AfterContentInit, OnChanges, O
|
|
|
132
119
|
private setListeners;
|
|
133
120
|
private clearListeners;
|
|
134
121
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
135
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "c-dropdown", ["cDropdown"], { "alignment": { "alias": "alignment"; "required": false; }; "autoClose": { "alias": "autoClose"; "required": false; }; "
|
|
122
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "c-dropdown", ["cDropdown"], { "alignment": { "alias": "alignment"; "required": false; }; "autoClose": { "alias": "autoClose"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "popper": { "alias": "popper"; "required": false; }; "popperOptions": { "alias": "popperOptions"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, { "visibleChange": "visibleChange"; }, ["_toggler", "_menu", "_menuElementRef"], ["*"], true, [{ directive: typeof i1.ThemeDirective; inputs: { "dark": "dark"; }; outputs: {}; }]>;
|
|
123
|
+
static ngAcceptInputType_popper: unknown;
|
|
124
|
+
static ngAcceptInputType_visible: unknown;
|
|
136
125
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { FocusableOption, FocusOrigin } from '@angular/cdk/a11y';
|
|
1
2
|
import { DropdownService } from '../dropdown.service';
|
|
2
3
|
import { DropdownComponent } from '../dropdown/dropdown.component';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DropdownItemDirective {
|
|
5
|
+
export declare class DropdownItemDirective implements FocusableOption {
|
|
6
|
+
#private;
|
|
5
7
|
private dropdownService;
|
|
6
8
|
dropdown?: DropdownComponent | undefined;
|
|
7
9
|
/**
|
|
@@ -23,6 +25,8 @@ export declare class DropdownItemDirective {
|
|
|
23
25
|
*/
|
|
24
26
|
disabled?: boolean;
|
|
25
27
|
constructor(dropdownService: DropdownService, dropdown?: DropdownComponent | undefined);
|
|
28
|
+
focus(origin?: FocusOrigin | undefined): void;
|
|
29
|
+
getLabel?(): string;
|
|
26
30
|
get ariaCurrent(): string | null;
|
|
27
31
|
get hostClasses(): any;
|
|
28
32
|
set tabIndex(value: string | number | null);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { AfterContentInit, ElementRef, OnInit, QueryList } from '@angular/core';
|
|
2
|
+
import { DropdownItemDirective } from '../dropdown-item/dropdown-item.directive';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
private
|
|
7
|
-
|
|
4
|
+
import * as i1 from "../../shared/theme.directive";
|
|
5
|
+
export declare class DropdownMenuDirective implements OnInit, AfterContentInit {
|
|
6
|
+
#private;
|
|
7
|
+
readonly elementRef: ElementRef;
|
|
8
8
|
/**
|
|
9
9
|
* Set alignment of dropdown menu.
|
|
10
10
|
* @type {'start' | 'end' }
|
|
@@ -12,23 +12,20 @@ export declare class DropdownMenuDirective implements OnInit, OnDestroy {
|
|
|
12
12
|
alignment?: 'start' | 'end' | string;
|
|
13
13
|
/**
|
|
14
14
|
* Toggle the visibility of dropdown menu component.
|
|
15
|
-
*/
|
|
16
|
-
visible: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Sets a darker color scheme to match a dark navbar.
|
|
19
15
|
* @type boolean
|
|
20
16
|
*/
|
|
21
|
-
|
|
22
|
-
private dropdownStateSubscription;
|
|
17
|
+
visible: boolean;
|
|
23
18
|
get hostClasses(): any;
|
|
24
19
|
get hostStyles(): {
|
|
25
20
|
visibility: string | null;
|
|
26
21
|
display: string | null;
|
|
27
22
|
};
|
|
23
|
+
onKeyDown($event: KeyboardEvent): void;
|
|
24
|
+
onKeyUp($event: KeyboardEvent): void;
|
|
25
|
+
dropdownItemsContent: QueryList<DropdownItemDirective>;
|
|
26
|
+
ngAfterContentInit(): void;
|
|
28
27
|
ngOnInit(): void;
|
|
29
|
-
|
|
30
|
-
private dropdownStateSubscribe;
|
|
28
|
+
private focusKeyManagerInit;
|
|
31
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownMenuDirective, never>;
|
|
32
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownMenuDirective, "[cDropdownMenu]", ["cDropdownMenu"], { "alignment": { "alias": "alignment"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "
|
|
33
|
-
static ngAcceptInputType_dark: unknown;
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownMenuDirective, "[cDropdownMenu]", ["cDropdownMenu"], { "alignment": { "alias": "alignment"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, {}, ["dropdownItemsContent"], never, true, [{ directive: typeof i1.ThemeDirective; inputs: { "dark": "dark"; }; outputs: {}; }]>;
|
|
34
31
|
}
|
|
@@ -6,7 +6,6 @@ export interface IDropdownState {
|
|
|
6
6
|
export declare class DropdownService {
|
|
7
7
|
private dropdownState;
|
|
8
8
|
dropdownState$: import("rxjs").Observable<any>;
|
|
9
|
-
constructor();
|
|
10
9
|
toggle(state: IDropdownState): void;
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownService, never>;
|
|
12
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<DropdownService>;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class FormCheckInputDirective {
|
|
5
4
|
private renderer;
|
|
6
5
|
private hostElement;
|
|
7
|
-
static ngAcceptInputType_checked: BooleanInput;
|
|
8
|
-
static ngAcceptInputType_indeterminate: BooleanInput;
|
|
9
6
|
/**
|
|
10
7
|
* Specifies the type of component.
|
|
11
8
|
* @type {'checkbox' | 'radio'}
|
|
@@ -15,6 +12,7 @@ export declare class FormCheckInputDirective {
|
|
|
15
12
|
/**
|
|
16
13
|
* Set component indeterminate state.
|
|
17
14
|
* @type boolean
|
|
15
|
+
* @default false
|
|
18
16
|
*/
|
|
19
17
|
set indeterminate(value: boolean);
|
|
20
18
|
get indeterminate(): boolean;
|
|
@@ -22,6 +20,7 @@ export declare class FormCheckInputDirective {
|
|
|
22
20
|
/**
|
|
23
21
|
* Set component validation state to valid.
|
|
24
22
|
* @type boolean
|
|
23
|
+
* @default undefined
|
|
25
24
|
*/
|
|
26
25
|
valid?: boolean;
|
|
27
26
|
get hostClasses(): any;
|
|
@@ -30,4 +29,6 @@ export declare class FormCheckInputDirective {
|
|
|
30
29
|
constructor(renderer: Renderer2, hostElement: ElementRef);
|
|
31
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormCheckInputDirective, never>;
|
|
32
31
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FormCheckInputDirective, "input[cFormCheckInput]", never, { "type": { "alias": "type"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "valid": { "alias": "valid"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, {}, never, never, true, never>;
|
|
32
|
+
static ngAcceptInputType_indeterminate: unknown;
|
|
33
|
+
static ngAcceptInputType_checked: unknown;
|
|
33
34
|
}
|
|
@@ -7,9 +7,9 @@ export declare class NavComponent {
|
|
|
7
7
|
layout?: 'fill' | 'justified';
|
|
8
8
|
/**
|
|
9
9
|
* Set the nav variant to tabs or pills.
|
|
10
|
-
* @type
|
|
10
|
+
* @type 'tabs' | 'pills' | 'underline' | 'underline-border'
|
|
11
11
|
*/
|
|
12
|
-
variant?: '' | 'tabs' | 'pills';
|
|
12
|
+
variant?: '' | 'tabs' | 'pills' | 'underline' | 'underline-border';
|
|
13
13
|
get hostClasses(): any;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavComponent, never>;
|
|
15
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<NavComponent, "c-nav", never, { "layout": { "alias": "layout"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
@@ -3,6 +3,7 @@ import { BreakpointObserver } from '@angular/cdk/layout';
|
|
|
3
3
|
import { CollapseDirective } from '../collapse';
|
|
4
4
|
import { Colors } from '../coreui.types';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "../shared/theme.directive";
|
|
6
7
|
export declare class NavbarComponent implements AfterContentInit {
|
|
7
8
|
private hostElement;
|
|
8
9
|
private breakpointObserver;
|
|
@@ -11,10 +12,6 @@ export declare class NavbarComponent implements AfterContentInit {
|
|
|
11
12
|
* @type Colors
|
|
12
13
|
*/
|
|
13
14
|
color?: Colors;
|
|
14
|
-
/**
|
|
15
|
-
* Sets if the color of text should be colored for a light or dark dark background.
|
|
16
|
-
*/
|
|
17
|
-
colorScheme?: 'dark' | 'light';
|
|
18
15
|
/**
|
|
19
16
|
* Defines optional container wrapping children elements.
|
|
20
17
|
*/
|
|
@@ -35,5 +32,5 @@ export declare class NavbarComponent implements AfterContentInit {
|
|
|
35
32
|
get breakpoint(): string | boolean;
|
|
36
33
|
ngAfterContentInit(): void;
|
|
37
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavbarComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavbarComponent, "c-navbar", never, { "color": { "alias": "color"; "required": false; }; "
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavbarComponent, "c-navbar", never, { "color": { "alias": "color"; "required": false; }; "container": { "alias": "container"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "role": { "alias": "role"; "required": false; }; }, {}, ["collapse"], ["*", "*"], true, [{ directive: typeof i1.ThemeDirective; inputs: { "colorScheme": "colorScheme"; }; outputs: {}; }]>;
|
|
39
36
|
}
|
|
@@ -4,6 +4,7 @@ import { BreakpointObserver } from '@angular/cdk/layout';
|
|
|
4
4
|
import { BackdropService } from '../../backdrop/backdrop.service';
|
|
5
5
|
import { OffcanvasService } from '../offcanvas.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "../../shared/theme.directive";
|
|
7
8
|
export declare class OffcanvasComponent implements OnInit, OnDestroy {
|
|
8
9
|
#private;
|
|
9
10
|
private document;
|
|
@@ -88,7 +89,7 @@ export declare class OffcanvasComponent implements OnInit, OnDestroy {
|
|
|
88
89
|
private setBackdrop;
|
|
89
90
|
private layoutChangeSubscribe;
|
|
90
91
|
static ɵfac: i0.ɵɵFactoryDeclaration<OffcanvasComponent, never>;
|
|
91
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OffcanvasComponent, "c-offcanvas", ["cOffcanvas"], { "backdrop": { "alias": "backdrop"; "required": false; }; "keyboard": { "alias": "keyboard"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "responsive": { "alias": "responsive"; "required": false; }; "id": { "alias": "id"; "required": false; }; "role": { "alias": "role"; "required": false; }; "ariaModal": { "alias": "ariaModal"; "required": false; }; "scroll": { "alias": "scroll"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, { "visibleChange": "visibleChange"; }, never, ["*"], true,
|
|
92
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OffcanvasComponent, "c-offcanvas", ["cOffcanvas"], { "backdrop": { "alias": "backdrop"; "required": false; }; "keyboard": { "alias": "keyboard"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "responsive": { "alias": "responsive"; "required": false; }; "id": { "alias": "id"; "required": false; }; "role": { "alias": "role"; "required": false; }; "ariaModal": { "alias": "ariaModal"; "required": false; }; "scroll": { "alias": "scroll"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, { "visibleChange": "visibleChange"; }, never, ["*"], true, [{ directive: typeof i1.ThemeDirective; inputs: { "dark": "dark"; }; outputs: {}; }]>;
|
|
92
93
|
static ngAcceptInputType_keyboard: unknown;
|
|
93
94
|
static ngAcceptInputType_ariaModal: unknown;
|
|
94
95
|
static ngAcceptInputType_scroll: unknown;
|