avo 1.19.1.pre.2 → 1.19.1.pre.6

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 (206) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -7
  3. data/Gemfile.lock +31 -51
  4. data/README.md +3 -0
  5. data/app/assets/builds/avo.css +8590 -0
  6. data/app/assets/builds/avo.js +87755 -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} +31 -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 +1 -1
  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/edit/field_wrapper_component.html.erb +1 -1
  73. data/app/components/avo/fields/common/files_list_viewer_component.html.erb +1 -1
  74. data/app/components/avo/fields/common/heading_component.html.erb +1 -1
  75. data/app/components/avo/index/field_wrapper_component.html.erb +1 -1
  76. data/app/components/avo/index/table_row_component.html.erb +1 -1
  77. data/app/components/avo/resource_component.rb +0 -4
  78. data/app/components/avo/show/field_wrapper_component.html.erb +1 -1
  79. data/app/components/avo/views/resource_edit_component.html.erb +1 -1
  80. data/app/components/avo/views/resource_edit_component.rb +6 -0
  81. data/app/components/avo/views/resource_index_component.html.erb +1 -1
  82. data/app/components/avo/views/resource_index_component.rb +21 -9
  83. data/app/components/avo/views/resource_new_component.html.erb +6 -4
  84. data/app/components/avo/views/resource_new_component.rb +6 -0
  85. data/app/components/avo/views/resource_show_component.html.erb +2 -2
  86. data/app/components/avo/views/resource_show_component.rb +9 -1
  87. data/app/controllers/avo/application_controller.rb +1 -1
  88. data/app/controllers/avo/base_controller.rb +39 -9
  89. data/app/helpers/avo/application_helper.rb +4 -16
  90. data/app/{packs/entrypoints/application.js → javascript/avo.js} +15 -18
  91. data/{public/avo-packs/media/images/dadf2db36589607d107d.png → app/javascript/images/logo.png} +0 -0
  92. data/app/{packs → javascript}/js/active-storage.js +0 -0
  93. data/app/javascript/js/application.js +9 -0
  94. data/app/{packs → javascript}/js/controllers/action_controller.js +1 -1
  95. data/app/{packs → javascript}/js/controllers/actions_picker_controller.js +0 -0
  96. data/app/{packs → javascript}/js/controllers/alerts_controller.js +0 -0
  97. data/app/{packs → javascript}/js/controllers/attachments_controller.js +0 -0
  98. data/app/{packs → javascript}/js/controllers/boolean_filter_controller.js +0 -0
  99. data/app/{packs → javascript}/js/controllers/fields/belongs_to_field_controller.js +0 -0
  100. data/app/{packs → javascript}/js/controllers/fields/code_field_controller.js +2 -1
  101. data/app/{packs → javascript}/js/controllers/fields/date_field_controller.js +1 -1
  102. data/app/{packs → javascript}/js/controllers/fields/key_value_controller.js +1 -1
  103. data/app/{packs → javascript}/js/controllers/fields/simple_mde_controller.js +0 -0
  104. data/app/{packs → javascript}/js/controllers/fields/trix_field_controller.js +1 -1
  105. data/app/{packs → javascript}/js/controllers/filter_controller.js +0 -0
  106. data/app/{packs → javascript}/js/controllers/hidden_input_controller.js +0 -0
  107. data/app/{packs → javascript}/js/controllers/item_select_all_controller.js +0 -0
  108. data/app/{packs → javascript}/js/controllers/item_selector_controller.js +0 -0
  109. data/app/{packs → javascript}/js/controllers/loading_button_controller.js +0 -0
  110. data/app/{packs → javascript}/js/controllers/modal_controller.js +0 -0
  111. data/app/{packs → javascript}/js/controllers/multiple_select_filter_controller.js +0 -0
  112. data/app/{packs → javascript}/js/controllers/per_page_controller.js +0 -0
  113. data/app/{packs → javascript}/js/controllers/search_controller.js +1 -1
  114. data/app/{packs → javascript}/js/controllers/select_filter_controller.js +0 -0
  115. data/app/{packs → javascript}/js/controllers/text_filter_controller.js +0 -0
  116. data/app/{packs → javascript}/js/controllers/tippy_controller.js +0 -0
  117. data/app/{packs → javascript}/js/controllers/toggle_panel_controller.js +0 -0
  118. data/app/javascript/js/controllers.js +53 -0
  119. data/app/{packs → javascript}/js/helpers/cast_boolean.js +0 -0
  120. data/app/{packs → javascript}/js/helpers/debounce_promise.js +0 -0
  121. data/app/{packs → javascript}/js/toastr.js +0 -0
  122. data/app/views/avo/actions/show.html.erb +1 -1
  123. data/app/views/avo/base/_actions.html.erb +1 -1
  124. data/app/views/avo/base/_filters.html.erb +3 -3
  125. data/app/views/avo/home/_actions.html.erb +1 -1
  126. data/app/views/avo/home/_filters.html.erb +1 -1
  127. data/app/views/avo/home/_resources.html.erb +2 -2
  128. data/app/views/avo/partials/_footer.html.erb +1 -1
  129. data/app/views/avo/partials/_global_search.html.erb +4 -1
  130. data/app/views/avo/partials/_logo.html.erb +1 -1
  131. data/app/views/avo/partials/_paginator.html.erb +3 -3
  132. data/app/views/avo/partials/_table_header.html.erb +2 -2
  133. data/app/views/layouts/avo/application.html.erb +9 -4
  134. data/avo.gemspec +1 -2
  135. data/bin/dev +9 -0
  136. data/bin/test +2 -1
  137. data/lib/avo/base_resource.rb +4 -3
  138. data/lib/avo/configuration.rb +6 -0
  139. data/lib/avo/engine.rb +2 -16
  140. data/lib/avo/version.rb +1 -1
  141. data/lib/avo.rb +0 -18
  142. data/lib/generators/avo/filter_generator.rb +2 -0
  143. data/lib/generators/avo/templates/filters/text_filter.tt +8 -0
  144. data/public/avo-assets/avo.css +8590 -0
  145. data/public/avo-assets/avo.js +87755 -0
  146. data/public/avo-assets/avo.js.map +7 -0
  147. data/{app/packs → public/avo-assets}/fonts/nunito-v16-latin-700.eot +0 -0
  148. data/{app/packs → public/avo-assets}/fonts/nunito-v16-latin-700.svg +0 -0
  149. data/{app/packs → public/avo-assets}/fonts/nunito-v16-latin-700.ttf +0 -0
  150. data/{app/packs → public/avo-assets}/fonts/nunito-v16-latin-700.woff +0 -0
  151. data/{app/packs → public/avo-assets}/fonts/nunito-v16-latin-700.woff2 +0 -0
  152. data/{app/packs → public/avo-assets}/fonts/nunito-v16-latin-regular.eot +0 -0
  153. data/{app/packs → public/avo-assets}/fonts/nunito-v16-latin-regular.svg +0 -0
  154. data/{app/packs → public/avo-assets}/fonts/nunito-v16-latin-regular.ttf +0 -0
  155. data/{app/packs → public/avo-assets}/fonts/nunito-v16-latin-regular.woff +0 -0
  156. data/{app/packs → public/avo-assets}/fonts/nunito-v16-latin-regular.woff2 +0 -0
  157. metadata +116 -168
  158. data/app/assets/stylesheets/avo/application.css +0 -15
  159. data/app/packs/importmap.json.erb +0 -5
  160. data/app/packs/stylesheets/fonts.css +0 -26
  161. data/bin/webpack +0 -20
  162. data/bin/webpack-dev-server +0 -18
  163. data/config/webpack/aliases.js +0 -10
  164. data/config/webpack/base.js +0 -14
  165. data/config/webpack/development.js +0 -5
  166. data/config/webpack/production.js +0 -5
  167. data/config/webpack/test.js +0 -5
  168. data/config/webpacker.yml +0 -79
  169. data/public/avo-packs/css/application-c3b50b28.css +0 -6329
  170. data/public/avo-packs/css/application-c3b50b28.css.br +0 -0
  171. data/public/avo-packs/css/application-c3b50b28.css.gz +0 -0
  172. data/public/avo-packs/css/application-c3b50b28.css.map +0 -1
  173. data/public/avo-packs/css/application-c3b50b28.css.map.br +0 -0
  174. data/public/avo-packs/css/application-c3b50b28.css.map.gz +0 -0
  175. data/public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js +0 -2
  176. data/public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.br +0 -0
  177. data/public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.gz +0 -0
  178. data/public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.map +0 -1
  179. data/public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.map.br +0 -0
  180. data/public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.map.gz +0 -0
  181. data/public/avo-packs/js/application-6fc968cfa52976c4582b.js +0 -26
  182. data/public/avo-packs/js/application-6fc968cfa52976c4582b.js.LICENSE.txt +0 -77
  183. data/public/avo-packs/js/application-6fc968cfa52976c4582b.js.br +0 -0
  184. data/public/avo-packs/js/application-6fc968cfa52976c4582b.js.gz +0 -0
  185. data/public/avo-packs/js/application-6fc968cfa52976c4582b.js.map +0 -1
  186. data/public/avo-packs/js/application-6fc968cfa52976c4582b.js.map.br +0 -0
  187. data/public/avo-packs/js/application-6fc968cfa52976c4582b.js.map.gz +0 -0
  188. data/public/avo-packs/manifest.json +0 -52
  189. data/public/avo-packs/media/images/13ae283c0d7cc04efe7e.svg +0 -380
  190. data/public/avo-packs/media/images/13ae283c0d7cc04efe7e.svg.br +0 -0
  191. data/public/avo-packs/media/images/13ae283c0d7cc04efe7e.svg.gz +0 -0
  192. data/public/avo-packs/media/images/195026a50008c53526ef.svg +0 -388
  193. data/public/avo-packs/media/images/195026a50008c53526ef.svg.br +0 -0
  194. data/public/avo-packs/media/images/195026a50008c53526ef.svg.gz +0 -0
  195. data/public/avo-packs/media/images/1f30e08faa7c60d1f7ac.woff +0 -0
  196. data/public/avo-packs/media/images/1fd17dabf6b7d2b15348.ttf +0 -0
  197. data/public/avo-packs/media/images/1fd17dabf6b7d2b15348.ttf.br +0 -0
  198. data/public/avo-packs/media/images/1fd17dabf6b7d2b15348.ttf.gz +0 -0
  199. data/public/avo-packs/media/images/39a18f443d434999b89b.woff2 +0 -0
  200. data/public/avo-packs/media/images/4ad349571e28bb59c5a5.woff2 +0 -0
  201. data/public/avo-packs/media/images/57a5470848663767abbf.eot +0 -0
  202. data/public/avo-packs/media/images/b2e4cf0fab6c8ca66b7f.ttf +0 -0
  203. data/public/avo-packs/media/images/b2e4cf0fab6c8ca66b7f.ttf.br +0 -0
  204. data/public/avo-packs/media/images/b2e4cf0fab6c8ca66b7f.ttf.gz +0 -0
  205. data/public/avo-packs/media/images/b78d61ab7e046de8c156.eot +0 -0
  206. data/public/avo-packs/media/images/c9ab29becb76ddab01d0.woff +0 -0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.1.pre.2
