super 0.0.6 → 0.0.11

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 (112) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +2 -0
  3. data/CONTRIBUTING.md +56 -0
  4. data/README.md +55 -57
  5. data/Rakefile +16 -14
  6. data/STABILITY.md +50 -0
  7. data/app/assets/javascripts/super/application.js +297 -97
  8. data/app/assets/stylesheets/super/application.css +5600 -0
  9. data/app/controllers/super/application_controller.rb +15 -6
  10. data/app/helpers/super/form_builder_helper.rb +25 -0
  11. data/app/views/layouts/super/application.html.erb +22 -6
  12. data/app/views/super/application/_display_rich_text.html.erb +1 -0
  13. data/app/views/super/application/_filter.html.erb +6 -0
  14. data/app/views/super/application/_filter_type_select.html.erb +21 -0
  15. data/app/views/super/application/_filter_type_text.html.erb +18 -0
  16. data/app/views/super/application/_filter_type_timestamp.html.erb +24 -0
  17. data/app/views/super/application/_form_field__destroy.html.erb +1 -9
  18. data/app/views/super/application/_form_field_checkbox.html.erb +1 -0
  19. data/app/views/super/application/_form_field_rich_text_area.html.erb +1 -0
  20. data/app/views/super/application/_form_field_select.html.erb +1 -23
  21. data/app/views/super/application/_form_field_text.html.erb +1 -13
  22. data/app/views/super/application/_query.html.erb +18 -0
  23. data/app/views/super/application/_sort.html.erb +18 -0
  24. data/app/views/super/application/_sort_expression.html.erb +25 -0
  25. data/app/views/super/application/_super_layout.html.erb +5 -5
  26. data/app/views/super/application/_super_pagination.html.erb +16 -0
  27. data/app/views/super/application/_super_panel.html.erb +2 -2
  28. data/app/views/super/application/_super_schema_display_index.html.erb +9 -24
  29. data/app/views/super/application/_super_schema_display_show.html.erb +4 -4
  30. data/app/views/super/application/_super_schema_form.html.erb +3 -3
  31. data/app/views/super/application/edit.html.erb +2 -6
  32. data/app/views/super/application/index.html.erb +2 -6
  33. data/app/views/super/application/new.html.erb +2 -6
  34. data/app/views/super/application/show.html.erb +2 -6
  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/README.md +4 -2
  39. data/docs/action_text.md +48 -0
  40. data/docs/cheat.md +8 -8
  41. data/docs/faq.md +3 -3
  42. data/docs/installation.md +21 -0
  43. data/docs/quick_start.md +1 -16
  44. data/docs/webpacker.md +13 -5
  45. data/docs/yard_customizations.rb +2 -0
  46. data/frontend/super-frontend/dist/application.css +5600 -0
  47. data/frontend/super-frontend/dist/application.js +297 -97
  48. data/lib/generators/super/action_text/USAGE +23 -0
  49. data/lib/generators/super/action_text/action_text_generator.rb +32 -0
  50. data/lib/generators/super/action_text/templates/pack_super_action_text.css +23 -0
  51. data/lib/generators/super/action_text/templates/pack_super_action_text.js +4 -0
  52. data/lib/generators/super/install/install_generator.rb +2 -0
  53. data/lib/generators/super/resource/resource_generator.rb +2 -0
  54. data/lib/generators/super/resource/templates/resources_controller.rb.tt +1 -31
  55. data/lib/generators/super/webpacker/USAGE +5 -4
  56. data/lib/generators/super/webpacker/webpacker_generator.rb +5 -2
  57. data/lib/super.rb +23 -2
  58. data/lib/super/action_inquirer.rb +2 -0
  59. data/lib/super/assets.rb +114 -38
  60. data/lib/super/client_error.rb +2 -0
  61. data/lib/super/compatibility.rb +15 -1
  62. data/lib/super/configuration.rb +22 -69
  63. data/lib/super/controls.rb +6 -25
  64. data/lib/super/controls/optional.rb +71 -24
  65. data/lib/super/controls/required.rb +3 -29
  66. data/lib/super/controls/steps.rb +44 -53
  67. data/lib/super/controls/view.rb +55 -0
  68. data/lib/super/display.rb +80 -0
  69. data/lib/super/display/guesser.rb +36 -0
  70. data/lib/super/display/schema_types.rb +28 -33
  71. data/lib/super/engine.rb +11 -1
  72. data/lib/super/error.rb +14 -0
  73. data/lib/super/filter.rb +14 -0
  74. data/lib/super/filter/form_object.rb +94 -0
  75. data/lib/super/filter/guesser.rb +32 -0
  76. data/lib/super/filter/operator.rb +105 -0
  77. data/lib/super/filter/schema_types.rb +114 -0
  78. data/lib/super/form.rb +29 -40
  79. data/lib/super/form/builder.rb +206 -0
  80. data/lib/super/form/guesser.rb +29 -0
  81. data/lib/super/form/inline_errors.rb +28 -0
  82. data/lib/super/form/schema_types.rb +31 -29
  83. data/lib/super/form/strong_params.rb +31 -0
  84. data/lib/super/layout.rb +2 -0
  85. data/lib/super/link.rb +2 -0
  86. data/lib/super/navigation/automatic.rb +2 -0
  87. data/lib/super/pagination.rb +57 -0
  88. data/lib/super/panel.rb +2 -0
  89. data/lib/super/partial.rb +14 -0
  90. data/lib/super/partial/resolving.rb +2 -0
  91. data/lib/super/plugin.rb +36 -63
  92. data/lib/super/query/form_object.rb +48 -0
  93. data/lib/super/schema.rb +2 -24
  94. data/lib/super/schema/common.rb +27 -0
  95. data/lib/super/schema/guesser.rb +79 -0
  96. data/lib/super/sort.rb +110 -0
  97. data/lib/super/version.rb +3 -1
  98. data/lib/super/view_helper.rb +2 -19
  99. metadata +74 -22
  100. data/app/helpers/super/application_helper.rb +0 -39
  101. data/app/views/super/application/_form_inline_errors.html.erb +0 -10
  102. data/frontend/super-frontend/build.js +0 -36
  103. data/frontend/super-frontend/package.json +0 -21
  104. data/frontend/super-frontend/postcss.config.js +0 -6
  105. data/frontend/super-frontend/src/javascripts/super/application.ts +0 -18
  106. data/frontend/super-frontend/src/javascripts/super/apply_template_controller.ts +0 -19
  107. data/frontend/super-frontend/src/javascripts/super/rails__ujs.d.ts +0 -1
  108. data/frontend/super-frontend/src/javascripts/super/toggle_pending_destruction_controller.ts +0 -15
  109. data/frontend/super-frontend/src/stylesheets/super/application.css +0 -77
  110. data/frontend/super-frontend/tailwind.config.js +0 -15
  111. data/frontend/super-frontend/tsconfig.json +0 -13
  112. data/frontend/super-frontend/yarn.lock +0 -5448
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cfd2be7e756bd5000efcf53557039621d67df3705df3a35c5806256c66ee4e96
4
- data.tar.gz: eccb74df362766a46c1fc951ca327168a4febb06cacd11f3297201e898576053
3
+ metadata.gz: 05520525a7f38fff438eee43a134b9b2e52ac3551098c177323cdb87fd193670
4
+ data.tar.gz: 0db34e8d60114592b824ec79a2318a11743fe676291859ccec0d81615ce77bfb
5
5
  SHA512:
