plutonium 0.10.3 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -2
- data/app/assets/application.js.bk +31419 -0
- data/app/assets/plutonium-original.png +0 -0
- data/app/assets/plutonium-white.png +0 -0
- data/app/assets/plutonium.css +1 -0
- data/app/assets/plutonium.ico +0 -0
- data/app/assets/plutonium.js +12416 -0
- data/app/assets/plutonium.js.map +7 -0
- data/app/assets/plutonium.min.js +39 -0
- data/app/assets/plutonium.min.js.map +7 -0
- data/app/assets/plutonium.png +0 -0
- data/app/views/application/_flash_alerts.html.erb +2 -2
- data/app/views/application/_resource_header.html.erb +261 -697
- data/app/views/application/_resource_sidebar.html.erb +14 -12
- data/app/views/components/action_button/action_button_component.rb +3 -3
- data/app/views/components/attributes.rb +184 -0
- data/app/views/components/base.rb +19 -40
- data/app/views/components/block/block_component.html.erb +1 -1
- data/app/views/components/block/block_component.rb +11 -7
- data/app/views/components/breadcrumbs/breadcrumbs_component.rb +3 -3
- data/app/views/components/button/button_component.html.erb +2 -2
- data/app/views/components/button/button_component.rb +10 -5
- data/app/views/components/dyna_frame_content/dyna_frame_content_component.html.erb +1 -0
- data/app/views/components/dyna_frame_content/dyna_frame_content_component.rb +3 -3
- data/app/views/components/dyna_frame_host/dyna_frame_host_component.html.erb +1 -2
- data/app/views/components/dyna_frame_host/dyna_frame_host_component.rb +12 -5
- data/app/views/components/empty_card/empty_card_component.rb +3 -3
- data/app/views/components/form/form_builder.rb +1 -1
- data/app/views/components/form/form_component.rb +3 -3
- data/app/views/components/has_many_panel/has_many_panel_component.html.erb +25 -0
- data/app/views/components/has_many_panel/has_many_panel_component.rb +16 -0
- data/app/views/components/header/header_component.rb +3 -3
- data/app/views/components/interactive_action_form/interactive_action_form_component.rb +3 -3
- data/app/views/components/nav_grid_menu/nav_grid_menu_component.html.erb +24 -0
- data/app/views/components/nav_grid_menu/nav_grid_menu_component.rb +23 -0
- data/app/views/components/nav_grid_menu_item/nav_grid_menu_item_component.html.erb +4 -0
- data/app/views/components/nav_grid_menu_item/nav_grid_menu_item_component.rb +20 -0
- data/app/views/components/nav_user/nav_user_component.html.erb +50 -0
- data/app/views/components/nav_user/nav_user_component.rb +32 -0
- data/app/views/components/nav_user_link/nav_user_link_component.html.erb +7 -0
- data/app/views/components/nav_user_link/nav_user_link_component.rb +23 -0
- data/app/views/components/nav_user_section/nav_user_section_component.html.erb +7 -0
- data/app/views/components/nav_user_section/nav_user_section_component.rb +18 -0
- data/app/views/components/nested_resource_form_fields/nested_resource_form_fields_component.html.erb +1 -3
- data/app/views/components/nested_resource_form_fields/nested_resource_form_fields_component.rb +11 -5
- data/app/views/components/pagination/pagination_component.html.erb +1 -1
- data/app/views/components/pagination/pagination_component.rb +10 -7
- data/app/views/components/panel/panel_component.html.erb +13 -6
- data/app/views/components/panel/panel_component.rb +11 -5
- data/app/views/components/resource_header/resource_header_component.html.erb +83 -0
- data/app/views/components/resource_header/resource_header_component.rb +30 -0
- data/app/views/components/resource_layout/resource_layout_component.html.erb +49 -0
- data/app/views/components/resource_layout/resource_layout_component.rb +41 -0
- data/app/views/components/sidebar/sidebar_component.html.erb +3 -33
- data/app/views/components/sidebar/sidebar_component.rb +3 -3
- data/app/views/components/sidebar_menu/sidebar_menu_component.html.erb +4 -2
- data/app/views/components/sidebar_menu/sidebar_menu_component.rb +10 -6
- data/app/views/components/sidebar_menu_item/sidebar_menu_item_component.html.erb +63 -71
- data/app/views/components/sidebar_menu_item/sidebar_menu_item_component.rb +27 -8
- data/app/views/components/skeleton/table/table_component.html.erb +1 -1
- data/app/views/components/skeleton/table/table_component.rb +3 -3
- data/app/views/components/table/table_component.html.erb +40 -89
- data/app/views/components/table/table_component.rb +124 -28
- data/app/views/components/table_search_input/table_search_input_component.html.erb +1 -1
- data/app/views/components/table_search_input/table_search_input_component.rb +11 -6
- data/app/views/components/table_toolbar/table_toolbar_component.html.erb +1 -1
- data/app/views/components/table_toolbar/table_toolbar_component.rb +11 -3
- data/app/views/components/toolbar/toolbar_component.html.erb +2 -2
- data/app/views/components/toolbar/toolbar_component.rb +16 -8
- data/app/views/layouts/resource.html.erb +12 -45
- data/app/views/layouts/rodauth.html.erb +20 -36
- data/app/views/resource/_interactive_resource_action_form.html.erb +1 -1
- data/app/views/resource/_resource_details.html.erb +8 -5
- data/app/views/resource/_resource_table.html.erb +70 -1
- data/app/views/resource/interactive_resource_collection_action.html.erb +1 -0
- data/app/views/resource/interactive_resource_record_action.html.erb +1 -0
- data/app/views/resource/interactive_resource_recordless_action.html.erb +1 -0
- data/app/views/resource/new.html.erb +1 -0
- data/config/initializers/simple_form.rb +22 -2
- data/esbuild.config.js +35 -31
- data/lib/generators/pu/core/assets/assets_generator.rb +44 -0
- data/lib/generators/pu/core/assets/templates/tailwind.config.js +18 -0
- data/lib/generators/pu/core/install/install_generator.rb +4 -1
- data/lib/generators/pu/gem/dotenv/templates/config/initializers/001_ensure_required_env.rb +6 -0
- data/lib/generators/pu/gen/component/component_generator.rb +13 -10
- data/lib/generators/pu/gen/component/templates/component.html.erb.tt +1 -1
- data/lib/generators/pu/gen/component/templates/component.rb.tt +10 -4
- data/lib/generators/pu/pkg/app/app_generator.rb +4 -4
- data/lib/generators/pu/pkg/app/templates/app/controllers/concerns/controller.rb.tt +28 -0
- data/lib/generators/pu/pkg/app/templates/app/controllers/controller.rb.tt +5 -0
- data/lib/generators/pu/pkg/app/templates/app/controllers/dashboard_controller.rb.tt +1 -1
- data/lib/generators/pu/res/conn/conn_generator.rb +4 -4
- data/lib/generators/pu/res/conn/templates/app/controllers/resource_controller.rb.tt +1 -1
- data/lib/generators/pu/res/model/model_generator.rb +3 -3
- data/lib/generators/pu/res/scaffold/templates/policy.rb.tt +6 -0
- data/lib/generators/pu/service/sidekiq/sidekiq_generator.rb +0 -5
- data/lib/generators/pu/service/sidekiq/templates/app/sidekiq/sidekiq_job.rb +0 -2
- data/lib/plutonium/config.rb +2 -14
- data/lib/plutonium/core/associations/renderers/basic_renderer.rb +28 -0
- data/lib/plutonium/core/associations/renderers/factory.rb +36 -0
- data/lib/plutonium/core/associations/renderers/has_many_renderer.rb +16 -0
- data/lib/plutonium/core/autodiscovery/association_renderer_discoverer.rb +31 -0
- data/lib/plutonium/core/controllers/authorizable.rb +13 -17
- data/lib/plutonium/core/controllers/base.rb +3 -7
- data/lib/plutonium/core/controllers/presentable.rb +6 -1
- data/lib/plutonium/core/definers/association_renderer_definer.rb +33 -0
- data/lib/plutonium/core/fields/inputs/checkbox_input.rb +13 -0
- data/lib/plutonium/core/fields/inputs/factory.rb +1 -0
- data/lib/plutonium/core/fields/inputs/polymorphic_belongs_to_association_input.rb +1 -1
- data/lib/plutonium/core/ui/detail.rb +1 -0
- data/lib/plutonium/helpers/application_helper.rb +8 -9
- data/lib/plutonium/helpers/assets_helper.rb +41 -0
- data/lib/plutonium/helpers/display_helper.rb +13 -0
- data/lib/plutonium/helpers/form_helper.rb +1 -1
- data/lib/plutonium/helpers.rb +1 -0
- data/lib/plutonium/icons.rb +12 -5
- data/lib/plutonium/pkg/app.rb +10 -0
- data/lib/plutonium/pundit/context.rb +18 -0
- data/lib/plutonium/pundit/policy_finder.rb +25 -0
- data/lib/plutonium/railtie.rb +26 -8
- data/lib/plutonium/reloader.rb +18 -7
- data/lib/plutonium/resource/controller.rb +4 -0
- data/lib/plutonium/resource/policy.rb +69 -47
- data/lib/plutonium/resource/presenter.rb +1 -0
- data/lib/plutonium/resource/query_object.rb +139 -130
- data/lib/plutonium/rodauth/controller_methods.rb +7 -3
- data/lib/plutonium/version.rb +1 -1
- data/lib/plutonium.rb +9 -57
- data/package-lock.json +782 -17
- data/package.json +31 -8
- data/postcss.config.js +17 -7
- data/src/.npmignore +2 -0
- data/src/js/controllers/color_mode_controller.js +41 -0
- data/src/js/controllers/frame_navigator_controller.js +99 -0
- data/src/js/controllers/has_many_panel_controller.js +8 -0
- data/src/js/controllers/nav_grid_menu_controller.js +8 -0
- data/src/js/controllers/nav_grid_menu_item_controller.js +8 -0
- data/{app/views/components/tab_bar/tab_bar_controller.js → src/js/controllers/nav_user_controller.js} +2 -2
- data/src/js/controllers/nav_user_link_controller.js +8 -0
- data/src/js/controllers/nav_user_section_controller.js +8 -0
- data/src/js/controllers/register_controllers.js +45 -0
- data/{app/assets/javascripts → src/js}/controllers/resource_dismiss_controller.js +2 -0
- data/{app/assets/javascripts → src/js}/controllers/resource_drop_down_controller.js +2 -0
- data/src/js/controllers/resource_header_controller.js +8 -0
- data/src/js/controllers/resource_layout_controller.js +8 -0
- data/src/js/controllers/sidebar_menu_controller.js +8 -0
- data/src/js/controllers/sidebar_menu_item_controller.js +8 -0
- data/src/js/core.js +4 -0
- data/{app/assets/javascripts/plutonium-app.js → src/js/plutonium.js} +1 -1
- data/{app/assets/javascripts → src/js}/turbo/turbo_debug.js +2 -4
- data/tailwind.config.js +85 -84
- metadata +73 -39
- data/app/assets/build/plutonium.js +0 -5122
- data/app/assets/javascripts/controllers/index.js +0 -34
- data/app/assets/javascripts/plutonium.js +0 -1
- data/app/views/application/_color_modes.html.erb +0 -57
- data/app/views/components/tab_bar/tab_bar_component.html.erb +0 -11
- data/app/views/components/tab_bar/tab_bar_component.rb +0 -9
- data/app/views/resource/_nav_user.html.erb +0 -4
- data/app/views/resource/_tab_menu.html.erb +0 -13
- data/css.manifest +0 -3
- data/js.manifest +0 -4
- data/lib/generators/pu/pkg/app/templates/app/controllers/app_controller.rb.tt +0 -5
- data/lib/generators/pu/pkg/app/templates/app/controllers/package_controller.rb.tt +0 -26
- data/public/plutonium-assets/application.css +0 -25086
- data/public/plutonium-assets/plutonium-app-36KN5FVJ.js +0 -6
- data/public/plutonium-assets/plutonium-app-36KN5FVJ.js.map +0 -7
- data/public/plutonium-assets/plutonium-app-6WILQCTT.js +0 -39
- data/public/plutonium-assets/plutonium-app-6WILQCTT.js.map +0 -7
- data/public/plutonium-assets/plutonium.2d4f0c333cd000051d3b.css +0 -3424
- data/public/plutonium-assets/plutonium.50232e35b5495f5ad90d.css +0 -3415
- data/public/plutonium-assets/plutonium.8bee7a8482988b0360e3.css +0 -3420
- /data/{app/assets/build → lib/generators/pu/core/assets/templates}/.keep +0 -0
- /data/{app/assets/stylesheets → src/css}/plutonium.css +0 -0
- /data/{app/views/components/form → src/js/controllers}/form_controller.js +0 -0
- /data/{app/views/components/interactive_action_form → src/js/controllers}/interactive_action_form_controller.js +0 -0
- /data/{app/views/components/nested_resource_form_fields → src/js/controllers}/nested_resource_form_fields_controller.js +0 -0
- /data/{app/views/components/table → src/js/controllers}/table_controller.js +0 -0
- /data/{app/views/components/table_search_input → src/js/controllers}/table_search_input_controller.js +0 -0
- /data/{app/views/components/table_toolbar → src/js/controllers}/table_toolbar_controller.js +0 -0
- /data/{app/views/components/toolbar → src/js/controllers}/toolbar_controller.js +0 -0
- /data/{app/assets/javascripts → src/js}/turbo/index.js +0 -0
- /data/{app/assets/javascripts → src/js}/turbo/turbo_actions.js +0 -0
- /data/{app/assets/javascripts → src/js}/turbo/turbo_frame_monkey_patch.js +0 -0
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plutonium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Froelich
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: zeitwerk
|
@@ -220,8 +220,7 @@ files:
|
|
220
220
|
- README copy.md
|
221
221
|
- README.md
|
222
222
|
- Rakefile
|
223
|
-
- app/assets/
|
224
|
-
- app/assets/build/plutonium.js
|
223
|
+
- app/assets/application.js.bk
|
225
224
|
- app/assets/icons/flags/ghana.svg
|
226
225
|
- app/assets/icons/outline/address-book.svg
|
227
226
|
- app/assets/icons/outline/adjustments-horizontal.svg
|
@@ -709,17 +708,15 @@ files:
|
|
709
708
|
- app/assets/icons/solid/youtube.svg
|
710
709
|
- app/assets/icons/solid/zoom-in.svg
|
711
710
|
- app/assets/icons/solid/zoom-out.svg
|
712
|
-
- app/assets/
|
713
|
-
- app/assets/
|
714
|
-
- app/assets/
|
715
|
-
- app/assets/
|
716
|
-
- app/assets/
|
717
|
-
- app/assets/
|
718
|
-
- app/assets/
|
719
|
-
- app/assets/
|
720
|
-
- app/assets/
|
721
|
-
- app/assets/stylesheets/plutonium.css
|
722
|
-
- app/views/application/_color_modes.html.erb
|
711
|
+
- app/assets/plutonium-original.png
|
712
|
+
- app/assets/plutonium-white.png
|
713
|
+
- app/assets/plutonium.css
|
714
|
+
- app/assets/plutonium.ico
|
715
|
+
- app/assets/plutonium.js
|
716
|
+
- app/assets/plutonium.js.map
|
717
|
+
- app/assets/plutonium.min.js
|
718
|
+
- app/assets/plutonium.min.js.map
|
719
|
+
- app/assets/plutonium.png
|
723
720
|
- app/views/application/_flash.html.erb
|
724
721
|
- app/views/application/_flash_alerts.html.erb
|
725
722
|
- app/views/application/_flash_toasts.html.erb
|
@@ -727,6 +724,7 @@ files:
|
|
727
724
|
- app/views/application/_resource_sidebar.html.erb
|
728
725
|
- app/views/components/action_button/action_button_component.html.erb
|
729
726
|
- app/views/components/action_button/action_button_component.rb
|
727
|
+
- app/views/components/attributes.rb
|
730
728
|
- app/views/components/base.rb
|
731
729
|
- app/views/components/block/block_component.html.erb
|
732
730
|
- app/views/components/block/block_component.rb
|
@@ -743,19 +741,32 @@ files:
|
|
743
741
|
- app/views/components/form/form_builder.rb
|
744
742
|
- app/views/components/form/form_component.html.erb
|
745
743
|
- app/views/components/form/form_component.rb
|
746
|
-
- app/views/components/
|
744
|
+
- app/views/components/has_many_panel/has_many_panel_component.html.erb
|
745
|
+
- app/views/components/has_many_panel/has_many_panel_component.rb
|
747
746
|
- app/views/components/header/header_component.html.erb
|
748
747
|
- app/views/components/header/header_component.rb
|
749
748
|
- app/views/components/interactive_action_form/interactive_action_form_component.html.erb
|
750
749
|
- app/views/components/interactive_action_form/interactive_action_form_component.rb
|
751
|
-
- app/views/components/
|
750
|
+
- app/views/components/nav_grid_menu/nav_grid_menu_component.html.erb
|
751
|
+
- app/views/components/nav_grid_menu/nav_grid_menu_component.rb
|
752
|
+
- app/views/components/nav_grid_menu_item/nav_grid_menu_item_component.html.erb
|
753
|
+
- app/views/components/nav_grid_menu_item/nav_grid_menu_item_component.rb
|
754
|
+
- app/views/components/nav_user/nav_user_component.html.erb
|
755
|
+
- app/views/components/nav_user/nav_user_component.rb
|
756
|
+
- app/views/components/nav_user_link/nav_user_link_component.html.erb
|
757
|
+
- app/views/components/nav_user_link/nav_user_link_component.rb
|
758
|
+
- app/views/components/nav_user_section/nav_user_section_component.html.erb
|
759
|
+
- app/views/components/nav_user_section/nav_user_section_component.rb
|
752
760
|
- app/views/components/nested_resource_form_fields/nested_resource_form_fields_component.html.erb
|
753
761
|
- app/views/components/nested_resource_form_fields/nested_resource_form_fields_component.rb
|
754
|
-
- app/views/components/nested_resource_form_fields/nested_resource_form_fields_controller.js
|
755
762
|
- app/views/components/pagination/pagination_component.html.erb
|
756
763
|
- app/views/components/pagination/pagination_component.rb
|
757
764
|
- app/views/components/panel/panel_component.html.erb
|
758
765
|
- app/views/components/panel/panel_component.rb
|
766
|
+
- app/views/components/resource_header/resource_header_component.html.erb
|
767
|
+
- app/views/components/resource_header/resource_header_component.rb
|
768
|
+
- app/views/components/resource_layout/resource_layout_component.html.erb
|
769
|
+
- app/views/components/resource_layout/resource_layout_component.rb
|
759
770
|
- app/views/components/sidebar/sidebar_component.html.erb
|
760
771
|
- app/views/components/sidebar/sidebar_component.rb
|
761
772
|
- app/views/components/sidebar_menu/sidebar_menu_component.html.erb
|
@@ -764,32 +775,23 @@ files:
|
|
764
775
|
- app/views/components/sidebar_menu_item/sidebar_menu_item_component.rb
|
765
776
|
- app/views/components/skeleton/table/table_component.html.erb
|
766
777
|
- app/views/components/skeleton/table/table_component.rb
|
767
|
-
- app/views/components/tab_bar/tab_bar_component.html.erb
|
768
|
-
- app/views/components/tab_bar/tab_bar_component.rb
|
769
|
-
- app/views/components/tab_bar/tab_bar_controller.js
|
770
778
|
- app/views/components/table/table_component.html.erb
|
771
779
|
- app/views/components/table/table_component.rb
|
772
|
-
- app/views/components/table/table_controller.js
|
773
780
|
- app/views/components/table_search_input/table_search_input_component.html.erb
|
774
781
|
- app/views/components/table_search_input/table_search_input_component.rb
|
775
|
-
- app/views/components/table_search_input/table_search_input_controller.js
|
776
782
|
- app/views/components/table_toolbar/table_toolbar_component.html.erb
|
777
783
|
- app/views/components/table_toolbar/table_toolbar_component.rb
|
778
|
-
- app/views/components/table_toolbar/table_toolbar_controller.js
|
779
784
|
- app/views/components/toolbar/toolbar_component.html.erb
|
780
785
|
- app/views/components/toolbar/toolbar_component.rb
|
781
|
-
- app/views/components/toolbar/toolbar_controller.js
|
782
786
|
- app/views/layouts/resource.html copy.erb
|
783
787
|
- app/views/layouts/resource.html.erb
|
784
788
|
- app/views/layouts/rodauth.html.erb
|
785
789
|
- app/views/resource/_interactive_resource_action_form.html.erb
|
786
790
|
- app/views/resource/_metric_card.html.erb
|
787
|
-
- app/views/resource/_nav_user.html.erb
|
788
791
|
- app/views/resource/_resource_details.html.erb
|
789
792
|
- app/views/resource/_resource_details.rabl
|
790
793
|
- app/views/resource/_resource_form.html.erb
|
791
794
|
- app/views/resource/_resource_table.html.erb
|
792
|
-
- app/views/resource/_tab_menu.html.erb
|
793
795
|
- app/views/resource/edit.html.erb
|
794
796
|
- app/views/resource/errors.rabl
|
795
797
|
- app/views/resource/index.html.erb
|
@@ -844,13 +846,14 @@ files:
|
|
844
846
|
- config/initializers/pagy.rb
|
845
847
|
- config/initializers/rabl.rb
|
846
848
|
- config/initializers/simple_form.rb
|
847
|
-
- css.manifest
|
848
849
|
- esbuild.config.js
|
849
850
|
- exe/pug
|
850
|
-
- js.manifest
|
851
851
|
- lib/active_model/validations/array_validator.rb
|
852
852
|
- lib/active_model/validations/attached_validator.rb
|
853
853
|
- lib/active_model/validations/url_validator.rb
|
854
|
+
- lib/generators/pu/core/assets/assets_generator.rb
|
855
|
+
- lib/generators/pu/core/assets/templates/.keep
|
856
|
+
- lib/generators/pu/core/assets/templates/tailwind.config.js
|
854
857
|
- lib/generators/pu/core/install/install_generator.rb
|
855
858
|
- lib/generators/pu/core/install/templates/.keep
|
856
859
|
- lib/generators/pu/core/install/templates/app/controllers/resource_controller.rb.tt
|
@@ -896,9 +899,9 @@ files:
|
|
896
899
|
- lib/generators/pu/lib/plutonium_generators/installer.rb
|
897
900
|
- lib/generators/pu/lib/plutonium_generators/model_generator.rb
|
898
901
|
- lib/generators/pu/pkg/app/app_generator.rb
|
899
|
-
- lib/generators/pu/pkg/app/templates/app/controllers/
|
902
|
+
- lib/generators/pu/pkg/app/templates/app/controllers/concerns/controller.rb.tt
|
903
|
+
- lib/generators/pu/pkg/app/templates/app/controllers/controller.rb.tt
|
900
904
|
- lib/generators/pu/pkg/app/templates/app/controllers/dashboard_controller.rb.tt
|
901
|
-
- lib/generators/pu/pkg/app/templates/app/controllers/package_controller.rb.tt
|
902
905
|
- lib/generators/pu/pkg/app/templates/app/policies/resource_policy.rb.tt
|
903
906
|
- lib/generators/pu/pkg/app/templates/app/presenters/resource_presenter.rb.tt
|
904
907
|
- lib/generators/pu/pkg/app/templates/app/query_objects/resource_query_object.rb.tt
|
@@ -1023,6 +1026,10 @@ files:
|
|
1023
1026
|
- lib/plutonium/core/actions/interactive_action.rb
|
1024
1027
|
- lib/plutonium/core/actions/new_action.rb
|
1025
1028
|
- lib/plutonium/core/actions/show_action.rb
|
1029
|
+
- lib/plutonium/core/associations/renderers/basic_renderer.rb
|
1030
|
+
- lib/plutonium/core/associations/renderers/factory.rb
|
1031
|
+
- lib/plutonium/core/associations/renderers/has_many_renderer.rb
|
1032
|
+
- lib/plutonium/core/autodiscovery/association_renderer_discoverer.rb
|
1026
1033
|
- lib/plutonium/core/autodiscovery/discoverer.rb
|
1027
1034
|
- lib/plutonium/core/autodiscovery/input_discoverer.rb
|
1028
1035
|
- lib/plutonium/core/autodiscovery/renderer_discoverer.rb
|
@@ -1035,12 +1042,14 @@ files:
|
|
1035
1042
|
- lib/plutonium/core/controllers/presentable.rb
|
1036
1043
|
- lib/plutonium/core/controllers/queryable.rb
|
1037
1044
|
- lib/plutonium/core/definers/action_definer.rb
|
1045
|
+
- lib/plutonium/core/definers/association_renderer_definer.rb
|
1038
1046
|
- lib/plutonium/core/definers/field_definer.rb
|
1039
1047
|
- lib/plutonium/core/definers/input_definer.rb
|
1040
1048
|
- lib/plutonium/core/definers/renderer_definer.rb
|
1041
1049
|
- lib/plutonium/core/fields/inputs/attachment_input.rb
|
1042
1050
|
- lib/plutonium/core/fields/inputs/base.rb
|
1043
1051
|
- lib/plutonium/core/fields/inputs/belongs_to_association_input.rb
|
1052
|
+
- lib/plutonium/core/fields/inputs/checkbox_input.rb
|
1044
1053
|
- lib/plutonium/core/fields/inputs/date_time_input.rb
|
1045
1054
|
- lib/plutonium/core/fields/inputs/factory.rb
|
1046
1055
|
- lib/plutonium/core/fields/inputs/has_many_association_input.rb
|
@@ -1060,6 +1069,7 @@ files:
|
|
1060
1069
|
- lib/plutonium/helpers.rb
|
1061
1070
|
- lib/plutonium/helpers/action_buttons_helper.rb
|
1062
1071
|
- lib/plutonium/helpers/application_helper.rb
|
1072
|
+
- lib/plutonium/helpers/assets_helper.rb
|
1063
1073
|
- lib/plutonium/helpers/attachment_helper.rb
|
1064
1074
|
- lib/plutonium/helpers/component_helper.rb
|
1065
1075
|
- lib/plutonium/helpers/content_helper.rb
|
@@ -1078,6 +1088,8 @@ files:
|
|
1078
1088
|
- lib/plutonium/policy/scope.rb
|
1079
1089
|
- lib/plutonium/preserved__/field.rb.bk
|
1080
1090
|
- lib/plutonium/preserved__/input.rb.bk
|
1091
|
+
- lib/plutonium/pundit/context.rb
|
1092
|
+
- lib/plutonium/pundit/policy_finder.rb
|
1081
1093
|
- lib/plutonium/railtie.rb
|
1082
1094
|
- lib/plutonium/refinements/parameter_refinements.rb
|
1083
1095
|
- lib/plutonium/reloader.rb
|
@@ -1098,22 +1110,44 @@ files:
|
|
1098
1110
|
- package.json
|
1099
1111
|
- postcss.config.js
|
1100
1112
|
- public/.keep
|
1101
|
-
- public/plutonium-assets/application.css
|
1102
1113
|
- public/plutonium-assets/application.js
|
1103
1114
|
- public/plutonium-assets/fonts/bootstrap-icons.woff
|
1104
1115
|
- public/plutonium-assets/fonts/bootstrap-icons.woff2
|
1105
|
-
- public/plutonium-assets/plutonium-app-36KN5FVJ.js
|
1106
|
-
- public/plutonium-assets/plutonium-app-36KN5FVJ.js.map
|
1107
|
-
- public/plutonium-assets/plutonium-app-6WILQCTT.js
|
1108
|
-
- public/plutonium-assets/plutonium-app-6WILQCTT.js.map
|
1109
1116
|
- public/plutonium-assets/plutonium-logo-original.png
|
1110
1117
|
- public/plutonium-assets/plutonium-logo-white.png
|
1111
1118
|
- public/plutonium-assets/plutonium-logo.png
|
1112
|
-
- public/plutonium-assets/plutonium.2d4f0c333cd000051d3b.css
|
1113
|
-
- public/plutonium-assets/plutonium.50232e35b5495f5ad90d.css
|
1114
|
-
- public/plutonium-assets/plutonium.8bee7a8482988b0360e3.css
|
1115
1119
|
- public/plutonium-assets/plutonium.ico
|
1116
1120
|
- sig/plutonium.rbs
|
1121
|
+
- src/.npmignore
|
1122
|
+
- src/css/plutonium.css
|
1123
|
+
- src/js/controllers/color_mode_controller.js
|
1124
|
+
- src/js/controllers/form_controller.js
|
1125
|
+
- src/js/controllers/frame_navigator_controller.js
|
1126
|
+
- src/js/controllers/has_many_panel_controller.js
|
1127
|
+
- src/js/controllers/interactive_action_form_controller.js
|
1128
|
+
- src/js/controllers/nav_grid_menu_controller.js
|
1129
|
+
- src/js/controllers/nav_grid_menu_item_controller.js
|
1130
|
+
- src/js/controllers/nav_user_controller.js
|
1131
|
+
- src/js/controllers/nav_user_link_controller.js
|
1132
|
+
- src/js/controllers/nav_user_section_controller.js
|
1133
|
+
- src/js/controllers/nested_resource_form_fields_controller.js
|
1134
|
+
- src/js/controllers/register_controllers.js
|
1135
|
+
- src/js/controllers/resource_dismiss_controller.js
|
1136
|
+
- src/js/controllers/resource_drop_down_controller.js
|
1137
|
+
- src/js/controllers/resource_header_controller.js
|
1138
|
+
- src/js/controllers/resource_layout_controller.js
|
1139
|
+
- src/js/controllers/sidebar_menu_controller.js
|
1140
|
+
- src/js/controllers/sidebar_menu_item_controller.js
|
1141
|
+
- src/js/controllers/table_controller.js
|
1142
|
+
- src/js/controllers/table_search_input_controller.js
|
1143
|
+
- src/js/controllers/table_toolbar_controller.js
|
1144
|
+
- src/js/controllers/toolbar_controller.js
|
1145
|
+
- src/js/core.js
|
1146
|
+
- src/js/plutonium.js
|
1147
|
+
- src/js/turbo/index.js
|
1148
|
+
- src/js/turbo/turbo_actions.js
|
1149
|
+
- src/js/turbo/turbo_debug.js
|
1150
|
+
- src/js/turbo/turbo_frame_monkey_patch.js
|
1117
1151
|
- tailwind.config.js
|
1118
1152
|
- templates/base.rb
|
1119
1153
|
homepage: https://github.com/radioactive-labs/plutonium-core
|