@progress/kendo-react-layout 7.0.3-develop.1 → 7.0.3-develop.10
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/LICENSE.md +1 -1
- package/NOTICE.txt +1 -1
- package/README.md +1 -1
- package/actionsheet/ActionSheet.d.ts +1 -1
- package/actionsheet/ActionSheetContent.d.ts +1 -1
- package/actionsheet/ActionSheetFooter.d.ts +1 -1
- package/actionsheet/ActionSheetHeader.d.ts +1 -1
- package/actionsheet/ActionSheetItem.d.ts +1 -1
- package/actionsheet/interfaces/ActionSheetChildrenProps.d.ts +1 -1
- package/actionsheet/interfaces/ActionSheetItemProps.d.ts +1 -1
- package/appbar/AppBar.d.ts +1 -1
- package/appbar/AppBarSection.d.ts +1 -1
- package/appbar/AppBarSpacer.d.ts +1 -1
- package/appbar/interfaces/AppBarProps.d.ts +1 -1
- package/appbar/interfaces/AppBarSectionProps.d.ts +1 -1
- package/appbar/interfaces/AppBarSpacerProps.d.ts +1 -1
- package/bottomnavigation/BottomNavigation.d.ts +1 -1
- package/bottomnavigation/BottomNavigationItem.d.ts +1 -1
- package/bottomnavigation/BottomNavigationItemProps.d.ts +1 -1
- package/bottomnavigation/BottomNavigationProps.d.ts +1 -1
- package/bottomnavigation/models/events.d.ts +1 -1
- package/bottomnavigation/models/utils.d.ts +1 -1
- package/breadcrumb/Breadcrumb.d.ts +1 -1
- package/breadcrumb/BreadcrumbDelimiter.d.ts +1 -1
- package/breadcrumb/BreadcrumbLink.d.ts +1 -1
- package/breadcrumb/BreadcrumbListItem.d.ts +1 -1
- package/breadcrumb/BreadcrumbOrderedList.d.ts +1 -1
- package/card/Avatar.d.ts +1 -1
- package/card/Card.d.ts +1 -1
- package/card/CardActions.d.ts +1 -1
- package/card/CardBody.d.ts +1 -1
- package/card/CardFooter.d.ts +1 -1
- package/card/CardHeader.d.ts +1 -1
- package/card/CardImage.d.ts +1 -1
- package/card/CardSubtitle.d.ts +1 -1
- package/card/CardTitle.d.ts +1 -1
- package/card/interfaces/AvatarProps.d.ts +1 -1
- package/card/interfaces/CardActionsProps.d.ts +1 -1
- package/card/interfaces/CardBodyProps.d.ts +1 -1
- package/card/interfaces/CardFooterProps.d.ts +1 -1
- package/card/interfaces/CardHandle.d.ts +1 -1
- package/card/interfaces/CardHeaderProps.d.ts +1 -1
- package/card/interfaces/CardImageProps.d.ts +1 -1
- package/card/interfaces/CardProps.d.ts +1 -1
- package/card/interfaces/CardSubtitleProps.d.ts +1 -1
- package/card/interfaces/CardTitleProps.d.ts +1 -1
- package/card/interfaces/Enums.d.ts +1 -1
- package/contextmenu/ContextMenu.d.ts +1 -1
- package/dist/cdn/js/kendo-react-layout.js +2 -2
- package/drawer/Drawer.d.ts +1 -1
- package/drawer/DrawerContent.d.ts +1 -1
- package/drawer/DrawerItem.d.ts +1 -1
- package/drawer/DrawerNavigation.d.ts +1 -1
- package/drawer/context/DrawerContext.d.ts +1 -1
- package/drawer/interfaces/DrawerAnimation.d.ts +1 -1
- package/drawer/interfaces/DrawerContentProps.d.ts +1 -1
- package/drawer/interfaces/DrawerItemHandle.d.ts +1 -1
- package/drawer/interfaces/DrawerItemProps.d.ts +1 -1
- package/drawer/interfaces/DrawerNavigationProps.d.ts +1 -1
- package/drawer/interfaces/DrawerProps.d.ts +1 -1
- package/drawer/interfaces/DrawerSelectEvent.d.ts +1 -1
- package/expansionpanel/ExpansionPanel.d.ts +1 -1
- package/expansionpanel/ExpansionPanelContent.d.ts +1 -1
- package/expansionpanel/index.d.ts +1 -1
- package/expansionpanel/interfaces.d.ts +1 -1
- package/gridlayout/GridLayout.d.ts +1 -1
- package/gridlayout/GridLayoutItem.d.ts +1 -1
- package/gridlayout/interfaces/GridLayoutColumnProps.d.ts +1 -1
- package/gridlayout/interfaces/GridLayoutItemProps.d.ts +1 -1
- package/gridlayout/interfaces/GridLayoutProps.d.ts +1 -1
- package/gridlayout/interfaces/GridLayoutRowProps.d.ts +1 -1
- package/index.d.mts +1 -1
- package/index.d.ts +1 -1
- package/index.js +2 -2
- package/index.mjs +99 -97
- package/menu/BaseMenuItemInternalProps.d.ts +1 -1
- package/menu/MenuProps.d.ts +1 -1
- package/menu/components/Menu.d.ts +1 -1
- package/menu/components/MenuItem.d.ts +1 -1
- package/menu/components/MenuItemArrow.d.ts +1 -1
- package/menu/components/MenuItemInternal.d.ts +1 -1
- package/menu/components/MenuItemLink.d.ts +1 -1
- package/menu/consts.d.ts +1 -1
- package/menu/events.d.ts +1 -1
- package/menu/models/BaseMenuItem.d.ts +1 -1
- package/menu/models/MenuItemModel.d.ts +1 -1
- package/menu/utils/DirectionHolder.d.ts +1 -1
- package/menu/utils/MouseOverHandler.d.ts +1 -1
- package/menu/utils/getNewItemIdUponKeyboardNavigation.d.ts +1 -1
- package/menu/utils/hoverDelay.d.ts +1 -1
- package/menu/utils/itemsIdsUtils.d.ts +1 -1
- package/menu/utils/misc.d.ts +1 -1
- package/menu/utils/prepareInputItemsForInternalWork.d.ts +1 -1
- package/package-metadata.d.ts +1 -1
- package/package.json +7 -7
- package/panelbar/PanelBar.d.ts +1 -1
- package/panelbar/PanelBarItem.d.ts +1 -1
- package/panelbar/interfaces/NavigationAction.d.ts +1 -1
- package/panelbar/interfaces/PanelBarItemClickEventArguments.d.ts +1 -1
- package/panelbar/interfaces/PanelBarItemProps.d.ts +1 -1
- package/panelbar/interfaces/PanelBarProps.d.ts +1 -1
- package/panelbar/interfaces/PanelBarSelectEventArguments.d.ts +1 -1
- package/panelbar/interfaces/RenderPanelBarItem.d.ts +1 -1
- package/panelbar/util.d.ts +1 -1
- package/splitter/Splitter.d.ts +1 -1
- package/splitter/SplitterBar.d.ts +1 -1
- package/splitter/SplitterPane.d.ts +1 -1
- package/splitter/messages/index.d.ts +1 -1
- package/stacklayout/StackLayout.d.ts +1 -1
- package/stacklayout/StackLayoutProps.d.ts +1 -1
- package/stepper/Step.d.ts +1 -1
- package/stepper/Stepper.d.ts +1 -1
- package/stepper/contants.d.ts +1 -1
- package/stepper/context/StepperContext.d.ts +1 -1
- package/stepper/interfaces/StepChangeEvent.d.ts +1 -1
- package/stepper/interfaces/StepFocusEvent.d.ts +1 -1
- package/stepper/interfaces/StepHandle.d.ts +1 -1
- package/stepper/interfaces/StepProps.d.ts +1 -1
- package/stepper/interfaces/StepperChangeEvent.d.ts +1 -1
- package/stepper/interfaces/StepperFocusEvent.d.ts +1 -1
- package/stepper/interfaces/StepperHandle.d.ts +1 -1
- package/stepper/interfaces/StepperProps.d.ts +1 -1
- package/stepper/messages/index.d.ts +1 -1
- package/tabstrip/TabStrip.d.ts +1 -1
- package/tabstrip/TabStripContent.d.ts +1 -1
- package/tabstrip/TabStripNavigation.d.ts +1 -1
- package/tabstrip/TabStripNavigationItem.d.ts +1 -1
- package/tabstrip/TabStripTab.d.ts +1 -1
- package/tilelayout/InternalTile.d.ts +1 -1
- package/tilelayout/ResizeHandlers.d.ts +1 -1
- package/tilelayout/TileLayout.d.ts +1 -1
- package/tilelayout/interfaces/index.d.ts +1 -1
- package/timeline/Timeline.d.ts +1 -1
- package/timeline/TimelineCard.d.ts +1 -1
- package/timeline/TimelineHorizontal.d.ts +1 -1
- package/timeline/TimelineVertical.d.ts +1 -1
- package/timeline/utils.d.ts +1 -1
package/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
"use client";
|
|
@@ -154,7 +154,7 @@ function ms(e, s, n, i, a, o) {
|
|
|
154
154
|
case C.esc:
|
|
155
155
|
return b();
|
|
156
156
|
default:
|
|
157
|
-
return
|
|
157
|
+
return w() ? y() : s;
|
|
158
158
|
}
|
|
159
159
|
function c() {
|
|
160
160
|
return a ? o ? R() : N() : o ? f() : E();
|
|
@@ -166,7 +166,7 @@ function ms(e, s, n, i, a, o) {
|
|
|
166
166
|
return a ? L() : J(s) ? v() : L();
|
|
167
167
|
}
|
|
168
168
|
function m() {
|
|
169
|
-
return a ? D() : J(s) ?
|
|
169
|
+
return a ? D() : J(s) ? S() : D();
|
|
170
170
|
}
|
|
171
171
|
function h() {
|
|
172
172
|
return l.disabled ? s : A() ? Lt(s) : ge(s);
|
|
@@ -189,7 +189,7 @@ function ms(e, s, n, i, a, o) {
|
|
|
189
189
|
return J(s) ? D() : as(s) ? v(D(ge(s))) : pe(s);
|
|
190
190
|
}
|
|
191
191
|
function N() {
|
|
192
|
-
return J(s) ?
|
|
192
|
+
return J(s) ? S() : pe(s);
|
|
193
193
|
}
|
|
194
194
|
function f() {
|
|
195
195
|
return J(s) ? L() : v(
|
|
@@ -204,10 +204,10 @@ function ms(e, s, n, i, a, o) {
|
|
|
204
204
|
function v(x) {
|
|
205
205
|
return ee(!0, x);
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function S(x) {
|
|
208
208
|
return ee(!1, x);
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function w() {
|
|
211
211
|
return i.length === 1 && us.test(i);
|
|
212
212
|
}
|
|
213
213
|
function O(x, M) {
|
|
@@ -622,7 +622,7 @@ const K = {
|
|
|
622
622
|
name: "@progress/kendo-react-layout",
|
|
623
623
|
productName: "KendoReact",
|
|
624
624
|
productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
|
|
625
|
-
publishDate:
|
|
625
|
+
publishDate: 1704459002,
|
|
626
626
|
version: "",
|
|
627
627
|
licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
628
628
|
}, _t = {
|
|
@@ -1409,7 +1409,7 @@ class ce extends t.PureComponent {
|
|
|
1409
1409
|
d ? "k-panelbar-collapse" : "k-panelbar-expand"
|
|
1410
1410
|
)
|
|
1411
1411
|
}
|
|
1412
|
-
) : null,
|
|
1412
|
+
) : null, S = !o && d || g ? /* @__PURE__ */ t.createElement(
|
|
1413
1413
|
"ul",
|
|
1414
1414
|
{
|
|
1415
1415
|
role: "group",
|
|
@@ -1419,20 +1419,20 @@ class ce extends t.PureComponent {
|
|
|
1419
1419
|
style: { display: g ? this.state.show ? "block" : "none" : "block" }
|
|
1420
1420
|
},
|
|
1421
1421
|
n
|
|
1422
|
-
) : null,
|
|
1422
|
+
) : null, w = (p === void 0 || p) && !o && n ? /* @__PURE__ */ t.createElement(
|
|
1423
1423
|
Qt,
|
|
1424
1424
|
{
|
|
1425
1425
|
transitionEnterDuration: 200,
|
|
1426
1426
|
transitionExitDuration: 200,
|
|
1427
1427
|
key: a + "_animation",
|
|
1428
1428
|
style: N,
|
|
1429
|
-
children:
|
|
1429
|
+
children: S,
|
|
1430
1430
|
childFactory: g && this.childFactory,
|
|
1431
1431
|
unmountOnExit: !g,
|
|
1432
1432
|
onBeforeEnter: () => g && this.setState({ show: !0 }),
|
|
1433
1433
|
onAfterExited: () => g && this.setState({ show: !1 })
|
|
1434
1434
|
}
|
|
1435
|
-
) :
|
|
1435
|
+
) : S;
|
|
1436
1436
|
return /* @__PURE__ */ t.createElement(
|
|
1437
1437
|
"li",
|
|
1438
1438
|
{
|
|
@@ -1441,7 +1441,7 @@ class ce extends t.PureComponent {
|
|
|
1441
1441
|
...b
|
|
1442
1442
|
},
|
|
1443
1443
|
/* @__PURE__ */ t.createElement("span", { className: E, onClick: this.handleItemClick }, f, /* @__PURE__ */ t.createElement("span", { className: "k-panelbar-item-text" }, i), R),
|
|
1444
|
-
|
|
1444
|
+
w
|
|
1445
1445
|
);
|
|
1446
1446
|
}
|
|
1447
1447
|
}
|
|
@@ -1978,22 +1978,22 @@ class Ls extends t.Component {
|
|
|
1978
1978
|
initialSize: a,
|
|
1979
1979
|
min: g(m.min) || h - g(u.max) || 0,
|
|
1980
1980
|
max: g(m.max) || h - g(u.min) || h
|
|
1981
|
-
}, E = (v,
|
|
1982
|
-
const
|
|
1983
|
-
return this.isPercent(
|
|
1981
|
+
}, E = (v, S) => {
|
|
1982
|
+
const w = d[v.index], O = this.clamp(v.min, v.max, v.initialSize + S);
|
|
1983
|
+
return this.isPercent(w.size || "") ? 100 * O / p + "%" : O + "px";
|
|
1984
1984
|
};
|
|
1985
1985
|
let N, f;
|
|
1986
1986
|
this.fixedSize(u.size) && this.fixedSize(m.size) ? (N = E(b, o), f = E(y, -o)) : m.collapsible || this.fixedSize(m.size) ? f = E(y, -o) : N = E(b, o);
|
|
1987
|
-
const R = d.map((v,
|
|
1988
|
-
const
|
|
1989
|
-
return
|
|
1990
|
-
...
|
|
1987
|
+
const R = d.map((v, S) => {
|
|
1988
|
+
const w = this.getPaneProps(v);
|
|
1989
|
+
return S === s ? {
|
|
1990
|
+
...w,
|
|
1991
1991
|
size: N
|
|
1992
|
-
} :
|
|
1993
|
-
...
|
|
1992
|
+
} : S === n ? {
|
|
1993
|
+
...w,
|
|
1994
1994
|
size: f
|
|
1995
1995
|
} : {
|
|
1996
|
-
...
|
|
1996
|
+
...w
|
|
1997
1997
|
};
|
|
1998
1998
|
});
|
|
1999
1999
|
this.panesDuringOnChange = R, this.isControlledState || this.setState({
|
|
@@ -2101,9 +2101,10 @@ const Nn = (e) => {
|
|
|
2101
2101
|
style: s.style,
|
|
2102
2102
|
className: k(
|
|
2103
2103
|
"k-card-actions",
|
|
2104
|
+
"k-actions",
|
|
2104
2105
|
s.className,
|
|
2105
|
-
`k-
|
|
2106
|
-
s.orientation !== Pe.VERTICAL ? "k-
|
|
2106
|
+
`k-actions-${s.layout}`,
|
|
2107
|
+
s.orientation !== Pe.VERTICAL ? "k-actions-horizontal" : "k-actions-vertical"
|
|
2107
2108
|
)
|
|
2108
2109
|
},
|
|
2109
2110
|
s.children
|
|
@@ -2123,7 +2124,7 @@ const wn = (e) => {
|
|
|
2123
2124
|
{
|
|
2124
2125
|
style: s.style,
|
|
2125
2126
|
className: k(
|
|
2126
|
-
"k-card-
|
|
2127
|
+
"k-card-media",
|
|
2127
2128
|
s.className
|
|
2128
2129
|
),
|
|
2129
2130
|
src: s.src,
|
|
@@ -2242,7 +2243,7 @@ const Fs = {
|
|
|
2242
2243
|
"k-disabled": d
|
|
2243
2244
|
},
|
|
2244
2245
|
n
|
|
2245
|
-
),
|
|
2246
|
+
), S = t.useCallback(
|
|
2246
2247
|
(O) => {
|
|
2247
2248
|
if (m && !d) {
|
|
2248
2249
|
const A = {
|
|
@@ -2254,7 +2255,7 @@ const Fs = {
|
|
|
2254
2255
|
}
|
|
2255
2256
|
},
|
|
2256
2257
|
[m, h, d]
|
|
2257
|
-
),
|
|
2258
|
+
), w = /* @__PURE__ */ t.createElement(t.Fragment, null, (o || l) && /* @__PURE__ */ t.createElement(Q, { name: o && jt(o), icon: l }), !y && E ? null : /* @__PURE__ */ t.createElement("span", { className: "k-item-text" }, a));
|
|
2258
2259
|
return c ? /* @__PURE__ */ t.createElement("li", { className: "k-drawer-item k-drawer-separator", role: "separator" }) : /* @__PURE__ */ t.createElement(
|
|
2259
2260
|
"li",
|
|
2260
2261
|
{
|
|
@@ -2264,11 +2265,11 @@ const Fs = {
|
|
|
2264
2265
|
role: "menuitem",
|
|
2265
2266
|
"aria-label": a,
|
|
2266
2267
|
"aria-disabled": d,
|
|
2267
|
-
onClick:
|
|
2268
|
+
onClick: S,
|
|
2268
2269
|
tabIndex: Oe(p, d),
|
|
2269
2270
|
...b
|
|
2270
2271
|
},
|
|
2271
|
-
N ? g :
|
|
2272
|
+
N ? g : w
|
|
2272
2273
|
);
|
|
2273
2274
|
});
|
|
2274
2275
|
pt.propTypes = {
|
|
@@ -2304,7 +2305,7 @@ const Bs = 240, Ks = 50, Hs = { type: "slide", duration: 200 }, _s = { type: "sl
|
|
|
2304
2305
|
f.current && f.current.focus();
|
|
2305
2306
|
},
|
|
2306
2307
|
[]
|
|
2307
|
-
), v = typeof l != "boolean" ? l : l === !1 ? _s : Hs,
|
|
2308
|
+
), v = typeof l != "boolean" ? l : l === !1 ? _s : Hs, S = g || Bs, w = b || Ks;
|
|
2308
2309
|
t.useImperativeHandle(s, () => ({
|
|
2309
2310
|
element: f.current,
|
|
2310
2311
|
focus: R
|
|
@@ -2320,7 +2321,7 @@ const Bs = 240, Ks = 50, Hs = { type: "slide", duration: 200 }, _s = { type: "sl
|
|
|
2320
2321
|
[u]
|
|
2321
2322
|
), A = {
|
|
2322
2323
|
opacity: 1,
|
|
2323
|
-
flexBasis:
|
|
2324
|
+
flexBasis: S,
|
|
2324
2325
|
WebkitTransition: "all " + (v && v.duration) + "ms",
|
|
2325
2326
|
/* Safari */
|
|
2326
2327
|
transition: "all " + (v && v.duration) + "ms"
|
|
@@ -2332,7 +2333,7 @@ const Bs = 240, Ks = 50, Hs = { type: "slide", duration: 200 }, _s = { type: "sl
|
|
|
2332
2333
|
transition: "all " + (v && v.duration) + "ms"
|
|
2333
2334
|
}, L = {
|
|
2334
2335
|
opacity: h ? 1 : 0,
|
|
2335
|
-
flexBasis: h ?
|
|
2336
|
+
flexBasis: h ? w : 0,
|
|
2336
2337
|
WebkitTransition: "all " + (v && v.duration) + "ms",
|
|
2337
2338
|
/* Safari */
|
|
2338
2339
|
transition: "all " + (v && v.duration) + "ms"
|
|
@@ -2382,7 +2383,7 @@ const Bs = 240, Ks = 50, Hs = { type: "slide", duration: 200 }, _s = { type: "sl
|
|
|
2382
2383
|
"div",
|
|
2383
2384
|
{
|
|
2384
2385
|
className: "k-drawer-wrapper",
|
|
2385
|
-
style: !c && h && d === "overlay" ? { width:
|
|
2386
|
+
style: !c && h && d === "overlay" ? { width: w } : { width: S }
|
|
2386
2387
|
},
|
|
2387
2388
|
x || n
|
|
2388
2389
|
),
|
|
@@ -2427,10 +2428,10 @@ const gt = t.forwardRef((e, s) => {
|
|
|
2427
2428
|
focus: f
|
|
2428
2429
|
}));
|
|
2429
2430
|
const R = t.useCallback(
|
|
2430
|
-
(
|
|
2431
|
+
(w, O, A) => {
|
|
2431
2432
|
if (p && E) {
|
|
2432
2433
|
const D = {
|
|
2433
|
-
itemTarget:
|
|
2434
|
+
itemTarget: w,
|
|
2434
2435
|
itemIndex: O,
|
|
2435
2436
|
syntheticEvent: A,
|
|
2436
2437
|
nativeEvent: A && A.nativeEvent,
|
|
@@ -2440,7 +2441,7 @@ const gt = t.forwardRef((e, s) => {
|
|
|
2440
2441
|
}
|
|
2441
2442
|
},
|
|
2442
2443
|
[p, E]
|
|
2443
|
-
), v = ve(N, e.dir),
|
|
2444
|
+
), v = ve(N, e.dir), S = k(
|
|
2444
2445
|
{
|
|
2445
2446
|
"k-drawer-container": !0,
|
|
2446
2447
|
"k-drawer-expanded": n,
|
|
@@ -2471,7 +2472,7 @@ const gt = t.forwardRef((e, s) => {
|
|
|
2471
2472
|
/* @__PURE__ */ t.createElement(
|
|
2472
2473
|
"div",
|
|
2473
2474
|
{
|
|
2474
|
-
className:
|
|
2475
|
+
className: S,
|
|
2475
2476
|
ref: N,
|
|
2476
2477
|
dir: v,
|
|
2477
2478
|
style: c,
|
|
@@ -2560,8 +2561,8 @@ const $s = {
|
|
|
2560
2561
|
isVertical: f,
|
|
2561
2562
|
item: R,
|
|
2562
2563
|
linear: v,
|
|
2563
|
-
mode:
|
|
2564
|
-
numOfSteps:
|
|
2564
|
+
mode: S,
|
|
2565
|
+
numOfSteps: w,
|
|
2565
2566
|
value: O,
|
|
2566
2567
|
onChange: A,
|
|
2567
2568
|
onFocus: D,
|
|
@@ -2582,7 +2583,7 @@ const $s = {
|
|
|
2582
2583
|
[x]
|
|
2583
2584
|
);
|
|
2584
2585
|
t.useImperativeHandle(s, M);
|
|
2585
|
-
const j = !v || u === O - 1 || u === O || u === O + 1, Y =
|
|
2586
|
+
const j = !v || u === O - 1 || u === O || u === O + 1, Y = S === "labels" || !!c && !!h, Z = en(), de = ((ne) => Z.toLanguageString(ne, Pn[ne]))(On), se = typeof N == "number" ? N : N !== !1 ? Rn : Dn, Ie = t.useCallback(
|
|
2586
2587
|
(ne) => {
|
|
2587
2588
|
A && !o && q(
|
|
2588
2589
|
A,
|
|
@@ -2607,7 +2608,7 @@ const $s = {
|
|
|
2607
2608
|
"k-step",
|
|
2608
2609
|
{
|
|
2609
2610
|
"k-step-first": u === 0,
|
|
2610
|
-
"k-step-last":
|
|
2611
|
+
"k-step-last": w && u === w - 1,
|
|
2611
2612
|
"k-step-done": u < O,
|
|
2612
2613
|
"k-step-current": a,
|
|
2613
2614
|
"k-step-optional": p,
|
|
@@ -2620,15 +2621,15 @@ const $s = {
|
|
|
2620
2621
|
},
|
|
2621
2622
|
i
|
|
2622
2623
|
),
|
|
2623
|
-
[u,
|
|
2624
|
+
[u, w, O, a, p, o, l, m, i]
|
|
2624
2625
|
), _ = t.useMemo(
|
|
2625
2626
|
() => ({
|
|
2626
|
-
maxWidth: f ? void 0 : `calc(100% / ${
|
|
2627
|
-
maxHeight: f ? `calc(100% / ${
|
|
2627
|
+
maxWidth: f ? void 0 : `calc(100% / ${w})`,
|
|
2628
|
+
maxHeight: f ? `calc(100% / ${w})` : void 0,
|
|
2628
2629
|
pointerEvents: j ? void 0 : "none",
|
|
2629
2630
|
...g
|
|
2630
2631
|
}),
|
|
2631
|
-
[f,
|
|
2632
|
+
[f, w, g, j]
|
|
2632
2633
|
), F = m ? L : B, V = F ? /* @__PURE__ */ t.createElement(
|
|
2633
2634
|
"span",
|
|
2634
2635
|
{
|
|
@@ -2642,7 +2643,7 @@ const $s = {
|
|
|
2642
2643
|
name: m ? "check-circle" : "exclamation-circle",
|
|
2643
2644
|
icon: m ? G || Yn : ee || Zn
|
|
2644
2645
|
}
|
|
2645
|
-
), me = /* @__PURE__ */ t.createElement(t.Fragment, null,
|
|
2646
|
+
), me = /* @__PURE__ */ t.createElement(t.Fragment, null, S !== "labels" ? /* @__PURE__ */ t.createElement(
|
|
2646
2647
|
"span",
|
|
2647
2648
|
{
|
|
2648
2649
|
className: "k-step-indicator",
|
|
@@ -2714,19 +2715,19 @@ const bt = t.forwardRef((e, s) => {
|
|
|
2714
2715
|
successSVGIcon: y,
|
|
2715
2716
|
onChange: E,
|
|
2716
2717
|
onFocus: N
|
|
2717
|
-
} = e, R = en().toLanguageString(st, Pn[st]), v = t.useRef(null),
|
|
2718
|
+
} = e, R = en().toLanguageString(st, Pn[st]), v = t.useRef(null), S = t.useCallback(
|
|
2718
2719
|
() => {
|
|
2719
2720
|
v.current && ke(v.current);
|
|
2720
2721
|
},
|
|
2721
2722
|
[]
|
|
2722
|
-
),
|
|
2723
|
+
), w = t.useCallback(
|
|
2723
2724
|
() => ({
|
|
2724
2725
|
element: v.current,
|
|
2725
|
-
focus:
|
|
2726
|
+
focus: S
|
|
2726
2727
|
}),
|
|
2727
|
-
[
|
|
2728
|
+
[S]
|
|
2728
2729
|
);
|
|
2729
|
-
t.useImperativeHandle(s,
|
|
2730
|
+
t.useImperativeHandle(s, w);
|
|
2730
2731
|
const O = e.value || Mn.value, [A, D] = t.useState(O), L = u ? u.length : 0, B = p === "vertical", G = Vt(v, e.dir), ee = typeof n == "number" ? n : n !== !1 ? Rn : Dn;
|
|
2731
2732
|
t.useEffect(() => {
|
|
2732
2733
|
D(O);
|
|
@@ -2737,7 +2738,7 @@ const bt = t.forwardRef((e, s) => {
|
|
|
2737
2738
|
O !== _ && E && !o && (!m || F || V || me) && (q(
|
|
2738
2739
|
E,
|
|
2739
2740
|
H,
|
|
2740
|
-
|
|
2741
|
+
w(),
|
|
2741
2742
|
{ value: _ }
|
|
2742
2743
|
), D(_));
|
|
2743
2744
|
},
|
|
@@ -2753,7 +2754,7 @@ const bt = t.forwardRef((e, s) => {
|
|
|
2753
2754
|
N && !o && q(
|
|
2754
2755
|
N,
|
|
2755
2756
|
H.syntheticEvent,
|
|
2756
|
-
|
|
2757
|
+
w(),
|
|
2757
2758
|
void 0
|
|
2758
2759
|
);
|
|
2759
2760
|
},
|
|
@@ -3459,7 +3460,7 @@ const qs = {
|
|
|
3459
3460
|
y && E !== void 0 && !l && y(A, E);
|
|
3460
3461
|
},
|
|
3461
3462
|
[y, E, l]
|
|
3462
|
-
),
|
|
3463
|
+
), S = d, w = c, O = /* @__PURE__ */ t.createElement(
|
|
3463
3464
|
"span",
|
|
3464
3465
|
{
|
|
3465
3466
|
ref: n,
|
|
@@ -3473,9 +3474,9 @@ const qs = {
|
|
|
3473
3474
|
"aria-current": o,
|
|
3474
3475
|
"aria-disabled": l
|
|
3475
3476
|
},
|
|
3476
|
-
|
|
3477
|
+
w ? /* @__PURE__ */ t.createElement(w, { itemIndex: E, item: u }) : /* @__PURE__ */ t.createElement(t.Fragment, null, (m || h) && /* @__PURE__ */ t.createElement(Q, { className: "k-bottom-nav-item-icon", name: m, icon: h, size: "xlarge" }), p && /* @__PURE__ */ t.createElement("span", { className: "k-bottom-nav-item-text", style: { userSelect: "none" } }, p))
|
|
3477
3478
|
);
|
|
3478
|
-
return
|
|
3479
|
+
return S !== void 0 ? S.call(void 0, O, e) : O;
|
|
3479
3480
|
}), Xs = {
|
|
3480
3481
|
tabIndex: 0
|
|
3481
3482
|
};
|
|
@@ -3526,7 +3527,7 @@ const vt = t.forwardRef((e, s) => {
|
|
|
3526
3527
|
), v = t.useMemo(
|
|
3527
3528
|
() => e.themeColor || fe.themeColor,
|
|
3528
3529
|
[e.themeColor]
|
|
3529
|
-
),
|
|
3530
|
+
), S = t.useMemo(
|
|
3530
3531
|
() => k(
|
|
3531
3532
|
"k-bottom-nav",
|
|
3532
3533
|
Gs[o],
|
|
@@ -3540,7 +3541,7 @@ const vt = t.forwardRef((e, s) => {
|
|
|
3540
3541
|
d
|
|
3541
3542
|
),
|
|
3542
3543
|
[o, v, R, l, c, p, d]
|
|
3543
|
-
),
|
|
3544
|
+
), w = t.useCallback(
|
|
3544
3545
|
(D, L) => {
|
|
3545
3546
|
u && !u[L].disabled && y && q(
|
|
3546
3547
|
y,
|
|
@@ -3555,15 +3556,15 @@ const vt = t.forwardRef((e, s) => {
|
|
|
3555
3556
|
[u, y]
|
|
3556
3557
|
), O = t.useCallback(
|
|
3557
3558
|
(D, L) => {
|
|
3558
|
-
|
|
3559
|
+
w(D, L);
|
|
3559
3560
|
},
|
|
3560
|
-
[
|
|
3561
|
+
[w]
|
|
3561
3562
|
), A = t.useCallback(
|
|
3562
3563
|
(D, L) => {
|
|
3563
3564
|
switch (D.keyCode) {
|
|
3564
3565
|
case C.enter:
|
|
3565
3566
|
case C.space:
|
|
3566
|
-
|
|
3567
|
+
w(D, L), D.preventDefault();
|
|
3567
3568
|
break;
|
|
3568
3569
|
}
|
|
3569
3570
|
q(
|
|
@@ -3573,13 +3574,13 @@ const vt = t.forwardRef((e, s) => {
|
|
|
3573
3574
|
void 0
|
|
3574
3575
|
);
|
|
3575
3576
|
},
|
|
3576
|
-
[
|
|
3577
|
+
[w, E]
|
|
3577
3578
|
);
|
|
3578
3579
|
return /* @__PURE__ */ t.createElement(
|
|
3579
3580
|
"nav",
|
|
3580
3581
|
{
|
|
3581
3582
|
ref: n,
|
|
3582
|
-
className:
|
|
3583
|
+
className: S,
|
|
3583
3584
|
style: g,
|
|
3584
3585
|
id: b || N,
|
|
3585
3586
|
dir: f
|
|
@@ -4044,12 +4045,12 @@ const wt = t.forwardRef((e, s) => {
|
|
|
4044
4045
|
)
|
|
4045
4046
|
},
|
|
4046
4047
|
/* @__PURE__ */ t.createElement(a, { rootItem: !0 }, /* @__PURE__ */ t.createElement(t.Fragment, null, e.data.map((f, R, v) => {
|
|
4047
|
-
const
|
|
4048
|
+
const S = f[g];
|
|
4048
4049
|
if (R === 0)
|
|
4049
4050
|
return /* @__PURE__ */ t.createElement(
|
|
4050
4051
|
o,
|
|
4051
4052
|
{
|
|
4052
|
-
key:
|
|
4053
|
+
key: S,
|
|
4053
4054
|
isFirstItem: !0,
|
|
4054
4055
|
isLastItem: v.length - 1 === R
|
|
4055
4056
|
},
|
|
@@ -4058,7 +4059,7 @@ const wt = t.forwardRef((e, s) => {
|
|
|
4058
4059
|
{
|
|
4059
4060
|
isLast: v.length - 1 === R,
|
|
4060
4061
|
isFirst: !0,
|
|
4061
|
-
id: String(
|
|
4062
|
+
id: String(S),
|
|
4062
4063
|
icon: f[b] || void 0,
|
|
4063
4064
|
iconClass: f[y] ? String(f[y]) : void 0,
|
|
4064
4065
|
text: f[E] ? String(f[E]) : void 0,
|
|
@@ -4071,12 +4072,12 @@ const wt = t.forwardRef((e, s) => {
|
|
|
4071
4072
|
);
|
|
4072
4073
|
}))),
|
|
4073
4074
|
/* @__PURE__ */ t.createElement(a, { rootItem: !1 }, /* @__PURE__ */ t.createElement(t.Fragment, null, e.data.map((f, R, v) => {
|
|
4074
|
-
const
|
|
4075
|
+
const S = f[g];
|
|
4075
4076
|
if (R !== 0)
|
|
4076
4077
|
return /* @__PURE__ */ t.createElement(
|
|
4077
4078
|
o,
|
|
4078
4079
|
{
|
|
4079
|
-
key:
|
|
4080
|
+
key: S,
|
|
4080
4081
|
isFirstItem: !1,
|
|
4081
4082
|
isLastItem: v.length - 1 === R
|
|
4082
4083
|
},
|
|
@@ -4086,7 +4087,7 @@ const wt = t.forwardRef((e, s) => {
|
|
|
4086
4087
|
{
|
|
4087
4088
|
isLast: v.length - 1 === R,
|
|
4088
4089
|
isFirst: !1,
|
|
4089
|
-
id: String(
|
|
4090
|
+
id: String(S),
|
|
4090
4091
|
icon: f[b] || void 0,
|
|
4091
4092
|
iconClass: f[y] ? String(f[y]) : void 0,
|
|
4092
4093
|
text: f[E] ? String(f[E]) : void 0,
|
|
@@ -4430,7 +4431,9 @@ const Dt = (e) => {
|
|
|
4430
4431
|
"aria-atomic": "true",
|
|
4431
4432
|
tabIndex: e.tabindex,
|
|
4432
4433
|
role: e.horizontal ? "tabpanel" : "button",
|
|
4433
|
-
"aria-expanded": e.collapsible && u
|
|
4434
|
+
"aria-expanded": e.collapsible && u,
|
|
4435
|
+
className: "k-card-with-callout",
|
|
4436
|
+
onClick: (b) => h(b)
|
|
4434
4437
|
},
|
|
4435
4438
|
/* @__PURE__ */ t.createElement(
|
|
4436
4439
|
"span",
|
|
@@ -4448,7 +4451,6 @@ const Dt = (e) => {
|
|
|
4448
4451
|
/* @__PURE__ */ t.createElement("div", { className: "k-card-inner" }, /* @__PURE__ */ t.createElement(In, null, /* @__PURE__ */ t.createElement(En, null, /* @__PURE__ */ t.createElement("span", { className: "k-event-title" }, n), e.collapsible && /* @__PURE__ */ t.createElement(
|
|
4449
4452
|
"span",
|
|
4450
4453
|
{
|
|
4451
|
-
onClick: (b) => h(b),
|
|
4452
4454
|
className: "k-event-collapse k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button"
|
|
4453
4455
|
},
|
|
4454
4456
|
/* @__PURE__ */ t.createElement(Xe, { icon: Jt })
|
|
@@ -4473,7 +4475,7 @@ const fi = (e) => e.sort((n, i) => n.date.getTime() - i.date.getTime()), _n = (e
|
|
|
4473
4475
|
let s;
|
|
4474
4476
|
return e.reduce((i, a) => (s !== a.date.getFullYear() ? (s = a.date.getFullYear(), i.push({ yearFlag: s }, a)) : i.push(a), i), []);
|
|
4475
4477
|
}, Wn = (e) => {
|
|
4476
|
-
const i = tn(), [a, o] = t.useState(!1), [l, c] = t.useState(!0), [d, u] = t.useState(), [m, h] = t.useState(0), [p, g] = t.useState(), [b, y] = t.useState(0), [E, N] = t.useState(0), [f, R] = t.useState(1), [v,
|
|
4478
|
+
const i = tn(), [a, o] = t.useState(!1), [l, c] = t.useState(!0), [d, u] = t.useState(), [m, h] = t.useState(0), [p, g] = t.useState(), [b, y] = t.useState(0), [E, N] = t.useState(0), [f, R] = t.useState(1), [v, S] = t.useState(), [w, O] = t.useState(), [A, D] = t.useState([0, 0, 0]), [L, B] = t.useState(0), [G, ee] = t.useState(1), $ = t.useRef(null), x = t.useRef(null), M = t.useRef(null), { eventsData: j, dateFormat: Y, navigatable: Z, onActionClick: re } = e, de = p ? `${p}%` : "150px", se = t.useRef(new ct({
|
|
4477
4479
|
tabIndex: 0,
|
|
4478
4480
|
root: $,
|
|
4479
4481
|
selectors: [".k-timeline-scrollable-wrap"]
|
|
@@ -4506,8 +4508,8 @@ const fi = (e) => e.sort((n, i) => n.date.getTime() - i.date.getTime()), _n = (e
|
|
|
4506
4508
|
const I = x.current, T = I && I.children[f];
|
|
4507
4509
|
if (T) {
|
|
4508
4510
|
const P = T.offsetWidth, z = !(m >= 0);
|
|
4509
|
-
if (o(z),
|
|
4510
|
-
const U =
|
|
4511
|
+
if (o(z), w) {
|
|
4512
|
+
const U = w.length * P > b * P * ((m * -1 + 100) / 100);
|
|
4511
4513
|
c(U);
|
|
4512
4514
|
}
|
|
4513
4515
|
(I == null ? void 0 : I.offsetWidth) * -m / 100 >= I.children.length * P && (V(), Me(), h((T.offsetLeft - T.offsetWidth) / (b * T.offsetWidth) * 100 * -1)), Ot(T);
|
|
@@ -4516,7 +4518,7 @@ const fi = (e) => e.sort((n, i) => n.date.getTime() - i.date.getTime()), _n = (e
|
|
|
4516
4518
|
const ue = (I, T, P) => {
|
|
4517
4519
|
if (x.current) {
|
|
4518
4520
|
const z = x.current.children[f + 1], U = z && z.classList.contains("k-timeline-flag-wrap") ? f + 2 : f + 1;
|
|
4519
|
-
if (
|
|
4521
|
+
if (w && w.length <= U)
|
|
4520
4522
|
return;
|
|
4521
4523
|
b + E <= U && Ee(), Ne(U, P);
|
|
4522
4524
|
}
|
|
@@ -4544,24 +4546,24 @@ const fi = (e) => e.sort((n, i) => n.date.getTime() - i.date.getTime()), _n = (e
|
|
|
4544
4546
|
}
|
|
4545
4547
|
}, V = () => {
|
|
4546
4548
|
const I = _n(j);
|
|
4547
|
-
O(I),
|
|
4549
|
+
O(I), S([I[f - 1], I[f], I[f + 1]]);
|
|
4548
4550
|
}, me = () => {
|
|
4549
4551
|
var T;
|
|
4550
|
-
if (x.current &&
|
|
4551
|
-
const P = E - b, z = E - 1, U =
|
|
4552
|
+
if (x.current && w) {
|
|
4553
|
+
const P = E - b, z = E - 1, U = w[z] && ((T = w[z]) != null && T.yearFlag) ? z - 1 : z, we = m + 100 > 0 ? 0 : m + 100;
|
|
4552
4554
|
he(!1, U, P, we);
|
|
4553
4555
|
}
|
|
4554
4556
|
}, Ee = () => {
|
|
4555
|
-
if (x.current &&
|
|
4556
|
-
const T = E + b, P =
|
|
4557
|
+
if (x.current && w) {
|
|
4558
|
+
const T = E + b, P = w[T] && w[T].yearFlag ? T + 1 : T, z = m - 100;
|
|
4557
4559
|
he(!0, P, T, z);
|
|
4558
4560
|
}
|
|
4559
4561
|
}, he = (I, T, P, z) => {
|
|
4560
4562
|
ne(I, T), Me(), N(P), h(z), R(T);
|
|
4561
4563
|
}, ne = (I, T) => {
|
|
4562
|
-
if (v &&
|
|
4563
|
-
const P = Ce(I, G), z = Object.assign([], v, { [P]:
|
|
4564
|
-
|
|
4564
|
+
if (v && w) {
|
|
4565
|
+
const P = Ce(I, G), z = Object.assign([], v, { [P]: w[T] });
|
|
4566
|
+
S(z), ee(P), B(I ? -100 : 100), setTimeout(() => {
|
|
4565
4567
|
var Mt;
|
|
4566
4568
|
const U = (Mt = $.current) == null ? void 0 : Mt.offsetWidth, we = Object.assign([], A, {
|
|
4567
4569
|
[P]: 0,
|
|
@@ -4571,7 +4573,7 @@ const fi = (e) => e.sort((n, i) => n.date.getTime() - i.date.getTime()), _n = (e
|
|
|
4571
4573
|
[Ce(!0, P)]: {},
|
|
4572
4574
|
[Ce(!1, P)]: {}
|
|
4573
4575
|
});
|
|
4574
|
-
|
|
4576
|
+
S(je), D(we), B(0);
|
|
4575
4577
|
}, e.transitionDuration || 300);
|
|
4576
4578
|
}
|
|
4577
4579
|
}, Ce = (I, T) => {
|
|
@@ -4596,7 +4598,7 @@ const fi = (e) => e.sort((n, i) => n.date.getTime() - i.date.getTime()), _n = (e
|
|
|
4596
4598
|
transformOrigin: "left top"
|
|
4597
4599
|
});
|
|
4598
4600
|
return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("div", { className: "k-timeline-track-wrap", ref: $, onKeyDown: Ie }, /* @__PURE__ */ t.createElement(
|
|
4599
|
-
"
|
|
4601
|
+
"button",
|
|
4600
4602
|
{
|
|
4601
4603
|
ref: M,
|
|
4602
4604
|
"aria-hidden": "true",
|
|
@@ -4610,7 +4612,7 @@ const fi = (e) => e.sort((n, i) => n.date.getTime() - i.date.getTime()), _n = (e
|
|
|
4610
4612
|
},
|
|
4611
4613
|
/* @__PURE__ */ t.createElement(Xe, { icon: ae })
|
|
4612
4614
|
), /* @__PURE__ */ t.createElement(
|
|
4613
|
-
"
|
|
4615
|
+
"button",
|
|
4614
4616
|
{
|
|
4615
4617
|
"aria-hidden": "true",
|
|
4616
4618
|
onClick: () => l && Ee(),
|
|
@@ -4631,7 +4633,7 @@ const fi = (e) => e.sort((n, i) => n.date.getTime() - i.date.getTime()), _n = (e
|
|
|
4631
4633
|
tabIndex: 0,
|
|
4632
4634
|
style: { transform: `translateX(${m}%)` }
|
|
4633
4635
|
},
|
|
4634
|
-
|
|
4636
|
+
w && w.map((I, T) => I.yearFlag ? /* @__PURE__ */ t.createElement(
|
|
4635
4637
|
"li",
|
|
4636
4638
|
{
|
|
4637
4639
|
role: "none",
|
|
@@ -4727,19 +4729,19 @@ const $n = (e) => {
|
|
|
4727
4729
|
u && g.current && g.current.triggerKeyboardEvent(f);
|
|
4728
4730
|
}, y = (f, R, v) => {
|
|
4729
4731
|
v.preventDefault();
|
|
4730
|
-
const
|
|
4731
|
-
|
|
4732
|
+
const S = f.querySelector(".k-card-title .k-event-collapse");
|
|
4733
|
+
S && S.click();
|
|
4732
4734
|
};
|
|
4733
4735
|
let E = 0;
|
|
4734
4736
|
const N = ye();
|
|
4735
4737
|
return /* @__PURE__ */ t.createElement("ul", { ref: p, onKeyDown: b }, n && n.map((f, R) => {
|
|
4736
4738
|
const v = (R + E) % 2 === 0;
|
|
4737
4739
|
f.yearFlag && (E += 1);
|
|
4738
|
-
const
|
|
4739
|
-
return /* @__PURE__ */ t.createElement(t.Fragment, { key: R }, f.yearFlag ? /* @__PURE__ */ t.createElement("li", { className: "k-timeline-flag-wrap" }, /* @__PURE__ */ t.createElement("span", { className: "k-timeline-flag" }, f.yearFlag)) : /* @__PURE__ */ t.createElement("li", { className: k("k-timeline-event",
|
|
4740
|
+
const S = N + "-" + R, w = d ? { "k-reverse": v } : void 0;
|
|
4741
|
+
return /* @__PURE__ */ t.createElement(t.Fragment, { key: R }, f.yearFlag ? /* @__PURE__ */ t.createElement("li", { className: "k-timeline-flag-wrap" }, /* @__PURE__ */ t.createElement("span", { className: "k-timeline-flag" }, f.yearFlag)) : /* @__PURE__ */ t.createElement("li", { className: k("k-timeline-event", w) }, /* @__PURE__ */ t.createElement("div", { className: "k-timeline-date-wrap" }, /* @__PURE__ */ t.createElement("span", { className: "k-timeline-date", id: S }, s.formatDate(f.date, c))), /* @__PURE__ */ t.createElement("span", { className: "k-timeline-circle" }), /* @__PURE__ */ t.createElement(
|
|
4740
4742
|
Dt,
|
|
4741
4743
|
{
|
|
4742
|
-
id:
|
|
4744
|
+
id: S,
|
|
4743
4745
|
tabindex: u ? 0 : -1,
|
|
4744
4746
|
eventData: f,
|
|
4745
4747
|
alternated: d && v,
|
|
@@ -4757,7 +4759,7 @@ $n.propTypes = {
|
|
|
4757
4759
|
const ti = (e) => {
|
|
4758
4760
|
const s = {
|
|
4759
4761
|
alterMode: !1,
|
|
4760
|
-
collapsibleEvents: !
|
|
4762
|
+
collapsibleEvents: !1,
|
|
4761
4763
|
dateFormat: "MMM dd, yyyy",
|
|
4762
4764
|
...e
|
|
4763
4765
|
}, {
|
|
@@ -4868,13 +4870,13 @@ const Un = t.forwardRef((e, s) => {
|
|
|
4868
4870
|
expandSVGIcon: g,
|
|
4869
4871
|
collapseSVGIcon: b
|
|
4870
4872
|
} = e, y = t.useCallback(
|
|
4871
|
-
(
|
|
4872
|
-
q(m,
|
|
4873
|
+
(S) => {
|
|
4874
|
+
q(m, S, o(), { expanded: l });
|
|
4873
4875
|
},
|
|
4874
4876
|
[m, l]
|
|
4875
4877
|
), E = t.useCallback(
|
|
4876
|
-
(
|
|
4877
|
-
(
|
|
4878
|
+
(S) => {
|
|
4879
|
+
(S.keyCode === C.enter || S.keyCode === C.space) && (S.preventDefault(), q(m, S, o(), { expanded: l }));
|
|
4878
4880
|
},
|
|
4879
4881
|
[m, l]
|
|
4880
4882
|
), N = t.useCallback(() => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
package/menu/MenuProps.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { MenuItemModel } from './models/MenuItemModel';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|