6
- metadata.gz: 85ab056714996f2030f786e4f9498761b41374614078a7fd27155a1200cce25b583361d5b44f02c7f1bf88b6792e83ea40c9985bd6f5c51f3e117b0950732b7c
7
- data.tar.gz: 5e7dc0e1216c67fb5a24cb392dc5d5f1193dbc4ac8acafc39afadd42809ba7cd15c813b729fef9e3026a87cdfaf69eadfe3ef670b9099b62d75fde1c8d14c058
6
+ metadata.gz: 489419d94f150b08399cfab907773f7cbafc08d7bbf6d2db3af0b8966b81b5cfc1d547fe1a8bb066f72fdac41b04d4b6295715468356de9442d66ae546ff890a
7
+ data.tar.gz: 806ca79ae33691eca540cd1350210ef4cf75fc427be26731068f307687e50643fe02999c473a39d90fe58f267e2f3aa5bd5e35d580c273b625f787c7176941b3
data/.yardopts CHANGED
@@ -6,6 +6,8 @@ CONTRIBUTING.md
6
6
  STABILITY.md
7
7
  LICENSE
8
8
  docs/quick_start.md
9
+ docs/installation.md
9
10
  docs/webpacker.md
11
+ docs/action_text.md
10
12
  docs/cheat.md
11
13
  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,90 +1,92 @@
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/try-demo-blue)][demo]
6
+
7
+
3
8
  Super is an admin framework for Ruby on Rails applications. Super helps you make
4
- powerful admin pages quickly.
9
+ powerful admin pages quickly so that you can concentrate on the parts of your
10
+ app that make it great.
5
11
 
6
12
  Super strives to let engineers build great admin pages quickly and easily by:
7
13
 
8
- * Providing a useful CRUD interface
9
- * Relying on Rails' built in features whenever possible
10
- * Preferring plain Ruby objects rather than requiring DSLs
11
- * Supporting a wide range of Ruby and Rails versions
12
- * Having zero dependencies
14
+ * Providing a configurable CRUD interface with usable defaults
15
+ * Building on top of standard Rails controllers and ERB views
16
+ * Preferring plain Ruby objects and initializers instead of DSLs
17
+
13
18
 
