glib-web 0.7.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) 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/dialogs.rb +1 -0
  8. data/app/helpers/glib/json_ui/action_builder/http.rb +0 -0
  9. data/app/helpers/glib/json_ui/action_builder/panels.rb +0 -0
  10. data/app/helpers/glib/json_ui/action_builder/sheets.rb +0 -0
  11. data/app/helpers/glib/json_ui/action_builder/snackbars.rb +0 -0
  12. data/app/helpers/glib/json_ui/analytics_helper.rb +0 -0
  13. data/app/helpers/glib/json_ui/generic_builders.rb +0 -0
  14. data/app/helpers/glib/json_ui/page_helper.rb +0 -6
  15. data/app/helpers/glib/json_ui/table_builders.rb +0 -0
  16. data/app/helpers/glib/json_ui/view_builder.rb +5 -3
  17. data/app/helpers/glib/urls_helper.rb +0 -0
  18. data/app/models/glib/active_storage/attachment.rb +0 -0
  19. data/app/models/glib/active_storage/blob.rb +0 -0
  20. data/app/models/glib/dynamic_text_record.rb +0 -0
  21. data/app/models/glib/text.rb +0 -0
  22. data/app/validators/email_typo_validator.rb +0 -0
  23. data/app/validators/email_validator.rb +0 -0
  24. data/app/validators/url_validator.rb +0 -0
  25. data/app/views/json_ui/garage/actions/_dialogs.json.jbuilder +0 -0
  26. data/app/views/json_ui/garage/actions/_http.json.jbuilder +0 -0
  27. data/app/views/json_ui/garage/actions/_panels.json.jbuilder +0 -0
  28. data/app/views/json_ui/garage/actions/_reload.json.jbuilder +0 -0
  29. data/app/views/json_ui/garage/actions/_sheets.json.jbuilder +0 -0
  30. data/app/views/json_ui/garage/actions/_snackbars.json.jbuilder +0 -0
  31. data/app/views/json_ui/garage/actions/dialogs_oauth_post.json.jbuilder +0 -0
  32. data/app/views/json_ui/garage/forms/basic.json.jbuilder +0 -0
  33. data/app/views/json_ui/garage/forms/basic_post.json.jbuilder +0 -0
  34. data/app/views/json_ui/garage/forms/dynamic_group.json.jbuilder +0 -0
  35. data/app/views/json_ui/garage/forms/dynamic_select_data.json.jbuilder +0 -0
  36. data/app/views/json_ui/garage/forms/floating_submit.json.jbuilder +0 -0
  37. data/app/views/json_ui/garage/forms/generic_post.json.jbuilder +0 -0
  38. data/app/views/json_ui/garage/forms/get_request.json.jbuilder +0 -0
  39. data/app/views/json_ui/garage/forms/submission_flow.json.jbuilder +0 -0
  40. data/app/views/json_ui/garage/forms/submission_flow_post.json.jbuilder +0 -0
  41. data/app/views/json_ui/garage/forms/submission_indicator.json.jbuilder +0 -0
  42. data/app/views/json_ui/garage/forms/submission_indicator_post.json.jbuilder +0 -0
  43. data/app/views/json_ui/garage/home/blank.json.jbuilder +0 -0
  44. data/app/views/json_ui/garage/home/slow.json.jbuilder +0 -0
  45. data/app/views/json_ui/garage/lists/autoload_all.json.jbuilder +0 -0
  46. data/app/views/json_ui/garage/lists/autoload_as_needed.json.jbuilder +0 -0
  47. data/app/views/json_ui/garage/lists/chat_ui.json.jbuilder +0 -0
  48. data/app/views/json_ui/garage/lists/fab.json.jbuilder +0 -0
  49. data/app/views/json_ui/garage/notifications/web_socket.json.jbuilder +0 -0
  50. data/app/views/json_ui/garage/pages/flat_centered.json.jbuilder +0 -0
  51. data/app/views/json_ui/garage/pages/full_width.json.jbuilder +0 -0
  52. data/app/views/json_ui/garage/pages/full_width_height.json.jbuilder +0 -0
  53. data/app/views/json_ui/garage/pages/index.json.jbuilder +0 -0
  54. data/app/views/json_ui/garage/pages/layout.json.jbuilder +0 -0
  55. data/app/views/json_ui/garage/pages/lifecycle_hooks.json.jbuilder +0 -0
  56. data/app/views/json_ui/garage/pages/loading_indicator.json.jbuilder +0 -0
  57. data/app/views/json_ui/garage/pages/nested_scroll.json.jbuilder +0 -0
  58. data/app/views/json_ui/garage/panels/_styled.json.jbuilder +0 -0
  59. data/app/views/json_ui/garage/panels/card.json.jbuilder +0 -0
  60. data/app/views/json_ui/garage/panels/custom.json.jbuilder +0 -0
  61. data/app/views/json_ui/garage/panels/outlined.json.jbuilder +0 -0
  62. data/app/views/json_ui/garage/panels/responsive.json.jbuilder +0 -0
  63. data/app/views/json_ui/garage/panels/vertical.json.jbuilder +0 -0
  64. data/app/views/json_ui/garage/services/dynamic_text.json.jbuilder +0 -0
  65. data/app/views/json_ui/garage/services/image.json.jbuilder +0 -0
  66. data/app/views/json_ui/garage/services/index.json.jbuilder +0 -0
  67. data/app/views/json_ui/garage/tables/_autoload_section.json.jbuilder +0 -0
  68. data/app/views/json_ui/garage/tables/autoload_all.json.jbuilder +0 -0
  69. data/app/views/json_ui/garage/tables/autoload_as_needed.json.jbuilder +0 -0
  70. data/app/views/json_ui/garage/tables/export_import.json.jbuilder +0 -0
  71. data/app/views/json_ui/garage/tables/index.json.jbuilder +0 -0
  72. data/app/views/json_ui/garage/views/calendar_data.json.jbuilder +0 -0
  73. data/app/views/json_ui/garage/views/index.json.jbuilder +1 -1
  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/app/views/json_ui/garage/views/{socialSharing.json.jbuilder → shareButton.json.jbuilder} +24 -13
  79. data/config/routes.rb +0 -0
  80. data/lib/generators/glib/install_generator.rb +0 -0
  81. data/lib/generators/templates/20191017062519_create_texts.rb +0 -0
  82. data/lib/generators/templates/20191024063257_add_scope_to_texts.rb +0 -0
  83. data/lib/generators/templates/20191112095018_add_lang_to_texts.rb +0 -0
  84. data/lib/generators/templates/20191126071051_create_active_storage_tables.active_storage.rb +0 -0
  85. data/lib/generators/templates/database.yml +0 -0
  86. data/lib/generators/templates/dynamic_text.rb +0 -0
  87. data/lib/glib/crypt/utils.rb +0 -0
  88. data/lib/glib/crypt.rb +0 -0
  89. data/lib/glib/dynamic_text/config.rb +0 -0
  90. data/lib/glib/dynamic_text.rb +0 -0
  91. data/lib/glib/engine.rb +0 -0
  92. data/lib/glib/json_crawler/action_crawler.rb +0 -0
  93. data/lib/glib/json_crawler/action_crawlers/action_http.rb +0 -0
  94. data/lib/glib/json_crawler/action_crawlers/forms_submit.rb +0 -0
  95. data/lib/glib/json_crawler/action_crawlers/menu.rb +0 -0
  96. data/lib/glib/json_crawler/action_crawlers/nav_initiate.rb +0 -0
  97. data/lib/glib/json_crawler/action_crawlers/run_multiple.rb +0 -0
  98. data/lib/glib/json_crawler/action_crawlers/windows_open.rb +0 -0
  99. data/lib/glib/json_crawler/coverage.rb +0 -0
  100. data/lib/glib/json_crawler.rb +0 -0
  101. data/lib/glib/mailer_tester.rb +0 -0
  102. data/lib/glib/value.rb +0 -0
  103. data/lib/glib/version.rb +0 -0
  104. data/lib/glib-web.rb +0 -0
  105. data/lib/tasks/db.rake +0 -0
  106. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b657d8ea974cc37a6a1fb3d434f56a7fb5c144f921864a4fb5018339e8e405a8
