From 9250b863f727e817472a7b0e9068f4efd5caa229 Mon Sep 17 00:00:00 2001 From: abdurahman Date: Sun, 24 Dec 2023 10:42:21 +0500 Subject: [PATCH] added a way to add an image from a smartphone camera --- lang/en/messages.php | 1 + lang/est/messages.php | 1 + lang/ru/messages.php | 1 + package-lock.json | 2 +- resources/js/components/FieldConfigurator.vue | 1699 ++++++++++++----- .../layouts/partials/javascript.blade.php | 210 +- 6 files changed, 1318 insertions(+), 596 deletions(-) diff --git a/lang/en/messages.php b/lang/en/messages.php index 514ca78..de34d4b 100644 --- a/lang/en/messages.php +++ b/lang/en/messages.php @@ -115,6 +115,7 @@ return [ 'file_size_limit_help' => 'Enter file size limit in MB', 'allowed_file' => 'Allowed File Type', 'specify_file_type' => 'Specify allowed types', + 'image_file_type' => 'Camera + file', 'all_types' => 'All types', 'add_file_type' => 'Add file types', 'add_file_type_help_text' => 'Comma separated string of file types.Ex: .jpg, .png, .jpeg', diff --git a/lang/est/messages.php b/lang/est/messages.php index 54e3535..e989a5f 100644 --- a/lang/est/messages.php +++ b/lang/est/messages.php @@ -115,6 +115,7 @@ return [ 'file_size_limit_help' => 'Sisestage faili suuruse piirang megabaitides', 'allowed_file' => 'Lubatud failitüüp', 'specify_file_type' => 'Määrake lubatud tüübid', + 'image_file_type' => 'Camera + file', 'all_types' => 'Kõik tüübid', 'add_file_type' => 'Lisa failitüüpe', 'add_file_type_help_text' => 'Failitüüpide komaga eraldatud string. Näiteks: .jpg, .png, .jpeg', diff --git a/lang/ru/messages.php b/lang/ru/messages.php index b9f5333..2c11995 100644 --- a/lang/ru/messages.php +++ b/lang/ru/messages.php @@ -115,6 +115,7 @@ return [ 'file_size_limit_help' => 'Введите ограничение размера файла в МБ', 'allowed_file' => 'Допустимый тип файла', 'specify_file_type' => 'Укажите разрешенные типы', + 'image_file_type' => 'Camera + file', 'all_types' => 'Все типы', 'add_file_type' => 'Добавить типы файлов', 'add_file_type_help_text' => 'Строка с разделенными запятыми типами файлов. Например, .jpg, .png, .jpeg', diff --git a/package-lock.json b/package-lock.json index 573b556..d813b8c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "uniquesoft.es", + "name": "Aknaproff1", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/resources/js/components/FieldConfigurator.vue b/resources/js/components/FieldConfigurator.vue index 6430c09..5fab629 100644 --- a/resources/js/components/FieldConfigurator.vue +++ b/resources/js/components/FieldConfigurator.vue @@ -1,82 +1,112 @@