19
+ Super's distinguishing feature is that it's easy to maintain in your
20
+ application. It does this by:
14
21
 
15
- Super has no dependencies. That means when you install Super, only Super gets
16
- added to your `Gemfile.lock`. This leads to many benefits:
22
+ * Supporting a wide range of Ruby (2.3–3.0+) and Rails (5.0–6.1+) versions,
23
+ which makes it easy to upgrade your Ruby and Rails versions without breaking
24
+ your admin pages
25
+ * Having zero dependencies, so that you can upgrade your app's dependencies
26
+ without affecting your admin pages (or upgrade your admin pages without
27
+ worrying it might break your app)
17
28
 
18
- * Super doesn't require common Rails libraries like [Kaminari][Kaminari],
19
- [Devise][Devise], or [Sass][Sass], so it'll never conflict with the libraries
20
- you have installed. If you want to upgrade Super, you won't have to upgrade
21
- any of your other gems. And if you want to upgrade your other gems, you won't
22
- have to upgrade Super! This will greatly reduce your maintenance burden since
23
- your admin framework won't dictate which libraries and which versions your
24
- application uses.
25
- * All code has the possibility of bugs and security issues, whether they're
26
- written by you or by others. Having fewer dependencies can reduce the risk of
27
- introducing problems into your application.
29
+
30
+ Note: There may be lots of breaking changes since Super is still fairly young.
31
+ See the [stability doc](./STABILITY.md) for an idea of what might be changed.
28
32
 
29
33
 
30
34
  ## Features
31
35
 
32
- * Sprockets and Webpacker compatibility
33
- * Note: Webpacker support depends on one additional NPM package for parsing
34
- ERB
35
- * Configurable forms (new and edit forms)
36
- * Nested associations are supported out of the box
36
+ * Responsive and mobile-friendly
37
+ * Compatible with Sprockets and Webpacker
38
+ * Configurable forms
39
+ * Supports nested attributes `accepts_nested_attributes_for`
37
40
  * Configurable display (index and show tables)
