moduler 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/builds/moduler/tailwind.css +747 -2
  3. data/app/assets/javascripts/moduler/controllers/wysiwyg_controller.js +126 -0
  4. data/app/assets/javascripts/moduler/vendor/marked.esm.js +77 -0
  5. data/app/components/moduler/form/select_component.html.erb +1 -1
  6. data/app/components/moduler/form/textarea_component.html.erb +14 -0
  7. data/app/components/moduler/form/textarea_component.rb +11 -0
  8. data/app/components/moduler/form/wysiwyg_component.html.erb +30 -0
  9. data/app/components/moduler/form/wysiwyg_component.rb +62 -0
  10. data/app/controllers/moduler/administration/articles_controller.rb +57 -0
  11. data/app/controllers/moduler/articles_controller.rb +15 -0
  12. data/app/models/moduler/article.rb +25 -0
  13. data/app/policies/moduler/administration/article_policy.rb +29 -0
  14. data/app/views/layouts/moduler/articles.html.erb +18 -0
  15. data/app/views/moduler/administration/articles/_article.html.erb +13 -0
  16. data/app/views/moduler/administration/articles/_form.html.erb +18 -0
  17. data/app/views/moduler/administration/articles/edit.html.erb +1 -0
  18. data/app/views/moduler/administration/articles/index.html.erb +13 -0
  19. data/app/views/moduler/administration/articles/new.html.erb +1 -0
  20. data/app/views/moduler/articles/_article.html.erb +16 -0
  21. data/app/views/moduler/articles/index.html.erb +15 -0
  22. data/app/views/moduler/articles/show.html.erb +21 -0
  23. data/app/views/moduler/common/_sidebar.html.erb +3 -2
  24. data/app/views/moduler/common/administration/_sidebar.html.erb +6 -0
  25. data/app/views/moduler/common/profile/_sidebar.html.erb +6 -0
  26. data/app/views/moduler/home/index.html.erb +6 -0
  27. data/app/views/moduler/profile/edit.html.erb +1 -1
  28. data/app/views/moduler/profile/sessions/index.html.erb +1 -1
  29. data/config/importmap.rb +2 -0
  30. data/config/locales/moduler/administration/articles/en.yml +37 -0
  31. data/config/locales/moduler/articles/en.yml +13 -0
  32. data/config/locales/moduler/common/en.yml +11 -4
  33. data/config/locales/moduler/components/en.yml +16 -0
  34. data/config/routes.rb +4 -0
  35. data/db/migrate/20261026203827_create_moduler_articles.rb +15 -0
  36. data/lib/moduler/version.rb +1 -1
  37. data/lib/moduler.rb +3 -0
  38. metadata +53 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a288b2fa0908a4da479c4d0614c49fc0c2d383ad6117a557d3ed693beda1ccaf
4
- data.tar.gz: 9891f1ae3c122209bcbd0b925c7a8effa1e3241857fc3766fc0929c76ad965c9
3
+ metadata.gz: bef4750b890390a7ed190a171abecbad432378673ed5aee71487cdf669369b11
4
+ data.tar.gz: 46782a61ddd7ac48ddd10da394315110d1673d4c0b12fdae6be3136013bbfca8
5
5
  SHA512:
6
- metadata.gz: ac1e38523a8019a23592d868964c6a02ef9014b17006b545e1a7d2213842e1b10532571c302dac39be0c1b3b87641f88be2f1a205e2e2d55cc2f853c74b55f24
7
- data.tar.gz: 956f36429e24ae200f8ceb2cc0d4f94b996810edd03c622c671de203666d0664795a1a3c3a951739a10fd38a6a31dc79abc7af2f195fe609668b71df6d6af273
6
+ metadata.gz: 71aaf10f6880c35954bd3c8d60ba22a2bd0b251565a3ffdada709e566ab164fc771d3ec7ac4fe5af57976ee34748c8b413c25b814ac5c96ba5a697f1f135dc03
7
+ data.tar.gz: f4b4b157a4bbb5490c64ec907d6e5a4f68ff7900421238761d0e80b1744c0d855eba512c301c314f6218f373be82ab2dae0286c9d2680600d64bd42e06accb60