@orderingstack/front-components-product-configurator 1.1.0 → 1.2.0

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
@@ -6231,17 +6231,17 @@ var EOrderPaymentType;
6231
6231
  EOrderPaymentType2["RETURN"] = "RETURN";
6232
6232
  EOrderPaymentType2["EXTERNAL"] = "EXTERNAL";
6233
6233
  })(EOrderPaymentType || (EOrderPaymentType = {}));
6234
- var OrderSource;
6235
- (function(OrderSource2) {
6236
- OrderSource2["KIOSK"] = "KIOSK";
6237
- OrderSource2["WEB"] = "WEB";
6238
- OrderSource2["JUST_EAT_TAKE_AWAY"] = "JUSTEATTAKEAWAY";
6239
- OrderSource2["GLOVO"] = "GLOVO";
6240
- OrderSource2["PYSZNE"] = "PYSZNE";
6241
- OrderSource2["WOLT"] = "WOLT";
6242
- OrderSource2["UBER"] = "UBER";
6243
- OrderSource2["BOLT"] = "BOLT";
6244
- })(OrderSource || (OrderSource = {}));
6234
+ var EOrderSource;
6235
+ (function(EOrderSource2) {
6236
+ EOrderSource2["KIOSK"] = "KIOSK";
6237
+ EOrderSource2["WEB"] = "WEB";
6238
+ EOrderSource2["JUST_EAT_TAKE_AWAY"] = "JUSTEATTAKEAWAY";
6239
+ EOrderSource2["GLOVO"] = "GLOVO";
6240
+ EOrderSource2["PYSZNE"] = "PYSZNE";
6241
+ EOrderSource2["WOLT"] = "WOLT";
6242
+ EOrderSource2["UBER"] = "UBER";
6243
+ EOrderSource2["BOLT"] = "BOLT";
6244
+ })(EOrderSource || (EOrderSource = {}));
6245
6245
  var EOrderLineStatus;
6246
6246
  (function(EOrderLineStatus2) {
6247
6247
  EOrderLineStatus2["NEW"] = "NEW";
@@ -6262,12 +6262,19 @@ var EChannelName;
6262
6262
  EChannelName2["DINE_IN"] = "DINE_IN";
6263
6263
  EChannelName2["TAKE_AWAY"] = "TAKE_AWAY";
6264
6264
  EChannelName2["DELIVERY"] = "DELIVERY";
6265
- EChannelName2["GLOVO_DELIVERY"] = "GLOVO_DELIVERY";
6266
- EChannelName2["JUSTEAT_DELIVERY"] = "JUSTEAT_DELIVERY";
6267
- EChannelName2["UBER_DELIVERY"] = "UBER_DELIVERY";
6268
- EChannelName2["BOLT_DELIVERY"] = "BOLT_DELIVERY";
6269
- EChannelName2["WOLT_DELIVERY"] = "WOLT_DELIVERY";
6265
+ EChannelName2["GLOVO"] = "GLOVO";
6266
+ EChannelName2["JUSTEAT"] = "JUSTEAT";
6267
+ EChannelName2["UBER"] = "UBER";
6268
+ EChannelName2["BOLT"] = "BOLT";
6269
+ EChannelName2["WOLT"] = "WOLT";
6270
6270
  })(EChannelName || (EChannelName = {}));
6271
+ var ENotificationType;
6272
+ (function(ENotificationType2) {
6273
+ ENotificationType2["ORDER_EVENT_ERROR"] = "OrderEventError";
6274
+ ENotificationType2["ORDER_APPLIED_EVENTS"] = "OrderAppliedEvents";
6275
+ ENotificationType2["ORDER_EVENT_FISCAL"] = "OrderEventFiscal";
6276
+ ENotificationType2["ORDER_UPSELL"] = "OrderUpsell";
6277
+ })(ENotificationType || (ENotificationType = {}));
6271
6278
  const validateProductFilter = (product, stateFilter) => {
6272
6279
  const { filter: productFilters = {}, fltCtx = "" } = product;
6273
6280
  const stateFiltersWithFltCtx = stateFilter[fltCtx];
@@ -8553,7 +8560,8 @@ function MenuItemsDispatcher(props) {
8553
8560
  const menuItemsProps = {
8554
8561
  productItems,
8555
8562
  parentProduct,
8556
- renderMenuItem
8563
+ renderMenuItem,
8564
+ rootParentProduct: parentProduct
8557
8565
  };
8558
8566
  if (MenuItemsUI) {
8559
8567
  return /* @__PURE__ */ jsx(MenuItemsUI, {