super 0.0.7 → 0.0.12

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 (115) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +0 -6
  3. data/CONTRIBUTING.md +56 -0
  4. data/README.md +49 -61
  5. data/Rakefile +16 -14
  6. data/app/assets/javascripts/super/application.js +297 -97
  7. data/app/assets/stylesheets/super/application.css +5600 -0
  8. data/app/controllers/super/application_controller.rb +20 -14
  9. data/app/helpers/super/form_builder_helper.rb +25 -0
  10. data/app/views/layouts/super/application.html.erb +23 -9
  11. data/app/views/super/application/{_super_schema_display_actions.html.erb → _display_actions.html.erb} +0 -0
  12. data/app/views/super/application/{_super_schema_display_index.html.erb → _display_index.html.erb} +6 -6
  13. data/app/views/super/application/_display_rich_text.html.erb +1 -0
  14. data/app/views/super/application/_display_show.html.erb +8 -0
  15. data/app/views/super/application/_filter.html.erb +5 -13
  16. data/app/views/super/application/_filter_type_select.html.erb +9 -19
  17. data/app/views/super/application/_filter_type_text.html.erb +7 -11
  18. data/app/views/super/application/_filter_type_timestamp.html.erb +6 -17
  19. data/app/views/super/application/_form.html.erb +15 -0
  20. data/app/views/super/application/_form_field__destroy.html.erb +1 -9
  21. data/app/views/super/application/_form_field_checkbox.html.erb +1 -0
  22. data/app/views/super/application/_form_field_rich_text_area.html.erb +1 -0
  23. data/app/views/super/application/_form_field_select.html.erb +1 -23
  24. data/app/views/super/application/_form_field_text.html.erb +1 -13
  25. data/app/views/super/application/{_super_layout.html.erb → _layout.html.erb} +7 -7
  26. data/app/views/super/application/{_super_pagination.html.erb → _pagination.html.erb} +1 -1
  27. data/app/views/super/application/{_super_panel.html.erb → _panel.html.erb} +2 -2
  28. data/app/views/super/application/_query.html.erb +18 -0
  29. data/app/views/super/application/_sort.html.erb +18 -0
  30. data/app/views/super/application/_sort_expression.html.erb +25 -0
  31. data/app/views/super/application/edit.html.erb +1 -0
  32. data/app/views/super/application/index.html.erb +1 -0
  33. data/app/views/super/application/new.html.erb +1 -0
  34. data/app/views/super/application/show.html.erb +1 -0
  35. data/app/views/super/feather/README.md +1 -0
  36. data/app/views/super/feather/_x.html +15 -0
  37. data/config/routes.rb +2 -0
  38. data/docs/cheat.md +8 -8
  39. data/frontend/super-frontend/dist/application.css +5600 -0
  40. data/frontend/super-frontend/dist/application.js +297 -97
  41. data/lib/generators/super/action_text/USAGE +23 -0
  42. data/lib/generators/super/action_text/action_text_generator.rb +32 -0
  43. data/lib/generators/super/action_text/templates/pack_super_action_text.css +23 -0
  44. data/lib/generators/super/action_text/templates/pack_super_action_text.js +4 -0
  45. data/lib/generators/super/install/install_generator.rb +18 -7
  46. data/lib/generators/super/install/templates/base_controller.rb.tt +9 -1
  47. data/lib/generators/super/install/templates/initializer.rb.tt +9 -2
  48. data/lib/generators/super/resource/resource_generator.rb +107 -30
  49. data/lib/generators/super/resource/templates/resources_controller.rb.tt +3 -39
  50. data/lib/generators/super/webpacker/USAGE +5 -4
  51. data/lib/generators/super/webpacker/webpacker_generator.rb +5 -2
  52. data/lib/super.rb +17 -0
  53. data/lib/super/action_inquirer.rb +2 -0
  54. data/lib/super/assets.rb +114 -38
  55. data/lib/super/client_error.rb +2 -0
  56. data/lib/super/compatibility.rb +2 -0
  57. data/lib/super/configuration.rb +16 -79
  58. data/lib/super/controls.rb +11 -25
  59. data/lib/super/controls/optional.rb +75 -16
  60. data/lib/super/controls/steps.rb +36 -58
  61. data/lib/super/controls/view.rb +55 -0
  62. data/lib/super/display.rb +88 -0
  63. data/lib/super/display/guesser.rb +36 -0
  64. data/lib/super/display/schema_types.rb +80 -78
  65. data/lib/super/engine.rb +5 -1
  66. data/lib/super/error.rb +21 -0
  67. data/lib/super/filter.rb +7 -130
  68. data/lib/super/filter/form_object.rb +94 -0
  69. data/lib/super/filter/guesser.rb +32 -0
  70. data/lib/super/filter/operator.rb +2 -0
  71. data/lib/super/filter/schema_types.rb +3 -7
  72. data/lib/super/form.rb +29 -40
  73. data/lib/super/form/builder.rb +206 -0
  74. data/lib/super/form/guesser.rb +29 -0
  75. data/lib/super/form/inline_errors.rb +28 -0
  76. data/lib/super/form/schema_types.rb +31 -29
  77. data/lib/super/form/strong_params.rb +31 -0
  78. data/lib/super/layout.rb +3 -1
  79. data/lib/super/link.rb +7 -0
  80. data/lib/super/navigation/automatic.rb +4 -2
  81. data/lib/super/pagination.rb +13 -17
  82. data/lib/super/panel.rb +3 -1
  83. data/lib/super/partial.rb +2 -0
  84. data/lib/super/partial/resolving.rb +2 -0
  85. data/lib/super/plugin.rb +2 -0
  86. data/lib/super/query/form_object.rb +48 -0
  87. data/lib/super/schema.rb +2 -25
  88. data/lib/super/schema/common.rb +27 -0
  89. data/lib/super/schema/guesser.rb +79 -0
  90. data/lib/super/sort.rb +110 -0
  91. data/lib/super/useful/builder.rb +25 -0
  92. data/lib/super/useful/enum.rb +63 -0
  93. data/lib/super/version.rb +3 -1
  94. data/lib/super/view_helper.rb +2 -19
  95. metadata +63 -34
  96. data/app/views/super/application/_form_inline_errors.html.erb +0 -10
  97. data/app/views/super/application/_super_schema_display_show.html.erb +0 -8
  98. data/app/views/super/application/_super_schema_form.html.erb +0 -15
  99. data/docs/README.md +0 -6
  100. data/docs/faq.md +0 -44
  101. data/docs/quick_start.md +0 -45
  102. data/docs/webpacker.md +0 -17
  103. data/docs/yard_customizations.rb +0 -41
  104. data/frontend/super-frontend/build.js +0 -36
  105. data/frontend/super-frontend/package.json +0 -21
  106. data/frontend/super-frontend/postcss.config.js +0 -6
  107. data/frontend/super-frontend/src/javascripts/super/application.ts +0 -18
  108. data/frontend/super-frontend/src/javascripts/super/apply_template_controller.ts +0 -19
  109. data/frontend/super-frontend/src/javascripts/super/rails__ujs.d.ts +0 -1
  110. data/frontend/super-frontend/src/javascripts/super/toggle_pending_destruction_controller.ts +0 -15
  111. data/frontend/super-frontend/src/stylesheets/super/application.css +0 -77
  112. data/frontend/super-frontend/tailwind.config.js +0 -15
  113. data/frontend/super-frontend/tsconfig.json +0 -13
  114. data/frontend/super-frontend/yarn.lock +0 -5448
  115. data/lib/super/controls/required.rb +0 -41
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a8e7ba2e6b5845517d94684e487bdfed0779dcade517e3e3e89bff55fee6f258
4
- data.tar.gz: 62e2a405ed8d99a95de077babfdc9eb3b654d651b1887e8776d1dba609058f8e
3
+ metadata.gz: 645a472c963d0e09e2d4b8646fc54c82b780b4cd60b47daac01b7434d9f37111
4
+ data.tar.gz: 7fa33b28be8edffa88ca94c919ae79f96287e071e84ab2f84dbb51a66a72d0e4
5
5
  SHA512:
6
- metadata.gz: 76bd34e08d34ea8797f0ed197b062a6be056247204a5f6badfea5a82f119c196d37b04a65ad2b1f25535885c013a1ebed7175399090078888cc528b997b57371
7
- data.tar.gz: 5933d518932ea142b70aa5ac3c844d497a5bea951ee7bd72ad1a128fabc911212e2c09b63857900b2eec881a97f28aff5682b6e5c9457a25f2d0dba431887900
6
+ metadata.gz: a91b5535467f835d8cd87c5a02f2e09f086455bedaa02d529dc896c025eefc67ef9162954ab9159c79915bbcfdfb70729443d524137efe6173a7a07cbb20b598
7
+ data.tar.gz: f6f3d9ff8e7ce16cd1470b9b8ad1f7f982cbf2e13428e0fb6e47380fa17c1438e4e63832a7a9db8db1e9d32a8639c5847c2621572a9f0845fa18725116336777
data/.yardopts CHANGED
@@ -1,11 +1,5 @@
1
1
  --exclude lib/generators
2
2
  --markup markdown
3
- --load ./docs/yard_customizations.rb
4
3
  -
5
4
  CONTRIBUTING.md
6
- STABILITY.md
7
5
  LICENSE
8
- docs/quick_start.md
9
- docs/webpacker.md
10
- docs/cheat.md
11
- docs/faq.md
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,56 @@
1
+ # Contributing
2
+
3
+ Thank you for thinking about contributing to Super!
4
+
5
+
6
+ ## General guidelines
7
+
8
+ There are a few ground rules that to adhere to:
9
+
10
+ * be friendly and patient,
11
+ * be welcoming,
12
+ * be considerate,
13
+ * be respectful,
14
+ * be careful in the words that you choose and be kind to others,
15
+ * when we disagree, try to understand why.
16
+
17
+ This isn't an exhaustive list of things that you can't do. Rather, take it in
18
+ the spirit in which it's intended - a guide to make it easier to communicate and
19
+ participate in the community.
20
+
21
+ This applies to all spaces managed by the Super project.
22
+
23
+ If you believe someone is violating the code of conduct, we ask that you report
24
+ it by emailing: super+conduct at zachahn.com
25
+
26
+ Offenders may be banned, asked to apologize, etc.
27
+
28
+ (These guidelines are based on the [FreeBSD CoC][FreeBSD CoC], which in turn is
29
+ based on [LLVM Project's draft CoC][LLVM CoC], which in turn is based on the
30
+ [Django Project Code of Conduct][Django CoC], which is in turn based on wording
31
+ from the Speak Up! project.)
32
+
33
+
34
+ ## Bug reports / issues
35
+
36
+ 1. Please tell us what version of Super, Ruby, and Rails you are using
37
+ 1. Please search the issues before posting your problem
38
+ 1. Please ask questions in a public place to benefit all Super users
39
+ 1. Please email security-related problems to super+security [at] zachahn.com
40
+
41
+
42
+ ## Feature requests / pull requests
43
+
44
+ Contributors will need to sign a CLA. This isn't set up yet, so I won't be able
45
+ to accept contributions.
46
+
47
+ 1. Please note that pull requests may be closed/denied for any reason.
48
+ Your feature may be better as its own repository. If so, I will link to your
49
+ project from the README!
50
+ 1. Please allow Super's contributors to modify your PR before merging.
51
+ It might make the process a bit smoother, but this isn't a necessity.
52
+
53
+
54
+ [FreeBSD CoC]: https://www.freebsd.org/internal/code-of-conduct.html
55
+ [LLVM CoC]: https://llvm.org/docs/CodeOfConduct.html
56
+ [Django CoC]: https://www.djangoproject.com/conduct/
data/README.md CHANGED
@@ -1,96 +1,87 @@
1
1
  # Super
2
2
 
3
+ ![Unit tests status](https://github.com/zachahn/super/workflows/Unit%20tests/badge.svg?branch=master)
4
+ [![Gem](https://img.shields.io/gem/v/super)][gem]
5
+ [![Try the demo](https://img.shields.io/badge/demo-try-blue)][demo]
6
+ [![Read the docs](https://img.shields.io/badge/docs-available-brightgreen)][docs]
7
+
8
+
3
9
  Super is an admin framework for Ruby on Rails applications. Super helps you make
4
10
  powerful admin pages quickly so that you can concentrate on the parts of your
5
11
  app that make it great.
6
12
 
7
13
  Super strives to let engineers build great admin pages quickly and easily by:
8
14
 
9
- * Providing a useful CRUD interface
10
- * Relying on Rails' built in features whenever possible
11
- * Preferring plain Ruby objects rather than requiring DSLs
12
- * Supporting a wide range of Ruby and Rails versions
13
- * Having zero dependencies
15
+ * Providing a configurable CRUD interface with usable defaults
16
+ * Building on top of standard Rails controllers and ERB views
17
+ * Preferring plain Ruby objects and initializers instead of DSLs
18
+
14
19
 
20
+ Super's distinguishing feature is that it's easy to maintain in your
21
+ application. It does this by:
15
22
 
16
- Super has no dependencies. That means when you install Super, only Super gets
17
- added to your `Gemfile.lock`. This leads to many benefits:
23
+ * Supporting a wide range of Ruby (2.3–3.0+) and Rails (5.0–6.1+) versions,
24
+ which makes it easy to upgrade your Ruby and Rails versions without breaking
25
+ your admin pages
26
+ * Having zero dependencies, so that you can upgrade your app's dependencies
27
+ without affecting your admin pages (or upgrade your admin pages without
28
+ worrying it might break your app)
18
29
 
19
- * Super doesn't require common Rails libraries like [Kaminari][Kaminari],
20
- [Devise][Devise], or [Sass][Sass], so it'll never conflict with the libraries
21
- you have installed. If you want to upgrade Super, you won't have to upgrade
22
- any of your other gems. And if you want to upgrade your other gems, you won't
23
- have to upgrade Super! This will greatly reduce your maintenance burden since
24
- your admin framework won't dictate which libraries and which versions your
25
- application uses.
26
- * All code has the possibility of bugs and security issues, whether they're
27
- written by you or by others. Having fewer dependencies can reduce the risk of
28
- introducing problems into your application.
30
+
31
+ Note: There may be lots of breaking changes since Super is still fairly young.
32
+ See the [stability doc](./STABILITY.md) for an idea of what might be changed.
29
33
 
30
34
 
31
35
  ## Features
32
36
 
33
- * Sprockets and Webpacker compatibility
34
- * Note: Webpacker support depends on one additional NPM package for parsing
35
- ERB
36
- * Configurable forms (new and edit forms)
37
- * Nested associations are supported out of the box
37
+ * Responsive and mobile-friendly
38
+ * Compatible with Sprockets and Webpacker
39
+ * Configurable forms
40
+ * Supports nested attributes `accepts_nested_attributes_for`
38
41
  * Configurable display (index and show tables)
42
+ * Advanced filtering for ActiveRecord
39
43
  * Pre-built frontend assets (doesn't require Sass, PostCSS, Babel, etc)
40
44
  * Vendored assets include
41
45
  * Stimulus JS
42
- * Rails UJS
43
46
  * Tailwind CSS
47
+ * Rails UJS
44
48
  * Supports Rails 5.0+, Ruby 2.3+
45
49
 
46
50
 
47
- ## Super doesn't fit my needs. What should I look at?
51
+ See the [demo][demo] and its [source][demo_source] for an example of some of its
52
+ features. See the [docs][docs] for a walkthrough.
48
53
 
49
- There are lots of Rails admin frameworks. I've personally used
50
- [ActiveAdmin][ActiveAdmin] and [Administrate][Administrate], and I had some
51
- brief exposure to [RailsAdmin][RailsAdmin].
52
54
 
53
- If you need a ton of features, I'd probably suggest looking at ActiveAdmin. It
54
- relies pretty heavily on DSLs but is pretty flexible and popular.
55
+ ## Editions
55
56
 
56
- I like Administrate as well. I found that it doesn't have quite as many features
57
- as ActiveAdmin, but it's nice and feels like developing a normal Rails app.
58
- There's no DSL.
57
+ There are several editions to consider.
59
58
 
59
+ **Super FOSS** provides:
60
60
 
61
- ## Paid editions
61
+ * A great admin framework that's free and easy to maintain
62
+ * Community support, see the [discussion forum][discussions]
62
63
 
63
- If you have additional requirements, there are some paid editions to consider:
64
+ **Super Premium** (not available yet) provides:
64
65
 
65
- **Super Premium** provides:
66
-
67
- * Priority email support
66
+ * Private email support
68
67
  * Ensuring long term development of Super
69
68
 
70
- **Super Professional** provides everything in Premium and:
69
+ **Super Professional** (not available yet) provides everything in Premium and:
71
70
 
72
71
  * Productivity improvements and quality of life features for admins
73
72
  * An LGPL exemption
74
73
 
75
- They aren't available yet. Contact me if you're interested, or subscribe to the
76
- [newsletter][newsletter] to be notified of its availability and for brief,
77
- occasional updates to Super.
78
-
79
-
80
- ## Demos
81
-
82
- * [Super Demo][super_demo]
83
- * [Super Demo source][super_demo_source]
84
-
85
-
86
- ## Installation and Usage
74
+ Subscribe to the [newsletter][newsletter] to be notified of their availabilities
75
+ and for brief, quarterly-at-most updates to Super.
87
76
 
88
- See [Quick start](./docs/quick_start.md)
89
77
 
78
+ ## Super doesn't fit my needs. What are some alternatives?
90
79
 
91
- ## Path to 1.0
80
+ [ActiveAdmin](https://github.com/activeadmin/activeadmin) is great if you need
81
+ lots of features. It relies heavily on DSLs but is flexible and popular.
92
82
 
93
- See [STABILITY](./STABILITY.md)
83
+ [Administrate](https://github.com/thoughtbot/administrate) doesn't have as many
84
+ features as ActiveAdmin, but it feels like developing a normal Rails app.
94
85
 
95
86
 
96
87
  ## Contributing
@@ -103,12 +94,9 @@ See [CONTRIBUTING](./CONTRIBUTING.md)
103
94
  The gem is available under the terms of the [GNU LGPLv3](./LICENSE).
104
95
 
105
96
 
106
- [Administrate]: https://github.com/thoughtbot/administrate
107
- [ActiveAdmin]: https://github.com/activeadmin/activeadmin
108
- [RailsAdmin]: https://github.com/sferik/rails_admin
109
- [Kaminari]: https://github.com/kaminari/kaminari
110
- [Devise]: https://github.com/heartcombo/devise
111
- [Sass]: https://github.com/sass/sassc-ruby
97
+ [gem]: https://rubygems.org/gems/super
98
+ [discussions]: https://github.com/zachahn/super/discussions
99
+ [docs]: https://superadministration.github.io/
112
100
  [newsletter]: https://tinyletter.com/zachahn
113
- [super_demo]: https://demo-super.herokuapp.com/admin/members
114
- [super_demo_source]: https://github.com/zachahn/super_demo
101
+ [demo]: https://demo-super.herokuapp.com/admin/members
102
+ [demo_source]: https://github.com/zachahn/super_demo
data/Rakefile CHANGED
@@ -1,33 +1,35 @@
1
+ # frozen_string_literal: true
2
+
1
3
  begin
2
- require 'bundler/setup'
4
+ require "bundler/setup"
3
5
  rescue LoadError
4
- puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
6
+ puts "You must `gem install bundler` and `bundle install` to run rake tasks"
5
7
  end
6
8
 
7
- require 'rdoc/task'
9
+ require "rdoc/task"
8
10
 
9
11
  RDoc::Task.new(:rdoc) do |rdoc|
10
- rdoc.rdoc_dir = 'rdoc'
11
- rdoc.title = 'Super'
12
- rdoc.options << '--line-numbers'
13
- rdoc.rdoc_files.include('README.md')
14
- rdoc.rdoc_files.include('lib/**/*.rb')
12
+ rdoc.rdoc_dir = "rdoc"
13
+ rdoc.title = "Super"
14
+ rdoc.options << "--line-numbers"
15
+ rdoc.rdoc_files.include("README.md")
16
+ rdoc.rdoc_files.include("lib/**/*.rb")
15
17
  end
16
18
 
17
19
  require_relative "dummy_path"
18
20
 
19
21
  APP_RAKEFILE = File.expand_path("#{SUPER_DUMMY_PATH}/Rakefile", __dir__)
20
- load 'rails/tasks/engine.rake'
22
+ load "rails/tasks/engine.rake"
21
23
 
22
- load 'rails/tasks/statistics.rake'
24
+ load "rails/tasks/statistics.rake"
23
25
 
24
- require 'bundler/gem_tasks'
26
+ require "bundler/gem_tasks"
25
27
 
26
- require 'rake/testtask'
28
+ require "rake/testtask"
27
29
 
28
30
  Rake::TestTask.new(:test) do |t|
29
- t.libs << 'test'
30
- t.pattern = 'test/**/*_test.rb'
31
+ t.libs << "test"
32
+ t.pattern = "test/**/*_test.rb"
31
33
  t.verbose = false
32
34
  end
33
35
 
@@ -4271,149 +4271,349 @@ Object.keys(_core).forEach(function (key) {
4271
4271
  }
4272
4272
  });
4273
4273
  });
4274
- },{"@stimulus/core":"../node_modules/@stimulus/core/dist/index.js"}],"javascripts/super/apply_template_controller.ts":[function(require,module,exports) {
4274
+ },{"@stimulus/core":"../node_modules/@stimulus/core/dist/index.js"}],"javascripts/super/apply_template_controller.js":[function(require,module,exports) {
4275
4275
  "use strict";
4276
4276
 
4277
- var __extends = this && this.__extends || function () {
4278
- var _extendStatics = function extendStatics(d, b) {
4279
- _extendStatics = Object.setPrototypeOf || {
4280
- __proto__: []
4281
- } instanceof Array && function (d, b) {
4282
- d.__proto__ = b;
4283
- } || function (d, b) {
4284
- for (var p in b) {
4285
- if (b.hasOwnProperty(p)) d[p] = b[p];
4286
- }
4287
- };
4277
+ Object.defineProperty(exports, "__esModule", {
4278
+ value: true
4279
+ });
4280
+ exports.default = void 0;
4288
4281
 
4289
- return _extendStatics(d, b);
4290
- };
4282
+ var _stimulus = require("stimulus");
4291
4283
 
4292
- return function (d, b) {
4293
- _extendStatics(d, b);
4284
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
4294
4285
 
4295
- function __() {
4296
- this.constructor = d;
4286
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4287
+
4288
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
4289
+
4290
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4291
+
4292
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
4293
+
4294
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
4295
+
4296
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
4297
+
4298
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4299
+
4300
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4301
+
4302
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
4303
+
4304
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4305
+
4306
+ var _default = /*#__PURE__*/function (_Controller) {
4307
+ _inherits(_default, _Controller);
4308
+
4309
+ var _super = _createSuper(_default);
4310
+
4311
+ function _default() {
4312
+ _classCallCheck(this, _default);
4313
+
4314
+ return _super.apply(this, arguments);
4315
+ }
4316
+
4317
+ _createClass(_default, [{
4318
+ key: "call",
4319
+ value: function call(event) {
4320
+ event.preventDefault();
4321
+ var unixtime = new Date().getTime();
4322
+ var content = this.templateTarget.innerHTML.replace(/TEMPLATEINDEX/g, unixtime.toString());
4323
+ this.templateTarget.insertAdjacentHTML("beforebegin", content);
4324
+ }
4325
+ }], [{
4326
+ key: "targets",
4327
+ get: function get() {
4328
+ return ["template"];
4297
4329
  }
4330
+ }]);
4298
4331
 
4299
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
4300
- };
4301
- }();
4332
+ return _default;
4333
+ }(_stimulus.Controller);
4334
+
4335
+ exports.default = _default;
4336
+ },{"stimulus":"../node_modules/stimulus/index.js"}],"javascripts/super/clean_filter_param_controller.js":[function(require,module,exports) {
4337
+ "use strict";
4302
4338
 
4303
4339
  Object.defineProperty(exports, "__esModule", {
4304
4340
  value: true
4305
4341
  });
4342
+ exports.default = void 0;
4306
4343
 
4307
- var stimulus_1 = require("stimulus");
4344
+ var _stimulus = require("stimulus");
4308
4345
 
4309
- var default_1 =
4310
- /** @class */
4311
- function (_super) {
4312
- __extends(default_1, _super);
4346
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
4347
+
4348
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4349
+
4350
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
4313
4351
 
4314
- function default_1() {
4315
- return _super !== null && _super.apply(this, arguments) || this;
4352
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4353
+
4354
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
4355
+
4356
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
4357
+
4358
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
4359
+
4360
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4361
+
4362
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4363
+
4364
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
4365
+
4366
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4367
+
4368
+ var _default = /*#__PURE__*/function (_Controller) {
4369
+ _inherits(_default, _Controller);
4370
+
4371
+ var _super = _createSuper(_default);
4372
+
4373
+ function _default() {
4374
+ _classCallCheck(this, _default);
4375
+
4376
+ return _super.apply(this, arguments);
4316
4377
  }
4317
4378
 
4318
- default_1.prototype.call = function (event) {
4319
- event.preventDefault();
4320
- var unixtime = new Date().getTime();
4321
- var content = this.templateTarget.innerHTML.replace(/TEMPLATEINDEX/g, unixtime.toString());
4322
- this.templateTarget.insertAdjacentHTML("beforebegin", content);
4323
- };
4379
+ _createClass(_default, [{
4380
+ key: "call",
4381
+ value: function call() {
4382
+ var allControlsBlank = this.controlTargets.every(function (el) {
4383
+ return el.value === "";
4384
+ });
4385
+
4386
+ if (!allControlsBlank) {
4387
+ return;
4388
+ }
4389
+
4390
+ this.candidateTargets.forEach(function (el) {
4391
+ el.disabled = true;
4392
+ });
4393
+ }
4394
+ }], [{
4395
+ key: "targets",
4396
+ get: function get() {
4397
+ return ["candidate", "control"];
4398
+ }
4399
+ }]);
4324
4400
 
4325
- default_1.targets = ["template"];
4326
- return default_1;
4327
- }(stimulus_1.Controller);
4401
+ return _default;
4402
+ }(_stimulus.Controller);
4328
4403
 
4329
- exports.default = default_1;
4330
- },{"stimulus":"../node_modules/stimulus/index.js"}],"javascripts/super/toggle_pending_destruction_controller.ts":[function(require,module,exports) {
4404
+ exports.default = _default;
4405
+ },{"stimulus":"../node_modules/stimulus/index.js"}],"javascripts/super/clean_filter_params_controller.js":[function(require,module,exports) {
4331
4406
  "use strict";
4332
4407
 
4333
- var __extends = this && this.__extends || function () {
4334
- var _extendStatics = function extendStatics(d, b) {
4335
- _extendStatics = Object.setPrototypeOf || {
4336
- __proto__: []
4337
- } instanceof Array && function (d, b) {
4338
- d.__proto__ = b;
4339
- } || function (d, b) {
4340
- for (var p in b) {
4341
- if (b.hasOwnProperty(p)) d[p] = b[p];
4342
- }
4343
- };
4408
+ Object.defineProperty(exports, "__esModule", {
4409
+ value: true
4410
+ });
4411
+ exports.default = void 0;
4344
4412
 
4345
- return _extendStatics(d, b);
4346
- };
4413
+ var _stimulus = require("stimulus");
4347
4414
 
4348
- return function (d, b) {
4349
- _extendStatics(d, b);
4415
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
4350
4416
 
4351
- function __() {
4352
- this.constructor = d;
4417
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4418
+
4419
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
4420
+
4421
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4422
+
4423
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
4424
+
4425
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
4426
+
4427
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
4428
+
4429
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4430
+
4431
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4432
+
4433
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
4434
+
4435
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4436
+
4437
+ var _default = /*#__PURE__*/function (_Controller) {
4438
+ _inherits(_default, _Controller);
4439
+
4440
+ var _super = _createSuper(_default);
4441
+
4442
+ function _default() {
4443
+ _classCallCheck(this, _default);
4444
+
4445
+ return _super.apply(this, arguments);
4446
+ }
4447
+
4448
+ _createClass(_default, [{
4449
+ key: "call",
4450
+ value: function call(event) {
4451
+ this.element.querySelectorAll("[data-controller='clean-filter-param']").forEach(function (el) {
4452
+ var controller = this.application.getControllerForElementAndIdentifier(el, "clean-filter-param");
4453
+ controller.call();
4454
+ }.bind(this));
4353
4455
  }
4456
+ }]);
4354
4457
 
4355
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
4356
- };
4357
- }();
4458
+ return _default;
4459
+ }(_stimulus.Controller);
4460
+
4461
+ exports.default = _default;
4462
+ },{"stimulus":"../node_modules/stimulus/index.js"}],"javascripts/super/delete_controller.js":[function(require,module,exports) {
4463
+ "use strict";
4358
4464
 
4359
4465
  Object.defineProperty(exports, "__esModule", {
4360
4466
  value: true
4361
4467
  });
4468
+ exports.default = void 0;
4362
4469
 
4363
- var stimulus_1 = require("stimulus");
4470
+ var _stimulus = require("stimulus");
4364
4471
 
4365
- var default_1 =
4366
- /** @class */
4367
- function (_super) {
4368
- __extends(default_1, _super);
4472
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
4473
+
4474
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4475
+
4476
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
4369
4477
 
4370
- function default_1() {
4371
- return _super !== null && _super.apply(this, arguments) || this;
4478
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4479
+
4480
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
4481
+
4482
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
4483
+
4484
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
4485
+
4486
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4487
+
4488
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4489
+
4490
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
4491
+
4492
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4493
+
4494
+ var _default = /*#__PURE__*/function (_Controller) {
4495
+ _inherits(_default, _Controller);
4496
+
4497
+ var _super = _createSuper(_default);
4498
+
4499
+ function _default() {
4500
+ _classCallCheck(this, _default);
4501
+
4502
+ return _super.apply(this, arguments);
4372
4503
  }
4373
4504
 
4374
- default_1.prototype.call = function (event) {
4375
- var target = event.target;
4505
+ _createClass(_default, [{
4506
+ key: "call",
4507
+ value: function call(event) {
4508
+ event.preventDefault();
4509
+ this.element.remove();
4510
+ }
4511
+ }]);
4376
4512
 
4377
- if (target) {
4378
- if (target.checked) {
4379
- this.element.classList.add("opacity-75", "bg-gray-100");
4380
- } else {
4381
- this.element.classList.remove("opacity-75", "bg-gray-100");
4513
+ return _default;
4514
+ }(_stimulus.Controller);
4515
+
4516
+ exports.default = _default;
4517
+ },{"stimulus":"../node_modules/stimulus/index.js"}],"javascripts/super/toggle_pending_destruction_controller.js":[function(require,module,exports) {
4518
+ "use strict";
4519
+
4520
+ Object.defineProperty(exports, "__esModule", {
4521
+ value: true
4522
+ });
4523
+ exports.default = void 0;
4524
+
4525
+ var _stimulus = require("stimulus");
4526
+
4527
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
4528
+
4529
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4530
+
4531
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
4532
+
4533
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
4534
+
4535
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
4536
+
4537
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
4538
+
4539
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
4540
+
4541
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
4542
+
4543
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
4544
+
4545
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
4546
+
4547
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
4548
+
4549
+ var _default = /*#__PURE__*/function (_Controller) {
4550
+ _inherits(_default, _Controller);
4551
+
4552
+ var _super = _createSuper(_default);
4553
+
4554
+ function _default() {
4555
+ _classCallCheck(this, _default);
4556
+
4557
+ return _super.apply(this, arguments);
4558
+ }
4559
+
4560
+ _createClass(_default, [{
4561
+ key: "call",
4562
+ value: function call(event) {
4563
+ var target = event.target;
4564
+
4565
+ if (target) {
4566
+ if (target.checked) {
4567
+ this.element.classList.add("opacity-75", "bg-gray-100");
4568
+ } else {
4569
+ this.element.classList.remove("opacity-75", "bg-gray-100");
4570
+ }
4382
4571
  }
4383
4572
  }
4384
- };
4573
+ }]);
4385
4574
 
4386
- return default_1;
4387
- }(stimulus_1.Controller);
4575
+ return _default;
4576
+ }(_stimulus.Controller);
4388
4577
 
4389
- exports.default = default_1;
4390
- },{"stimulus":"../node_modules/stimulus/index.js"}],"javascripts/super/application.ts":[function(require,module,exports) {
4578
+ exports.default = _default;
4579
+ },{"stimulus":"../node_modules/stimulus/index.js"}],"javascripts/super/application.js":[function(require,module,exports) {
4391
4580
  "use strict";
4392
4581
 
4393
- var __importDefault = this && this.__importDefault || function (mod) {
4394
- return mod && mod.__esModule ? mod : {
4395
- "default": mod
4396
- };
4397
- };
4398
-
4399
4582
  Object.defineProperty(exports, "__esModule", {
4400
4583
  value: true
4401
4584
  });
4585
+ Object.defineProperty(exports, "StimulusController", {
4586
+ enumerable: true,
4587
+ get: function () {
4588
+ return _stimulus.Controller;
4589
+ }
4590
+ });
4591
+ exports.StimulusApplication = void 0;
4402
4592
 
4403
- var ujs_1 = __importDefault(require("@rails/ujs"));
4593
+ var _ujs = _interopRequireDefault(require("@rails/ujs"));
4404
4594
 
4405
- var stimulus_1 = require("stimulus");
4595
+ var _stimulus = require("stimulus");
4406
4596
 
4407
- var apply_template_controller_1 = __importDefault(require("./apply_template_controller"));
4597
+ var _apply_template_controller = _interopRequireDefault(require("./apply_template_controller"));
4408
4598
 
4409
- var toggle_pending_destruction_controller_1 = __importDefault(require("./toggle_pending_destruction_controller"));
4599
+ var _clean_filter_param_controller = _interopRequireDefault(require("./clean_filter_param_controller"));
4410
4600
 
4411
- ujs_1.default.start();
4412
- var application = stimulus_1.Application.start();
4413
- application.register("apply-template", apply_template_controller_1.default);
4414
- application.register("toggle-pending-destruction", toggle_pending_destruction_controller_1.default);
4415
- exports.default = {
4416
- StimulusApplication: application,
4417
- StimulusController: stimulus_1.Controller
4418
- };
4419
- },{"@rails/ujs":"../node_modules/@rails/ujs/lib/assets/compiled/rails-ujs.js","stimulus":"../node_modules/stimulus/index.js","./apply_template_controller":"javascripts/super/apply_template_controller.ts","./toggle_pending_destruction_controller":"javascripts/super/toggle_pending_destruction_controller.ts"}]},{},["javascripts/super/application.ts"], "Super")
4601
+ var _clean_filter_params_controller = _interopRequireDefault(require("./clean_filter_params_controller"));
4602
+
4603
+ var _delete_controller = _interopRequireDefault(require("./delete_controller"));
4604
+
4605
+ var _toggle_pending_destruction_controller = _interopRequireDefault(require("./toggle_pending_destruction_controller"));
4606
+
4607
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
4608
+
4609
+ _ujs.default.start();
4610
+
4611
+ var StimulusApplication = _stimulus.Application.start();
4612
+
4613
+ exports.StimulusApplication = StimulusApplication;
4614
+ StimulusApplication.register("apply-template", _apply_template_controller.default);
4615
+ StimulusApplication.register("clean-filter-param", _clean_filter_param_controller.default);
4616
+ StimulusApplication.register("clean-filter-params", _clean_filter_params_controller.default);
4617
+ StimulusApplication.register("delete", _delete_controller.default);
4618
+ StimulusApplication.register("toggle-pending-destruction", _toggle_pending_destruction_controller.default);
4619
+ },{"@rails/ujs":"../node_modules/@rails/ujs/lib/assets/compiled/rails-ujs.js","stimulus":"../node_modules/stimulus/index.js","./apply_template_controller":"javascripts/super/apply_template_controller.js","./clean_filter_param_controller":"javascripts/super/clean_filter_param_controller.js","./clean_filter_params_controller":"javascripts/super/clean_filter_params_controller.js","./delete_controller":"javascripts/super/delete_controller.js","./toggle_pending_destruction_controller":"javascripts/super/toggle_pending_destruction_controller.js"}]},{},["javascripts/super/application.js"], "Super")