From 90ed4a213fbbc9d6ba767abd49ffbf7b2400cf29 Mon Sep 17 00:00:00 2001 From: tristan Date: Thu, 11 Jun 2026 15:46:43 +0000 Subject: [PATCH] fix: MalioDate + MalioDateTime (#72) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit | Numéro du ticket | Titre du ticket | |------------------|-----------------| | | | ## Description de la PR ## Modification du .env ## Check list - [ ] Pas de régression - [x] TU/TI/TF rédigée - [x] TU/TI/TF OK - [x] CHANGELOG modifié --------- Co-authored-by: admin malio Co-authored-by: THOLOT DECHENE Matthieu Co-authored-by: matthieu Reviewed-on: https://gitea.malio.fr/MALIO-DEV/malio-layer-ui/pulls/72 Co-authored-by: tristan Co-committed-by: tristan --- .playground/pages/composant/date/datetime.vue | 16 ++ CHANGELOG.md | 4 + COMPONENTS.md | 16 +- app/components/malio/date/Date.test.ts | 122 ++++++++++++- app/components/malio/date/Date.vue | 28 ++- app/components/malio/date/DateTime.test.ts | 163 ++++++++++++++++++ app/components/malio/date/DateTime.vue | 51 +++++- .../date/composables/datetimeFormat.test.ts | 29 ++++ .../malio/date/composables/datetimeFormat.ts | 12 +- .../malio/date/internal/CalendarField.vue | 42 ++++- .../malio/select/SelectCheckbox.test.ts | 15 +- vitest.config.ts | 8 + 12 files changed, 480 insertions(+), 26 deletions(-) diff --git a/.playground/pages/composant/date/datetime.vue b/.playground/pages/composant/date/datetime.vue index f7d0938..4ffe173 100644 --- a/.playground/pages/composant/date/datetime.vue +++ b/.playground/pages/composant/date/datetime.vue @@ -13,6 +13,20 @@

Valeur (ISO naïf) : {{ value ?? 'null' }}

+ +
+

Valeur éditable (ISO naïf) : {{ editableValue ?? 'null' }}

+

+ Saisie valide : + {{ editableValid }} +

+