From 9b7a9d9409e176f25c6ca049df37893eefb4d8c2 Mon Sep 17 00:00:00 2001 From: Igor Vinicius Date: Wed, 22 Oct 2025 10:59:25 -0300 Subject: [PATCH 1/2] =?UTF-8?q?chore:=20Atualiza=20vers=C3=A3o=20do=20proj?= =?UTF-8?q?eto?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6018a18..c826521 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sysvale/show", - "version": "1.23.2", + "version": "1.24.0", "description": "A set of components used at Sysvale", "repository": { "type": "git", From 8e4b2ce9ec20fe520e0ddc8dd81e449984c743fa Mon Sep 17 00:00:00 2001 From: Igor Vinicius Date: Wed, 22 Oct 2025 10:59:37 -0300 Subject: [PATCH 2/2] feat: Adiciona regra max_value --- src/utils/validation/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/validation/index.js b/src/utils/validation/index.js index 831e43d..21fe970 100644 --- a/src/utils/validation/index.js +++ b/src/utils/validation/index.js @@ -5,6 +5,7 @@ import { max, numeric, min_value, + max_value, size, } from '@vee-validate/rules'; @@ -35,6 +36,7 @@ export const defineRules = (defineRule) => { defineRule('max', max); defineRule('min', min); defineRule('min_value', min_value); + defineRule('max_value', max_value); defineRule('number', numeric); defineRule('password_confirmation', passwordConfirmation); defineRule('phone', phone);