41
+ * Advanced filtering for ActiveRecord
38
42
  * Pre-built frontend assets (doesn't require Sass, PostCSS, Babel, etc)
39
43
  * Vendored assets include
40
44
  * Stimulus JS
41
- * Rails UJS
42
45
  * Tailwind CSS
46
+ * Rails UJS
43
47
  * Supports Rails 5.0+, Ruby 2.3+
44
48
 
45
49
 
46
- ## Super doesn't fit my needs. What should I look at?
50
+ See the [demo][demo] and its [source][demo_source] for an example of some of its
51
+ features.
47
52
 
48
- There are lots of Rails admin frameworks. I've personally used
49
- [ActiveAdmin][ActiveAdmin] and [Administrate][Administrate], and I had some
50
- brief exposure to [RailsAdmin][RailsAdmin].
51
53
 
52
- If you need a ton of features, I'd probably suggest looking at ActiveAdmin. It
53
- relies pretty heavily on DSLs but is pretty flexible and popular.
54
+ ## Installation and Usage
54
55
 
55
- I like Administrate as well. I found that it doesn't have quite as many features
56
- as ActiveAdmin, but it's nice and feels like developing a normal Rails app.
57
- There's no DSL.
56
+ See [Installation](./docs/quick_start.md) and
57
+ [Quick start](./docs/quick_start.md)
58
58
 
59
59
 
60
- ## Professional edition
60
+ ## Editions
61
61
 
62
- Super Professional is a paid add-on that provides additional benefits:
62
+ There are several editions to consider.
63
63
 
64
- * Productivity improvements and quality of life features for admins
65
- * Priority email support
66
- * Supporting long term development of Super
67
- * An LGPL exemption
64
+ **Super FOSS** provides:
68
65
 
69
- It isn't available yet. Contact me if you're interested, or subscribe to the
70
- [newsletter][newsletter] to be notified of its availability and for brief,
71
- occasional updates to Super.
66
+ * A great admin framework that's free and easy to maintain
67
+ * Community support, see the [discussion forum][discussions]
72
68
 
69
+ **Super Premium** (not available yet) provides:
73
70
 
74
- ## Demos
71
+ * Private email support
72
+ * Ensuring long term development of Super
75
73
 
76
- * [Super Demo][super_demo]
77
- * [Super Demo source][super_demo_source]
74
+ **Super Professional** (not available yet) provides everything in Premium and:
78
75
 
76
+ * Productivity improvements and quality of life features for admins
77
+ * An LGPL exemption
79
78
 
80
- ## Installation and Usage
79
+ Subscribe to the [newsletter][newsletter] to be notified of their availabilities
80
+ and for brief, quarterly-at-most updates to Super.
81
81
 
82
- See [Quick start](./docs/quick_start.md)
83
82
 
83
+ ## Super doesn't fit my needs. What are some alternatives?
84
84
 
85
- ## Path to 1.0
85
+ [ActiveAdmin](https://github.com/activeadmin/activeadmin) is great if you need
86
+ lots of features. It relies heavily on DSLs but is flexible and popular.
86
87
 
87
- See [STABILITY](./STABILITY.md)
88
+ [Administrate](https://github.com/thoughtbot/administrate) doesn't have as many
89
+ features as ActiveAdmin, but it feels like developing a normal Rails app.
88
90
 
89
91
 
90
92
  ## Contributing
@@ -97,12 +99,8 @@ See [CONTRIBUTING](./CONTRIBUTING.md)
97
99
  The gem is available under the terms of the [GNU LGPLv3](./LICENSE).
98
100
 
99
101
 
100
- [Administrate]: https://github.com/thoughtbot/administrate
101
- [ActiveAdmin]: https://github.com/activeadmin/activeadmin
102
- [RailsAdmin]: https://github.com/sferik/rails_admin
103
- [Kaminari]: https://github.com/kaminari/kaminari
104
- [Devise]: https://github.com/heartcombo/devise
105
- [Sass]: https://github.com/sass/sassc-ruby
102
+ [gem]: https://rubygems.org/gems/super
103
+ [discussions]: https://github.com/zachahn/super/discussions
106
104
  [newsletter]: https://tinyletter.com/zachahn
107
- [super_demo]: https://demo-super.herokuapp.com/admin/members
108
- [super_demo_source]: https://github.com/zachahn/super_demo
105
+ [demo]: https://demo-super.herokuapp.com/admin/members
106
+ [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
 
data/STABILITY.md ADDED
@@ -0,0 +1,50 @@
1
+ # Stability
2
+
3
+ The table below shows the current progress towards API stability and the release
4
+ of version 1.0.
5
+
6
+ Note though that it is neither a comprehensive list nor a guarantee of
7
+ stability.
8
+
9
+
10
+ <table>
11
+ <thead>
12
+ <tr><th>Feature</th><th>Status</th></tr>
13
+ </thead>
14
+ <tbody>
15
+ <tr><td>UI</td> <td>❌</td></tr>
16
+ <tr><td>Frontend JS</td> <td>❌</td></tr>
17
+ <tr><td><code>Super::ActionInquirer</code></td> <td>✅</td></tr>
18
+ <tr><td><code>Super::ApplicationController</code></td> <td>✅</td></tr>
19
+ <tr><td><code>Super::Assets</code></td> <td>🚧</td></tr>
20
+ <tr><td><code>Super::ClientError</code></td> <td>✅</td></tr>
21
+ <tr><td><code>Super::Compatability</code></td> <td>🙈</td></tr>
22
+ <tr><td><code>Super::Configuration</code></td> <td>🚧</td></tr>
23
+ <tr><td><code>Super::Controls::Optional</code></td> <td>✅</td></tr>
24
+ <tr><td><code>Super::Controls::Required</code></td> <td>✅</td></tr>
25
+ <tr><td><code>Super::Controls::Steps</code></td> <td>🚧</td></tr>
26
+ <tr><td><code>Super::Controls</code></td> <td>✅</td></tr>
27
+ <tr><td><code>Super::Display</code></td> <td>🤔</td></tr>
28
+ <tr><td><code>Super::Engine</code></td> <td>🙈</td></tr>
29
+ <tr><td><code>Super::Error</code></td> <td>✅</td></tr>
30
+ <tr><td><code>Super::Filter</code></td> <td>❌</td></tr>
31
+ <tr><td><code>Super::Form</code></td> <td>🤔</td></tr>
32
+ <tr><td><code>Super::Layout</code></td> <td>🤔</td></tr>
33
+ <tr><td><code>Super::Link</code></td> <td>✅</td></tr>
34
+ <tr><td><code>Super::Navigation</code></td> <td>🤔</td></tr>
35
+ <tr><td><code>Super::Pagination</code></td> <td>🤔</td></tr>
36
+ <tr><td><code>Super::Panel</code></td> <td>🤔</td></tr>
37
+ <tr><td><code>Super::Partial</code></td> <td>🤔</td></tr>
38
+ <tr><td><code>Super::Plugin</code></td> <td>✅</td></tr>
39
+ <tr><td><code>Super::ViewHelper</code></td> <td>❌</td></tr>
40
+ </tbody>
41
+ </table>
42
+
43
+
44
+ ### Legend
45
+
46
+ * ✅ Tentatively stable. Further changes will probably be additive
47
+ * 🚧 Likely upcoming breaking changes
48
+ * ❌ Planned upcoming breaking changes
49
+ * 🤔 Undecided
50
+ * 🙈 Private API
@@ -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")