@progress/kendo-angular-dialog 17.0.0-develop.9 → 17.0.1-develop.1
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/README.md +38 -21
- package/common/actions-layout.d.ts +1 -1
- package/common/animation-types.d.ts +1 -1
- package/common/dialog-animation-direction.d.ts +1 -1
- package/dialog/dialog-actions.component.d.ts +1 -1
- package/dialog/dialog-titlebar.component.d.ts +1 -1
- package/dialog/dialog.component.d.ts +1 -1
- package/dialog/models/dialog-action-divider.d.ts +1 -1
- package/dialog/models/dialog-result.d.ts +1 -1
- package/dialog/models/theme-color.d.ts +1 -1
- package/dialog.module.d.ts +0 -4
- package/{esm2020 → esm2022}/common/preventable-event.mjs +2 -3
- package/{esm2020 → esm2022}/dialog/dialog-actions.component.mjs +26 -17
- package/{esm2020 → esm2022}/dialog/dialog-container.directive.mjs +3 -3
- package/{esm2020 → esm2022}/dialog/dialog-container.service.mjs +4 -4
- package/{esm2020 → esm2022}/dialog/dialog-content-base.mjs +12 -3
- package/{esm2020 → esm2022}/dialog/dialog-titlebar.component.mjs +36 -25
- package/{esm2020 → esm2022}/dialog/dialog.component.mjs +139 -71
- package/{esm2020 → esm2022}/dialog/dialog.service.mjs +7 -3
- package/esm2022/dialog/models/dialog-action.mjs +27 -0
- package/esm2022/dialog/models/dialog-ref.mjs +34 -0
- package/esm2022/dialog/models/dialog-settings.mjs +106 -0
- package/{esm2020 → esm2022}/dialog.module.mjs +4 -13
- package/{esm2020 → esm2022}/dialogs.module.mjs +4 -4
- package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
- package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +9 -8
- package/{esm2020 → esm2022}/localization/messages.mjs +19 -3
- package/{esm2020 → esm2022}/localization/titlebar-localization.service.mjs +4 -3
- package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
- package/{esm2020 → esm2022}/window/actions/window-close-action.directive.mjs +20 -16
- package/{esm2020 → esm2022}/window/actions/window-maximize-action.directive.mjs +20 -16
- package/{esm2020 → esm2022}/window/actions/window-minimize-action.directive.mjs +20 -16
- package/{esm2020 → esm2022}/window/actions/window-restore-action.directive.mjs +20 -16
- package/{esm2020 → esm2022}/window/drag-resize.service.mjs +18 -15
- package/esm2022/window/models/window-ref.mjs +36 -0
- package/esm2022/window/models/window-settings.mjs +101 -0
- package/{esm2020 → esm2022}/window/navigation.service.mjs +5 -3
- package/{esm2020 → esm2022}/window/window-container.directive.mjs +3 -3
- package/{esm2020 → esm2022}/window/window-container.service.mjs +4 -4
- package/{esm2020 → esm2022}/window/window-resize-handle.directive.mjs +12 -7
- package/{esm2020 → esm2022}/window/window-titlebar.component.mjs +21 -4
- package/{esm2020 → esm2022}/window/window.component.mjs +128 -98
- package/{esm2020 → esm2022}/window/window.service.mjs +7 -3
- package/{esm2020 → esm2022}/window.module.mjs +4 -10
- package/{fesm2020 → fesm2022}/progress-kendo-angular-dialog.mjs +816 -379
- package/localization/messages.d.ts +1 -1
- package/package.json +14 -20
- package/schematics/ngAdd/index.js +2 -2
- package/window/actions/window-close-action.directive.d.ts +1 -1
- package/window/actions/window-maximize-action.directive.d.ts +1 -1
- package/window/actions/window-minimize-action.directive.d.ts +1 -1
- package/window/actions/window-restore-action.directive.d.ts +1 -1
- package/window/models/theme-color.d.ts +1 -1
- package/window/models/window-types.d.ts +4 -4
- package/window/window-resize-handle.directive.d.ts +1 -1
- package/window/window-titlebar.component.d.ts +1 -1
- package/window/window.component.d.ts +1 -1
- package/esm2020/dialog/models/dialog-action.mjs +0 -10
- package/esm2020/dialog/models/dialog-ref.mjs +0 -11
- package/esm2020/dialog/models/dialog-settings.mjs +0 -10
- package/esm2020/window/models/window-ref.mjs +0 -11
- package/esm2020/window/models/window-settings.mjs +0 -10
- package/fesm2015/progress-kendo-angular-dialog.mjs +0 -3807
- /package/{esm2020 → esm2022}/common/actions-layout.mjs +0 -0
- /package/{esm2020 → esm2022}/common/animation-types.mjs +0 -0
- /package/{esm2020 → esm2022}/common/dialog-animation-direction.mjs +0 -0
- /package/{esm2020 → esm2022}/common/util.mjs +0 -0
- /package/{esm2020 → esm2022}/dialog/dialog-animations/animate-content.mjs +0 -0
- /package/{esm2020 → esm2022}/dialog/dialog-animations/animations.mjs +0 -0
- /package/{esm2020 → esm2022}/dialog/dialog-animations/create-animation-player.mjs +0 -0
- /package/{esm2020 → esm2022}/dialog/models/dialog-action-divider.mjs +0 -0
- /package/{esm2020 → esm2022}/dialog/models/dialog-animation.mjs +0 -0
- /package/{esm2020 → esm2022}/dialog/models/dialog-close-result.mjs +0 -0
- /package/{esm2020 → esm2022}/dialog/models/dialog-result.mjs +0 -0
- /package/{esm2020 → esm2022}/dialog/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/dialog/models/theme-color.mjs +0 -0
- /package/{esm2020 → esm2022}/directives.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/localization/dialog-localization.service.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-kendo-angular-dialog.mjs +0 -0
- /package/{esm2020 → esm2022}/window/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/window/models/theme-color.mjs +0 -0
- /package/{esm2020 → esm2022}/window/models/window-close-result.mjs +0 -0
- /package/{esm2020 → esm2022}/window/models/window-messages.mjs +0 -0
- /package/{esm2020 → esm2022}/window/models/window-options.mjs +0 -0
- /package/{esm2020 → esm2022}/window/models/window-types.mjs +0 -0
- /package/{esm2020 → esm2022}/window/window-events.mjs +0 -0
|
@@ -27,58 +27,73 @@ const DEFAULT_ANIMATION_CONFIG = { duration: 300, type: 'translate' };
|
|
|
27
27
|
* Represents the [Kendo UI Dialog component for Angular]({% slug overview_dialog_dialogs %}).
|
|
28
28
|
*/
|
|
29
29
|
export class DialogComponent {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
30
|
+
wrapper;
|
|
31
|
+
renderer;
|
|
32
|
+
cdr;
|
|
33
|
+
ngZone;
|
|
34
|
+
builder;
|
|
35
|
+
/**
|
|
36
|
+
* Specifies the action buttons that will be rendered.
|
|
37
|
+
*/
|
|
38
|
+
actions;
|
|
39
|
+
/**
|
|
40
|
+
* Specifies the layout of the action buttons in the Dialog.
|
|
41
|
+
* This option is only applicable if the action buttons are specified through the `actions` options.
|
|
42
|
+
*
|
|
43
|
+
* @default 'stretched'
|
|
44
|
+
*/
|
|
45
|
+
actionsLayout = 'stretched';
|
|
46
|
+
/**
|
|
47
|
+
* Specifies the query selector used to set the initial focus ([see examples]({% slug initial_focus_dialog %})).
|
|
48
|
+
*/
|
|
49
|
+
autoFocusedElement;
|
|
50
|
+
/**
|
|
51
|
+
* Specifies the text that is rendered in the title bar.
|
|
52
|
+
*/
|
|
53
|
+
title;
|
|
54
|
+
/**
|
|
55
|
+
* Specifies the width of the Dialog.
|
|
56
|
+
* A numeric value sets the width in pixels.
|
|
57
|
+
* A string value sets the width in arbitrary units—for example, `50%`.
|
|
58
|
+
*/
|
|
59
|
+
width;
|
|
60
|
+
/**
|
|
61
|
+
* Specifies the minimum width of the Dialog.
|
|
62
|
+
* A numeric value sets the minimum width in pixels.
|
|
63
|
+
* A string value sets the minimum width in arbitrary units—for example, `50%`.
|
|
64
|
+
*/
|
|
65
|
+
minWidth;
|
|
66
|
+
/**
|
|
67
|
+
* Specifies the maximum width of the Dialog.
|
|
68
|
+
* A numeric value sets the maximum width in pixels.
|
|
69
|
+
* A string value sets the maximum width in arbitrary units—for example, `50%`.
|
|
70
|
+
*/
|
|
71
|
+
maxWidth;
|
|
72
|
+
/**
|
|
73
|
+
* Specifies the height of the Dialog.
|
|
74
|
+
* A numeric value sets the height in pixels.
|
|
75
|
+
* A string value sets the height in arbitrary units—for example, `50%`.
|
|
76
|
+
*/
|
|
77
|
+
height;
|
|
78
|
+
/**
|
|
79
|
+
* Specifies the minimum height of the Dialog.
|
|
80
|
+
* A numeric value sets the minimum height in pixels.
|
|
81
|
+
* A string value sets the minimum height in arbitrary units—for example, `50%`.
|
|
82
|
+
*/
|
|
83
|
+
minHeight;
|
|
84
|
+
/**
|
|
85
|
+
* Specifies the maximum height of the Dialog.
|
|
86
|
+
* A numeric value sets the maximum height in pixels.
|
|
87
|
+
* A string value sets the maximum height in arbitrary units—for example, `50%`.
|
|
88
|
+
*/
|
|
89
|
+
maxHeight;
|
|
90
|
+
/**
|
|
91
|
+
* Configures the Dialog opening animation ([see example]({% slug animations_dialog %})).
|
|
92
|
+
* By default the animation type is set to `translate` and its duration is `300ms`.
|
|
93
|
+
*
|
|
94
|
+
* @default true
|
|
95
|
+
*/
|
|
96
|
+
animation = true;
|
|
82
97
|
/**
|
|
83
98
|
* The Dialog allows you to specify predefined theme colors.
|
|
84
99
|
* The theme color will be applied as a background and border color to the titlebar while also amending the text color accordingly.
|
|
@@ -124,9 +139,62 @@ export class DialogComponent {
|
|
|
124
139
|
get cssClass() {
|
|
125
140
|
return this._cssClass;
|
|
126
141
|
}
|
|
142
|
+
/**
|
|
143
|
+
* @hidden
|
|
144
|
+
*/
|
|
145
|
+
contentTemplate;
|
|
146
|
+
/**
|
|
147
|
+
* @hidden
|
|
148
|
+
*/
|
|
149
|
+
titleId = null;
|
|
150
|
+
/**
|
|
151
|
+
* @hidden
|
|
152
|
+
*/
|
|
153
|
+
contentId = null;
|
|
154
|
+
/**
|
|
155
|
+
* @hidden
|
|
156
|
+
*/
|
|
157
|
+
closeTitle;
|
|
158
|
+
/**
|
|
159
|
+
* @hidden
|
|
160
|
+
*/
|
|
161
|
+
showLicenseWatermark = false;
|
|
162
|
+
/**
|
|
163
|
+
* Fires when the user clicks an action button of the Dialog.
|
|
164
|
+
* The event is fired only when the action buttons are specified through the `actions` options.
|
|
165
|
+
*/
|
|
166
|
+
action = new EventEmitter();
|
|
167
|
+
/**
|
|
168
|
+
* Fires when the user clicks the **Close** button of the Dialog or the **ESC** key.
|
|
169
|
+
*/
|
|
170
|
+
close = new EventEmitter();
|
|
127
171
|
get dir() {
|
|
128
172
|
return this.direction;
|
|
129
173
|
}
|
|
174
|
+
tabIndex = 0;
|
|
175
|
+
titlebarContent;
|
|
176
|
+
titlebarView;
|
|
177
|
+
actionsView;
|
|
178
|
+
dialog;
|
|
179
|
+
_htmlAttributes;
|
|
180
|
+
_cssClass;
|
|
181
|
+
_themeColor = null;
|
|
182
|
+
direction;
|
|
183
|
+
subscriptions = [];
|
|
184
|
+
domSubs = new Subscription();
|
|
185
|
+
constructor(wrapper, renderer, localization, cdr, ngZone, builder) {
|
|
186
|
+
this.wrapper = wrapper;
|
|
187
|
+
this.renderer = renderer;
|
|
188
|
+
this.cdr = cdr;
|
|
189
|
+
this.ngZone = ngZone;
|
|
190
|
+
this.builder = builder;
|
|
191
|
+
const isValid = validatePackage(packageMetadata);
|
|
192
|
+
this.showLicenseWatermark = shouldShowValidationUI(isValid);
|
|
193
|
+
this.direction = localization.rtl ? 'rtl' : 'ltr';
|
|
194
|
+
this.subscriptions.push(localization.changes.subscribe(({ rtl }) => (this.direction = rtl ? 'rtl' : 'ltr')));
|
|
195
|
+
this.titleId = this.generateTitleId();
|
|
196
|
+
this.contentId = this.generateContentId();
|
|
197
|
+
}
|
|
130
198
|
ngAfterContentInit() {
|
|
131
199
|
this.bubble('close', this.titlebarContent.first);
|
|
132
200
|
this.renderer.setAttribute(this.wrapper.nativeElement.querySelector('.k-dialog'), 'aria-describedby', this.contentId);
|
|
@@ -378,19 +446,18 @@ export class DialogComponent {
|
|
|
378
446
|
this.renderer.addClass(dialog, classToAdd);
|
|
379
447
|
}
|
|
380
448
|
}
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
}
|
|
393
|
-
], 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: `
|
|
449
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", 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 });
|
|
450
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DialogComponent, isStandalone: true, selector: "kendo-dialog", inputs: { actions: "actions", actionsLayout: "actionsLayout", autoFocusedElement: "autoFocusedElement", title: "title", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", height: "height", minHeight: "minHeight", maxHeight: "maxHeight", animation: "animation", themeColor: "themeColor" }, outputs: { action: "action", close: "close" }, host: { properties: { "attr.dir": "this.dir", "attr.tabIndex": "this.tabIndex", "class.k-dialog-wrapper": "this.wrapperClass" } }, providers: [
|
|
451
|
+
LocalizationService,
|
|
452
|
+
{
|
|
453
|
+
provide: DIALOG_LOCALIZATION_SERVICE,
|
|
454
|
+
useExisting: LocalizationService
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
provide: L10N_PREFIX,
|
|
458
|
+
useValue: 'kendo.dialog'
|
|
459
|
+
}
|
|
460
|
+
], 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: `
|
|
394
461
|
<ng-container
|
|
395
462
|
kendoDialogLocalizedMessages
|
|
396
463
|
i18n-closeTitle="kendo.dialog.closeTitle|The title of the close button"
|
|
@@ -414,12 +481,13 @@ DialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
|
|
|
414
481
|
</div>
|
|
415
482
|
</ng-container>
|
|
416
483
|
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n " }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }], animations: [
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
484
|
+
trigger('overlayAppear', [
|
|
485
|
+
state('in', style({ opacity: 1 })),
|
|
486
|
+
transition('void => *', [style({ opacity: 0.1 }), animate('.3s cubic-bezier(.2, .6, .4, 1)')])
|
|
487
|
+
])
|
|
488
|
+
] });
|
|
489
|
+
}
|
|
490
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialogComponent, decorators: [{
|
|
423
491
|
type: Component,
|
|
424
492
|
args: [{
|
|
425
493
|
animations: [
|
|
@@ -17,6 +17,8 @@ import * as i0 from "@angular/core";
|
|
|
17
17
|
import * as i1 from "./dialog-container.service";
|
|
18
18
|
const isNotComponent = (component) => isString(component) || component instanceof TemplateRef;
|
|
19
19
|
class DialogInjector {
|
|
20
|
+
getDialogRef;
|
|
21
|
+
parentInjector;
|
|
20
22
|
constructor(getDialogRef, parentInjector) {
|
|
21
23
|
this.getDialogRef = getDialogRef;
|
|
22
24
|
this.parentInjector = parentInjector;
|
|
@@ -33,6 +35,8 @@ class DialogInjector {
|
|
|
33
35
|
* ([see example]({% slug service_dialog %})).
|
|
34
36
|
*/
|
|
35
37
|
export class DialogService {
|
|
38
|
+
resolver;
|
|
39
|
+
containerService;
|
|
36
40
|
constructor(
|
|
37
41
|
/**
|
|
38
42
|
* @hidden
|
|
@@ -215,10 +219,10 @@ See https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/service/.
|
|
|
215
219
|
]
|
|
216
220
|
};
|
|
217
221
|
}
|
|
222
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialogService, deps: [{ token: i0.ComponentFactoryResolver }, { token: DialogContainerService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
223
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialogService, providedIn: 'root' });
|
|
218
224
|
}
|
|
219
|
-
|
|
220
|
-
DialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogService, providedIn: 'root' });
|
|
221
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogService, decorators: [{
|
|
225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialogService, decorators: [{
|
|
222
226
|
type: Injectable,
|
|
223
227
|
args: [{
|
|
224
228
|
providedIn: 'root'
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* The settings for the Dialog actions when the Dialog is opened through `DialogService`
|
|
7
|
+
* ([see example]({% slug api_dialog_dialogservice %}#toc-open)).
|
|
8
|
+
*/
|
|
9
|
+
export class DialogAction {
|
|
10
|
+
/**
|
|
11
|
+
* The text of the action button.
|
|
12
|
+
*/
|
|
13
|
+
text;
|
|
14
|
+
/**
|
|
15
|
+
* Determines the theme color of the action button. The theme color will be applied as a background and border color while also amending the text color accordingly.
|
|
16
|
+
*/
|
|
17
|
+
themeColor;
|
|
18
|
+
/**
|
|
19
|
+
* Specifies the background and border styles of the action button.
|
|
20
|
+
*/
|
|
21
|
+
fillMode;
|
|
22
|
+
/**
|
|
23
|
+
* Sets the CSS classes that will be rendered on the action button.
|
|
24
|
+
* Supports the union type of values that NgClass accepts [ngClass](link:site.data.urls.angular['ngclassapi']).
|
|
25
|
+
*/
|
|
26
|
+
cssClass;
|
|
27
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* Holds references to the object instance and published events of the Dialog.
|
|
7
|
+
* Controls the Dialogs that were opened through the `DialogService`
|
|
8
|
+
* ([see example]({% slug api_dialog_dialogservice %}#toc-open)).
|
|
9
|
+
*/
|
|
10
|
+
export class DialogRef {
|
|
11
|
+
/**
|
|
12
|
+
* Emits events when the Dialog is closed either through the **Close** button of the title bar or through the action buttons.
|
|
13
|
+
* If the **Close** button of the title bar is clicked, `DialogResult` is a `DialogCloseResult` instance.
|
|
14
|
+
* If the Dialog is closed through the action buttons, `DialogResult` contains the object that was passed when the Dialog was opened.
|
|
15
|
+
* When `close` is called with an argument, the result is the passed argument.
|
|
16
|
+
*/
|
|
17
|
+
result;
|
|
18
|
+
/**
|
|
19
|
+
* A reference to the Dialog instance.
|
|
20
|
+
*/
|
|
21
|
+
dialog;
|
|
22
|
+
/**
|
|
23
|
+
* A reference to the child component of the Dialog.
|
|
24
|
+
* Available when the Dialog is opened with [component content](slug:service_dialog#toc-rendering-the-content-area).
|
|
25
|
+
*/
|
|
26
|
+
content;
|
|
27
|
+
/**
|
|
28
|
+
* Allows you to close the Dialog through code.
|
|
29
|
+
* When called with no arguments,
|
|
30
|
+
* the `result` Observable will be of type DialogCloseResult.
|
|
31
|
+
* When called with an argument, the `result` Observable will hold the provided value.
|
|
32
|
+
*/
|
|
33
|
+
close;
|
|
34
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* The settings that can be used when the Dialog is opened through `DialogService`.
|
|
7
|
+
* ([see example]({% slug api_dialog_dialogservice %}#toc-open)).
|
|
8
|
+
*/
|
|
9
|
+
export class DialogSettings {
|
|
10
|
+
/**
|
|
11
|
+
* Defines a predicate that verifies if the pressed dialog action should be prevented. Returning true from the predicate prevents the dialog from closing.
|
|
12
|
+
* If the **Close** button of the title bar is clicked, `DialogResult` is a `DialogCloseResult` instance.
|
|
13
|
+
* If the Dialog is closed through the action buttons, `DialogResult` contains the object that was passed when the Dialog was opened. ([see example](slug:service_dialog#toc-dialog-close-prevention))
|
|
14
|
+
* @param {DialogResult} ev
|
|
15
|
+
* @param {DialogRef} [dialogRef] - provided only when the dialog is created using a component.
|
|
16
|
+
* @returns
|
|
17
|
+
*/
|
|
18
|
+
preventAction;
|
|
19
|
+
/**
|
|
20
|
+
* Sets the title of the Dialog. If `title` is omitted,
|
|
21
|
+
* the Dialog will not render a **Close** button.
|
|
22
|
+
*/
|
|
23
|
+
title;
|
|
24
|
+
/**
|
|
25
|
+
* Sets the CSS classes that will be rendered on the Dialog wrapper element.
|
|
26
|
+
* Supports the union type of values that NgClass accepts [ngClass](link:site.data.urls.angular['ngclassapi']).
|
|
27
|
+
*/
|
|
28
|
+
cssClass;
|
|
29
|
+
/**
|
|
30
|
+
* Configures the Dialog opening animation ([see example]({% slug animations_dialog %})).
|
|
31
|
+
* By default the animation type is set to `translate` and its duration is `300ms`.
|
|
32
|
+
*/
|
|
33
|
+
animation;
|
|
34
|
+
/**
|
|
35
|
+
* Sets the HTML attributes of the Dialog wrapper element.
|
|
36
|
+
* The property accepts string key-value based pairs.
|
|
37
|
+
*/
|
|
38
|
+
htmlAttributes;
|
|
39
|
+
/**
|
|
40
|
+
* Defines the content of the Dialog.
|
|
41
|
+
* ([see example](slug:service_dialog#toc-rendering-the-content-area)).
|
|
42
|
+
*/
|
|
43
|
+
content;
|
|
44
|
+
/**
|
|
45
|
+
* Specifies the width of the Dialog.
|
|
46
|
+
* A numeric value sets the width in pixels.
|
|
47
|
+
* A string value sets the width in arbitrary units—for example, `50%`.
|
|
48
|
+
*/
|
|
49
|
+
width;
|
|
50
|
+
/**
|
|
51
|
+
* Specifies the minimum width of the Dialog.
|
|
52
|
+
* A numeric value sets the minimum width in pixels.
|
|
53
|
+
* A string value sets the minimum width in arbitrary units—for example, `50%`.
|
|
54
|
+
*/
|
|
55
|
+
minWidth;
|
|
56
|
+
/**
|
|
57
|
+
* Specifies the maximum width of the Dialog.
|
|
58
|
+
* A numeric value sets the maximum width in pixels.
|
|
59
|
+
* A string value sets the maximum width in arbitrary units—for example, `50%`.
|
|
60
|
+
*/
|
|
61
|
+
maxWidth;
|
|
62
|
+
/**
|
|
63
|
+
* Specifies the height of the Dialog.
|
|
64
|
+
* A numeric value sets the height in pixels.
|
|
65
|
+
* A string value sets the height in arbitrary units—for example, `50%`.
|
|
66
|
+
*/
|
|
67
|
+
height;
|
|
68
|
+
/**
|
|
69
|
+
* Specifies the minimum height of the Dialog.
|
|
70
|
+
* A numeric value sets the minimum height in pixels.
|
|
71
|
+
* A string value sets the minimum height in arbitrary units—for example, `50%`.
|
|
72
|
+
*/
|
|
73
|
+
minHeight;
|
|
74
|
+
/**
|
|
75
|
+
* Specifies the maximum height of the Dialog.
|
|
76
|
+
* A numeric value sets the maximum height in pixels.
|
|
77
|
+
* A string value sets the maximum height in arbitrary units—for example, `50%`.
|
|
78
|
+
*/
|
|
79
|
+
maxHeight;
|
|
80
|
+
/**
|
|
81
|
+
* Defines the container in which the Dialog will be inserted.
|
|
82
|
+
* Specifying this option changes the place in the page hierarchy where the Dialog will be inserted.
|
|
83
|
+
* The styling of the component will remain the same.
|
|
84
|
+
*/
|
|
85
|
+
appendTo;
|
|
86
|
+
/**
|
|
87
|
+
* Specifies the title of the close button.
|
|
88
|
+
*/
|
|
89
|
+
closeTitle;
|
|
90
|
+
/**
|
|
91
|
+
* Sets the action buttons of the Dialog.
|
|
92
|
+
*/
|
|
93
|
+
actions;
|
|
94
|
+
/**
|
|
95
|
+
* Specifies the layout of the action buttons in the Dialog.
|
|
96
|
+
*/
|
|
97
|
+
actionsLayout;
|
|
98
|
+
/**
|
|
99
|
+
* Sets the focused element query selector.
|
|
100
|
+
*/
|
|
101
|
+
autoFocusedElement;
|
|
102
|
+
/**
|
|
103
|
+
* Specifies the theme color of the Dialog.
|
|
104
|
+
*/
|
|
105
|
+
themeColor;
|
|
106
|
+
}
|
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
6
6
|
import { IconsService } from '@progress/kendo-angular-icons';
|
|
7
|
-
import { DialogComponent } from './dialog/dialog.component';
|
|
8
|
-
import { DialogTitleBarComponent } from './dialog/dialog-titlebar.component';
|
|
9
7
|
import { DialogService } from './dialog/dialog.service';
|
|
10
8
|
import { DialogContainerService } from './dialog/dialog-container.service';
|
|
11
9
|
import { KENDO_DIALOG } from './directives';
|
|
@@ -15,13 +13,6 @@ import * as i2 from "./dialog/dialog-titlebar.component";
|
|
|
15
13
|
import * as i3 from "./dialog/dialog-container.directive";
|
|
16
14
|
import * as i4 from "./dialog/dialog-actions.component";
|
|
17
15
|
import * as i5 from "./localization/custom-messages.component";
|
|
18
|
-
/**
|
|
19
|
-
* @hidden
|
|
20
|
-
*/
|
|
21
|
-
export const DIALOG_DIRECTIVES = [
|
|
22
|
-
DialogComponent,
|
|
23
|
-
DialogTitleBarComponent
|
|
24
|
-
];
|
|
25
16
|
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
26
17
|
/**
|
|
27
18
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
@@ -46,11 +37,11 @@ export const DIALOG_DIRECTIVES = [
|
|
|
46
37
|
* ```
|
|
47
38
|
*/
|
|
48
39
|
export class DialogModule {
|
|
40
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
41
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DialogModule, imports: [i1.DialogComponent, i2.DialogTitleBarComponent, i3.DialogContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent], exports: [i1.DialogComponent, i2.DialogTitleBarComponent, i3.DialogContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent] });
|
|
42
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialogModule, providers: [DialogContainerService, DialogService, IconsService], imports: [i1.DialogComponent, i2.DialogTitleBarComponent] });
|
|
49
43
|
}
|
|
50
|
-
|
|
51
|
-
DialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DialogModule, imports: [i1.DialogComponent, i2.DialogTitleBarComponent, i3.DialogContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent], exports: [i1.DialogComponent, i2.DialogTitleBarComponent, i3.DialogContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent] });
|
|
52
|
-
DialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogModule, providers: [DialogContainerService, DialogService, IconsService], imports: [i1.DialogComponent, i2.DialogTitleBarComponent, i4.DialogActionsComponent] });
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogModule, decorators: [{
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialogModule, decorators: [{
|
|
54
45
|
type: NgModule,
|
|
55
46
|
args: [{
|
|
56
47
|
exports: [...KENDO_DIALOG],
|
|
@@ -49,11 +49,11 @@ import * as i12 from "./window/window-container.directive";
|
|
|
49
49
|
* ```
|
|
50
50
|
*/
|
|
51
51
|
export class DialogsModule {
|
|
52
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialogsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
53
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DialogsModule, imports: [i1.DialogComponent, i2.DialogTitleBarComponent, i3.DialogContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent, i6.WindowComponent, i7.WindowCloseActionDirective, i8.WindowMinimizeActionDirective, i9.WindowMaximizeActionDirective, i10.WindowRestoreActionDirective, i11.WindowTitleBarComponent, i12.WindowContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent], exports: [i1.DialogComponent, i2.DialogTitleBarComponent, i3.DialogContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent, i6.WindowComponent, i7.WindowCloseActionDirective, i8.WindowMinimizeActionDirective, i9.WindowMaximizeActionDirective, i10.WindowRestoreActionDirective, i11.WindowTitleBarComponent, i12.WindowContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent] });
|
|
54
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialogsModule, providers: [IconsService, DialogService, DialogContainerService, WindowService, WindowContainerService], imports: [i1.DialogComponent, i2.DialogTitleBarComponent, i6.WindowComponent, i7.WindowCloseActionDirective, i8.WindowMinimizeActionDirective, i9.WindowMaximizeActionDirective, i10.WindowRestoreActionDirective] });
|
|
52
55
|
}
|
|
53
|
-
|
|
54
|
-
DialogsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DialogsModule, imports: [i1.DialogComponent, i2.DialogTitleBarComponent, i3.DialogContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent, i6.WindowComponent, i7.WindowCloseActionDirective, i8.WindowMinimizeActionDirective, i9.WindowMaximizeActionDirective, i10.WindowRestoreActionDirective, i11.WindowTitleBarComponent, i12.WindowContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent], exports: [i1.DialogComponent, i2.DialogTitleBarComponent, i3.DialogContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent, i6.WindowComponent, i7.WindowCloseActionDirective, i8.WindowMinimizeActionDirective, i9.WindowMaximizeActionDirective, i10.WindowRestoreActionDirective, i11.WindowTitleBarComponent, i12.WindowContainerDirective, i4.DialogActionsComponent, i5.CustomMessagesComponent] });
|
|
55
|
-
DialogsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogsModule, providers: [IconsService, DialogService, DialogContainerService, WindowService, WindowContainerService], imports: [i1.DialogComponent, i2.DialogTitleBarComponent, i4.DialogActionsComponent, i6.WindowComponent, i7.WindowCloseActionDirective, i8.WindowMinimizeActionDirective, i9.WindowMaximizeActionDirective, i10.WindowRestoreActionDirective, i11.WindowTitleBarComponent, i4.DialogActionsComponent] });
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialogsModule, decorators: [{
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialogsModule, decorators: [{
|
|
57
57
|
type: NgModule,
|
|
58
58
|
args: [{
|
|
59
59
|
imports: [...KENDO_DIALOGS],
|
|
@@ -12,6 +12,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
12
12
|
* ([see example](slug:globalization_dialogs#toc-internationalization)).
|
|
13
13
|
*/
|
|
14
14
|
export class CustomMessagesComponent extends Messages {
|
|
15
|
+
service;
|
|
15
16
|
constructor(service) {
|
|
16
17
|
super();
|
|
17
18
|
this.service = service;
|
|
@@ -19,15 +20,15 @@ export class CustomMessagesComponent extends Messages {
|
|
|
19
20
|
get override() {
|
|
20
21
|
return true;
|
|
21
22
|
}
|
|
23
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
24
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-dialog-messages, kendo-window-messages", providers: [
|
|
25
|
+
{
|
|
26
|
+
provide: Messages,
|
|
27
|
+
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
28
|
+
}
|
|
29
|
+
], usesInheritance: true, ngImport: i0 });
|
|
22
30
|
}
|
|
23
|
-
|
|
24
|
-
CustomMessagesComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-dialog-messages, kendo-window-messages", providers: [
|
|
25
|
-
{
|
|
26
|
-
provide: Messages,
|
|
27
|
-
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
28
|
-
}
|
|
29
|
-
], usesInheritance: true, ngImport: i0 });
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomMessagesComponent, decorators: [{
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomMessagesComponent, decorators: [{
|
|
31
32
|
type: Directive,
|
|
32
33
|
args: [{
|
|
33
34
|
providers: [
|
|
@@ -11,19 +11,20 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
11
11
|
* @hidden
|
|
12
12
|
*/
|
|
13
13
|
export class LocalizedMessagesDirective extends Messages {
|
|
14
|
+
service;
|
|
14
15
|
constructor(service) {
|
|
15
16
|
super();
|
|
16
17
|
this.service = service;
|
|
17
18
|
}
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: LocalizedMessagesDirective, isStandalone: true, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n ", providers: [
|
|
21
|
+
{
|
|
22
|
+
provide: Messages,
|
|
23
|
+
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
24
|
+
}
|
|
25
|
+
], usesInheritance: true, ngImport: i0 });
|
|
18
26
|
}
|
|
19
|
-
|
|
20
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "\n [kendoDialogLocalizedMessages],\n [kendoWindowLocalizedMessages],\n [kendoDialogTitleBarLocalizedMessages]\n ", providers: [
|
|
21
|
-
{
|
|
22
|
-
provide: Messages,
|
|
23
|
-
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
24
|
-
}
|
|
25
|
-
], usesInheritance: true, ngImport: i0 });
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
27
28
|
type: Directive,
|
|
28
29
|
args: [{
|
|
29
30
|
providers: [
|
|
@@ -9,10 +9,26 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
* @hidden
|
|
10
10
|
*/
|
|
11
11
|
export class Messages extends ComponentMessages {
|
|
12
|
+
/**
|
|
13
|
+
* The title of the close button.
|
|
14
|
+
*/
|
|
15
|
+
closeTitle;
|
|
16
|
+
/**
|
|
17
|
+
* The title of the restore button.
|
|
18
|
+
*/
|
|
19
|
+
restoreTitle;
|
|
20
|
+
/**
|
|
21
|
+
* The title of the maximize button.
|
|
22
|
+
*/
|
|
23
|
+
maximizeTitle;
|
|
24
|
+
/**
|
|
25
|
+
* The title of the minimize button.
|
|
26
|
+
*/
|
|
27
|
+
minimizeTitle;
|
|
28
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
29
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: Messages, selector: "kendo-dialog-messages-base", inputs: { closeTitle: "closeTitle", restoreTitle: "restoreTitle", maximizeTitle: "maximizeTitle", minimizeTitle: "minimizeTitle" }, usesInheritance: true, ngImport: i0 });
|
|
12
30
|
}
|
|
13
|
-
|
|
14
|
-
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: Messages, selector: "kendo-dialog-messages-base", inputs: { closeTitle: "closeTitle", restoreTitle: "restoreTitle", maximizeTitle: "maximizeTitle", minimizeTitle: "minimizeTitle" }, usesInheritance: true, ngImport: i0 });
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, decorators: [{
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Messages, decorators: [{
|
|
16
32
|
type: Directive,
|
|
17
33
|
args: [{
|
|
18
34
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -11,6 +11,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
11
11
|
* @hidden
|
|
12
12
|
*/
|
|
13
13
|
export class TitleBarLocalizationService extends LocalizationService {
|
|
14
|
+
dialogLocalization;
|
|
14
15
|
constructor(prefix, messageService, rtl, dialogLocalization) {
|
|
15
16
|
super(prefix, messageService, rtl);
|
|
16
17
|
this.dialogLocalization = dialogLocalization;
|
|
@@ -21,10 +22,10 @@ export class TitleBarLocalizationService extends LocalizationService {
|
|
|
21
22
|
}
|
|
22
23
|
return super.get(shortKey);
|
|
23
24
|
}
|
|
25
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TitleBarLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i1.MessageService, optional: true }, { token: RTL, optional: true }, { token: DIALOG_LOCALIZATION_SERVICE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
26
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TitleBarLocalizationService });
|
|
24
27
|
}
|
|
25
|
-
|
|
26
|
-
TitleBarLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TitleBarLocalizationService });
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TitleBarLocalizationService, decorators: [{
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TitleBarLocalizationService, decorators: [{
|
|
28
29
|
type: Injectable
|
|
29
30
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
30
31
|
type: Inject,
|
|
@@ -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:
|
|
13
|
-
version: '17.0.
|
|
12
|
+
publishDate: 1731429650,
|
|
13
|
+
version: '17.0.1-develop.1',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|