@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.
- package/bundle/bundle.umd.js +2 -4
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/ui-kit/FormField/Fields/CurrencyField.js +1 -4
- package/dist/ui-kit/FormField/Fields/CurrencyField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/CurrencyField.js +1 -4
- package/lib/ui-kit/FormField/Fields/CurrencyField.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +2 -4
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/CurrencyField.js +1 -4
- package/mobile/dist/ui-kit/FormField/Fields/CurrencyField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/CurrencyField.js +1 -4
- package/mobile/lib/ui-kit/FormField/Fields/CurrencyField.js.map +1 -1
- package/mobile/src/ui-kit/FormField/Fields/CurrencyField.tsx +1 -8
- package/package.json +1 -1
- package/src/ui-kit/FormField/Fields/CurrencyField.tsx +1 -8
package/bundle/bundle.umd.js
CHANGED
|
@@ -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 {
|
|
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.
|
|
10459
|
+
const packageVersion = "0.14.732";
|
|
10462
10460
|
|
|
10463
10461
|
exports.Blocks = Blocks;
|
|
10464
10462
|
exports.ContentPage = ContentPage;
|