4
+ version: 1.19.1.pre.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-01-31 00:00:00.000000000 Z
12
+ date: 2022-02-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -193,20 +193,6 @@ dependencies:
193
193
  - - ">="
194
194
  - !ruby/object:Gem::Version
195
195
  version: '0'
196
- - !ruby/object:Gem::Dependency
197
- name: manifester
198
- requirement: !ruby/object:Gem::Requirement
199
- requirements:
200
- - - ">="
201
- - !ruby/object:Gem::Version
202
- version: '0'
203
- type: :runtime
204
- prerelease: false
205
- version_requirements: !ruby/object:Gem::Requirement
206
- requirements:
207
- - - ">="
208
- - !ruby/object:Gem::Version
209
- version: '0'
210
196
  description: Avo is a beautiful next-generation framework that empowers you, the developer,
211
197
  to create fantastic admin panels for your Ruby on Rails apps with the flexibility
212
198
  to fit your needs as you grow.
@@ -220,8 +206,73 @@ files:
220
206
  - Gemfile.lock
221
207
  - README.md
222
208
  - Rakefile
209
+ - app/assets/builds/avo.css
210
+ - app/assets/builds/avo.js
211
+ - app/assets/builds/avo.js.map
223
212
  - app/assets/config/avo_manifest.js
