diff --git a/Gemfile b/Gemfile index 36783f0d..e2d74068 100644 --- a/Gemfile +++ b/Gemfile @@ -24,7 +24,6 @@ gem 'hexapdf' gem 'jwt', require: false gem 'lograge' gem 'numo-narray-alt', require: false -gem 'oj' gem 'onnxruntime', require: false gem 'pagy' gem 'pg', require: false diff --git a/Gemfile.lock b/Gemfile.lock index 933cf9a8..d72a8bd7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -271,7 +271,7 @@ GEM rdoc (>= 4.0.0) reline (>= 0.4.2) jmespath (1.6.2) - json (2.19.7) + json (2.19.8) jwt (3.2.0) base64 language_server-protocol (3.17.0.5) @@ -334,9 +334,6 @@ GEM nokogiri (1.19.3-x86_64-linux-musl) racc (~> 1.4) numo-narray-alt (0.10.3) - oj (3.16.16) - bigdecimal (>= 3.0) - ostruct (>= 0.2) onnxruntime (0.10.1-aarch64-linux) ffi onnxruntime (0.10.1-arm64-darwin) @@ -346,7 +343,6 @@ GEM openssl (4.0.1) orm_adapter (0.5.0) os (1.1.4) - ostruct (0.6.3) package_json (0.2.0) pagy (43.4.4) json @@ -623,7 +619,6 @@ DEPENDENCIES letter_opener_web lograge numo-narray-alt - oj onnxruntime pagy pg diff --git a/app/javascript/template_builder/area.vue b/app/javascript/template_builder/area.vue index 06a3eb9b..8ca14aba 100644 --- a/app/javascript/template_builder/area.vue +++ b/app/javascript/template_builder/area.vue @@ -197,7 +197,8 @@ v-else-if="!isCheckboxInput" width="100%" height="100%" - class="max-h-10 opacity-50" + class="opacity-50" + :style="{ maxHeight: isInlineSize ? '4.4cqmin' : '40px' }" /> diff --git a/app/javascript/template_builder/builder.vue b/app/javascript/template_builder/builder.vue index 5e3f46fb..4fe13b4d 100644 --- a/app/javascript/template_builder/builder.vue +++ b/app/javascript/template_builder/builder.vue @@ -309,6 +309,8 @@ :data-document-uuid="item.attachment_uuid" :accept-file-types="acceptFileTypes" :with-replace-button="withUploadButton" + :with-google-drive="withGoogleDrive" + :authenticity-token="authenticityToken" :editable="editable" :dynamic-documents="dynamicDocuments" :with-dynamic-documents="withDynamicDocuments" @@ -355,12 +357,17 @@