glib-web 0.10.4 → 0.10.5
Sign up to get free protection for your applications and to get access to all the features.
- 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_images_helper.rb +0 -0
- data/app/helpers/glib/dynamic_texts_helper.rb +0 -0
- data/app/helpers/glib/forms_helper.rb +0 -0
- data/app/helpers/glib/json_ui/action_builder/http.rb +0 -0
- data/app/helpers/glib/json_ui/action_builder/panels.rb +0 -0
- data/app/helpers/glib/json_ui/action_builder/sheets.rb +0 -0
- data/app/helpers/glib/json_ui/action_builder/snackbars.rb +0 -0
- data/app/helpers/glib/json_ui/analytics_helper.rb +0 -0
- data/app/helpers/glib/json_ui/generic_builders.rb +0 -0
- data/app/helpers/glib/json_ui/table_builders.rb +0 -0
- data/app/helpers/glib/json_ui/view_builder/panels.rb +3 -0
- data/app/helpers/glib/urls_helper.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/_dialogs.json.jbuilder +0 -0
- data/app/views/json_ui/garage/actions/_http.json.jbuilder +0 -0
- data/app/views/json_ui/garage/actions/_panels.json.jbuilder +0 -0
- data/app/views/json_ui/garage/actions/_reload.json.jbuilder +0 -0
- data/app/views/json_ui/garage/actions/_sheets.json.jbuilder +0 -0
- data/app/views/json_ui/garage/actions/_snackbars.json.jbuilder +0 -0
- data/app/views/json_ui/garage/actions/dialogs_oauth_post.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/basic.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/basic_post.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/dynamic_group.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/dynamic_select_data.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/floating_submit.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/generic_post.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/get_request.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/flat_centered.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/index.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/layout.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/lifecycle_hooks.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/panels/_hover_views_content.json.jbuilder +17 -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/hover.json.jbuilder +36 -0
- data/app/views/json_ui/garage/panels/index.json.jbuilder +3 -1
- data/app/views/json_ui/garage/panels/outlined.json.jbuilder +0 -0
- data/app/views/json_ui/garage/panels/responsive.json.jbuilder +0 -0
- data/app/views/json_ui/garage/panels/vertical.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/tables/index.json.jbuilder +0 -0
- data/app/views/json_ui/garage/views/calendar_data.json.jbuilder +0 -0
- data/app/views/json_ui/garage/views/links.json.jbuilder +0 -0
- data/app/views/json_ui/garage/views/map_cluster_data.json.jbuilder +0 -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/config/routes.rb +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/crypt/utils.rb +0 -0
- data/lib/glib/crypt.rb +0 -0
- data/lib/glib/dynamic_text/config.rb +0 -0
- data/lib/glib/dynamic_text.rb +0 -0
- data/lib/glib/engine.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/forms_submit.rb +0 -0
- data/lib/glib/json_crawler/action_crawlers/menu.rb +0 -0
- data/lib/glib/json_crawler/action_crawlers/nav_initiate.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/json_crawler.rb +0 -0
- data/lib/glib/mailer_tester.rb +0 -0
- data/lib/glib/value.rb +0 -0
- data/lib/glib/version.rb +0 -0
- data/lib/glib-web.rb +0 -0
- data/lib/tasks/db.rake +0 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b65d8a96fe8753ae52fe966e9974b69b33696a1ad162473f4aed36200cc81f2
|
4
|
+
data.tar.gz: 410528b0edc7b1e8f954679e8bbd37790ea578c4fd3623393c9f7249cd68b499
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b023d8002d57bb6d8f3ce30444ba0bfc7212b168eb32dc2594ef3d7284f4ac118b99e3a44ada5e32e8209ac63ae0e0c83518214439deec4c148fbce7ded297c
|
7
|
+
data.tar.gz: 8281e93f757307c5d373fdaa6658fcb1a2a828fa8b80c6cf783b9a4ea228c5727331da444b00233587cf8b56bd19550ad1ac8a1101054c9ee18498fdaa252e76
|
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
|
@@ -184,6 +184,7 @@ class Glib::JsonUi::ViewBuilder
|
|
184
184
|
views :childViews
|
185
185
|
string :align
|
186
186
|
action :onClick
|
187
|
+
views :hoverViews
|
187
188
|
end
|
188
189
|
|
189
190
|
class Column < View
|
@@ -207,6 +208,8 @@ class Glib::JsonUi::ViewBuilder
|
|
207
208
|
|
208
209
|
views :childViews
|
209
210
|
action :onClick
|
211
|
+
|
212
|
+
views :hoverViews
|
210
213
|
end
|
211
214
|
|
212
215
|
class Vertical < View
|
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
|
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
|
File without changes
|
File without changes
|
@@ -0,0 +1,17 @@
|
|
1
|
+
text = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.'
|
2
|
+
value =''
|
3
|
+
i.times { value += text}
|
4
|
+
hover.panels_responsive padding: {top: 24, right: 24, bottom: 24, left: 24 }, childViews: ->(responsive) do
|
5
|
+
responsive.avatar url: glib_json_image_avatar_url
|
6
|
+
|
7
|
+
responsive.spacer height: 8
|
8
|
+
responsive.hr color: '#F5F5F5'
|
9
|
+
responsive.spacer height: 8
|
10
|
+
|
11
|
+
responsive.h2 text: 'Hover View'
|
12
|
+
responsive.p text:value
|
13
|
+
responsive.spacer height: 24
|
14
|
+
responsive.button text:'Button', onClick:->(action) do
|
15
|
+
action.dialogs_alert message: 'Clicked'
|
16
|
+
end
|
17
|
+
end
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,36 @@
|
|
1
|
+
bucket = 'itinerarybuilder-demo'
|
2
|
+
|
3
|
+
json.title 'Hover'
|
4
|
+
|
5
|
+
page = json_ui_page json
|
6
|
+
render "#{@path_prefix}/nav_menu", json: json, page: page
|
7
|
+
|
8
|
+
page.scroll padding: glib_json_padding_body, childViews: ->(scroll) do
|
9
|
+
scroll.h1 text: 'Hover Views'
|
10
|
+
scroll.p text: 'A popover made with panels_responsive that will be triggered when hovering on its parent'
|
11
|
+
scroll.spacer height: 48
|
12
|
+
|
13
|
+
i = 1
|
14
|
+
scroll.h2 text: 'Responsive'
|
15
|
+
scroll.panels_responsive padding: { top: 48, right: 24, bottom: 48, left: 24 }, styleClasses: ['card'], childViews: ->(column) do
|
16
|
+
column.h2 text: "Item #{i}"
|
17
|
+
column.p text: "Hover view with #{i} sentence(s)"
|
18
|
+
end, hoverViews: ->(hover) do
|
19
|
+
render 'json_ui/garage/panels/hover_views_content', hover: hover, i: i
|
20
|
+
end, onClick: ->(action) do
|
21
|
+
action.windows_reload
|
22
|
+
end
|
23
|
+
scroll.spacer height: 48
|
24
|
+
|
25
|
+
scroll.h2 text: 'Columns'
|
26
|
+
9.times do |i|
|
27
|
+
scroll.panels_column lg: { cols: 4 }, padding: { top: 48, right: 24, bottom: 48, left: 24 }, styleClasses: ['card'], childViews: ->(column) do
|
28
|
+
column.h2 text: "Item #{i}"
|
29
|
+
column.p text: "Hover view with #{i} sentence(s)"
|
30
|
+
end, hoverViews: ->(hover) do
|
31
|
+
render 'json_ui/garage/panels/hover_views_content', hover: hover, i: i
|
32
|
+
end, onClick: ->(action) do
|
33
|
+
action.windows_reload
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -84,6 +84,9 @@ json_ui_page json do |page|
|
|
84
84
|
template.thumbnail title: 'Column', subtitle: 'Adds control over layout inside a responsive panel', onClick: ->(action) do
|
85
85
|
action.windows_open url: json_ui_garage_url(path: 'panels/responsive')
|
86
86
|
end
|
87
|
+
template.thumbnail title: 'Hover', subtitle: 'Popover triggered by hover', onClick: ->(action) do
|
88
|
+
action.windows_open url: json_ui_garage_url(path: 'panels/hover')
|
89
|
+
end
|
87
90
|
end
|
88
91
|
end, ->(section) do
|
89
92
|
section.header padding: glib_json_padding_list, childViews: ->(header) do
|
@@ -97,7 +100,6 @@ json_ui_page json do |page|
|
|
97
100
|
template.thumbnail title: 'Web', onClick: ->(action) do
|
98
101
|
action.windows_open url: json_ui_garage_url(path: 'panels/web')
|
99
102
|
end
|
100
|
-
|
101
103
|
end
|
102
104
|
end, ->(section) do
|
103
105
|
section.header padding: glib_json_padding_list, childViews: ->(header) do
|
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
|
data/config/routes.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/crypt/utils.rb
CHANGED
File without changes
|
data/lib/glib/crypt.rb
CHANGED
File without changes
|
File without changes
|
data/lib/glib/dynamic_text.rb
CHANGED
File without changes
|
data/lib/glib/engine.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
|
File without changes
|
data/lib/glib/json_crawler.rb
CHANGED
File without changes
|
data/lib/glib/mailer_tester.rb
CHANGED
File without changes
|
data/lib/glib/value.rb
CHANGED
File without changes
|
data/lib/glib/version.rb
CHANGED
File without changes
|
data/lib/glib-web.rb
CHANGED
File without changes
|
data/lib/tasks/db.rake
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: 0.10.
|
4
|
+
version: 0.10.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
@@ -199,6 +199,7 @@ files:
|
|
199
199
|
- app/views/json_ui/garage/pages/nav_buttons.json.jbuilder
|
200
200
|
- app/views/json_ui/garage/pages/nested_scroll.json.jbuilder
|
201
201
|
- app/views/json_ui/garage/pages/tab_bar.json.jbuilder
|
202
|
+
- app/views/json_ui/garage/panels/_hover_views_content.json.jbuilder
|
202
203
|
- app/views/json_ui/garage/panels/_styled.json.jbuilder
|
203
204
|
- app/views/json_ui/garage/panels/card.json.jbuilder
|
204
205
|
- app/views/json_ui/garage/panels/carousel.json.jbuilder
|
@@ -206,6 +207,7 @@ files:
|
|
206
207
|
- app/views/json_ui/garage/panels/flow.json.jbuilder
|
207
208
|
- app/views/json_ui/garage/panels/grid.json.jbuilder
|
208
209
|
- app/views/json_ui/garage/panels/horizontal.json.jbuilder
|
210
|
+
- app/views/json_ui/garage/panels/hover.json.jbuilder
|
209
211
|
- app/views/json_ui/garage/panels/index.json.jbuilder
|
210
212
|
- app/views/json_ui/garage/panels/outlined.json.jbuilder
|
211
213
|
- app/views/json_ui/garage/panels/responsive.json.jbuilder
|
@@ -292,8 +294,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
292
294
|
- !ruby/object:Gem::Version
|
293
295
|
version: '0'
|
294
296
|
requirements: []
|
295
|
-
|
296
|
-
rubygems_version: 2.7.6
|
297
|
+
rubygems_version: 3.1.4
|
297
298
|
signing_key:
|
298
299
|
specification_version: 4
|
299
300
|
summary: ''
|