@coreui/angular-pro 5.3.8 → 5.3.11
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/README.md +1 -1
- package/fesm2022/coreui-angular-pro.mjs +1666 -1821
- package/fesm2022/coreui-angular-pro.mjs.map +1 -1
- package/lib/accordion/accordion-item/accordion-item.component.d.ts +1 -1
- 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/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/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/offcanvas/offcanvas/offcanvas.component.d.ts +26 -30
- 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/popover/popover/popover.component.d.ts +2 -2
- package/lib/popover/popover.directive.d.ts +5 -5
- package/lib/shared/theme.directive.d.ts +4 -9
- package/lib/tooltip/tooltip.directive.d.ts +6 -6
- package/package.json +8 -8
- package/lib/grid/container.type.d.ts +0 -6
|
@@ -5,7 +5,7 @@ export declare class AccordionItemComponent implements OnInit, OnDestroy {
|
|
|
5
5
|
#private;
|
|
6
6
|
/**
|
|
7
7
|
* Toggle an accordion item programmatically
|
|
8
|
-
* @
|
|
8
|
+
* @return boolean
|
|
9
9
|
* @default false
|
|
10
10
|
*/
|
|
11
11
|
readonly visibleInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
@@ -1,64 +1,60 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import { AnimationEvent } from '@angular/animations';
|
|
3
|
-
import { Colors } from '../coreui.types';
|
|
4
3
|
import { TemplateIdDirective } from '../shared';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
|
-
type AnimateType =
|
|
7
|
-
export declare class AlertComponent
|
|
5
|
+
type AnimateType = 'hide' | 'show';
|
|
6
|
+
export declare class AlertComponent {
|
|
8
7
|
#private;
|
|
9
|
-
hide: boolean;
|
|
10
8
|
/**
|
|
11
9
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
12
|
-
*
|
|
13
|
-
* @type Colors
|
|
10
|
+
* @return Colors
|
|
14
11
|
* @default 'primary'
|
|
15
12
|
*/
|
|
16
|
-
color:
|
|
13
|
+
readonly color: import("@angular/core").InputSignal<string>;
|
|
17
14
|
/**
|
|
18
15
|
* Default role for alert. [docs]
|
|
19
|
-
* @
|
|
16
|
+
* @return string
|
|
20
17
|
* @default 'alert'
|
|
21
18
|
*/
|
|
22
|
-
role: string
|
|
19
|
+
readonly role: import("@angular/core").InputSignal<string>;
|
|
23
20
|
/**
|
|
24
21
|
* Set the alert variant to a solid.
|
|
25
|
-
* @
|
|
22
|
+
* @return string
|
|
26
23
|
*/
|
|
27
|
-
variant
|
|
28
|
-
/**
|
|
29
|
-
* Event triggered on the alert dismiss.
|
|
30
|
-
*/
|
|
31
|
-
visibleChange: EventEmitter<boolean>;
|
|
32
|
-
templates: any;
|
|
33
|
-
contentTemplates: QueryList<TemplateIdDirective>;
|
|
24
|
+
readonly variant: import("@angular/core").InputSignal<"solid" | undefined>;
|
|
34
25
|
/**
|
|
35
26
|
* Optionally adds a close button to alert and allow it to self dismiss.
|
|
36
|
-
* @
|
|
27
|
+
* @return boolean
|
|
37
28
|
* @default false
|
|
38
29
|
*/
|
|
39
|
-
|
|
30
|
+
readonly dismissibleInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
31
|
+
set dismissible(value: boolean);
|
|
32
|
+
get dismissible(): boolean;
|
|
40
33
|
/**
|
|
41
34
|
* Adds animation for dismissible alert.
|
|
42
|
-
* @
|
|
35
|
+
* @return boolean
|
|
43
36
|
*/
|
|
44
|
-
fade: boolean
|
|
37
|
+
readonly fade: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
45
38
|
/**
|
|
46
39
|
* Toggle the visibility of alert component.
|
|
47
|
-
* @
|
|
40
|
+
* @return boolean
|
|
48
41
|
*/
|
|
42
|
+
readonly visibleInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
49
43
|
set visible(value: boolean);
|
|
50
44
|
get visible(): boolean;
|
|
51
|
-
|
|
45
|
+
readonly hide: import("@angular/core").WritableSignal<boolean>;
|
|
46
|
+
/**
|
|
47
|
+
* Event triggered on the alert dismiss.
|
|
48
|
+
*/
|
|
49
|
+
readonly visibleChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
50
|
+
readonly contentTemplates: import("@angular/core").Signal<readonly TemplateIdDirective[]>;
|
|
51
|
+
readonly templates: import("@angular/core").Signal<Record<string, TemplateRef<any>>>;
|
|
52
52
|
get animateType(): AnimateType;
|
|
53
|
-
|
|
53
|
+
readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
54
54
|
onAnimationStart($event: AnimationEvent): void;
|
|
55
55
|
onAnimationDone($event: AnimationEvent): void;
|
|
56
|
-
ngAfterContentInit(): void;
|
|
57
56
|
onAnimationEvent(event: AnimationEvent): void;
|
|
58
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
|
|
59
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "c-alert", ["cAlert"], { "color": { "alias": "color"; "required": false; }; "role": { "alias": "role"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "
|
|
60
|
-
static ngAcceptInputType_dismissible: unknown;
|
|
61
|
-
static ngAcceptInputType_fade: unknown;
|
|
62
|
-
static ngAcceptInputType_visible: unknown;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "c-alert", ["cAlert"], { "color": { "alias": "color"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "dismissibleInput": { "alias": "dismissible"; "required": false; "isSignal": true; }; "fade": { "alias": "fade"; "required": false; "isSignal": true; }; "visibleInput": { "alias": "visible"; "required": false; "isSignal": true; }; }, { "visibleChange": "visibleChange"; }, ["contentTemplates"], ["*"], true, never>;
|
|
63
59
|
}
|
|
64
60
|
export {};
|
|
@@ -2,16 +2,16 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export declare class BreadcrumbComponent {
|
|
3
3
|
/**
|
|
4
4
|
* Default aria-label for breadcrumb. [docs]
|
|
5
|
-
* @
|
|
5
|
+
* @return string
|
|
6
6
|
* @default 'breadcrumb'
|
|
7
7
|
*/
|
|
8
|
-
ariaLabel: string
|
|
8
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
9
9
|
/**
|
|
10
10
|
* Default role for breadcrumb. [docs]
|
|
11
|
-
* @
|
|
11
|
+
* @return string
|
|
12
12
|
* @default 'navigation'
|
|
13
13
|
*/
|
|
14
|
-
role: string
|
|
14
|
+
readonly role: import("@angular/core").InputSignal<string>;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbComponent, "c-breadcrumb", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "role": { "alias": "role"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbComponent, "c-breadcrumb", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
17
17
|
}
|
|
@@ -3,27 +3,26 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class BreadcrumbItemComponent {
|
|
4
4
|
/**
|
|
5
5
|
* Toggle the active state for the component. [docs]
|
|
6
|
-
* @
|
|
6
|
+
* @return boolean
|
|
7
7
|
*/
|
|
8
|
-
active
|
|
8
|
+
readonly active: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
9
9
|
/**
|
|
10
10
|
* The `url` prop for the inner `[routerLink]` directive. [docs]
|
|
11
11
|
* @type string
|
|
12
12
|
*/
|
|
13
|
-
url
|
|
13
|
+
readonly url: import("@angular/core").InputSignal<string | any[] | undefined>;
|
|
14
14
|
/**
|
|
15
15
|
* Additional html attributes for link. [docs]
|
|
16
16
|
* @type INavAttributes
|
|
17
17
|
*/
|
|
18
|
-
attributes
|
|
18
|
+
readonly attributes: import("@angular/core").InputSignal<INavAttributes | undefined>;
|
|
19
19
|
/**
|
|
20
20
|
* Some `NavigationExtras` props for the inner `[routerLink]` directive and `routerLinkActiveOptions`. [docs]
|
|
21
21
|
* @type INavLinkProps
|
|
22
22
|
*/
|
|
23
|
-
linkProps
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
readonly linkProps: import("@angular/core").InputSignal<INavLinkProps | undefined>;
|
|
24
|
+
readonly ariaCurrent: import("@angular/core").Signal<string | null>;
|
|
25
|
+
readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbItemComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbItemComponent, "c-breadcrumb-item",
|
|
28
|
-
static ngAcceptInputType_active: unknown;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbItemComponent, "c-breadcrumb-item", ["breadcrumbItem"], { "active": { "alias": "active"; "required": false; "isSignal": true; }; "url": { "alias": "url"; "required": false; "isSignal": true; }; "attributes": { "alias": "attributes"; "required": false; "isSignal": true; }; "linkProps": { "alias": "linkProps"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
29
28
|
}
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { IBreadcrumbItem } from '../breadcrumb-item/breadcrumb-item';
|
|
4
4
|
import { BreadcrumbRouterService } from './breadcrumb-router.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class BreadcrumbRouterComponent implements
|
|
6
|
+
export declare class BreadcrumbRouterComponent implements OnDestroy, OnInit {
|
|
7
7
|
readonly service: BreadcrumbRouterService;
|
|
8
8
|
/**
|
|
9
9
|
* Optional array of IBreadcrumbItem to override default BreadcrumbRouter behavior. [docs]
|
|
10
|
-
* @
|
|
10
|
+
* @return IBreadcrumbItem[]
|
|
11
11
|
*/
|
|
12
|
-
items
|
|
12
|
+
readonly items: import("@angular/core").InputSignal<IBreadcrumbItem[] | undefined>;
|
|
13
13
|
breadcrumbs: Observable<IBreadcrumbItem[]> | undefined;
|
|
14
14
|
ngOnInit(): void;
|
|
15
|
-
|
|
16
|
-
setup(): void;
|
|
15
|
+
readonly setup: import("@angular/core").EffectRef;
|
|
17
16
|
ngOnDestroy(): void;
|
|
18
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbRouterComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbRouterComponent, "c-breadcrumb-router, [cBreadcrumbRouter]", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbRouterComponent, "c-breadcrumb-router, [cBreadcrumbRouter]", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
20
19
|
}
|
|
@@ -1,70 +1,66 @@
|
|
|
1
|
-
import { AfterContentInit,
|
|
2
|
-
import { IntersectionService, ListenersService } from '../../services';
|
|
1
|
+
import { AfterContentInit, OnDestroy, OnInit } from '@angular/core';
|
|
3
2
|
import { Triggers } from '../../coreui.types';
|
|
4
|
-
import { CarouselState } from '../carousel-state';
|
|
5
|
-
import { CarouselService } from '../carousel.service';
|
|
6
3
|
import { CarouselConfig } from '../carousel.config';
|
|
7
4
|
import * as i0 from "@angular/core";
|
|
8
5
|
import * as i1 from "../../shared/theme.directive";
|
|
9
6
|
export declare class CarouselComponent implements OnInit, OnDestroy, AfterContentInit {
|
|
10
7
|
#private;
|
|
11
8
|
private config;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
private carouselState;
|
|
15
|
-
private intersectionService;
|
|
16
|
-
private listenersService;
|
|
17
|
-
constructor(config: CarouselConfig, hostElement: ElementRef, carouselService: CarouselService, carouselState: CarouselState, intersectionService: IntersectionService, listenersService: ListenersService);
|
|
9
|
+
constructor(config: CarouselConfig);
|
|
10
|
+
loadConfig(): void;
|
|
18
11
|
/**
|
|
19
12
|
* Index of the active item.
|
|
20
|
-
* @
|
|
13
|
+
* @return number
|
|
21
14
|
*/
|
|
22
|
-
|
|
15
|
+
readonly activeIndexInput: import("@angular/core").InputSignal<number>;
|
|
16
|
+
readonly activeIndex: import("@angular/core").WritableSignal<number>;
|
|
23
17
|
/**
|
|
24
18
|
* Carousel automatically starts cycle items.
|
|
25
|
-
* @
|
|
19
|
+
* @return boolean
|
|
26
20
|
*/
|
|
27
|
-
|
|
21
|
+
readonly animateInput: import("@angular/core").InputSignal<boolean>;
|
|
22
|
+
readonly animate: import("@angular/core").WritableSignal<boolean>;
|
|
28
23
|
/**
|
|
29
24
|
* Carousel direction. [docs]
|
|
30
|
-
* @
|
|
25
|
+
* @return {'next' | 'prev'}
|
|
31
26
|
*/
|
|
32
|
-
|
|
27
|
+
readonly directionInput: import("@angular/core").InputSignal<"next" | "prev">;
|
|
28
|
+
readonly direction: import("@angular/core").WritableSignal<"next" | "prev">;
|
|
33
29
|
/**
|
|
34
30
|
* The amount of time to delay between automatically cycling an item. If false, carousel will not automatically cycle.
|
|
35
|
-
* @
|
|
31
|
+
* @return number
|
|
36
32
|
* @default 0
|
|
37
33
|
*/
|
|
38
|
-
|
|
34
|
+
readonly intervalInput: import("@angular/core").InputSignal<number>;
|
|
35
|
+
readonly interval: import("@angular/core").WritableSignal<number>;
|
|
39
36
|
/**
|
|
40
37
|
* Sets which event handlers you’d like provided to your pause prop. You can specify one trigger or an array of them.
|
|
41
|
-
* @
|
|
38
|
+
* @return {'hover' | 'focus' | 'click'}
|
|
42
39
|
*/
|
|
43
|
-
pause: Triggers | Triggers[]
|
|
40
|
+
readonly pause: import("@angular/core").InputSignal<false | Triggers | Triggers[]>;
|
|
44
41
|
/**
|
|
45
42
|
* Support left/right swipe interactions on touchscreen devices.
|
|
46
|
-
* @
|
|
43
|
+
* @return boolean
|
|
47
44
|
* @default true
|
|
48
45
|
*/
|
|
49
|
-
touch: boolean
|
|
46
|
+
readonly touch: import("@angular/core").InputSignal<boolean>;
|
|
50
47
|
/**
|
|
51
48
|
* Set type of the transition.
|
|
52
|
-
* @
|
|
49
|
+
* @return {'slide' | 'crossfade'}
|
|
53
50
|
* @default 'slide'
|
|
54
51
|
*/
|
|
55
|
-
transition:
|
|
52
|
+
readonly transition: import("@angular/core").InputSignal<"slide" | "crossfade">;
|
|
56
53
|
/**
|
|
57
54
|
* Set whether the carousel should cycle continuously or have hard stops.
|
|
58
|
-
* @
|
|
55
|
+
* @return boolean
|
|
59
56
|
* @default true
|
|
60
57
|
*/
|
|
61
|
-
wrap: boolean
|
|
58
|
+
readonly wrap: import("@angular/core").InputSignal<boolean>;
|
|
62
59
|
/**
|
|
63
60
|
* Event emitted on carousel item change. [docs]
|
|
64
|
-
* @
|
|
61
|
+
* @return number
|
|
65
62
|
*/
|
|
66
|
-
itemChange:
|
|
67
|
-
get hostClasses(): any;
|
|
63
|
+
readonly itemChange: import("@angular/core").OutputEmitterRef<number>;
|
|
68
64
|
private timerId;
|
|
69
65
|
private activeItemInterval;
|
|
70
66
|
private swipeSubscription?;
|
|
@@ -75,12 +71,11 @@ export declare class CarouselComponent implements OnInit, OnDestroy, AfterConten
|
|
|
75
71
|
private clearListeners;
|
|
76
72
|
set visible(value: boolean);
|
|
77
73
|
get visible(): boolean;
|
|
78
|
-
private _visible;
|
|
79
74
|
setTimer(): void;
|
|
80
75
|
resetTimer(): void;
|
|
81
76
|
private carouselStateSubscribe;
|
|
82
77
|
private intersectionServiceSubscribe;
|
|
83
78
|
private swipeSubscribe;
|
|
84
79
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselComponent, never>;
|
|
85
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselComponent, "c-carousel",
|
|
80
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselComponent, "c-carousel", ["cCarousel"], { "activeIndexInput": { "alias": "activeIndex"; "required": false; "isSignal": true; }; "animateInput": { "alias": "animate"; "required": false; "isSignal": true; }; "directionInput": { "alias": "direction"; "required": false; "isSignal": true; }; "intervalInput": { "alias": "interval"; "required": false; "isSignal": true; }; "pause": { "alias": "pause"; "required": false; "isSignal": true; }; "touch": { "alias": "touch"; "required": false; "isSignal": true; }; "transition": { "alias": "transition"; "required": false; "isSignal": true; }; "wrap": { "alias": "wrap"; "required": false; "isSignal": true; }; }, { "itemChange": "itemChange"; }, never, ["*"], true, [{ directive: typeof i1.ThemeDirective; inputs: { "dark": "dark"; }; outputs: {}; }]>;
|
|
86
81
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class CarouselCaptionComponent {
|
|
3
|
-
carouselCaptionClass: boolean;
|
|
4
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselCaptionComponent, never>;
|
|
5
4
|
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselCaptionComponent, "c-carousel-caption", never, {}, {}, never, ["*"], true, never>;
|
|
6
5
|
}
|
|
@@ -1,27 +1,29 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CarouselControlComponent
|
|
3
|
+
export declare class CarouselControlComponent {
|
|
4
4
|
#private;
|
|
5
5
|
/**
|
|
6
6
|
* Carousel control caption. [docs]
|
|
7
|
-
* @
|
|
7
|
+
* @return string
|
|
8
8
|
*/
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
readonly captionInput: import("@angular/core").InputSignal<string | undefined>;
|
|
10
|
+
readonly caption: import("@angular/core").WritableSignal<string>;
|
|
11
11
|
/**
|
|
12
|
-
* Carousel control direction.
|
|
13
|
-
* @
|
|
12
|
+
* Carousel control direction.
|
|
13
|
+
* @return {'next' | 'prev'}
|
|
14
14
|
*/
|
|
15
|
-
direction:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
readonly direction: import("@angular/core").InputSignal<"next" | "prev">;
|
|
16
|
+
/**
|
|
17
|
+
* Carousel control role.
|
|
18
|
+
* @return string
|
|
19
|
+
*/
|
|
20
|
+
readonly role: import("@angular/core").InputSignal<string>;
|
|
21
|
+
readonly hostClasses: import("@angular/core").Signal<string>;
|
|
22
|
+
readonly carouselControlIconClass: import("@angular/core").Signal<string>;
|
|
23
|
+
readonly content: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
24
|
+
readonly hasContent: import("@angular/core").Signal<any>;
|
|
21
25
|
onKeyUp($event: KeyboardEvent): void;
|
|
22
26
|
onClick($event: MouseEvent): void;
|
|
23
|
-
ngAfterViewInit(): void;
|
|
24
|
-
private play;
|
|
25
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselControlComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselControlComponent, "c-carousel-control",
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselControlComponent, "c-carousel-control", ["cCarouselControl"], { "captionInput": { "alias": "caption"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
27
29
|
}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { TemplateIdDirective } from '../../shared';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CarouselIndicatorsComponent implements OnInit
|
|
4
|
+
export declare class CarouselIndicatorsComponent implements OnInit {
|
|
4
5
|
#private;
|
|
5
6
|
items: (number | undefined)[];
|
|
6
7
|
active: number;
|
|
8
|
+
readonly contentTemplates: import("@angular/core").Signal<readonly TemplateIdDirective[]>;
|
|
9
|
+
readonly templates: import("@angular/core").Signal<Record<string, TemplateRef<any>>>;
|
|
7
10
|
ngOnInit(): void;
|
|
8
|
-
ngOnDestroy(): void;
|
|
9
11
|
onClick(index: number): void;
|
|
10
|
-
private carouselStateSubscribe;
|
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselIndicatorsComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselIndicatorsComponent, "c-carousel-indicators",
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselIndicatorsComponent, "c-carousel-indicators", ["cCarouselIndicators"], {}, {}, ["contentTemplates"], never, true, never>;
|
|
13
14
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { AfterContentChecked, AfterContentInit } from '@angular/core';
|
|
2
|
+
import { CarouselItemComponent } from '../carousel-item/carousel-item.component';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class CarouselInnerComponent implements AfterContentInit, AfterContentChecked {
|
|
4
5
|
#private;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
slide: {
|
|
6
|
+
readonly activeIndex: import("@angular/core").WritableSignal<number | undefined>;
|
|
7
|
+
readonly animate: import("@angular/core").WritableSignal<boolean>;
|
|
8
|
+
readonly slide: import("@angular/core").WritableSignal<{
|
|
9
9
|
left: boolean;
|
|
10
|
-
}
|
|
11
|
-
transition: string
|
|
12
|
-
|
|
10
|
+
}>;
|
|
11
|
+
readonly transition: import("@angular/core").WritableSignal<string>;
|
|
12
|
+
readonly contentItems: import("@angular/core").Signal<readonly CarouselItemComponent[]>;
|
|
13
13
|
ngAfterContentInit(): void;
|
|
14
14
|
ngAfterContentChecked(): void;
|
|
15
15
|
setItems(): void;
|
|
@@ -1,24 +1,19 @@
|
|
|
1
|
-
import { AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CarouselItemComponent
|
|
2
|
+
export declare class CarouselItemComponent {
|
|
4
3
|
#private;
|
|
5
4
|
index?: number;
|
|
6
5
|
/**
|
|
7
6
|
* @ignore
|
|
8
7
|
*/
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
readonly activeInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
9
|
+
readonly active: import("@angular/core").WritableSignal<boolean>;
|
|
11
10
|
/**
|
|
12
11
|
* Time delay before cycling to next item. If -1, uses carousel interval value.
|
|
13
|
-
* @
|
|
12
|
+
* @return number
|
|
14
13
|
* @default -1
|
|
15
14
|
*/
|
|
16
|
-
interval: number
|
|
17
|
-
|
|
18
|
-
ngOnDestroy(): void;
|
|
19
|
-
ngAfterViewInit(): void;
|
|
20
|
-
private carouselStateSubscribe;
|
|
15
|
+
readonly interval: import("@angular/core").InputSignal<number>;
|
|
16
|
+
constructor();
|
|
21
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselItemComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselItemComponent, "c-carousel-item",
|
|
23
|
-
static ngAcceptInputType_active: unknown;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselItemComponent, "c-carousel-item", ["cCarouselItem"], { "activeInput": { "alias": "active"; "required": false; "isSignal": true; }; "interval": { "alias": "interval"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
24
19
|
}
|
|
@@ -5,8 +5,8 @@ export interface ICarouselIndex {
|
|
|
5
5
|
lastItemIndex?: number;
|
|
6
6
|
}
|
|
7
7
|
export declare class CarouselService {
|
|
8
|
-
private
|
|
9
|
-
carouselIndex$: import("rxjs").Observable<ICarouselIndex>;
|
|
8
|
+
#private;
|
|
9
|
+
readonly carouselIndex$: import("rxjs").Observable<ICarouselIndex>;
|
|
10
10
|
setIndex(index: ICarouselIndex): void;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselService, never>;
|
|
12
12
|
static ɵprov: i0.ɵɵInjectableDeclaration<CarouselService>;
|
|
@@ -1,7 +1,23 @@
|
|
|
1
1
|
import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
|
|
2
|
-
import { ColOrder
|
|
2
|
+
import { ColOrder } from './col.type';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export
|
|
4
|
+
export type ColOffsetType = number | {
|
|
5
|
+
xs?: number;
|
|
6
|
+
sm?: number;
|
|
7
|
+
md?: number;
|
|
8
|
+
lg?: number;
|
|
9
|
+
xl?: number;
|
|
10
|
+
xxl?: number;
|
|
11
|
+
};
|
|
12
|
+
export type ColOrderType = ColOrder | {
|
|
13
|
+
xs?: ColOrder;
|
|
14
|
+
sm?: ColOrder;
|
|
15
|
+
md?: ColOrder;
|
|
16
|
+
lg?: ColOrder;
|
|
17
|
+
xl?: ColOrder;
|
|
18
|
+
xxl?: ColOrder;
|
|
19
|
+
};
|
|
20
|
+
export declare class ColDirective {
|
|
5
21
|
static ngAcceptInputType_cCol: BooleanInput | NumberInput;
|
|
6
22
|
static ngAcceptInputType_xs: BooleanInput | NumberInput;
|
|
7
23
|
static ngAcceptInputType_sm: BooleanInput | NumberInput;
|
|
@@ -11,65 +27,40 @@ export declare class ColDirective implements ICol {
|
|
|
11
27
|
static ngAcceptInputType_xxl: BooleanInput | NumberInput;
|
|
12
28
|
/**
|
|
13
29
|
* The number of columns/offset/order on extra small devices (<576px).
|
|
14
|
-
* @
|
|
30
|
+
* @return { 'auto' | number | boolean }
|
|
15
31
|
*/
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
get xs(): BooleanInput | NumberInput;
|
|
19
|
-
private _xs;
|
|
32
|
+
readonly cCol: import("@angular/core").InputSignalWithTransform<number | boolean | "auto", string | number | boolean | null | undefined>;
|
|
33
|
+
readonly xs: import("@angular/core").InputSignalWithTransform<number | boolean | "auto", string | number | boolean | null | undefined>;
|
|
20
34
|
/**
|
|
21
35
|
* The number of columns/offset/order on small devices (<768px).
|
|
22
|
-
* @
|
|
36
|
+
* @return { 'auto' | number | boolean }
|
|
23
37
|
*/
|
|
24
|
-
|
|
25
|
-
get sm(): BooleanInput | NumberInput;
|
|
26
|
-
private _sm;
|
|
38
|
+
readonly sm: import("@angular/core").InputSignalWithTransform<number | boolean | "auto", string | number | boolean | null | undefined>;
|
|
27
39
|
/**
|
|
28
40
|
* The number of columns/offset/order on medium devices (<992px).
|
|
29
|
-
* @
|
|
41
|
+
* @return { 'auto' | number | boolean }
|
|
30
42
|
*/
|
|
31
|
-
|
|
32
|
-
get md(): BooleanInput | NumberInput;
|
|
33
|
-
private _md;
|
|
43
|
+
readonly md: import("@angular/core").InputSignalWithTransform<number | boolean | "auto", string | number | boolean | null | undefined>;
|
|
34
44
|
/**
|
|
35
45
|
* The number of columns/offset/order on large devices (<1200px).
|
|
36
|
-
* @
|
|
46
|
+
* @return { 'auto' | number | boolean }
|
|
37
47
|
*/
|
|
38
|
-
|
|
39
|
-
get lg(): BooleanInput | NumberInput;
|
|
40
|
-
private _lg;
|
|
48
|
+
readonly lg: import("@angular/core").InputSignalWithTransform<number | boolean | "auto", string | number | boolean | null | undefined>;
|
|
41
49
|
/**
|
|
42
50
|
* The number of columns/offset/order on X-Large devices (<1400px).
|
|
43
|
-
* @
|
|
51
|
+
* @return { 'auto' | number | boolean }
|
|
44
52
|
*/
|
|
45
|
-
|
|
46
|
-
get xl(): BooleanInput | NumberInput;
|
|
47
|
-
private _xl;
|
|
53
|
+
readonly xl: import("@angular/core").InputSignalWithTransform<number | boolean | "auto", string | number | boolean | null | undefined>;
|
|
48
54
|
/**
|
|
49
55
|
* The number of columns/offset/order on XX-Large devices (≥1400px).
|
|
50
|
-
* @
|
|
56
|
+
* @return { 'auto' | number | boolean }
|
|
51
57
|
*/
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
sm?: number;
|
|
58
|
-
md?: number;
|
|
59
|
-
lg?: number;
|
|
60
|
-
xl?: number;
|
|
61
|
-
xxl?: number;
|
|
62
|
-
};
|
|
63
|
-
order?: ColOrder | {
|
|
64
|
-
xs?: ColOrder;
|
|
65
|
-
sm?: ColOrder;
|
|
66
|
-
md?: ColOrder;
|
|
67
|
-
lg?: ColOrder;
|
|
68
|
-
xl?: ColOrder;
|
|
69
|
-
xxl?: ColOrder;
|
|
70
|
-
};
|
|
71
|
-
get hostClasses(): any;
|
|
58
|
+
readonly xxl: import("@angular/core").InputSignalWithTransform<number | boolean | "auto", string | number | boolean | null | undefined>;
|
|
59
|
+
readonly breakpoints: import("@angular/core").Signal<Record<string, any>>;
|
|
60
|
+
readonly offset: import("@angular/core").InputSignal<ColOffsetType | undefined>;
|
|
61
|
+
readonly order: import("@angular/core").InputSignal<ColOrderType | undefined>;
|
|
62
|
+
readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
72
63
|
coerceInput(value: BooleanInput | NumberInput): number | boolean | "auto";
|
|
73
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColDirective, never>;
|
|
74
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ColDirective, "[cCol]", never, { "cCol": { "alias": "cCol"; "required": false; }; "xs": { "alias": "xs"; "required": false; }; "sm": { "alias": "sm"; "required": false; }; "md": { "alias": "md"; "required": false; }; "lg": { "alias": "lg"; "required": false; }; "xl": { "alias": "xl"; "required": false; }; "xxl": { "alias": "xxl"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "order": { "alias": "order"; "required": false; }; }, {}, never, never, true, never>;
|
|
65
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ColDirective, "[cCol]", never, { "cCol": { "alias": "cCol"; "required": false; "isSignal": true; }; "xs": { "alias": "xs"; "required": false; "isSignal": true; }; "sm": { "alias": "sm"; "required": false; "isSignal": true; }; "md": { "alias": "md"; "required": false; "isSignal": true; }; "lg": { "alias": "lg"; "required": false; "isSignal": true; }; "xl": { "alias": "xl"; "required": false; "isSignal": true; }; "xxl": { "alias": "xxl"; "required": false; "isSignal": true; }; "offset": { "alias": "offset"; "required": false; "isSignal": true; }; "order": { "alias": "order"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
75
66
|
}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
import { InputSignal, InputSignalWithTransform } from '@angular/core';
|
|
2
|
-
import { IContainer } from './container.type';
|
|
3
|
-
import { Breakpoints } from '../coreui.types';
|
|
4
1
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ContainerComponent
|
|
2
|
+
export declare class ContainerComponent {
|
|
6
3
|
/**
|
|
7
4
|
* Set container 100% wide until a breakpoint.
|
|
8
5
|
*/
|
|
9
|
-
readonly breakpoint: InputSignal<
|
|
6
|
+
readonly breakpoint: import("@angular/core").InputSignal<string>;
|
|
10
7
|
/**
|
|
11
8
|
* Set container 100% wide, spanning the entire width of the viewport.
|
|
12
|
-
* @
|
|
9
|
+
* @return boolean
|
|
13
10
|
*/
|
|
14
|
-
readonly fluid: InputSignalWithTransform<
|
|
11
|
+
readonly fluid: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
15
12
|
readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
|
|
16
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContainerComponent, never>;
|
|
17
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<ContainerComponent, "c-container, [cContainer]", never, { "breakpoint": { "alias": "breakpoint"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|