Commit 9fbe27f543c10bd9dfabf72d1bb1a37206b56302

Authored by Wilmer Ramones
1 parent e1ce12c4c2
Exists in master

añadido la Actividad docente a la plantilla del PIDA y eliminado archivos innecesarios del select2

Showing 401 changed files with 0 additions and 53888 deletions   Show diff stats

Too many changes.

To preserve performance only 100 of 401 files displayed.

web/assets/vendor/select2/docs/.gitignore
@@ -1,2 +0,0 @@ @@ -1,2 +0,0 @@
1 -_site  
2 -dist  
web/assets/vendor/select2/docs/README.md
@@ -1,38 +0,0 @@ @@ -1,38 +0,0 @@
1 -Select2 Documentation  
2 -=====================  
3 -[This repository][select2-docs-source] holds the latest documentation for  
4 -[Select2][select2].  
5 -  
6 -What is this?  
7 --------------  
8 -The documentation is automatically extracted from the `docs` directory at the  
9 -[Select2 source repository][select2-source]. This is done periodically by  
10 -the maintainers of Select2.  
11 -  
12 -How can I fix an issue in these docs?  
13 --------------------------------------  
14 -If you are reading this from the source repository, within the `docs` directory,  
15 -then you're already in the right place. You can fork the source repository,  
16 -commit your changes, and then make a pull request and it will be reviewed.  
17 -  
18 -**If you are reading this from the  
19 -[documentation repository][select2-docs-source], you are in the wrong place.**  
20 -Pull requests made directly to the documentation repository will be ignored and  
21 -eventually closed, so don't do that.  
22 -  
23 -How can I build these docs manually?  
24 -------------------------------------  
25 -In the [main Select2 repository][select2-source], you can build the  
26 -documentation by executing  
27 -  
28 -```bash  
29 -grunt docs  
30 -```  
31 -  
32 -Which will start up the documentation on port 4000. You will need  
33 -[Jekyll][jekyll] installed to build the documentation.  
34 -  
35 -[jekyll]: http://jekyllrb.com/  
36 -[select2]: https://select2.github.io  
37 -[select2-docs-source]: https://github.com/select2/select2.github.io  
38 -[select2-source]: https://github.com/select2/select2  
web/assets/vendor/select2/docs/_includes/examples/basics.html
@@ -1,97 +0,0 @@ @@ -1,97 +0,0 @@
1 -<section>  
2 -  
3 - <h1 id="basics" class="page-header">The basics</h1>  
4 -  
5 - <h2 id="single">Single select boxes</h2>  
6 -  
7 - <p>  
8 - Select2 can take a regular select box like this...  
9 - </p>  
10 -  
11 - <p>  
12 - <select class="js-states form-control"></select>  
13 - </p>  
14 -  
15 - <p>  
16 - and turn it into this...  
17 - </p>  
18 -  
19 - <div class="s2-example">  
20 - <p>  
21 - <select class="js-example-basic-single js-states form-control"></select>  
22 - </p>  
23 - </div>  
24 -  
25 -{% highlight html linenos %}  
26 -<script type="text/javascript">  
27 -$(document).ready(function() {  
28 - $(".js-example-basic-single").select2();  
29 -});  
30 -</script>  
31 -  
32 -<select class="js-example-basic-single">  
33 - <option value="AL">Alabama</option>  
34 - ...  
35 - <option value="WY">Wyoming</option>  
36 -</select>  
37 -{% endhighlight %}  
38 -  
39 - <h2 id="multiple">Multiple select boxes</h2>  
40 -  
41 - <p>  
42 - Select2 also supports multi-value select boxes. The select below is declared with the <code>multiple</code> attribute.  
43 - </p>  
44 -  
45 - <div class="s2-example">  
46 - <p>  
47 - <select class="js-example-basic-multiple js-states form-control" multiple="multiple"></select>  
48 - </p>  
49 - </div>  
50 -  
51 -{% highlight html linenos %}  
52 -<script type="text/javascript">  
53 -$(".js-example-basic-multiple").select2();  
54 -</script>  
55 -  
56 -<select class="js-example-basic-multiple" multiple="multiple">  
57 - <option value="AL">Alabama</option>  
58 - ...  
59 - <option value="WY">Wyoming</option>  
60 -</select>  
61 -{% endhighlight %}  
62 -  
63 - <h2>Select boxes with labels</h2>  
64 -  
65 - <p>  
66 - You can, and should, use a <code>&lt;label&gt;</code> with Select2, just like any other <code>&lt;select&gt</code> element.  
67 - </p>  
68 -  
69 - <div class="s2-example">  
70 - <p>  
71 - <label for="id_label_single">  
72 - Click this to highlight the single select element  
73 - <select class="js-example-basic-single js-states form-control" id="id_label_single"></select>  
74 - </label>  
75 - </p>  
76 - <p>  
77 - <label for="id_label_multiple">  
78 - Click this to highlight the multiple select element  
79 - <select class="js-example-basic-multiple js-states form-control" id="id_label_multiple" multiple="multiple"></select>  
80 - </label>  
81 - </p>  
82 - </div>  
83 -  
84 -{% highlight html linenos %}  
85 -<label for="id_label_single">  
86 - Click this to highlight the single select element  
87 -  
88 - <select class="js-example-basic-single js-states form-control" id="id_label_single"></select>  
89 -</label>  
90 -  
91 -<label for="id_label_multiple">  
92 - Click this to highlight the multiple select element  
93 -  
94 - <select class="js-example-basic-multiple js-states form-control" id="id_label_multiple" multiple="multiple"></select>  
95 -</label>  
96 -{% endhighlight %}  
97 -</section>  
98 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/examples/data.html
@@ -1,123 +0,0 @@ @@ -1,123 +0,0 @@
1 -<section>  
2 -  
3 - <h1 id="data" class="page-header">  
4 - Data sources  
5 - </h1>  
6 -  
7 - <p>In addition to handling options from a standard <code>&lt;select&gt;</code>, Select2 can also retrieve the results from other data sources.</p>  
8 -  
9 - <h2 id="data-array" >Loading array data</h2>  
10 -  
11 - <p>  
12 - Select2 provides a way to load the data from a local array.  
13 - You can provide initial selections with array data by providing the  
14 - option tag for the selected values, similar to how it would be done for  
15 - a standard select.  
16 - </p>  
17 -  
18 - <div class="s2-example">  
19 - <p>  
20 - <select class="js-example-data-array form-control"></select>  
21 - </p>  
22 - <p>  
23 - <select class="js-example-data-array-selected form-control">  
24 - <option value="2" selected="selected">duplicate</option>  
25 - </select>  
26 - </p>  
27 - </div>  
28 -  
29 -{% highlight html linenos %}  
30 -<script type="text/javascript">  
31 -var data = [{ id: 0, text: 'enhancement' }, { id: 1, text: 'bug' }, { id: 2, text: 'duplicate' }, { id: 3, text: 'invalid' }, { id: 4, text: 'wontfix' }];  
32 -  
33 -$(".js-example-data-array").select2({  
34 - data: data  
35 -})  
36 -  
37 -$(".js-example-data-array-selected").select2({  
38 - data: data  
39 -})  
40 -</script>  
41 -  
42 -<select class="js-example-data-array"></select>  
43 -  
44 -<select class="js-example-data-array-selected">  
45 - <option value="2" selected="selected">duplicate</option>  
46 -</select>  
47 -{% endhighlight %}  
48 -  
49 - <h2 id="data-ajax" >Loading remote data</h2>  
50 -  
51 - <p>  
52 - Select2 comes with AJAX support built in, using jQuery's AJAX methods.  
53 - In this example, we can search for repositories using GitHub's API.  
54 - </p>  
55 -  
56 - <p>  
57 - <select class="js-example-data-ajax form-control">  
58 - <option value="3620194" selected="selected">select2/select2</option>  
59 - </select>  
60 - </p>  
61 -  
62 - <p>  
63 - When using Select2 with remote data, the HTML required for the  
64 - <code>select</code> is the same as any other Select2. If you need to  
65 - provide default selections, you just need to include an  
66 - <code>option</code> for each selection that contains the value and text  
67 - that should be displayed.  
68 - </p>  
69 -  
70 -{% highlight html linenos %}  
71 -<select class="js-data-example-ajax">  
72 - <option value="3620194" selected="selected">select2/select2</option>  
73 -</select>  
74 -{% endhighlight %}  
75 -  
76 - <p>  
77 - You can configure how Select2 searches for remote data using the  
78 - <code>ajax</code> option. More information on the individual options  
79 - that Select2 handles can be found in the  
80 - <a href="options.html#ajax">options documentation for <code>ajax</code></a>.  
81 - </p>  
82 -  
83 -{% highlight js linenos %}  
84 -$(".js-data-example-ajax").select2({  
85 - ajax: {  
86 - url: "https://api.github.com/search/repositories",  
87 - dataType: 'json',  
88 - delay: 250,  
89 - data: function (params) {  
90 - return {  
91 - q: params.term, // search term  
92 - page: params.page  
93 - };  
94 - },  
95 - processResults: function (data, params) {  
96 - // parse the results into the format expected by Select2  
97 - // since we are using custom formatting functions we do not need to  
98 - // alter the remote JSON data, except to indicate that infinite  
99 - // scrolling can be used  
100 - params.page = params.page || 1;  
101 -  
102 - return {  
103 - results: data.items,  
104 - pagination: {  
105 - more: (params.page * 30) < data.total_count  
106 - }  
107 - };  
108 - },  
109 - cache: true  
110 - },  
111 - escapeMarkup: function (markup) { return markup; }, // let our custom formatter work  
112 - minimumInputLength: 1,  
113 - templateResult: formatRepo, // omitted for brevity, see the source of this page  
114 - templateSelection: formatRepoSelection // omitted for brevity, see the source of this page  
115 -});  
116 -{% endhighlight %}  
117 -  
118 - <p>  
119 - Select2 will pass any options in the <code>ajax</code> object to  
120 - jQuery's <code>$.ajax</code> function, or the <code>transport</code>  
121 - function you specify.  
122 - </p>  
123 -</section>  
web/assets/vendor/select2/docs/_includes/examples/disabled-mode.html
@@ -1,43 +0,0 @@ @@ -1,43 +0,0 @@
1 -<section>  
2 -  
3 - <h1 id="disabled">Disabled mode</h1>  
4 -  
5 - <p>  
6 - Select2 will respond to the <code>disabled</code> attribute on  
7 - <code>&lt;select&gt;</code> elements. You can also initialize Select2  
8 - with <code>disabled: true</code> to get the same effect.  
9 - </p>  
10 -  
11 - <div class="s2-example">  
12 - <p>  
13 - <select class="js-example-disabled js-states form-control" disabled="disabled"></select>  
14 - </p>  
15 -  
16 - <p>  
17 - <select class="js-example-disabled-multi js-states form-control" multiple="multiple" disabled="disabled"></select>  
18 - </p>  
19 - <div class="btn-group btn-group-sm" role="group" aria-label="Programmatic enabling and disabling">  
20 - <button type="button" class="js-programmatic-enable btn btn-default">  
21 - Enable  
22 - </button>  
23 - <button type="button" class="js-programmatic-disable btn btn-default">  
24 - Disable  
25 - </button>  
26 - </div>  
27 - </div>  
28 -  
29 - <pre data-fill-from=".js-code-disabled"></pre>  
30 -  
31 -<script type="text/javascript" class="js-code-disabled">  
32 -$(".js-programmatic-enable").on("click", function () {  
33 - $(".js-example-disabled").prop("disabled", false);  
34 - $(".js-example-disabled-multi").prop("disabled", false);  
35 -});  
36 -  
37 -$(".js-programmatic-disable").on("click", function () {  
38 - $(".js-example-disabled").prop("disabled", true);  
39 - $(".js-example-disabled-multi").prop("disabled", true);  
40 -});  
41 -</script>  
42 -  
43 -</section>  
web/assets/vendor/select2/docs/_includes/examples/disabled-results.html
@@ -1,29 +0,0 @@ @@ -1,29 +0,0 @@
1 -<section>  
2 -  
3 - <h1 id="disabled-results">Disabled results</h1>  
4 -  
5 - <p>  
6 - Select2 will correctly handle disabled results, both with data coming  
7 - from a standard select (when the <code>disabled</code> attribute is set)  
8 - and from remote sources, where the object has  
9 - <code>disabled: true</code> set.  
10 - </p>  
11 -  
12 - <div class="s2-example">  
13 - <p>  
14 - <select class="js-example-disabled-results form-control">  
15 - <option value="one">First</option>  
16 - <option value="two" disabled="disabled">Second (disabled)</option>  
17 - <option value="three">Third</option>  
18 - </select>  
19 - </p>  
20 - </div>  
21 -  
22 -{% highlight html linenos %}  
23 -<select class="js-example-disabled-results">  
24 - <option value="one">First</option>  
25 - <option value="two" disabled="disabled">Second (disabled)</option>  
26 - <option value="three">Third</option>  
27 -</select>  
28 -{% endhighlight %}  
29 -</section>  
web/assets/vendor/select2/docs/_includes/examples/hide-search.html
@@ -1,22 +0,0 @@ @@ -1,22 +0,0 @@
1 -<section>  
2 -  
3 - <h1 id="hide-search">Hiding the search box</h1>  
4 -  
5 - <p>  
6 - Select2 allows you to hide the search box depending on the number of  
7 - options which are displayed. In this example, we use the value  
8 - <code>Infinity</code> to tell Select2 to never display the search box.  
9 - </p>  
10 -  
11 - <div class="s2-example">  
12 - <p>  
13 - <select class="js-example-basic-hide-search js-states form-control"></select>  
14 - </p>  
15 - </div>  
16 -  
17 -{% highlight js linenos %}  
18 -$(".js-example-basic-hide-search").select2({  
19 - minimumResultsForSearch: Infinity  
20 -});  
21 -{% endhighlight %}  
22 -</section>  
web/assets/vendor/select2/docs/_includes/examples/localization-rtl-diacritics.html
@@ -1,82 +0,0 @@ @@ -1,82 +0,0 @@
1 -<section>  
2 - <h1 id="localization-rtl-diacritics" class="page-header">  
3 - Localization, RTL and diacritics support  
4 - </h1>  
5 -  
6 - <h2 id="language">Multiple languages</h2>  
7 -  
8 - <p>  
9 - Select2 supports displaying the messages in different languages, as well  
10 - as providing your own  
11 - <a href="options.html#language">custom messages</a>  
12 - that can be displayed.  
13 - </p>  
14 -  
15 - <p>  
16 - The language does not have to be defined when Select2 is being  
17 - initialized, but instead can be defined in the <code>[lang]</code>  
18 - attribute of any parent elements as <code>[lang="es"]</code>.  
19 - </p>  
20 -  
21 - <div class="s2-example">  
22 - <p>  
23 - <select class="js-example-language js-states form-control">  
24 - </select>  
25 - </p>  
26 - </div>  
27 -  
28 -{% highlight js linenos %}  
29 -$(".js-example-language").select2({  
30 - language: "es"  
31 -});  
32 -{% endhighlight %}  
33 -  
34 - <h2 id="rtl">RTL support</h2>  
35 -  
36 - <p>  
37 - Select2 will work on RTL websites if the <code>dir</code> attribute is  
38 - set on the <code>&lt;select&gt;</code> or any parents of it. You can also  
39 - initialize Select2 with <code>dir: "rtl"</code> set.  
40 - </p>  
41 -  
42 - <div class="s2-example">  
43 - <p>  
44 - <select class="js-example-rtl js-states form-control" dir="rtl"></select>  
45 - </p>  
46 - </div>  
47 -  
48 -{% highlight js linenos %}  
49 -$(".js-example-rtl").select2({  
50 - dir: "rtl"  
51 -});  
52 -{% endhighlight %}  
53 -  
54 - <h2 id="diacritics">Diacritics support</h2>  
55 -  
56 - <p>  
57 - Select2's default matcher will ignore diacritics, making it easier for  
58 - users to filter results in international selects. Type "aero" into the  
59 - select below.  
60 - </p>  
61 -  
62 - <div class="s2-example">  
63 - <p>  
64 - <select class="js-example-diacritics form-control">  
65 - <option>Aeróbics</option>  
66 - <option>Aeróbics en Agua</option>  
67 - <option>Aerografía</option>  
68 - <option>Aeromodelaje</option>  
69 - <option>Águilas</option>  
70 - <option>Ajedrez</option>  
71 - <option>Ala Delta</option>  
72 - <option>Álbumes de Música</option>  
73 - <option>Alusivos</option>  
74 - <option>Análisis de Escritura a Mano</option>  
75 - </select>  
76 - </p>  
77 - </div>  
78 -  
79 -{% highlight js linenos %}  
80 -$(".js-example-diacritics").select2();  
81 -{% endhighlight %}  
82 -</section>  
web/assets/vendor/select2/docs/_includes/examples/matcher.html
@@ -1,39 +0,0 @@ @@ -1,39 +0,0 @@
1 -<section>  
2 - <h1 id="matcher">Customizing how results are matched</h1>  
3 -  
4 - <p>  
5 - Unlike other dropdowns on this page, this one matches options only if  
6 - the term appears in the beginning of the string as opposed to anywhere:  
7 - </p>  
8 -  
9 - <p>  
10 - This custom matcher uses a  
11 - <a href="options.html#compat-matcher">compatibility module</a> that is  
12 - only bundled in the  
13 - <a href="index.html#builds-full">full version of Select2</a>. You also  
14 - have the option of using a  
15 - <a href="options.html#matcher">more complex matcher</a>.  
16 - </p>  
17 -  
18 - <div class="s2-example">  
19 - <p>  
20 - <select class="js-example-matcher-start js-states form-control"></select>  
21 - </p>  
22 - </div>  
23 -  
24 -{% highlight js linenos %}  
25 -function matchStart (term, text) {  
26 - if (text.toUpperCase().indexOf(term.toUpperCase()) == 0) {  
27 - return true;  
28 - }  
29 -  
30 - return false;  
31 -}  
32 -  
33 -$.fn.select2.amd.require(['select2/compat/matcher'], function (oldMatcher) {  
34 - $(".js-example-matcher-start").select2({  
35 - matcher: oldMatcher(matchStart)  
36 - })  
37 -});  
38 -{% endhighlight %}  
39 -</section>  
web/assets/vendor/select2/docs/_includes/examples/multiple-max.html
@@ -1,24 +0,0 @@ @@ -1,24 +0,0 @@
1 -<section>  
2 - <h1 id="multiple-max">  
3 - Limiting the number of selections  
4 - </h1>  
5 -  
6 - <p>  
7 - Select2 multi-value select boxes can set restrictions regarding the  
8 - maximum number of options selected. The select below is declared with  
9 - the <code>multiple</code> attribute with <code>maximumSelectionLength</code>  
10 - in the select2 options.  
11 - </p>  
12 -  
13 - <div class="s2-example">  
14 - <p>  
15 - <select class="js-example-basic-multiple-limit js-states form-control" multiple="multiple"></select>  
16 - </p>  
17 - </div>  
18 -  
19 -{% highlight js linenos %}  
20 -$(".js-example-basic-multiple-limit").select2({  
21 - maximumSelectionLength: 2  
22 -});  
23 -{% endhighlight %}  
24 -</section>  
web/assets/vendor/select2/docs/_includes/examples/placeholders.html
@@ -1,36 +0,0 @@ @@ -1,36 +0,0 @@
1 -<section>  
2 - <h1 id="placeholders">Placeholders</h1>  
3 -  
4 - <p>  
5 - A placeholder value can be defined and will be displayed until a  
6 - selection is made. Select2 uses the <code>placeholder</code> attribute  
7 - on multiple select boxes, which requires IE 10+. You can support it in  
8 - older versions with  
9 - <a href="https://github.com/jamesallardice/Placeholders.js">the Placeholders.js polyfill</a>.  
10 - </p>  
11 -  
12 - <div class="s2-example">  
13 - <p>  
14 - <select class="js-example-placeholder-single js-states form-control">  
15 - <option></option>  
16 - </select>  
17 - </p>  
18 - <p>  
19 - <select class="js-example-placeholder-multiple js-states form-control" multiple="multiple"></select>  
20 - </p>  
21 - </div>  
22 -  
23 - <pre data-fill-from=".js-code-placeholder"></pre>  
24 -  
25 -<script type="text/javascript" class="js-code-placeholder">  
26 -$(".js-example-placeholder-single").select2({  
27 - placeholder: "Select a state",  
28 - allowClear: true  
29 -});  
30 -  
31 -$(".js-example-placeholder-multiple").select2({  
32 - placeholder: "Select a state"  
33 -});  
34 -</script>  
35 -  
36 -</section>  
web/assets/vendor/select2/docs/_includes/examples/programmatic-control.html
@@ -1,155 +0,0 @@ @@ -1,155 +0,0 @@
1 -<section>  
2 - <h1 id="programmatic-control" class="page-header">  
3 - Programmatic control  
4 - </h1>  
5 -  
6 - <h2 id="events">DOM events</h2>  
7 -  
8 - <p>  
9 - Select2 will trigger some events on the original select element,  
10 - allowing you to integrate it with other components. You can find more  
11 - information on events  
12 - <a href="options.html#events">on the options page</a>.  
13 - </p>  
14 -  
15 - <p>  
16 - <code>change</code> is fired whenever an option is selected or removed.  
17 - </p>  
18 -  
19 - <p>  
20 - <code>select2:open</code> is fired whenever the dropdown is opened.  
21 - <code>select2:opening</code> is fired before this and can be prevented.  
22 - </p>  
23 -  
24 - <p>  
25 - <code>select2:close</code> is fired whenever the dropdown is closed.  
26 - <code>select2:closing</code> is fired before this and can be prevented.  
27 - </p>  
28 -  
29 - <p>  
30 - <code>select2:select</code> is fired whenever a result is selected.  
31 - <code>select2:selecting</code> is fired before this and can be prevented.  
32 - </p>  
33 -  
34 - <p>  
35 - <code>select2:unselect</code> is fired whenever a result is unselected.  
36 - <code>select2:unselecting</code> is fired before this and can be prevented.  
37 - </p>  
38 -  
39 - <div class="s2-example">  
40 - <p>  
41 - <select class="js-states js-example-events form-control"></select>  
42 - </p>  
43 - <p>  
44 - <select class="js-states js-example-events form-control" multiple="multiple"></select>  
45 - </p>  
46 - </div>  
47 -  
48 - <div class="s2-event-log">  
49 - <ul class="js-event-log"></ul>  
50 - </div>  
51 -  
52 - <pre data-fill-from=".js-code-events"></pre>  
53 -  
54 -<script type="text/javascript" class="js-code-events">  
55 -var $eventLog = $(".js-event-log");  
56 -var $eventSelect = $(".js-example-events");  
57 -  
58 -$eventSelect.on("select2:open", function (e) { log("select2:open", e); });  
59 -$eventSelect.on("select2:close", function (e) { log("select2:close", e); });  
60 -$eventSelect.on("select2:select", function (e) { log("select2:select", e); });  
61 -$eventSelect.on("select2:unselect", function (e) { log("select2:unselect", e); });  
62 -  
63 -$eventSelect.on("change", function (e) { log("change"); });  
64 -  
65 -function log (name, evt) {  
66 - if (!evt) {  
67 - var args = "{}";  
68 - } else {  
69 - var args = JSON.stringify(evt.params, function (key, value) {  
70 - if (value && value.nodeName) return "[DOM node]";  
71 - if (value instanceof $.Event) return "[$.Event]";  
72 - return value;  
73 - });  
74 - }  
75 - var $e = $("<li>" + name + " -> " + args + "</li>");  
76 - $eventLog.append($e);  
77 - $e.animate({ opacity: 1 }, 10000, 'linear', function () {  
78 - $e.animate({ opacity: 0 }, 2000, 'linear', function () {  
79 - $e.remove();  
80 - });  
81 - });  
82 -}  
83 -</script>  
84 -  
85 - <h2 id="programmatic">Programmatic access</h2>  
86 -  
87 - <p>  
88 - Select2 supports methods that allow programmatic control of the  
89 - component.  
90 - </p>  
91 -  
92 - <div class="s2-example">  
93 -  
94 - <p>  
95 - <select class="js-example-programmatic js-states form-control"></select>  
96 - </p>  
97 -  
98 - <div class="btn-toolbar" role="toolbar" aria-label="Programmatic control">  
99 - <div class="btn-group btn-group-sm" aria-label="Set Select2 option">  
100 - <button class="js-programmatic-set-val btn btn-default">  
101 - Set "California"  
102 - </button>  
103 - </div>  
104 - <div class="btn-group btn-group-sm" role="group" aria-label="Open and close">  
105 - <button class="js-programmatic-open btn btn-default">  
106 - Open  
107 - </button>  
108 - <button class="js-programmatic-close btn btn-default">  
109 - Close  
110 - </button>  
111 - </div>  
112 - <div class="btn-group btn-group-sm" role="group" aria-label="Initialize and destroy">  
113 - <button class="js-programmatic-init btn btn-default">  
114 - Init  
115 - </button>  
116 - <button class="js-programmatic-destroy btn btn-default">  
117 - Destroy  
118 - </button>  
119 - </div>  
120 - </div>  
121 -  
122 - <p>  
123 - <select class="js-example-programmatic-multi js-states form-control" multiple="multiple"></select>  
124 - </p>  
125 -  
126 - <div class="btn-group btn-group-sm" role="group" aria-label="Programmatic setting and clearing Select2 options">  
127 - <button type="button" class="js-programmatic-multi-set-val btn btn-default">  
128 - Set to California and Alabama  
129 - </button>  
130 - <button type="button" class="js-programmatic-multi-clear btn btn-default">  
131 - Clear  
132 - </button>  
133 - </div>  
134 -  
135 - </div>  
136 -  
137 - <pre data-fill-from=".js-code-programmatic"></pre>  
138 -  
139 -<script type="text/javascript" class="js-code-programmatic">  
140 -var $example = $(".js-example-programmatic").select2();  
141 -var $exampleMulti = $(".js-example-programmatic-multi").select2();  
142 -  
143 -$(".js-programmatic-set-val").on("click", function () { $example.val("CA").trigger("change"); });  
144 -  
145 -$(".js-programmatic-open").on("click", function () { $example.select2("open"); });  
146 -$(".js-programmatic-close").on("click", function () { $example.select2("close"); });  
147 -  
148 -$(".js-programmatic-init").on("click", function () { $example.select2(); });  
149 -$(".js-programmatic-destroy").on("click", function () { $example.select2("destroy"); });  
150 -  
151 -$(".js-programmatic-multi-set-val").on("click", function () { $exampleMulti.val(["CA", "AL"]).trigger("change"); });  
152 -$(".js-programmatic-multi-clear").on("click", function () { $exampleMulti.val(null).trigger("change"); });  
153 -</script>  
154 -  
155 -</section>  
web/assets/vendor/select2/docs/_includes/examples/tags.html
@@ -1,29 +0,0 @@ @@ -1,29 +0,0 @@
1 -<section>  
2 - <h1 id="tags">Tagging support</h1>  
3 -  
4 - <p>  
5 - Select2 can be used to quickly set up fields used for tagging.  
6 - </p>  
7 -  
8 - <p>  
9 - Note that when tagging is enabled the user can select from pre-existing  
10 - options or create a new tag by picking the first choice, which is what  
11 - the user has typed into the search box so far.  
12 - </p>  
13 -  
14 - <div class="s2-example">  
15 - <p>  
16 - <select class="js-example-tags form-control" multiple="multiple">  
17 - <option selected="selected">orange</option>  
18 - <option>white</option>  
19 - <option selected="selected">purple</option>  
20 - </select>  
21 - </p>  
22 - </div>  
23 -  
24 -{% highlight js linenos %}  
25 -$(".js-example-tags").select2({  
26 - tags: true  
27 -})  
28 -{% endhighlight %}  
29 -</section>  
web/assets/vendor/select2/docs/_includes/examples/themes-templating-responsive-design.html
@@ -1,104 +0,0 @@ @@ -1,104 +0,0 @@
1 -<section>  
2 -  
3 - <h1 id="themes-templating-responsive-design" class="page-header">  
4 - Themes, templating and responsive design  
5 - </h1>  
6 -  
7 - <h2 id="themes">Theme support</h2>  
8 -  
9 - <p>  
10 - Select2 supports custom themes using the  
11 - <a href="options.html#theme">theme option</a>  
12 - so you can style Select2 to match the rest of your application.  
13 - </p>  
14 -  
15 - <p>  
16 - These are using the <code>classic</code> theme, which matches the old  
17 - look of Select2.  
18 - </p>  
19 -  
20 - <div class="s2-example">  
21 - <p>  
22 - <select class="js-example-theme-single js-states form-control">  
23 - </select>  
24 - </p>  
25 - <p>  
26 - <select class="js-example-theme-multiple js-states form-control" multiple="multiple"></select>  
27 - </p>  
28 - </div>  
29 -  
30 -{% highlight js linenos %}  
31 -$(".js-example-theme-single").select2({  
32 - theme: "classic"  
33 -});  
34 -  
35 -$(".js-example-theme-multiple").select2({  
36 - theme: "classic"  
37 -});  
38 -{% endhighlight %}  
39 -  
40 -<h2 id="templating">Templating</h2>  
41 -  
42 -<p>  
43 - Various display options of the Select2 component can be changed:  
44 - You can access the <code>&lt;option&gt;</code> element  
45 - (or <code>&lt;optgroup&gt;</code>) and any attributes on those elements  
46 - using <code>.element</code>.  
47 -</p>  
48 -  
49 -<p>  
50 - Templating is primarily controlled by the  
51 - <a href="options.html#templateResult"><code>templateResult</code></a>  
52 - and <a href="options.html#templateSelection"><code>templateSelection</code></a>  
53 - options.  
54 -</p>  
55 -  
56 -<div class="s2-example">  
57 - <p>  
58 - <select class="js-example-templating js-states form-control"></select>  
59 - </p>  
60 -</div>  
61 -  
62 -{% highlight js linenos %}  
63 -function formatState (state) {  
64 - if (!state.id) { return state.text; }  
65 - var $state = $(  
66 - '<span><img src="vendor/images/flags/' + state.element.value.toLowerCase() + '.png" class="img-flag" /> ' + state.text + '</span>'  
67 - );  
68 - return $state;  
69 -};  
70 -  
71 -$(".js-example-templating").select2({  
72 - templateResult: formatState  
73 -});  
74 -{% endhighlight %}  
75 -  
76 -<h2 id="responsive">Responsive design - Percent width</h2>  
77 -  
78 -<p>  
79 - Select2's width can be set to a percentage of its parent to support  
80 - responsive design. The two Select2 boxes below are styled to 50% and 75%  
81 - width respectively.  
82 -</p>  
83 -  
84 -<div class="s2-example">  
85 - <p>  
86 - <select class="js-example-responsive js-states" style="width: 50%"></select>  
87 - </p>  
88 - <p>  
89 - <select class="js-example-responsive js-states" multiple="multiple" style="width: 75%"></select>  
90 - </p>  
91 -</div>  
92 -  
93 -{% highlight html linenos %}  
94 -<select class="js-example-responsive" style="width: 50%"></select>  
95 -<select class="js-example-responsive" multiple="multiple" style="width: 75%"></select>  
96 -{% endhighlight %}  
97 -  
98 -<div class="alert alert-warning">  
99 - Select2 will do its best to resolve the percent width specified via a  
100 - css class, but it is not always possible. The best way to ensure that  
101 - Select2 is using a percent based width is to inline the  
102 - <code>style</code> declaration into the tag.  
103 -</div>  
104 -</section>  
web/assets/vendor/select2/docs/_includes/examples/tokenizer.html
@@ -1,32 +0,0 @@ @@ -1,32 +0,0 @@
1 -<section>  
2 - <h1 id="tokenizer">Automatic tokenization</h1>  
3 -  
4 - <p>  
5 - Select2 supports ability to add choices automatically as the user is  
6 - typing into the search field. Try typing in the search field below and  
7 - entering a space or a comma.  
8 - </p>  
9 -  
10 - <p>  
11 - The separators that should be used when tokenizing can be specified  
12 - using the <a href="options.html#tokenSeparators">tokenSeparators</a>  
13 - options.  
14 - </p>  
15 -  
16 - <div class="s2-example">  
17 - <p>  
18 - <select class="js-example-tokenizer form-control" multiple="multiple">  
19 - <option>red</option>  
20 - <option>blue</option>  
21 - <option>green</option>  
22 - </select>  
23 - </p>  
24 - </div>  
25 -  
26 -{% highlight js linenos %}  
27 -$(".js-example-tokenizer").select2({  
28 - tags: true,  
29 - tokenSeparators: [',', ' ']  
30 -})  
31 -{% endhighlight %}  
32 -</section>  
web/assets/vendor/select2/docs/_includes/footer.html
@@ -1,20 +0,0 @@ @@ -1,20 +0,0 @@
1 -<footer class="s2-docs-footer" role="contentinfo">  
2 - <div class="container">  
3 - {% include social-buttons.html %}  
4 - <p>  
5 - Select2 is licensed under <a href="https://github.com/select2/select2/blob/master/LICENSE.md">MIT</a>, documentation under <a href="https://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.  
6 - </p>  
7 - <p>  
8 - Maintained by <a href="https://github.com/kevin-brown">Kevin Brown</a> and <a href="https://github.com/ivaynberg">Igor Vaynberg</a> with the help of <a href="https://github.com/select2/select2/graphs/contributors">our contributors</a>.  
9 - </p>  
10 - <ul class="s2-docs-footer-links">  
11 - <li>Currently v4.0.3</li>  
12 - <li><a href="https://github.com/select2/select2">GitHub</a></li>  
13 - <li><a href="./examples.html">Examples</a></li>  
14 - <li><a href="./options.html">Options</a></li>  
15 - <li><a href="http://select2.github.io/select2/">v3.5.2 docs</a></li>  
16 - <li><a href="https://github.com/select2/select2/issues">Issues</a></li>  
17 - <li><a href="https://github.com/select2/select2/releases">Releases</a></li>  
18 - </ul>  
19 - </div>  
20 -</footer>  
web/assets/vendor/select2/docs/_includes/ga.html
@@ -1,9 +0,0 @@ @@ -1,9 +0,0 @@
1 -<script type="text/javascript">  
2 - (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){  
3 - (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),  
4 - m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)  
5 - })(window,document,'script','//www.google-analytics.com/analytics.js','ga');  
6 -  
7 - ga('create', 'UA-57144786-2', 'auto');  
8 - ga('send', 'pageview');  
9 -</script>  
web/assets/vendor/select2/docs/_includes/head.html
@@ -1,31 +0,0 @@ @@ -1,31 +0,0 @@
1 -<meta charset="utf-8">  
2 -<meta http-equiv="X-UA-Compatible" content="IE=edge">  
3 -<meta name="viewport" content="width=device-width, initial-scale=1">  
4 -  
5 -<link rel="apple-touch-icon" sizes="57x57" href="/images/apple-touch-icon-57x57.png?v=699Nxpjr2A">  
6 -<link rel="apple-touch-icon" sizes="60x60" href="/images/apple-touch-icon-60x60.png?v=699Nxpjr2A">  
7 -<link rel="apple-touch-icon" sizes="72x72" href="/images/apple-touch-icon-72x72.png?v=699Nxpjr2A">  
8 -<link rel="icon" type="image/png" href="/images/favicon-32x32.png?v=699Nxpjr2A" sizes="32x32">  
9 -<link rel="icon" type="image/png" href="/images/favicon-16x16.png?v=699Nxpjr2A" sizes="16x16">  
10 -<link rel="manifest" href="/images/manifest.json?v=699Nxpjr2A">  
11 -<link rel="mask-icon" href="/images/safari-pinned-tab.svg?v=699Nxpjr2A" color="#F6F6F6">  
12 -<link rel="shortcut icon" href="/images/favicon.ico?v=699Nxpjr2A">  
13 -<meta name="msapplication-TileColor" content="#da532c">  
14 -<meta name="msapplication-config" content="/browserconfig.xml?v=699Nxpjr2A">  
15 -<meta name="theme-color" content="#f6f6f6">  
16 -  
17 -<title>  
18 - {{ page.title }}  
19 -</title>  
20 -  
21 -<script type="text/javascript" src="vendor/js/jquery.min.js"></script>  
22 -<script type="text/javascript" src="dist/js/select2.full.js"></script>  
23 -<script type="text/javascript" src="vendor/js/bootstrap.min.js"></script>  
24 -<script type="text/javascript" src="vendor/js/prettify.min.js"></script>  
25 -<script type="text/javascript" src="vendor/js/anchor.min.js"></script>  
26 -  
27 -<link href="css/bootstrap.css" type="text/css" rel="stylesheet" />  
28 -<link href="dist/css/select2.min.css" type="text/css" rel="stylesheet" />  
29 -  
30 -<link href="css/font-awesome.css" type="text/css" rel="stylesheet" />  
31 -<link href="css/s2-docs.css" type="text/css" rel="stylesheet" >  
web/assets/vendor/select2/docs/_includes/js-source-states.html
@@ -1,62 +0,0 @@ @@ -1,62 +0,0 @@
1 -<select class="js-source-states">  
2 - <optgroup label="Alaskan/Hawaiian Time Zone">  
3 - <option value="AK">Alaska</option>  
4 - <option value="HI">Hawaii</option>  
5 - </optgroup>  
6 - <optgroup label="Pacific Time Zone">  
7 - <option value="CA">California</option>  
8 - <option value="NV">Nevada</option>  
9 - <option value="OR">Oregon</option>  
10 - <option value="WA">Washington</option>  
11 - </optgroup>  
12 - <optgroup label="Mountain Time Zone">  
13 - <option value="AZ">Arizona</option>  
14 - <option value="CO">Colorado</option>  
15 - <option value="ID">Idaho</option>  
16 - <option value="MT">Montana</option>  
17 - <option value="NE">Nebraska</option>  
18 - <option value="NM">New Mexico</option>  
19 - <option value="ND">North Dakota</option>  
20 - <option value="UT">Utah</option>  
21 - <option value="WY">Wyoming</option>  
22 - </optgroup>  
23 - <optgroup label="Central Time Zone">  
24 - <option value="AL">Alabama</option>  
25 - <option value="AR">Arkansas</option>  
26 - <option value="IL">Illinois</option>  
27 - <option value="IA">Iowa</option>  
28 - <option value="KS">Kansas</option>  
29 - <option value="KY">Kentucky</option>  
30 - <option value="LA">Louisiana</option>  
31 - <option value="MN">Minnesota</option>  
32 - <option value="MS">Mississippi</option>  
33 - <option value="MO">Missouri</option>  
34 - <option value="OK">Oklahoma</option>  
35 - <option value="SD">South Dakota</option>  
36 - <option value="TX">Texas</option>  
37 - <option value="TN">Tennessee</option>  
38 - <option value="WI">Wisconsin</option>  
39 - </optgroup>  
40 - <optgroup label="Eastern Time Zone">  
41 - <option value="CT">Connecticut</option>  
42 - <option value="DE">Delaware</option>  
43 - <option value="FL">Florida</option>  
44 - <option value="GA">Georgia</option>  
45 - <option value="IN">Indiana</option>  
46 - <option value="ME">Maine</option>  
47 - <option value="MD">Maryland</option>  
48 - <option value="MA">Massachusetts</option>  
49 - <option value="MI">Michigan</option>  
50 - <option value="NH">New Hampshire</option>  
51 - <option value="NJ">New Jersey</option>  
52 - <option value="NY">New York</option>  
53 - <option value="NC">North Carolina</option>  
54 - <option value="OH">Ohio</option>  
55 - <option value="PA">Pennsylvania</option>  
56 - <option value="RI">Rhode Island</option>  
57 - <option value="SC">South Carolina</option>  
58 - <option value="VT">Vermont</option>  
59 - <option value="VA">Virginia</option>  
60 - <option value="WV">West Virginia</option>  
61 - </optgroup>  
62 -</select>  
web/assets/vendor/select2/docs/_includes/nav/announcements-4.0.html
@@ -1,26 +0,0 @@ @@ -1,26 +0,0 @@
1 -<nav class="s2-docs-sidebar hidden-print hidden-xs hidden-sm">  
2 - <ul class="nav s2-docs-sidenav">  
3 - <li>  
4 - <a href="#select2-400">Select2 4.0.0</a>  
5 - <ul class="nav">  
6 - <li><a href="#new-features">New features</a></li>  
7 - <li><a href="#plugin-system">Plugin system</a></li>  
8 - <li><a href="#amd-based-build-system">AMD-based build system</a></li>  
9 - </ul>  
10 - </li>  
11 - <li>  
12 - <a href="#migrating-from-select2-35">Migrating from Select2 3.5</a>  
13 - <ul class="nav">  
14 - <li><a href="#hidden-input">No more hidden input tags</a></li>  
15 - <li><a href="#new-matcher">Advanced matching of searches</a></li>  
16 - <li><a href="#flexible-placeholders">More flexible placeholders</a></li>  
17 - <li><a href="#value-ordering">Display reflects the actual order of the values</a></li>  
18 - <li><a href="#changed-options">Changed method and option names</a></li>  
19 - <li><a href="#removed-methods">Deprecated and removed methods</a></li>  
20 - </ul>  
21 - </li>  
22 - </ul>  
23 - <a class="back-to-top" href="#top">  
24 - Back to top  
25 - </a>  
26 -</nav>  
web/assets/vendor/select2/docs/_includes/nav/examples.html
@@ -1,96 +0,0 @@ @@ -1,96 +0,0 @@
1 -<nav class="s2-docs-sidebar hidden-print hidden-xs hidden-sm">  
2 - <ul class="nav s2-docs-sidenav">  
3 - <li>  
4 - <a href="#basics">The basics</a>  
5 - <ul class="nav">  
6 - <li>  
7 - <a href="#single">Single select boxes</a>  
8 - </li>  
9 - <li>  
10 - <a href="#multiple">Multiple select boxes</a>  
11 - </li>  
12 - </ul>  
13 - </li>  
14 - <li>  
15 - <a href="#placeholders">Placeholders</a>  
16 - </li>  
17 - <li>  
18 - <a href="#data">  
19 - Data sources  
20 - </a>  
21 - <ul class="nav">  
22 - <li>  
23 - <a href="#data-array">Loading array data</a>  
24 - </li>  
25 - <li>  
26 - <a href="#data-ajax">Loading remote data</a>  
27 - </li>  
28 - </ul>  
29 - </li>  
30 - <li>  
31 - <a href="#disabled">Disabled mode</a>  
32 - </li>  
33 - <li>  
34 - <a href="#disabled-results">Disabled results</a>  
35 - </li>  
36 - <li>  
37 - <a href="#multiple-max">Limiting the number of selections</a>  
38 - </li>  
39 - <li>  
40 - <a href="#hide-search">Hiding the search box</a>  
41 - </li>  
42 - <li>  
43 - <a href="#programmatic-control">Programmatic control</a>  
44 - <ul class="nav">  
45 - <li>  
46 - <a href="#events">DOM events</a>  
47 - </li>  
48 - <li>  
49 - <a href="#programmatic">Programmatic access</a>  
50 - </li>  
51 - </ul>  
52 - </li>  
53 - <li>  
54 - <a href="#tags">Tagging support</a>  
55 - </li>  
56 - <li>  
57 - <a href="#tokenizer">Automatic tokenization</a>  
58 - </li>  
59 - <li>  
60 - <a href="#matcher">Customizing how results are matched</a>  
61 - </li>  
62 - <li>  
63 - <a href="#localization-rtl-diacritics">Localization, RTL and diacritics support</a>  
64 - <ul class="nav">  
65 - <li>  
66 - <a href="#language">Multiple languages</a>  
67 - </li>  
68 - <li>  
69 - <a href="#rtl">RTL support</a>  
70 - </li>  
71 - <li>  
72 - <a href="#diacritics">Diacritics support</a>  
73 - </li>  
74 - </ul>  
75 - </li>  
76 - <li>  
77 - <a href="#themes-templating-responsive-design">  
78 - Themes, templating and responsive design  
79 - </a>  
80 - <ul class="nav">  
81 - <li>  
82 - <a href="#themes">Theme support</a>  
83 - </li>  
84 - <li>  
85 - <a href="#templating">Templating</a>  
86 - </li>  
87 - <li>  
88 - <a href="#responsive">Responsive design</a>  
89 - </li>  
90 - </ul>  
91 - </li>  
92 - </ul>  
93 - <a class="back-to-top" href="#top">  
94 - Back to top  
95 - </a>  
96 -</nav>  
web/assets/vendor/select2/docs/_includes/nav/options-old.html
@@ -1,55 +0,0 @@ @@ -1,55 +0,0 @@
1 -<nav class="s2-docs-sidebar hidden-print hidden-xs hidden-sm">  
2 - <ul class="nav s2-docs-sidenav">  
3 - <li>  
4 - <a href="#core-options">Core Options</a>  
5 - <ul class="nav">  
6 - <li><a href="#data-attributes">Declaring configuration in the <code>data-*</code> attributes</a></li>  
7 - <li><a href="#amd">AMD compatibility</a></li>  
8 - <li><a href="#core-options-display">Displaying selections</a></li>  
9 - <li><a href="#core-options-results">Returning and displaying results</a></li>  
10 - </ul>  
11 - </li>  
12 - <li>  
13 - <a href="#dropdown">Dropdown</a>  
14 - <ul class="nav">  
15 - <li><a href="#dropdownParent">Attached to body</a></li>  
16 - <li><a href="#dropdown-attachContainer">Attached below the container</a></li>  
17 - <li><a href="#dropdown-search">Search</a></li>  
18 - <li><a href="#dropdown-select-on-close">Select the highlighted option on close</a></li>  
19 - <li><a href="#closeOnSelect">Close the dropdown when a result is selected</a></li>  
20 - </ul>  
21 - </li>  
22 - <li>  
23 - <a href="#events">Events</a>  
24 - <ul class="nav">  
25 - <li><a href="#events-public">Public events</a></li>  
26 - <li><a href="#events-internal">Internal events</a></li>  
27 - </ul>  
28 - </li>  
29 - <li>  
30 - <a href="#adapters">The plugin system (adapters)</a>  
31 - <ul class="nav">  
32 - <li><a href="#adapters-all">All adapters</a></li>  
33 - <li><a href="#selectionAdapter">Container (selection)</a></li>  
34 - <li><a href="#dataAdapter">Data set</a></li>  
35 - <li><a href="#dropdownAdapter">Dropdown</a></li>  
36 - <li><a href="#resultsAdapter">Results</a></li>  
37 - </ul>  
38 - </li>  
39 - <li>  
40 - <a href="#setting-default-options">Setting default options</a>  
41 - </li>  
42 - <li>  
43 - <a href="#backwards-compatibility">Backwards compatibility</a>  
44 - <ul class="nav">  
45 - <li><a href="#compat-matcher">Simplified function for matching data objects</a></li>  
46 - <li><a href="#initSelection">Old initial selections with <code>initSelection</code></a></li>  
47 - <li><a href="#query">Querying old data with <code>query</code></a></li>  
48 - <li><a href="#input-fallback">Compatibility with <code>&lt;input type="text" /&gt;</code></a></li>  
49 - </ul>  
50 - </li>  
51 - </ul>  
52 - <a class="back-to-top" href="#top">  
53 - Back to top  
54 - </a>  
55 -</nav>  
web/assets/vendor/select2/docs/_includes/nav/options.html
@@ -1,77 +0,0 @@ @@ -1,77 +0,0 @@
1 -<nav class="s2-docs-sidebar hidden-print hidden-xs hidden-sm">  
2 - <ul class="nav s2-docs-sidenav">  
3 - <li>  
4 - <a href="#core-options">Core options</a>  
5 - <ul class="nav">  
6 - <li><a href="#setting-default-options">Changing default options</a></li>  
7 - <li><a href="#data-attributes">Declaring configuration in the HTML</a></li>  
8 - <li><a href="#amd">AMD compatibility</a></li>  
9 - </ul>  
10 - </li>  
11 - <li>  
12 - <a href="#data-adapters">Data adapters</a>  
13 - <ul class="nav">  
14 - <li>  
15 - <a href="#data-adapters-select-tag">Using a <code>&lt;select&gt;</code></a>  
16 - </li>  
17 - <li>  
18 - <a href="#data">Loading data from an array</a>  
19 - </li>  
20 - <li>  
21 - <a href="#ajax">Connecting to a remote data source</a>  
22 - </li>  
23 - </ul>  
24 - </li>  
25 - <li>  
26 - <a href="#selections">Displaying selections</a>  
27 - <ul class="nav">  
28 - <li>  
29 - <a href="#placeholder">Showing a placeholder</a>  
30 - </li>  
31 - <li>  
32 - <a href="#allowClear">Clearing selections</a>  
33 - </li>  
34 - <li>  
35 - <a href="#templateSelection">Templating</a>  
36 - </li>  
37 - </ul>  
38 - </li>  
39 - <li>  
40 - <a href="#results">Displaying results</a>  
41 - <ul class="nav">  
42 - <li><a href="#can-i-change-when-search-results-are-loaded">Controlling result loading</a></li>  
43 - <li><a href="#can-i-change-how-selecting-results-works">Making selections</a></li>  
44 - <li><a href="#can-i-change-how-the-dropdown-is-placed">Placement</a></li>  
45 - </ul>  
46 - </li>  
47 - <li>  
48 - <a href="#events">Events</a>  
49 - <ul class="nav">  
50 - <li><a href="#events-public">Public jQuery events</a></li>  
51 - <li><a href="#events-internal">Internal events</a></li>  
52 - </ul>  
53 - </li>  
54 - <li>  
55 - <a href="#adapters">The plugin system (adapters)</a>  
56 - <ul class="nav">  
57 - <li><a href="#adapters-all">All adapters</a></li>  
58 - <li><a href="#selectionAdapter">Container (selection)</a></li>  
59 - <li><a href="#dataAdapter">Data set</a></li>  
60 - <li><a href="#dropdownAdapter">Dropdown</a></li>  
61 - <li><a href="#resultsAdapter">Results</a></li>  
62 - </ul>  
63 - </li>  
64 - <li>  
65 - <a href="#backwards-compatibility">Deprecated options</a>  
66 - <ul class="nav">  
67 - <li><a href="#compat-matcher">Simplified function for matching data objects</a></li>  
68 - <li><a href="#initSelection">Old initial selections with <code>initSelection</code></a></li>  
69 - <li><a href="#query">Querying old data with <code>query</code></a></li>  
70 - <li><a href="#input-fallback">Compatibility with <code>&lt;input type="text" /&gt;</code></a></li>  
71 - </ul>  
72 - </li>  
73 - </ul>  
74 - <a class="back-to-top" href="#top">  
75 - Back to top  
76 - </a>  
77 -</nav>  
web/assets/vendor/select2/docs/_includes/navigation.html
@@ -1,53 +0,0 @@ @@ -1,53 +0,0 @@
1 -<header class="s2-docs-nav navbar navbar-default navbar-static-top" id="top" role="banner">  
2 - <div class="container">  
3 - <div class="navbar-header">  
4 - <button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target=".select2-navbar-collapse">  
5 - <span class="sr-only">Toggle navigation</span>  
6 - <span class="icon-bar top-bar"></span>  
7 - <span class="icon-bar middle-bar"></span>  
8 - <span class="icon-bar bottom-bar"></span>  
9 - </button>  
10 - <a href="./" class="navbar-brand"><img src="/images/logo.png" height="20px"> Select2</a>  
11 - </div>  
12 -  
13 - <nav class="collapse navbar-collapse select2-navbar-collapse" role="navigation">  
14 - <ul class="nav navbar-nav">  
15 - <li{% if page.slug == "examples" %} class="active"{% endif %}>  
16 - <a href="./examples.html">Examples</a>  
17 - </li>  
18 - <li{% if page.slug == "options" %} class="active"{% endif %}>  
19 - <a href="./options.html">Options</a>  
20 - </li>  
21 - <li class="dropdown{% if page.slug == "announcements-4.0" %} active{% endif %}">  
22 - <a href="#" class="dropdown-toggle" data-toggle="dropdown">  
23 - Topics  
24 - <span class="caret"></span>  
25 - </a>  
26 - <ul class="dropdown-menu">  
27 - <li{% if page.slug == "announcements-4.0" %} class="active"{% endif %}>  
28 - <a href="./announcements-4.0.html">4.0 Announcement</a>  
29 - </li>  
30 - <li class="divider"></li>  
31 - <li>  
32 - <a href="https://github.com/select2/select2/releases">  
33 - Release notes  
34 - </a>  
35 - </li>  
36 - </ul>  
37 - </li>  
38 - <li{% if page.slug == "community" %} class="active"{% endif %}>  
39 - <a href="./community.html">Community</a>  
40 - </li>  
41 - </ul>  
42 -  
43 - <ul class="nav navbar-nav navbar-right">  
44 - <li>  
45 - <a href="https://github.com/select2/select2">  
46 - <i class="fa fa-github"></i>  
47 - GitHub  
48 - </a>  
49 - </li>  
50 - </ul>  
51 - </nav>  
52 - </div>  
53 -</header>  
web/assets/vendor/select2/docs/_includes/notice-previous.html
@@ -1,7 +0,0 @@ @@ -1,7 +0,0 @@
1 -<section class="notice-previous">  
2 - <div class="container text-center">  
3 - <a href="http://select2.github.io/select2/">Looking for the Select2 3.5.2 docs?</a>  
4 - We have moved them to a new location  
5 - <a href="announcements-4.0.html">while we push forward with Select2 4.0</a>.  
6 - </div>  
7 -</section>  
web/assets/vendor/select2/docs/_includes/options-old/adapters.html
@@ -1,209 +0,0 @@ @@ -1,209 +0,0 @@
1 -<section>  
2 - <div class="page-header">  
3 - <h1 id="adapters">Adapters</h1>  
4 - </div>  
5 -  
6 - <p>  
7 - Select2 allows plugins to add additional functionality through the core  
8 - adapters. You can change almost anything involving the way Select2 works  
9 - to the way Select2 interacts with the page by modifying the core adapters.  
10 - Most third-party plugins should provide decorators (used to wrap adapters)  
11 - and custom adapters that you can use.  
12 - </p>  
13 -  
14 - <p>  
15 - Each adapter contains a set of methods which will must always be defined.  
16 - Along with the global methods that all adapters must implement, these  
17 - methods must be implemented.  
18 - </p>  
19 -  
20 - <h2 id="adapters-all">  
21 - All adapters  
22 - </h2>  
23 -  
24 - <p>  
25 - All adapters must implement a set of methods that Select2 will use to  
26 - display them and bind any internal events.  
27 - </p>  
28 -  
29 -<pre class="prettyprint linenums">  
30 -// The basic HTML that should be rendered by Select2. A jQuery or DOM element  
31 -// should be returned, which will automatically be placed by Select2 within the  
32 -// DOM.  
33 -//  
34 -// @returns A jQuery or DOM element that contains any elements that must be  
35 -// rendered by Select2.  
36 -Adapter.render = function () {  
37 - return $jq;  
38 -};  
39 -  
40 -// Bind to any Select2 or DOM events.  
41 -//  
42 -// @param container The Select2 object that is bound to the jQuery element. You  
43 -// can listen to Select2 events with `on` and trigger Select2 events using the  
44 -// `trigger` method.  
45 -// @param $container The jQuery DOM node that all default adapters will be  
46 -// rendered within.  
47 -Adapter.bind = function (container, $container) { };  
48 -  
49 -// Position the DOM element within the Select2 DOM container, or in another  
50 -// place. This allows adapters to be located outside of the Select2 DOM,  
51 -// such as at the end of the document or in a specific place within the Select2  
52 -// DOM node.  
53 -//  
54 -// Note: This method is not called on data adapters.  
55 -//  
56 -// @param $rendered The rendered DOM element that was returned from the call to  
57 -// `render`. This may have been modified by Select2, but the root element  
58 -// will always be the same.  
59 -// @param $defaultContainer The default container that Select2 will typically  
60 -// place the rendered DOM element within. For most adapters, this is the  
61 -// Select2 DOM element.  
62 -Adapter.position = function ($rendered, $defaultContainer) { };  
63 -  
64 -// Destroy any events or DOM elements that have been created.  
65 -// This is called when `select2("destroy")` is called on an element.  
66 -Adapter.destroy = function () { };  
67 -</pre>  
68 -  
69 - <h2 id="selectionAdapter">  
70 - Container (selection)  
71 - </h2>  
72 -  
73 - <p>  
74 - The selection is what is shown to the user as a replacement of the  
75 - standard <code>&lt;select&gt;</code> box. It controls the display of the  
76 - selection option(s), as well anything else that needs to be embedded  
77 - within the container, such as a search box.  
78 - </p>  
79 -  
80 - <dl class="dl-horizontal">  
81 - <dt>Key</dt>  
82 - <dd>  
83 - <code>selectionAdapter</code>  
84 - </dd>  
85 -  
86 - <dt>Default</dt>  
87 - <dd>  
88 - <code title="select2/selection/single">SingleSelection</code> or  
89 - <code title="select2/selection/multiple">MultipleSelection</code>  
90 - </dd>  
91 -  
92 - <dt>Base</dt>  
93 - <dd>  
94 - <code title="select2/selection/base">BaseSelection</code>  
95 - </dd>  
96 - </dl>  
97 -  
98 -<pre class="prettyprint linenums">  
99 -// Update the selected data.  
100 -//  
101 -// @param data An array of data objects that have been generated by the data  
102 -// adapter. If no objects should be selected, an empty array will be passed.  
103 -//  
104 -// Note: An array will always be passed into this method, even if Select2 is  
105 -// attached to a source which only accepts a single selection.  
106 -SelectionAdapter.update = function (data) { };  
107 -</pre>  
108 -  
109 - <h2 id="dataAdapter">  
110 - Data set  
111 - </h2>  
112 -  
113 - <p>  
114 - The data set is what Select2 uses to generate the possible results that  
115 - can be selected, as well as the currently selected results.  
116 - </p>  
117 -  
118 - <dl class="dl-horizontal">  
119 - <dt>Key</dt>  
120 - <dd>  
121 - <code>dataAdapter</code>  
122 - </dd>  
123 -  
124 - <dt>Default</dt>  
125 - <dd>  
126 - <code title="select2/data/select">SelectAdapter</code>  
127 - </dd>  
128 -  
129 - <dt>Base</dt>  
130 - <dd>  
131 - <code title="select2/data/base">BaseAdapter</code>  
132 - </dd>  
133 - </dl>  
134 -  
135 -<pre class="prettyprint linenums">  
136 -// Get the currently selected options. This is called when trying to get the  
137 -// initial selection for Select2, as well as when Select2 needs to determine  
138 -// what options within the results are selected.  
139 -//  
140 -// @param callback A function that should be called when the current selection  
141 -// has been retrieved. The first parameter to the function should be an array  
142 -// of data objects.  
143 -DataAdapter.current = function (callback) {  
144 - callback(currentData);  
145 -}  
146 -  
147 -// Get a set of options that are filtered based on the parameters that have  
148 -// been passed on in.  
149 -//  
150 -// @param params An object containing any number of parameters that the query  
151 -// could be affected by. Only the core parameters will be documented.  
152 -// @param params.term A user-supplied term. This is typically the value of the  
153 -// search box, if one exists, but can also be an empty string or null value.  
154 -// @param params.page The specific page that should be loaded. This is typically  
155 -// provided when working with remote data sets, which rely on pagination to  
156 -// determine what objects should be displayed.  
157 -// @param callback The function that should be called with the queried results.  
158 -DataAdapter.query = function (params, callback) {  
159 - callback(queryiedData);  
160 -}  
161 -</pre>  
162 -  
163 - <h2 id="dropdownAdapter">  
164 - Dropdown  
165 - </h2>  
166 -  
167 - <p>  
168 - The dropdown adapter defines the main container that the dropdown should  
169 - be held in. <strong>It does not define any extra methods that can be used  
170 - for decorators</strong>, but it is common for decorators to attach to the  
171 - <code>render</code> and <code>position</code> methods to alter how the  
172 - dropdown is altered and positioned.  
173 - </p>  
174 -  
175 - <dl class="dl-horizontal">  
176 - <dt>Key</dt>  
177 - <dd>  
178 - <code>dropdownAdapter</code>  
179 - </dd>  
180 -  
181 - <dt>Default</dt>  
182 - <dd>  
183 - <code title="select2/dropdown">DropdownAdapter</code>  
184 - </dd>  
185 - </dl>  
186 -  
187 - <h2 id="resultsAdapter">  
188 - Results  
189 - </h2>  
190 -  
191 - <p>  
192 - The results adapter controls the list of results that the user can select  
193 - from. While the results adapter does not define any additional methods  
194 - that must be implemented, it makes extensive use of the Select2 event  
195 - system for controlling the display of results and messages.  
196 - </p>  
197 -  
198 - <dl class="dl-horizontal">  
199 - <dt>Key</dt>  
200 - <dd>  
201 - <code>resultsAdapter</code>  
202 - </dd>  
203 -  
204 - <dt>Default</dt>  
205 - <dd>  
206 - <code title="select2/results">ResultsAdapter</code>  
207 - </dd>  
208 - </dl>  
209 -</section>  
web/assets/vendor/select2/docs/_includes/options-old/backwards-compatibility.html
@@ -1,200 +0,0 @@ @@ -1,200 +0,0 @@
1 -<section>  
2 - <div class="page-header">  
3 - <h1 id="compatibility">Backwards compatibility</h1>  
4 - </div>  
5 -  
6 - <p>  
7 - Select2 offers limited backwards compatibility with the previously 3.5.x  
8 - release line, allowing people more efficiently transfer across releases  
9 - and get the latest features. For many of the larger changes, such as the  
10 - change in how custom data adapters work, compatibility modules were  
11 - created that will be used to assist in the upgrade process. It is not  
12 - recommended to rely on these compatibility modules, as they will not  
13 - always exist, but they make upgrading easier for major changes.  
14 - </p>  
15 -  
16 - <p>  
17 - <strong>The compatibility modules are only included in the  
18 - <a href="index.html#builds-full" class="alert-link">full builds</a> of  
19 - Select2</strong>. These files end in <code>.full.js</code>, and the  
20 - compatibility modules are prefixed with <code>select2/compat</code>.  
21 - </p>  
22 -  
23 - <h2 id="compat-matcher">  
24 - Simplified function for matching data objects  
25 - </h2>  
26 -  
27 - <p class="alert alert-info">  
28 - <a href="announcements-4.0.html#new-matcher" class="alert-link">Added in Select2 4.0.0.</a>  
29 - This method was added to make upgrading easier from earlier versions of  
30 - Select2.  
31 - </p>  
32 -  
33 - <p>  
34 - During the <a href="announcements-4.0.html">Select2 4.0.0 release</a>, the  
35 - <code>matcher</code> function was changed to allow for more complex  
36 - matching of nested objects.  
37 - </p>  
38 -  
39 - <div class="row">  
40 - <div class="col-sm-6">  
41 - <dl class="dl-horizontal">  
42 - <dt>Key</dt>  
43 - <dd>  
44 - <code>matcher</code>  
45 - </dd>  
46 -  
47 - <dt>Value</dt>  
48 - <dd>  
49 - A function taking a search <code>term</code> and the data object  
50 - <code>text</code>.  
51 - </dd>  
52 - </dl>  
53 - </div>  
54 -  
55 - <div class="col-sm-6">  
56 - <dl class="dl-horizontal">  
57 - <dt>Adapter</dt>  
58 - <dd>  
59 - <code title="select2/compat/matcher">oldMatcher</code>  
60 - </dd>  
61 - </dl>  
62 - </div>  
63 - </div>  
64 -  
65 - <p>  
66 - The <a href="examples.html#matcher">custom matcher example</a> provides a  
67 - guide for how to use this in your own application. For those upgrading  
68 - from older versions of Select2, you just need to wrap your old  
69 - <code>matcher</code> with this function to maintain compatibility.  
70 - </p>  
71 -  
72 - <h2 id="initSelection">  
73 - Old initial selections with <code>initSelection</code>  
74 - </h2>  
75 -  
76 - <p class="alert alert-warning">  
77 - <a href="announcements-4.0.html#removed-initselection" class="alert-link">Deprecated in Select2 4.0.</a>  
78 - This has been replaced by another option and is only available in the  
79 - <a href="index.html#builds-full" class="alert-link">full builds</a> of  
80 - Select2.  
81 - </p>  
82 -  
83 - <p>  
84 - In the past, Select2 required an option called <code>initSelection</code>  
85 - that was defined whenever a custom data source was being used, allowing  
86 - for the initial selection for the component to be determined. This has  
87 - been replaced by the <code>current</code> method on the  
88 - <a href="#dataAdapter">data adapter</a>.  
89 - </p>  
90 -  
91 - <div class="row">  
92 - <div class="col-sm-6">  
93 - <dl class="dl-horizontal">  
94 - <dt>Key</dt>  
95 - <dd>  
96 - <code>initSelection</code>  
97 - </dd>  
98 -  
99 - <dt>Value</dt>  
100 - <dd>  
101 - A function taking a <code>callback</code>  
102 - </dd>  
103 - </dl>  
104 - </div>  
105 -  
106 - <div class="col-sm-6">  
107 - <dl class="dl-horizontal">  
108 - <dt>Adapter</dt>  
109 - <dd>  
110 - <code title="select2/data/base">DataAdapter</code>  
111 - </dd>  
112 -  
113 - <dt>Decorator</dt>  
114 - <dd>  
115 - <code title="select2/compat/initSelection">InitSelection</code>  
116 - </dd>  
117 - </dl>  
118 - </div>  
119 - </div>  
120 -  
121 - <h2 id="query">  
122 - Querying old data with <code>query</code>  
123 - </h2>  
124 -  
125 - <p class="alert alert-warning">  
126 - <a href="announcements-4.0.html#query-to-data-adapter" class="alert-link">Deprecated in Select2 4.0.</a>  
127 - This has been replaced by another option and is only available in the  
128 - <a href="index.html#builds-full" class="alert-link">full builds</a> of  
129 - Select2.  
130 - </p>  
131 -  
132 - <p>  
133 - In the past, Select2 supported an option called <code>query</code> that  
134 - allowed for a custom data source to be used. This option has been replaced  
135 - by the <code>query</code> method on the  
136 - <a href="#dataAdapter">data adapter</a> and takes a very similar set of  
137 - parameters.  
138 - </p>  
139 -  
140 - <div class="row">  
141 - <div class="col-sm-6">  
142 - <dl class="dl-horizontal">  
143 - <dt>Key</dt>  
144 - <dd>  
145 - <code>query</code>  
146 - </dd>  
147 -  
148 - <dt>Value</dt>  
149 - <dd>  
150 - A function taking <code>params</code> (including a <code>callback</code>)  
151 - </dd>  
152 - </dl>  
153 - </div>  
154 -  
155 - <div class="col-sm-6">  
156 - <dl class="dl-horizontal">  
157 - <dt>Adapter</dt>  
158 - <dd>  
159 - <code title="select2/data/base">DataAdapter</code>  
160 - </dd>  
161 -  
162 - <dt>Decorator</dt>  
163 - <dd>  
164 - <code title="select2/compat/query">Query</code>  
165 - </dd>  
166 - </dl>  
167 - </div>  
168 - </div>  
169 -  
170 - <h2 id="input-fallback">  
171 - Compatibility with <code>&lt;input type="text" /&gt;</code>  
172 - </h2>  
173 -  
174 - <p class="alert alert-warning">  
175 - <a href="announcements-4.0.html#hidden-input" class="alert-link">Deprecated in Select2 4.0.</a>  
176 - It is now encouraged to use the <code>&lt;select&gt;</code> tag instead.  
177 - </p>  
178 -  
179 - <p>  
180 - In past versions of Select2, a <code>&lt;select&gt;</code> element could  
181 - only be used with a limited subset of options. An  
182 - <code>&lt;input type="hidden" /&gt;</code> was required instead, which did  
183 - not allow for a graceful fallback for users who did not have JavaScript  
184 - enabled. Select2 now supports the <code>&lt;select&gt;</code> element for  
185 - all options, so it is no longer required to use <code>&lt;input /&gt;</code>  
186 - elements with Select2.  
187 - </p>  
188 -  
189 - <dl class="dl-horizontal">  
190 - <dt>Adapter</dt>  
191 - <dd>  
192 - <code title="select2/data/base">DataAdapter</code>  
193 - </dd>  
194 -  
195 - <dt>Decorator</dt>  
196 - <dd>  
197 - <code title="select2/compat/inputData">InputData</code>  
198 - </dd>  
199 - </dl>  
200 -</section>  
web/assets/vendor/select2/docs/_includes/options-old/core-options.html
@@ -1,790 +0,0 @@ @@ -1,790 +0,0 @@
1 -<section>  
2 - <h1 id="core-options" class="page-header">Core options</h1>  
3 -  
4 - <p>  
5 - Select2 supports a small subset of options in every build that is  
6 - generated. Each option typically has a decorator that is required that  
7 - wraps an adapter, adding support for the option. This is only required  
8 - when a custom adapter is being used, as Select2 will build the required  
9 - adapters by default.  
10 - </p>  
11 -  
12 - <p>  
13 - Select2 will automatically apply decorators to any adapters which have not  
14 - been manually overridden. The only time you need to decorate adapters is  
15 - when you are using third-party adapters not provided by Select2, or you  
16 - are using features not provided in the Select2 core. You can apply a  
17 - decorator to an adapter using the  
18 - <code title="select2/utils">Utils.Decorate</code> method provided with  
19 - Select2.  
20 - </p>  
21 -  
22 -<pre class="prettyprint linenums">  
23 -$.fn.select2.amd.require(  
24 - ["select2/utils", "select2/selection/single", "select2/selection/placeholder"],  
25 - function (Utils, SingleSelection, Placeholder) {  
26 - var CustomSelectionAdapter = Utils.Decorate(SingleSelection, Placeholder);  
27 -});  
28 -</pre>  
29 -  
30 - <p>  
31 - All core options that use decorators or adapters will clearly state it  
32 - in the "Decorator" or "Adapter" part of the documentation. Decorators are  
33 - typically only compatible with a specific type of adapter, so make sure to  
34 - note what adapter is given.  
35 - </p>  
36 -  
37 - <h2 id="data-attributes">  
38 - Declaring configuration in the <code>data-*</code> attributes  
39 - </h2>  
40 -  
41 - <p>  
42 - It is recommended that you declare your configuration options for Select2  
43 - when initializing Select2. You can also define your configuration options  
44 - by using the HTML5 <code>data-*</code> attributes, which will override  
45 - any options set when initializing Select2 and any defaults.  
46 - </p>  
47 -  
48 - <p>  
49 - This means that if you declare your <code>&lt;select&gt;</code> tag as...  
50 - </p>  
51 -  
52 -<pre class="prettyprint">  
53 -&lt;select data-tags="true" data-placeholder="Select an option"&gt;&lt;/select&gt;  
54 -</pre>  
55 -  
56 - <p>  
57 - Will be interpreted the same as initializing Select2 as...  
58 - </p>  
59 -  
60 -<pre class="prettyprint linenums">  
61 -$("select").select2({  
62 - tags: "true",  
63 - placeholder: "Select an option"  
64 -});  
65 -</pre>  
66 -  
67 - <p>  
68 - You can also define nested configurations, which are typically needed for  
69 - options such as AJAX. Each level of nesting should be separated by two  
70 - dashes (<code>--</code>) instead of one. Due to  
71 - <a href="https://github.com/jquery/jquery/issues/2070">a jQuery bug</a>,  
72 - nested options using <code>data-*</code> attributes  
73 - <a href="https://github.com/select2/select2/issues/2969">do not work in jQuery 1.x</a>.  
74 - </p>  
75 -  
76 -<pre class="prettyprint">  
77 -&lt;select data-ajax--url="http://example.org/api/test" data-ajax--cache="true"&gt;&lt;/select&gt;  
78 -</pre>  
79 -  
80 - <p>  
81 - Which will be interpreted the same as initializing Select2 with...  
82 - </p>  
83 -  
84 -<pre class="prettyprint linenums">  
85 -$("select").select2({  
86 - ajax: {  
87 - url: "http://example.org/api/test",  
88 - cache: "true"  
89 - }  
90 -});  
91 -</pre>  
92 -  
93 - <p>  
94 - The value of the option is subject to jQuery's  
95 - <a href="https://api.jquery.com/data/#data-html5">parsing rules</a> for  
96 - HTML5 data attributes.  
97 - </p>  
98 -  
99 - <h2 id="amd">  
100 - AMD compatibility  
101 - </h2>  
102 -  
103 - <p>  
104 - You can find more information on how to integrate Select2 with your  
105 - existing AMD-based project by  
106 - <a href="announcements-4.0.html#builds">viewing the 4.0 release notes</a>.  
107 - Select2 automatically loads some modules when the adapters are being  
108 - automatically constructed, so those who are using Select2 with a custom  
109 - AMD build using their own system may need to specify the paths that are  
110 - generated to the Select2 modules.  
111 - </p>  
112 -  
113 - <div class="row">  
114 - <div class="col-sm-6">  
115 - <dl class="dl-horizontal">  
116 - <dt>Key</dt>  
117 - <dd>  
118 - <code>amdBase</code>  
119 - </dd>  
120 -  
121 - <dt>Default</dt>  
122 - <dd>  
123 - <code>select2/</code>  
124 - </dd>  
125 - </dl>  
126 - </div>  
127 - <div class="col-sm-6">  
128 - <dl class="dl-horizontal">  
129 - <dt>Key</dt>  
130 - <dd>  
131 - <code>amdLanguageBase</code>  
132 - </dd>  
133 -  
134 - <dt>Default</dt>  
135 - <dd>  
136 - <code>select2/i18n/</code>  
137 - </dd>  
138 - </dl>  
139 - </div>  
140 - </div>  
141 -  
142 - <h2 id="core-options-display">  
143 - Displaying selections  
144 - </h2>  
145 -  
146 - <p>  
147 - Select2 provides options that allow you to directly affect how the  
148 - container that holds the current selection is displayed.  
149 - </p>  
150 -  
151 - <h3 id="placeholder">  
152 - Placeholders  
153 - </h3>  
154 -  
155 - <p>  
156 - Select2 can display a placeholder for a single-value select that will  
157 - replace an option, or be shown when no options are selected for  
158 - multiple-value selects. You can find an example on the  
159 - <a href="examples.html#placeholders">example page</a>.  
160 - </p>  
161 -  
162 - <div class="row">  
163 - <div class="col-sm-6">  
164 - <dl class="dl-horizontal">  
165 - <dt>Key</dt>  
166 - <dd>  
167 - <code>placeholder</code>  
168 - </dd>  
169 -  
170 - <dt>Value</dt>  
171 - <dd>string or object</dd>  
172 - </dl>  
173 -  
174 - <hr />  
175 -  
176 - <dl class="dl-horizontal">  
177 - <dt>Adapter</dt>  
178 - <dd>  
179 - <code title="select2/selection/base">SelectionAdapter</code>  
180 - </dd>  
181 -  
182 - <dt>Decorator</dt>  
183 - <dd>  
184 - <code title="select2/selection/placeholder">Placeholder</code>  
185 - and  
186 - <code title="select2/dropdown/hidePlaceholder">HidePlaceholder</code>  
187 - </dd>  
188 - </dl>  
189 - </div>  
190 -  
191 - <div class="col-sm-6">  
192 - <div class="alert alert-warning">  
193 - <strong>Heads up!</strong>  
194 - Because browsers assume that the first <code>option</code> in  
195 - single-value select boxes is selected, you should add an empty  
196 - <code>&lt;option&gt;&lt;/option&gt;</code> tag that the placeholder  
197 - should use or it may not work.  
198 - </div>  
199 - </div>  
200 - </div>  
201 -  
202 - <p>  
203 - If the <strong>value is a string</strong>, the placeholder will be  
204 - displayed when a <strong>blank option</strong> is used as the placeholder.  
205 - The <strong>value</strong> will be the message to show to users as the  
206 - placeholders.  
207 - </p>  
208 -  
209 -<pre class="prettyprint">  
210 -placeholder: "Select a repository"  
211 -</pre>  
212 -  
213 - <p>  
214 - If the <strong>value is an object</strong>, the object should be  
215 - compatible with Select2's internal objects. The <code>id</code> should  
216 - be the id to look for when determining if the placeholder should be  
217 - displayed. The <code>text</code> should be the placeholder to display  
218 - when that option is selected.  
219 - </p>  
220 -  
221 -<pre class="prettyprint linenums">  
222 -placeholder: {  
223 - id: "-1",  
224 - text: "Select a repository"  
225 -}  
226 -</pre>  
227 -  
228 - <div class="alert alert-info">  
229 - You should <strong>pass in an object</strong> when you are using a  
230 - framework that <strong>creates its own placeholder option</strong>. The  
231 - <strong>id</strong> should be the same as the <code>value</code>  
232 - attribute on the <code>option</code>.  
233 - </div>  
234 -  
235 - <p id="allowClear">  
236 - You can allow a selected option to be cleared back to the placeholder by  
237 - enabling the <code>allowClear</code> option.  
238 - </p>  
239 -  
240 - <div class="row">  
241 - <div class="col-sm-6">  
242 - <dl class="dl-horizontal">  
243 - <dt>Key</dt>  
244 - <dd><code>allowClear</code></dd>  
245 -  
246 - <dt>Value</dt>  
247 - <dd>boolean</dd>  
248 - </dl>  
249 - </div>  
250 -  
251 - <div class="col-sm-6">  
252 - <dl class="dl-horizontal">  
253 - <dt>Adapter</dt>  
254 - <dd>  
255 - <code title="select2/selection/base">SelectionAdapter</code>  
256 - </dd>  
257 -  
258 - <dt>Decorator</dt>  
259 - <dd>  
260 - <code title="select2/selection/allowClear">AllowClear</code>  
261 - </dd>  
262 - </dl>  
263 - </div>  
264 - </div>  
265 -  
266 - <p>  
267 - This will display an "x" that the user can click to clear the current  
268 - selection. It is designed to be used for cases where a single selection  
269 - can be made.  
270 - </p>  
271 -  
272 - <h3 id="multiple">  
273 - Multiple selections  
274 - </h3>  
275 -  
276 - <p>  
277 - Select2 can display either a single selection or multiple selections.  
278 - </p>  
279 -  
280 - <dl class="dl-horizontal">  
281 - <dt>Key</dt>  
282 - <dd><code>multiple</code></dd>  
283 -  
284 - <dt>Value</dt>  
285 - <dd>boolean (<code>true</code> or <code>false</code>)</dd>  
286 - </dl>  
287 -  
288 - <p>  
289 - This option will determine what the <code>SelectAdapter</code> (used by  
290 - default) should use to set the value of the underlying <code>select</code>  
291 - element. It will also determine if the <code>MultipleSelection</code>  
292 - adapter should be used.  
293 - </p>  
294 -  
295 - <h3 id="width">  
296 - Container width  
297 - </h3>  
298 -  
299 - <p>  
300 - Select2 will try to match the width of the original element as closely as  
301 - possible. Sometimes this isn't perfect, which is what you can tell Select2  
302 - how to determine the width.  
303 - </p>  
304 -  
305 - <div class="row">  
306 - <div class="col-sm-6">  
307 - <table class="table table-striped table-bordered">  
308 - <thead>  
309 - <tr>  
310 - <th>Value</th>  
311 - <th>Description</th>  
312 - </tr>  
313 - </thead>  
314 - <tbody>  
315 - <tr>  
316 - <td><code>"element"</code></td>  
317 - <td>  
318 - Uses javascript to calculate the width of the source element.  
319 - </td>  
320 - </tr>  
321 - <tr>  
322 - <td><code>"style"</code></td>  
323 - <td>  
324 - Copies the value of the width <code>style</code> attribute set on the source element.  
325 - </td>  
326 - </tr>  
327 - <tr>  
328 - <td><code>"resolve"</code></td>  
329 - <td>  
330 - Tries to use <code>style</code> to determine the width, falling back to <code>element</code>.  
331 - </td>  
332 - </tr>  
333 - <tr>  
334 - <td>Anything else</td>  
335 - <td>  
336 - The value of the <code>width</code> option is directly set as the width of the container.  
337 - </td>  
338 - </tr>  
339 - </tbody>  
340 - </table>  
341 - </div>  
342 - <div class="col-sm-6">  
343 - <dl class="dl-horizontal">  
344 - <dt>Key</dt>  
345 - <dd><code>width</code></dd>  
346 -  
347 - <dt>Value</dt>  
348 - <dd>string</dd>  
349 - </dl>  
350 - </div>  
351 - </div>  
352 -  
353 - <h3 id="language">  
354 - Internationalization (Language support)  
355 - </h3>  
356 -  
357 - <p>  
358 - Messages will be displayed to users when necessary, such as when no  
359 - search results were found or more characters need to be entered in order  
360 - for a search to be made. These messages have been  
361 - <a href="community.html#translations">translated into many languages</a>  
362 - by contributors to Select2, but you can also provide your own  
363 - translations.  
364 - </p>  
365 -  
366 - <div class="row">  
367 - <div class="col-sm-6">  
368 - <dl class="dl-horizontal">  
369 - <dt>Key</dt>  
370 - <dd><code>language</code></dd>  
371 -  
372 - <dt>Value</dt>  
373 - <dd>object or string</dd>  
374 - </dl>  
375 -  
376 - <hr />  
377 -  
378 - <dl class="dl-horizontal">  
379 - <dt>Module</dt>  
380 - <dd>  
381 - <code title="select2/translation">Translation</code>  
382 - </dd>  
383 - </dl>  
384 - </div>  
385 -  
386 - <div class="col-sm-6">  
387 - <p class="alert alert-warning">  
388 - <strong>Heads up!</strong> When using translations provided by Select2,  
389 - you must make sure to include the translation file in your page after  
390 - Select2.  
391 - </p>  
392 - </div>  
393 - </div>  
394 -  
395 - <p>  
396 - When a string is passed in as the language, Select2 will try to resolve  
397 - it into a language file. This allows you to specify your own language  
398 - files, which must be defined as an AMD module. If the language file  
399 - cannot be found, Select2 will assume it is a language code controlled by  
400 - Select2, and it will try to load the translations for that language  
401 - instead.  
402 - </p>  
403 -  
404 - <p>  
405 - You can include your own translations by providing an object similar to  
406 - the one below.  
407 - </p>  
408 -  
409 -<pre class="prettyprint linenums">  
410 -language: {  
411 - // You can find all of the options in the language files provided in the  
412 - // build. They all must be functions that return the string that should be  
413 - // displayed.  
414 - inputTooShort: function () {  
415 - return "You must enter more characters...";  
416 - }  
417 -}  
418 -</pre>  
419 -  
420 - <h3 id="templating">  
421 - Templating results and selections  
422 - </h3>  
423 -  
424 - <p>  
425 - By default, Select2 will display the option text within the list of  
426 - results and when the option has been selected. Select2 comes with options  
427 - that allow you to further customize the display of results and selections,  
428 - allowing you to display them however you want.  
429 - </p>  
430 -  
431 - <h4 id="templateSelection">  
432 - Customizing the display of selections  
433 - </h4>  
434 -  
435 - <p>  
436 - When an option is displayed after it has been selected, it is passed  
437 - through a formatting function that determines what is displayed. By  
438 - default, the function only returns the <code>text</code> key of the data  
439 - object.  
440 - </p>  
441 -  
442 - <dl class="dl-horizontal">  
443 - <dt>Key</dt>  
444 - <dd><code>templateSelection</code></dd>  
445 -  
446 - <dt>Value</dt>  
447 - <dd>A function taking a <code>selection</code> object</dd>  
448 - </dl>  
449 -  
450 - <div class="alert alert-info">  
451 - <strong>Anything rendered as a selection is templated.</strong>  
452 - This includes placeholders and pre-existing selections that are displayed,  
453 - so you must ensure that your templating functions can support them.  
454 - </div>  
455 -  
456 - <p>  
457 - The <code>templateSelection</code> function should return a string  
458 - containing the text to be displayed, or an object (such as a jQuery  
459 - object) that contains the data that should be displayed.  
460 - </p>  
461 -  
462 - <p>  
463 - <strong>Strings are assumed to contain only text</strong> and will be  
464 - passed through the <code>escapeMarkup</code> function, which strips any  
465 - HTML markup.  
466 - </p>  
467 -  
468 - <p>  
469 - <strong>  
470 - Anything else will be passed  
471 - <a href="https://api.jquery.com/append/">directly to <code>jQuery.fn.append</code></a>  
472 - </strong> and will be handled directly by jQuery. Any markup, such as  
473 - HTML, returned will not be escaped and it is up to you to escape any  
474 - malicious input provided by users.  
475 - </p>  
476 -  
477 - <h4 id="templateResult">  
478 - Customizing the display of results  
479 - </h4>  
480 -  
481 - <p>  
482 - When an option is displayed after it has been selected, it is passed  
483 - through a formatting function that determines what is displayed. By  
484 - default, the function only returns the <code>text</code> key of the data  
485 - object.  
486 - </p>  
487 -  
488 - <dl class="dl-horizontal">  
489 - <dt>Key</dt>  
490 - <dd><code>templateResult</code></dd>  
491 -  
492 - <dt>Value</dt>  
493 - <dd>A function taking a <code>result</code> object</dd>  
494 - </dl>  
495 -  
496 - <div class="alert alert-info">  
497 - <strong>Anything rendered in the results is templated.</strong>  
498 - This includes results such as the "Searching..." and "Loading more..."  
499 - text which will periodically be displayed, which allows you to add more  
500 - advanced formatting to these automatically generated options.  
501 - </div>  
502 -  
503 - <p>  
504 - The <code>templateResult</code> function should return a string  
505 - containing the text to be displayed, or an object (such as a jQuery  
506 - object) that contains the data that should be displayed. It can also  
507 - return <code>null</code>, which will prevent the option from being  
508 - displayed in the results list.  
509 - </p>  
510 -  
511 - <p>  
512 - <strong>Strings are assumed to contain only text</strong> and will be  
513 - passed through the <code>escapeMarkup</code> function, which strips any  
514 - HTML markup.  
515 - </p>  
516 -  
517 - <p>  
518 - <strong>  
519 - Anything else will be passed  
520 - <a href="https://api.jquery.com/append/">directly to <code>jQuery.fn.append</code></a>  
521 - </strong> and will be handled directly by jQuery. Any markup, such as  
522 - HTML, returned will not be escaped and it is up to you to escape any  
523 - malicious input provided by users.  
524 - </p>  
525 -  
526 - <h2 id="core-options-results">  
527 - Returning and displaying results  
528 - </h2>  
529 -  
530 - <p>  
531 - Select2 can work on many different data sets ranging from local options,  
532 - the same way that a <code>&lt;select&gt;</code> typically works, from  
533 - remote options where a server generates the results that users can select  
534 - from.  
535 - </p>  
536 -  
537 - <h3 id="data">  
538 - Array  
539 - </h3>  
540 -  
541 - <p>  
542 - Select2 allows creating the results based on an array of data objects that  
543 - is included when initializing Select2.  
544 - </p>  
545 -  
546 - <div class="row">  
547 - <div class="col-sm-6">  
548 - <dl class="dl-horizontal">  
549 - <dt>Key</dt>  
550 - <dd><code>data</code></dd>  
551 -  
552 - <dt>Value</dt>  
553 - <dd>array of objects</dd>  
554 - </dl>  
555 - </div>  
556 -  
557 - <div class="col-sm-6">  
558 - <dl class="dl-horizontal">  
559 - <dt>Adapter</dt>  
560 - <dd>  
561 - <code title="select2/data/array">ArrayAdapter</code>  
562 - </dd>  
563 - </dl>  
564 - </div>  
565 - </div>  
566 -  
567 - <p>  
568 - The objects that the users can select from should be passed as an array  
569 - with each object containing <code>id</code> and <code>text</code>  
570 - properties.  
571 - </p>  
572 -  
573 - <h3 id="ajax">  
574 - AJAX  
575 - </h3>  
576 -  
577 - <p>  
578 - Select2 allows searching for results from remote data sources using AJAX  
579 - requests.  
580 - </p>  
581 -  
582 - <div class="row">  
583 - <div class="col-sm-6">  
584 - <dl class="dl-horizontal">  
585 - <dt>Key</dt>  
586 - <dd><code>ajax</code></dd>  
587 -  
588 - <dt>Value</dt>  
589 - <dd>object</dd>  
590 - </dl>  
591 - </div>  
592 -  
593 - <div class="col-sm-6">  
594 - <dl class="dl-horizontal">  
595 - <dt>Adapter</dt>  
596 - <dd>  
597 - <code title="select2/data/ajax">AjaxAdapter</code>  
598 - </dd>  
599 - </dl>  
600 - </div>  
601 - </div>  
602 -  
603 - <p>  
604 - All options passed to this option will be directly passed to the  
605 - <code>$.ajax</code> function that executes AJAX requests. There are a few  
606 - custom options that Select2 will intercept, allowing you to customize the  
607 - request as it is being made.  
608 -  
609 -<pre class="prettyprint linenums">  
610 -ajax: {  
611 - // The number of milliseconds to wait for the user to stop typing before  
612 - // issuing the ajax request.  
613 - delay: 250,  
614 - // You can craft a custom url based on the parameters that are passed into the  
615 - // request. This is useful if you are using a framework which has  
616 - // JavaScript-based functions for generating the urls to make requests to.  
617 - //  
618 - // @param params The object containing the parameters used to generate the  
619 - // request.  
620 - // @returns The url that the request should be made to.  
621 - url: function (params) {  
622 - return UrlGenerator.Random();  
623 - },  
624 - // You can pass custom data into the request based on the parameters used to  
625 - // make the request. For `GET` requests, the default method, these are the  
626 - // query parameters that are appended to the url. For `POST` requests, this  
627 - // is the form data that will be passed into the request. For other requests,  
628 - // the data returned from here should be customized based on what jQuery and  
629 - // your server are expecting.  
630 - //  
631 - // @param params The object containing the parameters used to generate the  
632 - // request.  
633 - // @returns Data to be directly passed into the request.  
634 - data: function (params) {  
635 - var queryParameters = {  
636 - q: params.term  
637 - }  
638 -  
639 - return queryParameters;  
640 - },  
641 - // You can modify the results that are returned from the server, allowing you  
642 - // to make last-minute changes to the data, or find the correct part of the  
643 - // response to pass to Select2. Keep in mind that results should be passed as  
644 - // an array of objects.  
645 - //  
646 - // @param data The data as it is returned directly by jQuery.  
647 - // @returns An object containing the results data as well as any required  
648 - // metadata that is used by plugins. The object should contain an array of  
649 - // data objects as the `results` key.  
650 - processResults: function (data) {  
651 - return {  
652 - results: data  
653 - };  
654 - },  
655 - // You can use a custom AJAX transport function if you do not want to use the  
656 - // default one provided by jQuery.  
657 - //  
658 - // @param params The object containing the parameters used to generate the  
659 - // request.  
660 - // @param success A callback function that takes `data`, the results from the  
661 - // request.  
662 - // @param failure A callback function that indicates that the request could  
663 - // not be completed.  
664 - // @returns An object that has an `abort` function that can be called to abort  
665 - // the request if needed.  
666 - transport: function (params, success, failure) {  
667 - var $request = $.ajax(params);  
668 -  
669 - $request.then(success);  
670 - $request.fail(failure);  
671 -  
672 - return $request;  
673 - }  
674 -}  
675 -</pre>  
676 - </p>  
677 -  
678 - <h3 id="tags">  
679 - Tags  
680 - </h3>  
681 -  
682 - <p>  
683 - Users can create their own options based on the text that they have  
684 - entered.  
685 - </p>  
686 -  
687 - <div class="row">  
688 - <div class="col-sm-6">  
689 - <dl class="dl-horizontal">  
690 - <dt>Key</dt>  
691 - <dd><code>tags</code></dd>  
692 -  
693 - <dt>Value</dt>  
694 - <dd>boolean / array of objects</dd>  
695 - </dl>  
696 - </div>  
697 -  
698 - <div class="col-sm-6">  
699 - <dl class="dl-horizontal">  
700 - <dt>Adapter</dt>  
701 - <dd>  
702 - <code title="select2/data/base">DataAdapter</code>  
703 - </dd>  
704 -  
705 - <dt>Decorator</dt>  
706 - <dd>  
707 - <code title="select2/data/tags">Tags</code>  
708 - </dd>  
709 - </dl>  
710 - </div>  
711 - </div>  
712 -  
713 - <p>  
714 - If the <code>tags</code> option is passed into Select2, if a user types  
715 - anything into the search box which doesn't already exist, it will be  
716 - displayed at the top and the user will be able to select it.  
717 - </p>  
718 -  
719 - <p>  
720 - <strong>For backwards compatibility</strong>, if an array of objects is  
721 - passed in with the <code>tags</code> option, the options will be  
722 - automatically created and the user will be able to select from them.  
723 - This is the <strong>same as how <a href="#data">array data</a>  
724 - works</strong>, and has similar limitations.  
725 - </p>  
726 -  
727 - <h3 id="matcher">  
728 - Change how options are matched when searching  
729 - </h3>  
730 -  
731 - <p>  
732 - When users filter down the results by entering search terms into the  
733 - search box, Select2 uses an internal "matcher" to match search terms to  
734 - results. <strong>When a remote data set is used, Select2 expects that the  
735 - returned results have already been filtered.</strong>  
736 - </p>  
737 -  
738 - <dl class="dl-horizontal">  
739 - <dt>Key</dt>  
740 - <dd>  
741 - <code>matcher</code>  
742 - </dd>  
743 -  
744 - <dt>Value</dt>  
745 - <dd>  
746 - A function taking search <code>params</code> and the  
747 - <code>data</code> object.  
748 - </dd>  
749 - </dl>  
750 -  
751 - <p>  
752 - Select2 will pass the individual data objects that have been passed back  
753 - from the data adapter into the <code>matcher</code> individually to  
754 - determine if they should be displayed. Only the first-level objects will  
755 - be passed in, so <strong>if you are working with nested data, you need to  
756 - match those individually</strong>.  
757 - </p>  
758 -  
759 -<pre class="prettyprint linenums">  
760 -matcher: function (params, data) {  
761 - // If there are no search terms, return all of the data  
762 - if ($.trim(params.term) === '') {  
763 - return data;  
764 - }  
765 -  
766 - // `params.term` should be the term that is used for searching  
767 - // `data.text` is the text that is displayed for the data object  
768 - if (data.text.indexOf(params.term) > -1) {  
769 - var modifiedData = $.extend({}, data, true);  
770 - modifiedData.text += ' (matched)';  
771 -  
772 - // You can return modified objects from here  
773 - // This includes matching the `children` how you want in nested data sets  
774 - return modifiedData;  
775 - }  
776 -  
777 - // Return `null` if the term should not be displayed  
778 - return null;  
779 -}  
780 -</pre>  
781 -  
782 - <p>  
783 - This allows for more advanced matching when working with nested objects,  
784 - allowing you to handle them however you want. For those who are not  
785 - looking to implement highly customized matching, but instead are just  
786 - looking to change the matching algorithm for the text, a  
787 - <a href="#compat-matcher">compatibility modules</a> has been created to  
788 - make it easier.  
789 - </p>  
790 -</section>  
web/assets/vendor/select2/docs/_includes/options-old/dropdown.html
@@ -1,308 +0,0 @@ @@ -1,308 +0,0 @@
1 -<section>  
2 - <div class="page-header">  
3 - <h1 id="dropdown">Dropdown</h1>  
4 - </div>  
5 -  
6 - <p>  
7 - Select2 allows you to change the way that the dropdown works, allowing you  
8 - to do anything from attach it to a different location in the document or  
9 - add a search box.  
10 - </p>  
11 -  
12 - <h2 id="dropdownParent">  
13 - Attached to body  
14 - </h2>  
15 -  
16 - <p>  
17 - By default, Select2 will attach the dropdown to the end of the body and  
18 - will absolutely position it to appear below the selection container.  
19 - </p>  
20 -  
21 - <div class="row">  
22 - <div class="col-sm-6">  
23 - <dl class="dl-horizontal">  
24 - <dt>Key</dt>  
25 - <dd><code>dropdownParent</code></dd>  
26 -  
27 - <dt>Value</dt>  
28 - <dd>jQuery element or DOM node</dd>  
29 -  
30 - <hr />  
31 -  
32 - <dt>Adapter</dt>  
33 - <dd>  
34 - <code title="select2/dropdown">DropdownAdapter</code>  
35 - </dd>  
36 -  
37 - <dt>Decorator</dt>  
38 - <dd>  
39 - <code title="select2/dropdown/attachBody">AttachBody</code>  
40 - </dd>  
41 - </dl>  
42 - </div>  
43 -  
44 - <div class="col-sm-6">  
45 - <div class="alert alert-warning">  
46 - <strong>Heads up!</strong>  
47 - This will cause DOM events to be raised outside of the standard  
48 - Select2 DOM container. This can cause issues with  
49 - third-party components such as modals.  
50 - </div>  
51 - </div>  
52 - </div>  
53 -  
54 - <p>  
55 - When the dropdown is attached to the body, you are not limited to just  
56 - displaying the dropdown below the container. Select2 will display above  
57 - the container if there is not enough space below the container, but there  
58 - is enough space above it. You are also not limited to displaying the  
59 - dropdown within the parent container, which means Select2 will render  
60 - correctly inside of modals and other small containers.  
61 - </p>  
62 -  
63 - <h2 id="dropdown-attachContainer">  
64 - Attached below the container  
65 - </h2>  
66 -  
67 - <p>  
68 - Select2 can place the dropdown directly after the selection container, so  
69 - it will appear in the same location within the DOM as the rest of Select2.  
70 - </p>  
71 -  
72 - <div class="row">  
73 - <div class="col-sm-6">  
74 - <dl class="dl-horizontal">  
75 - <dt>Adapter</dt>  
76 - <dd>  
77 - <code title="select2/dropdown">DropdownAdapter</code>  
78 - </dd>  
79 -  
80 - <dt>Decorator</dt>  
81 - <dd>  
82 - <code title="select2/dropdown/attachContainer">AttachContainer</code>  
83 - </dd>  
84 - </dl>  
85 - </div>  
86 -  
87 - <div class="col-sm-6">  
88 - <div class="alert alert-warning">  
89 - <strong>Check your build.</strong> This module is only included in the  
90 - <a href="index.html#builds-full" class="alert-link">full builds</a> of  
91 - Select2.  
92 - </div>  
93 - </div>  
94 - </div>  
95 -  
96 - <div class="alert alert-info">  
97 - <strong>  
98 - <a href="https://harvesthq.github.io/chosen/">Harvest Chosen</a>  
99 - migrators!  
100 - </strong>  
101 - If you are migrating to Select2 from Chosen, this option will cause  
102 - Select2 to position the dropdown in a similar way.  
103 - </div>  
104 -  
105 - <h2 id="dropdown-search">  
106 - Search  
107 - </h2>  
108 -  
109 - <p>  
110 - Users can filter down the results by typing a search term into a box that  
111 - is displayed at the top of the dropdown.  
112 - </p>  
113 -  
114 - <dl class="dl-horizontal">  
115 - <dt>Adapter</dt>  
116 - <dd>  
117 - <code title="select2/dropdown">DropdownAdapter</code>  
118 - </dd>  
119 -  
120 - <dt>Decorator</dt>  
121 - <dd>  
122 - <code title="select2/dropdown/search">DropdownSearch</code>  
123 - </dd>  
124 - </dl>  
125 -  
126 - <p>  
127 - A search box is added to the top of the dropdown automatically for select  
128 - boxes where only a single option can be selected.  
129 - </p>  
130 -  
131 - <h3 id="dropdown-minimumInputLength">  
132 - Minimum search term length to filter results  
133 - </h3>  
134 -  
135 - <p>  
136 - Sometimes when working with large data sets, it is more efficient to start  
137 - filtering the results when the search term is a certain length. This is  
138 - very common when working with remote data sets, as allows for only  
139 - significant search terms to be used.  
140 - </p>  
141 -  
142 - <div class="row">  
143 - <div class="col-sm-6">  
144 - <dl class="dl-horizontal">  
145 - <dt>Key</dt>  
146 - <dd><code>minimumInputLength</code></dd>  
147 -  
148 - <dt>Value</dt>  
149 - <dd>integer</dd>  
150 - </dl>  
151 - </div>  
152 -  
153 - <div class="col-sm-6">  
154 - <dl class="dl-horizontal">  
155 - <dt>Adapter</dt>  
156 - <dd>  
157 - <code title="select2/data/base">DataAdapter</code>  
158 - </dd>  
159 -  
160 - <dt>Decorator</dt>  
161 - <dd>  
162 - <code title="select2/data/minimumInputLength">MinimumInputLength</code>  
163 - </dd>  
164 - </dl>  
165 - </div>  
166 - </div>  
167 -  
168 - <h3 id="dropdown-maximumInputLength">  
169 - Maximum search term length to filter results  
170 - </h3>  
171 -  
172 - <p>  
173 - In some cases, search terms need to be limited to a certain range. Select2  
174 - allows you to limit the length of the search term such that it does not  
175 - exceed a certain length.  
176 - </p>  
177 -  
178 - <div class="row">  
179 - <div class="col-sm-6">  
180 - <dl class="dl-horizontal">  
181 - <dt>Key</dt>  
182 - <dd><code>maximumInputLength</code></dd>  
183 -  
184 - <dt>Value</dt>  
185 - <dd>integer</dd>  
186 - </dl>  
187 - </div>  
188 -  
189 - <div class="col-sm-6">  
190 - <dl class="dl-horizontal">  
191 - <dt>Adapter</dt>  
192 - <dd>  
193 - <code title="select2/data/base">DataAdapter</code>  
194 - </dd>  
195 -  
196 - <dt>Decorator</dt>  
197 - <dd>  
198 - <code title="select2/data/maximumInputLength">MaximumInputLength</code>  
199 - </dd>  
200 - </dl>  
201 - </div>  
202 - </div>  
203 -  
204 - <h3 id="dropdown-maximumInputLength">  
205 - Minimum results to display the search box  
206 - </h3>  
207 -  
208 - <p>  
209 - When working with smaller data sets, the search box can take up more space  
210 - that is necessary, as there are not enough results for filtering to be  
211 - effective. Select2 allows you to only display the search box when the  
212 - number of search results reaches a certain threshold.  
213 - </p>  
214 -  
215 - <div class="row">  
216 - <div class="col-sm-6">  
217 - <dl class="dl-horizontal">  
218 - <dt>Key</dt>  
219 - <dd><code>minimumResultsForSearch</code></dd>  
220 -  
221 - <dt>Value</dt>  
222 - <dd>integer</dd>  
223 - </dl>  
224 - </div>  
225 -  
226 - <div class="col-sm-6">  
227 - <dl class="dl-horizontal">  
228 - <dt>Adapter</dt>  
229 - <dd>  
230 - <code title="select2/dropdown">DropdownAdapter</code>  
231 - </dd>  
232 -  
233 - <dt>Decorator</dt>  
234 - <dd>  
235 - <code title="select2/dropdown/minimumResultsForSearch">MinimumResultsForSearch</code>  
236 - </dd>  
237 - </dl>  
238 - </div>  
239 - </div>  
240 -  
241 - <h2 id="dropdown-select-on-close">  
242 - Select the highlighted option on close  
243 - </h2>  
244 -  
245 - <p>  
246 - When users close the dropdown, the last highlighted option can be  
247 - automatically selected. This is commonly used in combination with  
248 - <a href="#tags">tagging</a> and <a href="#placeholder">placeholders</a>  
249 - and other situations where the user is required to select an option, or  
250 - they need to be able to quickly select multiple options.  
251 - </p>  
252 -  
253 - <dl class="dl-horizontal">  
254 - <dt>Adapter</dt>  
255 - <dd>  
256 - <code title="select2/results">ResultsAdapter</code>  
257 - </dd>  
258 -  
259 - <dt>Decorator</dt>  
260 - <dd>  
261 - <code title="select2/dropdown/selectOnClose">SelectOnClose</code>  
262 - </dd>  
263 - </dl>  
264 -  
265 - <h2 id="closeOnSelect">  
266 - Close the dropdown when a result is selected  
267 - </h2>  
268 -  
269 - <p>  
270 - Select2 will automatically close the dropdown when an element is selected,  
271 - similar to what is done with a normal select box. This behavior can be  
272 - changed though to keep the dropdown open when results are selected,  
273 - allowing for multiple options to be selected quickly.  
274 - </p>  
275 -  
276 - <div class="row">  
277 - <div class="col-sm-6">  
278 - <dl class="dl-horizontal">  
279 - <dt>Key</dt>  
280 - <dd><code>closeOnSelect</code></dd>  
281 -  
282 - <dt>Default</dt>  
283 - <dd><code>true</code></dd>  
284 - </dl>  
285 - </div>  
286 -  
287 - <div class="col-sm-6">  
288 - <dl class="dl-horizontal">  
289 - <dt>Adapter</dt>  
290 - <dd>  
291 - <code title="select2/dropdown">DropdownAdapter</code>  
292 - </dd>  
293 -  
294 - <dt>Decorator</dt>  
295 - <dd>  
296 - <code title="select2/dropdown/closeOnSelect">CloseOnSelect</code>  
297 - </dd>  
298 - </dl>  
299 - </div>  
300 - </div>  
301 -  
302 - <p>  
303 - If this decorator is not used (or <code>closeOnSelect</code> is set to  
304 - <code>false</code>), the dropdown will not automatically close when a  
305 - result is selected. The dropdown will also never close if the  
306 - <kbd>ctrl</kbd> key is held down when the result is selected.  
307 - </p>  
308 -</section>  
web/assets/vendor/select2/docs/_includes/options-old/events.html
@@ -1,50 +0,0 @@ @@ -1,50 +0,0 @@
1 -<section>  
2 - <div id="events" class="page-header">  
3 - <h1>Events</h1>  
4 - </div>  
5 -  
6 - <p>  
7 - Select2 has an internal event system that is used to notify parts of the  
8 - component that state has changed, as well as an adapter that allows some  
9 - of these events to be relayed to the outside word.  
10 - </p>  
11 -  
12 - <dl class="dl-horizontal">  
13 - <dt>Adapter</dt>  
14 - <dd>  
15 - <code title="select2/selection">SelectionAdapter</code>  
16 - </dd>  
17 -  
18 - <dt>Decorator</dt>  
19 - <dd>  
20 - <code title="select2/selection/eventRelay">EventRelay</code>  
21 - </dd>  
22 - </dl>  
23 -  
24 - <h2 id="events-public">  
25 - Public events  
26 - </h2>  
27 -  
28 - <p>  
29 - All public events are relayed using the jQuery event system, and they are  
30 - triggered on the <code>&lt;select&gt;</code> element that Select2 is  
31 - attached to. You can attach to them using the  
32 - <a href="https://api.jquery.com/on/"><code>.on</code> method</a> provided  
33 - by jQuery.  
34 - </p>  
35 -  
36 - <h2 id="events-internal">  
37 - Internal events  
38 - </h2>  
39 -  
40 - <p>  
41 - Select2 triggers internal events using its own internal event system,  
42 - which allows adapters to communicate with each other. These events are not  
43 - accessible through the jQuery event system.  
44 - </p>  
45 -  
46 - <p>  
47 - You can find more information on the public events triggered by individual  
48 - adapters in <a href="#adapters">the individual adapter documentation</a>.  
49 - </p>  
50 -</section>  
web/assets/vendor/select2/docs/_includes/options-old/setting-default-options.html
@@ -1,37 +0,0 @@ @@ -1,37 +0,0 @@
1 -<section>  
2 - <h1 id="setting-default-options">Setting default options</h1>  
3 -  
4 - <p>  
5 - In some cases, you need to set the default options for all instances of  
6 - Select2 in your web application. This is especially useful when you are  
7 - migrating from past versions of Select2, or you are using non-standard  
8 - options <a href="#amd">like custom AMD builds</a>. Select2 exposes the  
9 - default options through <code>$.fn.select2.defaults</code>, which allows  
10 - you to set them globally.  
11 - </p>  
12 -  
13 - <p>  
14 - When setting options globally, any past defaults that have been set will  
15 - be overriden. Default options are only used when an option is requested  
16 - that has not been set during initialization.  
17 - </p>  
18 -  
19 - <p>  
20 - <strong>You can set default options</strong> by calling  
21 - <code>$.fn.select2.defaults.set("key", "value")</code>. The key that is  
22 - set should take the same format as keys set using  
23 - <a href="#data-attributes">HTML <code>data-*</code> attributes</a> which  
24 - means that two dashes (<code>--</code>) will be replaced by a level of  
25 - nesting, and a single dash (<code>-</code>) will convert it to a camelCase  
26 - string.  
27 - </p>  
28 -  
29 -<pre class="prettyprint">  
30 -$.fn.select2.defaults.set("theme", "classic");  
31 -</pre>  
32 -  
33 - <p>  
34 - <strong>You can reset the default options</strong> by calling  
35 - <code>$.fn.select2.defaults.reset()</code>.  
36 - </p>  
37 -</section>  
web/assets/vendor/select2/docs/_includes/options/compatibility.html
@@ -1,10 +0,0 @@ @@ -1,10 +0,0 @@
1 -<section>  
2 - <h1>  
3 - Backwards compatibility  
4 - </h1>  
5 -  
6 - {% include options/compatibility/matcher.html %}  
7 - {% include options/compatibility/initial-selection.html %}  
8 - {% include options/compatibility/query-function.html %}  
9 - {% include options/compatibility/text-input.html %}  
10 -</section>  
11 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/options/compatibility/initial-selection.html
@@ -1,50 +0,0 @@ @@ -1,50 +0,0 @@
1 -<section>  
2 - <h2 id="initSelection">  
3 - Old initial selections with <code>initSelection</code>  
4 - </h2>  
5 -  
6 - <p class="alert alert-warning">  
7 - <a href="announcements-4.0.html#removed-initselection" class="alert-link">Deprecated in Select2 4.0.</a>  
8 - This has been replaced by another option and is only available in the  
9 - <a href="index.html#builds-full" class="alert-link">full builds</a> of  
10 - Select2.  
11 - </p>  
12 -  
13 - <p>  
14 - In the past, Select2 required an option called <code>initSelection</code>  
15 - that was defined whenever a custom data source was being used, allowing  
16 - for the initial selection for the component to be determined. This has  
17 - been replaced by the <code>current</code> method on the  
18 - <a href="#dataAdapter">data adapter</a>.  
19 - </p>  
20 -  
21 - <div class="row">  
22 - <div class="col-sm-6">  
23 - <dl class="dl-horizontal">  
24 - <dt>Key</dt>  
25 - <dd>  
26 - <code>initSelection</code>  
27 - </dd>  
28 -  
29 - <dt>Value</dt>  
30 - <dd>  
31 - A function taking a <code>callback</code>  
32 - </dd>  
33 - </dl>  
34 - </div>  
35 -  
36 - <div class="col-sm-6">  
37 - <dl class="dl-horizontal">  
38 - <dt>Adapter</dt>  
39 - <dd>  
40 - <code title="select2/data/base">DataAdapter</code>  
41 - </dd>  
42 -  
43 - <dt>Decorator</dt>  
44 - <dd>  
45 - <code title="select2/compat/initSelection">InitSelection</code>  
46 - </dd>  
47 - </dl>  
48 - </div>  
49 - </div>  
50 -</section>  
51 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/options/compatibility/introduction.html
@@ -1,18 +0,0 @@ @@ -1,18 +0,0 @@
1 -<section>  
2 - <p>  
3 - Select2 offers limited backwards compatibility with the previously 3.5.x  
4 - release line, allowing people more efficiently transfer across releases  
5 - and get the latest features. For many of the larger changes, such as the  
6 - change in how custom data adapters work, compatibility modules were  
7 - created that will be used to assist in the upgrade process. It is not  
8 - recommended to rely on these compatibility modules, as they will not  
9 - always exist, but they make upgrading easier for major changes.  
10 - </p>  
11 -  
12 - <p>  
13 - <strong>The compatibility modules are only included in the  
14 - <a href="index.html#builds-full" class="alert-link">full builds</a> of  
15 - Select2</strong>. These files end in <code>.full.js</code>, and the  
16 - compatibility modules are prefixed with <code>select2/compat</code>.  
17 - </p>  
18 -</section>  
19 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/options/compatibility/matcher.html
@@ -1,50 +0,0 @@ @@ -1,50 +0,0 @@
1 -<section>  
2 - <h2 id="compat-matcher">  
3 - Simplified function for matching data objects  
4 - </h2>  
5 -  
6 - <p class="alert alert-info">  
7 - <a href="announcements-4.0.html#new-matcher" class="alert-link">Added in Select2 4.0.0.</a>  
8 - This method was added to make upgrading easier from earlier versions of  
9 - Select2.  
10 - </p>  
11 -  
12 - <p>  
13 - During the <a href="announcements-4.0.html">Select2 4.0.0 release</a>, the  
14 - <code>matcher</code> function was changed to allow for more complex  
15 - matching of nested objects.  
16 - </p>  
17 -  
18 - <div class="row">  
19 - <div class="col-sm-6">  
20 - <dl class="dl-horizontal">  
21 - <dt>Key</dt>  
22 - <dd>  
23 - <code>matcher</code>  
24 - </dd>  
25 -  
26 - <dt>Value</dt>  
27 - <dd>  
28 - A function taking a search <code>term</code> and the data object  
29 - <code>text</code>.  
30 - </dd>  
31 - </dl>  
32 - </div>  
33 -  
34 - <div class="col-sm-6">  
35 - <dl class="dl-horizontal">  
36 - <dt>Adapter</dt>  
37 - <dd>  
38 - <code title="select2/compat/matcher">oldMatcher</code>  
39 - </dd>  
40 - </dl>  
41 - </div>  
42 - </div>  
43 -  
44 - <p>  
45 - The <a href="examples.html#matcher">custom matcher example</a> provides a  
46 - guide for how to use this in your own application. For those upgrading  
47 - from older versions of Select2, you just need to wrap your old  
48 - <code>matcher</code> with this function to maintain compatibility.  
49 - </p>  
50 -</section>  
51 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/options/compatibility/query-function.html
@@ -1,50 +0,0 @@ @@ -1,50 +0,0 @@
1 -<section>  
2 - <h2 id="query">  
3 - Querying old data with <code>query</code>  
4 - </h2>  
5 -  
6 - <p class="alert alert-warning">  
7 - <a href="announcements-4.0.html#query-to-data-adapter" class="alert-link">Deprecated in Select2 4.0.</a>  
8 - This has been replaced by another option and is only available in the  
9 - <a href="index.html#builds-full" class="alert-link">full builds</a> of  
10 - Select2.  
11 - </p>  
12 -  
13 - <p>  
14 - In the past, Select2 supported an option called <code>query</code> that  
15 - allowed for a custom data source to be used. This option has been replaced  
16 - by the <code>query</code> method on the  
17 - <a href="#dataAdapter">data adapter</a> and takes a very similar set of  
18 - parameters.  
19 - </p>  
20 -  
21 - <div class="row">  
22 - <div class="col-sm-6">  
23 - <dl class="dl-horizontal">  
24 - <dt>Key</dt>  
25 - <dd>  
26 - <code>query</code>  
27 - </dd>  
28 -  
29 - <dt>Value</dt>  
30 - <dd>  
31 - A function taking <code>params</code> (including a <code>callback</code>)  
32 - </dd>  
33 - </dl>  
34 - </div>  
35 -  
36 - <div class="col-sm-6">  
37 - <dl class="dl-horizontal">  
38 - <dt>Adapter</dt>  
39 - <dd>  
40 - <code title="select2/data/base">DataAdapter</code>  
41 - </dd>  
42 -  
43 - <dt>Decorator</dt>  
44 - <dd>  
45 - <code title="select2/compat/query">Query</code>  
46 - </dd>  
47 - </dl>  
48 - </div>  
49 - </div>  
50 -</section>  
51 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/options/compatibility/text-input.html
@@ -1,32 +0,0 @@ @@ -1,32 +0,0 @@
1 -<section>  
2 - <h2 id="input-fallback">  
3 - Compatibility with <code>&lt;input type="text" /&gt;</code>  
4 - </h2>  
5 -  
6 - <p class="alert alert-warning">  
7 - <a href="announcements-4.0.html#hidden-input" class="alert-link">Deprecated in Select2 4.0.</a>  
8 - It is now encouraged to use the <code>&lt;select&gt;</code> tag instead.  
9 - </p>  
10 -  
11 - <p>  
12 - In past versions of Select2, a <code>&lt;select&gt;</code> element could  
13 - only be used with a limited subset of options. An  
14 - <code>&lt;input type="hidden" /&gt;</code> was required instead, which did  
15 - not allow for a graceful fallback for users who did not have JavaScript  
16 - enabled. Select2 now supports the <code>&lt;select&gt;</code> element for  
17 - all options, so it is no longer required to use <code>&lt;input /&gt;</code>  
18 - elements with Select2.  
19 - </p>  
20 -  
21 - <dl class="dl-horizontal">  
22 - <dt>Adapter</dt>  
23 - <dd>  
24 - <code title="select2/data/base">DataAdapter</code>  
25 - </dd>  
26 -  
27 - <dt>Decorator</dt>  
28 - <dd>  
29 - <code title="select2/compat/inputData">InputData</code>  
30 - </dd>  
31 - </dl>  
32 -</section>  
33 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/options/core.html
@@ -1,9 +0,0 @@ @@ -1,9 +0,0 @@
1 -<section>  
2 - <h1>  
3 - Core options  
4 - </h1>  
5 -  
6 - {% include options/core/options.html %}  
7 - {% include options/core/data-attributes.html %}  
8 - {% include options/core/amd-support.html %}  
9 -</section>  
10 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/options/core/amd-support.html
@@ -1,46 +0,0 @@ @@ -1,46 +0,0 @@
1 -<section>  
2 - <h2 id="amd">  
3 - Can I use Select2 with my AMD or CommonJS loader?  
4 - </h2>  
5 -  
6 - <p>  
7 - Select2 should work with most AMD- or CommonJS-compliant module loaders, including <a href="http://requirejs.org/">RequireJS</a> and <a href="https://github.com/jrburke/almond">almond</a>. Select2 ships with a modified version of the <a href="https://github.com/umdjs/umd/blob/f208d385768ed30cd0025d5415997075345cd1c0/templates/jqueryPlugin.js">UMD jQuery template</a> that supports both CommonJS and AMD environments.  
8 - </p>  
9 -  
10 - <h3>  
11 - How do I tell Select2 where to look for modules?  
12 - </h3>  
13 -  
14 - <p>  
15 - For most AMD and CommonJS setups, the location of the data files used by Select2 will be automatically determined and handled without you needing to do anything.  
16 - </p>  
17 -  
18 - <p>  
19 - If you are using Select2 in a build environment where preexisting module names are changed during a build step, Select2 may not be able to find optional dependencies or language files. You can manually set the prefixes to use for these files using the <code>amdBase</code> and <code>amdLanugageBase</code> options.  
20 - </p>  
21 -  
22 -{% highlight js linenos %}  
23 -$.fn.select2.defaults.set('amdBase', 'select2/');  
24 -$.fn.select2.defaults.set('amdLanguageBase', 'select2/i18n/');  
25 -{% endhighlight %}  
26 -  
27 - <h3>  
28 - Select2 is being placed before jQuery in my JavaScript file  
29 - </h3>  
30 -  
31 - <p>  
32 - Due to <a href="https://github.com/jrburke/requirejs/issues/1342">a bug in older versions</a> of the r.js build tool, Select2 was sometimes placed before jQuery in then compiled build file. Because of this, Select2 will trigger an error because it won't be able to find or load jQuery.  
33 - </p>  
34 -  
35 - <p>  
36 - By upgrading to version 2.1.18 or higher of the r.js build tool, you will be able to fix the issue.  
37 - </p>  
38 -  
39 - <h3>  
40 - Should I point to the files in <code>dist</code> or <code>src</code>?  
41 - </h3>  
42 -  
43 - <p>  
44 - Select2 internally uses AMD and the r.js build tool to build the files located in the <code>dist</code> folder. These are built using the files in the <code>src</code> folder, so <em>you can</em> just point your modules to the Select2 source and load in <code>jquery.select2</code> or <code>select2/core</code> when you want to use Select2. The files located in the <code>dist</code> folder are also AMD-compatible, so you can point to that file if you want to load in all of the default Select2 modules.  
45 - </p>  
46 -</section>  
47 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/options/core/data-attributes.html
@@ -1,76 +0,0 @@ @@ -1,76 +0,0 @@
1 -<section>  
2 - <h2 id="data-attributes">  
3 - Can I declare my configuration within the HTML?  
4 - </h2>  
5 -  
6 - <p>  
7 - It is recommended that you declare your configuration options for Select2  
8 - when initializing Select2. You can also define your configuration options  
9 - by using the HTML5 <code>data-*</code> attributes, which will override  
10 - any options set when initializing Select2 and any defaults.  
11 - </p>  
12 -  
13 - <h3>  
14 - How should <code>camelCase</code> options be written?  
15 - </h3>  
16 -  
17 - <p>  
18 - HTML data attributes are case-insensitive, so any options which contain capital letters will be parsed as if they were all lowercase. Because Select2 has many options which are camelCase, where words are separated by uppercase letters, you must write these options out with dashes instead. So an option that would normally be called <code>allowClear</code> should instead be defined as <code>allow-clear</code>.  
19 - </p>  
20 -  
21 - <p>  
22 - This means that if you declare your <code>&lt;select&gt;</code> tag as...  
23 - </p>  
24 -  
25 -{% highlight html linenos %}  
26 -<select data-tags="true" data-placeholder="Select an option" data-allow-clear="true"></select>  
27 -{% endhighlight %}  
28 -  
29 - <p>  
30 - Will be interpreted the same as initializing Select2 as...  
31 - </p>  
32 -  
33 -{% highlight js linenos %}  
34 -$("select").select2({  
35 - tags: "true",  
36 - placeholder: "Select an option",  
37 - allowClear: true  
38 -});  
39 -{% endhighlight %}  
40 -  
41 - <h3>  
42 - Are options with nested configurations supported?  
43 - </h3>  
44 -  
45 - <p>  
46 - You can also define nested configurations, which are typically needed for  
47 - options such as AJAX. Each level of nesting should be separated by two  
48 - dashes (<code>--</code>) instead of one. Due to  
49 - <a href="https://github.com/jquery/jquery/issues/2070">a jQuery bug</a>,  
50 - nested options using <code>data-*</code> attributes  
51 - <a href="https://github.com/select2/select2/issues/2969">do not work in jQuery 1.x</a>.  
52 - </p>  
53 -  
54 -{% highlight html linenos %}  
55 -<select data-ajax--url="http://example.org/api/test" data-ajax--cache="true"></select>  
56 -{% endhighlight %}  
57 -  
58 - <p>  
59 - Which will be interpreted the same as initializing Select2 with...  
60 - </p>  
61 -  
62 -{% highlight js linenos %}  
63 -$("select").select2({  
64 - ajax: {  
65 - url: "http://example.org/api/test",  
66 - cache: true  
67 - }  
68 -});  
69 -{% endhighlight %}  
70 -  
71 - <p>  
72 - The value of the option is subject to jQuery's  
73 - <a href="https://api.jquery.com/data/#data-html5">parsing rules</a> for  
74 - HTML5 data attributes.  
75 - </p>  
76 -</section>  
77 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/options/core/options.html
@@ -1,80 +0,0 @@ @@ -1,80 +0,0 @@
1 -<section>  
2 - <h2 id="options">  
3 - How should Select2 be initialized?  
4 - </h2>  
5 -  
6 - <p>  
7 - Select2 will register itself as a jQuery function if you use any of the distribution builds, so you can call <code>.select2()</code> on any jQuery element where you would like to initialize Select2.  
8 - </p>  
9 -  
10 -{% highlight js linenos %}  
11 -$('select').select2();  
12 -{% endhighlight %}  
13 -  
14 - <p>  
15 - You can optionally pass an object containing all of the options that you would like to initialize Select2 with.  
16 - </p>  
17 -  
18 -{% highlight js linenos %}  
19 -$('select').select2({  
20 - placeholder: 'Select an option'  
21 -});  
22 -{% endhighlight %}  
23 -  
24 - <h3 id="setting-default-options">  
25 - Can default options be set for all dropdowns?  
26 - </h3>  
27 -  
28 - <p>  
29 - In some cases, you need to set the default options for all instances of  
30 - Select2 in your web application. This is especially useful when you are  
31 - migrating from past versions of Select2, or you are using non-standard  
32 - options <a href="#amd">like custom AMD builds</a>. Select2 exposes the  
33 - default options through <code>$.fn.select2.defaults</code>, which allows  
34 - you to set them globally.  
35 - </p>  
36 -  
37 - <p>  
38 - When setting options globally, any past defaults that have been set will  
39 - be overriden. Default options are only used when an option is requested  
40 - that has not been set during initialization.  
41 - </p>  
42 -  
43 - <p>  
44 - <strong>You can set default options</strong> by calling  
45 - <code>$.fn.select2.defaults.set("key", "value")</code>.  
46 - </p>  
47 -  
48 -{% highlight js linenos %}  
49 -$.fn.select2.defaults.set("theme", "classic");  
50 -{% endhighlight %}  
51 -  
52 - <h3>  
53 - How can I set a default value for a nested option?  
54 - </h3>  
55 -  
56 - <p>  
57 - The key that is  
58 - set should take the same format as keys set using  
59 - <a href="#data-attributes">HTML <code>data-*</code> attributes</a> which  
60 - means that two dashes (<code>--</code>) will be replaced by a level of  
61 - nesting, and a single dash (<code>-</code>) will convert it to a camelCase  
62 - string.  
63 - </p>  
64 -  
65 -{% highlight js linenos %}  
66 -$.fn.select2.defaults.set("ajax--cache", false);  
67 -{% endhighlight %}  
68 -  
69 - <h3>  
70 - How can I reset all of the global default options?  
71 - </h3>  
72 -  
73 - <p>  
74 - You can reset the default options to their initial values by calling  
75 - </p>  
76 -  
77 -{% highlight js linenos %}  
78 -$.fn.select2.defaults.reset();  
79 -{% endhighlight %}  
80 -</section>  
81 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/options/data.html
@@ -1,9 +0,0 @@ @@ -1,9 +0,0 @@
1 -<section>  
2 - <h1>  
3 - Data adapters  
4 - </h1>  
5 -  
6 - {% include options/data/select.html %}  
7 - {% include options/data/array.html %}  
8 - {% include options/data/ajax.html %}  
9 -</section>  
10 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/options/data/ajax.html
@@ -1,147 +0,0 @@ @@ -1,147 +0,0 @@
1 -<section>  
2 - <h2 id="ajax">  
3 - Can Select2 be connected to a remote data source?  
4 - </h2>  
5 -  
6 - <p>  
7 - Select2 supports connecting to a remote data source using the <code>ajax</code> option.  
8 - </p>  
9 -  
10 - <h3>  
11 - How can I set the initially selected options when using AJAX?  
12 - </h3>  
13 -  
14 - <p>  
15 - You can refer to the following Stack Overflow answer if you want to set the initial value for AJAX requests: <a href="http://stackoverflow.com/q/30316586/359284#30328989">Select2 4.0.0 initial value with AJAX</a>  
16 - </p>  
17 -  
18 - <h3>  
19 - What should the results returned to Select2 look like?  
20 - </h3>  
21 -  
22 - {% include options/not-written.html %}  
23 -  
24 - <h3>  
25 - Is there a way to modify the response before passing it back to Select2?  
26 - </h3>  
27 -  
28 - <p>  
29 - You can use the <code>ajax.processResults</code> option to modify the data returned from the server before passing it to Select2.  
30 - </p>  
31 -  
32 -{% highlight js linenos %}  
33 -$('select').select2({  
34 - ajax: {  
35 - url: '/example/api',  
36 - processResults: function (data) {  
37 - return {  
38 - results: data.items  
39 - };  
40 - }  
41 - }  
42 -});  
43 -{% endhighlight %}  
44 -  
45 - <h3>  
46 - A request is being triggered on every key stroke, can I delay this?  
47 - </h3>  
48 -  
49 - <p>  
50 - By default, Select2 will trigger a new AJAX request whenever the user changes their search term. You can set a time limit for debouncing requests using the <code>ajax.delay</code> option.  
51 - </p>  
52 -  
53 -{% highlight js linenos %}  
54 -$('select').select2({  
55 - ajax: {  
56 - url: '/example/api',  
57 - delay: 250  
58 - }  
59 -});  
60 -{% endhighlight %}  
61 -  
62 - <p>  
63 - This will tell Select2 to wait 250 milliseconds before sending the request out to your API.  
64 - </p>  
65 -  
66 - <h3>  
67 - How do I tell Select2 which URL to get the results from?  
68 - </h3>  
69 -  
70 - <p>  
71 - When connecting Select2 to a remote data source, you have the option of using either a single endpoint (a single page which handles all requests) or a dynamic endpoint (one of many pages). You can point Select2 to a single endpoint during initialization by specifying a string for the <code>ajax.url</code> option.  
72 - </p>  
73 -  
74 -{% highlight js linenos %}  
75 -$('select').select2({  
76 - ajax: {  
77 - url: '/path/to/search/endpoint'  
78 - }  
79 -});  
80 -{% endhighlight %}  
81 -  
82 - <p>  
83 - If there isn't a single url for your search results, or you need to call a function to determine the url to use, you can specify a function for the <code>ajax.url</code> option, and this will be used instead. The query parameters will be passed in through the <code>params</code> option.  
84 - </p>  
85 -  
86 -{% highlight js linenos %}  
87 -$('select').select2({  
88 - ajax: {  
89 - url: function (params) {  
90 - return '/some/url/' + params.term;  
91 - }  
92 - }  
93 -});  
94 -{% endhighlight %}  
95 -  
96 - <h3>  
97 - I want to add more query parameters to the request, where can this be done?  
98 - </h3>  
99 -  
100 - <p>  
101 - By default, Select2 will send the query term as well as the pagination data as query parameters in requests. You can override the data that is sent to your API, or change any of the query paramters, by overriding the <code>ajax.data</codE> option.  
102 - </p>  
103 -  
104 -{% highlight js linenos %}  
105 -$('select').select2({  
106 - ajax: {  
107 - data: function (params) {  
108 - var query = {  
109 - search: params.term,  
110 - page: params.page  
111 - }  
112 -  
113 - // Query paramters will be ?search=[term]&page=[page]  
114 - return query;  
115 - }  
116 - }  
117 -});  
118 -{% endhighlight %}  
119 -  
120 - <h3>  
121 - The results that I am seeing never change  
122 - </h3>  
123 -  
124 - <p>  
125 - Select2 expects that the results that are returned from the remote endpoint are already filtered ahead of time based on the search term. If your remote endpoint just returns the list of all possible options, you may be interested in using Select2's <a href="examples.html#data-array">support for data arrays</a>.  
126 - </p>  
127 -  
128 - <h3>  
129 - Can an AJAX plugin other than <code>jQuery.ajax</code> be used?  
130 - </h3>  
131 -  
132 - <p>  
133 - Select2 uses the transport method defined in <code>ajax.transport</code> to send requests to your API. By default, this transport method is <code>jQuery.ajax</code> but this can be changed.  
134 - </p>  
135 -  
136 -{% highlight js linenos %}  
137 -$('select').select2({  
138 - ajax: {  
139 - transport: function (params, success, failure) {  
140 - var request = new AjaxRequest(params.url, params);  
141 - request.on('success', success);  
142 - request.on('failure', failure);  
143 - }  
144 - }  
145 -});  
146 -{% endhighlight %}  
147 -</section>  
148 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/options/data/array.html
@@ -1,150 +0,0 @@ @@ -1,150 +0,0 @@
1 -<section>  
2 - <h2 id="data">  
3 - Can I load data into Select2 using an array?  
4 - </h2>  
5 -  
6 - <p>  
7 - While Select2 is designed to be used with a <code>&lt;select&gt;</code> tag  
8 - the data that is used to search through and display the results can be  
9 - loaded from a JavaScript array using the <code>data</code> option. This  
10 - option should be passed in during the initialization of Select2.  
11 - </p>  
12 -  
13 -{% highlight js linenos %}  
14 -$('select').select2({  
15 - data: [  
16 - {  
17 - id: 'value',  
18 - text: 'Text to display'  
19 - },  
20 - // ... more data objects ...  
21 - ]  
22 -});  
23 -{% endhighlight %}  
24 -  
25 - <h3>  
26 - What properties are required on the objects passed in to the array?  
27 - </h3>  
28 -  
29 - <p>  
30 - The <code>id</code> and <code>text</code> properties are required on each  
31 - object, and these are the properties that Select2 uses for the internal  
32 - data objects. Any additional paramters passed in with data objects will be  
33 - included on the data objects that Select2 exposes.  
34 - </p>  
35 -  
36 - <h3>  
37 - Do the <code>id</code> properties have to be strings?  
38 - </h3>  
39 -  
40 - <p>  
41 - Because the <code>value</code> attributes on a <code>&gt;select&lt;</code>  
42 - tag must be strings, the <code>id</code> property on the data objects must  
43 - also be strings. Select2 will attempt to convert anything that is not a  
44 - string to a string, which will work for most situations, but it is  
45 - recommended to force all of your ids to strings ahead of time.  
46 - </p>  
47 -  
48 - <h3>  
49 - I can't select results with blank ids or an id of <code>0</code>!  
50 - </h3>  
51 -  
52 - <p>  
53 - See <a href="#do-the-id-properties-have-to-be-strings">Do the <code>id</code> properties have to be strings?</a>.  
54 - </p>  
55 -  
56 - <h3>  
57 - How should nested results be formatted?  
58 - </h3>  
59 -  
60 - <p>  
61 - Nested results should be specified using the <code>children</code> property  
62 - on the data objects that are passed in. This <code>children</code> property  
63 - should be an array of data objects that are grouped under this option, and  
64 - the label for the group should be specified as the <code>text</code>  
65 - property on the root data object.  
66 - </p>  
67 -  
68 -{% highlight js linenos %}  
69 -{  
70 - text: 'Group label',  
71 - children: [  
72 - {  
73 - id: 'nested-1',  
74 - text: 'First nested option'  
75 - },  
76 - // ... more data objects ...  
77 - ]  
78 -}  
79 -{% endhighlight %}  
80 -  
81 - <h3>  
82 - How many levels of nesting are allowed?  
83 - </h3>  
84 -  
85 - <p>  
86 - Because Select2 falls back to an <code>&lt;optgroup&gt;</code> when  
87 - creating nested options, only  
88 - <a href="#how-many-levels-of-nesting-can-there-be">a single level of nesting</a>  
89 - is supported. Any additional levels of nesting is not guarenteed to be  
90 - displayed properly across all browsers and devices.  
91 - </p>  
92 -  
93 - <h3>  
94 - Why are <code>&lt;option&gt;</code> tags being created?  
95 - </h3>  
96 -  
97 - <p>  
98 - The <code>data</code> option is a shortcut that Select2 provides which  
99 - allows you to load options into your <code>select</code> from a data array.  
100 - </p>  
101 -  
102 - {% include options/not-written.html %}  
103 -  
104 - <h3>  
105 - My objects don&apos;t use <code>id</code> for their unique identifiers,  
106 - what can I do?  
107 - </h3>  
108 -  
109 - <p>  
110 - Select2 requires that the <code>id</code> property is used to uniquely  
111 - identify the options that are displayed in the results list. If you use a  
112 - property other than <code>id</code> (like <code>pk</code>) to uniquely  
113 - identify an option, you need to map your old property to <code>id</code>  
114 - before passing it to Select2.  
115 - </p>  
116 -  
117 - <p>  
118 - If you cannot do this on your server or you are in a situation where the  
119 - identifier cannot be changed, you can do this in JavaScript before passing  
120 - it to Select2.  
121 - </p>  
122 -  
123 -{% highlight js linenos %}  
124 -var data = $.map(yourArrayData, function (obj) {  
125 - obj.id = obj.id || obj.pk; // replace pk with your identifier  
126 -  
127 - return obj;  
128 -});  
129 -{% endhighlight %}  
130 -  
131 - <h3>  
132 - My objects use a property other than <code>text</code> for the text that  
133 - needs to be displayed  
134 - </h3>  
135 -  
136 - <p>  
137 - Just like with the <code>id</code> property, Select2 requires that the text  
138 - that should be displayed for an option is stored in the <code>text</code>  
139 - property. You can map this property from any existing property using the  
140 - following JavaScript.  
141 - </p>  
142 -  
143 -{% highlight js linenos %}  
144 -var data = $.map(yourArrayData, function (obj) {  
145 - obj.text = obj.text || obj.name; // replace name with the property used for the text  
146 -  
147 - return obj;  
148 -});  
149 -{% endhighlight %}  
150 -</section>  
151 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/options/data/select.html
@@ -1,69 +0,0 @@ @@ -1,69 +0,0 @@
1 -<section>  
2 - <h2 id="data-adapters-select-tag">  
3 - Can Select2 be used with a <code>&lt;select&gt;</code> tag?  
4 - </h2>  
5 -  
6 - <p>  
7 - Select2 was designed to be a replacement for the standard <code>&lt;select&gt;</code> boxes that are displayed by the browser, so by default it supports all options and operations that are available in a standard select box, but with added flexibility. There is no special configuration required to make Select2 work with a <code>&lt;select&gt;</code> tag.  
8 - </p>  
9 -  
10 - <h3>  
11 - Does Select2 support nesting options?  
12 - </h3>  
13 -  
14 - <p>  
15 - A standard <code>&lt;select&gt;</code> box can display nested options by wrapping them with in an <code>&lt;optgroup&gt;</code> tag.  
16 - </p>  
17 -  
18 -{% highlight html linenos %}  
19 -<select>  
20 - <optgroup label="Group Name">  
21 - <option>Nested option</option>  
22 - </optgroup>  
23 -</select>  
24 -{% endhighlight %}  
25 -  
26 - <h3>  
27 - How many levels of nesting can there be?  
28 - </h3>  
29 -  
30 - <p>  
31 - Only a single level of nesting is allowed per the HTML specification. If you nest an <code>&lt;optgroup&gt;</code> within another <code>&lt;optgroup&gt;</code>, Select2 will not be able to detect the extra level of nesting and errors may be triggered as a result.  
32 - </p>  
33 -  
34 - <h3>  
35 - Can <code>&lt;optgroup&gt;</code> tags be made selectable?  
36 - </h3>  
37 -  
38 - <p>  
39 - No. This is a limitation of the HTML specification and is not a limitation that Select2 can overcome. You can emulate grouping by using an <code>&lt;option&gt;</code> instead of an <code>&lt;optgroup&gt;</code> and <a href="http://stackoverflow.com/q/30820215/359284#30948247">changing the style by using CSS</a>, but this is not recommended as it is not fully accessible.  
40 - </p>  
41 -  
42 - <h3>  
43 - How are <code>&lt;option&gt;</code> and <code>&lt;optgroup&gt;</code> tags serialized into data objects?  
44 - </h3>  
45 -  
46 - <p>  
47 - Select2 will convert the <code>&lt;option&gt;</code> tag into a data object based on the following rules.  
48 - </p>  
49 -  
50 -{% highlight js linenos %}  
51 -{  
52 - "id": "value attribute" || "option text",  
53 - "text": "label attribute" || "option text",  
54 - "element": HTMLOptionElement  
55 -}  
56 -{% endhighlight %}  
57 -  
58 - <p>  
59 - And <code>&lt;optgroup&gt;</code> tags will be converted into data objects using the following rules  
60 - </p>  
61 -  
62 -{% highlight js linenos %}  
63 -{  
64 - "text": "label attribute",  
65 - "children": [ option data object, ... ],  
66 - "elment": HTMLOptGroupElement  
67 -}  
68 -{% endhighlight %}  
69 -</section>  
70 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/options/dropdown.html
@@ -1,10 +0,0 @@ @@ -1,10 +0,0 @@
1 -<section>  
2 - <h1 id="results">  
3 - Displaying results  
4 - </h1>  
5 -  
6 - {% include options/dropdown/filtering.html %}  
7 - {% include options/dropdown/selections.html %}  
8 - {% include options/dropdown/tagging.html %}  
9 - {% include options/dropdown/placement.html %}  
10 -</section>  
11 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/options/dropdown/filtering.html
@@ -1,55 +0,0 @@ @@ -1,55 +0,0 @@
1 -<section>  
2 - <h2>  
3 - Can I change when search results are loaded?  
4 - </h2>  
5 -  
6 - <h3>  
7 - Can Select2 wait until the user has typed a search term before triggering the request?  
8 - </h3>  
9 -  
10 -{% highlight js linenos %}  
11 -$('select').select2({  
12 - ajax: {  
13 - delay: 250 // wait 250 milliseconds before triggering the request  
14 - }  
15 -});  
16 -{% endhighlight %}  
17 -  
18 - {% include options/not-written.html %}  
19 -  
20 - <h3>  
21 - Select2 is allowing long search terms, can this be prevented?  
22 - </h3>  
23 -  
24 -{% highlight js linenos %}  
25 -$('select').select2({  
26 - maximumInputLength: 20 // only allow terms up to 20 characters long  
27 -});  
28 -{% endhighlight %}  
29 -  
30 - {% include options/not-written.html %}  
31 -  
32 - <h3>  
33 - I only want the search box if there are enough results  
34 - </h3>  
35 -  
36 -{% highlight js linenos %}  
37 -$('select').select2({  
38 - minimumResultsForSearch: 20 // at least 20 results must be displayed  
39 -});  
40 -{% endhighlight %}  
41 -  
42 - {% include options/not-written.html %}  
43 -  
44 - <h3>  
45 - How can I permanently hide the search box?  
46 - </h3>  
47 -  
48 -{% highlight js linenos %}  
49 -$('select').select2({  
50 - minimumResultsForSearch: Infinity  
51 -});  
52 -{% endhighlight %}  
53 -  
54 - {% include options/not-written.html %}  
55 -</section>  
56 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/options/dropdown/placement.html
@@ -1,39 +0,0 @@ @@ -1,39 +0,0 @@
1 -<section>  
2 - <h2>  
3 - Can I change how the dropdown is placed?  
4 - </h2>  
5 -  
6 - <h3 id="dropdown-attachContainer">  
7 - Can the dropdown be placed directly after the selection container?  
8 - </h3>  
9 -  
10 - {% include options/not-written.html %}  
11 -  
12 - <h3 id="dropdownParent">  
13 - Can I pick an element for the dropdown to be appended to?  
14 - </h3>  
15 -  
16 -{% highlight js linenos %}  
17 -$('select').select2({  
18 - dropdownParent: $('#my_amazing_modal')  
19 -});  
20 -{% endhighlight %}  
21 -  
22 - {% include options/not-written.html %}  
23 -  
24 - <h3>  
25 - I&apos;m using a Bootstrap modal and I can&apos;t use the search box  
26 - </h3>  
27 -  
28 - <p>  
29 - Use the <code>dropdownParent</code> option, setting it to the modal.  
30 - </p>  
31 -  
32 - {% include options/not-written.html %}  
33 -  
34 - <h3>  
35 - I&apos;m using jQuery UI and I can&apos;t use the search box  
36 - </h3>  
37 -  
38 - {% include options/not-written.html %}  
39 -</section>  
40 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/options/dropdown/selections.html
@@ -1,29 +0,0 @@ @@ -1,29 +0,0 @@
1 -<section>  
2 - <h2>  
3 - Can I change how selecting results works?  
4 - </h2>  
5 -  
6 - <h3>  
7 - Can I select the highlighted result when the dropdown is closed?  
8 - </h3>  
9 -  
10 -{% highlight js linenos %}  
11 -$('select').select2({  
12 - selectOnClose: true  
13 -});  
14 -{% endhighlight %}  
15 -  
16 - {% include options/not-written.html %}  
17 -  
18 - <h3>  
19 - Can I prevent the dropdown from closing when a result is selected?  
20 - </h3>  
21 -  
22 -{% highlight js linenos %}  
23 -$('select').select2({  
24 - closeOnSelect: false  
25 -});  
26 -{% endhighlight %}  
27 -  
28 - {% include options/not-written.html %}  
29 -</section>  
30 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/options/dropdown/tagging.html
@@ -1,89 +0,0 @@ @@ -1,89 +0,0 @@
1 -<section>  
2 - <h2>  
3 - Can options be created based on the search term?  
4 - </h2>  
5 -  
6 - <h3>  
7 - How do I enable tagging?  
8 - </h3>  
9 -  
10 -{% highlight js linenos %}  
11 -$('select').select2({  
12 - tags: true  
13 -});  
14 -{% endhighlight %}  
15 -  
16 - {% include options/not-written.html %}  
17 -  
18 - <h3>  
19 - Does tagging work with a single select?  
20 - </h3>  
21 -  
22 - <p>  
23 - Yes.  
24 - </p>  
25 -  
26 - {% include options/not-written.html %}  
27 -  
28 - <h3>  
29 - How do I add extra properties to the tag?  
30 - </h3>  
31 -  
32 -{% highlight js linenos %}  
33 -$('select').select2({  
34 - createTag: function (params) {  
35 - var term = $.trim(params.term);  
36 -  
37 - if (term === '') {  
38 - return null;  
39 - }  
40 -  
41 - return {  
42 - id: term,  
43 - text: term,  
44 - newTag: true // add additional parameters  
45 - }  
46 - }  
47 -});  
48 -{% endhighlight %}  
49 -  
50 - {% include options/not-written.html %}  
51 -  
52 - <h3>  
53 - Can I control when tags are created?  
54 - </h3>  
55 -  
56 -{% highlight js linenos %}  
57 -$('select').select2({  
58 - createTag: function (params) {  
59 - // Don't offset to create a tag if there is no @ symbol  
60 - if (params.term.indexOf('@') === -1) {  
61 - // Return null to disable tag creation  
62 - return null;  
63 - }  
64 -  
65 - return {  
66 - id: params.term,  
67 - text: params.term  
68 - }  
69 - }  
70 -});  
71 -{% endhighlight %}  
72 -  
73 - {% include options/not-written.html %}  
74 -  
75 - <h3>  
76 - How do I control the placement of the option?  
77 - </h3>  
78 -  
79 -{% highlight js linenos %}  
80 -$('select').select2({  
81 - insertTag: function (data, tag) {  
82 - // Insert the tag at the end of the results  
83 - data.push(tag);  
84 - }  
85 -});  
86 -{% endhighlight %}  
87 -  
88 - {% include options/not-written.html %}  
89 -</section>  
90 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/options/events.html
@@ -1,8 +0,0 @@ @@ -1,8 +0,0 @@
1 -<section>  
2 - <h1>  
3 - Events  
4 - </h1>  
5 -  
6 - {% include options/events/jquery.html %}  
7 - {% include options/events/internal.html %}  
8 -</section>  
9 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/options/events/internal.html
@@ -1,9 +0,0 @@ @@ -1,9 +0,0 @@
1 -<section>  
2 - <h2 id="events-internal">  
3 - Internal Select2 events  
4 - </h2>  
5 -  
6 - <p>  
7 - Select2 has an internal event system that works independently of the DOM event system. This internal event system is only accesssible from plugins and adapters that are connected to Select2.  
8 - </p>  
9 -</section>  
10 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/options/events/jquery.html
@@ -1,101 +0,0 @@ @@ -1,101 +0,0 @@
1 -<section>  
2 - <h2 id="events-public">  
3 - Public jQuery events  
4 - </h2>  
5 -  
6 - <h3>  
7 - What events will Select2 trigger?  
8 - </h3>  
9 -  
10 - <p>  
11 - Select2 will trigger a few different events when different actions are taken using the component, allowing you to add custom hooks and perform actions.  
12 - </p>  
13 -  
14 - <dl class="s2-docs-panels">  
15 - <dt>change</dt>  
16 - <dd>Triggered whenever an option is selected or removed.</dd>  
17 -  
18 - <dt>select2:close</dt>  
19 - <dd>Triggered whenever the dropdown is closed.</dd>  
20 -  
21 - <dt>select2:closing</dt>  
22 - <dd>Triggered before the dropdown is closed. This event can be prevented.</dd>  
23 -  
24 - <dt>select2:open</dt>  
25 - <dd>Triggered whenever the dropdown is opened.</dd>  
26 -  
27 - <dt>select2:opening</dt>  
28 - <dd>Triggered before the dropdown is opened. This event can be prevented.</dd>  
29 -  
30 - <dt>select2:select</dt>  
31 - <dd>Triggered whenever a result is selected.</dd>  
32 -  
33 - <dt>select2:selecting</dt>  
34 - <dd>Triggered before a result is selected. This event can be prevented.</dd>  
35 -  
36 - <dt>select2:unselect</dt>  
37 - <dd>Triggered whenever a selection is removed.</dd>  
38 -  
39 - <dt>select2:unselecting</dt>  
40 - <dd>Triggered before a selection is removed. This event can be prevented.</dd>  
41 - </dl>  
42 -  
43 - <h3>  
44 - Does Select2 include extra information in these events?  
45 - </h3>  
46 -  
47 - {% include options/not-written.html %}  
48 -  
49 - <h3>  
50 - How can I attach listeners for these events?  
51 - </h3>  
52 -  
53 -{% highlight js linenos %}  
54 -$('select').on('select2:select', function (evt) {  
55 - // Do something  
56 -});  
57 -{% endhighlight %}  
58 -  
59 - {% include options/not-written.html %}  
60 -  
61 - <h3>  
62 - What events does Select2 listen for?  
63 - </h3>  
64 -  
65 - <p>  
66 - Select2 will listen for the <code>change</code> event on the  
67 - <code>&lt;select&gt;</code> that it is attached to. If you make any  
68 - external changes that need to be reflected in Select2 (such as changing the  
69 - value), you should trigger this event.  
70 - </p>  
71 -  
72 -{% highlight js linenos %}  
73 -$('select').val('US'); // Select the option with a value of 'US'  
74 -$('select').trigger('change'); // Notify any JS components that the value changed  
75 -{% endhighlight %}  
76 -  
77 - <h3>  
78 - Can I trigger an event other than <code>change</code> to notify Select2 of changes?  
79 - </h3>  
80 -  
81 - <p>  
82 - It's common for other components to be listening to the <code>change</code>  
83 - event, or for custom event handlers to be attached that may have side  
84 - effects. Select2 does not have a custom event (like  
85 - <code>select2:update</code>) that can be triggered other than  
86 - <code>change</code>. You can rely on jQuery's event namespacing to limit  
87 - the scope to Select2 though by triggering the <code>change.select2</code>  
88 - event.  
89 - </p>  
90 -  
91 -{% highlight js linenos %}  
92 -$('select').val('US'); // Change the value or make some change to the internal state  
93 -$('select').trigger('change.select2'); // Notify only Select2 of changes  
94 -{% endhighlight %}  
95 -  
96 - <h3>  
97 - What events can be prevented? How can I prevent a selection from being made?  
98 - </h3>  
99 -  
100 - {% include options/not-written.html %}  
101 -</section>  
102 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/options/introduction.html
@@ -1,9 +0,0 @@ @@ -1,9 +0,0 @@
1 -<section>  
2 - <div class="alert alert-warning">  
3 - This page of the documentation is currently <strong>undergoing a rewrite and may be incomplete</strong>. If you do not find the answer you are looking for on this page, you may have better luck looking at <a href="options-old.html">the old options page</a>.  
4 - </div>  
5 -  
6 - <p>  
7 - This documentation is set up in the form of a FAQ and covers the most common questions. If you do not find the answer to your question here, you may want to <a href="community.html">reach out to the community</a> to see if someone else can answer it.  
8 - </p>  
9 -</section>  
10 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/options/not-written.html
@@ -1,3 +0,0 @@ @@ -1,3 +0,0 @@
1 -<div class="alert alert-info">  
2 - This answer to this question has not yet been written. You can <a href="https://github.com/select2/select2/blob/master/docs/README.md#how-can-i-fix-an-issue-in-these-docs">improve this documentation</a> by creating a pull request with an answer to this question.  
3 -</div>  
4 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/options/selections.html
@@ -1,10 +0,0 @@ @@ -1,10 +0,0 @@
1 -<section>  
2 - <h1 id="selections">  
3 - Displaying selections  
4 - </h1>  
5 -  
6 - {% include options/selections/multiple.html %}  
7 - {% include options/selections/placeholder.html %}  
8 - {% include options/selections/clearing-selections.html %}  
9 - {% include options/selections/templating.html %}  
10 -</section>  
11 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/options/selections/clearing-selections.html
@@ -1,34 +0,0 @@ @@ -1,34 +0,0 @@
1 -<section>  
2 - <h2 id="allowClear">  
3 - Can I allow users to clear their selections?  
4 - </h2>  
5 -  
6 - <p>  
7 - You can allow people to clear their current selections with the <code>allowClear</code> option when initializing Select2. Setting this option to <code>true</code> will enable an "x" icon that will reset the selection to the placeholder.  
8 - </p>  
9 -  
10 -{% highlight js linenos %}  
11 -$('select').select2({  
12 - placeholder: 'This is my placeholder',  
13 - allowClear: true  
14 -});  
15 -{% endhighlight %}  
16 -  
17 - <h3>  
18 - Why is a placeholder required?  
19 - </h3>  
20 -  
21 - {% include options/not-written.html %}  
22 -  
23 - <h3>  
24 - The "x" icon is not clearing the selection  
25 - </h3>  
26 -  
27 - {% include options/not-written.html %}  
28 -  
29 - <h3>  
30 - Can users remove all of their selections in a multiple select at once?  
31 - </h3>  
32 -  
33 - {% include options/not-written.html %}  
34 -</section>  
35 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/options/selections/multiple.html
@@ -1,17 +0,0 @@ @@ -1,17 +0,0 @@
1 -<section>  
2 - <h2 id="multiple">  
3 - Can I allow users to make multiple selections?  
4 - </h2>  
5 -  
6 - <p>  
7 - Yes, Select2 supports making multiple selections through the use of the <code>multiple</code> option that can be passed in when initializing Select2.  
8 - </p>  
9 -  
10 - <h3>  
11 - Can the <code>multiple</code> attribute be used on my <code>&lt;select&gt;</code> element?  
12 - </h3>  
13 -  
14 - <p>  
15 - Yes, Select2 will automatically map the value of the <code>multiple</code> attribute to the <code>multiple</code> option during initialization.  
16 - </p>  
17 -</section>  
18 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/options/selections/placeholder.html
@@ -1,84 +0,0 @@ @@ -1,84 +0,0 @@
1 -<section>  
2 - <h2 id="placeholder">  
3 - How can I have Select2 display a placeholder?  
4 - </h2>  
5 -  
6 - <p>  
7 - Select2 supports displaying a placeholder by default using the <code>placeholder</code> option. This can be either a data object matching the placeholder option, or a string to display as the placeholder if you are using a blank placeholder option.  
8 - </p>  
9 -  
10 -{% highlight js linenos %}  
11 -$('select').select2({  
12 - placeholder: 'Select an option'  
13 -});  
14 -{% endhighlight %}  
15 -  
16 - <h3>  
17 - My first option is being displayed instead of my placeholder  
18 - </h3>  
19 -  
20 - <p>  
21 - This usually means that you do not have a blank <code>&lt;option&gt;&lt/option&gt;</code> as the first option in your <code>&lt;select&gt;</code>.  
22 - </p>  
23 -  
24 - <p>  
25 - Note that this does not apply to multiple selects, as the browser does not select the first option by default when multiple selections can be made.  
26 - </p>  
27 -  
28 - <h3>  
29 - I am using AJAX, can I still show a placeholder?  
30 - </h3>  
31 -  
32 - <p>  
33 - Yes, Select2 supports placeholders for all configurations. You will still need to add in the placeholder option if you are using a single select.  
34 - </p>  
35 -  
36 - <h3>  
37 - Can I use an option without a blank value as my placeholder?  
38 - </h3>  
39 -  
40 - <p>  
41 - The <code>placeholder</code> option allows you to pass in a data object instead of just a string if you need more flexibility. The <code>id</code> of the data object should match the <code>value</code> of the placeholder option.  
42 - </p>  
43 -  
44 -{% highlight js linenos %}  
45 -$('select').select2({  
46 - placeholder: {  
47 - id: '-1', // the value of the option  
48 - text: 'Select an option'  
49 - }  
50 -});  
51 -{% endhighlight %}  
52 -  
53 - <h3>  
54 - Can I change how the placeholder looks?  
55 - </h3>  
56 -  
57 - <p>  
58 - When using Select2 <strong>when only a single selection can be made</strong>, the placeholder option will be passed through the standard templating methods, including the <code>templateSelection</code> option, so you are able to change how it is displayed.  
59 - </p>  
60 -  
61 -{% highlight js linenos %}  
62 -$('select').select2({  
63 - templateResult: function (data) {  
64 - if (data.id === '') { // adjust for custom placeholder values  
65 - return 'Custom styled placeholder text';  
66 - }  
67 -  
68 - return data.text;  
69 - }  
70 -});  
71 -{% endhighlight %}  
72 -  
73 - <p>  
74 - <strong>When multiple selections are allowed</strong>, the placeholder will be displayed using the <code>placeholder</code> attribute on the search box. You can cusotmize the display of this placholder using CSS, as explained in the following Stack Overflow answer: <a href="http://stackoverflow.com/q/2610497/359284">Change an input's HTML5 placeholder color with CSS</a>  
75 - </p>  
76 -  
77 - <h3>  
78 - My placeholders aren&apos;t being displayed in Internet Explorer  
79 - </h3>  
80 -  
81 - <p>  
82 - Select2 uses the native <code>placeholder</code> attribute on input boxes for the multiple select, and that attribute is not supported in older versions of Internet Explorer. You need to include <a href="https://github.com/jamesallardice/Placeholders.js">Placeholders.js</a> on your page, or use the full build, in order to add <code>placeholder</code> attribute support to input boxes.  
83 - </p>  
84 -</section>  
web/assets/vendor/select2/docs/_includes/options/selections/templating.html
@@ -1,37 +0,0 @@ @@ -1,37 +0,0 @@
1 -<section>  
2 - <h2 id="templateSelection">  
3 - How can I customize the way selections are displayed?  
4 - </h2>  
5 -  
6 - <p>  
7 - When a selection is made by the user Select2 will display the text of the option by default, just like how it is displayed in a standard select box. You can override the display of the selection by setting the <code>templateSelection</code> option to a JavaScript function.  
8 - </p>  
9 -  
10 -{% highlight js linenos %}  
11 -function template(data, container) {  
12 - return data.text;  
13 -}  
14 -  
15 -$('select').select2({  
16 - templateSelection: template  
17 -});  
18 -{% endhighlight %}  
19 -  
20 - <h3>  
21 - Nothing is being displayed when I select an option  
22 - </h3>  
23 -  
24 - {% include options/not-written.html %}  
25 -  
26 - <h3>  
27 - I am using HTML in my selection template but it isn't displaying it  
28 - </h3>  
29 -  
30 - {% include options/not-written.html %}  
31 -  
32 - <h3>  
33 - How can I access the container where the selection is displayed?  
34 - </h3>  
35 -  
36 - {% include options/not-written.html %}  
37 -</section>  
38 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_includes/social-buttons.html
@@ -1,10 +0,0 @@ @@ -1,10 +0,0 @@
1 -<div class="s2-docs-social">  
2 - <ul class="s2-docs-social-buttons">  
3 - <li>  
4 - <iframe class="github-btn" src="https://ghbtns.com/github-btn.html?user=select2&amp;repo=select2&amp;type=watch&amp;count=true" width="100" height="20" title="Star on GitHub"></iframe>  
5 - </li>  
6 - <li>  
7 - <iframe class="github-btn" src="https://ghbtns.com/github-btn.html?user=select2&amp;repo=select2&amp;type=fork&amp;count=true" width="102" height="20" title="Fork on GitHub"></iframe>  
8 - </li>  
9 - </ul>  
10 -</div>  
web/assets/vendor/select2/docs/_layouts/default.html
@@ -1,57 +0,0 @@ @@ -1,57 +0,0 @@
1 -<!doctype html>  
2 -<html>  
3 - <head>  
4 - {% include head.html %}  
5 - </head>  
6 - <body>  
7 - {% include navigation.html %}  
8 -  
9 - {{ content }}  
10 -  
11 - {% include footer.html %}  
12 -  
13 - <script>  
14 - (function ($) {  
15 - 'use strict';  
16 -  
17 - $(function () {  
18 - var $window = $(window);  
19 - var $body = $(document.body);  
20 - var $sidebar = $('.s2-docs-sidebar');  
21 -  
22 - $body.scrollspy({  
23 - target: '.s2-docs-sidebar',  
24 - offset: 40  
25 - });  
26 -  
27 - $window.on('load', function () {  
28 - $body.scrollspy('refresh');  
29 - });  
30 -  
31 - $sidebar.affix({  
32 - offset: {  
33 - top: function () {  
34 - var offsetTop = $sidebar.offset().top;  
35 - var navOuterHeight = $('.s2-docs-nav').height();  
36 -  
37 - return (this.top = offsetTop - navOuterHeight);  
38 - },  
39 - bottom: function () {  
40 - return (this.bottom = $('.s2-docs-footer').outerHeight(true));  
41 - }  
42 - }  
43 - });  
44 - });  
45 - })(jQuery);  
46 -  
47 - (function () {  
48 - 'use strict';  
49 -  
50 - anchors.options.placement = 'left';  
51 - anchors.add('.s2-docs-container h1, .s2-docs-container h2, .s2-docs-container h3, .s2-docs-container h4, .s2-docs-container h5');  
52 - })();  
53 - </script>  
54 -  
55 - {% include ga.html %}  
56 - </body>  
57 -</html>  
web/assets/vendor/select2/docs/_layouts/home.html
@@ -1,23 +0,0 @@ @@ -1,23 +0,0 @@
1 -<!doctype html>  
2 -<html class="s2-docs-home">  
3 - <head>  
4 - {% include head.html %}  
5 - </head>  
6 - <body>  
7 - {% include navigation.html %}  
8 -  
9 - {{ content }}  
10 -  
11 - {% include footer.html %}  
12 -  
13 - <script>  
14 - (function () {  
15 - 'use strict';  
16 -  
17 - prettyPrint();  
18 - })();  
19 - </script>  
20 -  
21 - {% include ga.html %}  
22 - </body>  
23 -</html>  
web/assets/vendor/select2/docs/_sass/_alert.scss
@@ -1,47 +0,0 @@ @@ -1,47 +0,0 @@
1 -// Alerts  
2 -//  
3 -// Modify Bootstrap's default alert styles to mimick  
4 -// the `.bs-callout` styles from Bootstrap's docs.  
5 -//  
6 -// @see https://github.com/twbs/bootstrap/blob/master/docs/assets/css/src/docs.css#L711  
7 -// @see https://github.com/twbs/bootstrap/blob/master/less/alerts.less  
8 -  
9 -.alert {  
10 - background: #fff;  
11 - border: 1px solid #eee;  
12 - border-left-width: 5px;  
13 - border-radius: 3px;  
14 - color: #333;  
15 - margin: 20px 0;  
16 - padding: 20px;  
17 -  
18 - h4 {  
19 - font-size: 18px;  
20 - margin-top: 0;  
21 - margin-bottom: 5px;  
22 - }  
23 -  
24 - &-danger {  
25 - border-left-color: #ce4844;  
26 -  
27 - h4 {  
28 - color: #ce4844;  
29 - }  
30 - }  
31 -  
32 - &-info {  
33 - border-left-color: #1b809e;  
34 -  
35 - h4 {  
36 - color: #1b809e;  
37 - }  
38 - }  
39 -  
40 - &-warning {  
41 - border-left-color: #aa6708;  
42 -  
43 - h4 {  
44 - color: #aa6708;  
45 - }  
46 - }  
47 -}  
web/assets/vendor/select2/docs/_sass/_anchorjs.scss
@@ -1,27 +0,0 @@ @@ -1,27 +0,0 @@
1 -// AnchorJS Styles  
2 -  
3 -.anchorjs-link {  
4 - color: inherit;  
5 - transition: all .16s linear;  
6 - text-decoration: none;  
7 -  
8 - &:link,  
9 - &:visited {  
10 - text-decoration: none;  
11 - color: inherit;  
12 - }  
13 -  
14 - @media (max-width: 480px) {  
15 - display: none;  
16 - }  
17 -}  
18 -  
19 -*:hover > .anchorjs-link {  
20 - opacity: .5;  
21 - margin-left: -0.9em !important;  
22 -}  
23 -  
24 -*:hover > .anchorjs-link:hover,  
25 -.anchorjs-link:focus {  
26 - opacity: 1;  
27 -}  
web/assets/vendor/select2/docs/_sass/_buttons.scss
@@ -1,20 +0,0 @@ @@ -1,20 +0,0 @@
1 -// Buttons  
2 -  
3 -.btn-outline-inverse {  
4 - color: #428BCA;  
5 - background-color: transparent;  
6 - border-color: #428BCA;  
7 - padding: 15px 30px;  
8 - font-size: 20px;  
9 - transition: all .1s ease-in-out;  
10 -  
11 - &:hover {  
12 - color: #fff;  
13 - border-color: #428BCA;  
14 - background-color: #428BCA;  
15 - }  
16 -}  
17 -  
18 -.btn-toolbar {  
19 - margin-bottom: 20px;  
20 -}  
web/assets/vendor/select2/docs/_sass/_code.scss
@@ -1,16 +0,0 @@ @@ -1,16 +0,0 @@
1 -// Code (inline and block)  
2 -  
3 -// Inline code within headings retain the heading's background-color  
4 -h2 code,  
5 -h3 code,  
6 -h4 code {  
7 - background-color: inherit;  
8 -}  
9 -  
10 -// Modify Bootstrap's styles for blocks of code  
11 -pre.prettyprint {  
12 - padding: 9px 14px;  
13 - margin-bottom: 14px;  
14 - background-color: #f7f7f9;  
15 - border: 1px solid #e1e1e8;  
16 -}  
17 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_sass/_dl-panels.scss
@@ -1,24 +0,0 @@ @@ -1,24 +0,0 @@
1 -.s2-docs-panels {  
2 - dt, dd {  
3 - border: 1px solid $panel-default-border;  
4 - }  
5 -  
6 - dt {  
7 - background-color: $panel-default-heading-bg;  
8 - border-top-left-radius: $panel-border-radius;  
9 - border-top-right-radius: $panel-border-radius;  
10 - padding: 5px 7.5px;  
11 - }  
12 -  
13 - dd {  
14 - background-color: $panel-bg;  
15 - border-bottom-left-radius: $panel-border-radius;  
16 - border-bottom-right-radius: $panel-border-radius;  
17 - margin-bottom: 0.75em;  
18 - padding: 7.5px;  
19 - }  
20 -  
21 - dt + dd {  
22 - border-top: none;  
23 - }  
24 -}  
25 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_sass/_examples.scss
@@ -1,91 +0,0 @@ @@ -1,91 +0,0 @@
1 -// Examples  
2 -//  
3 -// Styles for the Select2 examples, largely copied  
4 -// from Bootstrap's docs styles.  
5 -//  
6 -// @see https://github.com/twbs/bootstrap/blob/master/docs/assets/css/src/docs.css#L533  
7 -  
8 -.s2-example {  
9 - position: relative;  
10 - padding: 45px 15px 15px;  
11 - margin: 0 -15px 15px;  
12 - background-color: #fafafa;  
13 - box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.05);  
14 - border-color: #e5e5e5 #eee #eee;  
15 - border-style: solid;  
16 - border-width: 1px 0;  
17 -  
18 - &:after {  
19 - content: "Example";  
20 - position: absolute;  
21 - top: 15px;  
22 - left: 15px;  
23 - font-size: 12px;  
24 - font-weight: bold;  
25 - color: #bbb;  
26 - text-transform: uppercase;  
27 - letter-spacing: 1px;  
28 - }  
29 -  
30 - @media (min-width: 768px) {  
31 - margin-left: 0;  
32 - margin-right: 0;  
33 - background-color: #fff;  
34 - border-width: 1px;  
35 - border-color: #eee;  
36 - border-radius: 4px 4px 0 0;  
37 - box-shadow: none;  
38 - }  
39 -}  
40 -  
41 -// styles for the event log in the "DOM events" section of the docs  
42 -.s2-event-log {  
43 - background: #002451;  
44 - color: white;  
45 - font-family: Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Consolas, monospace;  
46 - margin: 0 -15px 15px;  
47 - padding: 45px 15px 15px;  
48 - position: relative;  
49 -  
50 - &:after {  
51 - content: "Event Log";  
52 - position: absolute;  
53 - top: 15px;  
54 - left: 15px;  
55 - font-size: 12px;  
56 - font-weight: bold;  
57 - color: #BBB;  
58 - text-transform: uppercase;  
59 - letter-spacing: 1px;  
60 - }  
61 -  
62 - @media (min-width: 768px) {  
63 - margin-left: 0;  
64 - margin-right: 0;  
65 - margin-top: -15px;  
66 - border-width: 1px;  
67 - border-color: #eee;  
68 - box-shadow: none;  
69 - }  
70 -}  
71 -  
72 -.s2-example + pre,  
73 -.s2-example + figure,  
74 -.s2-event-log + pre {  
75 - margin: -15px -15px 15px;  
76 - border-radius: 0;  
77 - border-width: 0 0 1px;  
78 -  
79 - @media (min-width: 768px) {  
80 - margin-top: -16px;  
81 - margin-left: 0;  
82 - margin-right: 0;  
83 - border-width: 1px;  
84 - border-bottom-left-radius: 4px;  
85 - border-bottom-right-radius: 4px;  
86 - }  
87 -}  
88 -  
89 -.s2-example + .s2-event-log {  
90 - margin-top: -15px;  
91 -}  
web/assets/vendor/select2/docs/_sass/_featurette.scss
@@ -1,16 +0,0 @@ @@ -1,16 +0,0 @@
1 -// Homepage featurettes  
2 -  
3 -.s2-docs-featurette {  
4 - color: #777;  
5 - padding: 15px 0;  
6 - text-align: center;  
7 -  
8 - h4 {  
9 - margin: 30px 0 15px;  
10 - }  
11 -  
12 - .fa {  
13 - font-size: 28px;  
14 - color: #777;  
15 - }  
16 -}  
web/assets/vendor/select2/docs/_sass/_footer.scss
@@ -1,42 +0,0 @@ @@ -1,42 +0,0 @@
1 -// Footer  
2 -  
3 -.s2-docs-footer {  
4 - border-top: 1px solid #eee;  
5 - color: #767676;  
6 - padding-top: 40px;  
7 - padding-bottom: 40px;  
8 - margin-top: 100px;  
9 - text-align: center;  
10 -  
11 - &-links {  
12 - padding-left: 0;  
13 - margin-top: 20px;  
14 - }  
15 -  
16 - &-links li {  
17 - display: inline;  
18 - padding: 0 2px;  
19 -  
20 - &:after {  
21 - content: "·";  
22 - padding-left: 8px;  
23 - }  
24 -  
25 - &:first-child {  
26 - padding-left: 0;  
27 - }  
28 -  
29 - &:last-child:after {  
30 - content: "";  
31 - padding-left: 0;  
32 - }  
33 - }  
34 -  
35 - @media (min-width: 768px) {  
36 - p {  
37 - margin-bottom: 0;  
38 - }  
39 - }  
40 -}  
41 -  
42 -  
web/assets/vendor/select2/docs/_sass/_hamburger.scss
@@ -1,49 +0,0 @@ @@ -1,49 +0,0 @@
1 -// Animated hamburger icon  
2 -//  
3 -// Add an animation to Bootstrap's `.navbar-toggle` hamburger icon,  
4 -// courtesy of Julien Melissas.  
5 -//  
6 -// @see http://codepen.io/JulienMelissas/pen/LEBGLj  
7 -// @see http://julienmelissas.com/animated-x-icon-for-the-bootstrap-navbar-toggle/  
8 -  
9 -.navbar-toggle {  
10 - border: none;  
11 - background: transparent !important;  
12 -  
13 - &:hover {  
14 - background: transparent !important;  
15 - }  
16 -  
17 - .icon-bar {  
18 - width: 22px;  
19 - transition: all 0.2s;  
20 - }  
21 -  
22 - .top-bar {  
23 - transform: rotate(45deg);  
24 - transform-origin: 10% 10%;  
25 - }  
26 -  
27 - .middle-bar {  
28 - opacity: 0;  
29 - }  
30 -  
31 - .bottom-bar {  
32 - transform: rotate(-45deg);  
33 - transform-origin: 10% 90%;  
34 - }  
35 -  
36 - &.collapsed {  
37 - .top-bar {  
38 - transform: rotate(0);  
39 - }  
40 -  
41 - .middle-bar {  
42 - opacity: 1;  
43 - }  
44 -  
45 - .bottom-bar {  
46 - transform: rotate(0);  
47 - }  
48 - }  
49 -}  
web/assets/vendor/select2/docs/_sass/_home.scss
@@ -1,31 +0,0 @@ @@ -1,31 +0,0 @@
1 -// Homepage-specific styles  
2 -  
3 -.s2-docs-home {  
4 - .jumbotron {  
5 - margin-bottom: 0;  
6 - color: #000;  
7 -  
8 - h1 {  
9 - color: #000;  
10 - margin-top: 20px;  
11 - }  
12 - }  
13 -  
14 - .lead {  
15 - text-align: center;  
16 - max-width: 800px;  
17 - margin: 0 auto 40px;  
18 - }  
19 -  
20 - .notice-previous {  
21 - background: #f6f6f6;  
22 - color: #666;  
23 - border-bottom: 1px solid #eee;  
24 - padding: 15px 20px;  
25 - }  
26 -  
27 - .half-rule {  
28 - width: 100px;  
29 - margin: 40px auto;  
30 - }  
31 -}  
web/assets/vendor/select2/docs/_sass/_jumbotron.scss
@@ -1,24 +0,0 @@ @@ -1,24 +0,0 @@
1 -// Jumbotron  
2 -//  
3 -// Modify Bootstrap's default `.jumbotron` styles.  
4 -  
5 -.jumbotron {  
6 - background-color: #F6F6F6;  
7 - border-bottom: 1px solid #eee;  
8 - color: #777;  
9 - padding-left: 0;  
10 - padding-right: 0;  
11 -  
12 - h1 {  
13 - color: #777;  
14 - font-size: 36px;  
15 - margin-top: 10px;  
16 - }  
17 -  
18 - .version {  
19 - color: #999;  
20 - font-size: 14px;  
21 - font-weight: normal;  
22 - margin-bottom: 30px;  
23 - }  
24 -}  
web/assets/vendor/select2/docs/_sass/_layout.scss
@@ -1,14 +0,0 @@ @@ -1,14 +0,0 @@
1 -// Layout  
2 -  
3 -.s2-docs-container {  
4 - line-height: 1.6;  
5 -}  
6 -  
7 -section {  
8 - margin-bottom: 40px;  
9 -}  
10 -  
11 -.page-header {  
12 - padding-bottom: 19px;  
13 - margin-bottom: 29px;  
14 -}  
web/assets/vendor/select2/docs/_sass/_nav.scss
@@ -1,59 +0,0 @@ @@ -1,59 +0,0 @@
1 -// Main navigation  
2 -//  
3 -// Styles for the top `.navbar` and its dropdowns.  
4 -  
5 -.s2-docs-nav {  
6 - margin-bottom: 0;  
7 - border-color: #eee;  
8 - background-color: #f6f6f6;  
9 -  
10 - .navbar-brand {  
11 - font-weight: 500;  
12 - > img {  
13 - display: inline;  
14 - margin-right: 4px;  
15 - }  
16 - }  
17 -  
18 - .navbar-nav > .active > a,  
19 - .navbar-nav > .active > a:hover,  
20 - .navbar-nav > .active > a:focus {  
21 - background-color: #f0f0f0;  
22 - color: #000;  
23 - }  
24 -  
25 - @media (min-width: 768px) {  
26 -  
27 - .navbar-nav > li > .dropdown-menu:before {  
28 - position: absolute;  
29 - top: -21px;  
30 - left: 24px;  
31 - display: block;  
32 - width: 0;  
33 - height: 0;  
34 - border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0.1);  
35 - border-style: solid;  
36 - border-width: 10px;  
37 - content: "";  
38 - }  
39 -  
40 - .navbar-nav > li > .dropdown-menu:after {  
41 - position: absolute;  
42 - top: -20px;  
43 - left: 24px;  
44 - display: block;  
45 - width: 0;  
46 - height: 0;  
47 - border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #FFF;  
48 - border-style: solid;  
49 - border-width: 10px;  
50 - content: '';  
51 - }  
52 -  
53 - .navbar-nav .dropdown-menu {  
54 - border-radius: 4px;  
55 - border-color: #ddd;  
56 - margin-top: -1px;  
57 - }  
58 - }  
59 -}  
web/assets/vendor/select2/docs/_sass/_prettify.scss
@@ -1,50 +0,0 @@ @@ -1,50 +0,0 @@
1 -// Google Code Prettify styles  
2 -  
3 -.com {  
4 - color: #999;  
5 -}  
6 -.lit {  
7 - color: #195f91;  
8 -}  
9 -.pun, .opn, .clo {  
10 - color: #93a1a1;  
11 -}  
12 -.fun {  
13 - color: #dc322f;  
14 -}  
15 -.str, .atv {  
16 - color: #C7254E;  
17 -}  
18 -.kwd, .prettyprint .tag {  
19 - color: #2F6F9F;  
20 -}  
21 -.typ, .atn, .dec, .var {  
22 - color: #428BCA;  
23 -}  
24 -.pln {  
25 - color: #333;  
26 -}  
27 -  
28 -.prettyprint {  
29 - padding: 9px 14px;  
30 - margin-bottom: 20px;  
31 - margin-top: 20px;  
32 - border: 1px solid #eee;  
33 -  
34 - &.linenums {  
35 - -webkit-box-shadow: inset 40px 0 0 #fbfbfb, inset 41px 0 0 #f6f6f6;  
36 - -moz-box-shadow: inset 40px 0 0 #fbfbfb, inset 41px 0 0 #f6f6f6;  
37 - box-shadow: inset 40px 0 0 #fbfbfb, inset 41px 0 0 #f6f6f6;  
38 - }  
39 -}  
40 -  
41 -// Specify class=linenums on a pre to get line numbering  
42 -ol.linenums {  
43 - margin: 0 0 0 -12px;  
44 -  
45 - li {  
46 - padding-left: 12px;  
47 - color: #bebebe;  
48 - line-height: 18px;  
49 - }  
50 -}  
web/assets/vendor/select2/docs/_sass/_result-repository.scss
@@ -1,62 +0,0 @@ @@ -1,62 +0,0 @@
1 -// Styles accompanying the "Loading remote data" example `templateResult  
2 -  
3 -.select2-result-repository {  
4 - padding-top: 4px;  
5 - padding-bottom: 3px;  
6 -  
7 - &__avatar {  
8 - float: left;  
9 - width: 60px;  
10 - margin-right: 10px;  
11 -  
12 - img {  
13 - width: 100%;  
14 - height: auto;  
15 - border-radius: 2px;  
16 - }  
17 - }  
18 -  
19 - &__meta {  
20 - margin-left: 70px;  
21 - }  
22 -  
23 - &__title {  
24 - color: black;  
25 - font-weight: bold;  
26 - word-wrap: break-word;  
27 - line-height: 1.1;  
28 - margin-bottom: 4px;  
29 - }  
30 -  
31 - &__forks,  
32 - &__stargazers {  
33 - margin-right: 1em;  
34 - }  
35 -  
36 - &__forks,  
37 - &__stargazers,  
38 - &__watchers {  
39 - display: inline-block;  
40 - color: #aaa;  
41 - font-size: 11px;  
42 - }  
43 -  
44 - &__description {  
45 - font-size: 13px;  
46 - color: #777;  
47 - margin-top: 4px;  
48 - }  
49 -  
50 - .select2-results__option--highlighted & {  
51 - &__title {  
52 - color: white;  
53 - }  
54 -  
55 - &__forks,  
56 - &__stargazers,  
57 - &__description,  
58 - &__watchers {  
59 - color: mix(#428BCA, white, 30%);  
60 - }  
61 - }  
62 -}  
web/assets/vendor/select2/docs/_sass/_sidenav.scss
@@ -1,152 +0,0 @@ @@ -1,152 +0,0 @@
1 -// Side navigation  
2 -//  
3 -// Scrollspy and affixed enhanced navigation to  
4 -// highlight sections and secondary sections of docs content`.  
5 -  
6 -.s2-docs-sidebar {  
7 - // By default it is not affixed in mobile views, so undo that  
8 - &.affix {  
9 - position: static;  
10 - }  
11 -  
12 - @media (min-width: 768px) {  
13 - padding-left: 20px;  
14 - }  
15 -}  
16 -  
17 -// First level of nav  
18 -.s2-docs-sidenav {  
19 - margin-top: 20px;  
20 - margin-bottom: 20px;  
21 -}  
22 -  
23 -// All levels of nav  
24 -.s2-docs-sidebar .nav {  
25 - > li > a {  
26 - margin-left: -1px;  
27 - display: block;  
28 - padding: 4px 20px;  
29 - font-size: 13px;  
30 - font-weight: 500;  
31 - color: #767676;  
32 - border-left: 1px solid transparent;  
33 - transition: color .2s, border-color .2s;  
34 - }  
35 -  
36 - > li > a code {  
37 - background-color: inherit;  
38 - color: inherit;  
39 - }  
40 -  
41 - > li > a:hover,  
42 - > li > a:focus {  
43 - color: #428BCA;  
44 - text-decoration: none;  
45 - background-color: transparent;  
46 - border-left-color: #428BCA;  
47 - }  
48 -  
49 - > .active > a,  
50 - > .active:hover > a,  
51 - > .active:focus > a {  
52 - padding-left: 19px;  
53 - font-weight: bold;  
54 - color: #428BCA;  
55 - background-color: transparent;  
56 - border-left: 2px solid #428BCA;  
57 - }  
58 -  
59 - // Nav: second level (shown on .active)  
60 - .nav {  
61 - display: none; // Hide by default, but at >768px, show it  
62 - padding-bottom: 10px;  
63 - }  
64 -  
65 - .nav > li > a {  
66 - padding-top: 1px;  
67 - padding-bottom: 1px;  
68 - padding-left: 30px;  
69 - font-size: 12px;  
70 - font-weight: normal;  
71 - }  
72 -  
73 - .nav > li > a:hover,  
74 - .nav > li > a:focus {  
75 - padding-left: 30px;  
76 - }  
77 -  
78 - .nav > .active > a,  
79 - .nav > .active:hover > a,  
80 - .nav > .active:focus > a {  
81 - padding-left: 29px;  
82 - font-weight: 400;  
83 - }  
84 -}  
85 -  
86 -// Show and affix the side nav when space allows it  
87 -@media (min-width: 992px) {  
88 - .s2-docs-sidebar .s2-docs-sidenav {  
89 - padding-top: 40px;  
90 - transition: border-color .2s;  
91 - border-left: 1px solid transparent;  
92 - }  
93 -  
94 - .s2-docs-sidebar.affix .s2-docs-sidenav {  
95 - border-left-color: #eee;  
96 - }  
97 -  
98 - .s2-docs-sidebar .nav > .active > ul {  
99 - display: block;  
100 - }  
101 -  
102 - // Widen the fixed sidebar  
103 - .s2-docs-sidebar.affix,  
104 - .s2-docs-sidebar.affix-bottom {  
105 - width: 213px;  
106 - }  
107 -  
108 - // Undo the static from mobile first approach  
109 - .s2-docs-sidebar.affix {  
110 - position: fixed;  
111 - top: 0px;  
112 - }  
113 -  
114 - // Undo the static from mobile first approach  
115 - .s2-docs-sidebar.affix-bottom {  
116 - position: absolute;  
117 - }  
118 -  
119 - .s2-docs-sidebar.affix-bottom .s2-docs-sidenav,  
120 - .s2-docs-sidebar.affix .s2-docs-sidenav {  
121 - margin-top: 0;  
122 - margin-bottom: 0;  
123 - }  
124 -}  
125 -  
126 -@media (min-width: 1200px) {  
127 - // Widen the fixed sidebar again  
128 - .s2-docs-sidebar.affix-bottom,  
129 - .s2-docs-sidebar.affix {  
130 - width: 263px;  
131 - }  
132 -}  
133 -  
134 -/* Back to top (hidden on mobile) */  
135 -.back-to-top {  
136 - display: none;  
137 - padding: 4px 10px;  
138 - margin-top: 10px;  
139 - margin-left: 10px;  
140 - font-size: 12px;  
141 - font-weight: 400;  
142 - color: #999;  
143 -  
144 - &:hover {  
145 - color: #428BCA;  
146 - text-decoration: none;  
147 - }  
148 -  
149 - @media (min-width: 768px) {  
150 - display: block;  
151 - }  
152 -}  
web/assets/vendor/select2/docs/_sass/_social.scss
@@ -1,35 +0,0 @@ @@ -1,35 +0,0 @@
1 -// Social buttons  
2 -//  
3 -// Twitter and GitHub social action buttons.  
4 -  
5 -.s2-docs-social {  
6 - margin-bottom: 20px;  
7 - text-align: center;  
8 -}  
9 -  
10 -.s2-docs-social-buttons {  
11 - display: inline-block;  
12 - padding-left: 0;  
13 - margin-bottom: 0;  
14 - list-style: none;  
15 -  
16 - li {  
17 - display: inline-block;  
18 - padding: 5px 8px;  
19 - line-height: 1;  
20 - }  
21 -  
22 - .twitter-follow-button {  
23 - width: 225px !important;  
24 - }  
25 -  
26 - .twitter-share-button {  
27 - width: 98px !important;  
28 - }  
29 -}  
30 -  
31 -// Style the GitHub buttons via CSS instead of inline attributes  
32 -.github-btn {  
33 - overflow: hidden;  
34 - border: 0;  
35 -}  
web/assets/vendor/select2/docs/_sass/_syntax-highlighting.scss
@@ -1,117 +0,0 @@ @@ -1,117 +0,0 @@
1 -// Jekyll syntax highlighting styles adjusted to match Google Code Prettify  
2 -  
3 -.highlight {  
4 - background: #fff;  
5 -  
6 - // Text  
7 - .nx {  
8 - color: #333;  
9 - }  
10 -  
11 - // Keywords and operators  
12 - .k, .o {  
13 - font-weight: bold;  
14 - }  
15 -  
16 - // Attribute name  
17 - .na {  
18 - color: #428BCA;  
19 - }  
20 -  
21 - // Strings  
22 - .s, .s1, .s2, .sb, .sc, .sd, .se, .sh, .si, .sx {  
23 - color: #C7254E;  
24 - }  
25 -  
26 - // Literals  
27 - .m, .mf, mh, .mi, .mo {  
28 - color: #195f91;  
29 - }  
30 -  
31 - // Parentheses  
32 - .p {  
33 - color: #93a1a1;  
34 - }  
35 -  
36 - // Tag  
37 - .nt {  
38 - color: #2F6F9F;  
39 - }  
40 -  
41 - // Comments  
42 - .c {  
43 - color: #999;  
44 - font-style: italic;  
45 - }  
46 -  
47 - // Error  
48 - .err {  
49 - background-color: #e3d2d2;  
50 - color: #a61717;  
51 - }  
52 -  
53 - // Generic error  
54 - .gr {  
55 - color: #a00;  
56 - }  
57 -  
58 - // Container styles  
59 - pre {  
60 - border: none;  
61 - margin: 0;  
62 - }  
63 -  
64 - & > pre {  
65 - border: 1px solid #eee;  
66 - padding: 0;  
67 - margin-bottom: 14px;  
68 - }  
69 -  
70 - // Line numbers  
71 - .lineno {  
72 - background-color: #fbfbfb;  
73 - color: #bebebe;  
74 -  
75 - -ms-user-select: none;  
76 - -moz-user-select: none;  
77 - -webkit-user-select: none;  
78 - }  
79 -}  
80 -  
81 -.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */  
82 -.highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */  
83 -.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */  
84 -.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */  
85 -.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */  
86 -.highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */  
87 -.highlight .ge { font-style: italic } /* Generic.Emph */  
88 -.highlight .gh { color: #999999 } /* Generic.Heading */  
89 -.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */  
90 -.highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */  
91 -.highlight .go { color: #888888 } /* Generic.Output */  
92 -.highlight .gp { color: #555555 } /* Generic.Prompt */  
93 -.highlight .gs { font-weight: bold } /* Generic.Strong */  
94 -.highlight .gu { color: #aaaaaa } /* Generic.Subheading */  
95 -.highlight .gt { color: #aa0000 } /* Generic.Traceback */  
96 -.highlight .kc { font-weight: bold } /* Keyword.Constant */  
97 -.highlight .kd { font-weight: bold } /* Keyword.Declaration */  
98 -.highlight .kp { font-weight: bold } /* Keyword.Pseudo */  
99 -.highlight .kr { font-weight: bold } /* Keyword.Reserved */  
100 -.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */  
101 -.highlight .nb { color: #0086B3 } /* Name.Builtin */  
102 -.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */  
103 -.highlight .no { color: #008080 } /* Name.Constant */  
104 -.highlight .ni { color: #800080 } /* Name.Entity */  
105 -.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */  
106 -.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */  
107 -.highlight .nn { color: #555555 } /* Name.Namespace */  
108 -.highlight .nv { color: #008080 } /* Name.Variable */  
109 -.highlight .ow { font-weight: bold } /* Operator.Word */  
110 -.highlight .w { color: #bbbbbb } /* Text.Whitespace */  
111 -.highlight .sr { color: #009926 } /* Literal.String.Regex */  
112 -.highlight .ss { color: #990073 } /* Literal.String.Symbol */  
113 -.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */  
114 -.highlight .vc { color: #008080 } /* Name.Variable.Class */  
115 -.highlight .vg { color: #008080 } /* Name.Variable.Global */  
116 -.highlight .vi { color: #008080 } /* Name.Variable.Instance */  
117 -.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */  
118 \ No newline at end of file 0 \ No newline at end of file
web/assets/vendor/select2/docs/_sass/_typography.scss
@@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
1 -// Typography  
2 -  
3 -h1[id] {  
4 - padding-top: 20px;  
5 - margin-top: 0;  
6 -}  
web/assets/vendor/select2/docs/_sass/vendor/bootstrap/_alerts.scss
@@ -1,73 +0,0 @@ @@ -1,73 +0,0 @@
1 -//  
2 -// Alerts  
3 -// --------------------------------------------------  
4 -  
5 -  
6 -// Base styles  
7 -// -------------------------  
8 -  
9 -.alert {  
10 - padding: $alert-padding;  
11 - margin-bottom: $line-height-computed;  
12 - border: 1px solid transparent;  
13 - border-radius: $alert-border-radius;  
14 -  
15 - // Headings for larger alerts  
16 - h4 {  
17 - margin-top: 0;  
18 - // Specified for the h4 to prevent conflicts of changing $headings-color  
19 - color: inherit;  
20 - }  
21 -  
22 - // Provide class for links that match alerts  
23 - .alert-link {  
24 - font-weight: $alert-link-font-weight;  
25 - }  
26 -  
27 - // Improve alignment and spacing of inner content  
28 - > p,  
29 - > ul {  
30 - margin-bottom: 0;  
31 - }  
32 -  
33 - > p + p {  
34 - margin-top: 5px;  
35 - }  
36 -}  
37 -  
38 -// Dismissible alerts  
39 -//  
40 -// Expand the right padding and account for the close button's positioning.  
41 -  
42 -.alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0.  
43 -.alert-dismissible {  
44 - padding-right: ($alert-padding + 20);  
45 -  
46 - // Adjust close link position  
47 - .close {  
48 - position: relative;  
49 - top: -2px;  
50 - right: -21px;  
51 - color: inherit;  
52 - }  
53 -}  
54 -  
55 -// Alternate styles  
56 -//  
57 -// Generate contextual modifier classes for colorizing the alert.  
58 -  
59 -.alert-success {  
60 - @include alert-variant($alert-success-bg, $alert-success-border, $alert-success-text);  
61 -}  
62 -  
63 -.alert-info {  
64 - @include alert-variant($alert-info-bg, $alert-info-border, $alert-info-text);  
65 -}  
66 -  
67 -.alert-warning {  
68 - @include alert-variant($alert-warning-bg, $alert-warning-border, $alert-warning-text);  
69 -}  
70 -  
71 -.alert-danger {  
72 - @include alert-variant($alert-danger-bg, $alert-danger-border, $alert-danger-text);  
73 -}  
web/assets/vendor/select2/docs/_sass/vendor/bootstrap/_badges.scss
@@ -1,68 +0,0 @@ @@ -1,68 +0,0 @@
1 -//  
2 -// Badges  
3 -// --------------------------------------------------  
4 -  
5 -  
6 -// Base class  
7 -.badge {  
8 - display: inline-block;  
9 - min-width: 10px;  
10 - padding: 3px 7px;  
11 - font-size: $font-size-small;  
12 - font-weight: $badge-font-weight;  
13 - color: $badge-color;  
14 - line-height: $badge-line-height;  
15 - vertical-align: middle;  
16 - white-space: nowrap;  
17 - text-align: center;  
18 - background-color: $badge-bg;  
19 - border-radius: $badge-border-radius;  
20 -  
21 - // Empty badges collapse automatically (not available in IE8)  
22 - &:empty {  
23 - display: none;  
24 - }  
25 -  
26 - // Quick fix for badges in buttons  
27 - .btn & {  
28 - position: relative;  
29 - top: -1px;  
30 - }  
31 -  
32 - .btn-xs &,  
33 - .btn-group-xs > .btn & {  
34 - top: 0;  
35 - padding: 1px 5px;  
36 - }  
37 -  
38 - // [converter] extracted a& to a.badge  
39 -  
40 - // Account for badges in navs  
41 - .list-group-item.active > &,  
42 - .nav-pills > .active > a > & {  
43 - color: $badge-active-color;  
44 - background-color: $badge-active-bg;  
45 - }  
46 -  
47 - .list-group-item > & {  
48 - float: right;  
49 - }  
50 -  
51 - .list-group-item > & + & {  
52 - margin-right: 5px;  
53 - }  
54 -  
55 - .nav-pills > li > a > & {  
56 - margin-left: 3px;  
57 - }  
58 -}  
59 -  
60 -// Hover state, but only for links  
61 -a.badge {  
62 - &:hover,  
63 - &:focus {  
64 - color: $badge-link-hover-color;  
65 - text-decoration: none;  
66 - cursor: pointer;  
67 - }  
68 -}  
web/assets/vendor/select2/docs/_sass/vendor/bootstrap/_breadcrumbs.scss
@@ -1,28 +0,0 @@ @@ -1,28 +0,0 @@
1 -//  
2 -// Breadcrumbs  
3 -// --------------------------------------------------  
4 -  
5 -  
6 -.breadcrumb {  
7 - padding: $breadcrumb-padding-vertical $breadcrumb-padding-horizontal;  
8 - margin-bottom: $line-height-computed;  
9 - list-style: none;  
10 - background-color: $breadcrumb-bg;  
11 - border-radius: $border-radius-base;  
12 -  
13 - > li {  
14 - display: inline-block;  
15 -  
16 - + li:before {  
17 - // [converter] Workaround for https://github.com/sass/libsass/issues/1115  
18 - $nbsp: "\00a0";  
19 - content: "#{$breadcrumb-separator}#{$nbsp}"; // Unicode space added since inline-block means non-collapsing white-space  
20 - padding: 0 5px;  
21 - color: $breadcrumb-color;  
22 - }  
23 - }  
24 -  
25 - > .active {  
26 - color: $breadcrumb-active-color;  
27 - }  
28 -}  
web/assets/vendor/select2/docs/_sass/vendor/bootstrap/_button-groups.scss
@@ -1,244 +0,0 @@ @@ -1,244 +0,0 @@
1 -//  
2 -// Button groups  
3 -// --------------------------------------------------  
4 -  
5 -// Make the div behave like a button  
6 -.btn-group,  
7 -.btn-group-vertical {  
8 - position: relative;  
9 - display: inline-block;  
10 - vertical-align: middle; // match .btn alignment given font-size hack above  
11 - > .btn {  
12 - position: relative;  
13 - float: left;  
14 - // Bring the "active" button to the front  
15 - &:hover,  
16 - &:focus,  
17 - &:active,  
18 - &.active {  
19 - z-index: 2;  
20 - }  
21 - }  
22 -}  
23 -  
24 -// Prevent double borders when buttons are next to each other  
25 -.btn-group {  
26 - .btn + .btn,  
27 - .btn + .btn-group,  
28 - .btn-group + .btn,  
29 - .btn-group + .btn-group {  
30 - margin-left: -1px;  
31 - }  
32 -}  
33 -  
34 -// Optional: Group multiple button groups together for a toolbar  
35 -.btn-toolbar {  
36 - margin-left: -5px; // Offset the first child's margin  
37 - @include clearfix;  
38 -  
39 - .btn,  
40 - .btn-group,  
41 - .input-group {  
42 - float: left;  
43 - }  
44 - > .btn,  
45 - > .btn-group,  
46 - > .input-group {  
47 - margin-left: 5px;  
48 - }  
49 -}  
50 -  
51 -.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {  
52 - border-radius: 0;  
53 -}  
54 -  
55 -// Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match  
56 -.btn-group > .btn:first-child {  
57 - margin-left: 0;  
58 - &:not(:last-child):not(.dropdown-toggle) {  
59 - @include border-right-radius(0);  
60 - }  
61 -}  
62 -// Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it  
63 -.btn-group > .btn:last-child:not(:first-child),  
64 -.btn-group > .dropdown-toggle:not(:first-child) {  
65 - @include border-left-radius(0);  
66 -}  
67 -  
68 -// Custom edits for including btn-groups within btn-groups (useful for including dropdown buttons within a btn-group)  
69 -.btn-group > .btn-group {  
70 - float: left;  
71 -}  
72 -.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {  
73 - border-radius: 0;  
74 -}  
75 -.btn-group > .btn-group:first-child:not(:last-child) {  
76 - > .btn:last-child,  
77 - > .dropdown-toggle {  
78 - @include border-right-radius(0);  
79 - }  
80 -}  
81 -.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {  
82 - @include border-left-radius(0);  
83 -}  
84 -  
85 -// On active and open, don't show outline  
86 -.btn-group .dropdown-toggle:active,  
87 -.btn-group.open .dropdown-toggle {  
88 - outline: 0;  
89 -}  
90 -  
91 -  
92 -// Sizing  
93 -//  
94 -// Remix the default button sizing classes into new ones for easier manipulation.  
95 -  
96 -.btn-group-xs > .btn { @extend .btn-xs; }  
97 -.btn-group-sm > .btn { @extend .btn-sm; }  
98 -.btn-group-lg > .btn { @extend .btn-lg; }  
99 -  
100 -  
101 -// Split button dropdowns  
102 -// ----------------------  
103 -  
104 -// Give the line between buttons some depth  
105 -.btn-group > .btn + .dropdown-toggle {  
106 - padding-left: 8px;  
107 - padding-right: 8px;  
108 -}  
109 -.btn-group > .btn-lg + .dropdown-toggle {  
110 - padding-left: 12px;  
111 - padding-right: 12px;  
112 -}  
113 -  
114 -// The clickable button for toggling the menu  
115 -// Remove the gradient and set the same inset shadow as the :active state  
116 -.btn-group.open .dropdown-toggle {  
117 - @include box-shadow(inset 0 3px 5px rgba(0,0,0,.125));  
118 -  
119 - // Show no shadow for `.btn-link` since it has no other button styles.  
120 - &.btn-link {  
121 - @include box-shadow(none);  
122 - }  
123 -}  
124 -  
125 -  
126 -// Reposition the caret  
127 -.btn .caret {  
128 - margin-left: 0;  
129 -}  
130 -// Carets in other button sizes  
131 -.btn-lg .caret {  
132 - border-width: $caret-width-large $caret-width-large 0;  
133 - border-bottom-width: 0;  
134 -}  
135 -// Upside down carets for .dropup  
136 -.dropup .btn-lg .caret {  
137 - border-width: 0 $caret-width-large $caret-width-large;  
138 -}  
139 -  
140 -  
141 -// Vertical button groups  
142 -// ----------------------  
143 -  
144 -.btn-group-vertical {  
145 - > .btn,  
146 - > .btn-group,  
147 - > .btn-group > .btn {  
148 - display: block;  
149 - float: none;  
150 - width: 100%;  
151 - max-width: 100%;  
152 - }  
153 -  
154 - // Clear floats so dropdown menus can be properly placed  
155 - > .btn-group {  
156 - @include clearfix;  
157 - > .btn {  
158 - float: none;  
159 - }  
160 - }  
161 -  
162 - > .btn + .btn,  
163 - > .btn + .btn-group,  
164 - > .btn-group + .btn,  
165 - > .btn-group + .btn-group {  
166 - margin-top: -1px;  
167 - margin-left: 0;  
168 - }  
169 -}  
170 -  
171 -.btn-group-vertical > .btn {  
172 - &:not(:first-child):not(:last-child) {  
173 - border-radius: 0;  
174 - }  
175 - &:first-child:not(:last-child) {  
176 - @include border-top-radius($btn-border-radius-base);  
177 - @include border-bottom-radius(0);  
178 - }  
179 - &:last-child:not(:first-child) {  
180 - @include border-top-radius(0);  
181 - @include border-bottom-radius($btn-border-radius-base);  
182 - }  
183 -}  
184 -.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {  
185 - border-radius: 0;  
186 -}  
187 -.btn-group-vertical > .btn-group:first-child:not(:last-child) {  
188 - > .btn:last-child,  
189 - > .dropdown-toggle {  
190 - @include border-bottom-radius(0);  
191 - }  
192 -}  
193 -.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {  
194 - @include border-top-radius(0);  
195 -}  
196 -  
197 -  
198 -// Justified button groups  
199 -// ----------------------  
200 -  
201 -.btn-group-justified {  
202 - display: table;  
203 - width: 100%;  
204 - table-layout: fixed;  
205 - border-collapse: separate;  
206 - > .btn,  
207 - > .btn-group {  
208 - float: none;  
209 - display: table-cell;  
210 - width: 1%;  
211 - }  
212 - > .btn-group .btn {  
213 - width: 100%;  
214 - }  
215 -  
216 - > .btn-group .dropdown-menu {  
217 - left: auto;  
218 - }  
219 -}  
220 -  
221 -  
222 -// Checkbox and radio options  
223 -//  
224 -// In order to support the browser's form validation feedback, powered by the  
225 -// `required` attribute, we have to "hide" the inputs via `clip`. We cannot use  
226 -// `display: none;` or `visibility: hidden;` as that also hides the popover.  
227 -// Simply visually hiding the inputs via `opacity` would leave them clickable in  
228 -// certain cases which is prevented by using `clip` and `pointer-events`.  
229 -// This way, we ensure a DOM element is visible to position the popover from.  
230 -//  
231 -// See https://github.com/twbs/bootstrap/pull/12794 and  
232 -// https://github.com/twbs/bootstrap/pull/14559 for more information.  
233 -  
234 -[data-toggle="buttons"] {  
235 - > .btn,  
236 - > .btn-group > .btn {  
237 - input[type="radio"],  
238 - input[type="checkbox"] {  
239 - position: absolute;  
240 - clip: rect(0,0,0,0);  
241 - pointer-events: none;  
242 - }  
243 - }  
244 -}  
web/assets/vendor/select2/docs/_sass/vendor/bootstrap/_buttons.scss
@@ -1,168 +0,0 @@ @@ -1,168 +0,0 @@
1 -//  
2 -// Buttons  
3 -// --------------------------------------------------  
4 -  
5 -  
6 -// Base styles  
7 -// --------------------------------------------------  
8 -  
9 -.btn {  
10 - display: inline-block;  
11 - margin-bottom: 0; // For input.btn  
12 - font-weight: $btn-font-weight;  
13 - text-align: center;  
14 - vertical-align: middle;  
15 - touch-action: manipulation;  
16 - cursor: pointer;  
17 - background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214  
18 - border: 1px solid transparent;  
19 - white-space: nowrap;  
20 - @include button-size($padding-base-vertical, $padding-base-horizontal, $font-size-base, $line-height-base, $btn-border-radius-base);  
21 - @include user-select(none);  
22 -  
23 - &,  
24 - &:active,  
25 - &.active {  
26 - &:focus,  
27 - &.focus {  
28 - @include tab-focus;  
29 - }  
30 - }  
31 -  
32 - &:hover,  
33 - &:focus,  
34 - &.focus {  
35 - color: $btn-default-color;  
36 - text-decoration: none;  
37 - }  
38 -  
39 - &:active,  
40 - &.active {  
41 - outline: 0;  
42 - background-image: none;  
43 - @include box-shadow(inset 0 3px 5px rgba(0,0,0,.125));  
44 - }  
45 -  
46 - &.disabled,  
47 - &[disabled],  
48 - fieldset[disabled] & {  
49 - cursor: $cursor-disabled;  
50 - @include opacity(.65);  
51 - @include box-shadow(none);  
52 - }  
53 -  
54 - // [converter] extracted a& to a.btn  
55 -}  
56 -  
57 -a.btn {  
58 - &.disabled,  
59 - fieldset[disabled] & {  
60 - pointer-events: none; // Future-proof disabling of clicks on `<a>` elements  
61 - }  
62 -}  
63 -  
64 -  
65 -// Alternate buttons  
66 -// --------------------------------------------------  
67 -  
68 -.btn-default {  
69 - @include button-variant($btn-default-color, $btn-default-bg, $btn-default-border);  
70 -}  
71 -.btn-primary {  
72 - @include button-variant($btn-primary-color, $btn-primary-bg, $btn-primary-border);  
73 -}  
74 -// Success appears as green  
75 -.btn-success {  
76 - @include button-variant($btn-success-color, $btn-success-bg, $btn-success-border);  
77 -}  
78 -// Info appears as blue-green  
79 -.btn-info {  
80 - @include button-variant($btn-info-color, $btn-info-bg, $btn-info-border);  
81 -}  
82 -// Warning appears as orange  
83 -.btn-warning {  
84 - @include button-variant($btn-warning-color, $btn-warning-bg, $btn-warning-border);  
85 -}  
86 -// Danger and error appear as red  
87 -.btn-danger {  
88 - @include button-variant($btn-danger-color, $btn-danger-bg, $btn-danger-border);  
89 -}  
90 -  
91 -  
92 -// Link buttons  
93 -// -------------------------  
94 -  
95 -// Make a button look and behave like a link  
96 -.btn-link {  
97 - color: $link-color;  
98 - font-weight: normal;  
99 - border-radius: 0;  
100 -  
101 - &,  
102 - &:active,  
103 - &.active,  
104 - &[disabled],  
105 - fieldset[disabled] & {  
106 - background-color: transparent;  
107 - @include box-shadow(none);  
108 - }  
109 - &,  
110 - &:hover,  
111 - &:focus,  
112 - &:active {  
113 - border-color: transparent;  
114 - }  
115 - &:hover,  
116 - &:focus {  
117 - color: $link-hover-color;  
118 - text-decoration: $link-hover-decoration;  
119 - background-color: transparent;  
120 - }  
121 - &[disabled],  
122 - fieldset[disabled] & {  
123 - &:hover,  
124 - &:focus {  
125 - color: $btn-link-disabled-color;  
126 - text-decoration: none;  
127 - }  
128 - }  
129 -}  
130 -  
131 -  
132 -// Button Sizes  
133 -// --------------------------------------------------  
134 -  
135 -.btn-lg {  
136 - // line-height: ensure even-numbered height of button next to large input  
137 - @include button-size($padding-large-vertical, $padding-large-horizontal, $font-size-large, $line-height-large, $btn-border-radius-large);  
138 -}  
139 -.btn-sm {  
140 - // line-height: ensure proper height of button next to small input  
141 - @include button-size($padding-small-vertical, $padding-small-horizontal, $font-size-small, $line-height-small, $btn-border-radius-small);  
142 -}  
143 -.btn-xs {  
144 - @include button-size($padding-xs-vertical, $padding-xs-horizontal, $font-size-small, $line-height-small, $btn-border-radius-small);  
145 -}  
146 -  
147 -  
148 -// Block button  
149 -// --------------------------------------------------  
150 -  
151 -.btn-block {  
152 - display: block;  
153 - width: 100%;  
154 -}  
155 -  
156 -// Vertically space out multiple block buttons  
157 -.btn-block + .btn-block {  
158 - margin-top: 5px;  
159 -}  
160 -  
161 -// Specificity overrides  
162 -input[type="submit"],  
163 -input[type="reset"],  
164 -input[type="button"] {  
165 - &.btn-block {  
166 - width: 100%;  
167 - }  
168 -}  
web/assets/vendor/select2/docs/_sass/vendor/bootstrap/_carousel.scss
@@ -1,270 +0,0 @@ @@ -1,270 +0,0 @@
1 -//  
2 -// Carousel  
3 -// --------------------------------------------------  
4 -  
5 -  
6 -// Wrapper for the slide container and indicators  
7 -.carousel {  
8 - position: relative;  
9 -}  
10 -  
11 -.carousel-inner {  
12 - position: relative;  
13 - overflow: hidden;  
14 - width: 100%;  
15 -  
16 - > .item {  
17 - display: none;  
18 - position: relative;  
19 - @include transition(.6s ease-in-out left);  
20 -  
21 - // Account for jankitude on images  
22 - > img,  
23 - > a > img {  
24 - @include img-responsive;  
25 - line-height: 1;  
26 - }  
27 -  
28 - // WebKit CSS3 transforms for supported devices  
29 - @media all and (transform-3d), (-webkit-transform-3d) {  
30 - @include transition-transform(0.6s ease-in-out);  
31 - @include backface-visibility(hidden);  
32 - @include perspective(1000px);  
33 -  
34 - &.next,  
35 - &.active.right {  
36 - @include translate3d(100%, 0, 0);  
37 - left: 0;  
38 - }  
39 - &.prev,  
40 - &.active.left {  
41 - @include translate3d(-100%, 0, 0);  
42 - left: 0;  
43 - }  
44 - &.next.left,  
45 - &.prev.right,  
46 - &.active {  
47 - @include translate3d(0, 0, 0);  
48 - left: 0;  
49 - }  
50 - }  
51 - }  
52 -  
53 - > .active,  
54 - > .next,  
55 - > .prev {  
56 - display: block;  
57 - }  
58 -  
59 - > .active {  
60 - left: 0;  
61 - }  
62 -  
63 - > .next,  
64 - > .prev {  
65 - position: absolute;  
66 - top: 0;  
67 - width: 100%;  
68 - }  
69 -  
70 - > .next {  
71 - left: 100%;  
72 - }  
73 - > .prev {  
74 - left: -100%;  
75 - }  
76 - > .next.left,  
77 - > .prev.right {  
78 - left: 0;  
79 - }  
80 -  
81 - > .active.left {  
82 - left: -100%;  
83 - }  
84 - > .active.right {  
85 - left: 100%;  
86 - }  
87 -  
88 -}  
89 -  
90 -// Left/right controls for nav  
91 -// ---------------------------  
92 -  
93 -.carousel-control {  
94 - position: absolute;  
95 - top: 0;  
96 - left: 0;  
97 - bottom: 0;  
98 - width: $carousel-control-width;  
99 - @include opacity($carousel-control-opacity);  
100 - font-size: $carousel-control-font-size;  
101 - color: $carousel-control-color;  
102 - text-align: center;  
103 - text-shadow: $carousel-text-shadow;  
104 - background-color: rgba(0, 0, 0, 0); // Fix IE9 click-thru bug  
105 - // We can't have this transition here because WebKit cancels the carousel  
106 - // animation if you trip this while in the middle of another animation.  
107 -  
108 - // Set gradients for backgrounds  
109 - &.left {  
110 - @include gradient-horizontal($start-color: rgba(0,0,0,.5), $end-color: rgba(0,0,0,.0001));  
111 - }  
112 - &.right {  
113 - left: auto;  
114 - right: 0;  
115 - @include gradient-horizontal($start-color: rgba(0,0,0,.0001), $end-color: rgba(0,0,0,.5));  
116 - }  
117 -  
118 - // Hover/focus state  
119 - &:hover,  
120 - &:focus {  
121 - outline: 0;  
122 - color: $carousel-control-color;  
123 - text-decoration: none;  
124 - @include opacity(.9);  
125 - }  
126 -  
127 - // Toggles  
128 - .icon-prev,  
129 - .icon-next,  
130 - .glyphicon-chevron-left,  
131 - .glyphicon-chevron-right {  
132 - position: absolute;  
133 - top: 50%;  
134 - margin-top: -10px;  
135 - z-index: 5;  
136 - display: inline-block;  
137 - }  
138 - .icon-prev,  
139 - .glyphicon-chevron-left {  
140 - left: 50%;  
141 - margin-left: -10px;  
142 - }  
143 - .icon-next,  
144 - .glyphicon-chevron-right {  
145 - right: 50%;  
146 - margin-right: -10px;  
147 - }  
148 - .icon-prev,  
149 - .icon-next {  
150 - width: 20px;  
151 - height: 20px;  
152 - line-height: 1;  
153 - font-family: serif;  
154 - }  
155 -  
156 -  
157 - .icon-prev {  
158 - &:before {  
159 - content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)  
160 - }  
161 - }  
162 - .icon-next {  
163 - &:before {  
164 - content: '\203a';// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (U+203A)  
165 - }  
166 - }  
167 -}  
168 -  
169 -// Optional indicator pips  
170 -//  
171 -// Add an unordered list with the following class and add a list item for each  
172 -// slide your carousel holds.  
173 -  
174 -.carousel-indicators {  
175 - position: absolute;  
176 - bottom: 10px;  
177 - left: 50%;  
178 - z-index: 15;  
179 - width: 60%;  
180 - margin-left: -30%;  
181 - padding-left: 0;  
182 - list-style: none;  
183 - text-align: center;  
184 -  
185 - li {  
186 - display: inline-block;  
187 - width: 10px;  
188 - height: 10px;  
189 - margin: 1px;  
190 - text-indent: -999px;  
191 - border: 1px solid $carousel-indicator-border-color;  
192 - border-radius: 10px;  
193 - cursor: pointer;  
194 -  
195 - // IE8-9 hack for event handling  
196 - //  
197 - // Internet Explorer 8-9 does not support clicks on elements without a set  
198 - // `background-color`. We cannot use `filter` since that's not viewed as a  
199 - // background color by the browser. Thus, a hack is needed.  
200 - // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Internet_Explorer  
201 - //  
202 - // For IE8, we set solid black as it doesn't support `rgba()`. For IE9, we  
203 - // set alpha transparency for the best results possible.  
204 - background-color: #000 \9; // IE8  
205 - background-color: rgba(0,0,0,0); // IE9  
206 - }  
207 - .active {  
208 - margin: 0;  
209 - width: 12px;  
210 - height: 12px;  
211 - background-color: $carousel-indicator-active-bg;  
212 - }  
213 -}  
214 -  
215 -// Optional captions  
216 -// -----------------------------  
217 -// Hidden by default for smaller viewports  
218 -.carousel-caption {  
219 - position: absolute;  
220 - left: 15%;  
221 - right: 15%;  
222 - bottom: 20px;  
223 - z-index: 10;  
224 - padding-top: 20px;  
225 - padding-bottom: 20px;  
226 - color: $carousel-caption-color;  
227 - text-align: center;  
228 - text-shadow: $carousel-text-shadow;  
229 - & .btn {  
230 - text-shadow: none; // No shadow for button elements in carousel-caption  
231 - }  
232 -}  
233 -  
234 -  
235 -// Scale up controls for tablets and up  
236 -@media screen and (min-width: $screen-sm-min) {  
237 -  
238 - // Scale up the controls a smidge  
239 - .carousel-control {  
240 - .glyphicon-chevron-left,  
241 - .glyphicon-chevron-right,  
242 - .icon-prev,  
243 - .icon-next {  
244 - width: ($carousel-control-font-size * 1.5);  
245 - height: ($carousel-control-font-size * 1.5);  
246 - margin-top: ($carousel-control-font-size / -2);  
247 - font-size: ($carousel-control-font-size * 1.5);  
248 - }  
249 - .glyphicon-chevron-left,  
250 - .icon-prev {  
251 - margin-left: ($carousel-control-font-size / -2);  
252 - }  
253 - .glyphicon-chevron-right,  
254 - .icon-next {  
255 - margin-right: ($carousel-control-font-size / -2);  
256 - }  
257 - }  
258 -  
259 - // Show and left align the captions  
260 - .carousel-caption {  
261 - left: 20%;  
262 - right: 20%;  
263 - padding-bottom: 30px;  
264 - }  
265 -  
266 - // Move up the indicators  
267 - .carousel-indicators {  
268 - bottom: 20px;  
269 - }  
270 -}  
web/assets/vendor/select2/docs/_sass/vendor/bootstrap/_close.scss
@@ -1,36 +0,0 @@ @@ -1,36 +0,0 @@
1 -//  
2 -// Close icons  
3 -// --------------------------------------------------  
4 -  
5 -  
6 -.close {  
7 - float: right;  
8 - font-size: ($font-size-base * 1.5);  
9 - font-weight: $close-font-weight;  
10 - line-height: 1;  
11 - color: $close-color;  
12 - text-shadow: $close-text-shadow;  
13 - @include opacity(.2);  
14 -  
15 - &:hover,  
16 - &:focus {  
17 - color: $close-color;  
18 - text-decoration: none;  
19 - cursor: pointer;  
20 - @include opacity(.5);  
21 - }  
22 -  
23 - // [converter] extracted button& to button.close  
24 -}  
25 -  
26 -// Additional properties for button version  
27 -// iOS requires the button element instead of an anchor tag.  
28 -// If you want the anchor version, it requires `href="#"`.  
29 -// See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile  
30 -button.close {  
31 - padding: 0;  
32 - cursor: pointer;  
33 - background: transparent;  
34 - border: 0;  
35 - -webkit-appearance: none;  
36 -}  
web/assets/vendor/select2/docs/_sass/vendor/bootstrap/_code.scss
@@ -1,69 +0,0 @@ @@ -1,69 +0,0 @@
1 -//  
2 -// Code (inline and block)  
3 -// --------------------------------------------------  
4 -  
5 -  
6 -// Inline and block code styles  
7 -code,  
8 -kbd,  
9 -pre,  
10 -samp {  
11 - font-family: $font-family-monospace;  
12 -}  
13 -  
14 -// Inline code  
15 -code {  
16 - padding: 2px 4px;  
17 - font-size: 90%;  
18 - color: $code-color;  
19 - background-color: $code-bg;  
20 - border-radius: $border-radius-base;  
21 -}  
22 -  
23 -// User input typically entered via keyboard  
24 -kbd {  
25 - padding: 2px 4px;  
26 - font-size: 90%;  
27 - color: $kbd-color;  
28 - background-color: $kbd-bg;  
29 - border-radius: $border-radius-small;  
30 - box-shadow: inset 0 -1px 0 rgba(0,0,0,.25);  
31 -  
32 - kbd {  
33 - padding: 0;  
34 - font-size: 100%;  
35 - font-weight: bold;  
36 - box-shadow: none;  
37 - }  
38 -}  
39 -  
40 -// Blocks of code  
41 -pre {  
42 - display: block;  
43 - padding: (($line-height-computed - 1) / 2);  
44 - margin: 0 0 ($line-height-computed / 2);  
45 - font-size: ($font-size-base - 1); // 14px to 13px  
46 - line-height: $line-height-base;  
47 - word-break: break-all;  
48 - word-wrap: break-word;  
49 - color: $pre-color;  
50 - background-color: $pre-bg;  
51 - border: 1px solid $pre-border-color;  
52 - border-radius: $border-radius-base;  
53 -  
54 - // Account for some code outputs that place code tags in pre tags  
55 - code {  
56 - padding: 0;  
57 - font-size: inherit;  
58 - color: inherit;  
59 - white-space: pre-wrap;  
60 - background-color: transparent;  
61 - border-radius: 0;  
62 - }  
63 -}  
64 -  
65 -// Enable scrollable blocks of code  
66 -.pre-scrollable {  
67 - max-height: $pre-scrollable-max-height;  
68 - overflow-y: scroll;  
69 -}  
web/assets/vendor/select2/docs/_sass/vendor/bootstrap/_component-animations.scss
@@ -1,37 +0,0 @@ @@ -1,37 +0,0 @@
1 -//  
2 -// Component animations  
3 -// --------------------------------------------------  
4 -  
5 -// Heads up!  
6 -//  
7 -// We don't use the `.opacity()` mixin here since it causes a bug with text  
8 -// fields in IE7-8. Source: https://github.com/twbs/bootstrap/pull/3552.  
9 -  
10 -.fade {  
11 - opacity: 0;  
12 - @include transition(opacity .15s linear);  
13 - &.in {  
14 - opacity: 1;  
15 - }  
16 -}  
17 -  
18 -.collapse {  
19 - display: none;  
20 -  
21 - &.in { display: block; }  
22 - // [converter] extracted tr&.in to tr.collapse.in  
23 - // [converter] extracted tbody&.in to tbody.collapse.in  
24 -}  
25 -  
26 -tr.collapse.in { display: table-row; }  
27 -  
28 -tbody.collapse.in { display: table-row-group; }  
29 -  
30 -.collapsing {  
31 - position: relative;  
32 - height: 0;  
33 - overflow: hidden;  
34 - @include transition-property(height, visibility);  
35 - @include transition-duration(.35s);  
36 - @include transition-timing-function(ease);  
37 -}  
web/assets/vendor/select2/docs/_sass/vendor/bootstrap/_dropdowns.scss
@@ -1,216 +0,0 @@ @@ -1,216 +0,0 @@
1 -//  
2 -// Dropdown menus  
3 -// --------------------------------------------------  
4 -  
5 -  
6 -// Dropdown arrow/caret  
7 -.caret {  
8 - display: inline-block;  
9 - width: 0;  
10 - height: 0;  
11 - margin-left: 2px;  
12 - vertical-align: middle;  
13 - border-top: $caret-width-base dashed;  
14 - border-top: $caret-width-base solid \9; // IE8  
15 - border-right: $caret-width-base solid transparent;  
16 - border-left: $caret-width-base solid transparent;  
17 -}  
18 -  
19 -// The dropdown wrapper (div)  
20 -.dropup,  
21 -.dropdown {  
22 - position: relative;  
23 -}  
24 -  
25 -// Prevent the focus on the dropdown toggle when closing dropdowns  
26 -.dropdown-toggle:focus {  
27 - outline: 0;  
28 -}  
29 -  
30 -// The dropdown menu (ul)  
31 -.dropdown-menu {  
32 - position: absolute;  
33 - top: 100%;  
34 - left: 0;  
35 - z-index: $zindex-dropdown;  
36 - display: none; // none by default, but block on "open" of the menu  
37 - float: left;  
38 - min-width: 160px;  
39 - padding: 5px 0;  
40 - margin: 2px 0 0; // override default ul  
41 - list-style: none;  
42 - font-size: $font-size-base;  
43 - text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer)  
44 - background-color: $dropdown-bg;  
45 - border: 1px solid $dropdown-fallback-border; // IE8 fallback  
46 - border: 1px solid $dropdown-border;  
47 - border-radius: $border-radius-base;  
48 - @include box-shadow(0 6px 12px rgba(0,0,0,.175));  
49 - background-clip: padding-box;  
50 -  
51 - // Aligns the dropdown menu to right  
52 - //  
53 - // Deprecated as of 3.1.0 in favor of `.dropdown-menu-[dir]`  
54 - &.pull-right {  
55 - right: 0;  
56 - left: auto;  
57 - }  
58 -  
59 - // Dividers (basically an hr) within the dropdown  
60 - .divider {  
61 - @include nav-divider($dropdown-divider-bg);  
62 - }  
63 -  
64 - // Links within the dropdown menu  
65 - > li > a {  
66 - display: block;  
67 - padding: 3px 20px;  
68 - clear: both;  
69 - font-weight: normal;  
70 - line-height: $line-height-base;  
71 - color: $dropdown-link-color;  
72 - white-space: nowrap; // prevent links from randomly breaking onto new lines  
73 - }  
74 -}  
75 -  
76 -// Hover/Focus state  
77 -.dropdown-menu > li > a {  
78 - &:hover,  
79 - &:focus {  
80 - text-decoration: none;  
81 - color: $dropdown-link-hover-color;  
82 - background-color: $dropdown-link-hover-bg;  
83 - }  
84 -}  
85 -  
86 -// Active state  
87 -.dropdown-menu > .active > a {  
88 - &,  
89 - &:hover,  
90 - &:focus {  
91 - color: $dropdown-link-active-color;  
92 - text-decoration: none;  
93 - outline: 0;  
94 - background-color: $dropdown-link-active-bg;  
95 - }  
96 -}  
97 -  
98 -// Disabled state  
99 -//  
100 -// Gray out text and ensure the hover/focus state remains gray  
101 -  
102 -.dropdown-menu > .disabled > a {  
103 - &,  
104 - &:hover,  
105 - &:focus {  
106 - color: $dropdown-link-disabled-color;  
107 - }  
108 -  
109 - // Nuke hover/focus effects  
110 - &:hover,  
111 - &:focus {  
112 - text-decoration: none;  
113 - background-color: transparent;  
114 - background-image: none; // Remove CSS gradient  
115 - @include reset-filter;  
116 - cursor: $cursor-disabled;  
117 - }  
118 -}  
119 -  
120 -// Open state for the dropdown  
121 -.open {  
122 - // Show the menu  
123 - > .dropdown-menu {  
124 - display: block;  
125 - }  
126 -  
127 - // Remove the outline when :focus is triggered  
128 - > a {  
129 - outline: 0;  
130 - }  
131 -}  
132 -  
133 -// Menu positioning  
134 -//  
135 -// Add extra class to `.dropdown-menu` to flip the alignment of the dropdown  
136 -// menu with the parent.  
137 -.dropdown-menu-right {  
138 - left: auto; // Reset the default from `.dropdown-menu`  
139 - right: 0;  
140 -}  
141 -// With v3, we enabled auto-flipping if you have a dropdown within a right  
142 -// aligned nav component. To enable the undoing of that, we provide an override  
143 -// to restore the default dropdown menu alignment.  
144 -//  
145 -// This is only for left-aligning a dropdown menu within a `.navbar-right` or  
146 -// `.pull-right` nav component.  
147 -.dropdown-menu-left {  
148 - left: 0;  
149 - right: auto;  
150 -}  
151 -  
152 -// Dropdown section headers  
153 -.dropdown-header {  
154 - display: block;  
155 - padding: 3px 20px;  
156 - font-size: $font-size-small;  
157 - line-height: $line-height-base;  
158 - color: $dropdown-header-color;  
159 - white-space: nowrap; // as with > li > a  
160 -}  
161 -  
162 -// Backdrop to catch body clicks on mobile, etc.  
163 -.dropdown-backdrop {  
164 - position: fixed;  
165 - left: 0;  
166 - right: 0;  
167 - bottom: 0;  
168 - top: 0;  
169 - z-index: ($zindex-dropdown - 10);  
170 -}  
171 -  
172 -// Right aligned dropdowns  
173 -.pull-right > .dropdown-menu {  
174 - right: 0;  
175 - left: auto;  
176 -}  
177 -  
178 -// Allow for dropdowns to go bottom up (aka, dropup-menu)  
179 -//  
180 -// Just add .dropup after the standard .dropdown class and you're set, bro.  
181 -// TODO: abstract this so that the navbar fixed styles are not placed here?  
182 -  
183 -.dropup,  
184 -.navbar-fixed-bottom .dropdown {  
185 - // Reverse the caret  
186 - .caret {  
187 - border-top: 0;  
188 - border-bottom: $caret-width-base dashed;  
189 - border-bottom: $caret-width-base solid \9; // IE8  
190 - content: "";  
191 - }  
192 - // Different positioning for bottom up menu  
193 - .dropdown-menu {  
194 - top: auto;  
195 - bottom: 100%;  
196 - margin-bottom: 2px;  
197 - }  
198 -}  
199 -  
200 -  
201 -// Component alignment  
202 -//  
203 -// Reiterate per navbar.less and the modified component alignment there.  
204 -  
205 -@media (min-width: $grid-float-breakpoint) {  
206 - .navbar-right {  
207 - .dropdown-menu {  
208 - right: 0; left: auto;  
209 - }  
210 - // Necessary for overrides of the default right aligned menu.  
211 - // Will remove come v4 in all likelihood.  
212 - .dropdown-menu-left {  
213 - left: 0; right: auto;  
214 - }  
215 - }  
216 -}  
web/assets/vendor/select2/docs/_sass/vendor/bootstrap/_forms.scss
@@ -1,617 +0,0 @@ @@ -1,617 +0,0 @@
1 -//  
2 -// Forms  
3 -// --------------------------------------------------  
4 -  
5 -  
6 -// Normalize non-controls  
7 -//  
8 -// Restyle and baseline non-control form elements.  
9 -  
10 -fieldset {  
11 - padding: 0;  
12 - margin: 0;  
13 - border: 0;  
14 - // Chrome and Firefox set a `min-width: min-content;` on fieldsets,  
15 - // so we reset that to ensure it behaves more like a standard block element.  
16 - // See https://github.com/twbs/bootstrap/issues/12359.  
17 - min-width: 0;  
18 -}  
19 -  
20 -legend {  
21 - display: block;  
22 - width: 100%;  
23 - padding: 0;  
24 - margin-bottom: $line-height-computed;  
25 - font-size: ($font-size-base * 1.5);  
26 - line-height: inherit;  
27 - color: $legend-color;  
28 - border: 0;  
29 - border-bottom: 1px solid $legend-border-color;  
30 -}  
31 -  
32 -label {  
33 - display: inline-block;  
34 - max-width: 100%; // Force IE8 to wrap long content (see https://github.com/twbs/bootstrap/issues/13141)  
35 - margin-bottom: 5px;  
36 - font-weight: bold;  
37 -}  
38 -  
39 -  
40 -// Normalize form controls  
41 -//  
42 -// While most of our form styles require extra classes, some basic normalization  
43 -// is required to ensure optimum display with or without those classes to better  
44 -// address browser inconsistencies.  
45 -  
46 -// Override content-box in Normalize (* isn't specific enough)  
47 -input[type="search"] {  
48 - @include box-sizing(border-box);  
49 -}  
50 -  
51 -// Position radios and checkboxes better  
52 -input[type="radio"],  
53 -input[type="checkbox"] {  
54 - margin: 4px 0 0;  
55 - margin-top: 1px \9; // IE8-9  
56 - line-height: normal;  
57 -}  
58 -  
59 -input[type="file"] {  
60 - display: block;  
61 -}  
62 -  
63 -// Make range inputs behave like textual form controls  
64 -input[type="range"] {  
65 - display: block;  
66 - width: 100%;  
67 -}  
68 -  
69 -// Make multiple select elements height not fixed  
70 -select[multiple],  
71 -select[size] {  
72 - height: auto;  
73 -}  
74 -  
75 -// Focus for file, radio, and checkbox  
76 -input[type="file"]:focus,  
77 -input[type="radio"]:focus,  
78 -input[type="checkbox"]:focus {  
79 - @include tab-focus;  
80 -}  
81 -  
82 -// Adjust output element  
83 -output {  
84 - display: block;  
85 - padding-top: ($padding-base-vertical + 1);  
86 - font-size: $font-size-base;  
87 - line-height: $line-height-base;  
88 - color: $input-color;  
89 -}  
90 -  
91 -  
92 -// Common form controls  
93 -//  
94 -// Shared size and type resets for form controls. Apply `.form-control` to any  
95 -// of the following form controls:  
96 -//  
97 -// select  
98 -// textarea  
99 -// input[type="text"]  
100 -// input[type="password"]  
101 -// input[type="datetime"]  
102 -// input[type="datetime-local"]  
103 -// input[type="date"]  
104 -// input[type="month"]  
105 -// input[type="time"]  
106 -// input[type="week"]  
107 -// input[type="number"]  
108 -// input[type="email"]  
109 -// input[type="url"]  
110 -// input[type="search"]  
111 -// input[type="tel"]  
112 -// input[type="color"]  
113 -  
114 -.form-control {  
115 - display: block;  
116 - width: 100%;  
117 - height: $input-height-base; // Make inputs at least the height of their button counterpart (base line-height + padding + border)  
118 - padding: $padding-base-vertical $padding-base-horizontal;  
119 - font-size: $font-size-base;  
120 - line-height: $line-height-base;  
121 - color: $input-color;  
122 - background-color: $input-bg;  
123 - background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214  
124 - border: 1px solid $input-border;  
125 - border-radius: $input-border-radius; // Note: This has no effect on <select>s in some browsers, due to the limited stylability of <select>s in CSS.  
126 - @include box-shadow(inset 0 1px 1px rgba(0,0,0,.075));  
127 - @include transition(border-color ease-in-out .15s, box-shadow ease-in-out .15s);  
128 -  
129 - // Customize the `:focus` state to imitate native WebKit styles.  
130 - @include form-control-focus;  
131 -  
132 - // Placeholder  
133 - @include placeholder;  
134 -  
135 - // Unstyle the caret on `<select>`s in IE10+.  
136 - &::-ms-expand {  
137 - border: 0;  
138 - background-color: transparent;  
139 - }  
140 -  
141 - // Disabled and read-only inputs  
142 - //  
143 - // HTML5 says that controls under a fieldset > legend:first-child won't be  
144 - // disabled if the fieldset is disabled. Due to implementation difficulty, we  
145 - // don't honor that edge case; we style them as disabled anyway.  
146 - &[disabled],  
147 - &[readonly],  
148 - fieldset[disabled] & {  
149 - background-color: $input-bg-disabled;  
150 - opacity: 1; // iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655  
151 - }  
152 -  
153 - &[disabled],  
154 - fieldset[disabled] & {  
155 - cursor: $cursor-disabled;  
156 - }  
157 -  
158 - // [converter] extracted textarea& to textarea.form-control  
159 -}  
160 -  
161 -// Reset height for `textarea`s  
162 -textarea.form-control {  
163 - height: auto;  
164 -}  
165 -  
166 -  
167 -// Search inputs in iOS  
168 -//  
169 -// This overrides the extra rounded corners on search inputs in iOS so that our  
170 -// `.form-control` class can properly style them. Note that this cannot simply  
171 -// be added to `.form-control` as it's not specific enough. For details, see  
172 -// https://github.com/twbs/bootstrap/issues/11586.  
173 -  
174 -input[type="search"] {  
175 - -webkit-appearance: none;  
176 -}  
177 -  
178 -  
179 -// Special styles for iOS temporal inputs  
180 -//  
181 -// In Mobile Safari, setting `display: block` on temporal inputs causes the  
182 -// text within the input to become vertically misaligned. As a workaround, we  
183 -// set a pixel line-height that matches the given height of the input, but only  
184 -// for Safari. See https://bugs.webkit.org/show_bug.cgi?id=139848  
185 -//  
186 -// Note that as of 8.3, iOS doesn't support `datetime` or `week`.  
187 -  
188 -@media screen and (-webkit-min-device-pixel-ratio: 0) {  
189 - input[type="date"],  
190 - input[type="time"],  
191 - input[type="datetime-local"],  
192 - input[type="month"] {  
193 - &.form-control {  
194 - line-height: $input-height-base;  
195 - }  
196 -  
197 - &.input-sm,  
198 - .input-group-sm & {  
199 - line-height: $input-height-small;  
200 - }  
201 -  
202 - &.input-lg,  
203 - .input-group-lg & {  
204 - line-height: $input-height-large;  
205 - }  
206 - }  
207 -}  
208 -  
209 -  
210 -// Form groups  
211 -//  
212 -// Designed to help with the organization and spacing of vertical forms. For  
213 -// horizontal forms, use the predefined grid classes.  
214 -  
215 -.form-group {  
216 - margin-bottom: $form-group-margin-bottom;  
217 -}  
218 -  
219 -  
220 -// Checkboxes and radios  
221 -//  
222 -// Indent the labels to position radios/checkboxes as hanging controls.  
223 -  
224 -.radio,  
225 -.checkbox {  
226 - position: relative;  
227 - display: block;  
228 - margin-top: 10px;  
229 - margin-bottom: 10px;  
230 -  
231 - label {  
232 - min-height: $line-height-computed; // Ensure the input doesn't jump when there is no text  
233 - padding-left: 20px;  
234 - margin-bottom: 0;  
235 - font-weight: normal;  
236 - cursor: pointer;  
237 - }  
238 -}  
239 -.radio input[type="radio"],  
240 -.radio-inline input[type="radio"],  
241 -.checkbox input[type="checkbox"],  
242 -.checkbox-inline input[type="checkbox"] {  
243 - position: absolute;  
244 - margin-left: -20px;  
245 - margin-top: 4px \9;  
246 -}  
247 -  
248 -.radio + .radio,  
249 -.checkbox + .checkbox {  
250 - margin-top: -5px; // Move up sibling radios or checkboxes for tighter spacing  
251 -}  
252 -  
253 -// Radios and checkboxes on same line  
254 -.radio-inline,  
255 -.checkbox-inline {  
256 - position: relative;  
257 - display: inline-block;  
258 - padding-left: 20px;  
259 - margin-bottom: 0;  
260 - vertical-align: middle;  
261 - font-weight: normal;  
262 - cursor: pointer;  
263 -}  
264 -.radio-inline + .radio-inline,  
265 -.checkbox-inline + .checkbox-inline {  
266 - margin-top: 0;  
267 - margin-left: 10px; // space out consecutive inline controls  
268 -}  
269 -  
270 -// Apply same disabled cursor tweak as for inputs  
271 -// Some special care is needed because <label>s don't inherit their parent's `cursor`.  
272 -//  
273 -// Note: Neither radios nor checkboxes can be readonly.  
274 -input[type="radio"],  
275 -input[type="checkbox"] {  
276 - &[disabled],  
277 - &.disabled,  
278 - fieldset[disabled] & {  
279 - cursor: $cursor-disabled;  
280 - }  
281 -}  
282 -// These classes are used directly on <label>s  
283 -.radio-inline,  
284 -.checkbox-inline {  
285 - &.disabled,  
286 - fieldset[disabled] & {  
287 - cursor: $cursor-disabled;  
288 - }  
289 -}  
290 -// These classes are used on elements with <label> descendants  
291 -.radio,  
292 -.checkbox {  
293 - &.disabled,  
294 - fieldset[disabled] & {  
295 - label {  
296 - cursor: $cursor-disabled;  
297 - }  
298 - }  
299 -}  
300 -  
301 -  
302 -// Static form control text  
303 -//  
304 -// Apply class to a `p` element to make any string of text align with labels in  
305 -// a horizontal form layout.  
306 -  
307 -.form-control-static {  
308 - // Size it appropriately next to real form controls  
309 - padding-top: ($padding-base-vertical + 1);  
310 - padding-bottom: ($padding-base-vertical + 1);  
311 - // Remove default margin from `p`  
312 - margin-bottom: 0;  
313 - min-height: ($line-height-computed + $font-size-base);  
314 -  
315 - &.input-lg,  
316 - &.input-sm {  
317 - padding-left: 0;  
318 - padding-right: 0;  
319 - }  
320 -}  
321 -  
322 -  
323 -// Form control sizing  
324 -//  
325 -// Build on `.form-control` with modifier classes to decrease or increase the  
326 -// height and font-size of form controls.  
327 -//  
328 -// The `.form-group-* form-control` variations are sadly duplicated to avoid the  
329 -// issue documented in https://github.com/twbs/bootstrap/issues/15074.  
330 -  
331 -@include input-size('.input-sm', $input-height-small, $padding-small-vertical, $padding-small-horizontal, $font-size-small, $line-height-small, $input-border-radius-small);  
332 -.form-group-sm {  
333 - .form-control {  
334 - height: $input-height-small;  
335 - padding: $padding-small-vertical $padding-small-horizontal;  
336 - font-size: $font-size-small;  
337 - line-height: $line-height-small;  
338 - border-radius: $input-border-radius-small;  
339 - }  
340 - select.form-control {  
341 - height: $input-height-small;  
342 - line-height: $input-height-small;  
343 - }  
344 - textarea.form-control,  
345 - select[multiple].form-control {  
346 - height: auto;  
347 - }  
348 - .form-control-static {  
349 - height: $input-height-small;  
350 - min-height: ($line-height-computed + $font-size-small);  
351 - padding: ($padding-small-vertical + 1) $padding-small-horizontal;  
352 - font-size: $font-size-small;  
353 - line-height: $line-height-small;  
354 - }  
355 -}  
356 -  
357 -@include input-size('.input-lg', $input-height-large, $padding-large-vertical, $padding-large-horizontal, $font-size-large, $line-height-large, $input-border-radius-large);  
358 -.form-group-lg {  
359 - .form-control {  
360 - height: $input-height-large;  
361 - padding: $padding-large-vertical $padding-large-horizontal;  
362 - font-size: $font-size-large;  
363 - line-height: $line-height-large;  
364 - border-radius: $input-border-radius-large;  
365 - }  
366 - select.form-control {  
367 - height: $input-height-large;  
368 - line-height: $input-height-large;  
369 - }  
370 - textarea.form-control,  
371 - select[multiple].form-control {  
372 - height: auto;  
373 - }  
374 - .form-control-static {  
375 - height: $input-height-large;  
376 - min-height: ($line-height-computed + $font-size-large);  
377 - padding: ($padding-large-vertical + 1) $padding-large-horizontal;  
378 - font-size: $font-size-large;  
379 - line-height: $line-height-large;  
380 - }  
381 -}  
382 -  
383 -  
384 -// Form control feedback states  
385 -//  
386 -// Apply contextual and semantic states to individual form controls.  
387 -  
388 -.has-feedback {  
389 - // Enable absolute positioning  
390 - position: relative;  
391 -  
392 - // Ensure icons don't overlap text  
393 - .form-control {  
394 - padding-right: ($input-height-base * 1.25);  
395 - }  
396 -}  
397 -// Feedback icon (requires .glyphicon classes)  
398 -.form-control-feedback {  
399 - position: absolute;  
400 - top: 0;  
401 - right: 0;  
402 - z-index: 2; // Ensure icon is above input groups  
403 - display: block;  
404 - width: $input-height-base;  
405 - height: $input-height-base;  
406 - line-height: $input-height-base;  
407 - text-align: center;  
408 - pointer-events: none;  
409 -}  
410 -.input-lg + .form-control-feedback,  
411 -.input-group-lg + .form-control-feedback,  
412 -.form-group-lg .form-control + .form-control-feedback {  
413 - width: $input-height-large;  
414 - height: $input-height-large;  
415 - line-height: $input-height-large;  
416 -}  
417 -.input-sm + .form-control-feedback,  
418 -.input-group-sm + .form-control-feedback,  
419 -.form-group-sm .form-control + .form-control-feedback {  
420 - width: $input-height-small;  
421 - height: $input-height-small;  
422 - line-height: $input-height-small;  
423 -}  
424 -  
425 -// Feedback states  
426 -.has-success {  
427 - @include form-control-validation($state-success-text, $state-success-text, $state-success-bg);  
428 -}  
429 -.has-warning {  
430 - @include form-control-validation($state-warning-text, $state-warning-text, $state-warning-bg);  
431 -}  
432 -.has-error {  
433 - @include form-control-validation($state-danger-text, $state-danger-text, $state-danger-bg);  
434 -}  
435 -  
436 -// Reposition feedback icon if input has visible label above  
437 -.has-feedback label {  
438 -  
439 - & ~ .form-control-feedback {  
440 - top: ($line-height-computed + 5); // Height of the `label` and its margin  
441 - }  
442 - &.sr-only ~ .form-control-feedback {  
443 - top: 0;  
444 - }  
445 -}  
446 -  
447 -  
448 -// Help text  
449 -//  
450 -// Apply to any element you wish to create light text for placement immediately  
451 -// below a form control. Use for general help, formatting, or instructional text.  
452 -  
453 -.help-block {  
454 - display: block; // account for any element using help-block  
455 - margin-top: 5px;  
456 - margin-bottom: 10px;  
457 - color: lighten($text-color, 25%); // lighten the text some for contrast  
458 -}  
459 -  
460 -  
461 -// Inline forms  
462 -//  
463 -// Make forms appear inline(-block) by adding the `.form-inline` class. Inline  
464 -// forms begin stacked on extra small (mobile) devices and then go inline when  
465 -// viewports reach <768px.  
466 -//  
467 -// Requires wrapping inputs and labels with `.form-group` for proper display of  
468 -// default HTML form controls and our custom form controls (e.g., input groups).  
469 -//  
470 -// Heads up! This is mixin-ed into `.navbar-form` in navbars.less.  
471 -  
472 -// [converter] extracted from `.form-inline` for libsass compatibility  
473 -@mixin form-inline {  
474 -  
475 - // Kick in the inline  
476 - @media (min-width: $screen-sm-min) {  
477 - // Inline-block all the things for "inline"  
478 - .form-group {  
479 - display: inline-block;  
480 - margin-bottom: 0;  
481 - vertical-align: middle;  
482 - }  
483 -  
484 - // In navbar-form, allow folks to *not* use `.form-group`  
485 - .form-control {  
486 - display: inline-block;  
487 - width: auto; // Prevent labels from stacking above inputs in `.form-group`  
488 - vertical-align: middle;  
489 - }  
490 -  
491 - // Make static controls behave like regular ones  
492 - .form-control-static {  
493 - display: inline-block;  
494 - }  
495 -  
496 - .input-group {  
497 - display: inline-table;  
498 - vertical-align: middle;  
499 -  
500 - .input-group-addon,  
501 - .input-group-btn,  
502 - .form-control {  
503 - width: auto;  
504 - }  
505 - }  
506 -  
507 - // Input groups need that 100% width though  
508 - .input-group > .form-control {  
509 - width: 100%;  
510 - }  
511 -  
512 - .control-label {  
513 - margin-bottom: 0;  
514 - vertical-align: middle;  
515 - }  
516 -  
517 - // Remove default margin on radios/checkboxes that were used for stacking, and  
518 - // then undo the floating of radios and checkboxes to match.  
519 - .radio,  
520 - .checkbox {  
521 - display: inline-block;  
522 - margin-top: 0;  
523 - margin-bottom: 0;  
524 - vertical-align: middle;  
525 -  
526 - label {  
527 - padding-left: 0;  
528 - }  
529 - }  
530 - .radio input[type="radio"],  
531 - .checkbox input[type="checkbox"] {  
532 - position: relative;  
533 - margin-left: 0;  
534 - }  
535 -  
536 - // Re-override the feedback icon.  
537 - .has-feedback .form-control-feedback {  
538 - top: 0;  
539 - }  
540 - }  
541 -}  
542 -// [converter] extracted as `@mixin form-inline` for libsass compatibility  
543 -.form-inline {  
544 - @include form-inline;  
545 -}  
546 -  
547 -  
548 -  
549 -// Horizontal forms  
550 -//  
551 -// Horizontal forms are built on grid classes and allow you to create forms with  
552 -// labels on the left and inputs on the right.  
553 -  
554 -.form-horizontal {  
555 -  
556 - // Consistent vertical alignment of radios and checkboxes  
557 - //  
558 - // Labels also get some reset styles, but that is scoped to a media query below.  
559 - .radio,  
560 - .checkbox,  
561 - .radio-inline,  
562 - .checkbox-inline {  
563 - margin-top: 0;  
564 - margin-bottom: 0;  
565 - padding-top: ($padding-base-vertical + 1); // Default padding plus a border  
566 - }  
567 - // Account for padding we're adding to ensure the alignment and of help text  
568 - // and other content below items  
569 - .radio,  
570 - .checkbox {  
571 - min-height: ($line-height-computed + ($padding-base-vertical + 1));  
572 - }  
573 -  
574 - // Make form groups behave like rows  
575 - .form-group {  
576 - @include make-row;  
577 - }  
578 -  
579 - // Reset spacing and right align labels, but scope to media queries so that  
580 - // labels on narrow viewports stack the same as a default form example.  
581 - @media (min-width: $screen-sm-min) {  
582 - .control-label {  
583 - text-align: right;  
584 - margin-bottom: 0;  
585 - padding-top: ($padding-base-vertical + 1); // Default padding plus a border  
586 - }  
587 - }  
588 -  
589 - // Validation states  
590 - //  
591 - // Reposition the icon because it's now within a grid column and columns have  
592 - // `position: relative;` on them. Also accounts for the grid gutter padding.  
593 - .has-feedback .form-control-feedback {  
594 - right: floor(($grid-gutter-width / 2));  
595 - }  
596 -  
597 - // Form group sizes  
598 - //  
599 - // Quick utility class for applying `.input-lg` and `.input-sm` styles to the  
600 - // inputs and labels within a `.form-group`.  
601 - .form-group-lg {  
602 - @media (min-width: $screen-sm-min) {  
603 - .control-label {  
604 - padding-top: ($padding-large-vertical + 1);  
605 - font-size: $font-size-large;  
606 - }  
607 - }  
608 - }  
609 - .form-group-sm {  
610 - @media (min-width: $screen-sm-min) {  
611 - .control-label {  
612 - padding-top: ($padding-small-vertical + 1);  
613 - font-size: $font-size-small;  
614 - }  
615 - }  
616 - }  
617 -}  
web/assets/vendor/select2/docs/_sass/vendor/bootstrap/_glyphicons.scss
@@ -1,307 +0,0 @@ @@ -1,307 +0,0 @@
1 -//  
2 -// Glyphicons for Bootstrap  
3 -//  
4 -// Since icons are fonts, they can be placed anywhere text is placed and are  
5 -// thus automatically sized to match the surrounding child. To use, create an  
6 -// inline element with the appropriate classes, like so:  
7 -//  
8 -// <a href="#"><span class="glyphicon glyphicon-star"></span> Star</a>  
9 -  
10 -@at-root {  
11 - // Import the fonts  
12 - @font-face {  
13 - font-family: 'Glyphicons Halflings';  
14 - src: url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.eot'), '#{$icon-font-path}#{$icon-font-name}.eot'));  
15 - src: url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.eot?#iefix'), '#{$icon-font-path}#{$icon-font-name}.eot?#iefix')) format('embedded-opentype'),  
16 - url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.woff2'), '#{$icon-font-path}#{$icon-font-name}.woff2')) format('woff2'),  
17 - url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.woff'), '#{$icon-font-path}#{$icon-font-name}.woff')) format('woff'),  
18 - url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.ttf'), '#{$icon-font-path}#{$icon-font-name}.ttf')) format('truetype'),  
19 - url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.svg##{$icon-font-svg-id}'), '#{$icon-font-path}#{$icon-font-name}.svg##{$icon-font-svg-id}')) format('svg');  
20 - }  
21 -}  
22 -  
23 -// Catchall baseclass  
24 -.glyphicon {  
25 - position: relative;  
26 - top: 1px;  
27 - display: inline-block;  
28 - font-family: 'Glyphicons Halflings';  
29 - font-style: normal;  
30 - font-weight: normal;  
31 - line-height: 1;  
32 - -webkit-font-smoothing: antialiased;  
33 - -moz-osx-font-smoothing: grayscale;  
34 -}  
35 -  
36 -// Individual icons  
37 -.glyphicon-asterisk { &:before { content: "\002a"; } }  
38 -.glyphicon-plus { &:before { content: "\002b"; } }  
39 -.glyphicon-euro,  
40 -.glyphicon-eur { &:before { content: "\20ac"; } }  
41 -.glyphicon-minus { &:before { content: "\2212"; } }  
42 -.glyphicon-cloud { &:before { content: "\2601"; } }  
43 -.glyphicon-envelope { &:before { content: "\2709"; } }  
44 -.glyphicon-pencil { &:before { content: "\270f"; } }  
45 -.glyphicon-glass { &:before { content: "\e001"; } }  
46 -.glyphicon-music { &:before { content: "\e002"; } }  
47 -.glyphicon-search { &:before { content: "\e003"; } }  
48 -.glyphicon-heart { &:before { content: "\e005"; } }  
49 -.glyphicon-star { &:before { content: "\e006"; } }  
50 -.glyphicon-star-empty { &:before { content: "\e007"; } }  
51 -.glyphicon-user { &:before { content: "\e008"; } }  
52 -.glyphicon-film { &:before { content: "\e009"; } }  
53 -.glyphicon-th-large { &:before { content: "\e010"; } }  
54 -.glyphicon-th { &:before { content: "\e011"; } }  
55 -.glyphicon-th-list { &:before { content: "\e012"; } }  
56 -.glyphicon-ok { &:before { content: "\e013"; } }  
57 -.glyphicon-remove { &:before { content: "\e014"; } }  
58 -.glyphicon-zoom-in { &:before { content: "\e015"; } }  
59 -.glyphicon-zoom-out { &:before { content: "\e016"; } }  
60 -.glyphicon-off { &:before { content: "\e017"; } }  
61 -.glyphicon-signal { &:before { content: "\e018"; } }  
62 -.glyphicon-cog { &:before { content: "\e019"; } }  
63 -.glyphicon-trash { &:before { content: "\e020"; } }  
64 -.glyphicon-home { &:before { content: "\e021"; } }  
65 -.glyphicon-file { &:before { content: "\e022"; } }  
66 -.glyphicon-time { &:before { content: "\e023"; } }  
67 -.glyphicon-road { &:before { content: "\e024"; } }  
68 -.glyphicon-download-alt { &:before { content: "\e025"; } }  
69 -.glyphicon-download { &:before { content: "\e026"; } }  
70 -.glyphicon-upload { &:before { content: "\e027"; } }  
71 -.glyphicon-inbox { &:before { content: "\e028"; } }  
72 -.glyphicon-play-circle { &:before { content: "\e029"; } }  
73 -.glyphicon-repeat { &:before { content: "\e030"; } }  
74 -.glyphicon-refresh { &:before { content: "\e031"; } }  
75 -.glyphicon-list-alt { &:before { content: "\e032"; } }  
76 -.glyphicon-lock { &:before { content: "\e033"; } }  
77 -.glyphicon-flag { &:before { content: "\e034"; } }  
78 -.glyphicon-headphones { &:before { content: "\e035"; } }  
79 -.glyphicon-volume-off { &:before { content: "\e036"; } }  
80 -.glyphicon-volume-down { &:before { content: "\e037"; } }  
81 -.glyphicon-volume-up { &:before { content: "\e038"; } }  
82 -.glyphicon-qrcode { &:before { content: "\e039"; } }  
83 -.glyphicon-barcode { &:before { content: "\e040"; } }  
84 -.glyphicon-tag { &:before { content: "\e041"; } }  
85 -.glyphicon-tags { &:before { content: "\e042"; } }  
86 -.glyphicon-book { &:before { content: "\e043"; } }  
87 -.glyphicon-bookmark { &:before { content: "\e044"; } }  
88 -.glyphicon-print { &:before { content: "\e045"; } }  
89 -.glyphicon-camera { &:before { content: "\e046"; } }  
90 -.glyphicon-font { &:before { content: "\e047"; } }  
91 -.glyphicon-bold { &:before { content: "\e048"; } }  
92 -.glyphicon-italic { &:before { content: "\e049"; } }  
93 -.glyphicon-text-height { &:before { content: "\e050"; } }  
94 -.glyphicon-text-width { &:before { content: "\e051"; } }  
95 -.glyphicon-align-left { &:before { content: "\e052"; } }  
96 -.glyphicon-align-center { &:before { content: "\e053"; } }  
97 -.glyphicon-align-right { &:before { content: "\e054"; } }  
98 -.glyphicon-align-justify { &:before { content: "\e055"; } }  
99 -.glyphicon-list { &:before { content: "\e056"; } }  
100 -.glyphicon-indent-left { &:before { content: "\e057"; } }  
101 -.glyphicon-indent-right { &:before { content: "\e058"; } }  
102 -.glyphicon-facetime-video { &:before { content: "\e059"; } }  
103 -.glyphicon-picture { &:before { content: "\e060"; } }  
104 -.glyphicon-map-marker { &:before { content: "\e062"; } }  
105 -.glyphicon-adjust { &:before { content: "\e063"; } }  
106 -.glyphicon-tint { &:before { content: "\e064"; } }  
107 -.glyphicon-edit { &:before { content: "\e065"; } }  
108 -.glyphicon-share { &:before { content: "\e066"; } }  
109 -.glyphicon-check { &:before { content: "\e067"; } }  
110 -.glyphicon-move { &:before { content: "\e068"; } }  
111 -.glyphicon-step-backward { &:before { content: "\e069"; } }  
112 -.glyphicon-fast-backward { &:before { content: "\e070"; } }  
113 -.glyphicon-backward { &:before { content: "\e071"; } }  
114 -.glyphicon-play { &:before { content: "\e072"; } }  
115 -.glyphicon-pause { &:before { content: "\e073"; } }  
116 -.glyphicon-stop { &:before { content: "\e074"; } }  
117 -.glyphicon-forward { &:before { content: "\e075"; } }  
118 -.glyphicon-fast-forward { &:before { content: "\e076"; } }  
119 -.glyphicon-step-forward { &:before { content: "\e077"; } }  
120 -.glyphicon-eject { &:before { content: "\e078"; } }  
121 -.glyphicon-chevron-left { &:before { content: "\e079"; } }  
122 -.glyphicon-chevron-right { &:before { content: "\e080"; } }  
123 -.glyphicon-plus-sign { &:before { content: "\e081"; } }  
124 -.glyphicon-minus-sign { &:before { content: "\e082"; } }  
125 -.glyphicon-remove-sign { &:before { content: "\e083"; } }  
126 -.glyphicon-ok-sign { &:before { content: "\e084"; } }  
127 -.glyphicon-question-sign { &:before { content: "\e085"; } }  
128 -.glyphicon-info-sign { &:before { content: "\e086"; } }  
129 -.glyphicon-screenshot { &:before { content: "\e087"; } }  
130 -.glyphicon-remove-circle { &:before { content: "\e088"; } }  
131 -.glyphicon-ok-circle { &:before { content: "\e089"; } }  
132 -.glyphicon-ban-circle { &:before { content: "\e090"; } }  
133 -.glyphicon-arrow-left { &:before { content: "\e091"; } }  
134 -.glyphicon-arrow-right { &:before { content: "\e092"; } }  
135 -.glyphicon-arrow-up { &:before { content: "\e093"; } }  
136 -.glyphicon-arrow-down { &:before { content: "\e094"; } }  
137 -.glyphicon-share-alt { &:before { content: "\e095"; } }  
138 -.glyphicon-resize-full { &:before { content: "\e096"; } }  
139 -.glyphicon-resize-small { &:before { content: "\e097"; } }  
140 -.glyphicon-exclamation-sign { &:before { content: "\e101"; } }  
141 -.glyphicon-gift { &:before { content: "\e102"; } }  
142 -.glyphicon-leaf { &:before { content: "\e103"; } }  
143 -.glyphicon-fire { &:before { content: "\e104"; } }  
144 -.glyphicon-eye-open { &:before { content: "\e105"; } }  
145 -.glyphicon-eye-close { &:before { content: "\e106"; } }  
146 -.glyphicon-warning-sign { &:before { content: "\e107"; } }  
147 -.glyphicon-plane { &:before { content: "\e108"; } }  
148 -.glyphicon-calendar { &:before { content: "\e109"; } }  
149 -.glyphicon-random { &:before { content: "\e110"; } }  
150 -.glyphicon-comment { &:before { content: "\e111"; } }  
151 -.glyphicon-magnet { &:before { content: "\e112"; } }  
152 -.glyphicon-chevron-up { &:before { content: "\e113"; } }  
153 -.glyphicon-chevron-down { &:before { content: "\e114"; } }  
154 -.glyphicon-retweet { &:before { content: "\e115"; } }  
155 -.glyphicon-shopping-cart { &:before { content: "\e116"; } }  
156 -.glyphicon-folder-close { &:before { content: "\e117"; } }  
157 -.glyphicon-folder-open { &:before { content: "\e118"; } }  
158 -.glyphicon-resize-vertical { &:before { content: "\e119"; } }  
159 -.glyphicon-resize-horizontal { &:before { content: "\e120"; } }  
160 -.glyphicon-hdd { &:before { content: "\e121"; } }  
161 -.glyphicon-bullhorn { &:before { content: "\e122"; } }  
162 -.glyphicon-bell { &:before { content: "\e123"; } }  
163 -.glyphicon-certificate { &:before { content: "\e124"; } }  
164 -.glyphicon-thumbs-up { &:before { content: "\e125"; } }  
165 -.glyphicon-thumbs-down { &:before { content: "\e126"; } }  
166 -.glyphicon-hand-right { &:before { content: "\e127"; } }  
167 -.glyphicon-hand-left { &:before { content: "\e128"; } }  
168 -.glyphicon-hand-up { &:before { content: "\e129"; } }  
169 -.glyphicon-hand-down { &:before { content: "\e130"; } }  
170 -.glyphicon-circle-arrow-right { &:before { content: "\e131"; } }  
171 -.glyphicon-circle-arrow-left { &:before { content: "\e132"; } }  
172 -.glyphicon-circle-arrow-up { &:before { content: "\e133"; } }  
173 -.glyphicon-circle-arrow-down { &:before { content: "\e134"; } }  
174 -.glyphicon-globe { &:before { content: "\e135"; } }  
175 -.glyphicon-wrench { &:before { content: "\e136"; } }  
176 -.glyphicon-tasks { &:before { content: "\e137"; } }  
177 -.glyphicon-filter { &:before { content: "\e138"; } }  
178 -.glyphicon-briefcase { &:before { content: "\e139"; } }  
179 -.glyphicon-fullscreen { &:before { content: "\e140"; } }  
180 -.glyphicon-dashboard { &:before { content: "\e141"; } }  
181 -.glyphicon-paperclip { &:before { content: "\e142"; } }  
182 -.glyphicon-heart-empty { &:before { content: "\e143"; } }  
183 -.glyphicon-link { &:before { content: "\e144"; } }  
184 -.glyphicon-phone { &:before { content: "\e145"; } }  
185 -.glyphicon-pushpin { &:before { content: "\e146"; } }  
186 -.glyphicon-usd { &:before { content: "\e148"; } }  
187 -.glyphicon-gbp { &:before { content: "\e149"; } }  
188 -.glyphicon-sort { &:before { content: "\e150"; } }  
189 -.glyphicon-sort-by-alphabet { &:before { content: "\e151"; } }  
190 -.glyphicon-sort-by-alphabet-alt { &:before { content: "\e152"; } }  
191 -.glyphicon-sort-by-order { &:before { content: "\e153"; } }  
192 -.glyphicon-sort-by-order-alt { &:before { content: "\e154"; } }  
193 -.glyphicon-sort-by-attributes { &:before { content: "\e155"; } }  
194 -.glyphicon-sort-by-attributes-alt { &:before { content: "\e156"; } }  
195 -.glyphicon-unchecked { &:before { content: "\e157"; } }  
196 -.glyphicon-expand { &:before { content: "\e158"; } }  
197 -.glyphicon-collapse-down { &:before { content: "\e159"; } }  
198 -.glyphicon-collapse-up { &:before { content: "\e160"; } }  
199 -.glyphicon-log-in { &:before { content: "\e161"; } }  
200 -.glyphicon-flash { &:before { content: "\e162"; } }  
201 -.glyphicon-log-out { &:before { content: "\e163"; } }  
202 -.glyphicon-new-window { &:before { content: "\e164"; } }  
203 -.glyphicon-record { &:before { content: "\e165"; } }  
204 -.glyphicon-save { &:before { content: "\e166"; } }  
205 -.glyphicon-open { &:before { content: "\e167"; } }  
206 -.glyphicon-saved { &:before { content: "\e168"; } }  
207 -.glyphicon-import { &:before { content: "\e169"; } }  
208 -.glyphicon-export { &:before { content: "\e170"; } }  
209 -.glyphicon-send { &:before { content: "\e171"; } }  
210 -.glyphicon-floppy-disk { &:before { content: "\e172"; } }  
211 -.glyphicon-floppy-saved { &:before { content: "\e173"; } }  
212 -.glyphicon-floppy-remove { &:before { content: "\e174"; } }  
213 -.glyphicon-floppy-save { &:before { content: "\e175"; } }  
214 -.glyphicon-floppy-open { &:before { content: "\e176"; } }  
215 -.glyphicon-credit-card { &:before { content: "\e177"; } }  
216 -.glyphicon-transfer { &:before { content: "\e178"; } }  
217 -.glyphicon-cutlery { &:before { content: "\e179"; } }  
218 -.glyphicon-header { &:before { content: "\e180"; } }  
219 -.glyphicon-compressed { &:before { content: "\e181"; } }  
220 -.glyphicon-earphone { &:before { content: "\e182"; } }  
221 -.glyphicon-phone-alt { &:before { content: "\e183"; } }  
222 -.glyphicon-tower { &:before { content: "\e184"; } }  
223 -.glyphicon-stats { &:before { content: "\e185"; } }  
224 -.glyphicon-sd-video { &:before { content: "\e186"; } }  
225 -.glyphicon-hd-video { &:before { content: "\e187"; } }  
226 -.glyphicon-subtitles { &:before { content: "\e188"; } }  
227 -.glyphicon-sound-stereo { &:before { content: "\e189"; } }  
228 -.glyphicon-sound-dolby { &:before { content: "\e190"; } }  
229 -.glyphicon-sound-5-1 { &:before { content: "\e191"; } }  
230 -.glyphicon-sound-6-1 { &:before { content: "\e192"; } }  
231 -.glyphicon-sound-7-1 { &:before { content: "\e193"; } }  
232 -.glyphicon-copyright-mark { &:before { content: "\e194"; } }  
233 -.glyphicon-registration-mark { &:before { content: "\e195"; } }  
234 -.glyphicon-cloud-download { &:before { content: "\e197"; } }  
235 -.glyphicon-cloud-upload { &:before { content: "\e198"; } }  
236 -.glyphicon-tree-conifer { &:before { content: "\e199"; } }  
237 -.glyphicon-tree-deciduous { &:before { content: "\e200"; } }  
238 -.glyphicon-cd { &:before { content: "\e201"; } }  
239 -.glyphicon-save-file { &:before { content: "\e202"; } }  
240 -.glyphicon-open-file { &:before { content: "\e203"; } }  
241 -.glyphicon-level-up { &:before { content: "\e204"; } }  
242 -.glyphicon-copy { &:before { content: "\e205"; } }  
243 -.glyphicon-paste { &:before { content: "\e206"; } }  
244 -// The following 2 Glyphicons are omitted for the time being because  
245 -// they currently use Unicode codepoints that are outside the  
246 -// Basic Multilingual Plane (BMP). Older buggy versions of WebKit can't handle  
247 -// non-BMP codepoints in CSS string escapes, and thus can't display these two icons.  
248 -// Notably, the bug affects some older versions of the Android Browser.  
249 -// More info: https://github.com/twbs/bootstrap/issues/10106  
250 -// .glyphicon-door { &:before { content: "\1f6aa"; } }  
251 -// .glyphicon-key { &:before { content: "\1f511"; } }  
252 -.glyphicon-alert { &:before { content: "\e209"; } }  
253 -.glyphicon-equalizer { &:before { content: "\e210"; } }  
254 -.glyphicon-king { &:before { content: "\e211"; } }  
255 -.glyphicon-queen { &:before { content: "\e212"; } }  
256 -.glyphicon-pawn { &:before { content: "\e213"; } }  
257 -.glyphicon-bishop { &:before { content: "\e214"; } }  
258 -.glyphicon-knight { &:before { content: "\e215"; } }  
259 -.glyphicon-baby-formula { &:before { content: "\e216"; } }  
260 -.glyphicon-tent { &:before { content: "\26fa"; } }  
261 -.glyphicon-blackboard { &:before { content: "\e218"; } }  
262 -.glyphicon-bed { &:before { content: "\e219"; } }  
263 -.glyphicon-apple { &:before { content: "\f8ff"; } }  
264 -.glyphicon-erase { &:before { content: "\e221"; } }  
265 -.glyphicon-hourglass { &:before { content: "\231b"; } }  
266 -.glyphicon-lamp { &:before { content: "\e223"; } }  
267 -.glyphicon-duplicate { &:before { content: "\e224"; } }  
268 -.glyphicon-piggy-bank { &:before { content: "\e225"; } }  
269 -.glyphicon-scissors { &:before { content: "\e226"; } }  
270 -.glyphicon-bitcoin { &:before { content: "\e227"; } }  
271 -.glyphicon-btc { &:before { content: "\e227"; } }  
272 -.glyphicon-xbt { &:before { content: "\e227"; } }  
273 -.glyphicon-yen { &:before { content: "\00a5"; } }  
274 -.glyphicon-jpy { &:before { content: "\00a5"; } }  
275 -.glyphicon-ruble { &:before { content: "\20bd"; } }  
276 -.glyphicon-rub { &:before { content: "\20bd"; } }  
277 -.glyphicon-scale { &:before { content: "\e230"; } }  
278 -.glyphicon-ice-lolly { &:before { content: "\e231"; } }  
279 -.glyphicon-ice-lolly-tasted { &:before { content: "\e232"; } }  
280 -.glyphicon-education { &:before { content: "\e233"; } }  
281 -.glyphicon-option-horizontal { &:before { content: "\e234"; } }  
282 -.glyphicon-option-vertical { &:before { content: "\e235"; } }  
283 -.glyphicon-menu-hamburger { &:before { content: "\e236"; } }  
284 -.glyphicon-modal-window { &:before { content: "\e237"; } }  
285 -.glyphicon-oil { &:before { content: "\e238"; } }  
286 -.glyphicon-grain { &:before { content: "\e239"; } }  
287 -.glyphicon-sunglasses { &:before { content: "\e240"; } }  
288 -.glyphicon-text-size { &:before { content: "\e241"; } }  
289 -.glyphicon-text-color { &:before { content: "\e242"; } }  
290 -.glyphicon-text-background { &:before { content: "\e243"; } }  
291 -.glyphicon-object-align-top { &:before { content: "\e244"; } }  
292 -.glyphicon-object-align-bottom { &:before { content: "\e245"; } }  
293 -.glyphicon-object-align-horizontal{ &:before { content: "\e246"; } }  
294 -.glyphicon-object-align-left { &:before { content: "\e247"; } }  
295 -.glyphicon-object-align-vertical { &:before { content: "\e248"; } }  
296 -.glyphicon-object-align-right { &:before { content: "\e249"; } }  
297 -.glyphicon-triangle-right { &:before { content: "\e250"; } }  
298 -.glyphicon-triangle-left { &:before { content: "\e251"; } }  
299 -.glyphicon-triangle-bottom { &:before { content: "\e252"; } }  
300 -.glyphicon-triangle-top { &:before { content: "\e253"; } }  
301 -.glyphicon-console { &:before { content: "\e254"; } }  
302 -.glyphicon-superscript { &:before { content: "\e255"; } }  
303 -.glyphicon-subscript { &:before { content: "\e256"; } }  
304 -.glyphicon-menu-left { &:before { content: "\e257"; } }  
305 -.glyphicon-menu-right { &:before { content: "\e258"; } }  
306 -.glyphicon-menu-down { &:before { content: "\e259"; } }  
307 -.glyphicon-menu-up { &:before { content: "\e260"; } }  
web/assets/vendor/select2/docs/_sass/vendor/bootstrap/_grid.scss
@@ -1,84 +0,0 @@ @@ -1,84 +0,0 @@
1 -//  
2 -// Grid system  
3 -// --------------------------------------------------  
4 -  
5 -  
6 -// Container widths  
7 -//  
8 -// Set the container width, and override it for fixed navbars in media queries.  
9 -  
10 -.container {  
11 - @include container-fixed;  
12 -  
13 - @media (min-width: $screen-sm-min) {  
14 - width: $container-sm;  
15 - }  
16 - @media (min-width: $screen-md-min) {  
17 - width: $container-md;  
18 - }  
19 - @media (min-width: $screen-lg-min) {  
20 - width: $container-lg;  
21 - }  
22 -}  
23 -  
24 -  
25 -// Fluid container  
26 -//  
27 -// Utilizes the mixin meant for fixed width containers, but without any defined  
28 -// width for fluid, full width layouts.  
29 -  
30 -.container-fluid {  
31 - @include container-fixed;  
32 -}  
33 -  
34 -  
35 -// Row  
36 -//  
37 -// Rows contain and clear the floats of your columns.  
38 -  
39 -.row {  
40 - @include make-row;  
41 -}  
42 -  
43 -  
44 -// Columns  
45 -//  
46 -// Common styles for small and large grid columns  
47 -  
48 -@include make-grid-columns;  
49 -  
50 -  
51 -// Extra small grid  
52 -//  
53 -// Columns, offsets, pushes, and pulls for extra small devices like  
54 -// smartphones.  
55 -  
56 -@include make-grid(xs);  
57 -  
58 -  
59 -// Small grid  
60 -//  
61 -// Columns, offsets, pushes, and pulls for the small device range, from phones  
62 -// to tablets.  
63 -  
64 -@media (min-width: $screen-sm-min) {  
65 - @include make-grid(sm);  
66 -}  
67 -  
68 -  
69 -// Medium grid  
70 -//  
71 -// Columns, offsets, pushes, and pulls for the desktop device range.  
72 -  
73 -@media (min-width: $screen-md-min) {  
74 - @include make-grid(md);  
75 -}  
76 -  
77 -  
78 -// Large grid  
79 -//  
80 -// Columns, offsets, pushes, and pulls for the large desktop device range.  
81 -  
82 -@media (min-width: $screen-lg-min) {  
83 - @include make-grid(lg);  
84 -}  
web/assets/vendor/select2/docs/_sass/vendor/bootstrap/_input-groups.scss
@@ -1,171 +0,0 @@ @@ -1,171 +0,0 @@
1 -//  
2 -// Input groups  
3 -// --------------------------------------------------  
4 -  
5 -// Base styles  
6 -// -------------------------  
7 -.input-group {  
8 - position: relative; // For dropdowns  
9 - display: table;  
10 - border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table  
11 -  
12 - // Undo padding and float of grid classes  
13 - &[class*="col-"] {  
14 - float: none;  
15 - padding-left: 0;  
16 - padding-right: 0;  
17 - }  
18 -  
19 - .form-control {  
20 - // Ensure that the input is always above the *appended* addon button for  
21 - // proper border colors.  
22 - position: relative;  
23 - z-index: 2;  
24 -  
25 - // IE9 fubars the placeholder attribute in text inputs and the arrows on  
26 - // select elements in input groups. To fix it, we float the input. Details:  
27 - // https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855  
28 - float: left;  
29 -  
30 - width: 100%;  
31 - margin-bottom: 0;  
32 -  
33 - &:focus {  
34 - z-index: 3;  
35 - }  
36 - }  
37 -}  
38 -  
39 -// Sizing options  
40 -//  
41 -// Remix the default form control sizing classes into new ones for easier  
42 -// manipulation.  
43 -  
44 -.input-group-lg > .form-control,  
45 -.input-group-lg > .input-group-addon,  
46 -.input-group-lg > .input-group-btn > .btn {  
47 - @extend .input-lg;  
48 -}  
49 -.input-group-sm > .form-control,  
50 -.input-group-sm > .input-group-addon,  
51 -.input-group-sm > .input-group-btn > .btn {  
52 - @extend .input-sm;  
53 -}  
54 -  
55 -  
56 -// Display as table-cell  
57 -// -------------------------  
58 -.input-group-addon,  
59 -.input-group-btn,  
60 -.input-group .form-control {  
61 - display: table-cell;  
62 -  
63 - &:not(:first-child):not(:last-child) {  
64 - border-radius: 0;  
65 - }  
66 -}  
67 -// Addon and addon wrapper for buttons  
68 -.input-group-addon,  
69 -.input-group-btn {  
70 - width: 1%;  
71 - white-space: nowrap;  
72 - vertical-align: middle; // Match the inputs  
73 -}  
74 -  
75 -// Text input groups  
76 -// -------------------------  
77 -.input-group-addon {  
78 - padding: $padding-base-vertical $padding-base-horizontal;  
79 - font-size: $font-size-base;  
80 - font-weight: normal;  
81 - line-height: 1;  
82 - color: $input-color;  
83 - text-align: center;  
84 - background-color: $input-group-addon-bg;  
85 - border: 1px solid $input-group-addon-border-color;  
86 - border-radius: $input-border-radius;  
87 -  
88 - // Sizing  
89 - &.input-sm {  
90 - padding: $padding-small-vertical $padding-small-horizontal;  
91 - font-size: $font-size-small;  
92 - border-radius: $input-border-radius-small;  
93 - }  
94 - &.input-lg {  
95 - padding: $padding-large-vertical $padding-large-horizontal;  
96 - font-size: $font-size-large;  
97 - border-radius: $input-border-radius-large;  
98 - }  
99 -  
100 - // Nuke default margins from checkboxes and radios to vertically center within.  
101 - input[type="radio"],  
102 - input[type="checkbox"] {  
103 - margin-top: 0;  
104 - }  
105 -}  
106 -  
107 -// Reset rounded corners  
108 -.input-group .form-control:first-child,  
109 -.input-group-addon:first-child,  
110 -.input-group-btn:first-child > .btn,  
111 -.input-group-btn:first-child > .btn-group > .btn,  
112 -.input-group-btn:first-child > .dropdown-toggle,  
113 -.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),  
114 -.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {  
115 - @include border-right-radius(0);  
116 -}  
117 -.input-group-addon:first-child {  
118 - border-right: 0;  
119 -}  
120 -.input-group .form-control:last-child,  
121 -.input-group-addon:last-child,  
122 -.input-group-btn:last-child > .btn,  
123 -.input-group-btn:last-child > .btn-group > .btn,  
124 -.input-group-btn:last-child > .dropdown-toggle,  
125 -.input-group-btn:first-child > .btn:not(:first-child),  
126 -.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {  
127 - @include border-left-radius(0);  
128 -}  
129 -.input-group-addon:last-child {  
130 - border-left: 0;  
131 -}  
132 -  
133 -// Button input groups  
134 -// -------------------------  
135 -.input-group-btn {  
136 - position: relative;  
137 - // Jankily prevent input button groups from wrapping with `white-space` and  
138 - // `font-size` in combination with `inline-block` on buttons.  
139 - font-size: 0;  
140 - white-space: nowrap;  
141 -  
142 - // Negative margin for spacing, position for bringing hovered/focused/actived  
143 - // element above the siblings.  
144 - > .btn {  
145 - position: relative;  
146 - + .btn {  
147 - margin-left: -1px;  
148 - }  
149 - // Bring the "active" button to the front  
150 - &:hover,  
151 - &:focus,  
152 - &:active {  
153 - z-index: 2;  
154 - }  
155 - }  
156 -  
157 - // Negative margin to only have a 1px border between the two  
158 - &:first-child {  
159 - > .btn,  
160 - > .btn-group {  
161 - margin-right: -1px;  
162 - }  
163 - }  
164 - &:last-child {  
165 - > .btn,  
166 - > .btn-group {  
167 - z-index: 2;  
168 - margin-left: -1px;  
169 - }  
170 - }  
171 -}  
web/assets/vendor/select2/docs/_sass/vendor/bootstrap/_jumbotron.scss
@@ -1,54 +0,0 @@ @@ -1,54 +0,0 @@
1 -//  
2 -// Jumbotron  
3 -// --------------------------------------------------  
4 -  
5 -  
6 -.jumbotron {  
7 - padding-top: $jumbotron-padding;  
8 - padding-bottom: $jumbotron-padding;  
9 - margin-bottom: $jumbotron-padding;  
10 - color: $jumbotron-color;  
11 - background-color: $jumbotron-bg;  
12 -  
13 - h1,  
14 - .h1 {  
15 - color: $jumbotron-heading-color;  
16 - }  
17 -  
18 - p {  
19 - margin-bottom: ($jumbotron-padding / 2);  
20 - font-size: $jumbotron-font-size;  
21 - font-weight: 200;  
22 - }  
23 -  
24 - > hr {  
25 - border-top-color: darken($jumbotron-bg, 10%);  
26 - }  
27 -  
28 - .container &,  
29 - .container-fluid & {  
30 - border-radius: $border-radius-large; // Only round corners at higher resolutions if contained in a container  
31 - padding-left: ($grid-gutter-width / 2);  
32 - padding-right: ($grid-gutter-width / 2);  
33 - }  
34 -  
35 - .container {  
36 - max-width: 100%;  
37 - }  
38 -  
39 - @media screen and (min-width: $screen-sm-min) {  
40 - padding-top: ($jumbotron-padding * 1.6);  
41 - padding-bottom: ($jumbotron-padding * 1.6);  
42 -  
43 - .container &,  
44 - .container-fluid & {  
45 - padding-left: ($jumbotron-padding * 2);  
46 - padding-right: ($jumbotron-padding * 2);  
47 - }  
48 -  
49 - h1,  
50 - .h1 {  
51 - font-size: $jumbotron-heading-font-size;  
52 - }  
53 - }  
54 -}  
web/assets/vendor/select2/docs/_sass/vendor/bootstrap/_labels.scss
@@ -1,66 +0,0 @@ @@ -1,66 +0,0 @@
1 -//  
2 -// Labels  
3 -// --------------------------------------------------  
4 -  
5 -.label {  
6 - display: inline;  
7 - padding: .2em .6em .3em;  
8 - font-size: 75%;  
9 - font-weight: bold;  
10 - line-height: 1;  
11 - color: $label-color;  
12 - text-align: center;  
13 - white-space: nowrap;  
14 - vertical-align: baseline;  
15 - border-radius: .25em;  
16 -  
17 - // [converter] extracted a& to a.label  
18 -  
19 - // Empty labels collapse automatically (not available in IE8)  
20 - &:empty {  
21 - display: none;  
22 - }  
23 -  
24 - // Quick fix for labels in buttons  
25 - .btn & {  
26 - position: relative;  
27 - top: -1px;  
28 - }  
29 -}  
30 -  
31 -// Add hover effects, but only for links  
32 -a.label {  
33 - &:hover,  
34 - &:focus {  
35 - color: $label-link-hover-color;  
36 - text-decoration: none;  
37 - cursor: pointer;  
38 - }  
39 -}  
40 -  
41 -// Colors  
42 -// Contextual variations (linked labels get darker on :hover)  
43 -  
44 -.label-default {  
45 - @include label-variant($label-default-bg);  
46 -}  
47 -  
48 -.label-primary {  
49 - @include label-variant($label-primary-bg);  
50 -}  
51 -  
52 -.label-success {  
53 - @include label-variant($label-success-bg);  
54 -}  
55 -  
56 -.label-info {  
57 - @include label-variant($label-info-bg);  
58 -}  
59 -  
60 -.label-warning {  
61 - @include label-variant($label-warning-bg);  
62 -}  
63 -  
64 -.label-danger {  
65 - @include label-variant($label-danger-bg);  
66 -}  
web/assets/vendor/select2/docs/_sass/vendor/bootstrap/_list-group.scss
@@ -1,130 +0,0 @@ @@ -1,130 +0,0 @@
1 -//  
2 -// List groups  
3 -// --------------------------------------------------  
4 -  
5 -  
6 -// Base class  
7 -//  
8 -// Easily usable on <ul>, <ol>, or <div>.  
9 -  
10 -.list-group {  
11 - // No need to set list-style: none; since .list-group-item is block level  
12 - margin-bottom: 20px;  
13 - padding-left: 0; // reset padding because ul and ol  
14 -}  
15 -  
16 -  
17 -// Individual list items  
18 -//  
19 -// Use on `li`s or `div`s within the `.list-group` parent.  
20 -  
21 -.list-group-item {  
22 - position: relative;  
23 - display: block;  
24 - padding: 10px 15px;  
25 - // Place the border on the list items and negative margin up for better styling  
26 - margin-bottom: -1px;  
27 - background-color: $list-group-bg;  
28 - border: 1px solid $list-group-border;  
29 -  
30 - // Round the first and last items  
31 - &:first-child {  
32 - @include border-top-radius($list-group-border-radius);  
33 - }  
34 - &:last-child {  
35 - margin-bottom: 0;  
36 - @include border-bottom-radius($list-group-border-radius);  
37 - }  
38 -}  
39 -  
40 -  
41 -// Interactive list items  
42 -//  
43 -// Use anchor or button elements instead of `li`s or `div`s to create interactive items.  
44 -// Includes an extra `.active` modifier class for showing selected items.  
45 -  
46 -a.list-group-item,  
47 -button.list-group-item {  
48 - color: $list-group-link-color;  
49 -  
50 - .list-group-item-heading {  
51 - color: $list-group-link-heading-color;  
52 - }  
53 -  
54 - // Hover state  
55 - &:hover,  
56 - &:focus {  
57 - text-decoration: none;  
58 - color: $list-group-link-hover-color;  
59 - background-color: $list-group-hover-bg;  
60 - }  
61 -}  
62 -  
63 -button.list-group-item {  
64 - width: 100%;  
65 - text-align: left;  
66 -}  
67 -  
68 -.list-group-item {  
69 - // Disabled state  
70 - &.disabled,  
71 - &.disabled:hover,  
72 - &.disabled:focus {  
73 - background-color: $list-group-disabled-bg;  
74 - color: $list-group-disabled-color;  
75 - cursor: $cursor-disabled;  
76 -  
77 - // Force color to inherit for custom content  
78 - .list-group-item-heading {  
79 - color: inherit;  
80 - }  
81 - .list-group-item-text {  
82 - color: $list-group-disabled-text-color;  
83 - }  
84 - }  
85 -  
86 - // Active class on item itself, not parent  
87 - &.active,  
88 - &.active:hover,  
89 - &.active:focus {  
90 - z-index: 2; // Place active items above their siblings for proper border styling  
91 - color: $list-group-active-color;  
92 - background-color: $list-group-active-bg;  
93 - border-color: $list-group-active-border;  
94 -  
95 - // Force color to inherit for custom content  
96 - .list-group-item-heading,  
97 - .list-group-item-heading > small,  
98 - .list-group-item-heading > .small {  
99 - color: inherit;  
100 - }  
101 - .list-group-item-text {  
102 - color: $list-group-active-text-color;  
103 - }  
104 - }  
105 -}  
106 -  
107 -  
108 -// Contextual variants  
109 -//  
110 -// Add modifier classes to change text and background color on individual items.  
111 -// Organizationally, this must come after the `:hover` states.  
112 -  
113 -@include list-group-item-variant(success, $state-success-bg, $state-success-text);  
114 -@include list-group-item-variant(info, $state-info-bg, $state-info-text);  
115 -@include list-group-item-variant(warning, $state-warning-bg, $state-warning-text);  
116 -@include list-group-item-variant(danger, $state-danger-bg, $state-danger-text);  
117 -  
118 -  
119 -// Custom content options  
120 -//  
121 -// Extra classes for creating well-formatted content within `.list-group-item`s.  
122 -  
123 -.list-group-item-heading {  
124 - margin-top: 0;  
125 - margin-bottom: 5px;  
126 -}  
127 -.list-group-item-text {  
128 - margin-bottom: 0;  
129 - line-height: 1.3;  
130 -}  
web/assets/vendor/select2/docs/_sass/vendor/bootstrap/_media.scss
@@ -1,66 +0,0 @@ @@ -1,66 +0,0 @@
1 -.media {  
2 - // Proper spacing between instances of .media  
3 - margin-top: 15px;  
4 -  
5 - &:first-child {  
6 - margin-top: 0;  
7 - }  
8 -}  
9 -  
10 -.media,  
11 -.media-body {  
12 - zoom: 1;  
13 - overflow: hidden;  
14 -}  
15 -  
16 -.media-body {  
17 - width: 10000px;  
18 -}  
19 -  
20 -.media-object {  
21 - display: block;  
22 -  
23 - // Fix collapse in webkit from max-width: 100% and display: table-cell.  
24 - &.img-thumbnail {  
25 - max-width: none;  
26 - }  
27 -}  
28 -  
29 -.media-right,  
30 -.media > .pull-right {  
31 - padding-left: 10px;  
32 -}  
33 -  
34 -.media-left,  
35 -.media > .pull-left {  
36 - padding-right: 10px;  
37 -}  
38 -  
39 -.media-left,  
40 -.media-right,  
41 -.media-body {  
42 - display: table-cell;  
43 - vertical-align: top;  
44 -}  
45 -  
46 -.media-middle {  
47 - vertical-align: middle;  
48 -}  
49 -  
50 -.media-bottom {  
51 - vertical-align: bottom;  
52 -}  
53 -  
54 -// Reset margins on headings for tighter default spacing  
55 -.media-heading {  
56 - margin-top: 0;  
57 - margin-bottom: 5px;  
58 -}  
59 -  
60 -// Media list variation  
61 -//  
62 -// Undo default ul/ol styles  
63 -.media-list {  
64 - padding-left: 0;  
65 - list-style: none;  
66 -}