From 6e9e18dd86787cd9a07fb0669bd94a0156cb02a4 Mon Sep 17 00:00:00 2001 From: sinisaos Date: Thu, 27 Jul 2023 18:22:01 +0200 Subject: [PATCH 1/9] pydantic_v2_support --- admin_ui/package.json | 3 +- admin_ui/src/components/DurationWidget.vue | 6 ++-- admin_ui/src/components/InputField.vue | 41 +++++++++++++++------- admin_ui/src/components/RowFilter.vue | 8 +++++ admin_ui/src/utils.ts | 37 ++++++++++++++----- admin_ui/src/views/RowListing.vue | 7 ++-- piccolo_admin/endpoints.py | 2 +- piccolo_admin/example.py | 7 ++-- requirements/requirements.txt | 6 ++-- 9 files changed, 82 insertions(+), 35 deletions(-) diff --git a/admin_ui/package.json b/admin_ui/package.json index 4f34b8cf..eb6b5578 100644 --- a/admin_ui/package.json +++ b/admin_ui/package.json @@ -23,6 +23,7 @@ "is-svg": "^4.3.1", "js-cookie": "^2.2.1", "json-bigint": "^1.0.0", + "moment": "^2.29.4", "ssri": "^8.0.1", "vue": "^2.7.14", "vue-class-component": "^7.2.6", @@ -57,4 +58,4 @@ "vue-template-compiler": "^2.6.12" }, "license": "ISC" -} +} \ No newline at end of file diff --git a/admin_ui/src/components/DurationWidget.vue b/admin_ui/src/components/DurationWidget.vue index a06de629..bd9ce9f0 100644 --- a/admin_ui/src/components/DurationWidget.vue +++ b/admin_ui/src/components/DurationWidget.vue @@ -47,7 +47,9 @@ -