4
- data.tar.gz: 56c9cb933c9c5a63c5e729a0af16908dd67675ffc2b2569d80d575209b9c2838
3
+ metadata.gz: 0eecbcc062d2c7e335ae9753739cc29dbb9d28683e656063c18839f4f282d4f6
4
+ data.tar.gz: f4ee02cb9f32a927074caa1afb942d431bed96938594cb460417111e5d92ecf3
5
5
  SHA512:
6
- metadata.gz: cc460b11171944ef3b4d99473854ec8d943b6747a0f1dd6d3646d7f60bf796526000ad71c9e78cf06437186c3b1c85ffbc1e5c06a69b99d4d57a6c0d8451e6b3
7
- data.tar.gz: 6ceea3b0acfbc081f910a9b52050ef7fbec8da70d53a727a517b183915de73d2a640a10816af5baa1520127df69f2991a87778ddd8a9a98b4fd0b620504c01d3
6
+ metadata.gz: d95a9abd99525e1487b59eb64f22d6bb35ecaba0d0f15d296d5a33053388ac7ac3571bc45b3187ed73d62b000fcd5526a8546e1a2d3260c65c0e77fdf59c408d
7
+ data.tar.gz: 4eb2aac64c5f8e86cbdfeff2f9e1f56a38a7ca9dcc839236cf60e2d94de95a9b8f4abb1c0972c149acf9b60a34c9fa6033ccd24fa09f86ef82445fe24f14721e
File without changes
File without changes
File without changes
File without changes
@@ -32,6 +32,7 @@ class Glib::JsonUi::ActionBuilder
32
32
 
