@progress/kendo-angular-dialog 7.1.5 → 11.0.0-develop.80
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/NOTICE.txt +3 -3
- package/common/actions-layout.d.ts +1 -1
- package/common/animation-types.d.ts +1 -1
- package/common/dialog-animation-direction.d.ts +1 -1
- package/common/preventable-event.d.ts +1 -1
- package/common/util.d.ts +1 -1
- package/dialog/dialog-actions.component.d.ts +1 -1
- package/dialog/dialog-animations/animate-content.d.ts +1 -1
- package/dialog/dialog-animations/animations.d.ts +1 -1
- package/dialog/dialog-animations/create-animation-player.d.ts +1 -1
- package/dialog/dialog-container.directive.d.ts +1 -1
- package/dialog/dialog-container.service.d.ts +1 -1
- package/dialog/dialog-content-base.d.ts +1 -1
- package/dialog/dialog-titlebar.component.d.ts +6 -1
- package/dialog/dialog.component.d.ts +1 -1
- package/dialog/dialog.service.d.ts +1 -1
- package/dialog/models/dialog-action.d.ts +1 -1
- package/dialog/models/dialog-animation.d.ts +1 -1
- package/dialog/models/dialog-close-result.d.ts +1 -1
- package/dialog/models/dialog-ref.d.ts +1 -1
- package/dialog/models/dialog-result.d.ts +1 -1
- package/dialog/models/dialog-settings.d.ts +1 -1
- package/dialog/models/index.d.ts +1 -1
- package/dialog.module.d.ts +1 -1
- package/dialogs.module.d.ts +1 -1
- package/{esm2015/dialog/models/dialog-animation.js → esm2020/common/actions-layout.mjs} +1 -1
- package/{esm2015/common/actions-layout.js → esm2020/common/animation-types.mjs} +1 -1
- package/{esm2015/common/animation-types.js → esm2020/common/dialog-animation-direction.mjs} +1 -1
- package/{esm2015/common/preventable-event.js → esm2020/common/preventable-event.mjs} +1 -1
- package/{esm2015/common/util.js → esm2020/common/util.mjs} +1 -1
- package/{esm2015/dialog/dialog-actions.component.js → esm2020/dialog/dialog-actions.component.mjs} +5 -5
- package/{esm2015/dialog/dialog-animations/animate-content.js → esm2020/dialog/dialog-animations/animate-content.mjs} +1 -1
- package/{esm2015/dialog/dialog-animations/animations.js → esm2020/dialog/dialog-animations/animations.mjs} +9 -5
- package/{esm2015/dialog/dialog-animations/create-animation-player.js → esm2020/dialog/dialog-animations/create-animation-player.mjs} +1 -1
- package/{esm2015/dialog/dialog-container.directive.js → esm2020/dialog/dialog-container.directive.mjs} +6 -5
- package/{esm2015/dialog/dialog-container.service.js → esm2020/dialog/dialog-container.service.mjs} +4 -4
- package/{esm2015/dialog/dialog-content-base.js → esm2020/dialog/dialog-content-base.mjs} +5 -4
- package/{esm2015/dialog/dialog-titlebar.component.js → esm2020/dialog/dialog-titlebar.component.mjs} +17 -13
- package/{esm2015/dialog/dialog.component.js → esm2020/dialog/dialog.component.mjs} +10 -6
- package/{esm2015/dialog/dialog.service.js → esm2020/dialog/dialog.service.mjs} +5 -5
- package/{esm2015/dialog/models/dialog-action.js → esm2020/dialog/models/dialog-action.mjs} +1 -1
- package/{esm2015/common/dialog-animation-direction.js → esm2020/dialog/models/dialog-animation.mjs} +1 -1
- package/{esm2015/dialog/models/dialog-close-result.js → esm2020/dialog/models/dialog-close-result.mjs} +1 -1
- package/{esm2015/dialog/models/dialog-ref.js → esm2020/dialog/models/dialog-ref.mjs} +1 -1
- package/esm2020/dialog/models/dialog-result.mjs +5 -0
- package/{esm2015/dialog/models/dialog-settings.js → esm2020/dialog/models/dialog-settings.mjs} +1 -1
- package/{esm2015/dialog/models/index.js → esm2020/dialog/models/index.mjs} +1 -1
- package/{esm2015/dialog.module.js → esm2020/dialog.module.mjs} +5 -5
- package/{esm2015/dialogs.module.js → esm2020/dialogs.module.mjs} +5 -5
- package/{esm2015/main.js → esm2020/index.mjs} +1 -1
- package/{esm2015/localization/custom-messages.component.js → esm2020/localization/custom-messages.component.mjs} +5 -4
- package/{esm2015/localization/dialog-localization.service.js → esm2020/localization/dialog-localization.service.mjs} +1 -1
- package/{esm2015/localization/localized-messages.directive.js → esm2020/localization/localized-messages.directive.mjs} +5 -4
- package/{esm2015/localization/messages.js → esm2020/localization/messages.mjs} +4 -4
- package/{esm2015/localization/titlebar-localization.service.js → esm2020/localization/titlebar-localization.service.mjs} +5 -5
- package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
- package/{esm2015/kendo-angular-dialog.js → esm2020/progress-kendo-angular-dialog.mjs} +2 -2
- package/{esm2015/shared.module.js → esm2020/shared.module.mjs} +10 -9
- package/{esm2015/window/actions/window-close-action.directive.js → esm2020/window/actions/window-close-action.directive.mjs} +37 -8
- package/{esm2015/window/actions/window-maximize-action.directive.js → esm2020/window/actions/window-maximize-action.directive.mjs} +37 -8
- package/{esm2015/window/actions/window-minimize-action.directive.js → esm2020/window/actions/window-minimize-action.directive.mjs} +37 -8
- package/{esm2015/window/actions/window-restore-action.directive.js → esm2020/window/actions/window-restore-action.directive.mjs} +37 -8
- package/{esm2015/window/drag-resize.service.js → esm2020/window/drag-resize.service.mjs} +13 -13
- package/{esm2015/window/models/index.js → esm2020/window/models/index.mjs} +1 -1
- package/{esm2015/window/models/window-close-result.js → esm2020/window/models/window-close-result.mjs} +1 -1
- package/esm2020/window/models/window-messages.mjs +5 -0
- package/esm2020/window/models/window-options.mjs +5 -0
- package/{esm2015/window/models/window-ref.js → esm2020/window/models/window-ref.mjs} +1 -1
- package/{esm2015/window/models/window-settings.js → esm2020/window/models/window-settings.mjs} +1 -1
- package/esm2020/window/models/window-types.mjs +5 -0
- package/{esm2015/window/navigation.service.js → esm2020/window/navigation.service.mjs} +10 -9
- package/{esm2015/window/window-container.directive.js → esm2020/window/window-container.directive.mjs} +6 -5
- package/{esm2015/window/window-container.service.js → esm2020/window/window-container.service.mjs} +4 -4
- package/esm2020/window/window-events.mjs +5 -0
- package/{esm2015/window/window-resize-handle.directive.js → esm2020/window/window-resize-handle.directive.mjs} +7 -5
- package/{esm2015/window/window-titlebar.component.js → esm2020/window/window-titlebar.component.mjs} +6 -5
- package/{esm2015/window/window.component.js → esm2020/window/window.component.mjs} +16 -13
- package/{esm2015/window/window.service.js → esm2020/window/window.service.mjs} +5 -5
- package/{esm2015/window.module.js → esm2020/window.module.mjs} +5 -5
- package/fesm2015/progress-kendo-angular-dialog.mjs +3671 -0
- package/{fesm2015/kendo-angular-dialog.js → fesm2020/progress-kendo-angular-dialog.mjs} +249 -134
- package/{main.d.ts → index.d.ts} +1 -1
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/dialog-localization.service.d.ts +1 -1
- package/localization/localized-messages.directive.d.ts +1 -1
- package/localization/messages.d.ts +1 -1
- package/localization/titlebar-localization.service.d.ts +1 -1
- package/package-metadata.d.ts +1 -1
- package/package.json +30 -56
- package/{kendo-angular-dialog.d.ts → progress-kendo-angular-dialog.d.ts} +2 -2
- package/schematics/ngAdd/index.js +4 -6
- package/shared.module.d.ts +3 -2
- package/window/actions/window-close-action.directive.d.ts +7 -2
- package/window/actions/window-maximize-action.directive.d.ts +7 -2
- package/window/actions/window-minimize-action.directive.d.ts +7 -2
- package/window/actions/window-restore-action.directive.d.ts +7 -2
- package/window/drag-resize.service.d.ts +1 -1
- package/window/models/index.d.ts +1 -1
- package/window/models/window-close-result.d.ts +1 -1
- package/window/models/window-messages.d.ts +1 -1
- package/window/models/window-options.d.ts +1 -1
- package/window/models/window-ref.d.ts +1 -1
- package/window/models/window-settings.d.ts +1 -1
- package/window/models/window-types.d.ts +1 -1
- package/window/navigation.service.d.ts +1 -1
- package/window/window-container.directive.d.ts +1 -1
- package/window/window-container.service.d.ts +1 -1
- package/window/window-events.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/window.service.d.ts +1 -1
- package/window.module.d.ts +1 -1
- package/bundles/kendo-angular-dialog.umd.js +0 -5
- package/esm2015/dialog/models/dialog-result.js +0 -5
- package/esm2015/window/models/window-messages.js +0 -5
- package/esm2015/window/models/window-options.js +0 -5
- package/esm2015/window/models/window-types.js +0 -5
- package/esm2015/window/window-events.js +0 -5
- package/schematics/ngAdd/index.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
@@ -8,13 +8,16 @@ import * as i2 from '@angular/animations';
|
|
|
8
8
|
import { style, animate, keyframes, trigger, state, transition } from '@angular/animations';
|
|
9
9
|
import { of, Subscription, Subject, merge } from 'rxjs';
|
|
10
10
|
import { delay, takeUntil, take, filter, map, share, tap, switchMap } from 'rxjs/operators';
|
|
11
|
-
import * as
|
|
11
|
+
import * as i4 from '@angular/common';
|
|
12
12
|
import { CommonModule } from '@angular/common';
|
|
13
13
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
14
14
|
import { LocalizationService, L10N_PREFIX, RTL, ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
15
|
+
import { xIcon, windowMinimizeIcon, windowIcon, windowRestoreIcon } from '@progress/kendo-svg-icons';
|
|
16
|
+
import * as i3 from '@progress/kendo-angular-icons';
|
|
17
|
+
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
15
18
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
16
19
|
import * as i1$1 from '@progress/kendo-angular-common';
|
|
17
|
-
import { DraggableDirective, isChanged,
|
|
20
|
+
import { isDocumentAvailable, DraggableDirective, isChanged, DraggableModule } from '@progress/kendo-angular-common';
|
|
18
21
|
import { offset, scrollPosition, positionWithScroll, getDocumentElement, getWindowViewPort } from '@progress/kendo-popup-common';
|
|
19
22
|
import { Button } from '@progress/kendo-angular-buttons';
|
|
20
23
|
|
|
@@ -273,8 +276,8 @@ class DialogActionsComponent {
|
|
|
273
276
|
return classes.join(' ');
|
|
274
277
|
}
|
|
275
278
|
}
|
|
276
|
-
DialogActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
277
|
-
DialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
279
|
+
DialogActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogActionsComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
280
|
+
DialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: { actions: "actions", layout: "layout" }, outputs: { action: "action" }, host: { properties: { "class.k-dialog-buttongroup": "this.buttonGroupClassName", "class.k-actions": "this.buttonGroupClassName", "class.k-actions-stretched": "this.className" } }, ngImport: i0, template: `
|
|
278
281
|
<ng-content *ngIf="!actions"></ng-content>
|
|
279
282
|
<ng-container *ngIf="actionsArray; else actionTemplate">
|
|
280
283
|
<button
|
|
@@ -288,8 +291,8 @@ DialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
288
291
|
</button>
|
|
289
292
|
</ng-container>
|
|
290
293
|
<ng-template #actionTemplate [ngTemplateOutlet]="actionsTemplate"></ng-template>
|
|
291
|
-
`, isInline: true, directives: [{ type:
|
|
292
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
294
|
+
`, isInline: true, directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
295
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogActionsComponent, decorators: [{
|
|
293
296
|
type: Component,
|
|
294
297
|
args: [{
|
|
295
298
|
selector: 'kendo-dialog-actions',
|
|
@@ -370,9 +373,9 @@ class TitleBarLocalizationService extends LocalizationService {
|
|
|
370
373
|
return super.get(shortKey);
|
|
371
374
|
}
|
|
372
375
|
}
|
|
373
|
-
TitleBarLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
374
|
-
TitleBarLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
375
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
376
|
+
TitleBarLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TitleBarLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i1.MessageService, optional: true }, { token: RTL, optional: true }, { token: DIALOG_LOCALIZATION_SERVICE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
377
|
+
TitleBarLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TitleBarLocalizationService });
|
|
378
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TitleBarLocalizationService, decorators: [{
|
|
376
379
|
type: Injectable
|
|
377
380
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
378
381
|
type: Inject,
|
|
@@ -396,9 +399,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
396
399
|
*/
|
|
397
400
|
class Messages extends ComponentMessages {
|
|
398
401
|
}
|
|
399
|
-
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
400
|
-
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
401
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
402
|
+
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
403
|
+
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: Messages, selector: "kendo-dialog-messages-base", inputs: { closeTitle: "closeTitle", restoreTitle: "restoreTitle", maximizeTitle: "maximizeTitle", minimizeTitle: "minimizeTitle" }, usesInheritance: true, ngImport: i0 });
|
|
404
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages, decorators: [{
|
|
402
405
|
type: Directive,
|
|
403
406
|
args: [{
|
|
404
407
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -423,14 +426,14 @@ class LocalizedMessagesDirective extends Messages {
|
|
|
423
426
|
this.service = service;
|
|
424
427
|
}
|
|
425
428
|
}
|
|
426
|
-
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
427
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
429
|
+
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
430
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n ", providers: [
|
|
428
431
|
{
|
|
429
432
|
provide: Messages,
|
|
430
433
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
431
434
|
}
|
|
432
435
|
], usesInheritance: true, ngImport: i0 });
|
|
433
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
436
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
434
437
|
type: Directive,
|
|
435
438
|
args: [{
|
|
436
439
|
providers: [
|
|
@@ -461,6 +464,10 @@ class DialogTitleBarComponent {
|
|
|
461
464
|
* Fires when the close button of the title-bar is clicked.
|
|
462
465
|
*/
|
|
463
466
|
this.close = new EventEmitter();
|
|
467
|
+
/**
|
|
468
|
+
* @hidden
|
|
469
|
+
*/
|
|
470
|
+
this.xIcon = xIcon;
|
|
464
471
|
}
|
|
465
472
|
get className() {
|
|
466
473
|
return true;
|
|
@@ -483,8 +490,8 @@ class DialogTitleBarComponent {
|
|
|
483
490
|
this.close.emit(eventArgs);
|
|
484
491
|
}
|
|
485
492
|
}
|
|
486
|
-
DialogTitleBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
487
|
-
DialogTitleBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
493
|
+
DialogTitleBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogTitleBarComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i1.LocalizationService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
494
|
+
DialogTitleBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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: [
|
|
488
495
|
TitleBarLocalizationService,
|
|
489
496
|
{
|
|
490
497
|
provide: LocalizationService,
|
|
@@ -510,14 +517,13 @@ DialogTitleBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
510
517
|
[attr.title]="closeButtonTitle"
|
|
511
518
|
[attr.aria-label]="closeButtonTitle"
|
|
512
519
|
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-window-action k-dialog-action"
|
|
513
|
-
(click)="onCloseClick($event)"
|
|
514
|
-
|
|
515
|
-
<span class="k-button-icon k-icon k-i-x"></span>
|
|
520
|
+
(click)="onCloseClick($event)">
|
|
521
|
+
<kendo-icon-wrapper name="x" [svgIcon]="xIcon" innerCssClass="k-button-icon"></kendo-icon-wrapper>
|
|
516
522
|
</button>
|
|
517
523
|
</div>
|
|
518
524
|
</ng-container>
|
|
519
|
-
`, isInline: true, directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }] });
|
|
520
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
525
|
+
`, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }] });
|
|
526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogTitleBarComponent, decorators: [{
|
|
521
527
|
type: Component,
|
|
522
528
|
args: [{
|
|
523
529
|
selector: 'kendo-dialog-titlebar',
|
|
@@ -548,9 +554,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
548
554
|
[attr.title]="closeButtonTitle"
|
|
549
555
|
[attr.aria-label]="closeButtonTitle"
|
|
550
556
|
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-window-action k-dialog-action"
|
|
551
|
-
(click)="onCloseClick($event)"
|
|
552
|
-
|
|
553
|
-
<span class="k-button-icon k-icon k-i-x"></span>
|
|
557
|
+
(click)="onCloseClick($event)">
|
|
558
|
+
<kendo-icon-wrapper name="x" [svgIcon]="xIcon" innerCssClass="k-button-icon"></kendo-icon-wrapper>
|
|
554
559
|
</button>
|
|
555
560
|
</div>
|
|
556
561
|
</ng-container>
|
|
@@ -579,9 +584,9 @@ const packageMetadata = {
|
|
|
579
584
|
name: '@progress/kendo-angular-dialog',
|
|
580
585
|
productName: 'Kendo UI for Angular',
|
|
581
586
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
582
|
-
publishDate:
|
|
587
|
+
publishDate: 1672394562,
|
|
583
588
|
version: '',
|
|
584
|
-
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license
|
|
589
|
+
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
585
590
|
};
|
|
586
591
|
|
|
587
592
|
/**
|
|
@@ -597,7 +602,7 @@ class DialogCloseResult {
|
|
|
597
602
|
*/
|
|
598
603
|
function animations(duration, direction, animationType) {
|
|
599
604
|
switch (animationType) {
|
|
600
|
-
case 'slide':
|
|
605
|
+
case 'slide': {
|
|
601
606
|
const translate = direction === 'left' || direction === 'right' ? 'translateX' : 'translateY';
|
|
602
607
|
const start = direction === 'right' || direction === 'down' ? -100 : 100;
|
|
603
608
|
const end = 0;
|
|
@@ -605,7 +610,8 @@ function animations(duration, direction, animationType) {
|
|
|
605
610
|
style({ transform: `${translate}(${start}%)` }),
|
|
606
611
|
animate(`${duration}ms ease-in`, style({ transform: `${translate}(${end}%)` }))
|
|
607
612
|
];
|
|
608
|
-
|
|
613
|
+
}
|
|
614
|
+
case 'expand': {
|
|
609
615
|
const scale = direction === 'up' || direction === 'down' ? 'scaleY' : 'scaleX';
|
|
610
616
|
const startScale = 0;
|
|
611
617
|
const endScale = 1;
|
|
@@ -626,7 +632,8 @@ function animations(duration, direction, animationType) {
|
|
|
626
632
|
style({ transform: `${scale}(${startScale})`, transformOrigin: origin }),
|
|
627
633
|
animate(`${duration}ms ease-in`, style({ transform: `${scale}(${endScale})` }))
|
|
628
634
|
];
|
|
629
|
-
|
|
635
|
+
}
|
|
636
|
+
case 'zoom': {
|
|
630
637
|
const startZoom = 0;
|
|
631
638
|
const endZoom = 1;
|
|
632
639
|
return [
|
|
@@ -635,7 +642,8 @@ function animations(duration, direction, animationType) {
|
|
|
635
642
|
style({ transform: `scale(${endZoom})` })
|
|
636
643
|
]))
|
|
637
644
|
];
|
|
638
|
-
|
|
645
|
+
}
|
|
646
|
+
case 'fade': {
|
|
639
647
|
const startFade = 0;
|
|
640
648
|
const endFade = 1;
|
|
641
649
|
return [
|
|
@@ -644,6 +652,7 @@ function animations(duration, direction, animationType) {
|
|
|
644
652
|
style({ opacity: `${endFade}` })
|
|
645
653
|
]))
|
|
646
654
|
];
|
|
655
|
+
}
|
|
647
656
|
case 'translate':
|
|
648
657
|
return [
|
|
649
658
|
style({ transform: 'translate(0, -10%)' }),
|
|
@@ -788,6 +797,9 @@ class DialogComponent {
|
|
|
788
797
|
}
|
|
789
798
|
}
|
|
790
799
|
ngAfterViewInit() {
|
|
800
|
+
if (!isDocumentAvailable()) {
|
|
801
|
+
return;
|
|
802
|
+
}
|
|
791
803
|
this.handleInitialFocus();
|
|
792
804
|
this.bubble('close', this.titlebarView.first);
|
|
793
805
|
this.bubble('action', this.actionsView);
|
|
@@ -1004,8 +1016,8 @@ class DialogComponent {
|
|
|
1004
1016
|
}
|
|
1005
1017
|
}
|
|
1006
1018
|
}
|
|
1007
|
-
DialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1008
|
-
DialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1019
|
+
DialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", 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 });
|
|
1020
|
+
DialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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" }, outputs: { action: "action", close: "close" }, host: { properties: { "attr.dir": "this.dir", "attr.tabIndex": "this.tabIndex", "class.k-dialog-wrapper": "this.wrapperClass" } }, providers: [
|
|
1009
1021
|
LocalizationService,
|
|
1010
1022
|
{
|
|
1011
1023
|
provide: DIALOG_LOCALIZATION_SERVICE,
|
|
@@ -1036,13 +1048,13 @@ DialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
1036
1048
|
<kendo-dialog-actions *ngIf="actions" [actions]="actions" [layout]="actionsLayout"> </kendo-dialog-actions>
|
|
1037
1049
|
</div>
|
|
1038
1050
|
</ng-container>
|
|
1039
|
-
`, isInline: true, components: [{ type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }, { type:
|
|
1051
|
+
`, isInline: true, components: [{ type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], animations: [
|
|
1040
1052
|
trigger('overlayAppear', [
|
|
1041
1053
|
state('in', style({ opacity: 1 })),
|
|
1042
1054
|
transition('void => *', [style({ opacity: 0.1 }), animate('.3s cubic-bezier(.2, .6, .4, 1)')])
|
|
1043
1055
|
])
|
|
1044
1056
|
] });
|
|
1045
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1057
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogComponent, decorators: [{
|
|
1046
1058
|
type: Component,
|
|
1047
1059
|
args: [{
|
|
1048
1060
|
animations: [
|
|
@@ -1169,9 +1181,9 @@ class DialogContentBase {
|
|
|
1169
1181
|
}
|
|
1170
1182
|
}
|
|
1171
1183
|
}
|
|
1172
|
-
DialogContentBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1173
|
-
DialogContentBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1184
|
+
DialogContentBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogContentBase, deps: [{ token: DialogRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1185
|
+
DialogContentBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DialogContentBase, viewQueries: [{ propertyName: "dialogTitleBar", first: true, predicate: DialogTitleBarComponent, descendants: true }, { propertyName: "dialogActions", first: true, predicate: DialogActionsComponent, descendants: true }], ngImport: i0 });
|
|
1186
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogContentBase, decorators: [{
|
|
1175
1187
|
type: Directive
|
|
1176
1188
|
}], ctorParameters: function () { return [{ type: DialogRef }]; }, propDecorators: { dialogTitleBar: [{
|
|
1177
1189
|
type: ViewChild,
|
|
@@ -1193,9 +1205,9 @@ class DialogContainerService {
|
|
|
1193
1205
|
}
|
|
1194
1206
|
}
|
|
1195
1207
|
DialogContainerService.container = null;
|
|
1196
|
-
DialogContainerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1197
|
-
DialogContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1198
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1208
|
+
DialogContainerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogContainerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1209
|
+
DialogContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogContainerService });
|
|
1210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogContainerService, decorators: [{
|
|
1199
1211
|
type: Injectable
|
|
1200
1212
|
}] });
|
|
1201
1213
|
|
|
@@ -1414,9 +1426,9 @@ See https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/service/.
|
|
|
1414
1426
|
};
|
|
1415
1427
|
}
|
|
1416
1428
|
}
|
|
1417
|
-
DialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1418
|
-
DialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1419
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1429
|
+
DialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogService, deps: [{ token: i0.ComponentFactoryResolver }, { token: DialogContainerService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1430
|
+
DialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogService });
|
|
1431
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogService, decorators: [{
|
|
1420
1432
|
type: Injectable
|
|
1421
1433
|
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: DialogContainerService, decorators: [{
|
|
1422
1434
|
type: Inject,
|
|
@@ -1483,7 +1495,7 @@ class DragResizeService {
|
|
|
1483
1495
|
}
|
|
1484
1496
|
init(el) {
|
|
1485
1497
|
const state = this.options.state;
|
|
1486
|
-
|
|
1498
|
+
const options = this.options;
|
|
1487
1499
|
this.window = el;
|
|
1488
1500
|
if (state !== 'default') {
|
|
1489
1501
|
this.restoreOptions = Object.assign({}, options);
|
|
@@ -1549,15 +1561,15 @@ class DragResizeService {
|
|
|
1549
1561
|
this.resizeStart.emit(direction);
|
|
1550
1562
|
resizeStarted = true;
|
|
1551
1563
|
}
|
|
1552
|
-
|
|
1553
|
-
|
|
1564
|
+
const deltaX = pageX - originalX;
|
|
1565
|
+
const deltaY = pageY - originalY;
|
|
1554
1566
|
this.handleResize(startOffsetAndPosition, direction, deltaX, deltaY);
|
|
1555
1567
|
});
|
|
1556
1568
|
}));
|
|
1557
1569
|
}
|
|
1558
1570
|
handleResize(initial, dir, deltaX, deltaY) {
|
|
1559
1571
|
const old = this.options;
|
|
1560
|
-
|
|
1572
|
+
const ev = {};
|
|
1561
1573
|
if (dir.indexOf('e') >= 0) {
|
|
1562
1574
|
const newWidth = initial.width + deltaX;
|
|
1563
1575
|
if (newWidth !== old.width && newWidth >= old.minWidth) {
|
|
@@ -1683,10 +1695,10 @@ class DragResizeService {
|
|
|
1683
1695
|
if (this.options.state === 'maximized') {
|
|
1684
1696
|
return;
|
|
1685
1697
|
}
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1698
|
+
const scroll = scrollPosition(this.window.nativeElement);
|
|
1699
|
+
const wnd = this.windowViewPort;
|
|
1700
|
+
const wrapper = offset(this.window.nativeElement);
|
|
1701
|
+
const ev = {};
|
|
1690
1702
|
if (!isPresent(this.options.left)) {
|
|
1691
1703
|
this.options.left = scroll.x + Math.max(0, (wnd.width - wrapper.width) / 2);
|
|
1692
1704
|
ev.left = this.options.left;
|
|
@@ -1735,9 +1747,9 @@ class DragResizeService {
|
|
|
1735
1747
|
return getWindowViewPort(this.window.nativeElement);
|
|
1736
1748
|
}
|
|
1737
1749
|
}
|
|
1738
|
-
DragResizeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1739
|
-
DragResizeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1740
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1750
|
+
DragResizeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragResizeService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1751
|
+
DragResizeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragResizeService });
|
|
1752
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DragResizeService, decorators: [{
|
|
1741
1753
|
type: Injectable
|
|
1742
1754
|
}], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
|
|
1743
1755
|
|
|
@@ -1783,9 +1795,9 @@ class ResizeHandleDirective {
|
|
|
1783
1795
|
this.renderer.setStyle(this.el.nativeElement, 'display', this.service.options.state === 'default' ? value : 'none');
|
|
1784
1796
|
}
|
|
1785
1797
|
}
|
|
1786
|
-
ResizeHandleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1787
|
-
ResizeHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1788
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1798
|
+
ResizeHandleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResizeHandleDirective, deps: [{ token: i1$1.DraggableDirective, host: true }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DragResizeService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1799
|
+
ResizeHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ResizeHandleDirective, selector: "[kendoWindowResizeHandle]", inputs: { direction: "direction" }, host: { properties: { "class.k-resize-handle": "this.hostClass" } }, ngImport: i0 });
|
|
1800
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ResizeHandleDirective, decorators: [{
|
|
1789
1801
|
type: Directive,
|
|
1790
1802
|
args: [{
|
|
1791
1803
|
selector: '[kendoWindowResizeHandle]'
|
|
@@ -1895,15 +1907,15 @@ class WindowTitleBarComponent {
|
|
|
1895
1907
|
return options.draggable && options.state !== 'maximized';
|
|
1896
1908
|
}
|
|
1897
1909
|
}
|
|
1898
|
-
WindowTitleBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1899
|
-
WindowTitleBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1910
|
+
WindowTitleBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowTitleBarComponent, deps: [{ token: i0.ElementRef }, { token: DragResizeService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1911
|
+
WindowTitleBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: WindowTitleBarComponent, selector: "kendo-window-titlebar", inputs: { template: "template", id: "id" }, host: { listeners: { "dblclick": "handle($event)" }, properties: { "class.k-window-titlebar": "this.className", "class.k-dialog-titlebar": "this.className", "style.touch-action": "this.touchAction" } }, ngImport: i0, template: `
|
|
1900
1912
|
<ng-content *ngIf="!template"></ng-content>
|
|
1901
1913
|
<ng-template
|
|
1902
1914
|
[ngTemplateOutlet]="template"
|
|
1903
1915
|
[ngTemplateOutletContext]="{'$implicit': service}" *ngIf="template">
|
|
1904
1916
|
</ng-template>
|
|
1905
|
-
`, isInline: true, directives: [{ type:
|
|
1906
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1917
|
+
`, isInline: true, directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
1918
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowTitleBarComponent, decorators: [{
|
|
1907
1919
|
type: Component,
|
|
1908
1920
|
args: [{
|
|
1909
1921
|
selector: 'kendo-window-titlebar',
|
|
@@ -1980,13 +1992,13 @@ class NavigationService {
|
|
|
1980
1992
|
this.window.closeAction();
|
|
1981
1993
|
}
|
|
1982
1994
|
handleDrag(key) {
|
|
1983
|
-
|
|
1995
|
+
const options = this.window.options;
|
|
1984
1996
|
if (!options.draggable) {
|
|
1985
1997
|
return;
|
|
1986
1998
|
}
|
|
1987
1999
|
const offset = this.window.currentOffsetAndPosition();
|
|
1988
|
-
|
|
1989
|
-
|
|
2000
|
+
const restoreOptions = this.window.restoreOptions;
|
|
2001
|
+
const ev = {};
|
|
1990
2002
|
let delta = 10;
|
|
1991
2003
|
if (key === Keys.left || key === Keys.up) {
|
|
1992
2004
|
delta *= -1;
|
|
@@ -2021,7 +2033,7 @@ class NavigationService {
|
|
|
2021
2033
|
const offset = this.window.currentOffsetAndPosition();
|
|
2022
2034
|
let newWidth;
|
|
2023
2035
|
let newHeight;
|
|
2024
|
-
|
|
2036
|
+
const ev = {};
|
|
2025
2037
|
let delta = 10;
|
|
2026
2038
|
if (key === Keys.left || key === Keys.up) {
|
|
2027
2039
|
delta *= -1;
|
|
@@ -2071,9 +2083,9 @@ class NavigationService {
|
|
|
2071
2083
|
}
|
|
2072
2084
|
}
|
|
2073
2085
|
}
|
|
2074
|
-
NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2075
|
-
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2076
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2086
|
+
NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService, deps: [{ token: DragResizeService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2087
|
+
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService });
|
|
2088
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService, decorators: [{
|
|
2077
2089
|
type: Injectable
|
|
2078
2090
|
}], ctorParameters: function () { return [{ type: DragResizeService }, { type: i0.NgZone }]; } });
|
|
2079
2091
|
|
|
@@ -2082,6 +2094,10 @@ class WindowMinimizeActionDirective extends Button {
|
|
|
2082
2094
|
super(el, renderer, null, localization, ngZone);
|
|
2083
2095
|
this.buttonType = 'button';
|
|
2084
2096
|
this.buttonClass = true;
|
|
2097
|
+
/**
|
|
2098
|
+
* @hidden
|
|
2099
|
+
*/
|
|
2100
|
+
this.windowMinimizeIcon = windowMinimizeIcon;
|
|
2085
2101
|
this.window = _service;
|
|
2086
2102
|
this.fillMode = 'flat';
|
|
2087
2103
|
this.icon = 'window-minimize';
|
|
@@ -2098,16 +2114,26 @@ class WindowMinimizeActionDirective extends Button {
|
|
|
2098
2114
|
return this.window.options.state === 'default' ? 'inline-flex' : 'none';
|
|
2099
2115
|
}
|
|
2100
2116
|
}
|
|
2101
|
-
WindowMinimizeActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2102
|
-
WindowMinimizeActionDirective.ɵ
|
|
2117
|
+
WindowMinimizeActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", 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 });
|
|
2118
|
+
WindowMinimizeActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: WindowMinimizeActionDirective, selector: "button[kendoWindowMinimizeAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
|
|
2103
2119
|
LocalizationService,
|
|
2104
2120
|
{
|
|
2105
2121
|
provide: L10N_PREFIX,
|
|
2106
2122
|
useValue: 'kendo.button'
|
|
2107
2123
|
}
|
|
2108
|
-
], exportAs: ["kendoWindowMinimizeAction"], usesInheritance: true, ngImport: i0
|
|
2109
|
-
|
|
2110
|
-
|
|
2124
|
+
], exportAs: ["kendoWindowMinimizeAction"], usesInheritance: true, ngImport: i0, template: `
|
|
2125
|
+
<kendo-icon-wrapper
|
|
2126
|
+
innerCssClass="k-button-icon"
|
|
2127
|
+
name="window-minimize"
|
|
2128
|
+
[svgIcon]="windowMinimizeIcon"></kendo-icon-wrapper>
|
|
2129
|
+
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2130
|
+
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2131
|
+
</span>
|
|
2132
|
+
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
2133
|
+
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2134
|
+
`, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
2135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowMinimizeActionDirective, decorators: [{
|
|
2136
|
+
type: Component,
|
|
2111
2137
|
args: [{
|
|
2112
2138
|
exportAs: 'kendoWindowMinimizeAction',
|
|
2113
2139
|
providers: [
|
|
@@ -2117,7 +2143,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2117
2143
|
useValue: 'kendo.button'
|
|
2118
2144
|
}
|
|
2119
2145
|
],
|
|
2120
|
-
selector: 'button[kendoWindowMinimizeAction]'
|
|
2146
|
+
selector: 'button[kendoWindowMinimizeAction]',
|
|
2147
|
+
template: `
|
|
2148
|
+
<kendo-icon-wrapper
|
|
2149
|
+
innerCssClass="k-button-icon"
|
|
2150
|
+
name="window-minimize"
|
|
2151
|
+
[svgIcon]="windowMinimizeIcon"></kendo-icon-wrapper>
|
|
2152
|
+
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2153
|
+
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2154
|
+
</span>
|
|
2155
|
+
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
2156
|
+
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2157
|
+
`
|
|
2121
2158
|
}]
|
|
2122
2159
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DragResizeService, decorators: [{
|
|
2123
2160
|
type: Optional
|
|
@@ -2142,6 +2179,10 @@ class WindowMaximizeActionDirective extends Button {
|
|
|
2142
2179
|
super(el, renderer, null, localization, ngZone);
|
|
2143
2180
|
this.buttonType = 'button';
|
|
2144
2181
|
this.buttonClass = true;
|
|
2182
|
+
/**
|
|
2183
|
+
* @hidden
|
|
2184
|
+
*/
|
|
2185
|
+
this.windowIcon = windowIcon;
|
|
2145
2186
|
this.window = _service;
|
|
2146
2187
|
this.fillMode = 'flat';
|
|
2147
2188
|
this.icon = 'window';
|
|
@@ -2158,16 +2199,26 @@ class WindowMaximizeActionDirective extends Button {
|
|
|
2158
2199
|
return this.window.options.state === 'default' ? 'inline-flex' : 'none';
|
|
2159
2200
|
}
|
|
2160
2201
|
}
|
|
2161
|
-
WindowMaximizeActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2162
|
-
WindowMaximizeActionDirective.ɵ
|
|
2202
|
+
WindowMaximizeActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", 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 });
|
|
2203
|
+
WindowMaximizeActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: WindowMaximizeActionDirective, selector: "button[kendoWindowMaximizeAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
|
|
2163
2204
|
LocalizationService,
|
|
2164
2205
|
{
|
|
2165
2206
|
provide: L10N_PREFIX,
|
|
2166
2207
|
useValue: 'kendo.button'
|
|
2167
2208
|
}
|
|
2168
|
-
], exportAs: ["kendoWindowMaximizeAction"], usesInheritance: true, ngImport: i0
|
|
2169
|
-
|
|
2170
|
-
|
|
2209
|
+
], exportAs: ["kendoWindowMaximizeAction"], usesInheritance: true, ngImport: i0, template: `
|
|
2210
|
+
<kendo-icon-wrapper
|
|
2211
|
+
innerCssClass="k-button-icon"
|
|
2212
|
+
name="window"
|
|
2213
|
+
[svgIcon]="windowIcon"></kendo-icon-wrapper>
|
|
2214
|
+
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2215
|
+
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2216
|
+
</span>
|
|
2217
|
+
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
2218
|
+
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2219
|
+
`, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
2220
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowMaximizeActionDirective, decorators: [{
|
|
2221
|
+
type: Component,
|
|
2171
2222
|
args: [{
|
|
2172
2223
|
exportAs: 'kendoWindowMaximizeAction',
|
|
2173
2224
|
providers: [
|
|
@@ -2177,7 +2228,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2177
2228
|
useValue: 'kendo.button'
|
|
2178
2229
|
}
|
|
2179
2230
|
],
|
|
2180
|
-
selector: 'button[kendoWindowMaximizeAction]'
|
|
2231
|
+
selector: 'button[kendoWindowMaximizeAction]',
|
|
2232
|
+
template: `
|
|
2233
|
+
<kendo-icon-wrapper
|
|
2234
|
+
innerCssClass="k-button-icon"
|
|
2235
|
+
name="window"
|
|
2236
|
+
[svgIcon]="windowIcon"></kendo-icon-wrapper>
|
|
2237
|
+
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2238
|
+
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2239
|
+
</span>
|
|
2240
|
+
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
2241
|
+
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2242
|
+
`
|
|
2181
2243
|
}]
|
|
2182
2244
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DragResizeService, decorators: [{
|
|
2183
2245
|
type: Optional
|
|
@@ -2200,6 +2262,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2200
2262
|
class WindowRestoreActionDirective extends Button {
|
|
2201
2263
|
constructor(el, renderer, _service, localization, ngZone) {
|
|
2202
2264
|
super(el, renderer, null, localization, ngZone);
|
|
2265
|
+
/**
|
|
2266
|
+
* @hidden
|
|
2267
|
+
*/
|
|
2268
|
+
this.windowRestoreIcon = windowRestoreIcon;
|
|
2203
2269
|
this.buttonType = 'button';
|
|
2204
2270
|
this.buttonClass = true;
|
|
2205
2271
|
this.window = _service;
|
|
@@ -2218,16 +2284,26 @@ class WindowRestoreActionDirective extends Button {
|
|
|
2218
2284
|
return this.window.options.state === 'default' ? 'none' : 'inline-flex';
|
|
2219
2285
|
}
|
|
2220
2286
|
}
|
|
2221
|
-
WindowRestoreActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2222
|
-
WindowRestoreActionDirective.ɵ
|
|
2287
|
+
WindowRestoreActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", 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 });
|
|
2288
|
+
WindowRestoreActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: WindowRestoreActionDirective, selector: "button[kendoWindowRestoreAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
|
|
2223
2289
|
LocalizationService,
|
|
2224
2290
|
{
|
|
2225
2291
|
provide: L10N_PREFIX,
|
|
2226
2292
|
useValue: 'kendo.button'
|
|
2227
2293
|
}
|
|
2228
|
-
], exportAs: ["kendoWindowRestoreAction"], usesInheritance: true, ngImport: i0
|
|
2229
|
-
|
|
2230
|
-
|
|
2294
|
+
], exportAs: ["kendoWindowRestoreAction"], usesInheritance: true, ngImport: i0, template: `
|
|
2295
|
+
<kendo-icon-wrapper
|
|
2296
|
+
innerCssClass="k-button-icon"
|
|
2297
|
+
name="window-restore"
|
|
2298
|
+
[svgIcon]="windowRestoreIcon"></kendo-icon-wrapper>
|
|
2299
|
+
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2300
|
+
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2301
|
+
</span>
|
|
2302
|
+
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
2303
|
+
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2304
|
+
`, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
2305
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowRestoreActionDirective, decorators: [{
|
|
2306
|
+
type: Component,
|
|
2231
2307
|
args: [{
|
|
2232
2308
|
exportAs: 'kendoWindowRestoreAction',
|
|
2233
2309
|
providers: [
|
|
@@ -2237,7 +2313,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2237
2313
|
useValue: 'kendo.button'
|
|
2238
2314
|
}
|
|
2239
2315
|
],
|
|
2240
|
-
selector: 'button[kendoWindowRestoreAction]'
|
|
2316
|
+
selector: 'button[kendoWindowRestoreAction]',
|
|
2317
|
+
template: `
|
|
2318
|
+
<kendo-icon-wrapper
|
|
2319
|
+
innerCssClass="k-button-icon"
|
|
2320
|
+
name="window-restore"
|
|
2321
|
+
[svgIcon]="windowRestoreIcon"></kendo-icon-wrapper>
|
|
2322
|
+
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2323
|
+
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2324
|
+
</span>
|
|
2325
|
+
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
2326
|
+
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2327
|
+
`
|
|
2241
2328
|
}]
|
|
2242
2329
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DragResizeService, decorators: [{
|
|
2243
2330
|
type: Optional
|
|
@@ -2260,6 +2347,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2260
2347
|
class WindowCloseActionDirective extends Button {
|
|
2261
2348
|
constructor(el, renderer, _service, localization, ngZone) {
|
|
2262
2349
|
super(el, renderer, null, localization, ngZone);
|
|
2350
|
+
/**
|
|
2351
|
+
* @hidden
|
|
2352
|
+
*/
|
|
2353
|
+
this.xIcon = xIcon;
|
|
2263
2354
|
this.buttonType = 'button';
|
|
2264
2355
|
this.buttonClass = true;
|
|
2265
2356
|
this.window = _service;
|
|
@@ -2275,16 +2366,26 @@ class WindowCloseActionDirective extends Button {
|
|
|
2275
2366
|
}
|
|
2276
2367
|
}
|
|
2277
2368
|
}
|
|
2278
|
-
WindowCloseActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2279
|
-
WindowCloseActionDirective.ɵ
|
|
2369
|
+
WindowCloseActionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", 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 });
|
|
2370
|
+
WindowCloseActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: WindowCloseActionDirective, selector: "button[kendoWindowCloseAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-action": "this.buttonClass" } }, providers: [
|
|
2280
2371
|
LocalizationService,
|
|
2281
2372
|
{
|
|
2282
2373
|
provide: L10N_PREFIX,
|
|
2283
2374
|
useValue: 'kendo.button'
|
|
2284
2375
|
}
|
|
2285
|
-
], exportAs: ["kendoWindowCloseAction"], usesInheritance: true, ngImport: i0
|
|
2286
|
-
|
|
2287
|
-
|
|
2376
|
+
], exportAs: ["kendoWindowCloseAction"], usesInheritance: true, ngImport: i0, template: `
|
|
2377
|
+
<kendo-icon-wrapper
|
|
2378
|
+
innerCssClass="k-button-icon"
|
|
2379
|
+
name="x"
|
|
2380
|
+
[svgIcon]="xIcon"></kendo-icon-wrapper>
|
|
2381
|
+
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2382
|
+
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2383
|
+
</span>
|
|
2384
|
+
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
2385
|
+
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2386
|
+
`, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
2387
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowCloseActionDirective, decorators: [{
|
|
2388
|
+
type: Component,
|
|
2288
2389
|
args: [{
|
|
2289
2390
|
exportAs: 'kendoWindowCloseAction',
|
|
2290
2391
|
providers: [
|
|
@@ -2294,7 +2395,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2294
2395
|
useValue: 'kendo.button'
|
|
2295
2396
|
}
|
|
2296
2397
|
],
|
|
2297
|
-
selector: 'button[kendoWindowCloseAction]'
|
|
2398
|
+
selector: 'button[kendoWindowCloseAction]',
|
|
2399
|
+
template: `
|
|
2400
|
+
<kendo-icon-wrapper
|
|
2401
|
+
innerCssClass="k-button-icon"
|
|
2402
|
+
name="x"
|
|
2403
|
+
[svgIcon]="xIcon"></kendo-icon-wrapper>
|
|
2404
|
+
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2405
|
+
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2406
|
+
</span>
|
|
2407
|
+
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
2408
|
+
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2409
|
+
`
|
|
2298
2410
|
}]
|
|
2299
2411
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DragResizeService, decorators: [{
|
|
2300
2412
|
type: Optional
|
|
@@ -2551,6 +2663,9 @@ class WindowComponent {
|
|
|
2551
2663
|
return this.direction;
|
|
2552
2664
|
}
|
|
2553
2665
|
ngAfterViewInit() {
|
|
2666
|
+
if (!isDocumentAvailable()) {
|
|
2667
|
+
return;
|
|
2668
|
+
}
|
|
2554
2669
|
this.setNextZIndex();
|
|
2555
2670
|
this.handleInitialFocus();
|
|
2556
2671
|
this.ngZone.runOutsideAngular(() => Promise.resolve(null).then(() => this.setInitialOffset()));
|
|
@@ -2571,7 +2686,7 @@ class WindowComponent {
|
|
|
2571
2686
|
});
|
|
2572
2687
|
if (isChanged('draggable', changes)) {
|
|
2573
2688
|
const titleBar = isPresent(this.titleBarContent) ? this.titleBarContent : this.titleBarView;
|
|
2574
|
-
if (isTruthy(changes
|
|
2689
|
+
if (isTruthy(changes['draggable'].currentValue)) {
|
|
2575
2690
|
titleBar.subscribeDrag();
|
|
2576
2691
|
}
|
|
2577
2692
|
else {
|
|
@@ -2825,8 +2940,8 @@ class WindowComponent {
|
|
|
2825
2940
|
return 'kendo-window-title-' + Math.ceil(Math.random() * 1000000).toString();
|
|
2826
2941
|
}
|
|
2827
2942
|
}
|
|
2828
|
-
WindowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2829
|
-
WindowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2943
|
+
WindowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", 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 });
|
|
2944
|
+
WindowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: WindowComponent, selector: "kendo-window", inputs: { autoFocusedElement: "autoFocusedElement", title: "title", draggable: "draggable", resizable: "resizable", 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.hostClasses", "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: [
|
|
2830
2945
|
DragResizeService,
|
|
2831
2946
|
NavigationService,
|
|
2832
2947
|
LocalizationService,
|
|
@@ -2876,8 +2991,8 @@ WindowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
2876
2991
|
kendoDraggable>
|
|
2877
2992
|
</div>
|
|
2878
2993
|
</ng-template>
|
|
2879
|
-
`, isInline: true, components: [{ type: WindowTitleBarComponent, selector: "kendo-window-titlebar", inputs: ["template", "id"] }
|
|
2880
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2994
|
+
`, isInline: true, components: [{ type: WindowTitleBarComponent, selector: "kendo-window-titlebar", inputs: ["template", "id"] }, { type: WindowMinimizeActionDirective, selector: "button[kendoWindowMinimizeAction]", inputs: ["window"], exportAs: ["kendoWindowMinimizeAction"] }, { type: WindowMaximizeActionDirective, selector: "button[kendoWindowMaximizeAction]", inputs: ["window"], exportAs: ["kendoWindowMaximizeAction"] }, { type: WindowRestoreActionDirective, selector: "button[kendoWindowRestoreAction]", inputs: ["window"], exportAs: ["kendoWindowRestoreAction"] }, { type: WindowCloseActionDirective, selector: "button[kendoWindowCloseAction]", inputs: ["window"], exportAs: ["kendoWindowCloseAction"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ResizeHandleDirective, selector: "[kendoWindowResizeHandle]", inputs: ["direction"] }, { type: i1$1.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }] });
|
|
2995
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowComponent, decorators: [{
|
|
2881
2996
|
type: Component,
|
|
2882
2997
|
args: [{
|
|
2883
2998
|
exportAs: 'kendoWindow',
|
|
@@ -3056,9 +3171,9 @@ class WindowContainerService {
|
|
|
3056
3171
|
}
|
|
3057
3172
|
}
|
|
3058
3173
|
WindowContainerService.container = null;
|
|
3059
|
-
WindowContainerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3060
|
-
WindowContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3061
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3174
|
+
WindowContainerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowContainerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3175
|
+
WindowContainerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowContainerService });
|
|
3176
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowContainerService, decorators: [{
|
|
3062
3177
|
type: Injectable
|
|
3063
3178
|
}] });
|
|
3064
3179
|
|
|
@@ -3256,9 +3371,9 @@ class WindowService {
|
|
|
3256
3371
|
};
|
|
3257
3372
|
}
|
|
3258
3373
|
}
|
|
3259
|
-
WindowService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3260
|
-
WindowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3261
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3374
|
+
WindowService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowService, deps: [{ token: i0.ComponentFactoryResolver }, { token: WindowContainerService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3375
|
+
WindowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowService });
|
|
3376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowService, decorators: [{
|
|
3262
3377
|
type: Injectable
|
|
3263
3378
|
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: WindowContainerService, decorators: [{
|
|
3264
3379
|
type: Inject,
|
|
@@ -3280,9 +3395,9 @@ class DialogContainerDirective {
|
|
|
3280
3395
|
service.container = container;
|
|
3281
3396
|
}
|
|
3282
3397
|
}
|
|
3283
|
-
DialogContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3284
|
-
DialogContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
3285
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3398
|
+
DialogContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogContainerDirective, deps: [{ token: i0.ViewContainerRef }, { token: DialogContainerService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3399
|
+
DialogContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DialogContainerDirective, selector: "[kendoDialogContainer]", ngImport: i0 });
|
|
3400
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogContainerDirective, decorators: [{
|
|
3286
3401
|
type: Directive,
|
|
3287
3402
|
args: [{
|
|
3288
3403
|
selector: '[kendoDialogContainer]'
|
|
@@ -3302,14 +3417,14 @@ class CustomMessagesComponent extends Messages {
|
|
|
3302
3417
|
return true;
|
|
3303
3418
|
}
|
|
3304
3419
|
}
|
|
3305
|
-
CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3306
|
-
CustomMessagesComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
3420
|
+
CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3421
|
+
CustomMessagesComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: CustomMessagesComponent, selector: "kendo-dialog-messages, kendo-window-messages", providers: [
|
|
3307
3422
|
{
|
|
3308
3423
|
provide: Messages,
|
|
3309
3424
|
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
3310
3425
|
}
|
|
3311
3426
|
], usesInheritance: true, ngImport: i0 });
|
|
3312
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3427
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CustomMessagesComponent, decorators: [{
|
|
3313
3428
|
type: Directive,
|
|
3314
3429
|
args: [{
|
|
3315
3430
|
providers: [
|
|
@@ -3336,19 +3451,19 @@ const SHARED_DIRECTIVES = [
|
|
|
3336
3451
|
*/
|
|
3337
3452
|
class SharedModule {
|
|
3338
3453
|
}
|
|
3339
|
-
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3340
|
-
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
3454
|
+
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3455
|
+
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, declarations: [DialogActionsComponent,
|
|
3341
3456
|
CustomMessagesComponent,
|
|
3342
|
-
LocalizedMessagesDirective], imports: [CommonModule], exports: [DialogActionsComponent,
|
|
3457
|
+
LocalizedMessagesDirective], imports: [CommonModule, IconsModule], exports: [DialogActionsComponent,
|
|
3343
3458
|
CustomMessagesComponent,
|
|
3344
|
-
LocalizedMessagesDirective, CommonModule] });
|
|
3345
|
-
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3346
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3459
|
+
LocalizedMessagesDirective, CommonModule, IconsModule] });
|
|
3460
|
+
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [[CommonModule, IconsModule], CommonModule, IconsModule] });
|
|
3461
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, decorators: [{
|
|
3347
3462
|
type: NgModule,
|
|
3348
3463
|
args: [{
|
|
3349
3464
|
declarations: [SHARED_DIRECTIVES],
|
|
3350
|
-
exports: [SHARED_DIRECTIVES, CommonModule],
|
|
3351
|
-
imports: [CommonModule]
|
|
3465
|
+
exports: [SHARED_DIRECTIVES, CommonModule, IconsModule],
|
|
3466
|
+
imports: [CommonModule, IconsModule]
|
|
3352
3467
|
}]
|
|
3353
3468
|
}] });
|
|
3354
3469
|
|
|
@@ -3383,12 +3498,12 @@ const DIALOG_DIRECTIVES = [
|
|
|
3383
3498
|
*/
|
|
3384
3499
|
class DialogModule {
|
|
3385
3500
|
}
|
|
3386
|
-
DialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3387
|
-
DialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
3501
|
+
DialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3502
|
+
DialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogModule, declarations: [DialogComponent,
|
|
3388
3503
|
DialogTitleBarComponent, DialogContainerDirective], imports: [SharedModule], exports: [DialogComponent,
|
|
3389
3504
|
DialogTitleBarComponent, DialogActionsComponent, CustomMessagesComponent, LocalizedMessagesDirective, DialogContainerDirective] });
|
|
3390
|
-
DialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3391
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3505
|
+
DialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogModule, providers: [DialogContainerService, DialogService], imports: [[SharedModule]] });
|
|
3506
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogModule, decorators: [{
|
|
3392
3507
|
type: NgModule,
|
|
3393
3508
|
args: [{
|
|
3394
3509
|
declarations: [DIALOG_DIRECTIVES, DialogContainerDirective],
|
|
@@ -3414,9 +3529,9 @@ class WindowContainerDirective {
|
|
|
3414
3529
|
service.container = container;
|
|
3415
3530
|
}
|
|
3416
3531
|
}
|
|
3417
|
-
WindowContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3418
|
-
WindowContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
3419
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3532
|
+
WindowContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowContainerDirective, deps: [{ token: i0.ViewContainerRef }, { token: WindowContainerService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3533
|
+
WindowContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: WindowContainerDirective, selector: "[kendoWindowContainer]", ngImport: i0 });
|
|
3534
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowContainerDirective, decorators: [{
|
|
3420
3535
|
type: Directive,
|
|
3421
3536
|
args: [{
|
|
3422
3537
|
selector: '[kendoWindowContainer]'
|
|
@@ -3468,8 +3583,8 @@ const exportedModules = [
|
|
|
3468
3583
|
*/
|
|
3469
3584
|
class WindowModule {
|
|
3470
3585
|
}
|
|
3471
|
-
WindowModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3472
|
-
WindowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
3586
|
+
WindowModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3587
|
+
WindowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowModule, declarations: [ResizeHandleDirective,
|
|
3473
3588
|
WindowComponent,
|
|
3474
3589
|
WindowTitleBarComponent,
|
|
3475
3590
|
WindowCloseActionDirective,
|
|
@@ -3481,8 +3596,8 @@ WindowModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
3481
3596
|
WindowMaximizeActionDirective,
|
|
3482
3597
|
WindowRestoreActionDirective,
|
|
3483
3598
|
WindowTitleBarComponent, DialogActionsComponent, CustomMessagesComponent, LocalizedMessagesDirective, WindowContainerDirective] });
|
|
3484
|
-
WindowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3485
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3599
|
+
WindowModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowModule, providers: [WindowContainerService, WindowService], imports: [[SharedModule, DraggableModule]] });
|
|
3600
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: WindowModule, decorators: [{
|
|
3486
3601
|
type: NgModule,
|
|
3487
3602
|
args: [{
|
|
3488
3603
|
declarations: [WINDOW_DIRECTIVES, WindowContainerDirective],
|
|
@@ -3520,10 +3635,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
3520
3635
|
*/
|
|
3521
3636
|
class DialogsModule {
|
|
3522
3637
|
}
|
|
3523
|
-
DialogsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3524
|
-
DialogsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
3525
|
-
DialogsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3526
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3638
|
+
DialogsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3639
|
+
DialogsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogsModule, exports: [DialogModule, WindowModule] });
|
|
3640
|
+
DialogsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogsModule, imports: [DialogModule, WindowModule] });
|
|
3641
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogsModule, decorators: [{
|
|
3527
3642
|
type: NgModule,
|
|
3528
3643
|
args: [{
|
|
3529
3644
|
exports: [DialogModule, WindowModule]
|