@progress/kendo-angular-dialog 16.5.0 → 16.6.0-develop.1
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/dialog/dialog-actions.component.d.ts +1 -1
- package/dialog/dialog-container.directive.d.ts +1 -1
- package/dialog/dialog-content-base.d.ts +1 -1
- package/dialog/dialog-titlebar.component.d.ts +1 -1
- package/dialog/dialog.component.d.ts +1 -1
- package/dialog/models/dialog-ref.d.ts +1 -1
- package/dialog/models/dialog-settings.d.ts +2 -2
- package/dialog.module.d.ts +3 -6
- package/dialogs.module.d.ts +13 -3
- package/directives.d.ts +28 -0
- package/esm2020/dialog/dialog-actions.component.mjs +6 -4
- package/esm2020/dialog/dialog-container.directive.mjs +3 -2
- package/esm2020/dialog/dialog-container.service.mjs +5 -2
- package/esm2020/dialog/dialog-content-base.mjs +1 -1
- package/esm2020/dialog/dialog-titlebar.component.mjs +7 -5
- package/esm2020/dialog/dialog.component.mjs +8 -9
- package/esm2020/dialog/dialog.service.mjs +5 -2
- package/esm2020/dialog.module.mjs +13 -14
- package/esm2020/dialogs.module.mjs +24 -5
- package/esm2020/directives.mjs +47 -0
- package/esm2020/index.mjs +2 -0
- package/esm2020/localization/custom-messages.component.mjs +4 -3
- package/esm2020/localization/localized-messages.directive.mjs +3 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/window/actions/window-close-action.directive.mjs +8 -6
- package/esm2020/window/actions/window-maximize-action.directive.mjs +8 -6
- package/esm2020/window/actions/window-minimize-action.directive.mjs +8 -6
- package/esm2020/window/actions/window-restore-action.directive.mjs +8 -6
- package/esm2020/window/window-container.directive.mjs +3 -2
- package/esm2020/window/window-container.service.mjs +5 -2
- package/esm2020/window/window-resize-handle.directive.mjs +3 -2
- package/esm2020/window/window-titlebar.component.mjs +6 -4
- package/esm2020/window/window.component.mjs +12 -12
- package/esm2020/window/window.service.mjs +5 -2
- package/esm2020/window.module.mjs +17 -45
- package/fesm2015/progress-kendo-angular-dialog.mjs +191 -183
- package/fesm2020/progress-kendo-angular-dialog.mjs +191 -183
- package/index.d.ts +2 -0
- package/localization/custom-messages.component.d.ts +2 -2
- package/localization/localized-messages.directive.d.ts +1 -1
- package/package.json +6 -6
- package/schematics/ngAdd/index.js +1 -1
- package/window/actions/window-close-action.directive.d.ts +2 -2
- package/window/actions/window-maximize-action.directive.d.ts +2 -2
- package/window/actions/window-minimize-action.directive.d.ts +2 -2
- package/window/actions/window-restore-action.directive.d.ts +2 -2
- package/window/models/window-ref.d.ts +1 -1
- package/window/window-container.directive.d.ts +1 -1
- package/window/window-resize-handle.directive.d.ts +1 -1
- package/window/window-titlebar.component.d.ts +1 -1
- package/window/window.component.d.ts +1 -1
- package/window.module.d.ts +10 -14
- package/esm2020/shared.module.mjs +0 -40
- package/shared.module.d.ts +0 -23
|
@@ -4,23 +4,20 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
6
|
import { EventEmitter, TemplateRef, Component, Input, Output, HostBinding, InjectionToken, Injectable, Inject, Optional, Directive, forwardRef, ContentChildren, ViewChildren, ViewChild, isDevMode, Renderer2, Host, HostListener, ContentChild, NgModule } from '@angular/core';
|
|
7
|
+
import { NgIf, NgFor, NgClass, NgTemplateOutlet, NgStyle } from '@angular/common';
|
|
7
8
|
import * as i2 from '@angular/animations';
|
|
8
9
|
import { style, animate, keyframes, trigger, state, transition } from '@angular/animations';
|
|
9
10
|
import { of, Subscription, Subject, merge } from 'rxjs';
|
|
10
11
|
import { delay, takeUntil, take, filter, map, share, tap, switchMap } from 'rxjs/operators';
|
|
11
|
-
import * as i3 from '@angular/common';
|
|
12
|
-
import { CommonModule } from '@angular/common';
|
|
13
12
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
14
13
|
import { LocalizationService, L10N_PREFIX, RTL, ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
15
|
-
import { xIcon,
|
|
16
|
-
import
|
|
17
|
-
import { Button, ButtonModule } from '@progress/kendo-angular-buttons';
|
|
14
|
+
import { xIcon, windowRestoreIcon, windowIcon, windowMinimizeIcon } from '@progress/kendo-svg-icons';
|
|
15
|
+
import { ButtonComponent, Button } from '@progress/kendo-angular-buttons';
|
|
18
16
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
19
|
-
import * as
|
|
20
|
-
import { shouldShowValidationUI, setHTMLAttributes, isDocumentAvailable, focusableSelector, DraggableDirective, isChanged
|
|
17
|
+
import * as i1$1 from '@progress/kendo-angular-common';
|
|
18
|
+
import { shouldShowValidationUI, setHTMLAttributes, isDocumentAvailable, focusableSelector, WatermarkOverlayComponent, DraggableDirective, isChanged } from '@progress/kendo-angular-common';
|
|
21
19
|
import { offset, scrollPosition, positionWithScroll, getDocumentElement, getWindowViewPort } from '@progress/kendo-popup-common';
|
|
22
|
-
import
|
|
23
|
-
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
20
|
+
import { IconWrapperComponent, IconsService } from '@progress/kendo-angular-icons';
|
|
24
21
|
|
|
25
22
|
/**
|
|
26
23
|
* @hidden
|
|
@@ -268,7 +265,7 @@ class DialogActionsComponent {
|
|
|
268
265
|
}
|
|
269
266
|
}
|
|
270
267
|
DialogActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogActionsComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
271
|
-
DialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: { actions: "actions", layout: "layout" }, outputs: { action: "action" }, host: { properties: { "class.k-actions": "this.hostClasses", "class.k-actions-horizontal": "this.hostClasses", "class.k-window-actions": "this.hostClasses", "class.k-dialog-actions": "this.hostClasses", "class.k-actions-start": "this.startClassName", "class.k-actions-center": "this.centerClassName", "class.k-actions-end": "this.endClassName", "class.k-actions-stretched": "this.stretchedClassName" } }, ngImport: i0, template: `
|
|
268
|
+
DialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DialogActionsComponent, isStandalone: true, selector: "kendo-dialog-actions", inputs: { actions: "actions", layout: "layout" }, outputs: { action: "action" }, host: { properties: { "class.k-actions": "this.hostClasses", "class.k-actions-horizontal": "this.hostClasses", "class.k-window-actions": "this.hostClasses", "class.k-dialog-actions": "this.hostClasses", "class.k-actions-start": "this.startClassName", "class.k-actions-center": "this.centerClassName", "class.k-actions-end": "this.endClassName", "class.k-actions-stretched": "this.stretchedClassName" } }, ngImport: i0, template: `
|
|
272
269
|
<ng-content *ngIf="!actions"></ng-content>
|
|
273
270
|
<ng-container *ngIf="actionsArray; else actionTemplate">
|
|
274
271
|
<ng-container *ngFor="let action of actionsArray">
|
|
@@ -288,7 +285,7 @@ DialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
288
285
|
</ng-container>
|
|
289
286
|
</ng-container>
|
|
290
287
|
<ng-template #actionTemplate [ngTemplateOutlet]="actionsTemplate"></ng-template>
|
|
291
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
288
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
292
289
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogActionsComponent, decorators: [{
|
|
293
290
|
type: Component,
|
|
294
291
|
args: [{
|
|
@@ -313,7 +310,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
313
310
|
</ng-container>
|
|
314
311
|
</ng-container>
|
|
315
312
|
<ng-template #actionTemplate [ngTemplateOutlet]="actionsTemplate"></ng-template>
|
|
316
|
-
|
|
313
|
+
`,
|
|
314
|
+
standalone: true,
|
|
315
|
+
imports: [NgIf, NgFor, NgClass, NgTemplateOutlet]
|
|
317
316
|
}]
|
|
318
317
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { actions: [{
|
|
319
318
|
type: Input
|
|
@@ -447,7 +446,7 @@ class LocalizedMessagesDirective extends Messages {
|
|
|
447
446
|
}
|
|
448
447
|
}
|
|
449
448
|
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
450
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n ", providers: [
|
|
449
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n ", providers: [
|
|
451
450
|
{
|
|
452
451
|
provide: Messages,
|
|
453
452
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
@@ -466,7 +465,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
466
465
|
[kendoDialogLocalizedMessages],
|
|
467
466
|
[kendoWindowLocalizedMessages],
|
|
468
467
|
[kendoDialogTitleBarLocalizedMessages]
|
|
469
|
-
|
|
468
|
+
`,
|
|
469
|
+
standalone: true
|
|
470
470
|
}]
|
|
471
471
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
472
472
|
|
|
@@ -511,7 +511,7 @@ class DialogTitleBarComponent {
|
|
|
511
511
|
}
|
|
512
512
|
}
|
|
513
513
|
DialogTitleBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogTitleBarComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i1.LocalizationService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
514
|
-
DialogTitleBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: { id: "id", closeTitle: "closeTitle" }, outputs: { close: "close" }, host: { properties: { "class.k-window-titlebar": "this.className", "class.k-dialog-titlebar": "this.className" } }, providers: [
|
|
514
|
+
DialogTitleBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DialogTitleBarComponent, isStandalone: true, selector: "kendo-dialog-titlebar", inputs: { id: "id", closeTitle: "closeTitle" }, outputs: { close: "close" }, host: { properties: { "class.k-window-titlebar": "this.className", "class.k-dialog-titlebar": "this.className" } }, providers: [
|
|
515
515
|
TitleBarLocalizationService,
|
|
516
516
|
{
|
|
517
517
|
provide: LocalizationService,
|
|
@@ -546,7 +546,7 @@ DialogTitleBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
546
546
|
</button>
|
|
547
547
|
</div>
|
|
548
548
|
</ng-container>
|
|
549
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }, { kind: "component", type:
|
|
549
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
550
550
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogTitleBarComponent, decorators: [{
|
|
551
551
|
type: Component,
|
|
552
552
|
args: [{
|
|
@@ -587,7 +587,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
587
587
|
</button>
|
|
588
588
|
</div>
|
|
589
589
|
</ng-container>
|
|
590
|
-
|
|
590
|
+
`,
|
|
591
|
+
standalone: true,
|
|
592
|
+
imports: [LocalizedMessagesDirective, ButtonComponent]
|
|
591
593
|
}]
|
|
592
594
|
}], ctorParameters: function () {
|
|
593
595
|
return [{ type: i0.NgZone }, { type: i0.ElementRef }, { type: i1.LocalizationService, decorators: [{
|
|
@@ -614,8 +616,8 @@ const packageMetadata = {
|
|
|
614
616
|
name: '@progress/kendo-angular-dialog',
|
|
615
617
|
productName: 'Kendo UI for Angular',
|
|
616
618
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
617
|
-
publishDate:
|
|
618
|
-
version: '16.
|
|
619
|
+
publishDate: 1721827582,
|
|
620
|
+
version: '16.6.0-develop.1',
|
|
619
621
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
620
622
|
};
|
|
621
623
|
|
|
@@ -1083,7 +1085,7 @@ class DialogComponent {
|
|
|
1083
1085
|
}
|
|
1084
1086
|
}
|
|
1085
1087
|
DialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i2.AnimationBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
1086
|
-
DialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DialogComponent, selector: "kendo-dialog", inputs: { actions: "actions", actionsLayout: "actionsLayout", autoFocusedElement: "autoFocusedElement", title: "title", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", height: "height", minHeight: "minHeight", maxHeight: "maxHeight", animation: "animation", themeColor: "themeColor" }, outputs: { action: "action", close: "close" }, host: { properties: { "attr.dir": "this.dir", "attr.tabIndex": "this.tabIndex", "class.k-dialog-wrapper": "this.wrapperClass" } }, providers: [
|
|
1088
|
+
DialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DialogComponent, isStandalone: true, selector: "kendo-dialog", inputs: { actions: "actions", actionsLayout: "actionsLayout", autoFocusedElement: "autoFocusedElement", title: "title", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", height: "height", minHeight: "minHeight", maxHeight: "maxHeight", animation: "animation", themeColor: "themeColor" }, outputs: { action: "action", close: "close" }, host: { properties: { "attr.dir": "this.dir", "attr.tabIndex": "this.tabIndex", "class.k-dialog-wrapper": "this.wrapperClass" } }, providers: [
|
|
1087
1089
|
LocalizationService,
|
|
1088
1090
|
{
|
|
1089
1091
|
provide: DIALOG_LOCALIZATION_SERVICE,
|
|
@@ -1116,7 +1118,7 @@ DialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
|
|
|
1116
1118
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
1117
1119
|
</div>
|
|
1118
1120
|
</ng-container>
|
|
1119
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
1121
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }], animations: [
|
|
1120
1122
|
trigger('overlayAppear', [
|
|
1121
1123
|
state('in', style({ opacity: 1 })),
|
|
1122
1124
|
transition('void => *', [style({ opacity: 0.1 }), animate('.3s cubic-bezier(.2, .6, .4, 1)')])
|
|
@@ -1167,7 +1169,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1167
1169
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
1168
1170
|
</div>
|
|
1169
1171
|
</ng-container>
|
|
1170
|
-
|
|
1172
|
+
`,
|
|
1173
|
+
standalone: true,
|
|
1174
|
+
imports: [LocalizedMessagesDirective, NgStyle, NgIf, DialogTitleBarComponent, NgTemplateOutlet, DialogActionsComponent, WatermarkOverlayComponent]
|
|
1171
1175
|
}]
|
|
1172
1176
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i2.AnimationBuilder }]; }, propDecorators: { actions: [{
|
|
1173
1177
|
type: Input
|
|
@@ -1230,7 +1234,7 @@ class DialogRef {
|
|
|
1230
1234
|
|
|
1231
1235
|
/**
|
|
1232
1236
|
* The base class which will be extended by a component that is provided as content through `content`
|
|
1233
|
-
* ([see example](
|
|
1237
|
+
* ([see example](slug:service_dialog#toc-single-component-rendering)).
|
|
1234
1238
|
*/
|
|
1235
1239
|
class DialogContentBase {
|
|
1236
1240
|
constructor(dialog) {
|
|
@@ -1278,9 +1282,12 @@ class DialogContainerService {
|
|
|
1278
1282
|
}
|
|
1279
1283
|
DialogContainerService.container = null;
|
|
1280
1284
|
DialogContainerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogContainerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1281
|
-
DialogContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogContainerService });
|
|
1285
|
+
DialogContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogContainerService, providedIn: 'root' });
|
|
1282
1286
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogContainerService, decorators: [{
|
|
1283
|
-
type: Injectable
|
|
1287
|
+
type: Injectable,
|
|
1288
|
+
args: [{
|
|
1289
|
+
providedIn: 'root'
|
|
1290
|
+
}]
|
|
1284
1291
|
}] });
|
|
1285
1292
|
|
|
1286
1293
|
/**
|
|
@@ -1499,9 +1506,12 @@ See https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/service/.
|
|
|
1499
1506
|
}
|
|
1500
1507
|
}
|
|
1501
1508
|
DialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogService, deps: [{ token: i0.ComponentFactoryResolver }, { token: DialogContainerService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1502
|
-
DialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogService });
|
|
1509
|
+
DialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogService, providedIn: 'root' });
|
|
1503
1510
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogService, decorators: [{
|
|
1504
|
-
type: Injectable
|
|
1511
|
+
type: Injectable,
|
|
1512
|
+
args: [{
|
|
1513
|
+
providedIn: 'root'
|
|
1514
|
+
}]
|
|
1505
1515
|
}], ctorParameters: function () {
|
|
1506
1516
|
return [{ type: i0.ComponentFactoryResolver }, { type: DialogContainerService, decorators: [{
|
|
1507
1517
|
type: Inject,
|
|
@@ -1869,15 +1879,16 @@ class ResizeHandleDirective {
|
|
|
1869
1879
|
this.renderer.setStyle(this.el.nativeElement, 'display', this.service.options.state === 'default' ? value : 'none');
|
|
1870
1880
|
}
|
|
1871
1881
|
}
|
|
1872
|
-
ResizeHandleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeHandleDirective, deps: [{ token:
|
|
1873
|
-
ResizeHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ResizeHandleDirective, selector: "[kendoWindowResizeHandle]", inputs: { direction: "direction" }, host: { properties: { "class.k-resize-handle": "this.hostClass" } }, ngImport: i0 });
|
|
1882
|
+
ResizeHandleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeHandleDirective, deps: [{ token: i1$1.DraggableDirective, host: true }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DragResizeService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1883
|
+
ResizeHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ResizeHandleDirective, isStandalone: true, selector: "[kendoWindowResizeHandle]", inputs: { direction: "direction" }, host: { properties: { "class.k-resize-handle": "this.hostClass" } }, ngImport: i0 });
|
|
1874
1884
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeHandleDirective, decorators: [{
|
|
1875
1885
|
type: Directive,
|
|
1876
1886
|
args: [{
|
|
1877
|
-
selector: '[kendoWindowResizeHandle]'
|
|
1887
|
+
selector: '[kendoWindowResizeHandle]',
|
|
1888
|
+
standalone: true
|
|
1878
1889
|
}]
|
|
1879
1890
|
}], ctorParameters: function () {
|
|
1880
|
-
return [{ type:
|
|
1891
|
+
return [{ type: i1$1.DraggableDirective, decorators: [{
|
|
1881
1892
|
type: Host
|
|
1882
1893
|
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DragResizeService }];
|
|
1883
1894
|
}, propDecorators: { direction: [{
|
|
@@ -1984,13 +1995,13 @@ class WindowTitleBarComponent {
|
|
|
1984
1995
|
}
|
|
1985
1996
|
}
|
|
1986
1997
|
WindowTitleBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowTitleBarComponent, deps: [{ token: i0.ElementRef }, { token: DragResizeService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1987
|
-
WindowTitleBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WindowTitleBarComponent, selector: "kendo-window-titlebar", inputs: { template: "template", id: "id" }, host: { listeners: { "dblclick": "handle($event)" }, properties: { "class.k-window-titlebar": "this.className", "style.touch-action": "this.touchAction" } }, ngImport: i0, template: `
|
|
1998
|
+
WindowTitleBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WindowTitleBarComponent, isStandalone: true, selector: "kendo-window-titlebar", inputs: { template: "template", id: "id" }, host: { listeners: { "dblclick": "handle($event)" }, properties: { "class.k-window-titlebar": "this.className", "style.touch-action": "this.touchAction" } }, ngImport: i0, template: `
|
|
1988
1999
|
<ng-content *ngIf="!template"></ng-content>
|
|
1989
2000
|
<ng-template
|
|
1990
2001
|
[ngTemplateOutlet]="template"
|
|
1991
2002
|
[ngTemplateOutletContext]="{'$implicit': service}" *ngIf="template">
|
|
1992
2003
|
</ng-template>
|
|
1993
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
2004
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
1994
2005
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowTitleBarComponent, decorators: [{
|
|
1995
2006
|
type: Component,
|
|
1996
2007
|
args: [{
|
|
@@ -2001,7 +2012,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2001
2012
|
[ngTemplateOutlet]="template"
|
|
2002
2013
|
[ngTemplateOutletContext]="{'$implicit': service}" *ngIf="template">
|
|
2003
2014
|
</ng-template>
|
|
2004
|
-
|
|
2015
|
+
`,
|
|
2016
|
+
standalone: true,
|
|
2017
|
+
imports: [NgIf, NgTemplateOutlet]
|
|
2005
2018
|
}]
|
|
2006
2019
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: DragResizeService }, { type: i0.NgZone }]; }, propDecorators: { template: [{
|
|
2007
2020
|
type: Input
|
|
@@ -2185,7 +2198,7 @@ class WindowCloseActionDirective extends Button {
|
|
|
2185
2198
|
}
|
|
2186
2199
|
}
|
|
2187
2200
|
WindowCloseActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowCloseActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DragResizeService, optional: true }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2188
|
-
WindowCloseActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WindowCloseActionDirective, selector: "button[kendoWindowCloseAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass" } }, providers: [
|
|
2201
|
+
WindowCloseActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WindowCloseActionDirective, isStandalone: true, selector: "button[kendoWindowCloseAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass" } }, providers: [
|
|
2189
2202
|
LocalizationService,
|
|
2190
2203
|
{
|
|
2191
2204
|
provide: L10N_PREFIX,
|
|
@@ -2203,7 +2216,7 @@ WindowCloseActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
2203
2216
|
</span>
|
|
2204
2217
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
2205
2218
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2206
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
2219
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
2207
2220
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowCloseActionDirective, decorators: [{
|
|
2208
2221
|
type: Component,
|
|
2209
2222
|
args: [{
|
|
@@ -2228,7 +2241,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2228
2241
|
</span>
|
|
2229
2242
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
2230
2243
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2231
|
-
|
|
2244
|
+
`,
|
|
2245
|
+
standalone: true,
|
|
2246
|
+
imports: [NgIf, IconWrapperComponent, NgClass]
|
|
2232
2247
|
}]
|
|
2233
2248
|
}], ctorParameters: function () {
|
|
2234
2249
|
return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DragResizeService, decorators: [{
|
|
@@ -2247,55 +2262,55 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2247
2262
|
args: ['click']
|
|
2248
2263
|
}] } });
|
|
2249
2264
|
|
|
2250
|
-
class
|
|
2265
|
+
class WindowRestoreActionDirective extends Button {
|
|
2251
2266
|
constructor(el, renderer, _service, localization, ngZone) {
|
|
2252
2267
|
super(el, renderer, null, localization, ngZone);
|
|
2253
|
-
this.buttonType = 'button';
|
|
2254
|
-
this.buttonClass = true;
|
|
2255
2268
|
/**
|
|
2256
2269
|
* @hidden
|
|
2257
2270
|
*/
|
|
2258
|
-
this.
|
|
2271
|
+
this.windowRestoreIcon = windowRestoreIcon;
|
|
2272
|
+
this.buttonType = 'button';
|
|
2273
|
+
this.buttonClass = true;
|
|
2259
2274
|
this.window = _service;
|
|
2260
2275
|
this.fillMode = 'flat';
|
|
2261
|
-
this.icon = 'window-
|
|
2276
|
+
this.icon = 'window-restore';
|
|
2262
2277
|
}
|
|
2263
2278
|
/**
|
|
2264
2279
|
* @hidden
|
|
2265
2280
|
*/
|
|
2266
2281
|
onClick() {
|
|
2267
2282
|
if (!this.isDisabled) {
|
|
2268
|
-
this.window.
|
|
2283
|
+
this.window.restoreAction();
|
|
2269
2284
|
}
|
|
2270
2285
|
}
|
|
2271
2286
|
get visible() {
|
|
2272
|
-
return this.window.options.state === 'default' ? '
|
|
2287
|
+
return this.window.options.state === 'default' ? 'none' : 'inline-flex';
|
|
2273
2288
|
}
|
|
2274
2289
|
}
|
|
2275
|
-
|
|
2276
|
-
|
|
2290
|
+
WindowRestoreActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowRestoreActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DragResizeService, optional: true }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2291
|
+
WindowRestoreActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WindowRestoreActionDirective, isStandalone: true, selector: "button[kendoWindowRestoreAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
|
|
2277
2292
|
LocalizationService,
|
|
2278
2293
|
{
|
|
2279
2294
|
provide: L10N_PREFIX,
|
|
2280
2295
|
useValue: 'kendo.button'
|
|
2281
2296
|
}
|
|
2282
|
-
], exportAs: ["
|
|
2297
|
+
], exportAs: ["kendoWindowRestoreAction"], usesInheritance: true, ngImport: i0, template: `
|
|
2283
2298
|
<kendo-icon-wrapper
|
|
2284
2299
|
*ngIf="!imageUrl && !iconClass"
|
|
2285
2300
|
innerCssClass="k-button-icon"
|
|
2286
|
-
name="window-
|
|
2287
|
-
[svgIcon]="
|
|
2301
|
+
name="window-restore"
|
|
2302
|
+
[svgIcon]="windowRestoreIcon">
|
|
2288
2303
|
</kendo-icon-wrapper>
|
|
2289
2304
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2290
2305
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2291
2306
|
</span>
|
|
2292
2307
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
2293
2308
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2294
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
2295
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type:
|
|
2309
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
2310
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowRestoreActionDirective, decorators: [{
|
|
2296
2311
|
type: Component,
|
|
2297
2312
|
args: [{
|
|
2298
|
-
exportAs: '
|
|
2313
|
+
exportAs: 'kendoWindowRestoreAction',
|
|
2299
2314
|
providers: [
|
|
2300
2315
|
LocalizationService,
|
|
2301
2316
|
{
|
|
@@ -2303,20 +2318,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2303
2318
|
useValue: 'kendo.button'
|
|
2304
2319
|
}
|
|
2305
2320
|
],
|
|
2306
|
-
selector: 'button[
|
|
2321
|
+
selector: 'button[kendoWindowRestoreAction]',
|
|
2307
2322
|
template: `
|
|
2308
2323
|
<kendo-icon-wrapper
|
|
2309
2324
|
*ngIf="!imageUrl && !iconClass"
|
|
2310
2325
|
innerCssClass="k-button-icon"
|
|
2311
|
-
name="window-
|
|
2312
|
-
[svgIcon]="
|
|
2326
|
+
name="window-restore"
|
|
2327
|
+
[svgIcon]="windowRestoreIcon">
|
|
2313
2328
|
</kendo-icon-wrapper>
|
|
2314
2329
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2315
2330
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2316
2331
|
</span>
|
|
2317
2332
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
2318
2333
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2319
|
-
|
|
2334
|
+
`,
|
|
2335
|
+
standalone: true,
|
|
2336
|
+
imports: [NgIf, IconWrapperComponent, NgClass]
|
|
2320
2337
|
}]
|
|
2321
2338
|
}], ctorParameters: function () {
|
|
2322
2339
|
return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DragResizeService, decorators: [{
|
|
@@ -2364,7 +2381,7 @@ class WindowMaximizeActionDirective extends Button {
|
|
|
2364
2381
|
}
|
|
2365
2382
|
}
|
|
2366
2383
|
WindowMaximizeActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowMaximizeActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DragResizeService, optional: true }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2367
|
-
WindowMaximizeActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WindowMaximizeActionDirective, selector: "button[kendoWindowMaximizeAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
|
|
2384
|
+
WindowMaximizeActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WindowMaximizeActionDirective, isStandalone: true, selector: "button[kendoWindowMaximizeAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
|
|
2368
2385
|
LocalizationService,
|
|
2369
2386
|
{
|
|
2370
2387
|
provide: L10N_PREFIX,
|
|
@@ -2382,7 +2399,7 @@ WindowMaximizeActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
2382
2399
|
</span>
|
|
2383
2400
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
2384
2401
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2385
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
2402
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
2386
2403
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowMaximizeActionDirective, decorators: [{
|
|
2387
2404
|
type: Component,
|
|
2388
2405
|
args: [{
|
|
@@ -2407,7 +2424,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2407
2424
|
</span>
|
|
2408
2425
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
2409
2426
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2410
|
-
|
|
2427
|
+
`,
|
|
2428
|
+
standalone: true,
|
|
2429
|
+
imports: [NgIf, IconWrapperComponent, NgClass]
|
|
2411
2430
|
}]
|
|
2412
2431
|
}], ctorParameters: function () {
|
|
2413
2432
|
return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DragResizeService, decorators: [{
|
|
@@ -2429,55 +2448,55 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2429
2448
|
args: ['style.display']
|
|
2430
2449
|
}] } });
|
|
2431
2450
|
|
|
2432
|
-
class
|
|
2451
|
+
class WindowMinimizeActionDirective extends Button {
|
|
2433
2452
|
constructor(el, renderer, _service, localization, ngZone) {
|
|
2434
2453
|
super(el, renderer, null, localization, ngZone);
|
|
2454
|
+
this.buttonType = 'button';
|
|
2455
|
+
this.buttonClass = true;
|
|
2435
2456
|
/**
|
|
2436
2457
|
* @hidden
|
|
2437
2458
|
*/
|
|
2438
|
-
this.
|
|
2439
|
-
this.buttonType = 'button';
|
|
2440
|
-
this.buttonClass = true;
|
|
2459
|
+
this.windowMinimizeIcon = windowMinimizeIcon;
|
|
2441
2460
|
this.window = _service;
|
|
2442
2461
|
this.fillMode = 'flat';
|
|
2443
|
-
this.icon = 'window-
|
|
2462
|
+
this.icon = 'window-minimize';
|
|
2444
2463
|
}
|
|
2445
2464
|
/**
|
|
2446
2465
|
* @hidden
|
|
2447
2466
|
*/
|
|
2448
2467
|
onClick() {
|
|
2449
2468
|
if (!this.isDisabled) {
|
|
2450
|
-
this.window.
|
|
2469
|
+
this.window.minimizeAction();
|
|
2451
2470
|
}
|
|
2452
2471
|
}
|
|
2453
2472
|
get visible() {
|
|
2454
|
-
return this.window.options.state === 'default' ? '
|
|
2473
|
+
return this.window.options.state === 'default' ? 'inline-flex' : 'none';
|
|
2455
2474
|
}
|
|
2456
2475
|
}
|
|
2457
|
-
|
|
2458
|
-
|
|
2476
|
+
WindowMinimizeActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowMinimizeActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DragResizeService, optional: true }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2477
|
+
WindowMinimizeActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WindowMinimizeActionDirective, isStandalone: true, selector: "button[kendoWindowMinimizeAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
|
|
2459
2478
|
LocalizationService,
|
|
2460
2479
|
{
|
|
2461
2480
|
provide: L10N_PREFIX,
|
|
2462
2481
|
useValue: 'kendo.button'
|
|
2463
2482
|
}
|
|
2464
|
-
], exportAs: ["
|
|
2483
|
+
], exportAs: ["kendoWindowMinimizeAction"], usesInheritance: true, ngImport: i0, template: `
|
|
2465
2484
|
<kendo-icon-wrapper
|
|
2466
2485
|
*ngIf="!imageUrl && !iconClass"
|
|
2467
2486
|
innerCssClass="k-button-icon"
|
|
2468
|
-
name="window-
|
|
2469
|
-
[svgIcon]="
|
|
2487
|
+
name="window-minimize"
|
|
2488
|
+
[svgIcon]="windowMinimizeIcon">
|
|
2470
2489
|
</kendo-icon-wrapper>
|
|
2471
2490
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2472
2491
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2473
2492
|
</span>
|
|
2474
2493
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
2475
2494
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2476
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
2477
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type:
|
|
2495
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
2496
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowMinimizeActionDirective, decorators: [{
|
|
2478
2497
|
type: Component,
|
|
2479
2498
|
args: [{
|
|
2480
|
-
exportAs: '
|
|
2499
|
+
exportAs: 'kendoWindowMinimizeAction',
|
|
2481
2500
|
providers: [
|
|
2482
2501
|
LocalizationService,
|
|
2483
2502
|
{
|
|
@@ -2485,20 +2504,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2485
2504
|
useValue: 'kendo.button'
|
|
2486
2505
|
}
|
|
2487
2506
|
],
|
|
2488
|
-
selector: 'button[
|
|
2507
|
+
selector: 'button[kendoWindowMinimizeAction]',
|
|
2489
2508
|
template: `
|
|
2490
2509
|
<kendo-icon-wrapper
|
|
2491
2510
|
*ngIf="!imageUrl && !iconClass"
|
|
2492
2511
|
innerCssClass="k-button-icon"
|
|
2493
|
-
name="window-
|
|
2494
|
-
[svgIcon]="
|
|
2512
|
+
name="window-minimize"
|
|
2513
|
+
[svgIcon]="windowMinimizeIcon">
|
|
2495
2514
|
</kendo-icon-wrapper>
|
|
2496
2515
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2497
2516
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2498
2517
|
</span>
|
|
2499
2518
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
2500
2519
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2501
|
-
|
|
2520
|
+
`,
|
|
2521
|
+
standalone: true,
|
|
2522
|
+
imports: [NgIf, IconWrapperComponent, NgClass]
|
|
2502
2523
|
}]
|
|
2503
2524
|
}], ctorParameters: function () {
|
|
2504
2525
|
return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DragResizeService, decorators: [{
|
|
@@ -3072,7 +3093,7 @@ class WindowComponent {
|
|
|
3072
3093
|
}
|
|
3073
3094
|
}
|
|
3074
3095
|
WindowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DragResizeService }, { token: NavigationService }, { token: i0.NgZone }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3075
|
-
WindowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WindowComponent, selector: "kendo-window", inputs: { autoFocusedElement: "autoFocusedElement", title: "title", draggable: "draggable", resizable: "resizable", themeColor: "themeColor", keepContent: "keepContent", state: "state", minWidth: "minWidth", minHeight: "minHeight", width: "width", height: "height", top: "top", left: "left" }, outputs: { dragStart: "dragStart", dragEnd: "dragEnd", resizeStart: "resizeStart", resizeEnd: "resizeEnd", close: "close", widthChange: "widthChange", heightChange: "heightChange", topChange: "topChange", leftChange: "leftChange", stateChange: "stateChange" }, host: { listeners: { "focus": "onComponentFocus()", "blur": "onComponentBlur()" }, properties: { "attr.tabIndex": "this.tabIndex", "attr.role": "this.role", "class.k-window": "this.hostClass", "attr.dir": "this.dir", "style.minWidth": "this.styleMinWidth", "style.minHeight": "this.styleMinHeight", "style.position": "this.stylePosition", "class.k-window-maximized": "this.wrapperMaximizedClass", "class.k-window-minimized": "this.wrapperMinimizedClass" } }, providers: [
|
|
3096
|
+
WindowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WindowComponent, isStandalone: true, selector: "kendo-window", inputs: { autoFocusedElement: "autoFocusedElement", title: "title", draggable: "draggable", resizable: "resizable", themeColor: "themeColor", keepContent: "keepContent", state: "state", minWidth: "minWidth", minHeight: "minHeight", width: "width", height: "height", top: "top", left: "left" }, outputs: { dragStart: "dragStart", dragEnd: "dragEnd", resizeStart: "resizeStart", resizeEnd: "resizeEnd", close: "close", widthChange: "widthChange", heightChange: "heightChange", topChange: "topChange", leftChange: "leftChange", stateChange: "stateChange" }, host: { listeners: { "focus": "onComponentFocus()", "blur": "onComponentBlur()" }, properties: { "attr.tabIndex": "this.tabIndex", "attr.role": "this.role", "class.k-window": "this.hostClass", "attr.dir": "this.dir", "style.minWidth": "this.styleMinWidth", "style.minHeight": "this.styleMinHeight", "style.position": "this.stylePosition", "class.k-window-maximized": "this.wrapperMaximizedClass", "class.k-window-minimized": "this.wrapperMinimizedClass" } }, providers: [
|
|
3076
3097
|
DragResizeService,
|
|
3077
3098
|
NavigationService,
|
|
3078
3099
|
LocalizationService,
|
|
@@ -3124,7 +3145,7 @@ WindowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
|
|
|
3124
3145
|
</ng-template>
|
|
3125
3146
|
|
|
3126
3147
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
3127
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }, { kind: "directive", type:
|
|
3148
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: WindowTitleBarComponent, selector: "kendo-window-titlebar", inputs: ["template", "id"] }, { kind: "component", type: WindowMinimizeActionDirective, selector: "button[kendoWindowMinimizeAction]", inputs: ["window"], exportAs: ["kendoWindowMinimizeAction"] }, { kind: "component", type: WindowMaximizeActionDirective, selector: "button[kendoWindowMaximizeAction]", inputs: ["window"], exportAs: ["kendoWindowMaximizeAction"] }, { kind: "component", type: WindowRestoreActionDirective, selector: "button[kendoWindowRestoreAction]", inputs: ["window"], exportAs: ["kendoWindowRestoreAction"] }, { kind: "component", type: WindowCloseActionDirective, selector: "button[kendoWindowCloseAction]", inputs: ["window"], exportAs: ["kendoWindowCloseAction"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: ResizeHandleDirective, selector: "[kendoWindowResizeHandle]", inputs: ["direction"] }, { kind: "directive", type: DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }] });
|
|
3128
3149
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowComponent, decorators: [{
|
|
3129
3150
|
type: Component,
|
|
3130
3151
|
args: [{
|
|
@@ -3183,7 +3204,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3183
3204
|
</ng-template>
|
|
3184
3205
|
|
|
3185
3206
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
3186
|
-
|
|
3207
|
+
`,
|
|
3208
|
+
standalone: true,
|
|
3209
|
+
imports: [LocalizedMessagesDirective, NgIf, WindowTitleBarComponent, WindowMinimizeActionDirective, WindowMaximizeActionDirective, WindowRestoreActionDirective, WindowCloseActionDirective, NgTemplateOutlet, NgFor, ResizeHandleDirective, DraggableDirective, WatermarkOverlayComponent]
|
|
3187
3210
|
}]
|
|
3188
3211
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DragResizeService }, { type: NavigationService }, { type: i0.NgZone }, { type: i1.LocalizationService }]; }, propDecorators: { autoFocusedElement: [{
|
|
3189
3212
|
type: Input
|
|
@@ -3309,9 +3332,12 @@ class WindowContainerService {
|
|
|
3309
3332
|
}
|
|
3310
3333
|
WindowContainerService.container = null;
|
|
3311
3334
|
WindowContainerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowContainerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3312
|
-
WindowContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowContainerService });
|
|
3335
|
+
WindowContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowContainerService, providedIn: 'root' });
|
|
3313
3336
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowContainerService, decorators: [{
|
|
3314
|
-
type: Injectable
|
|
3337
|
+
type: Injectable,
|
|
3338
|
+
args: [{
|
|
3339
|
+
providedIn: 'root'
|
|
3340
|
+
}]
|
|
3315
3341
|
}] });
|
|
3316
3342
|
|
|
3317
3343
|
const isNotComponent = (component) => isString(component) || component instanceof TemplateRef;
|
|
@@ -3509,9 +3535,12 @@ class WindowService {
|
|
|
3509
3535
|
}
|
|
3510
3536
|
}
|
|
3511
3537
|
WindowService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowService, deps: [{ token: i0.ComponentFactoryResolver }, { token: WindowContainerService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3512
|
-
WindowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowService });
|
|
3538
|
+
WindowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowService, providedIn: 'root' });
|
|
3513
3539
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowService, decorators: [{
|
|
3514
|
-
type: Injectable
|
|
3540
|
+
type: Injectable,
|
|
3541
|
+
args: [{
|
|
3542
|
+
providedIn: 'root'
|
|
3543
|
+
}]
|
|
3515
3544
|
}], ctorParameters: function () {
|
|
3516
3545
|
return [{ type: i0.ComponentFactoryResolver }, { type: WindowContainerService, decorators: [{
|
|
3517
3546
|
type: Inject,
|
|
@@ -3535,17 +3564,18 @@ class DialogContainerDirective {
|
|
|
3535
3564
|
}
|
|
3536
3565
|
}
|
|
3537
3566
|
DialogContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogContainerDirective, deps: [{ token: i0.ViewContainerRef }, { token: DialogContainerService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3538
|
-
DialogContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DialogContainerDirective, selector: "[kendoDialogContainer]", ngImport: i0 });
|
|
3567
|
+
DialogContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DialogContainerDirective, isStandalone: true, selector: "[kendoDialogContainer]", ngImport: i0 });
|
|
3539
3568
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogContainerDirective, decorators: [{
|
|
3540
3569
|
type: Directive,
|
|
3541
3570
|
args: [{
|
|
3542
|
-
selector: '[kendoDialogContainer]'
|
|
3571
|
+
selector: '[kendoDialogContainer]',
|
|
3572
|
+
standalone: true
|
|
3543
3573
|
}]
|
|
3544
3574
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: DialogContainerService }]; } });
|
|
3545
3575
|
|
|
3546
3576
|
/**
|
|
3547
3577
|
* Custom component messages override default component messages
|
|
3548
|
-
* ([see example](
|
|
3578
|
+
* ([see example](slug:globalization_dialogs#toc-internationalization)).
|
|
3549
3579
|
*/
|
|
3550
3580
|
class CustomMessagesComponent extends Messages {
|
|
3551
3581
|
constructor(service) {
|
|
@@ -3557,7 +3587,7 @@ class CustomMessagesComponent extends Messages {
|
|
|
3557
3587
|
}
|
|
3558
3588
|
}
|
|
3559
3589
|
CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3560
|
-
CustomMessagesComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, selector: "kendo-dialog-messages, kendo-window-messages", providers: [
|
|
3590
|
+
CustomMessagesComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-dialog-messages, kendo-window-messages", providers: [
|
|
3561
3591
|
{
|
|
3562
3592
|
provide: Messages,
|
|
3563
3593
|
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
@@ -3573,38 +3603,67 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3573
3603
|
}
|
|
3574
3604
|
],
|
|
3575
3605
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
3576
|
-
selector: 'kendo-dialog-messages, kendo-window-messages'
|
|
3606
|
+
selector: 'kendo-dialog-messages, kendo-window-messages',
|
|
3607
|
+
standalone: true
|
|
3577
3608
|
}]
|
|
3578
3609
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
3579
3610
|
|
|
3580
3611
|
/**
|
|
3581
|
-
*
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
* @hidden
|
|
3612
|
+
* Provides an insertion point for the Windows which are created through the
|
|
3613
|
+
* Window service ([see example]({% slug api_dialog_windowservice %}#toc-open)).
|
|
3614
|
+
* Created Windows will be mounted after that element.
|
|
3615
|
+
*
|
|
3616
|
+
* @example
|
|
3617
|
+
* ```html-no-run
|
|
3618
|
+
* <div kendoWindowContainer></div>
|
|
3619
|
+
* ```
|
|
3590
3620
|
*/
|
|
3591
|
-
class
|
|
3621
|
+
class WindowContainerDirective {
|
|
3622
|
+
constructor(container, service) {
|
|
3623
|
+
service.container = container;
|
|
3624
|
+
}
|
|
3592
3625
|
}
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
CustomMessagesComponent,
|
|
3598
|
-
LocalizedMessagesDirective, CommonModule, IconsModule, ButtonModule] });
|
|
3599
|
-
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, imports: [CommonModule, IconsModule, ButtonModule, CommonModule, IconsModule, ButtonModule] });
|
|
3600
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, decorators: [{
|
|
3601
|
-
type: NgModule,
|
|
3626
|
+
WindowContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowContainerDirective, deps: [{ token: i0.ViewContainerRef }, { token: WindowContainerService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3627
|
+
WindowContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: WindowContainerDirective, isStandalone: true, selector: "[kendoWindowContainer]", ngImport: i0 });
|
|
3628
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowContainerDirective, decorators: [{
|
|
3629
|
+
type: Directive,
|
|
3602
3630
|
args: [{
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
imports: [CommonModule, IconsModule, ButtonModule]
|
|
3631
|
+
selector: '[kendoWindowContainer]',
|
|
3632
|
+
standalone: true
|
|
3606
3633
|
}]
|
|
3607
|
-
}] });
|
|
3634
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: WindowContainerService }]; } });
|
|
3635
|
+
|
|
3636
|
+
/**
|
|
3637
|
+
* Utility array that contains all `Dialog` related components and directives.
|
|
3638
|
+
*/
|
|
3639
|
+
const KENDO_DIALOG = [
|
|
3640
|
+
DialogComponent,
|
|
3641
|
+
DialogTitleBarComponent,
|
|
3642
|
+
DialogContainerDirective,
|
|
3643
|
+
DialogActionsComponent,
|
|
3644
|
+
CustomMessagesComponent
|
|
3645
|
+
];
|
|
3646
|
+
/**
|
|
3647
|
+
* Utility array that contains all `Window` related components and directives.
|
|
3648
|
+
*/
|
|
3649
|
+
const KENDO_WINDOW = [
|
|
3650
|
+
WindowComponent,
|
|
3651
|
+
WindowCloseActionDirective,
|
|
3652
|
+
WindowMinimizeActionDirective,
|
|
3653
|
+
WindowMaximizeActionDirective,
|
|
3654
|
+
WindowRestoreActionDirective,
|
|
3655
|
+
WindowTitleBarComponent,
|
|
3656
|
+
WindowContainerDirective,
|
|
3657
|
+
DialogActionsComponent,
|
|
3658
|
+
CustomMessagesComponent
|
|
3659
|
+
];
|
|
3660
|
+
/**
|
|
3661
|
+
* Utility array that contains all `@progress/kendo-angular-dialog` related components and directives.
|
|
3662
|
+
*/
|
|
3663
|
+
const KENDO_DIALOGS = [
|
|
3664
|
+
...KENDO_DIALOG,
|
|
3665
|
+
...KENDO_WINDOW
|
|
3666
|
+
];
|
|
3608
3667
|
|
|
3609
3668
|
/**
|
|
3610
3669
|
* @hidden
|
|
@@ -3613,6 +3672,7 @@ const DIALOG_DIRECTIVES = [
|
|
|
3613
3672
|
DialogComponent,
|
|
3614
3673
|
DialogTitleBarComponent
|
|
3615
3674
|
];
|
|
3675
|
+
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
3616
3676
|
/**
|
|
3617
3677
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
3618
3678
|
* definition for the Dialog component that includes all Dialog components and directives.
|
|
@@ -3638,66 +3698,23 @@ const DIALOG_DIRECTIVES = [
|
|
|
3638
3698
|
class DialogModule {
|
|
3639
3699
|
}
|
|
3640
3700
|
DialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3641
|
-
DialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DialogModule,
|
|
3642
|
-
|
|
3643
|
-
DialogTitleBarComponent, DialogActionsComponent, CustomMessagesComponent, LocalizedMessagesDirective, DialogContainerDirective] });
|
|
3644
|
-
DialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogModule, providers: [DialogContainerService, DialogService], imports: [SharedModule, WatermarkModule] });
|
|
3701
|
+
DialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DialogModule, imports: [DialogComponent, DialogTitleBarComponent, DialogContainerDirective, DialogActionsComponent, CustomMessagesComponent], exports: [DialogComponent, DialogTitleBarComponent, DialogContainerDirective, DialogActionsComponent, CustomMessagesComponent] });
|
|
3702
|
+
DialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogModule, providers: [DialogContainerService, DialogService, IconsService], imports: [DialogComponent, DialogTitleBarComponent, DialogActionsComponent] });
|
|
3645
3703
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogModule, decorators: [{
|
|
3646
3704
|
type: NgModule,
|
|
3647
3705
|
args: [{
|
|
3648
|
-
declarations: [DIALOG_DIRECTIVES, DialogContainerDirective],
|
|
3649
3706
|
entryComponents: [DIALOG_DIRECTIVES],
|
|
3650
|
-
exports: [
|
|
3651
|
-
imports: [
|
|
3652
|
-
providers: [DialogContainerService, DialogService]
|
|
3707
|
+
exports: [...KENDO_DIALOG],
|
|
3708
|
+
imports: [...KENDO_DIALOG],
|
|
3709
|
+
providers: [DialogContainerService, DialogService, IconsService]
|
|
3653
3710
|
}]
|
|
3654
3711
|
}] });
|
|
3655
3712
|
|
|
3656
|
-
/**
|
|
3657
|
-
* Provides an insertion point for the Windows which are created through the
|
|
3658
|
-
* Window service ([see example]({% slug api_dialog_windowservice %}#toc-open)).
|
|
3659
|
-
* Created Windows will be mounted after that element.
|
|
3660
|
-
*
|
|
3661
|
-
* @example
|
|
3662
|
-
* ```html-no-run
|
|
3663
|
-
* <div kendoWindowContainer></div>
|
|
3664
|
-
* ```
|
|
3665
|
-
*/
|
|
3666
|
-
class WindowContainerDirective {
|
|
3667
|
-
constructor(container, service) {
|
|
3668
|
-
service.container = container;
|
|
3669
|
-
}
|
|
3670
|
-
}
|
|
3671
|
-
WindowContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowContainerDirective, deps: [{ token: i0.ViewContainerRef }, { token: WindowContainerService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3672
|
-
WindowContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: WindowContainerDirective, selector: "[kendoWindowContainer]", ngImport: i0 });
|
|
3673
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowContainerDirective, decorators: [{
|
|
3674
|
-
type: Directive,
|
|
3675
|
-
args: [{
|
|
3676
|
-
selector: '[kendoWindowContainer]'
|
|
3677
|
-
}]
|
|
3678
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: WindowContainerService }]; } });
|
|
3679
|
-
|
|
3680
|
-
const WINDOW_DIRECTIVES = [
|
|
3681
|
-
ResizeHandleDirective,
|
|
3682
|
-
WindowComponent,
|
|
3683
|
-
WindowTitleBarComponent,
|
|
3684
|
-
WindowCloseActionDirective,
|
|
3685
|
-
WindowMinimizeActionDirective,
|
|
3686
|
-
WindowMaximizeActionDirective,
|
|
3687
|
-
WindowRestoreActionDirective
|
|
3688
|
-
];
|
|
3689
3713
|
const ENTRY_COMPONENTS = [
|
|
3690
3714
|
WindowComponent,
|
|
3691
3715
|
WindowTitleBarComponent
|
|
3692
3716
|
];
|
|
3693
|
-
|
|
3694
|
-
WindowComponent,
|
|
3695
|
-
WindowCloseActionDirective,
|
|
3696
|
-
WindowMinimizeActionDirective,
|
|
3697
|
-
WindowMaximizeActionDirective,
|
|
3698
|
-
WindowRestoreActionDirective,
|
|
3699
|
-
WindowTitleBarComponent
|
|
3700
|
-
];
|
|
3717
|
+
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
3701
3718
|
/**
|
|
3702
3719
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
3703
3720
|
* definition for the Window component. Imports `WindowModule` into the
|
|
@@ -3723,30 +3740,19 @@ const exportedModules = [
|
|
|
3723
3740
|
class WindowModule {
|
|
3724
3741
|
}
|
|
3725
3742
|
WindowModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3726
|
-
WindowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: WindowModule,
|
|
3727
|
-
|
|
3728
|
-
WindowTitleBarComponent,
|
|
3729
|
-
WindowCloseActionDirective,
|
|
3730
|
-
WindowMinimizeActionDirective,
|
|
3731
|
-
WindowMaximizeActionDirective,
|
|
3732
|
-
WindowRestoreActionDirective, WindowContainerDirective], imports: [SharedModule, DraggableModule, WatermarkModule], exports: [WindowComponent,
|
|
3733
|
-
WindowCloseActionDirective,
|
|
3734
|
-
WindowMinimizeActionDirective,
|
|
3735
|
-
WindowMaximizeActionDirective,
|
|
3736
|
-
WindowRestoreActionDirective,
|
|
3737
|
-
WindowTitleBarComponent, DialogActionsComponent, CustomMessagesComponent, LocalizedMessagesDirective, WindowContainerDirective] });
|
|
3738
|
-
WindowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowModule, providers: [WindowContainerService, WindowService], imports: [SharedModule, DraggableModule, WatermarkModule] });
|
|
3743
|
+
WindowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: WindowModule, imports: [WindowComponent, WindowCloseActionDirective, WindowMinimizeActionDirective, WindowMaximizeActionDirective, WindowRestoreActionDirective, WindowTitleBarComponent, WindowContainerDirective, DialogActionsComponent, CustomMessagesComponent], exports: [WindowComponent, WindowCloseActionDirective, WindowMinimizeActionDirective, WindowMaximizeActionDirective, WindowRestoreActionDirective, WindowTitleBarComponent, WindowContainerDirective, DialogActionsComponent, CustomMessagesComponent] });
|
|
3744
|
+
WindowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowModule, providers: [WindowContainerService, WindowService, IconsService], imports: [WindowComponent, WindowCloseActionDirective, WindowMinimizeActionDirective, WindowMaximizeActionDirective, WindowRestoreActionDirective, WindowTitleBarComponent, DialogActionsComponent] });
|
|
3739
3745
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowModule, decorators: [{
|
|
3740
3746
|
type: NgModule,
|
|
3741
3747
|
args: [{
|
|
3742
|
-
|
|
3748
|
+
imports: [...KENDO_WINDOW],
|
|
3749
|
+
exports: [...KENDO_WINDOW],
|
|
3743
3750
|
entryComponents: [ENTRY_COMPONENTS],
|
|
3744
|
-
|
|
3745
|
-
imports: [SharedModule, DraggableModule, WatermarkModule],
|
|
3746
|
-
providers: [WindowContainerService, WindowService]
|
|
3751
|
+
providers: [WindowContainerService, WindowService, IconsService]
|
|
3747
3752
|
}]
|
|
3748
3753
|
}] });
|
|
3749
3754
|
|
|
3755
|
+
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
3750
3756
|
/**
|
|
3751
3757
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
3752
3758
|
* definition for the Dialogs components.
|
|
@@ -3775,12 +3781,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3775
3781
|
class DialogsModule {
|
|
3776
3782
|
}
|
|
3777
3783
|
DialogsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3778
|
-
DialogsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DialogsModule, exports: [
|
|
3779
|
-
DialogsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogsModule, imports: [
|
|
3784
|
+
DialogsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DialogsModule, imports: [DialogComponent, DialogTitleBarComponent, DialogContainerDirective, DialogActionsComponent, CustomMessagesComponent, WindowComponent, WindowCloseActionDirective, WindowMinimizeActionDirective, WindowMaximizeActionDirective, WindowRestoreActionDirective, WindowTitleBarComponent, WindowContainerDirective, DialogActionsComponent, CustomMessagesComponent], exports: [DialogComponent, DialogTitleBarComponent, DialogContainerDirective, DialogActionsComponent, CustomMessagesComponent, WindowComponent, WindowCloseActionDirective, WindowMinimizeActionDirective, WindowMaximizeActionDirective, WindowRestoreActionDirective, WindowTitleBarComponent, WindowContainerDirective, DialogActionsComponent, CustomMessagesComponent] });
|
|
3785
|
+
DialogsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogsModule, providers: [IconsService, DialogService, DialogContainerService, WindowService, WindowContainerService], imports: [DialogComponent, DialogTitleBarComponent, DialogActionsComponent, WindowComponent, WindowCloseActionDirective, WindowMinimizeActionDirective, WindowMaximizeActionDirective, WindowRestoreActionDirective, WindowTitleBarComponent, DialogActionsComponent] });
|
|
3780
3786
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogsModule, decorators: [{
|
|
3781
3787
|
type: NgModule,
|
|
3782
3788
|
args: [{
|
|
3783
|
-
|
|
3789
|
+
imports: [...KENDO_DIALOGS],
|
|
3790
|
+
exports: [...KENDO_DIALOGS],
|
|
3791
|
+
providers: [IconsService, DialogService, DialogContainerService, WindowService, WindowContainerService]
|
|
3784
3792
|
}]
|
|
3785
3793
|
}] });
|
|
3786
3794
|
|
|
@@ -3788,5 +3796,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3788
3796
|
* Generated bundle index. Do not edit.
|
|
3789
3797
|
*/
|
|
3790
3798
|
|
|
3791
|
-
export { CustomMessagesComponent, DialogAction, DialogActionsComponent, DialogCloseResult, DialogComponent, DialogContainerDirective, DialogContainerService, DialogContentBase, DialogModule, DialogRef, DialogService, DialogSettings, DialogTitleBarComponent, DialogsModule, DragResizeService, LocalizedMessagesDirective, Messages, NavigationService, PreventableEvent, WindowCloseActionDirective, WindowCloseResult, WindowComponent, WindowContainerDirective, WindowMaximizeActionDirective, WindowMinimizeActionDirective, WindowModule, WindowRef, WindowRestoreActionDirective, WindowService, WindowSettings, WindowTitleBarComponent };
|
|
3799
|
+
export { CustomMessagesComponent, DialogAction, DialogActionsComponent, DialogCloseResult, DialogComponent, DialogContainerDirective, DialogContainerService, DialogContentBase, DialogModule, DialogRef, DialogService, DialogSettings, DialogTitleBarComponent, DialogsModule, DragResizeService, KENDO_DIALOG, KENDO_DIALOGS, KENDO_WINDOW, LocalizedMessagesDirective, Messages, NavigationService, PreventableEvent, WindowCloseActionDirective, WindowCloseResult, WindowComponent, WindowContainerDirective, WindowContainerService, WindowMaximizeActionDirective, WindowMinimizeActionDirective, WindowModule, WindowRef, WindowRestoreActionDirective, WindowService, WindowSettings, WindowTitleBarComponent };
|
|
3792
3800
|
|