avo 3.0.1.beta19 → 3.0.1.beta22

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 (36) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +1 -1
  4. data/app/assets/builds/avo.base.css +8 -31
  5. data/app/assets/builds/avo.base.js +2 -1
  6. data/app/assets/builds/avo.base.js.map +2 -2
  7. data/app/components/avo/fields/common/badge_viewer_component.rb +1 -1
  8. data/app/components/avo/fields/common/files/list_viewer_component.rb +3 -3
  9. data/app/components/avo/fields/common/files/view_type/{grid_component.html.erb → grid_item_component.html.erb} +2 -2
  10. data/app/components/avo/fields/common/files/view_type/{grid_component.rb → grid_item_component.rb} +3 -2
  11. data/app/components/avo/fields/common/files/view_type/{list_component.rb → list_item_component.rb} +1 -1
  12. data/app/components/avo/fields/file_field/edit_component.html.erb +1 -1
  13. data/app/components/avo/fields/file_field/show_component.html.erb +1 -1
  14. data/app/components/avo/index/resource_table_component.rb +1 -4
  15. data/app/components/avo/modal_component.html.erb +2 -2
  16. data/app/components/avo/sidebar_profile_component.html.erb +1 -2
  17. data/app/components/avo/views/resource_index_component.rb +2 -1
  18. data/app/controllers/avo/actions_controller.rb +1 -1
  19. data/app/controllers/avo/application_controller.rb +6 -2
  20. data/app/controllers/avo/base_controller.rb +1 -0
  21. data/app/controllers/avo/search_controller.rb +12 -2
  22. data/app/javascript/js/controllers/search_controller.js +2 -0
  23. data/app/views/avo/actions/show.html.erb +1 -1
  24. data/app/views/avo/partials/_resource_search.html.erb +1 -0
  25. data/lib/avo/base_resource.rb +21 -3
  26. data/lib/avo/fields/has_base_field.rb +8 -1
  27. data/lib/avo/fields/has_one_field.rb +1 -1
  28. data/lib/avo/licensing/h_q.rb +1 -2
  29. data/lib/avo/services/encryption_service.rb +8 -12
  30. data/lib/avo/version.rb +1 -1
  31. data/lib/avo/view_inquirer.rb +2 -2
  32. data/lib/avo.rb +2 -2
  33. data/public/avo-assets/avo.base.js +1 -1
  34. data/public/avo-assets/avo.base.js.map +2 -2
  35. metadata +6 -6
  36. /data/app/components/avo/fields/common/files/view_type/{list_component.html.erb → list_item_component.html.erb} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 46cef6a1b4b4c683dfdf890bd2f5b4471409639056c4f418d5aa3c325255da60
4
- data.tar.gz: 9df43b34fcb9a8319349aa70b373ed844a11062efbb0b4341e80dac493a142d4
3
+ metadata.gz: 7ce23cda87548bf17c79fe7bef7df2a076d47dc5d13a4db0adc5f47ff3e2ebd4
4
+ data.tar.gz: f4354bb6b49bf2ab4888450712586de084c17232b6fa214145346188aa236684
5
5
  SHA512:
6
- metadata.gz: 75a6b6e928e9f45eb39575d7eecb73808db11bb4bb257d66c594cecd118d6646e469a79dbe337e28e463959100d5bc84212192c7c98989869ab2656af0d46258
7
- data.tar.gz: c65740c8289301265234a146acc87b99909a41261dcab24c5fe7c36520a911a1dba6ecd3a8538bb961ec5d82d6e13529cc36328e26981cf4320c5ba855aa67f6
6
+ metadata.gz: 1bd54d0d0cfc373b89a44a51ce2ba947018112314a1262b79122ff372af0b0aee09152312dea7eab33d179a9bf41135d64b1f52c180e963079a0141befb030dc
7
+ data.tar.gz: ff2b1639827c04f9a559434563d3163e1b9c0b358baa05fc6e88ffbca8bd66b508be52f82371cc93f4b669db5ce01a766d8ba4c0b786bd64d4936ffe57b933e8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- avo (3.0.1.beta19)
4
+ avo (3.0.1.beta22)
5
5
  actionview (>= 6.1)
6
6
  active_link_to
7
7
  activerecord (>= 6.1)
