@focus4/forms
Advanced tools
@@ -687,4 +687,4 @@ import { isFunction, takeWhile, upperFirst } from "es-toolkit"; | ||
| const thousands = sample.find((s) => s.type === "group")?.value ?? ""; | ||
| const invalidCharRegex = new RegExp(`[^\\d${thousands ? `\\${thousands}` : ""}${decimal ? `\\${decimal}` : ""}]`, "gu"); | ||
| const digitDecimalRegex = new RegExp(`[\\d\\${decimal}-]`, "u"); | ||
| const invalidCharRegex = new RegExp(`[^\\d${thousands}${decimal}]`, "gu"); | ||
| const digitDecimalRegex = new RegExp(`[\\d${decimal}-]`, "u"); | ||
| const [left, right, nope] = decimal ? v.split(decimal) : [ | ||
@@ -691,0 +691,0 @@ v, |
+2
-2
| { | ||
| "name": "@focus4/forms", | ||
| "version": "12.12.1", | ||
| "version": "12.12.2", | ||
| "description": "Focus v4, forms module", | ||
@@ -19,3 +19,3 @@ "main": "lib/focus4.forms.js", | ||
| "@focus4/entities": "12.10.2", | ||
| "@focus4/stores": "12.12.1", | ||
| "@focus4/stores": "12.12.2", | ||
| "es-toolkit": "^1.47.0", | ||
@@ -22,0 +22,0 @@ "intl-number-parser": "^1.0.6", |
Sorry, the diff of this file is too big to display
131341
-0.16%+ Added
- Removed
Updated