@progress/kendo-react-layout 13.2.1-develop.1 → 13.3.0-develop.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/README.md +1 -1
- package/actionsheet/ActionSheet.js +1 -1
- package/actionsheet/ActionSheet.mjs +1 -1
- package/actionsheet/ActionSheetContent.js +1 -1
- package/actionsheet/ActionSheetContent.mjs +1 -1
- package/actionsheet/ActionSheetFooter.js +1 -1
- package/actionsheet/ActionSheetFooter.mjs +1 -1
- package/actionsheet/ActionSheetHeader.js +1 -1
- package/actionsheet/ActionSheetHeader.mjs +1 -1
- package/actionsheet/ActionSheetItem.js +1 -1
- package/actionsheet/ActionSheetItem.mjs +1 -1
- package/actionsheet/ActionSheetView.js +1 -1
- package/actionsheet/ActionSheetView.mjs +1 -1
- package/appbar/AppBar.js +1 -1
- package/appbar/AppBar.mjs +1 -1
- package/appbar/AppBarSection.js +1 -1
- package/appbar/AppBarSection.mjs +1 -1
- package/appbar/AppBarSpacer.js +1 -1
- package/appbar/AppBarSpacer.mjs +1 -1
- package/bottomnavigation/BottomNavigation.js +1 -1
- package/bottomnavigation/BottomNavigation.mjs +1 -1
- package/bottomnavigation/BottomNavigationItem.js +1 -1
- package/bottomnavigation/BottomNavigationItem.mjs +1 -1
- package/bottomnavigation/models/utils.js +1 -1
- package/bottomnavigation/models/utils.mjs +1 -1
- package/breadcrumb/Breadcrumb.js +1 -1
- package/breadcrumb/Breadcrumb.mjs +1 -1
- package/breadcrumb/BreadcrumbDelimiter.js +1 -1
- package/breadcrumb/BreadcrumbDelimiter.mjs +1 -1
- package/breadcrumb/BreadcrumbLink.js +1 -1
- package/breadcrumb/BreadcrumbLink.mjs +1 -1
- package/breadcrumb/BreadcrumbListItem.js +1 -1
- package/breadcrumb/BreadcrumbListItem.mjs +1 -1
- package/breadcrumb/BreadcrumbOrderedList.js +1 -1
- package/breadcrumb/BreadcrumbOrderedList.mjs +1 -1
- package/card/Avatar.js +1 -1
- package/card/Avatar.mjs +1 -1
- package/card/Card.js +1 -1
- package/card/Card.mjs +1 -1
- package/card/CardActions.js +1 -1
- package/card/CardActions.mjs +1 -1
- package/card/CardBody.js +1 -1
- package/card/CardBody.mjs +1 -1
- package/card/CardFooter.js +1 -1
- package/card/CardFooter.mjs +1 -1
- package/card/CardHeader.js +1 -1
- package/card/CardHeader.mjs +1 -1
- package/card/CardImage.js +1 -1
- package/card/CardImage.mjs +1 -1
- package/card/CardSubtitle.js +1 -1
- package/card/CardSubtitle.mjs +1 -1
- package/card/CardTitle.js +1 -1
- package/card/CardTitle.mjs +1 -1
- package/card/interfaces/Enums.js +1 -1
- package/card/interfaces/Enums.mjs +1 -1
- package/contextmenu/ContextMenu.js +2 -2
- package/contextmenu/ContextMenu.mjs +21 -17
- package/dist/cdn/js/kendo-react-layout.js +3 -3
- package/drawer/Drawer.js +1 -1
- package/drawer/Drawer.mjs +1 -1
- package/drawer/DrawerContent.js +1 -1
- package/drawer/DrawerContent.mjs +1 -1
- package/drawer/DrawerItem.js +1 -1
- package/drawer/DrawerItem.mjs +1 -1
- package/drawer/DrawerNavigation.js +1 -1
- package/drawer/DrawerNavigation.mjs +1 -1
- package/drawer/context/DrawerContext.js +1 -1
- package/drawer/context/DrawerContext.mjs +1 -1
- package/expansionpanel/ExpansionPanel.js +1 -1
- package/expansionpanel/ExpansionPanel.mjs +1 -1
- package/expansionpanel/ExpansionPanelContent.js +1 -1
- package/expansionpanel/ExpansionPanelContent.mjs +1 -1
- package/gridlayout/GridLayout.js +1 -1
- package/gridlayout/GridLayout.mjs +1 -1
- package/gridlayout/GridLayoutItem.js +1 -1
- package/gridlayout/GridLayoutItem.mjs +1 -1
- package/index.d.mts +36 -5
- package/index.d.ts +36 -5
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/menu/components/Menu.js +2 -2
- package/menu/components/Menu.mjs +71 -49
- package/menu/components/MenuItem.js +1 -1
- package/menu/components/MenuItem.mjs +1 -1
- package/menu/components/MenuItemArrow.js +1 -1
- package/menu/components/MenuItemArrow.mjs +1 -1
- package/menu/components/MenuItemInternal.js +2 -2
- package/menu/components/MenuItemInternal.mjs +25 -20
- package/menu/components/MenuItemLink.js +1 -1
- package/menu/components/MenuItemLink.mjs +1 -1
- package/menu/consts.js +1 -1
- package/menu/consts.mjs +1 -1
- package/menu/utils/DirectionHolder.js +1 -1
- package/menu/utils/DirectionHolder.mjs +1 -1
- package/menu/utils/MouseOverHandler.js +1 -1
- package/menu/utils/MouseOverHandler.mjs +1 -1
- package/menu/utils/getNewItemIdUponKeyboardNavigation.js +1 -1
- package/menu/utils/getNewItemIdUponKeyboardNavigation.mjs +1 -1
- package/menu/utils/hoverDelay.js +1 -1
- package/menu/utils/hoverDelay.mjs +1 -1
- package/menu/utils/itemsIdsUtils.js +1 -1
- package/menu/utils/itemsIdsUtils.mjs +1 -1
- package/menu/utils/misc.js +1 -1
- package/menu/utils/misc.mjs +1 -1
- package/menu/utils/prepareInputItemsForInternalWork.js +1 -1
- package/menu/utils/prepareInputItemsForInternalWork.mjs +1 -1
- package/package-metadata.js +2 -2
- package/package-metadata.mjs +3 -3
- package/package.json +8 -8
- package/panelbar/PanelBar.js +1 -1
- package/panelbar/PanelBar.mjs +1 -1
- package/panelbar/PanelBarItem.js +1 -1
- package/panelbar/PanelBarItem.mjs +1 -1
- package/panelbar/interfaces/NavigationAction.js +1 -1
- package/panelbar/interfaces/NavigationAction.mjs +1 -1
- package/panelbar/util.js +1 -1
- package/panelbar/util.mjs +1 -1
- package/splitter/Splitter.js +1 -1
- package/splitter/Splitter.mjs +1 -1
- package/splitter/SplitterBar.js +1 -1
- package/splitter/SplitterBar.mjs +1 -1
- package/splitter/SplitterPane.js +1 -1
- package/splitter/SplitterPane.mjs +1 -1
- package/splitter/messages/index.js +1 -1
- package/splitter/messages/index.mjs +1 -1
- package/stacklayout/StackLayout.js +1 -1
- package/stacklayout/StackLayout.mjs +1 -1
- package/stepper/Step.js +1 -1
- package/stepper/Step.mjs +1 -1
- package/stepper/Stepper.js +1 -1
- package/stepper/Stepper.mjs +1 -1
- package/stepper/contants.js +1 -1
- package/stepper/contants.mjs +1 -1
- package/stepper/context/StepperContext.js +1 -1
- package/stepper/context/StepperContext.mjs +1 -1
- package/stepper/messages/index.js +1 -1
- package/stepper/messages/index.mjs +1 -1
- package/tabstrip/TabStrip.js +1 -1
- package/tabstrip/TabStrip.mjs +1 -1
- package/tabstrip/TabStripContent.js +1 -1
- package/tabstrip/TabStripContent.mjs +1 -1
- package/tabstrip/TabStripNavigation.js +1 -1
- package/tabstrip/TabStripNavigation.mjs +1 -1
- package/tabstrip/TabStripNavigationItem.js +1 -1
- package/tabstrip/TabStripNavigationItem.mjs +1 -1
- package/tabstrip/TabStripTab.js +1 -1
- package/tabstrip/TabStripTab.mjs +1 -1
- package/tabstrip/messages/index.js +1 -1
- package/tabstrip/messages/index.mjs +1 -1
- package/tilelayout/InternalTile.js +1 -1
- package/tilelayout/InternalTile.mjs +1 -1
- package/tilelayout/ResizeHandlers.js +1 -1
- package/tilelayout/ResizeHandlers.mjs +1 -1
- package/tilelayout/TileLayout.js +1 -1
- package/tilelayout/TileLayout.mjs +1 -1
- package/timeline/Timeline.js +1 -1
- package/timeline/Timeline.mjs +1 -1
- package/timeline/TimelineCard.js +1 -1
- package/timeline/TimelineCard.mjs +1 -1
- package/timeline/TimelineHorizontal.js +1 -1
- package/timeline/TimelineHorizontal.mjs +1 -1
- package/timeline/TimelineVertical.js +1 -1
- package/timeline/TimelineVertical.mjs +1 -1
- package/timeline/utils.js +1 -1
- package/timeline/utils.mjs +1 -1
package/menu/components/Menu.mjs
CHANGED
|
@@ -1,73 +1,93 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
import * as m from "react";
|
|
9
9
|
import i from "prop-types";
|
|
10
|
-
import { Keys as h, classNames as
|
|
11
|
-
import { EMPTY_ID as r, getItemById as a, getDirectParentId as
|
|
12
|
-
import { prepareInputItemsForInternalWork as
|
|
10
|
+
import { Keys as h, classNames as g, dispatchEvent as b } from "@progress/kendo-react-common";
|
|
11
|
+
import { EMPTY_ID as r, getItemById as a, isIdZeroLevel as p, getDirectParentId as C, getRootParentId as R, isIdEmptyOrZeroLevel as l, ZERO_LEVEL_ZERO_ITEM_ID as f } from "../utils/itemsIdsUtils.mjs";
|
|
12
|
+
import { prepareInputItemsForInternalWork as D } from "../utils/prepareInputItemsForInternalWork.mjs";
|
|
13
13
|
import { getNewItemIdUponKeyboardNavigation as I } from "../utils/getNewItemIdUponKeyboardNavigation.mjs";
|
|
14
|
-
import { getHoverOpenDelay as
|
|
15
|
-
import { MenuItemInternalsList as
|
|
16
|
-
import { DirectionHolder as
|
|
17
|
-
import { MouseOverHandler as
|
|
18
|
-
const
|
|
14
|
+
import { getHoverOpenDelay as H, getHoverCloseDelay as O } from "../utils/hoverDelay.mjs";
|
|
15
|
+
import { MenuItemInternalsList as y } from "./MenuItemInternal.mjs";
|
|
16
|
+
import { DirectionHolder as k } from "../utils/DirectionHolder.mjs";
|
|
17
|
+
import { MouseOverHandler as L } from "../utils/MouseOverHandler.mjs";
|
|
18
|
+
const u = {
|
|
19
19
|
focusedItemId: r,
|
|
20
20
|
hoveredItemId: r,
|
|
21
|
-
tabbableItemId:
|
|
21
|
+
tabbableItemId: f
|
|
22
22
|
}, n = class n extends m.Component {
|
|
23
|
-
constructor(
|
|
24
|
-
super(
|
|
25
|
-
this.clearItemHoverAndLeaveRequestsIfApplicable(), this.setState(
|
|
23
|
+
constructor(s) {
|
|
24
|
+
super(s), this.menuWrapperEl = null, this.directionHolder = new k(), this.inputItems = [], this.items = [], this.reset = () => {
|
|
25
|
+
this.clearItemHoverAndLeaveRequestsIfApplicable(), this.setState(u);
|
|
26
26
|
}, this.onKeyDown = (e) => {
|
|
27
27
|
if (this.state.focusedItemId !== r) {
|
|
28
|
-
const
|
|
28
|
+
const t = a(this.state.focusedItemId, this.items);
|
|
29
29
|
let o = I(
|
|
30
30
|
this.items,
|
|
31
|
-
|
|
31
|
+
t.id,
|
|
32
32
|
e.keyCode,
|
|
33
33
|
e.key,
|
|
34
34
|
this.props.vertical,
|
|
35
35
|
this.directionHolder.getIsDirectionRightToLeft()
|
|
36
36
|
);
|
|
37
37
|
const d = a(o, this.items);
|
|
38
|
-
d && d.separator && (o = I(
|
|
38
|
+
if (d && d.separator && (o = I(
|
|
39
39
|
this.items,
|
|
40
40
|
o,
|
|
41
41
|
e.keyCode,
|
|
42
42
|
e.key,
|
|
43
43
|
this.props.vertical,
|
|
44
44
|
this.directionHolder.getIsDirectionRightToLeft()
|
|
45
|
-
)),
|
|
45
|
+
)), t.id !== o && (e.preventDefault(), this.setFocusedItemId(o)), (e.keyCode === h.enter || e.keyCode === h.space) && !t.disabled && (this.mouseOverHandler.handleItemSelectedViaKeyboard(), this.dispatchSelectEventIfWired(e, t.id), !e.isDefaultPrevented() && t.items.length === 0 && t.url && window.location.assign(t.url)), e.keyCode === h.esc && p(t.id) && this.props.onClose) {
|
|
46
|
+
const v = this.getInputItem(t.id);
|
|
47
|
+
this.props.onClose({
|
|
48
|
+
target: this,
|
|
49
|
+
item: v,
|
|
50
|
+
itemId: t.id
|
|
51
|
+
});
|
|
52
|
+
}
|
|
46
53
|
}
|
|
47
|
-
e.keyCode === h.esc && this.props.onClose && this.props.onClose.call(void 0, e);
|
|
48
54
|
}, this.onItemMouseOver = (e) => {
|
|
49
55
|
this.mouseOverHandler.IsMouseOverEnabled && (this.clearItemHoverAndLeaveRequestsIfApplicable(), this.itemHoverRequest = window.setTimeout(() => {
|
|
50
56
|
this.setHoveredItemId(e), this.itemHoverRequest = null;
|
|
51
|
-
},
|
|
57
|
+
}, H(this.props)));
|
|
52
58
|
}, this.onItemMouseLeave = (e) => {
|
|
53
59
|
this.mouseOverHandler.IsMouseOverEnabled && this.isItemWithDefaultClose(e) && (this.clearItemHoverAndLeaveRequestsIfApplicable(), this.itemLeaveRequest = window.setTimeout(() => {
|
|
54
60
|
this.setHoveredItemId(r), this.itemLeaveRequest = null;
|
|
55
|
-
},
|
|
61
|
+
}, O(this.props)));
|
|
56
62
|
}, this.onItemMouseDown = () => {
|
|
57
63
|
this.mouseOverHandler.handleItemMouseDown();
|
|
58
64
|
}, this.onItemFocus = (e) => {
|
|
59
65
|
this.setFocusedItemId(e), this.mouseOverHandler.handleItemFocus();
|
|
60
|
-
}, this.onItemClick = (e,
|
|
61
|
-
const o = a(
|
|
62
|
-
o.disabled || (this.setFocusedItemId(
|
|
63
|
-
}, this.
|
|
64
|
-
|
|
65
|
-
|
|
66
|
+
}, this.onItemClick = (e, t) => {
|
|
67
|
+
const o = a(t, this.items);
|
|
68
|
+
o.disabled || (this.setFocusedItemId(t), this.mouseOverHandler.handleItemClick(t, this.isItemWithDefaultClose(t)), this.dispatchSelectEventIfWired(e, t), !e.isDefaultPrevented() && o.url && window.location.assign(o.url));
|
|
69
|
+
}, this.onPopupClose = (e, t) => {
|
|
70
|
+
this.props.onClose && this.props.onClose({
|
|
71
|
+
target: this,
|
|
72
|
+
item: this.getInputItem(e),
|
|
73
|
+
itemId: e,
|
|
74
|
+
popupCloseEvent: t
|
|
75
|
+
});
|
|
76
|
+
}, this.onItemBlur = (e, t) => {
|
|
77
|
+
if (this.isItemWithDefaultClose(e) && this.setFocusedItemId(r), t.relatedTarget && t.relatedTarget.nodeName === "LI") {
|
|
78
|
+
const o = t.relatedTarget.getAttribute("id");
|
|
66
79
|
if (o && o.includes(this.menuItemId))
|
|
67
80
|
return;
|
|
68
81
|
}
|
|
69
|
-
|
|
70
|
-
|
|
82
|
+
if (p(e) && this.props.onClose) {
|
|
83
|
+
const o = this.getInputItem(e);
|
|
84
|
+
this.props.onClose({
|
|
85
|
+
target: this,
|
|
86
|
+
item: o,
|
|
87
|
+
itemId: e
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
}, this.getInputItem = (e) => a(e, this.inputItems), this.mouseOverHandler = new L(this.props.openOnClick, this.reset, this.onItemMouseOver), this.state = Object.assign({}, u, { isFirstRender: !0 });
|
|
71
91
|
}
|
|
72
92
|
get menuItemId() {
|
|
73
93
|
return this.props.id;
|
|
@@ -86,7 +106,7 @@ const p = {
|
|
|
86
106
|
*/
|
|
87
107
|
render() {
|
|
88
108
|
this.prepareItems(), this.state.isFirstRender || this.directionHolder.setIsDirectionRightToLeft(this.checkIsDirectionRightToLeft());
|
|
89
|
-
const
|
|
109
|
+
const s = this.state.hoveredItemId ? this.state.hoveredItemId : this.state.focusedItemId ? C(this.state.focusedItemId) : r;
|
|
90
110
|
return /* @__PURE__ */ m.createElement(
|
|
91
111
|
"div",
|
|
92
112
|
{
|
|
@@ -99,7 +119,7 @@ const p = {
|
|
|
99
119
|
}
|
|
100
120
|
},
|
|
101
121
|
/* @__PURE__ */ m.createElement(
|
|
102
|
-
|
|
122
|
+
y,
|
|
103
123
|
{
|
|
104
124
|
className: this.getMenuClassName(),
|
|
105
125
|
"aria-orientation": this.props.vertical ? "vertical" : void 0,
|
|
@@ -108,7 +128,7 @@ const p = {
|
|
|
108
128
|
isMenuVertical: this.props.vertical,
|
|
109
129
|
isDirectionRightToLeft: this.directionHolder.getIsDirectionRightToLeft(),
|
|
110
130
|
focusedItemId: this.state.focusedItemId,
|
|
111
|
-
lastItemIdToBeOpened:
|
|
131
|
+
lastItemIdToBeOpened: s,
|
|
112
132
|
tabbableItemId: this.state.tabbableItemId,
|
|
113
133
|
itemRender: this.props.itemRender,
|
|
114
134
|
linkRender: this.props.linkRender,
|
|
@@ -120,6 +140,7 @@ const p = {
|
|
|
120
140
|
onClick: this.onItemClick,
|
|
121
141
|
onBlur: this.onItemBlur,
|
|
122
142
|
onOriginalItemNeeded: this.getInputItem,
|
|
143
|
+
onPopupClose: this.onPopupClose,
|
|
123
144
|
role: this.props.role
|
|
124
145
|
}
|
|
125
146
|
)
|
|
@@ -134,8 +155,8 @@ const p = {
|
|
|
134
155
|
/**
|
|
135
156
|
* @hidden
|
|
136
157
|
*/
|
|
137
|
-
componentDidUpdate(
|
|
138
|
-
(!!
|
|
158
|
+
componentDidUpdate(s) {
|
|
159
|
+
(!!s.vertical != !!this.props.vertical || this.directionHolder.hasDirectionChanged()) && this.reset(), this.mouseOverHandler.OpenOnClick = this.props.openOnClick;
|
|
139
160
|
}
|
|
140
161
|
/**
|
|
141
162
|
* @hidden
|
|
@@ -143,21 +164,21 @@ const p = {
|
|
|
143
164
|
componentWillUnmount() {
|
|
144
165
|
this.clearItemHoverAndLeaveRequestsIfApplicable();
|
|
145
166
|
}
|
|
146
|
-
setFocusedItemId(
|
|
167
|
+
setFocusedItemId(s) {
|
|
147
168
|
this.setState((e) => {
|
|
148
|
-
const
|
|
149
|
-
return { hoveredItemId:
|
|
169
|
+
const t = s === r ? e.tabbableItemId : R(s);
|
|
170
|
+
return { hoveredItemId: s === r || l(e.hoveredItemId) && l(s) ? e.hoveredItemId : r, focusedItemId: s, tabbableItemId: t };
|
|
150
171
|
});
|
|
151
172
|
}
|
|
152
|
-
setHoveredItemId(
|
|
153
|
-
this.setState((e) => l(
|
|
154
|
-
hoveredItemId:
|
|
173
|
+
setHoveredItemId(s) {
|
|
174
|
+
this.setState((e) => l(s) && l(e.focusedItemId) ? {
|
|
175
|
+
hoveredItemId: s,
|
|
155
176
|
focusedItemId: e.focusedItemId,
|
|
156
177
|
tabbableItemId: e.tabbableItemId
|
|
157
|
-
} : { hoveredItemId:
|
|
178
|
+
} : { hoveredItemId: s, focusedItemId: r, tabbableItemId: f });
|
|
158
179
|
}
|
|
159
180
|
getMenuClassName() {
|
|
160
|
-
return
|
|
181
|
+
return g(
|
|
161
182
|
"k-reset",
|
|
162
183
|
"k-header",
|
|
163
184
|
"k-menu",
|
|
@@ -169,18 +190,18 @@ const p = {
|
|
|
169
190
|
clearItemHoverAndLeaveRequestsIfApplicable() {
|
|
170
191
|
this.itemHoverRequest && (clearTimeout(this.itemHoverRequest), this.itemHoverRequest = null), this.itemLeaveRequest && (clearTimeout(this.itemLeaveRequest), this.itemLeaveRequest = null);
|
|
171
192
|
}
|
|
172
|
-
isItemWithDefaultClose(
|
|
173
|
-
return !this.props.customCloseItemIds || this.props.customCloseItemIds.indexOf(
|
|
193
|
+
isItemWithDefaultClose(s) {
|
|
194
|
+
return !this.props.customCloseItemIds || this.props.customCloseItemIds.indexOf(s) === -1;
|
|
174
195
|
}
|
|
175
196
|
checkIsDirectionRightToLeft() {
|
|
176
197
|
return !!(this.props.dir !== void 0 ? this.props.dir === "rtl" : this.menuWrapperEl && getComputedStyle(this.menuWrapperEl).direction === "rtl");
|
|
177
198
|
}
|
|
178
199
|
prepareItems() {
|
|
179
|
-
const { items:
|
|
180
|
-
this.items =
|
|
200
|
+
const { items: s, inputItems: e } = D(this.props.items, this.props.children);
|
|
201
|
+
this.items = s, this.inputItems = e;
|
|
181
202
|
}
|
|
182
|
-
dispatchSelectEventIfWired(
|
|
183
|
-
|
|
203
|
+
dispatchSelectEventIfWired(s, e) {
|
|
204
|
+
b(this.props.onSelect, s, this, { item: this.getInputItem(e), itemId: e });
|
|
184
205
|
}
|
|
185
206
|
};
|
|
186
207
|
n.propTypes = {
|
|
@@ -202,9 +223,10 @@ n.propTypes = {
|
|
|
202
223
|
linkRender: i.any,
|
|
203
224
|
customCloseItemIds: i.arrayOf(i.string),
|
|
204
225
|
onSelect: i.func,
|
|
226
|
+
onClose: i.func,
|
|
205
227
|
role: i.string
|
|
206
228
|
}, n.defaultProps = { vertical: !1, animate: !0 };
|
|
207
|
-
let
|
|
229
|
+
let c = n;
|
|
208
230
|
export {
|
|
209
|
-
|
|
231
|
+
c as Menu
|
|
210
232
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("react"),a=require("@progress/kendo-react-common"),I=require("@progress/kendo-react-popup"),m=require("../utils/itemsIdsUtils.js"),p=require("../utils/misc.js"),g=require("./MenuItemLink.js"),M=require("./MenuItemArrow.js");function f(
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("react"),a=require("@progress/kendo-react-common"),I=require("@progress/kendo-react-popup"),m=require("../utils/itemsIdsUtils.js"),p=require("../utils/misc.js"),g=require("./MenuItemLink.js"),M=require("./MenuItemArrow.js");function f(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const t in n)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,o.get?o:{enumerable:!0,get:()=>n[t]})}}return e.default=n,Object.freeze(e)}const s=f(h);class u extends s.Component{constructor(){super(...arguments),this.onMouseOver=e=>{this.props.onMouseOver(this.props.parentItemId),e.stopPropagation()},this.onMouseLeave=e=>{this.props.onMouseLeave(this.props.parentItemId),e.stopPropagation()}}render(){const e=this.props.parentItemId;return s.createElement("ul",{className:this.props.className,role:this.props.role?this.props.role:e!==void 0?"menu":"menubar",id:e!==void 0?p.getDOMElementId(this.props.menuGuid,e):void 0,onMouseOver:e!==void 0?this.onMouseOver:void 0,onMouseLeave:e!==void 0?this.onMouseLeave:void 0,"aria-orientation":this.props["aria-orientation"]},this.renderChildItems())}renderChildItems(){return this.props.items.length>0?this.props.items.map((e,t)=>s.createElement(l,{item:e,animate:this.props.animate,isMenuVertical:this.props.isMenuVertical,isDirectionRightToLeft:this.props.isDirectionRightToLeft,focusedItemId:this.props.focusedItemId,lastItemIdToBeOpened:this.props.lastItemIdToBeOpened,tabbableItemId:this.props.tabbableItemId,itemRender:this.props.itemRender,linkRender:this.props.linkRender,menuGuid:this.props.menuGuid,onMouseOver:this.props.onMouseOver,onMouseLeave:this.props.onMouseLeave,onMouseDown:this.props.onMouseDown,onBlur:this.props.onBlur,onFocus:this.props.onFocus,onClick:this.props.onClick,onOriginalItemNeeded:this.props.onOriginalItemNeeded,onPopupClose:this.props.onPopupClose,key:t})):null}}class l extends s.Component{constructor(e){super(e),this.isFirstRender=!0,this.onMouseOver=t=>{this.props.onMouseOver(this.props.item.id),t.stopPropagation()},this.onMouseLeave=t=>{this.props.onMouseLeave(this.props.item.id),t.stopPropagation()},this.onPopupClose=t=>{this.props.onPopupClose(this.props.item.id,t)},this.state={opened:!1}}componentDidMount(){const e=this.props.focusedItemId,t=this.props.item.id;e&&e===t&&this.itemElement.focus({preventScroll:!0}),this.isFirstRender=!1}componentDidUpdate(e){const t=this.props.focusedItemId,o=this.props.item.id;if(t){const r=a.getActiveElement(document);e.focusedItemId!==t&&t===o&&!this.itemElement.contains(r)&&this.itemElement.focus({preventScroll:!0})}}render(){const e=this.props.item,t=e.id,o=p.getDOMElementId(this.props.menuGuid,t),r=e.separator;return s.createElement(s.Fragment,null,r?s.createElement("li",{className:"k-separator k-item","aria-hidden":!0,key:o,id:o,ref:i=>{this.itemElement=i}}):s.createElement("li",{id:o,className:this.getMenuItemClassName(e),style:e.cssStyle,tabIndex:t===this.props.tabbableItemId?0:-1,onMouseOver:this.onMouseOver,onMouseLeave:this.onMouseLeave,onMouseDown:i=>this.props.onMouseDown(i),onBlur:i=>this.props.onBlur(t,i),onFocus:()=>this.props.onFocus(t),onClick:i=>this.props.onClick(i,t),role:"menuitem","aria-disabled":e.disabled?!0:void 0,"aria-haspopup":e.items.length>0?!0:void 0,"aria-expanded":e.items.length>0?this.Opened:void 0,"aria-label":e.text,"aria-owns":this.Opened?o:void 0,ref:i=>{this.itemElement=i},key:o},this.contentRender?this.renderContent():this.renderMenuItemLink()),this.renderPopupIfOpened())}renderContent(){const e=this.props.item.contentParentItemId;return s.createElement("div",{className:"k-content",role:"presentation"},s.createElement(this.contentRender,{item:this.props.onOriginalItemNeeded(e),itemId:e}))}renderMenuItemLink(){const e=this.props.item;if(this.linkRender)return s.createElement(this.linkRender,{item:this.props.onOriginalItemNeeded(e.id),itemId:e.id,opened:this.Opened,dir:p.convertBoolDirectionToString(this.props.isDirectionRightToLeft)});const t=this.itemRender?s.createElement(this.itemRender,{item:this.props.onOriginalItemNeeded(e.id),itemId:e.id,key:"1"}):s.createElement("span",{className:"k-menu-link-text"},e.text);return s.createElement(g.MenuItemLink,{url:e.url,opened:this.Opened},this.renderMenuIconIfApplicable(),t,this.renderArrowIfApplicable())}renderPopupIfOpened(){const e=this.props.item.id,t=this.props.animate,{anchorAlign:o,popupAlign:r,collision:i,animationDirection:d}=p.getPopupSettings(e,this.props.isMenuVertical,this.props.isDirectionRightToLeft),c=t===!0?{openDuration:300,closeDuration:300,direction:d}:t===!1?!1:{openDuration:(t==null?void 0:t.openDuration)||300,closeDuration:(t==null?void 0:t.closeDuration)||300,direction:(t==null?void 0:t.direction)||d};return s.createElement(I.Popup,{anchor:this.itemElement,show:this.Opened,popupClass:this.getPopupClassName(),anchorAlign:o,popupAlign:r,collision:i,animate:c,onClose:this.onPopupClose,key:"1"},s.createElement(u,{parentItemId:e,animate:this.props.animate,items:this.props.item.items,menuGuid:this.props.menuGuid,focusedItemId:this.props.focusedItemId,lastItemIdToBeOpened:this.props.lastItemIdToBeOpened,tabbableItemId:this.props.tabbableItemId,itemRender:this.props.itemRender,linkRender:this.props.linkRender,isMenuVertical:this.props.isMenuVertical,isDirectionRightToLeft:this.props.isDirectionRightToLeft,className:"k-group k-menu-group k-reset k-menu-group-md",onMouseOver:this.props.onMouseOver,onMouseLeave:this.props.onMouseLeave,onMouseDown:this.props.onMouseDown,onBlur:this.props.onBlur,onFocus:this.props.onFocus,onClick:this.props.onClick,onOriginalItemNeeded:this.props.onOriginalItemNeeded,onPopupClose:this.props.onPopupClose}))}renderMenuIconIfApplicable(){const{icon:e,svgIcon:t}=this.props.item;return e||t?s.createElement(a.IconWrap,{name:e,icon:t,key:"0"}):null}renderArrowIfApplicable(){return this.props.item.items.length>0?s.createElement("span",{className:"k-menu-expand-arrow","aria-hidden":!0},s.createElement(M.MenuItemArrow,{itemId:this.props.item.id,verticalMenu:this.props.isMenuVertical,dir:p.convertBoolDirectionToString(this.props.isDirectionRightToLeft),key:"2"})):null}get itemRender(){return this.props.item.render||this.props.itemRender}get linkRender(){return this.props.item.linkRender||this.props.linkRender}get contentRender(){return this.props.item.contentParentItemId?this.props.item.contentRender:null}get Opened(){const e=this.props;return e.item.items.length>0&&m.shouldOpenItem(e.item.id,e.lastItemIdToBeOpened)&&!this.isFirstRender}getPopupClassName(){return a.classNames("k-menu-popup",{"k-rtl":this.props.isDirectionRightToLeft})}getMenuItemClassName(e){return a.classNames("k-item","k-menu-item",{"k-first":m.isFirstItemFromSiblings(e.id),"k-last":e.isLastFromSiblings,"k-disabled":e.disabled},e.cssClass)}}exports.MenuItemInternal=l;exports.MenuItemInternalsList=u;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -56,6 +56,7 @@ class k extends s.Component {
|
|
|
56
56
|
onFocus: this.props.onFocus,
|
|
57
57
|
onClick: this.props.onClick,
|
|
58
58
|
onOriginalItemNeeded: this.props.onOriginalItemNeeded,
|
|
59
|
+
onPopupClose: this.props.onPopupClose,
|
|
59
60
|
key: t
|
|
60
61
|
}
|
|
61
62
|
)) : null;
|
|
@@ -67,6 +68,8 @@ class O extends s.Component {
|
|
|
67
68
|
this.props.onMouseOver(this.props.item.id), t.stopPropagation();
|
|
68
69
|
}, this.onMouseLeave = (t) => {
|
|
69
70
|
this.props.onMouseLeave(this.props.item.id), t.stopPropagation();
|
|
71
|
+
}, this.onPopupClose = (t) => {
|
|
72
|
+
this.props.onPopupClose(this.props.item.id, t);
|
|
70
73
|
}, this.state = { opened: !1 };
|
|
71
74
|
}
|
|
72
75
|
componentDidMount() {
|
|
@@ -74,51 +77,51 @@ class O extends s.Component {
|
|
|
74
77
|
e && e === t && this.itemElement.focus({ preventScroll: !0 }), this.isFirstRender = !1;
|
|
75
78
|
}
|
|
76
79
|
componentDidUpdate(e) {
|
|
77
|
-
const t = this.props.focusedItemId,
|
|
80
|
+
const t = this.props.focusedItemId, i = this.props.item.id;
|
|
78
81
|
if (t) {
|
|
79
82
|
const n = u(document);
|
|
80
|
-
e.focusedItemId !== t && t ===
|
|
83
|
+
e.focusedItemId !== t && t === i && // https://github.com/telerik/kendo-react/issues/216 :
|
|
81
84
|
// No need to focus the wrapping menu item DOM element
|
|
82
85
|
// when a child DOM element was clicked.
|
|
83
86
|
!this.itemElement.contains(n) && this.itemElement.focus({ preventScroll: !0 });
|
|
84
87
|
}
|
|
85
88
|
}
|
|
86
89
|
render() {
|
|
87
|
-
const e = this.props.item, t = e.id,
|
|
90
|
+
const e = this.props.item, t = e.id, i = d(this.props.menuGuid, t), n = e.separator;
|
|
88
91
|
return /* @__PURE__ */ s.createElement(s.Fragment, null, n ? /* @__PURE__ */ s.createElement(
|
|
89
92
|
"li",
|
|
90
93
|
{
|
|
91
94
|
className: "k-separator k-item",
|
|
92
95
|
"aria-hidden": !0,
|
|
93
|
-
key:
|
|
94
|
-
id:
|
|
95
|
-
ref: (
|
|
96
|
-
this.itemElement =
|
|
96
|
+
key: i,
|
|
97
|
+
id: i,
|
|
98
|
+
ref: (o) => {
|
|
99
|
+
this.itemElement = o;
|
|
97
100
|
}
|
|
98
101
|
}
|
|
99
102
|
) : /* @__PURE__ */ s.createElement(
|
|
100
103
|
"li",
|
|
101
104
|
{
|
|
102
|
-
id:
|
|
105
|
+
id: i,
|
|
103
106
|
className: this.getMenuItemClassName(e),
|
|
104
107
|
style: e.cssStyle,
|
|
105
108
|
tabIndex: t === this.props.tabbableItemId ? 0 : -1,
|
|
106
109
|
onMouseOver: this.onMouseOver,
|
|
107
110
|
onMouseLeave: this.onMouseLeave,
|
|
108
|
-
onMouseDown: (
|
|
109
|
-
onBlur: (
|
|
111
|
+
onMouseDown: (o) => this.props.onMouseDown(o),
|
|
112
|
+
onBlur: (o) => this.props.onBlur(t, o),
|
|
110
113
|
onFocus: () => this.props.onFocus(t),
|
|
111
|
-
onClick: (
|
|
114
|
+
onClick: (o) => this.props.onClick(o, t),
|
|
112
115
|
role: "menuitem",
|
|
113
116
|
"aria-disabled": e.disabled ? !0 : void 0,
|
|
114
117
|
"aria-haspopup": e.items.length > 0 ? !0 : void 0,
|
|
115
118
|
"aria-expanded": e.items.length > 0 ? this.Opened : void 0,
|
|
116
119
|
"aria-label": e.text,
|
|
117
|
-
"aria-owns": this.Opened ?
|
|
118
|
-
ref: (
|
|
119
|
-
this.itemElement =
|
|
120
|
+
"aria-owns": this.Opened ? i : void 0,
|
|
121
|
+
ref: (o) => {
|
|
122
|
+
this.itemElement = o;
|
|
120
123
|
},
|
|
121
|
-
key:
|
|
124
|
+
key: i
|
|
122
125
|
},
|
|
123
126
|
this.contentRender ? this.renderContent() : this.renderMenuItemLink()
|
|
124
127
|
), this.renderPopupIfOpened());
|
|
@@ -143,7 +146,7 @@ class O extends s.Component {
|
|
|
143
146
|
return /* @__PURE__ */ s.createElement(f, { url: e.url, opened: this.Opened }, this.renderMenuIconIfApplicable(), t, this.renderArrowIfApplicable());
|
|
144
147
|
}
|
|
145
148
|
renderPopupIfOpened() {
|
|
146
|
-
const e = this.props.item.id, t = this.props.animate, { anchorAlign:
|
|
149
|
+
const e = this.props.item.id, t = this.props.animate, { anchorAlign: i, popupAlign: n, collision: o, animationDirection: r } = g(
|
|
147
150
|
e,
|
|
148
151
|
this.props.isMenuVertical,
|
|
149
152
|
this.props.isDirectionRightToLeft
|
|
@@ -158,10 +161,11 @@ class O extends s.Component {
|
|
|
158
161
|
anchor: this.itemElement,
|
|
159
162
|
show: this.Opened,
|
|
160
163
|
popupClass: this.getPopupClassName(),
|
|
161
|
-
anchorAlign:
|
|
164
|
+
anchorAlign: i,
|
|
162
165
|
popupAlign: n,
|
|
163
|
-
collision:
|
|
166
|
+
collision: o,
|
|
164
167
|
animate: l,
|
|
168
|
+
onClose: this.onPopupClose,
|
|
165
169
|
key: "1"
|
|
166
170
|
},
|
|
167
171
|
/* @__PURE__ */ s.createElement(
|
|
@@ -185,7 +189,8 @@ class O extends s.Component {
|
|
|
185
189
|
onBlur: this.props.onBlur,
|
|
186
190
|
onFocus: this.props.onFocus,
|
|
187
191
|
onClick: this.props.onClick,
|
|
188
|
-
onOriginalItemNeeded: this.props.onOriginalItemNeeded
|
|
192
|
+
onOriginalItemNeeded: this.props.onOriginalItemNeeded,
|
|
193
|
+
onPopupClose: this.props.onPopupClose
|
|
189
194
|
}
|
|
190
195
|
)
|
|
191
196
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
package/menu/consts.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
package/menu/consts.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
package/menu/utils/hoverDelay.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
package/menu/utils/misc.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
package/menu/utils/misc.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|