@progress/kendo-angular-dialog 25.0.0-develop.2 → 25.0.0-develop.21
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.
|
@@ -13,10 +13,10 @@ import * as i1$1 from '@progress/kendo-angular-l10n';
|
|
|
13
13
|
import { LocalizationService, L10N_PREFIX, RTL, ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
14
14
|
import { take, delay, takeUntil, filter, map, share, tap, switchMap } from 'rxjs/operators';
|
|
15
15
|
import { xIcon, windowRestoreIcon, windowIcon, windowMinimizeIcon } from '@progress/kendo-svg-icons';
|
|
16
|
+
import * as i1$2 from '@progress/kendo-angular-common';
|
|
17
|
+
import { setHTMLAttributes, getLicenseMessage, shouldShowValidationUI, isDocumentAvailable, normalizeKeys, Keys, focusableSelector, WatermarkOverlayComponent, KENDO_WEBMCP_HOST, provideComponentName, DraggableDirective, isChanged } from '@progress/kendo-angular-common';
|
|
16
18
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
17
19
|
import { of, Subscription, Subject, merge } from 'rxjs';
|
|
18
|
-
import * as i1$2 from '@progress/kendo-angular-common';
|
|
19
|
-
import { setHTMLAttributes, getLicenseMessage, shouldShowValidationUI, isDocumentAvailable, normalizeKeys, Keys, focusableSelector, WatermarkOverlayComponent, KENDO_WEBMCP_HOST, DraggableDirective, isChanged } from '@progress/kendo-angular-common';
|
|
20
20
|
import { offset, getWindowViewPort } from '@progress/kendo-popup-common';
|
|
21
21
|
import { IconWrapperComponent, IconsService } from '@progress/kendo-angular-icons';
|
|
22
22
|
|
|
@@ -95,8 +95,8 @@ class DialogActionsComponent {
|
|
|
95
95
|
isDivider(action) {
|
|
96
96
|
return action === 'spacer';
|
|
97
97
|
}
|
|
98
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
99
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
98
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DialogActionsComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
99
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.26", type: DialogActionsComponent, isStandalone: true, selector: "kendo-dialog-actions", inputs: { actions: "actions", layout: "layout" }, outputs: { action: "action" }, host: { properties: { "class.k-actions": "this.hostClasses", "class.k-actions-horizontal": "this.hostClasses", "class.k-window-actions": "this.hostClasses", "class.k-dialog-actions": "this.hostClasses", "class.k-actions-start": "this.startClassName", "class.k-actions-center": "this.centerClassName", "class.k-actions-end": "this.endClassName", "class.k-actions-stretched": "this.stretchedClassName" } }, ngImport: i0, template: `
|
|
100
100
|
@if (!actions) {
|
|
101
101
|
<ng-content></ng-content>
|
|
102
102
|
}
|
|
@@ -126,7 +126,7 @@ class DialogActionsComponent {
|
|
|
126
126
|
}
|
|
127
127
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i1.ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
128
128
|
}
|
|
129
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
129
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DialogActionsComponent, decorators: [{
|
|
130
130
|
type: Component,
|
|
131
131
|
args: [{
|
|
132
132
|
selector: 'kendo-dialog-actions',
|
|
@@ -241,10 +241,10 @@ class TitleBarLocalizationService extends LocalizationService {
|
|
|
241
241
|
}
|
|
242
242
|
return super.get(shortKey);
|
|
243
243
|
}
|
|
244
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
245
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
244
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: TitleBarLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i1$1.MessageService, optional: true }, { token: RTL, optional: true }, { token: DIALOG_LOCALIZATION_SERVICE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
245
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: TitleBarLocalizationService });
|
|
246
246
|
}
|
|
247
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
247
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: TitleBarLocalizationService, decorators: [{
|
|
248
248
|
type: Injectable
|
|
249
249
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
250
250
|
type: Inject,
|
|
@@ -283,10 +283,10 @@ class Messages extends ComponentMessages {
|
|
|
283
283
|
* Sets the title for the **Minimize** button.
|
|
284
284
|
*/
|
|
285
285
|
minimizeTitle;
|
|
286
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
287
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
286
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
287
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.26", type: Messages, isStandalone: true, selector: "kendo-dialog-messages-base", inputs: { closeTitle: "closeTitle", restoreTitle: "restoreTitle", maximizeTitle: "maximizeTitle", minimizeTitle: "minimizeTitle" }, usesInheritance: true, ngImport: i0 });
|
|
288
288
|
}
|
|
289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: Messages, decorators: [{
|
|
290
290
|
type: Directive,
|
|
291
291
|
args: [{
|
|
292
292
|
selector: 'kendo-dialog-messages-base'
|
|
@@ -310,15 +310,15 @@ class LocalizedMessagesDirective extends Messages {
|
|
|
310
310
|
super();
|
|
311
311
|
this.service = service;
|
|
312
312
|
}
|
|
313
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
314
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
313
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
314
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.26", type: LocalizedMessagesDirective, isStandalone: true, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n ", providers: [
|
|
315
315
|
{
|
|
316
316
|
provide: Messages,
|
|
317
317
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
318
318
|
}
|
|
319
319
|
], usesInheritance: true, ngImport: i0 });
|
|
320
320
|
}
|
|
321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
322
322
|
type: Directive,
|
|
323
323
|
args: [{
|
|
324
324
|
providers: [
|
|
@@ -402,8 +402,8 @@ class DialogTitleBarComponent {
|
|
|
402
402
|
const eventArgs = new PreventableEvent();
|
|
403
403
|
this.close.emit(eventArgs);
|
|
404
404
|
}
|
|
405
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
406
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
405
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DialogTitleBarComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i1$1.LocalizationService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
406
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.26", type: DialogTitleBarComponent, isStandalone: true, selector: "kendo-dialog-titlebar", inputs: { id: "id", closeTitle: "closeTitle", closable: "closable" }, outputs: { close: "close" }, host: { properties: { "class.k-window-titlebar": "this.className", "class.k-dialog-titlebar": "this.className" } }, providers: [
|
|
407
407
|
TitleBarLocalizationService,
|
|
408
408
|
{
|
|
409
409
|
provide: LocalizationService,
|
|
@@ -443,7 +443,7 @@ class DialogTitleBarComponent {
|
|
|
443
443
|
</ng-container>
|
|
444
444
|
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
445
445
|
}
|
|
446
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DialogTitleBarComponent, decorators: [{
|
|
447
447
|
type: Component,
|
|
448
448
|
args: [{
|
|
449
449
|
selector: 'kendo-dialog-titlebar',
|
|
@@ -516,8 +516,8 @@ const packageMetadata = {
|
|
|
516
516
|
productName: 'Kendo UI for Angular',
|
|
517
517
|
productCode: 'KENDOUIANGULAR',
|
|
518
518
|
productCodes: ['KENDOUIANGULAR'],
|
|
519
|
-
publishDate:
|
|
520
|
-
version: '25.0.0-develop.
|
|
519
|
+
publishDate: 1785852456,
|
|
520
|
+
version: '25.0.0-develop.21',
|
|
521
521
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
522
522
|
};
|
|
523
523
|
|
|
@@ -1237,8 +1237,8 @@ class DialogComponent {
|
|
|
1237
1237
|
this.subscriptions.push(s);
|
|
1238
1238
|
}
|
|
1239
1239
|
}
|
|
1240
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1241
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
1240
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DialogComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i2.AnimationBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
1241
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.26", type: DialogComponent, isStandalone: true, selector: "kendo-dialog", inputs: { actions: "actions", actionsLayout: "actionsLayout", autoFocusedElement: "autoFocusedElement", closable: "closable", 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: [
|
|
1242
1242
|
LocalizationService,
|
|
1243
1243
|
{
|
|
1244
1244
|
provide: DIALOG_LOCALIZATION_SERVICE,
|
|
@@ -1248,7 +1248,8 @@ class DialogComponent {
|
|
|
1248
1248
|
provide: L10N_PREFIX,
|
|
1249
1249
|
useValue: 'kendo.dialog'
|
|
1250
1250
|
},
|
|
1251
|
-
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DialogComponent) }
|
|
1251
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DialogComponent) },
|
|
1252
|
+
provideComponentName('dialog')
|
|
1252
1253
|
], queries: [{ propertyName: "titlebarContent", predicate: DialogTitleBarComponent }], viewQueries: [{ propertyName: "actionsView", first: true, predicate: DialogActionsComponent, descendants: true }, { propertyName: "dialog", first: true, predicate: ["dialog"], descendants: true, static: true }, { propertyName: "titlebarView", predicate: DialogTitleBarComponent, descendants: true }], exportAs: ["kendoDialog"], ngImport: i0, template: `
|
|
1253
1254
|
<ng-container
|
|
1254
1255
|
kendoDialogLocalizedMessages
|
|
@@ -1293,7 +1294,7 @@ class DialogComponent {
|
|
|
1293
1294
|
])
|
|
1294
1295
|
] });
|
|
1295
1296
|
}
|
|
1296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1297
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DialogComponent, decorators: [{
|
|
1297
1298
|
type: Component,
|
|
1298
1299
|
args: [{
|
|
1299
1300
|
animations: [
|
|
@@ -1313,7 +1314,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
1313
1314
|
provide: L10N_PREFIX,
|
|
1314
1315
|
useValue: 'kendo.dialog'
|
|
1315
1316
|
},
|
|
1316
|
-
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DialogComponent) }
|
|
1317
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DialogComponent) },
|
|
1318
|
+
provideComponentName('dialog')
|
|
1317
1319
|
],
|
|
1318
1320
|
selector: 'kendo-dialog',
|
|
1319
1321
|
template: `
|
|
@@ -1488,10 +1490,10 @@ class DialogContentBase {
|
|
|
1488
1490
|
}
|
|
1489
1491
|
}
|
|
1490
1492
|
}
|
|
1491
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1492
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
1493
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DialogContentBase, deps: [{ token: DialogRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1494
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.26", type: DialogContentBase, isStandalone: true, viewQueries: [{ propertyName: "dialogTitleBar", first: true, predicate: DialogTitleBarComponent, descendants: true }, { propertyName: "dialogActions", first: true, predicate: DialogActionsComponent, descendants: true }], ngImport: i0 });
|
|
1493
1495
|
}
|
|
1494
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1496
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DialogContentBase, decorators: [{
|
|
1495
1497
|
type: Directive
|
|
1496
1498
|
}], ctorParameters: () => [{ type: DialogRef }], propDecorators: { dialogTitleBar: [{
|
|
1497
1499
|
type: ViewChild,
|
|
@@ -1512,10 +1514,10 @@ class DialogContainerService {
|
|
|
1512
1514
|
get container() {
|
|
1513
1515
|
return DialogContainerService.container;
|
|
1514
1516
|
}
|
|
1515
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1516
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1517
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DialogContainerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1518
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DialogContainerService, providedIn: 'root' });
|
|
1517
1519
|
}
|
|
1518
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1520
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DialogContainerService, decorators: [{
|
|
1519
1521
|
type: Injectable,
|
|
1520
1522
|
args: [{
|
|
1521
1523
|
providedIn: 'root'
|
|
@@ -1676,6 +1678,9 @@ class DialogInjector {
|
|
|
1676
1678
|
*/
|
|
1677
1679
|
class DialogService {
|
|
1678
1680
|
containerService;
|
|
1681
|
+
/**
|
|
1682
|
+
* @hidden
|
|
1683
|
+
*/
|
|
1679
1684
|
constructor(containerService) {
|
|
1680
1685
|
this.containerService = containerService;
|
|
1681
1686
|
}
|
|
@@ -1829,10 +1834,10 @@ See https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/service/.
|
|
|
1829
1834
|
]
|
|
1830
1835
|
};
|
|
1831
1836
|
}
|
|
1832
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1833
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1837
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DialogService, deps: [{ token: DialogContainerService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1838
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DialogService, providedIn: 'root' });
|
|
1834
1839
|
}
|
|
1835
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1840
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DialogService, decorators: [{
|
|
1836
1841
|
type: Injectable,
|
|
1837
1842
|
args: [{
|
|
1838
1843
|
providedIn: 'root'
|
|
@@ -2151,10 +2156,10 @@ class DragResizeService {
|
|
|
2151
2156
|
get windowViewPort() {
|
|
2152
2157
|
return getWindowViewPort(this.window.nativeElement);
|
|
2153
2158
|
}
|
|
2154
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2155
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2159
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DragResizeService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2160
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DragResizeService });
|
|
2156
2161
|
}
|
|
2157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2162
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DragResizeService, decorators: [{
|
|
2158
2163
|
type: Injectable
|
|
2159
2164
|
}], ctorParameters: () => [{ type: i0.NgZone }] });
|
|
2160
2165
|
|
|
@@ -2204,10 +2209,10 @@ class ResizeHandleDirective {
|
|
|
2204
2209
|
setDisplay(value = 'block') {
|
|
2205
2210
|
this.renderer.setStyle(this.el.nativeElement, 'display', this.service.options.state === 'default' ? value : 'none');
|
|
2206
2211
|
}
|
|
2207
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2208
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
2212
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: ResizeHandleDirective, deps: [{ token: i1$2.DraggableDirective, host: true }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DragResizeService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2213
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.26", type: ResizeHandleDirective, isStandalone: true, selector: "[kendoWindowResizeHandle]", inputs: { direction: "direction" }, host: { properties: { "class.k-resize-handle": "this.hostClass" } }, ngImport: i0 });
|
|
2209
2214
|
}
|
|
2210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: ResizeHandleDirective, decorators: [{
|
|
2211
2216
|
type: Directive,
|
|
2212
2217
|
args: [{
|
|
2213
2218
|
selector: '[kendoWindowResizeHandle]',
|
|
@@ -2251,7 +2256,6 @@ class WindowTitleBarComponent {
|
|
|
2251
2256
|
}
|
|
2252
2257
|
ngOnInit() {
|
|
2253
2258
|
this.dragDirective = new DraggableDirective(this.el, this.ngZone);
|
|
2254
|
-
this.dragDirective.ngOnInit();
|
|
2255
2259
|
if (this.isDraggable) {
|
|
2256
2260
|
this.subscribeDrag();
|
|
2257
2261
|
}
|
|
@@ -2341,8 +2345,8 @@ class WindowTitleBarComponent {
|
|
|
2341
2345
|
const options = this.service.options;
|
|
2342
2346
|
return options.draggable && options.state !== 'maximized';
|
|
2343
2347
|
}
|
|
2344
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2345
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
2348
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: WindowTitleBarComponent, deps: [{ token: i0.ElementRef }, { token: DragResizeService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2349
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.26", type: WindowTitleBarComponent, isStandalone: true, selector: "kendo-window-titlebar", inputs: { template: "template", id: "id" }, host: { listeners: { "dblclick": "handle($event)" }, properties: { "class.k-window-titlebar": "this.className", "style.touch-action": "this.touchAction" } }, ngImport: i0, template: `
|
|
2346
2350
|
@if (!template) {
|
|
2347
2351
|
<ng-content></ng-content>
|
|
2348
2352
|
}
|
|
@@ -2354,7 +2358,7 @@ class WindowTitleBarComponent {
|
|
|
2354
2358
|
}
|
|
2355
2359
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
2356
2360
|
}
|
|
2357
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2361
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: WindowTitleBarComponent, decorators: [{
|
|
2358
2362
|
type: Component,
|
|
2359
2363
|
args: [{
|
|
2360
2364
|
selector: 'kendo-window-titlebar',
|
|
@@ -2531,10 +2535,10 @@ class NavigationService {
|
|
|
2531
2535
|
}
|
|
2532
2536
|
}
|
|
2533
2537
|
}
|
|
2534
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2535
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2538
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: NavigationService, deps: [{ token: DragResizeService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2539
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: NavigationService });
|
|
2536
2540
|
}
|
|
2537
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2541
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: NavigationService, decorators: [{
|
|
2538
2542
|
type: Injectable
|
|
2539
2543
|
}], ctorParameters: () => [{ type: DragResizeService }, { type: i0.NgZone }] });
|
|
2540
2544
|
|
|
@@ -2571,8 +2575,8 @@ class WindowCloseActionDirective extends Button {
|
|
|
2571
2575
|
this.window.closeAction();
|
|
2572
2576
|
}
|
|
2573
2577
|
}
|
|
2574
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2575
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
2578
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: WindowCloseActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DragResizeService, optional: true }, { token: i1$1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2579
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.26", type: WindowCloseActionDirective, isStandalone: true, selector: "button[kendoWindowCloseAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass" } }, providers: [
|
|
2576
2580
|
LocalizationService,
|
|
2577
2581
|
{
|
|
2578
2582
|
provide: L10N_PREFIX,
|
|
@@ -2597,7 +2601,7 @@ class WindowCloseActionDirective extends Button {
|
|
|
2597
2601
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2598
2602
|
`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
2599
2603
|
}
|
|
2600
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: WindowCloseActionDirective, decorators: [{
|
|
2601
2605
|
type: Component,
|
|
2602
2606
|
args: [{
|
|
2603
2607
|
exportAs: 'kendoWindowCloseAction',
|
|
@@ -2681,8 +2685,8 @@ class WindowRestoreActionDirective extends Button {
|
|
|
2681
2685
|
get visible() {
|
|
2682
2686
|
return this.window.options.state === 'default' ? 'none' : 'inline-flex';
|
|
2683
2687
|
}
|
|
2684
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2685
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
2688
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: WindowRestoreActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DragResizeService, optional: true }, { token: i1$1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2689
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.26", type: WindowRestoreActionDirective, isStandalone: true, selector: "button[kendoWindowRestoreAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
|
|
2686
2690
|
LocalizationService,
|
|
2687
2691
|
{
|
|
2688
2692
|
provide: L10N_PREFIX,
|
|
@@ -2707,7 +2711,7 @@ class WindowRestoreActionDirective extends Button {
|
|
|
2707
2711
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2708
2712
|
`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
2709
2713
|
}
|
|
2710
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2714
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: WindowRestoreActionDirective, decorators: [{
|
|
2711
2715
|
type: Component,
|
|
2712
2716
|
args: [{
|
|
2713
2717
|
exportAs: 'kendoWindowRestoreAction',
|
|
@@ -2794,8 +2798,8 @@ class WindowMaximizeActionDirective extends Button {
|
|
|
2794
2798
|
get visible() {
|
|
2795
2799
|
return this.window.options.state === 'default' ? 'inline-flex' : 'none';
|
|
2796
2800
|
}
|
|
2797
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2798
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
2801
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: WindowMaximizeActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DragResizeService, optional: true }, { token: i1$1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2802
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.26", type: WindowMaximizeActionDirective, isStandalone: true, selector: "button[kendoWindowMaximizeAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
|
|
2799
2803
|
LocalizationService,
|
|
2800
2804
|
{
|
|
2801
2805
|
provide: L10N_PREFIX,
|
|
@@ -2820,7 +2824,7 @@ class WindowMaximizeActionDirective extends Button {
|
|
|
2820
2824
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2821
2825
|
`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
2822
2826
|
}
|
|
2823
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2827
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: WindowMaximizeActionDirective, decorators: [{
|
|
2824
2828
|
type: Component,
|
|
2825
2829
|
args: [{
|
|
2826
2830
|
exportAs: 'kendoWindowMaximizeAction',
|
|
@@ -2907,8 +2911,8 @@ class WindowMinimizeActionDirective extends Button {
|
|
|
2907
2911
|
get visible() {
|
|
2908
2912
|
return this.window.options.state === 'default' ? 'inline-flex' : 'none';
|
|
2909
2913
|
}
|
|
2910
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2911
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
2914
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: WindowMinimizeActionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DragResizeService, optional: true }, { token: i1$1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2915
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.26", type: WindowMinimizeActionDirective, isStandalone: true, selector: "button[kendoWindowMinimizeAction]", inputs: { window: "window" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.buttonType", "class.k-window-titlebar-action": "this.buttonClass", "style.display": "this.visible" } }, providers: [
|
|
2912
2916
|
LocalizationService,
|
|
2913
2917
|
{
|
|
2914
2918
|
provide: L10N_PREFIX,
|
|
@@ -2933,7 +2937,7 @@ class WindowMinimizeActionDirective extends Button {
|
|
|
2933
2937
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
2934
2938
|
`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
2935
2939
|
}
|
|
2936
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2940
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: WindowMinimizeActionDirective, decorators: [{
|
|
2937
2941
|
type: Component,
|
|
2938
2942
|
args: [{
|
|
2939
2943
|
exportAs: 'kendoWindowMinimizeAction',
|
|
@@ -3538,8 +3542,8 @@ class WindowComponent {
|
|
|
3538
3542
|
generateTitleId() {
|
|
3539
3543
|
return 'kendo-window-title-' + Math.ceil(Math.random() * 1000000).toString();
|
|
3540
3544
|
}
|
|
3541
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3542
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
3545
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: WindowComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DragResizeService }, { token: NavigationService }, { token: i0.NgZone }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3546
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.26", type: WindowComponent, isStandalone: true, 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.hostClass", "attr.dir": "this.dir", "style.minWidth": "this.styleMinWidth", "style.minHeight": "this.styleMinHeight", "style.position": "this.stylePosition", "class.k-window-maximized": "this.wrapperMaximizedClass", "class.k-window-minimized": "this.wrapperMinimizedClass" } }, providers: [
|
|
3543
3547
|
DragResizeService,
|
|
3544
3548
|
NavigationService,
|
|
3545
3549
|
LocalizationService,
|
|
@@ -3547,6 +3551,7 @@ class WindowComponent {
|
|
|
3547
3551
|
provide: L10N_PREFIX,
|
|
3548
3552
|
useValue: 'kendo.window'
|
|
3549
3553
|
},
|
|
3554
|
+
provideComponentName('window'),
|
|
3550
3555
|
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => WindowComponent) }
|
|
3551
3556
|
], queries: [{ propertyName: "titleBarContent", first: true, predicate: WindowTitleBarComponent, descendants: true }], viewQueries: [{ propertyName: "titleBarView", first: true, predicate: WindowTitleBarComponent, descendants: true }, { propertyName: "resizeHandles", predicate: ResizeHandleDirective, descendants: true }], exportAs: ["kendoWindow"], usesOnChanges: true, ngImport: i0, template: `
|
|
3552
3557
|
<ng-container kendoWindowLocalizedMessages
|
|
@@ -3608,7 +3613,7 @@ class WindowComponent {
|
|
|
3608
3613
|
}
|
|
3609
3614
|
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }, { kind: "component", type: WindowTitleBarComponent, selector: "kendo-window-titlebar", inputs: ["template", "id"] }, { kind: "component", type: WindowMinimizeActionDirective, selector: "button[kendoWindowMinimizeAction]", inputs: ["window"], exportAs: ["kendoWindowMinimizeAction"] }, { kind: "component", type: WindowMaximizeActionDirective, selector: "button[kendoWindowMaximizeAction]", inputs: ["window"], exportAs: ["kendoWindowMaximizeAction"] }, { kind: "component", type: WindowRestoreActionDirective, selector: "button[kendoWindowRestoreAction]", inputs: ["window"], exportAs: ["kendoWindowRestoreAction"] }, { kind: "component", type: WindowCloseActionDirective, selector: "button[kendoWindowCloseAction]", inputs: ["window"], exportAs: ["kendoWindowCloseAction"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: ResizeHandleDirective, selector: "[kendoWindowResizeHandle]", inputs: ["direction"] }, { kind: "directive", type: DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay], kendo-watermark-overlay", inputs: ["licenseMessage"] }] });
|
|
3610
3615
|
}
|
|
3611
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3616
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: WindowComponent, decorators: [{
|
|
3612
3617
|
type: Component,
|
|
3613
3618
|
args: [{
|
|
3614
3619
|
exportAs: 'kendoWindow',
|
|
@@ -3620,6 +3625,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
3620
3625
|
provide: L10N_PREFIX,
|
|
3621
3626
|
useValue: 'kendo.window'
|
|
3622
3627
|
},
|
|
3628
|
+
provideComponentName('window'),
|
|
3623
3629
|
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => WindowComponent) }
|
|
3624
3630
|
],
|
|
3625
3631
|
selector: 'kendo-window',
|
|
@@ -3901,10 +3907,10 @@ class WindowContainerService {
|
|
|
3901
3907
|
get container() {
|
|
3902
3908
|
return WindowContainerService.container;
|
|
3903
3909
|
}
|
|
3904
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3905
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3910
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: WindowContainerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3911
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: WindowContainerService, providedIn: 'root' });
|
|
3906
3912
|
}
|
|
3907
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3913
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: WindowContainerService, decorators: [{
|
|
3908
3914
|
type: Injectable,
|
|
3909
3915
|
args: [{
|
|
3910
3916
|
providedIn: 'root'
|
|
@@ -3933,6 +3939,9 @@ class WindowInjector {
|
|
|
3933
3939
|
*/
|
|
3934
3940
|
class WindowService {
|
|
3935
3941
|
containerService;
|
|
3942
|
+
/**
|
|
3943
|
+
* @hidden
|
|
3944
|
+
*/
|
|
3936
3945
|
constructor(containerService) {
|
|
3937
3946
|
this.containerService = containerService;
|
|
3938
3947
|
}
|
|
@@ -4080,10 +4089,10 @@ class WindowService {
|
|
|
4080
4089
|
]
|
|
4081
4090
|
};
|
|
4082
4091
|
}
|
|
4083
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4084
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4092
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: WindowService, deps: [{ token: WindowContainerService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4093
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: WindowService, providedIn: 'root' });
|
|
4085
4094
|
}
|
|
4086
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4095
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: WindowService, decorators: [{
|
|
4087
4096
|
type: Injectable,
|
|
4088
4097
|
args: [{
|
|
4089
4098
|
providedIn: 'root'
|
|
@@ -4106,10 +4115,10 @@ class DialogContainerDirective {
|
|
|
4106
4115
|
constructor(container, service) {
|
|
4107
4116
|
service.container = container;
|
|
4108
4117
|
}
|
|
4109
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4110
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
4118
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DialogContainerDirective, deps: [{ token: i0.ViewContainerRef }, { token: DialogContainerService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4119
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.26", type: DialogContainerDirective, isStandalone: true, selector: "[kendoDialogContainer]", ngImport: i0 });
|
|
4111
4120
|
}
|
|
4112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DialogContainerDirective, decorators: [{
|
|
4113
4122
|
type: Directive,
|
|
4114
4123
|
args: [{
|
|
4115
4124
|
selector: '[kendoDialogContainer]',
|
|
@@ -4151,15 +4160,15 @@ class CustomMessagesComponent extends Messages {
|
|
|
4151
4160
|
get override() {
|
|
4152
4161
|
return true;
|
|
4153
4162
|
}
|
|
4154
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4155
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
4163
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4164
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.26", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-dialog-messages, kendo-window-messages", providers: [
|
|
4156
4165
|
{
|
|
4157
4166
|
provide: Messages,
|
|
4158
4167
|
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
4159
4168
|
}
|
|
4160
4169
|
], usesInheritance: true, ngImport: i0 });
|
|
4161
4170
|
}
|
|
4162
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4171
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: CustomMessagesComponent, decorators: [{
|
|
4163
4172
|
type: Directive,
|
|
4164
4173
|
args: [{
|
|
4165
4174
|
providers: [
|
|
@@ -4186,10 +4195,10 @@ class WindowContainerDirective {
|
|
|
4186
4195
|
constructor(container, service) {
|
|
4187
4196
|
service.container = container;
|
|
4188
4197
|
}
|
|
4189
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4190
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
4198
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: WindowContainerDirective, deps: [{ token: i0.ViewContainerRef }, { token: WindowContainerService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4199
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.26", type: WindowContainerDirective, isStandalone: true, selector: "[kendoWindowContainer]", ngImport: i0 });
|
|
4191
4200
|
}
|
|
4192
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4201
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: WindowContainerDirective, decorators: [{
|
|
4193
4202
|
type: Directive,
|
|
4194
4203
|
args: [{
|
|
4195
4204
|
selector: '[kendoWindowContainer]',
|
|
@@ -4299,11 +4308,11 @@ const KENDO_DIALOGS = [
|
|
|
4299
4308
|
* ```
|
|
4300
4309
|
*/
|
|
4301
4310
|
class DialogModule {
|
|
4302
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4303
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
4304
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
4311
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4312
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.26", ngImport: i0, type: DialogModule, imports: [DialogComponent, DialogTitleBarComponent, DialogContainerDirective, DialogActionsComponent, CustomMessagesComponent], exports: [DialogComponent, DialogTitleBarComponent, DialogContainerDirective, DialogActionsComponent, CustomMessagesComponent] });
|
|
4313
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DialogModule, providers: [DialogContainerService, DialogService, IconsService], imports: [DialogComponent, DialogTitleBarComponent, DialogActionsComponent] });
|
|
4305
4314
|
}
|
|
4306
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4315
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DialogModule, decorators: [{
|
|
4307
4316
|
type: NgModule,
|
|
4308
4317
|
args: [{
|
|
4309
4318
|
exports: [...KENDO_DIALOG],
|
|
@@ -4334,11 +4343,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
4334
4343
|
* ```
|
|
4335
4344
|
*/
|
|
4336
4345
|
class WindowModule {
|
|
4337
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4338
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
4339
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
4346
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: WindowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4347
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.26", ngImport: i0, type: WindowModule, imports: [WindowComponent, WindowCloseActionDirective, WindowMinimizeActionDirective, WindowMaximizeActionDirective, WindowRestoreActionDirective, WindowTitleBarComponent, WindowContainerDirective, DialogActionsComponent, CustomMessagesComponent], exports: [WindowComponent, WindowCloseActionDirective, WindowMinimizeActionDirective, WindowMaximizeActionDirective, WindowRestoreActionDirective, WindowTitleBarComponent, WindowContainerDirective, DialogActionsComponent, CustomMessagesComponent] });
|
|
4348
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: WindowModule, providers: [WindowContainerService, WindowService, IconsService], imports: [WindowComponent, WindowCloseActionDirective, WindowMinimizeActionDirective, WindowMaximizeActionDirective, WindowRestoreActionDirective, DialogActionsComponent] });
|
|
4340
4349
|
}
|
|
4341
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: WindowModule, decorators: [{
|
|
4342
4351
|
type: NgModule,
|
|
4343
4352
|
args: [{
|
|
4344
4353
|
imports: [...KENDO_WINDOW],
|
|
@@ -4370,11 +4379,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
4370
4379
|
* ```
|
|
4371
4380
|
*/
|
|
4372
4381
|
class DialogsModule {
|
|
4373
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4374
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
4375
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
4382
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DialogsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4383
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.26", ngImport: i0, type: DialogsModule, imports: [DialogComponent, DialogTitleBarComponent, DialogContainerDirective, DialogActionsComponent, CustomMessagesComponent, WindowComponent, WindowCloseActionDirective, WindowMinimizeActionDirective, WindowMaximizeActionDirective, WindowRestoreActionDirective, WindowTitleBarComponent, WindowContainerDirective, DialogActionsComponent, CustomMessagesComponent], exports: [DialogComponent, DialogTitleBarComponent, DialogContainerDirective, DialogActionsComponent, CustomMessagesComponent, WindowComponent, WindowCloseActionDirective, WindowMinimizeActionDirective, WindowMaximizeActionDirective, WindowRestoreActionDirective, WindowTitleBarComponent, WindowContainerDirective, DialogActionsComponent, CustomMessagesComponent] });
|
|
4384
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DialogsModule, providers: [IconsService, DialogService, DialogContainerService, WindowService, WindowContainerService], imports: [DialogComponent, DialogTitleBarComponent, DialogActionsComponent, WindowComponent, WindowCloseActionDirective, WindowMinimizeActionDirective, WindowMaximizeActionDirective, WindowRestoreActionDirective, DialogActionsComponent] });
|
|
4376
4385
|
}
|
|
4377
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4386
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: DialogsModule, decorators: [{
|
|
4378
4387
|
type: NgModule,
|
|
4379
4388
|
args: [{
|
|
4380
4389
|
imports: [...KENDO_DIALOGS],
|
package/index.d.ts
CHANGED
|
@@ -658,6 +658,9 @@ declare class DialogSettings {
|
|
|
658
658
|
*/
|
|
659
659
|
declare class DialogService {
|
|
660
660
|
private containerService;
|
|
661
|
+
/**
|
|
662
|
+
* @hidden
|
|
663
|
+
*/
|
|
661
664
|
constructor(containerService: DialogContainerService);
|
|
662
665
|
/**
|
|
663
666
|
* Opens a Dialog window. Requires an element in the application that uses the
|
|
@@ -1403,6 +1406,9 @@ declare class WindowContainerService {
|
|
|
1403
1406
|
*/
|
|
1404
1407
|
declare class WindowService {
|
|
1405
1408
|
private containerService;
|
|
1409
|
+
/**
|
|
1410
|
+
* @hidden
|
|
1411
|
+
*/
|
|
1406
1412
|
constructor(containerService: WindowContainerService);
|
|
1407
1413
|
/**
|
|
1408
1414
|
* Opens a Window component with the specified settings.
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "25.0.0-develop.
|
|
10
|
+
"publishDate": 1785852456,
|
|
11
|
+
"version": "25.0.0-develop.21",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dialog",
|
|
3
|
-
"version": "25.0.0-develop.
|
|
3
|
+
"version": "25.0.0-develop.21",
|
|
4
4
|
"description": "Dialog Package for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"package": {
|
|
46
46
|
"productName": "Kendo UI for Angular",
|
|
47
47
|
"productCode": "KENDOUIANGULAR",
|
|
48
|
-
"publishDate":
|
|
48
|
+
"publishDate": 1785852456,
|
|
49
49
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
50
50
|
}
|
|
51
51
|
},
|
|
@@ -55,15 +55,15 @@
|
|
|
55
55
|
"@angular/core": "20 - 22",
|
|
56
56
|
"@angular/platform-browser": "20 - 22",
|
|
57
57
|
"@progress/kendo-licensing": "^1.11.0",
|
|
58
|
-
"@progress/kendo-angular-buttons": "25.0.0-develop.
|
|
59
|
-
"@progress/kendo-angular-common": "25.0.0-develop.
|
|
60
|
-
"@progress/kendo-angular-icons": "25.0.0-develop.
|
|
61
|
-
"@progress/kendo-angular-l10n": "25.0.0-develop.
|
|
58
|
+
"@progress/kendo-angular-buttons": "25.0.0-develop.21",
|
|
59
|
+
"@progress/kendo-angular-common": "25.0.0-develop.21",
|
|
60
|
+
"@progress/kendo-angular-icons": "25.0.0-develop.21",
|
|
61
|
+
"@progress/kendo-angular-l10n": "25.0.0-develop.21",
|
|
62
62
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"tslib": "^2.3.1",
|
|
66
|
-
"@progress/kendo-angular-schematics": "25.0.0-develop.
|
|
66
|
+
"@progress/kendo-angular-schematics": "25.0.0-develop.21",
|
|
67
67
|
"@progress/kendo-popup-common": "1.9.5"
|
|
68
68
|
},
|
|
69
69
|
"schematics": "./schematics/collection.json",
|
|
@@ -9,7 +9,7 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'DialogsModule', package: 'dialog', peerDependencies: {
|
|
11
11
|
// Peer dependency of buttons
|
|
12
|
-
'@progress/kendo-angular-popup': '25.0.0-develop.
|
|
12
|
+
'@progress/kendo-angular-popup': '25.0.0-develop.21',
|
|
13
13
|
// Peer dependency of icons
|
|
14
14
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
15
15
|
} });
|