data/README.md CHANGED
@@ -17,7 +17,7 @@ Avo is a beautiful next-generation framework that empowers you, the developer, t
17
17
  ✨ **Website**: [avohq.io](https://avohq.io)\
18
18
  📚 **Documentation**: [docs.avohq.io](https://docs.avohq.io)\
19
19
  🗺 **Roadmap**: [GitHub Roadmap](https://github.com/orgs/avo-hq/projects/3)\
20
- 🎸 **Demo app**: [Avodemo](https://avodemo.herokuapp.com/)\
20
+ 🎸 **Demo app**: [Avodemo](https://main.avodemo.com/)\
21
21
  🐤 **Twitter**: [avo_hq](https://twitter.com/avo_hq)\
22
22
  💬 **Community chat**: [discord](https://discord.gg/pkTF6y8)\
23
23
  🔧 **Issue tracker**: [GitHub issues](http://github.com/avo-hq/avo/issues)\
@@ -3393,7 +3393,7 @@ body.dark,body[data-theme=dark]{
3393
3393
  transition:inherit
3394
3394
  }
3395
3395
 
3396
- /*! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com
3396
+ /*! tailwindcss v3.3.2 | MIT License | https://tailwindcss.com
3397
3397
  */
3398
3398
 
3399
3399
  /*
@@ -3583,10 +3583,6 @@ select,
3583
3583
  textarea {
3584
3584
  font-family: inherit;
3585
3585
  /* 1 */
3586
- font-feature-settings: inherit;
3587
- /* 1 */
3588
- font-variation-settings: inherit;
3589
- /* 1 */
3590
3586
  font-size: 100%;
3591
3587
  /* 1 */
3592
3588
  font-weight: inherit;
@@ -3737,14 +3733,6 @@ menu {
3737
3733
  padding: 0;
3738
3734
  }
3739
3735
 
3740
- /*
3741
- Reset default styling for dialogs.
3742
- */
3743
-
3744
- dialog {
3745
- padding: 0;
3746
- }
3747
-
3748
3736
  /*
3749
3737
  Prevent resizing textareas horizontally by default.
3750
3738
  */
@@ -3819,7 +3807,7 @@ video {
3819
3807
  display: none;
3820
3808
  }
3821
3809
 
3822
- [type='text'],input:where(:not([type])),[type='email'],[type='url'],[type='password'],[type='number'],[type='date'],[type='datetime-local'],[type='month'],[type='search'],[type='tel'],[type='time'],[type='week'],[multiple],textarea,select{
3810
+ [type='text'],[type='email'],[type='url'],[type='password'],[type='number'],[type='date'],[type='datetime-local'],[type='month'],[type='search'],[type='tel'],[type='time'],[type='week'],[multiple],textarea,select{
3823
3811
  appearance:none;
3824
3812
  background-color:#fff;
3825
3813
  border-color:#757D8A;
@@ -3834,7 +3822,7 @@ video {
3834
3822
  --tw-shadow:0 0 #0000;
3835
3823
  }
3836
3824
 
3837
- [type='text']:focus, input:where(:not([type])):focus, [type='email']:focus, [type='url']:focus, [type='password']:focus, [type='number']:focus, [type='date']:focus, [type='datetime-local']:focus, [type='month']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='week']:focus, [multiple]:focus, textarea:focus, select:focus{
3825
+ [type='text']:focus, [type='email']:focus, [type='url']:focus, [type='password']:focus, [type='number']:focus, [type='date']:focus, [type='datetime-local']:focus, [type='month']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='week']:focus, [multiple]:focus, textarea:focus, select:focus{
3838
3826
  outline:2px solid transparent;
3839
3827
  outline-offset:2px;
3840
3828
  --tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);
@@ -3857,17 +3845,7 @@ input::placeholder,textarea::placeholder{
3857
3845
  }
3858
3846
 
3859
3847
  ::-webkit-date-and-time-value{
3860
- min-height:1.5em;
3861
- text-align:inherit
3862
- }
3863
-
3864
- ::-webkit-datetime-edit{
3865
- display:inline-flex
3866
- }
3867
-
3868
- ::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{
3869
- padding-top:0;
3870
- padding-bottom:0
3848
+ min-height:1.5em
3871
3849
  }
3872
3850
 
3873
3851
  select{
@@ -3877,24 +3855,24 @@ select{
3877
3855
  background-size:1.5em 1.5em;
3878
3856
  padding-right:2.5rem;
3879
3857
  -webkit-print-color-adjust:exact;
3880
- print-color-adjust:exact
3858
+ color-adjust:exact
3881
3859
  }
3882
3860
 
3883
- [multiple],[size]:where(select:not([size="1"])){
3861
+ [multiple]{
3884
3862
  background-image:initial;
3885
3863
  background-position:initial;
3886
3864
  background-repeat:unset;
3887
3865
  background-size:initial;
3888
3866
  padding-right:0.75rem;
3889
3867
  -webkit-print-color-adjust:unset;
3890
- print-color-adjust:unset
3868
+ color-adjust:unset
3891
3869
  }
3892
3870
 
3893
3871
  [type='checkbox'],[type='radio']{
3894
3872
  appearance:none;
3895
3873
  padding:0;
3896
3874
  -webkit-print-color-adjust:exact;
3897
- print-color-adjust:exact;
3875
+ color-adjust:exact;
3898
3876
  display:inline-block;
3899
3877
  vertical-align:middle;
3900
3878
  background-origin:border-box;
@@ -3976,7 +3954,6 @@ select{
3976
3954
  }
3977
3955
 
3978
3956
  [type='file']:focus{
3979
- outline:1px solid ButtonText;
3980
3957
  outline:1px auto -webkit-focus-ring-color
3981
3958
  }
3982
3959
 
@@ -117934,7 +117934,8 @@
117934
117934
  addReflectionParams(params) {
117935
117935
  params = __spreadProps(__spreadValues({}, params), {
117936
117936
  via_reflection_class: this.dataset.viaReflectionClass,
117937
- via_reflection_id: this.dataset.viaReflectionId
117937
+ via_reflection_id: this.dataset.viaReflectionId,
117938
+ via_reflection_view: this.dataset.viaReflectionView
117938
117939
  });
117939
117940
  return params;
117940
117941
  }