| 29277 | } |
| 29278 | } |
| 29279 | function canAnyMenuItemsCheck(items) { |
| 29280 | return items.some(function(item) { |
| 29281 | if (item.canCheck) return true; |
| 29282 | // If the item is a section, check if any of the items in the section can check. |
| 29283 | if (item.sectionProps && item.sectionProps.items.some(function(submenuItem) { |
| 29284 | return submenuItem.canCheck === true; |
| 29285 | })) return true; |
| 29286 | return false; |
| 29287 | }); |
| 29288 | } |
| 29289 | var NavigationIdleDelay = 250; /* ms */ |
| 29290 | var COMPONENT_NAME = "ContextualMenu"; |
| 29291 | var _getMenuItemStylesFunction = (0, _utilities.memoizeFunction)(function() { |