@redneckz/wildless-cms-uni-blocks 0.14.732 → 0.14.733

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.
@@ -4125,11 +4125,9 @@
4125
4125
 
4126
4126
  const RadioButtonGroupControl = JSX(({ className, label, onChange, error, ...rest }) => (jsxs("div", { className: style('shrink-0 w-full', className), children: [jsx(RadioButtonGroup, { label: getRequiredLabel({ label, errors: rest?.errors }), onChange: (_) => onChange && onChange(_), ...rest }), renderErrorText(error)] })));
4127
4127
 
4128
- const DEFAULT_CURRENCY_TYPES = [{ id: '810', text: 'Рубли' }];
4129
4128
  const CurrencyField = JSX(({ field, input }) => {
4130
4129
  const { value, onChange } = field('currency');
4131
- const { data } = useLeadFormData('CURRENCY');
4132
- const currencyTypes = data?.map((_) => ({ id: _.key, text: _.value })) ?? DEFAULT_CURRENCY_TYPES;
4130
+ const currencyTypes = [{ id: '810', text: 'Рубли' }];
4133
4131
  return (jsx(RadioButtonGroupControl, { label: "\u0412\u0430\u043B\u044E\u0442\u0430", orientation: "horizontal", items: currencyTypes, value: value, onChange: (_) => onChange?.(_), ...getValidation(field('currency'), validatorObj.currency, input?.required) }));
4134
4132
  });
4135
4133
 
@@ -10458,7 +10456,7 @@
10458
10456
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
10459
10457
  });
10460
10458
 
10461
- const packageVersion = "0.14.731";
10459
+ const packageVersion = "0.14.732";
10462
10460
 
10463
10461
  exports.Blocks = Blocks;
10464
10462
  exports.ContentPage = ContentPage;