@progress/kendo-vue-dialogs 3.6.4 → 3.6.5-dev.202210181442

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/dist/es/Dialog.js CHANGED
@@ -10,7 +10,6 @@ import { DEFAULT_DIALOGS_ZINDEX } from './constants';
10
10
  /**
11
11
  * @hidden
12
12
  */
13
-
14
13
  var DialogVue2 = {
15
14
  name: 'KendoDialog',
16
15
  props: {
@@ -94,13 +93,13 @@ var DialogVue2 = {
94
93
  var h = gh || createElement;
95
94
  var id = this.$props.id !== undefined ? this.$props.id : this.titleId;
96
95
  var _a = this.$props,
97
- title = _a.title,
98
- width = _a.width,
99
- height = _a.height,
100
- minWidth = _a.minWidth,
101
- dir = _a.dir,
102
- contentStyle = _a.contentStyle,
103
- wrapperId = _a.wrapperId;
96
+ title = _a.title,
97
+ width = _a.width,
98
+ height = _a.height,
99
+ minWidth = _a.minWidth,
100
+ dir = _a.dir,
101
+ contentStyle = _a.contentStyle,
102
+ wrapperId = _a.wrapperId;
104
103
  var titleRender = this.$props.titleRender ? templateRendering.call(this, this.$props.titleRender, getListeners.call(this)) : null;
105
104
  var defaultSlot = getDefaultSlots(this);
106
105
  var content = defaultSlot || [];
@@ -109,12 +108,10 @@ var DialogVue2 = {
109
108
  minWidth = this.transformDimesion(minWidth);
110
109
  var actionBarIndex = this.getActionBarIndex(content);
111
110
  var actions;
112
-
113
111
  if (actionBarIndex !== -1) {
114
112
  actions = content[actionBarIndex];
115
113
  content.splice(actionBarIndex, 1);
116
114
  }
117
-
118
115
  var closeIcon = this.$props.closeIcon !== undefined ? this.$props.closeIcon : true;
119
116
  var dialog = h("div", {
120
117
  ref: 'wrapper',
@@ -146,7 +143,8 @@ var DialogVue2 = {
146
143
  height: height,
147
144
  minWidth: minWidth
148
145
  }
149
- }, [(title || titleRender) && // @ts-ignore
146
+ }, [(title || titleRender) &&
147
+ // @ts-ignore
150
148
  h(DialogTitleBar, {
151
149
  closeIcon: closeIcon,
152
150
  attrs: this.v3 ? undefined : {
@@ -172,6 +170,5 @@ var DialogVue2 = {
172
170
  /**
173
171
  * @hidden
174
172
  */
175
-
176
173
  var Dialog = DialogVue2;
177
174
  export { Dialog, DialogVue2 };
@@ -7,7 +7,6 @@ import { getDefaultSlots } from '@progress/kendo-vue-common';
7
7
  /**
8
8
  * @hidden
9
9
  */
10
-
11
10
  var DialogActionsBarVue2 = {
12
11
  name: 'DialogActionsBar',
13
12
  props: {
@@ -30,7 +29,6 @@ var DialogActionsBarVue2 = {
30
29
  computed: {
31
30
  wrapperClasses: function wrapperClasses() {
32
31
  var _a;
33
-
34
32
  var layout = this.$props.layout;
35
33
  return _a = {
36
34
  'k-dialog-buttongroup': this.buttonGroupClass,
@@ -50,6 +48,5 @@ var DialogActionsBarVue2 = {
50
48
  /**
51
49
  * @hidden
52
50
  */
53
-
54
51
  var DialogActionsBar = DialogActionsBarVue2;
55
52
  export { DialogActionsBar, DialogActionsBarVue2 };
@@ -8,7 +8,6 @@ import { Button } from '@progress/kendo-vue-buttons';
8
8
  /**
9
9
  * @hidden
10
10
  */
11
-
12
11
  var DialogTitleBarVue2 = {
13
12
  props: {
14
13
  id: String,
@@ -35,10 +34,10 @@ var DialogTitleBarVue2 = {
35
34
  render: function render(createElement) {
36
35
  var h = gh || createElement;
37
36
  var _a = this.$props,
38
- id = _a.id,
39
- closeIcon = _a.closeIcon,
40
- titleRender = _a.titleRender,
41
- title = _a.title;
37
+ id = _a.id,
38
+ closeIcon = _a.closeIcon,
39
+ titleRender = _a.titleRender,
40
+ title = _a.title;
42
41
  var titleElement;
43
42
  titleElement = getTemplate.call(this, {
44
43
  h: h,
@@ -55,7 +54,8 @@ var DialogTitleBarVue2 = {
55
54
  "class": "k-window-title k-dialog-title"
56
55
  }, [titleElement]), h("div", {
57
56
  "class": "k-window-actions k-dialog-actions"
58
- }, [closeIcon && // @ts-ignore
57
+ }, [closeIcon &&
58
+ // @ts-ignore
59
59
  h(Button, {
60
60
  type: "button",
61
61
  attrs: this.v3 ? undefined : {
@@ -78,6 +78,5 @@ var DialogTitleBarVue2 = {
78
78
  /**
79
79
  * @hidden
80
80
  */
81
-
82
81
  var DialogTitleBar = DialogTitleBarVue2;
83
82
  export { DialogTitleBar, DialogTitleBarVue2 };
package/dist/es/Window.js CHANGED
@@ -2,19 +2,15 @@ var __assign = this && this.__assign || function () {
2
2
  __assign = Object.assign || function (t) {
3
3
  for (var s, i = 1, n = arguments.length; i < n; i++) {
4
4
  s = arguments[i];
5
-
6
5
  for (var p in s) {
7
6
  if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
8
7
  }
9
8
  }
10
-
11
9
  return t;
12
10
  };
13
-
14
11
  return __assign.apply(this, arguments);
15
- }; // @ts-ignore
16
-
17
-
12
+ };
13
+ // @ts-ignore
18
14
  import * as Vue from 'vue';
19
15
  var allVue = Vue;
20
16
  var gh = allVue.h;
@@ -33,7 +29,6 @@ var DEFAULT_STEP = 5;
33
29
  /**
34
30
  * @hidden
35
31
  */
36
-
37
32
  var WindowVue2 = {
38
33
  name: 'KendoWindow',
39
34
  // @ts-ignore
@@ -150,14 +145,12 @@ var WindowVue2 = {
150
145
  mounted: function mounted() {
151
146
  if (window) {
152
147
  window.addEventListener('resize', this.handleBrowserWindowResize);
153
-
154
148
  if (this.$props.appendTo) {
155
149
  var body = document.querySelector(this.$props.appendTo);
156
150
  this.windowWrapper = this.$refs.wrapper;
157
151
  body.append(this.windowWrapper);
158
152
  }
159
153
  }
160
-
161
154
  if (this.$el) {
162
155
  // this.draggable = this.$refs.draggable;
163
156
  this.windowElement = this.$refs.windowElement;
@@ -179,34 +172,28 @@ var WindowVue2 = {
179
172
  if (this.windowStage !== windowStage.FULLSCREEN) {
180
173
  return Math.max(this.$props.top || this.currentTop, 0);
181
174
  }
182
-
183
175
  return 0;
184
176
  },
185
177
  computedLeft: function computedLeft() {
186
178
  if (this.windowStage !== windowStage.FULLSCREEN) {
187
179
  return Math.max(this.$props.left || this.currentLeft, 0);
188
180
  }
189
-
190
181
  return 0;
191
182
  },
192
183
  computedWidth: function computedWidth() {
193
184
  var width = this.$props.width || this.currentWidth;
194
-
195
185
  if (this.windowStage === windowStage.FULLSCREEN) {
196
186
  width = window.innerWidth;
197
187
  }
198
-
199
188
  return width;
200
189
  },
201
190
  computedHeight: function computedHeight() {
202
191
  var height = this.$props.height || this.currentHeight;
203
-
204
192
  if (this.windowStage === windowStage.FULLSCREEN) {
205
193
  height = window.innerHeight;
206
194
  } else if (this.windowStage === windowStage.MINIMIZED) {
207
195
  height = 0;
208
196
  }
209
-
210
197
  return height;
211
198
  },
212
199
  windowStage: function windowStage() {
@@ -222,7 +209,6 @@ var WindowVue2 = {
222
209
  onDrag: function onDrag(event) {
223
210
  var e = event;
224
211
  e.originalEvent.preventDefault();
225
-
226
212
  if (this.windowStage !== windowStage.FULLSCREEN && this.$props.draggable) {
227
213
  this.currentTop = Math.max(e.pageY - this.windowCoordinatesState.differenceTop, 0);
228
214
  this.currentLeft = e.pageX - this.windowCoordinatesState.differenceLeft;
@@ -232,56 +218,43 @@ var WindowVue2 = {
232
218
  },
233
219
  onRelease: function onRelease(event) {
234
220
  var e = event;
235
-
236
221
  if (this.windowStage !== windowStage.FULLSCREEN && this.$props.draggable) {
237
222
  this.dispatchMoveEvent('move', e, true, true);
238
223
  }
239
-
240
224
  this.isDragging = false;
241
225
  },
242
226
  handleKeyDown: function handleKeyDown(event) {
243
227
  if (event.target !== event.currentTarget) {
244
228
  return;
245
229
  }
246
-
247
230
  var minWidth = this.$props.minWidth || DEFAULT_MIN_WIDTH;
248
231
  var minHeight = this.$props.minHeight || DEFAULT_MIN_HEIGHT;
249
-
250
232
  if (event.ctrlKey && this.$props.resizable) {
251
233
  switch (event.keyCode) {
252
234
  case Keys.up:
253
235
  event.preventDefault();
254
-
255
236
  if (minHeight <= this.computedHeight - DEFAULT_STEP) {
256
237
  this.currentHeight = this.currentHeight - DEFAULT_STEP;
257
238
  }
258
-
259
239
  break;
260
-
261
240
  case Keys.down:
262
241
  event.preventDefault();
263
242
  this.currentHeight = this.currentHeight + DEFAULT_STEP;
264
243
  break;
265
-
266
244
  case Keys.left:
267
245
  if (minWidth <= this.computedWidth - DEFAULT_STEP) {
268
246
  this.currentWidth = this.currentWidth - DEFAULT_STEP;
269
247
  }
270
-
271
248
  break;
272
-
273
249
  case Keys.right:
274
250
  this.currentWidth = this.currentWidth + DEFAULT_STEP;
275
251
  break;
276
-
277
252
  default:
278
253
  return;
279
254
  }
280
-
281
255
  this.dispatchMoveEvent('resize', event, false, undefined);
282
256
  return;
283
257
  }
284
-
285
258
  if (event.altKey) {
286
259
  switch (event.keyCode) {
287
260
  case Keys.up:
@@ -296,9 +269,7 @@ var WindowVue2 = {
296
269
  state: windowStage.FULLSCREEN
297
270
  });
298
271
  }
299
-
300
272
  break;
301
-
302
273
  case Keys.down:
303
274
  if (this.windowStage === windowStage.FULLSCREEN) {
304
275
  this.handleRestore(event);
@@ -311,106 +282,84 @@ var WindowVue2 = {
311
282
  state: windowStage.MINIMIZED
312
283
  });
313
284
  }
314
-
315
285
  break;
316
-
317
286
  default:
318
287
  }
319
-
320
288
  return;
321
289
  }
322
-
323
290
  if (!event.ctrlKey) {
324
291
  switch (event.keyCode) {
325
292
  case Keys.esc:
326
293
  this.handleCloseWindow(event);
327
294
  return;
328
-
329
295
  case Keys.up:
330
296
  event.preventDefault();
331
297
  this.currentTop = this.currentTop - DEFAULT_STEP;
332
298
  break;
333
-
334
299
  case Keys.down:
335
300
  event.preventDefault();
336
301
  this.currentTop = this.currentTop + DEFAULT_STEP;
337
302
  break;
338
-
339
303
  case Keys.left:
340
304
  event.preventDefault();
341
305
  this.currentLeft = this.currentLeft - DEFAULT_STEP;
342
306
  break;
343
-
344
307
  case Keys.right:
345
308
  event.preventDefault();
346
309
  this.currentLeft = this.currentLeft + DEFAULT_STEP;
347
310
  break;
348
-
349
311
  default:
350
312
  return;
351
313
  }
352
314
  }
353
-
354
315
  this.dispatchMoveEvent('move', event, false, undefined);
355
316
  },
356
317
  getInitialTop: function getInitialTop() {
357
318
  if (this.$props.top !== undefined) {
358
319
  return this.$props.top;
359
320
  }
360
-
361
321
  if (this.$props.initialTop !== undefined) {
362
322
  return this.$props.initialTop;
363
323
  }
364
-
365
324
  var height = DEFAULT_HEIGHT;
366
-
367
325
  if (this.$props.height !== undefined) {
368
326
  height = this.$props.height;
369
327
  } else if (this.$props.initialHeight !== undefined) {
370
328
  height = this.$props.initialHeight;
371
329
  }
372
-
373
330
  return window.innerHeight / 2 - height / 2;
374
331
  },
375
332
  getInitialLeft: function getInitialLeft() {
376
333
  if (this.$props.left !== undefined) {
377
334
  return this.$props.left;
378
335
  }
379
-
380
336
  if (this.$props.initialLeft !== undefined) {
381
337
  return this.$props.initialLeft;
382
338
  }
383
-
384
339
  var width = DEFAULT_WIDTH;
385
-
386
340
  if (this.$props.width !== undefined) {
387
341
  width = this.$props.width;
388
342
  } else if (this.$props.initialWidth !== undefined) {
389
343
  width = this.$props.initialWidth;
390
344
  }
391
-
392
345
  return window.innerWidth / 2 - width / 2;
393
346
  },
394
347
  getInitialWidth: function getInitialWidth() {
395
348
  var width = DEFAULT_WIDTH;
396
-
397
349
  if (this.$props.width !== undefined) {
398
350
  width = this.$props.width;
399
351
  } else if (this.$props.initialWidth !== undefined) {
400
352
  width = this.$props.initialWidth;
401
353
  }
402
-
403
354
  return width;
404
355
  },
405
356
  getInitialHeight: function getInitialHeight() {
406
357
  var height = DEFAULT_HEIGHT;
407
-
408
358
  if (this.$props.height !== undefined) {
409
359
  height = this.$props.height;
410
360
  } else if (this.$props.initialHeight !== undefined) {
411
361
  height = this.$props.initialHeight;
412
362
  }
413
-
414
363
  return height;
415
364
  },
416
365
  handleMinimize: function handleMinimize(event) {
@@ -442,7 +391,6 @@ var WindowVue2 = {
442
391
  },
443
392
  handleRestore: function handleRestore(event) {
444
393
  event.preventDefault();
445
-
446
394
  if (this.windowStage === windowStage.FULLSCREEN) {
447
395
  this.currentStage = windowStage.DEFAULT;
448
396
  this.currentLeft = this.windowCoordinatesState.leftBeforeAction;
@@ -453,7 +401,6 @@ var WindowVue2 = {
453
401
  this.currentStage = windowStage.DEFAULT;
454
402
  this.currentHeight = this.windowCoordinatesState.heightBeforeAction;
455
403
  }
456
-
457
404
  this.$emit('stagechange', event, this, {
458
405
  state: windowStage.DEFAULT
459
406
  });
@@ -468,7 +415,6 @@ var WindowVue2 = {
468
415
  if (!this.$props.doubleClickStageChange) {
469
416
  return;
470
417
  }
471
-
472
418
  if (this.windowStage === windowStage.FULLSCREEN || this.windowStage === windowStage.MINIMIZED) {
473
419
  this.handleRestore(e);
474
420
  } else {
@@ -485,25 +431,20 @@ var WindowVue2 = {
485
431
  var newWidth = event.pageX - this.computedLeft;
486
432
  var newHeight = event.pageY - this.computedTop;
487
433
  this.isDragging = !props.end;
488
-
489
434
  if (props.direction.indexOf('n') >= 0 && minHeight - (currentHeight + heightDifference) < 0) {
490
435
  this.currentTop = event.pageY;
491
436
  this.currentHeight = currentHeight + heightDifference;
492
437
  }
493
-
494
438
  if (props.direction.indexOf('s') >= 0 && minHeight - newHeight < 0) {
495
439
  this.currentHeight = newHeight;
496
440
  }
497
-
498
441
  if (props.direction.indexOf('w') >= 0 && minWidth - (currentWidth + widthDifference) < 0) {
499
442
  this.currentLeft = event.pageX;
500
443
  this.currentWidth = currentWidth + widthDifference;
501
444
  }
502
-
503
445
  if (props.direction.indexOf('e') >= 0 && minWidth - newWidth < 0) {
504
446
  this.currentWidth = newWidth;
505
447
  }
506
-
507
448
  this.dispatchMoveEvent('resize', event, true, props.end);
508
449
  },
509
450
  dispatchMoveEvent: function dispatchMoveEvent(eventName, event, drag, end) {
@@ -528,7 +469,6 @@ var WindowVue2 = {
528
469
  // @ts-ignore
529
470
  render: function render(createElement) {
530
471
  var _this = this;
531
-
532
472
  var h = gh || createElement;
533
473
  var classNamesWindow = classNames('k-widget', 'k-window', this.$props.windowClass, {
534
474
  'k-window-minimized': this.currentStage === 'MINIMIZED'
@@ -572,7 +512,8 @@ var WindowVue2 = {
572
512
  width: this.computedWidth + 'px',
573
513
  height: this.computedHeight + 'px' || ''
574
514
  }, this.$props.windowStyle)
575
- }, [// @ts-ignore function children
515
+ }, [
516
+ // @ts-ignore function children
576
517
  h(Draggable, {
577
518
  onPress: this.onPress,
578
519
  on: this.v3 ? undefined : {
@@ -584,7 +525,8 @@ var WindowVue2 = {
584
525
  onRelease: this.onRelease,
585
526
  ref: 'draggable'
586
527
  }, this.v3 ? function () {
587
- return [// @ts-ignore function children
528
+ return [
529
+ // @ts-ignore function children
588
530
  h(WindowTitleBar, {
589
531
  stage: _this.windowStage,
590
532
  attrs: _this.v3 ? undefined : {
@@ -646,7 +588,8 @@ var WindowVue2 = {
646
588
  restoreButton: restoreButton
647
589
  })]), this.windowStage !== windowStage.MINIMIZED ? h("div", {
648
590
  "class": "k-content k-window-content"
649
- }, [defaultSlot]) : null, this.windowStage === windowStage.DEFAULT && this.$props.resizable // @ts-ignore function children
591
+ }, [defaultSlot]) : null, this.windowStage === windowStage.DEFAULT && this.$props.resizable
592
+ // @ts-ignore function children
650
593
  ? h(ResizeHandlers, {
651
594
  onResize: this.handleResize,
652
595
  on: this.v3 ? undefined : {
@@ -659,6 +602,5 @@ var WindowVue2 = {
659
602
  /**
660
603
  * @hidden
661
604
  */
662
-
663
605
  var Window = WindowVue2;
664
606
  export { Window, WindowVue2 };
@@ -1 +1,2 @@
1
- export {}; // tslint:enable:max-line-length
1
+ export {};
2
+ // tslint:enable:max-line-length
@@ -7,12 +7,10 @@ import { Draggable } from '@progress/kendo-vue-common';
7
7
  /**
8
8
  * @hidden
9
9
  */
10
-
11
10
  var keys = ['n', 'e', 's', 'w', 'se', 'sw', 'ne', 'nw'];
12
11
  /**
13
12
  * @hidden
14
13
  */
15
-
16
14
  var ResizeHandlersVue2 = {
17
15
  name: 'ResizeHandlers',
18
16
  // @ts-ignore
@@ -47,8 +45,8 @@ var ResizeHandlersVue2 = {
47
45
  var h = gh || createElement;
48
46
  return h("div", [keys.map(function (key, index) {
49
47
  var _this = this;
50
-
51
- return (// @ts-ignore function children
48
+ return (
49
+ // @ts-ignore function children
52
50
  h(Draggable, {
53
51
  key: index,
54
52
  onDrag: function onDrag(e) {
@@ -87,6 +85,5 @@ var ResizeHandlersVue2 = {
87
85
  /**
88
86
  * @hidden
89
87
  */
90
-
91
88
  var ResizeHandlers = ResizeHandlersVue2;
92
89
  export { ResizeHandlers, ResizeHandlersVue2 };
@@ -11,7 +11,6 @@ import { dialogsWindowCloseButton, dialogsWindowMaximizeButton, dialogsWindowMin
11
11
  /**
12
12
  * @hidden
13
13
  */
14
-
15
14
  var WindowTitleBarVue2 = {
16
15
  name: 'KendoWindowTitleBar',
17
16
  props: {
@@ -58,19 +57,20 @@ var WindowTitleBarVue2 = {
58
57
  var h = gh || createElement;
59
58
  var props = this.$props;
60
59
  var stage = props.stage,
61
- title = props.title,
62
- titleRender = props.titleRender,
63
- minimizeButton = props.minimizeButton,
64
- maximizeButton = props.maximizeButton,
65
- restoreButton = props.restoreButton,
66
- closeButton = props.closeButton;
60
+ title = props.title,
61
+ titleRender = props.titleRender,
62
+ minimizeButton = props.minimizeButton,
63
+ maximizeButton = props.maximizeButton,
64
+ restoreButton = props.restoreButton,
65
+ closeButton = props.closeButton;
67
66
  var ls = provideLocalizationService(this);
68
67
  var titleElement = getTemplate.call(this, {
69
68
  h: h,
70
69
  template: titleRender,
71
70
  defaultRendering: title
72
71
  });
73
- var minimizeButtonDefault = // @ts-ignore
72
+ var minimizeButtonDefault =
73
+ // @ts-ignore
74
74
  h(Button, {
75
75
  type: "button",
76
76
  attrs: this.v3 ? undefined : {
@@ -93,7 +93,8 @@ var WindowTitleBarVue2 = {
93
93
  template: minimizeButton,
94
94
  defaultRendering: minimizeButtonDefault
95
95
  });
96
- var maximizeButtonDefault = // @ts-ignore
96
+ var maximizeButtonDefault =
97
+ // @ts-ignore
97
98
  h(Button, {
98
99
  type: "button",
99
100
  attrs: this.v3 ? undefined : {
@@ -116,7 +117,8 @@ var WindowTitleBarVue2 = {
116
117
  template: maximizeButton,
117
118
  defaultRendering: maximizeButtonDefault
118
119
  });
119
- var restoreButtonDefault = // @ts-ignore
120
+ var restoreButtonDefault =
121
+ // @ts-ignore
120
122
  h(Button, {
121
123
  type: "button",
122
124
  attrs: this.v3 ? undefined : {
@@ -139,7 +141,8 @@ var WindowTitleBarVue2 = {
139
141
  template: restoreButton,
140
142
  defaultRendering: restoreButtonDefault
141
143
  });
142
- var closeButtonDefault = // @ts-ignore
144
+ var closeButtonDefault =
145
+ // @ts-ignore
143
146
  h(Button, {
144
147
  type: "button",
145
148
  attrs: this.v3 ? undefined : {
@@ -181,6 +184,5 @@ var WindowTitleBarVue2 = {
181
184
  /**
182
185
  * @hidden
183
186
  */
184
-
185
187
  var WindowTitleBar = WindowTitleBarVue2;
186
188
  export { WindowTitleBar, WindowTitleBarVue2 };
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-dialogs',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1665151171,
8
+ publishDate: 1666103362,
9
9
  version: '',
10
10
  licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
11
11
  };
@@ -10,7 +10,6 @@ import { DEFAULT_DIALOGS_ZINDEX } from './constants.js';
10
10
  /**
11
11
  * @hidden
12
12
  */
13
-
14
13
  var DialogVue2 = {
15
14
  name: 'KendoDialog',
16
15
  props: {
@@ -94,13 +93,13 @@ var DialogVue2 = {
94
93
  var h = gh || createElement;
95
94
  var id = this.$props.id !== undefined ? this.$props.id : this.titleId;
96
95
  var _a = this.$props,
97
- title = _a.title,
98
- width = _a.width,
99
- height = _a.height,
100
- minWidth = _a.minWidth,
101
- dir = _a.dir,
102
- contentStyle = _a.contentStyle,
103
- wrapperId = _a.wrapperId;
96
+ title = _a.title,
97
+ width = _a.width,
98
+ height = _a.height,
99
+ minWidth = _a.minWidth,
100
+ dir = _a.dir,
101
+ contentStyle = _a.contentStyle,
102
+ wrapperId = _a.wrapperId;
104
103
  var titleRender = this.$props.titleRender ? templateRendering.call(this, this.$props.titleRender, getListeners.call(this)) : null;
105
104
  var defaultSlot = getDefaultSlots(this);
106
105
  var content = defaultSlot || [];
@@ -109,12 +108,10 @@ var DialogVue2 = {
109
108
  minWidth = this.transformDimesion(minWidth);
110
109
  var actionBarIndex = this.getActionBarIndex(content);
111
110
  var actions;
112
-
113
111
  if (actionBarIndex !== -1) {
114
112
  actions = content[actionBarIndex];
115
113
  content.splice(actionBarIndex, 1);
116
114
  }
117
-
118
115
  var closeIcon = this.$props.closeIcon !== undefined ? this.$props.closeIcon : true;
119
116
  var dialog = h("div", {
120
117
  ref: 'wrapper',
@@ -146,7 +143,8 @@ var DialogVue2 = {
146
143
  height: height,
147
144
  minWidth: minWidth
148
145
  }
149
- }, [(title || titleRender) && // @ts-ignore
146
+ }, [(title || titleRender) &&
147
+ // @ts-ignore
150
148
  h(DialogTitleBar, {
151
149
  closeIcon: closeIcon,
152
150
  attrs: this.v3 ? undefined : {
@@ -172,6 +170,5 @@ var DialogVue2 = {
172
170
  /**
173
171
  * @hidden
174
172
  */
175
-
176
173
  var Dialog = DialogVue2;
177
174
  export { Dialog, DialogVue2 };
@@ -7,7 +7,6 @@ import { getDefaultSlots } from '@progress/kendo-vue-common';
7
7
  /**
8
8
  * @hidden
9
9
  */
10
-
11
10
  var DialogActionsBarVue2 = {
12
11
  name: 'DialogActionsBar',
13
12
  props: {
@@ -30,7 +29,6 @@ var DialogActionsBarVue2 = {
30
29
  computed: {
31
30
  wrapperClasses: function wrapperClasses() {
32
31
  var _a;
33
-
34
32
  var layout = this.$props.layout;
35
33
  return _a = {
36
34
  'k-dialog-buttongroup': this.buttonGroupClass,
@@ -50,6 +48,5 @@ var DialogActionsBarVue2 = {
50
48
  /**
51
49
  * @hidden
52
50
  */
53
-
54
51
  var DialogActionsBar = DialogActionsBarVue2;
55
52
  export { DialogActionsBar, DialogActionsBarVue2 };