glib-web 3.0.4 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/glib/json_ui/action_builder/dialogs.rb +6 -3
- data/app/helpers/glib/json_ui/action_builder/panels.rb +1 -0
- data/app/helpers/glib/json_ui/view_builder.rb +1 -0
- data/app/views/json_ui/garage/forms/_partial_update_execute.json.jbuilder +2 -0
- data/app/views/json_ui/garage/forms/partial_update.json.jbuilder +1 -0
- 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: 1db2e4081d9ad6f54c2626b75123ac3f027749b7459b18db376c8d7dc9223c04
|
4
|
+
data.tar.gz: 37a176aa91ed55346c5ec137cc6c80ade9c15c0d9a9b80f02b30749bd986626e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d131210d0e18d05ae520c13aa7eeea57383fefd27828fb82a8acc567d670b5fbf0e02351426d4cb1dcb19b3e7ba0c8fa51f2e28fcd3978af4221e8a44f9d8166
|
7
|
+
data.tar.gz: a363d75ce45ed9f17e5bfd95f8bddc897064d032a03a0dfe973327411e513cf726088cd144308a70c7fcb3c3bd93c9a6f920131081534802b43c170ab035a96c
|
@@ -26,7 +26,8 @@ class Glib::JsonUi::ActionBuilder
|
|
26
26
|
|
27
27
|
class Show < Action
|
28
28
|
panels_builder :content, :body
|
29
|
-
bool :showClose
|
29
|
+
bool :showClose # deprecated
|
30
|
+
bool :disableCloseButton
|
30
31
|
string :fullscreen # mobile, always
|
31
32
|
length :width
|
32
33
|
bool :closeOnBlur
|
@@ -43,7 +44,8 @@ class Glib::JsonUi::ActionBuilder
|
|
43
44
|
|
44
45
|
class Open < Action
|
45
46
|
string :url, cache: true
|
46
|
-
bool :showClose
|
47
|
+
bool :showClose # deprecated
|
48
|
+
bool :disableCloseButton
|
47
49
|
string :fullscreen
|
48
50
|
length :width
|
49
51
|
length :height
|
@@ -53,7 +55,8 @@ class Glib::JsonUi::ActionBuilder
|
|
53
55
|
class Reload < Action
|
54
56
|
panels_builder :content, :body
|
55
57
|
string :url, cache: true
|
56
|
-
bool :showClose
|
58
|
+
bool :showClose # deprecated
|
59
|
+
bool :disableCloseButton
|
57
60
|
string :fullscreen # mobile, always
|
58
61
|
length :width
|
59
62
|
end
|
@@ -1,6 +1,8 @@
|
|
1
1
|
name = params[:name]
|
2
2
|
action.components_update targetId: 'greeting', views: ->(update) do
|
3
3
|
update.panels_vertical childViews: ->(vertical) do
|
4
|
+
name = params[:name]
|
5
|
+
vertical.fields_hidden name: 'name', value: name
|
4
6
|
vertical.label text: "Hello #{name},"
|
5
7
|
vertical.spacer height: 8
|
6
8
|
vertical.label text: 'Nice to meet you'
|
@@ -12,6 +12,7 @@ page.scroll childViews: ->(scroll) do
|
|
12
12
|
scroll.label text: 'The updated content should be committed to the page history as the user navigates back and forward.'
|
13
13
|
scroll.spacer height: 18
|
14
14
|
scroll.panels_vertical id: 'greeting', childViews: ->(inner) do
|
15
|
+
inner.fields_hidden name: 'name', value: '<uninitialized>'
|
15
16
|
inner.label text: 'Hello'
|
16
17
|
end
|
17
18
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glib-web
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
@@ -318,7 +318,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
318
318
|
- !ruby/object:Gem::Version
|
319
319
|
version: '0'
|
320
320
|
requirements: []
|
321
|
-
rubygems_version: 3.1.
|
321
|
+
rubygems_version: 3.1.4
|
322
322
|
signing_key:
|
323
323
|
specification_version: 4
|
324
324
|
summary: ''
|