224
- - app/assets/stylesheets/avo/application.css
213
+ - app/assets/images/avo/logo.png
214
+ - app/assets/stylesheets/avo.css
215
+ - app/assets/stylesheets/css/active-storage.css
216
+ - app/assets/stylesheets/css/alerts.css
217
+ - app/assets/stylesheets/css/breadcrumbs.css
218
+ - app/assets/stylesheets/css/components/code.css
219
+ - app/assets/stylesheets/css/components/progress.css
220
+ - app/assets/stylesheets/css/components/status.css
221
+ - app/assets/stylesheets/css/fonts.css
222
+ - app/assets/stylesheets/css/loader.css
223
+ - app/assets/stylesheets/css/pagination.css
224
+ - app/assets/stylesheets/css/search.css
225
+ - app/assets/stylesheets/css/spinner.css
226
+ - app/assets/stylesheets/css/tailwindcss/base.css
227
+ - app/assets/stylesheets/css/tailwindcss/components.css
228
+ - app/assets/stylesheets/css/tailwindcss/utilities.css
229
+ - app/assets/stylesheets/css/tooltips.css
230
+ - app/assets/stylesheets/css/typography.css
231
+ - app/assets/svgs/arrow-circle-right.svg
232
+ - app/assets/svgs/arrow-left.svg
233
+ - app/assets/svgs/avocado.svg
234
+ - app/assets/svgs/badge-check-sm.svg
235
+ - app/assets/svgs/check-circle-sm.svg
236
+ - app/assets/svgs/check-circle.svg
237
+ - app/assets/svgs/chevron-down.svg
238
+ - app/assets/svgs/chevron-right.svg
239
+ - app/assets/svgs/chevron-up.svg
240
+ - app/assets/svgs/code.svg
241
+ - app/assets/svgs/color-swatch.svg
242
+ - app/assets/svgs/document-text.svg
243
+ - app/assets/svgs/download.svg
244
+ - app/assets/svgs/edit.svg
245
+ - app/assets/svgs/exclamation-circle-sm.svg
246
+ - app/assets/svgs/exclamation-sm.svg
247
+ - app/assets/svgs/exclamation.svg
248
+ - app/assets/svgs/eye.svg
249
+ - app/assets/svgs/filter.svg
250
+ - app/assets/svgs/fire.svg
251
+ - app/assets/svgs/game-board.svg
252
+ - app/assets/svgs/globe.svg
253
+ - app/assets/svgs/information-circle-sm.svg
254
+ - app/assets/svgs/information-circle.svg
255
+ - app/assets/svgs/library.svg
256
+ - app/assets/svgs/photograph.svg
257
+ - app/assets/svgs/play.svg
258
+ - app/assets/svgs/plus-circle.svg
259
+ - app/assets/svgs/plus.svg
260
+ - app/assets/svgs/question-mark-circle.svg
261
+ - app/assets/svgs/save.svg
262
+ - app/assets/svgs/selector.svg
263
+ - app/assets/svgs/sort-ascending.svg
264
+ - app/assets/svgs/sort-descending.svg
265
+ - app/assets/svgs/switch-horizontal.svg
266
+ - app/assets/svgs/thumbs-down.svg
267
+ - app/assets/svgs/thumbs-up.svg
268
+ - app/assets/svgs/times.svg
269
+ - app/assets/svgs/trash-sm.svg
270
+ - app/assets/svgs/trash.svg
271
+ - app/assets/svgs/view-grid-add.svg
272
+ - app/assets/svgs/view-grid.svg
273
+ - app/assets/svgs/view-list.svg
274
+ - app/assets/svgs/x-circle-sm.svg
275
+ - app/assets/svgs/x-circle.svg
225
276
  - app/components/avo/edit/field_wrapper_component.html.erb
