avo 1.19.0 → 1.19.1.pre.4

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of avo might be problematic. Click here for more details.

Files changed (191) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -7
  3. data/Gemfile.lock +34 -51
  4. data/README.md +3 -0
  5. data/app/assets/builds/avo.css +8477 -0
  6. data/app/assets/builds/avo.js +87744 -0
  7. data/app/assets/builds/avo.js.map +7 -0
  8. data/app/assets/config/avo_manifest.js +2 -1
  9. data/app/{packs/images → assets/images/avo}/logo.png +0 -0
  10. data/app/{packs/entrypoints/application.css → assets/stylesheets/avo.css} +23 -24
  11. data/app/{packs/stylesheets → assets/stylesheets/css}/active-storage.css +0 -0
  12. data/app/{packs/stylesheets → assets/stylesheets/css}/alerts.css +0 -0
  13. data/app/{packs/stylesheets → assets/stylesheets/css}/breadcrumbs.css +0 -0
  14. data/app/{packs/stylesheets → assets/stylesheets/css}/components/code.css +0 -0
  15. data/app/{packs/stylesheets → assets/stylesheets/css}/components/progress.css +0 -0
  16. data/app/{packs/stylesheets → assets/stylesheets/css}/components/status.css +0 -0
  17. data/app/assets/stylesheets/css/fonts.css +26 -0
  18. data/app/{packs/stylesheets → assets/stylesheets/css}/loader.css +0 -0
  19. data/app/{packs/stylesheets → assets/stylesheets/css}/pagination.css +0 -0
  20. data/app/{packs/stylesheets → assets/stylesheets/css}/search.css +0 -0
  21. data/app/{packs/stylesheets → assets/stylesheets/css}/spinner.css +0 -0
  22. data/app/{packs/stylesheets → assets/stylesheets/css}/tailwindcss/base.css +0 -0
  23. data/app/{packs/stylesheets → assets/stylesheets/css}/tailwindcss/components.css +0 -0
  24. data/app/{packs/stylesheets → assets/stylesheets/css}/tailwindcss/utilities.css +0 -0
  25. data/app/{packs/stylesheets → assets/stylesheets/css}/tooltips.css +0 -0
  26. data/app/{packs/stylesheets → assets/stylesheets/css}/typography.css +0 -0
  27. data/app/{packs → assets}/svgs/arrow-circle-right.svg +0 -0
  28. data/app/{packs → assets}/svgs/arrow-left.svg +0 -0
  29. data/app/{packs → assets}/svgs/avocado.svg +0 -0
  30. data/app/{packs → assets}/svgs/badge-check-sm.svg +0 -0
  31. data/app/{packs → assets}/svgs/check-circle-sm.svg +0 -0
  32. data/app/{packs → assets}/svgs/check-circle.svg +0 -0
  33. data/app/{packs → assets}/svgs/chevron-down.svg +0 -0
  34. data/app/{packs → assets}/svgs/chevron-right.svg +0 -0
  35. data/app/{packs → assets}/svgs/chevron-up.svg +0 -0
  36. data/app/{packs → assets}/svgs/code.svg +0 -0
  37. data/app/{packs → assets}/svgs/color-swatch.svg +0 -0
  38. data/app/{packs → assets}/svgs/document-text.svg +0 -0
  39. data/app/{packs → assets}/svgs/download.svg +0 -0
  40. data/app/{packs → assets}/svgs/edit.svg +0 -0
  41. data/app/{packs → assets}/svgs/exclamation-circle-sm.svg +0 -0
  42. data/app/{packs → assets}/svgs/exclamation-sm.svg +0 -0
  43. data/app/{packs → assets}/svgs/exclamation.svg +0 -0
  44. data/app/{packs → assets}/svgs/eye.svg +0 -0
  45. data/app/{packs → assets}/svgs/filter.svg +0 -0
  46. data/app/{packs → assets}/svgs/fire.svg +0 -0
  47. data/app/{packs → assets}/svgs/game-board.svg +0 -0
  48. data/app/{packs → assets}/svgs/globe.svg +0 -0
  49. data/app/{packs → assets}/svgs/information-circle-sm.svg +0 -0
  50. data/app/{packs → assets}/svgs/information-circle.svg +0 -0
  51. data/app/{packs → assets}/svgs/library.svg +0 -0
  52. data/app/{packs → assets}/svgs/photograph.svg +0 -0
  53. data/app/{packs → assets}/svgs/play.svg +0 -0
  54. data/app/{packs → assets}/svgs/plus-circle.svg +0 -0
  55. data/app/{packs → assets}/svgs/plus.svg +0 -0
  56. data/app/{packs → assets}/svgs/question-mark-circle.svg +0 -0
  57. data/app/{packs → assets}/svgs/save.svg +0 -0
  58. data/app/{packs → assets}/svgs/selector.svg +0 -0
  59. data/app/{packs → assets}/svgs/sort-ascending.svg +0 -0
  60. data/app/{packs → assets}/svgs/sort-descending.svg +0 -0
  61. data/app/{packs → assets}/svgs/switch-horizontal.svg +0 -0
  62. data/app/{packs → assets}/svgs/thumbs-down.svg +0 -0
  63. data/app/{packs → assets}/svgs/thumbs-up.svg +0 -0
  64. data/app/{packs → assets}/svgs/times.svg +0 -0
  65. data/app/{packs → assets}/svgs/trash-sm.svg +0 -0
  66. data/app/{packs → assets}/svgs/trash.svg +0 -0
  67. data/app/{packs → assets}/svgs/view-grid-add.svg +0 -0
  68. data/app/{packs → assets}/svgs/view-grid.svg +0 -0
  69. data/app/{packs → assets}/svgs/view-list.svg +0 -0
  70. data/app/{packs → assets}/svgs/x-circle-sm.svg +0 -0
  71. data/app/{packs → assets}/svgs/x-circle.svg +0 -0
  72. data/app/components/avo/resource_component.rb +0 -4
  73. data/app/components/avo/views/resource_edit_component.html.erb +1 -1
  74. data/app/components/avo/views/resource_edit_component.rb +6 -0
  75. data/app/components/avo/views/resource_index_component.html.erb +1 -1
  76. data/app/components/avo/views/resource_index_component.rb +21 -9
  77. data/app/components/avo/views/resource_new_component.html.erb +6 -4
  78. data/app/components/avo/views/resource_new_component.rb +6 -0
  79. data/app/components/avo/views/resource_show_component.html.erb +2 -2
  80. data/app/components/avo/views/resource_show_component.rb +9 -1
  81. data/app/controllers/avo/application_controller.rb +15 -0
  82. data/app/controllers/avo/base_controller.rb +43 -15
  83. data/app/helpers/avo/application_helper.rb +1 -12
  84. data/app/{packs/entrypoints/application.js → javascript/avo.js} +3 -18
  85. data/{public/avo-packs/media/images/dadf2db36589607d107d.png → app/javascript/images/logo.png} +0 -0
  86. data/app/{packs → javascript}/js/active-storage.js +0 -0
  87. data/app/javascript/js/application.js +9 -0
  88. data/app/{packs → javascript}/js/controllers/action_controller.js +1 -1
  89. data/app/{packs → javascript}/js/controllers/actions_picker_controller.js +0 -0
  90. data/app/{packs → javascript}/js/controllers/alerts_controller.js +0 -0
  91. data/app/{packs → javascript}/js/controllers/attachments_controller.js +0 -0
  92. data/app/{packs → javascript}/js/controllers/boolean_filter_controller.js +0 -0
  93. data/app/{packs → javascript}/js/controllers/fields/belongs_to_field_controller.js +0 -0
  94. data/app/{packs → javascript}/js/controllers/fields/code_field_controller.js +2 -1
  95. data/app/{packs → javascript}/js/controllers/fields/date_field_controller.js +1 -1
  96. data/app/{packs → javascript}/js/controllers/fields/key_value_controller.js +1 -1
  97. data/app/{packs → javascript}/js/controllers/fields/simple_mde_controller.js +0 -0
  98. data/app/{packs → javascript}/js/controllers/fields/trix_field_controller.js +1 -1
  99. data/app/{packs → javascript}/js/controllers/filter_controller.js +0 -0
  100. data/app/{packs → javascript}/js/controllers/hidden_input_controller.js +0 -0
  101. data/app/{packs → javascript}/js/controllers/item_select_all_controller.js +0 -0
  102. data/app/{packs → javascript}/js/controllers/item_selector_controller.js +0 -0
  103. data/app/{packs → javascript}/js/controllers/loading_button_controller.js +0 -0
  104. data/app/{packs → javascript}/js/controllers/modal_controller.js +0 -0
  105. data/app/{packs → javascript}/js/controllers/multiple_select_filter_controller.js +0 -0
  106. data/app/{packs → javascript}/js/controllers/per_page_controller.js +0 -0
  107. data/app/{packs → javascript}/js/controllers/search_controller.js +1 -1
  108. data/app/{packs → javascript}/js/controllers/select_filter_controller.js +0 -0
  109. data/app/{packs → javascript}/js/controllers/text_filter_controller.js +0 -0
  110. data/app/{packs → javascript}/js/controllers/tippy_controller.js +0 -0
  111. data/app/{packs → javascript}/js/controllers/toggle_panel_controller.js +0 -0
  112. data/app/javascript/js/controllers.js +53 -0
  113. data/app/{packs → javascript}/js/helpers/cast_boolean.js +0 -0
  114. data/app/{packs → javascript}/js/helpers/debounce_promise.js +0 -0
  115. data/app/{packs → javascript}/js/toastr.js +0 -0
  116. data/app/views/avo/partials/_logo.html.erb +1 -1
  117. data/app/views/layouts/avo/application.html.erb +7 -2
  118. data/avo.gemspec +1 -2
  119. data/bin/dev +9 -0
  120. data/bin/test +2 -1
  121. data/lib/avo/base_resource.rb +4 -3
  122. data/lib/avo/engine.rb +2 -16
  123. data/lib/avo/fields/base_field.rb +7 -2
  124. data/lib/avo/fields/key_value_field.rb +4 -4
  125. data/lib/avo/version.rb +1 -1
  126. data/lib/avo.rb +0 -18
  127. data/lib/generators/avo/templates/locales/avo.en.yml +10 -3
  128. data/lib/generators/avo/templates/locales/avo.ro.yml +7 -0
  129. data/public/avo-assets/avo.css +8477 -0
  130. data/public/avo-assets/avo.js +87744 -0
  131. data/public/avo-assets/avo.js.map +7 -0
  132. data/{app/packs → public/avo-assets}/fonts/nunito-v16-latin-700.eot +0 -0
  133. data/{app/packs → public/avo-assets}/fonts/nunito-v16-latin-700.svg +0 -0
  134. data/{app/packs → public/avo-assets}/fonts/nunito-v16-latin-700.ttf +0 -0
  135. data/{app/packs → public/avo-assets}/fonts/nunito-v16-latin-700.woff +0 -0
  136. data/{app/packs → public/avo-assets}/fonts/nunito-v16-latin-700.woff2 +0 -0
  137. data/{app/packs → public/avo-assets}/fonts/nunito-v16-latin-regular.eot +0 -0
  138. data/{app/packs → public/avo-assets}/fonts/nunito-v16-latin-regular.svg +0 -0
  139. data/{app/packs → public/avo-assets}/fonts/nunito-v16-latin-regular.ttf +0 -0
  140. data/{app/packs → public/avo-assets}/fonts/nunito-v16-latin-regular.woff +0 -0
  141. data/{app/packs → public/avo-assets}/fonts/nunito-v16-latin-regular.woff2 +0 -0
  142. metadata +117 -170
  143. data/app/assets/stylesheets/avo/application.css +0 -15
  144. data/app/packs/importmap.json.erb +0 -5
  145. data/app/packs/stylesheets/fonts.css +0 -26
  146. data/bin/webpack +0 -20
  147. data/bin/webpack-dev-server +0 -18
  148. data/config/webpack/aliases.js +0 -10
  149. data/config/webpack/base.js +0 -14
  150. data/config/webpack/development.js +0 -5
  151. data/config/webpack/production.js +0 -5
  152. data/config/webpack/test.js +0 -5
  153. data/config/webpacker.yml +0 -79
  154. data/public/avo-packs/css/application-c3b50b28.css +0 -6329
  155. data/public/avo-packs/css/application-c3b50b28.css.br +0 -0
  156. data/public/avo-packs/css/application-c3b50b28.css.gz +0 -0
  157. data/public/avo-packs/css/application-c3b50b28.css.map +0 -1
  158. data/public/avo-packs/css/application-c3b50b28.css.map.br +0 -0
  159. data/public/avo-packs/css/application-c3b50b28.css.map.gz +0 -0
  160. data/public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js +0 -2
  161. data/public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.br +0 -0
  162. data/public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.gz +0 -0
  163. data/public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.map +0 -1
  164. data/public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.map.br +0 -0
  165. data/public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.map.gz +0 -0
  166. data/public/avo-packs/js/application-6fc968cfa52976c4582b.js +0 -26
  167. data/public/avo-packs/js/application-6fc968cfa52976c4582b.js.LICENSE.txt +0 -77
  168. data/public/avo-packs/js/application-6fc968cfa52976c4582b.js.br +0 -0
  169. data/public/avo-packs/js/application-6fc968cfa52976c4582b.js.gz +0 -0
  170. data/public/avo-packs/js/application-6fc968cfa52976c4582b.js.map +0 -1
  171. data/public/avo-packs/js/application-6fc968cfa52976c4582b.js.map.br +0 -0
  172. data/public/avo-packs/js/application-6fc968cfa52976c4582b.js.map.gz +0 -0
  173. data/public/avo-packs/manifest.json +0 -52
  174. data/public/avo-packs/media/images/13ae283c0d7cc04efe7e.svg +0 -380
  175. data/public/avo-packs/media/images/13ae283c0d7cc04efe7e.svg.br +0 -0
  176. data/public/avo-packs/media/images/13ae283c0d7cc04efe7e.svg.gz +0 -0
  177. data/public/avo-packs/media/images/195026a50008c53526ef.svg +0 -388
  178. data/public/avo-packs/media/images/195026a50008c53526ef.svg.br +0 -0
  179. data/public/avo-packs/media/images/195026a50008c53526ef.svg.gz +0 -0
  180. data/public/avo-packs/media/images/1f30e08faa7c60d1f7ac.woff +0 -0
  181. data/public/avo-packs/media/images/1fd17dabf6b7d2b15348.ttf +0 -0
  182. data/public/avo-packs/media/images/1fd17dabf6b7d2b15348.ttf.br +0 -0
  183. data/public/avo-packs/media/images/1fd17dabf6b7d2b15348.ttf.gz +0 -0
  184. data/public/avo-packs/media/images/39a18f443d434999b89b.woff2 +0 -0
  185. data/public/avo-packs/media/images/4ad349571e28bb59c5a5.woff2 +0 -0
  186. data/public/avo-packs/media/images/57a5470848663767abbf.eot +0 -0
  187. data/public/avo-packs/media/images/b2e4cf0fab6c8ca66b7f.ttf +0 -0
  188. data/public/avo-packs/media/images/b2e4cf0fab6c8ca66b7f.ttf.br +0 -0
  189. data/public/avo-packs/media/images/b2e4cf0fab6c8ca66b7f.ttf.gz +0 -0
  190. data/public/avo-packs/media/images/b78d61ab7e046de8c156.eot +0 -0
  191. data/public/avo-packs/media/images/c9ab29becb76ddab01d0.woff +0 -0
