@coreui/angular-pro 5.7.19 → 5.7.20
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coreui/angular-pro",
|
|
3
|
-
"version": "5.7.
|
|
3
|
+
"version": "5.7.20",
|
|
4
4
|
"description": "CoreUI Pro Components Library for Angular",
|
|
5
5
|
"copyright": "Copyright 2026 creativeLabs Łukasz Holeczek",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@angular/forms": "^22.1.0",
|
|
32
32
|
"@angular/router": "^22.1.0",
|
|
33
33
|
"@coreui/coreui-pro": "^5.27.1",
|
|
34
|
-
"@coreui/icons-angular": "~5.7.
|
|
34
|
+
"@coreui/icons-angular": "~5.7.20",
|
|
35
35
|
"rxjs": "^7.8.2"
|
|
36
36
|
},
|
|
37
37
|
"repository": {
|
|
@@ -12,6 +12,7 @@ import { FocusableOption, FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
|
|
|
12
12
|
import * as node_modules_rxjs_dist_types from 'node_modules/rxjs/dist/types';
|
|
13
13
|
import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
|
|
14
14
|
import { SelectionModel, SelectionChange } from '@angular/cdk/collections';
|
|
15
|
+
import { DomPortal, DomPortalOutlet } from '@angular/cdk/portal';
|
|
15
16
|
import { AnimationEvent } from '@angular/animations';
|
|
16
17
|
|
|
17
18
|
declare type BooleanInput = string | boolean | null | undefined;
|
|
@@ -3799,6 +3800,13 @@ declare class ModalComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
3799
3800
|
* @default true
|
|
3800
3801
|
*/
|
|
3801
3802
|
readonly backdrop: _angular_core.InputSignal<boolean | "static">;
|
|
3803
|
+
/**
|
|
3804
|
+
* Appends the angular modal to a specific element. You can pass an HTML element or function that returns a single element. By default, `document.body`.
|
|
3805
|
+
* @since 5.7.20
|
|
3806
|
+
* @returns Element | (() => Element | null) | null
|
|
3807
|
+
* @default document.body
|
|
3808
|
+
*/
|
|
3809
|
+
readonly container: _angular_core.InputSignal<Element | (() => Element | null) | null>;
|
|
3802
3810
|
/**
|
|
3803
3811
|
* Set modal to cover the entire user viewport.
|
|
3804
3812
|
* @returns {boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'}
|
|
@@ -3812,11 +3820,18 @@ declare class ModalComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
3812
3820
|
*/
|
|
3813
3821
|
readonly keyboard: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
3814
3822
|
/**
|
|
3815
|
-
*
|
|
3823
|
+
* HTML id attribute, required for programmatic visibility change.
|
|
3816
3824
|
* @returns string
|
|
3817
3825
|
*/
|
|
3818
3826
|
readonly attrId: _angular_core.InputSignal<string | undefined>;
|
|
3819
3827
|
get id(): string | undefined;
|
|
3828
|
+
/**
|
|
3829
|
+
* Generates modal using a portal
|
|
3830
|
+
* @since 5.7.20
|
|
3831
|
+
* @returns boolean
|
|
3832
|
+
* @default false
|
|
3833
|
+
*/
|
|
3834
|
+
readonly portal: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
3820
3835
|
/**
|
|
3821
3836
|
* Size the component small, large, or extra large.
|
|
3822
3837
|
* @returns {'sm' | 'lg' | 'xl'}
|
|
@@ -3853,6 +3868,9 @@ declare class ModalComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
3853
3868
|
*/
|
|
3854
3869
|
readonly visibleInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
3855
3870
|
readonly visible: _angular_core.WritableSignal<boolean>;
|
|
3871
|
+
protected readonly domPortal: DomPortal<any>;
|
|
3872
|
+
protected domPortalOutlet: DomPortalOutlet;
|
|
3873
|
+
protected domPortalCleanup: () => void;
|
|
3856
3874
|
/**
|
|
3857
3875
|
* Event triggered on modal dismiss.
|
|
3858
3876
|
* @returns boolean
|
|
@@ -3877,7 +3895,7 @@ declare class ModalComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
3877
3895
|
private setBodyStyles;
|
|
3878
3896
|
private setStaticBackdrop;
|
|
3879
3897
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
3880
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ModalComponent, "c-modal", ["cModal"], { "alignment": { "alias": "alignment"; "required": false; "isSignal": true; }; "backdrop": { "alias": "backdrop"; "required": false; "isSignal": true; }; "fullscreen": { "alias": "fullscreen"; "required": false; "isSignal": true; }; "keyboard": { "alias": "keyboard"; "required": false; "isSignal": true; }; "attrId": { "alias": "id"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "transition": { "alias": "transition"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; "ariaModalInput": { "alias": "ariaModal"; "required": false; "isSignal": true; }; "scrollable": { "alias": "scrollable"; "required": false; "isSignal": true; }; "visibleInput": { "alias": "visible"; "required": false; "isSignal": true; }; }, { "visibleChange": "visibleChange"; }, never, ["*"], true, never>;
|
|
3898
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ModalComponent, "c-modal", ["cModal"], { "alignment": { "alias": "alignment"; "required": false; "isSignal": true; }; "backdrop": { "alias": "backdrop"; "required": false; "isSignal": true; }; "container": { "alias": "container"; "required": false; "isSignal": true; }; "fullscreen": { "alias": "fullscreen"; "required": false; "isSignal": true; }; "keyboard": { "alias": "keyboard"; "required": false; "isSignal": true; }; "attrId": { "alias": "id"; "required": false; "isSignal": true; }; "portal": { "alias": "portal"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "transition": { "alias": "transition"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; "ariaModalInput": { "alias": "ariaModal"; "required": false; "isSignal": true; }; "scrollable": { "alias": "scrollable"; "required": false; "isSignal": true; }; "visibleInput": { "alias": "visible"; "required": false; "isSignal": true; }; }, { "visibleChange": "visibleChange"; }, never, ["*"], true, never>;
|
|
3881
3899
|
}
|
|
3882
3900
|
|
|
3883
3901
|
interface IModalAction {
|