226
277
  - app/components/avo/edit/field_wrapper_component.rb
227
278
  - app/components/avo/fields/badge_field/index_component.html.erb
@@ -427,110 +478,39 @@ files:
427
478
  - app/helpers/avo/attachments_helper.rb
428
479
  - app/helpers/avo/resources_helper.rb
429
480
  - app/helpers/avo/url_helpers.rb
481
+ - app/javascript/avo.js
482
+ - app/javascript/images/logo.png
483
+ - app/javascript/js/active-storage.js
484
+ - app/javascript/js/application.js
485
+ - app/javascript/js/controllers.js
486
+ - app/javascript/js/controllers/action_controller.js
487
+ - app/javascript/js/controllers/actions_picker_controller.js
488
+ - app/javascript/js/controllers/alerts_controller.js
489
+ - app/javascript/js/controllers/attachments_controller.js
490
+ - app/javascript/js/controllers/boolean_filter_controller.js
491
+ - app/javascript/js/controllers/fields/belongs_to_field_controller.js
492
+ - app/javascript/js/controllers/fields/code_field_controller.js
493
+ - app/javascript/js/controllers/fields/date_field_controller.js
494
+ - app/javascript/js/controllers/fields/key_value_controller.js
495
+ - app/javascript/js/controllers/fields/simple_mde_controller.js
496
+ - app/javascript/js/controllers/fields/trix_field_controller.js
497
+ - app/javascript/js/controllers/filter_controller.js
498
+ - app/javascript/js/controllers/hidden_input_controller.js
499
+ - app/javascript/js/controllers/item_select_all_controller.js
500
+ - app/javascript/js/controllers/item_selector_controller.js
501
+ - app/javascript/js/controllers/loading_button_controller.js
502
+ - app/javascript/js/controllers/modal_controller.js
503
+ - app/javascript/js/controllers/multiple_select_filter_controller.js
504
+ - app/javascript/js/controllers/per_page_controller.js
505
+ - app/javascript/js/controllers/search_controller.js
506
+ - app/javascript/js/controllers/select_filter_controller.js
507
+ - app/javascript/js/controllers/text_filter_controller.js
508
+ - app/javascript/js/controllers/tippy_controller.js
509
+ - app/javascript/js/controllers/toggle_panel_controller.js
510
+ - app/javascript/js/helpers/cast_boolean.js
511
+ - app/javascript/js/helpers/debounce_promise.js
512
+ - app/javascript/js/toastr.js
430
513
  - app/mailers/avo/application_mailer.rb
