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.
Files changed (105) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/concerns/glib/json/new_dynamic_text.rb +0 -0
  3. data/app/helpers/glib/app_feature_support_helper.rb +0 -0
  4. data/app/helpers/glib/dynamic_images_helper.rb +0 -0
  5. data/app/helpers/glib/dynamic_texts_helper.rb +0 -0
  6. data/app/helpers/glib/forms_helper.rb +0 -0
  7. data/app/helpers/glib/json_ui/action_builder/http.rb +0 -0
  8. data/app/helpers/glib/json_ui/action_builder/panels.rb +0 -0
  9. data/app/helpers/glib/json_ui/action_builder/sheets.rb +0 -0
  10. data/app/helpers/glib/json_ui/action_builder/snackbars.rb +0 -0
  11. data/app/helpers/glib/json_ui/analytics_helper.rb +0 -0
  12. data/app/helpers/glib/json_ui/generic_builders.rb +0 -0
  13. data/app/helpers/glib/json_ui/table_builders.rb +0 -0
  14. data/app/helpers/glib/json_ui/view_builder/panels.rb +3 -0
  15. data/app/helpers/glib/urls_helper.rb +0 -0
  16. data/app/models/glib/active_storage/attachment.rb +0 -0
  17. data/app/models/glib/active_storage/blob.rb +0 -0
  18. data/app/models/glib/dynamic_text_record.rb +0 -0
  19. data/app/models/glib/text.rb +0 -0
  20. data/app/validators/email_typo_validator.rb +0 -0
  21. data/app/validators/email_validator.rb +0 -0
  22. data/app/validators/url_validator.rb +0 -0
  23. data/app/views/json_ui/garage/actions/_dialogs.json.jbuilder +0 -0
  24. data/app/views/json_ui/garage/actions/_http.json.jbuilder +0 -0
  25. data/app/views/json_ui/garage/actions/_panels.json.jbuilder +0 -0
  26. data/app/views/json_ui/garage/actions/_reload.json.jbuilder +0 -0
  27. data/app/views/json_ui/garage/actions/_sheets.json.jbuilder +0 -0
  28. data/app/views/json_ui/garage/actions/_snackbars.json.jbuilder +0 -0
  29. data/app/views/json_ui/garage/actions/dialogs_oauth_post.json.jbuilder +0 -0
  30. data/app/views/json_ui/garage/forms/basic.json.jbuilder +0 -0
  31. data/app/views/json_ui/garage/forms/basic_post.json.jbuilder +0 -0
  32. data/app/views/json_ui/garage/forms/dynamic_group.json.jbuilder +0 -0
  33. data/app/views/json_ui/garage/forms/dynamic_select_data.json.jbuilder +0 -0
  34. data/app/views/json_ui/garage/forms/floating_submit.json.jbuilder +0 -0
  35. data/app/views/json_ui/garage/forms/generic_post.json.jbuilder +0 -0
  36. data/app/views/json_ui/garage/forms/get_request.json.jbuilder +0 -0
  37. data/app/views/json_ui/garage/forms/submission_flow.json.jbuilder +0 -0
  38. data/app/views/json_ui/garage/forms/submission_flow_post.json.jbuilder +0 -0
  39. data/app/views/json_ui/garage/forms/submission_indicator.json.jbuilder +0 -0
  40. data/app/views/json_ui/garage/forms/submission_indicator_post.json.jbuilder +0 -0
  41. data/app/views/json_ui/garage/home/blank.json.jbuilder +0 -0
  42. data/app/views/json_ui/garage/home/slow.json.jbuilder +0 -0
  43. data/app/views/json_ui/garage/lists/autoload_all.json.jbuilder +0 -0
  44. data/app/views/json_ui/garage/lists/autoload_as_needed.json.jbuilder +0 -0
  45. data/app/views/json_ui/garage/lists/chat_ui.json.jbuilder +0 -0
  46. data/app/views/json_ui/garage/lists/fab.json.jbuilder +0 -0
  47. data/app/views/json_ui/garage/notifications/web_socket.json.jbuilder +0 -0
  48. data/app/views/json_ui/garage/pages/flat_centered.json.jbuilder +0 -0
  49. data/app/views/json_ui/garage/pages/full_width.json.jbuilder +0 -0
  50. data/app/views/json_ui/garage/pages/full_width_height.json.jbuilder +0 -0
  51. data/app/views/json_ui/garage/pages/index.json.jbuilder +0 -0
  52. data/app/views/json_ui/garage/pages/layout.json.jbuilder +0 -0
  53. data/app/views/json_ui/garage/pages/lifecycle_hooks.json.jbuilder +0 -0
  54. data/app/views/json_ui/garage/pages/loading_indicator.json.jbuilder +0 -0
  55. data/app/views/json_ui/garage/pages/nested_scroll.json.jbuilder +0 -0
  56. data/app/views/json_ui/garage/panels/_hover_views_content.json.jbuilder +17 -0
  57. data/app/views/json_ui/garage/panels/_styled.json.jbuilder +0 -0
  58. data/app/views/json_ui/garage/panels/card.json.jbuilder +0 -0
  59. data/app/views/json_ui/garage/panels/custom.json.jbuilder +0 -0
  60. data/app/views/json_ui/garage/panels/hover.json.jbuilder +36 -0
  61. data/app/views/json_ui/garage/panels/index.json.jbuilder +3 -1
  62. data/app/views/json_ui/garage/panels/outlined.json.jbuilder +0 -0
  63. data/app/views/json_ui/garage/panels/responsive.json.jbuilder +0 -0
  64. data/app/views/json_ui/garage/panels/vertical.json.jbuilder +0 -0
  65. data/app/views/json_ui/garage/services/dynamic_text.json.jbuilder +0 -0
  66. data/app/views/json_ui/garage/services/image.json.jbuilder +0 -0
  67. data/app/views/json_ui/garage/services/index.json.jbuilder +0 -0
  68. data/app/views/json_ui/garage/tables/_autoload_section.json.jbuilder +0 -0
  69. data/app/views/json_ui/garage/tables/autoload_all.json.jbuilder +0 -0
  70. data/app/views/json_ui/garage/tables/autoload_as_needed.json.jbuilder +0 -0
  71. data/app/views/json_ui/garage/tables/export_import.json.jbuilder +0 -0
  72. data/app/views/json_ui/garage/tables/index.json.jbuilder +0 -0
  73. data/app/views/json_ui/garage/views/calendar_data.json.jbuilder +0 -0
  74. data/app/views/json_ui/garage/views/links.json.jbuilder +0 -0
  75. data/app/views/json_ui/garage/views/map_cluster_data.json.jbuilder +0 -0
  76. data/app/views/json_ui/garage/views/map_data.json.jbuilder +0 -0
  77. data/app/views/json_ui/garage/views/multimedia.json.jbuilder +0 -0
  78. data/config/routes.rb +0 -0
  79. data/lib/generators/glib/install_generator.rb +0 -0
  80. data/lib/generators/templates/20191017062519_create_texts.rb +0 -0
  81. data/lib/generators/templates/20191024063257_add_scope_to_texts.rb +0 -0
  82. data/lib/generators/templates/20191112095018_add_lang_to_texts.rb +0 -0
  83. data/lib/generators/templates/20191126071051_create_active_storage_tables.active_storage.rb +0 -0
  84. data/lib/generators/templates/database.yml +0 -0
  85. data/lib/generators/templates/dynamic_text.rb +0 -0
  86. data/lib/glib/crypt/utils.rb +0 -0
  87. data/lib/glib/crypt.rb +0 -0
  88. data/lib/glib/dynamic_text/config.rb +0 -0
  89. data/lib/glib/dynamic_text.rb +0 -0
  90. data/lib/glib/engine.rb +0 -0
  91. data/lib/glib/json_crawler/action_crawler.rb +0 -0
  92. data/lib/glib/json_crawler/action_crawlers/action_http.rb +0 -0
  93. data/lib/glib/json_crawler/action_crawlers/forms_submit.rb +0 -0
  94. data/lib/glib/json_crawler/action_crawlers/menu.rb +0 -0
  95. data/lib/glib/json_crawler/action_crawlers/nav_initiate.rb +0 -0
  96. data/lib/glib/json_crawler/action_crawlers/run_multiple.rb +0 -0
  97. data/lib/glib/json_crawler/action_crawlers/windows_open.rb +0 -0
  98. data/lib/glib/json_crawler/coverage.rb +0 -0
  99. data/lib/glib/json_crawler.rb +0 -0
  100. data/lib/glib/mailer_tester.rb +0 -0
  101. data/lib/glib/value.rb +0 -0
  102. data/lib/glib/version.rb +0 -0
  103. data/lib/glib-web.rb +0 -0
  104. data/lib/tasks/db.rake +0 -0
  105. metadata +4 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b2fd4533a7d69906e2477216293e045c8fd8d88c60ebc6310086a975ca26954d
4
- data.tar.gz: 29364cc7cffe18657ab78fd2d9b5e27e88052b2e99460b8a643de237ca420c91
3
+ metadata.gz: 7b65d8a96fe8753ae52fe966e9974b69b33696a1ad162473f4aed36200cc81f2
4
+ data.tar.gz: 410528b0edc7b1e8f954679e8bbd37790ea578c4fd3623393c9f7249cd68b499
5
5
  SHA512:
6
- metadata.gz: 5737a65221c308729546c37bce99d399469c3c1f6200d449e0b77395a8e8ebe3c78fddc3574fcbeb739dce65623718a15ccba3c9db3a676976e279583042bc5a
7
- data.tar.gz: a8f90f94de84512e8b4f7e75083bad3855f4192293bc8c95877c3d47ea4ade24d48de5aa87d4f4df36458d1b7192629adf5b159d2a6feedd75f072a062c6a07e
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
@@ -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
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
@@ -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
data/config/routes.rb CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
data/lib/glib/crypt.rb CHANGED
File without changes
File without changes
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
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
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
- rubyforge_project:
296
- rubygems_version: 2.7.6
297
+ rubygems_version: 3.1.4
297
298
  signing_key:
298
299
  specification_version: 4
299
300
  summary: ''