@redneckz/wildless-cms-uni-blocks 0.14.903 → 0.14.905

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.
Files changed (104) hide show
  1. package/bundle/bundle.umd.js +89 -102
  2. package/bundle/bundle.umd.min.js +1 -1
  3. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
  4. package/dist/components/ApplicationForm/ApplicationForm.js +3 -2
  5. package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  6. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
  7. package/dist/components/ApplicationLeadForm/parseEsiaProfile.js.map +1 -1
  8. package/dist/components/ApplicationLeadForm/useInitApplicationLead.js +0 -1
  9. package/dist/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
  10. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +2 -1
  11. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  12. package/dist/retail/components/Fields/AddressFactField.js +2 -17
  13. package/dist/retail/components/Fields/AddressFactField.js.map +1 -1
  14. package/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +6 -3
  15. package/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  16. package/dist/retail/utils/latinFieldsUtils.js +74 -77
  17. package/dist/retail/utils/latinFieldsUtils.js.map +1 -1
  18. package/dist/ui-kit/Input/Input.js.map +1 -1
  19. package/dist/ui-kit/Select/Select.js.map +1 -1
  20. package/dist/ui-kit/Select/SelectPopup.js +1 -1
  21. package/dist/ui-kit/Select/SelectPopup.js.map +1 -1
  22. package/lib/common.css +1 -1
  23. package/lib/components/ApplicationForm/ApplicationForm.js +3 -2
  24. package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  25. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
  26. package/lib/components/ApplicationLeadForm/parseEsiaProfile.js.map +1 -1
  27. package/lib/components/ApplicationLeadForm/useInitApplicationLead.js +0 -1
  28. package/lib/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
  29. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +2 -1
  30. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  31. package/lib/retail/components/DraftDialog/utils.d.ts +3 -3
  32. package/lib/retail/components/Fields/AddressFactField.js +2 -17
  33. package/lib/retail/components/Fields/AddressFactField.js.map +1 -1
  34. package/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +6 -3
  35. package/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  36. package/lib/retail/utils/latinFieldsUtils.js +74 -77
  37. package/lib/retail/utils/latinFieldsUtils.js.map +1 -1
  38. package/lib/ui-kit/Input/Input.js.map +1 -1
  39. package/lib/ui-kit/Select/Select.js.map +1 -1
  40. package/lib/ui-kit/Select/SelectPopup.js +1 -1
  41. package/lib/ui-kit/Select/SelectPopup.js.map +1 -1
  42. package/mobile/bundle/bundle.umd.js +89 -102
  43. package/mobile/bundle/bundle.umd.min.js +1 -1
  44. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
  45. package/mobile/dist/components/ApplicationForm/ApplicationForm.js +3 -2
  46. package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  47. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
  48. package/mobile/dist/components/ApplicationLeadForm/parseEsiaProfile.js.map +1 -1
  49. package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.js +0 -1
  50. package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
  51. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +2 -1
  52. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  53. package/mobile/dist/retail/components/Fields/AddressFactField.js +2 -17
  54. package/mobile/dist/retail/components/Fields/AddressFactField.js.map +1 -1
  55. package/mobile/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +6 -3
  56. package/mobile/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  57. package/mobile/dist/retail/utils/latinFieldsUtils.js +74 -77
  58. package/mobile/dist/retail/utils/latinFieldsUtils.js.map +1 -1
  59. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  60. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  61. package/mobile/dist/ui-kit/Select/SelectPopup.js +1 -1
  62. package/mobile/dist/ui-kit/Select/SelectPopup.js.map +1 -1
  63. package/mobile/lib/common.css +1 -1
  64. package/mobile/lib/components/ApplicationForm/ApplicationForm.js +3 -2
  65. package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  66. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
  67. package/mobile/lib/components/ApplicationLeadForm/parseEsiaProfile.js.map +1 -1
  68. package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.js +0 -1
  69. package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
  70. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +2 -1
  71. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  72. package/mobile/lib/retail/components/Fields/AddressFactField.js +2 -17
  73. package/mobile/lib/retail/components/Fields/AddressFactField.js.map +1 -1
  74. package/mobile/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +6 -3
  75. package/mobile/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  76. package/mobile/lib/retail/utils/latinFieldsUtils.js +74 -77
  77. package/mobile/lib/retail/utils/latinFieldsUtils.js.map +1 -1
  78. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  79. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  80. package/mobile/lib/ui-kit/Select/SelectPopup.js +1 -1
  81. package/mobile/lib/ui-kit/Select/SelectPopup.js.map +1 -1
  82. package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +3 -5
  83. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +3 -2
  84. package/mobile/src/components/ApplicationLeadForm/parseEsiaProfile.ts +0 -1
  85. package/mobile/src/components/ApplicationLeadForm/useInitApplicationLead.ts +0 -1
  86. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +4 -1
  87. package/mobile/src/retail/components/Fields/AddressFactField.tsx +2 -17
  88. package/mobile/src/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.tsx +26 -23
  89. package/mobile/src/retail/utils/latinFieldsUtils.ts +76 -78
  90. package/mobile/src/ui-kit/Input/Input.tsx +0 -1
  91. package/mobile/src/ui-kit/Select/Select.tsx +2 -2
  92. package/mobile/src/ui-kit/Select/SelectPopup.tsx +1 -1
  93. package/package.json +1 -1
  94. package/src/components/ApplicationForm/ApplicationForm.tsx +3 -5
  95. package/src/components/ApplicationForm/ApplicationFormContent.ts +3 -2
  96. package/src/components/ApplicationLeadForm/parseEsiaProfile.ts +0 -1
  97. package/src/components/ApplicationLeadForm/useInitApplicationLead.ts +0 -1
  98. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +4 -1
  99. package/src/retail/components/Fields/AddressFactField.tsx +2 -17
  100. package/src/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.tsx +26 -23
  101. package/src/retail/utils/latinFieldsUtils.ts +76 -78
  102. package/src/ui-kit/Input/Input.tsx +0 -1
  103. package/src/ui-kit/Select/Select.tsx +2 -2
  104. package/src/ui-kit/Select/SelectPopup.tsx +1 -1