431
- - app/packs/entrypoints/application.css
432
- - app/packs/entrypoints/application.js
433
- - app/packs/fonts/nunito-v16-latin-700.eot
434
- - app/packs/fonts/nunito-v16-latin-700.svg
435
- - app/packs/fonts/nunito-v16-latin-700.ttf
436
- - app/packs/fonts/nunito-v16-latin-700.woff
437
- - app/packs/fonts/nunito-v16-latin-700.woff2
438
- - app/packs/fonts/nunito-v16-latin-regular.eot
439
- - app/packs/fonts/nunito-v16-latin-regular.svg
440
- - app/packs/fonts/nunito-v16-latin-regular.ttf
441
- - app/packs/fonts/nunito-v16-latin-regular.woff
442
- - app/packs/fonts/nunito-v16-latin-regular.woff2
443
- - app/packs/images/logo.png
444
- - app/packs/importmap.json.erb
445
- - app/packs/js/active-storage.js
446
- - app/packs/js/controllers/action_controller.js
447
- - app/packs/js/controllers/actions_picker_controller.js
448
- - app/packs/js/controllers/alerts_controller.js
449
- - app/packs/js/controllers/attachments_controller.js
450
- - app/packs/js/controllers/boolean_filter_controller.js
451
- - app/packs/js/controllers/fields/belongs_to_field_controller.js
452
- - app/packs/js/controllers/fields/code_field_controller.js
453
- - app/packs/js/controllers/fields/date_field_controller.js
454
- - app/packs/js/controllers/fields/key_value_controller.js
455
- - app/packs/js/controllers/fields/simple_mde_controller.js
456
- - app/packs/js/controllers/fields/trix_field_controller.js
457
- - app/packs/js/controllers/filter_controller.js
458
- - app/packs/js/controllers/hidden_input_controller.js
459
- - app/packs/js/controllers/item_select_all_controller.js
460
- - app/packs/js/controllers/item_selector_controller.js
461
- - app/packs/js/controllers/loading_button_controller.js
462
- - app/packs/js/controllers/modal_controller.js
463
- - app/packs/js/controllers/multiple_select_filter_controller.js
464
- - app/packs/js/controllers/per_page_controller.js
465
- - app/packs/js/controllers/search_controller.js
466
- - app/packs/js/controllers/select_filter_controller.js
467
- - app/packs/js/controllers/text_filter_controller.js
468
- - app/packs/js/controllers/tippy_controller.js
469
- - app/packs/js/controllers/toggle_panel_controller.js
470
- - app/packs/js/helpers/cast_boolean.js
471
- - app/packs/js/helpers/debounce_promise.js
472
- - app/packs/js/toastr.js
473
- - app/packs/stylesheets/active-storage.css
474
- - app/packs/stylesheets/alerts.css
475
- - app/packs/stylesheets/breadcrumbs.css
476
- - app/packs/stylesheets/components/code.css
477
- - app/packs/stylesheets/components/progress.css
478
- - app/packs/stylesheets/components/status.css
479
- - app/packs/stylesheets/fonts.css
480
- - app/packs/stylesheets/loader.css
481
- - app/packs/stylesheets/pagination.css
482
- - app/packs/stylesheets/search.css
483
- - app/packs/stylesheets/spinner.css
484
- - app/packs/stylesheets/tailwindcss/base.css
485
- - app/packs/stylesheets/tailwindcss/components.css
486
- - app/packs/stylesheets/tailwindcss/utilities.css
487
- - app/packs/stylesheets/tooltips.css
488
- - app/packs/stylesheets/typography.css
489
- - app/packs/svgs/arrow-circle-right.svg
490
- - app/packs/svgs/arrow-left.svg
491
- - app/packs/svgs/avocado.svg
492
- - app/packs/svgs/badge-check-sm.svg
493
- - app/packs/svgs/check-circle-sm.svg
494
- - app/packs/svgs/check-circle.svg
495
- - app/packs/svgs/chevron-down.svg
496
- - app/packs/svgs/chevron-right.svg
497
- - app/packs/svgs/chevron-up.svg
498
- - app/packs/svgs/code.svg
499
- - app/packs/svgs/color-swatch.svg
500
- - app/packs/svgs/document-text.svg
501
- - app/packs/svgs/download.svg
502
- - app/packs/svgs/edit.svg
503
- - app/packs/svgs/exclamation-circle-sm.svg
504
- - app/packs/svgs/exclamation-sm.svg
505
- - app/packs/svgs/exclamation.svg
506
- - app/packs/svgs/eye.svg
507
- - app/packs/svgs/filter.svg
508
- - app/packs/svgs/fire.svg
509
- - app/packs/svgs/game-board.svg
510
- - app/packs/svgs/globe.svg
511
- - app/packs/svgs/information-circle-sm.svg
512
- - app/packs/svgs/information-circle.svg
513
- - app/packs/svgs/library.svg
514
- - app/packs/svgs/photograph.svg
515
- - app/packs/svgs/play.svg
516
- - app/packs/svgs/plus-circle.svg
517
- - app/packs/svgs/plus.svg
518
- - app/packs/svgs/question-mark-circle.svg
519
- - app/packs/svgs/save.svg
520
- - app/packs/svgs/selector.svg
521
- - app/packs/svgs/sort-ascending.svg
522
- - app/packs/svgs/sort-descending.svg
523
- - app/packs/svgs/switch-horizontal.svg
524
- - app/packs/svgs/thumbs-down.svg
525
- - app/packs/svgs/thumbs-up.svg
526
- - app/packs/svgs/times.svg
527
- - app/packs/svgs/trash-sm.svg
528
- - app/packs/svgs/trash.svg
529
- - app/packs/svgs/view-grid-add.svg
530
- - app/packs/svgs/view-grid.svg
531
- - app/packs/svgs/view-list.svg
532
- - app/packs/svgs/x-circle-sm.svg
533
- - app/packs/svgs/x-circle.svg
534
514
  - app/views/avo/actions/show.html.erb
