@progress/kendo-angular-dialog 16.5.0 → 16.6.0-develop.2
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
|
|
@@ -445,7 +444,7 @@ class LocalizedMessagesDirective extends Messages {
|
|
|
445
444
|
}
|
|
446
445
|
}
|
|
447
446
|
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
448
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n ", providers: [
|
|
447
|
+
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: [
|
|
449
448
|
{
|
|
450
449
|
provide: Messages,
|
|
451
450
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
@@ -464,7 +463,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
464
463
|
[kendoDialogLocalizedMessages],
|
|
465
464
|
[kendoWindowLocalizedMessages],
|
|
466
465
|
[kendoDialogTitleBarLocalizedMessages]
|
|
467
|
-
|
|
466
|
+
`,
|
|
467
|
+
standalone: true
|
|
468
468
|
}]
|
|
469
469
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
470
470
|
|
|
@@ -509,7 +509,7 @@ class DialogTitleBarComponent {
|
|
|
509
509
|
}
|
|
510
510
|
}
|
|
511
511
|
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 });
|
|
512
|
-
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: [
|
|
512
|
+
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: [
|
|
513
513
|
TitleBarLocalizationService,
|
|
514
514
|
{
|
|
515
515
|
provide: LocalizationService,
|
|
@@ -544,7 +544,7 @@ DialogTitleBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
544
544
|
</button>
|
|
545
545
|
</div>
|
|
546
546
|
</ng-container>
|
|
547
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }, { kind: "component", type:
|
|
547
|
+
`, 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"] }] });
|
|
548
548
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogTitleBarComponent, decorators: [{
|
|
549
549
|
type: Component,
|
|
550
550
|
args: [{
|
|
@@ -585,7 +585,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
585
585
|
</button>
|
|
586
586
|
</div>
|
|
587
587
|
</ng-container>
|
|
588
|
-
|
|
588
|
+
`,
|
|
589
|
+
standalone: true,
|
|
590
|
+
imports: [LocalizedMessagesDirective, ButtonComponent]
|
|
589
591
|
}]
|
|
590
592
|
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.ElementRef }, { type: i1.LocalizationService, decorators: [{
|
|
591
593
|
type: Optional
|
|
@@ -610,8 +612,8 @@ const packageMetadata = {
|
|
|
610
612
|
name: '@progress/kendo-angular-dialog',
|
|
611
613
|
productName: 'Kendo UI for Angular',
|
|
612
614
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
613
|
-
publishDate:
|
|
614
|
-
version: '16.
|
|
615
|
+
publishDate: 1721846884,
|
|
616
|
+
version: '16.6.0-develop.2',
|
|
615
617
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
616
618
|
};
|
|
617
619
|
|
|
@@ -1079,7 +1081,7 @@ class DialogComponent {
|
|
|
1079
1081
|
}
|
|
1080
1082
|
}
|
|
1081
1083
|
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 });
|
|
1082
|
-
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: [
|
|
1084
|
+
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: [
|
|
1083
1085
|
LocalizationService,
|
|
1084
1086
|
{
|
|
1085
1087
|
provide: DIALOG_LOCALIZATION_SERVICE,
|
|
@@ -1112,7 +1114,7 @@ DialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
|
|
|
1112
1114
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
1113
1115
|
</div>
|
|
1114
1116
|
</ng-container>
|
|
1115
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
1117
|
+
`, 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: [
|
|
1116
1118
|
trigger('overlayAppear', [
|
|
1117
1119
|
state('in', style({ opacity: 1 })),
|
|
1118
1120
|
transition('void => *', [style({ opacity: 0.1 }), animate('.3s cubic-bezier(.2, .6, .4, 1)')])
|
|
@@ -1163,7 +1165,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1163
1165
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
1164
1166
|
</div>
|
|
1165
1167
|
</ng-container>
|
|
1166
|
-
|
|
1168
|
+
`,
|
|
1169
|
+
standalone: true,
|
|
1170
|
+
imports: [LocalizedMessagesDirective, NgStyle, NgIf, DialogTitleBarComponent, NgTemplateOutlet, DialogActionsComponent, WatermarkOverlayComponent]
|
|
1167
1171
|
}]
|
|
1168
1172
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i2.AnimationBuilder }]; }, propDecorators: { actions: [{
|
|
1169
1173
|
type: Input
|
|
@@ -1226,7 +1230,7 @@ class DialogRef {
|
|
|
1226
1230
|
|
|
1227
1231
|
/**
|
|
1228
1232
|
* The base class which will be extended by a component that is provided as content through `content`
|
|
1229
|
-
* ([see example](
|
|
1233
|
+
* ([see example](slug:service_dialog#toc-single-component-rendering)).
|
|
1230
1234
|
*/
|
|
1231
1235
|
class DialogContentBase {
|
|
1232
1236
|
constructor(dialog) {
|
|
@@ -1274,9 +1278,12 @@ class DialogContainerService {
|
|
|
1274
1278
|
}
|
|
1275
1279
|
DialogContainerService.container = null;
|
|
1276
1280
|
DialogContainerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogContainerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1277
|
-
DialogContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogContainerService });
|
|
1281
|
+
DialogContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogContainerService, providedIn: 'root' });
|
|
1278
1282
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogContainerService, decorators: [{
|
|
1279
|
-
type: Injectable
|
|
1283
|
+
type: Injectable,
|
|
1284
|
+
args: [{
|
|
1285
|
+
providedIn: 'root'
|
|
1286
|
+
}]
|
|
1280
1287
|
}] });
|
|
1281
1288
|
|
|
1282
1289
|
/**
|
|
@@ -1495,9 +1502,12 @@ See https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/service/.
|
|
|
1495
1502
|
}
|
|
1496
1503
|
}
|
|
1497
1504
|
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 });
|
|
1498
|
-
DialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogService });
|
|
1505
|
+
DialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogService, providedIn: 'root' });
|
|
1499
1506
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogService, decorators: [{
|
|
1500
|
-
type: Injectable
|
|
1507
|
+
type: Injectable,
|
|
1508
|
+
args: [{
|
|
1509
|
+
providedIn: 'root'
|
|
1510
|
+
}]
|
|
1501
1511
|
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: DialogContainerService, decorators: [{
|
|
1502
1512
|
type: Inject,
|
|
1503
1513
|
args: [DialogContainerService]
|
|
@@ -1863,14 +1873,15 @@ class ResizeHandleDirective {
|
|
|
1863
1873
|
this.renderer.setStyle(this.el.nativeElement, 'display', this.service.options.state === 'default' ? value : 'none');
|
|
1864
1874
|
}
|
|
1865
1875
|
}
|
|
1866
|
-
ResizeHandleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeHandleDirective, deps: [{ token:
|
|
1867
|
-
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 });
|
|
1876
|
+
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 });
|
|
1877
|
+
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 });
|
|
1868
1878
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeHandleDirective, decorators: [{
|
|
1869
1879
|
type: Directive,
|
|
1870
1880
|
args: [{
|
|
1871
|
-
selector: '[kendoWindowResizeHandle]'
|
|
1881
|
+
selector: '[kendoWindowResizeHandle]',
|
|
1882
|
+
standalone: true
|
|
1872
1883
|
}]
|
|
1873
|
-
}], ctorParameters: function () { return [{ type:
|
|
1884
|
+
}], ctorParameters: function () { return [{ type: i1$1.DraggableDirective, decorators: [{
|
|
1874
1885
|
type: Host
|
|
1875
1886
|
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DragResizeService }]; }, propDecorators: { direction: [{
|
|
1876
1887
|
type: Input
|
|
@@ -1976,13 +1987,13 @@ class WindowTitleBarComponent {
|
|
|
1976
1987
|
}
|
|
1977
1988
|
}
|
|
1978
1989
|
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 });
|
|
1979
|
-
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: `
|
|
1990
|
+
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: `
|
|
1980
1991
|
<ng-content *ngIf="!template"></ng-content>
|
|
1981
1992
|
<ng-template
|
|
1982
1993
|
[ngTemplateOutlet]="template"
|
|
1983
1994
|
[ngTemplateOutletContext]="{'$implicit': service}" *ngIf="template">
|
|
1984
1995
|
</ng-template>
|
|
1985
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
1996
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
1986
1997
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowTitleBarComponent, decorators: [{
|
|
1987
1998
|
type: Component,
|
|
1988
1999
|
args: [{
|
|
@@ -1993,7 +2004,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1993
2004
|
[ngTemplateOutlet]="template"
|
|
1994
2005
|
[ngTemplateOutletContext]="{'$implicit': service}" *ngIf="template">
|
|
1995
2006
|
</ng-template>
|
|
1996
|
-
|
|
2007
|
+
`,
|
|
2008
|
+
standalone: true,
|
|
2009
|
+
imports: [NgIf, NgTemplateOutlet]
|
|
1997
2010
|
}]
|
|
1998
2011
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: DragResizeService }, { type: i0.NgZone }]; }, propDecorators: { template: [{
|
|
1999
2012
|
type: Input
|
|
@@ -2177,7 +2190,7 @@ class WindowCloseActionDirective extends Button {
|
|
|
2177
2190
|
}
|
|
2178
2191
|
}
|
|
2179
2192
|
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 });
|
|
2180
|
-
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: [
|
|
2193
|
+
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: [
|
|
2181
2194
|
LocalizationService,
|
|
2182
2195
|
{
|
|
2183
2196
|
provide: L10N_PREFIX,
|
|
@@ -2195,7 +2208,7 @@ WindowCloseActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
2195
2208
|
</span>
|
|
2196
2209
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
2197
2210
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2198
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
2211
|
+
`, 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"] }] });
|
|
2199
2212
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowCloseActionDirective, decorators: [{
|
|
2200
2213
|
type: Component,
|
|
2201
2214
|
args: [{
|
|
@@ -2220,7 +2233,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2220
2233
|
</span>
|
|
2221
2234
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
2222
2235
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2223
|
-
|
|
2236
|
+
`,
|
|
2237
|
+
standalone: true,
|
|
2238
|
+
imports: [NgIf, IconWrapperComponent, NgClass]
|
|
2224
2239
|
}]
|
|
2225
2240
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DragResizeService, decorators: [{
|
|
2226
2241
|
type: Optional
|
|
@@ -2237,55 +2252,55 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2237
2252
|
args: ['click']
|
|
2238
2253
|
}] } });
|
|
2239
2254
|
|
|
2240
|
-
class
|
|
2255
|
+
class WindowRestoreActionDirective extends Button {
|
|
2241
2256
|
constructor(el, renderer, _service, localization, ngZone) {
|
|
2242
2257
|
super(el, renderer, null, localization, ngZone);
|
|
2243
|
-
this.buttonType = 'button';
|
|
2244
|
-
this.buttonClass = true;
|
|
2245
2258
|
/**
|
|
2246
2259
|
* @hidden
|
|
2247
2260
|
*/
|
|
2248
|
-
this.
|
|
2261
|
+
this.windowRestoreIcon = windowRestoreIcon;
|
|
2262
|
+
this.buttonType = 'button';
|
|
2263
|
+
this.buttonClass = true;
|
|
2249
2264
|
this.window = _service;
|
|
2250
2265
|
this.fillMode = 'flat';
|
|
2251
|
-
this.icon = 'window-
|
|
2266
|
+
this.icon = 'window-restore';
|
|
2252
2267
|
}
|
|
2253
2268
|
/**
|
|
2254
2269
|
* @hidden
|
|
2255
2270
|
*/
|
|
2256
2271
|
onClick() {
|
|
2257
2272
|
if (!this.isDisabled) {
|
|
2258
|
-
this.window.
|
|
2273
|
+
this.window.restoreAction();
|
|
2259
2274
|
}
|
|
2260
2275
|
}
|
|
2261
2276
|
get visible() {
|
|
2262
|
-
return this.window.options.state === 'default' ? '
|
|
2277
|
+
return this.window.options.state === 'default' ? 'none' : 'inline-flex';
|
|
2263
2278
|
}
|
|
2264
2279
|
}
|
|
2265
|
-
|
|
2266
|
-
|
|
2280
|
+
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 });
|
|
2281
|
+
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: [
|
|
2267
2282
|
LocalizationService,
|
|
2268
2283
|
{
|
|
2269
2284
|
provide: L10N_PREFIX,
|
|
2270
2285
|
useValue: 'kendo.button'
|
|
2271
2286
|
}
|
|
2272
|
-
], exportAs: ["
|
|
2287
|
+
], exportAs: ["kendoWindowRestoreAction"], usesInheritance: true, ngImport: i0, template: `
|
|
2273
2288
|
<kendo-icon-wrapper
|
|
2274
2289
|
*ngIf="!imageUrl && !iconClass"
|
|
2275
2290
|
innerCssClass="k-button-icon"
|
|
2276
|
-
name="window-
|
|
2277
|
-
[svgIcon]="
|
|
2291
|
+
name="window-restore"
|
|
2292
|
+
[svgIcon]="windowRestoreIcon">
|
|
2278
2293
|
</kendo-icon-wrapper>
|
|
2279
2294
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2280
2295
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2281
2296
|
</span>
|
|
2282
2297
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
2283
2298
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2284
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
2285
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type:
|
|
2299
|
+
`, 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"] }] });
|
|
2300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowRestoreActionDirective, decorators: [{
|
|
2286
2301
|
type: Component,
|
|
2287
2302
|
args: [{
|
|
2288
|
-
exportAs: '
|
|
2303
|
+
exportAs: 'kendoWindowRestoreAction',
|
|
2289
2304
|
providers: [
|
|
2290
2305
|
LocalizationService,
|
|
2291
2306
|
{
|
|
@@ -2293,20 +2308,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2293
2308
|
useValue: 'kendo.button'
|
|
2294
2309
|
}
|
|
2295
2310
|
],
|
|
2296
|
-
selector: 'button[
|
|
2311
|
+
selector: 'button[kendoWindowRestoreAction]',
|
|
2297
2312
|
template: `
|
|
2298
2313
|
<kendo-icon-wrapper
|
|
2299
2314
|
*ngIf="!imageUrl && !iconClass"
|
|
2300
2315
|
innerCssClass="k-button-icon"
|
|
2301
|
-
name="window-
|
|
2302
|
-
[svgIcon]="
|
|
2316
|
+
name="window-restore"
|
|
2317
|
+
[svgIcon]="windowRestoreIcon">
|
|
2303
2318
|
</kendo-icon-wrapper>
|
|
2304
2319
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2305
2320
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2306
2321
|
</span>
|
|
2307
2322
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
2308
2323
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2309
|
-
|
|
2324
|
+
`,
|
|
2325
|
+
standalone: true,
|
|
2326
|
+
imports: [NgIf, IconWrapperComponent, NgClass]
|
|
2310
2327
|
}]
|
|
2311
2328
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DragResizeService, decorators: [{
|
|
2312
2329
|
type: Optional
|
|
@@ -2352,7 +2369,7 @@ class WindowMaximizeActionDirective extends Button {
|
|
|
2352
2369
|
}
|
|
2353
2370
|
}
|
|
2354
2371
|
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 });
|
|
2355
|
-
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: [
|
|
2372
|
+
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: [
|
|
2356
2373
|
LocalizationService,
|
|
2357
2374
|
{
|
|
2358
2375
|
provide: L10N_PREFIX,
|
|
@@ -2370,7 +2387,7 @@ WindowMaximizeActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
2370
2387
|
</span>
|
|
2371
2388
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
2372
2389
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2373
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
2390
|
+
`, 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"] }] });
|
|
2374
2391
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowMaximizeActionDirective, decorators: [{
|
|
2375
2392
|
type: Component,
|
|
2376
2393
|
args: [{
|
|
@@ -2395,7 +2412,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2395
2412
|
</span>
|
|
2396
2413
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
2397
2414
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2398
|
-
|
|
2415
|
+
`,
|
|
2416
|
+
standalone: true,
|
|
2417
|
+
imports: [NgIf, IconWrapperComponent, NgClass]
|
|
2399
2418
|
}]
|
|
2400
2419
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DragResizeService, decorators: [{
|
|
2401
2420
|
type: Optional
|
|
@@ -2415,55 +2434,55 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2415
2434
|
args: ['style.display']
|
|
2416
2435
|
}] } });
|
|
2417
2436
|
|
|
2418
|
-
class
|
|
2437
|
+
class WindowMinimizeActionDirective extends Button {
|
|
2419
2438
|
constructor(el, renderer, _service, localization, ngZone) {
|
|
2420
2439
|
super(el, renderer, null, localization, ngZone);
|
|
2440
|
+
this.buttonType = 'button';
|
|
2441
|
+
this.buttonClass = true;
|
|
2421
2442
|
/**
|
|
2422
2443
|
* @hidden
|
|
2423
2444
|
*/
|
|
2424
|
-
this.
|
|
2425
|
-
this.buttonType = 'button';
|
|
2426
|
-
this.buttonClass = true;
|
|
2445
|
+
this.windowMinimizeIcon = windowMinimizeIcon;
|
|
2427
2446
|
this.window = _service;
|
|
2428
2447
|
this.fillMode = 'flat';
|
|
2429
|
-
this.icon = 'window-
|
|
2448
|
+
this.icon = 'window-minimize';
|
|
2430
2449
|
}
|
|
2431
2450
|
/**
|
|
2432
2451
|
* @hidden
|
|
2433
2452
|
*/
|
|
2434
2453
|
onClick() {
|
|
2435
2454
|
if (!this.isDisabled) {
|
|
2436
|
-
this.window.
|
|
2455
|
+
this.window.minimizeAction();
|
|
2437
2456
|
}
|
|
2438
2457
|
}
|
|
2439
2458
|
get visible() {
|
|
2440
|
-
return this.window.options.state === 'default' ? '
|
|
2459
|
+
return this.window.options.state === 'default' ? 'inline-flex' : 'none';
|
|
2441
2460
|
}
|
|
2442
2461
|
}
|
|
2443
|
-
|
|
2444
|
-
|
|
2462
|
+
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 });
|
|
2463
|
+
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: [
|
|
2445
2464
|
LocalizationService,
|
|
2446
2465
|
{
|
|
2447
2466
|
provide: L10N_PREFIX,
|
|
2448
2467
|
useValue: 'kendo.button'
|
|
2449
2468
|
}
|
|
2450
|
-
], exportAs: ["
|
|
2469
|
+
], exportAs: ["kendoWindowMinimizeAction"], usesInheritance: true, ngImport: i0, template: `
|
|
2451
2470
|
<kendo-icon-wrapper
|
|
2452
2471
|
*ngIf="!imageUrl && !iconClass"
|
|
2453
2472
|
innerCssClass="k-button-icon"
|
|
2454
|
-
name="window-
|
|
2455
|
-
[svgIcon]="
|
|
2473
|
+
name="window-minimize"
|
|
2474
|
+
[svgIcon]="windowMinimizeIcon">
|
|
2456
2475
|
</kendo-icon-wrapper>
|
|
2457
2476
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2458
2477
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2459
2478
|
</span>
|
|
2460
2479
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
2461
2480
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2462
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
2463
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type:
|
|
2481
|
+
`, 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"] }] });
|
|
2482
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowMinimizeActionDirective, decorators: [{
|
|
2464
2483
|
type: Component,
|
|
2465
2484
|
args: [{
|
|
2466
|
-
exportAs: '
|
|
2485
|
+
exportAs: 'kendoWindowMinimizeAction',
|
|
2467
2486
|
providers: [
|
|
2468
2487
|
LocalizationService,
|
|
2469
2488
|
{
|
|
@@ -2471,20 +2490,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2471
2490
|
useValue: 'kendo.button'
|
|
2472
2491
|
}
|
|
2473
2492
|
],
|
|
2474
|
-
selector: 'button[
|
|
2493
|
+
selector: 'button[kendoWindowMinimizeAction]',
|
|
2475
2494
|
template: `
|
|
2476
2495
|
<kendo-icon-wrapper
|
|
2477
2496
|
*ngIf="!imageUrl && !iconClass"
|
|
2478
2497
|
innerCssClass="k-button-icon"
|
|
2479
|
-
name="window-
|
|
2480
|
-
[svgIcon]="
|
|
2498
|
+
name="window-minimize"
|
|
2499
|
+
[svgIcon]="windowMinimizeIcon">
|
|
2481
2500
|
</kendo-icon-wrapper>
|
|
2482
2501
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2483
2502
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2484
2503
|
</span>
|
|
2485
2504
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
2486
2505
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2487
|
-
|
|
2506
|
+
`,
|
|
2507
|
+
standalone: true,
|
|
2508
|
+
imports: [NgIf, IconWrapperComponent, NgClass]
|
|
2488
2509
|
}]
|
|
2489
2510
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DragResizeService, decorators: [{
|
|
2490
2511
|
type: Optional
|
|
@@ -3056,7 +3077,7 @@ class WindowComponent {
|
|
|
3056
3077
|
}
|
|
3057
3078
|
}
|
|
3058
3079
|
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 });
|
|
3059
|
-
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: [
|
|
3080
|
+
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: [
|
|
3060
3081
|
DragResizeService,
|
|
3061
3082
|
NavigationService,
|
|
3062
3083
|
LocalizationService,
|
|
@@ -3108,7 +3129,7 @@ WindowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
|
|
|
3108
3129
|
</ng-template>
|
|
3109
3130
|
|
|
3110
3131
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
3111
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }, { kind: "directive", type:
|
|
3132
|
+
`, 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]" }] });
|
|
3112
3133
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowComponent, decorators: [{
|
|
3113
3134
|
type: Component,
|
|
3114
3135
|
args: [{
|
|
@@ -3167,7 +3188,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3167
3188
|
</ng-template>
|
|
3168
3189
|
|
|
3169
3190
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
3170
|
-
|
|
3191
|
+
`,
|
|
3192
|
+
standalone: true,
|
|
3193
|
+
imports: [LocalizedMessagesDirective, NgIf, WindowTitleBarComponent, WindowMinimizeActionDirective, WindowMaximizeActionDirective, WindowRestoreActionDirective, WindowCloseActionDirective, NgTemplateOutlet, NgFor, ResizeHandleDirective, DraggableDirective, WatermarkOverlayComponent]
|
|
3171
3194
|
}]
|
|
3172
3195
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DragResizeService }, { type: NavigationService }, { type: i0.NgZone }, { type: i1.LocalizationService }]; }, propDecorators: { autoFocusedElement: [{
|
|
3173
3196
|
type: Input
|
|
@@ -3293,9 +3316,12 @@ class WindowContainerService {
|
|
|
3293
3316
|
}
|
|
3294
3317
|
WindowContainerService.container = null;
|
|
3295
3318
|
WindowContainerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowContainerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3296
|
-
WindowContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowContainerService });
|
|
3319
|
+
WindowContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowContainerService, providedIn: 'root' });
|
|
3297
3320
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowContainerService, decorators: [{
|
|
3298
|
-
type: Injectable
|
|
3321
|
+
type: Injectable,
|
|
3322
|
+
args: [{
|
|
3323
|
+
providedIn: 'root'
|
|
3324
|
+
}]
|
|
3299
3325
|
}] });
|
|
3300
3326
|
|
|
3301
3327
|
const isNotComponent = (component) => isString(component) || component instanceof TemplateRef;
|
|
@@ -3493,9 +3519,12 @@ class WindowService {
|
|
|
3493
3519
|
}
|
|
3494
3520
|
}
|
|
3495
3521
|
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 });
|
|
3496
|
-
WindowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowService });
|
|
3522
|
+
WindowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowService, providedIn: 'root' });
|
|
3497
3523
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowService, decorators: [{
|
|
3498
|
-
type: Injectable
|
|
3524
|
+
type: Injectable,
|
|
3525
|
+
args: [{
|
|
3526
|
+
providedIn: 'root'
|
|
3527
|
+
}]
|
|
3499
3528
|
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: WindowContainerService, decorators: [{
|
|
3500
3529
|
type: Inject,
|
|
3501
3530
|
args: [WindowContainerService]
|
|
@@ -3517,17 +3546,18 @@ class DialogContainerDirective {
|
|
|
3517
3546
|
}
|
|
3518
3547
|
}
|
|
3519
3548
|
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 });
|
|
3520
|
-
DialogContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DialogContainerDirective, selector: "[kendoDialogContainer]", ngImport: i0 });
|
|
3549
|
+
DialogContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DialogContainerDirective, isStandalone: true, selector: "[kendoDialogContainer]", ngImport: i0 });
|
|
3521
3550
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogContainerDirective, decorators: [{
|
|
3522
3551
|
type: Directive,
|
|
3523
3552
|
args: [{
|
|
3524
|
-
selector: '[kendoDialogContainer]'
|
|
3553
|
+
selector: '[kendoDialogContainer]',
|
|
3554
|
+
standalone: true
|
|
3525
3555
|
}]
|
|
3526
3556
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: DialogContainerService }]; } });
|
|
3527
3557
|
|
|
3528
3558
|
/**
|
|
3529
3559
|
* Custom component messages override default component messages
|
|
3530
|
-
* ([see example](
|
|
3560
|
+
* ([see example](slug:globalization_dialogs#toc-internationalization)).
|
|
3531
3561
|
*/
|
|
3532
3562
|
class CustomMessagesComponent extends Messages {
|
|
3533
3563
|
constructor(service) {
|
|
@@ -3539,7 +3569,7 @@ class CustomMessagesComponent extends Messages {
|
|
|
3539
3569
|
}
|
|
3540
3570
|
}
|
|
3541
3571
|
CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3542
|
-
CustomMessagesComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, selector: "kendo-dialog-messages, kendo-window-messages", providers: [
|
|
3572
|
+
CustomMessagesComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-dialog-messages, kendo-window-messages", providers: [
|
|
3543
3573
|
{
|
|
3544
3574
|
provide: Messages,
|
|
3545
3575
|
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
@@ -3555,38 +3585,67 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3555
3585
|
}
|
|
3556
3586
|
],
|
|
3557
3587
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
3558
|
-
selector: 'kendo-dialog-messages, kendo-window-messages'
|
|
3588
|
+
selector: 'kendo-dialog-messages, kendo-window-messages',
|
|
3589
|
+
standalone: true
|
|
3559
3590
|
}]
|
|
3560
3591
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
3561
3592
|
|
|
3562
3593
|
/**
|
|
3563
|
-
*
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
* @hidden
|
|
3594
|
+
* Provides an insertion point for the Windows which are created through the
|
|
3595
|
+
* Window service ([see example]({% slug api_dialog_windowservice %}#toc-open)).
|
|
3596
|
+
* Created Windows will be mounted after that element.
|
|
3597
|
+
*
|
|
3598
|
+
* @example
|
|
3599
|
+
* ```html-no-run
|
|
3600
|
+
* <div kendoWindowContainer></div>
|
|
3601
|
+
* ```
|
|
3572
3602
|
*/
|
|
3573
|
-
class
|
|
3603
|
+
class WindowContainerDirective {
|
|
3604
|
+
constructor(container, service) {
|
|
3605
|
+
service.container = container;
|
|
3606
|
+
}
|
|
3574
3607
|
}
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
CustomMessagesComponent,
|
|
3580
|
-
LocalizedMessagesDirective, CommonModule, IconsModule, ButtonModule] });
|
|
3581
|
-
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, imports: [CommonModule, IconsModule, ButtonModule, CommonModule, IconsModule, ButtonModule] });
|
|
3582
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, decorators: [{
|
|
3583
|
-
type: NgModule,
|
|
3608
|
+
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 });
|
|
3609
|
+
WindowContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: WindowContainerDirective, isStandalone: true, selector: "[kendoWindowContainer]", ngImport: i0 });
|
|
3610
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowContainerDirective, decorators: [{
|
|
3611
|
+
type: Directive,
|
|
3584
3612
|
args: [{
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
imports: [CommonModule, IconsModule, ButtonModule]
|
|
3613
|
+
selector: '[kendoWindowContainer]',
|
|
3614
|
+
standalone: true
|
|
3588
3615
|
}]
|
|
3589
|
-
}] });
|
|
3616
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: WindowContainerService }]; } });
|
|
3617
|
+
|
|
3618
|
+
/**
|
|
3619
|
+
* Utility array that contains all `Dialog` related components and directives.
|
|
3620
|
+
*/
|
|
3621
|
+
const KENDO_DIALOG = [
|
|
3622
|
+
DialogComponent,
|
|
3623
|
+
DialogTitleBarComponent,
|
|
3624
|
+
DialogContainerDirective,
|
|
3625
|
+
DialogActionsComponent,
|
|
3626
|
+
CustomMessagesComponent
|
|
3627
|
+
];
|
|
3628
|
+
/**
|
|
3629
|
+
* Utility array that contains all `Window` related components and directives.
|
|
3630
|
+
*/
|
|
3631
|
+
const KENDO_WINDOW = [
|
|
3632
|
+
WindowComponent,
|
|
3633
|
+
WindowCloseActionDirective,
|
|
3634
|
+
WindowMinimizeActionDirective,
|
|
3635
|
+
WindowMaximizeActionDirective,
|
|
3636
|
+
WindowRestoreActionDirective,
|
|
3637
|
+
WindowTitleBarComponent,
|
|
3638
|
+
WindowContainerDirective,
|
|
3639
|
+
DialogActionsComponent,
|
|
3640
|
+
CustomMessagesComponent
|
|
3641
|
+
];
|
|
3642
|
+
/**
|
|
3643
|
+
* Utility array that contains all `@progress/kendo-angular-dialog` related components and directives.
|
|
3644
|
+
*/
|
|
3645
|
+
const KENDO_DIALOGS = [
|
|
3646
|
+
...KENDO_DIALOG,
|
|
3647
|
+
...KENDO_WINDOW
|
|
3648
|
+
];
|
|
3590
3649
|
|
|
3591
3650
|
/**
|
|
3592
3651
|
* @hidden
|
|
@@ -3595,6 +3654,7 @@ const DIALOG_DIRECTIVES = [
|
|
|
3595
3654
|
DialogComponent,
|
|
3596
3655
|
DialogTitleBarComponent
|
|
3597
3656
|
];
|
|
3657
|
+
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
3598
3658
|
/**
|
|
3599
3659
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
3600
3660
|
* definition for the Dialog component that includes all Dialog components and directives.
|
|
@@ -3620,66 +3680,23 @@ const DIALOG_DIRECTIVES = [
|
|
|
3620
3680
|
class DialogModule {
|
|
3621
3681
|
}
|
|
3622
3682
|
DialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3623
|
-
DialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DialogModule,
|
|
3624
|
-
|
|
3625
|
-
DialogTitleBarComponent, DialogActionsComponent, CustomMessagesComponent, LocalizedMessagesDirective, DialogContainerDirective] });
|
|
3626
|
-
DialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogModule, providers: [DialogContainerService, DialogService], imports: [SharedModule, WatermarkModule] });
|
|
3683
|
+
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] });
|
|
3684
|
+
DialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogModule, providers: [DialogContainerService, DialogService, IconsService], imports: [DialogComponent, DialogTitleBarComponent, DialogActionsComponent] });
|
|
3627
3685
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogModule, decorators: [{
|
|
3628
3686
|
type: NgModule,
|
|
3629
3687
|
args: [{
|
|
3630
|
-
declarations: [DIALOG_DIRECTIVES, DialogContainerDirective],
|
|
3631
3688
|
entryComponents: [DIALOG_DIRECTIVES],
|
|
3632
|
-
exports: [
|
|
3633
|
-
imports: [
|
|
3634
|
-
providers: [DialogContainerService, DialogService]
|
|
3689
|
+
exports: [...KENDO_DIALOG],
|
|
3690
|
+
imports: [...KENDO_DIALOG],
|
|
3691
|
+
providers: [DialogContainerService, DialogService, IconsService]
|
|
3635
3692
|
}]
|
|
3636
3693
|
}] });
|
|
3637
3694
|
|
|
3638
|
-
/**
|
|
3639
|
-
* Provides an insertion point for the Windows which are created through the
|
|
3640
|
-
* Window service ([see example]({% slug api_dialog_windowservice %}#toc-open)).
|
|
3641
|
-
* Created Windows will be mounted after that element.
|
|
3642
|
-
*
|
|
3643
|
-
* @example
|
|
3644
|
-
* ```html-no-run
|
|
3645
|
-
* <div kendoWindowContainer></div>
|
|
3646
|
-
* ```
|
|
3647
|
-
*/
|
|
3648
|
-
class WindowContainerDirective {
|
|
3649
|
-
constructor(container, service) {
|
|
3650
|
-
service.container = container;
|
|
3651
|
-
}
|
|
3652
|
-
}
|
|
3653
|
-
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 });
|
|
3654
|
-
WindowContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: WindowContainerDirective, selector: "[kendoWindowContainer]", ngImport: i0 });
|
|
3655
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowContainerDirective, decorators: [{
|
|
3656
|
-
type: Directive,
|
|
3657
|
-
args: [{
|
|
3658
|
-
selector: '[kendoWindowContainer]'
|
|
3659
|
-
}]
|
|
3660
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: WindowContainerService }]; } });
|
|
3661
|
-
|
|
3662
|
-
const WINDOW_DIRECTIVES = [
|
|
3663
|
-
ResizeHandleDirective,
|
|
3664
|
-
WindowComponent,
|
|
3665
|
-
WindowTitleBarComponent,
|
|
3666
|
-
WindowCloseActionDirective,
|
|
3667
|
-
WindowMinimizeActionDirective,
|
|
3668
|
-
WindowMaximizeActionDirective,
|
|
3669
|
-
WindowRestoreActionDirective
|
|
3670
|
-
];
|
|
3671
3695
|
const ENTRY_COMPONENTS = [
|
|
3672
3696
|
WindowComponent,
|
|
3673
3697
|
WindowTitleBarComponent
|
|
3674
3698
|
];
|
|
3675
|
-
|
|
3676
|
-
WindowComponent,
|
|
3677
|
-
WindowCloseActionDirective,
|
|
3678
|
-
WindowMinimizeActionDirective,
|
|
3679
|
-
WindowMaximizeActionDirective,
|
|
3680
|
-
WindowRestoreActionDirective,
|
|
3681
|
-
WindowTitleBarComponent
|
|
3682
|
-
];
|
|
3699
|
+
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
3683
3700
|
/**
|
|
3684
3701
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
3685
3702
|
* definition for the Window component. Imports `WindowModule` into the
|
|
@@ -3705,30 +3722,19 @@ const exportedModules = [
|
|
|
3705
3722
|
class WindowModule {
|
|
3706
3723
|
}
|
|
3707
3724
|
WindowModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3708
|
-
WindowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: WindowModule,
|
|
3709
|
-
|
|
3710
|
-
WindowTitleBarComponent,
|
|
3711
|
-
WindowCloseActionDirective,
|
|
3712
|
-
WindowMinimizeActionDirective,
|
|
3713
|
-
WindowMaximizeActionDirective,
|
|
3714
|
-
WindowRestoreActionDirective, WindowContainerDirective], imports: [SharedModule, DraggableModule, WatermarkModule], exports: [WindowComponent,
|
|
3715
|
-
WindowCloseActionDirective,
|
|
3716
|
-
WindowMinimizeActionDirective,
|
|
3717
|
-
WindowMaximizeActionDirective,
|
|
3718
|
-
WindowRestoreActionDirective,
|
|
3719
|
-
WindowTitleBarComponent, DialogActionsComponent, CustomMessagesComponent, LocalizedMessagesDirective, WindowContainerDirective] });
|
|
3720
|
-
WindowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowModule, providers: [WindowContainerService, WindowService], imports: [SharedModule, DraggableModule, WatermarkModule] });
|
|
3725
|
+
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] });
|
|
3726
|
+
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] });
|
|
3721
3727
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WindowModule, decorators: [{
|
|
3722
3728
|
type: NgModule,
|
|
3723
3729
|
args: [{
|
|
3724
|
-
|
|
3730
|
+
imports: [...KENDO_WINDOW],
|
|
3731
|
+
exports: [...KENDO_WINDOW],
|
|
3725
3732
|
entryComponents: [ENTRY_COMPONENTS],
|
|
3726
|
-
|
|
3727
|
-
imports: [SharedModule, DraggableModule, WatermarkModule],
|
|
3728
|
-
providers: [WindowContainerService, WindowService]
|
|
3733
|
+
providers: [WindowContainerService, WindowService, IconsService]
|
|
3729
3734
|
}]
|
|
3730
3735
|
}] });
|
|
3731
3736
|
|
|
3737
|
+
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
3732
3738
|
/**
|
|
3733
3739
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
3734
3740
|
* definition for the Dialogs components.
|
|
@@ -3757,12 +3763,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3757
3763
|
class DialogsModule {
|
|
3758
3764
|
}
|
|
3759
3765
|
DialogsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3760
|
-
DialogsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DialogsModule, exports: [
|
|
3761
|
-
DialogsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogsModule, imports: [
|
|
3766
|
+
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] });
|
|
3767
|
+
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] });
|
|
3762
3768
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogsModule, decorators: [{
|
|
3763
3769
|
type: NgModule,
|
|
3764
3770
|
args: [{
|
|
3765
|
-
|
|
3771
|
+
imports: [...KENDO_DIALOGS],
|
|
3772
|
+
exports: [...KENDO_DIALOGS],
|
|
3773
|
+
providers: [IconsService, DialogService, DialogContainerService, WindowService, WindowContainerService]
|
|
3766
3774
|
}]
|
|
3767
3775
|
}] });
|
|
3768
3776
|
|
|
@@ -3770,5 +3778,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3770
3778
|
* Generated bundle index. Do not edit.
|
|
3771
3779
|
*/
|
|
3772
3780
|
|
|
3773
|
-
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 };
|
|
3781
|
+
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 };
|
|
3774
3782
|
|