glib-web 4.10.3 → 4.10.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) 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_texts_helper.rb +0 -0
  5. data/app/helpers/glib/json_ui/abstract_builder.rb +20 -0
  6. data/app/helpers/glib/json_ui/action_builder/sheets.rb +0 -0
  7. data/app/helpers/glib/json_ui/analytics_helper.rb +0 -0
  8. data/app/helpers/glib/json_ui/generic_builders.rb +0 -0
  9. data/app/helpers/glib/json_ui/view_builder/fields.rb +1 -1
  10. data/app/helpers/glib/json_ui/view_builder/panels.rb +1 -1
  11. data/app/models/glib/active_storage/attachment.rb +0 -0
  12. data/app/models/glib/active_storage/blob.rb +0 -0
  13. data/app/models/glib/dynamic_text_record.rb +0 -0
  14. data/app/models/glib/text.rb +0 -0
  15. data/app/validators/email_typo_validator.rb +0 -0
  16. data/app/validators/email_validator.rb +0 -0
  17. data/app/validators/url_validator.rb +0 -0
  18. data/app/views/json_ui/garage/actions/dialogs_oauth_post.json.jbuilder +0 -0
  19. data/app/views/json_ui/garage/forms/bulk_edit_post.json.jbuilder +0 -0
  20. data/app/views/json_ui/garage/forms/dynamic_select_data.json.jbuilder +0 -0
  21. data/app/views/json_ui/garage/forms/generic_post.json.jbuilder +0 -0
  22. data/app/views/json_ui/garage/forms/submission_flow.json.jbuilder +0 -0
  23. data/app/views/json_ui/garage/forms/submission_flow_post.json.jbuilder +0 -0
  24. data/app/views/json_ui/garage/forms/submission_indicator.json.jbuilder +0 -0
  25. data/app/views/json_ui/garage/forms/submission_indicator_post.json.jbuilder +0 -0
  26. data/app/views/json_ui/garage/home/blank.json.jbuilder +0 -0
  27. data/app/views/json_ui/garage/home/slow.json.jbuilder +0 -0
  28. data/app/views/json_ui/garage/lists/autoload_all.json.jbuilder +0 -0
  29. data/app/views/json_ui/garage/lists/autoload_as_needed.json.jbuilder +0 -0
  30. data/app/views/json_ui/garage/lists/chat_ui.json.jbuilder +0 -0
  31. data/app/views/json_ui/garage/lists/fab.json.jbuilder +0 -0
  32. data/app/views/json_ui/garage/notifications/web_socket.json.jbuilder +0 -0
  33. data/app/views/json_ui/garage/pages/custom_style_class.json.jbuilder +0 -0
  34. data/app/views/json_ui/garage/pages/full_width.json.jbuilder +0 -0
  35. data/app/views/json_ui/garage/pages/full_width_height.json.jbuilder +0 -0
  36. data/app/views/json_ui/garage/pages/layout.json.jbuilder +0 -0
  37. data/app/views/json_ui/garage/pages/loading_indicator.json.jbuilder +0 -0
  38. data/app/views/json_ui/garage/pages/nested_scroll.json.jbuilder +0 -0
  39. data/app/views/json_ui/garage/pages/redirect_onload.json.jbuilder +0 -0
  40. data/app/views/json_ui/garage/panels/_styled.json.jbuilder +0 -0
  41. data/app/views/json_ui/garage/panels/card.json.jbuilder +0 -0
  42. data/app/views/json_ui/garage/panels/custom.json.jbuilder +0 -0
  43. data/app/views/json_ui/garage/panels/outlined.json.jbuilder +0 -0
  44. data/app/views/json_ui/garage/services/dynamic_text.json.jbuilder +0 -0
  45. data/app/views/json_ui/garage/services/image.json.jbuilder +0 -0
  46. data/app/views/json_ui/garage/services/index.json.jbuilder +0 -0
  47. data/app/views/json_ui/garage/tables/_autoload_section.json.jbuilder +0 -0
  48. data/app/views/json_ui/garage/tables/autoload_all.json.jbuilder +0 -0
  49. data/app/views/json_ui/garage/tables/autoload_as_needed.json.jbuilder +0 -0
  50. data/app/views/json_ui/garage/tables/export_import.json.jbuilder +0 -0
  51. data/app/views/json_ui/garage/tables/index.json.jbuilder +0 -0
  52. data/app/views/json_ui/garage/views/calendar_data.json.jbuilder +0 -0
  53. data/app/views/json_ui/garage/views/map_data.json.jbuilder +0 -0
  54. data/app/views/json_ui/garage/views/multimedia.json.jbuilder +0 -0
  55. data/app/views/layouts/json_ui/no_custom.html.erb +0 -0
  56. data/app/views/layouts/json_ui/renderer.html.erb +0 -1
  57. data/lib/generators/glib/install_generator.rb +0 -0
  58. data/lib/generators/templates/20191017062519_create_texts.rb +0 -0
  59. data/lib/generators/templates/20191024063257_add_scope_to_texts.rb +0 -0
  60. data/lib/generators/templates/20191112095018_add_lang_to_texts.rb +0 -0
  61. data/lib/generators/templates/20191126071051_create_active_storage_tables.active_storage.rb +0 -0
  62. data/lib/generators/templates/database.yml +0 -0
  63. data/lib/generators/templates/dynamic_text.rb +0 -0
  64. data/lib/glib/dynamic_text/config.rb +0 -0
  65. data/lib/glib/dynamic_text.rb +0 -0
  66. data/lib/glib/json_crawler/action_crawler.rb +0 -0
  67. data/lib/glib/json_crawler/action_crawlers/action_http.rb +0 -0
  68. data/lib/glib/json_crawler/action_crawlers/dialogs_alert.rb +0 -0
  69. data/lib/glib/json_crawler/action_crawlers/dialogs_close.rb +0 -0
  70. data/lib/glib/json_crawler/action_crawlers/menu.rb +0 -0
  71. data/lib/glib/json_crawler/action_crawlers/run_multiple.rb +0 -0
  72. data/lib/glib/json_crawler/action_crawlers/windows_open.rb +0 -0
  73. data/lib/glib/json_crawler/coverage.rb +0 -0
  74. data/lib/glib/value.rb +0 -0
  75. data/lib/glib/version.rb +0 -0
  76. metadata +2 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 840b2cb71ab488fdfff13806866763bd9e73c22c7cab85cff48a093643f7d898