535
515
  - app/views/avo/attachments/show.html.erb
536
516
  - app/views/avo/base/_actions.html.erb
@@ -582,25 +562,18 @@ files:
582
562
  - app/views/layouts/avo/_filter_wrapper.html.erb
583
563
  - app/views/layouts/avo/application.html.erb
584
564
  - avo.gemspec
565
+ - bin/dev
585
566
  - bin/helpers.rb
586
567
  - bin/init
587
568
  - bin/rails
588
569
  - bin/rspec
589
570
  - bin/spring
590
571
  - bin/test
591
- - bin/webpack
592
- - bin/webpack-dev-server
593
572
  - config/cable.yml
594
573
  - config/credentials.yml.enc
595
574
  - config/initializers/pagy.rb
596
575
  - config/routes.rb
597
576
  - config/spring.rb
598
- - config/webpack/aliases.js
599
- - config/webpack/base.js
600
- - config/webpack/development.js
601
- - config/webpack/production.js
602
- - config/webpack/test.js
603
- - config/webpacker.yml
604
577
  - db/factories.rb
605
578
  - db/migrate/20210421064037_add_color_to_teams.rb
606
579
  - db/migrate/20210423075924_add_progress_to_projects.rb
@@ -689,6 +662,7 @@ files:
689
662
  - lib/generators/avo/templates/field/components/show_component.rb.tt
690
663
  - lib/generators/avo/templates/filters/boolean_filter.tt
691
664
  - lib/generators/avo/templates/filters/select_filter.tt
665
+ - lib/generators/avo/templates/filters/text_filter.tt
692
666
  - lib/generators/avo/templates/initializer/avo.tt
693
667
  - lib/generators/avo/templates/locales/avo.en.yml
694
668
  - lib/generators/avo/templates/locales/avo.nb-NO.yml
@@ -702,45 +676,19 @@ files:
702
676
  - lib/generators/avo/templates/tool/view.tt
703
677
  - lib/generators/avo/tool_generator.rb
704
678
  - lib/tasks/avo_tasks.rake
705
- - public/avo-packs/css/application-c3b50b28.css
706
- - public/avo-packs/css/application-c3b50b28.css.br
707
- - public/avo-packs/css/application-c3b50b28.css.gz
708
- - public/avo-packs/css/application-c3b50b28.css.map
709
- - public/avo-packs/css/application-c3b50b28.css.map.br
710
- - public/avo-packs/css/application-c3b50b28.css.map.gz
711
- - public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js
712
- - public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.br
713
- - public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.gz
714
- - public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.map
715
- - public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.map.br
716
- - public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.map.gz
717
- - public/avo-packs/js/application-6fc968cfa52976c4582b.js
718
- - public/avo-packs/js/application-6fc968cfa52976c4582b.js.LICENSE.txt
719
- - public/avo-packs/js/application-6fc968cfa52976c4582b.js.br
720
- - public/avo-packs/js/application-6fc968cfa52976c4582b.js.gz
721
- - public/avo-packs/js/application-6fc968cfa52976c4582b.js.map
722
- - public/avo-packs/js/application-6fc968cfa52976c4582b.js.map.br
723
- - public/avo-packs/js/application-6fc968cfa52976c4582b.js.map.gz
724
- - public/avo-packs/manifest.json
725
- - public/avo-packs/media/images/13ae283c0d7cc04efe7e.svg
726
- - public/avo-packs/media/images/13ae283c0d7cc04efe7e.svg.br
727
- - public/avo-packs/media/images/13ae283c0d7cc04efe7e.svg.gz
728
- - public/avo-packs/media/images/195026a50008c53526ef.svg
729
- - public/avo-packs/media/images/195026a50008c53526ef.svg.br
730
- - public/avo-packs/media/images/195026a50008c53526ef.svg.gz
731
- - public/avo-packs/media/images/1f30e08faa7c60d1f7ac.woff
732
- - public/avo-packs/media/images/1fd17dabf6b7d2b15348.ttf
733
- - public/avo-packs/media/images/1fd17dabf6b7d2b15348.ttf.br
734
- - public/avo-packs/media/images/1fd17dabf6b7d2b15348.ttf.gz
735
- - public/avo-packs/media/images/39a18f443d434999b89b.woff2
736
- - public/avo-packs/media/images/4ad349571e28bb59c5a5.woff2
737
- - public/avo-packs/media/images/57a5470848663767abbf.eot
738
- - public/avo-packs/media/images/b2e4cf0fab6c8ca66b7f.ttf
739
- - public/avo-packs/media/images/b2e4cf0fab6c8ca66b7f.ttf.br
740
- - public/avo-packs/media/images/b2e4cf0fab6c8ca66b7f.ttf.gz
741
- - public/avo-packs/media/images/b78d61ab7e046de8c156.eot
742
- - public/avo-packs/media/images/c9ab29becb76ddab01d0.woff
743
- - public/avo-packs/media/images/dadf2db36589607d107d.png
679
+ - public/avo-assets/avo.css
680
+ - public/avo-assets/avo.js
681
+ - public/avo-assets/avo.js.map
682
+ - public/avo-assets/fonts/nunito-v16-latin-700.eot
683
+ - public/avo-assets/fonts/nunito-v16-latin-700.svg
684
+ - public/avo-assets/fonts/nunito-v16-latin-700.ttf
685
+ - public/avo-assets/fonts/nunito-v16-latin-700.woff
686
+ - public/avo-assets/fonts/nunito-v16-latin-700.woff2
687
+ - public/avo-assets/fonts/nunito-v16-latin-regular.eot
688
+ - public/avo-assets/fonts/nunito-v16-latin-regular.svg
689
+ - public/avo-assets/fonts/nunito-v16-latin-regular.ttf
690
+ - public/avo-assets/fonts/nunito-v16-latin-regular.woff
691
+ - public/avo-assets/fonts/nunito-v16-latin-regular.woff2
744
692
  homepage: https://avohq.io
