@progress/kendo-vue-layout 11.0.0 → 11.0.1-develop.1
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/actionsheet/ActionSheet.d.ts +67 -23
- package/actionsheet/interfaces/ActionSheetContentProps.d.ts +2 -2
- package/actionsheet/interfaces/ActionSheetFooterProps.d.ts +2 -2
- package/actionsheet/interfaces/ActionSheetHeaderProps.d.ts +3 -3
- package/actionsheet/interfaces/ActionSheetItemProps.d.ts +24 -14
- package/appbar/AppBar.d.ts +21 -1
- package/appbar/AppBar.mjs +3 -0
- package/appbar/AppBarSection.d.ts +12 -1
- package/appbar/AppBarSection.mjs +3 -0
- package/appbar/AppBarSpacer.d.ts +10 -1
- package/appbar/AppBarSpacer.mjs +3 -0
- package/appbar/interfaces/AppBarProps.d.ts +31 -29
- package/appbar/interfaces/AppBarSectionProps.d.ts +1 -1
- package/appbar/interfaces/AppBarSpacerProps.d.ts +5 -2
- package/bottomnavigation/BottomNavigation.d.ts +23 -1
- package/bottomnavigation/BottomNavigation.mjs +3 -0
- package/bottomnavigation/BottomNavigationItemProps.d.ts +20 -9
- package/bottomnavigation/BottomNavigationProps.d.ts +73 -63
- package/bottomnavigation/models/events.d.ts +3 -3
- package/breadcrumb/Breadcrumb.d.ts +17 -1
- package/breadcrumb/BreadcrumbDelimiter.d.ts +8 -1
- package/breadcrumb/BreadcrumbLink.d.ts +17 -1
- package/breadcrumb/BreadcrumbLink.mjs +3 -0
- package/breadcrumb/interfaces/BreadcrumbDelimiterProps.d.ts +6 -3
- package/breadcrumb/interfaces/BreadcrumbLinkProps.d.ts +20 -11
- package/breadcrumb/interfaces/BreadcrumbOrderedListProps.d.ts +1 -1
- package/breadcrumb/interfaces/BreadcrumbProps.d.ts +56 -31
- package/card/Avatar.d.ts +7 -1
- package/card/Card.d.ts +18 -1
- package/card/CardActions.d.ts +10 -1
- package/card/CardBody.d.ts +13 -1
- package/card/CardFooter.d.ts +7 -1
- package/card/CardHeader.d.ts +13 -1
- package/card/CardImage.d.ts +7 -1
- package/card/CardSubtitle.d.ts +7 -1
- package/card/CardTitle.d.ts +7 -1
- package/card/interfaces/AvatarProps.d.ts +11 -8
- package/card/interfaces/CardActionsProps.d.ts +9 -3
- package/card/interfaces/CardBodyProps.d.ts +3 -0
- package/card/interfaces/CardFooterProps.d.ts +3 -0
- package/card/interfaces/CardHeaderProps.d.ts +3 -0
- package/card/interfaces/CardImageProps.d.ts +4 -1
- package/card/interfaces/CardProps.d.ts +12 -4
- package/card/interfaces/CardSubtitleProps.d.ts +3 -0
- package/card/interfaces/CardTitleProps.d.ts +3 -0
- package/card/interfaces/Enums.d.ts +57 -0
- package/contextmenu/ContextMenu.d.ts +23 -3
- package/dist/cdn/js/kendo-vue-layout.js +1 -1
- package/drawer/Drawer.d.ts +25 -1
- package/drawer/Drawer.mjs +3 -0
- package/drawer/DrawerContent.d.ts +1 -1
- package/drawer/DrawerItem.d.ts +1 -1
- package/drawer/interfaces/DrawerAnimation.d.ts +3 -3
- package/drawer/interfaces/DrawerContentProps.d.ts +1 -1
- package/drawer/interfaces/DrawerItemHandle.d.ts +3 -3
- package/drawer/interfaces/DrawerItemProps.d.ts +28 -12
- package/drawer/interfaces/DrawerProps.d.ts +49 -29
- package/drawer/interfaces/DrawerSelectEvent.d.ts +2 -2
- package/expansionpanel/ExpansionPanel.d.ts +16 -1
- package/expansionpanel/interfaces.d.ts +35 -20
- package/gridlayout/GridLayout.d.ts +22 -1
- package/gridlayout/interfaces/GridLayoutColumnProps.d.ts +4 -3
- package/gridlayout/interfaces/GridLayoutItemProps.d.ts +12 -11
- package/gridlayout/interfaces/GridLayoutProps.d.ts +23 -21
- package/gridlayout/interfaces/GridLayoutRowProps.d.ts +4 -3
- package/menu/MenuProps.d.ts +32 -16
- package/menu/components/Menu.d.ts +16 -6
- package/menu/events.d.ts +2 -2
- package/menu/models/BaseMenuItem.d.ts +27 -21
- package/menu/models/MenuItemActionsRenderProps.d.ts +2 -2
- package/menu/models/MenuItemGroupHeaderRenderProps.d.ts +2 -2
- package/menu/models/MenuItemModel.d.ts +2 -2
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +8 -8
- package/panelbar/PanelBar.d.ts +30 -2
- package/panelbar/interfaces/PanelBarItemProps.d.ts +38 -17
- package/panelbar/interfaces/PanelBarProps.d.ts +31 -14
- package/panelbar/interfaces/PanelBarSelectEventArguments.d.ts +2 -2
- package/splitter/Splitter.d.ts +26 -56
- package/splitter/SplitterPane.d.ts +19 -11
- package/stacklayout/StackLayout.d.ts +12 -2
- package/stacklayout/StackLayoutProps.d.ts +24 -22
- package/stepper/Step.d.ts +25 -20
- package/stepper/Step.mjs +3 -0
- package/stepper/Stepper.d.ts +23 -49
- package/stepper/Stepper.mjs +3 -0
- package/stepper/interfaces/StepChangeEvent.d.ts +2 -2
- package/stepper/interfaces/StepFocusEvent.d.ts +1 -1
- package/stepper/interfaces/StepHandle.d.ts +3 -3
- package/stepper/interfaces/StepProps.d.ts +37 -24
- package/stepper/interfaces/StepperChangeEvent.d.ts +2 -2
- package/stepper/interfaces/StepperFocusEvent.d.ts +1 -1
- package/stepper/interfaces/StepperHandle.d.ts +3 -3
- package/stepper/interfaces/StepperOnNavigateEvent.d.ts +7 -4
- package/stepper/interfaces/StepperProps.d.ts +37 -25
- package/tabstrip/TabStrip.d.ts +60 -27
- package/tabstrip/TabStripContent.d.ts +5 -5
- package/tabstrip/TabStripNavigation.d.ts +4 -4
- package/tabstrip/TabStripNavigationItem.d.ts +12 -7
- package/tabstrip/TabStripTab.d.ts +29 -5
- package/tilelayout/TileLayout.d.ts +61 -23
- package/tilelayout/TileLayout.mjs +3 -0
- package/tilelayout/interfaces/main.d.ts +105 -69
|
@@ -9,7 +9,7 @@ import { GridLayoutColumnProps } from './GridLayoutColumnProps';
|
|
|
9
9
|
import { GridLayoutItemProps } from './GridLayoutItemProps';
|
|
10
10
|
import { GridLayoutRowProps } from './GridLayoutRowProps';
|
|
11
11
|
/**
|
|
12
|
-
* Represents the props of the [Kendo UI for Vue GridLayout component](
|
|
12
|
+
* Represents the props of the [Kendo UI for Vue GridLayout component](slug:overview_gridlayout).
|
|
13
13
|
*/
|
|
14
14
|
export interface GridLayoutProps {
|
|
15
15
|
/**
|
|
@@ -21,28 +21,28 @@ export interface GridLayoutProps {
|
|
|
21
21
|
*/
|
|
22
22
|
style?: any;
|
|
23
23
|
/**
|
|
24
|
-
* Sets the `id`
|
|
24
|
+
* Sets the `id` attribute of the root GridLayout element.
|
|
25
25
|
*/
|
|
26
26
|
id?: string;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Sets the gaps between the elements ([see example](slug:layout_gridlayout_gaps)).
|
|
29
29
|
*
|
|
30
|
-
*
|
|
30
|
+
* The supported keys are:
|
|
31
31
|
* * `rows`
|
|
32
|
-
* * `
|
|
32
|
+
* * `cols`
|
|
33
33
|
*/
|
|
34
34
|
gap?: GridLayoutGap;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
37
|
-
* [here](
|
|
36
|
+
* Sets the horizontal and vertical alignment of the inner GridLayout elements (see demos
|
|
37
|
+
* [here](slug:layout_gridlayout_alignment#toc-horizontal-alignment) and [here](slug:layout_gridlayout_alignment#toc-vertical-alignment)).
|
|
38
38
|
*
|
|
39
|
-
* The
|
|
40
|
-
* * `horizontal`—
|
|
39
|
+
* The supported keys are:
|
|
40
|
+
* * `horizontal`—Sets the horizontal alignment of the inner GridLayout elements.
|
|
41
41
|
* * `start`—Uses the start point of the container.
|
|
42
42
|
* * `center`—Uses the central point of the container.
|
|
43
43
|
* * `end`—Uses the end point of the container.
|
|
44
44
|
* * (Default)`stretch`—Stretches the items to fill the width of the container.
|
|
45
|
-
* * `vertical`—
|
|
45
|
+
* * `vertical`— Sets the vertical alignment of the inner GridLayout elements.
|
|
46
46
|
* * `top`—Uses the top point of the container.
|
|
47
47
|
* * `middle`—Uses the middle point of the container.
|
|
48
48
|
* * `bottom`—Uses the bottom point of the container.
|
|
@@ -50,39 +50,41 @@ export interface GridLayoutProps {
|
|
|
50
50
|
*/
|
|
51
51
|
align?: GridLayoutAlign | any;
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Sets the number of columns and their widths ([see example](slug:layout_gridlayout_rowscolumns)).
|
|
54
54
|
*/
|
|
55
55
|
cols?: GridLayoutColumnProps[];
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* Sets the number of rows and their heights ([see example](slug:layout_gridlayout_rowscolumns)).
|
|
58
58
|
*/
|
|
59
59
|
rows?: GridLayoutRowProps[];
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* Sets the items of the GridLayout. Each item is a `GridLayoutItemProps` object.
|
|
62
62
|
*/
|
|
63
63
|
items?: GridLayoutItemProps[];
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
66
|
+
* Sets the gaps between the elements.
|
|
67
67
|
*/
|
|
68
68
|
export interface GridLayoutGap {
|
|
69
69
|
/**
|
|
70
|
-
*
|
|
70
|
+
* Sets the gap between the rows.
|
|
71
|
+
* A `number` value sets the gap in pixels. A `string` value accepts any CSS length, such as `'1rem'`.
|
|
71
72
|
*/
|
|
72
73
|
rows?: number | string;
|
|
73
74
|
/**
|
|
74
|
-
*
|
|
75
|
+
* Sets the gap between the columns.
|
|
76
|
+
* A `number` value sets the gap in pixels. A `string` value accepts any CSS length, such as `'1rem'`.
|
|
75
77
|
*/
|
|
76
78
|
cols?: number | string;
|
|
77
79
|
}
|
|
78
80
|
/**
|
|
79
|
-
*
|
|
81
|
+
* Sets the horizontal and vertical alignment of the inner GridLayout elements.
|
|
80
82
|
*/
|
|
81
83
|
export interface GridLayoutAlign {
|
|
82
84
|
/**
|
|
83
|
-
*
|
|
85
|
+
* Sets the horizontal alignment of the inner GridLayout elements.
|
|
84
86
|
*
|
|
85
|
-
* The
|
|
87
|
+
* The supported values are:
|
|
86
88
|
* - `start`—Uses the start point of the container.
|
|
87
89
|
* - `center`—Uses the center point of the container.
|
|
88
90
|
* - `end`—Uses the end point of the container.
|
|
@@ -90,9 +92,9 @@ export interface GridLayoutAlign {
|
|
|
90
92
|
*/
|
|
91
93
|
horizontal?: 'start' | 'center' | 'end' | 'stretch';
|
|
92
94
|
/**
|
|
93
|
-
*
|
|
95
|
+
* Sets the vertical alignment of the inner GridLayout elements.
|
|
94
96
|
*
|
|
95
|
-
* The
|
|
97
|
+
* The supported values are:
|
|
96
98
|
* - `top`—Uses the top point of the container.
|
|
97
99
|
* - `middle`—Uses the middle point of the container.
|
|
98
100
|
* - `bottom`—Uses the bottom point of the container.
|
|
@@ -6,12 +6,13 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
|
-
* Represents the props of
|
|
9
|
+
* Represents the props of a [Kendo UI for Vue GridLayout row](slug:overview_gridlayout).
|
|
10
10
|
*/
|
|
11
11
|
export interface GridLayoutRowProps {
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
14
|
-
* row ([see example](
|
|
13
|
+
* Sets the height of the GridLayout
|
|
14
|
+
* row ([see example](slug:overview_gridlayout)).
|
|
15
|
+
* A `number` value sets the height in pixels. A `string` value accepts any CSS grid track size, such as `'1fr'`.
|
|
15
16
|
*/
|
|
16
17
|
height?: number | string;
|
|
17
18
|
}
|
package/menu/MenuProps.d.ts
CHANGED
|
@@ -8,48 +8,62 @@
|
|
|
8
8
|
import { MenuItemModel } from './models/MenuItemModel';
|
|
9
9
|
import { MenuSelectEvent } from './events';
|
|
10
10
|
/**
|
|
11
|
-
* Represents the values of the size property of the Menu.
|
|
11
|
+
* Represents the values of the `size` property of the Menu.
|
|
12
12
|
*/
|
|
13
13
|
export type MenuSize = 'small' | 'medium' | 'large';
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Represents the props of the [Kendo UI for Vue Menu component](slug:overview_menu).
|
|
16
16
|
*/
|
|
17
17
|
export interface MenuProps {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Sets if the Menu renders its items vertically ([see example](slug:vertical_menu)).
|
|
20
|
+
* The Menu sets the `aria-orientation` attribute to `vertical` when you enable this property.
|
|
21
|
+
*
|
|
22
|
+
* @default `false`
|
|
23
|
+
*
|
|
24
|
+
* @remarks
|
|
25
|
+
* This property is related to accessibility.
|
|
20
26
|
*/
|
|
21
27
|
vertical?: boolean;
|
|
22
28
|
/**
|
|
23
|
-
* Sets the Menu
|
|
29
|
+
* Sets the items of the Menu.
|
|
24
30
|
*/
|
|
25
31
|
items?: MenuItemModel[];
|
|
26
32
|
/**
|
|
27
|
-
* Sets the direction of the Menu.
|
|
33
|
+
* Sets the direction of the Menu. Set it to `rtl` to show the Menu from right to left.
|
|
28
34
|
*/
|
|
29
35
|
dir?: string;
|
|
30
36
|
/**
|
|
31
|
-
*
|
|
37
|
+
* Sets the delay in milliseconds before the Menu opens an item when the user hovers over it ([see example](slug:opening_closing_menu#toc-delay-on-hover)).
|
|
38
|
+
* When `openOnClick` is `true`, the default value is `0`.
|
|
39
|
+
*
|
|
40
|
+
* @default `100`
|
|
32
41
|
*/
|
|
33
42
|
hoverOpenDelay?: number;
|
|
34
43
|
/**
|
|
35
|
-
*
|
|
44
|
+
* Sets the delay in milliseconds before the Menu closes an item when the mouse leaves it ([see example](slug:opening_closing_menu#toc-delay-on-hover)).
|
|
45
|
+
* Use it to prevent the item from closing by accident.
|
|
46
|
+
*
|
|
47
|
+
* @default `100`
|
|
36
48
|
*/
|
|
37
49
|
hoverCloseDelay?: number;
|
|
38
50
|
/**
|
|
39
|
-
*
|
|
51
|
+
* When you set `openOnClick` to `true`, the Menu opens items on hover only after the user clicks an item first.
|
|
40
52
|
*/
|
|
41
53
|
openOnClick?: boolean;
|
|
42
54
|
/**
|
|
43
|
-
*
|
|
55
|
+
* Sets a Vue component, `render` function, or slot name that renders the innermost part of each Menu item ([see example](slug:rendering_menu#toc-items)).
|
|
56
|
+
* By default, the innermost part shows only the item text.
|
|
44
57
|
*/
|
|
45
58
|
itemRender?: any;
|
|
46
59
|
/**
|
|
47
|
-
*
|
|
60
|
+
* Sets a Vue component, `render` function, or slot name that renders the link of each item ([see example](slug:rendering_menu#toc-links)).
|
|
61
|
+
* The item link is the visible part of the item. By default, it shows an arrow, an icon, and the text.
|
|
48
62
|
*/
|
|
49
63
|
linkRender?: any;
|
|
50
64
|
/**
|
|
51
|
-
*
|
|
52
|
-
*
|
|
65
|
+
* Sets a component, `render` function, or slot name that renders trailing actions on each Menu item.
|
|
66
|
+
* The template receives `{ item, itemId }`. The `actionsRender` setting of an item overrides this setting.
|
|
53
67
|
*
|
|
54
68
|
* @example
|
|
55
69
|
* ```vue
|
|
@@ -60,15 +74,17 @@ export interface MenuProps {
|
|
|
60
74
|
*/
|
|
61
75
|
actionsRender?: any;
|
|
62
76
|
/**
|
|
63
|
-
* Sets the ids of the Menu items that
|
|
77
|
+
* Sets the ids of the Menu items that stay open when the mouse leaves them.
|
|
78
|
+
* The ids are hierarchical and zero-based. The first root item has the `0` id.
|
|
79
|
+
* If the first root item has children, the first child has the `0_0` id and the second child has the `0_1` id.
|
|
64
80
|
*/
|
|
65
81
|
customCloseItemIds?: string[];
|
|
66
82
|
/**
|
|
67
|
-
* Adds a custom
|
|
83
|
+
* Adds a custom CSS class to the top element of the Menu.
|
|
68
84
|
*/
|
|
69
85
|
className?: string;
|
|
70
86
|
/**
|
|
71
|
-
*
|
|
87
|
+
* Sets the `size` of the Menu. The size applies to the root items and to the popup items.
|
|
72
88
|
*
|
|
73
89
|
* The available options are:
|
|
74
90
|
* - small
|
|
@@ -87,7 +103,7 @@ export interface MenuProps {
|
|
|
87
103
|
*/
|
|
88
104
|
contextMenu?: boolean;
|
|
89
105
|
/**
|
|
90
|
-
* Fires when a Menu item
|
|
106
|
+
* Fires when the user selects a Menu item.
|
|
91
107
|
*/
|
|
92
108
|
onSelect?: (event: MenuSelectEvent) => void;
|
|
93
109
|
}
|
|
@@ -36,13 +36,23 @@ export interface MenuMethods {
|
|
|
36
36
|
dispatchSelectEventIfWired: (event: any, itemId: string) => void;
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
|
+
* Represents the [KendoVue Menu component](slug:overview_menu).
|
|
40
|
+
* Accepts properties of type [MenuProps](slug:api_layout_menuprops).
|
|
39
41
|
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
42
|
+
* @example
|
|
43
|
+
* ```vue
|
|
44
|
+
* <Menu
|
|
45
|
+
* :items="[
|
|
46
|
+
* { text: 'Orders', items: [{ text: 'New order' }, { text: 'Returns' }] },
|
|
47
|
+
* { text: 'Inventory', items: [{ text: 'Stock levels' }, { text: 'Suppliers' }] },
|
|
48
|
+
* { text: 'Reports' }
|
|
49
|
+
* ]"
|
|
50
|
+
* :vertical="false"
|
|
51
|
+
* :open-on-click="true"
|
|
52
|
+
* :size="'medium'"
|
|
53
|
+
* @select="onSelect"
|
|
54
|
+
* />
|
|
55
|
+
* ```
|
|
46
56
|
*/
|
|
47
57
|
declare const Menu: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
48
58
|
vertical: {
|
package/menu/events.d.ts
CHANGED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { MenuItemModel } from './models/MenuItemModel';
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Represents the arguments of the `select` event of the Menu. If the item has a URL and you prevent the event, the Menu does not navigate to the URL.
|
|
11
11
|
*/
|
|
12
12
|
export interface MenuSelectEvent {
|
|
13
13
|
/**
|
|
14
|
-
* The
|
|
14
|
+
* The ID of the selected item. The IDs are hierarchical and zero-based. The first root item has the `0` ID. If the first root item has children, the first child gets the `0_0` ID and the second child gets the `0_1` ID.
|
|
15
15
|
*/
|
|
16
16
|
itemId: string;
|
|
17
17
|
/**
|
|
@@ -7,28 +7,28 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Represents the shared properties of the Menu items that you pass through the `items` property of the Menu.
|
|
11
11
|
*/
|
|
12
12
|
export interface BaseMenuItem {
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Sets the text of the item ([see example](slug:itemproperties_menu#toc-text)).
|
|
15
15
|
*/
|
|
16
16
|
text?: string;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Sets a URL that the Menu renders as the `href` attribute of the item link ([see example](slug:itemproperties_menu#toc-url)).
|
|
19
19
|
*/
|
|
20
20
|
url?: string;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Sets the name of the [FontIcon](slug:overview_icon) that the item shows.
|
|
23
23
|
*/
|
|
24
24
|
icon?: string;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Sets the [SVGIcon](slug:overview_svgicon) that the item shows.
|
|
27
27
|
*/
|
|
28
28
|
svgIcon?: SVGIcon;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
30
|
+
* Sets secondary text below the item text. The text wraps and is never cut off.
|
|
31
|
+
* It does not depend on `actionsRender`. Group headers and separators ignore it.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
34
|
* ```vue
|
|
@@ -37,44 +37,50 @@ export interface BaseMenuItem {
|
|
|
37
37
|
*/
|
|
38
38
|
description?: string;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* Sets if the item is disabled ([see example](slug:itemproperties_menu#toc-disabled-items)).
|
|
41
|
+
* A disabled item gets the `aria-disabled` attribute.
|
|
42
|
+
*
|
|
43
|
+
* @remarks
|
|
44
|
+
* This property is related to accessibility.
|
|
41
45
|
*/
|
|
42
46
|
disabled?: boolean;
|
|
43
47
|
/**
|
|
44
|
-
*
|
|
48
|
+
* Adds custom CSS classes to the item ([see example](slug:itemproperties_menu#toc-styles-and-classes)).
|
|
45
49
|
*/
|
|
46
50
|
cssClass?: string;
|
|
47
51
|
/**
|
|
48
|
-
*
|
|
52
|
+
* Adds custom CSS classes to the popup of the item.
|
|
49
53
|
*/
|
|
50
54
|
popupClass?: string;
|
|
51
55
|
/**
|
|
52
|
-
*
|
|
56
|
+
* Sets the CSS styles of the item ([see example](slug:itemproperties_menu#toc-styles-and-classes)).
|
|
53
57
|
*/
|
|
54
58
|
cssStyle?: any;
|
|
55
59
|
/**
|
|
56
|
-
*
|
|
60
|
+
* Sets a Vue component, `render` function, or slot name that renders the innermost part of the item ([see example](slug:rendering_menu#toc-items)).
|
|
61
|
+
* By default, the innermost part shows only the item text.
|
|
57
62
|
*/
|
|
58
63
|
render?: any;
|
|
59
64
|
/**
|
|
60
|
-
*
|
|
65
|
+
* Sets a Vue component, `render` function, or slot name that renders the link of the item ([see example](slug:rendering_menu#toc-links)).
|
|
66
|
+
* The item link is the visible part of the item. By default, it shows an arrow, an icon, and the text.
|
|
61
67
|
*/
|
|
62
68
|
linkRender?: any;
|
|
63
69
|
/**
|
|
64
|
-
*
|
|
70
|
+
* Sets a Vue component, `render` function, or slot name that renders content instead of the item children ([see example](slug:rendering_menu#toc-content)).
|
|
65
71
|
*/
|
|
66
72
|
contentRender?: any;
|
|
67
73
|
/**
|
|
68
|
-
*
|
|
74
|
+
* Stores any custom data that you want to keep with the Menu item.
|
|
69
75
|
*/
|
|
70
76
|
data?: any;
|
|
71
77
|
/**
|
|
72
|
-
*
|
|
78
|
+
* Sets if the item is a separator. When you set it to `true`, set only the `cssClass` and `cssStyle` properties as well.
|
|
73
79
|
*/
|
|
74
80
|
separator?: boolean;
|
|
75
81
|
/**
|
|
76
|
-
*
|
|
77
|
-
*
|
|
82
|
+
* Sets a component, `render` function, or slot name that renders trailing actions for this item before the expand arrow.
|
|
83
|
+
* The template receives `{ item, itemId }`. This setting overrides the `actionsRender` setting of the Menu.
|
|
78
84
|
*
|
|
79
85
|
* @example
|
|
80
86
|
* ```vue
|
|
@@ -85,7 +91,7 @@ export interface BaseMenuItem {
|
|
|
85
91
|
*/
|
|
86
92
|
actionsRender?: any;
|
|
87
93
|
/**
|
|
88
|
-
*
|
|
94
|
+
* Sets if the item is a group header for the items that follow it. The user cannot interact with a group header.
|
|
89
95
|
*
|
|
90
96
|
* @example
|
|
91
97
|
* ```vue
|
|
@@ -94,8 +100,8 @@ export interface BaseMenuItem {
|
|
|
94
100
|
*/
|
|
95
101
|
groupHeader?: boolean;
|
|
96
102
|
/**
|
|
97
|
-
*
|
|
98
|
-
*
|
|
103
|
+
* Sets a component, `render` function, or slot name that renders custom group header content.
|
|
104
|
+
* The template receives the original item and its `itemId`.
|
|
99
105
|
*/
|
|
100
106
|
groupHeaderRender?: any;
|
|
101
107
|
}
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { MenuItemModel } from './MenuItemModel';
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Represents the props that the Menu passes to an item actions template.
|
|
11
11
|
*/
|
|
12
12
|
export interface MenuItemActionsRenderProps {
|
|
13
|
-
/** The original item
|
|
13
|
+
/** The original item that you pass to the Menu. */
|
|
14
14
|
item: MenuItemModel;
|
|
15
15
|
/** The hierarchical, zero-based ID of the item. */
|
|
16
16
|
itemId: string;
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { MenuItemModel } from './MenuItemModel';
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Represents the props that the Menu passes to a group header template.
|
|
11
11
|
*/
|
|
12
12
|
export interface MenuItemGroupHeaderRenderProps {
|
|
13
|
-
/** The original item
|
|
13
|
+
/** The original item that you pass to the Menu. */
|
|
14
14
|
item: MenuItemModel;
|
|
15
15
|
/** The hierarchical, zero-based ID of the item. */
|
|
16
16
|
itemId: string;
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { BaseMenuItem } from './BaseMenuItem';
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Represents an item that you pass to the `items` property of the Menu.
|
|
11
11
|
*/
|
|
12
12
|
export interface MenuItemModel extends BaseMenuItem {
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Sets the child items of the item.
|
|
15
15
|
*/
|
|
16
16
|
items?: MenuItemModel[];
|
|
17
17
|
}
|
package/package-metadata.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-layout",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate:
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-layout",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate: 1794913573,version:"11.0.1-develop.1",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/components/my-license/?utm_medium=product&utm_source=vue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"};exports.packageMetadata=e;
|
package/package-metadata.mjs
CHANGED
|
@@ -10,8 +10,8 @@ const e = {
|
|
|
10
10
|
productName: "Kendo UI for Vue",
|
|
11
11
|
productCode: "KENDOUIVUE",
|
|
12
12
|
productCodes: ["KENDOUIVUE"],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: "11.0.
|
|
13
|
+
publishDate: 1794913573,
|
|
14
|
+
version: "11.0.1-develop.1",
|
|
15
15
|
licensingDocsUrl: "https://www.telerik.com/kendo-vue-ui/components/my-license/?utm_medium=product&utm_source=vue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
|
|
16
16
|
};
|
|
17
17
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-layout",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.1-develop.1",
|
|
4
4
|
"description": "TODO",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
},
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@progress/kendo-licensing": "^1.13.
|
|
28
|
-
"@progress/kendo-vue-animation": "11.0.
|
|
29
|
-
"@progress/kendo-vue-common": "11.0.
|
|
30
|
-
"@progress/kendo-vue-intl": "11.0.
|
|
31
|
-
"@progress/kendo-vue-popup": "11.0.
|
|
32
|
-
"@progress/kendo-vue-progressbars": "11.0.
|
|
27
|
+
"@progress/kendo-licensing": "^1.13.1",
|
|
28
|
+
"@progress/kendo-vue-animation": "11.0.1-develop.1",
|
|
29
|
+
"@progress/kendo-vue-common": "11.0.1-develop.1",
|
|
30
|
+
"@progress/kendo-vue-intl": "11.0.1-develop.1",
|
|
31
|
+
"@progress/kendo-vue-popup": "11.0.1-develop.1",
|
|
32
|
+
"@progress/kendo-vue-progressbars": "11.0.1-develop.1",
|
|
33
33
|
"@progress/kendo-svg-icons": "^4.9.0 || ^5.0.0",
|
|
34
34
|
"vue": "^3.0.2"
|
|
35
35
|
},
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"package": {
|
|
112
112
|
"productName": "Kendo UI for Vue",
|
|
113
113
|
"productCode": "KENDOUIVUE",
|
|
114
|
-
"publishDate":
|
|
114
|
+
"publishDate": 1794913573,
|
|
115
115
|
"licensingDocsUrl": "https://www.telerik.com/kendo-vue-ui/components/my-license/?utm_medium=product&utm_source=vue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
|
|
116
116
|
}
|
|
117
117
|
},
|
package/panelbar/PanelBar.d.ts
CHANGED
|
@@ -9,16 +9,44 @@ import { PanelBarItemClickEventArguments } from './interfaces/PanelBarItemClickE
|
|
|
9
9
|
import { PanelBarSelectEventArguments } from './interfaces/PanelBarSelectEventArguments';
|
|
10
10
|
import { NavigationAction } from './interfaces/NavigationAction';
|
|
11
11
|
import { PropType } from 'vue';
|
|
12
|
+
/**
|
|
13
|
+
* Represents the internal state of the PanelBar.
|
|
14
|
+
*/
|
|
12
15
|
export interface PanelBarData {
|
|
16
|
+
/**
|
|
17
|
+
* The unique key of the focused item.
|
|
18
|
+
*/
|
|
13
19
|
currentFocused?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Sets if the PanelBar root element has the focus.
|
|
22
|
+
*/
|
|
14
23
|
wrapperFocused?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* The unique key of the selected item.
|
|
26
|
+
*/
|
|
15
27
|
currentSelected?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The unique keys of the expanded items.
|
|
30
|
+
*/
|
|
16
31
|
currentExpanded: string[];
|
|
17
32
|
}
|
|
18
33
|
/**
|
|
34
|
+
* Represents the [KendoVue PanelBar component](slug:overview_panelbar).
|
|
35
|
+
* Accepts properties of type [PanelBarProps](slug:api_layout_panelbarprops).
|
|
19
36
|
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```vue
|
|
39
|
+
* <PanelBar
|
|
40
|
+
* :items="[
|
|
41
|
+
* { title: 'Accounts', expanded: true, items: [{ title: 'Checking' }, { title: 'Savings' }] },
|
|
42
|
+
* { title: 'Payments', items: [{ title: 'Scheduled' }, { title: 'History' }] },
|
|
43
|
+
* { title: 'Statements' }
|
|
44
|
+
* ]"
|
|
45
|
+
* :expand-mode="'single'"
|
|
46
|
+
* :animation="true"
|
|
47
|
+
* @select="onSelect"
|
|
48
|
+
* />
|
|
49
|
+
* ```
|
|
22
50
|
*/
|
|
23
51
|
declare const PanelBar: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
24
52
|
animation: {
|