33
33
  class Open < Action
34
34
  string :url, cache: true
35
+ bool :showClose
35
36
  end
36
37
 
37
38
  class Close < Action
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -143,12 +143,6 @@ module Glib
143
143
  end
144
144
  end
145
145
 
146
- def left(options = {})
147
- json.left do
148
- vertical_content(options)
149
- end
150
- end
151
-
152
146
  def body(options = {})
153
147
  json.body do
154
148
  vertical_content(options)
File without changes
@@ -262,15 +262,17 @@ module Glib
262
262
  bool :reversed
263
263
  end
264
264
 
265
- class SocialSharing < View
265
+ class ShareButton < View
266
266
  string :network, required: true
267
267
  string :url, required: true
268
268
  string :title
269
269
  string :description
270
- string :quote
270
+ string :facebookQuote
271
271
  string :hashtags
272
- string :twitter_user
272
+ string :twitterUser
273
273
  string :text
274
+
275
+ action :onClick
274
276
  end
275
277
  end
276
278
  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
@@ -10,7 +10,7 @@ json_ui_page json do |page|
10
10
  end
11
11
 
12
12
  section.rows builder: ->(template) do
13
- ['texts', 'controls', 'images', 'multimedia', 'charts', 'banners', 'maps', 'misc', 'icons', 'progress', 'socialSharing'].each do |component|
13
+ ['texts', 'controls', 'images', 'multimedia', 'charts', 'banners', 'maps', 'misc', 'icons', 'progress', 'shareButton'].each do |component|
14
14
  template.thumbnail title: component.humanize, onClick: ->(action) do
15
15
  action.windows_open url: json_ui_garage_url(path: "views/#{component}")
16
16
  end
File without changes
@@ -4,32 +4,43 @@ page = json_ui_page json
4
4
  render "#{@path_prefix}/nav_menu", json: json, page: page
5
5
 
6
6
  page.scroll padding: glib_json_padding_body, childViews: ->(scroll) do
7
- scroll.h2 text: 'Social sharing'
7
+ scroll.h2 text: 'Share Button'
8
8
  scroll.spacer height: 6
9
9
  scroll.panels_column width: 'matchParent', childViews: ->(col) do
10
10
  col.panels_flow innerPadding: { top: 0, right: 0, bottom: 0, left: 0 }, childViews: ->(f) do
11
- f.socialSharing \
11
+ f.shareButton \
12
+ network: 'copy',
13
+ url: '',
14
+ title: 'TalentBasket internship',
15
+ description: 'Internship opportunities at talentbasket',
16
+ text: 'Copy Link',
17
+ onClick: ->(action) do
18
+ action.commands_copy text: 'copied'
19
+ end
20
+
21
+ f.shareButton \
12
22
  network: 'facebook',
13
23
  url: 'https://www.talentbasket.com/jobs',
14
24
  title: 'TalentBasket internship',
15
25
  description: 'Internship opportunities at talentbasket',
26
+ facebookQuote: 'Check internship at www.talentbasket.com',
16
27
  text: 'Facebook'
17
28
 
18
- f.socialSharing \
29
+ f.shareButton \
19
30
  network: 'linkedin',
20
31
  url: 'https://www.talentbasket.com/jobs',
21
32
  title: 'TalentBasket internship',
22
33
  description: 'Internship opportunities at talentbasket',
23
34
  text: 'LinkedIn'
24
35
 