745
693
  licenses:
746
694
  - Commercial
@@ -750,7 +698,7 @@ metadata:
750
698
  documentation_uri: https://docs.avohq.io
751
699
  homepage_uri: https://avohq.io
752
700
  source_code_uri: https://github.com/avo-hq/avo
753
- post_install_message: Thank you for using Avo! Docs are available at https://docs.avohq.io
701
+ post_install_message: "Thank you for using Avo \U0001F4AA Docs are available at https://docs.avohq.io"
754
702
  rdoc_options: []
755
703
  require_paths:
756
704
  - lib
@@ -1,15 +0,0 @@
1
- /*
2
- * This is a manifest file that'll be compiled into application.css, which will include all the files
3
- * listed below.
4
- *
5
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7
- *
8
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
- * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
10
- * files in this directory. Styles in this file should be added after the last require_* statement.
11
- * It is generally better to create a new file per style scope.
12
- *
13
- *= require_tree .
14
- *= require_self
15
- */
@@ -1,5 +0,0 @@
1
- {
2
- "imports": {
3
- <%= importmap_list_with_stimulus_from "app/assets/javascripts/controllers", "app/assets/javascripts/libraries" %>
4
- }
5
- }
@@ -1,26 +0,0 @@
1
- /* nunito-regular - latin */
2
- @font-face {
3
- font-family: 'Nunito';
4
- font-style: normal;
5
- font-weight: 400;
6
- src: url('./../fonts/nunito-v16-latin-regular.eot'); /* IE9 Compat Modes */
7
- src: local(''),
8
- url('./../fonts/nunito-v16-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
9
- url('./../fonts/nunito-v16-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
10
- url('./../fonts/nunito-v16-latin-regular.woff') format('woff'), /* Modern Browsers */
11
- url('./../fonts/nunito-v16-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
12
- url('./../fonts/nunito-v16-latin-regular.svg#Nunito') format('svg'); /* Legacy iOS */
13
- }
14
- /* nunito-700 - latin */
15
- @font-face {
16
- font-family: 'Nunito';
17
- font-style: normal;
18
- font-weight: 700;
19
- src: url('./../fonts/nunito-v16-latin-700.eot'); /* IE9 Compat Modes */
20
- src: local(''),
21
- url('./../fonts/nunito-v16-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
22
- url('./../fonts/nunito-v16-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
23
- url('./../fonts/nunito-v16-latin-700.woff') format('woff'), /* Modern Browsers */
24
- url('./../fonts/nunito-v16-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
25
- url('./../fonts/nunito-v16-latin-700.svg#Nunito') format('svg'); /* Legacy iOS */
26
- }
data/bin/webpack DELETED
@@ -1,20 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- ENV['RAILS_ENV'] ||= ENV['RACK_ENV'] || 'development'
4
- ENV['NODE_ENV'] ||= 'development'
5
- ENV['TAILWIND_MODE'] ||= 'build'
6
-
7
- require 'pathname'
8
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
9
- Pathname.new(__FILE__).realpath)
10
-
11
- require 'rubygems'
12
- require 'bundler/setup'
13
-
14
- require 'webpacker'
15
- require 'webpacker/webpack_runner'
16
-
17
- APP_ROOT = File.expand_path('..', __dir__)
18
- Dir.chdir(APP_ROOT) do
19
- Webpacker::WebpackRunner.run(ARGV)
20
- end
@@ -1,18 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- ENV['RAILS_ENV'] ||= ENV['RACK_ENV'] || 'development'
4
- ENV['NODE_ENV'] ||= 'development'
5
-
6
- require 'pathname'
7
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', Pathname.new(__FILE__).realpath)
8
-
9
- require 'rubygems'
10
- require 'bundler/setup'
11
-
12
- require 'webpacker'
13
- require 'webpacker/dev_server_runner'
14
-
15
- APP_ROOT = File.expand_path('..', __dir__)
16
- Dir.chdir(APP_ROOT) do
17
- Webpacker::DevServerRunner.run(ARGV)
18
- end
@@ -1,10 +0,0 @@
1
- const path = require('path')
2
-
3
- module.exports = {
4
- resolve: {
5
- alias: {
6
- '@': path.resolve(__dirname, '..', '..', 'app/packs'),
7
- '~': path.resolve(__dirname, '..', '..', 'node_modules'),
8
- },
9
- },
10
- }
@@ -1,14 +0,0 @@
1
- const { webpackConfig, merge } = require('@rails/webpacker')
2
- const aliases = require('./aliases')
3
-
4
- const customConfig = {
5
- resolve: {
6
- extensions: ['.css'],
7
- },
8
- }
9
-
10
- const config = merge(webpackConfig, aliases, customConfig)
11
-
12
- delete config.optimization
13
-
14
- module.exports = config
@@ -1,5 +0,0 @@
1
- process.env.NODE_ENV = process.env.NODE_ENV || 'development'
2
-
3
- const webpackConfig = require('./base')
4
-
5
- module.exports = webpackConfig
@@ -1,5 +0,0 @@
1
- process.env.NODE_ENV = process.env.NODE_ENV || 'production'
2
-
3
- const webpackConfig = require('./base')
4
-
5
- module.exports = webpackConfig
@@ -1,5 +0,0 @@
1
- process.env.NODE_ENV = process.env.NODE_ENV || 'development'
2
-
3
- const webpackConfig = require('./base')
4
-
5
- module.exports = webpackConfig
data/config/webpacker.yml DELETED
@@ -1,79 +0,0 @@
1
- # Note: You must restart bin/webpack-dev-server for changes to take effect
2
-
3
- default: &default
4
- source_path: app/packs
5
- source_entry_path: entrypoints
6
- public_root_path: public
7
- cache_path: tmp/cache/webpacker
8
- check_yarn_integrity: false
9
- # use a different sub-folder name
10
- public_output_path: avo-packs
11
- webpack_compile_output: true
12
- extract_css: true
13
-
14
- # Additional paths webpack should lookup modules
15
- # ['app/assets', 'engine/foo/app/assets']
16
- additional_paths: []
17
-
18
- # Reload manifest.json on all requests so we reload latest compiled packs
19
- cache_manifest: false
20
-
21
- # We override the development env. when packed.
22
- # Avo needs to be packed and compiled for when the dev uses it in his development env.
23
- development:
24
- <<: *default
25
-
26
- # Production depends on precompilation of packs prior to booting for performance.
27
- compile: true
28
-
29
- # Cache manifest.json for performance
30
- cache_manifest: true
31
-
32
- # Even though Avo does not use the dev_server when packed we still need to add the info here.
33
- # The packed version of Avo will pick up the parent's app information.
34
- # Reference: https://webpack.js.org/configuration/dev-server/
35
- dev_server:
36
- https: false
37
- host: localhost
38
- port: 7299
39
- public: localhost:7299
40
- # Inject browserside javascript that required by both HMR and Live(full) reload
41
- inject_client: true
42
- # Hot Module Replacement updates modules while the application is running without a full reload
43
- hmr: true
44
- # Inline should be set to true if using HMR; it inserts a script to take care of live reloading
45
- inline: true
46
- # Should we show a full-screen overlay in the browser when there are compiler errors or warnings?
47
- overlay: true
48
- # Should we use gzip compression?
49
- compress: true
50
- # Note that apps that do not check the host are vulnerable to DNS rebinding attacks
51
- disable_host_check: true
52
- # This option lets the browser open with your local IP
53
- use_local_ip: false
54
- # When enabled, nothing except the initial startup information will be written to the console.
55
- # This also means that errors or warnings from webpack are not visible.
56
- quiet: false
57
- pretty: true
58
- headers:
59
- 'Access-Control-Allow-Origin': '*'
60
- watch_options:
61
- ignored: '**/node_modules/**'
62
- env_prefix: "AVO_WEBPACKER_DEV_SERVER"
63
-
64
- test:
65
- <<: *default
66
- compile: true
67
-
68
- # Compile test packs to a separate directory
69
- public_output_path: packs-test
70
- public_root_path: spec/dummy/public
71
-
72
- production:
73
- <<: *default
74
-
75
- # Production depends on precompilation of packs prior to booting for performance.
76
- compile: false
77
-
78
- # Cache manifest.json for performance
79
- cache_manifest: true