glib-web 2.4.0 → 3.0.0.pre.beta1
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/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/fields.rb +4 -0
- data/app/helpers/glib/json_ui/view_builder.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/_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/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/index.json.jbuilder +3 -0
- data/app/views/json_ui/garage/forms/otp_field.json.jbuilder +35 -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/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/pages/redirect_onload.json.jbuilder +0 -0
- data/app/views/json_ui/garage/pages/tab_bar.json.jbuilder +71 -63
- 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/panels/ul.json.jbuilder +2 -22
- 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 +1 -1
- data/app/views/json_ui/garage/views/map_data.json.jbuilder +0 -0
- data/app/views/json_ui/garage/views/map_direction_data.json.jbuilder +61 -0
- data/app/views/json_ui/garage/views/maps.json.jbuilder +29 -0
- data/app/views/json_ui/garage/views/multimedia.json.jbuilder +0 -0
- data/app/views/layouts/json_ui/renderer.html.erb +8 -16
- 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/dialogs_alert.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/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 +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36c7ef52875565dc8845937e540ad4bb859c2c1d8c2413a6eb2610e02011cc42
|
4
|
+
data.tar.gz: f7bc7fedc31848d543ba0e79404d293a611cdbbcb20573a37645d28e81fba19a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47910b5b21257d0d2902ff536ff2c1cb13e8154ee1bc2a919f66b1dc1ade9a7aedd967a1abc1d9deef2f7286ac0720db6bda4adb33d44ea0cea2af3de94738a2
|
7
|
+
data.tar.gz: 0fd5393e2bec762bd4b05d46f825ba168a31454ccc7d6100d286f706cebb2a40ef6eba9662651dbb389074375e973b9b15ae58d74d481a72a7b61e39c83df8c1
|
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
|
@@ -226,6 +226,8 @@ module Glib
|
|
226
226
|
int :zoom
|
227
227
|
string :dataUrl
|
228
228
|
bool :cluster
|
229
|
+
bool :direction
|
230
|
+
array :locations
|
229
231
|
end
|
230
232
|
|
231
233
|
class Chip < View
|
@@ -241,6 +243,7 @@ module Glib
|
|
241
243
|
|
242
244
|
class TabBar < View
|
243
245
|
int :height
|
246
|
+
int :activeIndex
|
244
247
|
color :color
|
245
248
|
|
246
249
|
def buttons(block)
|
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
|
@@ -83,6 +83,9 @@ page.list sections: [
|
|
83
83
|
template.thumbnail title: 'Payments', onClick: ->(action) do
|
84
84
|
action.windows_open url: json_ui_garage_url(path: 'forms/payments')
|
85
85
|
end
|
86
|
+
template.thumbnail title: 'OTP Field', onClick: ->(action) do
|
87
|
+
action.windows_open url: json_ui_garage_url(path: 'forms/otp_field')
|
88
|
+
end
|
86
89
|
end
|
87
90
|
end, ->(section) do
|
88
91
|
section.header padding: glib_json_padding_list, childViews: ->(header) do
|
@@ -0,0 +1,35 @@
|
|
1
|
+
json.title 'Forms'
|
2
|
+
|
3
|
+
page = json_ui_page json
|
4
|
+
render "#{@path_prefix}/nav_menu", json: json, page: page
|
5
|
+
|
6
|
+
page.form \
|
7
|
+
url: json_ui_garage_url(path: 'forms/generic_post'),
|
8
|
+
method: 'post',
|
9
|
+
padding: glib_json_padding_body,
|
10
|
+
childViews: ->(form) do
|
11
|
+
|
12
|
+
form.spacer height: 20
|
13
|
+
form.h2 text: 'OTP Input Field'
|
14
|
+
form.spacer height: 6
|
15
|
+
form.fields_otp \
|
16
|
+
name: 'user[otp_summary1]',
|
17
|
+
lengths: 7
|
18
|
+
|
19
|
+
form.spacer height: 20
|
20
|
+
form.h2 text: 'OTP Custom Length'
|
21
|
+
form.spacer height: 6
|
22
|
+
form.fields_otp \
|
23
|
+
name: 'user[otp_summary2]',
|
24
|
+
lengths: 3
|
25
|
+
|
26
|
+
form.spacer height: 20
|
27
|
+
form.h2 text: 'OTP with Long Field'
|
28
|
+
form.spacer height: 6
|
29
|
+
form.fields_otp \
|
30
|
+
name: 'user[otp_summary3]',
|
31
|
+
lengths: 20
|
32
|
+
|
33
|
+
form.spacer height: 20
|
34
|
+
form.fields_submit text: 'Submit'
|
35
|
+
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
|
@@ -6,42 +6,44 @@ json_ui_page json do |page|
|
|
6
6
|
page.scroll padding: glib_json_padding_body, childViews: ->(scroll) do
|
7
7
|
scroll.panels_column lg: { cols: 8 }, childViews: ->(column) do
|
8
8
|
column.h2 text: 'Tab Bar with Badge'
|
9
|
-
column.tabBar
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
9
|
+
column.tabBar \
|
10
|
+
activeIndex: params[:tab].to_i,
|
11
|
+
buttons: ->(menu) do
|
12
|
+
badges = [
|
13
|
+
{
|
14
|
+
text: nil,
|
15
|
+
backgroundColor: nil
|
16
|
+
},
|
17
|
+
{
|
18
|
+
text: 8,
|
19
|
+
backgroundColor: '#272551'
|
20
|
+
},
|
21
|
+
{
|
22
|
+
text: '⭐⭐⭐',
|
23
|
+
backgroundColor: '#008000'
|
24
|
+
}
|
25
|
+
]
|
26
|
+
{
|
27
|
+
'FIRST' => 'home',
|
28
|
+
'SECOND' => 'schedule',
|
29
|
+
'THIRD' => 'analytics'
|
30
|
+
}.each_with_index do |(text, icon), index|
|
31
|
+
menu.button \
|
32
|
+
icon: icon,
|
33
|
+
text: text,
|
34
|
+
badge: badges[index],
|
35
|
+
disabled: params[:tab].to_i == index,
|
36
|
+
onClick: ->(action) do
|
37
|
+
action.windows_reload \
|
38
|
+
url: json_ui_garage_url(
|
39
|
+
path: 'pages/tab_bar',
|
40
|
+
tab: index,
|
41
|
+
tab_2: params[:tab_2],
|
42
|
+
tab_3: params[:tab_3]
|
43
|
+
)
|
44
|
+
end
|
42
45
|
end
|
43
|
-
|
44
|
-
end
|
46
|
+
end
|
45
47
|
column.spacer height: 10
|
46
48
|
|
47
49
|
column.label text: "Tab index #{params[:tab].to_i} selected"
|
@@ -55,22 +57,25 @@ json_ui_page json do |page|
|
|
55
57
|
|
56
58
|
scroll.panels_column lg: { cols: 8 }, childViews: ->(column) do
|
57
59
|
column.h2 text: "Tab Bar with 'full-width-divider'"
|
58
|
-
column.tabBar
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
60
|
+
column.tabBar \
|
61
|
+
activeIndex: params[:tab_2].to_i,
|
62
|
+
styleClass: 'full-width-divider',
|
63
|
+
buttons: ->(menu) do
|
64
|
+
5.times do |index|
|
65
|
+
menu.button \
|
66
|
+
text: "Tab #{index}",
|
67
|
+
disabled: params[:tab_2].to_i == index,
|
68
|
+
onClick: ->(action) do
|
69
|
+
action.windows_reload \
|
70
|
+
url: json_ui_garage_url(
|
71
|
+
path: 'pages/tab_bar',
|
72
|
+
tab: params[:tab],
|
73
|
+
tab_2: index,
|
74
|
+
tab_3: params[:tab_3]
|
75
|
+
)
|
76
|
+
end
|
71
77
|
end
|
72
78
|
end
|
73
|
-
end
|
74
79
|
column.spacer height: 10
|
75
80
|
|
76
81
|
column.label text: "Tab-2 index #{params[:tab_2].to_i} selected"
|
@@ -79,22 +84,25 @@ json_ui_page json do |page|
|
|
79
84
|
|
80
85
|
scroll.panels_column lg: { cols: 8 }, childViews: ->(column) do
|
81
86
|
column.h2 text: "Tab Bar 'with no-grow'"
|
82
|
-
column.tabBar
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
87
|
+
column.tabBar \
|
88
|
+
activeIndex: params[:tab_3].to_i,
|
89
|
+
styleClass: 'no-grow',
|
90
|
+
buttons: ->(menu) do
|
91
|
+
5.times do |index|
|
92
|
+
menu.button \
|
93
|
+
text: "Tab #{index}",
|
94
|
+
disabled: params[:tab_3].to_i == index,
|
95
|
+
onClick: ->(action) do
|
96
|
+
action.windows_reload \
|
97
|
+
url: json_ui_garage_url(
|
98
|
+
path: 'pages/tab_bar',
|
99
|
+
tab: params[:tab],
|
100
|
+
tab_2: params[:tab_2],
|
101
|
+
tab_3: index
|
102
|
+
)
|
103
|
+
end
|
95
104
|
end
|
96
105
|
end
|
97
|
-
end
|
98
106
|
column.spacer height: 10
|
99
107
|
|
100
108
|
column.label text: "Tab-3 index #{params[:tab_3].to_i} selected"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -37,29 +37,9 @@ page.scroll padding: glib_json_padding_body, childViews: ->(scroll) do
|
|
37
37
|
ul.button text: 'Level 1', styleClass: 'link', onClick: ->(action) do
|
38
38
|
action.windows_open url: json_ui_garage_url(path: 'home/blank')
|
39
39
|
end
|
40
|
-
|
41
|
-
|
42
|
-
# menu.button text: 'Dropdown item 2'
|
43
|
-
# menu.button text: 'Dropdown item 3'
|
44
|
-
# end
|
45
|
-
|
46
|
-
ul.button icon: 'keyboard_arrow_down', text: 'Level 2', styleClass: 'link', childButtons: ->(menu) do
|
47
|
-
menu.button text: 'Dropdown item 1'
|
48
|
-
menu.button text: 'Dropdown item 2'
|
49
|
-
menu.button text: 'Dropdown item 3'
|
40
|
+
ul.button text: 'Level 2', styleClass: 'link', onClick: ->(action) do
|
41
|
+
action.windows_open url: json_ui_garage_url(path: 'home/blank')
|
50
42
|
end
|
51
|
-
# , onClick: ->(action) do
|
52
|
-
# action.windows_open url: json_ui_garage_url(path: 'home/blank')
|
53
|
-
# end
|
54
43
|
ul.label text: 'Level 3'
|
55
44
|
end
|
56
|
-
|
57
|
-
scroll.button icon: 'keyboard_arrow_down', text: 'Sign in', styleClasses: ['link'], onClick: ->(action) do
|
58
|
-
action.windows_open url: json_ui_garage_url(path: 'home/blank')
|
59
|
-
end
|
60
|
-
scroll.button icon: 'keyboard_arrow_down', text: 'Sign in', styleClass: 'link', childButtons: ->(menu) do
|
61
|
-
menu.button text: 'Dropdown item 1'
|
62
|
-
menu.button text: 'Dropdown item 2'
|
63
|
-
menu.button text: 'Dropdown item 3'
|
64
|
-
end
|
65
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
|
@@ -0,0 +1,61 @@
|
|
1
|
+
|
2
|
+
# page = json_ui_page json
|
3
|
+
|
4
|
+
json.pins do
|
5
|
+
|
6
|
+
locations = [
|
7
|
+
[
|
8
|
+
{ lat: -31.56391, lng: 147.154312 },
|
9
|
+
{ lat: -33.718234, lng: 150.363181 },
|
10
|
+
{ lat: -33.727111, lng: 150.371124 },
|
11
|
+
{ lat: -33.848588, lng: 151.209834 },
|
12
|
+
{ lat: -33.851702, lng: 151.216968 },
|
13
|
+
],
|
14
|
+
[
|
15
|
+
{ lat: -33.80664156068477, lng: 145.62789926321355 },
|
16
|
+
{ lat: -34.282842261683825, lng: 146.0436968577822 },
|
17
|
+
{ lat: -34.542028425407175, lng: 146.39268392820802 }
|
18
|
+
]
|
19
|
+
]
|
20
|
+
|
21
|
+
# locations = [
|
22
|
+
# { lat: -31.56391, lng: 147.154312 },
|
23
|
+
# { lat: -33.718234, lng: 150.363181 },
|
24
|
+
# { lat: -33.727111, lng: 150.371124 },
|
25
|
+
# { lat: -33.848588, lng: 151.209834 },
|
26
|
+
# { lat: -33.851702, lng: 151.216968 },
|
27
|
+
# ]
|
28
|
+
|
29
|
+
locations.each_with_index do |loc, i|
|
30
|
+
loc.each_with_index do |location, index|
|
31
|
+
json.child! do
|
32
|
+
json.latitude location[:lat]
|
33
|
+
json.longitude location[:lng]
|
34
|
+
json.markerNumber index + 1
|
35
|
+
json.markerColor i == 0 ? '#537FE7' : '#362FD9'
|
36
|
+
json.infoWindow do
|
37
|
+
json.title "Place #{index}"
|
38
|
+
json.subtitle 'Big shopping mall'
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# json.child! do
|
45
|
+
# json.latitude 13.473001
|
46
|
+
# json.longitude 144.771303
|
47
|
+
# json.infoWindow do
|
48
|
+
# json.title 'Place 2'
|
49
|
+
# json.subtitle 'High class restaurant'
|
50
|
+
# end
|
51
|
+
# end
|
52
|
+
|
53
|
+
# json.child! do
|
54
|
+
# json.latitude 13.375903 + rand(0..0.1)
|
55
|
+
# json.longitude 144.749791 + rand(0..0.1)
|
56
|
+
# json.infoWindow do
|
57
|
+
# json.title 'Place 3'
|
58
|
+
# json.subtitle 'Random location'
|
59
|
+
# end
|
60
|
+
# end
|
61
|
+
end
|
@@ -27,5 +27,34 @@ json_ui_page json do |page|
|
|
27
27
|
cluster: true,
|
28
28
|
dataUrl: json_ui_garage_url(path: 'views/map_cluster_data')
|
29
29
|
|
30
|
+
|
31
|
+
locations = [
|
32
|
+
[
|
33
|
+
{ lat: -31.56391, lng: 147.154312 },
|
34
|
+
{ lat: -33.718234, lng: 150.363181 },
|
35
|
+
{ lat: -33.727111, lng: 150.371124 },
|
36
|
+
{ lat: -33.848588, lng: 151.209834 },
|
37
|
+
{ lat: -33.851702, lng: 151.216968 },
|
38
|
+
],
|
39
|
+
[
|
40
|
+
{ lat: -33.80664156068477, lng: 145.62789926321355 },
|
41
|
+
{ lat: -34.282842261683825, lng: 146.0436968577822 },
|
42
|
+
{ lat: -34.542028425407175, lng: 146.39268392820802 }
|
43
|
+
]
|
44
|
+
]
|
45
|
+
|
46
|
+
scroll.spacer height: 20
|
47
|
+
scroll.h2 text: 'Map with Direction'
|
48
|
+
scroll.spacer height: 6
|
49
|
+
scroll.map \
|
50
|
+
width: 'matchParent',
|
51
|
+
latitude: -31.56391,
|
52
|
+
longitude: 147.154312,
|
53
|
+
direction: true,
|
54
|
+
locations: locations,
|
55
|
+
zoom: 9,
|
56
|
+
height: 480,
|
57
|
+
dataUrl: json_ui_garage_url(path: 'views/map_direction_data')
|
58
|
+
|
30
59
|
end
|
31
60
|
end
|
File without changes
|
@@ -8,34 +8,26 @@
|
|
8
8
|
<title>App</title>
|
9
9
|
<%= csrf_meta_tags %>
|
10
10
|
|
11
|
-
<%=
|
11
|
+
<%= vite_javascript_tag 'vue_renderer', defer: true %>
|
12
12
|
<%#= javascript_include_tag 'vue_renderer_extras', defer: true %>
|
13
13
|
|
14
|
-
<%=
|
14
|
+
<%= vite_stylesheet_tag 'vue_renderer' %>
|
15
15
|
|
16
16
|
<link href="//fonts.googleapis.com/css?family=Material+Icons" rel="stylesheet" />
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
<%=
|
22
|
-
|
23
|
-
<% if @__glib_head_code %>
|
24
|
-
<%= @__glib_head_code.html_safe %>
|
25
|
-
<% end %>
|
17
|
+
<%# Without this, checkboxes and radio buttons will not display. %>
|
18
|
+
<link href="//cdn.materialdesignicons.com/2.1.99/css/materialdesignicons.min.css" rel="stylesheet" />
|
19
|
+
<%= yield :head %>
|
20
|
+
<% if @__glib_head_code %>
|
21
|
+
<%= @__glib_head_code.html_safe %>
|
22
|
+
<% end %>
|
26
23
|
</head>
|
27
|
-
|
28
24
|
<body>
|
29
25
|
<%= yield :header %>
|
30
|
-
|
31
26
|
<noscript>Please enable JavaScript to view this web site.</noscript>
|
32
27
|
<div id="app"></div>
|
33
|
-
|
34
28
|
<script>
|
35
29
|
var __page = <%= raw @__json_ui_orig_page%>;
|
36
30
|
</script>
|
37
|
-
|
38
31
|
<%= yield :footer %>
|
39
32
|
</body>
|
40
|
-
|
41
33
|
</html>
|
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:
|
4
|
+
version: 3.0.0.pre.beta1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
@@ -165,6 +165,7 @@ files:
|
|
165
165
|
- app/views/json_ui/garage/forms/new_rich_text.json.jbuilder
|
166
166
|
- app/views/json_ui/garage/forms/online_participant1.json.jbuilder
|
167
167
|
- app/views/json_ui/garage/forms/online_participant2.json.jbuilder
|
168
|
+
- app/views/json_ui/garage/forms/otp_field.json.jbuilder
|
168
169
|
- app/views/json_ui/garage/forms/page_update_on_response.json.jbuilder
|
169
170
|
- app/views/json_ui/garage/forms/partial_update.json.jbuilder
|
170
171
|
- app/views/json_ui/garage/forms/partial_update_response.json.jbuilder
|
@@ -254,6 +255,7 @@ files:
|
|
254
255
|
- app/views/json_ui/garage/views/links.json.jbuilder
|
255
256
|
- app/views/json_ui/garage/views/map_cluster_data.json.jbuilder
|
256
257
|
- app/views/json_ui/garage/views/map_data.json.jbuilder
|
258
|
+
- app/views/json_ui/garage/views/map_direction_data.json.jbuilder
|
257
259
|
- app/views/json_ui/garage/views/maps.json.jbuilder
|
258
260
|
- app/views/json_ui/garage/views/markdowns.json.jbuilder
|
259
261
|
- app/views/json_ui/garage/views/misc.json.jbuilder
|
@@ -307,12 +309,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
307
309
|
version: '0'
|
308
310
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
309
311
|
requirements:
|
310
|
-
- - "
|
312
|
+
- - ">"
|
311
313
|
- !ruby/object:Gem::Version
|
312
|
-
version:
|
314
|
+
version: 1.3.1
|
313
315
|
requirements: []
|
314
|
-
|
315
|
-
rubygems_version: 2.7.6
|
316
|
+
rubygems_version: 3.1.4
|
316
317
|
signing_key:
|
317
318
|
specification_version: 4
|
318
319
|
summary: ''
|