@@ -1809,7 +1809,9 @@
1809
1809
  const getTimer = (sendTime) => TIME_TO_RESEND - Math.floor((Date.now() - sendTime) / 1000);
1810
1810
 
1811
1811
  const CODE_LENGTH = 4;
1812
- const VerifyPhoneDialog = JSX(({ phone, withDescription = true, consents, onSuccess = noop, onClose = noop, formatData, reqId, isRetail = true, }) => {
1812
+ const VerifyPhoneDialog = JSX(
1813
+ // eslint-disable-next-line max-lines-per-function
1814
+ ({ phone, withDescription = true, consents, onSuccess = noop, onClose = noop, formatData, reqId, isRetail = true, }) => {
1813
1815
  const [values, setValues] = useState(Array(CODE_LENGTH).fill(''));
1814
1816
  const sessionStore = useSessionStore();
1815
1817
  const [requestId, setRequestId] = useState(reqId);
@@ -1849,8 +1851,10 @@
1849
1851
  handleSendCode();
1850
1852
  }
1851
1853
  }, []);
1852
- return (jsx(Dialog, { maxWidth: "lg", onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-xl items-center rounded-md", children: [jsx(Headline, { className: "w-full", title: "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430", description: `Мы отправили код на ${phone}`, headlineVersion: "XS", isEmbedded: true, as: "h6" }), jsx(InputCode, { values: values, setValues: setValues, errorText: errorText, hasError: hasError }), renderText$3(timeNextReq, handleSendCode), withDescription ? (jsxs(RichText, { itemSize: "list-s", children: [jsx("span", { children: "\u0412\u0432\u043E\u0434\u044F \u043A\u043E\u0434, \u044F \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u044E, \u0447\u0442\u043E \u043E\u0437\u043D\u0430\u043A\u043E\u043C\u043B\u0435\u043D \u0438 \u043F\u043E\u0434\u043F\u0438\u0441\u044B\u0432\u0430\u044E: " }), jsx("ul", { children: consents?.map((_, i) => (jsx("li", { children: _ }, `${_}-${i}`))) })] })) : null, renderNextButton(isSubmitButtonDisabled, handleSubmit), isLoading ? jsx(Loader, { blur: false }) : null] }) }));
1854
+ return (jsx(Dialog, { maxWidth: "lg", onClose: onClose, children: jsxs("div", { className: "flex flex-col gap-xl items-center rounded-md", children: [renderHeadline(phone), jsx(InputCode, { values: values, setValues: setValues, errorText: errorText, hasError: hasError }), renderText$3(timeNextReq, handleSendCode), renderDescription$2(consents, withDescription), renderNextButton(isSubmitButtonDisabled, handleSubmit), isLoading ? jsx(Loader, { blur: false }) : null] }) }));
1853
1855
  });
1856
+ const renderHeadline = (phone) => (jsx(Headline, { className: "w-full", title: "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430", description: `Мы отправили код на ${phone}`, headlineVersion: "XS", isEmbedded: true, as: "h6" }));
1857
+ const renderDescription$2 = (consents, isRender = false) => isRender ? (jsxs(RichText, { itemSize: "list-s", children: [jsx("span", { children: "\u0412\u0432\u043E\u0434\u044F \u043A\u043E\u0434, \u044F \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u044E, \u0447\u0442\u043E \u043E\u0437\u043D\u0430\u043A\u043E\u043C\u043B\u0435\u043D \u0438 \u043F\u043E\u0434\u043F\u0438\u0441\u044B\u0432\u0430\u044E: " }), jsx("ul", { children: consents?.map((_, i) => (jsx("li", { children: _ }, `${_}-${i}`))) })] })) : null;
1854
1858
  const renderNextButton = (disabled, onClick) => (jsx(SubmitButton, { text: "\u0414\u0430\u043B\u0435\u0435", disabled: disabled, onClick: onClick }));
1855
1859
  const renderText$3 = (timeNextReq, handleSendCode) => timeNextReq ? (jsxs("div", { className: "flex flex-row text-l font-light text-base", children: ["\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043A\u043E\u0434 \u043C\u043E\u0436\u043D\u043E \u0447\u0435\u0440\u0435\u0437", jsx(Timer, { className: "pl-2xs", seconds: timeNextReq })] })) : (jsx(Button, { embedded: true, onClick: handleSendCode, children: jsx(ButtonTitle, { children: "\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043A\u043E\u0434" }) }));
1856
1860
 
@@ -1922,7 +1926,7 @@
1922
1926
  onChangeQuery?.('');
1923
1927
  onChange(option);
1924
1928
  }
1925
- }, children: [option?.innDaData ? (jsxs("span", { children: [jsx(Text, { size: "text-s", children: option?.innDaData?.companyName }), jsxs("div", { className: "space-x-2", children: [jsx(Text, { size: "text-s", font: "font-light", children: formatOption(option) }), jsx(Text, { size: "text-s", font: "font-light", children: option?.innDaData?.companyAddress })] })] })) : (jsx("span", { className: "min-h-6", children: formatOption(option) })), jsx(Icon, { name: "DoneSimpleIcon", width: "16", height: "16", iconVersion: iconVersion, className: style('absolute right-4 pt-3xs', {
1929
+ }, children: [option?.innDaData ? (jsxs("span", { children: [jsx(Text, { size: "text-s", children: option?.innDaData?.companyName }), jsxs("div", { className: "space-x-2", children: [jsx(Text, { size: "text-s", font: "font-light", children: formatOption(option) }), jsx(Text, { size: "text-s", font: "font-light", children: option?.innDaData?.companyAddress })] })] })) : (jsx("span", { className: "min-h-6", children: formatOption(option) })), jsx(Icon, { name: "DoneSimpleIcon", width: "16", height: "16", iconVersion: iconVersion, className: style('absolute right-4 pt-3xs sm:pt-2xs sm:right-2', {
1926
1930
  hidden: option.key !== value?.key,
1927
1931
  }) })] }, option.key))) })) : null);
