@progress/kendo-angular-dialog 6.0.3-dev.202203091004 → 7.0.0-next.202203171702
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/bundles/kendo-angular-dialog.umd.js +5 -0
- package/{dist/es2015/common → common}/actions-layout.d.ts +0 -0
- package/{dist/es2015/common → common}/preventable-event.d.ts +0 -0
- package/{dist/es2015/common → common}/util.d.ts +1 -1
- package/{dist/es2015/dialog → dialog}/dialog-actions.component.d.ts +14 -7
- package/{dist/es2015/dialog → dialog}/dialog-container.directive.d.ts +3 -0
- package/dialog/dialog-container.service.d.ts +16 -0
- package/{dist/es2015/dialog → dialog}/dialog-content-base.d.ts +4 -1
- package/{dist/es2015/dialog → dialog}/dialog-titlebar.component.d.ts +5 -2
- package/{dist/es2015/dialog → dialog}/dialog.component.d.ts +13 -6
- package/{dist/es2015/dialog → dialog}/dialog.service.d.ts +5 -1
- package/dialog/models/dialog-action.d.ts +28 -0
- package/dialog/models/dialog-close-result.d.ts +11 -0
- package/dialog/models/dialog-ref.d.ts +38 -0
- package/dialog/models/dialog-result.d.ts +14 -0
- package/{dist/es2015/dialog → dialog/models}/dialog-settings.d.ts +5 -73
- package/{dist/es/localization/dialog-localization.service.js → dialog/models/index.d.ts} +5 -5
- package/{dist/es2015/dialog.module.d.ts → dialog.module.d.ts} +11 -0
- package/{dist/es2015/dialogs.module.d.ts → dialogs.module.d.ts} +6 -0
- package/{dist/es2015 → esm2015}/common/actions-layout.js +1 -0
- package/{dist/es2015 → esm2015}/common/preventable-event.js +0 -0
- package/{dist/es2015 → esm2015}/common/util.js +0 -5
- package/esm2015/dialog/dialog-actions.component.js +115 -0
- package/esm2015/dialog/dialog-container.directive.js +30 -0
- package/esm2015/dialog/dialog-container.service.js +23 -0
- package/{dist/es2015 → esm2015}/dialog/dialog-content-base.js +18 -10
- package/esm2015/dialog/dialog-titlebar.component.js +136 -0
- package/{dist/es2015 → esm2015}/dialog/dialog.component.js +123 -113
- package/{dist/es2015 → esm2015}/dialog/dialog.service.js +16 -15
- package/{dist/es2015/window/window-container.service.d.ts → esm2015/dialog/models/dialog-action.js} +3 -5
- package/esm2015/dialog/models/dialog-close-result.js +11 -0
- package/esm2015/dialog/models/dialog-ref.js +11 -0
- package/{dist/es/common/actions-layout.js → esm2015/dialog/models/dialog-result.js} +1 -0
- package/{dist/es2015/dialog/dialog-container.service.d.ts → esm2015/dialog/models/dialog-settings.js} +3 -5
- package/esm2015/dialog/models/index.js +9 -0
- package/{dist/es2015 → esm2015}/dialog.module.js +20 -13
- package/{dist/es → esm2015}/dialogs.module.js +12 -12
- package/esm2015/kendo-angular-dialog.js +8 -0
- package/esm2015/localization/custom-messages.component.js +41 -0
- package/{dist/es2015 → esm2015}/localization/dialog-localization.service.js +0 -0
- package/esm2015/localization/localized-messages.directive.js +40 -0
- package/esm2015/localization/messages.js +28 -0
- package/esm2015/localization/titlebar-localization.service.js +44 -0
- package/{dist/es2015 → esm2015}/main.js +8 -2
- package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
- package/esm2015/shared.module.js +38 -0
- package/esm2015/window/actions/window-close-action.directive.js +59 -0
- package/esm2015/window/actions/window-maximize-action.directive.js +65 -0
- package/esm2015/window/actions/window-minimize-action.directive.js +65 -0
- package/esm2015/window/actions/window-restore-action.directive.js +65 -0
- package/{dist/es2015 → esm2015}/window/drag-resize.service.js +9 -11
- package/esm2015/window/models/index.js +10 -0
- package/esm2015/window/models/window-close-result.js +9 -0
- package/{dist/es2015/window/window-events.js → esm2015/window/models/window-messages.js} +1 -0
- package/esm2015/window/models/window-options.js +5 -0
- package/{dist/es2015/window/window-settings.js → esm2015/window/models/window-ref.js} +0 -11
- package/esm2015/window/models/window-settings.js +10 -0
- package/esm2015/window/models/window-types.js +5 -0
- package/{dist/es2015 → esm2015}/window/navigation.service.js +10 -11
- package/esm2015/window/window-container.directive.js +30 -0
- package/esm2015/window/window-container.service.js +23 -0
- package/{dist/es → esm2015}/window/window-events.js +1 -0
- package/{dist/es2015 → esm2015}/window/window-resize-handle.directive.js +21 -26
- package/{dist/es2015 → esm2015}/window/window-titlebar.component.js +35 -34
- package/{dist/es2015 → esm2015}/window/window.component.js +168 -187
- package/{dist/es2015 → esm2015}/window/window.service.js +15 -14
- package/{dist/es2015 → esm2015}/window.module.js +29 -17
- package/{dist/fesm2015/index.js → fesm2015/kendo-angular-dialog.js} +1023 -926
- package/{dist/es2015/shared.module.d.ts → kendo-angular-dialog.d.ts} +3 -7
- package/{dist/es2015/localization → localization}/custom-messages.component.d.ts +4 -1
- package/{dist/es2015/localization → localization}/dialog-localization.service.d.ts +0 -0
- package/{dist/es2015/localization → localization}/localized-messages.directive.d.ts +3 -0
- package/{dist/es2015/localization → localization}/messages.d.ts +3 -0
- package/{dist/es2015/localization → localization}/titlebar-localization.service.d.ts +3 -0
- package/{dist/es2015/main.d.ts → main.d.ts} +7 -2
- package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
- package/package.json +33 -105
- package/schematics/ngAdd/index.js +5 -2
- package/schematics/ngAdd/index.js.map +1 -1
- package/shared.module.d.ts +21 -0
- package/{dist/es2015/window → window}/actions/window-close-action.directive.d.ts +3 -0
- package/{dist/es2015/window → window}/actions/window-maximize-action.directive.d.ts +4 -1
- package/{dist/es2015/window → window}/actions/window-minimize-action.directive.d.ts +4 -1
- package/{dist/es2015/window → window}/actions/window-restore-action.directive.d.ts +4 -1
- package/{dist/es2015/window → window}/drag-resize.service.d.ts +8 -4
- package/window/models/index.d.ts +10 -0
- package/window/models/window-close-result.d.ts +9 -0
- package/window/models/window-messages.d.ts +26 -0
- package/window/models/window-options.d.ts +20 -0
- package/window/models/window-ref.d.ts +40 -0
- package/{dist/es2015/window → window/models}/window-settings.d.ts +4 -84
- package/window/models/window-types.d.ts +11 -0
- package/{dist/es2015/window → window}/navigation.service.d.ts +4 -1
- package/{dist/es2015/window → window}/window-container.directive.d.ts +3 -0
- package/window/window-container.service.d.ts +16 -0
- package/{dist/es2015/window → window}/window-events.d.ts +0 -0
- package/{dist/es2015/window → window}/window-resize-handle.directive.d.ts +4 -1
- package/{dist/es2015/window → window}/window-titlebar.component.d.ts +6 -3
- package/{dist/es2015/window → window}/window.component.d.ts +42 -25
- package/{dist/es2015/window → window}/window.service.d.ts +5 -1
- package/window.module.d.ts +45 -0
- package/dist/cdn/js/kendo-angular-dialog.js +0 -20
- package/dist/cdn/main.js +0 -5
- package/dist/es/common/preventable-event.js +0 -29
- package/dist/es/common/util.js +0 -214
- package/dist/es/dialog/dialog-actions.component.js +0 -89
- package/dist/es/dialog/dialog-container.directive.js +0 -31
- package/dist/es/dialog/dialog-container.service.js +0 -31
- package/dist/es/dialog/dialog-content-base.js +0 -45
- package/dist/es/dialog/dialog-settings.js +0 -46
- package/dist/es/dialog/dialog-titlebar.component.js +0 -94
- package/dist/es/dialog/dialog.component.js +0 -462
- package/dist/es/dialog/dialog.service.js +0 -214
- package/dist/es/dialog.module.js +0 -56
- package/dist/es/index.js +0 -22
- package/dist/es/localization/custom-messages.component.js +0 -44
- package/dist/es/localization/localized-messages.directive.js +0 -35
- package/dist/es/localization/messages.js +0 -34
- package/dist/es/localization/titlebar-localization.service.js +0 -34
- package/dist/es/main.js +0 -21
- package/dist/es/package-metadata.js +0 -15
- package/dist/es/shared.module.js +0 -34
- package/dist/es/window/actions/window-close-action.directive.js +0 -63
- package/dist/es/window/actions/window-maximize-action.directive.js +0 -75
- package/dist/es/window/actions/window-minimize-action.directive.js +0 -75
- package/dist/es/window/actions/window-restore-action.directive.js +0 -75
- package/dist/es/window/drag-resize.service.js +0 -351
- package/dist/es/window/navigation.service.js +0 -155
- package/dist/es/window/window-container.directive.js +0 -31
- package/dist/es/window/window-container.service.js +0 -31
- package/dist/es/window/window-resize-handle.directive.js +0 -78
- package/dist/es/window/window-settings.js +0 -34
- package/dist/es/window/window-titlebar.component.js +0 -144
- package/dist/es/window/window.component.js +0 -808
- package/dist/es/window/window.service.js +0 -214
- package/dist/es/window.module.js +0 -76
- package/dist/es2015/dialog/dialog-actions.component.js +0 -98
- package/dist/es2015/dialog/dialog-container.directive.js +0 -30
- package/dist/es2015/dialog/dialog-container.service.js +0 -23
- package/dist/es2015/dialog/dialog-settings.js +0 -30
- package/dist/es2015/dialog/dialog-titlebar.component.js +0 -106
- package/dist/es2015/dialogs.module.js +0 -41
- package/dist/es2015/index.d.ts +0 -22
- package/dist/es2015/index.js +0 -22
- package/dist/es2015/index.metadata.json +0 -1
- package/dist/es2015/localization/custom-messages.component.js +0 -36
- package/dist/es2015/localization/localized-messages.directive.js +0 -35
- package/dist/es2015/localization/messages.js +0 -28
- package/dist/es2015/localization/titlebar-localization.service.js +0 -31
- package/dist/es2015/shared.module.js +0 -31
- package/dist/es2015/window/actions/window-close-action.directive.js +0 -60
- package/dist/es2015/window/actions/window-maximize-action.directive.js +0 -68
- package/dist/es2015/window/actions/window-minimize-action.directive.js +0 -68
- package/dist/es2015/window/actions/window-restore-action.directive.js +0 -68
- package/dist/es2015/window/window-container.directive.js +0 -30
- package/dist/es2015/window/window-container.service.js +0 -23
- package/dist/es2015/window.module.d.ts +0 -28
- package/dist/fesm5/index.js +0 -3474
- package/dist/npm/common/actions-layout.js +0 -6
- package/dist/npm/common/preventable-event.js +0 -31
- package/dist/npm/common/util.js +0 -219
- package/dist/npm/dialog/dialog-actions.component.js +0 -91
- package/dist/npm/dialog/dialog-container.directive.js +0 -33
- package/dist/npm/dialog/dialog-container.service.js +0 -33
- package/dist/npm/dialog/dialog-content-base.js +0 -47
- package/dist/npm/dialog/dialog-settings.js +0 -48
- package/dist/npm/dialog/dialog-titlebar.component.js +0 -96
- package/dist/npm/dialog/dialog.component.js +0 -464
- package/dist/npm/dialog/dialog.service.js +0 -216
- package/dist/npm/dialog.module.js +0 -58
- package/dist/npm/dialogs.module.js +0 -46
- package/dist/npm/index.js +0 -40
- package/dist/npm/localization/custom-messages.component.js +0 -46
- package/dist/npm/localization/dialog-localization.service.js +0 -11
- package/dist/npm/localization/localized-messages.directive.js +0 -37
- package/dist/npm/localization/messages.js +0 -36
- package/dist/npm/localization/titlebar-localization.service.js +0 -36
- package/dist/npm/main.js +0 -45
- package/dist/npm/package-metadata.js +0 -17
- package/dist/npm/shared.module.js +0 -36
- package/dist/npm/window/actions/window-close-action.directive.js +0 -65
- package/dist/npm/window/actions/window-maximize-action.directive.js +0 -77
- package/dist/npm/window/actions/window-minimize-action.directive.js +0 -77
- package/dist/npm/window/actions/window-restore-action.directive.js +0 -77
- package/dist/npm/window/drag-resize.service.js +0 -353
- package/dist/npm/window/navigation.service.js +0 -157
- package/dist/npm/window/window-container.directive.js +0 -33
- package/dist/npm/window/window-container.service.js +0 -33
- package/dist/npm/window/window-events.js +0 -6
- package/dist/npm/window/window-resize-handle.directive.js +0 -80
- package/dist/npm/window/window-settings.js +0 -36
- package/dist/npm/window/window-titlebar.component.js +0 -146
- package/dist/npm/window/window.component.js +0 -810
- package/dist/npm/window/window.service.js +0 -216
- package/dist/npm/window.module.js +0 -78
- package/dist/systemjs/kendo-angular-dialog.js +0 -5
|
@@ -3,11 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Generated bundle index. Do not edit.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare class SharedModule {
|
|
13
|
-
}
|
|
8
|
+
/// <amd-module name="@progress/kendo-angular-dialog" />
|
|
9
|
+
export * from './main';
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
6
|
import { Messages } from './messages';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
/**
|
|
8
9
|
* Custom component messages override default component messages
|
|
9
10
|
* ([see example]({% slug globalization_dialogs %}#toc-localization)).
|
|
@@ -11,5 +12,7 @@ import { Messages } from './messages';
|
|
|
11
12
|
export declare class CustomMessagesComponent extends Messages {
|
|
12
13
|
protected service: LocalizationService;
|
|
13
14
|
constructor(service: LocalizationService);
|
|
14
|
-
protected
|
|
15
|
+
protected get override(): boolean;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomMessagesComponent, never>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CustomMessagesComponent, "kendo-dialog-messages, kendo-window-messages", never, {}, {}, never>;
|
|
15
18
|
}
|
|
File without changes
|
|
@@ -4,10 +4,13 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
6
|
import { Messages } from './messages';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
/**
|
|
8
9
|
* @hidden
|
|
9
10
|
*/
|
|
10
11
|
export declare class LocalizedMessagesDirective extends Messages {
|
|
11
12
|
protected service: LocalizationService;
|
|
12
13
|
constructor(service: LocalizationService);
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedMessagesDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedMessagesDirective, " [kendoDialogLocalizedMessages], [kendoWindowLocalizedMessages], [kendoDialogTitleBarLocalizedMessages] ", never, {}, {}, never>;
|
|
13
16
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
/**
|
|
7
8
|
* @hidden
|
|
8
9
|
*/
|
|
@@ -23,4 +24,6 @@ export declare class Messages extends ComponentMessages {
|
|
|
23
24
|
* The title of the minimize button.
|
|
24
25
|
*/
|
|
25
26
|
minimizeTitle: string;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
|
|
28
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, "kendo-dialog-messages-base", never, { "closeTitle": "closeTitle"; "restoreTitle": "restoreTitle"; "maximizeTitle": "maximizeTitle"; "minimizeTitle": "minimizeTitle"; }, {}, never>;
|
|
26
29
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { LocalizationService, MessageService } from "@progress/kendo-angular-l10n";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
/**
|
|
7
8
|
* @hidden
|
|
8
9
|
*/
|
|
@@ -10,4 +11,6 @@ export declare class TitleBarLocalizationService extends LocalizationService {
|
|
|
10
11
|
private dialogLocalization;
|
|
11
12
|
constructor(prefix: string, messageService: MessageService, rtl: boolean, dialogLocalization: LocalizationService);
|
|
12
13
|
get(shortKey: string): string;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TitleBarLocalizationService, [null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TitleBarLocalizationService>;
|
|
13
16
|
}
|
|
@@ -7,7 +7,7 @@ export { DialogTitleBarComponent } from './dialog/dialog-titlebar.component';
|
|
|
7
7
|
export { DialogContentBase } from './dialog/dialog-content-base';
|
|
8
8
|
export { DialogActionsComponent } from './dialog/dialog-actions.component';
|
|
9
9
|
export { DialogService } from './dialog/dialog.service';
|
|
10
|
-
export { DialogCloseResult, DialogRef, DialogSettings, DialogAction, DialogResult } from './dialog/
|
|
10
|
+
export { DialogCloseResult, DialogRef, DialogSettings, DialogAction, DialogResult } from './dialog/models/';
|
|
11
11
|
export { ActionsLayout } from './common/actions-layout';
|
|
12
12
|
export { WindowComponent } from './window/window.component';
|
|
13
13
|
export { WindowTitleBarComponent } from './window/window-titlebar.component';
|
|
@@ -15,8 +15,13 @@ export { WindowMaximizeActionDirective } from './window/actions/window-maximize-
|
|
|
15
15
|
export { WindowMinimizeActionDirective } from './window/actions/window-minimize-action.directive';
|
|
16
16
|
export { WindowCloseActionDirective } from './window/actions/window-close-action.directive';
|
|
17
17
|
export { WindowRestoreActionDirective } from './window/actions/window-restore-action.directive';
|
|
18
|
-
export { WindowState, WindowSettings, WindowDimensionSetting, WindowRef, WindowCloseResult } from './window/
|
|
18
|
+
export { WindowState, WindowSettings, WindowDimensionSetting, WindowRef, WindowCloseResult } from './window/models';
|
|
19
19
|
export { WindowService } from './window/window.service';
|
|
20
20
|
export { DialogModule } from './dialog.module';
|
|
21
21
|
export { WindowModule } from './window.module';
|
|
22
22
|
export { DialogsModule } from './dialogs.module';
|
|
23
|
+
export { DialogContainerDirective } from './dialog/dialog-container.directive';
|
|
24
|
+
export { Messages } from './localization/messages';
|
|
25
|
+
export { LocalizedMessagesDirective } from './localization/localized-messages.directive';
|
|
26
|
+
export { CustomMessagesComponent } from './localization/custom-messages.component';
|
|
27
|
+
export { WindowContainerDirective } from './window/window-container.directive';
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,35 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dialog",
|
|
3
|
+
"version": "7.0.0-next.202203171702",
|
|
3
4
|
"description": "Dialog Package for Angular",
|
|
4
|
-
"author": "Progress",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
"jsdelivr": "dist/cdn/main.js",
|
|
15
|
-
"unpkg": "dist/cdn/main.js",
|
|
16
|
-
"sideEffects": false,
|
|
17
|
-
"scripts": {
|
|
18
|
-
"test": "ci-angular-test",
|
|
19
|
-
"test:ci": "ci-angular-test",
|
|
20
|
-
"test:watch": "jest --watch --env=jsdom",
|
|
21
|
-
"e2e": "gulp e2e",
|
|
22
|
-
"e2e:ci": "ci-angular-e2e",
|
|
23
|
-
"start": "gulp start",
|
|
24
|
-
"lint": "gulp lint && gulp lint-docs",
|
|
25
|
-
"api-check": "gulp api-check",
|
|
26
|
-
"build-package": "gulp build-package",
|
|
27
|
-
"semantic-release": "semantic-release pre && semantic-prerelease publish && semantic-release post"
|
|
6
|
+
"author": "Progress",
|
|
7
|
+
"homepage": "https://www.telerik.com/kendo-angular-ui/components/",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/telerik/kendo-angular-dialog.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/telerik/kendo-angular"
|
|
28
14
|
},
|
|
29
15
|
"keywords": [
|
|
30
|
-
"Kendo UI",
|
|
31
|
-
"Angular",
|
|
32
16
|
"Progress",
|
|
17
|
+
"Angular",
|
|
33
18
|
"Dialog",
|
|
34
19
|
"Window",
|
|
35
20
|
"angularjs",
|
|
@@ -37,70 +22,22 @@
|
|
|
37
22
|
"confirmation",
|
|
38
23
|
"alert"
|
|
39
24
|
],
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"@angular/common": "8 - 13",
|
|
43
|
-
"@angular/core": "8 - 13",
|
|
44
|
-
"@progress/kendo-angular-buttons": "^7.0.0",
|
|
45
|
-
"@progress/kendo-angular-common": "^2.0.0",
|
|
46
|
-
"@progress/kendo-angular-l10n": "^3.0.0",
|
|
47
|
-
"@progress/kendo-licensing": "^1.0.2",
|
|
48
|
-
"rxjs": "^6.4.0 || ^7.0.0"
|
|
25
|
+
"@progress": {
|
|
26
|
+
"friendlyName": "Dialogs"
|
|
49
27
|
},
|
|
50
28
|
"dependencies": {
|
|
51
|
-
"@progress/kendo-popup-common": "^1.2.3",
|
|
52
29
|
"@progress/kendo-schematics": "^2.0.0",
|
|
53
|
-
"tslib": "^
|
|
30
|
+
"tslib": "^2.3.1"
|
|
54
31
|
},
|
|
55
|
-
"
|
|
56
|
-
"@angular
|
|
57
|
-
"@angular
|
|
58
|
-
"@angular/
|
|
59
|
-
"@angular
|
|
60
|
-
"@angular
|
|
61
|
-
"@
|
|
62
|
-
"@angular/core": "^8.2.0",
|
|
63
|
-
"@angular/forms": "^8.2.0",
|
|
64
|
-
"@angular/platform-browser": "^8.2.0",
|
|
65
|
-
"@angular/platform-browser-dynamic": "^8.2.0",
|
|
66
|
-
"@angular/platform-server": "^8.2.0",
|
|
67
|
-
"@angular/router": "^8.2.0",
|
|
68
|
-
"@progress/kendo-angular-buttons": "^7.0.2",
|
|
69
|
-
"@progress/kendo-angular-common": "^2.0.0",
|
|
70
|
-
"@progress/kendo-angular-e2e": "^3.3.0",
|
|
71
|
-
"@progress/kendo-angular-inputs": "^8.0.2",
|
|
72
|
-
"@progress/kendo-angular-intl": "^3.1.1",
|
|
73
|
-
"@progress/kendo-angular-jest-preset": "^2.0.0",
|
|
74
|
-
"@progress/kendo-angular-l10n": "^3.0.0",
|
|
75
|
-
"@progress/kendo-angular-label": "^3.0.3",
|
|
76
|
-
"@progress/kendo-angular-popup": "^4.0.0",
|
|
77
|
-
"@progress/kendo-angular-tasks": "^19.3.3",
|
|
78
|
-
"@progress/kendo-drawing": "^1.10.1",
|
|
32
|
+
"peerDependencies": {
|
|
33
|
+
"@angular/animations": "^12.0.0 || ^13.0.0",
|
|
34
|
+
"@angular/common": "^12.0.0 || ^13.0.0",
|
|
35
|
+
"@angular/core": "^12.0.0 || ^13.0.0",
|
|
36
|
+
"@progress/kendo-angular-buttons": "next",
|
|
37
|
+
"@progress/kendo-angular-common": "next",
|
|
38
|
+
"@progress/kendo-angular-l10n": "next",
|
|
79
39
|
"@progress/kendo-licensing": "^1.0.2",
|
|
80
|
-
"
|
|
81
|
-
"@progress/kendo-theme-bootstrap": "^5.0.0",
|
|
82
|
-
"@progress/kendo-theme-default": "^5.0.0",
|
|
83
|
-
"@progress/kendo-theme-material": "^5.0.0",
|
|
84
|
-
"@telerik/semantic-prerelease": "^1.1.5",
|
|
85
|
-
"@types/jest": "^24.9.0",
|
|
86
|
-
"@types/node": "ts3.4",
|
|
87
|
-
"@types/zone.js": "0.0.27",
|
|
88
|
-
"codelyzer": "^5.0.0",
|
|
89
|
-
"core-js": "^2.2.2",
|
|
90
|
-
"cz-conventional-changelog": "^1.1.5",
|
|
91
|
-
"ghooks": "^1.0.3",
|
|
92
|
-
"gulp": "^4.0.0",
|
|
93
|
-
"jest": "^24.9.0",
|
|
94
|
-
"jest-cli": "^24.9.0",
|
|
95
|
-
"jest-junit": "^12.2.0",
|
|
96
|
-
"jest-environment-jsdom": "^24.9.0",
|
|
97
|
-
"rxjs": "~6.4.0",
|
|
98
|
-
"rxjs-tslint-rules": "^4.23.1",
|
|
99
|
-
"semantic-release": "^6.3.6",
|
|
100
|
-
"tslint": "^5.20.1",
|
|
101
|
-
"typescript": "~3.4.5",
|
|
102
|
-
"validate-commit-msg": "^1.1.1",
|
|
103
|
-
"zone.js": "~0.9.1"
|
|
40
|
+
"rxjs": "^6.5.3 || ^7.0.0"
|
|
104
41
|
},
|
|
105
42
|
"config": {
|
|
106
43
|
"commitizen": {
|
|
@@ -125,27 +62,16 @@
|
|
|
125
62
|
"maxSubjectLength": 100
|
|
126
63
|
}
|
|
127
64
|
},
|
|
128
|
-
"
|
|
129
|
-
"preset": "@progress/kendo-angular-jest-preset"
|
|
130
|
-
},
|
|
131
|
-
"repository": {
|
|
132
|
-
"type": "git",
|
|
133
|
-
"url": "https://github.com/telerik/kendo-angular-dialog.git"
|
|
134
|
-
},
|
|
135
|
-
"bugs": {
|
|
136
|
-
"url": "https://github.com/telerik/kendo-angular"
|
|
137
|
-
},
|
|
138
|
-
"@progress": {
|
|
139
|
-
"friendlyName": "Dialogs"
|
|
140
|
-
},
|
|
141
|
-
"homepage": "https://www.telerik.com/kendo-angular-ui/dialog",
|
|
65
|
+
"schematics": "./schematics/collection.json",
|
|
142
66
|
"release": {
|
|
143
67
|
"debug": false,
|
|
144
68
|
"branchTags": {
|
|
145
|
-
"develop": "dev"
|
|
69
|
+
"develop": "dev",
|
|
70
|
+
"ng12-update": "next"
|
|
146
71
|
},
|
|
147
72
|
"fallbackTags": {
|
|
148
|
-
"dev": "latest"
|
|
73
|
+
"dev": "latest",
|
|
74
|
+
"next": "latest"
|
|
149
75
|
},
|
|
150
76
|
"analyzeCommits": "@telerik/semantic-prerelease/analyzeCommits",
|
|
151
77
|
"generateNotes": "@progress/kendo-angular-tasks/lib/generateNotes",
|
|
@@ -153,9 +79,11 @@
|
|
|
153
79
|
"verifyConditions": "@telerik/semantic-prerelease/verifyConditions",
|
|
154
80
|
"verifyRelease": "@telerik/semantic-prerelease/verifyRelease"
|
|
155
81
|
},
|
|
156
|
-
"
|
|
157
|
-
"
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
82
|
+
"main": "bundles/kendo-angular-dialog.umd.js",
|
|
83
|
+
"module": "fesm2015/kendo-angular-dialog.js",
|
|
84
|
+
"es2015": "fesm2015/kendo-angular-dialog.js",
|
|
85
|
+
"esm2015": "esm2015/kendo-angular-dialog.js",
|
|
86
|
+
"fesm2015": "fesm2015/kendo-angular-dialog.js",
|
|
87
|
+
"typings": "kendo-angular-dialog.d.ts",
|
|
88
|
+
"sideEffects": false
|
|
161
89
|
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
1
5
|
"use strict";
|
|
2
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
7
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
4
8
|
function default_1(options) {
|
|
5
|
-
const finalOptions = Object.assign({}, options, { mainNgModule: 'DialogsModule', package: 'dialog', peerDependencies: {
|
|
9
|
+
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'DialogsModule', package: 'dialog', peerDependencies: {
|
|
6
10
|
// Peer dependency of buttons
|
|
7
11
|
"@progress/kendo-angular-popup": "^4.0.0"
|
|
8
12
|
} });
|
|
9
13
|
return schematics_1.externalSchematic('@progress/kendo-schematics', 'ng-add', finalOptions);
|
|
10
14
|
}
|
|
11
15
|
exports.default = default_1;
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../tooling/schematics/ngAdd/index.ts"],"names":[],"mappings":";;AAAA,2DAKqC;AAErC,mBAAyB,OAAY;IACjC,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../tooling/schematics/ngAdd/index.ts"],"names":[],"mappings":";;AAAA,2DAKqC;AAErC,mBAAyB,OAAY;IACjC,MAAM,YAAY,mCACX,OAAO,KACV,YAAY,EAAE,eAAe,EAC7B,OAAO,EAAE,QAAQ,EACjB,gBAAgB,EAAE;YACd,6BAA6B;YAC7B,+BAA+B,EAAE,QAAQ;SAC5C,GACJ,CAAC;IAEF,OAAO,8BAAiB,CAAC,4BAA4B,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;AACnF,CAAC;AAZD,4BAYC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "./dialog/dialog-actions.component";
|
|
7
|
+
import * as i2 from "./localization/custom-messages.component";
|
|
8
|
+
import * as i3 from "./localization/localized-messages.directive";
|
|
9
|
+
import * as i4 from "@angular/common";
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export declare const SHARED_DIRECTIVES: any[];
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
export declare class SharedModule {
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.DialogActionsComponent, typeof i2.CustomMessagesComponent, typeof i3.LocalizedMessagesDirective], [typeof i4.CommonModule], [typeof i1.DialogActionsComponent, typeof i2.CustomMessagesComponent, typeof i3.LocalizedMessagesDirective, typeof i4.CommonModule]>;
|
|
20
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
|
|
21
|
+
}
|
|
@@ -6,6 +6,7 @@ import { ElementRef, NgZone, Renderer2 } from "@angular/core";
|
|
|
6
6
|
import { DragResizeService } from '../drag-resize.service';
|
|
7
7
|
import { Button } from '@progress/kendo-angular-buttons';
|
|
8
8
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class WindowCloseActionDirective extends Button {
|
|
10
11
|
/**
|
|
11
12
|
* @hidden
|
|
@@ -17,4 +18,6 @@ export declare class WindowCloseActionDirective extends Button {
|
|
|
17
18
|
* @hidden
|
|
18
19
|
*/
|
|
19
20
|
onClick(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WindowCloseActionDirective, [null, null, { optional: true; }, null, null]>;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<WindowCloseActionDirective, "button[kendoWindowCloseAction]", ["kendoWindowCloseAction"], { "window": "window"; }, {}, never>;
|
|
20
23
|
}
|
|
@@ -6,6 +6,7 @@ import { ElementRef, NgZone, Renderer2 } from "@angular/core";
|
|
|
6
6
|
import { DragResizeService } from './../drag-resize.service';
|
|
7
7
|
import { Button } from '@progress/kendo-angular-buttons';
|
|
8
8
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class WindowMaximizeActionDirective extends Button {
|
|
10
11
|
/**
|
|
11
12
|
* @hidden
|
|
@@ -17,5 +18,7 @@ export declare class WindowMaximizeActionDirective extends Button {
|
|
|
17
18
|
* @hidden
|
|
18
19
|
*/
|
|
19
20
|
onClick(): void;
|
|
20
|
-
|
|
21
|
+
get visible(): string;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WindowMaximizeActionDirective, [null, null, { optional: true; }, null, null]>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<WindowMaximizeActionDirective, "button[kendoWindowMaximizeAction]", ["kendoWindowMaximizeAction"], { "window": "window"; }, {}, never>;
|
|
21
24
|
}
|
|
@@ -6,6 +6,7 @@ import { ElementRef, NgZone, Renderer2 } from "@angular/core";
|
|
|
6
6
|
import { DragResizeService } from './../drag-resize.service';
|
|
7
7
|
import { Button } from '@progress/kendo-angular-buttons';
|
|
8
8
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class WindowMinimizeActionDirective extends Button {
|
|
10
11
|
/**
|
|
11
12
|
* @hidden
|
|
@@ -17,5 +18,7 @@ export declare class WindowMinimizeActionDirective extends Button {
|
|
|
17
18
|
* @hidden
|
|
18
19
|
*/
|
|
19
20
|
onClick(): void;
|
|
20
|
-
|
|
21
|
+
get visible(): string;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WindowMinimizeActionDirective, [null, null, { optional: true; }, null, null]>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<WindowMinimizeActionDirective, "button[kendoWindowMinimizeAction]", ["kendoWindowMinimizeAction"], { "window": "window"; }, {}, never>;
|
|
21
24
|
}
|
|
@@ -6,6 +6,7 @@ import { ElementRef, NgZone, Renderer2 } from "@angular/core";
|
|
|
6
6
|
import { DragResizeService } from './../drag-resize.service';
|
|
7
7
|
import { Button } from '@progress/kendo-angular-buttons';
|
|
8
8
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class WindowRestoreActionDirective extends Button {
|
|
10
11
|
/**
|
|
11
12
|
* @hidden
|
|
@@ -17,5 +18,7 @@ export declare class WindowRestoreActionDirective extends Button {
|
|
|
17
18
|
* @hidden
|
|
18
19
|
*/
|
|
19
20
|
onClick(): void;
|
|
20
|
-
|
|
21
|
+
get visible(): string;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WindowRestoreActionDirective, [null, null, { optional: true; }, null, null]>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<WindowRestoreActionDirective, "button[kendoWindowRestoreAction]", ["kendoWindowRestoreAction"], { "window": "window"; }, {}, never>;
|
|
21
24
|
}
|
|
@@ -5,8 +5,10 @@
|
|
|
5
5
|
import { NgZone, EventEmitter, ElementRef, OnDestroy } from "@angular/core";
|
|
6
6
|
import { DraggableDirective } from '@progress/kendo-angular-common';
|
|
7
7
|
import { Subscription } from 'rxjs';
|
|
8
|
-
import { WindowOptions, WindowState } from './window-settings';
|
|
9
8
|
import { ChangeEvent } from './window-events';
|
|
9
|
+
import { WindowOptions } from "./models/window-options";
|
|
10
|
+
import { WindowState } from "./models/window-types";
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
10
12
|
/**
|
|
11
13
|
* @hidden
|
|
12
14
|
*/
|
|
@@ -59,7 +61,9 @@ export declare class DragResizeService implements OnDestroy {
|
|
|
59
61
|
currentPosition(): any;
|
|
60
62
|
setPosition(): void;
|
|
61
63
|
setRestoreOption(style: string, value: number): void;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
64
|
+
get nextPossibleZIndex(): number;
|
|
65
|
+
get nextZIndex(): number;
|
|
66
|
+
get windowViewPort(): any;
|
|
67
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DragResizeService, never>;
|
|
68
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DragResizeService>;
|
|
65
69
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export * from './window-close-result';
|
|
6
|
+
export * from './window-messages';
|
|
7
|
+
export * from './window-options';
|
|
8
|
+
export * from './window-ref';
|
|
9
|
+
export * from './window-settings';
|
|
10
|
+
export * from './window-types';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* Indicates that the **Close** button of a Window that is opened through `WindowService` is clicked.
|
|
7
|
+
*/
|
|
8
|
+
export declare class WindowCloseResult {
|
|
9
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* Defines the text of the labels that are shown within the Window.
|
|
7
|
+
* Used primarily for localization.
|
|
8
|
+
*/
|
|
9
|
+
export interface WindowMessages {
|
|
10
|
+
/**
|
|
11
|
+
* Specifies the title of the close button.
|
|
12
|
+
*/
|
|
13
|
+
closeTitle?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Specifies the title of the restore button.
|
|
16
|
+
*/
|
|
17
|
+
restoreTitle?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Specifies the title of the maximize button.
|
|
20
|
+
*/
|
|
21
|
+
maximizeTitle?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Specifies the title of the minimize button.
|
|
24
|
+
*/
|
|
25
|
+
minimizeTitle?: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { WindowPosition, WindowState } from "./window-types";
|
|
6
|
+
/**
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
9
|
+
export interface WindowOptions {
|
|
10
|
+
width?: number;
|
|
11
|
+
height?: number;
|
|
12
|
+
minWidth: number;
|
|
13
|
+
minHeight: number;
|
|
14
|
+
top?: number;
|
|
15
|
+
left?: number;
|
|
16
|
+
position: WindowPosition;
|
|
17
|
+
state: WindowState;
|
|
18
|
+
draggable: boolean;
|
|
19
|
+
resizable: boolean;
|
|
20
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ComponentRef } from "@angular/core";
|
|
6
|
+
import { Observable } from "rxjs";
|
|
7
|
+
import { WindowComponent } from "../window.component";
|
|
8
|
+
import { WindowCloseResult } from "./window-close-result";
|
|
9
|
+
/**
|
|
10
|
+
* Holds references to the object instance of the Window.
|
|
11
|
+
* Controls the Windows that were opened through `WindowService`
|
|
12
|
+
* ([see example]({% slug api_dialog_windowservice %}#toc-open)).
|
|
13
|
+
*/
|
|
14
|
+
export declare class WindowRef {
|
|
15
|
+
/**
|
|
16
|
+
* A reference to the Window instance.
|
|
17
|
+
*/
|
|
18
|
+
window: ComponentRef<WindowComponent>;
|
|
19
|
+
/**
|
|
20
|
+
* A reference to the child component of the Window.
|
|
21
|
+
* Available when the Window is opened with
|
|
22
|
+
* [component content]({% slug service_window %}#toc-using-components).
|
|
23
|
+
*/
|
|
24
|
+
content: ComponentRef<any>;
|
|
25
|
+
/**
|
|
26
|
+
* Allows you to close the Window by using code.
|
|
27
|
+
* When called with no arguments,
|
|
28
|
+
* the `result` Observable will be of type WindowCloseResult.
|
|
29
|
+
* When called with an argument, the `result` Observable will hold the provided value.
|
|
30
|
+
*/
|
|
31
|
+
close: Function;
|
|
32
|
+
/**
|
|
33
|
+
* Emits events when the Window is closed through the **Esc** key, the **Close** button of the title bar or
|
|
34
|
+
* by calling the `close` method.
|
|
35
|
+
* When the Window is closed with the title bar button, **Esc** or by calling `close` with no arguments,
|
|
36
|
+
* the result is of type [WindowCloseResult]({% slug api_dialog_windowcloseresult %}).
|
|
37
|
+
* When `close` is called with an argument, the result is the passed argument.
|
|
38
|
+
*/
|
|
39
|
+
result: Observable<WindowCloseResult>;
|
|
40
|
+
}
|
|
@@ -2,53 +2,10 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export interface WindowOptions {
|
|
12
|
-
width?: number;
|
|
13
|
-
height?: number;
|
|
14
|
-
minWidth: number;
|
|
15
|
-
minHeight: number;
|
|
16
|
-
top?: number;
|
|
17
|
-
left?: number;
|
|
18
|
-
position: WindowPosition;
|
|
19
|
-
state: WindowState;
|
|
20
|
-
draggable: boolean;
|
|
21
|
-
resizable: boolean;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Defines the text of the labels that are shown within the Window.
|
|
25
|
-
* Used primarily for localization.
|
|
26
|
-
*/
|
|
27
|
-
export interface WindowMessages {
|
|
28
|
-
/**
|
|
29
|
-
* Specifies the title of the close button.
|
|
30
|
-
*/
|
|
31
|
-
closeTitle?: string;
|
|
32
|
-
/**
|
|
33
|
-
* Specifies the title of the restore button.
|
|
34
|
-
*/
|
|
35
|
-
restoreTitle?: string;
|
|
36
|
-
/**
|
|
37
|
-
* Specifies the title of the maximize button.
|
|
38
|
-
*/
|
|
39
|
-
maximizeTitle?: string;
|
|
40
|
-
/**
|
|
41
|
-
* Specifies the title of the minimize button.
|
|
42
|
-
*/
|
|
43
|
-
minimizeTitle?: string;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* @hidden
|
|
47
|
-
*/
|
|
48
|
-
export declare type WindowPosition = 'absolute' | 'fixed';
|
|
49
|
-
export declare type WindowState = 'minimized' | 'maximized' | 'default';
|
|
50
|
-
export declare type WindowDimensionSetting = 'width' | 'height';
|
|
51
|
-
export declare type WindowOffsetSetting = 'top' | 'left';
|
|
5
|
+
import { TemplateRef, ViewContainerRef } from '@angular/core';
|
|
6
|
+
import { WindowMessages } from './window-messages';
|
|
7
|
+
import { WindowRef } from './window-ref';
|
|
8
|
+
import { WindowState } from './window-types';
|
|
52
9
|
/**
|
|
53
10
|
* The settings for the Window actions when the Window is opened through `WindowService`
|
|
54
11
|
* ([see example]({% slug api_dialog_windowservice %}#toc-open)).
|
|
@@ -144,40 +101,3 @@ export declare class WindowSettings {
|
|
|
144
101
|
*/
|
|
145
102
|
autoFocusedElement?: string;
|
|
146
103
|
}
|
|
147
|
-
/**
|
|
148
|
-
* Indicates that the **Close** button of a Window that is opened through `WindowService` is clicked.
|
|
149
|
-
*/
|
|
150
|
-
export declare class WindowCloseResult {
|
|
151
|
-
}
|
|
152
|
-
/**
|
|
153
|
-
* Holds references to the object instance of the Window.
|
|
154
|
-
* Controls the Windows that were opened through `WindowService`
|
|
155
|
-
* ([see example]({% slug api_dialog_windowservice %}#toc-open)).
|
|
156
|
-
*/
|
|
157
|
-
export declare class WindowRef {
|
|
158
|
-
/**
|
|
159
|
-
* A reference to the Window instance.
|
|
160
|
-
*/
|
|
161
|
-
window: ComponentRef<WindowComponent>;
|
|
162
|
-
/**
|
|
163
|
-
* A reference to the child component of the Window.
|
|
164
|
-
* Available when the Window is opened with
|
|
165
|
-
* [component content]({% slug service_window %}#toc-using-components).
|
|
166
|
-
*/
|
|
167
|
-
content: ComponentRef<any>;
|
|
168
|
-
/**
|
|
169
|
-
* Allows you to close the Window by using code.
|
|
170
|
-
* When called with no arguments,
|
|
171
|
-
* the `result` Observable will be of type WindowCloseResult.
|
|
172
|
-
* When called with an argument, the `result` Observable will hold the provided value.
|
|
173
|
-
*/
|
|
174
|
-
close: Function;
|
|
175
|
-
/**
|
|
176
|
-
* Emits events when the Window is closed through the **Esc** key, the **Close** button of the title bar or
|
|
177
|
-
* by calling the `close` method.
|
|
178
|
-
* When the Window is closed with the title bar button, **Esc** or by calling `close` with no arguments,
|
|
179
|
-
* the result is of type [WindowCloseResult]({% slug api_dialog_windowcloseresult %}).
|
|
180
|
-
* When `close` is called with an argument, the result is the passed argument.
|
|
181
|
-
*/
|
|
182
|
-
result: Observable<WindowCloseResult>;
|
|
183
|
-
}
|