@redneckz/wildless-cms-uni-blocks 0.14.299 → 0.14.301

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.
@@ -2405,7 +2405,10 @@
2405
2405
  return (jsxs(BlockWrapper, { className: style(className), defaultPadding: "p-0", version: "transparent", ...rest, children: [jsx(FiltrationForm, { filtrationSchema: filtrationSchema, field: field, reset: reset, children: jsxs("div", { children: [ConsumerSelect, jsx("div", { children: jsx(Button, { type: "reset", className: "mt-lg w-64", onClick: reset, version: resetButton?.version, children: resetButton?.text }) })] }) }), jsx(FilteredBlocks, { blocksToRender: blocksToRender, ...rest })] }));
2406
2406
  }, {
2407
2407
  childrenTypes: ['CarouselTariffsCard'],
2408
- childSchema: (content) => content?.filtrationSchema || {},
2408
+ childSchema: (content) => ({
2409
+ ...content?.filtrationSchema,
2410
+ ...(content?.consumerField ? { consumer: content?.consumerField } : {}),
2411
+ }),
2409
2412
  });
2410
2413
  const stringArrayToOptions = (stringEnum) => zip(stringEnum.items?.enum || [], stringEnum.items?.enumNames || []).map(([key, text]) => ({
2411
2414
  key,
@@ -6202,7 +6205,7 @@
6202
6205
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
6203
6206
  });
6204
6207
 
6205
- const packageVersion = "0.14.298";
6208
+ const packageVersion = "0.14.300";
6206
6209
 
6207
6210
  exports.Blocks = Blocks;
6208
6211
  exports.ContentPage = ContentPage;