glib-web 4.26.0 → 4.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/concerns/glib/json/new_dynamic_text.rb +0 -0
- data/app/helpers/glib/app_feature_support_helper.rb +0 -0
- data/app/helpers/glib/dynamic_texts_helper.rb +0 -0
- data/app/helpers/glib/json_ui/action_builder/snackbars.rb +9 -4
- data/app/helpers/glib/json_ui/analytics_helper.rb +0 -0
- data/app/helpers/glib/json_ui/generic_builders.rb +0 -0
- data/app/models/glib/active_storage/attachment.rb +0 -0
- data/app/models/glib/active_storage/blob.rb +0 -0
- data/app/models/glib/dynamic_text_record.rb +0 -0
- data/app/models/glib/text.rb +0 -0
- data/app/validators/email_typo_validator.rb +0 -0
- data/app/validators/email_validator.rb +0 -0
- data/app/validators/url_validator.rb +0 -0
- data/app/views/json_ui/garage/actions/_snackbars.json.jbuilder +1 -1
- data/app/views/json_ui/garage/actions/dialogs_oauth_post.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/bulk_edit_post.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/dynamic_group.json.jbuilder +3 -1
- data/app/views/json_ui/garage/forms/generic_post.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/submission_flow.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/submission_flow_post.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/submission_indicator.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/submission_indicator_post.json.jbuilder +0 -0
- data/app/views/json_ui/garage/home/blank.json.jbuilder +0 -0
- data/app/views/json_ui/garage/home/slow.json.jbuilder +0 -0
- data/app/views/json_ui/garage/lists/autoload_all.json.jbuilder +0 -0
- data/app/views/json_ui/garage/lists/autoload_as_needed.json.jbuilder +0 -0
- data/app/views/json_ui/garage/lists/chat_ui.json.jbuilder +0 -0
- data/app/views/json_ui/garage/lists/fab.json.jbuilder +0 -0
- data/app/views/json_ui/garage/notifications/web_socket.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/custom_style_class.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/full_width.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/full_width_height.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/layout.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/loading_indicator.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/nested_scroll.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/redirect_onload.json.jbuilder +0 -0
- data/app/views/json_ui/garage/panels/_styled.json.jbuilder +0 -0
- data/app/views/json_ui/garage/panels/card.json.jbuilder +0 -0
- data/app/views/json_ui/garage/panels/custom.json.jbuilder +0 -0
- data/app/views/json_ui/garage/panels/outlined.json.jbuilder +0 -0
- data/app/views/json_ui/garage/services/dynamic_text.json.jbuilder +0 -0
- data/app/views/json_ui/garage/services/image.json.jbuilder +0 -0
- data/app/views/json_ui/garage/services/index.json.jbuilder +0 -0
- data/app/views/json_ui/garage/tables/_autoload_section.json.jbuilder +0 -0
- data/app/views/json_ui/garage/tables/autoload_all.json.jbuilder +0 -0
- data/app/views/json_ui/garage/tables/autoload_as_needed.json.jbuilder +0 -0
- data/app/views/json_ui/garage/tables/export_import.json.jbuilder +0 -0
- data/app/views/json_ui/garage/views/calendar_data.json.jbuilder +0 -0
- data/app/views/json_ui/garage/views/controls.json.jbuilder +18 -0
- data/app/views/json_ui/garage/views/map_data.json.jbuilder +0 -0
- data/app/views/json_ui/garage/views/multimedia.json.jbuilder +0 -0
- data/app/views/layouts/json_ui/no_custom.html.erb +0 -0
- data/lib/generators/glib/install_generator.rb +0 -0
- data/lib/generators/templates/20191017062519_create_texts.rb +0 -0
- data/lib/generators/templates/20191024063257_add_scope_to_texts.rb +0 -0
- data/lib/generators/templates/20191112095018_add_lang_to_texts.rb +0 -0
- data/lib/generators/templates/20191126071051_create_active_storage_tables.active_storage.rb +0 -0
- data/lib/generators/templates/database.yml +0 -0
- data/lib/generators/templates/dynamic_text.rb +0 -0
- data/lib/glib/dynamic_text/config.rb +0 -0
- data/lib/glib/dynamic_text.rb +0 -0
- data/lib/glib/json_crawler/action_crawler.rb +0 -0
- data/lib/glib/json_crawler/action_crawlers/action_http.rb +0 -0
- data/lib/glib/json_crawler/action_crawlers/dialogs_alert.rb +0 -0
- data/lib/glib/json_crawler/action_crawlers/menu.rb +0 -0
- data/lib/glib/json_crawler/action_crawlers/run_multiple.rb +0 -0
- data/lib/glib/json_crawler/action_crawlers/windows_open.rb +0 -0
- data/lib/glib/json_crawler/coverage.rb +0 -0
- data/lib/glib/value.rb +0 -0
- data/lib/glib/version.rb +0 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 875a5b505458f11b43077fd9c6e86db1b7ccbff1cdcc7198dd088f257e32a428
|
4
|
+
data.tar.gz: c4b954ac4da1ba3d526790e71899796a69292dc34b2915c0f52bedb2f2313d8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b1d5626d06eca0c42a8acc3524e4f376bbe04112b6325995f9ca597438c50778b74a22f3c3a1715030d3aec15cfe816c9f892f20b07fa7ca2737235bd77b128
|
7
|
+
data.tar.gz: 00f3f5821b61dac7342c385af84404565cedcbf7ba76cb1172216bbcad40bb8f80040891a50f7af387a770b0c1f46989ca1de757afc15f16b4cbe3e440562361
|
File without changes
|
File without changes
|
File without changes
|
@@ -7,8 +7,9 @@ class Glib::JsonUi::ActionBuilder
|
|
7
7
|
int :timeout
|
8
8
|
action :onClose
|
9
9
|
|
10
|
-
string :verticalPosition
|
11
|
-
string :horizontalPosition
|
10
|
+
string :verticalPosition # Deprecated
|
11
|
+
string :horizontalPosition # Deprecated
|
12
|
+
|
12
13
|
string :location
|
13
14
|
singleton_array :styleClass, :styleClasses
|
14
15
|
end
|
@@ -25,9 +26,13 @@ class Glib::JsonUi::ActionBuilder
|
|
25
26
|
|
26
27
|
class Select < Action
|
27
28
|
string :message
|
29
|
+
int :timeout
|
30
|
+
action :onClose
|
28
31
|
|
29
|
-
string :verticalPosition
|
30
|
-
string :horizontalPosition
|
32
|
+
string :verticalPosition # Deprecated
|
33
|
+
string :horizontalPosition # Deprecated
|
34
|
+
|
35
|
+
string :location
|
31
36
|
singleton_array :styleClass, :styleClasses
|
32
37
|
|
33
38
|
def buttons(block)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/app/models/glib/text.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -21,7 +21,7 @@ section.rows builder: ->(template) do
|
|
21
21
|
# end
|
22
22
|
|
23
23
|
template.thumbnail title: 'snackbars/select', onClick: ->(action) do
|
24
|
-
action.snackbars_select message: '
|
24
|
+
action.snackbars_select styleClass: 'vertical', message: 'This is a select snackbar with a really really really really long text', buttons: ->(menu) do
|
25
25
|
menu.button text: 'Option1', onClick: ->(subaction) do
|
26
26
|
subaction.dialogs_alert message: 'Option 1'
|
27
27
|
end
|
File without changes
|
File without changes
|
@@ -11,6 +11,7 @@ page.form url: json_ui_garage_url(path: 'forms/generic_post'), method: 'post', p
|
|
11
11
|
[
|
12
12
|
{ name: 'question', value: 'Punctuality' },
|
13
13
|
{ name: 'type', value: 'rating' },
|
14
|
+
{ name: 'primary_language', selectedOptions: [ { value: 'id3', text: 'Item 3' } ] },
|
14
15
|
],
|
15
16
|
[
|
16
17
|
{ name: 'question', value: 'Quality of work' },
|
@@ -21,6 +22,7 @@ page.form url: json_ui_garage_url(path: 'forms/generic_post'), method: 'post', p
|
|
21
22
|
[
|
22
23
|
{ name: 'question', value: 'Satisfied?' },
|
23
24
|
{ name: 'type', value: 'yes_no' },
|
25
|
+
{ name: 'primary_language', selectedOptions: [ { value: 'id2', text: 'Item 2' } ] },
|
24
26
|
{ name: 'error_message', value: 'Incompatible selection' }
|
25
27
|
]
|
26
28
|
]
|
@@ -37,7 +39,7 @@ page.form url: json_ui_garage_url(path: 'forms/generic_post'), method: 'post', p
|
|
37
39
|
name: '[primary_language]',
|
38
40
|
width: 'matchParent',
|
39
41
|
label: 'Primary Language',
|
40
|
-
selectedOptions: [ { value: 'id3', text: 'Item 3' } ],
|
42
|
+
# selectedOptions: [ { value: 'id3', text: 'Item 3' } ],
|
41
43
|
url: json_ui_garage_url(path: 'forms/dynamic_select_data'),
|
42
44
|
placeholder: 'Start typing'
|
43
45
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -156,4 +156,22 @@ page.scroll padding: glib_json_padding_body, childViews: ->(scroll) do
|
|
156
156
|
end
|
157
157
|
end
|
158
158
|
|
159
|
+
scroll.spacer height: 10
|
160
|
+
scroll.button id:'tour_button', text: 'Tour', onLoad: ->(action) do
|
161
|
+
action.popovers_show \
|
162
|
+
targetId: 'tour_button',
|
163
|
+
key: 'tour_popover',
|
164
|
+
placement: 'right',
|
165
|
+
offset: 24,
|
166
|
+
overlay: { closeOnFocus: false },
|
167
|
+
content: ->(dialog) do
|
168
|
+
dialog.body padding: glib_json_padding_body, styleClass: 'popover-menu', childViews: ->(res) do
|
169
|
+
res.label text: 'This is a tour'
|
170
|
+
res.button text: 'OK', onClick: ->(subaction) do
|
171
|
+
subaction.popovers_close key: 'tour_popover'
|
172
|
+
end
|
173
|
+
end
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
159
177
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/glib/dynamic_text.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/glib/value.rb
CHANGED
File without changes
|
data/lib/glib/version.rb
CHANGED
File without changes
|
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: 4.26.
|
4
|
+
version: 4.26.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
@@ -411,7 +411,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
411
411
|
- !ruby/object:Gem::Version
|
412
412
|
version: '0'
|
413
413
|
requirements: []
|
414
|
-
|
414
|
+
rubyforge_project:
|
415
|
+
rubygems_version: 2.7.6
|
415
416
|
signing_key:
|
416
417
|
specification_version: 4
|
417
418
|
summary: ''
|