@kontur.candy/generator 4.296.0-upload-excel-button.0 → 4.296.0-upload-excel-button.1
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/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -123891,7 +123891,7 @@ class StringTypeMessageGenerator {
|
|
|
123891
123891
|
}
|
|
123892
123892
|
|
|
123893
123893
|
if (constraints.patterns != undefined && (0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.arrayHasLength)(constraints.patterns, 1)) {
|
|
123894
|
-
const uniqValues = Iterator.from(unique(this.generateRegexValues(constraints.patterns[0],
|
|
123894
|
+
const uniqValues = Iterator.from(unique(this.generateRegexValues(constraints.patterns[0], 20))).toArray();
|
|
123895
123895
|
(0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_2__.ensureArrayIsNotEmpty)(uniqValues);
|
|
123896
123896
|
const isNumbersOnly = /^0+$/.test(uniqValues[0]);
|
|
123897
123897
|
|