@progress/kendo-angular-dialog 11.0.0-develop.85 → 11.0.0-develop.86
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/esm2020/dialog/dialog-titlebar.component.mjs +16 -8
- package/esm2020/package-metadata.mjs +1 -1
- package/esm2020/shared.module.mjs +6 -5
- package/esm2020/window/actions/window-close-action.directive.mjs +6 -2
- package/esm2020/window/actions/window-maximize-action.directive.mjs +6 -2
- package/esm2020/window/actions/window-minimize-action.directive.mjs +6 -2
- package/esm2020/window/actions/window-restore-action.directive.mjs +6 -2
- package/fesm2015/progress-kendo-angular-dialog.mjs +52 -27
- package/fesm2020/progress-kendo-angular-dialog.mjs +52 -27
- package/package.json +6 -6
- package/shared.module.d.ts +2 -1
|
@@ -10,7 +10,7 @@ import { TitleBarLocalizationService } from '../localization/titlebar-localizati
|
|
|
10
10
|
import { xIcon } from '@progress/kendo-svg-icons';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
13
|
-
import * as i2 from "@progress/kendo-angular-
|
|
13
|
+
import * as i2 from "@progress/kendo-angular-buttons";
|
|
14
14
|
import * as i3 from "../localization/localized-messages.directive";
|
|
15
15
|
/**
|
|
16
16
|
* Represents the [Kendo UI DialogTitleBar component for Angular]({% slug api_dialog_dialogtitlebarcomponent %}).
|
|
@@ -75,16 +75,20 @@ DialogTitleBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
75
75
|
|
|
76
76
|
<div class="k-window-actions k-dialog-actions">
|
|
77
77
|
<button
|
|
78
|
+
kendoButton
|
|
79
|
+
fillMode="flat"
|
|
78
80
|
role="button"
|
|
79
81
|
[attr.title]="closeButtonTitle"
|
|
80
82
|
[attr.aria-label]="closeButtonTitle"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
83
|
+
icon="x"
|
|
84
|
+
[svgIcon]="xIcon"
|
|
85
|
+
class="k-window-action k-dialog-action"
|
|
86
|
+
(click)="onCloseClick($event)"
|
|
87
|
+
>
|
|
84
88
|
</button>
|
|
85
89
|
</div>
|
|
86
90
|
</ng-container>
|
|
87
|
-
`, isInline: true, components: [{ type: i2.
|
|
91
|
+
`, isInline: true, components: [{ type: i2.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i3.LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }] });
|
|
88
92
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogTitleBarComponent, decorators: [{
|
|
89
93
|
type: Component,
|
|
90
94
|
args: [{
|
|
@@ -112,12 +116,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
112
116
|
|
|
113
117
|
<div class="k-window-actions k-dialog-actions">
|
|
114
118
|
<button
|
|
119
|
+
kendoButton
|
|
120
|
+
fillMode="flat"
|
|
115
121
|
role="button"
|
|
116
122
|
[attr.title]="closeButtonTitle"
|
|
117
123
|
[attr.aria-label]="closeButtonTitle"
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
124
|
+
icon="x"
|
|
125
|
+
[svgIcon]="xIcon"
|
|
126
|
+
class="k-window-action k-dialog-action"
|
|
127
|
+
(click)="onCloseClick($event)"
|
|
128
|
+
>
|
|
121
129
|
</button>
|
|
122
130
|
</div>
|
|
123
131
|
</ng-container>
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-dialog',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1672927150,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -8,6 +8,7 @@ import { DialogActionsComponent } from './dialog/dialog-actions.component';
|
|
|
8
8
|
import { LocalizedMessagesDirective } from './localization/localized-messages.directive';
|
|
9
9
|
import { CustomMessagesComponent } from './localization/custom-messages.component';
|
|
10
10
|
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
11
|
+
import { ButtonModule } from '@progress/kendo-angular-buttons';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
/**
|
|
13
14
|
* @hidden
|
|
@@ -25,15 +26,15 @@ export class SharedModule {
|
|
|
25
26
|
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
26
27
|
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, declarations: [DialogActionsComponent,
|
|
27
28
|
CustomMessagesComponent,
|
|
28
|
-
LocalizedMessagesDirective], imports: [CommonModule, IconsModule], exports: [DialogActionsComponent,
|
|
29
|
+
LocalizedMessagesDirective], imports: [CommonModule, IconsModule, ButtonModule], exports: [DialogActionsComponent,
|
|
29
30
|
CustomMessagesComponent,
|
|
30
|
-
LocalizedMessagesDirective, CommonModule, IconsModule] });
|
|
31
|
-
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [[CommonModule, IconsModule], CommonModule, IconsModule] });
|
|
31
|
+
LocalizedMessagesDirective, CommonModule, IconsModule, ButtonModule] });
|
|
32
|
+
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [[CommonModule, IconsModule, ButtonModule], CommonModule, IconsModule, ButtonModule] });
|
|
32
33
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, decorators: [{
|
|
33
34
|
type: NgModule,
|
|
34
35
|
args: [{
|
|
35
36
|
declarations: [SHARED_DIRECTIVES],
|
|
36
|
-
exports: [SHARED_DIRECTIVES, CommonModule, IconsModule],
|
|
37
|
-
imports: [CommonModule, IconsModule]
|
|
37
|
+
exports: [SHARED_DIRECTIVES, CommonModule, IconsModule, ButtonModule],
|
|
38
|
+
imports: [CommonModule, IconsModule, ButtonModule]
|
|
38
39
|
}]
|
|
39
40
|
}] });
|
|
@@ -43,9 +43,11 @@ WindowCloseActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
43
43
|
}
|
|
44
44
|
], exportAs: ["kendoWindowCloseAction"], usesInheritance: true, ngImport: i0, template: `
|
|
45
45
|
<kendo-icon-wrapper
|
|
46
|
+
*ngIf="!imageUrl && !iconClass"
|
|
46
47
|
innerCssClass="k-button-icon"
|
|
47
48
|
name="x"
|
|
48
|
-
[svgIcon]="xIcon"
|
|
49
|
+
[svgIcon]="xIcon">
|
|
50
|
+
</kendo-icon-wrapper>
|
|
49
51
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
50
52
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
51
53
|
</span>
|
|
@@ -66,9 +68,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
66
68
|
selector: 'button[kendoWindowCloseAction]',
|
|
67
69
|
template: `
|
|
68
70
|
<kendo-icon-wrapper
|
|
71
|
+
*ngIf="!imageUrl && !iconClass"
|
|
69
72
|
innerCssClass="k-button-icon"
|
|
70
73
|
name="x"
|
|
71
|
-
[svgIcon]="xIcon"
|
|
74
|
+
[svgIcon]="xIcon">
|
|
75
|
+
</kendo-icon-wrapper>
|
|
72
76
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
73
77
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
74
78
|
</span>
|
|
@@ -46,9 +46,11 @@ WindowMaximizeActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
46
46
|
}
|
|
47
47
|
], exportAs: ["kendoWindowMaximizeAction"], usesInheritance: true, ngImport: i0, template: `
|
|
48
48
|
<kendo-icon-wrapper
|
|
49
|
+
*ngIf="!imageUrl && !iconClass"
|
|
49
50
|
innerCssClass="k-button-icon"
|
|
50
51
|
name="window"
|
|
51
|
-
[svgIcon]="windowIcon"
|
|
52
|
+
[svgIcon]="windowIcon">
|
|
53
|
+
</kendo-icon-wrapper>
|
|
52
54
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
53
55
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
54
56
|
</span>
|
|
@@ -69,9 +71,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
69
71
|
selector: 'button[kendoWindowMaximizeAction]',
|
|
70
72
|
template: `
|
|
71
73
|
<kendo-icon-wrapper
|
|
74
|
+
*ngIf="!imageUrl && !iconClass"
|
|
72
75
|
innerCssClass="k-button-icon"
|
|
73
76
|
name="window"
|
|
74
|
-
[svgIcon]="windowIcon"
|
|
77
|
+
[svgIcon]="windowIcon">
|
|
78
|
+
</kendo-icon-wrapper>
|
|
75
79
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
76
80
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
77
81
|
</span>
|
|
@@ -46,9 +46,11 @@ WindowMinimizeActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
46
46
|
}
|
|
47
47
|
], exportAs: ["kendoWindowMinimizeAction"], usesInheritance: true, ngImport: i0, template: `
|
|
48
48
|
<kendo-icon-wrapper
|
|
49
|
+
*ngIf="!imageUrl && !iconClass"
|
|
49
50
|
innerCssClass="k-button-icon"
|
|
50
51
|
name="window-minimize"
|
|
51
|
-
[svgIcon]="windowMinimizeIcon"
|
|
52
|
+
[svgIcon]="windowMinimizeIcon">
|
|
53
|
+
</kendo-icon-wrapper>
|
|
52
54
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
53
55
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
54
56
|
</span>
|
|
@@ -69,9 +71,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
69
71
|
selector: 'button[kendoWindowMinimizeAction]',
|
|
70
72
|
template: `
|
|
71
73
|
<kendo-icon-wrapper
|
|
74
|
+
*ngIf="!imageUrl && !iconClass"
|
|
72
75
|
innerCssClass="k-button-icon"
|
|
73
76
|
name="window-minimize"
|
|
74
|
-
[svgIcon]="windowMinimizeIcon"
|
|
77
|
+
[svgIcon]="windowMinimizeIcon">
|
|
78
|
+
</kendo-icon-wrapper>
|
|
75
79
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
76
80
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
77
81
|
</span>
|
|
@@ -46,9 +46,11 @@ WindowRestoreActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
46
46
|
}
|
|
47
47
|
], exportAs: ["kendoWindowRestoreAction"], usesInheritance: true, ngImport: i0, template: `
|
|
48
48
|
<kendo-icon-wrapper
|
|
49
|
+
*ngIf="!imageUrl && !iconClass"
|
|
49
50
|
innerCssClass="k-button-icon"
|
|
50
51
|
name="window-restore"
|
|
51
|
-
[svgIcon]="windowRestoreIcon"
|
|
52
|
+
[svgIcon]="windowRestoreIcon">
|
|
53
|
+
</kendo-icon-wrapper>
|
|
52
54
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
53
55
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
54
56
|
</span>
|
|
@@ -69,9 +71,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
69
71
|
selector: 'button[kendoWindowRestoreAction]',
|
|
70
72
|
template: `
|
|
71
73
|
<kendo-icon-wrapper
|
|
74
|
+
*ngIf="!imageUrl && !iconClass"
|
|
72
75
|
innerCssClass="k-button-icon"
|
|
73
76
|
name="window-restore"
|
|
74
|
-
[svgIcon]="windowRestoreIcon"
|
|
77
|
+
[svgIcon]="windowRestoreIcon">
|
|
78
|
+
</kendo-icon-wrapper>
|
|
75
79
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
76
80
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
77
81
|
</span>
|
|
@@ -4,7 +4,7 @@
|
|
|
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 * as i2 from '@angular/animations';
|
|
7
|
+
import * as i2$1 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';
|
|
@@ -13,13 +13,14 @@ 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
15
|
import { xIcon, windowMinimizeIcon, windowIcon, windowRestoreIcon } from '@progress/kendo-svg-icons';
|
|
16
|
-
import * as
|
|
17
|
-
import {
|
|
16
|
+
import * as i2 from '@progress/kendo-angular-buttons';
|
|
17
|
+
import { Button, ButtonModule } from '@progress/kendo-angular-buttons';
|
|
18
18
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
19
19
|
import * as i1$1 from '@progress/kendo-angular-common';
|
|
20
20
|
import { isDocumentAvailable, DraggableDirective, isChanged, DraggableModule } from '@progress/kendo-angular-common';
|
|
21
21
|
import { offset, scrollPosition, positionWithScroll, getDocumentElement, getWindowViewPort } from '@progress/kendo-popup-common';
|
|
22
|
-
import
|
|
22
|
+
import * as i3 from '@progress/kendo-angular-icons';
|
|
23
|
+
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
23
24
|
|
|
24
25
|
/**
|
|
25
26
|
* @hidden
|
|
@@ -515,16 +516,20 @@ DialogTitleBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
515
516
|
|
|
516
517
|
<div class="k-window-actions k-dialog-actions">
|
|
517
518
|
<button
|
|
519
|
+
kendoButton
|
|
520
|
+
fillMode="flat"
|
|
518
521
|
role="button"
|
|
519
522
|
[attr.title]="closeButtonTitle"
|
|
520
523
|
[attr.aria-label]="closeButtonTitle"
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
+
icon="x"
|
|
525
|
+
[svgIcon]="xIcon"
|
|
526
|
+
class="k-window-action k-dialog-action"
|
|
527
|
+
(click)="onCloseClick($event)"
|
|
528
|
+
>
|
|
524
529
|
</button>
|
|
525
530
|
</div>
|
|
526
531
|
</ng-container>
|
|
527
|
-
`, isInline: true, components: [{ type:
|
|
532
|
+
`, isInline: true, components: [{ type: i2.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }] });
|
|
528
533
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogTitleBarComponent, decorators: [{
|
|
529
534
|
type: Component,
|
|
530
535
|
args: [{
|
|
@@ -552,12 +557,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
552
557
|
|
|
553
558
|
<div class="k-window-actions k-dialog-actions">
|
|
554
559
|
<button
|
|
560
|
+
kendoButton
|
|
561
|
+
fillMode="flat"
|
|
555
562
|
role="button"
|
|
556
563
|
[attr.title]="closeButtonTitle"
|
|
557
564
|
[attr.aria-label]="closeButtonTitle"
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
565
|
+
icon="x"
|
|
566
|
+
[svgIcon]="xIcon"
|
|
567
|
+
class="k-window-action k-dialog-action"
|
|
568
|
+
(click)="onCloseClick($event)"
|
|
569
|
+
>
|
|
561
570
|
</button>
|
|
562
571
|
</div>
|
|
563
572
|
</ng-container>
|
|
@@ -588,7 +597,7 @@ const packageMetadata = {
|
|
|
588
597
|
name: '@progress/kendo-angular-dialog',
|
|
589
598
|
productName: 'Kendo UI for Angular',
|
|
590
599
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
591
|
-
publishDate:
|
|
600
|
+
publishDate: 1672927150,
|
|
592
601
|
version: '',
|
|
593
602
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
594
603
|
};
|
|
@@ -1020,7 +1029,7 @@ class DialogComponent {
|
|
|
1020
1029
|
}
|
|
1021
1030
|
}
|
|
1022
1031
|
}
|
|
1023
|
-
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 });
|
|
1032
|
+
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$1.AnimationBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
1024
1033
|
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: [
|
|
1025
1034
|
LocalizationService,
|
|
1026
1035
|
{
|
|
@@ -1103,7 +1112,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1103
1112
|
</ng-container>
|
|
1104
1113
|
`
|
|
1105
1114
|
}]
|
|
1106
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i2.AnimationBuilder }]; }, propDecorators: { actions: [{
|
|
1115
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i2$1.AnimationBuilder }]; }, propDecorators: { actions: [{
|
|
1107
1116
|
type: Input
|
|
1108
1117
|
}], actionsLayout: [{
|
|
1109
1118
|
type: Input
|
|
@@ -2131,9 +2140,11 @@ WindowMinimizeActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
2131
2140
|
}
|
|
2132
2141
|
], exportAs: ["kendoWindowMinimizeAction"], usesInheritance: true, ngImport: i0, template: `
|
|
2133
2142
|
<kendo-icon-wrapper
|
|
2143
|
+
*ngIf="!imageUrl && !iconClass"
|
|
2134
2144
|
innerCssClass="k-button-icon"
|
|
2135
2145
|
name="window-minimize"
|
|
2136
|
-
[svgIcon]="windowMinimizeIcon"
|
|
2146
|
+
[svgIcon]="windowMinimizeIcon">
|
|
2147
|
+
</kendo-icon-wrapper>
|
|
2137
2148
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2138
2149
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2139
2150
|
</span>
|
|
@@ -2154,9 +2165,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2154
2165
|
selector: 'button[kendoWindowMinimizeAction]',
|
|
2155
2166
|
template: `
|
|
2156
2167
|
<kendo-icon-wrapper
|
|
2168
|
+
*ngIf="!imageUrl && !iconClass"
|
|
2157
2169
|
innerCssClass="k-button-icon"
|
|
2158
2170
|
name="window-minimize"
|
|
2159
|
-
[svgIcon]="windowMinimizeIcon"
|
|
2171
|
+
[svgIcon]="windowMinimizeIcon">
|
|
2172
|
+
</kendo-icon-wrapper>
|
|
2160
2173
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2161
2174
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2162
2175
|
</span>
|
|
@@ -2218,9 +2231,11 @@ WindowMaximizeActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
2218
2231
|
}
|
|
2219
2232
|
], exportAs: ["kendoWindowMaximizeAction"], usesInheritance: true, ngImport: i0, template: `
|
|
2220
2233
|
<kendo-icon-wrapper
|
|
2234
|
+
*ngIf="!imageUrl && !iconClass"
|
|
2221
2235
|
innerCssClass="k-button-icon"
|
|
2222
2236
|
name="window"
|
|
2223
|
-
[svgIcon]="windowIcon"
|
|
2237
|
+
[svgIcon]="windowIcon">
|
|
2238
|
+
</kendo-icon-wrapper>
|
|
2224
2239
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2225
2240
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2226
2241
|
</span>
|
|
@@ -2241,9 +2256,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2241
2256
|
selector: 'button[kendoWindowMaximizeAction]',
|
|
2242
2257
|
template: `
|
|
2243
2258
|
<kendo-icon-wrapper
|
|
2259
|
+
*ngIf="!imageUrl && !iconClass"
|
|
2244
2260
|
innerCssClass="k-button-icon"
|
|
2245
2261
|
name="window"
|
|
2246
|
-
[svgIcon]="windowIcon"
|
|
2262
|
+
[svgIcon]="windowIcon">
|
|
2263
|
+
</kendo-icon-wrapper>
|
|
2247
2264
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2248
2265
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2249
2266
|
</span>
|
|
@@ -2305,9 +2322,11 @@ WindowRestoreActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
2305
2322
|
}
|
|
2306
2323
|
], exportAs: ["kendoWindowRestoreAction"], usesInheritance: true, ngImport: i0, template: `
|
|
2307
2324
|
<kendo-icon-wrapper
|
|
2325
|
+
*ngIf="!imageUrl && !iconClass"
|
|
2308
2326
|
innerCssClass="k-button-icon"
|
|
2309
2327
|
name="window-restore"
|
|
2310
|
-
[svgIcon]="windowRestoreIcon"
|
|
2328
|
+
[svgIcon]="windowRestoreIcon">
|
|
2329
|
+
</kendo-icon-wrapper>
|
|
2311
2330
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2312
2331
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2313
2332
|
</span>
|
|
@@ -2328,9 +2347,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2328
2347
|
selector: 'button[kendoWindowRestoreAction]',
|
|
2329
2348
|
template: `
|
|
2330
2349
|
<kendo-icon-wrapper
|
|
2350
|
+
*ngIf="!imageUrl && !iconClass"
|
|
2331
2351
|
innerCssClass="k-button-icon"
|
|
2332
2352
|
name="window-restore"
|
|
2333
|
-
[svgIcon]="windowRestoreIcon"
|
|
2353
|
+
[svgIcon]="windowRestoreIcon">
|
|
2354
|
+
</kendo-icon-wrapper>
|
|
2334
2355
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2335
2356
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2336
2357
|
</span>
|
|
@@ -2389,9 +2410,11 @@ WindowCloseActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
2389
2410
|
}
|
|
2390
2411
|
], exportAs: ["kendoWindowCloseAction"], usesInheritance: true, ngImport: i0, template: `
|
|
2391
2412
|
<kendo-icon-wrapper
|
|
2413
|
+
*ngIf="!imageUrl && !iconClass"
|
|
2392
2414
|
innerCssClass="k-button-icon"
|
|
2393
2415
|
name="x"
|
|
2394
|
-
[svgIcon]="xIcon"
|
|
2416
|
+
[svgIcon]="xIcon">
|
|
2417
|
+
</kendo-icon-wrapper>
|
|
2395
2418
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2396
2419
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2397
2420
|
</span>
|
|
@@ -2412,9 +2435,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2412
2435
|
selector: 'button[kendoWindowCloseAction]',
|
|
2413
2436
|
template: `
|
|
2414
2437
|
<kendo-icon-wrapper
|
|
2438
|
+
*ngIf="!imageUrl && !iconClass"
|
|
2415
2439
|
innerCssClass="k-button-icon"
|
|
2416
2440
|
name="x"
|
|
2417
|
-
[svgIcon]="xIcon"
|
|
2441
|
+
[svgIcon]="xIcon">
|
|
2442
|
+
</kendo-icon-wrapper>
|
|
2418
2443
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2419
2444
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2420
2445
|
</span>
|
|
@@ -3472,16 +3497,16 @@ class SharedModule {
|
|
|
3472
3497
|
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3473
3498
|
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, declarations: [DialogActionsComponent,
|
|
3474
3499
|
CustomMessagesComponent,
|
|
3475
|
-
LocalizedMessagesDirective], imports: [CommonModule, IconsModule], exports: [DialogActionsComponent,
|
|
3500
|
+
LocalizedMessagesDirective], imports: [CommonModule, IconsModule, ButtonModule], exports: [DialogActionsComponent,
|
|
3476
3501
|
CustomMessagesComponent,
|
|
3477
|
-
LocalizedMessagesDirective, CommonModule, IconsModule] });
|
|
3478
|
-
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [[CommonModule, IconsModule], CommonModule, IconsModule] });
|
|
3502
|
+
LocalizedMessagesDirective, CommonModule, IconsModule, ButtonModule] });
|
|
3503
|
+
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [[CommonModule, IconsModule, ButtonModule], CommonModule, IconsModule, ButtonModule] });
|
|
3479
3504
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, decorators: [{
|
|
3480
3505
|
type: NgModule,
|
|
3481
3506
|
args: [{
|
|
3482
3507
|
declarations: [SHARED_DIRECTIVES],
|
|
3483
|
-
exports: [SHARED_DIRECTIVES, CommonModule, IconsModule],
|
|
3484
|
-
imports: [CommonModule, IconsModule]
|
|
3508
|
+
exports: [SHARED_DIRECTIVES, CommonModule, IconsModule, ButtonModule],
|
|
3509
|
+
imports: [CommonModule, IconsModule, ButtonModule]
|
|
3485
3510
|
}]
|
|
3486
3511
|
}] });
|
|
3487
3512
|
|
|
@@ -4,7 +4,7 @@
|
|
|
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 * as i2 from '@angular/animations';
|
|
7
|
+
import * as i2$1 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';
|
|
@@ -13,13 +13,14 @@ 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
15
|
import { xIcon, windowMinimizeIcon, windowIcon, windowRestoreIcon } from '@progress/kendo-svg-icons';
|
|
16
|
-
import * as
|
|
17
|
-
import {
|
|
16
|
+
import * as i2 from '@progress/kendo-angular-buttons';
|
|
17
|
+
import { Button, ButtonModule } from '@progress/kendo-angular-buttons';
|
|
18
18
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
19
19
|
import * as i1$1 from '@progress/kendo-angular-common';
|
|
20
20
|
import { isDocumentAvailable, DraggableDirective, isChanged, DraggableModule } from '@progress/kendo-angular-common';
|
|
21
21
|
import { offset, scrollPosition, positionWithScroll, getDocumentElement, getWindowViewPort } from '@progress/kendo-popup-common';
|
|
22
|
-
import
|
|
22
|
+
import * as i3 from '@progress/kendo-angular-icons';
|
|
23
|
+
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
23
24
|
|
|
24
25
|
/**
|
|
25
26
|
* @hidden
|
|
@@ -513,16 +514,20 @@ DialogTitleBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
513
514
|
|
|
514
515
|
<div class="k-window-actions k-dialog-actions">
|
|
515
516
|
<button
|
|
517
|
+
kendoButton
|
|
518
|
+
fillMode="flat"
|
|
516
519
|
role="button"
|
|
517
520
|
[attr.title]="closeButtonTitle"
|
|
518
521
|
[attr.aria-label]="closeButtonTitle"
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
+
icon="x"
|
|
523
|
+
[svgIcon]="xIcon"
|
|
524
|
+
class="k-window-action k-dialog-action"
|
|
525
|
+
(click)="onCloseClick($event)"
|
|
526
|
+
>
|
|
522
527
|
</button>
|
|
523
528
|
</div>
|
|
524
529
|
</ng-container>
|
|
525
|
-
`, isInline: true, components: [{ type:
|
|
530
|
+
`, isInline: true, components: [{ type: i2.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }] });
|
|
526
531
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DialogTitleBarComponent, decorators: [{
|
|
527
532
|
type: Component,
|
|
528
533
|
args: [{
|
|
@@ -550,12 +555,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
550
555
|
|
|
551
556
|
<div class="k-window-actions k-dialog-actions">
|
|
552
557
|
<button
|
|
558
|
+
kendoButton
|
|
559
|
+
fillMode="flat"
|
|
553
560
|
role="button"
|
|
554
561
|
[attr.title]="closeButtonTitle"
|
|
555
562
|
[attr.aria-label]="closeButtonTitle"
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
563
|
+
icon="x"
|
|
564
|
+
[svgIcon]="xIcon"
|
|
565
|
+
class="k-window-action k-dialog-action"
|
|
566
|
+
(click)="onCloseClick($event)"
|
|
567
|
+
>
|
|
559
568
|
</button>
|
|
560
569
|
</div>
|
|
561
570
|
</ng-container>
|
|
@@ -584,7 +593,7 @@ const packageMetadata = {
|
|
|
584
593
|
name: '@progress/kendo-angular-dialog',
|
|
585
594
|
productName: 'Kendo UI for Angular',
|
|
586
595
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
587
|
-
publishDate:
|
|
596
|
+
publishDate: 1672927150,
|
|
588
597
|
version: '',
|
|
589
598
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
590
599
|
};
|
|
@@ -1016,7 +1025,7 @@ class DialogComponent {
|
|
|
1016
1025
|
}
|
|
1017
1026
|
}
|
|
1018
1027
|
}
|
|
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 });
|
|
1028
|
+
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$1.AnimationBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
1020
1029
|
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: [
|
|
1021
1030
|
LocalizationService,
|
|
1022
1031
|
{
|
|
@@ -1099,7 +1108,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1099
1108
|
</ng-container>
|
|
1100
1109
|
`
|
|
1101
1110
|
}]
|
|
1102
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i2.AnimationBuilder }]; }, propDecorators: { actions: [{
|
|
1111
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i2$1.AnimationBuilder }]; }, propDecorators: { actions: [{
|
|
1103
1112
|
type: Input
|
|
1104
1113
|
}], actionsLayout: [{
|
|
1105
1114
|
type: Input
|
|
@@ -2123,9 +2132,11 @@ WindowMinimizeActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
2123
2132
|
}
|
|
2124
2133
|
], exportAs: ["kendoWindowMinimizeAction"], usesInheritance: true, ngImport: i0, template: `
|
|
2125
2134
|
<kendo-icon-wrapper
|
|
2135
|
+
*ngIf="!imageUrl && !iconClass"
|
|
2126
2136
|
innerCssClass="k-button-icon"
|
|
2127
2137
|
name="window-minimize"
|
|
2128
|
-
[svgIcon]="windowMinimizeIcon"
|
|
2138
|
+
[svgIcon]="windowMinimizeIcon">
|
|
2139
|
+
</kendo-icon-wrapper>
|
|
2129
2140
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2130
2141
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2131
2142
|
</span>
|
|
@@ -2146,9 +2157,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2146
2157
|
selector: 'button[kendoWindowMinimizeAction]',
|
|
2147
2158
|
template: `
|
|
2148
2159
|
<kendo-icon-wrapper
|
|
2160
|
+
*ngIf="!imageUrl && !iconClass"
|
|
2149
2161
|
innerCssClass="k-button-icon"
|
|
2150
2162
|
name="window-minimize"
|
|
2151
|
-
[svgIcon]="windowMinimizeIcon"
|
|
2163
|
+
[svgIcon]="windowMinimizeIcon">
|
|
2164
|
+
</kendo-icon-wrapper>
|
|
2152
2165
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2153
2166
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2154
2167
|
</span>
|
|
@@ -2208,9 +2221,11 @@ WindowMaximizeActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
2208
2221
|
}
|
|
2209
2222
|
], exportAs: ["kendoWindowMaximizeAction"], usesInheritance: true, ngImport: i0, template: `
|
|
2210
2223
|
<kendo-icon-wrapper
|
|
2224
|
+
*ngIf="!imageUrl && !iconClass"
|
|
2211
2225
|
innerCssClass="k-button-icon"
|
|
2212
2226
|
name="window"
|
|
2213
|
-
[svgIcon]="windowIcon"
|
|
2227
|
+
[svgIcon]="windowIcon">
|
|
2228
|
+
</kendo-icon-wrapper>
|
|
2214
2229
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2215
2230
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2216
2231
|
</span>
|
|
@@ -2231,9 +2246,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2231
2246
|
selector: 'button[kendoWindowMaximizeAction]',
|
|
2232
2247
|
template: `
|
|
2233
2248
|
<kendo-icon-wrapper
|
|
2249
|
+
*ngIf="!imageUrl && !iconClass"
|
|
2234
2250
|
innerCssClass="k-button-icon"
|
|
2235
2251
|
name="window"
|
|
2236
|
-
[svgIcon]="windowIcon"
|
|
2252
|
+
[svgIcon]="windowIcon">
|
|
2253
|
+
</kendo-icon-wrapper>
|
|
2237
2254
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2238
2255
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2239
2256
|
</span>
|
|
@@ -2293,9 +2310,11 @@ WindowRestoreActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
2293
2310
|
}
|
|
2294
2311
|
], exportAs: ["kendoWindowRestoreAction"], usesInheritance: true, ngImport: i0, template: `
|
|
2295
2312
|
<kendo-icon-wrapper
|
|
2313
|
+
*ngIf="!imageUrl && !iconClass"
|
|
2296
2314
|
innerCssClass="k-button-icon"
|
|
2297
2315
|
name="window-restore"
|
|
2298
|
-
[svgIcon]="windowRestoreIcon"
|
|
2316
|
+
[svgIcon]="windowRestoreIcon">
|
|
2317
|
+
</kendo-icon-wrapper>
|
|
2299
2318
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2300
2319
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2301
2320
|
</span>
|
|
@@ -2316,9 +2335,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2316
2335
|
selector: 'button[kendoWindowRestoreAction]',
|
|
2317
2336
|
template: `
|
|
2318
2337
|
<kendo-icon-wrapper
|
|
2338
|
+
*ngIf="!imageUrl && !iconClass"
|
|
2319
2339
|
innerCssClass="k-button-icon"
|
|
2320
2340
|
name="window-restore"
|
|
2321
|
-
[svgIcon]="windowRestoreIcon"
|
|
2341
|
+
[svgIcon]="windowRestoreIcon">
|
|
2342
|
+
</kendo-icon-wrapper>
|
|
2322
2343
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2323
2344
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2324
2345
|
</span>
|
|
@@ -2375,9 +2396,11 @@ WindowCloseActionDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
2375
2396
|
}
|
|
2376
2397
|
], exportAs: ["kendoWindowCloseAction"], usesInheritance: true, ngImport: i0, template: `
|
|
2377
2398
|
<kendo-icon-wrapper
|
|
2399
|
+
*ngIf="!imageUrl && !iconClass"
|
|
2378
2400
|
innerCssClass="k-button-icon"
|
|
2379
2401
|
name="x"
|
|
2380
|
-
[svgIcon]="xIcon"
|
|
2402
|
+
[svgIcon]="xIcon">
|
|
2403
|
+
</kendo-icon-wrapper>
|
|
2381
2404
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2382
2405
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2383
2406
|
</span>
|
|
@@ -2398,9 +2421,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2398
2421
|
selector: 'button[kendoWindowCloseAction]',
|
|
2399
2422
|
template: `
|
|
2400
2423
|
<kendo-icon-wrapper
|
|
2424
|
+
*ngIf="!imageUrl && !iconClass"
|
|
2401
2425
|
innerCssClass="k-button-icon"
|
|
2402
2426
|
name="x"
|
|
2403
|
-
[svgIcon]="xIcon"
|
|
2427
|
+
[svgIcon]="xIcon">
|
|
2428
|
+
</kendo-icon-wrapper>
|
|
2404
2429
|
<span *ngIf="imageUrl" class="k-button-icon k-icon">
|
|
2405
2430
|
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
2406
2431
|
</span>
|
|
@@ -3454,16 +3479,16 @@ class SharedModule {
|
|
|
3454
3479
|
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3455
3480
|
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, declarations: [DialogActionsComponent,
|
|
3456
3481
|
CustomMessagesComponent,
|
|
3457
|
-
LocalizedMessagesDirective], imports: [CommonModule, IconsModule], exports: [DialogActionsComponent,
|
|
3482
|
+
LocalizedMessagesDirective], imports: [CommonModule, IconsModule, ButtonModule], exports: [DialogActionsComponent,
|
|
3458
3483
|
CustomMessagesComponent,
|
|
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] });
|
|
3484
|
+
LocalizedMessagesDirective, CommonModule, IconsModule, ButtonModule] });
|
|
3485
|
+
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [[CommonModule, IconsModule, ButtonModule], CommonModule, IconsModule, ButtonModule] });
|
|
3461
3486
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, decorators: [{
|
|
3462
3487
|
type: NgModule,
|
|
3463
3488
|
args: [{
|
|
3464
3489
|
declarations: [SHARED_DIRECTIVES],
|
|
3465
|
-
exports: [SHARED_DIRECTIVES, CommonModule, IconsModule],
|
|
3466
|
-
imports: [CommonModule, IconsModule]
|
|
3490
|
+
exports: [SHARED_DIRECTIVES, CommonModule, IconsModule, ButtonModule],
|
|
3491
|
+
imports: [CommonModule, IconsModule, ButtonModule]
|
|
3467
3492
|
}]
|
|
3468
3493
|
}] });
|
|
3469
3494
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dialog",
|
|
3
|
-
"version": "11.0.0-develop.
|
|
3
|
+
"version": "11.0.0-develop.86",
|
|
4
4
|
"description": "Dialog Package for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"@angular/platform-browser": "13 - 15",
|
|
29
29
|
"@progress/kendo-licensing": "^1.0.2",
|
|
30
30
|
"@progress/kendo-popup-common": "^1.7.0",
|
|
31
|
-
"@progress/kendo-angular-buttons": "11.0.0-develop.
|
|
32
|
-
"@progress/kendo-angular-common": "11.0.0-develop.
|
|
33
|
-
"@progress/kendo-angular-icons": "11.0.0-develop.
|
|
34
|
-
"@progress/kendo-angular-l10n": "11.0.0-develop.
|
|
35
|
-
"@progress/kendo-angular-schematics": "11.0.0-develop.
|
|
31
|
+
"@progress/kendo-angular-buttons": "11.0.0-develop.86",
|
|
32
|
+
"@progress/kendo-angular-common": "11.0.0-develop.86",
|
|
33
|
+
"@progress/kendo-angular-icons": "11.0.0-develop.86",
|
|
34
|
+
"@progress/kendo-angular-l10n": "11.0.0-develop.86",
|
|
35
|
+
"@progress/kendo-angular-schematics": "11.0.0-develop.86",
|
|
36
36
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
package/shared.module.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import * as i2 from "./localization/custom-messages.component";
|
|
|
8
8
|
import * as i3 from "./localization/localized-messages.directive";
|
|
9
9
|
import * as i4 from "@angular/common";
|
|
10
10
|
import * as i5 from "@progress/kendo-angular-icons";
|
|
11
|
+
import * as i6 from "@progress/kendo-angular-buttons";
|
|
11
12
|
/**
|
|
12
13
|
* @hidden
|
|
13
14
|
*/
|
|
@@ -17,6 +18,6 @@ export declare const SHARED_DIRECTIVES: any[];
|
|
|
17
18
|
*/
|
|
18
19
|
export declare class SharedModule {
|
|
19
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
|
|
20
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.DialogActionsComponent, typeof i2.CustomMessagesComponent, typeof i3.LocalizedMessagesDirective], [typeof i4.CommonModule, typeof i5.IconsModule], [typeof i1.DialogActionsComponent, typeof i2.CustomMessagesComponent, typeof i3.LocalizedMessagesDirective, typeof i4.CommonModule, typeof i5.IconsModule]>;
|
|
21
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.DialogActionsComponent, typeof i2.CustomMessagesComponent, typeof i3.LocalizedMessagesDirective], [typeof i4.CommonModule, typeof i5.IconsModule, typeof i6.ButtonModule], [typeof i1.DialogActionsComponent, typeof i2.CustomMessagesComponent, typeof i3.LocalizedMessagesDirective, typeof i4.CommonModule, typeof i5.IconsModule, typeof i6.ButtonModule]>;
|
|
21
22
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
|
|
22
23
|
}
|