@progress/kendo-vue-dialogs 3.7.4-dev.202301151601 → 3.7.4-dev.202301161618
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 +11 -11
- package/dist/cdn/js/kendo-vue-dialogs.js +1 -1
- package/dist/es/Window.js +15 -2
- package/dist/es/package-metadata.js +1 -1
- package/dist/esm/Window.js +15 -2
- package/dist/esm/package-metadata.js +1 -1
- package/dist/npm/Window.js +15 -2
- package/dist/npm/package-metadata.js +1 -1
- package/package.json +4 -4
package/dist/es/Window.js
CHANGED
|
@@ -488,6 +488,12 @@ var WindowVue2 = {
|
|
|
488
488
|
},
|
|
489
489
|
handleClick: function handleClick(e) {
|
|
490
490
|
this.$emit('overlayclick', e);
|
|
491
|
+
},
|
|
492
|
+
getActionBarIndex: function getActionBarIndex(children) {
|
|
493
|
+
var actionBarIndex = children.findIndex(function (child) {
|
|
494
|
+
return child && child.tag && child.tag.toLowerCase().indexOf('dialogactionsbar') !== -1 || child.componentOptions && child.componentOptions.tag && child.componentOptions.tag.toLowerCase().indexOf('actions-bar') !== -1 || child.type && child.type.name && child.type.name.toLowerCase().indexOf('dialogactionsbar') !== -1;
|
|
495
|
+
});
|
|
496
|
+
return actionBarIndex;
|
|
491
497
|
}
|
|
492
498
|
},
|
|
493
499
|
// @ts-ignore
|
|
@@ -500,6 +506,13 @@ var WindowVue2 = {
|
|
|
500
506
|
var maximizeButton = templateRendering.call(this, this.$props.maximizeButton, getListeners.call(this));
|
|
501
507
|
var restoreButton = templateRendering.call(this, this.$props.restoreButton, getListeners.call(this));
|
|
502
508
|
var defaultSlot = getDefaultSlots(this);
|
|
509
|
+
var content = defaultSlot || [];
|
|
510
|
+
var actionBarIndex = this.getActionBarIndex(content);
|
|
511
|
+
var actions;
|
|
512
|
+
if (actionBarIndex !== -1) {
|
|
513
|
+
actions = content[actionBarIndex];
|
|
514
|
+
content.splice(actionBarIndex, 1);
|
|
515
|
+
}
|
|
503
516
|
var windowElement = h("div", {
|
|
504
517
|
"class": 'k-dialog-wrapper',
|
|
505
518
|
ref: 'wrapper'
|
|
@@ -620,9 +633,9 @@ var WindowVue2 = {
|
|
|
620
633
|
minimizeButton: minimizeButton,
|
|
621
634
|
maximizeButton: maximizeButton,
|
|
622
635
|
restoreButton: restoreButton
|
|
623
|
-
})]), this.windowStage !== windowStage.MINIMIZED ? h("div", {
|
|
636
|
+
})]), this.windowStage !== windowStage.MINIMIZED ? [h("div", {
|
|
624
637
|
"class": "k-window-content"
|
|
625
|
-
}, [defaultSlot]) : null, this.windowStage === windowStage.DEFAULT && this.$props.resizable
|
|
638
|
+
}, [defaultSlot]), actions] : null, this.windowStage === windowStage.DEFAULT && this.$props.resizable
|
|
626
639
|
// @ts-ignore function children
|
|
627
640
|
? h(ResizeHandlers, {
|
|
628
641
|
onResize: this.handleResize,
|
|
@@ -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:
|
|
8
|
+
publishDate: 1673884807,
|
|
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
|
};
|
package/dist/esm/Window.js
CHANGED
|
@@ -488,6 +488,12 @@ var WindowVue2 = {
|
|
|
488
488
|
},
|
|
489
489
|
handleClick: function handleClick(e) {
|
|
490
490
|
this.$emit('overlayclick', e);
|
|
491
|
+
},
|
|
492
|
+
getActionBarIndex: function getActionBarIndex(children) {
|
|
493
|
+
var actionBarIndex = children.findIndex(function (child) {
|
|
494
|
+
return child && child.tag && child.tag.toLowerCase().indexOf('dialogactionsbar') !== -1 || child.componentOptions && child.componentOptions.tag && child.componentOptions.tag.toLowerCase().indexOf('actions-bar') !== -1 || child.type && child.type.name && child.type.name.toLowerCase().indexOf('dialogactionsbar') !== -1;
|
|
495
|
+
});
|
|
496
|
+
return actionBarIndex;
|
|
491
497
|
}
|
|
492
498
|
},
|
|
493
499
|
// @ts-ignore
|
|
@@ -500,6 +506,13 @@ var WindowVue2 = {
|
|
|
500
506
|
var maximizeButton = templateRendering.call(this, this.$props.maximizeButton, getListeners.call(this));
|
|
501
507
|
var restoreButton = templateRendering.call(this, this.$props.restoreButton, getListeners.call(this));
|
|
502
508
|
var defaultSlot = getDefaultSlots(this);
|
|
509
|
+
var content = defaultSlot || [];
|
|
510
|
+
var actionBarIndex = this.getActionBarIndex(content);
|
|
511
|
+
var actions;
|
|
512
|
+
if (actionBarIndex !== -1) {
|
|
513
|
+
actions = content[actionBarIndex];
|
|
514
|
+
content.splice(actionBarIndex, 1);
|
|
515
|
+
}
|
|
503
516
|
var windowElement = h("div", {
|
|
504
517
|
"class": 'k-dialog-wrapper',
|
|
505
518
|
ref: 'wrapper'
|
|
@@ -620,9 +633,9 @@ var WindowVue2 = {
|
|
|
620
633
|
minimizeButton: minimizeButton,
|
|
621
634
|
maximizeButton: maximizeButton,
|
|
622
635
|
restoreButton: restoreButton
|
|
623
|
-
})]), this.windowStage !== windowStage.MINIMIZED ? h("div", {
|
|
636
|
+
})]), this.windowStage !== windowStage.MINIMIZED ? [h("div", {
|
|
624
637
|
"class": "k-window-content"
|
|
625
|
-
}, [defaultSlot]) : null, this.windowStage === windowStage.DEFAULT && this.$props.resizable
|
|
638
|
+
}, [defaultSlot]), actions] : null, this.windowStage === windowStage.DEFAULT && this.$props.resizable
|
|
626
639
|
// @ts-ignore function children
|
|
627
640
|
? h(ResizeHandlers, {
|
|
628
641
|
onResize: this.handleResize,
|
|
@@ -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:
|
|
8
|
+
publishDate: 1673884807,
|
|
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
|
};
|
package/dist/npm/Window.js
CHANGED
|
@@ -494,6 +494,12 @@ var WindowVue2 = {
|
|
|
494
494
|
},
|
|
495
495
|
handleClick: function handleClick(e) {
|
|
496
496
|
this.$emit('overlayclick', e);
|
|
497
|
+
},
|
|
498
|
+
getActionBarIndex: function getActionBarIndex(children) {
|
|
499
|
+
var actionBarIndex = children.findIndex(function (child) {
|
|
500
|
+
return child && child.tag && child.tag.toLowerCase().indexOf('dialogactionsbar') !== -1 || child.componentOptions && child.componentOptions.tag && child.componentOptions.tag.toLowerCase().indexOf('actions-bar') !== -1 || child.type && child.type.name && child.type.name.toLowerCase().indexOf('dialogactionsbar') !== -1;
|
|
501
|
+
});
|
|
502
|
+
return actionBarIndex;
|
|
497
503
|
}
|
|
498
504
|
},
|
|
499
505
|
// @ts-ignore
|
|
@@ -506,6 +512,13 @@ var WindowVue2 = {
|
|
|
506
512
|
var maximizeButton = kendo_vue_common_1.templateRendering.call(this, this.$props.maximizeButton, kendo_vue_common_1.getListeners.call(this));
|
|
507
513
|
var restoreButton = kendo_vue_common_1.templateRendering.call(this, this.$props.restoreButton, kendo_vue_common_1.getListeners.call(this));
|
|
508
514
|
var defaultSlot = (0, kendo_vue_common_1.getDefaultSlots)(this);
|
|
515
|
+
var content = defaultSlot || [];
|
|
516
|
+
var actionBarIndex = this.getActionBarIndex(content);
|
|
517
|
+
var actions;
|
|
518
|
+
if (actionBarIndex !== -1) {
|
|
519
|
+
actions = content[actionBarIndex];
|
|
520
|
+
content.splice(actionBarIndex, 1);
|
|
521
|
+
}
|
|
509
522
|
var windowElement = h("div", {
|
|
510
523
|
"class": 'k-dialog-wrapper',
|
|
511
524
|
ref: 'wrapper'
|
|
@@ -626,9 +639,9 @@ var WindowVue2 = {
|
|
|
626
639
|
minimizeButton: minimizeButton,
|
|
627
640
|
maximizeButton: maximizeButton,
|
|
628
641
|
restoreButton: restoreButton
|
|
629
|
-
})]), this.windowStage !== StageEnum_1.windowStage.MINIMIZED ? h("div", {
|
|
642
|
+
})]), this.windowStage !== StageEnum_1.windowStage.MINIMIZED ? [h("div", {
|
|
630
643
|
"class": "k-window-content"
|
|
631
|
-
}, [defaultSlot]) : null, this.windowStage === StageEnum_1.windowStage.DEFAULT && this.$props.resizable
|
|
644
|
+
}, [defaultSlot]), actions] : null, this.windowStage === StageEnum_1.windowStage.DEFAULT && this.$props.resizable
|
|
632
645
|
// @ts-ignore function children
|
|
633
646
|
? h(WindowResizeHandlers_1.ResizeHandlers, {
|
|
634
647
|
onResize: this.handleResize,
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-vue-dialogs',
|
|
9
9
|
productName: 'Kendo UI for Vue',
|
|
10
10
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1673884807,
|
|
12
12
|
version: '',
|
|
13
13
|
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'
|
|
14
14
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-dialogs",
|
|
3
3
|
"description": "Kendo UI for Vue Dialogs package",
|
|
4
|
-
"version": "3.7.4-dev.
|
|
4
|
+
"version": "3.7.4-dev.202301161618",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/telerik/kendo-vue.git"
|
|
@@ -44,13 +44,13 @@
|
|
|
44
44
|
"vue": "^2.6.12 || ^3.0.2"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@progress/kendo-vue-buttons": "3.7.4-dev.
|
|
48
|
-
"@progress/kendo-vue-common": "3.7.4-dev.
|
|
47
|
+
"@progress/kendo-vue-buttons": "3.7.4-dev.202301161618",
|
|
48
|
+
"@progress/kendo-vue-common": "3.7.4-dev.202301161618"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@progress/kendo-licensing": "^1.3.0",
|
|
52
52
|
"@progress/kendo-svg-icons": "^1.0.0",
|
|
53
|
-
"@progress/kendo-vue-intl": "3.7.4-dev.
|
|
53
|
+
"@progress/kendo-vue-intl": "3.7.4-dev.202301161618"
|
|
54
54
|
},
|
|
55
55
|
"author": "Progress",
|
|
56
56
|
"license": "SEE LICENSE IN LICENSE.md",
|