locomotivecms 3.1.1 → 3.1.2
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.
- checksums.yaml +4 -4
- data/lib/generators/locomotive/install/templates/mongoid_heroku.yml +3 -3
- data/lib/locomotive/version.rb +1 -1
- data/spec/requests/locomotive/steam/cache_spec.rb +1 -1
- metadata +4 -911
- data/vendor/assets/components/locomotive_sources/backbone/LICENSE +0 -22
- data/vendor/assets/components/locomotive_sources/backbone/backbone-min.js +0 -2
- data/vendor/assets/components/locomotive_sources/backbone/backbone-min.map +0 -1
- data/vendor/assets/components/locomotive_sources/backbone/backbone.js +0 -1894
- data/vendor/assets/components/locomotive_sources/backbone/bower.json +0 -8
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/Gruntfile.js +0 -82
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/LICENSE +0 -20
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/README.md +0 -92
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/bootstrap-tagsinput.jquery.json +0 -27
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/bower.json +0 -42
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput-angular.js +0 -87
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput-angular.min.js +0 -7
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput-angular.min.js.map +0 -1
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput-typeahead.css +0 -49
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput.css +0 -55
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput.js +0 -663
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput.less +0 -50
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput.min.js +0 -7
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput.min.js.map +0 -1
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput.zip +0 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/assets/app.css +0 -67
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/assets/app.js +0 -15
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/assets/app_bs2.js +0 -74
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/assets/app_bs3.js +0 -95
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/assets/cities.json +0 -16
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/assets/citynames.json +0 -16
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/bootstrap-2.3.2.html +0 -666
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/index.html +0 -742
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/karma.conf.js +0 -20
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/package.json +0 -47
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/src/bootstrap-tagsinput-angular.js +0 -87
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/src/bootstrap-tagsinput-typeahead.css +0 -49
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/src/bootstrap-tagsinput.css +0 -55
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/src/bootstrap-tagsinput.js +0 -663
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/CONTRIBUTING.md +0 -38
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/Gruntfile.js +0 -191
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/LICENSE +0 -21
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/README.md +0 -37
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/bower.json +0 -35
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker-standalone.css +0 -103
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.css +0 -373
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css +0 -5
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js +0 -9
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/component.json +0 -9
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/composer.json +0 -28
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/ChangeLog.md +0 -222
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/ContributorsGuide.md +0 -126
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Events.md +0 -96
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Extras.md +0 -95
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/FAQ.md +0 -22
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Functions.md +0 -670
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Installing.md +0 -161
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Options.md +0 -473
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Version 4 Changelog.md +0 -6
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Version 4 Contributors guide.md +0 -6
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/index.md +0 -592
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/mkdocs.yml +0 -17
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/package.json +0 -43
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js +0 -2552
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/less/_bootstrap-datetimepicker.less +0 -352
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/less/bootstrap-datetimepicker-build.less +0 -17
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/nuget/Bootstrap.v3.Datetimepicker.CSS.nuspec +0 -34
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/nuget/Bootstrap.v3.Datetimepicker.nuspec +0 -34
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/nuget/NuGet.exe +0 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/nuget/install.ps1 +0 -2
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/sass/_bootstrap-datetimepicker.scss +0 -343
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/sass/bootstrap-datetimepicker-build.scss +0 -16
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/tasks/bump_version.js +0 -88
- data/vendor/assets/components/locomotive_sources/jquery/MIT-LICENSE.txt +0 -21
- data/vendor/assets/components/locomotive_sources/jquery/bower.json +0 -28
- data/vendor/assets/components/locomotive_sources/jquery/dist/jquery.js +0 -9210
- data/vendor/assets/components/locomotive_sources/jquery/dist/jquery.min.js +0 -5
- data/vendor/assets/components/locomotive_sources/jquery/dist/jquery.min.map +0 -1
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax.js +0 -786
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/jsonp.js +0 -89
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/load.js +0 -75
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/parseJSON.js +0 -13
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/parseXML.js +0 -28
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/script.js +0 -64
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/var/nonce.js +0 -5
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/var/rquery.js +0 -3
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/xhr.js +0 -136
- data/vendor/assets/components/locomotive_sources/jquery/src/attributes.js +0 -11
- data/vendor/assets/components/locomotive_sources/jquery/src/attributes/attr.js +0 -141
- data/vendor/assets/components/locomotive_sources/jquery/src/attributes/classes.js +0 -158
- data/vendor/assets/components/locomotive_sources/jquery/src/attributes/prop.js +0 -94
- data/vendor/assets/components/locomotive_sources/jquery/src/attributes/support.js +0 -35
- data/vendor/assets/components/locomotive_sources/jquery/src/attributes/val.js +0 -161
- data/vendor/assets/components/locomotive_sources/jquery/src/callbacks.js +0 -205
- data/vendor/assets/components/locomotive_sources/jquery/src/core.js +0 -502
- data/vendor/assets/components/locomotive_sources/jquery/src/core/access.js +0 -60
- data/vendor/assets/components/locomotive_sources/jquery/src/core/init.js +0 -123
- data/vendor/assets/components/locomotive_sources/jquery/src/core/parseHTML.js +0 -39
- data/vendor/assets/components/locomotive_sources/jquery/src/core/ready.js +0 -97
- data/vendor/assets/components/locomotive_sources/jquery/src/core/var/rsingleTag.js +0 -4
- data/vendor/assets/components/locomotive_sources/jquery/src/css.js +0 -450
- data/vendor/assets/components/locomotive_sources/jquery/src/css/addGetHookIf.js +0 -22
- data/vendor/assets/components/locomotive_sources/jquery/src/css/curCSS.js +0 -57
- data/vendor/assets/components/locomotive_sources/jquery/src/css/defaultDisplay.js +0 -70
- data/vendor/assets/components/locomotive_sources/jquery/src/css/hiddenVisibleSelectors.js +0 -15
- data/vendor/assets/components/locomotive_sources/jquery/src/css/support.js +0 -96
- data/vendor/assets/components/locomotive_sources/jquery/src/css/swap.js +0 -28
- data/vendor/assets/components/locomotive_sources/jquery/src/css/var/cssExpand.js +0 -3
- data/vendor/assets/components/locomotive_sources/jquery/src/css/var/getStyles.js +0 -12
- data/vendor/assets/components/locomotive_sources/jquery/src/css/var/isHidden.js +0 -13
- data/vendor/assets/components/locomotive_sources/jquery/src/css/var/rmargin.js +0 -3
- data/vendor/assets/components/locomotive_sources/jquery/src/css/var/rnumnonpx.js +0 -5
- data/vendor/assets/components/locomotive_sources/jquery/src/data.js +0 -178
- data/vendor/assets/components/locomotive_sources/jquery/src/data/Data.js +0 -181
- data/vendor/assets/components/locomotive_sources/jquery/src/data/accepts.js +0 -20
- data/vendor/assets/components/locomotive_sources/jquery/src/data/var/data_priv.js +0 -5
- data/vendor/assets/components/locomotive_sources/jquery/src/data/var/data_user.js +0 -5
- data/vendor/assets/components/locomotive_sources/jquery/src/deferred.js +0 -149
- data/vendor/assets/components/locomotive_sources/jquery/src/deprecated.js +0 -13
- data/vendor/assets/components/locomotive_sources/jquery/src/dimensions.js +0 -50
- data/vendor/assets/components/locomotive_sources/jquery/src/effects.js +0 -648
- data/vendor/assets/components/locomotive_sources/jquery/src/effects/Tween.js +0 -114
- data/vendor/assets/components/locomotive_sources/jquery/src/effects/animatedSelector.js +0 -13
- data/vendor/assets/components/locomotive_sources/jquery/src/event.js +0 -868
- data/vendor/assets/components/locomotive_sources/jquery/src/event/ajax.js +0 -13
- data/vendor/assets/components/locomotive_sources/jquery/src/event/alias.js +0 -39
- data/vendor/assets/components/locomotive_sources/jquery/src/event/support.js +0 -9
- data/vendor/assets/components/locomotive_sources/jquery/src/exports/amd.js +0 -24
- data/vendor/assets/components/locomotive_sources/jquery/src/exports/global.js +0 -32
- data/vendor/assets/components/locomotive_sources/jquery/src/intro.js +0 -44
- data/vendor/assets/components/locomotive_sources/jquery/src/jquery.js +0 -37
- data/vendor/assets/components/locomotive_sources/jquery/src/manipulation.js +0 -580
- data/vendor/assets/components/locomotive_sources/jquery/src/manipulation/_evalUrl.js +0 -18
- data/vendor/assets/components/locomotive_sources/jquery/src/manipulation/support.js +0 -32
- data/vendor/assets/components/locomotive_sources/jquery/src/manipulation/var/rcheckableType.js +0 -3
- data/vendor/assets/components/locomotive_sources/jquery/src/offset.js +0 -207
- data/vendor/assets/components/locomotive_sources/jquery/src/outro.js +0 -1
- data/vendor/assets/components/locomotive_sources/jquery/src/queue.js +0 -142
- data/vendor/assets/components/locomotive_sources/jquery/src/queue/delay.js +0 -22
- data/vendor/assets/components/locomotive_sources/jquery/src/selector-native.js +0 -172
- data/vendor/assets/components/locomotive_sources/jquery/src/selector-sizzle.js +0 -14
- data/vendor/assets/components/locomotive_sources/jquery/src/selector.js +0 -1
- data/vendor/assets/components/locomotive_sources/jquery/src/serialize.js +0 -111
- data/vendor/assets/components/locomotive_sources/jquery/src/sizzle/dist/sizzle.js +0 -2067
- data/vendor/assets/components/locomotive_sources/jquery/src/sizzle/dist/sizzle.min.js +0 -3
- data/vendor/assets/components/locomotive_sources/jquery/src/sizzle/dist/sizzle.min.map +0 -1
- data/vendor/assets/components/locomotive_sources/jquery/src/traversing.js +0 -199
- data/vendor/assets/components/locomotive_sources/jquery/src/traversing/findFilter.js +0 -100
- data/vendor/assets/components/locomotive_sources/jquery/src/traversing/var/rneedsContext.js +0 -6
- data/vendor/assets/components/locomotive_sources/jquery/src/var/arr.js +0 -3
- data/vendor/assets/components/locomotive_sources/jquery/src/var/class2type.js +0 -4
- data/vendor/assets/components/locomotive_sources/jquery/src/var/concat.js +0 -5
- data/vendor/assets/components/locomotive_sources/jquery/src/var/hasOwn.js +0 -5
- data/vendor/assets/components/locomotive_sources/jquery/src/var/indexOf.js +0 -5
- data/vendor/assets/components/locomotive_sources/jquery/src/var/pnum.js +0 -3
- data/vendor/assets/components/locomotive_sources/jquery/src/var/push.js +0 -5
- data/vendor/assets/components/locomotive_sources/jquery/src/var/rnotwhite.js +0 -3
- data/vendor/assets/components/locomotive_sources/jquery/src/var/slice.js +0 -5
- data/vendor/assets/components/locomotive_sources/jquery/src/var/strundefined.js +0 -3
- data/vendor/assets/components/locomotive_sources/jquery/src/var/support.js +0 -4
- data/vendor/assets/components/locomotive_sources/jquery/src/var/toString.js +0 -5
- data/vendor/assets/components/locomotive_sources/jquery/src/wrap.js +0 -79
- data/vendor/assets/components/locomotive_sources/moment-timezone/LICENSE +0 -20
- data/vendor/assets/components/locomotive_sources/moment-timezone/README.md +0 -36
- data/vendor/assets/components/locomotive_sources/moment-timezone/bower.json +0 -18
- data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone-with-data-2010-2020.js +0 -1189
- data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone-with-data-2010-2020.min.js +0 -7
- data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone-with-data.js +0 -1189
- data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone-with-data.min.js +0 -7
- data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone.min.js +0 -6
- data/vendor/assets/components/locomotive_sources/moment-timezone/changelog.md +0 -101
- data/vendor/assets/components/locomotive_sources/moment-timezone/composer.json +0 -43
- data/vendor/assets/components/locomotive_sources/moment-timezone/data/meta/latest.json +0 -5012
- data/vendor/assets/components/locomotive_sources/moment-timezone/data/packed/latest.json +0 -590
- data/vendor/assets/components/locomotive_sources/moment-timezone/data/unpacked/latest.json +0 -124081
- data/vendor/assets/components/locomotive_sources/moment-timezone/moment-timezone-utils.js +0 -316
- data/vendor/assets/components/locomotive_sources/moment-timezone/moment-timezone.js +0 -599
- data/vendor/assets/components/locomotive_sources/moment/CHANGELOG.md +0 -496
- data/vendor/assets/components/locomotive_sources/moment/LICENSE +0 -22
- data/vendor/assets/components/locomotive_sources/moment/README.md +0 -58
- data/vendor/assets/components/locomotive_sources/moment/bower.json +0 -22
- data/vendor/assets/components/locomotive_sources/moment/locale/af.js +0 -73
- data/vendor/assets/components/locomotive_sources/moment/locale/ar-ma.js +0 -59
- data/vendor/assets/components/locomotive_sources/moment/locale/ar-sa.js +0 -103
- data/vendor/assets/components/locomotive_sources/moment/locale/ar-tn.js +0 -57
- data/vendor/assets/components/locomotive_sources/moment/locale/ar.js +0 -136
- data/vendor/assets/components/locomotive_sources/moment/locale/az.js +0 -104
- data/vendor/assets/components/locomotive_sources/moment/locale/be.js +0 -134
- data/vendor/assets/components/locomotive_sources/moment/locale/bg.js +0 -90
- data/vendor/assets/components/locomotive_sources/moment/locale/bn.js +0 -113
- data/vendor/assets/components/locomotive_sources/moment/locale/bo.js +0 -110
- data/vendor/assets/components/locomotive_sources/moment/locale/br.js +0 -107
- data/vendor/assets/components/locomotive_sources/moment/locale/bs.js +0 -141
- data/vendor/assets/components/locomotive_sources/moment/locale/ca.js +0 -79
- data/vendor/assets/components/locomotive_sources/moment/locale/cs.js +0 -171
- data/vendor/assets/components/locomotive_sources/moment/locale/cv.js +0 -63
- data/vendor/assets/components/locomotive_sources/moment/locale/cy.js +0 -79
- data/vendor/assets/components/locomotive_sources/moment/locale/da.js +0 -60
- data/vendor/assets/components/locomotive_sources/moment/locale/de-at.js +0 -77
- data/vendor/assets/components/locomotive_sources/moment/locale/de.js +0 -76
- data/vendor/assets/components/locomotive_sources/moment/locale/dv.js +0 -99
- data/vendor/assets/components/locomotive_sources/moment/locale/el.js +0 -98
- data/vendor/assets/components/locomotive_sources/moment/locale/en-au.js +0 -66
- data/vendor/assets/components/locomotive_sources/moment/locale/en-ca.js +0 -63
- data/vendor/assets/components/locomotive_sources/moment/locale/en-gb.js +0 -67
- data/vendor/assets/components/locomotive_sources/moment/locale/en-ie.js +0 -67
- data/vendor/assets/components/locomotive_sources/moment/locale/en-nz.js +0 -66
- data/vendor/assets/components/locomotive_sources/moment/locale/eo.js +0 -73
- data/vendor/assets/components/locomotive_sources/moment/locale/es.js +0 -79
- data/vendor/assets/components/locomotive_sources/moment/locale/et.js +0 -80
- data/vendor/assets/components/locomotive_sources/moment/locale/eu.js +0 -64
- data/vendor/assets/components/locomotive_sources/moment/locale/fa.js +0 -105
- data/vendor/assets/components/locomotive_sources/moment/locale/fi.js +0 -107
- data/vendor/assets/components/locomotive_sources/moment/locale/fo.js +0 -60
- data/vendor/assets/components/locomotive_sources/moment/locale/fr-ca.js +0 -58
- data/vendor/assets/components/locomotive_sources/moment/locale/fr-ch.js +0 -62
- data/vendor/assets/components/locomotive_sources/moment/locale/fr.js +0 -62
- data/vendor/assets/components/locomotive_sources/moment/locale/fy.js +0 -71
- data/vendor/assets/components/locomotive_sources/moment/locale/gd.js +0 -76
- data/vendor/assets/components/locomotive_sources/moment/locale/gl.js +0 -75
- data/vendor/assets/components/locomotive_sources/moment/locale/he.js +0 -82
- data/vendor/assets/components/locomotive_sources/moment/locale/hi.js +0 -123
- data/vendor/assets/components/locomotive_sources/moment/locale/hr.js +0 -143
- data/vendor/assets/components/locomotive_sources/moment/locale/hu.js +0 -109
- data/vendor/assets/components/locomotive_sources/moment/locale/hy-am.js +0 -95
- data/vendor/assets/components/locomotive_sources/moment/locale/id.js +0 -83
- data/vendor/assets/components/locomotive_sources/moment/locale/is.js +0 -127
- data/vendor/assets/components/locomotive_sources/moment/locale/it.js +0 -70
- data/vendor/assets/components/locomotive_sources/moment/locale/ja.js +0 -65
- data/vendor/assets/components/locomotive_sources/moment/locale/jv.js +0 -83
- data/vendor/assets/components/locomotive_sources/moment/locale/ka.js +0 -89
- data/vendor/assets/components/locomotive_sources/moment/locale/kk.js +0 -87
- data/vendor/assets/components/locomotive_sources/moment/locale/km.js +0 -58
- data/vendor/assets/components/locomotive_sources/moment/locale/ko.js +0 -68
- data/vendor/assets/components/locomotive_sources/moment/locale/lb.js +0 -134
- data/vendor/assets/components/locomotive_sources/moment/locale/lo.js +0 -69
- data/vendor/assets/components/locomotive_sources/moment/locale/lt.js +0 -115
- data/vendor/assets/components/locomotive_sources/moment/locale/lv.js +0 -96
- data/vendor/assets/components/locomotive_sources/moment/locale/me.js +0 -109
- data/vendor/assets/components/locomotive_sources/moment/locale/mk.js +0 -90
- data/vendor/assets/components/locomotive_sources/moment/locale/ml.js +0 -71
- data/vendor/assets/components/locomotive_sources/moment/locale/mr.js +0 -158
- data/vendor/assets/components/locomotive_sources/moment/locale/ms-my.js +0 -82
- data/vendor/assets/components/locomotive_sources/moment/locale/ms.js +0 -82
- data/vendor/assets/components/locomotive_sources/moment/locale/my.js +0 -93
- data/vendor/assets/components/locomotive_sources/moment/locale/nb.js +0 -61
- data/vendor/assets/components/locomotive_sources/moment/locale/ne.js +0 -121
- data/vendor/assets/components/locomotive_sources/moment/locale/nl.js +0 -71
- data/vendor/assets/components/locomotive_sources/moment/locale/nn.js +0 -60
- data/vendor/assets/components/locomotive_sources/moment/locale/pl.js +0 -105
- data/vendor/assets/components/locomotive_sources/moment/locale/pt-br.js +0 -60
- data/vendor/assets/components/locomotive_sources/moment/locale/pt.js +0 -64
- data/vendor/assets/components/locomotive_sources/moment/locale/ro.js +0 -74
- data/vendor/assets/components/locomotive_sources/moment/locale/ru.js +0 -166
- data/vendor/assets/components/locomotive_sources/moment/locale/se.js +0 -61
- data/vendor/assets/components/locomotive_sources/moment/locale/si.js +0 -66
- data/vendor/assets/components/locomotive_sources/moment/locale/sk.js +0 -150
- data/vendor/assets/components/locomotive_sources/moment/locale/sl.js +0 -160
- data/vendor/assets/components/locomotive_sources/moment/locale/sq.js +0 -69
- data/vendor/assets/components/locomotive_sources/moment/locale/sr-cyrl.js +0 -108
- data/vendor/assets/components/locomotive_sources/moment/locale/sr.js +0 -108
- data/vendor/assets/components/locomotive_sources/moment/locale/sv.js +0 -67
- data/vendor/assets/components/locomotive_sources/moment/locale/sw.js +0 -58
- data/vendor/assets/components/locomotive_sources/moment/locale/ta.js +0 -129
- data/vendor/assets/components/locomotive_sources/moment/locale/te.js +0 -88
- data/vendor/assets/components/locomotive_sources/moment/locale/th.js +0 -65
- data/vendor/assets/components/locomotive_sources/moment/locale/tl-ph.js +0 -62
- data/vendor/assets/components/locomotive_sources/moment/locale/tlh.js +0 -119
- data/vendor/assets/components/locomotive_sources/moment/locale/tr.js +0 -90
- data/vendor/assets/components/locomotive_sources/moment/locale/tzl.js +0 -87
- data/vendor/assets/components/locomotive_sources/moment/locale/tzm-latn.js +0 -58
- data/vendor/assets/components/locomotive_sources/moment/locale/tzm.js +0 -58
- data/vendor/assets/components/locomotive_sources/moment/locale/uk.js +0 -146
- data/vendor/assets/components/locomotive_sources/moment/locale/uz.js +0 -58
- data/vendor/assets/components/locomotive_sources/moment/locale/vi.js +0 -66
- data/vendor/assets/components/locomotive_sources/moment/locale/zh-cn.js +0 -127
- data/vendor/assets/components/locomotive_sources/moment/locale/zh-tw.js +0 -101
- data/vendor/assets/components/locomotive_sources/moment/min/locales.js +0 -7548
- data/vendor/assets/components/locomotive_sources/moment/min/locales.min.js +0 -72
- data/vendor/assets/components/locomotive_sources/moment/min/moment-with-locales.js +0 -11144
- data/vendor/assets/components/locomotive_sources/moment/min/moment-with-locales.min.js +0 -74
- data/vendor/assets/components/locomotive_sources/moment/min/moment.min.js +0 -7
- data/vendor/assets/components/locomotive_sources/moment/min/tests.js +0 -46196
- data/vendor/assets/components/locomotive_sources/moment/moment.js +0 -3606
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/check-overflow.js +0 -34
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/date-from-array.js +0 -21
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-anything.js +0 -101
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-array.js +0 -136
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-object.js +0 -16
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-string-and-array.js +0 -50
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-string-and-format.js +0 -104
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-string.js +0 -120
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/local.js +0 -5
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/parsing-flags.js +0 -22
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/utc.js +0 -5
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/valid.js +0 -37
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/abs.js +0 -18
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/add-subtract.js +0 -21
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/as.js +0 -55
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/bubble.js +0 -61
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/constructor.js +0 -41
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/create.js +0 -117
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/duration.js +0 -12
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/get.js +0 -25
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/humanize.js +0 -64
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/iso-string.js +0 -52
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/prototype.js +0 -48
- data/vendor/assets/components/locomotive_sources/moment/src/lib/format/format.js +0 -92
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/calendar.js +0 -15
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/constructor.js +0 -2
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/en.js +0 -15
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/formats.js +0 -23
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/invalid.js +0 -5
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/lists.js +0 -48
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/locale.js +0 -35
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/locales.js +0 -118
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/ordinal.js +0 -7
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/pre-post-format.js +0 -3
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/prototype.js +0 -76
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/relative.js +0 -29
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/set.js +0 -16
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/add-subtract.js +0 -52
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/calendar.js +0 -21
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/clone.js +0 -5
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/compare.js +0 -57
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/constructor.js +0 -74
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/creation-data.js +0 -9
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/diff.js +0 -61
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/format.js +0 -28
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/from.js +0 -17
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/get-set.js +0 -43
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/locale.js +0 -34
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/min-max.js +0 -63
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/moment.js +0 -28
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/now.js +0 -3
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/prototype.js +0 -149
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/start-end-of.js +0 -52
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/to-type.js +0 -34
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/to.js +0 -17
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/valid.js +0 -15
- data/vendor/assets/components/locomotive_sources/moment/src/lib/parse/regex.js +0 -54
- data/vendor/assets/components/locomotive_sources/moment/src/lib/parse/token.js +0 -32
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/aliases.js +0 -29
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/constants.js +0 -9
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/day-of-month.js +0 -32
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/day-of-week.js +0 -162
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/day-of-year.js +0 -32
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/hour.js +0 -129
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/millisecond.js +0 -64
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/minute.js +0 -24
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/month.js +0 -209
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/offset.js +0 -219
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/quarter.js +0 -27
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/second.js +0 -24
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/timestamp.js +0 -20
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/timezone.js +0 -16
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/units.js +0 -20
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/week-calendar-utils.js +0 -65
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/week-year.js +0 -101
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/week.js +0 -61
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/year.js +0 -70
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/abs-ceil.js +0 -7
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/abs-floor.js +0 -7
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/compare-arrays.js +0 -16
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/defaults.js +0 -10
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/deprecate.js +0 -33
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/extend.js +0 -19
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/has-own-prop.js +0 -3
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/hooks.js +0 -13
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/is-array.js +0 -3
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/is-date.js +0 -3
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/is-function.js +0 -3
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/is-undefined.js +0 -3
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/map.js +0 -7
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/to-int.js +0 -12
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/zero-fill.js +0 -7
- data/vendor/assets/components/locomotive_sources/moment/src/locale/af.js +0 -63
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ar-ma.js +0 -50
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ar-sa.js +0 -94
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ar-tn.js +0 -48
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ar.js +0 -127
- data/vendor/assets/components/locomotive_sources/moment/src/locale/az.js +0 -95
- data/vendor/assets/components/locomotive_sources/moment/src/locale/be.js +0 -125
- data/vendor/assets/components/locomotive_sources/moment/src/locale/bg.js +0 -81
- data/vendor/assets/components/locomotive_sources/moment/src/locale/bn.js +0 -104
- data/vendor/assets/components/locomotive_sources/moment/src/locale/bo.js +0 -101
- data/vendor/assets/components/locomotive_sources/moment/src/locale/br.js +0 -98
- data/vendor/assets/components/locomotive_sources/moment/src/locale/bs.js +0 -132
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ca.js +0 -70
- data/vendor/assets/components/locomotive_sources/moment/src/locale/cs.js +0 -162
- data/vendor/assets/components/locomotive_sources/moment/src/locale/cv.js +0 -53
- data/vendor/assets/components/locomotive_sources/moment/src/locale/cy.js +0 -70
- data/vendor/assets/components/locomotive_sources/moment/src/locale/da.js +0 -51
- data/vendor/assets/components/locomotive_sources/moment/src/locale/de-at.js +0 -67
- data/vendor/assets/components/locomotive_sources/moment/src/locale/de.js +0 -66
- data/vendor/assets/components/locomotive_sources/moment/src/locale/dv.js +0 -89
- data/vendor/assets/components/locomotive_sources/moment/src/locale/el.js +0 -86
- data/vendor/assets/components/locomotive_sources/moment/src/locale/en-au.js +0 -57
- data/vendor/assets/components/locomotive_sources/moment/src/locale/en-ca.js +0 -54
- data/vendor/assets/components/locomotive_sources/moment/src/locale/en-gb.js +0 -58
- data/vendor/assets/components/locomotive_sources/moment/src/locale/en-ie.js +0 -58
- data/vendor/assets/components/locomotive_sources/moment/src/locale/en-nz.js +0 -56
- data/vendor/assets/components/locomotive_sources/moment/src/locale/eo.js +0 -64
- data/vendor/assets/components/locomotive_sources/moment/src/locale/es.js +0 -70
- data/vendor/assets/components/locomotive_sources/moment/src/locale/et.js +0 -71
- data/vendor/assets/components/locomotive_sources/moment/src/locale/eu.js +0 -55
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fa.js +0 -96
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fi.js +0 -98
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fo.js +0 -51
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fr-ca.js +0 -49
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fr-ch.js +0 -53
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fr.js +0 -53
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fy.js +0 -62
- data/vendor/assets/components/locomotive_sources/moment/src/locale/gd.js +0 -67
- data/vendor/assets/components/locomotive_sources/moment/src/locale/gl.js +0 -66
- data/vendor/assets/components/locomotive_sources/moment/src/locale/he.js +0 -73
- data/vendor/assets/components/locomotive_sources/moment/src/locale/hi.js +0 -114
- data/vendor/assets/components/locomotive_sources/moment/src/locale/hr.js +0 -134
- data/vendor/assets/components/locomotive_sources/moment/src/locale/hu.js +0 -100
- data/vendor/assets/components/locomotive_sources/moment/src/locale/hy-am.js +0 -86
- data/vendor/assets/components/locomotive_sources/moment/src/locale/id.js +0 -74
- data/vendor/assets/components/locomotive_sources/moment/src/locale/is.js +0 -118
- data/vendor/assets/components/locomotive_sources/moment/src/locale/it.js +0 -61
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ja.js +0 -56
- data/vendor/assets/components/locomotive_sources/moment/src/locale/jv.js +0 -73
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ka.js +0 -80
- data/vendor/assets/components/locomotive_sources/moment/src/locale/kk.js +0 -77
- data/vendor/assets/components/locomotive_sources/moment/src/locale/km.js +0 -49
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ko.js +0 -59
- data/vendor/assets/components/locomotive_sources/moment/src/locale/lb.js +0 -125
- data/vendor/assets/components/locomotive_sources/moment/src/locale/lo.js +0 -60
- data/vendor/assets/components/locomotive_sources/moment/src/locale/lt.js +0 -106
- data/vendor/assets/components/locomotive_sources/moment/src/locale/lv.js +0 -87
- data/vendor/assets/components/locomotive_sources/moment/src/locale/me.js +0 -99
- data/vendor/assets/components/locomotive_sources/moment/src/locale/mk.js +0 -81
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ml.js +0 -62
- data/vendor/assets/components/locomotive_sources/moment/src/locale/mr.js +0 -149
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ms-my.js +0 -73
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ms.js +0 -73
- data/vendor/assets/components/locomotive_sources/moment/src/locale/my.js +0 -84
- data/vendor/assets/components/locomotive_sources/moment/src/locale/nb.js +0 -52
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ne.js +0 -112
- data/vendor/assets/components/locomotive_sources/moment/src/locale/nl.js +0 -62
- data/vendor/assets/components/locomotive_sources/moment/src/locale/nn.js +0 -51
- data/vendor/assets/components/locomotive_sources/moment/src/locale/pl.js +0 -95
- data/vendor/assets/components/locomotive_sources/moment/src/locale/pt-br.js +0 -51
- data/vendor/assets/components/locomotive_sources/moment/src/locale/pt.js +0 -55
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ro.js +0 -65
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ru.js +0 -156
- data/vendor/assets/components/locomotive_sources/moment/src/locale/se.js +0 -51
- data/vendor/assets/components/locomotive_sources/moment/src/locale/si.js +0 -56
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sk.js +0 -141
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sl.js +0 -150
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sq.js +0 -60
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sr-cyrl.js +0 -99
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sr.js +0 -99
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sv.js +0 -58
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sw.js +0 -49
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ta.js +0 -120
- data/vendor/assets/components/locomotive_sources/moment/src/locale/te.js +0 -78
- data/vendor/assets/components/locomotive_sources/moment/src/locale/th.js +0 -56
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tl-ph.js +0 -53
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tlh.js +0 -109
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tr.js +0 -81
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tzl.js +0 -78
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tzm-latn.js +0 -49
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tzm.js +0 -49
- data/vendor/assets/components/locomotive_sources/moment/src/locale/uk.js +0 -137
- data/vendor/assets/components/locomotive_sources/moment/src/locale/uz.js +0 -49
- data/vendor/assets/components/locomotive_sources/moment/src/locale/vi.js +0 -57
- data/vendor/assets/components/locomotive_sources/moment/src/locale/zh-cn.js +0 -118
- data/vendor/assets/components/locomotive_sources/moment/src/locale/zh-tw.js +0 -91
- data/vendor/assets/components/locomotive_sources/moment/src/moment.js +0 -71
- data/vendor/assets/components/locomotive_sources/moment/templates/amd-named.js +0 -7
- data/vendor/assets/components/locomotive_sources/moment/templates/amd.js +0 -7
- data/vendor/assets/components/locomotive_sources/moment/templates/default.js +0 -5
- data/vendor/assets/components/locomotive_sources/moment/templates/globals.js +0 -5
- data/vendor/assets/components/locomotive_sources/moment/templates/locale-header.js +0 -6
- data/vendor/assets/components/locomotive_sources/moment/templates/test-header.js +0 -6
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/Gemfile +0 -3
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/Gruntfile.js +0 -110
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/LICENSE +0 -8
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/README.md +0 -91
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.3.2.html +0 -4
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.4.1.html +0 -4
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.4.2.html +0 -4
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.4.3.html +0 -4
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.4.4.html +0 -4
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.4.5.html +0 -4
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.5.1.html +0 -4
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.5.2.html +0 -4
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_config.yml +0 -13
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_includes/footer-links.html +0 -9
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_includes/footer.html +0 -10
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_includes/head.html +0 -13
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_includes/navbar.html +0 -21
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_includes/select2-select.html +0 -55
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_layouts/default.html +0 -489
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_layouts/minimal.html +0 -7
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_sass/_extends.sass +0 -4
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_sass/_mixins.sass +0 -9
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_sass/_select2-result-repository.sass +0 -40
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_sass/_variables.sass +0 -1
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/css/bootstrap.min.css +0 -5
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/css/gh-pages.sass +0 -103
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/css/select2-bootstrap.css +0 -495
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/favicon.ico +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/fonts/glyphicons-halflings-regular.eot +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/fonts/glyphicons-halflings-regular.svg +0 -288
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/fonts/glyphicons-halflings-regular.woff +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/index.html +0 -77
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/js/bootstrap.min.js +0 -7
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/js/respond.min.js +0 -5
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/master.html +0 -4
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/bower.json +0 -20
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/compass/stylesheets/select2-bootstrap.scss +0 -1
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.3.2.html +0 -1668
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.4.1.html +0 -1662
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.4.2.html +0 -1662
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.4.3.html +0 -1662
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.4.4.html +0 -1662
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.4.5.html +0 -1662
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.5.1.html +0 -1662
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.5.2.html +0 -1662
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/css/bootstrap.min.css +0 -5
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/css/gh-pages.css +0 -142
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/css/select2-bootstrap.css +0 -495
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/favicon.ico +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/fonts/glyphicons-halflings-regular.eot +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/fonts/glyphicons-halflings-regular.svg +0 -288
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/fonts/glyphicons-halflings-regular.woff +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/index.html +0 -293
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/js/bootstrap.min.js +0 -7
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/js/respond.min.js +0 -5
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/master.html +0 -1662
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/lib/build.less +0 -3
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/lib/build.scss +0 -3
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/lib/select2-bootstrap-css.rb +0 -11
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/lib/select2-bootstrap.less +0 -480
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/lib/select2-bootstrap.scss +0 -480
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/lib/select2-bootstrap/version.rb +0 -9
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/package.json +0 -48
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/select2-bootstrap-css.gemspec +0 -22
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/select2-bootstrap.css +0 -495
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/select2-bootstrap.min.css +0 -1
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/test/less_test.js +0 -25
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/test/scss_test.js +0 -25
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/test/support/less.patch +0 -416
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/test/support/scss.patch +0 -4
- data/vendor/assets/components/locomotive_sources/select2/CONTRIBUTING.md +0 -204
- data/vendor/assets/components/locomotive_sources/select2/Gruntfile.js +0 -370
- data/vendor/assets/components/locomotive_sources/select2/LICENSE.md +0 -21
- data/vendor/assets/components/locomotive_sources/select2/README.md +0 -105
- data/vendor/assets/components/locomotive_sources/select2/bower.json +0 -12
- data/vendor/assets/components/locomotive_sources/select2/component.json +0 -19
- data/vendor/assets/components/locomotive_sources/select2/composer.json +0 -25
- data/vendor/assets/components/locomotive_sources/select2/dist/css/select2.css +0 -482
- data/vendor/assets/components/locomotive_sources/select2/dist/css/select2.min.css +0 -1
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ar.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/az.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/bg.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ca.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/cs.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/da.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/de.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/en.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/es.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/et.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/eu.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/fa.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/fi.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/fr.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/gl.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/he.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/hi.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/hr.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/hu.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/id.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/is.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/it.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ja.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ko.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/lt.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/lv.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/mk.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ms.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/nb.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/nl.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/pl.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/pt-BR.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/pt.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ro.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ru.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/sk.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/sr-Cyrl.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/sr.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/sv.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/th.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/tr.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/uk.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/vi.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/zh-CN.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/zh-TW.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/select2.full.js +0 -6281
- data/vendor/assets/components/locomotive_sources/select2/dist/js/select2.full.min.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/select2.js +0 -5571
- data/vendor/assets/components/locomotive_sources/select2/dist/js/select2.min.js +0 -2
- data/vendor/assets/components/locomotive_sources/select2/docs/README.md +0 -38
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/basics.html +0 -65
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/data.html +0 -128
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/disabled-mode.html +0 -43
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/disabled-results.html +0 -32
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/hide-search.html +0 -25
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/localization-rtl-diacritics.html +0 -90
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/matcher.html +0 -43
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/multiple-max.html +0 -28
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/placeholders.html +0 -37
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/programmatic-control.html +0 -156
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/tags.html +0 -33
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/themes-templating-responsive-design.html +0 -111
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/tokenizer.html +0 -36
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/footer.html +0 -20
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/ga.html +0 -9
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/head.html +0 -19
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/js-source-states.html +0 -62
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/nav/announcements-4.0.html +0 -26
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/nav/examples.html +0 -96
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/nav/options-old.html +0 -55
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/nav/options.html +0 -77
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/navigation.html +0 -53
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/notice-previous.html +0 -7
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options-old/adapters.html +0 -209
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options-old/backwards-compatibility.html +0 -200
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options-old/core-options.html +0 -790
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options-old/dropdown.html +0 -308
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options-old/events.html +0 -50
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options-old/setting-default-options.html +0 -37
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/compatibility.html +0 -10
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/compatibility/initial-selection.html +0 -50
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/compatibility/introduction.html +0 -18
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/compatibility/matcher.html +0 -50
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/compatibility/query-function.html +0 -50
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/compatibility/text-input.html +0 -32
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/core.html +0 -9
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/core/amd-support.html +0 -38
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/core/data-attributes.html +0 -72
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/core/options.html +0 -58
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/data.html +0 -9
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/data/ajax.html +0 -109
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/data/array.html +0 -53
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/data/select.html +0 -57
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/dropdown.html +0 -9
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/dropdown/filtering.html +0 -23
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/dropdown/placement.html +0 -29
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/dropdown/selections.html +0 -17
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/events.html +0 -8
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/events/internal.html +0 -9
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/events/jquery.html +0 -29
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/introduction.html +0 -9
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/not-written.html +0 -3
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/selections.html +0 -10
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/selections/clearing-selections.html +0 -17
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/selections/multiple.html +0 -17
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/selections/placeholder.html +0 -53
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/selections/templating.html +0 -23
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/social-buttons.html +0 -10
- data/vendor/assets/components/locomotive_sources/select2/docs/_layouts/default.html +0 -57
- data/vendor/assets/components/locomotive_sources/select2/docs/_layouts/home.html +0 -23
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_alert.scss +0 -47
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_anchorjs.scss +0 -27
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_buttons.scss +0 -20
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_code.scss +0 -16
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_examples.scss +0 -90
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_featurette.scss +0 -16
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_footer.scss +0 -42
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_hamburger.scss +0 -49
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_home.scss +0 -31
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_jumbotron.scss +0 -24
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_layout.scss +0 -14
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_nav.scss +0 -58
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_prettify.scss +0 -51
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_result-repository.scss +0 -62
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_sidenav.scss +0 -152
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_social.scss +0 -35
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_typography.scss +0 -6
- data/vendor/assets/components/locomotive_sources/select2/docs/announcements-4.0.html +0 -752
- data/vendor/assets/components/locomotive_sources/select2/docs/community.html +0 -154
- data/vendor/assets/components/locomotive_sources/select2/docs/css/s2-docs.scss +0 -19
- data/vendor/assets/components/locomotive_sources/select2/docs/examples.html +0 -254
- data/vendor/assets/components/locomotive_sources/select2/docs/images/logo.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/index.html +0 -238
- data/vendor/assets/components/locomotive_sources/select2/docs/options-old.html +0 -37
- data/vendor/assets/components/locomotive_sources/select2/docs/options.html +0 -37
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/css/bootstrap.min.css +0 -5
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/css/font-awesome.min.css +0 -4
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/fonts/FontAwesome.otf +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/fonts/fontawesome-webfont.eot +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/fonts/fontawesome-webfont.svg +0 -655
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/fonts/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/fonts/fontawesome-webfont.woff +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/fonts/fontawesome-webfont.woff2 +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ak.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/al.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ar.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/az.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ca.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/co.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ct.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/de.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/fl.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ga.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/hi.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ia.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/id.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/il.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/in.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ks.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ky.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/la.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ma.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/md.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/me.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/mi.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/mn.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/mo.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ms.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/mt.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/nc.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/nd.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ne.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/nh.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/nj.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/nm.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/nv.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ny.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/oh.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ok.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/or.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/pa.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ri.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/sc.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/sd.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/tn.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/tx.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ut.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/va.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/vt.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/wa.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/wi.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/wv.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/wy.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/js/anchor.min.js +0 -6
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/js/bootstrap.min.js +0 -6
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/js/jquery.min.js +0 -4
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/js/placeholders.jquery.min.js +0 -2
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/js/prettify.min.js +0 -28
- data/vendor/assets/components/locomotive_sources/select2/package.json +0 -66
- data/vendor/assets/components/locomotive_sources/select2/select2.jquery.json +0 -32
- data/vendor/assets/components/locomotive_sources/select2/src/js/banner.end.js +0 -6
- data/vendor/assets/components/locomotive_sources/select2/src/js/banner.start.js +0 -6
- data/vendor/assets/components/locomotive_sources/select2/src/js/jquery.mousewheel.shim.js +0 -6
- data/vendor/assets/components/locomotive_sources/select2/src/js/jquery.select2.js +0 -58
- data/vendor/assets/components/locomotive_sources/select2/src/js/jquery.shim.js +0 -14
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/containerCss.js +0 -56
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/dropdownCss.js +0 -56
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/initSelection.js +0 -42
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/inputData.js +0 -127
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/matcher.js +0 -42
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/query.js +0 -26
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/utils.js +0 -43
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/core.js +0 -545
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/ajax.js +0 -101
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/array.js +0 -79
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/base.js +0 -40
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/maximumInputLength.js +0 -31
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/maximumSelectionLength.js +0 -31
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/minimumInputLength.js +0 -30
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/select.js +0 -285
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/tags.js +0 -119
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/tokenizer.js +0 -93
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/defaults.js +0 -396
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/diacritics.js +0 -847
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown.js +0 -42
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/attachBody.js +0 -216
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/attachContainer.js +0 -18
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/closeOnSelect.js +0 -32
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/hidePlaceholder.js +0 -42
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/infiniteScroll.js +0 -89
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/minimumResultsForSearch.js +0 -39
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/search.js +0 -95
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/selectOnClose.js +0 -40
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/stopPropagation.js +0 -38
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ar.js +0 -36
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/az.js +0 -27
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/bg.js +0 -47
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ca.js +0 -52
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/cs.js +0 -61
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/da.js +0 -40
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/de.js +0 -37
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/en.js +0 -44
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/es.js +0 -52
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/et.js +0 -53
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/eu.js +0 -51
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/fa.js +0 -38
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/fi.js +0 -27
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/fr.js +0 -46
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/gl.js +0 -51
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/he.js +0 -56
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/hi.js +0 -39
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/hr.js +0 -44
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/hu.js +0 -27
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/id.js +0 -30
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/is.js +0 -41
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/it.js +0 -48
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ja.js +0 -36
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ko.js +0 -36
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/lt.js +0 -51
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/lv.js +0 -51
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/mk.js +0 -47
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ms.js +0 -30
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/nb.js +0 -35
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/nl.js +0 -43
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/pl.js +0 -45
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/pt-BR.js +0 -46
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/pt.js +0 -40
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ro.js +0 -48
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ru.js +0 -58
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/sk.js +0 -56
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/sr-Cyrl.js +0 -55
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/sr.js +0 -55
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/sv.js +0 -37
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/th.js +0 -33
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/tr.js +0 -33
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/uk.js +0 -43
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/vi.js +0 -37
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/zh-CN.js +0 -36
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/zh-TW.js +0 -33
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/keys.js +0 -25
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/options.js +0 -122
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/results.js +0 -516
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/allowClear.js +0 -97
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/base.js +0 -158
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/clickMask.js +0 -29
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/eventRelay.js +0 -45
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/multiple.js +0 -109
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/placeholder.js +0 -49
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/search.js +0 -222
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/single.js +0 -93
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/stopPropagation.js +0 -38
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/translation.js +0 -36
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/utils.js +0 -262
- data/vendor/assets/components/locomotive_sources/select2/src/js/wrapper.end.js +0 -12
- data/vendor/assets/components/locomotive_sources/select2/src/js/wrapper.start.js +0 -23
- data/vendor/assets/components/locomotive_sources/select2/src/scss/_dropdown.scss +0 -73
- data/vendor/assets/components/locomotive_sources/select2/src/scss/_multiple.scss +0 -35
- data/vendor/assets/components/locomotive_sources/select2/src/scss/_single.scss +0 -34
- data/vendor/assets/components/locomotive_sources/select2/src/scss/core.scss +0 -48
- data/vendor/assets/components/locomotive_sources/select2/src/scss/mixins/_gradients.scss +0 -13
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/classic/_defaults.scss +0 -34
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/classic/_multiple.scss +0 -93
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/classic/_single.scss +0 -124
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/classic/layout.scss +0 -64
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/default/_multiple.scss +0 -94
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/default/_single.scss +0 -83
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/default/layout.scss +0 -97
- data/vendor/assets/components/locomotive_sources/select2/tests/a11y/search-tests.js +0 -51
- data/vendor/assets/components/locomotive_sources/select2/tests/a11y/selection-tests.js +0 -154
- data/vendor/assets/components/locomotive_sources/select2/tests/data/array-tests.js +0 -290
- data/vendor/assets/components/locomotive_sources/select2/tests/data/base-tests.js +0 -29
- data/vendor/assets/components/locomotive_sources/select2/tests/data/inputData-tests.js +0 -158
- data/vendor/assets/components/locomotive_sources/select2/tests/data/maximumInputLength-tests.js +0 -138
- data/vendor/assets/components/locomotive_sources/select2/tests/data/maximumSelectionLength-tests.js +0 -202
- data/vendor/assets/components/locomotive_sources/select2/tests/data/minimumInputLength-tests.js +0 -138
- data/vendor/assets/components/locomotive_sources/select2/tests/data/select-tests.js +0 -457
- data/vendor/assets/components/locomotive_sources/select2/tests/data/tags-tests.js +0 -241
- data/vendor/assets/components/locomotive_sources/select2/tests/data/tokenizer-tests.js +0 -171
- data/vendor/assets/components/locomotive_sources/select2/tests/dropdown/dropdownCss-tests.js +0 -104
- data/vendor/assets/components/locomotive_sources/select2/tests/dropdown/selectOnClose-tests.js +0 -137
- data/vendor/assets/components/locomotive_sources/select2/tests/dropdown/stopPropagation-tests.js +0 -33
- data/vendor/assets/components/locomotive_sources/select2/tests/helpers.js +0 -46
- data/vendor/assets/components/locomotive_sources/select2/tests/integration.html +0 -19
- data/vendor/assets/components/locomotive_sources/select2/tests/integration/select2-methods.js +0 -139
- data/vendor/assets/components/locomotive_sources/select2/tests/options/data-tests.js +0 -44
- data/vendor/assets/components/locomotive_sources/select2/tests/options/deprecated-tests.js +0 -250
- data/vendor/assets/components/locomotive_sources/select2/tests/options/translation-tests.js +0 -28
- data/vendor/assets/components/locomotive_sources/select2/tests/options/width-tests.js +0 -66
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/allowClear-tests.js +0 -218
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/containerCss-tests.js +0 -104
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/multiple-tests.js +0 -149
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/placeholder-tests.js +0 -74
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/search-tests.js +0 -139
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/single-tests.js +0 -117
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/stopPropagation-tests.js +0 -33
- data/vendor/assets/components/locomotive_sources/select2/tests/unit.html +0 -91
- data/vendor/assets/components/locomotive_sources/select2/tests/utils/decorator-tests.js +0 -189
- data/vendor/assets/components/locomotive_sources/select2/tests/utils/escapeMarkup-tests.js +0 -36
- data/vendor/assets/components/locomotive_sources/select2/tests/vendor/jquery-1.7.2.js +0 -9404
- data/vendor/assets/components/locomotive_sources/select2/tests/vendor/qunit-1.14.0.css +0 -237
- data/vendor/assets/components/locomotive_sources/select2/tests/vendor/qunit-1.14.0.js +0 -2288
- data/vendor/assets/components/locomotive_sources/select2/vendor/jquery-2.1.0.js +0 -9111
- data/vendor/assets/components/locomotive_sources/underscore/LICENSE +0 -23
- data/vendor/assets/components/locomotive_sources/underscore/README.md +0 -22
- data/vendor/assets/components/locomotive_sources/underscore/bower.json +0 -7
- data/vendor/assets/components/locomotive_sources/underscore/underscore-min.js +0 -6
- data/vendor/assets/components/locomotive_sources/underscore/underscore-min.map +0 -1
- data/vendor/assets/components/locomotive_sources/underscore/underscore.js +0 -1548
data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/initSelection.js
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
define([
|
2
|
-
'jquery'
|
3
|
-
], function ($) {
|
4
|
-
function InitSelection (decorated, $element, options) {
|
5
|
-
if (options.get('debug') && window.console && console.warn) {
|
6
|
-
console.warn(
|
7
|
-
'Select2: The `initSelection` option has been deprecated in favor' +
|
8
|
-
' of a custom data adapter that overrides the `current` method. ' +
|
9
|
-
'This method is now called multiple times instead of a single ' +
|
10
|
-
'time when the instance is initialized. Support will be removed ' +
|
11
|
-
'for the `initSelection` option in future versions of Select2'
|
12
|
-
);
|
13
|
-
}
|
14
|
-
|
15
|
-
this.initSelection = options.get('initSelection');
|
16
|
-
this._isInitialized = false;
|
17
|
-
|
18
|
-
decorated.call(this, $element, options);
|
19
|
-
}
|
20
|
-
|
21
|
-
InitSelection.prototype.current = function (decorated, callback) {
|
22
|
-
var self = this;
|
23
|
-
|
24
|
-
if (this._isInitialized) {
|
25
|
-
decorated.call(this, callback);
|
26
|
-
|
27
|
-
return;
|
28
|
-
}
|
29
|
-
|
30
|
-
this.initSelection.call(null, this.$element, function (data) {
|
31
|
-
self._isInitialized = true;
|
32
|
-
|
33
|
-
if (!$.isArray(data)) {
|
34
|
-
data = [data];
|
35
|
-
}
|
36
|
-
|
37
|
-
callback(data);
|
38
|
-
});
|
39
|
-
};
|
40
|
-
|
41
|
-
return InitSelection;
|
42
|
-
});
|
@@ -1,127 +0,0 @@
|
|
1
|
-
define([
|
2
|
-
'jquery'
|
3
|
-
], function ($) {
|
4
|
-
function InputData (decorated, $element, options) {
|
5
|
-
this._currentData = [];
|
6
|
-
this._valueSeparator = options.get('valueSeparator') || ',';
|
7
|
-
|
8
|
-
if ($element.prop('type') === 'hidden') {
|
9
|
-
if (options.get('debug') && console && console.warn) {
|
10
|
-
console.warn(
|
11
|
-
'Select2: Using a hidden input with Select2 is no longer ' +
|
12
|
-
'supported and may stop working in the future. It is recommended ' +
|
13
|
-
'to use a `<select>` element instead.'
|
14
|
-
);
|
15
|
-
}
|
16
|
-
}
|
17
|
-
|
18
|
-
decorated.call(this, $element, options);
|
19
|
-
}
|
20
|
-
|
21
|
-
InputData.prototype.current = function (_, callback) {
|
22
|
-
function getSelected (data, selectedIds) {
|
23
|
-
var selected = [];
|
24
|
-
|
25
|
-
if (data.selected || $.inArray(data.id, selectedIds) !== -1) {
|
26
|
-
data.selected = true;
|
27
|
-
selected.push(data);
|
28
|
-
} else {
|
29
|
-
data.selected = false;
|
30
|
-
}
|
31
|
-
|
32
|
-
if (data.children) {
|
33
|
-
selected.push.apply(selected, getSelected(data.children, selectedIds));
|
34
|
-
}
|
35
|
-
|
36
|
-
return selected;
|
37
|
-
}
|
38
|
-
|
39
|
-
var selected = [];
|
40
|
-
|
41
|
-
for (var d = 0; d < this._currentData.length; d++) {
|
42
|
-
var data = this._currentData[d];
|
43
|
-
|
44
|
-
selected.push.apply(
|
45
|
-
selected,
|
46
|
-
getSelected(
|
47
|
-
data,
|
48
|
-
this.$element.val().split(
|
49
|
-
this._valueSeparator
|
50
|
-
)
|
51
|
-
)
|
52
|
-
);
|
53
|
-
}
|
54
|
-
|
55
|
-
callback(selected);
|
56
|
-
};
|
57
|
-
|
58
|
-
InputData.prototype.select = function (_, data) {
|
59
|
-
if (!this.options.get('multiple')) {
|
60
|
-
this.current(function (allData) {
|
61
|
-
$.map(allData, function (data) {
|
62
|
-
data.selected = false;
|
63
|
-
});
|
64
|
-
});
|
65
|
-
|
66
|
-
this.$element.val(data.id);
|
67
|
-
this.$element.trigger('change');
|
68
|
-
} else {
|
69
|
-
var value = this.$element.val();
|
70
|
-
value += this._valueSeparator + data.id;
|
71
|
-
|
72
|
-
this.$element.val(value);
|
73
|
-
this.$element.trigger('change');
|
74
|
-
}
|
75
|
-
};
|
76
|
-
|
77
|
-
InputData.prototype.unselect = function (_, data) {
|
78
|
-
var self = this;
|
79
|
-
|
80
|
-
data.selected = false;
|
81
|
-
|
82
|
-
this.current(function (allData) {
|
83
|
-
var values = [];
|
84
|
-
|
85
|
-
for (var d = 0; d < allData.length; d++) {
|
86
|
-
var item = allData[d];
|
87
|
-
|
88
|
-
if (data.id == item.id) {
|
89
|
-
continue;
|
90
|
-
}
|
91
|
-
|
92
|
-
values.push(item.id);
|
93
|
-
}
|
94
|
-
|
95
|
-
self.$element.val(values.join(self._valueSeparator));
|
96
|
-
self.$element.trigger('change');
|
97
|
-
});
|
98
|
-
};
|
99
|
-
|
100
|
-
InputData.prototype.query = function (_, params, callback) {
|
101
|
-
var results = [];
|
102
|
-
|
103
|
-
for (var d = 0; d < this._currentData.length; d++) {
|
104
|
-
var data = this._currentData[d];
|
105
|
-
|
106
|
-
var matches = this.matches(params, data);
|
107
|
-
|
108
|
-
if (matches !== null) {
|
109
|
-
results.push(matches);
|
110
|
-
}
|
111
|
-
}
|
112
|
-
|
113
|
-
callback({
|
114
|
-
results: results
|
115
|
-
});
|
116
|
-
};
|
117
|
-
|
118
|
-
InputData.prototype.addOptions = function (_, $options) {
|
119
|
-
var options = $.map($options, function ($option) {
|
120
|
-
return $.data($option[0], 'data');
|
121
|
-
});
|
122
|
-
|
123
|
-
this._currentData.push.apply(this._currentData, options);
|
124
|
-
};
|
125
|
-
|
126
|
-
return InputData;
|
127
|
-
});
|
@@ -1,42 +0,0 @@
|
|
1
|
-
define([
|
2
|
-
'jquery'
|
3
|
-
], function ($) {
|
4
|
-
function oldMatcher (matcher) {
|
5
|
-
function wrappedMatcher (params, data) {
|
6
|
-
var match = $.extend(true, {}, data);
|
7
|
-
|
8
|
-
if (params.term == null || $.trim(params.term) === '') {
|
9
|
-
return match;
|
10
|
-
}
|
11
|
-
|
12
|
-
if (data.children) {
|
13
|
-
for (var c = data.children.length - 1; c >= 0; c--) {
|
14
|
-
var child = data.children[c];
|
15
|
-
|
16
|
-
// Check if the child object matches
|
17
|
-
// The old matcher returned a boolean true or false
|
18
|
-
var doesMatch = matcher(params.term, child.text, child);
|
19
|
-
|
20
|
-
// If the child didn't match, pop it off
|
21
|
-
if (!doesMatch) {
|
22
|
-
match.children.splice(c, 1);
|
23
|
-
}
|
24
|
-
}
|
25
|
-
|
26
|
-
if (match.children.length > 0) {
|
27
|
-
return match;
|
28
|
-
}
|
29
|
-
}
|
30
|
-
|
31
|
-
if (matcher(params.term, data.text, data)) {
|
32
|
-
return match;
|
33
|
-
}
|
34
|
-
|
35
|
-
return null;
|
36
|
-
}
|
37
|
-
|
38
|
-
return wrappedMatcher;
|
39
|
-
}
|
40
|
-
|
41
|
-
return oldMatcher;
|
42
|
-
});
|
@@ -1,26 +0,0 @@
|
|
1
|
-
define([
|
2
|
-
|
3
|
-
], function () {
|
4
|
-
function Query (decorated, $element, options) {
|
5
|
-
if (options.get('debug') && window.console && console.warn) {
|
6
|
-
console.warn(
|
7
|
-
'Select2: The `query` option has been deprecated in favor of a ' +
|
8
|
-
'custom data adapter that overrides the `query` method. Support ' +
|
9
|
-
'will be removed for the `query` option in future versions of ' +
|
10
|
-
'Select2.'
|
11
|
-
);
|
12
|
-
}
|
13
|
-
|
14
|
-
decorated.call(this, $element, options);
|
15
|
-
}
|
16
|
-
|
17
|
-
Query.prototype.query = function (_, params, callback) {
|
18
|
-
params.callback = callback;
|
19
|
-
|
20
|
-
var query = this.options.get('query');
|
21
|
-
|
22
|
-
query.call(null, params);
|
23
|
-
};
|
24
|
-
|
25
|
-
return Query;
|
26
|
-
});
|
@@ -1,43 +0,0 @@
|
|
1
|
-
define([
|
2
|
-
'jquery'
|
3
|
-
], function ($) {
|
4
|
-
function syncCssClasses ($dest, $src, adapter) {
|
5
|
-
var classes, replacements = [], adapted;
|
6
|
-
|
7
|
-
classes = $.trim($dest.attr('class'));
|
8
|
-
|
9
|
-
if (classes) {
|
10
|
-
classes = '' + classes; // for IE which returns object
|
11
|
-
|
12
|
-
$(classes.split(/\s+/)).each(function () {
|
13
|
-
// Save all Select2 classes
|
14
|
-
if (this.indexOf('select2-') === 0) {
|
15
|
-
replacements.push(this);
|
16
|
-
}
|
17
|
-
});
|
18
|
-
}
|
19
|
-
|
20
|
-
classes = $.trim($src.attr('class'));
|
21
|
-
|
22
|
-
if (classes) {
|
23
|
-
classes = '' + classes; // for IE which returns object
|
24
|
-
|
25
|
-
$(classes.split(/\s+/)).each(function () {
|
26
|
-
// Only adapt non-Select2 classes
|
27
|
-
if (this.indexOf('select2-') !== 0) {
|
28
|
-
adapted = adapter(this);
|
29
|
-
|
30
|
-
if (adapted != null) {
|
31
|
-
replacements.push(adapted);
|
32
|
-
}
|
33
|
-
}
|
34
|
-
});
|
35
|
-
}
|
36
|
-
|
37
|
-
$dest.attr('class', replacements.join(' '));
|
38
|
-
}
|
39
|
-
|
40
|
-
return {
|
41
|
-
syncCssClasses: syncCssClasses
|
42
|
-
};
|
43
|
-
});
|
@@ -1,545 +0,0 @@
|
|
1
|
-
define([
|
2
|
-
'jquery',
|
3
|
-
'./options',
|
4
|
-
'./utils',
|
5
|
-
'./keys'
|
6
|
-
], function ($, Options, Utils, KEYS) {
|
7
|
-
var Select2 = function ($element, options) {
|
8
|
-
if ($element.data('select2') != null) {
|
9
|
-
$element.data('select2').destroy();
|
10
|
-
}
|
11
|
-
|
12
|
-
this.$element = $element;
|
13
|
-
|
14
|
-
this.id = this._generateId($element);
|
15
|
-
|
16
|
-
options = options || {};
|
17
|
-
|
18
|
-
this.options = new Options(options, $element);
|
19
|
-
|
20
|
-
Select2.__super__.constructor.call(this);
|
21
|
-
|
22
|
-
// Set up the tabindex
|
23
|
-
|
24
|
-
var tabindex = $element.attr('tabindex') || 0;
|
25
|
-
$element.data('old-tabindex', tabindex);
|
26
|
-
$element.attr('tabindex', '-1');
|
27
|
-
|
28
|
-
// Set up containers and adapters
|
29
|
-
|
30
|
-
var DataAdapter = this.options.get('dataAdapter');
|
31
|
-
this.dataAdapter = new DataAdapter($element, this.options);
|
32
|
-
|
33
|
-
var $container = this.render();
|
34
|
-
|
35
|
-
this._placeContainer($container);
|
36
|
-
|
37
|
-
var SelectionAdapter = this.options.get('selectionAdapter');
|
38
|
-
this.selection = new SelectionAdapter($element, this.options);
|
39
|
-
this.$selection = this.selection.render();
|
40
|
-
|
41
|
-
this.selection.position(this.$selection, $container);
|
42
|
-
|
43
|
-
var DropdownAdapter = this.options.get('dropdownAdapter');
|
44
|
-
this.dropdown = new DropdownAdapter($element, this.options);
|
45
|
-
this.$dropdown = this.dropdown.render();
|
46
|
-
|
47
|
-
this.dropdown.position(this.$dropdown, $container);
|
48
|
-
|
49
|
-
var ResultsAdapter = this.options.get('resultsAdapter');
|
50
|
-
this.results = new ResultsAdapter($element, this.options, this.dataAdapter);
|
51
|
-
this.$results = this.results.render();
|
52
|
-
|
53
|
-
this.results.position(this.$results, this.$dropdown);
|
54
|
-
|
55
|
-
// Bind events
|
56
|
-
|
57
|
-
var self = this;
|
58
|
-
|
59
|
-
// Bind the container to all of the adapters
|
60
|
-
this._bindAdapters();
|
61
|
-
|
62
|
-
// Register any DOM event handlers
|
63
|
-
this._registerDomEvents();
|
64
|
-
|
65
|
-
// Register any internal event handlers
|
66
|
-
this._registerDataEvents();
|
67
|
-
this._registerSelectionEvents();
|
68
|
-
this._registerDropdownEvents();
|
69
|
-
this._registerResultsEvents();
|
70
|
-
this._registerEvents();
|
71
|
-
|
72
|
-
// Set the initial state
|
73
|
-
this.dataAdapter.current(function (initialData) {
|
74
|
-
self.trigger('selection:update', {
|
75
|
-
data: initialData
|
76
|
-
});
|
77
|
-
});
|
78
|
-
|
79
|
-
// Hide the original select
|
80
|
-
$element.addClass('select2-hidden-accessible');
|
81
|
-
$element.attr('aria-hidden', 'true');
|
82
|
-
|
83
|
-
// Synchronize any monitored attributes
|
84
|
-
this._syncAttributes();
|
85
|
-
|
86
|
-
$element.data('select2', this);
|
87
|
-
};
|
88
|
-
|
89
|
-
Utils.Extend(Select2, Utils.Observable);
|
90
|
-
|
91
|
-
Select2.prototype._generateId = function ($element) {
|
92
|
-
var id = '';
|
93
|
-
|
94
|
-
if ($element.attr('id') != null) {
|
95
|
-
id = $element.attr('id');
|
96
|
-
} else if ($element.attr('name') != null) {
|
97
|
-
id = $element.attr('name') + '-' + Utils.generateChars(2);
|
98
|
-
} else {
|
99
|
-
id = Utils.generateChars(4);
|
100
|
-
}
|
101
|
-
|
102
|
-
id = 'select2-' + id;
|
103
|
-
|
104
|
-
return id;
|
105
|
-
};
|
106
|
-
|
107
|
-
Select2.prototype._placeContainer = function ($container) {
|
108
|
-
$container.insertAfter(this.$element);
|
109
|
-
|
110
|
-
var width = this._resolveWidth(this.$element, this.options.get('width'));
|
111
|
-
|
112
|
-
if (width != null) {
|
113
|
-
$container.css('width', width);
|
114
|
-
}
|
115
|
-
};
|
116
|
-
|
117
|
-
Select2.prototype._resolveWidth = function ($element, method) {
|
118
|
-
var WIDTH = /^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;
|
119
|
-
|
120
|
-
if (method == 'resolve') {
|
121
|
-
var styleWidth = this._resolveWidth($element, 'style');
|
122
|
-
|
123
|
-
if (styleWidth != null) {
|
124
|
-
return styleWidth;
|
125
|
-
}
|
126
|
-
|
127
|
-
return this._resolveWidth($element, 'element');
|
128
|
-
}
|
129
|
-
|
130
|
-
if (method == 'element') {
|
131
|
-
var elementWidth = $element.outerWidth(false);
|
132
|
-
|
133
|
-
if (elementWidth <= 0) {
|
134
|
-
return 'auto';
|
135
|
-
}
|
136
|
-
|
137
|
-
return elementWidth + 'px';
|
138
|
-
}
|
139
|
-
|
140
|
-
if (method == 'style') {
|
141
|
-
var style = $element.attr('style');
|
142
|
-
|
143
|
-
if (typeof(style) !== 'string') {
|
144
|
-
return null;
|
145
|
-
}
|
146
|
-
|
147
|
-
var attrs = style.split(';');
|
148
|
-
|
149
|
-
for (var i = 0, l = attrs.length; i < l; i = i + 1) {
|
150
|
-
var attr = attrs[i].replace(/\s/g, '');
|
151
|
-
var matches = attr.match(WIDTH);
|
152
|
-
|
153
|
-
if (matches !== null && matches.length >= 1) {
|
154
|
-
return matches[1];
|
155
|
-
}
|
156
|
-
}
|
157
|
-
|
158
|
-
return null;
|
159
|
-
}
|
160
|
-
|
161
|
-
return method;
|
162
|
-
};
|
163
|
-
|
164
|
-
Select2.prototype._bindAdapters = function () {
|
165
|
-
this.dataAdapter.bind(this, this.$container);
|
166
|
-
this.selection.bind(this, this.$container);
|
167
|
-
|
168
|
-
this.dropdown.bind(this, this.$container);
|
169
|
-
this.results.bind(this, this.$container);
|
170
|
-
};
|
171
|
-
|
172
|
-
Select2.prototype._registerDomEvents = function () {
|
173
|
-
var self = this;
|
174
|
-
|
175
|
-
this.$element.on('change.select2', function () {
|
176
|
-
self.dataAdapter.current(function (data) {
|
177
|
-
self.trigger('selection:update', {
|
178
|
-
data: data
|
179
|
-
});
|
180
|
-
});
|
181
|
-
});
|
182
|
-
|
183
|
-
this._sync = Utils.bind(this._syncAttributes, this);
|
184
|
-
|
185
|
-
if (this.$element[0].attachEvent) {
|
186
|
-
this.$element[0].attachEvent('onpropertychange', this._sync);
|
187
|
-
}
|
188
|
-
|
189
|
-
var observer = window.MutationObserver ||
|
190
|
-
window.WebKitMutationObserver ||
|
191
|
-
window.MozMutationObserver
|
192
|
-
;
|
193
|
-
|
194
|
-
if (observer != null) {
|
195
|
-
this._observer = new observer(function (mutations) {
|
196
|
-
$.each(mutations, self._sync);
|
197
|
-
});
|
198
|
-
this._observer.observe(this.$element[0], {
|
199
|
-
attributes: true,
|
200
|
-
subtree: false
|
201
|
-
});
|
202
|
-
} else if (this.$element[0].addEventListener) {
|
203
|
-
this.$element[0].addEventListener('DOMAttrModified', self._sync, false);
|
204
|
-
}
|
205
|
-
};
|
206
|
-
|
207
|
-
Select2.prototype._registerDataEvents = function () {
|
208
|
-
var self = this;
|
209
|
-
|
210
|
-
this.dataAdapter.on('*', function (name, params) {
|
211
|
-
self.trigger(name, params);
|
212
|
-
});
|
213
|
-
};
|
214
|
-
|
215
|
-
Select2.prototype._registerSelectionEvents = function () {
|
216
|
-
var self = this;
|
217
|
-
var nonRelayEvents = ['toggle', 'focus'];
|
218
|
-
|
219
|
-
this.selection.on('toggle', function () {
|
220
|
-
self.toggleDropdown();
|
221
|
-
});
|
222
|
-
|
223
|
-
this.selection.on('focus', function (params) {
|
224
|
-
self.focus(params);
|
225
|
-
});
|
226
|
-
|
227
|
-
this.selection.on('*', function (name, params) {
|
228
|
-
if ($.inArray(name, nonRelayEvents) !== -1) {
|
229
|
-
return;
|
230
|
-
}
|
231
|
-
|
232
|
-
self.trigger(name, params);
|
233
|
-
});
|
234
|
-
};
|
235
|
-
|
236
|
-
Select2.prototype._registerDropdownEvents = function () {
|
237
|
-
var self = this;
|
238
|
-
|
239
|
-
this.dropdown.on('*', function (name, params) {
|
240
|
-
self.trigger(name, params);
|
241
|
-
});
|
242
|
-
};
|
243
|
-
|
244
|
-
Select2.prototype._registerResultsEvents = function () {
|
245
|
-
var self = this;
|
246
|
-
|
247
|
-
this.results.on('*', function (name, params) {
|
248
|
-
self.trigger(name, params);
|
249
|
-
});
|
250
|
-
};
|
251
|
-
|
252
|
-
Select2.prototype._registerEvents = function () {
|
253
|
-
var self = this;
|
254
|
-
|
255
|
-
this.on('open', function () {
|
256
|
-
self.$container.addClass('select2-container--open');
|
257
|
-
});
|
258
|
-
|
259
|
-
this.on('close', function () {
|
260
|
-
self.$container.removeClass('select2-container--open');
|
261
|
-
});
|
262
|
-
|
263
|
-
this.on('enable', function () {
|
264
|
-
self.$container.removeClass('select2-container--disabled');
|
265
|
-
});
|
266
|
-
|
267
|
-
this.on('disable', function () {
|
268
|
-
self.$container.addClass('select2-container--disabled');
|
269
|
-
});
|
270
|
-
|
271
|
-
this.on('blur', function () {
|
272
|
-
self.$container.removeClass('select2-container--focus');
|
273
|
-
});
|
274
|
-
|
275
|
-
this.on('query', function (params) {
|
276
|
-
if (!self.isOpen()) {
|
277
|
-
self.trigger('open', {});
|
278
|
-
}
|
279
|
-
|
280
|
-
this.dataAdapter.query(params, function (data) {
|
281
|
-
self.trigger('results:all', {
|
282
|
-
data: data,
|
283
|
-
query: params
|
284
|
-
});
|
285
|
-
});
|
286
|
-
});
|
287
|
-
|
288
|
-
this.on('query:append', function (params) {
|
289
|
-
this.dataAdapter.query(params, function (data) {
|
290
|
-
self.trigger('results:append', {
|
291
|
-
data: data,
|
292
|
-
query: params
|
293
|
-
});
|
294
|
-
});
|
295
|
-
});
|
296
|
-
|
297
|
-
this.on('keypress', function (evt) {
|
298
|
-
var key = evt.which;
|
299
|
-
|
300
|
-
if (self.isOpen()) {
|
301
|
-
if (key === KEYS.ESC || key === KEYS.TAB ||
|
302
|
-
(key === KEYS.UP && evt.altKey)) {
|
303
|
-
self.close();
|
304
|
-
|
305
|
-
evt.preventDefault();
|
306
|
-
} else if (key === KEYS.ENTER) {
|
307
|
-
self.trigger('results:select', {});
|
308
|
-
|
309
|
-
evt.preventDefault();
|
310
|
-
} else if ((key === KEYS.SPACE && evt.ctrlKey)) {
|
311
|
-
self.trigger('results:toggle', {});
|
312
|
-
|
313
|
-
evt.preventDefault();
|
314
|
-
} else if (key === KEYS.UP) {
|
315
|
-
self.trigger('results:previous', {});
|
316
|
-
|
317
|
-
evt.preventDefault();
|
318
|
-
} else if (key === KEYS.DOWN) {
|
319
|
-
self.trigger('results:next', {});
|
320
|
-
|
321
|
-
evt.preventDefault();
|
322
|
-
}
|
323
|
-
} else {
|
324
|
-
if (key === KEYS.ENTER || key === KEYS.SPACE ||
|
325
|
-
(key === KEYS.DOWN && evt.altKey)) {
|
326
|
-
self.open();
|
327
|
-
|
328
|
-
evt.preventDefault();
|
329
|
-
}
|
330
|
-
}
|
331
|
-
});
|
332
|
-
};
|
333
|
-
|
334
|
-
Select2.prototype._syncAttributes = function () {
|
335
|
-
this.options.set('disabled', this.$element.prop('disabled'));
|
336
|
-
|
337
|
-
if (this.options.get('disabled')) {
|
338
|
-
if (this.isOpen()) {
|
339
|
-
this.close();
|
340
|
-
}
|
341
|
-
|
342
|
-
this.trigger('disable', {});
|
343
|
-
} else {
|
344
|
-
this.trigger('enable', {});
|
345
|
-
}
|
346
|
-
};
|
347
|
-
|
348
|
-
/**
|
349
|
-
* Override the trigger method to automatically trigger pre-events when
|
350
|
-
* there are events that can be prevented.
|
351
|
-
*/
|
352
|
-
Select2.prototype.trigger = function (name, args) {
|
353
|
-
var actualTrigger = Select2.__super__.trigger;
|
354
|
-
var preTriggerMap = {
|
355
|
-
'open': 'opening',
|
356
|
-
'close': 'closing',
|
357
|
-
'select': 'selecting',
|
358
|
-
'unselect': 'unselecting'
|
359
|
-
};
|
360
|
-
|
361
|
-
if (args === undefined) {
|
362
|
-
args = {};
|
363
|
-
}
|
364
|
-
|
365
|
-
if (name in preTriggerMap) {
|
366
|
-
var preTriggerName = preTriggerMap[name];
|
367
|
-
var preTriggerArgs = {
|
368
|
-
prevented: false,
|
369
|
-
name: name,
|
370
|
-
args: args
|
371
|
-
};
|
372
|
-
|
373
|
-
actualTrigger.call(this, preTriggerName, preTriggerArgs);
|
374
|
-
|
375
|
-
if (preTriggerArgs.prevented) {
|
376
|
-
args.prevented = true;
|
377
|
-
|
378
|
-
return;
|
379
|
-
}
|
380
|
-
}
|
381
|
-
|
382
|
-
actualTrigger.call(this, name, args);
|
383
|
-
};
|
384
|
-
|
385
|
-
Select2.prototype.toggleDropdown = function () {
|
386
|
-
if (this.options.get('disabled')) {
|
387
|
-
return;
|
388
|
-
}
|
389
|
-
|
390
|
-
if (this.isOpen()) {
|
391
|
-
this.close();
|
392
|
-
} else {
|
393
|
-
this.open();
|
394
|
-
}
|
395
|
-
};
|
396
|
-
|
397
|
-
Select2.prototype.open = function () {
|
398
|
-
if (this.isOpen()) {
|
399
|
-
return;
|
400
|
-
}
|
401
|
-
|
402
|
-
this.trigger('query', {});
|
403
|
-
};
|
404
|
-
|
405
|
-
Select2.prototype.close = function () {
|
406
|
-
if (!this.isOpen()) {
|
407
|
-
return;
|
408
|
-
}
|
409
|
-
|
410
|
-
this.trigger('close', {});
|
411
|
-
};
|
412
|
-
|
413
|
-
Select2.prototype.isOpen = function () {
|
414
|
-
return this.$container.hasClass('select2-container--open');
|
415
|
-
};
|
416
|
-
|
417
|
-
Select2.prototype.hasFocus = function () {
|
418
|
-
return this.$container.hasClass('select2-container--focus');
|
419
|
-
};
|
420
|
-
|
421
|
-
Select2.prototype.focus = function (data) {
|
422
|
-
// No need to re-trigger focus events if we are already focused
|
423
|
-
if (this.hasFocus()) {
|
424
|
-
return;
|
425
|
-
}
|
426
|
-
|
427
|
-
this.$container.addClass('select2-container--focus');
|
428
|
-
this.trigger('focus', {});
|
429
|
-
};
|
430
|
-
|
431
|
-
Select2.prototype.enable = function (args) {
|
432
|
-
if (this.options.get('debug') && window.console && console.warn) {
|
433
|
-
console.warn(
|
434
|
-
'Select2: The `select2("enable")` method has been deprecated and will' +
|
435
|
-
' be removed in later Select2 versions. Use $element.prop("disabled")' +
|
436
|
-
' instead.'
|
437
|
-
);
|
438
|
-
}
|
439
|
-
|
440
|
-
if (args == null || args.length === 0) {
|
441
|
-
args = [true];
|
442
|
-
}
|
443
|
-
|
444
|
-
var disabled = !args[0];
|
445
|
-
|
446
|
-
this.$element.prop('disabled', disabled);
|
447
|
-
};
|
448
|
-
|
449
|
-
Select2.prototype.data = function () {
|
450
|
-
if (this.options.get('debug') &&
|
451
|
-
arguments.length > 0 && window.console && console.warn) {
|
452
|
-
console.warn(
|
453
|
-
'Select2: Data can no longer be set using `select2("data")`. You ' +
|
454
|
-
'should consider setting the value instead using `$element.val()`.'
|
455
|
-
);
|
456
|
-
}
|
457
|
-
|
458
|
-
var data = [];
|
459
|
-
|
460
|
-
this.dataAdapter.current(function (currentData) {
|
461
|
-
data = currentData;
|
462
|
-
});
|
463
|
-
|
464
|
-
return data;
|
465
|
-
};
|
466
|
-
|
467
|
-
Select2.prototype.val = function (args) {
|
468
|
-
if (this.options.get('debug') && window.console && console.warn) {
|
469
|
-
console.warn(
|
470
|
-
'Select2: The `select2("val")` method has been deprecated and will be' +
|
471
|
-
' removed in later Select2 versions. Use $element.val() instead.'
|
472
|
-
);
|
473
|
-
}
|
474
|
-
|
475
|
-
if (args == null || args.length === 0) {
|
476
|
-
return this.$element.val();
|
477
|
-
}
|
478
|
-
|
479
|
-
var newVal = args[0];
|
480
|
-
|
481
|
-
if ($.isArray(newVal)) {
|
482
|
-
newVal = $.map(newVal, function (obj) {
|
483
|
-
return obj.toString();
|
484
|
-
});
|
485
|
-
}
|
486
|
-
|
487
|
-
this.$element.val(newVal).trigger('change');
|
488
|
-
};
|
489
|
-
|
490
|
-
Select2.prototype.destroy = function () {
|
491
|
-
this.$container.remove();
|
492
|
-
|
493
|
-
if (this.$element[0].detachEvent) {
|
494
|
-
this.$element[0].detachEvent('onpropertychange', this._sync);
|
495
|
-
}
|
496
|
-
|
497
|
-
if (this._observer != null) {
|
498
|
-
this._observer.disconnect();
|
499
|
-
this._observer = null;
|
500
|
-
} else if (this.$element[0].removeEventListener) {
|
501
|
-
this.$element[0]
|
502
|
-
.removeEventListener('DOMAttrModified', this._sync, false);
|
503
|
-
}
|
504
|
-
|
505
|
-
this._sync = null;
|
506
|
-
|
507
|
-
this.$element.off('.select2');
|
508
|
-
this.$element.attr('tabindex', this.$element.data('old-tabindex'));
|
509
|
-
|
510
|
-
this.$element.removeClass('select2-hidden-accessible');
|
511
|
-
this.$element.attr('aria-hidden', 'false');
|
512
|
-
this.$element.removeData('select2');
|
513
|
-
|
514
|
-
this.dataAdapter.destroy();
|
515
|
-
this.selection.destroy();
|
516
|
-
this.dropdown.destroy();
|
517
|
-
this.results.destroy();
|
518
|
-
|
519
|
-
this.dataAdapter = null;
|
520
|
-
this.selection = null;
|
521
|
-
this.dropdown = null;
|
522
|
-
this.results = null;
|
523
|
-
};
|
524
|
-
|
525
|
-
Select2.prototype.render = function () {
|
526
|
-
var $container = $(
|
527
|
-
'<span class="select2 select2-container">' +
|
528
|
-
'<span class="selection"></span>' +
|
529
|
-
'<span class="dropdown-wrapper" aria-hidden="true"></span>' +
|
530
|
-
'</span>'
|
531
|
-
);
|
532
|
-
|
533
|
-
$container.attr('dir', this.options.get('dir'));
|
534
|
-
|
535
|
-
this.$container = $container;
|
536
|
-
|
537
|
-
this.$container.addClass('select2-container--' + this.options.get('theme'));
|
538
|
-
|
539
|
-
$container.data('element', this.$element);
|
540
|
-
|
541
|
-
return $container;
|
542
|
-
};
|
543
|
-
|
544
|
-
return Select2;
|
545
|
-
});
|