@redneckz/wildless-cms-uni-blocks 0.14.195 → 0.14.196
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 +3 -3
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +3 -3
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -2
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +2 -2
- package/package.json +1 -1
- package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +2 -2
package/bundle/bundle.umd.js
CHANGED
|
@@ -3849,7 +3849,7 @@
|
|
|
3849
3849
|
const handleInputSell = (setCalcState, currencyRatesSell) => (value, currencyFrom, currencyTo) => {
|
|
3850
3850
|
setCalcState({ inputSell: formatValue(value), selectBuy: currencyTo });
|
|
3851
3851
|
const rate = currencyRatesSell.find((_) => _.currency?.currency === currencyTo)?.buyExchangeRate ||
|
|
3852
|
-
currencyRatesSell.find((_) => _.currency?.currency === currencyFrom)?.
|
|
3852
|
+
currencyRatesSell.find((_) => _.currency?.currency === currencyFrom)?.buyExchangeRate;
|
|
3853
3853
|
if (rate) {
|
|
3854
3854
|
setCalcState({
|
|
3855
3855
|
inputBuy: String(calculateResult(value, rate, currencyFrom === Currency.RUB) || ''),
|
|
@@ -3859,7 +3859,7 @@
|
|
|
3859
3859
|
const handleInputBuy = (setCalcState, currencyRatesBuy) => (value, currencyTo, currencyFrom) => {
|
|
3860
3860
|
setCalcState({ inputBuy: formatValue(value), selectSell: currencyFrom });
|
|
3861
3861
|
const rate = currencyRatesBuy.find((_) => _.currency?.currency === currencyFrom)?.saleExchangeRate ||
|
|
3862
|
-
currencyRatesBuy.find((_) => _.currency?.currency === currencyTo)?.
|
|
3862
|
+
currencyRatesBuy.find((_) => _.currency?.currency === currencyTo)?.saleExchangeRate;
|
|
3863
3863
|
if (rate) {
|
|
3864
3864
|
setCalcState({
|
|
3865
3865
|
inputSell: String(calculateResult(value, rate, currencyTo === Currency.RUB) || ''),
|
|
@@ -6074,7 +6074,7 @@
|
|
|
6074
6074
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
6075
6075
|
});
|
|
6076
6076
|
|
|
6077
|
-
const packageVersion = "0.14.
|
|
6077
|
+
const packageVersion = "0.14.195";
|
|
6078
6078
|
|
|
6079
6079
|
exports.Blocks = Blocks;
|
|
6080
6080
|
exports.ContentPage = ContentPage;
|