@progress/kendo-react-layout 9.0.0-develop.2 → 9.0.0-develop.21
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/README.md +82 -82
- package/actionsheet/ActionSheet.js +1 -1
- package/actionsheet/ActionSheet.mjs +151 -162
- package/actionsheet/ActionSheetFooter.mjs +1 -10
- package/actionsheet/ActionSheetHeader.mjs +1 -10
- package/actionsheet/ActionSheetItem.mjs +10 -7
- package/appbar/AppBar.mjs +5 -30
- package/appbar/AppBarSection.mjs +4 -17
- package/appbar/AppBarSpacer.mjs +6 -16
- package/bottomnavigation/BottomNavigation.mjs +30 -54
- package/bottomnavigation/BottomNavigationItem.mjs +63 -61
- package/breadcrumb/Breadcrumb.mjs +39 -63
- package/breadcrumb/BreadcrumbDelimiter.mjs +29 -24
- package/breadcrumb/BreadcrumbLink.mjs +16 -18
- package/breadcrumb/BreadcrumbListItem.mjs +31 -29
- package/breadcrumb/BreadcrumbOrderedList.mjs +47 -42
- package/card/Avatar.mjs +15 -1
- package/card/CardBody.mjs +1 -11
- package/card/CardFooter.mjs +1 -11
- package/card/CardHeader.mjs +1 -11
- package/card/CardImage.mjs +1 -4
- package/card/CardSubtitle.mjs +1 -11
- package/card/CardTitle.mjs +1 -11
- package/dist/cdn/js/kendo-react-layout.js +1 -1
- package/drawer/Drawer.mjs +10 -21
- package/drawer/DrawerContent.mjs +6 -3
- package/drawer/DrawerItem.mjs +10 -10
- package/drawer/DrawerNavigation.mjs +109 -130
- package/expansionpanel/ExpansionPanel.mjs +12 -15
- package/expansionpanel/ExpansionPanelContent.mjs +3 -9
- package/gridlayout/GridLayout.mjs +1 -10
- package/gridlayout/GridLayoutItem.mjs +1 -10
- package/index.d.mts +43 -41
- package/index.d.ts +43 -41
- package/index.js +1 -1
- package/index.mjs +39 -38
- package/menu/components/MenuItemLink.mjs +4 -17
- package/menu/utils/getNewItemIdUponKeyboardNavigation.js +1 -1
- package/menu/utils/getNewItemIdUponKeyboardNavigation.mjs +55 -57
- package/menu/utils/hoverDelay.js +1 -1
- package/menu/utils/hoverDelay.mjs +2 -2
- package/menu/utils/itemsIdsUtils.js +1 -1
- package/menu/utils/itemsIdsUtils.mjs +14 -18
- package/menu/utils/misc.js +1 -1
- package/menu/utils/misc.mjs +2 -2
- package/menu/utils/prepareInputItemsForInternalWork.js +1 -1
- package/menu/utils/prepareInputItemsForInternalWork.mjs +30 -31
- package/package-metadata.mjs +1 -1
- package/package.json +6 -6
- package/panelbar/PanelBar.mjs +2 -7
- package/panelbar/util.js +1 -1
- package/panelbar/util.mjs +27 -40
- package/splitter/SplitterBar.mjs +23 -40
- package/splitter/SplitterPane.mjs +1 -11
- package/stacklayout/StackLayout.mjs +2 -14
- package/stepper/Step.mjs +25 -46
- package/stepper/Stepper.js +1 -1
- package/stepper/Stepper.mjs +147 -186
- package/tabstrip/TabStripContent.mjs +2 -14
- package/tabstrip/TabStripTab.mjs +2 -9
- package/tilelayout/InternalTile.mjs +31 -19
- package/tilelayout/ResizeHandlers.mjs +7 -1
- package/tilelayout/TileLayout.mjs +24 -20
- package/timeline/TimelineCard.mjs +1 -4
- package/timeline/TimelineHorizontal.mjs +52 -63
- package/timeline/TimelineVertical.mjs +7 -5
- package/timeline/utils.mjs +4 -1
package/menu/utils/misc.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 client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../consts.js"),d=require("./itemsIdsUtils.js");function
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../consts.js"),d=require("./itemsIdsUtils.js");function u(t,r,e){const o=i(t,r,e);return e?o==="downward"?n.POPUP_SETTINGS_RTL.downward:n.POPUP_SETTINGS_RTL.leftward:o==="downward"?n.POPUP_SETTINGS.downward:n.POPUP_SETTINGS.rightward}function i(t,r,e){return d.isIdZeroLevel(t)?r?e?"leftward":"rightward":"downward":e?"leftward":"rightward"}function l(t){return t?"rtl":"ltr"}function P(t,r){return`${t}_${r}`}exports.convertBoolDirectionToString=l;exports.getChildrenPosition=i;exports.getDOMElementId=P;exports.getPopupSettings=u;
|
package/menu/utils/misc.mjs
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"use client";
|
|
9
9
|
import { POPUP_SETTINGS_RTL as o, POPUP_SETTINGS as d } from "../consts.mjs";
|
|
10
10
|
import { isIdZeroLevel as i } from "./itemsIdsUtils.mjs";
|
|
11
|
-
function
|
|
11
|
+
function l(r, n, t) {
|
|
12
12
|
const e = w(r, n, t);
|
|
13
13
|
return t ? e === "downward" ? o.downward : o.leftward : e === "downward" ? d.downward : d.rightward;
|
|
14
14
|
}
|
|
@@ -25,5 +25,5 @@ export {
|
|
|
25
25
|
f as convertBoolDirectionToString,
|
|
26
26
|
w as getChildrenPosition,
|
|
27
27
|
P as getDOMElementId,
|
|
28
|
-
|
|
28
|
+
l as getPopupSettings
|
|
29
29
|
};
|
|
@@ -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 client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react"),s=require("./itemsIdsUtils.js"),R=require("../components/MenuItem.js");function O(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,r.get?r:{enumerable:!0,get:()=>t[e]})}}return n.default=t,Object.freeze(n)}const S=O(y);function C(t,n){if(t&&t.length>0)return{items:u(t),inputItems:t};if(c(n).length>0){const e=h(c(n));return{items:u(e),inputItems:e}}
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react"),s=require("./itemsIdsUtils.js"),R=require("../components/MenuItem.js");function O(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,r.get?r:{enumerable:!0,get:()=>t[e]})}}return n.default=t,Object.freeze(n)}const S=O(y);function C(t,n){if(t&&t.length>0)return{items:u(t),inputItems:t};if(c(n).length>0){const e=h(c(n));return{items:u(e),inputItems:e}}return{items:[],inputItems:[]}}function b(t,n){const e={},{text:r,url:o,icon:i,svgIcon:a,disabled:d,cssClass:l,cssStyle:f,render:p,linkRender:I,contentRender:m,data:g,separator:v}=t||n.props;return r!==void 0&&(e.text=r),o!==void 0&&(e.url=o),i!==void 0&&(e.icon=i),a!==void 0&&(e.svgIcon=a),d!==void 0&&(e.disabled=d),l!==void 0&&(e.cssClass=l),f!==void 0&&(e.cssStyle=f),p!==void 0&&(e.render=p),I!==void 0&&(e.linkRender=I),m!==void 0&&(e.contentRender=m),g!==void 0&&(e.data=g),v!==void 0&&(e.separator=v),e}function c(t){return S.Children.toArray(t).filter(n=>n&&n.type===R.MenuItem)}function h(t){const n=[];for(let e=0;e<t.length;e++){const r=t[e],o=b(void 0,r),i=h(c(r.props.children));i.length>0&&(o.items=i),n.push(o)}return n}function u(t,n){const e=[];for(let r=0;r<t.length;r++){const o=t[r],i=b(o);i.id=s.createId(r.toString(),n),i.isLastFromSiblings=r===t.length-1,i.separator=o.separator===!0,i.items=_(o,i),e.push(i)}return e}function _(t,n){return t.contentRender?[{contentParentItemId:n.id,id:s.createId(s.ZERO_LEVEL_ZERO_ITEM_ID,n.id),isLastFromSiblings:!0,separator:!1,contentRender:t.contentRender,items:[]}]:t.items?u(t.items,n.id):[]}exports.prepareInputItemsForInternalWork=C;
|
|
@@ -9,66 +9,65 @@
|
|
|
9
9
|
import * as C from "react";
|
|
10
10
|
import { createId as g, ZERO_LEVEL_ZERO_ITEM_ID as y } from "./itemsIdsUtils.mjs";
|
|
11
11
|
import { MenuItem as x } from "../components/MenuItem.mjs";
|
|
12
|
-
function L(
|
|
13
|
-
if (
|
|
12
|
+
function L(e, n) {
|
|
13
|
+
if (e && e.length > 0)
|
|
14
14
|
return {
|
|
15
|
-
items: c(
|
|
16
|
-
inputItems:
|
|
15
|
+
items: c(e),
|
|
16
|
+
inputItems: e
|
|
17
17
|
};
|
|
18
18
|
if (s(n).length > 0) {
|
|
19
|
-
const
|
|
20
|
-
return { items: c(
|
|
21
|
-
}
|
|
22
|
-
|
|
19
|
+
const t = R(s(n));
|
|
20
|
+
return { items: c(t), inputItems: t };
|
|
21
|
+
}
|
|
22
|
+
return { items: [], inputItems: [] };
|
|
23
23
|
}
|
|
24
|
-
function h(
|
|
25
|
-
|
|
26
|
-
const {
|
|
24
|
+
function h(e, n) {
|
|
25
|
+
const t = {}, {
|
|
27
26
|
text: i,
|
|
28
27
|
url: o,
|
|
29
28
|
icon: r,
|
|
30
29
|
svgIcon: d,
|
|
31
|
-
disabled:
|
|
32
|
-
cssClass:
|
|
33
|
-
cssStyle:
|
|
30
|
+
disabled: u,
|
|
31
|
+
cssClass: f,
|
|
32
|
+
cssStyle: l,
|
|
34
33
|
render: a,
|
|
35
34
|
linkRender: p,
|
|
36
35
|
contentRender: m,
|
|
37
36
|
data: I,
|
|
38
37
|
separator: v
|
|
39
|
-
} =
|
|
40
|
-
return i !== void 0 && (
|
|
38
|
+
} = e || n.props;
|
|
39
|
+
return i !== void 0 && (t.text = i), o !== void 0 && (t.url = o), r !== void 0 && (t.icon = r), d !== void 0 && (t.svgIcon = d), u !== void 0 && (t.disabled = u), f !== void 0 && (t.cssClass = f), l !== void 0 && (t.cssStyle = l), a !== void 0 && (t.render = a), p !== void 0 && (t.linkRender = p), m !== void 0 && (t.contentRender = m), I !== void 0 && (t.data = I), v !== void 0 && (t.separator = v), t;
|
|
41
40
|
}
|
|
42
|
-
function s(
|
|
43
|
-
return C.Children.toArray(
|
|
41
|
+
function s(e) {
|
|
42
|
+
return C.Children.toArray(e).filter((n) => n && n.type === x);
|
|
44
43
|
}
|
|
45
|
-
function R(
|
|
44
|
+
function R(e) {
|
|
46
45
|
const n = [];
|
|
47
|
-
for (let
|
|
48
|
-
const i = t
|
|
46
|
+
for (let t = 0; t < e.length; t++) {
|
|
47
|
+
const i = e[t], o = h(void 0, i), r = R(s(i.props.children));
|
|
49
48
|
r.length > 0 && (o.items = r), n.push(o);
|
|
50
49
|
}
|
|
51
50
|
return n;
|
|
52
51
|
}
|
|
53
|
-
function c(
|
|
54
|
-
const
|
|
55
|
-
for (let i = 0; i <
|
|
56
|
-
const o =
|
|
57
|
-
r.id = g(i.toString(), n), r.isLastFromSiblings = i ===
|
|
52
|
+
function c(e, n) {
|
|
53
|
+
const t = [];
|
|
54
|
+
for (let i = 0; i < e.length; i++) {
|
|
55
|
+
const o = e[i], r = h(o);
|
|
56
|
+
r.id = g(i.toString(), n), r.isLastFromSiblings = i === e.length - 1, r.separator = o.separator === !0, r.items = E(o, r), t.push(r);
|
|
58
57
|
}
|
|
59
|
-
return
|
|
58
|
+
return t;
|
|
60
59
|
}
|
|
61
|
-
function E(
|
|
62
|
-
return
|
|
60
|
+
function E(e, n) {
|
|
61
|
+
return e.contentRender ? [
|
|
63
62
|
{
|
|
64
63
|
contentParentItemId: n.id,
|
|
65
64
|
id: g(y, n.id),
|
|
66
65
|
isLastFromSiblings: !0,
|
|
67
66
|
separator: !1,
|
|
68
|
-
contentRender:
|
|
67
|
+
contentRender: e.contentRender,
|
|
69
68
|
items: []
|
|
70
69
|
}
|
|
71
|
-
] :
|
|
70
|
+
] : e.items ? c(e.items, n.id) : [];
|
|
72
71
|
}
|
|
73
72
|
export {
|
|
74
73
|
L as prepareInputItemsForInternalWork
|
package/package-metadata.mjs
CHANGED
|
@@ -10,7 +10,7 @@ const e = {
|
|
|
10
10
|
name: "@progress/kendo-react-layout",
|
|
11
11
|
productName: "KendoReact",
|
|
12
12
|
productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
|
|
13
|
-
publishDate:
|
|
13
|
+
publishDate: 1731068539,
|
|
14
14
|
version: "",
|
|
15
15
|
licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
16
16
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-layout",
|
|
3
|
-
"version": "9.0.0-develop.
|
|
3
|
+
"version": "9.0.0-develop.21",
|
|
4
4
|
"description": "React Layout components enable you to create a perceptive and intuitive layout of web projects. KendoReact Layout package",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"sideEffects": false,
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"@progress/kendo-licensing": "^1.3.4",
|
|
26
|
-
"@progress/kendo-react-animation": "9.0.0-develop.
|
|
27
|
-
"@progress/kendo-react-common": "9.0.0-develop.
|
|
28
|
-
"@progress/kendo-react-intl": "9.0.0-develop.
|
|
29
|
-
"@progress/kendo-react-popup": "9.0.0-develop.
|
|
30
|
-
"@progress/kendo-react-progressbars": "9.0.0-develop.
|
|
26
|
+
"@progress/kendo-react-animation": "9.0.0-develop.21",
|
|
27
|
+
"@progress/kendo-react-common": "9.0.0-develop.21",
|
|
28
|
+
"@progress/kendo-react-intl": "9.0.0-develop.21",
|
|
29
|
+
"@progress/kendo-react-popup": "9.0.0-develop.21",
|
|
30
|
+
"@progress/kendo-react-progressbars": "9.0.0-develop.21",
|
|
31
31
|
"@progress/kendo-svg-icons": "^3.0.0",
|
|
32
32
|
"react": "^16.8.2 || ^17.0.0 || ^18.0.0",
|
|
33
33
|
"react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"
|
package/panelbar/PanelBar.mjs
CHANGED
|
@@ -157,10 +157,7 @@ const h = class h extends c.Component {
|
|
|
157
157
|
render() {
|
|
158
158
|
const a = {
|
|
159
159
|
"aria-activedescendant": this.activeDescendant
|
|
160
|
-
}, p = q(
|
|
161
|
-
"k-panelbar",
|
|
162
|
-
this.props.className
|
|
163
|
-
);
|
|
160
|
+
}, p = q("k-panelbar", this.props.className);
|
|
164
161
|
return /* @__PURE__ */ c.createElement(
|
|
165
162
|
"ul",
|
|
166
163
|
{
|
|
@@ -197,9 +194,7 @@ h.propTypes = {
|
|
|
197
194
|
"PanelBar children should be either PanelBarItem or Array of PanelBarItem."
|
|
198
195
|
);
|
|
199
196
|
} else if (t.type !== m)
|
|
200
|
-
return new Error(
|
|
201
|
-
"PanelBar child should be either PanelBarItem or Array of PanelBarItem."
|
|
202
|
-
);
|
|
197
|
+
return new Error("PanelBar child should be either PanelBarItem or Array of PanelBarItem.");
|
|
203
198
|
return null;
|
|
204
199
|
}
|
|
205
200
|
return null;
|
package/panelbar/util.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 client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const B=require("react"),
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const B=require("react"),l=require("./PanelBarItem.js"),d=require("./interfaces/NavigationAction.js");function F(n){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const e in n)if(e!=="default"){const o=Object.getOwnPropertyDescriptor(n,e);Object.defineProperty(r,e,o.get?o:{enumerable:!0,get:()=>n[e]})}}return r.default=n,Object.freeze(r)}const i=F(B),O=n=>typeof n!="object"||!("type"in n)||n.type!==l.PanelBarItem,y=({animation:n=!0,keepItemsMounted:r=!1,state:e,expanded:o,handleSelect:a,children:t,parentExpanded:c=!0,level:s=0,parentPrivateKey:f=[]})=>{const b=i.Children.toArray(t).filter(O),q=b.length?b:t;return i.Children.map(q,(p,C)=>{if(p&&p.type===l.PanelBarItem){let m;const u=g(p,f,C);if(p.props.children){const A={animation:n,keepItemsMounted:r,state:e,expanded:o,handleSelect:a,children:p.props.children,parentExpanded:(o||[]).indexOf(u)>-1,level:s+1,parentPrivateKey:[...f,u]};m=y(A)}return i.cloneElement(p,{...p.props,animation:p.props.animation!==void 0?p.props.animation:n,keepItemsMounted:r,id:p.props.id||`k-panelbar-item-default-${u}`,uniquePrivateKey:u,parentUniquePrivateKey:f,parentExpanded:c,level:s,expanded:(o||[]).indexOf(u)>-1,focused:e.focused===u&&e.wrapperFocused,selected:e.selected===u,children:m,onSelect:a})}return i.createElement("div",{className:"k-panelbar-content"},p)})},x=n=>{const r=i.Children.toArray(n.children)[0];return r?g(r,[],0):""},I=(n,r,e={expanded:n.expanded||[],selected:n.selected||"",focused:n.focused||"",wrapperFocused:!1},o=!0,a=[])=>(i.Children.map(n.children,(t,c)=>{if(t&&t.type===l.PanelBarItem){const s=g(t,a,c);!t.props.disabled&&o&&(t.props.selected&&(e.selected=s),t.props.focused&&(e.focused=s),t.props.expanded&&(r==="multiple"?e.expanded.push(s):r==="single"&&(e.expanded=[s])),t.props.children&&(e=I(t.props,r,e,!!t.props.expanded,[...a,s])))}}),e),g=(n,r,e)=>n&&n.props&&n.props.id?n.props.id:r.length?r[r.length-1]+`.${e}`:`.${e}`;function P(n,r=[]){return(n||[]).forEach(e=>{e.disabled||(r.push(e),e.expanded&&e.children&&P(e.children,r))}),r}function v(n,r=[]){return i.Children.forEach(n,e=>{e&&e.props&&!e.props.disabled&&(r.push(e),e.props.children&&v(e.props.children,r))}),r}function E(n,r=[]){return i.Children.forEach(n,e=>{e&&e.props&&(e.props.expanded||e.props.parentExpanded)&&(r.push(e),e.props.children&&E(e.props.children,r))}),r}const N=n=>n!=null;exports.PanelBarUtils=void 0;(n=>{function r(e){return e.map((o,a)=>{let t;return o.content&&(t=o.content),o.children&&(t=r(o.children)),i.createElement(l.PanelBarItem,{...o,children:t,key:o.id||a})})}n.mapItemsToComponents=r})(exports.PanelBarUtils||(exports.PanelBarUtils={}));const S=(n,r)=>n.length!==r.length?!1:n.every((e,o)=>e===r[o]),j=(n,r,e,o,a)=>{let t;if(a===d.NavigationAction.First||a===d.NavigationAction.Last)switch(a){case d.NavigationAction.First:t=n[0];break;case d.NavigationAction.Last:t=n[n.length-1];break}else n.forEach((c,s)=>{if(c.props.uniquePrivateKey===(e.uniquePrivateKey||o)){const f=s+r<0?n.length-1:s+r>n.length-1?0:s+r;t=n[f]}});return t};exports.flatChildren=v;exports.flatVisibleChildren=E;exports.flatVisibleItems=P;exports.getFirstId=x;exports.getFocusedChild=j;exports.getInitialState=I;exports.isArrayEqual=S;exports.isPresent=N;exports.renderChildren=y;
|
package/panelbar/util.mjs
CHANGED
|
@@ -20,11 +20,11 @@ const I = (r) => typeof r != "object" || !("type" in r) || r.type !== g, F = ({
|
|
|
20
20
|
level: s = 0,
|
|
21
21
|
parentPrivateKey: c = []
|
|
22
22
|
}) => {
|
|
23
|
-
const
|
|
23
|
+
const l = u.Children.toArray(o).filter(I), b = l.length ? l : o;
|
|
24
24
|
return u.Children.map(b, (a, x) => {
|
|
25
25
|
if (a && a.type === g) {
|
|
26
26
|
let y;
|
|
27
|
-
const f =
|
|
27
|
+
const f = m(a, c, x);
|
|
28
28
|
if (a.props.children) {
|
|
29
29
|
const v = {
|
|
30
30
|
animation: r,
|
|
@@ -39,30 +39,27 @@ const I = (r) => typeof r != "object" || !("type" in r) || r.type !== g, F = ({
|
|
|
39
39
|
};
|
|
40
40
|
y = F(v);
|
|
41
41
|
}
|
|
42
|
-
return u.cloneElement(
|
|
43
|
-
a,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
);
|
|
60
|
-
} else
|
|
61
|
-
return /* @__PURE__ */ u.createElement("div", { className: "k-panelbar-content" }, a);
|
|
42
|
+
return u.cloneElement(a, {
|
|
43
|
+
...a.props,
|
|
44
|
+
animation: a.props.animation !== void 0 ? a.props.animation : r,
|
|
45
|
+
keepItemsMounted: n,
|
|
46
|
+
id: a.props.id || `k-panelbar-item-default-${f}`,
|
|
47
|
+
uniquePrivateKey: f,
|
|
48
|
+
parentUniquePrivateKey: c,
|
|
49
|
+
parentExpanded: i,
|
|
50
|
+
level: s,
|
|
51
|
+
expanded: (p || []).indexOf(f) > -1,
|
|
52
|
+
focused: e.focused === f && e.wrapperFocused,
|
|
53
|
+
selected: e.selected === f,
|
|
54
|
+
children: y,
|
|
55
|
+
onSelect: t
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
return /* @__PURE__ */ u.createElement("div", { className: "k-panelbar-content" }, a);
|
|
62
59
|
});
|
|
63
60
|
}, $ = (r) => {
|
|
64
61
|
const n = u.Children.toArray(r.children)[0];
|
|
65
|
-
return n ?
|
|
62
|
+
return n ? m(n, [], 0) : "";
|
|
66
63
|
}, q = (r, n, e = {
|
|
67
64
|
expanded: r.expanded || [],
|
|
68
65
|
selected: r.selected || "",
|
|
@@ -70,16 +67,13 @@ const I = (r) => typeof r != "object" || !("type" in r) || r.type !== g, F = ({
|
|
|
70
67
|
wrapperFocused: !1
|
|
71
68
|
}, p = !0, t = []) => (u.Children.map(r.children, (o, i) => {
|
|
72
69
|
if (o && o.type === g) {
|
|
73
|
-
const s =
|
|
74
|
-
!o.props.disabled && p && (o.props.selected && (e.selected = s), o.props.focused && (e.focused = s), o.props.expanded && (n === "multiple" ? e.expanded.push(s) : n === "single" && (e.expanded = [s])), o.props.children && (e = q(
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
!!o.props.expanded,
|
|
79
|
-
[...t, s]
|
|
80
|
-
)));
|
|
70
|
+
const s = m(o, t, i);
|
|
71
|
+
!o.props.disabled && p && (o.props.selected && (e.selected = s), o.props.focused && (e.focused = s), o.props.expanded && (n === "multiple" ? e.expanded.push(s) : n === "single" && (e.expanded = [s])), o.props.children && (e = q(o.props, n, e, !!o.props.expanded, [
|
|
72
|
+
...t,
|
|
73
|
+
s
|
|
74
|
+
])));
|
|
81
75
|
}
|
|
82
|
-
}), e),
|
|
76
|
+
}), e), m = (r, n, e) => r && r.props && r.props.id ? r.props.id : n.length ? n[n.length - 1] + `.${e}` : `.${e}`;
|
|
83
77
|
function C(r, n = []) {
|
|
84
78
|
return (r || []).forEach((e) => {
|
|
85
79
|
e.disabled || (n.push(e), e.expanded && e.children && C(e.children, n));
|
|
@@ -101,14 +95,7 @@ var E;
|
|
|
101
95
|
function n(e) {
|
|
102
96
|
return e.map((p, t) => {
|
|
103
97
|
let o;
|
|
104
|
-
return p.content && (o = p.content), p.children && (o = n(p.children)), /* @__PURE__ */ u.createElement(
|
|
105
|
-
g,
|
|
106
|
-
{
|
|
107
|
-
...p,
|
|
108
|
-
children: o,
|
|
109
|
-
key: p.id || t
|
|
110
|
-
}
|
|
111
|
-
);
|
|
98
|
+
return p.content && (o = p.content), p.children && (o = n(p.children)), /* @__PURE__ */ u.createElement(g, { ...p, children: o, key: p.id || t });
|
|
112
99
|
});
|
|
113
100
|
}
|
|
114
101
|
r.mapItemsToComponents = n;
|
package/splitter/SplitterBar.mjs
CHANGED
|
@@ -77,18 +77,15 @@ class v extends l.Component {
|
|
|
77
77
|
}));
|
|
78
78
|
}
|
|
79
79
|
render() {
|
|
80
|
-
const a = this.isDraggable, s = this.isStatic, e = this.isHorizontal, o = f(
|
|
81
|
-
"k-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
"k-splitbar-static-vertical": !e && s
|
|
90
|
-
}
|
|
91
|
-
);
|
|
80
|
+
const a = this.isDraggable, s = this.isStatic, e = this.isHorizontal, o = f("k-splitbar", {
|
|
81
|
+
"k-focus": this.state.focused,
|
|
82
|
+
"k-splitbar-horizontal": e,
|
|
83
|
+
"k-splitbar-vertical": !e,
|
|
84
|
+
"k-splitbar-draggable-horizontal": e && a,
|
|
85
|
+
"k-splitbar-draggable-vertical": !e && a,
|
|
86
|
+
"k-splitbar-static-horizontal": e && s,
|
|
87
|
+
"k-splitbar-static-vertical": !e && s
|
|
88
|
+
});
|
|
92
89
|
return /* @__PURE__ */ l.createElement(
|
|
93
90
|
u,
|
|
94
91
|
{
|
|
@@ -116,37 +113,23 @@ class v extends l.Component {
|
|
|
116
113
|
onDoubleClick: this.onToggle,
|
|
117
114
|
onKeyDown: this.onKeyDown
|
|
118
115
|
},
|
|
119
|
-
this.props.prev.collapsible && /* @__PURE__ */ l.createElement(
|
|
120
|
-
|
|
116
|
+
this.props.prev.collapsible && /* @__PURE__ */ l.createElement("div", { className: "k-collapse-prev", onClick: this.onPrevToggle }, /* @__PURE__ */ l.createElement(
|
|
117
|
+
g,
|
|
121
118
|
{
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
{
|
|
128
|
-
name: this.props.prev.collapsible ? e ? this.props.prev.collapsed ? this.props.isRtl ? "caret-alt-left" : "caret-alt-right" : this.props.isRtl ? "caret-alt-right" : "caret-alt-left" : this.props.prev.collapsed ? "caret-alt-down" : "caret-alt-up" : void 0,
|
|
129
|
-
icon: this.props.prev.collapsible ? e ? this.props.prev.collapsed ? this.props.isRtl ? n : p : this.props.isRtl ? p : n : this.props.prev.collapsed ? h : b : void 0,
|
|
130
|
-
size: "xsmall"
|
|
131
|
-
}
|
|
132
|
-
)
|
|
133
|
-
),
|
|
119
|
+
name: this.props.prev.collapsible ? e ? this.props.prev.collapsed ? this.props.isRtl ? "caret-alt-left" : "caret-alt-right" : this.props.isRtl ? "caret-alt-right" : "caret-alt-left" : this.props.prev.collapsed ? "caret-alt-down" : "caret-alt-up" : void 0,
|
|
120
|
+
icon: this.props.prev.collapsible ? e ? this.props.prev.collapsed ? this.props.isRtl ? n : p : this.props.isRtl ? p : n : this.props.prev.collapsed ? h : b : void 0,
|
|
121
|
+
size: "xsmall"
|
|
122
|
+
}
|
|
123
|
+
)),
|
|
134
124
|
/* @__PURE__ */ l.createElement("div", { className: "k-resize-handle" }),
|
|
135
|
-
this.props.next.collapsible && /* @__PURE__ */ l.createElement(
|
|
136
|
-
|
|
125
|
+
this.props.next.collapsible && /* @__PURE__ */ l.createElement("div", { className: "k-collapse-next", onClick: this.onNextToggle }, /* @__PURE__ */ l.createElement(
|
|
126
|
+
g,
|
|
137
127
|
{
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
{
|
|
144
|
-
name: this.props.next.collapsible ? e ? this.props.next.collapsed ? this.props.isRtl ? "caret-alt-right" : "caret-alt-left" : this.props.isRtl ? "caret-alt-left" : "caret-alt-right" : this.props.next.collapsed ? "caret-alt-up" : "caret-alt-down" : void 0,
|
|
145
|
-
icon: this.props.next.collapsible ? e ? this.props.next.collapsed ? this.props.isRtl ? p : n : this.props.isRtl ? n : p : this.props.next.collapsed ? b : h : void 0,
|
|
146
|
-
size: "xsmall"
|
|
147
|
-
}
|
|
148
|
-
)
|
|
149
|
-
)
|
|
128
|
+
name: this.props.next.collapsible ? e ? this.props.next.collapsed ? this.props.isRtl ? "caret-alt-right" : "caret-alt-left" : this.props.isRtl ? "caret-alt-left" : "caret-alt-right" : this.props.next.collapsed ? "caret-alt-up" : "caret-alt-down" : void 0,
|
|
129
|
+
icon: this.props.next.collapsible ? e ? this.props.next.collapsed ? this.props.isRtl ? p : n : this.props.isRtl ? n : p : this.props.next.collapsed ? b : h : void 0,
|
|
130
|
+
size: "xsmall"
|
|
131
|
+
}
|
|
132
|
+
))
|
|
150
133
|
)
|
|
151
134
|
);
|
|
152
135
|
}
|
|
@@ -36,17 +36,7 @@ class x extends l.Component {
|
|
|
36
36
|
},
|
|
37
37
|
d
|
|
38
38
|
);
|
|
39
|
-
return /* @__PURE__ */ l.createElement(
|
|
40
|
-
"div",
|
|
41
|
-
{
|
|
42
|
-
id: t,
|
|
43
|
-
role: "group",
|
|
44
|
-
style: k,
|
|
45
|
-
className: v
|
|
46
|
-
},
|
|
47
|
-
!s || c ? this.props.children : void 0,
|
|
48
|
-
a ? /* @__PURE__ */ l.createElement("div", { className: "k-splitter-overlay k-overlay" }) : void 0
|
|
49
|
-
);
|
|
39
|
+
return /* @__PURE__ */ l.createElement("div", { id: t, role: "group", style: k, className: v }, !s || c ? this.props.children : void 0, a ? /* @__PURE__ */ l.createElement("div", { className: "k-splitter-overlay k-overlay" }) : void 0);
|
|
50
40
|
}
|
|
51
41
|
}
|
|
52
42
|
export {
|
|
@@ -19,10 +19,7 @@ const m = o.forwardRef((e, g) => {
|
|
|
19
19
|
[]
|
|
20
20
|
);
|
|
21
21
|
o.useImperativeHandle(g, d);
|
|
22
|
-
const { className: r, style: u, id: h, children: k } = e, y = A(), s = o.useMemo(
|
|
23
|
-
() => e.orientation || l.orientation,
|
|
24
|
-
[e.orientation]
|
|
25
|
-
), t = s === "horizontal", a = o.useMemo(
|
|
22
|
+
const { className: r, style: u, id: h, children: k } = e, y = A(), s = o.useMemo(() => e.orientation || l.orientation, [e.orientation]), t = s === "horizontal", a = o.useMemo(
|
|
26
23
|
() => e.align && e.align.horizontal ? e.align.horizontal : l.hAlign,
|
|
27
24
|
[e.align]
|
|
28
25
|
), i = o.useMemo(
|
|
@@ -50,16 +47,7 @@ const m = o.forwardRef((e, g) => {
|
|
|
50
47
|
gap: `${typeof e.gap == "number" ? e.gap + "px" : e.gap}`,
|
|
51
48
|
...u
|
|
52
49
|
};
|
|
53
|
-
return /* @__PURE__ */ o.createElement(
|
|
54
|
-
"div",
|
|
55
|
-
{
|
|
56
|
-
ref: c,
|
|
57
|
-
className: f,
|
|
58
|
-
style: v,
|
|
59
|
-
id: h || y
|
|
60
|
-
},
|
|
61
|
-
k
|
|
62
|
-
);
|
|
50
|
+
return /* @__PURE__ */ o.createElement("div", { ref: c, className: f, style: v, id: h || y }, k);
|
|
63
51
|
}), l = {
|
|
64
52
|
orientation: "horizontal",
|
|
65
53
|
hAlign: "stretch",
|
package/stepper/Step.mjs
CHANGED
|
@@ -46,12 +46,9 @@ const L = e.forwardRef((O, R) => {
|
|
|
46
46
|
errorIcon: w,
|
|
47
47
|
successSVGIcon: B,
|
|
48
48
|
errorSVGIcon: G
|
|
49
|
-
} = e.useContext(Y), p = e.useRef(null), F = e.useCallback(
|
|
50
|
-
()
|
|
51
|
-
|
|
52
|
-
},
|
|
53
|
-
[]
|
|
54
|
-
), v = e.useCallback(
|
|
49
|
+
} = e.useContext(Y), p = e.useRef(null), F = e.useCallback(() => {
|
|
50
|
+
p.current && Z(p.current);
|
|
51
|
+
}, []), v = e.useCallback(
|
|
55
52
|
() => ({
|
|
56
53
|
element: p.current,
|
|
57
54
|
focus: F
|
|
@@ -61,22 +58,12 @@ const L = e.forwardRef((O, R) => {
|
|
|
61
58
|
e.useImperativeHandle(R, v);
|
|
62
59
|
const I = !H || s === l - 1 || s === l || s === l + 1, N = S === "labels" || !!r && !!o, P = ae(), U = ((i) => P.toLanguageString(i, le[i]))(ie), W = typeof u == "number" ? u : u !== !1 ? oe : ce, $ = e.useCallback(
|
|
63
60
|
(i) => {
|
|
64
|
-
b && !n && M(
|
|
65
|
-
b,
|
|
66
|
-
i,
|
|
67
|
-
v(),
|
|
68
|
-
{ value: s }
|
|
69
|
-
);
|
|
61
|
+
b && !n && M(b, i, v(), { value: s });
|
|
70
62
|
},
|
|
71
63
|
[b, l, n]
|
|
72
64
|
), j = e.useCallback(
|
|
73
65
|
(i) => {
|
|
74
|
-
f && !n && M(
|
|
75
|
-
f,
|
|
76
|
-
i,
|
|
77
|
-
v(),
|
|
78
|
-
void 0
|
|
79
|
-
);
|
|
66
|
+
f && !n && M(f, i, v(), void 0);
|
|
80
67
|
},
|
|
81
68
|
[f, n]
|
|
82
69
|
), K = e.useMemo(
|
|
@@ -104,13 +91,7 @@ const L = e.forwardRef((O, R) => {
|
|
|
104
91
|
...C
|
|
105
92
|
}),
|
|
106
93
|
[k, c, C, I]
|
|
107
|
-
), A = t ? _ : w, x = A ? /* @__PURE__ */ e.createElement(
|
|
108
|
-
"span",
|
|
109
|
-
{
|
|
110
|
-
className: "k-step-indicator-icon " + A,
|
|
111
|
-
"aria-hidden": "true"
|
|
112
|
-
}
|
|
113
|
-
) : /* @__PURE__ */ e.createElement(
|
|
94
|
+
), A = t ? _ : w, x = A ? /* @__PURE__ */ e.createElement("span", { className: "k-step-indicator-icon " + A, "aria-hidden": "true" }) : /* @__PURE__ */ e.createElement(
|
|
114
95
|
T,
|
|
115
96
|
{
|
|
116
97
|
className: "k-step-indicator-icon",
|
|
@@ -124,30 +105,28 @@ const L = e.forwardRef((O, R) => {
|
|
|
124
105
|
"aria-hidden": !0,
|
|
125
106
|
style: { transitionDuration: W + "ms" }
|
|
126
107
|
},
|
|
127
|
-
r || h ? !N && t !== void 0 ? x : /* @__PURE__ */ e.createElement(
|
|
108
|
+
r || h ? !N && t !== void 0 ? x : /* @__PURE__ */ e.createElement(
|
|
109
|
+
T,
|
|
110
|
+
{
|
|
111
|
+
className: "k-step-indicator-icon",
|
|
112
|
+
name: r && te(r),
|
|
113
|
+
icon: h
|
|
114
|
+
}
|
|
115
|
+
) : t !== void 0 ? x : /* @__PURE__ */ e.createElement("span", { className: "k-step-indicator-text" }, y || s + 1)
|
|
128
116
|
) : null), Q = (o || N || m) && /* @__PURE__ */ e.createElement("span", { className: "k-step-label" }, o && /* @__PURE__ */ e.createElement("span", { className: "k-step-text" }, o), N && t !== void 0 && x, m && /* @__PURE__ */ e.createElement("span", { className: "k-step-label-optional" }, U)), X = /* @__PURE__ */ e.createElement(e.Fragment, null, J, Q);
|
|
129
|
-
return /* @__PURE__ */ e.createElement(
|
|
130
|
-
"
|
|
117
|
+
return /* @__PURE__ */ e.createElement("li", { ref: p, className: K, style: q, ...z }, /* @__PURE__ */ e.createElement(
|
|
118
|
+
"a",
|
|
131
119
|
{
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
120
|
+
className: "k-step-link",
|
|
121
|
+
title: o || void 0,
|
|
122
|
+
onClick: $,
|
|
123
|
+
onFocus: j,
|
|
124
|
+
"aria-current": d ? "step" : void 0,
|
|
125
|
+
"aria-disabled": n || !I || void 0,
|
|
126
|
+
"aria-invalid": t !== void 0 && !t || void 0
|
|
136
127
|
},
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
{
|
|
140
|
-
className: "k-step-link",
|
|
141
|
-
title: o || void 0,
|
|
142
|
-
onClick: $,
|
|
143
|
-
onFocus: j,
|
|
144
|
-
"aria-current": d ? "step" : void 0,
|
|
145
|
-
"aria-disabled": n || !I || void 0,
|
|
146
|
-
"aria-invalid": t !== void 0 && !t || void 0
|
|
147
|
-
},
|
|
148
|
-
D ? V : X
|
|
149
|
-
)
|
|
150
|
-
);
|
|
128
|
+
D ? V : X
|
|
129
|
+
));
|
|
151
130
|
});
|
|
152
131
|
L.propTypes = {
|
|
153
132
|
children: a.any,
|
package/stepper/Stepper.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 client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const te=require("react"),
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const te=require("react"),o=require("prop-types"),ne=require("./context/StepperContext.js"),d=require("@progress/kendo-react-common"),se=require("./Step.js"),oe=require("@progress/kendo-react-progressbars"),z=require("./contants.js"),re=require("../package-metadata.js"),ae=require("@progress/kendo-react-intl"),O=require("./messages/index.js");function ie(m){const k=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(m){for(const p in m)if(p!=="default"){const h=Object.getOwnPropertyDescriptor(m,p);Object.defineProperty(k,p,h.get?h:{enumerable:!0,get:()=>m[p]})}}return k.default=m,Object.freeze(k)}const e=ie(te),T=e.forwardRef((m,k)=>{d.validatePackage(re.packageMetadata);const{animationDuration:p,children:h,className:D,disabled:g,errorIcon:V,errorSVGIcon:j,item:P,items:b,linear:y,mode:_,orientation:S,selectOnFocus:E,style:w,successIcon:K,successSVGIcon:G,value:i=0,onChange:C,onFocus:N}=m,B=ae.useLocalization().toLanguageString(O.progBarAriaLabel,O.messages[O.progBarAriaLabel]),v=e.useRef(null),M=e.useCallback(()=>{v.current&&d.focusFirstFocusableChild(v.current)},[]),x=e.useCallback(()=>({element:v.current,focus:M}),[M]);e.useImperativeHandle(k,x);const[H,u]=e.useState(i),f=b?b.length:0,s=S==="vertical",R=d.useDir(v,m.dir),U=typeof p=="number"?p:p!==!1?z.DEFAULT_ANIMATION_DURATION:z.NO_ANIMATION;e.useEffect(()=>{u(i)},[i]);const q=e.useCallback((a,r)=>{const t=r===i-1,n=r===i,c=r===i+1;i!==r&&C&&!g&&(!y||t||n||c)&&(d.dispatchEvent(C,a,x(),{value:r}),u(r))},[i,y,C,g,u]),J=e.useCallback(a=>{const r=a.value,t=a.syntheticEvent;q(t,r)},[q]),Q=e.useCallback(a=>{N&&!g&&d.dispatchEvent(N,a.syntheticEvent,x(),void 0)},[N,g]),I=e.useMemo(()=>{const a=R==="rtl",r=b.length-1;return new d.Navigation({root:v,selectors:["ol.k-step-list li.k-step a.k-step-link"],tabIndex:0,keyboardEvents:{keydown:{Tab:(t,n,c)=>{c.preventDefault();const l=n.elements.indexOf(t),L=n.previous(t).children[0],A=n.next(t).children[0];c.shiftKey?!a&&l>0?(n.focusPrevious(t),u(l-1),E&&L.click()):a&&l<r&&(n.focusNext(t),u(l+1),E&&A.click()):!a&&l<r?(n.focusNext(t),u(l+1),E&&A.click()):a&&l>0&&(n.focusPrevious(t),u(l-1),E&&L.click())},Home:(t,n,c)=>{c.preventDefault(),n.focusElement(n.first,t),u(0)},End:(t,n,c)=>{c.preventDefault(),n.focusElement(n.last,t),u(r)},Space:(t,n,c)=>{c.preventDefault(),t.children[0].click()},Enter:(t,n,c)=>{c.preventDefault(),t.children[0].click()}}}})},[R,b.length,u,E]);e.useEffect(()=>(I.initializeRovingTab(i),()=>I.removeFocusListener()),[]);const W=e.useCallback(I.triggerKeyboardEvent.bind(I),[]),X=e.useMemo(()=>d.classNames("k-stepper",{"k-stepper-linear":y},D),[y,D]),Y=e.useMemo(()=>({display:"grid",gridTemplateColumns:s?void 0:"repeat("+f*2+", 1fr)",gridTemplateRows:s?"repeat("+f+", 1fr)":void 0,...w}),[s,f,w]),Z=e.useMemo(()=>d.classNames("k-step-list",{"k-step-list-horizontal":!s,"k-step-list-vertical":s}),[s]),$=e.useMemo(()=>({gridColumnStart:s?void 0:1,gridColumnEnd:s?void 0:-1,gridRowStart:s?1:void 0,gridRowEnd:s?-1:void 0}),[s]),ee=e.useMemo(()=>({gridColumnStart:s?void 0:2,gridColumnEnd:s?void 0:f*2,gridRowStart:s?1:void 0,gridRowEnd:s?f:void 0,top:s?17:void 0}),[s,f]),F=b&&b.map((a,r)=>{const t={index:r,disabled:g||a.disabled,focused:r===H,current:r===i,...a},n=P||se.Step;return e.createElement(n,{key:r,...t})});return e.createElement(ne.StepperContext.Provider,{value:{animationDuration:p,isVertical:s,item:P,linear:y,mode:_,numOfSteps:f,value:i,successIcon:K,successSVGIcon:G,errorIcon:V,errorSVGIcon:j,onChange:J,onFocus:Q}},e.createElement("nav",{className:X,style:Y,dir:R,role:"navigation",ref:v,onKeyDown:W},e.createElement("ol",{className:Z,style:$},F||h),e.createElement(oe.ProgressBar,{style:ee,labelPlacement:"start",animation:{duration:U},ariaLabel:B,"aria-hidden":!0,max:f-1,labelVisible:!1,orientation:S,reverse:S==="vertical",value:i,disabled:g,tabIndex:-1})))});T.propTypes={animationDuration:o.oneOfType([o.bool,o.number]),children:o.any,className:o.string,dir:o.string,disabled:o.bool,errorIcon:o.string,errorSVGIcon:d.svgIconPropType,item:o.any,items:o.any,linear:o.bool,mode:o.oneOf(["steps","labels"]),orientation:o.oneOf(["horizontal","vertical"]),style:o.object,successIcon:o.string,successSVGIcon:d.svgIconPropType,value:o.number.isRequired,onChange:o.func,onFocus:o.func};T.displayName="KendoStepper";exports.Stepper=T;
|