@skyux/modals 8.4.0 → 8.5.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/documentation.json +435 -317
- package/esm2020/index.mjs +3 -1
- package/esm2020/lib/modules/confirm/confirm.component.mjs +1 -1
- package/esm2020/lib/modules/modal/modal-error.mjs +2 -0
- package/esm2020/lib/modules/modal/modal-errors.service.mjs +24 -0
- package/esm2020/lib/modules/modal/modal-footer.component.mjs +10 -4
- package/esm2020/lib/modules/modal/modal.component.mjs +23 -5
- package/esm2020/lib/modules/modal/modal.module.mjs +5 -2
- package/fesm2015/skyux-modals.mjs +65 -22
- package/fesm2015/skyux-modals.mjs.map +1 -1
- package/fesm2020/skyux-modals.mjs +65 -22
- package/fesm2020/skyux-modals.mjs.map +1 -1
- package/index.d.ts +2 -0
- package/lib/modules/modal/modal-error.d.ts +9 -0
- package/lib/modules/modal/modal-errors.service.d.ts +14 -0
- package/lib/modules/modal/modal-footer.component.d.ts +2 -0
- package/lib/modules/modal/modal.component.d.ts +6 -1
- package/lib/modules/modal/modal.module.d.ts +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { SkyModalError } from './modal-error';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export declare class SkyModalErrorsService {
|
|
8
|
+
#private;
|
|
9
|
+
formErrors: Observable<SkyModalError[] | undefined>;
|
|
10
|
+
constructor();
|
|
11
|
+
updateErrors(value: SkyModalError[] | undefined): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyModalErrorsService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SkyModalErrorsService>;
|
|
14
|
+
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { SkyModalErrorsService } from './modal-errors.service';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
/**
|
|
3
4
|
* Specifies content to display in the modal's footer.
|
|
4
5
|
*/
|
|
5
6
|
export declare class SkyModalFooterComponent {
|
|
7
|
+
protected errorsSvc: SkyModalErrorsService;
|
|
6
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyModalFooterComponent, never>;
|
|
7
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<SkyModalFooterComponent, "sky-modal-footer", never, {}, {}, never, ["*"], false, never>;
|
|
8
10
|
}
|
|
@@ -2,6 +2,7 @@ import { AfterViewInit, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
|
2
2
|
import { SkyAppWindowRef, SkyCoreAdapterService, SkyDockService, SkyResizeObserverMediaQueryService } from '@skyux/core';
|
|
3
3
|
import { SkyModalComponentAdapterService } from './modal-component-adapter.service';
|
|
4
4
|
import { SkyModalConfiguration } from './modal-configuration';
|
|
5
|
+
import { SkyModalError } from './modal-error';
|
|
5
6
|
import { SkyModalHostService } from './modal-host.service';
|
|
6
7
|
import { SkyModalScrollShadowEventArgs } from './modal-scroll-shadow-event-args';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
@@ -13,6 +14,10 @@ import * as i0 from "@angular/core";
|
|
|
13
14
|
export declare class SkyModalComponent implements AfterViewInit, OnDestroy, OnInit {
|
|
14
15
|
#private;
|
|
15
16
|
wrapperClass: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* A list of form-level errors to display to the user.
|
|
19
|
+
*/
|
|
20
|
+
set formErrors(value: SkyModalError[] | undefined);
|
|
16
21
|
/**
|
|
17
22
|
* @internal
|
|
18
23
|
*/
|
|
@@ -51,5 +56,5 @@ export declare class SkyModalComponent implements AfterViewInit, OnDestroy, OnIn
|
|
|
51
56
|
scrollShadowChange(args: SkyModalScrollShadowEventArgs): void;
|
|
52
57
|
viewkeeperEnabled(): boolean;
|
|
53
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyModalComponent, [null, null, null, null, null, null, { host: true; }, { optional: true; }]>;
|
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyModalComponent, "sky-modal", never, { "ariaRole": "ariaRole"; "tiledBody": "tiledBody"; "ariaDescribedBy": "ariaDescribedBy"; "ariaLabelledBy": "ariaLabelledBy"; }, {}, never, ["sky-modal-header", "sky-modal-content", "sky-modal-footer"], false, never>;
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyModalComponent, "sky-modal", never, { "formErrors": "formErrors"; "ariaRole": "ariaRole"; "tiledBody": "tiledBody"; "ariaDescribedBy": "ariaDescribedBy"; "ariaLabelledBy": "ariaLabelledBy"; }, {}, never, ["sky-modal-header", "sky-modal-content", "sky-modal-footer"], false, never>;
|
|
55
60
|
}
|
|
@@ -14,6 +14,6 @@ import * as i12 from "../shared/sky-modals-resources.module";
|
|
|
14
14
|
import * as i13 from "@skyux/theme";
|
|
15
15
|
export declare class SkyModalModule {
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyModalModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyModalModule, [typeof i1.SkyModalComponent, typeof i2.SkyModalContentComponent, typeof i3.SkyModalFooterComponent, typeof i4.SkyModalHeaderComponent, typeof i5.SkyModalHostComponent, typeof i6.SkyModalIsDirtyDirective, typeof i7.SkyModalScrollShadowDirective], [typeof i8.CommonModule, typeof i9.RouterModule, typeof i10.SkyIconModule, typeof i11.SkyIdModule, typeof i12.SkyModalsResourcesModule, typeof i13.SkyThemeModule, typeof i11.SkyTrimModule], [typeof i1.SkyModalComponent, typeof i2.SkyModalContentComponent, typeof i3.SkyModalFooterComponent, typeof i4.SkyModalHeaderComponent, typeof i6.SkyModalIsDirtyDirective]>;
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyModalModule, [typeof i1.SkyModalComponent, typeof i2.SkyModalContentComponent, typeof i3.SkyModalFooterComponent, typeof i4.SkyModalHeaderComponent, typeof i5.SkyModalHostComponent, typeof i6.SkyModalIsDirtyDirective, typeof i7.SkyModalScrollShadowDirective], [typeof i8.CommonModule, typeof i9.RouterModule, typeof i10.SkyIconModule, typeof i11.SkyIdModule, typeof i12.SkyModalsResourcesModule, typeof i10.SkyStatusIndicatorModule, typeof i13.SkyThemeModule, typeof i11.SkyTrimModule], [typeof i1.SkyModalComponent, typeof i2.SkyModalContentComponent, typeof i3.SkyModalFooterComponent, typeof i4.SkyModalHeaderComponent, typeof i6.SkyModalIsDirtyDirective]>;
|
|
18
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<SkyModalModule>;
|
|
19
19
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/modals",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.5.0",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
"@angular/common": "^15.2.9",
|
|
45
45
|
"@angular/core": "^15.2.9",
|
|
46
46
|
"@angular/router": "^15.2.9",
|
|
47
|
-
"@skyux/core": "8.
|
|
48
|
-
"@skyux/i18n": "8.
|
|
49
|
-
"@skyux/indicators": "8.
|
|
50
|
-
"@skyux/theme": "8.
|
|
47
|
+
"@skyux/core": "8.5.0",
|
|
48
|
+
"@skyux/i18n": "8.5.0",
|
|
49
|
+
"@skyux/indicators": "8.5.0",
|
|
50
|
+
"@skyux/theme": "8.5.0"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"tslib": "^2.5.0"
|