@progress/kendo-angular-dialog 11.6.0 → 12.0.0-develop.2

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.
@@ -5,4 +5,4 @@
5
5
  /**
6
6
  * Specifies the layout of the Dialog action buttons.
7
7
  */
8
- export declare type ActionsLayout = 'normal' | 'stretched' | 'end';
8
+ export declare type ActionsLayout = 'start' | 'center' | 'end' | 'stretched';
@@ -33,8 +33,10 @@ export declare class DialogActionsComponent {
33
33
  */
34
34
  action: EventEmitter<DialogAction>;
35
35
  hostClasses: boolean;
36
- get stretchedClassName(): boolean;
36
+ get startClassName(): boolean;
37
+ get centerClassName(): boolean;
37
38
  get endClassName(): boolean;
39
+ get stretchedClassName(): boolean;
38
40
  constructor(el: ElementRef);
39
41
  /**
40
42
  * @hidden
@@ -37,12 +37,18 @@ export class DialogActionsComponent {
37
37
  throw new Error('"actions" must be either TemplateRef or DialogAction[] instance.');
38
38
  }
39
39
  }
40
- get stretchedClassName() {
41
- return this.layout === 'stretched';
40
+ get startClassName() {
41
+ return this.layout === 'start';
42
+ }
43
+ get centerClassName() {
44
+ return this.layout === 'center';
42
45
  }
43
46
  get endClassName() {
44
47
  return this.layout === 'end';
45
48
  }
49
+ get stretchedClassName() {
50
+ return this.layout === 'stretched';
51
+ }
46
52
  /**
47
53
  * @hidden
48
54
  */
@@ -65,7 +71,7 @@ export class DialogActionsComponent {
65
71
  }
66
72
  }
67
73
  DialogActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DialogActionsComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
