glib-web 4.23.0 → 4.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/json_ui/analytics_helper.rb +0 -0
- data/app/helpers/glib/json_ui/generic_builders.rb +0 -0
- data/app/helpers/glib/json_ui/view_builder/fields.rb +3 -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_oauth_post.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/_basic_content.json.jbuilder +7 -0
- data/app/views/json_ui/garage/forms/bulk_edit_post.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/generic_post.json.jbuilder +0 -0
- data/app/views/json_ui/garage/forms/pickers.json.jbuilder +8 -2
- data/app/views/json_ui/garage/forms/selects.json.jbuilder +8 -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/layout.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/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/views/calendar_data.json.jbuilder +0 -0
- data/app/views/json_ui/garage/views/icons.json.jbuilder +3 -1
- 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/layouts/json_ui/no_custom.html.erb +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/dynamic_text/config.rb +0 -0
- data/lib/glib/dynamic_text.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/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/value.rb +0 -0
- data/lib/glib/version.rb +0 -0
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c33aad966e5d6ae0b3307117b099a75ee339bc8ba6036dea5998cde02ea60b80
|
4
|
+
data.tar.gz: 36ac5225fad837a784439dfb946bce3c2998fb31f48dd0bbcbb4dbc1799c633a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 649051e63a8b1f637225e337b6955a4c148860a1c83bdb556e7a926b0b06c7546731ec49eeae86ec3bb33f4fb03fb399f74adfc8e93453515b81d749e008ea53
|
7
|
+
data.tar.gz: 669dca7c9e488c5f6b5b7e33b88afcbe0a0b0a8e6c290d79679eb25eb579089da9cc8a0af5b20210a2a78da719662fcc9f7dbc84e691d002b213c91a014d2bfc
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -13,6 +13,7 @@ class Glib::JsonUi::ViewBuilder
|
|
13
13
|
string :paramNameForFormData
|
14
14
|
string :paramNameForFieldName
|
15
15
|
bool :rounded
|
16
|
+
string :autocomplete # https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
|
16
17
|
|
17
18
|
def default_url_options
|
18
19
|
{ only_path: true }
|
@@ -438,6 +439,7 @@ class Glib::JsonUi::ViewBuilder
|
|
438
439
|
bool :clearable
|
439
440
|
bool :buttonTemplate # TODO: Remove
|
440
441
|
hash :template, required: [:type]
|
442
|
+
string :time_zone
|
441
443
|
|
442
444
|
# Override
|
443
445
|
def value(value)
|
@@ -451,6 +453,7 @@ class Glib::JsonUi::ViewBuilder
|
|
451
453
|
date_time :min
|
452
454
|
date_time :max
|
453
455
|
bool :clearable
|
456
|
+
string :time_zone
|
454
457
|
|
455
458
|
bool :buttonTemplate # TODO: Remove
|
456
459
|
hash :template, required: [:type]
|
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
|
@@ -5,6 +5,13 @@ panel.panels_form url: json_ui_garage_url(path: 'forms/basic_post'), method: 'po
|
|
5
5
|
form.fields_password name: 'user[password]', width: 'matchParent', label: 'Password', disableDirtyCheck: disable_dirty_check
|
6
6
|
form.fields_text name: 'user[title]', width: 'matchParent', label: 'Title', disableDirtyCheck: disable_dirty_check
|
7
7
|
|
8
|
+
form.fields_timeZone \
|
9
|
+
name: 'user[time_zone]',
|
10
|
+
width: 'matchParent',
|
11
|
+
label: 'Time zone',
|
12
|
+
disableDirtyCheck: disable_dirty_check,
|
13
|
+
value: 'America/Chicago'
|
14
|
+
|
8
15
|
form.fields_select width: 'matchParent', name: 'user[types]', options: [
|
9
16
|
{ value: 1, text: 'One' },
|
10
17
|
{ value: 2, text: 'Two' }
|
File without changes
|
File without changes
|
@@ -61,6 +61,14 @@ page.form \
|
|
61
61
|
min: '2018-06-09T00:00',
|
62
62
|
max: '2018-06-17T00:00',
|
63
63
|
value: '2018-06-15T19:30'
|
64
|
+
form.fields_datetime \
|
65
|
+
name: 'user[date_time]',
|
66
|
+
width: 'matchParent',
|
67
|
+
label: 'Date Time (Asia/Taipei)',
|
68
|
+
min: '2018-06-09T00:00',
|
69
|
+
max: '2018-06-17T00:00',
|
70
|
+
value: '2025-01-26T13:49:00.000+05:00',
|
71
|
+
time_zone: 'Asia/Taipei' # +8
|
64
72
|
form.fields_date \
|
65
73
|
name: 'user[month]',
|
66
74
|
width: 'matchParent',
|
@@ -70,8 +78,6 @@ page.form \
|
|
70
78
|
max: '2021-03-01',
|
71
79
|
value: '2021-11'
|
72
80
|
|
73
|
-
|
74
|
-
|
75
81
|
if record.present?
|
76
82
|
form.fields_datetime \
|
77
83
|
prop: :created_at,
|
@@ -189,6 +189,14 @@ page.form url: json_ui_garage_url(path: 'forms/generic_post'), method: 'post', p
|
|
189
189
|
form.label text: 'The select field defaults to the device\'s time zone.'
|
190
190
|
form.spacer height: 6
|
191
191
|
form.fields_timeZone name: 'user[time_zone]', width: 'matchParent', label: 'Time Zone', clearable: true
|
192
|
+
form.spacer height: 6
|
193
|
+
form.fields_timeZone \
|
194
|
+
name: 'user[new_time_zone]',
|
195
|
+
width: 'matchParent',
|
196
|
+
label: 'Time Zone',
|
197
|
+
clearable: true,
|
198
|
+
value: 'America/Chicago'
|
199
|
+
# value: 'Australia/Melbourne'
|
192
200
|
|
193
201
|
|
194
202
|
form.button text: 'Submit', onClick: ->(action) { action.forms_submit }
|
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
|
@@ -24,7 +24,9 @@ page.form padding: glib_json_padding_body, childViews: ->(scroll) do
|
|
24
24
|
}
|
25
25
|
end
|
26
26
|
scroll.icon id: 'icon1', name: 'home', color: '#9370DB'
|
27
|
-
scroll.icon name: 'home', color: '#9370DB80'
|
27
|
+
scroll.icon name: 'home', color: '#9370DB80', onClick: ->(action) do
|
28
|
+
action.snackbars_alert message: 'Icon clicked!'
|
29
|
+
end
|
28
30
|
|
29
31
|
scroll.spacer height: 20
|
30
32
|
scroll.h2 text: 'Icon with badge'
|
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/lib/glib/dynamic_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
|
data/lib/glib/value.rb
CHANGED
File without changes
|
data/lib/glib/version.rb
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.
|
4
|
+
version: 4.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
@@ -409,8 +409,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
409
409
|
- !ruby/object:Gem::Version
|
410
410
|
version: '0'
|
411
411
|
requirements: []
|
412
|
-
|
413
|
-
rubygems_version: 2.7.6
|
412
|
+
rubygems_version: 3.4.6
|
414
413
|
signing_key:
|
415
414
|
specification_version: 4
|
416
415
|
summary: ''
|