glib-web 0.12.2 → 0.13.0
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_texts_helper.rb +0 -0
- data/app/helpers/glib/forms_helper.rb +0 -0
- data/app/helpers/glib/json_ui/action_builder/components.rb +9 -0
- data/app/helpers/glib/json_ui/action_builder/http.rb +5 -2
- 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/action_builder/tours.rb +3 -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/response_helper.rb +19 -2
- data/app/helpers/glib/json_ui/table_builders.rb +0 -0
- data/app/helpers/glib/json_ui/view_builder.rb +1 -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/_dialogs_show.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_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/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/_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/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/app/views/json_ui/garage/views/shareButton.json.jbuilder +20 -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 +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27788c64710f7017fc98dc0f2368668204a8cf9929dc9f168a3e37b32c329c96
|
4
|
+
data.tar.gz: 3cfbe8bf3d631006cb92614be8b8ee04386394bdb107b02c5e481b1a28416215
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8df903fd95b2ce26dcfb491c55f1f7c704d14e3ddf9fcf4f946f5d7752f9b723f20e57f6f52b3daf286d1f993479bf5e9a4c28d27ba2f17fc1dc7add4eb8e71
|
7
|
+
data.tar.gz: 88fbe9a0bb5a5d312b68d49fcb1975b7f7a413d7b65448392f68ddeaa372b9098e3772d2f7d0272c989cbbb05d2edd014d8accc325ca4c8bc77dff456725f472
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -22,6 +22,9 @@ class Glib::JsonUi::ActionBuilder
|
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
25
|
+
class Get < AbstractHttp
|
26
|
+
end
|
27
|
+
|
25
28
|
class Post < AbstractHttp
|
26
29
|
end
|
27
30
|
|
@@ -31,8 +34,8 @@ class Glib::JsonUi::ActionBuilder
|
|
31
34
|
end
|
32
35
|
|
33
36
|
class Delete < AbstractHttp
|
34
|
-
|
35
|
-
|
37
|
+
# string :url, cache: true
|
38
|
+
# hash :formData
|
36
39
|
end
|
37
40
|
|
38
41
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -10,14 +10,31 @@ module Glib
|
|
10
10
|
end
|
11
11
|
end
|
12
12
|
|
13
|
+
def json_ui_response_with_view(json)
|
14
|
+
json.analytics do
|
15
|
+
json.disabled true
|
16
|
+
end
|
17
|
+
|
18
|
+
json.onResponse do
|
19
|
+
response = Response.new(json, self, true)
|
20
|
+
yield response.action_builder
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
13
24
|
class Response
|
14
|
-
attr_reader :action_builder
|
25
|
+
attr_reader :action_builder, :view_builder, :list_section_builder, :table_section_builder
|
15
26
|
|
16
|
-
def initialize(json, context)
|
27
|
+
def initialize(json, context, with_view_builder = false)
|
17
28
|
@json = json
|
18
29
|
@context = context
|
19
30
|
|
20
31
|
@action_builder = ActionBuilder.new(json, self, false)
|
32
|
+
|
33
|
+
if with_view_builder
|
34
|
+
@view_builder = ViewBuilder.new(json, self, true)
|
35
|
+
@list_section_builder = ListBuilders::Section.new(json, self, ListBuilders::Template.new(json, self))
|
36
|
+
@table_section_builder = TableBuilders::Section.new(json, self, TableBuilders::Template.new(json, self))
|
37
|
+
end
|
21
38
|
end
|
22
39
|
end
|
23
40
|
end
|
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
|
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
|
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
|
@@ -19,6 +19,8 @@ page.scroll padding: glib_json_padding_body, childViews: ->(scroll) do
|
|
19
19
|
end
|
20
20
|
end
|
21
21
|
|
22
|
+
f.spacer width: 10
|
23
|
+
|
22
24
|
# For testing: https://developers.facebook.com/tools/debug/
|
23
25
|
f.shareButton \
|
24
26
|
network: 'facebook',
|
@@ -28,6 +30,8 @@ page.scroll padding: glib_json_padding_body, childViews: ->(scroll) do
|
|
28
30
|
facebookQuote: 'This is a quote',
|
29
31
|
text: 'Facebook'
|
30
32
|
|
33
|
+
f.spacer width: 10
|
34
|
+
|
31
35
|
f.shareButton \
|
32
36
|
network: 'linkedin',
|
33
37
|
url: 'https://www.google.com',
|
@@ -35,6 +39,8 @@ page.scroll padding: glib_json_padding_body, childViews: ->(scroll) do
|
|
35
39
|
description: 'This is a description',
|
36
40
|
text: 'LinkedIn'
|
37
41
|
|
42
|
+
f.spacer width: 10
|
43
|
+
|
38
44
|
f.shareButton \
|
39
45
|
network: 'whatsapp',
|
40
46
|
url: 'https://www.google.com',
|
@@ -42,6 +48,8 @@ page.scroll padding: glib_json_padding_body, childViews: ->(scroll) do
|
|
42
48
|
description: 'This is a description',
|
43
49
|
text: 'WhatsApp'
|
44
50
|
|
51
|
+
f.spacer width: 10
|
52
|
+
|
45
53
|
f.shareButton \
|
46
54
|
network: 'telegram',
|
47
55
|
url: 'https://www.google.com',
|
@@ -59,18 +67,24 @@ page.scroll padding: glib_json_padding_body, childViews: ->(scroll) do
|
|
59
67
|
title: 'This is a title',
|
60
68
|
description: 'This is a description'
|
61
69
|
|
70
|
+
f.spacer width: 10
|
71
|
+
|
62
72
|
f.shareButton \
|
63
73
|
network: 'linkedin',
|
64
74
|
url: 'https://www.google.com',
|
65
75
|
title: 'This is a title',
|
66
76
|
description: 'This is a description'
|
67
77
|
|
78
|
+
f.spacer width: 10
|
79
|
+
|
68
80
|
f.shareButton \
|
69
81
|
network: 'whatsapp',
|
70
82
|
url: 'https://www.google.com',
|
71
83
|
title: 'This is a title',
|
72
84
|
description: 'This is a description'
|
73
85
|
|
86
|
+
f.spacer width: 10
|
87
|
+
|
74
88
|
f.shareButton \
|
75
89
|
network: 'telegram',
|
76
90
|
url: 'https://www.google.com',
|
@@ -89,6 +103,8 @@ page.scroll padding: glib_json_padding_body, childViews: ->(scroll) do
|
|
89
103
|
description: 'This is a description',
|
90
104
|
text: 'Facebook'
|
91
105
|
|
106
|
+
v.spacer height: 10
|
107
|
+
|
92
108
|
v.shareButton \
|
93
109
|
network: 'linkedin',
|
94
110
|
url: 'https://www.google.com',
|
@@ -96,6 +112,8 @@ page.scroll padding: glib_json_padding_body, childViews: ->(scroll) do
|
|
96
112
|
description: 'This is a description',
|
97
113
|
text: 'LinkedIn'
|
98
114
|
|
115
|
+
v.spacer height: 10
|
116
|
+
|
99
117
|
v.shareButton \
|
100
118
|
width: 'matchParent',
|
101
119
|
network: 'whatsapp',
|
@@ -104,6 +122,8 @@ page.scroll padding: glib_json_padding_body, childViews: ->(scroll) do
|
|
104
122
|
description: 'This is a description',
|
105
123
|
text: 'WhatsApp'
|
106
124
|
|
125
|
+
v.spacer height: 10
|
126
|
+
|
107
127
|
v.shareButton \
|
108
128
|
width: 'matchParent',
|
109
129
|
network: 'telegram',
|
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.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
@@ -92,6 +92,7 @@ files:
|
|
92
92
|
- app/helpers/glib/json_ui/abstract_builder.rb
|
93
93
|
- app/helpers/glib/json_ui/action_builder.rb
|
94
94
|
- app/helpers/glib/json_ui/action_builder/commands.rb
|
95
|
+
- app/helpers/glib/json_ui/action_builder/components.rb
|
95
96
|
- app/helpers/glib/json_ui/action_builder/dialogs.rb
|
96
97
|
- app/helpers/glib/json_ui/action_builder/http.rb
|
97
98
|
- app/helpers/glib/json_ui/action_builder/iap.rb
|
@@ -299,8 +300,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
299
300
|
- !ruby/object:Gem::Version
|
300
301
|
version: '0'
|
301
302
|
requirements: []
|
302
|
-
|
303
|
-
rubygems_version: 2.7.6
|
303
|
+
rubygems_version: 3.1.4
|
304
304
|
signing_key:
|
305
305
|
specification_version: 4
|
306
306
|
summary: ''
|