@progress/kendo-angular-dialog 24.0.0-develop.2 → 24.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.
- package/NOTICE.txt +2599 -172
- package/dialog/dialog.component.d.ts +1 -11
- package/dialog/models/dialog-settings.d.ts +0 -5
- package/dialog/models/index.d.ts +0 -1
- package/fesm2022/progress-kendo-angular-dialog.mjs +12 -72
- package/index.d.ts +2 -2
- package/package-metadata.mjs +2 -2
- package/package.json +7 -7
- package/schematics/ngAdd/index.js +1 -1
- package/window/models/index.d.ts +0 -1
- package/window/models/window-settings.d.ts +0 -5
- package/window/window.component.d.ts +1 -9
- package/dialog/models/theme-color.d.ts +0 -14
- package/window/models/theme-color.d.ts +0 -13
|
@@ -11,7 +11,6 @@ import { LicenseMessage } from '@progress/kendo-licensing';
|
|
|
11
11
|
import { ActionsLayout } from '../common/actions-layout';
|
|
12
12
|
import { DialogAction } from './models/dialog-action';
|
|
13
13
|
import { DialogAnimation } from './models/dialog-animation';
|
|
14
|
-
import { DialogThemeColor } from './models';
|
|
15
14
|
import * as i0 from "@angular/core";
|
|
16
15
|
/**
|
|
17
16
|
* Represents the [Kendo UI Dialog component for Angular](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog).
|
|
@@ -122,13 +121,6 @@ export declare class DialogComponent implements AfterContentInit, AfterViewInit,
|
|
|
122
121
|
* @default true
|
|
123
122
|
*/
|
|
124
123
|
animation: boolean | DialogAnimation;
|
|
125
|
-
/**
|
|
126
|
-
* Sets a predefined theme color for the Dialog. The color applies to the title bar background and border, and updates the text color.
|
|
127
|
-
*
|
|
128
|
-
* @type {DialogThemeColor}
|
|
129
|
-
*/
|
|
130
|
-
set themeColor(themeColor: DialogThemeColor);
|
|
131
|
-
get themeColor(): DialogThemeColor;
|
|
132
124
|
/**
|
|
133
125
|
* @hidden
|
|
134
126
|
*/
|
|
@@ -187,7 +179,6 @@ export declare class DialogComponent implements AfterContentInit, AfterViewInit,
|
|
|
187
179
|
dialog: ElementRef;
|
|
188
180
|
private _htmlAttributes;
|
|
189
181
|
private _cssClass;
|
|
190
|
-
private _themeColor;
|
|
191
182
|
private _closable;
|
|
192
183
|
private direction;
|
|
193
184
|
private subscriptions;
|
|
@@ -243,7 +234,6 @@ export declare class DialogComponent implements AfterContentInit, AfterViewInit,
|
|
|
243
234
|
get wrapperClass(): boolean;
|
|
244
235
|
get styles(): any;
|
|
245
236
|
private bubble;
|
|
246
|
-
private handleThemeColorClass;
|
|
247
237
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
|
|
248
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "kendo-dialog", ["kendoDialog"], { "actions": { "alias": "actions"; "required": false; }; "actionsLayout": { "alias": "actionsLayout"; "required": false; }; "autoFocusedElement": { "alias": "autoFocusedElement"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; "title": { "alias": "title"; "required": false; }; "width": { "alias": "width"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "height": { "alias": "height"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "animation": { "alias": "animation"; "required": false; };
|
|
238
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "kendo-dialog", ["kendoDialog"], { "actions": { "alias": "actions"; "required": false; }; "actionsLayout": { "alias": "actionsLayout"; "required": false; }; "autoFocusedElement": { "alias": "autoFocusedElement"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; "title": { "alias": "title"; "required": false; }; "width": { "alias": "width"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "height": { "alias": "height"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; }, { "action": "action"; "close": "close"; }, ["titlebarContent"], ["kendo-dialog-titlebar", "*", "kendo-dialog-actions"], true, never>;
|
|
249
239
|
}
|
|
@@ -7,7 +7,6 @@ import { ActionsLayout } from "./../../common/actions-layout";
|
|
|
7
7
|
import { DialogAnimation } from "./dialog-animation";
|
|
8
8
|
import { DialogRef } from "./dialog-ref";
|
|
9
9
|
import { DialogResult } from "./dialog-result";
|
|
10
|
-
import { DialogThemeColor } from "./theme-color";
|
|
11
10
|
/**
|
|
12
11
|
* Represents the settings for opening a Dialog through the `DialogService`.
|
|
13
12
|
* ([See example.](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/dialogservice#open))
|
|
@@ -104,8 +103,4 @@ export declare class DialogSettings {
|
|
|
104
103
|
* Sets the query selector for the element to focus automatically with `autoFocusedElement`.
|
|
105
104
|
*/
|
|
106
105
|
autoFocusedElement?: string;
|
|
107
|
-
/**
|
|
108
|
-
* Sets the theme color of the Dialog.
|
|
109
|
-
*/
|
|
110
|
-
themeColor?: DialogThemeColor;
|
|
111
106
|
}
|
package/dialog/models/index.d.ts
CHANGED
|
@@ -124,7 +124,7 @@ class DialogActionsComponent {
|
|
|
124
124
|
} @else {
|
|
125
125
|
<ng-container [ngTemplateOutlet]="actionsTemplate"></ng-container>
|
|
126
126
|
}
|
|
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"
|
|
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
129
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DialogActionsComponent, decorators: [{
|
|
130
130
|
type: Component,
|
|
@@ -429,6 +429,7 @@ class DialogTitleBarComponent {
|
|
|
429
429
|
[attr.title]="closeButtonTitle"
|
|
430
430
|
[attr.aria-label]="closeButtonTitle"
|
|
431
431
|
icon="close"
|
|
432
|
+
size="xsmall"
|
|
432
433
|
[svgIcon]="xIcon"
|
|
433
434
|
class="k-window-titlebar-action k-dialog-titlebar-action"
|
|
434
435
|
(click)="onCloseClick($event)"
|
|
@@ -437,7 +438,7 @@ class DialogTitleBarComponent {
|
|
|
437
438
|
</div>
|
|
438
439
|
}
|
|
439
440
|
</ng-container>
|
|
440
|
-
`, 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"
|
|
441
|
+
`, 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"] }] });
|
|
441
442
|
}
|
|
442
443
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DialogTitleBarComponent, decorators: [{
|
|
443
444
|
type: Component,
|
|
@@ -473,6 +474,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
473
474
|
[attr.title]="closeButtonTitle"
|
|
474
475
|
[attr.aria-label]="closeButtonTitle"
|
|
475
476
|
icon="close"
|
|
477
|
+
size="xsmall"
|
|
476
478
|
[svgIcon]="xIcon"
|
|
477
479
|
class="k-window-titlebar-action k-dialog-titlebar-action"
|
|
478
480
|
(click)="onCloseClick($event)"
|
|
@@ -511,8 +513,8 @@ const packageMetadata = {
|
|
|
511
513
|
productName: 'Kendo UI for Angular',
|
|
512
514
|
productCode: 'KENDOUIANGULAR',
|
|
513
515
|
productCodes: ['KENDOUIANGULAR'],
|
|
514
|
-
publishDate:
|
|
515
|
-
version: '24.0.0-develop.
|
|
516
|
+
publishDate: 1778160926,
|
|
517
|
+
version: '24.0.0-develop.21',
|
|
516
518
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
517
519
|
};
|
|
518
520
|
|
|
@@ -901,18 +903,6 @@ class DialogComponent {
|
|
|
901
903
|
* @default true
|
|
902
904
|
*/
|
|
903
905
|
animation = true;
|
|
904
|
-
/**
|
|
905
|
-
* Sets a predefined theme color for the Dialog. The color applies to the title bar background and border, and updates the text color.
|
|
906
|
-
*
|
|
907
|
-
* @type {DialogThemeColor}
|
|
908
|
-
*/
|
|
909
|
-
set themeColor(themeColor) {
|
|
910
|
-
this.handleThemeColorClass(this.themeColor, themeColor);
|
|
911
|
-
this._themeColor = themeColor;
|
|
912
|
-
}
|
|
913
|
-
get themeColor() {
|
|
914
|
-
return this._themeColor;
|
|
915
|
-
}
|
|
916
906
|
/**
|
|
917
907
|
* @hidden
|
|
918
908
|
*/
|
|
@@ -988,7 +978,6 @@ class DialogComponent {
|
|
|
988
978
|
dialog;
|
|
989
979
|
_htmlAttributes;
|
|
990
980
|
_cssClass;
|
|
991
|
-
_themeColor = undefined;
|
|
992
981
|
_closable = true;
|
|
993
982
|
direction;
|
|
994
983
|
subscriptions = [];
|
|
@@ -1052,7 +1041,6 @@ class DialogComponent {
|
|
|
1052
1041
|
}));
|
|
1053
1042
|
}
|
|
1054
1043
|
this.initDomEvents();
|
|
1055
|
-
this.handleThemeColorClass(null, this.themeColor);
|
|
1056
1044
|
}
|
|
1057
1045
|
ngOnInit() {
|
|
1058
1046
|
if (this.animation) {
|
|
@@ -1250,21 +1238,8 @@ class DialogComponent {
|
|
|
1250
1238
|
this.subscriptions.push(s);
|
|
1251
1239
|
}
|
|
1252
1240
|
}
|
|
1253
|
-
handleThemeColorClass(previousValue, currentValue) {
|
|
1254
|
-
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
1255
|
-
const dialog = this.dialog.nativeElement;
|
|
1256
|
-
if (previousValue) {
|
|
1257
|
-
const classToRemove = `k-dialog-${previousValue}`;
|
|
1258
|
-
this.renderer.removeClass(dialog, classToRemove);
|
|
1259
|
-
}
|
|
1260
|
-
if (currentValue) {
|
|
1261
|
-
const classToAdd = `k-dialog-${currentValue}`;
|
|
1262
|
-
this.renderer.addClass(dialog, classToAdd);
|
|
1263
|
-
}
|
|
1264
|
-
});
|
|
1265
|
-
}
|
|
1266
1241
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", 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 });
|
|
1267
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", 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"
|
|
1242
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", 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: [
|
|
1268
1243
|
LocalizationService,
|
|
1269
1244
|
{
|
|
1270
1245
|
provide: DIALOG_LOCALIZATION_SERVICE,
|
|
@@ -1405,8 +1380,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
1405
1380
|
type: Input
|
|
1406
1381
|
}], animation: [{
|
|
1407
1382
|
type: Input
|
|
1408
|
-
}], themeColor: [{
|
|
1409
|
-
type: Input
|
|
1410
1383
|
}], action: [{
|
|
1411
1384
|
type: Output
|
|
1412
1385
|
}], close: [{
|
|
@@ -1669,10 +1642,6 @@ class DialogSettings {
|
|
|
1669
1642
|
* Sets the query selector for the element to focus automatically with `autoFocusedElement`.
|
|
1670
1643
|
*/
|
|
1671
1644
|
autoFocusedElement;
|
|
1672
|
-
/**
|
|
1673
|
-
* Sets the theme color of the Dialog.
|
|
1674
|
-
*/
|
|
1675
|
-
themeColor;
|
|
1676
1645
|
}
|
|
1677
1646
|
|
|
1678
1647
|
// eslint-disable max-line-length
|
|
@@ -1820,7 +1789,6 @@ See https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/service/.
|
|
|
1820
1789
|
instance.minHeight = options.minHeight;
|
|
1821
1790
|
instance.maxHeight = options.maxHeight;
|
|
1822
1791
|
instance.autoFocusedElement = options.autoFocusedElement;
|
|
1823
|
-
instance.themeColor = options.themeColor != undefined ? options.themeColor : null;
|
|
1824
1792
|
instance.closeTitle = options.closeTitle;
|
|
1825
1793
|
instance.closable = options.closable !== undefined ? options.closable : true;
|
|
1826
1794
|
instance.cssClass = options.cssClass;
|
|
@@ -2596,6 +2564,7 @@ class WindowCloseActionDirective extends Button {
|
|
|
2596
2564
|
super(el, renderer, null, localization, ngZone);
|
|
2597
2565
|
this.window = _service;
|
|
2598
2566
|
this.fillMode = 'flat';
|
|
2567
|
+
this.size = 'xsmall';
|
|
2599
2568
|
this.icon = 'x';
|
|
2600
2569
|
}
|
|
2601
2570
|
/**
|
|
@@ -2702,6 +2671,7 @@ class WindowRestoreActionDirective extends Button {
|
|
|
2702
2671
|
super(el, renderer, null, localization, ngZone);
|
|
2703
2672
|
this.window = _service;
|
|
2704
2673
|
this.fillMode = 'flat';
|
|
2674
|
+
this.size = 'xsmall';
|
|
2705
2675
|
this.icon = 'window-restore';
|
|
2706
2676
|
}
|
|
2707
2677
|
/**
|
|
@@ -2814,6 +2784,7 @@ class WindowMaximizeActionDirective extends Button {
|
|
|
2814
2784
|
super(el, renderer, null, localization, ngZone);
|
|
2815
2785
|
this.window = _service;
|
|
2816
2786
|
this.fillMode = 'flat';
|
|
2787
|
+
this.size = 'xsmall';
|
|
2817
2788
|
this.icon = 'window';
|
|
2818
2789
|
}
|
|
2819
2790
|
/**
|
|
@@ -2926,6 +2897,7 @@ class WindowMinimizeActionDirective extends Button {
|
|
|
2926
2897
|
super(el, renderer, null, localization, ngZone);
|
|
2927
2898
|
this.window = _service;
|
|
2928
2899
|
this.fillMode = 'flat';
|
|
2900
|
+
this.size = 'xsmall';
|
|
2929
2901
|
this.icon = 'window-minimize';
|
|
2930
2902
|
}
|
|
2931
2903
|
/**
|
|
@@ -3066,16 +3038,6 @@ class WindowComponent {
|
|
|
3066
3038
|
get resizable() {
|
|
3067
3039
|
return this.options.resizable;
|
|
3068
3040
|
}
|
|
3069
|
-
/**
|
|
3070
|
-
* Sets the predefined theme color for the Window. The color applies to the title bar background and border, and updates the text color.
|
|
3071
|
-
*/
|
|
3072
|
-
set themeColor(themeColor) {
|
|
3073
|
-
this.handleThemeColorClass(this.themeColor, themeColor);
|
|
3074
|
-
this._themeColor = themeColor;
|
|
3075
|
-
}
|
|
3076
|
-
get themeColor() {
|
|
3077
|
-
return this._themeColor;
|
|
3078
|
-
}
|
|
3079
3041
|
/**
|
|
3080
3042
|
* @hidden
|
|
3081
3043
|
*/
|
|
@@ -3275,7 +3237,6 @@ class WindowComponent {
|
|
|
3275
3237
|
titleId = null;
|
|
3276
3238
|
_htmlAttributes;
|
|
3277
3239
|
_cssClass;
|
|
3278
|
-
_themeColor = undefined;
|
|
3279
3240
|
direction;
|
|
3280
3241
|
draged = false;
|
|
3281
3242
|
resized = false;
|
|
@@ -3312,7 +3273,6 @@ class WindowComponent {
|
|
|
3312
3273
|
if (this.titleBarView || this.titleBarContent) {
|
|
3313
3274
|
this.renderer.setAttribute(this.el.nativeElement, 'aria-labelledby', this.titleId);
|
|
3314
3275
|
}
|
|
3315
|
-
this.handleThemeColorClass(null, this.themeColor);
|
|
3316
3276
|
}
|
|
3317
3277
|
ngOnInit() {
|
|
3318
3278
|
this.renderer.removeAttribute(this.el.nativeElement, 'title');
|
|
@@ -3577,19 +3537,8 @@ class WindowComponent {
|
|
|
3577
3537
|
generateTitleId() {
|
|
3578
3538
|
return 'kendo-window-title-' + Math.ceil(Math.random() * 1000000).toString();
|
|
3579
3539
|
}
|
|
3580
|
-
handleThemeColorClass(previousValue, currentValue) {
|
|
3581
|
-
const wrapper = this.el.nativeElement;
|
|
3582
|
-
if (previousValue) {
|
|
3583
|
-
const classToRemove = `k-window-${previousValue}`;
|
|
3584
|
-
this.renderer.removeClass(wrapper, classToRemove);
|
|
3585
|
-
}
|
|
3586
|
-
if (currentValue) {
|
|
3587
|
-
const classToAdd = `k-window-${currentValue}`;
|
|
3588
|
-
this.renderer.addClass(wrapper, classToAdd);
|
|
3589
|
-
}
|
|
3590
|
-
}
|
|
3591
3540
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", 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 });
|
|
3592
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: WindowComponent, isStandalone: true, selector: "kendo-window", inputs: { autoFocusedElement: "autoFocusedElement", title: "title", draggable: "draggable", resizable: "resizable",
|
|
3541
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", 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: [
|
|
3593
3542
|
DragResizeService,
|
|
3594
3543
|
NavigationService,
|
|
3595
3544
|
LocalizationService,
|
|
@@ -3741,8 +3690,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
3741
3690
|
type: Input
|
|
3742
3691
|
}], resizable: [{
|
|
3743
3692
|
type: Input
|
|
3744
|
-
}], themeColor: [{
|
|
3745
|
-
type: Input
|
|
3746
3693
|
}], keepContent: [{
|
|
3747
3694
|
type: Input
|
|
3748
3695
|
}], state: [{
|
|
@@ -3938,10 +3885,6 @@ class WindowSettings {
|
|
|
3938
3885
|
* Sets the query selector for the element to focus automatically.
|
|
3939
3886
|
*/
|
|
3940
3887
|
autoFocusedElement;
|
|
3941
|
-
/**
|
|
3942
|
-
* Sets the theme color of the Window.
|
|
3943
|
-
*/
|
|
3944
|
-
themeColor;
|
|
3945
3888
|
}
|
|
3946
3889
|
|
|
3947
3890
|
/**
|
|
@@ -4113,9 +4056,6 @@ class WindowService {
|
|
|
4113
4056
|
instance.keepContent = true;
|
|
4114
4057
|
}
|
|
4115
4058
|
}
|
|
4116
|
-
if (isPresent(options.themeColor)) {
|
|
4117
|
-
instance.themeColor = options.themeColor;
|
|
4118
|
-
}
|
|
4119
4059
|
if (options.content instanceof TemplateRef) {
|
|
4120
4060
|
instance.contentTemplate = options.content;
|
|
4121
4061
|
}
|
package/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export { DialogContentBase } from './dialog/dialog-content-base';
|
|
|
8
8
|
export { DialogActionsComponent } from './dialog/dialog-actions.component';
|
|
9
9
|
export { DialogService } from './dialog/dialog.service';
|
|
10
10
|
export { DialogContainerService } from './dialog/dialog-container.service';
|
|
11
|
-
export { DialogCloseResult, DialogRef, DialogSettings, DialogAction, DialogResult, DialogAnimation,
|
|
11
|
+
export { DialogCloseResult, DialogRef, DialogSettings, DialogAction, DialogResult, DialogAnimation, DialogActionDivider } from './dialog/models/';
|
|
12
12
|
export { ActionsLayout } from './common/actions-layout';
|
|
13
13
|
export { DialogAnimationType } from './common/animation-types';
|
|
14
14
|
export { AnimationDirection } from './common/dialog-animation-direction';
|
|
@@ -18,7 +18,7 @@ export { WindowMaximizeActionDirective } from './window/actions/window-maximize-
|
|
|
18
18
|
export { WindowMinimizeActionDirective } from './window/actions/window-minimize-action.directive';
|
|
19
19
|
export { WindowCloseActionDirective } from './window/actions/window-close-action.directive';
|
|
20
20
|
export { WindowRestoreActionDirective } from './window/actions/window-restore-action.directive';
|
|
21
|
-
export { WindowState, WindowSettings, WindowDimensionSetting, WindowRef, WindowCloseResult
|
|
21
|
+
export { WindowState, WindowSettings, WindowDimensionSetting, WindowRef, WindowCloseResult } from './window/models';
|
|
22
22
|
export { WindowService } from './window/window.service';
|
|
23
23
|
export { WindowContainerService } from './window/window-container.service';
|
|
24
24
|
export { DragResizeService } from './window/drag-resize.service';
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "24.0.0-develop.
|
|
10
|
+
"publishDate": 1778160926,
|
|
11
|
+
"version": "24.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": "24.0.0-develop.
|
|
3
|
+
"version": "24.0.0-develop.21",
|
|
4
4
|
"description": "Dialog Package for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"package": {
|
|
24
24
|
"productName": "Kendo UI for Angular",
|
|
25
25
|
"productCode": "KENDOUIANGULAR",
|
|
26
|
-
"publishDate":
|
|
26
|
+
"publishDate": 1778160926,
|
|
27
27
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
28
28
|
}
|
|
29
29
|
},
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
"@angular/core": "19 - 21",
|
|
34
34
|
"@angular/platform-browser": "19 - 21",
|
|
35
35
|
"@progress/kendo-licensing": "^1.11.0",
|
|
36
|
-
"@progress/kendo-angular-buttons": "24.0.0-develop.
|
|
37
|
-
"@progress/kendo-angular-common": "24.0.0-develop.
|
|
38
|
-
"@progress/kendo-angular-icons": "24.0.0-develop.
|
|
39
|
-
"@progress/kendo-angular-l10n": "24.0.0-develop.
|
|
36
|
+
"@progress/kendo-angular-buttons": "24.0.0-develop.21",
|
|
37
|
+
"@progress/kendo-angular-common": "24.0.0-develop.21",
|
|
38
|
+
"@progress/kendo-angular-icons": "24.0.0-develop.21",
|
|
39
|
+
"@progress/kendo-angular-l10n": "24.0.0-develop.21",
|
|
40
40
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"tslib": "^2.3.1",
|
|
44
|
-
"@progress/kendo-angular-schematics": "24.0.0-develop.
|
|
44
|
+
"@progress/kendo-angular-schematics": "24.0.0-develop.21",
|
|
45
45
|
"@progress/kendo-popup-common": "1.9.5"
|
|
46
46
|
},
|
|
47
47
|
"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': '24.0.0-develop.
|
|
12
|
+
'@progress/kendo-angular-popup': '24.0.0-develop.21',
|
|
13
13
|
// Peer dependency of icons
|
|
14
14
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
15
15
|
} });
|
package/window/models/index.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ import { TemplateRef, ViewContainerRef } from '@angular/core';
|
|
|
6
6
|
import { WindowMessages } from './window-messages';
|
|
7
7
|
import { WindowRef } from './window-ref';
|
|
8
8
|
import { WindowState } from './window-types';
|
|
9
|
-
import { WindowThemeColor } from './theme-color';
|
|
10
9
|
/**
|
|
11
10
|
* Represents the settings for the Window actions when you open a Window through `WindowService`. ([See example.](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/windowservice#open))
|
|
12
11
|
*/
|
|
@@ -95,8 +94,4 @@ export declare class WindowSettings {
|
|
|
95
94
|
* Sets the query selector for the element to focus automatically.
|
|
96
95
|
*/
|
|
97
96
|
autoFocusedElement?: string;
|
|
98
|
-
/**
|
|
99
|
-
* Sets the theme color of the Window.
|
|
100
|
-
*/
|
|
101
|
-
themeColor?: WindowThemeColor;
|
|
102
97
|
}
|
|
@@ -11,7 +11,6 @@ import { WindowTitleBarComponent } from './window-titlebar.component';
|
|
|
11
11
|
import { NavigationService } from './navigation.service';
|
|
12
12
|
import { WindowDimensionSetting, WindowOffsetSetting, WindowState } from './models/window-types';
|
|
13
13
|
import { WindowMessages } from './models/window-messages';
|
|
14
|
-
import { WindowThemeColor } from './models';
|
|
15
14
|
import * as i0 from "@angular/core";
|
|
16
15
|
/**
|
|
17
16
|
* Represents the [Kendo UI Window component for Angular](https://www.telerik.com/kendo-angular-ui/components/dialogs/window).
|
|
@@ -55,11 +54,6 @@ export declare class WindowComponent implements OnInit, OnDestroy, OnChanges, Af
|
|
|
55
54
|
*/
|
|
56
55
|
set resizable(value: boolean);
|
|
57
56
|
get resizable(): boolean;
|
|
58
|
-
/**
|
|
59
|
-
* Sets the predefined theme color for the Window. The color applies to the title bar background and border, and updates the text color.
|
|
60
|
-
*/
|
|
61
|
-
set themeColor(themeColor: WindowThemeColor);
|
|
62
|
-
get themeColor(): WindowThemeColor;
|
|
63
57
|
/**
|
|
64
58
|
* @hidden
|
|
65
59
|
*/
|
|
@@ -194,7 +188,6 @@ export declare class WindowComponent implements OnInit, OnDestroy, OnChanges, Af
|
|
|
194
188
|
titleId: string;
|
|
195
189
|
private _htmlAttributes;
|
|
196
190
|
private _cssClass;
|
|
197
|
-
private _themeColor;
|
|
198
191
|
private direction;
|
|
199
192
|
private draged;
|
|
200
193
|
private resized;
|
|
@@ -266,7 +259,6 @@ export declare class WindowComponent implements OnInit, OnDestroy, OnChanges, Af
|
|
|
266
259
|
* @hidden
|
|
267
260
|
*/
|
|
268
261
|
private generateTitleId;
|
|
269
|
-
private handleThemeColorClass;
|
|
270
262
|
static ɵfac: i0.ɵɵFactoryDeclaration<WindowComponent, never>;
|
|
271
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WindowComponent, "kendo-window", ["kendoWindow"], { "autoFocusedElement": { "alias": "autoFocusedElement"; "required": false; }; "title": { "alias": "title"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "
|
|
263
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WindowComponent, "kendo-window", ["kendoWindow"], { "autoFocusedElement": { "alias": "autoFocusedElement"; "required": false; }; "title": { "alias": "title"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "keepContent": { "alias": "keepContent"; "required": false; }; "state": { "alias": "state"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "top": { "alias": "top"; "required": false; }; "left": { "alias": "left"; "required": false; }; }, { "dragStart": "dragStart"; "dragEnd": "dragEnd"; "resizeStart": "resizeStart"; "resizeEnd": "resizeEnd"; "close": "close"; "widthChange": "widthChange"; "heightChange": "heightChange"; "topChange": "topChange"; "leftChange": "leftChange"; "stateChange": "stateChange"; }, ["titleBarContent"], ["kendo-window-titlebar", "*"], true, never>;
|
|
272
264
|
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* Represents the possible theme colors for the Dialog.
|
|
7
|
-
*
|
|
8
|
-
* Use the `DialogThemeColor` type to set the color theme for Dialog components. The possible values are:
|
|
9
|
-
* - `primary` —Applies coloring based on the `primary` theme color.
|
|
10
|
-
* - `light`— Applies coloring based on the `light` theme color.
|
|
11
|
-
* - `dark`— Applies coloring based on the `dark` theme color.
|
|
12
|
-
*
|
|
13
|
-
*/
|
|
14
|
-
export type DialogThemeColor = 'primary' | 'light' | 'dark';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* Specifies the possible theme colors of the Window.
|
|
7
|
-
*
|
|
8
|
-
* The possible values are:
|
|
9
|
-
* * `primary`—Applies coloring based on the `primary` theme color.
|
|
10
|
-
* * `light`— Applies coloring based on the `light` theme color.
|
|
11
|
-
* * `dark`— Applies coloring based on the `dark` theme color.
|
|
12
|
-
*/
|
|
13
|
-
export type WindowThemeColor = 'primary' | 'light' | 'dark';
|