@redneckz/wildless-cms-uni-blocks 0.14.932 → 0.14.933
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 +4 -2
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/retail/utils/latinFieldsUtils.js +3 -1
- package/dist/retail/utils/latinFieldsUtils.js.map +1 -1
- package/lib/retail/utils/latinFieldsUtils.js +3 -1
- package/lib/retail/utils/latinFieldsUtils.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +4 -2
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/retail/utils/latinFieldsUtils.js +3 -1
- package/mobile/dist/retail/utils/latinFieldsUtils.js.map +1 -1
- package/mobile/lib/retail/utils/latinFieldsUtils.js +3 -1
- package/mobile/lib/retail/utils/latinFieldsUtils.js.map +1 -1
- package/mobile/src/retail/utils/latinFieldsUtils.ts +3 -1
- package/package.json +1 -1
- package/src/retail/utils/latinFieldsUtils.ts +3 -1
package/bundle/bundle.umd.js
CHANGED
|
@@ -5276,7 +5276,9 @@
|
|
|
5276
5276
|
|
|
5277
5277
|
const MAX_LENGTH = 20;
|
|
5278
5278
|
const latinPattern = /^[\u0041-\u005A\u0061-\u007A\s]+$/u;
|
|
5279
|
-
const isValidLatin = (currentValue = '', secondValue = '') => latinPattern.test(currentValue) &&
|
|
5279
|
+
const isValidLatin = (currentValue = '', secondValue = '') => latinPattern.test(currentValue) &&
|
|
5280
|
+
secondValue.length < MAX_LENGTH &&
|
|
5281
|
+
currentValue.length + secondValue.length <= MAX_LENGTH;
|
|
5280
5282
|
const REPLACER = {
|
|
5281
5283
|
А: 'A',
|
|
5282
5284
|
Б: 'B',
|
|
@@ -12228,7 +12230,7 @@
|
|
|
12228
12230
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
12229
12231
|
});
|
|
12230
12232
|
|
|
12231
|
-
const packageVersion = "0.14.
|
|
12233
|
+
const packageVersion = "0.14.932";
|
|
12232
12234
|
|
|
12233
12235
|
exports.Blocks = Blocks;
|
|
12234
12236
|
exports.ContentPage = ContentPage;
|