plutonium 0.18.5 → 0.18.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/plutonium.js +1 -1
  3. data/app/assets/plutonium.js.map +2 -2
  4. data/app/assets/plutonium.min.js +1 -1
  5. data/app/assets/plutonium.min.js.map +2 -2
  6. data/app/views/resource/interactive_bulk_action.html.erb +1 -1
  7. data/app/views/resource/interactive_resource_action.html.erb +1 -1
  8. data/lib/generators/pu/eject/layout/layout_generator.rb +1 -2
  9. data/lib/generators/pu/eject/shell/shell_generator.rb +1 -3
  10. data/lib/generators/pu/lib/plutonium_generators/concerns/logger.rb +4 -0
  11. data/lib/generators/pu/lib/plutonium_generators/concerns/package_selector.rb +80 -0
  12. data/lib/generators/pu/lib/plutonium_generators/concerns/resource_selector.rb +48 -0
  13. data/lib/generators/pu/lib/plutonium_generators/generator.rb +2 -42
  14. data/lib/generators/pu/lib/plutonium_generators/model_generator_base.rb +1 -4
  15. data/lib/generators/pu/res/conn/conn_generator.rb +9 -21
  16. data/lib/generators/pu/res/scaffold/scaffold_generator.rb +10 -5
  17. data/lib/plutonium/resource/controller.rb +3 -3
  18. data/lib/plutonium/resource/controllers/authorizable.rb +1 -1
  19. data/lib/plutonium/resource/controllers/crud_actions.rb +17 -17
  20. data/lib/plutonium/resource/controllers/interactive_actions.rb +3 -3
  21. data/lib/plutonium/resource/controllers/presentable.rb +2 -2
  22. data/lib/plutonium/resource/record/associated_with.rb +83 -0
  23. data/lib/plutonium/resource/record/associations.rb +92 -0
  24. data/lib/plutonium/resource/record/field_names.rb +83 -0
  25. data/lib/plutonium/resource/record/labeling.rb +19 -0
  26. data/lib/plutonium/resource/record/routes.rb +66 -0
  27. data/lib/plutonium/resource/record.rb +6 -258
  28. data/lib/plutonium/ui/breadcrumbs.rb +4 -4
  29. data/lib/plutonium/ui/component/methods.rb +4 -12
  30. data/lib/plutonium/ui/form/base.rb +22 -10
  31. data/lib/plutonium/ui/form/components/secure_association.rb +112 -0
  32. data/lib/plutonium/ui/form/components/secure_polymorphic_association.rb +54 -0
  33. data/lib/plutonium/ui/form/concerns/renders_nested_resource_fields.rb +0 -1
  34. data/lib/plutonium/ui/form/theme.rb +12 -1
  35. data/lib/plutonium/ui/page/show.rb +1 -1
  36. data/lib/plutonium/ui/page_header.rb +1 -1
  37. data/lib/plutonium/version.rb +1 -1
  38. data/package-lock.json +2 -2
  39. data/package.json +1 -1
  40. data/src/js/controllers/slim_select_controller.js +3 -1
  41. metadata +11 -4
  42. data/lib/plutonium/ui/form/components/belongs_to.rb +0 -66
  43. data/lib/plutonium/ui/form/components/has_many.rb +0 -66
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d1f2533a233b5da2a308e4561e48269ffd70f116143b60a4c67b53c5488b3b4e
4
- data.tar.gz: cf4f9a1758eed8cead02556e88f7f860a2e4922542ac6f41c937ef01a69cf308
3
+ metadata.gz: 29c84a287fe81867ece4bbdb809ae3e82f3a2213b219348035f06f86a847b784
4
+ data.tar.gz: f71dd45419acf91c4ca42e0e005da7044bc06f94a8e7bee63cf075821b71aea4
5
5
  SHA512:
6
- metadata.gz: ee3eb7c3309b7037d40bb19f23d1e6d01f3b362e5224bea386c3316ed786276061557a6615387f3285bce82aa8aec26e2ea93eba56a5041e33b28e31df61cd77
7
- data.tar.gz: 6c911c0b178a4060cc5f8ae01c6653a3c856df8a8937612a87914fdf7baaf8e89ef2ed0d3aa60b43f0453268822ce9ad0af4311743d6f0515e6e8b618572b0ed
6
+ metadata.gz: 7a94d70626e1b057011ccaaf16603fa23d64f76aaa5f39a2bc3e50bb686331de414b62580de807457762d9f6e793d770647892f5256225a196dac2f491ba281e
7
+ data.tar.gz: 551f2ced50e6c65723b50c44465bd25cbff1f8686030ddf9651c0681e936f5bd284b2a50414bc7de773d0c55be4b6de924bc4ba41da6dc153f983dd8698e43e1
@@ -11208,7 +11208,7 @@ ${text2}</tr>
11208
11208
  }
11209
11209
  reconnect() {
11210
11210
  this.disconnect();
11211
- this.connect();
11211
+ setTimeout(() => this.connect(), 10);
11212
11212
  }
11213
11213
  };
11214
11214