@redneckz/wildless-cms-uni-blocks 0.14.232 → 0.14.233
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 +11 -1
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js +12 -0
- package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js +12 -0
- package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +11 -1
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js +12 -0
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js +12 -0
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +23 -0
- package/package.json +1 -1
- package/src/components/Calculator/CreditCalculatorForm.tsx +23 -0
package/bundle/bundle.umd.js
CHANGED
|
@@ -2366,6 +2366,16 @@
|
|
|
2366
2366
|
orientation: 'vertical',
|
|
2367
2367
|
...field('isAnnuity'),
|
|
2368
2368
|
});
|
|
2369
|
+
const { onChange: setMoneyValue } = field('moneyValue');
|
|
2370
|
+
const { onChange: setMonthsValue } = field('monthsValue');
|
|
2371
|
+
useEffect(() => {
|
|
2372
|
+
setMoneyValue &&
|
|
2373
|
+
setMoneyValue(clamp(userInputParams.moneyValue, calculatorParams.minSum, calculatorParams.maxSum));
|
|
2374
|
+
}, [calculatorParams.minSum, calculatorParams.maxSum]);
|
|
2375
|
+
useEffect(() => {
|
|
2376
|
+
setMonthsValue &&
|
|
2377
|
+
setMonthsValue(clamp(userInputParams.monthsValue, calculatorParams.minMonths, calculatorParams.maxMonths));
|
|
2378
|
+
}, [calculatorParams.minMonths, calculatorParams.maxMonths]);
|
|
2369
2379
|
return (jsx(CalculatorFormLayout, { className: className, inputChildren: jsxs("div", { children: [renderWantedSumInput({
|
|
2370
2380
|
title: 'Сумма кредита, ₽',
|
|
2371
2381
|
step: 500,
|
|
@@ -6005,7 +6015,7 @@
|
|
|
6005
6015
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
6006
6016
|
});
|
|
6007
6017
|
|
|
6008
|
-
const packageVersion = "0.14.
|
|
6018
|
+
const packageVersion = "0.14.232";
|
|
6009
6019
|
|
|
6010
6020
|
exports.Blocks = Blocks;
|
|
6011
6021
|
exports.ContentPage = ContentPage;
|