1928
1932
 
@@ -3154,9 +3158,9 @@
3154
3158
  const inputs = useMemo(() => (sections?.flatMap((_) => _?.inputs) || []), [sections]);
3155
3159
  const initialFormState = useMemo(() => getInitialFormState$2(inputs, typeForm), [inputs, typeForm]);
3156
3160
  const router = useRouter();
3161
+ const aspects = useAspects();
3157
3162
  const formValidator = useMemo(() => getFormValidator(inputs), [inputs]);
3158
3163
  const responseTypeDialog = useDialog(ResponseTypeDialog);
3159
- const aspects = useAspects();
3160
3164
  const verifyPhoneDialog = useDialog(VerifyPhoneDialog);
3161
3165
  const handleSubmit = useCallback(async (formData, ev) => {
3162
3166
  const formatData = getFormatData({ ...formData, ...additionalParams });
@@ -3193,8 +3197,9 @@
3193
3197
  onSubmit: handleSubmit,
3194
3198
  });
3195
3199
  const fieldName = getConsentDataProcessing(inputs)?.name;
3200
+ const consentDataProcessing = fieldName ? field('consentDataProcessing') : undefined;
3196
3201
  return (jsxs(ApplicationFormLayout, { className: style('container space-y-m', className), title: title, ...rest, children: [jsxs("form", { onSubmit: onSubmit, children: [renderSections(sections, field, { typeForm, additionalParams }), renderAgreementSubmit({
3197
- consentDataProcessing: fieldName ? field('consentDataProcessing') : undefined,
3202
+ consentDataProcessing,
3198
3203
  link,
3199
3204
  button,
3200
3205
  typeForm,
@@ -3771,23 +3776,7 @@
3771
3776
  }
3772
3777
  }, [value, field('addressRegistration').value]);
3773
3778
  const onDaDataChange = useCallback((item) => {
3774
- field?.(fieldName)?.onChange?.({
3775
- apartment: item?.data?.flat,
3776
- city: item?.data?.city,
3777
- district: item?.data?.area_with_type,
3778
- fullAddress: item?.value,
3779
- fiasCode: item?.data?.fias_id,
3780
- house: item?.data?.house,
3781
- locality: item?.data?.settlement_with_type,
3782
- okatoRegionCode: item?.data?.okato,
3783
- postcode: item?.data?.postal_code,
3784
- region: item?.data?.region,
3785
- regionCode: item?.data?.region_kladr_id ? item?.data?.region_kladr_id.substring(0, 2) : '',
3786
- street: item?.data?.house,
3787
- qc: item?.data?.qc,
3788
- qcComplete: item?.data?.qc_complete,
3789
- qcHouse: item?.data?.qc_house,
3790
- });
3779
+ field?.(fieldName)?.onChange?.(getAddressFromDaDataItem(item));
3791
3780
  }, []);
3792
3781
  const onChange = useCallback((val) => {
3793
3782
  field?.(fieldName)?.onChange?.({
@@ -5232,84 +5221,81 @@
5232
5221
 
5233
5222
  const latinPattern = /^[\u0041-\u005A\u0061-\u007A\s]+$/u;
5234
5223
  const isLatin = (_ = '') => latinPattern.test(_);
5235
- // eslint-disable-next-line max-lines-per-function
5236
- const autoTranslateToLatin = (str) => {
5237
- const replacer = {
5238
- А: 'A',
5239
- Б: 'B',
5240
- В: 'V',
5241
- Г: 'G',
5242
- Д: 'D',
5243
- Е: 'E',
5244
- Ё: 'E',
5245
- Ж: 'ZH',
5246
- З: 'Z',
5247
- И: 'I',
5248
- Й: 'I',
5249
- К: 'K',
5250
- Л: 'L',
5251
- М: 'M',
5252
- Н: 'N',
5253
- О: 'O',
5254
- П: 'P',
5255
- Р: 'R',
5256
- С: 'S',
5257
- Т: 'T',
5258
- У: 'U',
5259
- Ф: 'F',
5260
- Х: 'KH',
5261
- Ц: 'TS',
5262
- Ч: 'CH',
5263
- Ш: 'SH',
5264
- Щ: 'SHCH',
5265
- Ъ: 'IE',
5266
- Ы: 'Y',
5267
- Ь: '',
5268
- Э: 'E',
5269
- Ю: 'YU',
5270
- Я: 'YA',
5271
- '': '',
5272
- // Lower case
5273
- а: 'A',
5274
- б: 'B',
5275
- в: 'V',
5276
- г: 'G',
5277
- д: 'D',
5278
- е: 'E',
5279
- ё: 'E',
5280
- ж: 'ZH',
5281
- з: 'Z',
5282
- и: 'I',
5283
- й: 'I',
5284
- к: 'K',
5285
- л: 'L',
5286
- м: 'M',
5287
- н: 'N',
5288
- о: 'O',
5289
- п: 'P',
5290
- р: 'R',
5291
- с: 'S',
5292
- т: 'T',
5293
- у: 'U',
5294
- ф: 'F',
5295
- х: 'KH',
5296
- ц: 'TS',
5297
- ч: 'CH',
5298
- ш: 'SH',
5299
- щ: 'SHCH',
5300
- ъ: 'IE',
5301
- ы: 'Y',
5302
- ь: '',
5303
- э: 'E',
5304
- ю: 'YU',
5305
- я: 'YA',
5306
- '.': '.',
5307
- ',': ',',
5308
- '-': '-',
5309
- ' ': ' ',
5310
- };
5311
- return str.replace(/[А-ЯЁа-яё,. -]/g, (_) => replacer[_.toLowerCase()].toUpperCase() || '');
5312
- };
5224
+ const REPLACER = {
5225
+ А: 'A',
5226
+ Б: 'B',
5227
+ В: 'V',
5228
+ Г: 'G',
5229
+ Д: 'D',
5230
+ Е: 'E',
5231
+ Ё: 'E',
5232
+ Ж: 'ZH',
5233
+ З: 'Z',
5234
+ И: 'I',
5235
+ Й: 'I',
5236
+ К: 'K',
5237
+ Л: 'L',
5238
+ М: 'M',
5239
+ Н: 'N',
5240
+ О: 'O',
5241
+ П: 'P',
5242
+ Р: 'R',
5243
+ С: 'S',
5244
+ Т: 'T',
5245
+ У: 'U',
5246
+ Ф: 'F',
5247
+ Х: 'KH',
5248
+ Ц: 'TS',
5249
+ Ч: 'CH',
5250
+ Ш: 'SH',
5251
+ Щ: 'SHCH',
5252
+ Ъ: 'IE',
5253
+ Ы: 'Y',
5254
+ Ь: '',
5255
+ Э: 'E',
5256
+ Ю: 'YU',
5257
+ Я: 'YA',
5258
+ '': '',
5259
+ // Lower case
5260
+ а: 'A',
5261
+ б: 'B',
5262
+ в: 'V',
5263
+ г: 'G',
5264
+ д: 'D',
5265
+ е: 'E',
5266
+ ё: 'E',
5267
+ ж: 'ZH',
5268
+ з: 'Z',
5269
+ и: 'I',
5270
+ й: 'I',
5271
+ к: 'K',
5272
+ л: 'L',
5273
+ м: 'M',
5274
+ н: 'N',
5275
+ о: 'O',
5276
+ п: 'P',
5277
+ р: 'R',
5278
+ с: 'S',
5279
+ т: 'T',
5280
+ у: 'U',
5281
+ ф: 'F',
5282
+ х: 'KH',
5283
+ ц: 'TS',
5284
+ ч: 'CH',
5285
+ ш: 'SH',
5286
+ щ: 'SHCH',
5287
+ ъ: 'IE',
5288
+ ы: 'Y',
5289
+ ь: '',
5290
+ э: 'E',
5291
+ ю: 'YU',
5292
+ я: 'YA',
5293
+ '.': '.',
5294
+ ',': ',',
5295
+ '-': '-',
5296
+ ' ': ' ',
5297
+ };
5298
+ const autoTranslateToLatin = (str) => str.replace(/[А-ЯЁа-яё,. -]/g, (_) => REPLACER[_.toLowerCase()].toUpperCase() || '');
5313
5299
 
5314
5300
  const MAX_LENGTH$1 = 20;
5315
5301
  const LatinNameField = JSX(({ field, input }) => {
@@ -10360,7 +10346,8 @@
10360
10346
  const ExchangeRateTile = JSX(({ className = '', title = 'Курсы обмена валют', button, ...rest }) => {
10361
10347
  const currentLocation = useLocation();
10362
10348
  const exchangeRates = useFetchExchangeRateData(currentLocation);
10363
- const currencyRates = getCurrencyRates(exchangeRates?.exchangeRate?.currencies);
10349
+ const filteredCurrencyRates = exchangeRates?.exchangeRate?.currencies?.filter((_) => _.buyExchangeRate !== 0 || _.saleExchangeRate !== 0);
10350
+ const currencyRates = getCurrencyRates(filteredCurrencyRates);
10364
10351
  const currencyRatesBuy = currencyRates.filter((_) => _.buyExchangeRate);
10365
10352
  currencyRatesBuy.unshift({ currency: { currency: Currency.RUB } });
10366
10353
  const currencyRatesSell = currencyRates.filter((_) => _.saleExchangeRate);
@@ -11963,7 +11950,7 @@
11963
11950
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
11964
11951
  });
11965
11952
 
11966
- const packageVersion = "0.14.902";
11953
+ const packageVersion = "0.14.904";
11967
11954
 
11968
11955
  exports.Blocks = Blocks;
11969
11956
  exports.ContentPage = ContentPage;