@progress/kendo-vue-layout 8.0.3-develop.1 → 8.0.3-develop.3
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 +234 -0
- package/actionsheet/ActionSheetContent.d.ts +25 -0
- package/actionsheet/ActionSheetFooter.d.ts +25 -0
- package/actionsheet/ActionSheetHeader.d.ts +34 -0
- package/actionsheet/ActionSheetItem.d.ts +65 -0
- package/actionsheet/interfaces/ActionSheetContentProps.d.ts +16 -0
- package/actionsheet/interfaces/ActionSheetFooterProps.d.ts +16 -0
- package/actionsheet/interfaces/ActionSheetHeaderProps.d.ts +20 -0
- package/actionsheet/interfaces/ActionSheetItemProps.d.ts +81 -0
- package/appbar/AppBar.d.ts +60 -0
- package/appbar/AppBarSection.d.ts +21 -0
- package/appbar/AppBarSpacer.d.ts +30 -0
- package/appbar/interfaces/AppBarProps.d.ts +74 -0
- package/appbar/interfaces/AppBarSectionProps.d.ts +12 -0
- package/appbar/interfaces/AppBarSpacerProps.d.ts +14 -0
- package/bottomnavigation/BottomNavigation.d.ts +117 -0
- package/bottomnavigation/BottomNavigationItem.d.ts +59 -0
- package/bottomnavigation/BottomNavigationItemProps.d.ts +61 -0
- package/bottomnavigation/BottomNavigationProps.d.ts +154 -0
- package/bottomnavigation/models/events.d.ts +25 -0
- package/bottomnavigation/models/utils.d.ts +43 -0
- package/breadcrumb/Breadcrumb.d.ts +143 -0
- package/breadcrumb/BreadcrumbDelimiter.d.ts +21 -0
- package/breadcrumb/BreadcrumbLink.d.ts +63 -0
- package/breadcrumb/BreadcrumbListItem.d.ts +30 -0
- package/breadcrumb/BreadcrumbOrderedList.d.ts +42 -0
- package/breadcrumb/interfaces/BreadcrumbDelimiterProps.d.ts +24 -0
- package/breadcrumb/interfaces/BreadcrumbLinkProps.d.ts +61 -0
- package/breadcrumb/interfaces/BreadcrumbListItemProps.d.ts +24 -0
- package/breadcrumb/interfaces/BreadcrumbOrderedListProps.d.ts +42 -0
- package/breadcrumb/interfaces/BreadcrumbProps.d.ts +138 -0
- package/card/Avatar.d.ts +76 -0
- package/card/Card.d.ts +50 -0
- package/card/CardActions.d.ts +52 -0
- package/card/CardBody.d.ts +12 -0
- package/card/CardFooter.d.ts +12 -0
- package/card/CardHeader.d.ts +12 -0
- package/card/CardImage.d.ts +17 -0
- package/card/CardSubtitle.d.ts +12 -0
- package/card/CardTitle.d.ts +12 -0
- package/card/interfaces/AvatarProps.d.ts +79 -0
- package/card/interfaces/CardActionsProps.d.ts +29 -0
- package/card/interfaces/CardBodyProps.d.ts +9 -0
- package/card/interfaces/CardFooterProps.d.ts +9 -0
- package/card/interfaces/CardHeaderProps.d.ts +9 -0
- package/card/interfaces/CardImageProps.d.ts +13 -0
- package/card/interfaces/CardProps.d.ts +34 -0
- package/card/interfaces/CardSubtitleProps.d.ts +9 -0
- package/card/interfaces/CardTitleProps.d.ts +9 -0
- package/card/interfaces/Enums.d.ts +39 -0
- package/card/interfaces/Enums.js +1 -1
- package/card/interfaces/Enums.mjs +5 -5
- package/dist/cdn/js/kendo-vue-layout.js +1 -1
- package/drawer/Drawer.d.ts +148 -0
- package/drawer/DrawerContent.d.ts +84 -0
- package/drawer/DrawerItem.d.ts +81 -0
- package/drawer/DrawerNavigation.d.ts +47 -0
- package/drawer/context/DrawerContext.d.ts +24 -0
- package/drawer/interfaces/DrawerAnimation.d.ts +21 -0
- package/drawer/interfaces/DrawerContentProps.d.ts +12 -0
- package/drawer/interfaces/DrawerItemHandle.d.ts +24 -0
- package/drawer/interfaces/DrawerItemProps.d.ts +55 -0
- package/drawer/interfaces/DrawerNavigationProps.d.ts +21 -0
- package/drawer/interfaces/DrawerProps.d.ts +92 -0
- package/drawer/interfaces/DrawerSelectEvent.d.ts +20 -0
- package/expansionpanel/ExpansionPanel.d.ts +59 -0
- package/expansionpanel/ExpansionPanel.mjs +1 -1
- package/expansionpanel/ExpansionPanelContent.d.ts +12 -0
- package/expansionpanel/interfaces.d.ts +95 -0
- package/expansionpanel/main.d.ts +10 -0
- package/gridlayout/GridLayout.d.ts +61 -0
- package/gridlayout/GridLayoutItem.d.ts +35 -0
- package/gridlayout/interfaces/GridLayoutColumnProps.d.ts +17 -0
- package/gridlayout/interfaces/GridLayoutItemProps.d.ts +46 -0
- package/gridlayout/interfaces/GridLayoutProps.d.ts +102 -0
- package/gridlayout/interfaces/GridLayoutRowProps.d.ts +17 -0
- package/index.d.mts +86 -4954
- package/index.d.ts +86 -4954
- package/menu/BaseMenuItemInternalProps.d.ts +27 -0
- package/menu/MenuProps.d.ts +58 -0
- package/menu/components/Menu.d.ts +117 -0
- package/menu/components/MenuItemArrow.d.ts +52 -0
- package/menu/components/MenuItemArrow.mjs +2 -2
- package/menu/components/MenuItemInternal.d.ts +173 -0
- package/menu/components/MenuItemLink.d.ts +53 -0
- package/menu/consts.d.ts +61 -0
- package/menu/events.d.ts +21 -0
- package/menu/models/BaseMenuItem.d.ts +65 -0
- package/menu/models/MenuItemModel.d.ts +26 -0
- package/menu/utils/DirectionHolder.d.ts +18 -0
- package/menu/utils/MouseOverHandler.d.ts +24 -0
- package/menu/utils/getNewItemIdUponKeyboardNavigation.d.ts +14 -0
- package/menu/utils/hoverDelay.d.ts +16 -0
- package/menu/utils/itemsIdsUtils.d.ts +71 -0
- package/menu/utils/itemsIdsUtils.mjs +49 -49
- package/menu/utils/misc.d.ts +23 -0
- package/menu/utils/prepareInputItemsForInternalWork.d.ts +12 -0
- package/messages/main.d.ts +22 -0
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +15 -9
- package/panelbar/PanelBar.d.ts +88 -0
- package/panelbar/PanelBarItem.d.ts +87 -0
- package/panelbar/interfaces/NavigationAction.d.ts +15 -0
- package/panelbar/interfaces/PanelBarItemClickEventArguments.d.ts +14 -0
- package/panelbar/interfaces/PanelBarItemProps.d.ts +97 -0
- package/panelbar/interfaces/PanelBarProps.d.ts +65 -0
- package/panelbar/interfaces/PanelBarSelectEventArguments.d.ts +20 -0
- package/panelbar/interfaces/RenderPanelBarItem.d.ts +21 -0
- package/panelbar/util.d.ts +42 -0
- package/splitter/Splitter.d.ts +170 -0
- package/splitter/SplitterBar.d.ts +72 -0
- package/splitter/SplitterPane.d.ts +101 -0
- package/stacklayout/StackLayout.d.ts +64 -0
- package/stacklayout/StackLayoutProps.d.ts +82 -0
- package/stepper/Step.d.ts +120 -0
- package/stepper/Stepper.d.ts +195 -0
- package/stepper/contants.d.ts +15 -0
- package/stepper/context/StepperContext.d.ts +23 -0
- package/stepper/interfaces/StepChangeEvent.d.ts +16 -0
- package/stepper/interfaces/StepFocusEvent.d.ts +12 -0
- package/stepper/interfaces/StepHandle.d.ts +20 -0
- package/stepper/interfaces/StepProps.d.ts +91 -0
- package/stepper/interfaces/StepperChangeEvent.d.ts +16 -0
- package/stepper/interfaces/StepperFocusEvent.d.ts +12 -0
- package/stepper/interfaces/StepperHandle.d.ts +20 -0
- package/stepper/interfaces/StepperOnNavigateEvent.d.ts +30 -0
- package/stepper/interfaces/StepperProps.d.ts +95 -0
- package/stepper/messages/main.d.ts +22 -0
- package/tabstrip/TabStrip.d.ts +171 -0
- package/tabstrip/TabStripContent.d.ts +71 -0
- package/tabstrip/TabStripNavigation.d.ts +101 -0
- package/tabstrip/TabStripNavigationItem.d.ts +118 -0
- package/tabstrip/TabStripTab.d.ts +59 -0
- package/tabstrip/utils.d.ts +8 -0
- package/tilelayout/ResizeHandlers.d.ts +84 -0
- package/tilelayout/Tile.d.ts +105 -0
- package/tilelayout/TileLayout.d.ts +126 -0
- package/tilelayout/interfaces/main.d.ts +205 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Represents the props of the [Kendo UI for Vue StackLayout component]({% slug overview_stacklayout %}).
|
|
10
|
+
*/
|
|
11
|
+
export interface StackLayoutProps {
|
|
12
|
+
/**
|
|
13
|
+
* Sets the `id` property of the root StackLayout element.
|
|
14
|
+
*/
|
|
15
|
+
id?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Specifies the gap between the inner elements ([see example]({% slug layout_stacklayout_gaps %})).
|
|
18
|
+
*/
|
|
19
|
+
gap?: number | string;
|
|
20
|
+
/**
|
|
21
|
+
* Specifies the orientation of the StackLayout.
|
|
22
|
+
* ([see example]({% slug layout_stacklayout_orientation %})).
|
|
23
|
+
*
|
|
24
|
+
* The possible values are:
|
|
25
|
+
* * (Default)`horizontal`
|
|
26
|
+
* * `vertical`
|
|
27
|
+
*/
|
|
28
|
+
orientation?: StackLayoutOrientation | string;
|
|
29
|
+
/**
|
|
30
|
+
* Specifies the horizontal and vertical alignment of the inner StackLayout elements.
|
|
31
|
+
* Demo ([here]({% slug layout_stacklayout_alignment %}#toc-horizontal-alignment)) and ([here]({% slug layout_stacklayout_alignment %}#toc-vertical-alignment)).
|
|
32
|
+
*
|
|
33
|
+
* The possible keys are:
|
|
34
|
+
* * `horizontal`—Defines the possible horizontal alignment of the inner StackLayout elements.
|
|
35
|
+
* * `start`—Uses the start point of the container.
|
|
36
|
+
* * `center`—Uses the central point of the container.
|
|
37
|
+
* * `end`—Uses the end point of the container.
|
|
38
|
+
* * (Default)`stretch`—Stretches the items to fill the width of the container.
|
|
39
|
+
* * `vertical`—Defines the possible vertical alignment of the inner StackLayout elements.
|
|
40
|
+
* * `top`—Uses the top point of the container.
|
|
41
|
+
* * `middle`—Uses the middle point of the container.
|
|
42
|
+
* * `bottom`—Uses the bottom point of the container.
|
|
43
|
+
* * (Default)`stretch`—Stretches the items to fill the height of the container.
|
|
44
|
+
*/
|
|
45
|
+
align?: StackLayoutAlign;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Specifies the orientation of the StackLayout ([see example]({% slug layout_stacklayout_orientation %})).
|
|
49
|
+
*
|
|
50
|
+
* The possible values are:
|
|
51
|
+
* * (Default)`horizontal`
|
|
52
|
+
* * `vertical`
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
export type StackLayoutOrientation = 'horizontal' | 'vertical';
|
|
56
|
+
/**
|
|
57
|
+
* Specifies the horizontal and vertical alignment of the inner StackLayout elements.
|
|
58
|
+
*/
|
|
59
|
+
export interface StackLayoutAlign {
|
|
60
|
+
/**
|
|
61
|
+
* Defines the possible horizontal alignment of the inner StackLayout elements
|
|
62
|
+
* ([see example]({% slug layout_stacklayout_alignment %}#toc-horizontal-alignment)).
|
|
63
|
+
*
|
|
64
|
+
* The available values are:
|
|
65
|
+
* - `start`—Uses the start point of the container.
|
|
66
|
+
* - `center`—Uses the center point of the container.
|
|
67
|
+
* - `end`—Uses the end point of the container.
|
|
68
|
+
* - (Default)`stretch`—Stretches the items to fill the width of the container.
|
|
69
|
+
*/
|
|
70
|
+
horizontal?: 'start' | 'center' | 'end' | 'stretch';
|
|
71
|
+
/**
|
|
72
|
+
* Defines the possible vertical alignment of the inner StackLayout elements
|
|
73
|
+
* ([see example]({% slug layout_stacklayout_alignment %}#toc-vertical-alignment)).
|
|
74
|
+
*
|
|
75
|
+
* The available values are:
|
|
76
|
+
* - `top`—Uses the top point of the container.
|
|
77
|
+
* - `middle`—Uses the middle point of the container.
|
|
78
|
+
* - `bottom`—Uses the bottom point of the container.
|
|
79
|
+
* - (Default)`stretch`—Stretches the items to fill the height of the container.
|
|
80
|
+
*/
|
|
81
|
+
vertical?: 'top' | 'middle' | 'bottom' | 'stretch';
|
|
82
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { PropType } from 'vue';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export interface StepComputed {
|
|
13
|
+
itemClassNames: object;
|
|
14
|
+
itemStyles: object;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Represents the [Kendo UI for Vue Step component]({% slug overview_stepper %}).
|
|
18
|
+
*
|
|
19
|
+
* ```jsx
|
|
20
|
+
* <Step v-bind="props" @change="(e) => props.onChange(e)">
|
|
21
|
+
* <span class="k-step-indicator" aria-hidden="true">
|
|
22
|
+
* <span class="emoji">{{ props.emoji }}</span>
|
|
23
|
+
* </span>
|
|
24
|
+
* <span class="k-step-label">
|
|
25
|
+
* <span class="k-step-text">{{ props.label }}</span>
|
|
26
|
+
* </span>
|
|
27
|
+
* </Step>
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
declare const Step: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
31
|
+
current: PropType<boolean>;
|
|
32
|
+
disabled: PropType<boolean>;
|
|
33
|
+
icon: PropType<string>;
|
|
34
|
+
svgIcon: PropType<import('@progress/kendo-vue-common').SVGIcon>;
|
|
35
|
+
index: PropType<number>;
|
|
36
|
+
isValid: {
|
|
37
|
+
type: PropType<boolean>;
|
|
38
|
+
default: any;
|
|
39
|
+
};
|
|
40
|
+
focused: PropType<any>;
|
|
41
|
+
label: PropType<string>;
|
|
42
|
+
optional: PropType<boolean>;
|
|
43
|
+
tabIndex: {
|
|
44
|
+
type: PropType<number>;
|
|
45
|
+
default: number;
|
|
46
|
+
};
|
|
47
|
+
text: PropType<string>;
|
|
48
|
+
animationDuration: PropType<any>;
|
|
49
|
+
isVertical: PropType<any>;
|
|
50
|
+
item: PropType<any>;
|
|
51
|
+
linear: PropType<any>;
|
|
52
|
+
mode: PropType<any>;
|
|
53
|
+
numOfSteps: PropType<any>;
|
|
54
|
+
value: PropType<any>;
|
|
55
|
+
successIcon: PropType<String>;
|
|
56
|
+
successSvgIcon: PropType<Object>;
|
|
57
|
+
errorIcon: PropType<String>;
|
|
58
|
+
errorSvgIcon: PropType<Object>;
|
|
59
|
+
onChange: PropType<any>;
|
|
60
|
+
onFocus: PropType<any>;
|
|
61
|
+
}>, {
|
|
62
|
+
kendoLocalizationService: {};
|
|
63
|
+
}, {}, {
|
|
64
|
+
itemClassNames(): StepComputed['itemClassNames'];
|
|
65
|
+
itemStyles(): StepComputed['itemStyles'];
|
|
66
|
+
}, {
|
|
67
|
+
getStepIndicatorContent(label: string, icon: string, svgIcon: any, text: string, index: number, isValid: boolean | undefined, validationIcons: any): any;
|
|
68
|
+
focus(): void;
|
|
69
|
+
handleClick(event: any): void;
|
|
70
|
+
handleFocus(event: any): void;
|
|
71
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
72
|
+
current: PropType<boolean>;
|
|
73
|
+
disabled: PropType<boolean>;
|
|
74
|
+
icon: PropType<string>;
|
|
75
|
+
svgIcon: PropType<import('@progress/kendo-vue-common').SVGIcon>;
|
|
76
|
+
index: PropType<number>;
|
|
77
|
+
isValid: {
|
|
78
|
+
type: PropType<boolean>;
|
|
79
|
+
default: any;
|
|
80
|
+
};
|
|
81
|
+
focused: PropType<any>;
|
|
82
|
+
label: PropType<string>;
|
|
83
|
+
optional: PropType<boolean>;
|
|
84
|
+
tabIndex: {
|
|
85
|
+
type: PropType<number>;
|
|
86
|
+
default: number;
|
|
87
|
+
};
|
|
88
|
+
text: PropType<string>;
|
|
89
|
+
animationDuration: PropType<any>;
|
|
90
|
+
isVertical: PropType<any>;
|
|
91
|
+
item: PropType<any>;
|
|
92
|
+
linear: PropType<any>;
|
|
93
|
+
mode: PropType<any>;
|
|
94
|
+
numOfSteps: PropType<any>;
|
|
95
|
+
value: PropType<any>;
|
|
96
|
+
successIcon: PropType<String>;
|
|
97
|
+
successSvgIcon: PropType<Object>;
|
|
98
|
+
errorIcon: PropType<String>;
|
|
99
|
+
errorSvgIcon: PropType<Object>;
|
|
100
|
+
onChange: PropType<any>;
|
|
101
|
+
onFocus: PropType<any>;
|
|
102
|
+
}>> & Readonly<{}>, {
|
|
103
|
+
tabIndex: number;
|
|
104
|
+
isValid: boolean;
|
|
105
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
106
|
+
/**
|
|
107
|
+
* Represents the [Kendo UI for Vue Step component]({% slug overview_stepper %}).
|
|
108
|
+
*
|
|
109
|
+
* ```jsx
|
|
110
|
+
* <Step v-bind="props" @change="(e) => props.onChange(e)">
|
|
111
|
+
* <span class="k-step-indicator" aria-hidden="true">
|
|
112
|
+
* <span class="emoji">{{ props.emoji }}</span>
|
|
113
|
+
* </span>
|
|
114
|
+
* <span class="k-step-label">
|
|
115
|
+
* <span class="k-step-text">{{ props.label }}</span>
|
|
116
|
+
* </span>
|
|
117
|
+
* </Step>
|
|
118
|
+
* ```
|
|
119
|
+
*/
|
|
120
|
+
export { Step };
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { StepChangeEvent } from './interfaces/StepChangeEvent';
|
|
9
|
+
import { StepFocusEvent } from './interfaces/StepFocusEvent';
|
|
10
|
+
import { PropType } from 'vue';
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
export interface StepperComputed {
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
computedValue: number;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Represents the [Kendo UI for Vue Stepper component]({% slug overview_stepper %}).
|
|
20
|
+
*
|
|
21
|
+
* ```jsx
|
|
22
|
+
* <template>
|
|
23
|
+
* <Stepper :value="value" @change="handleChange" :items="items" />
|
|
24
|
+
* </template>
|
|
25
|
+
*
|
|
26
|
+
* <script>
|
|
27
|
+
* import {
|
|
28
|
+
* Stepper
|
|
29
|
+
* } from '@progress/kendo-vue-layout';
|
|
30
|
+
* export default {
|
|
31
|
+
* components: {
|
|
32
|
+
* Stepper
|
|
33
|
+
* },
|
|
34
|
+
* data () {
|
|
35
|
+
* return {
|
|
36
|
+
* value: 0,
|
|
37
|
+
* items: [
|
|
38
|
+
* {
|
|
39
|
+
* label: "Cart",
|
|
40
|
+
* icon: "cart",
|
|
41
|
+
* },
|
|
42
|
+
* {
|
|
43
|
+
* label: "Delivery Address",
|
|
44
|
+
* icon: "marker-pin-target",
|
|
45
|
+
* },
|
|
46
|
+
* {
|
|
47
|
+
* label: "Payment Method",
|
|
48
|
+
* icon: "dollar",
|
|
49
|
+
* },
|
|
50
|
+
* {
|
|
51
|
+
* label: "Preview",
|
|
52
|
+
* icon: "preview",
|
|
53
|
+
* optional: true,
|
|
54
|
+
* },
|
|
55
|
+
* {
|
|
56
|
+
* label: "Finish Order",
|
|
57
|
+
* icon: "track-changes-accept",
|
|
58
|
+
* },
|
|
59
|
+
* ]
|
|
60
|
+
* }
|
|
61
|
+
* },
|
|
62
|
+
* methods: {
|
|
63
|
+
* handleChange (e) {
|
|
64
|
+
* this.value = e.value;
|
|
65
|
+
* }
|
|
66
|
+
* }
|
|
67
|
+
* };
|
|
68
|
+
* </script>
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
declare const Stepper: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
73
|
+
animationDuration: {
|
|
74
|
+
type: PropType<number | boolean>;
|
|
75
|
+
default: number;
|
|
76
|
+
};
|
|
77
|
+
dir: PropType<string>;
|
|
78
|
+
disabled: PropType<boolean>;
|
|
79
|
+
item: {
|
|
80
|
+
type: PropType<any>;
|
|
81
|
+
default: any;
|
|
82
|
+
};
|
|
83
|
+
items: PropType<import('..').StepProps[]>;
|
|
84
|
+
linear: PropType<boolean>;
|
|
85
|
+
mode: {
|
|
86
|
+
type: PropType<string>;
|
|
87
|
+
default: string;
|
|
88
|
+
validator: (value: string) => any;
|
|
89
|
+
};
|
|
90
|
+
orientation: {
|
|
91
|
+
type: PropType<string>;
|
|
92
|
+
default: string;
|
|
93
|
+
validator: (value: string) => any;
|
|
94
|
+
};
|
|
95
|
+
value: {
|
|
96
|
+
type: PropType<number>;
|
|
97
|
+
default: number;
|
|
98
|
+
};
|
|
99
|
+
progressTotal: {
|
|
100
|
+
type: PropType<number>;
|
|
101
|
+
};
|
|
102
|
+
progress: {
|
|
103
|
+
type: PropType<number>;
|
|
104
|
+
};
|
|
105
|
+
modelValue: PropType<number>;
|
|
106
|
+
successIcon: PropType<string>;
|
|
107
|
+
errorIcon: PropType<string>;
|
|
108
|
+
}>, {}, {
|
|
109
|
+
currentDir: string;
|
|
110
|
+
focusedIdx: number;
|
|
111
|
+
stepper: {};
|
|
112
|
+
currentFocused: boolean;
|
|
113
|
+
}, {
|
|
114
|
+
computedValue(): any;
|
|
115
|
+
isVertical(): boolean;
|
|
116
|
+
numOfSteps(): any;
|
|
117
|
+
stepperClasses(): {
|
|
118
|
+
'k-stepper': boolean;
|
|
119
|
+
'k-stepper-linear': any;
|
|
120
|
+
};
|
|
121
|
+
stepperStyles(): {
|
|
122
|
+
display: string;
|
|
123
|
+
gridTemplateColumns: string;
|
|
124
|
+
gridTemplateRows: string;
|
|
125
|
+
};
|
|
126
|
+
listClasses(): {
|
|
127
|
+
'k-step-list': boolean;
|
|
128
|
+
'k-step-list-horizontal': boolean;
|
|
129
|
+
'k-step-list-vertical': any;
|
|
130
|
+
};
|
|
131
|
+
listStyles(): {
|
|
132
|
+
gridColumnStart: string | number;
|
|
133
|
+
gridColumnEnd: string | number;
|
|
134
|
+
gridRowStart: string | number;
|
|
135
|
+
gridRowEnd: string | number;
|
|
136
|
+
};
|
|
137
|
+
progressbarStyles(): {
|
|
138
|
+
gridColumnStart: string | number;
|
|
139
|
+
gridColumnEnd: string | number;
|
|
140
|
+
gridRowStart: string | number;
|
|
141
|
+
gridRowEnd: string | number;
|
|
142
|
+
};
|
|
143
|
+
}, {
|
|
144
|
+
focus(): void;
|
|
145
|
+
dispatchChangeEvent(event: any, val: number): void;
|
|
146
|
+
handleChange(event: StepChangeEvent): void;
|
|
147
|
+
handleFocus(event: StepFocusEvent): void;
|
|
148
|
+
handleEnter(event: any): void;
|
|
149
|
+
handleFocusin(): void;
|
|
150
|
+
handleFocusout(): void;
|
|
151
|
+
handleKeyDown(event: any): void;
|
|
152
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
153
|
+
animationDuration: {
|
|
154
|
+
type: PropType<number | boolean>;
|
|
155
|
+
default: number;
|
|
156
|
+
};
|
|
157
|
+
dir: PropType<string>;
|
|
158
|
+
disabled: PropType<boolean>;
|
|
159
|
+
item: {
|
|
160
|
+
type: PropType<any>;
|
|
161
|
+
default: any;
|
|
162
|
+
};
|
|
163
|
+
items: PropType<import('..').StepProps[]>;
|
|
164
|
+
linear: PropType<boolean>;
|
|
165
|
+
mode: {
|
|
166
|
+
type: PropType<string>;
|
|
167
|
+
default: string;
|
|
168
|
+
validator: (value: string) => any;
|
|
169
|
+
};
|
|
170
|
+
orientation: {
|
|
171
|
+
type: PropType<string>;
|
|
172
|
+
default: string;
|
|
173
|
+
validator: (value: string) => any;
|
|
174
|
+
};
|
|
175
|
+
value: {
|
|
176
|
+
type: PropType<number>;
|
|
177
|
+
default: number;
|
|
178
|
+
};
|
|
179
|
+
progressTotal: {
|
|
180
|
+
type: PropType<number>;
|
|
181
|
+
};
|
|
182
|
+
progress: {
|
|
183
|
+
type: PropType<number>;
|
|
184
|
+
};
|
|
185
|
+
modelValue: PropType<number>;
|
|
186
|
+
successIcon: PropType<string>;
|
|
187
|
+
errorIcon: PropType<string>;
|
|
188
|
+
}>> & Readonly<{}>, {
|
|
189
|
+
value: number;
|
|
190
|
+
item: any;
|
|
191
|
+
orientation: string;
|
|
192
|
+
mode: string;
|
|
193
|
+
animationDuration: number | boolean;
|
|
194
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
195
|
+
export { Stepper };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare const DEFAULT_ANIMATION_DURATION = 400;
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export declare const NO_ANIMATION = 0;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { StepChangeEvent } from '../interfaces/StepChangeEvent';
|
|
9
|
+
import { StepFocusEvent } from '../interfaces/StepFocusEvent';
|
|
10
|
+
/** @hidden */
|
|
11
|
+
export type StepperContextType = {
|
|
12
|
+
animationDuration?: number | boolean;
|
|
13
|
+
isVertical?: boolean;
|
|
14
|
+
item?: any;
|
|
15
|
+
linear?: boolean;
|
|
16
|
+
mode?: 'steps' | 'labels';
|
|
17
|
+
numOfSteps?: number;
|
|
18
|
+
value: number;
|
|
19
|
+
successIcon?: string;
|
|
20
|
+
errorIcon?: string;
|
|
21
|
+
onChange?: (event: StepChangeEvent) => void;
|
|
22
|
+
onFocus?: (event: StepFocusEvent) => void;
|
|
23
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* The arguments for the `onChange` Step event.
|
|
10
|
+
*/
|
|
11
|
+
export interface StepChangeEvent {
|
|
12
|
+
/**
|
|
13
|
+
* The index of the selected Step.
|
|
14
|
+
*/
|
|
15
|
+
value: number;
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* The arguments for the `onFocus` Step event.
|
|
10
|
+
*/
|
|
11
|
+
export interface StepFocusEvent {
|
|
12
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* The Step ref.
|
|
10
|
+
*/
|
|
11
|
+
export interface StepHandle {
|
|
12
|
+
/**
|
|
13
|
+
* The Step element.
|
|
14
|
+
*/
|
|
15
|
+
element: HTMLLIElement | null;
|
|
16
|
+
/**
|
|
17
|
+
* Focus the Step.
|
|
18
|
+
*/
|
|
19
|
+
focus: () => void;
|
|
20
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { SVGIcon } from '@progress/kendo-vue-common';
|
|
9
|
+
/**
|
|
10
|
+
* Represents the props of the [Kendo UI for Vue Step component]({% slug overview_stepper %}).
|
|
11
|
+
*/
|
|
12
|
+
export interface StepProps {
|
|
13
|
+
/**
|
|
14
|
+
* Specifies a list of CSS classes that will be added to the Step element.
|
|
15
|
+
*/
|
|
16
|
+
className?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Represents the content that will be rendered inside each Step.
|
|
19
|
+
*
|
|
20
|
+
* @hidden
|
|
21
|
+
*/
|
|
22
|
+
content?: any;
|
|
23
|
+
/**
|
|
24
|
+
* Specifies the current Step.
|
|
25
|
+
*/
|
|
26
|
+
current?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Sets a custom property.
|
|
29
|
+
*/
|
|
30
|
+
[customProp: string]: any;
|
|
31
|
+
/**
|
|
32
|
+
* Specifies if the Step is disabled
|
|
33
|
+
* ([see example]({% slug display_modes_stepper %})).
|
|
34
|
+
*/
|
|
35
|
+
disabled?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Defines the name for an existing icon in a Kendo UI for Vue theme.
|
|
38
|
+
* The icon is rendered inside the Step indicator by a `span.k-icon` element
|
|
39
|
+
* ([see example]({% slug display_modes_stepper %})).
|
|
40
|
+
*/
|
|
41
|
+
icon?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Defines an SVGIcon to be rendered within the Step.
|
|
44
|
+
*/
|
|
45
|
+
svgIcon?: SVGIcon;
|
|
46
|
+
/**
|
|
47
|
+
* Defines the name for an success icon in a Kendo UI for Vue theme.
|
|
48
|
+
*/
|
|
49
|
+
successIcon?: String;
|
|
50
|
+
/**
|
|
51
|
+
* Defines an success SVGIcon to be rendered within the Step.
|
|
52
|
+
*/
|
|
53
|
+
successSvgIcon?: Object;
|
|
54
|
+
/**
|
|
55
|
+
* Defines the name for an error icon in a Kendo UI for Vue theme.
|
|
56
|
+
*/
|
|
57
|
+
errorIcon?: String;
|
|
58
|
+
/**
|
|
59
|
+
* Defines an error SVGIcon to be rendered within the Step.
|
|
60
|
+
*/
|
|
61
|
+
errorSvgIcon?: Object;
|
|
62
|
+
/**
|
|
63
|
+
* Sets the index of the Step that is used to identify it.
|
|
64
|
+
*/
|
|
65
|
+
index?: number;
|
|
66
|
+
/**
|
|
67
|
+
* Specifies the validity of the step
|
|
68
|
+
* ([see example]({% slug display_modes_stepper %})).
|
|
69
|
+
*/
|
|
70
|
+
isValid?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Specifies the label of the Step
|
|
73
|
+
* ([see example]({% slug display_modes_stepper %})).
|
|
74
|
+
*/
|
|
75
|
+
label?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Specifies if the step is optional. The validation is not applied to these steps
|
|
78
|
+
* ([see example]({% slug display_modes_stepper %})).
|
|
79
|
+
*/
|
|
80
|
+
optional?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Sets the `tabIndex` property of the Step.
|
|
83
|
+
* Defaults to `0`.
|
|
84
|
+
*/
|
|
85
|
+
tabIndex?: number;
|
|
86
|
+
/**
|
|
87
|
+
* Specifies the text content of the Step indicator
|
|
88
|
+
* ([see example]({% slug display_modes_stepper %})).
|
|
89
|
+
*/
|
|
90
|
+
text?: string;
|
|
91
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* The arguments for the `onChange` Stepper event.
|
|
10
|
+
*/
|
|
11
|
+
export interface StepperChangeEvent {
|
|
12
|
+
/**
|
|
13
|
+
* The index of the selected Step.
|
|
14
|
+
*/
|
|
15
|
+
value: number;
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* The arguments for the `onFocus` Stepper event.
|
|
10
|
+
*/
|
|
11
|
+
export interface StepperFocusEvent {
|
|
12
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* The Stepper ref.
|
|
10
|
+
*/
|
|
11
|
+
export interface StepperHandle {
|
|
12
|
+
/**
|
|
13
|
+
* The Stepper element.
|
|
14
|
+
*/
|
|
15
|
+
element: HTMLMenuElement | null;
|
|
16
|
+
/**
|
|
17
|
+
* Focus the Stepper's first focusable child.
|
|
18
|
+
*/
|
|
19
|
+
focus: () => void;
|
|
20
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { StepperHandle } from './../interfaces/StepperHandle';
|
|
9
|
+
/**
|
|
10
|
+
* The `StepperOnNavigateEvent` event.
|
|
11
|
+
*/
|
|
12
|
+
export declare class StepperOnNavigateEvent {
|
|
13
|
+
/**
|
|
14
|
+
* The Stepper component.
|
|
15
|
+
*/
|
|
16
|
+
target: StepperHandle;
|
|
17
|
+
event: any;
|
|
18
|
+
/**
|
|
19
|
+
* The previous index of the Step.
|
|
20
|
+
*/
|
|
21
|
+
prevIndex: number;
|
|
22
|
+
/**
|
|
23
|
+
* The new index of the Step.
|
|
24
|
+
*/
|
|
25
|
+
nextIndex: number;
|
|
26
|
+
/**
|
|
27
|
+
* @hidden
|
|
28
|
+
*/
|
|
29
|
+
constructor(target: StepperHandle, prevIndex: number, nextIndex: number);
|
|
30
|
+
}
|