@progress/kendo-vue-dialogs 2.7.2 → 2.8.0-dev.202201121019
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/cdn/js/kendo-vue-dialogs.js +1 -1
- package/dist/es/Dialog.d.ts +6 -8
- package/dist/es/Dialog.js +3 -3
- package/dist/es/DialogActionsBar.d.ts +5 -6
- package/dist/es/DialogActionsBar.js +3 -3
- package/dist/es/DialogTitleBar.d.ts +6 -8
- package/dist/es/DialogTitleBar.js +12 -15
- package/dist/es/Window.d.ts +5 -6
- package/dist/es/Window.js +3 -3
- package/dist/es/WindowProps.d.ts +1 -2
- package/dist/es/WindowResizeHandlers.d.ts +5 -6
- package/dist/es/WindowResizeHandlers.js +3 -3
- package/dist/es/WindowTitlebar.d.ts +5 -6
- package/dist/es/WindowTitlebar.js +40 -39
- package/dist/es/additionalTypes.ts +7 -1
- package/dist/es/main.d.ts +4 -4
- package/dist/es/main.js +4 -4
- package/dist/es/package-metadata.js +1 -1
- package/dist/npm/Dialog.d.ts +6 -8
- package/dist/npm/Dialog.js +5 -5
- package/dist/npm/DialogActionsBar.d.ts +5 -6
- package/dist/npm/DialogActionsBar.js +5 -5
- package/dist/npm/DialogTitleBar.d.ts +6 -8
- package/dist/npm/DialogTitleBar.js +15 -17
- package/dist/npm/Window.d.ts +5 -6
- package/dist/npm/Window.js +5 -5
- package/dist/npm/WindowProps.d.ts +1 -2
- package/dist/npm/WindowResizeHandlers.d.ts +5 -6
- package/dist/npm/WindowResizeHandlers.js +5 -5
- package/dist/npm/WindowTitlebar.d.ts +5 -6
- package/dist/npm/WindowTitlebar.js +43 -41
- package/dist/npm/additionalTypes.ts +7 -1
- package/dist/npm/main.d.ts +4 -4
- package/dist/npm/main.js +4 -1
- package/dist/npm/package-metadata.js +1 -1
- package/package.json +3 -2
package/dist/es/Window.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { DefineComponent } from './additionalTypes';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from './additionalTypes';
|
|
2
2
|
import { WindowProps } from './WindowProps';
|
|
3
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
4
3
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
5
4
|
declare type DefaultMethods<V> = {
|
|
6
5
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -39,7 +38,7 @@ interface WindowState {
|
|
|
39
38
|
/**
|
|
40
39
|
* @hidden
|
|
41
40
|
*/
|
|
42
|
-
export interface WindowMethods extends
|
|
41
|
+
export interface WindowMethods extends Vue2type {
|
|
43
42
|
getInitialTop: () => number;
|
|
44
43
|
getInitialLeft: () => number;
|
|
45
44
|
getInitialWidth: () => number;
|
|
@@ -68,6 +67,6 @@ export interface WindowAll extends WindowMethods, WindowData, WindowState, Windo
|
|
|
68
67
|
/**
|
|
69
68
|
* Represents the default `Window` component.
|
|
70
69
|
*/
|
|
71
|
-
declare let
|
|
72
|
-
declare const
|
|
73
|
-
export { Window,
|
|
70
|
+
declare let WindowVue2: ComponentOptions<Vue2type, DefaultData<WindowData>, DefaultMethods<WindowAll>, WindowComputed, RecordPropsDefinition<WindowProps>>;
|
|
71
|
+
declare const Window: DefineComponent<WindowProps, any, WindowData, WindowComputed, WindowMethods, {}, {}, {}, string, WindowProps, WindowProps, {}>;
|
|
72
|
+
export { Window, WindowVue2 };
|
package/dist/es/Window.js
CHANGED
|
@@ -32,7 +32,7 @@ var DEFAULT_STEP = 5;
|
|
|
32
32
|
* Represents the default `Window` component.
|
|
33
33
|
*/
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var WindowVue2 = {
|
|
36
36
|
name: 'KendoWindow',
|
|
37
37
|
// @ts-ignore
|
|
38
38
|
emits: {
|
|
@@ -630,5 +630,5 @@ var Window = {
|
|
|
630
630
|
return windowElement;
|
|
631
631
|
}
|
|
632
632
|
};
|
|
633
|
-
var
|
|
634
|
-
export { Window,
|
|
633
|
+
var Window = WindowVue2;
|
|
634
|
+
export { Window, WindowVue2 };
|
package/dist/es/WindowProps.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { VNode } from 'vue';
|
|
2
1
|
import { WindowActionsEvent, WindowMoveEvent } from './events';
|
|
3
2
|
import { windowStage } from './StageEnum';
|
|
4
3
|
/**
|
|
@@ -90,7 +89,7 @@ export interface WindowProps {
|
|
|
90
89
|
/**
|
|
91
90
|
* Defines the custom rendering of the title. Accepts a Vue component, a `render` function, or a slot name.
|
|
92
91
|
*/
|
|
93
|
-
titleRender?: ((h: any, defaultRendering:
|
|
92
|
+
titleRender?: ((h: any, defaultRendering: any | null, props: any, listeners: any) => any) | any;
|
|
94
93
|
/**
|
|
95
94
|
* Specifies the top coordinates of the Window.
|
|
96
95
|
*/
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from './additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from './additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -16,13 +15,13 @@ export interface ResizeHandlersProps {
|
|
|
16
15
|
/**
|
|
17
16
|
* @hidden
|
|
18
17
|
*/
|
|
19
|
-
export interface ResizeHandlersMethods extends
|
|
18
|
+
export interface ResizeHandlersMethods extends Vue2type {
|
|
20
19
|
onDrag: (data: any, key: string) => void;
|
|
21
20
|
onRelease: (data: any, key: string) => void;
|
|
22
21
|
}
|
|
23
22
|
/**
|
|
24
23
|
* Represents the default `ResizeHandlers` component.
|
|
25
24
|
*/
|
|
26
|
-
declare let
|
|
27
|
-
declare const
|
|
28
|
-
export { ResizeHandlers,
|
|
25
|
+
declare let ResizeHandlersVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<ResizeHandlersMethods>, {}, RecordPropsDefinition<ResizeHandlersProps>>;
|
|
26
|
+
declare const ResizeHandlers: DefineComponent<ResizeHandlersProps, any, {}, {}, ResizeHandlersMethods, {}, {}, {}, string, ResizeHandlersProps, ResizeHandlersProps, {}>;
|
|
27
|
+
export { ResizeHandlers, ResizeHandlersVue2 };
|
|
@@ -12,7 +12,7 @@ var keys = ['n', 'e', 's', 'w', 'se', 'sw', 'ne', 'nw'];
|
|
|
12
12
|
* Represents the default `ResizeHandlers` component.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var ResizeHandlersVue2 = {
|
|
16
16
|
name: 'ResizeHandlers',
|
|
17
17
|
// @ts-ignore
|
|
18
18
|
emits: {
|
|
@@ -83,5 +83,5 @@ var ResizeHandlers = {
|
|
|
83
83
|
}, this)]);
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
|
-
var
|
|
87
|
-
export { ResizeHandlers,
|
|
86
|
+
var ResizeHandlers = ResizeHandlersVue2;
|
|
87
|
+
export { ResizeHandlers, ResizeHandlersVue2 };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from './additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from './additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -65,7 +64,7 @@ export interface WindowTitleBarProps {
|
|
|
65
64
|
/**
|
|
66
65
|
* @hidden
|
|
67
66
|
*/
|
|
68
|
-
export interface WindowTitleBarMethods extends
|
|
67
|
+
export interface WindowTitleBarMethods extends Vue2type {
|
|
69
68
|
onDoubleClick: (e: any) => void;
|
|
70
69
|
onMinimizeClick: (e: any) => void;
|
|
71
70
|
onFullScreenClick: (e: any) => void;
|
|
@@ -75,6 +74,6 @@ export interface WindowTitleBarMethods extends Vue {
|
|
|
75
74
|
/**
|
|
76
75
|
* Represents the default `WindowTitleBar` component.
|
|
77
76
|
*/
|
|
78
|
-
declare let
|
|
79
|
-
declare const
|
|
80
|
-
export { WindowTitleBar,
|
|
77
|
+
declare let WindowTitleBarVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<WindowTitleBarMethods>, {}, RecordPropsDefinition<WindowTitleBarProps>>;
|
|
78
|
+
declare const WindowTitleBar: DefineComponent<WindowTitleBarProps, any, {}, {}, WindowTitleBarMethods, {}, {}, {}, string, WindowTitleBarProps, WindowTitleBarProps, {}>;
|
|
79
|
+
export { WindowTitleBar, WindowTitleBarVue2 };
|
|
@@ -3,12 +3,13 @@ import { getTemplate } from '@progress/kendo-vue-common';
|
|
|
3
3
|
import * as Vue from 'vue';
|
|
4
4
|
var allVue = Vue;
|
|
5
5
|
var gh = allVue.h;
|
|
6
|
+
import { Button } from '@progress/kendo-vue-buttons';
|
|
6
7
|
import { windowStage } from './StageEnum';
|
|
7
8
|
/**
|
|
8
9
|
* Represents the default `WindowTitleBar` component.
|
|
9
10
|
*/
|
|
10
11
|
|
|
11
|
-
var
|
|
12
|
+
var WindowTitleBarVue2 = {
|
|
12
13
|
props: {
|
|
13
14
|
id: String,
|
|
14
15
|
stage: String,
|
|
@@ -59,73 +60,73 @@ var WindowTitleBar = {
|
|
|
59
60
|
template: titleRender,
|
|
60
61
|
defaultRendering: title
|
|
61
62
|
});
|
|
62
|
-
var minimizeButtonDefault =
|
|
63
|
-
|
|
63
|
+
var minimizeButtonDefault = // @ts-ignore
|
|
64
|
+
h(Button, {
|
|
65
|
+
icon: 'window-minimize',
|
|
66
|
+
attrs: this.v3 ? undefined : {
|
|
67
|
+
icon: 'window-minimize',
|
|
68
|
+
fillMode: 'flat'
|
|
69
|
+
},
|
|
70
|
+
fillMode: 'flat',
|
|
64
71
|
onClick: this.onMinimizeClick,
|
|
65
72
|
on: this.v3 ? undefined : {
|
|
66
73
|
"click": this.onMinimizeClick
|
|
67
74
|
}
|
|
68
|
-
}
|
|
69
|
-
"class": "k-icon k-i-window-minimize",
|
|
70
|
-
role: "presentation",
|
|
71
|
-
attrs: this.v3 ? undefined : {
|
|
72
|
-
role: "presentation"
|
|
73
|
-
}
|
|
74
|
-
})]);
|
|
75
|
+
});
|
|
75
76
|
var minimizeButtonRender = getTemplate.call(this, {
|
|
76
77
|
h: h,
|
|
77
78
|
template: minimizeButton,
|
|
78
79
|
defaultRendering: minimizeButtonDefault
|
|
79
80
|
});
|
|
80
|
-
var maximizeButtonDefault =
|
|
81
|
-
|
|
81
|
+
var maximizeButtonDefault = // @ts-ignore
|
|
82
|
+
h(Button, {
|
|
83
|
+
icon: 'window-maximize',
|
|
84
|
+
attrs: this.v3 ? undefined : {
|
|
85
|
+
icon: 'window-maximize',
|
|
86
|
+
fillMode: 'flat'
|
|
87
|
+
},
|
|
88
|
+
fillMode: 'flat',
|
|
82
89
|
onClick: this.onFullScreenClick,
|
|
83
90
|
on: this.v3 ? undefined : {
|
|
84
91
|
"click": this.onFullScreenClick
|
|
85
92
|
}
|
|
86
|
-
}
|
|
87
|
-
"class": "k-icon k-i-window-maximize",
|
|
88
|
-
role: "presentation",
|
|
89
|
-
attrs: this.v3 ? undefined : {
|
|
90
|
-
role: "presentation"
|
|
91
|
-
}
|
|
92
|
-
})]);
|
|
93
|
+
});
|
|
93
94
|
var maximizeButtonRender = getTemplate.call(this, {
|
|
94
95
|
h: h,
|
|
95
96
|
template: maximizeButton,
|
|
96
97
|
defaultRendering: maximizeButtonDefault
|
|
97
98
|
});
|
|
98
|
-
var restoreButtonDefault =
|
|
99
|
-
|
|
99
|
+
var restoreButtonDefault = // @ts-ignore
|
|
100
|
+
h(Button, {
|
|
101
|
+
icon: 'window-restore',
|
|
102
|
+
attrs: this.v3 ? undefined : {
|
|
103
|
+
icon: 'window-restore',
|
|
104
|
+
fillMode: 'flat'
|
|
105
|
+
},
|
|
106
|
+
fillMode: 'flat',
|
|
100
107
|
onClick: this.onRestoreClick,
|
|
101
108
|
on: this.v3 ? undefined : {
|
|
102
109
|
"click": this.onRestoreClick
|
|
103
110
|
}
|
|
104
|
-
}
|
|
105
|
-
"class": "k-icon k-i-window-restore",
|
|
106
|
-
role: "presentation",
|
|
107
|
-
attrs: this.v3 ? undefined : {
|
|
108
|
-
role: "presentation"
|
|
109
|
-
}
|
|
110
|
-
})]);
|
|
111
|
+
});
|
|
111
112
|
var restoreButtonRender = getTemplate.call(this, {
|
|
112
113
|
h: h,
|
|
113
114
|
template: restoreButton,
|
|
114
115
|
defaultRendering: restoreButtonDefault
|
|
115
116
|
});
|
|
116
|
-
var closeButtonDefault =
|
|
117
|
-
|
|
117
|
+
var closeButtonDefault = // @ts-ignore
|
|
118
|
+
h(Button, {
|
|
119
|
+
icon: 'x',
|
|
120
|
+
attrs: this.v3 ? undefined : {
|
|
121
|
+
icon: 'x',
|
|
122
|
+
fillMode: 'flat'
|
|
123
|
+
},
|
|
124
|
+
fillMode: 'flat',
|
|
118
125
|
onClick: this.onCloseClick,
|
|
119
126
|
on: this.v3 ? undefined : {
|
|
120
127
|
"click": this.onCloseClick
|
|
121
128
|
}
|
|
122
|
-
}
|
|
123
|
-
"class": "k-icon k-i-close",
|
|
124
|
-
role: "presentation",
|
|
125
|
-
attrs: this.v3 ? undefined : {
|
|
126
|
-
role: "presentation"
|
|
127
|
-
}
|
|
128
|
-
})]);
|
|
129
|
+
});
|
|
129
130
|
var closeButtonRender = getTemplate.call(this, {
|
|
130
131
|
h: h,
|
|
131
132
|
template: closeButton,
|
|
@@ -147,5 +148,5 @@ var WindowTitleBar = {
|
|
|
147
148
|
}, [stage === windowStage.DEFAULT && minimizeButtonRender, stage === windowStage.DEFAULT && maximizeButtonRender, stage !== windowStage.DEFAULT && restoreButtonRender]), closeButtonRender]);
|
|
148
149
|
}
|
|
149
150
|
};
|
|
150
|
-
var
|
|
151
|
-
export { WindowTitleBar,
|
|
151
|
+
var WindowTitleBar = WindowTitleBarVue2;
|
|
152
|
+
export { WindowTitleBar, WindowTitleBarVue2 };
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
2
|
import { DefineComponent } from 'vue';
|
|
3
|
-
|
|
3
|
+
// @ts-ignore
|
|
4
|
+
import * as Vue from 'vue';
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
type Vue2type = Vue.default;
|
|
7
|
+
// @ts-ignore
|
|
8
|
+
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
9
|
+
export { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type };
|
package/dist/es/main.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Dialog, DialogProps } from './Dialog';
|
|
2
|
-
import { DialogActionsBar } from './DialogActionsBar';
|
|
3
|
-
import { Window } from './Window';
|
|
1
|
+
import { Dialog, DialogVue2, DialogProps } from './Dialog';
|
|
2
|
+
import { DialogActionsBar, DialogActionsBarVue2 } from './DialogActionsBar';
|
|
3
|
+
import { Window, WindowVue2 } from './Window';
|
|
4
4
|
import { WindowProps } from './WindowProps';
|
|
5
5
|
import { DialogCloseEvent, WindowActionsEvent, WindowMoveEvent } from './events';
|
|
6
|
-
export { Dialog, DialogProps, DialogActionsBar, DialogCloseEvent, Window, WindowProps, WindowActionsEvent, WindowMoveEvent };
|
|
6
|
+
export { Dialog, DialogVue2, DialogProps, DialogActionsBar, DialogActionsBarVue2, DialogCloseEvent, Window, WindowVue2, WindowProps, WindowActionsEvent, WindowMoveEvent };
|
package/dist/es/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dialog } from './Dialog';
|
|
2
|
-
import { DialogActionsBar } from './DialogActionsBar';
|
|
3
|
-
import { Window } from './Window';
|
|
4
|
-
export { Dialog, DialogActionsBar, Window };
|
|
1
|
+
import { Dialog, DialogVue2 } from './Dialog';
|
|
2
|
+
import { DialogActionsBar, DialogActionsBarVue2 } from './DialogActionsBar';
|
|
3
|
+
import { Window, WindowVue2 } from './Window';
|
|
4
|
+
export { Dialog, DialogVue2, DialogActionsBar, DialogActionsBarVue2, Window, WindowVue2 };
|
|
@@ -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: 1641981982,
|
|
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/Dialog.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from './additionalTypes';
|
|
2
|
-
import { VNode } from 'vue';
|
|
3
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from './additionalTypes';
|
|
4
2
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
5
3
|
declare type DefaultMethods<V> = {
|
|
6
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -17,7 +15,7 @@ export interface DialogProps {
|
|
|
17
15
|
/**
|
|
18
16
|
* Defines the custom rendering of the title. Accepts a Vue component, a `render` function, or a slot name.
|
|
19
17
|
*/
|
|
20
|
-
titleRender?: ((h: any, defaultRendering:
|
|
18
|
+
titleRender?: ((h: any, defaultRendering: any | null, props: any, listeners: any) => any) | string | any;
|
|
21
19
|
/**
|
|
22
20
|
* Sets a class of the Dialog DOM element.
|
|
23
21
|
*/
|
|
@@ -62,7 +60,7 @@ export interface DialogProps {
|
|
|
62
60
|
/**
|
|
63
61
|
* @hidden
|
|
64
62
|
*/
|
|
65
|
-
export interface DialogMethods extends
|
|
63
|
+
export interface DialogMethods extends Vue2type {
|
|
66
64
|
handleCloseDialog: (event: any) => void;
|
|
67
65
|
handleKeyDown: (event: any) => void;
|
|
68
66
|
transformDimesion: (initialValue: string | number | undefined) => string;
|
|
@@ -84,6 +82,6 @@ export interface DialogAll extends DialogMethods, DialogState {
|
|
|
84
82
|
/**
|
|
85
83
|
* Represents the default `Dialog` component.
|
|
86
84
|
*/
|
|
87
|
-
declare let
|
|
88
|
-
declare const
|
|
89
|
-
export { Dialog,
|
|
85
|
+
declare let DialogVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<DialogAll>, {}, RecordPropsDefinition<DialogProps>>;
|
|
86
|
+
declare const Dialog: DefineComponent<DialogProps, any, {}, {}, DialogMethods, {}, {}, {}, string, DialogProps, DialogProps, {}>;
|
|
87
|
+
export { Dialog, DialogVue2 };
|
package/dist/npm/Dialog.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.DialogVue2 = exports.Dialog = void 0; // @ts-ignore
|
|
7
7
|
|
|
8
8
|
var Vue = require("vue");
|
|
9
9
|
|
|
@@ -20,7 +20,7 @@ var package_metadata_1 = require("./package-metadata");
|
|
|
20
20
|
*/
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var DialogVue2 = {
|
|
24
24
|
name: 'KendoDialog',
|
|
25
25
|
props: {
|
|
26
26
|
title: String,
|
|
@@ -148,6 +148,6 @@ var Dialog = {
|
|
|
148
148
|
}, [content]), actions])]);
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
|
-
exports.
|
|
152
|
-
var
|
|
153
|
-
exports.
|
|
151
|
+
exports.DialogVue2 = DialogVue2;
|
|
152
|
+
var Dialog = DialogVue2;
|
|
153
|
+
exports.Dialog = Dialog;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from './additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from './additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -20,11 +19,11 @@ export interface DialogActionsBarComputed {
|
|
|
20
19
|
/**
|
|
21
20
|
* @hidden
|
|
22
21
|
*/
|
|
23
|
-
export interface DialogActionsBarAll extends DialogActionsBarComputed, DialogActionsBarProps,
|
|
22
|
+
export interface DialogActionsBarAll extends DialogActionsBarComputed, DialogActionsBarProps, Vue2type {
|
|
24
23
|
}
|
|
25
24
|
/**
|
|
26
25
|
* Represents the default `DialogActionsBar` component.
|
|
27
26
|
*/
|
|
28
|
-
declare let
|
|
29
|
-
declare const
|
|
30
|
-
export { DialogActionsBar,
|
|
27
|
+
declare let DialogActionsBarVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<DialogActionsBarAll>, {}, RecordPropsDefinition<DialogActionsBarProps>>;
|
|
28
|
+
declare const DialogActionsBar: DefineComponent<{}, any, {}, {}, {}, {}, {}, {}, string, {}, {}, {}>;
|
|
29
|
+
export { DialogActionsBar, DialogActionsBarVue2 };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.DialogActionsBarVue2 = exports.DialogActionsBar = void 0; // @ts-ignore
|
|
7
7
|
|
|
8
8
|
var Vue = require("vue");
|
|
9
9
|
|
|
@@ -16,7 +16,7 @@ var kendo_vue_common_1 = require("@progress/kendo-vue-common");
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var DialogActionsBarVue2 = {
|
|
20
20
|
name: 'DialogActionsBar',
|
|
21
21
|
props: {
|
|
22
22
|
layout: {
|
|
@@ -54,6 +54,6 @@ var DialogActionsBar = {
|
|
|
54
54
|
}, [defaultSlot]);
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
|
-
exports.
|
|
58
|
-
var
|
|
59
|
-
exports.
|
|
57
|
+
exports.DialogActionsBarVue2 = DialogActionsBarVue2;
|
|
58
|
+
var DialogActionsBar = DialogActionsBarVue2;
|
|
59
|
+
exports.DialogActionsBar = DialogActionsBar;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { DefineComponent } from './additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from './additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
6
5
|
};
|
|
7
|
-
import { VNode } from 'vue';
|
|
8
6
|
/**
|
|
9
7
|
* @hidden
|
|
10
8
|
*/
|
|
@@ -29,17 +27,17 @@ export interface DialogTitleBarProps {
|
|
|
29
27
|
/**
|
|
30
28
|
* Defines the custom rendering of the title. Accepts a Vue component, a `render` function, or a slot name.
|
|
31
29
|
*/
|
|
32
|
-
titleRender?: ((h: any, defaultRendering:
|
|
30
|
+
titleRender?: ((h: any, defaultRendering: any | null, props: any, listeners: any) => any) | string | any;
|
|
33
31
|
}
|
|
34
32
|
/**
|
|
35
33
|
* @hidden
|
|
36
34
|
*/
|
|
37
|
-
export interface DialogTitleBarMethods extends
|
|
35
|
+
export interface DialogTitleBarMethods extends Vue2type {
|
|
38
36
|
onCloseButtonClick: (event: any) => void;
|
|
39
37
|
}
|
|
40
38
|
/**
|
|
41
39
|
* Represents the default `DialogTitleBar` component.
|
|
42
40
|
*/
|
|
43
|
-
declare let
|
|
44
|
-
declare const
|
|
45
|
-
export { DialogTitleBar,
|
|
41
|
+
declare let DialogTitleBarVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<DialogTitleBarMethods>, {}, RecordPropsDefinition<DialogTitleBarProps>>;
|
|
42
|
+
declare const DialogTitleBar: DefineComponent<DialogTitleBarProps, any, {}, {}, DialogTitleBarMethods, {}, {}, {}, string, DialogTitleBarProps, DialogTitleBarProps, {}>;
|
|
43
|
+
export { DialogTitleBar, DialogTitleBarVue2 };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.DialogTitleBarVue2 = exports.DialogTitleBar = void 0; // @ts-ignore
|
|
7
7
|
|
|
8
8
|
var Vue = require("vue");
|
|
9
9
|
|
|
@@ -11,12 +11,14 @@ var allVue = Vue;
|
|
|
11
11
|
var gh = allVue.h;
|
|
12
12
|
|
|
13
13
|
var kendo_vue_common_1 = require("@progress/kendo-vue-common");
|
|
14
|
+
|
|
15
|
+
var kendo_vue_buttons_1 = require("@progress/kendo-vue-buttons");
|
|
14
16
|
/**
|
|
15
17
|
* Represents the default `DialogTitleBar` component.
|
|
16
18
|
*/
|
|
17
19
|
|
|
18
20
|
|
|
19
|
-
var
|
|
21
|
+
var DialogTitleBarVue2 = {
|
|
20
22
|
props: {
|
|
21
23
|
id: String,
|
|
22
24
|
closeIcon: {
|
|
@@ -62,25 +64,21 @@ var DialogTitleBar = {
|
|
|
62
64
|
"class": "k-window-title k-dialog-title"
|
|
63
65
|
}, [titleElement]), h("div", {
|
|
64
66
|
"class": "k-window-actions k-dialog-actions"
|
|
65
|
-
}, [closeIcon &&
|
|
66
|
-
|
|
67
|
+
}, [closeIcon && // @ts-ignore
|
|
68
|
+
h(kendo_vue_buttons_1.Button, {
|
|
69
|
+
"aria-label": "Close",
|
|
67
70
|
attrs: this.v3 ? undefined : {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
"aria-label": "Close"
|
|
71
|
+
"aria-label": "Close",
|
|
72
|
+
icon: 'x'
|
|
71
73
|
},
|
|
72
|
-
|
|
73
|
-
"aria-label": "Close",
|
|
74
|
+
icon: 'x',
|
|
74
75
|
onClick: this.onCloseButtonClick,
|
|
75
76
|
on: this.v3 ? undefined : {
|
|
76
77
|
"click": this.onCloseButtonClick
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
}, [h("span", {
|
|
80
|
-
"class": "k-icon k-i-x"
|
|
81
|
-
})])])]);
|
|
78
|
+
}
|
|
79
|
+
})])]);
|
|
82
80
|
}
|
|
83
81
|
};
|
|
84
|
-
exports.
|
|
85
|
-
var
|
|
86
|
-
exports.
|
|
82
|
+
exports.DialogTitleBarVue2 = DialogTitleBarVue2;
|
|
83
|
+
var DialogTitleBar = DialogTitleBarVue2;
|
|
84
|
+
exports.DialogTitleBar = DialogTitleBar;
|
package/dist/npm/Window.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { DefineComponent } from './additionalTypes';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from './additionalTypes';
|
|
2
2
|
import { WindowProps } from './WindowProps';
|
|
3
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
4
3
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
5
4
|
declare type DefaultMethods<V> = {
|
|
6
5
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -39,7 +38,7 @@ interface WindowState {
|
|
|
39
38
|
/**
|
|
40
39
|
* @hidden
|
|
41
40
|
*/
|
|
42
|
-
export interface WindowMethods extends
|
|
41
|
+
export interface WindowMethods extends Vue2type {
|
|
43
42
|
getInitialTop: () => number;
|
|
44
43
|
getInitialLeft: () => number;
|
|
45
44
|
getInitialWidth: () => number;
|
|
@@ -68,6 +67,6 @@ export interface WindowAll extends WindowMethods, WindowData, WindowState, Windo
|
|
|
68
67
|
/**
|
|
69
68
|
* Represents the default `Window` component.
|
|
70
69
|
*/
|
|
71
|
-
declare let
|
|
72
|
-
declare const
|
|
73
|
-
export { Window,
|
|
70
|
+
declare let WindowVue2: ComponentOptions<Vue2type, DefaultData<WindowData>, DefaultMethods<WindowAll>, WindowComputed, RecordPropsDefinition<WindowProps>>;
|
|
71
|
+
declare const Window: DefineComponent<WindowProps, any, WindowData, WindowComputed, WindowMethods, {}, {}, {}, string, WindowProps, WindowProps, {}>;
|
|
72
|
+
export { Window, WindowVue2 };
|
package/dist/npm/Window.js
CHANGED
|
@@ -19,7 +19,7 @@ var __assign = undefined && undefined.__assign || function () {
|
|
|
19
19
|
Object.defineProperty(exports, "__esModule", {
|
|
20
20
|
value: true
|
|
21
21
|
});
|
|
22
|
-
exports.
|
|
22
|
+
exports.WindowVue2 = exports.Window = void 0; // @ts-ignore
|
|
23
23
|
|
|
24
24
|
var Vue = require("vue");
|
|
25
25
|
|
|
@@ -45,7 +45,7 @@ var DEFAULT_STEP = 5;
|
|
|
45
45
|
* Represents the default `Window` component.
|
|
46
46
|
*/
|
|
47
47
|
|
|
48
|
-
var
|
|
48
|
+
var WindowVue2 = {
|
|
49
49
|
name: 'KendoWindow',
|
|
50
50
|
// @ts-ignore
|
|
51
51
|
emits: {
|
|
@@ -643,6 +643,6 @@ var Window = {
|
|
|
643
643
|
return windowElement;
|
|
644
644
|
}
|
|
645
645
|
};
|
|
646
|
-
exports.
|
|
647
|
-
var
|
|
648
|
-
exports.
|
|
646
|
+
exports.WindowVue2 = WindowVue2;
|
|
647
|
+
var Window = WindowVue2;
|
|
648
|
+
exports.Window = Window;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { VNode } from 'vue';
|
|
2
1
|
import { WindowActionsEvent, WindowMoveEvent } from './events';
|
|
3
2
|
import { windowStage } from './StageEnum';
|
|
4
3
|
/**
|
|
@@ -90,7 +89,7 @@ export interface WindowProps {
|
|
|
90
89
|
/**
|
|
91
90
|
* Defines the custom rendering of the title. Accepts a Vue component, a `render` function, or a slot name.
|
|
92
91
|
*/
|
|
93
|
-
titleRender?: ((h: any, defaultRendering:
|
|
92
|
+
titleRender?: ((h: any, defaultRendering: any | null, props: any, listeners: any) => any) | any;
|
|
94
93
|
/**
|
|
95
94
|
* Specifies the top coordinates of the Window.
|
|
96
95
|
*/
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from './additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from './additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -16,13 +15,13 @@ export interface ResizeHandlersProps {
|
|
|
16
15
|
/**
|
|
17
16
|
* @hidden
|
|
18
17
|
*/
|
|
19
|
-
export interface ResizeHandlersMethods extends
|
|
18
|
+
export interface ResizeHandlersMethods extends Vue2type {
|
|
20
19
|
onDrag: (data: any, key: string) => void;
|
|
21
20
|
onRelease: (data: any, key: string) => void;
|
|
22
21
|
}
|
|
23
22
|
/**
|
|
24
23
|
* Represents the default `ResizeHandlers` component.
|
|
25
24
|
*/
|
|
26
|
-
declare let
|
|
27
|
-
declare const
|
|
28
|
-
export { ResizeHandlers,
|
|
25
|
+
declare let ResizeHandlersVue2: ComponentOptions<Vue2type, DefaultData<{}>, DefaultMethods<ResizeHandlersMethods>, {}, RecordPropsDefinition<ResizeHandlersProps>>;
|
|
26
|
+
declare const ResizeHandlers: DefineComponent<ResizeHandlersProps, any, {}, {}, ResizeHandlersMethods, {}, {}, {}, string, ResizeHandlersProps, ResizeHandlersProps, {}>;
|
|
27
|
+
export { ResizeHandlers, ResizeHandlersVue2 };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.ResizeHandlersVue2 = exports.ResizeHandlers = void 0; // @ts-ignore
|
|
7
7
|
|
|
8
8
|
var Vue = require("vue");
|
|
9
9
|
|
|
@@ -21,7 +21,7 @@ var keys = ['n', 'e', 's', 'w', 'se', 'sw', 'ne', 'nw'];
|
|
|
21
21
|
* Represents the default `ResizeHandlers` component.
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var ResizeHandlersVue2 = {
|
|
25
25
|
name: 'ResizeHandlers',
|
|
26
26
|
// @ts-ignore
|
|
27
27
|
emits: {
|
|
@@ -92,6 +92,6 @@ var ResizeHandlers = {
|
|
|
92
92
|
}, this)]);
|
|
93
93
|
}
|
|
94
94
|
};
|
|
95
|
-
exports.
|
|
96
|
-
var
|
|
97
|
-
exports.
|
|
95
|
+
exports.ResizeHandlersVue2 = ResizeHandlersVue2;
|
|
96
|
+
var ResizeHandlers = ResizeHandlersVue2;
|
|
97
|
+
exports.ResizeHandlers = ResizeHandlers;
|