pg_rails 7.0.8.pre.alpha.71 → 7.0.8.pre.alpha.72
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/pg_associable/app/assets/stylesheets/pg_associable.scss +2 -2
- data/pg_associable/app/javascript/asociable_controller.tsx +6 -0
- data/pg_engine/app/assets/stylesheets/pg_rails_b5.scss +0 -1
- data/pg_engine/config/locales/es.yml +1 -1
- data/pg_layout/app/views/pg_layout/_error.html.erb +1 -1
- data/pg_rails/lib/version.rb +1 -1
- data/pg_rails/scss/bootstrap_overrides.scss +2 -0
- data/pg_scaffold/lib/generators/pg_rspec/scaffold/templates/controller_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: adf65a3ea20e9eedfa39e8e9a2b97ae48c773b5031d5dcffa4df98f8aa3f236f
|
4
|
+
data.tar.gz: f966e9b52d9ac7f7021ff6f51f0a051397f3dc07dffd641c7cd75949c8d198a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0d877134bf17b9b0653104475e5af6471850f805eaf5822e703ec17dc544fabf939dfdb3c74044969ebb1de635283d8872ee24fb324670bba5411480b0a605a
|
7
|
+
data.tar.gz: 61af835abe1cde9a9edeab6565a6f61f6df641e2f6a3df8f4fedf869d252a7382ce6c8488bff4c080319a7eaa30c6ac40a3917f4e00bc3c77530b4920e8d11a3
|
@@ -31,7 +31,7 @@
|
|
31
31
|
display: none;
|
32
32
|
}
|
33
33
|
input[type=text] {
|
34
|
-
background-color:
|
34
|
+
background-color: #{$body-bg};
|
35
35
|
padding-right: 2em;
|
36
36
|
}
|
37
37
|
&.filled {
|
@@ -84,7 +84,7 @@
|
|
84
84
|
box-shadow: 0px 9px 13px -3px rgba(0, 0, 0, 0.5);
|
85
85
|
// position: absolute;
|
86
86
|
// z-index: 1;
|
87
|
-
background-color:
|
87
|
+
background-color: #{$body-bg};
|
88
88
|
border: 1px solid #a7b7bb;
|
89
89
|
border-top: none;
|
90
90
|
border-radius: 4px;
|
@@ -55,6 +55,12 @@ export default class extends Controller {
|
|
55
55
|
|
56
56
|
this.input.addEventListener('blur', () => {
|
57
57
|
this.input.placeholder = ''
|
58
|
+
setTimeout(() => {
|
59
|
+
if (!this.element.classList.contains('filled')) {
|
60
|
+
this.input.value = ''
|
61
|
+
this.resetResultados()
|
62
|
+
}
|
63
|
+
}, 200)
|
58
64
|
})
|
59
65
|
this.input.onfocus = () => {
|
60
66
|
this.input.select()
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<%# locals: (error_msg: nil) %>
|
2
2
|
|
3
|
-
<div class="d-flex justify-content-around mt-2">
|
3
|
+
<div class="d-flex justify-content-around mt-2" data-turbo-temporary="true">
|
4
4
|
<div class="alert alert-danger d-flex align-items-center">
|
5
5
|
<div>
|
6
6
|
<span class="bi bi-emoji-dizzy fs-1 me-3"></span>
|
data/pg_rails/lib/version.rb
CHANGED
@@ -218,7 +218,7 @@ RSpec.describe <%= controller_class_name %>Controller do
|
|
218
218
|
<% else -%>
|
219
219
|
put :update, params: { id: <%= file_name %>.to_param, <%= nombre_tabla_completo_singular %>: valid_attributes }
|
220
220
|
<% end -%>
|
221
|
-
expect(response).to redirect_to([:<%= ns_prefix.first %>, <%= file_name
|
221
|
+
expect(response).to redirect_to([:<%= ns_prefix.first %>, <%= file_name %>])
|
222
222
|
end
|
223
223
|
end
|
224
224
|
<% if attributes.any? { |at| at.required? } -%>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.8.pre.alpha.
|
4
|
+
version: 7.0.8.pre.alpha.72
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martín Rosso
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|