@redneckz/wildless-cms-uni-blocks 0.14.1081 → 0.14.1082
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 +5 -3
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/retail/utils/yandexMetrika.d.ts +1 -1
- package/dist/retail/components/Fields/CurrencyField.js +3 -1
- package/dist/retail/components/Fields/CurrencyField.js.map +1 -1
- package/dist/retail/utils/yandexMetrika.d.ts +1 -1
- package/dist/retail/utils/yandexMetrika.js +1 -2
- package/dist/retail/utils/yandexMetrika.js.map +1 -1
- package/lib/retail/components/Fields/CurrencyField.js +3 -1
- package/lib/retail/components/Fields/CurrencyField.js.map +1 -1
- package/lib/retail/utils/yandexMetrika.d.ts +1 -1
- package/lib/retail/utils/yandexMetrika.js +1 -2
- package/lib/retail/utils/yandexMetrika.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +5 -3
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/retail/utils/yandexMetrika.d.ts +1 -1
- package/mobile/dist/retail/components/Fields/CurrencyField.js +3 -1
- package/mobile/dist/retail/components/Fields/CurrencyField.js.map +1 -1
- package/mobile/dist/retail/utils/yandexMetrika.d.ts +1 -1
- package/mobile/dist/retail/utils/yandexMetrika.js +1 -2
- package/mobile/dist/retail/utils/yandexMetrika.js.map +1 -1
- package/mobile/lib/retail/components/Fields/CurrencyField.js +3 -1
- package/mobile/lib/retail/components/Fields/CurrencyField.js.map +1 -1
- package/mobile/lib/retail/utils/yandexMetrika.d.ts +1 -1
- package/mobile/lib/retail/utils/yandexMetrika.js +1 -2
- package/mobile/lib/retail/utils/yandexMetrika.js.map +1 -1
- package/mobile/src/retail/components/Fields/CurrencyField.tsx +3 -1
- package/mobile/src/retail/utils/yandexMetrika.ts +1 -3
- package/package.json +1 -1
- package/src/retail/components/Fields/CurrencyField.tsx +3 -1
- package/src/retail/utils/yandexMetrika.ts +1 -3
package/bundle/bundle.umd.js
CHANGED
|
@@ -6051,10 +6051,12 @@
|
|
|
6051
6051
|
};
|
|
6052
6052
|
|
|
6053
6053
|
const RUBLE = [{ id: '810', text: 'Рубли' }];
|
|
6054
|
+
const SALARY_PROGRAM_IDS = ['38', '48', '49'];
|
|
6054
6055
|
const CurrencyField = JSX(({ field, input }) => {
|
|
6055
6056
|
const { data } = useLeadFormData('CURRENCY');
|
|
6056
6057
|
const { programId } = useLeadFormStore();
|
|
6057
|
-
const isOnlyRuble = useMemo(() => !Object.keys(debitProgrammIdToCardCodesMap).includes(programId || '') ||
|
|
6058
|
+
const isOnlyRuble = useMemo(() => !Object.keys(debitProgrammIdToCardCodesMap).includes(programId || '') ||
|
|
6059
|
+
SALARY_PROGRAM_IDS.includes(programId ?? ''), []);
|
|
6058
6060
|
const currencies = useMemo(() => (isOnlyRuble ? RUBLE : data?.map((_) => ({ id: _.key ?? '', text: _.description }))), [data]);
|
|
6059
6061
|
return (jsx(RadioButtonGroupControl, { label: "\u0412\u0430\u043B\u044E\u0442\u0430", orientation: "horizontal", items: currencies, ...field(input?.name ?? ''), ...input }));
|
|
6060
6062
|
});
|
|
@@ -6897,7 +6899,7 @@
|
|
|
6897
6899
|
restInputs: inputs.filter(({ name }) => !Object.keys(productTypeToConsentsMap[productType]).includes(String(name))),
|
|
6898
6900
|
});
|
|
6899
6901
|
|
|
6900
|
-
const YANDEX_ID =
|
|
6902
|
+
const YANDEX_ID = '92511315';
|
|
6901
6903
|
|
|
6902
6904
|
const ASPECTS_MAP = {
|
|
6903
6905
|
leadForm: {
|
|
@@ -15156,7 +15158,7 @@
|
|
|
15156
15158
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
15157
15159
|
});
|
|
15158
15160
|
|
|
15159
|
-
const packageVersion = "0.14.
|
|
15161
|
+
const packageVersion = "0.14.1081";
|
|
15160
15162
|
|
|
15161
15163
|
exports.Blocks = Blocks;
|
|
15162
15164
|
exports.ContentPage = ContentPage;
|