25
- f.socialSharing \
36
+ f.shareButton \
26
37
  network: 'whatsapp',
27
38
  url: 'https://www.talentbasket.com/jobs',
28
39
  title: 'TalentBasket internship',
29
40
  description: 'Internship opportunities at talentbasket',
30
41
  text: 'WhatsApp'
31
42
 
32
- f.socialSharing \
43
+ f.shareButton \
33
44
  network: 'telegram',
34
45
  url: 'https://www.talentbasket.com/jobs',
35
46
  title: 'TalentBasket internship',
@@ -40,25 +51,25 @@ page.scroll padding: glib_json_padding_body, childViews: ->(scroll) do
40
51
  scroll.spacer height: 20
41
52
  scroll.panels_column width: 'matchParent', childViews: ->(col) do
42
53
  col.panels_flow innerPadding: { top: 0, right: 0, bottom: 0, left: 0 }, childViews: ->(f) do
43
- f.socialSharing \
54
+ f.shareButton \
44
55
  network: 'facebook',
45
56
  url: 'https://www.talentbasket.com/jobs',
46
57
  title: 'TalentBasket internship',
47
58
  description: 'Internship opportunities at talentbasket'
48
59
 
49
- f.socialSharing \
60
+ f.shareButton \
50
61
  network: 'linkedin',
51
62
  url: 'https://www.talentbasket.com/jobs',
52
63
  title: 'TalentBasket internship',
53
64
  description: 'Internship opportunities at talentbasket'
54
65
 
55
- f.socialSharing \
66
+ f.shareButton \
56
67
  network: 'whatsapp',
57
68
  url: 'https://www.talentbasket.com/jobs',
58
69
  title: 'TalentBasket internship',
59
70
  description: 'Internship opportunities at talentbasket'
60
71
 
61
- f.socialSharing \
72
+ f.shareButton \
62
73
  network: 'telegram',
63
74
  url: 'https://www.talentbasket.com/jobs',
64
75
  title: 'TalentBasket internship',
@@ -69,28 +80,28 @@ page.scroll padding: glib_json_padding_body, childViews: ->(scroll) do
69
80
 
70
81
  scroll.panels_column width: 'matchParent', childViews: ->(col) do
71
82
  col.panels_vertical childViews: ->(v) do
72
- v.socialSharing \
83
+ v.shareButton \
73
84
  network: 'facebook',
74
85
  url: 'https://www.talentbasket.com/jobs',
75
86
  title: 'TalentBasket internship',
76
87
  description: 'Internship opportunities at talentbasket',
77
88
  text: 'Facebook'
78
89
 
79
- v.socialSharing \
90
+ v.shareButton \
80
91
  network: 'linkedin',
81
92
  url: 'https://www.talentbasket.com/jobs',
82
93
  title: 'TalentBasket internship',
83
94
  description: 'Internship opportunities at talentbasket',
84
95
  text: 'LinkedIn'
85
96
 
86
- v.socialSharing \
97
+ v.shareButton \
87
98
  network: 'whatsapp',
88
99
  url: 'https://www.talentbasket.com/jobs',
89
100
  title: 'TalentBasket internship',
90
101
  description: 'Internship opportunities at talentbasket',
91
102
  text: 'WhatsApp'
92
103
 
93
- v.socialSharing \
104
+ v.shareButton \
94
105
  network: 'telegram',
95
106
  url: 'https://www.talentbasket.com/jobs',
96
107
  title: 'TalentBasket internship',
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.7.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
@@ -239,7 +239,7 @@ files:
239
239
  - app/views/json_ui/garage/views/misc.json.jbuilder
240
240
  - app/views/json_ui/garage/views/multimedia.json.jbuilder
241
241
  - app/views/json_ui/garage/views/progress.json.jbuilder
242
- - app/views/json_ui/garage/views/socialSharing.json.jbuilder
242
+ - app/views/json_ui/garage/views/shareButton.json.jbuilder
243
243
  - app/views/json_ui/garage/views/texts.json.jbuilder
244
244
  - app/views/layouts/json_ui/renderer.html.erb
245
245
  - config/routes.rb
@@ -290,8 +290,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
290
290
  - !ruby/object:Gem::Version
291
291
  version: '0'
292
292
  requirements: []
293
- rubyforge_project:
294
- rubygems_version: 2.7.6
293
+ rubygems_version: 3.1.4
295
294
  signing_key:
296
295
  specification_version: 4
297
296
  summary: ''