@@ -1,77 +0,0 @@
1
- /*!
2
- * Sizzle CSS Selector Engine v2.3.5
3
- * https://sizzlejs.com/
4
- *
5
- * Copyright JS Foundation and other contributors
6
- * Released under the MIT license
7
- * https://js.foundation/
8
- *
9
- * Date: 2020-03-14
10
- */
11
-
12
- /*!
13
- * URI.js - Mutating URLs
14
- *
15
- * Version: 1.19.7
16
- *
17
- * Author: Rodney Rehm
18
- * Web: http://medialize.github.io/URI.js/
19
- *
20
- * Licensed under
21
- * MIT License http://www.opensource.org/licenses/mit-license
22
- *
23
- */
24
-
25
- /*!
26
- * URI.js - Mutating URLs
27
- * IPv6 Support
28
- *
29
- * Version: 1.19.7
30
- *
31
- * Author: Rodney Rehm
32
- * Web: http://medialize.github.io/URI.js/
33
- *
34
- * Licensed under
35
- * MIT License http://www.opensource.org/licenses/mit-license
36
- *
37
- */
38
-
39
- /*!
40
- * URI.js - Mutating URLs
41
- * Second Level Domain (SLD) Support
42
- *
43
- * Version: 1.19.7
44
- *
45
- * Author: Rodney Rehm
46
- * Web: http://medialize.github.io/URI.js/
47
- *
48
- * Licensed under
49
- * MIT License http://www.opensource.org/licenses/mit-license
50
- *
51
- */
52
-
53
- /*!
54
- * jQuery JavaScript Library v3.5.1
55
- * https://jquery.com/
56
- *
57
- * Includes Sizzle.js
58
- * https://sizzlejs.com/
59
- *
60
- * Copyright JS Foundation and other contributors
61
- * Released under the MIT license
62
- * https://jquery.org/license
63
- *
64
- * Date: 2020-05-04T22:49Z
65
- */
66
-
67
- /*! https://mths.be/punycode v1.4.0 by @mathias */
68
-
69
- /**
70
- * @license
71
- * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
72
- * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
73
- * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
74
- * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
75
- * Code distributed by Google as part of the polymer project is also
76
- * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
77
- */