68
- DialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DialogActionsComponent, 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-stretched": "this.stretchedClassName", "class.k-actions-end": "this.endClassName" } }, ngImport: i0, template: `
74
+ DialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DialogActionsComponent, 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: `
69
75
  <ng-content *ngIf="!actions"></ng-content>
70
76
  <ng-container *ngIf="actionsArray; else actionTemplate">
71
77
  <button
@@ -118,10 +124,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
118
124
  }, {
119
125
  type: HostBinding,
120
126
  args: ['class.k-dialog-actions']
121
- }], stretchedClassName: [{
127
+ }], startClassName: [{
122
128
  type: HostBinding,
123
- args: ['class.k-actions-stretched']
129
+ args: ['class.k-actions-start']
130
+ }], centerClassName: [{
131
+ type: HostBinding,
132
+ args: ['class.k-actions-center']
124
133
  }], endClassName: [{
125
134
  type: HostBinding,
126
135
  args: ['class.k-actions-end']
136
+ }], stretchedClassName: [{
137
+ type: HostBinding,
138
+ args: ['class.k-actions-stretched']
127
139
  }] } });
@@ -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: 1680701755,
13
- version: '11.6.0',
12
+ publishDate: 1680772402,
13
+ version: '12.0.0-develop.2',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -237,12 +237,18 @@ class DialogActionsComponent {
237
237
  throw new Error('"actions" must be either TemplateRef or DialogAction[] instance.');
238
238
  }
239
239
  }
240
- get stretchedClassName() {
241
- return this.layout === 'stretched';
240
+ get startClassName() {
241
+ return this.layout === 'start';
242
+ }
243
+ get centerClassName() {
244
+ return this.layout === 'center';
242
245
  }
243
246
  get endClassName() {
244
247
  return this.layout === 'end';
245
248
  }
249
+ get stretchedClassName() {
250
+ return this.layout === 'stretched';
251
+ }
246
252
  /**
247
253
  * @hidden
248
254
  */
@@ -265,7 +271,7 @@ class DialogActionsComponent {
265
271
  }
266
272
  }
267
273
  DialogActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DialogActionsComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
268
- DialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DialogActionsComponent, 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-stretched": "this.stretchedClassName", "class.k-actions-end": "this.endClassName" } }, ngImport: i0, template: `
274
+ DialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DialogActionsComponent, 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: `
269
275
  <ng-content *ngIf="!actions"></ng-content>
270
276
  <ng-container *ngIf="actionsArray; else actionTemplate">
271
277
  <button
@@ -318,12 +324,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
318
324
  }, {
319
325
  type: HostBinding,
320
326
  args: ['class.k-dialog-actions']
321
- }], stretchedClassName: [{
327
+ }], startClassName: [{
322
328
  type: HostBinding,
323
- args: ['class.k-actions-stretched']
329
+ args: ['class.k-actions-start']
330
+ }], centerClassName: [{
331
+ type: HostBinding,
332
+ args: ['class.k-actions-center']
324
333
  }], endClassName: [{
325
334
  type: HostBinding,
326
335
  args: ['class.k-actions-end']
336
+ }], stretchedClassName: [{
337
+ type: HostBinding,
338
+ args: ['class.k-actions-stretched']
327
339
  }] } });
328
340
 
329
341
  class PreventableEvent {
@@ -593,8 +605,8 @@ const packageMetadata = {
593
605
  name: '@progress/kendo-angular-dialog',
594
606
  productName: 'Kendo UI for Angular',
595
607
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
596
- publishDate: 1680701755,
597
- version: '11.6.0',
608
+ publishDate: 1680772402,
609
+ version: '12.0.0-develop.2',
598
610
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
599
611
  };
600
612
 
@@ -237,12 +237,18 @@ class DialogActionsComponent {
237
237
  throw new Error('"actions" must be either TemplateRef or DialogAction[] instance.');
238
238
  }
239
239
  }
240
- get stretchedClassName() {
241
- return this.layout === 'stretched';
240
+ get startClassName() {
241
+ return this.layout === 'start';
242
+ }
243
+ get centerClassName() {
244
+ return this.layout === 'center';
242
245
  }
243
246
  get endClassName() {
244
247
  return this.layout === 'end';
245
248
  }
249
+ get stretchedClassName() {
250
+ return this.layout === 'stretched';
251
+ }
246
252
  /**
247
253
  * @hidden
248
254
  */
@@ -265,7 +271,7 @@ class DialogActionsComponent {
265
271
  }
266
272
  }
267
273
  DialogActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DialogActionsComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
268
- DialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DialogActionsComponent, 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-stretched": "this.stretchedClassName", "class.k-actions-end": "this.endClassName" } }, ngImport: i0, template: `
274
+ DialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DialogActionsComponent, 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: `
269
275
  <ng-content *ngIf="!actions"></ng-content>
270
276
  <ng-container *ngIf="actionsArray; else actionTemplate">
271
277
  <button
@@ -318,12 +324,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
318
324
  }, {
319
325
  type: HostBinding,
320
326
  args: ['class.k-dialog-actions']
321
- }], stretchedClassName: [{
327
+ }], startClassName: [{
322
328
  type: HostBinding,
323
- args: ['class.k-actions-stretched']
329
+ args: ['class.k-actions-start']
330
+ }], centerClassName: [{
331
+ type: HostBinding,
332
+ args: ['class.k-actions-center']
324
333
  }], endClassName: [{
325
334
  type: HostBinding,
326
335
  args: ['class.k-actions-end']
336
+ }], stretchedClassName: [{
337
+ type: HostBinding,
338
+ args: ['class.k-actions-stretched']
327
339
  }] } });
328
340
 
329
341
  class PreventableEvent {
@@ -589,8 +601,8 @@ const packageMetadata = {
589
601
  name: '@progress/kendo-angular-dialog',
590
602
  productName: 'Kendo UI for Angular',
591
603
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
592
- publishDate: 1680701755,
593
- version: '11.6.0',
604
+ publishDate: 1680772402,
605
+ version: '12.0.0-develop.2',
594
606
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
595
607
  };
596
608
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-dialog",
3
- "version": "11.6.0",
3
+ "version": "12.0.0-develop.2",
4
4
  "description": "Dialog Package for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -27,15 +27,15 @@
27
27
  "@angular/core": "13 - 15",
28
28
  "@angular/platform-browser": "13 - 15",
29
29
  "@progress/kendo-licensing": "^1.0.2",
30
- "@progress/kendo-angular-buttons": "11.6.0",
31
- "@progress/kendo-angular-common": "11.6.0",
32
- "@progress/kendo-angular-icons": "11.6.0",
33
- "@progress/kendo-angular-l10n": "11.6.0",
30
+ "@progress/kendo-angular-buttons": "12.0.0-develop.2",
31
+ "@progress/kendo-angular-common": "12.0.0-develop.2",
32
+ "@progress/kendo-angular-icons": "12.0.0-develop.2",
33
+ "@progress/kendo-angular-l10n": "12.0.0-develop.2",
34
34
  "rxjs": "^6.5.3 || ^7.0.0"
35
35
  },
36
36
  "dependencies": {
37
37
  "tslib": "^2.3.1",
38
- "@progress/kendo-angular-schematics": "11.6.0",
38
+ "@progress/kendo-angular-schematics": "12.0.0-develop.2",
39
39
  "@progress/kendo-popup-common": "^1.7.0"
40
40
  },
41
41
  "schematics": "./schematics/collection.json",
@@ -4,7 +4,7 @@ const schematics_1 = require("@angular-devkit/schematics");
4
4
  function default_1(options) {
5
5
  const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'DialogsModule', package: 'dialog', peerDependencies: {
6
6
  // Peer dependency of buttons
7
- '@progress/kendo-angular-popup': '11.6.0',
7
+ '@progress/kendo-angular-popup': '12.0.0-develop.2',
8
8
  // Peer dependency of icons
9
9
  '@progress/kendo-svg-icons': '^1.0.0'
10
10
  } });