4
- data.tar.gz: 1a513b44d185b802b61b54f1053246b5308e38f536fb4cef32a1123695b7ab3d
3
+ metadata.gz: e69d390e7aa529eb45c0cb1313ea2eaab6215f9bae0ce30c9a0eb4b072303c14
4
+ data.tar.gz: c03d46e44b24765844368c1d76e241380f6ef4cb419d3cf30b5d26a575794f2c
5
5
  SHA512:
6
- metadata.gz: 0c48d7a4a27523b0ada18199e771f028879ce44a8587513416b46885cbf6fb1a695c64a0e3e30facf049cea0039c313e4cd8a0d7f8551dc744b6ecccb54a533a
7
- data.tar.gz: a7717b61cd9e9ba90aeec57991fca3e39c387eaabf175d9d6585973a034198af5231562d72abe85844bb0f668f0088dfd5d63611b158a9a911f05ffb95b32d3c
6
+ metadata.gz: fa94ad210b099330240701b7f4a66594eda52ed81b3d18a6a2907085d182b2671134c6df44399b4f5801d1659849f93a4ede489d711704c4d8d570181f69679f
7
+ data.tar.gz: 4eb32759ee6d6ee5ba8c9fc0de3f9d5304c5fcd38804d37d17dcefc8c6feb4f8ccaedd7fb0f065586f72d56e7679ef1b9348b9f76b5bea8472c6377ea19ac251
File without changes
File without changes
@@ -339,8 +339,28 @@ module Glib
339
339
  end
340
340
 
341
341
  def to_color(value)
342
+ known_colors = [
343
+ 'primary',
344
+ 'secondary',
345
+ 'tertiary',
346
+ 'error',
347
+ 'warning',
348
+ 'info',
349
+ 'success',
350
+ 'thin-primary',
351
+ 'thin-secondary',
352
+ 'black',
353
+ 'white',
354
+ 'grey',
355
+ 'soft-grey',
356
+ 'highlight'
357
+ ]
342
358
  value = value&.to_s
343
359
 
360
+ if known_colors.include?(value)
361
+ return value
362
+ end
363
+
344
364
  if value
345
365
  if !Rails.env.production?
346
366
  if !value.match(/^#([A-Fa-f0-9]{8}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/i)
File without changes
File without changes
File without changes
@@ -222,7 +222,7 @@ class Glib::JsonUi::ViewBuilder
222
222
  end
223
223
 
224
224
  class ChipGroup < AbstractField
225
- string :color
225
+ color :color
226
226
  array :options
227
227
  bool :multiple
228
228
  end
@@ -504,7 +504,7 @@ class Glib::JsonUi::ViewBuilder
504
504
 
505
505
  views :childViews
506
506
 
507
- required :innerPadding
507
+ # required :innerPadding
508
508
  end
509
509
 
510
510
  class Carousel < 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
@@ -9,7 +9,6 @@
9
9
  <%= csrf_meta_tags %>
10
10
 
11
11
  <%= vite_javascript_tag 'vue_renderer', defer: true %>
12
- <%= vite_stylesheet_tag 'vue_renderer' %>
13
12
  <%# TODO: Remove this, for dev only %>
14
13
  <%# <script src="https://cdn.tailwindcss.com"></script> %>
15
14
  <link href="//fonts.googleapis.com/css?family=Material+Icons" rel="stylesheet" />
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/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.10.3
4
+ version: 4.10.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
@@ -389,8 +389,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
389
389
  - !ruby/object:Gem::Version
390
390
  version: '0'
391
391
  requirements: []
392
- rubyforge_project:
393
- rubygems_version: 2.7.6
392
+ rubygems_version: 3.4.6
394
393
  signing_key:
395
394
  specification_version: 4
396
395
  summary: ''