@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,95 @@
|
|
|
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 { StepProps } from './StepProps';
|
|
9
|
+
import { StepperChangeEvent } from './StepperChangeEvent';
|
|
10
|
+
import { StepperFocusEvent } from './StepperFocusEvent';
|
|
11
|
+
/**
|
|
12
|
+
* Represents the props of the [Kendo UI for Vue Stepper component]({% slug overview_stepper %}).
|
|
13
|
+
*/
|
|
14
|
+
export interface StepperProps {
|
|
15
|
+
/**
|
|
16
|
+
* Sets the duration of the Stepper animation. Defaults to `400ms`.
|
|
17
|
+
*/
|
|
18
|
+
animationDuration?: boolean | number;
|
|
19
|
+
/**
|
|
20
|
+
* Specifies a list of CSS classes that will be added to the Stepper.
|
|
21
|
+
*/
|
|
22
|
+
className?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Represents the `dir` HTML attribute. This is used to switch from LTR to RTL.
|
|
25
|
+
*/
|
|
26
|
+
dir?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Disables the whole Stepper.
|
|
29
|
+
*/
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Specifies a custom icon that will be rendered inside the step for invalid steps.
|
|
33
|
+
*/
|
|
34
|
+
errorIcon?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Overrides the default component responsible for visualizing a single item ([see example]({% slug custom_rendering_stepper %})).
|
|
37
|
+
*
|
|
38
|
+
* The default Component is: [Step]({% slug api_layout_step %}).
|
|
39
|
+
*/
|
|
40
|
+
item?: any;
|
|
41
|
+
/**
|
|
42
|
+
* The collection of steps that will be rendered in the Stepper ([see example]({% slug overview_stepper %})).
|
|
43
|
+
*/
|
|
44
|
+
items: Array<StepProps>;
|
|
45
|
+
/**
|
|
46
|
+
* Specifies the linear flow of the Stepper.
|
|
47
|
+
* ([see example]({% slug linear_mode_stepper %})).
|
|
48
|
+
*/
|
|
49
|
+
linear?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Specifies the display mode of the Stepper
|
|
52
|
+
* ([see example]({% slug display_modes_stepper %})).
|
|
53
|
+
* * The possible values are:
|
|
54
|
+
* * (Default) `steps`. Render step indicator and optional label.
|
|
55
|
+
* * `labels`. Render labels only.
|
|
56
|
+
*/
|
|
57
|
+
mode?: 'steps' | 'labels' | string;
|
|
58
|
+
/**
|
|
59
|
+
* Specifies the orientation of the Stepper
|
|
60
|
+
* ([see example]({% slug orientation_stepper %})).
|
|
61
|
+
*
|
|
62
|
+
* The possible values are:
|
|
63
|
+
* * (Default) `horizontal`
|
|
64
|
+
* * `vertical`
|
|
65
|
+
*/
|
|
66
|
+
orientation?: 'horizontal' | 'vertical' | string;
|
|
67
|
+
/**
|
|
68
|
+
* Specifies a custom icon that will be rendered inside the step for valid steps.
|
|
69
|
+
*/
|
|
70
|
+
successIcon?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Specifies the index of the selected Step.
|
|
73
|
+
*/
|
|
74
|
+
value: number;
|
|
75
|
+
/**
|
|
76
|
+
* The maximum value of the ProgressBar inside the Stepper. If not defined it is equal to the number of steps defined.
|
|
77
|
+
*/
|
|
78
|
+
progressTotal?: number;
|
|
79
|
+
/**
|
|
80
|
+
* Specifies the current progress of the ProgressBar inside the Stepper. If not defined it is equal to the current value.
|
|
81
|
+
*/
|
|
82
|
+
progress?: number;
|
|
83
|
+
/**
|
|
84
|
+
* @hidden
|
|
85
|
+
*/
|
|
86
|
+
modelValue?: number;
|
|
87
|
+
/**
|
|
88
|
+
* The event handler that will be fired when the value is changed.
|
|
89
|
+
*/
|
|
90
|
+
onChange?: (event: StepperChangeEvent) => void;
|
|
91
|
+
/**
|
|
92
|
+
* The event handler that will be fired when a Step is focused.
|
|
93
|
+
*/
|
|
94
|
+
onFocus?: (event: StepperFocusEvent) => void;
|
|
95
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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 optionalText = "stepper.optionalText";
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export declare const ariaLabel = "stepper.ariaLabel";
|
|
16
|
+
/**
|
|
17
|
+
* @hidden
|
|
18
|
+
*/
|
|
19
|
+
export declare const messages: {
|
|
20
|
+
"stepper.optionalText": string;
|
|
21
|
+
"stepper.ariaLabel": string;
|
|
22
|
+
};
|
|
@@ -0,0 +1,171 @@
|
|
|
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 { TabStripTabProperties } from './TabStripTab';
|
|
9
|
+
import { PropType } from 'vue';
|
|
10
|
+
/**
|
|
11
|
+
* The arguments that are passed to the `onSelect` callback function of the TabStrip.
|
|
12
|
+
*/
|
|
13
|
+
export interface TabStripSelectEventArguments {
|
|
14
|
+
/**
|
|
15
|
+
* The index of the selected TabStrip tab.
|
|
16
|
+
*/
|
|
17
|
+
selected: number;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Represents the emits of the [Kendo UI for Vue TabStrip component]({% slug overview_tabstrip %}).
|
|
21
|
+
*/
|
|
22
|
+
export interface TabStripEmits {
|
|
23
|
+
/**
|
|
24
|
+
* Fires each time the user makes a selection.
|
|
25
|
+
*/
|
|
26
|
+
onSelect?: (e: TabStripSelectEventArguments) => void;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The values of the `size` property of the TabStrip.
|
|
30
|
+
*/
|
|
31
|
+
export type TabStripSize = 'small' | 'medium' | 'large' | null;
|
|
32
|
+
/**
|
|
33
|
+
* Represents the props of the [Kendo UI for Vue TabStrip component]({% slug overview_tabstrip %}).
|
|
34
|
+
*/
|
|
35
|
+
export interface TabStripProps extends TabStripEmits {
|
|
36
|
+
/**
|
|
37
|
+
* Enables the tab animation.
|
|
38
|
+
*/
|
|
39
|
+
animation?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Sets the index of the selected TabStripTab component
|
|
42
|
+
* ([see example]({% slug tabs_tabstrip %}#toc-tabs-on-initial-loading)).
|
|
43
|
+
*/
|
|
44
|
+
selected?: number;
|
|
45
|
+
/**
|
|
46
|
+
* Specifies the possible sizes of the TabStrip.
|
|
47
|
+
*
|
|
48
|
+
* @default `medium`
|
|
49
|
+
*/
|
|
50
|
+
size?: TabStripSize;
|
|
51
|
+
/**
|
|
52
|
+
* The position in which the TabStripNavigation components will be rendered.
|
|
53
|
+
*
|
|
54
|
+
* The available options are:
|
|
55
|
+
* - `"top"`—Renders the `TabStripNavigation` components to the top of the TabStrip.
|
|
56
|
+
* - `"bottom"`—Renders the `TabStripNavigation` components to the bottom of the TabStrip.
|
|
57
|
+
* - `"left"`—Renders the `TabStripNavigation` components to the left of the TabStrip.
|
|
58
|
+
* - `"right"`—Renders the `TabStripNavigation` components to the right of the TabStrip.
|
|
59
|
+
*
|
|
60
|
+
* @default 'top'.
|
|
61
|
+
*/
|
|
62
|
+
tabPosition?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Sets the alignment of the tabs.
|
|
65
|
+
*
|
|
66
|
+
*
|
|
67
|
+
* The available options are:
|
|
68
|
+
* - `"start"`—Aligns the tabs at the start of the `TabStripNavigation`.
|
|
69
|
+
* - `"center"`—Aligns the tabs in the center of the `TabStripNavigation`.
|
|
70
|
+
* - `"end"`—Aligns the tabs at the end of the `TabStripNavigation`.
|
|
71
|
+
* - `"justify"`—Justifies the tabs inside the `TabStripNavigation`.
|
|
72
|
+
* - `"stretched"`—Stretches the tabs inside the `TabStripNavigation`.
|
|
73
|
+
*
|
|
74
|
+
* @default 'start'.
|
|
75
|
+
*/
|
|
76
|
+
tabAlignment?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Sets the array of tabs.
|
|
79
|
+
*/
|
|
80
|
+
tabs?: TabStripTabProperties[];
|
|
81
|
+
/**
|
|
82
|
+
* Sets the `tabIndex` of the TabStripNavigation.
|
|
83
|
+
*/
|
|
84
|
+
tabIndex?: number;
|
|
85
|
+
/**
|
|
86
|
+
* Sets the direction of the TabStrip component.
|
|
87
|
+
*/
|
|
88
|
+
dir?: string;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* @hidden
|
|
92
|
+
*/
|
|
93
|
+
declare const TabStrip: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
94
|
+
animation: {
|
|
95
|
+
type: PropType<boolean>;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
size: {
|
|
99
|
+
type: PropType<TabStripSize>;
|
|
100
|
+
};
|
|
101
|
+
selected: PropType<number>;
|
|
102
|
+
tabPosition: {
|
|
103
|
+
type: PropType<string>;
|
|
104
|
+
default: string;
|
|
105
|
+
};
|
|
106
|
+
tabAlignment: {
|
|
107
|
+
type: PropType<string>;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
|
+
tabs: {
|
|
111
|
+
type: PropType<TabStripTabProperties[]>;
|
|
112
|
+
default: any;
|
|
113
|
+
};
|
|
114
|
+
tabIndex: PropType<number>;
|
|
115
|
+
dir: PropType<string>;
|
|
116
|
+
}>, {}, {
|
|
117
|
+
currentShowAll: boolean;
|
|
118
|
+
currentTabs: any[];
|
|
119
|
+
showLicenseWatermark: boolean;
|
|
120
|
+
licenseMessage: any;
|
|
121
|
+
}, {
|
|
122
|
+
compTabs(): any;
|
|
123
|
+
}, {
|
|
124
|
+
addRenderTitle(currentId: string, titleTemplate: any): void;
|
|
125
|
+
addTab(newTab: TabStripTabProperties): void;
|
|
126
|
+
removeTab(currentId: string): void;
|
|
127
|
+
onSelect(index: number): void;
|
|
128
|
+
onKeyDown(event: any): void;
|
|
129
|
+
invertKeys(original: any, inverted: any): any;
|
|
130
|
+
firstNavigatableTab(): number;
|
|
131
|
+
lastNavigatableTab(): number;
|
|
132
|
+
prevNavigatableTab(): number;
|
|
133
|
+
nextNavigatableTab(): number;
|
|
134
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
135
|
+
select: (e: TabStripSelectEventArguments) => true;
|
|
136
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
137
|
+
animation: {
|
|
138
|
+
type: PropType<boolean>;
|
|
139
|
+
default: boolean;
|
|
140
|
+
};
|
|
141
|
+
size: {
|
|
142
|
+
type: PropType<TabStripSize>;
|
|
143
|
+
};
|
|
144
|
+
selected: PropType<number>;
|
|
145
|
+
tabPosition: {
|
|
146
|
+
type: PropType<string>;
|
|
147
|
+
default: string;
|
|
148
|
+
};
|
|
149
|
+
tabAlignment: {
|
|
150
|
+
type: PropType<string>;
|
|
151
|
+
default: string;
|
|
152
|
+
};
|
|
153
|
+
tabs: {
|
|
154
|
+
type: PropType<TabStripTabProperties[]>;
|
|
155
|
+
default: any;
|
|
156
|
+
};
|
|
157
|
+
tabIndex: PropType<number>;
|
|
158
|
+
dir: PropType<string>;
|
|
159
|
+
}>> & Readonly<{
|
|
160
|
+
onSelect?: (e: TabStripSelectEventArguments) => any;
|
|
161
|
+
}>, {
|
|
162
|
+
animation: boolean;
|
|
163
|
+
tabs: TabStripTabProperties[];
|
|
164
|
+
tabPosition: string;
|
|
165
|
+
tabAlignment: string;
|
|
166
|
+
}, {}, {}, {}, string, () => {
|
|
167
|
+
addRenderTitle: any;
|
|
168
|
+
addTab: any;
|
|
169
|
+
removeTab: any;
|
|
170
|
+
}, true, {}, any>;
|
|
171
|
+
export { TabStrip };
|
|
@@ -0,0 +1,71 @@
|
|
|
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
|
+
* The props that are passed to the TabStripContent by the TabStrip.
|
|
11
|
+
*/
|
|
12
|
+
export interface TabStripContentProps {
|
|
13
|
+
/**
|
|
14
|
+
* Defines whether the content appearance will be animated.
|
|
15
|
+
*/
|
|
16
|
+
animation?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Defines whether to render all the tabs.
|
|
19
|
+
*/
|
|
20
|
+
showAll?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* The index of the selected tab. Used to indicate which child to render.
|
|
23
|
+
*/
|
|
24
|
+
selected?: number;
|
|
25
|
+
/**
|
|
26
|
+
* The tabs collection.
|
|
27
|
+
*/
|
|
28
|
+
tabs?: Array<any>;
|
|
29
|
+
/**
|
|
30
|
+
* @hidden
|
|
31
|
+
*/
|
|
32
|
+
index?: number;
|
|
33
|
+
/**
|
|
34
|
+
* @hidden
|
|
35
|
+
*/
|
|
36
|
+
keepTabsMounted?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* @hidden
|
|
39
|
+
*/
|
|
40
|
+
hasTabs?: boolean;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* @hidden
|
|
44
|
+
*/
|
|
45
|
+
export interface TabStripContentMethods {
|
|
46
|
+
[key: string]: any;
|
|
47
|
+
addTab: () => void;
|
|
48
|
+
removeTab: (id: string) => void;
|
|
49
|
+
getTabs: (tabs: any[], children: any) => any;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* @hidden
|
|
53
|
+
*/
|
|
54
|
+
declare const TabStripContent: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
55
|
+
showAll: PropType<boolean>;
|
|
56
|
+
animation: PropType<boolean>;
|
|
57
|
+
tabs: PropType<any[]>;
|
|
58
|
+
selected: PropType<number>;
|
|
59
|
+
hasTabs: PropType<boolean>;
|
|
60
|
+
}>, {}, {
|
|
61
|
+
midAnimation: boolean;
|
|
62
|
+
}, {
|
|
63
|
+
animationClass(): any;
|
|
64
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
65
|
+
showAll: PropType<boolean>;
|
|
66
|
+
animation: PropType<boolean>;
|
|
67
|
+
tabs: PropType<any[]>;
|
|
68
|
+
selected: PropType<number>;
|
|
69
|
+
hasTabs: PropType<boolean>;
|
|
70
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
71
|
+
export { TabStripContent };
|
|
@@ -0,0 +1,101 @@
|
|
|
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
|
+
* The props that are passed to the TabStripNavigation by the TabStrip.
|
|
11
|
+
*/
|
|
12
|
+
export interface TabStripNavigationProps {
|
|
13
|
+
/**
|
|
14
|
+
* The tabs collection.
|
|
15
|
+
*/
|
|
16
|
+
tabs?: Array<any>;
|
|
17
|
+
/**
|
|
18
|
+
* Sets the index of the selected tab. Controlled by the TabStrip component.
|
|
19
|
+
*/
|
|
20
|
+
selected?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @hidden
|
|
23
|
+
* The event that is triggered when a tab is selected.
|
|
24
|
+
*/
|
|
25
|
+
onSelect?: (e: number) => void;
|
|
26
|
+
/**
|
|
27
|
+
* @hidden
|
|
28
|
+
* The event that is triggered when a key is pressed.
|
|
29
|
+
*/
|
|
30
|
+
onKeydown?: (e: number) => void;
|
|
31
|
+
/**
|
|
32
|
+
* @hidden
|
|
33
|
+
*/
|
|
34
|
+
tabIndex?: number;
|
|
35
|
+
/**
|
|
36
|
+
* @hidden
|
|
37
|
+
*/
|
|
38
|
+
tabPosition?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @hidden
|
|
41
|
+
*/
|
|
42
|
+
tabAlignment?: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* The props that are passed to the TabStripNavigation by the TabStrip.
|
|
46
|
+
*/
|
|
47
|
+
export interface TabStripNavigationEmits {
|
|
48
|
+
/**
|
|
49
|
+
* @hidden
|
|
50
|
+
*/
|
|
51
|
+
keydown?: any;
|
|
52
|
+
/**
|
|
53
|
+
* @hidden
|
|
54
|
+
*/
|
|
55
|
+
select?(idx: number): void;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* @hidden
|
|
59
|
+
*/
|
|
60
|
+
export interface TabStripNavigationComputed {
|
|
61
|
+
[key: string]: any;
|
|
62
|
+
wrapperNavClasses: object;
|
|
63
|
+
navClasses: object;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* @hidden
|
|
67
|
+
*/
|
|
68
|
+
declare const TabStripNavigation: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
69
|
+
tabs: PropType<any[]>;
|
|
70
|
+
selected: PropType<number>;
|
|
71
|
+
tabIndex: PropType<number>;
|
|
72
|
+
tabPosition: PropType<string>;
|
|
73
|
+
tabAlignment: PropType<string>;
|
|
74
|
+
onSelect: PropType<(e: number) => void>;
|
|
75
|
+
onKeydown: PropType<(e: number) => void>;
|
|
76
|
+
}>, {}, {}, {
|
|
77
|
+
wrapperNavClasses(): {
|
|
78
|
+
'k-tabstrip-items-wrapper': boolean;
|
|
79
|
+
'k-hstack': boolean;
|
|
80
|
+
'k-vstack': boolean;
|
|
81
|
+
};
|
|
82
|
+
navClasses(): string;
|
|
83
|
+
}, {
|
|
84
|
+
onKeyDown(e: any): void;
|
|
85
|
+
onNavigationItemSelect(idx: number): void;
|
|
86
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
87
|
+
select: any;
|
|
88
|
+
keydown: any;
|
|
89
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
90
|
+
tabs: PropType<any[]>;
|
|
91
|
+
selected: PropType<number>;
|
|
92
|
+
tabIndex: PropType<number>;
|
|
93
|
+
tabPosition: PropType<string>;
|
|
94
|
+
tabAlignment: PropType<string>;
|
|
95
|
+
onSelect: PropType<(e: number) => void>;
|
|
96
|
+
onKeydown: PropType<(e: number) => void>;
|
|
97
|
+
}>> & Readonly<{
|
|
98
|
+
onSelect?: (...args: any[] | unknown[]) => any;
|
|
99
|
+
onKeydown?: (...args: any[] | unknown[]) => any;
|
|
100
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
101
|
+
export { TabStripNavigation };
|
|
@@ -0,0 +1,118 @@
|
|
|
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
|
+
* The props that are passed by the TabStripNavigation to the TabStripNavigationItem.
|
|
11
|
+
*/
|
|
12
|
+
export interface TabStripNavigationItemProps {
|
|
13
|
+
/**
|
|
14
|
+
* Defines whether the current TabStripNavigationItem is selected.
|
|
15
|
+
*/
|
|
16
|
+
active?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Defines whether the TabStripNavigationItem is disabled.
|
|
19
|
+
*/
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Sets the index of the TabStripNavigationItem that is used to identify it.
|
|
23
|
+
*/
|
|
24
|
+
index: number;
|
|
25
|
+
/**
|
|
26
|
+
* Sets the id of the TabStripNavigationItem.
|
|
27
|
+
*/
|
|
28
|
+
id?: any;
|
|
29
|
+
/**
|
|
30
|
+
* Sets the title of the TabStripNavigationItem.
|
|
31
|
+
*/
|
|
32
|
+
title?: any;
|
|
33
|
+
/**
|
|
34
|
+
* Defines the custom rendering of the title. Accepts a Vue component, a `render` function, or a slot name.
|
|
35
|
+
*/
|
|
36
|
+
titleRender?: any;
|
|
37
|
+
/**
|
|
38
|
+
* @hidden
|
|
39
|
+
*/
|
|
40
|
+
first?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* @hidden
|
|
43
|
+
*/
|
|
44
|
+
last?: boolean;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* The emits that are triggered by the TabStripNavigation to the TabStripNavigationItem.
|
|
48
|
+
*/
|
|
49
|
+
export interface TabStripNavigationItemEmits {
|
|
50
|
+
/**
|
|
51
|
+
* @hidden
|
|
52
|
+
*/
|
|
53
|
+
select?(idx: number): void;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @hidden
|
|
57
|
+
*/
|
|
58
|
+
export interface TabStripNavigationItemComputed {
|
|
59
|
+
[key: string]: any;
|
|
60
|
+
itemClasses: object;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* @hidden
|
|
64
|
+
*/
|
|
65
|
+
declare const TabStripNavigationItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
66
|
+
active: PropType<boolean>;
|
|
67
|
+
disabled: PropType<boolean>;
|
|
68
|
+
index: PropType<number>;
|
|
69
|
+
title: {
|
|
70
|
+
type: PropType<any>;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
id: {
|
|
74
|
+
type: PropType<any>;
|
|
75
|
+
};
|
|
76
|
+
titleRender: PropType<any>;
|
|
77
|
+
first: {
|
|
78
|
+
type: PropType<boolean>;
|
|
79
|
+
default: any;
|
|
80
|
+
};
|
|
81
|
+
last: {
|
|
82
|
+
type: PropType<boolean>;
|
|
83
|
+
default: any;
|
|
84
|
+
};
|
|
85
|
+
}>, {}, {}, {
|
|
86
|
+
itemClasses(): TabStripNavigationItemComputed['itemClasses'];
|
|
87
|
+
}, {
|
|
88
|
+
onClick(): void;
|
|
89
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
90
|
+
select: any;
|
|
91
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
92
|
+
active: PropType<boolean>;
|
|
93
|
+
disabled: PropType<boolean>;
|
|
94
|
+
index: PropType<number>;
|
|
95
|
+
title: {
|
|
96
|
+
type: PropType<any>;
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
99
|
+
id: {
|
|
100
|
+
type: PropType<any>;
|
|
101
|
+
};
|
|
102
|
+
titleRender: PropType<any>;
|
|
103
|
+
first: {
|
|
104
|
+
type: PropType<boolean>;
|
|
105
|
+
default: any;
|
|
106
|
+
};
|
|
107
|
+
last: {
|
|
108
|
+
type: PropType<boolean>;
|
|
109
|
+
default: any;
|
|
110
|
+
};
|
|
111
|
+
}>> & Readonly<{
|
|
112
|
+
onSelect?: (...args: any[] | unknown[]) => any;
|
|
113
|
+
}>, {
|
|
114
|
+
title: any;
|
|
115
|
+
first: boolean;
|
|
116
|
+
last: boolean;
|
|
117
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
118
|
+
export { TabStripNavigationItem };
|
|
@@ -0,0 +1,59 @@
|
|
|
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
|
+
export interface TabStripTabProperties {
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
id?: string;
|
|
12
|
+
tabId?: string;
|
|
13
|
+
title?: string;
|
|
14
|
+
titleRender?: any;
|
|
15
|
+
content?: any;
|
|
16
|
+
contentClassName?: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Represents the props of the TabStrip tabs.
|
|
20
|
+
*/
|
|
21
|
+
export interface TabStripTabProps {
|
|
22
|
+
/**
|
|
23
|
+
* Defines whether a tab is disabled ([see example]({% slug tabs_tabstrip %}#toc-disabled-state)).
|
|
24
|
+
*/
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Sets the title of the tab ([see example]({% slug tabs_tabstrip %}#toc-titles)).
|
|
28
|
+
*/
|
|
29
|
+
title?: any;
|
|
30
|
+
/**
|
|
31
|
+
* Sets the id of the tab (li element).
|
|
32
|
+
*/
|
|
33
|
+
id?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Defines the custom rendering of the title. Accepts a Vue component, a `render` function, or a slot name.
|
|
36
|
+
*/
|
|
37
|
+
titleRender?: ((h: any, defaultRendering: any | null, props: any, listeners: any) => any) | any;
|
|
38
|
+
/**
|
|
39
|
+
* Specifies the CSS class names of the TabStripTab content.
|
|
40
|
+
*/
|
|
41
|
+
contentClassName?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @hidden
|
|
45
|
+
*/
|
|
46
|
+
declare const TabStripTab: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
47
|
+
disabled: PropType<boolean>;
|
|
48
|
+
contentClassName: PropType<string>;
|
|
49
|
+
title: PropType<any>;
|
|
50
|
+
id: PropType<string>;
|
|
51
|
+
titleRender: PropType<any>;
|
|
52
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
53
|
+
disabled: PropType<boolean>;
|
|
54
|
+
contentClassName: PropType<string>;
|
|
55
|
+
title: PropType<any>;
|
|
56
|
+
id: PropType<string>;
|
|
57
|
+
titleRender: PropType<any>;
|
|
58
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
59
|
+
export { TabStripTab };
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
export declare const getTabs: (this: any, curTabs: any[], children: any) => any[];
|