five-two-nw-olivander 0.2.0.23 → 0.2.0.24
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c368febf0214492611afc69e3c6411448392438e2873d8892662cd41c4eac6d
|
4
|
+
data.tar.gz: 0c371dcac2dee3bec40de9f173a43ce1712e0f85b89d25fa857e6bf567222ae0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1ee2c1f994e25539abe0d5d66713e130825fea5deede854ebad41d5355699f90ad706b32226ea2940d42036837f3d98df874d7ab30d4557e842e6bfe54393e5
|
7
|
+
data.tar.gz: 7bbb1b4c278bdb17f0a8b005eced9bfb03b281abf7dd26d7f3d6da843338860894066fa39e261df47b5a6a68194e7efd949cff83c3fd0c84659ffe3b7635894a
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { Controller } from "@hotwired/stimulus"
|
2
|
+
|
3
|
+
// Connects to data-controller="auto-select2"
|
4
|
+
export default class extends Controller {
|
5
|
+
connect() {
|
6
|
+
var self = this,
|
7
|
+
el = self.element
|
8
|
+
$(el).select2({
|
9
|
+
dropdownParent: $(el).parent(),
|
10
|
+
minimumInputLength: el.dataset.minimumInputLength || 0,
|
11
|
+
placeholder: el.dataset.placeholder || 'Select...'
|
12
|
+
})
|
13
|
+
}
|
14
|
+
}
|
data/lib/olivander/engine.rb
CHANGED
@@ -4,7 +4,9 @@ module Olivander
|
|
4
4
|
|
5
5
|
initializer "olivander.assets.precompile" do |app|
|
6
6
|
app.config.assets.precompile += %w[
|
7
|
-
adminlte.js
|
7
|
+
adminlte.js
|
8
|
+
auto_select2.js
|
9
|
+
datatable_index_charts_controller.js
|
8
10
|
datatable_expandable_chart_controller.js
|
9
11
|
turbo_flash_controller.js
|
10
12
|
modal_controller.js
|
data/lib/olivander/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: five-two-nw-olivander
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.0.
|
4
|
+
version: 0.2.0.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Dennis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chartkick
|
@@ -212,6 +212,7 @@ files:
|
|
212
212
|
- app/assets/javascripts/adminlte/plugins/toastr/toastr.min.css
|
213
213
|
- app/assets/javascripts/adminlte/plugins/toastr/toastr.min.js
|
214
214
|
- app/assets/javascripts/adminlte/select2_defaults.coffee
|
215
|
+
- app/assets/javascripts/controllers/auto_select2_controller.js
|
215
216
|
- app/assets/javascripts/controllers/datatable_expandable_chart_controller.js
|
216
217
|
- app/assets/javascripts/controllers/datatable_index_charts_controller.js
|
217
218
|
- app/assets/javascripts/controllers/input_control_association_controller.js
|