@progress/kendo-vue-layout 3.6.3 → 3.6.4-dev.202210071340
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-layout.js +1 -1
- package/dist/es/appbar/AppBar.d.ts +44 -0
- package/dist/es/appbar/AppBar.js +90 -0
- package/dist/es/appbar/AppBarSection.d.ts +44 -0
- package/dist/es/appbar/AppBarSection.js +40 -0
- package/dist/es/appbar/AppBarSpacer.d.ts +44 -0
- package/dist/es/appbar/AppBarSpacer.js +57 -0
- package/dist/es/appbar/interfaces/AppBarProps.d.ts +66 -0
- package/dist/es/appbar/interfaces/AppBarProps.js +1 -0
- package/dist/es/appbar/interfaces/AppBarSectionProps.d.ts +5 -0
- package/dist/es/appbar/interfaces/AppBarSectionProps.js +1 -0
- package/dist/es/appbar/interfaces/AppBarSpacerProps.d.ts +7 -0
- package/dist/es/appbar/interfaces/AppBarSpacerProps.js +1 -0
- package/dist/es/bottomnavigation/BottomNavigation.d.ts +45 -0
- package/dist/es/bottomnavigation/BottomNavigation.js +179 -0
- package/dist/es/bottomnavigation/BottomNavigationItem.d.ts +44 -0
- package/dist/es/bottomnavigation/BottomNavigationItem.js +124 -0
- package/dist/es/bottomnavigation/BottomNavigationItemProps.d.ts +54 -0
- package/dist/es/bottomnavigation/BottomNavigationItemProps.js +1 -0
- package/dist/es/bottomnavigation/BottomNavigationProps.d.ts +143 -0
- package/dist/es/bottomnavigation/BottomNavigationProps.js +1 -0
- package/dist/es/bottomnavigation/models/events.d.ts +18 -0
- package/dist/es/bottomnavigation/models/events.js +1 -0
- package/dist/es/bottomnavigation/models/utils.d.ts +36 -0
- package/dist/es/bottomnavigation/models/utils.js +36 -0
- package/dist/es/expansionpanel/ExpansionPanel.d.ts +42 -0
- package/dist/es/expansionpanel/ExpansionPanel.js +185 -0
- package/dist/es/expansionpanel/ExpansionPanelContent.d.ts +19 -0
- package/dist/es/expansionpanel/ExpansionPanelContent.js +39 -0
- package/dist/es/expansionpanel/interfaces.d.ts +79 -0
- package/dist/es/expansionpanel/interfaces.js +1 -0
- package/dist/es/expansionpanel/main.d.ts +3 -0
- package/dist/es/expansionpanel/main.js +3 -0
- package/dist/es/main.d.ts +12 -0
- package/dist/es/main.js +12 -0
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/stepper/interfaces/StepProps.d.ts +0 -4
- package/dist/es/stepper/interfaces/StepperProps.d.ts +0 -4
- package/dist/esm/appbar/AppBar.d.ts +44 -0
- package/dist/esm/appbar/AppBar.js +90 -0
- package/dist/esm/appbar/AppBarSection.d.ts +44 -0
- package/dist/esm/appbar/AppBarSection.js +40 -0
- package/dist/esm/appbar/AppBarSpacer.d.ts +44 -0
- package/dist/esm/appbar/AppBarSpacer.js +57 -0
- package/dist/esm/appbar/interfaces/AppBarProps.d.ts +66 -0
- package/dist/esm/appbar/interfaces/AppBarProps.js +1 -0
- package/dist/esm/appbar/interfaces/AppBarSectionProps.d.ts +5 -0
- package/dist/esm/appbar/interfaces/AppBarSectionProps.js +1 -0
- package/dist/esm/appbar/interfaces/AppBarSpacerProps.d.ts +7 -0
- package/dist/esm/appbar/interfaces/AppBarSpacerProps.js +1 -0
- package/dist/esm/bottomnavigation/BottomNavigation.d.ts +45 -0
- package/dist/esm/bottomnavigation/BottomNavigation.js +179 -0
- package/dist/esm/bottomnavigation/BottomNavigationItem.d.ts +44 -0
- package/dist/esm/bottomnavigation/BottomNavigationItem.js +124 -0
- package/dist/esm/bottomnavigation/BottomNavigationItemProps.d.ts +54 -0
- package/dist/esm/bottomnavigation/BottomNavigationItemProps.js +1 -0
- package/dist/esm/bottomnavigation/BottomNavigationProps.d.ts +143 -0
- package/dist/esm/bottomnavigation/BottomNavigationProps.js +1 -0
- package/dist/esm/bottomnavigation/models/events.d.ts +18 -0
- package/dist/esm/bottomnavigation/models/events.js +1 -0
- package/dist/esm/bottomnavigation/models/utils.d.ts +36 -0
- package/dist/esm/bottomnavigation/models/utils.js +36 -0
- package/dist/esm/expansionpanel/ExpansionPanel.d.ts +42 -0
- package/dist/esm/expansionpanel/ExpansionPanel.js +185 -0
- package/dist/esm/expansionpanel/ExpansionPanelContent.d.ts +19 -0
- package/dist/esm/expansionpanel/ExpansionPanelContent.js +39 -0
- package/dist/esm/expansionpanel/interfaces.d.ts +79 -0
- package/dist/esm/expansionpanel/interfaces.js +1 -0
- package/dist/esm/expansionpanel/main.d.ts +3 -0
- package/dist/esm/expansionpanel/main.js +3 -0
- package/dist/esm/main.d.ts +12 -0
- package/dist/esm/main.js +12 -0
- package/dist/esm/package-metadata.js +1 -1
- package/dist/esm/stepper/interfaces/StepProps.d.ts +0 -4
- package/dist/esm/stepper/interfaces/StepperProps.d.ts +0 -4
- package/dist/npm/appbar/AppBar.d.ts +44 -0
- package/dist/npm/appbar/AppBar.js +101 -0
- package/dist/npm/appbar/AppBarSection.d.ts +44 -0
- package/dist/npm/appbar/AppBarSection.js +50 -0
- package/dist/npm/appbar/AppBarSpacer.d.ts +44 -0
- package/dist/npm/appbar/AppBarSpacer.js +67 -0
- package/dist/npm/appbar/interfaces/AppBarProps.d.ts +66 -0
- package/dist/npm/appbar/interfaces/AppBarProps.js +2 -0
- package/dist/npm/appbar/interfaces/AppBarSectionProps.d.ts +5 -0
- package/dist/npm/appbar/interfaces/AppBarSectionProps.js +2 -0
- package/dist/npm/appbar/interfaces/AppBarSpacerProps.d.ts +7 -0
- package/dist/npm/appbar/interfaces/AppBarSpacerProps.js +2 -0
- package/dist/npm/bottomnavigation/BottomNavigation.d.ts +45 -0
- package/dist/npm/bottomnavigation/BottomNavigation.js +192 -0
- package/dist/npm/bottomnavigation/BottomNavigationItem.d.ts +44 -0
- package/dist/npm/bottomnavigation/BottomNavigationItem.js +135 -0
- package/dist/npm/bottomnavigation/BottomNavigationItemProps.d.ts +54 -0
- package/dist/npm/bottomnavigation/BottomNavigationItemProps.js +2 -0
- package/dist/npm/bottomnavigation/BottomNavigationProps.d.ts +143 -0
- package/dist/npm/bottomnavigation/BottomNavigationProps.js +2 -0
- package/dist/npm/bottomnavigation/models/events.d.ts +18 -0
- package/dist/npm/bottomnavigation/models/events.js +2 -0
- package/dist/npm/bottomnavigation/models/utils.d.ts +36 -0
- package/dist/npm/bottomnavigation/models/utils.js +39 -0
- package/dist/npm/expansionpanel/ExpansionPanel.d.ts +42 -0
- package/dist/npm/expansionpanel/ExpansionPanel.js +196 -0
- package/dist/npm/expansionpanel/ExpansionPanelContent.d.ts +19 -0
- package/dist/npm/expansionpanel/ExpansionPanelContent.js +50 -0
- package/dist/npm/expansionpanel/interfaces.d.ts +79 -0
- package/dist/npm/expansionpanel/interfaces.js +2 -0
- package/dist/npm/expansionpanel/main.d.ts +3 -0
- package/dist/npm/expansionpanel/main.js +36 -0
- package/dist/npm/main.d.ts +12 -0
- package/dist/npm/main.js +12 -0
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/stepper/interfaces/StepProps.d.ts +0 -4
- package/dist/npm/stepper/interfaces/StepperProps.d.ts +0 -4
- package/package.json +11 -10
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import * as Vue from 'vue';
|
|
3
|
+
var allVue = Vue;
|
|
4
|
+
var gh = allVue.h;
|
|
5
|
+
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
|
+
import { packageMetadata } from '../package-metadata';
|
|
7
|
+
import { getDefaultSlots, validatePackage } from '@progress/kendo-vue-common';
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
var ExpansionPanelContentVue2 = {
|
|
13
|
+
name: 'KendoExpansionPanelContent',
|
|
14
|
+
created: function created() {
|
|
15
|
+
validatePackage(packageMetadata);
|
|
16
|
+
},
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
setup: !isV3 ? undefined : function () {
|
|
19
|
+
var v3 = !!isV3;
|
|
20
|
+
return {
|
|
21
|
+
v3: v3
|
|
22
|
+
};
|
|
23
|
+
},
|
|
24
|
+
render: function render(createElement) {
|
|
25
|
+
var h = gh || createElement;
|
|
26
|
+
var defaultSlots = getDefaultSlots(this);
|
|
27
|
+
return h("div", {
|
|
28
|
+
"class": 'k-expander-content-wrapper'
|
|
29
|
+
}, [h("div", {
|
|
30
|
+
"class": 'k-expander-content'
|
|
31
|
+
}, [defaultSlots])]);
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @hidden
|
|
36
|
+
*/
|
|
37
|
+
|
|
38
|
+
var ExpansionPanelContent = ExpansionPanelContentVue2;
|
|
39
|
+
export { ExpansionPanelContent, ExpansionPanelContentVue2 };
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The ExpansionPanel ref.
|
|
3
|
+
*/
|
|
4
|
+
export interface ExpansionPanelHandle {
|
|
5
|
+
/**
|
|
6
|
+
* The ExpansionPanel element.
|
|
7
|
+
*/
|
|
8
|
+
element: HTMLDivElement | null;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The arguments for the `onAction` ExpansionPanel event.
|
|
12
|
+
*/
|
|
13
|
+
export interface ExpansionPanelActionEvent {
|
|
14
|
+
/**
|
|
15
|
+
* Represents the `expanded` state of the ExpansionPanel.
|
|
16
|
+
*/
|
|
17
|
+
expanded: boolean;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* The props of the ExpansionPanel component.
|
|
21
|
+
*/
|
|
22
|
+
export interface ExpansionPanelProps {
|
|
23
|
+
/**
|
|
24
|
+
* Sets additional CSS classes to the ExpansionPanel.
|
|
25
|
+
*/
|
|
26
|
+
class?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Sets the `id` property of the root ExpansionPanel element.
|
|
29
|
+
*/
|
|
30
|
+
id?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Specifies the primary text in the header of the ExpansionPanel.
|
|
33
|
+
*/
|
|
34
|
+
title?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Specifies the secondary text in the header of the ExpansionPanel, which is rendered next to the collapse/expand icon.
|
|
37
|
+
*/
|
|
38
|
+
subtitle?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Specifies the primary text template in the header of the ExpansionPanel.
|
|
41
|
+
*/
|
|
42
|
+
titleRender?: any;
|
|
43
|
+
/**
|
|
44
|
+
* Specifies the secondary text in the header of the ExpansionPanel, which is rendered next to the collapse/expand icon.
|
|
45
|
+
*/
|
|
46
|
+
subtitleRender?: any;
|
|
47
|
+
/**
|
|
48
|
+
* Sets a custom icon via css class(es), for the expanded state of the ExpansionPanel.
|
|
49
|
+
*/
|
|
50
|
+
expandIcon?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Sets a custom icon via css class(es), for the collapsed state of the ExpansionPanel.
|
|
53
|
+
*/
|
|
54
|
+
collapseIcon?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Sets the `dir` property of the ExpansionPanel.
|
|
57
|
+
*/
|
|
58
|
+
dir?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Sets the `tabIndex` property of the ExpansionPanel.
|
|
61
|
+
*/
|
|
62
|
+
tabIndex?: number;
|
|
63
|
+
/**
|
|
64
|
+
* Sets the `expanded` state of the ExpansionPanel.
|
|
65
|
+
*/
|
|
66
|
+
expanded?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Sets the `disabled` state of the ExpansionPanel.
|
|
69
|
+
*/
|
|
70
|
+
disabled?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Sets `aria-controls`. The value should represent the `id` of the controlled content element.
|
|
73
|
+
*/
|
|
74
|
+
ariaControls?: string;
|
|
75
|
+
/**
|
|
76
|
+
* The event handler that will be fired when the expanded state of the ExpansionPanel is about to change.
|
|
77
|
+
*/
|
|
78
|
+
onAction?: (event: ExpansionPanelActionEvent) => void;
|
|
79
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/es/main.d.ts
CHANGED
|
@@ -47,3 +47,15 @@ export * from './panelbar/interfaces/PanelBarProps';
|
|
|
47
47
|
export * from './panelbar/interfaces/PanelBarItemProps';
|
|
48
48
|
export * from './panelbar/interfaces/RenderPanelBarItem';
|
|
49
49
|
export * from './panelbar/interfaces/PanelBarSelectEventArguments';
|
|
50
|
+
export * from './appbar/AppBar';
|
|
51
|
+
export * from './appbar/interfaces/AppBarProps';
|
|
52
|
+
export * from './appbar/AppBarSection';
|
|
53
|
+
export * from './appbar/interfaces/AppBarSectionProps';
|
|
54
|
+
export * from './appbar/AppBarSpacer';
|
|
55
|
+
export * from './appbar/interfaces/AppBarSpacerProps';
|
|
56
|
+
export * from './bottomnavigation/BottomNavigation';
|
|
57
|
+
export * from './bottomnavigation/BottomNavigationProps';
|
|
58
|
+
export * from './bottomnavigation/BottomNavigationItemProps';
|
|
59
|
+
export * from './bottomnavigation/BottomNavigationItem';
|
|
60
|
+
export * from './bottomnavigation/models/events';
|
|
61
|
+
export * from './expansionpanel/main';
|
package/dist/es/main.js
CHANGED
|
@@ -47,3 +47,15 @@ export * from './panelbar/interfaces/PanelBarProps';
|
|
|
47
47
|
export * from './panelbar/interfaces/PanelBarItemProps';
|
|
48
48
|
export * from './panelbar/interfaces/RenderPanelBarItem';
|
|
49
49
|
export * from './panelbar/interfaces/PanelBarSelectEventArguments';
|
|
50
|
+
export * from './appbar/AppBar';
|
|
51
|
+
export * from './appbar/interfaces/AppBarProps';
|
|
52
|
+
export * from './appbar/AppBarSection';
|
|
53
|
+
export * from './appbar/interfaces/AppBarSectionProps';
|
|
54
|
+
export * from './appbar/AppBarSpacer';
|
|
55
|
+
export * from './appbar/interfaces/AppBarSpacerProps';
|
|
56
|
+
export * from './bottomnavigation/BottomNavigation';
|
|
57
|
+
export * from './bottomnavigation/BottomNavigationProps';
|
|
58
|
+
export * from './bottomnavigation/BottomNavigationItemProps';
|
|
59
|
+
export * from './bottomnavigation/BottomNavigationItem';
|
|
60
|
+
export * from './bottomnavigation/models/events';
|
|
61
|
+
export * from './expansionpanel/main';
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-layout',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1665149362,
|
|
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
|
};
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
* Represents the props of the [Kendo UI for Vue Step component]({% slug overview_stepper %}).
|
|
3
3
|
*/
|
|
4
4
|
export interface StepProps {
|
|
5
|
-
/**
|
|
6
|
-
* Represents the children that are passed to the Step.
|
|
7
|
-
*/
|
|
8
|
-
children?: any;
|
|
9
5
|
/**
|
|
10
6
|
* Specifies a list of CSS classes that will be added to the Step element.
|
|
11
7
|
*/
|
|
@@ -9,10 +9,6 @@ export interface StepperProps {
|
|
|
9
9
|
* Sets the duration of the Stepper animation. Defaults to `400ms`.
|
|
10
10
|
*/
|
|
11
11
|
animationDuration?: boolean | number;
|
|
12
|
-
/**
|
|
13
|
-
* Represents the children that are passed to the Stepper.
|
|
14
|
-
*/
|
|
15
|
-
children?: any;
|
|
16
12
|
/**
|
|
17
13
|
* Specifies a list of CSS classes that will be added to the Stepper.
|
|
18
14
|
*/
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
|
|
2
|
+
declare type DefaultData<V> = object | ((this: V) => {});
|
|
3
|
+
declare type DefaultMethods<V> = {
|
|
4
|
+
[key: string]: (this: V, ...args: any[]) => any;
|
|
5
|
+
};
|
|
6
|
+
import { AppBarProps } from './interfaces/AppBarProps';
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
export interface AppBarState {
|
|
11
|
+
calculatedId: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
export interface AppBarComputed {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
wrapperClass: object;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
23
|
+
export interface AppBarMethods {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @hidden
|
|
28
|
+
*/
|
|
29
|
+
export interface AppBarData {
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @hidden
|
|
33
|
+
*/
|
|
34
|
+
export interface AppBarAll extends Vue2type, AppBarMethods, AppBarData, AppBarComputed, AppBarState {
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @hidden
|
|
38
|
+
*/
|
|
39
|
+
declare let AppBarVue2: ComponentOptions<AppBarAll, DefaultData<AppBarData>, DefaultMethods<AppBarAll>, AppBarComputed, RecordPropsDefinition<AppBarProps>>;
|
|
40
|
+
/**
|
|
41
|
+
* @hidden
|
|
42
|
+
*/
|
|
43
|
+
declare const AppBar: DefineComponent<AppBarProps, any, AppBarData, AppBarComputed, AppBarMethods, {}, {}, {}, string, AppBarProps, AppBarProps, {}>;
|
|
44
|
+
export { AppBar, AppBarVue2 };
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import * as Vue from 'vue';
|
|
3
|
+
var allVue = Vue;
|
|
4
|
+
var gh = allVue.h;
|
|
5
|
+
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
|
+
import { focusFirstFocusableChild, getDefaultSlots, guid, validatePackage } from '@progress/kendo-vue-common';
|
|
7
|
+
import { packageMetadata } from '../package-metadata.js';
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
var AppBarVue2 = {
|
|
13
|
+
name: 'KendoAppBar',
|
|
14
|
+
props: {
|
|
15
|
+
id: String,
|
|
16
|
+
themeColor: {
|
|
17
|
+
type: String,
|
|
18
|
+
default: 'light'
|
|
19
|
+
},
|
|
20
|
+
position: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: 'top',
|
|
23
|
+
validator: function validator(value) {
|
|
24
|
+
return ['top', 'bottom'].includes(value);
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
positionMode: {
|
|
28
|
+
type: String,
|
|
29
|
+
default: 'static',
|
|
30
|
+
validator: function validator(value) {
|
|
31
|
+
return ['static', 'sticky', 'fixed'].includes(value);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
created: function created() {
|
|
36
|
+
validatePackage(packageMetadata);
|
|
37
|
+
this.calculatedId = guid();
|
|
38
|
+
},
|
|
39
|
+
computed: {
|
|
40
|
+
wrapperClass: function wrapperClass() {
|
|
41
|
+
var _a = this.$props,
|
|
42
|
+
position = _a.position,
|
|
43
|
+
positionMode = _a.positionMode,
|
|
44
|
+
themeColor = _a.themeColor;
|
|
45
|
+
return {
|
|
46
|
+
'k-appbar': true,
|
|
47
|
+
'k-appbar-top': position === 'top',
|
|
48
|
+
'k-appbar-bottom': position === 'bottom',
|
|
49
|
+
'k-appbar-static': positionMode === 'static',
|
|
50
|
+
'k-appbar-sticky': positionMode === 'sticky',
|
|
51
|
+
'k-appbar-fixed': positionMode === 'fixed',
|
|
52
|
+
'k-appbar-light': themeColor === 'light',
|
|
53
|
+
'k-appbar-dark': themeColor === 'dark',
|
|
54
|
+
'k-appbar-inherit': themeColor === 'inherit'
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
// @ts-ignore
|
|
59
|
+
setup: !isV3 ? undefined : function () {
|
|
60
|
+
var v3 = !!isV3;
|
|
61
|
+
return {
|
|
62
|
+
v3: v3
|
|
63
|
+
};
|
|
64
|
+
},
|
|
65
|
+
render: function render(createElement) {
|
|
66
|
+
var h = gh || createElement;
|
|
67
|
+
var defaultSlot = getDefaultSlots(this);
|
|
68
|
+
var id = this.$props.id;
|
|
69
|
+
return h("div", {
|
|
70
|
+
"class": this.wrapperClass,
|
|
71
|
+
id: id || this.calculatedId,
|
|
72
|
+
attrs: this.v3 ? undefined : {
|
|
73
|
+
id: id || this.calculatedId
|
|
74
|
+
}
|
|
75
|
+
}, [defaultSlot]);
|
|
76
|
+
},
|
|
77
|
+
methods: {
|
|
78
|
+
focus: function focus() {
|
|
79
|
+
if (this.$el) {
|
|
80
|
+
focusFirstFocusableChild(this.$el);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* @hidden
|
|
87
|
+
*/
|
|
88
|
+
|
|
89
|
+
var AppBar = AppBarVue2;
|
|
90
|
+
export { AppBar, AppBarVue2 };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
|
|
2
|
+
declare type DefaultData<V> = object | ((this: V) => {});
|
|
3
|
+
declare type DefaultMethods<V> = {
|
|
4
|
+
[key: string]: (this: V, ...args: any[]) => any;
|
|
5
|
+
};
|
|
6
|
+
import { AppBarSectionProps } from './interfaces/AppBarSectionProps';
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
export interface AppBarSectionState {
|
|
11
|
+
calculatedId: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
export interface AppBarSectionComputed {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
wrapperClass: object;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
23
|
+
export interface AppBarSectionMethods {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @hidden
|
|
28
|
+
*/
|
|
29
|
+
export interface AppBarSectionData {
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @hidden
|
|
33
|
+
*/
|
|
34
|
+
export interface AppBarSectionAll extends Vue2type, AppBarSectionMethods, AppBarSectionData, AppBarSectionComputed, AppBarSectionState {
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @hidden
|
|
38
|
+
*/
|
|
39
|
+
declare let AppBarSectionVue2: ComponentOptions<AppBarSectionAll, DefaultData<AppBarSectionData>, DefaultMethods<AppBarSectionAll>, AppBarSectionComputed, RecordPropsDefinition<AppBarSectionProps>>;
|
|
40
|
+
/**
|
|
41
|
+
* @hidden
|
|
42
|
+
*/
|
|
43
|
+
declare const AppBarSection: DefineComponent<AppBarSectionProps, any, AppBarSectionData, AppBarSectionComputed, AppBarSectionMethods, {}, {}, {}, string, AppBarSectionProps, AppBarSectionProps, {}>;
|
|
44
|
+
export { AppBarSection, AppBarSectionVue2 };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import * as Vue from 'vue';
|
|
3
|
+
var allVue = Vue;
|
|
4
|
+
var gh = allVue.h;
|
|
5
|
+
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
|
+
import { focusFirstFocusableChild, getDefaultSlots } from '@progress/kendo-vue-common';
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
var AppBarSectionVue2 = {
|
|
12
|
+
name: 'KendoAppBarSection',
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
setup: !isV3 ? undefined : function () {
|
|
15
|
+
var v3 = !!isV3;
|
|
16
|
+
return {
|
|
17
|
+
v3: v3
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
render: function render(createElement) {
|
|
21
|
+
var h = gh || createElement;
|
|
22
|
+
var defaultSlot = getDefaultSlots(this);
|
|
23
|
+
return h("div", {
|
|
24
|
+
"class": 'k-appbar-section'
|
|
25
|
+
}, [defaultSlot]);
|
|
26
|
+
},
|
|
27
|
+
methods: {
|
|
28
|
+
focus: function focus() {
|
|
29
|
+
if (this.$el) {
|
|
30
|
+
focusFirstFocusableChild(this.$el);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* @hidden
|
|
37
|
+
*/
|
|
38
|
+
|
|
39
|
+
var AppBarSection = AppBarSectionVue2;
|
|
40
|
+
export { AppBarSection, AppBarSectionVue2 };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
|
|
2
|
+
declare type DefaultData<V> = object | ((this: V) => {});
|
|
3
|
+
declare type DefaultMethods<V> = {
|
|
4
|
+
[key: string]: (this: V, ...args: any[]) => any;
|
|
5
|
+
};
|
|
6
|
+
import { AppBarSpacerProps } from './interfaces/AppBarSpacerProps';
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
export interface AppBarSpacerState {
|
|
11
|
+
calculatedId: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
export interface AppBarSpacerComputed {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
spacerClasses: object;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
23
|
+
export interface AppBarSpacerMethods {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @hidden
|
|
28
|
+
*/
|
|
29
|
+
export interface AppBarSpacerData {
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @hidden
|
|
33
|
+
*/
|
|
34
|
+
export interface AppBarSpacerAll extends Vue2type, AppBarSpacerMethods, AppBarSpacerData, AppBarSpacerComputed, AppBarSpacerState {
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @hidden
|
|
38
|
+
*/
|
|
39
|
+
declare let AppBarSpacerVue2: ComponentOptions<AppBarSpacerAll, DefaultData<AppBarSpacerData>, DefaultMethods<AppBarSpacerAll>, AppBarSpacerComputed, RecordPropsDefinition<AppBarSpacerProps>>;
|
|
40
|
+
/**
|
|
41
|
+
* @hidden
|
|
42
|
+
*/
|
|
43
|
+
declare const AppBarSpacer: DefineComponent<AppBarSpacerProps, any, AppBarSpacerData, AppBarSpacerComputed, AppBarSpacerMethods, {}, {}, {}, string, AppBarSpacerProps, AppBarSpacerProps, {}>;
|
|
44
|
+
export { AppBarSpacer, AppBarSpacerVue2 };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import * as Vue from 'vue';
|
|
3
|
+
var allVue = Vue;
|
|
4
|
+
var gh = allVue.h;
|
|
5
|
+
var isV3 = allVue.version && allVue.version[0] === '3';
|
|
6
|
+
import { focusFirstFocusableChild, getDefaultSlots } from '@progress/kendo-vue-common';
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
var AppBarSpacerVue2 = {
|
|
12
|
+
name: 'KendoAppBarSpacer',
|
|
13
|
+
props: {
|
|
14
|
+
width: [String, Number]
|
|
15
|
+
},
|
|
16
|
+
computed: {
|
|
17
|
+
spacerClasses: function spacerClasses() {
|
|
18
|
+
return {
|
|
19
|
+
'k-appbar-spacer': true,
|
|
20
|
+
'k-appbar-spacer-sized': this.width !== undefined
|
|
21
|
+
};
|
|
22
|
+
},
|
|
23
|
+
spacerStyles: function spacerStyles() {
|
|
24
|
+
return {
|
|
25
|
+
flexBasis: this.width !== undefined ? this.width : undefined
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
setup: !isV3 ? undefined : function () {
|
|
31
|
+
var v3 = !!isV3;
|
|
32
|
+
return {
|
|
33
|
+
v3: v3
|
|
34
|
+
};
|
|
35
|
+
},
|
|
36
|
+
render: function render(createElement) {
|
|
37
|
+
var h = gh || createElement;
|
|
38
|
+
var defaultSlot = getDefaultSlots(this);
|
|
39
|
+
return h("span", {
|
|
40
|
+
"class": this.spacerClasses,
|
|
41
|
+
style: this.spacerStyles
|
|
42
|
+
}, [defaultSlot]);
|
|
43
|
+
},
|
|
44
|
+
methods: {
|
|
45
|
+
focus: function focus() {
|
|
46
|
+
if (this.$el) {
|
|
47
|
+
focusFirstFocusableChild(this.$el);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* @hidden
|
|
54
|
+
*/
|
|
55
|
+
|
|
56
|
+
var AppBarSpacer = AppBarSpacerVue2;
|
|
57
|
+
export { AppBarSpacer, AppBarSpacerVue2 };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents the props of the [Kendo UI for Vue AppBar component]({% slug overview_appbar %}).
|
|
3
|
+
* Used to display information, actions, branding titles and additional navigation on the current screen.
|
|
4
|
+
*/
|
|
5
|
+
export interface AppBarProps {
|
|
6
|
+
/**
|
|
7
|
+
* Sets the `id` property of the root AppBar element.
|
|
8
|
+
*/
|
|
9
|
+
id?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Specifies the position of the AppBar ([see example]({% slug positioning_appbar %}#toc-position)).
|
|
12
|
+
*
|
|
13
|
+
* * The possible values are:
|
|
14
|
+
* * 'top' (Default)
|
|
15
|
+
* * 'bottom'
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
position?: AppBarPosition | string;
|
|
19
|
+
/**
|
|
20
|
+
* Specifies the positionMode of the AppBar ([see example]({% slug positioning_appbar %}#toc-positionmode)).
|
|
21
|
+
*
|
|
22
|
+
* * The possible values are:
|
|
23
|
+
* * 'static' (Default)
|
|
24
|
+
* * 'sticky'
|
|
25
|
+
* * 'fixed'
|
|
26
|
+
*/
|
|
27
|
+
positionMode?: AppBarPositionMode | string;
|
|
28
|
+
/**
|
|
29
|
+
* Specifies the theme color of the AppBar ([see example]({% slug appearance_appbar %})).
|
|
30
|
+
*
|
|
31
|
+
* * The possible values are:
|
|
32
|
+
* * `inherit`
|
|
33
|
+
* * `light` (Default)
|
|
34
|
+
* * `dark`
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
themeColor?: AppBarThemeColor | string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Specifies the position of the AppBar ([see example]({% slug positioning_appbar %}#toc-position)).
|
|
41
|
+
*
|
|
42
|
+
* * The possible values are:
|
|
43
|
+
* * 'top' (Default)
|
|
44
|
+
* * 'bottom'
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
export declare type AppBarPosition = 'top' | 'bottom';
|
|
48
|
+
/**
|
|
49
|
+
* Specifies the positionMode of the AppBar ([see example]({% slug positioning_appbar %}#toc-positionmode)).
|
|
50
|
+
*
|
|
51
|
+
* * The possible values are:
|
|
52
|
+
* * 'static' (Default)
|
|
53
|
+
* * 'sticky'
|
|
54
|
+
* * 'fixed'
|
|
55
|
+
*/
|
|
56
|
+
export declare type AppBarPositionMode = 'static' | 'sticky' | 'fixed';
|
|
57
|
+
/**
|
|
58
|
+
* Specifies the theme color of the AppBar ([see example]({% slug appearance_appbar %})).
|
|
59
|
+
*
|
|
60
|
+
* * The possible values are:
|
|
61
|
+
* * `inherit`
|
|
62
|
+
* * `light` (Default)
|
|
63
|
+
* * `dark`
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
66
|
+
export declare type AppBarThemeColor = 'light' | 'dark' | 'inherit';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents the props of the [Kendo UI for Vue AppBarSpacer component]({% slug contentarrangement_appbar %}#toc-defining-spacings).
|
|
3
|
+
* Used to give additional white space between the AppBar sections and provides a way for customizing its width.
|
|
4
|
+
*/
|
|
5
|
+
export interface AppBarSpacerProps {
|
|
6
|
+
width?: string | number;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
|
|
2
|
+
declare type DefaultData<V> = object | ((this: V) => {});
|
|
3
|
+
declare type DefaultMethods<V> = {
|
|
4
|
+
[key: string]: (this: V, ...args: any[]) => any;
|
|
5
|
+
};
|
|
6
|
+
import { BottomNavigationProps } from './BottomNavigationProps';
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
export interface BottomNavigationState {
|
|
11
|
+
navId: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
export interface BottomNavigationComputed {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
navClasses: object;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
23
|
+
export interface BottomNavigationMethods {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
focus: (e: any) => void;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @hidden
|
|
29
|
+
*/
|
|
30
|
+
export interface BottomNavigationData {
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @hidden
|
|
34
|
+
*/
|
|
35
|
+
export interface BottomNavigationAll extends Vue2type, BottomNavigationMethods, BottomNavigationData, BottomNavigationComputed, BottomNavigationState {
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @hidden
|
|
39
|
+
*/
|
|
40
|
+
declare let BottomNavigationVue2: ComponentOptions<BottomNavigationAll, DefaultData<BottomNavigationData>, DefaultMethods<BottomNavigationAll>, BottomNavigationComputed, RecordPropsDefinition<BottomNavigationProps>>;
|
|
41
|
+
/**
|
|
42
|
+
* @hidden
|
|
43
|
+
*/
|
|
44
|
+
declare const BottomNavigation: DefineComponent<BottomNavigationProps, any, BottomNavigationData, BottomNavigationComputed, BottomNavigationMethods, {}, {}, {}, string, BottomNavigationProps, BottomNavigationProps, {}>;
|
|
45
|
+
export { BottomNavigation, BottomNavigationVue2 };
|