@coreui/angular 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",
|
|
3
|
-
"version": "5.7.
|
|
3
|
+
"version": "5.7.20",
|
|
4
4
|
"description": "CoreUI Components Library for Angular",
|
|
5
5
|
"copyright": "Copyright 2026 creativeLabs Łukasz Holeczek",
|
|
6
6
|
"license": "MIT",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@angular/core": "^22.1.0",
|
|
31
31
|
"@angular/router": "^22.1.0",
|
|
32
32
|
"@coreui/coreui": "^5.9.0",
|
|
33
|
-
"@coreui/icons-angular": "~5.7.
|
|
33
|
+
"@coreui/icons-angular": "~5.7.20",
|
|
34
34
|
"rxjs": "^7.8.2"
|
|
35
35
|
},
|
|
36
36
|
"repository": {
|
|
@@ -8,6 +8,7 @@ import { FocusableOption, FocusOrigin } from '@angular/cdk/a11y';
|
|
|
8
8
|
import * as _popperjs_core from '@popperjs/core';
|
|
9
9
|
import { Placement, Options } from '@popperjs/core';
|
|
10
10
|
import * as node_modules_rxjs_dist_types from 'node_modules/rxjs/dist/types';
|
|
11
|
+
import { DomPortal, DomPortalOutlet } from '@angular/cdk/portal';
|
|
11
12
|
import * as _coreui_angular from '@coreui/angular';
|
|
12
13
|
import { AnimationEvent } from '@angular/animations';
|
|
13
14
|
|
|
@@ -2012,6 +2013,13 @@ declare class ModalComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
2012
2013
|
* @default true
|
|
2013
2014
|
*/
|
|
2014
2015
|
readonly backdrop: _angular_core.InputSignal<boolean | "static">;
|
|
2016
|
+
/**
|
|
2017
|
+
* 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`.
|
|
2018
|
+
* @since 5.7.20
|
|
2019
|
+
* @returns Element | (() => Element | null) | null
|
|
2020
|
+
* @default document.body
|
|
2021
|
+
*/
|
|
2022
|
+
readonly container: _angular_core.InputSignal<Element | (() => Element | null) | null>;
|
|
2015
2023
|
/**
|
|
2016
2024
|
* Set modal to cover the entire user viewport.
|
|
2017
2025
|
* @returns {boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'}
|
|
@@ -2025,11 +2033,18 @@ declare class ModalComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
2025
2033
|
*/
|
|
2026
2034
|
readonly keyboard: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2027
2035
|
/**
|
|
2028
|
-
*
|
|
2036
|
+
* HTML id attribute, required for programmatic visibility change.
|
|
2029
2037
|
* @returns string
|
|
2030
2038
|
*/
|
|
2031
2039
|
readonly attrId: _angular_core.InputSignal<string | undefined>;
|
|
2032
2040
|
get id(): string | undefined;
|
|
2041
|
+
/**
|
|
2042
|
+
* Generates modal using a portal
|
|
2043
|
+
* @since 5.7.20
|
|
2044
|
+
* @returns boolean
|
|
2045
|
+
* @default false
|
|
2046
|
+
*/
|
|
2047
|
+
readonly portal: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2033
2048
|
/**
|
|
2034
2049
|
* Size the component small, large, or extra large.
|
|
2035
2050
|
* @returns {'sm' | 'lg' | 'xl'}
|
|
@@ -2066,6 +2081,9 @@ declare class ModalComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
2066
2081
|
*/
|
|
2067
2082
|
readonly visibleInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2068
2083
|
readonly visible: _angular_core.WritableSignal<boolean>;
|
|
2084
|
+
protected readonly domPortal: DomPortal<any>;
|
|
2085
|
+
protected domPortalOutlet: DomPortalOutlet;
|
|
2086
|
+
protected domPortalCleanup: () => void;
|
|
2069
2087
|
/**
|
|
2070
2088
|
* Event triggered on modal dismiss.
|
|
2071
2089
|
* @returns boolean
|
|
@@ -2090,7 +2108,7 @@ declare class ModalComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
2090
2108
|
private setBodyStyles;
|
|
2091
2109
|
private setStaticBackdrop;
|
|
2092
2110
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
2093
|
-
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>;
|
|
2111
|
+
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>;
|
|
2094
2112
|
}
|
|
2095
2113
|
|
|
2096
2114
|
interface IModalAction {
|