glib-web 3.12.0 → 3.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) 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/action_builder/sheets.rb +0 -0
  6. data/app/helpers/glib/json_ui/analytics_helper.rb +0 -0
  7. data/app/helpers/glib/json_ui/generic_builders.rb +0 -0
  8. data/app/helpers/glib/json_ui/table_builders.rb +0 -0
  9. data/app/helpers/glib/json_ui/view_builder/fields.rb +10 -0
  10. data/app/models/glib/active_storage/attachment.rb +0 -0
  11. data/app/models/glib/active_storage/blob.rb +0 -0
  12. data/app/models/glib/dynamic_text_record.rb +0 -0
  13. data/app/models/glib/text.rb +0 -0
  14. data/app/validators/email_typo_validator.rb +0 -0
  15. data/app/validators/email_validator.rb +0 -0
  16. data/app/validators/url_validator.rb +0 -0
  17. data/app/views/json_ui/garage/actions/_sheets.json.jbuilder +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/dynamic_select_data.json.jbuilder +0 -0
  20. data/app/views/json_ui/garage/forms/file_upload.json.jbuilder +12 -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/index.json.jbuilder +0 -0
  37. data/app/views/json_ui/garage/pages/layout.json.jbuilder +0 -0
  38. data/app/views/json_ui/garage/pages/lifecycle_hooks.json.jbuilder +0 -0
  39. data/app/views/json_ui/garage/pages/loading_indicator.json.jbuilder +0 -0
  40. data/app/views/json_ui/garage/pages/nested_scroll.json.jbuilder +0 -0
  41. data/app/views/json_ui/garage/pages/redirect_onload.json.jbuilder +0 -0
  42. data/app/views/json_ui/garage/panels/_styled.json.jbuilder +0 -0
  43. data/app/views/json_ui/garage/panels/card.json.jbuilder +0 -0
  44. data/app/views/json_ui/garage/panels/custom.json.jbuilder +0 -0
  45. data/app/views/json_ui/garage/panels/outlined.json.jbuilder +0 -0
  46. data/app/views/json_ui/garage/services/dynamic_text.json.jbuilder +0 -0
  47. data/app/views/json_ui/garage/services/image.json.jbuilder +0 -0
  48. data/app/views/json_ui/garage/services/index.json.jbuilder +0 -0
  49. data/app/views/json_ui/garage/tables/_autoload_section.json.jbuilder +0 -0
  50. data/app/views/json_ui/garage/tables/autoload_all.json.jbuilder +0 -0
  51. data/app/views/json_ui/garage/tables/autoload_as_needed.json.jbuilder +0 -0
  52. data/app/views/json_ui/garage/tables/export_import.json.jbuilder +0 -0
  53. data/app/views/json_ui/garage/tables/index.json.jbuilder +0 -0
  54. data/app/views/json_ui/garage/views/calendar_data.json.jbuilder +0 -0
  55. data/app/views/json_ui/garage/views/links.json.jbuilder +0 -0
  56. data/app/views/json_ui/garage/views/map_data.json.jbuilder +0 -0
  57. data/app/views/json_ui/garage/views/multimedia.json.jbuilder +0 -0
  58. data/config/routes.rb +0 -0
  59. data/lib/generators/glib/install_generator.rb +0 -0
  60. data/lib/generators/templates/20191017062519_create_texts.rb +0 -0
  61. data/lib/generators/templates/20191024063257_add_scope_to_texts.rb +0 -0
  62. data/lib/generators/templates/20191112095018_add_lang_to_texts.rb +0 -0
  63. data/lib/generators/templates/20191126071051_create_active_storage_tables.active_storage.rb +0 -0
  64. data/lib/generators/templates/database.yml +0 -0
  65. data/lib/generators/templates/dynamic_text.rb +0 -0
  66. data/lib/glib/crypt/utils.rb +0 -0
  67. data/lib/glib/crypt.rb +0 -0
  68. data/lib/glib/dynamic_text/config.rb +0 -0
  69. data/lib/glib/dynamic_text.rb +0 -0
  70. data/lib/glib/engine.rb +0 -0
  71. data/lib/glib/json_crawler/action_crawler.rb +0 -0
  72. data/lib/glib/json_crawler/action_crawlers/action_http.rb +0 -0
  73. data/lib/glib/json_crawler/action_crawlers/dialogs_alert.rb +0 -0
  74. data/lib/glib/json_crawler/action_crawlers/menu.rb +0 -0
  75. data/lib/glib/json_crawler/action_crawlers/run_multiple.rb +0 -0
  76. data/lib/glib/json_crawler/action_crawlers/windows_open.rb +0 -0
  77. data/lib/glib/json_crawler/coverage.rb +0 -0
  78. data/lib/glib/json_crawler.rb +0 -0
  79. data/lib/glib/mailer_tester.rb +0 -0
  80. data/lib/glib/value.rb +0 -0
  81. data/lib/glib/version.rb +0 -0
  82. data/lib/glib-web.rb +0 -0
  83. metadata +2 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df6b1ad5defcb6d77fa2cff5f8daef5615ca3ce0965efeb7263a8d42e9e9ebe6
4
- data.tar.gz: 8bb3862f75b2d32c3284efc9de83afaa051c4e915a3ed5c1fe1b28b78e5fc0dd
3
+ metadata.gz: 8188479eb502da835ae017b7b4a61237628595bd7dcff2f9dfc313b75b032fb4
4
+ data.tar.gz: 2d86cbb1a9091873bff0cce3d76bed7d5644a5433a5c1784e1963f8b4f0adec6
5
5
  SHA512:
6
- metadata.gz: daa8778895e12cfb01ef928b27a61bc4b8cfbe20eb9c61a7e242a2ae63c8d8690cd45d348335832f79ff2cc3906b7f4c6c4bdfcc415f9db0ee297beb1ee29b6d
7
- data.tar.gz: c002c3203aedaff266113d6dc1ba50320010df33d53f82489cbe21fc207eb2069dc1fa82ed8934dfeccb2bc7c6c611788fbc3dadaa21769ff59039a984df90b4
6
+ metadata.gz: 0b483156bb8b301c19f61bf3fa1d1b49e26cefb0d594d89f937bcbbb29abd4d3c1c5b9448f97242754c8bbac32d0f4ba80e7e7e4b6cc7f459fc875655df6736b
7
+ data.tar.gz: 8c0065b3579447d6d7aa00deb5c2e62f07fd86375e9a6f57334b9b2346fb4a22a4f4090a5532dd2dd63690caf22a4fc63962b28c23a19b94e34e72290104895a
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -263,6 +263,16 @@ class Glib::JsonUi::ViewBuilder
263
263
  hash :infoSpec
264
264
  end
265
265
 
266
+ class MultipleUpload < AbstractField
267
+ hash :accepts
268
+ array :files
269
+ string :directUploadUrl
270
+ string :title
271
+ string :subtitle
272
+ string :uploadTitle
273
+ string :uploadFailedText
274
+ end
275
+
266
276
  # TODO
267
277
  # class MultiImage < Text
268
278
  # # file_rules = { fileType: 'image/*', maxFileSize: 5000 }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -36,5 +36,17 @@ page.form options.merge(childViews: ->(form) do
36
36
  # form.fields_multiImage name: 'user[photos][]', width: 'matchParent', label: 'Avatar', accepts: rules, directUploadUrl: rails_direct_uploads_url,
37
37
  # placeholderView: { type: 'avatar', width: 100, height: 100, url: 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxMREBUREhAWFhUWGBcVFRgXFxUVFxcWGRUWFxYVFRUYHSggGB0lHRgVITEhJSkrLi4uGB8zODMtNygtLisBCgoKB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mDm7dlbIzf8lp/9h+nfcp5cvaX7osMEtYSGwbByCOBnTV9ONEAOv0w2oX3KY7Vl8jqY8KURhA1seNaIMB9+mG1C+5o4rLyDq48KIwgCTseNUAsuVx2IGXtJYYCNbDjWqOBJm3Dsg+mRL1CFoiwZcv3itzyDq48KUWWOAEjj+5IONF0PgbcDu+y0ESxQYREQEREBERAREQEREBERARfTGE4BdDGNbiaoNbYUhN3QfdbQy9penJYZMGbsONao4EmbcO3OiAHX6YbUL7uj+6rLyDq48KURpAEjj+5VQC25XHYgbfrhsWGAjWw41R4J1cOFKoMllyo5IGX6lYYCDN2HdHgkzbh2QGvv0NNqF93RWXkGjce1EaQBJ2Pf1QC25UV2IGXtL90WGAjWw71RwJM24dudEBrr9DTasRDLRIn819PIOrj2ojSAJOx7+qD4iWbce60uYRiF0MBGth3qskkmYw/exByIustacBPlRa3QW4TIPGvyQaEW91nl7QWPw53hBpRbhZydo7p5FZFwQaUXSYDRiSshu1rRLf8APFBoZDJwC2CEAZEzO4LbEde1T9FgESkdb67KoPqJo1HKWxfIZe0lhgIq7DujgSZtw7eiA11+hptQvu6P7qsvIOrj2ojSAJOx7+qAW3KiuxAy9pfuiwwEa2HeqOBJmMO3OiAHX6Gm1C65QV2rLzPVx7IwgUdj3QfVp1eqWfVREGqy49PskfW7IiDZasOv3WYGr3REGuy49FiPrdkRBstWHX7rMHV7rKINVlx6LEXX7IiDZasBzWYOp3+qyiDVZcTyWIuv2+iIg2WrAc1mHqdD9URB8WXEr5fr9R9ERBttOr1Sz6vdZRBpsuPT7JH1uyIg2WrDqswdTuiINdlxPJYtOt0REH//2Q==' }
38
38
 
39
+ form.spacer height: 16
40
+ form.fields_multipleUpload \
41
+ name: 'user[multi][]',
42
+ directUploadUrl: rails_direct_uploads_url,
43
+ title: 'Select file or drag and drop here',
44
+ subtitle: 'JPG, PNG or PDF, file size no more than 10MB',
45
+ uploadTitle: 'File added:',
46
+ uploadFailedText: '(UPLOAD FAILED)',
47
+ files: [
48
+ { name: 'File (Example)', signed_id: ActiveStorage::Attachment.last&.signed_id }
49
+ ]
50
+ form.spacer height: 16
39
51
  form.fields_submit text: 'Submit'
40
52
  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
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
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: 3.12.0
4
+ version: 3.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
@@ -319,8 +319,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
319
319
  - !ruby/object:Gem::Version
320
320
  version: '0'
321
321
  requirements: []
322
- rubyforge_project:
323
- rubygems_version: 2.7.6
322
+ rubygems_version: 3.4.6
324
323
  signing_key:
325
324
  specification_version: 4
326
325
  summary: ''