@orderingstack/front-components-product-configurator 1.6.0-beta.3 → 1.6.0-beta.4
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/dist/index.es.js
CHANGED
|
@@ -9225,6 +9225,13 @@ function MenuItemsDispatcher(props) {
|
|
|
9225
9225
|
MenuItemsUI
|
|
9226
9226
|
} = useComponents();
|
|
9227
9227
|
const renderMenuItem = (productItem) => {
|
|
9228
|
+
var _a;
|
|
9229
|
+
if (isAnyGroupOptionKind(productItem.kind) && !((_a = productItem == null ? void 0 : productItem.items) == null ? void 0 : _a.find((x2) => {
|
|
9230
|
+
var _a2, _b;
|
|
9231
|
+
return ((_a2 = x2 == null ? void 0 : x2.attrs) == null ? void 0 : _a2.hidden) !== true && ((_b = x2 == null ? void 0 : x2._) == null ? void 0 : _b.hidden) !== "true";
|
|
9232
|
+
}))) {
|
|
9233
|
+
return /* @__PURE__ */ jsx(Fragment, {});
|
|
9234
|
+
}
|
|
9228
9235
|
if (isMenuOptionsToShow(productItem))
|
|
9229
9236
|
return /* @__PURE__ */ jsx(MenuOptions, {
|
|
9230
9237
|
optionsItem: productItem,
|