five-two-nw-olivander 0.2.0.23 → 0.2.0.25
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: c66521cd7f23c0bd1c3cf0fef06d4018167c89622f723f473089b8eaf7f6779e
|
4
|
+
data.tar.gz: df1d9a27819f1be84ffed038d81a3b5e009e7d807be15acca333383676657cfe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a91c57dea019abd31b73a54ab3f472d6f604c3898a10e06d9ad688c1152b69cdd6181a4eb3f18f944c010545389527b309d6bab348402e133684bb5b912b88e
|
7
|
+
data.tar.gz: 7cde1697865b6e7689b38528e60c78374ded9309b3fc36031427868b51c96dcafb32d644939c929f65fed12eb930d7e662a43a7d9f72c00fbd0b35e940e304a1
|
@@ -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_controller.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.25
|
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
|