Compare commits
1297 commits
Author | SHA1 | Date | |
---|---|---|---|
|
d2f3937764 | ||
|
49f8076291 | ||
|
b73238fbe7 | ||
|
1f97288d96 | ||
|
752eabba47 | ||
|
c94dfadc7f | ||
|
1da125f11e | ||
|
69bcf1a034 | ||
|
69aab8d2d3 | ||
|
e809aa0fee | ||
|
0d37eed52b | ||
|
884a1a6930 | ||
|
37773d408f | ||
|
796ab7bf41 | ||
|
203e833153 | ||
|
08a407e7d1 | ||
|
032d964948 | ||
|
ca1bbd0738 | ||
|
d18d9b6b71 | ||
|
016f628954 | ||
|
deda455aac | ||
|
34689368df | ||
|
7c67f3e9b6 | ||
|
7c4131bc27 | ||
|
31931a4212 | ||
|
2c5467b38c | ||
|
233424da2b | ||
|
2e4c11339c | ||
|
3bc5e4ee40 | ||
|
5f78d824ac | ||
|
581308337a | ||
|
7688be5db5 | ||
|
e1d64e92c4 | ||
|
a31d56d47b | ||
|
120065ed46 | ||
|
c95ed1796a | ||
|
dea726d065 | ||
|
bff3a777ae | ||
|
29d01a00c5 | ||
|
b3c6d3ebfe | ||
|
5e32678e49 | ||
|
c891d2ec72 | ||
|
8cb7e33766 | ||
|
b4c3eccd7b | ||
|
3606801728 | ||
|
fe208f1f86 | ||
|
891993e39b | ||
|
dafddb73c8 | ||
|
7b1367c6a0 | ||
|
e0560c74f7 | ||
|
748d279107 | ||
|
82c51a319c | ||
|
8b9a99d286 | ||
|
91838fe0a6 | ||
|
ffd98a493b | ||
|
6758bb50b9 | ||
|
f025d675a9 | ||
|
d6acc57a7c | ||
|
7f0800ceba | ||
|
2a80567151 | ||
|
3d52d08063 | ||
|
5f1a91c447 | ||
|
919373e481 | ||
|
64e829e447 | ||
|
d0c5aca962 | ||
|
01e68f4dd7 | ||
|
357c2a11c2 | ||
|
9e4f842fb1 | ||
|
d8d2aa5b03 | ||
|
bdeb9075f5 | ||
|
3f8c3c54a3 | ||
|
f8ded17ae7 | ||
|
d54560f21e | ||
|
1a6d4a1ad8 | ||
|
4afa7f88a4 | ||
|
ed4b780dbb | ||
|
330ae4a165 | ||
|
4db849cd99 | ||
|
dc4e83379c | ||
|
7fab80268f | ||
|
9ad1b9107b | ||
|
7b9cfcaaa0 | ||
|
f13ba12bea | ||
|
2ccdcb57c6 | ||
|
e5131d0cc8 | ||
|
f14bdf6b7b | ||
|
472e5ad50f | ||
|
525f661915 | ||
|
efbfd14414 | ||
|
6645ffd4bd | ||
|
1f3eceba5a | ||
|
2fce8ae6c4 | ||
|
f2d527ea97 | ||
|
89576153a0 | ||
|
6f88568c99 | ||
|
dd90704377 | ||
|
eeefa1e449 | ||
|
5005c564c2 | ||
|
8b55e47604 | ||
|
6fbe132e50 | ||
|
bbd320d75e | ||
|
1b5a962819 | ||
|
d9260254c1 | ||
|
8a5aeabcce | ||
|
9c4f0c86a1 | ||
|
1f79acbe5f | ||
|
1c394a421b | ||
|
03e1b69751 | ||
|
bd7ac9df03 | ||
|
b5f136ff72 | ||
|
f9decd6094 | ||
|
9491e1aae2 | ||
|
d66e55dd9e | ||
|
5d2fdd75b5 | ||
|
70ca392a43 | ||
|
36b226d509 | ||
|
d53958ad2b | ||
|
0a612f92e1 | ||
|
ad0451d2fd | ||
|
8020724bd2 | ||
|
04fce55967 | ||
|
f8193c6c82 | ||
|
5285eef7b5 | ||
|
20ffd1296a | ||
|
d0ddab6ceb | ||
|
df3c343490 | ||
|
2596f2ab9c | ||
|
647533e981 | ||
|
48e2f56fea | ||
|
f6c455cea9 | ||
|
2a5f46bcc4 | ||
|
39bfabd94b | ||
|
a1bd03c408 | ||
|
3c26bd0ebd | ||
|
6009970b10 | ||
|
5dcc1022bf | ||
|
3e9809d715 | ||
|
a2bfa6c867 | ||
|
a8ea4cc3e3 | ||
|
b4aa3529f3 | ||
|
650035cf38 | ||
|
9f8b6fff40 | ||
|
5977856d81 | ||
|
a9c1b617fa | ||
|
9032705e2a | ||
|
97c5304518 | ||
|
b3705b13be | ||
|
d86894d890 | ||
|
14a059d7ee | ||
|
933189b92e | ||
|
db30f66afc | ||
|
f546886b92 | ||
|
aac9916894 | ||
|
c2acb18509 | ||
|
1062187958 | ||
|
1764b8420f | ||
|
9ffcc260a0 | ||
|
8bc269d63e | ||
|
2ea17181e3 | ||
|
e15046e959 | ||
|
2b049c08ab | ||
|
165f945937 | ||
|
3b44ae2997 | ||
|
8fc2e93fd9 | ||
|
e67c9aa34d | ||
|
2c613555ec | ||
|
7c50570624 | ||
|
60ee4a1179 | ||
|
5968dccc4c | ||
|
ec7c57c288 | ||
|
9e613ff22e | ||
|
663a7d193d | ||
|
591e6a4855 | ||
|
ce57141fe3 | ||
|
d1a57156f7 | ||
|
69098b179d | ||
|
3fb9e4fceb | ||
|
4346273721 | ||
|
83631cd87b | ||
|
26c8b9fa07 | ||
|
61ba192a3a | ||
|
c90adc102b | ||
|
34e8b695f0 | ||
|
0087114474 | ||
|
eeba16b9c4 | ||
|
0ad18a00b8 | ||
|
6d0ecbc912 | ||
|
944dfd87d3 | ||
|
33f5500adf | ||
|
ee6bb70131 | ||
|
5424333425 | ||
|
e02b34ba0f | ||
|
71b74d9d38 | ||
|
14f53e7e41 | ||
|
bca6a50331 | ||
|
45ee7340e5 | ||
|
6eee443d67 | ||
|
d9b8624682 | ||
|
a48382e44d | ||
|
1864a3d538 | ||
|
62c4f6332b | ||
|
77acc56a1e | ||
|
16391c3f58 | ||
|
20429201c8 | ||
|
05208f9775 | ||
|
7ca986701a | ||
|
254d3ba422 | ||
|
01d881c8ae | ||
|
e1cda22475 | ||
|
edf1ba17cb | ||
|
2270afa6c7 | ||
|
6d35b1931b | ||
|
8398788069 | ||
|
6ff10680a6 | ||
|
a395ad1d75 | ||
|
3d8864bcfa | ||
|
cd08d805a4 | ||
|
c56c20cff0 | ||
|
50bf3cdd59 | ||
|
04d3a5da66 | ||
|
10bda78b37 | ||
|
43ffaea244 | ||
|
18929d6e5a | ||
|
09688ff6d2 | ||
|
1cf42cf6a8 | ||
|
e2c654b0ec | ||
|
ef2ef8b685 | ||
|
7d41ea153e | ||
|
ebf10c93db | ||
|
a0df1e86dd | ||
|
633e707424 | ||
|
2a21adeb2e | ||
|
a3952c7302 | ||
|
65f85c3109 | ||
|
46ed8ae3ae | ||
|
58d9836b7d | ||
|
dac0433e2f | ||
|
b11d6e20b0 | ||
|
d9703c4d1d | ||
|
27a29f21e9 | ||
|
b559310216 | ||
|
bf6c3c90af | ||
|
f0a3058c4d | ||
|
131743d255 | ||
|
f764f89325 | ||
|
887465f4ae | ||
|
e382d971d6 | ||
|
01f821f307 | ||
|
e6bd9d72ac | ||
|
fffbad9463 | ||
|
b746ddbd90 | ||
|
7eef84ec1a | ||
|
93c163965d | ||
|
444906bb6d | ||
|
e04675a234 | ||
|
94b06e64c1 | ||
|
5fc339ba88 | ||
|
a929ef9bef | ||
|
3e06ef43b9 | ||
|
e579207ab9 | ||
|
23b3896bcf | ||
|
7c13ecc795 | ||
|
c1e62b7db7 | ||
|
0cc279ac75 | ||
|
671a87c764 | ||
|
398870d982 | ||
|
3561810a64 | ||
|
ed24c34028 | ||
|
389aa1ab97 | ||
|
1afea17194 | ||
|
bdc70c80a0 | ||
|
9f55c376d2 | ||
|
22e73a5586 | ||
|
dbe4b3d551 | ||
|
4930f735fa | ||
|
b81e62a2eb | ||
|
16f6b10628 | ||
|
4780f074aa | ||
|
2855656a2d | ||
|
41edff388b | ||
|
a4ec7fa0c6 | ||
|
904d9b11d1 | ||
|
a12c134c90 | ||
|
0f75431d8d | ||
|
5a9c29462b | ||
|
139fb04f92 | ||
|
2b8f165539 | ||
|
2a7ddab2ff | ||
|
12b757a116 | ||
|
5ce020f263 | ||
|
c4544077ae | ||
|
b61b7f4892 | ||
|
890fe27a21 | ||
|
d2655a89ba | ||
|
356920421a | ||
|
275ae05128 | ||
|
361f7fc312 | ||
|
c9bd2ad716 | ||
|
94b14f35a5 | ||
|
7fd65b3025 | ||
|
6657444d29 | ||
|
46f6f76aad | ||
|
7b3e8c8c92 | ||
|
da40dfbcc4 | ||
|
553f6aa00d | ||
|
fa1d12582c | ||
|
a2482bd416 | ||
|
88b84f7474 | ||
|
9cf5eb33d5 | ||
|
4175214444 | ||
|
a3a8de87e3 | ||
|
4fc911f198 | ||
|
af5c13f515 | ||
|
ec6901d89f | ||
|
a05a26b3be | ||
|
67328e3a55 | ||
|
b9ec2edede | ||
|
2eadef964f | ||
|
06d2293f3e | ||
|
ca4de9dcb0 | ||
|
5f7feeb801 | ||
|
50fa14c2d1 | ||
|
08f6165dc6 | ||
|
7ca42508a8 | ||
|
cdd620d763 | ||
|
748eff7c4a | ||
|
bb1fda2654 | ||
|
94c5c3a3fe | ||
|
38286400ca | ||
|
7d0701399d | ||
|
0257a66590 | ||
|
29619aa43a | ||
|
05cc3a577a | ||
|
0bbf614ee3 | ||
|
60e3925128 | ||
|
89c517b589 | ||
|
22ac9d5f20 | ||
|
b0e5197e00 | ||
|
0459ac89f5 | ||
|
787d20ef0c | ||
|
96f5f724d9 | ||
|
f13ea6f5ff | ||
|
8534d3e2ef | ||
|
9a79140920 | ||
|
1b2d0424e9 | ||
|
dbb1132b7e | ||
|
5330a0cc62 | ||
|
575e862f98 | ||
|
d914a6d5f5 | ||
|
5a7f832f12 | ||
|
3bc4522200 | ||
|
25fdc6bef4 | ||
|
53c4c97411 | ||
|
32ba6d7573 | ||
|
a4a095bda8 | ||
|
d6ccd09f5b | ||
|
5bb7446d24 | ||
|
e43a1f2165 | ||
|
f38d84df71 | ||
|
a587e39288 | ||
|
e5fc98dda9 | ||
|
2b3dd18d35 | ||
|
d01457702d | ||
|
946149277e | ||
|
c155ca5b60 | ||
|
fafcc103a6 | ||
|
d54135c444 | ||
|
f3d1f5d0b8 | ||
|
f2ae054f21 | ||
|
36927664b3 | ||
|
bae34d4f8a | ||
|
576f93778d | ||
|
8dc02bcfb8 | ||
|
4ee9f7b5e2 | ||
|
04c433d709 | ||
|
cd7d4be576 | ||
|
751b36767f | ||
|
f6fa52dcc0 | ||
|
fd4a082531 | ||
|
a018dd84a7 | ||
|
3b8a5d3660 | ||
|
763b3cef3f | ||
|
04d582123d | ||
|
45a8773454 | ||
|
288f0283b1 | ||
|
0358ee5287 | ||
|
16b4840c0e | ||
|
5313143fdf | ||
|
c8d1c312c8 | ||
|
0a67287c7a | ||
|
625fc78ee6 | ||
|
f3788e2cda | ||
|
8fcc6202c3 | ||
|
8e6422c570 | ||
|
4df965219e | ||
|
7d1d133523 | ||
|
1167bace78 | ||
|
cb9a904578 | ||
|
124087ae2a | ||
|
3a1603ce03 | ||
|
321a2460eb | ||
|
69600667e6 | ||
|
793811757b | ||
|
563198a4a2 | ||
|
3f874a1db4 | ||
|
062c6c3af5 | ||
|
ed5707a3d4 | ||
|
3f8492b62f | ||
|
6f21865d8a | ||
|
d2d7a9c381 | ||
|
3a67616c2f | ||
|
294e7e664d | ||
|
083c2112df | ||
|
ffe780db53 | ||
|
566c7846fb | ||
|
24a8d73a99 | ||
|
2343fd4ae4 | ||
|
8bc4f5d41d | ||
|
7eab29e271 | ||
|
7505347a69 | ||
|
d34bff5797 | ||
|
a74547aaa7 | ||
|
2805fa7aa4 | ||
|
ea79a197e0 | ||
|
a75482fd30 | ||
|
99c248cc34 | ||
|
4b9e02f022 | ||
|
481c43883e | ||
|
ad8447cc35 | ||
|
acd3306192 | ||
|
9f581285d8 | ||
|
e897d008a6 | ||
|
b6f0f3a69e | ||
|
8663d1bf0b | ||
|
5fd270c9e4 | ||
|
fba261c670 | ||
|
16e26310e1 | ||
|
6e9657105b | ||
|
a1dc7f23d1 | ||
|
95b1f8b409 | ||
|
76298267f9 | ||
|
54e126a664 | ||
|
07aa8a45b0 | ||
|
b1ea28bb7d | ||
|
3663b44b83 | ||
|
89dcfef94b | ||
|
f3b91d0680 | ||
|
5b5eddd183 | ||
|
5a831afb9a | ||
|
5b207b287e | ||
|
3bc7f4ac78 | ||
|
31e7a1d4c5 | ||
|
b10976bd25 | ||
|
64a79c3a5b | ||
|
98f054fc18 | ||
|
ecdc416635 | ||
|
c099755012 | ||
|
120672dce7 | ||
|
3b8cd2e369 | ||
|
cfb66f5e4f | ||
|
fe26b083eb | ||
|
ac254ff68d | ||
|
c2c1aeef31 | ||
|
8869b170b1 | ||
|
84d6b5d840 | ||
|
962fd63a67 | ||
|
78cac8972a | ||
|
0212edda95 | ||
|
a7738c4517 | ||
|
a797833e10 | ||
|
6844be777b | ||
|
622a619d25 | ||
|
68a199fc98 | ||
|
3783354d02 | ||
|
72d905f9e0 | ||
|
4901e221c9 | ||
|
18a453ed9e | ||
|
f2268caf23 | ||
|
296d2f8879 | ||
|
664210c271 | ||
|
eae6fcc2bd | ||
|
37dbe059fc | ||
|
7f8e9dc62a | ||
|
ac109685a0 | ||
|
6369f5f173 | ||
|
81a4a68b11 | ||
|
a5e539b509 | ||
|
e3f9466d8b | ||
|
d976f1c576 | ||
|
983cd8e765 | ||
|
65179f16de | ||
|
75163d67cb | ||
|
a126b53b4c | ||
|
d5a76aab26 | ||
|
74387b9863 | ||
|
54441e6a22 | ||
|
ff9486bbd2 | ||
|
9b4b9175fc | ||
|
97f7eea9ce | ||
|
0840c3923f | ||
|
ce2204cff0 | ||
|
55aa2c64cc | ||
|
d6bc96d7de | ||
|
69ef214c92 | ||
|
db5e947664 | ||
|
e842797aaf | ||
|
63d531a9c0 | ||
|
f3b9693ad9 | ||
|
d1ed0a513a | ||
|
f58c1efc11 | ||
|
09ecd3cdb9 | ||
|
e260860789 | ||
|
b5a4698250 | ||
|
9c35475c6c | ||
|
c33ba3117b | ||
|
bc19964170 | ||
|
c9216b4b96 | ||
|
393ca4cf7f | ||
|
d504700c53 | ||
|
af97cc9996 | ||
|
32b6eae54b | ||
|
8edf3c6408 | ||
|
5ca76fda61 | ||
|
23743a785c | ||
|
3c8366e876 | ||
|
e2b745ea3e | ||
|
dc516e7073 | ||
|
7e3d4fb697 | ||
|
9fae3d74e3 | ||
|
e08222ef15 | ||
|
5f80c5d9f8 | ||
|
8763a87779 | ||
|
f94b462b15 | ||
|
410916510d | ||
|
1c8d1f8e0d | ||
|
a06a08a028 | ||
|
eae4d01158 | ||
|
6dbe2d9164 | ||
|
7e2ade0965 | ||
|
7eaee2be9e | ||
|
87b182fe2a | ||
|
31a329eb6d | ||
|
878bb3ab07 | ||
|
7c47912b73 | ||
|
ef508db161 | ||
|
d0ce218c0b | ||
|
c53b2dcf11 | ||
|
6d91da7e63 | ||
|
3037b933e2 | ||
|
71cc891b83 | ||
|
7974fd1662 | ||
|
ca0fd7c195 | ||
|
09d825dd31 | ||
|
6be96cfaa1 | ||
|
f3a29b87e1 | ||
|
9b020edd80 | ||
|
8ad8f200ba | ||
|
96fb1bf2d4 | ||
|
19861bfa38 | ||
|
8c26dff234 | ||
|
2b91ac0a20 | ||
|
8ac5f1ddf2 | ||
|
2ff5f6a24c | ||
|
ff4b47bf74 | ||
|
b819a495aa | ||
|
84d1218751 | ||
|
bc82856fb6 | ||
|
46ab1ebc8d | ||
|
119df9b09f | ||
|
e9b89b4ac1 | ||
|
e472cb31f0 | ||
|
4541d83c5d | ||
|
4b5743f22e | ||
|
441fbc2d73 | ||
|
c502961149 | ||
|
a96ec9d91c | ||
|
75abd407c8 | ||
|
41e4795578 | ||
|
ea074af14c | ||
|
e3920eae44 | ||
|
eb47f638d3 | ||
|
89858c418d | ||
|
73e50ae92c | ||
|
b69dd827d0 | ||
|
a86c2e709f | ||
|
49589611ee | ||
|
d9c1cbc976 | ||
|
d08cb874f9 | ||
|
7166935958 | ||
|
8722ae2c81 | ||
|
66ae2ad1d5 | ||
|
dac09005ad | ||
|
ab14751507 | ||
|
eee70fd9af | ||
|
1587708826 | ||
|
989bd02649 | ||
|
ea538819c3 | ||
|
68d068f1d2 | ||
|
7d8f86cbf8 | ||
|
671f5a2ce2 | ||
|
7bc9387de2 | ||
|
700f7908fc | ||
|
716e79b7d4 | ||
|
5021356751 | ||
|
47895b1e45 | ||
|
81a670bd62 | ||
|
e8f4032724 | ||
|
dd2990adea | ||
|
4a1290b4e9 | ||
|
8a26de7c60 | ||
|
4a5d753112 | ||
|
d37d6d6cac | ||
|
512269fa40 | ||
|
acfeaaa015 | ||
|
2932c5448b | ||
|
14832a8ca4 | ||
|
fd9ab0665d | ||
|
00e98e8afc | ||
|
a1bcd3a7ac | ||
|
041a3627b9 | ||
|
74bb22939a | ||
|
af212fa530 | ||
|
f5593e12e4 | ||
|
3422460488 | ||
|
eab609185a | ||
|
80630c42ec | ||
|
bd46b7eaac | ||
|
88503d2c67 | ||
|
698fe7b9e1 | ||
|
d2346cc331 | ||
|
bfaa9e9b41 | ||
|
79cdcc0956 | ||
|
c5a54ed706 | ||
|
02cca7baa7 | ||
|
19c87d3bae | ||
|
4811ff2c59 | ||
|
6a08076c18 | ||
|
5efdc35aeb | ||
|
117f11da21 | ||
|
38f02e9c0f | ||
|
82a7e27984 | ||
|
60a87728b0 | ||
|
2dcc9ef18b | ||
|
6b0ff9f5bd | ||
|
eecbcceb9b | ||
|
d7e137f8a8 | ||
|
d130bd4fa7 | ||
|
ebecea1f98 | ||
|
04a4e41504 | ||
|
599de5bdaf | ||
|
62b2391972 | ||
|
e60ab22a85 | ||
|
d91dfecd98 | ||
|
44cd938dce | ||
|
42739b780e | ||
|
691dfe5340 | ||
|
14e1c4d5f9 | ||
|
44c64cf6da | ||
|
2b8865b3b3 | ||
|
2c627b4875 | ||
|
ab3d5ee884 | ||
|
419242fc16 | ||
|
b4a44ccfdf | ||
|
038c709c8b | ||
|
21bac6a6d8 | ||
|
bd6148e39f | ||
|
fdb2b6aaf2 | ||
|
da5a72c3ac | ||
|
dd9af68934 | ||
|
45cfac7456 | ||
|
b0a1192716 | ||
|
87f5425464 | ||
|
14c6113eef | ||
|
922d54615f | ||
|
dc679f7cbd | ||
|
a2ff7a6046 | ||
|
bc3ce2c5b4 | ||
|
581af39288 | ||
|
fa421cdfc0 | ||
|
83e0f6b034 | ||
|
9c8ddd16b8 | ||
|
13cead0bd0 | ||
|
a0db9efdef | ||
|
5fd72d2052 | ||
|
cc0d662fe6 | ||
|
96abf64472 | ||
|
20b64cfe15 | ||
|
ea70cbc24c | ||
|
45d8486dbb | ||
|
635b8b2f68 | ||
|
60bcff089f | ||
|
60710af6ed | ||
|
dfc8eecdcb | ||
|
f822cd904b | ||
|
b74a0ae6e0 | ||
|
f54993050e | ||
|
a728044fa9 | ||
|
cd13697695 | ||
|
ac1680d81d | ||
|
d166717f5c | ||
|
73fb9a1367 | ||
|
a9beac83c3 | ||
|
ba61678358 | ||
|
bf7d273f89 | ||
|
3ed07a6fda | ||
|
54d2b347b0 | ||
|
197384342b | ||
|
31830c7b32 | ||
|
365ec579b7 | ||
|
fb40644c42 | ||
|
445c48236d | ||
|
b34e5b3925 | ||
|
9d85d7fb41 | ||
|
082dda4830 | ||
|
4b34dc7063 | ||
|
c57a6fea90 | ||
|
4ab6567f1d | ||
|
58eadd5718 | ||
|
f061ada2e1 | ||
|
f033428742 | ||
|
d430ff998e | ||
|
8ddd29ff41 | ||
|
f26cc14874 | ||
|
2cd6e864f7 | ||
|
eb3f4c180b | ||
|
041c7ee8ec | ||
|
eef50c9b94 | ||
|
e0e79dbc4e | ||
|
49b7c312e0 | ||
|
80dbd692db | ||
|
33b637dbf9 | ||
|
f73dc290fd | ||
|
b1a6d357f9 | ||
|
42075c6233 | ||
|
d4b1247640 | ||
|
6a551dfe74 | ||
|
a2b31e2240 | ||
|
7b62c7d444 | ||
|
25a69716ac | ||
|
80eb44bec7 | ||
|
e416e47356 | ||
|
86bf6dc272 | ||
|
b68a7b38a0 | ||
|
25ba1ef1f3 | ||
|
8a1a35aa15 | ||
|
d813feaa7b | ||
|
0474e69e6e | ||
|
15f9922437 | ||
|
481a2f89c9 | ||
|
69d8ac4485 | ||
|
96cb7f56ae | ||
|
d98cbcec21 | ||
|
f8ecee7783 | ||
|
5a44b40ee6 | ||
|
a0b7afbf2f | ||
|
c80b4b0989 | ||
|
d6886fe6dd | ||
|
80899d973f | ||
|
8b344f18b7 | ||
|
439e834b38 | ||
|
102cadf02b | ||
|
7bf7ab16c7 | ||
|
49c03ba6cf | ||
|
ae80d23421 | ||
|
92052cb600 | ||
|
df2122c00f | ||
|
f3f1b31958 | ||
|
4fc874a3ae | ||
|
c24293f2ba | ||
|
a993ed9ca9 | ||
|
878de20d44 | ||
|
e7498987a5 | ||
|
a8e6cbc0c9 | ||
|
00a78bdb1e | ||
|
01160f29d8 | ||
|
da1ec4e028 | ||
|
cc1eefb78f | ||
|
010cf29902 | ||
|
2b9c8b00a7 | ||
|
e10f3b7dae | ||
|
9318980651 | ||
|
c0dadf44a1 | ||
|
54154c3df6 | ||
|
0c573df402 | ||
|
14279a012b | ||
|
1f62eb67e8 | ||
|
9d359c9b38 | ||
|
a6999990b0 | ||
|
607fdf4b4c | ||
|
faed59cd42 | ||
|
69e2d73c42 | ||
|
a06379ce8d | ||
|
5a25c33fc5 | ||
|
e5d97e0de0 | ||
|
d146313256 | ||
|
aa8978e551 | ||
|
fc43f00b59 | ||
|
7e4e8bc9d6 | ||
|
d1e8a6fdad | ||
|
e8fd5a0352 | ||
|
7a1791d5f3 | ||
|
7d19b97aa0 | ||
|
5acd96ee1e | ||
|
a3e8cd8f9b | ||
|
e3d7cd2d69 | ||
|
78c301f4fb | ||
|
7feb90f256 | ||
|
6c0dd6684b | ||
|
55d3c636cc | ||
|
992652bbd2 | ||
|
b9b55cec44 | ||
|
4fb079b34f | ||
|
30974e2422 | ||
|
610381be4a | ||
|
95be140760 | ||
|
0da15aa586 | ||
|
b917754e55 | ||
|
24f3c4777d | ||
|
fff04c3f0c | ||
|
2df4f5385c | ||
|
9006e88047 | ||
|
43480954a4 | ||
|
36431d5718 | ||
|
be9168bc5a | ||
|
a6b5b40eb5 | ||
|
45c815da50 | ||
|
c1bc88eccd | ||
|
d3c887286d | ||
|
9d6752e3ea | ||
|
94875679f8 | ||
|
017c201094 | ||
|
c0839b4f93 | ||
|
61916b2cfb | ||
|
4eaa8c5488 | ||
|
5c9dc0e509 | ||
|
55f995ea21 | ||
|
3630385cf7 | ||
|
5ec852e18c | ||
|
e9bfa72966 | ||
|
956ac46dab | ||
|
170ca5f57b | ||
|
a954bae228 | ||
|
5b95c0e834 | ||
|
9ad1ed8b43 | ||
|
1b707960de | ||
|
a9f6d64b72 | ||
|
dc2f6d451a | ||
|
f367185a8a | ||
|
e88440cab3 | ||
|
e6f249f66d | ||
|
07c4db1de2 | ||
|
e75cd78c51 | ||
|
2988cc2bee | ||
|
e8a12133f8 | ||
|
4271b10531 | ||
|
86c23c0f5c | ||
|
8572299a2e | ||
|
3d013020ae | ||
|
b382fdca9c | ||
|
ef5c88a6f6 | ||
|
72e5c2a50d | ||
|
a2a99e64ba | ||
|
081580bcd8 | ||
|
e383cb573c | ||
|
08014add7c | ||
|
a0c26e1114 | ||
|
d51570e1fe | ||
|
05f5a1b4b5 | ||
|
c3c5f360fc | ||
|
a5532ee8a8 | ||
|
c2326209c2 | ||
|
61a231d868 | ||
|
8f8140e3b0 | ||
|
9d4ec4f85b | ||
|
c9a8508a39 | ||
|
caeb0ec9b7 | ||
|
8aca7a4085 | ||
|
473267404a | ||
|
0c0e2527fa | ||
|
4dda5e7a74 | ||
|
b1c016584b | ||
|
5a825e0cb3 | ||
|
a08179f481 | ||
|
dfbac71c39 | ||
|
0b9fdded01 | ||
|
bcc43139fd | ||
|
e3b5f39695 | ||
|
557f655c86 | ||
|
7155adc718 | ||
|
1349579192 | ||
|
0f7a37b2d6 | ||
|
631ae06c8d | ||
|
1766e31447 | ||
|
78b6faf13e | ||
|
7a8500f198 | ||
|
307ee39bc2 | ||
|
75aa419d0a | ||
|
fabbb734e4 | ||
|
470bc9ff64 | ||
|
34000de9f8 | ||
|
1a7bb5fb54 | ||
|
e93330271d | ||
|
f157245511 | ||
|
862f4b5113 | ||
|
4c563a3d06 | ||
|
5a0f7f5518 | ||
|
01461813d8 | ||
|
36cfc26cc1 | ||
|
a6b5c7df49 | ||
|
2f4737cc86 | ||
|
a4448d3d00 | ||
|
15c827b60f | ||
|
695123a1d2 | ||
|
003d6053a9 | ||
|
000653498f | ||
|
65ff76c543 | ||
|
9906b2f434 | ||
|
52513f3290 | ||
|
285d173536 | ||
|
6488551374 | ||
|
981c4065af | ||
|
bca4e1f6d8 | ||
|
80bda0ad55 | ||
|
686f846fa5 | ||
|
53c9d53166 | ||
|
d81886e5de | ||
|
5b4e1eab42 | ||
|
850816ee77 | ||
|
0fe54b6d3b | ||
|
c318cde916 | ||
|
ffb58a1be8 | ||
|
1b46e8ab3e | ||
|
2f4cc19cd9 | ||
|
f427451853 | ||
|
c5a3f34012 | ||
|
d6a83ea026 | ||
|
061b432485 | ||
|
ae564f6219 | ||
|
b43656c13c | ||
|
2a7ae0ea9c | ||
|
e04188c85a | ||
|
286b83898f | ||
|
7f2cb23e78 | ||
|
911966be78 | ||
|
8d35d5e416 | ||
|
28f9cae5d7 | ||
|
dc0ebd35d5 | ||
|
bc71ad4880 | ||
|
160abdc54e | ||
|
7515fa7f46 | ||
|
25dade52e5 | ||
|
e18fa1b5b8 | ||
|
1c8846079b | ||
|
2bdb5dbdae | ||
|
5dad831f7f | ||
|
8ec202963a | ||
|
95a586539d | ||
|
0e9cfaa893 | ||
|
766d9f05e0 | ||
|
86b4a5d8e2 | ||
|
584d3b48a2 | ||
|
af1f35176b | ||
|
ff596e692e | ||
|
6a5127ac0f | ||
|
0424d97396 | ||
|
e9455e1a84 | ||
|
a4d45d4f17 | ||
|
b7f4731051 | ||
|
a6b11ab48b | ||
|
7f17291932 | ||
|
5c71e2da50 | ||
|
05d8407b05 | ||
|
a6c4215976 | ||
|
1191d4a3bb | ||
|
e63c0ce6a0 | ||
|
7edf0e3ebe | ||
|
fe1374fd11 | ||
|
751fc63169 | ||
|
024d41b412 | ||
|
27c5eebcf9 | ||
|
1fe8de3ad5 | ||
|
64cb528f62 | ||
|
bba967ba21 | ||
|
68286e3cff | ||
|
e76460a392 | ||
|
df40e22586 | ||
|
05cbaf7bf7 | ||
|
063859160d | ||
|
e111ea0420 | ||
|
970e98c573 | ||
|
8a2cdac8ce | ||
|
f8fdcb6fa5 | ||
|
938993302f | ||
|
dcfaa5f628 | ||
|
562669064b | ||
|
ed24a51ea3 | ||
|
ad94b6faba | ||
|
09e3a76bf9 | ||
|
f1e86470ca | ||
|
12f7ed93f8 | ||
|
e7c2c70d1a | ||
|
0bc73941fe | ||
|
fe136088f6 | ||
|
ea41b627dc | ||
|
358306ac8c | ||
|
1e44ab7ee1 | ||
|
33809f1fef | ||
|
8a78ff7415 | ||
|
a6841618b0 | ||
|
e23b8b5483 | ||
|
096d55b64d | ||
|
3ff78d8145 | ||
|
100015b205 | ||
|
4afb80b7ff | ||
|
395e06aff5 | ||
|
0de516f17a | ||
|
caf4ad73d7 | ||
|
ec1bd3387b | ||
|
14db3fc801 | ||
|
f6625d2347 | ||
|
f7d75b62fa | ||
|
4cdda7e156 | ||
|
f0017c024d | ||
|
1ca71578d4 | ||
|
ab763b060d | ||
|
ce38cd5b9c | ||
|
fda973c34f | ||
|
07575f051c | ||
|
e3647051de | ||
|
43efd43d57 | ||
|
7fc195f70d | ||
|
4cab421966 | ||
|
56d5778590 | ||
|
76e4ea8340 | ||
|
16e565e28e | ||
|
389c3ed866 | ||
|
593a357886 | ||
|
a4af105a6e | ||
|
81db43fa99 | ||
|
6a0c002f94 | ||
|
31c09315c8 | ||
|
be3414f6fe | ||
|
85593de1fa | ||
|
ade7180d70 | ||
|
12de3c2b5e | ||
|
d9e254ed27 | ||
|
ac5d584f3d | ||
|
ffed37013d | ||
|
dafa99bf40 | ||
|
e686bce9d0 | ||
|
3e54fc97e5 | ||
|
8cb074ccef | ||
|
7933eb77c1 | ||
|
971422f92e | ||
|
f1c02db189 | ||
|
217cd4cfd0 | ||
|
f382f3d02d | ||
|
9913cb7c25 | ||
|
2bec6e2579 | ||
|
5ec201ca30 | ||
|
7e6782d580 | ||
|
28c56e7885 | ||
|
cee8c18c23 | ||
|
849a9c7a32 | ||
|
69e8e6e355 | ||
|
ced4bf692c | ||
|
a2766b7ed6 | ||
|
a8377e3681 | ||
|
78ee1bc01e | ||
|
10536370de | ||
|
d306fcf82c | ||
|
5535f072e1 | ||
|
07e82d6be8 | ||
|
d411a0fa76 | ||
|
e3deb3ae03 | ||
|
8ecc35d504 | ||
|
05ddbec1a7 | ||
|
56dbbf8cdb | ||
|
8158e151ff | ||
|
8ea23610f1 | ||
|
5454a908a1 | ||
|
6d029f3f2f | ||
|
c7e8f81595 | ||
|
69fb428e01 | ||
|
ed98443d47 | ||
|
a83ae7858a | ||
|
7f75f46e5b | ||
|
6e4336769f | ||
|
0bc4832995 | ||
|
5e3b63289c | ||
|
78bcd6e831 | ||
|
91cecd55ed | ||
|
8b7924fc72 | ||
|
98fb41b442 | ||
|
a3fa516761 | ||
|
be4d091451 | ||
|
6d2b462e2b | ||
|
e16c505c25 | ||
|
3b575ad92f | ||
|
130358e8ae | ||
|
f8ca597f02 | ||
|
47d0bc4fe1 | ||
|
8bdd83c44f | ||
|
b87a4a55e4 | ||
|
e57e0b1870 | ||
|
09a0bb89b8 | ||
|
8bf86ebae1 | ||
|
fef1ccfd81 | ||
|
6f6e4f50aa | ||
|
4e19d87927 | ||
|
db7cd1b373 | ||
|
959b96eca6 | ||
|
9bb993cee9 | ||
|
20fcaa4449 | ||
|
65875bf8e7 | ||
|
8b77dcab98 | ||
|
afbf30d09a | ||
|
8e70642b87 | ||
|
e943f6ef08 | ||
|
1de4be3749 | ||
|
7581fa5708 | ||
|
0daee34626 | ||
|
0ed9e0283d | ||
|
f16eb6c621 | ||
|
d1c19eb012 | ||
|
3a9896dc4b | ||
|
9ff939b534 | ||
|
fd9006047c | ||
|
dd323687f3 | ||
|
c1f338cfbf | ||
|
0cc0ac43f5 | ||
|
f4f09c9d7e | ||
|
86cd7245d2 | ||
|
19033f60f7 | ||
|
5dd7df33bb | ||
|
5dd5ad93a6 | ||
|
a728d948c1 | ||
|
559a93bcb6 | ||
|
9e130956fc | ||
|
72ae0da879 | ||
|
cdfa0499f4 | ||
|
7c8601d33b | ||
|
00a31df47a | ||
|
e018a6f69e | ||
|
9102cf9473 | ||
|
9ada3712f7 | ||
|
8dfd6d6960 | ||
|
cc9419928e | ||
|
e601e33ff3 | ||
|
a07fc21815 | ||
|
3d1dc36711 | ||
|
5cf0dbf114 | ||
|
5b98f690c1 | ||
|
1aff36d28f | ||
|
4f8fb28d93 | ||
|
6d5b0a6c59 | ||
|
d0fe07f954 | ||
|
6375e2ee09 | ||
|
fa3495de24 | ||
|
845f245e1c | ||
|
27ac50a854 | ||
|
ac7e7dae24 | ||
|
acd469c658 | ||
|
fd5603be11 | ||
|
c51a6d6cee | ||
|
d386849c1f | ||
|
4ae3439dbc | ||
|
c74aeeb5c8 | ||
|
e48d8c2218 | ||
|
9c6a18700b | ||
|
cbfe23eb52 | ||
|
5f176b66f2 | ||
|
26986cacb6 | ||
|
f0b819336a | ||
|
981432ee89 | ||
|
f0e3968989 | ||
|
898db2e74a | ||
|
ed6eb4ff92 | ||
|
0bc56a922b | ||
|
aebc7ce0d2 | ||
|
114732ec25 | ||
|
08ac13d510 | ||
|
5a17226ba6 | ||
|
0f30667f01 | ||
|
cbc2d2f3ec | ||
|
315b1b3c12 | ||
|
3e05e32eda | ||
|
d57f8b2203 | ||
|
94b460f930 | ||
|
0081716841 | ||
|
f82202036f | ||
|
14d3d99868 | ||
|
1197960a4e | ||
|
a25883c659 | ||
|
792133ce5c | ||
|
2ca14517bb | ||
|
01c3dc5886 | ||
|
ae57cf6460 | ||
|
297a06f8d4 | ||
|
06e195b025 | ||
|
c0d9316ce2 | ||
|
bb63555ab2 | ||
|
68f91c3f1b | ||
|
08af2fb629 | ||
|
76933017bf | ||
|
03a15e070b | ||
|
5a184921b6 | ||
|
30ab851142 | ||
|
35f706afbd | ||
|
ea266346be | ||
|
2afc930a12 | ||
|
de5fe02f5e | ||
|
073f4cb087 | ||
|
e716ad01e1 | ||
|
b7a7dd064e | ||
|
eb0b9ff731 | ||
|
c1df0aa942 | ||
|
8644ccb68b | ||
|
08ee57a03c | ||
|
4955be239d | ||
|
d385dc512e | ||
|
c5c42eaf72 | ||
|
2b90de5012 | ||
|
68070d0cac | ||
|
759b01926b | ||
|
bfaaf8e6e5 | ||
|
633d4e6b4b | ||
|
dc6b987def | ||
|
ef284de8b3 | ||
|
438be4f537 | ||
|
d0d4bfb289 | ||
|
21628abb1a | ||
|
bbb3722a9b | ||
|
c2bd82f189 | ||
|
15133f6642 | ||
|
9f6f6059c7 | ||
|
8460e83df0 | ||
|
9207f23073 | ||
|
2a9db24c58 | ||
|
93157214ad | ||
|
7505bb6d60 | ||
|
4c59e16a27 | ||
|
2e5538318e | ||
|
c814143df8 | ||
|
4645183054 | ||
|
d6d9f95135 | ||
|
afdb0da5f3 | ||
|
651047d52a | ||
|
6df22fc4a8 | ||
|
0b3a690a29 | ||
|
3e77930b8a | ||
|
cfcd555471 | ||
|
d2c9b9aac3 | ||
|
487b329893 | ||
|
9d19b7f701 | ||
|
3c17d3b5bb | ||
|
39382fab08 | ||
|
a6c9b12b82 | ||
|
75e089f3a1 | ||
|
7c1acdbe5e | ||
|
a17becd38c | ||
|
c13b284c74 | ||
|
362751acd4 | ||
|
140efeb28c | ||
|
d939794b4c | ||
|
65164fbc90 | ||
|
74226e9f47 | ||
|
f579cbb43c | ||
|
e7ad0b00cd | ||
|
f99560508e | ||
|
f330cb2124 | ||
|
feedfe21de | ||
|
d8a9f697fb | ||
|
6695f88b70 | ||
|
c4cba75b5a | ||
|
6de07310c8 | ||
|
8fc069df45 | ||
|
e2e476c196 | ||
|
8243f8191c | ||
|
6b92b1c211 | ||
|
837715f939 | ||
|
79b5bf6db9 | ||
|
724d2f700f | ||
|
36db1f1966 | ||
|
d19bb1c32c | ||
|
b505601629 | ||
|
7c1ceb8fd9 | ||
|
fdad112682 | ||
|
2690053010 | ||
|
a73d1b2b52 | ||
|
5daca7424e | ||
|
c0cc6c9f94 | ||
|
78526a3860 | ||
|
db86f19552 | ||
|
b8ce36a65e | ||
|
64256f27f2 | ||
|
dd6198a3fa |
747 changed files with 91683 additions and 5454 deletions
6
.editorconfig
Normal file
6
.editorconfig
Normal file
|
@ -0,0 +1,6 @@
|
|||
[*]
|
||||
indent_style = space
|
||||
end_of_line = lf
|
||||
|
||||
[*.js]
|
||||
indent_size = 2
|
203
.github/CONTRIBUTING.md
vendored
Normal file
203
.github/CONTRIBUTING.md
vendored
Normal file
|
@ -0,0 +1,203 @@
|
|||
# Guidelines for Getting Help with Select2
|
||||
|
||||
**Before** you open a new issue, you must **read these guidelines.** If it is evident from your issue that you failed to research your question properly, **your issue may be closed** without being answered.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
There are some common problems that developers may encounter when using working with Select2 for the first time. **If you are new to Select2**, please consult the [common problems](https://select2.org/troubleshooting/common-problems) section of the documentation first.
|
||||
|
||||
If you don't find what you're looking for there, then please check the the [forums](https://forums.select2.org), [Stack Overflow](https://stackoverflow.com/questions/tagged/jquery-select2) and [existing issues](https://github.com/select2/select2/issues?utf8=%E2%9C%93&q=is%3Aissue), both opened and closed. Your question may have already been asked and answered before!
|
||||
|
||||
## Asking for Help
|
||||
|
||||
In general, the Github issue tracker should **only** be used for **bug reports** and **feature requests**. If you're just having trouble getting something to work, you should ask in the [forums](https://forums.select2.org) or on [Stack Overflow](https://stackoverflow.com) instead.
|
||||
|
||||
### Rules for all community platforms
|
||||
|
||||
1. Be polite, civil and respectful. Select2 is built and maintained entirely by volunteers.
|
||||
2. If you are not conversationally proficient in English, **do not just post a machine translation** (e.g. Google Translate). Post in your native language, so that others who speak your language can help. You may post a machine translation below it for the general community to decipher.
|
||||
3. Any code snippets should be formatted using [Markdown code fences](https://learn.userfrosting.com/troubleshooting/getting-help#use-markdown-to-format-blocks-of-code) and properly indented. Poorly formatted code is difficult to read and reflects badly on you as a programmer.
|
||||
4. Check what you write for spelling and grammar issues. If you want others to take the time to read your question carefully, you must write your question carefully.
|
||||
5. When possible create and link to a [minimal, complete, and verifiable](https://stackoverflow.com/help/mcve) example by cloning our [JSBin template](http://jsbin.com/goqagokoye/edit?html,js,output). Code dumps, zip files, etc are NOT acceptable.
|
||||
6. Include relevant screenshots or animations, if possible. Drag your screenshots directly into the forums or issue tracker text box. They will automatically be uploaded and the Markdown to display them will be generated. Avoid third-party image hosts, or links which require extra clicks to view the image (except IRC, where this is unavoidable).
|
||||
|
||||
### Stack Overflow
|
||||
|
||||
Tag your question with the `jquery-select2` tag, and optionally with tags relevant to other technologies involved, such as `jquery` or another client-side framework. You should also mention the version of Select2 that you are using.
|
||||
|
||||
### GitHub Issue Tracker
|
||||
|
||||
We really appreciate clear bug reports that _consistently_ show an issue _within Select2_. If you are reporting a bug, you **must** follow these steps:
|
||||
|
||||
1. Make sure that your issue is a bug or feature request. General usage and troubleshooting questions should be directed to the [forums](https://forums.select2.org) or [Stack Overflow](https://stackoverflow.com/questions/tagged/jquery-select2). Issues asking for general support WILL BE CLOSED automatically.
|
||||
2. Search the current issues, both open and closed, for a similar issue. If the bug is still present but the relevant issue has been closed, you may ask us to reopen the issue. Duplicate issues will be closed automatically.
|
||||
3. Make sure that you are using the latest stable version of Select2 (see the [release history](https://github.com/select2/select2/releases)). Old minor/patch versions will not be supported.
|
||||
4. State the steps needed to reproduce the problem.
|
||||
5. Report any errors in detail. Vague issues like "it doesn't work when I do this" are not helpful. Show that you have put some effort into identifying the cause of the error. Check your [browser console](https://learn.userfrosting.com/troubleshooting/debugging#client-side-debugging) for any Javascript error messages.
|
||||
6. Mention your version of Select2, as well as the browser(s) and operating system(s) in which the problem occurs.
|
||||
|
||||
Requesting features in Select2
|
||||
------------------------------
|
||||
Select2 is a large library that carries with it a lot of functionality. Because
|
||||
of this, many feature requests will not be implemented in the core library.
|
||||
|
||||
Before starting work on a major feature for Select2, **post to the [forums](https://forums.select2.org) first** or you may risk spending a considerable amount of
|
||||
time on something which the project developers are not interested in bringing
|
||||
into the project.
|
||||
|
||||
# Contributing to Select2
|
||||
|
||||
Select2 is made up of multiple submodules that all come together to make the
|
||||
standard and extended builds that are available to users. The build system uses
|
||||
Node.js to manage and compile the submodules, all of which is done using the
|
||||
Grunt build system.
|
||||
|
||||
### Installing development dependencies
|
||||
|
||||
Select2 can be built and developed on any system which supports Node.js. You can download Node.js at
|
||||
[their website][nodejs].
|
||||
|
||||
All other required Node.js packages can be installed using [npm][npm], which comes bundled alongside Node.js.
|
||||
|
||||
```bash
|
||||
cd /path/to/select2/repo
|
||||
npm install
|
||||
```
|
||||
|
||||
You may need to install `libsass` on your system if it is not already available in order to build the SASS files which generate the CSS for themes and the main component.
|
||||
|
||||
### Building the Select2 component
|
||||
|
||||
Select2 uses the [Grunt][grunt] build task system and defines a few custom
|
||||
tasks for common routines. One of them is the `compile` task, which compiles
|
||||
the JavaScript and CSS and produces the final files.
|
||||
|
||||
```bash
|
||||
cd /path/to/select2/repo
|
||||
grunt compile
|
||||
```
|
||||
|
||||
You can also generate the minified versions (`.min.js` files) by executing the
|
||||
`minify` task after compiling.
|
||||
|
||||
```bash
|
||||
cd /path/to/select2/repo
|
||||
grunt minify
|
||||
```
|
||||
|
||||
### Running tests
|
||||
|
||||
Select2 uses the QUnit test system to test individual components.
|
||||
|
||||
```bash
|
||||
cd /path/to/selct2/repo
|
||||
grunt test
|
||||
```
|
||||
|
||||
### Setting up the documentation repo
|
||||
|
||||
The documentation for Select2 is maintained in a [separate repository](https://github.com/select2/docs). Select2.org is built with the flat-file CMS [Grav](http://getgrav.org), using their [RTFM skeleton](https://github.com/getgrav/grav-skeleton-rtfm-site#rtfm-skeleton).
|
||||
|
||||
The documentation files themselves are written in Markdown, and can be found in the `pages/` subdirectory. You can submit pull requests to the `develop` branch of the repo.
|
||||
|
||||
If you'd like to set up a local instance of the entire documentation website, you must first have a web server (Nginx, Apache, etc) and PHP installed locally. Then, follow these steps:
|
||||
|
||||
#### Step 1 - Install Grav
|
||||
|
||||
This application uses the [Grav](https://learn.getgrav.org/) CMS. This repository does not contain a full Grav installation - rather, it just contains the contents of Grav's `user` directory, which is where all of our content, themes, and assets live. This was done as per the [recommendation on Grav's blog](https://getgrav.org/blog/developing-with-github-part-2), to make it easier to deploy changes to the live server.
|
||||
|
||||
To install this website on your computer, first [install grav core](https://getgrav.org/downloads) in a project folder called `select2-docs` under your webserver's document root folder. Then, find the `user` folder inside of your project folder. Delete the contents of the `user` folder and clone this repository directly into the user folder.
|
||||
|
||||
When you're done it might look something like this:
|
||||
|
||||
```
|
||||
htdocs/
|
||||
└── select2-docs/
|
||||
├── assets/
|
||||
├── ...
|
||||
├── user/
|
||||
├── .git
|
||||
├── accounts/
|
||||
├── assets/
|
||||
├── config/
|
||||
└── ...
|
||||
└── ...
|
||||
|
||||
```
|
||||
|
||||
#### Step 2
|
||||
|
||||
Grav needs your webserver to be able to write to certain directories. Make sure that `backup/`, `cache/`, `images/`, `logs/`, and `tmp/` are all writeable by the user account under which your webserver runs.
|
||||
|
||||
#### Step 3
|
||||
|
||||
Visit the local installation in your browser! For example, [http://localhost/select2-docs](http://localhost/select2-docs).
|
||||
|
||||
### Submitting a pull request
|
||||
|
||||
We use GitHub's pull request system for submitting patches. Here are some
|
||||
guidelines to follow when creating the pull request for your fix.
|
||||
|
||||
1. Make sure to create a ticket for your pull request. This will serve as the
|
||||
bug ticket, and any discussion about the bug will take place there. Your pull
|
||||
request will be focused on the specific changes that fix the bug.
|
||||
2. Make sure to reference the ticket you are fixing within your pull request.
|
||||
This will allow us to close off the ticket once we merge the pull request, or
|
||||
follow up on the ticket if there are any related blocking issues.
|
||||
3. Explain why the specific change was made. Not everyone who is reviewing your
|
||||
pull request will be familiar with the problem it is fixing.
|
||||
4. Run your tests first. If your tests aren't passing, the pull request won't
|
||||
be able to be merged. If you're breaking existing tests, make sure that you
|
||||
aren't causing any breaking changes.
|
||||
5. Only include source changes (`src/`). Do not make changes directly to files in the `dist`
|
||||
directory.
|
||||
|
||||
By following these steps, you will make it easier for your pull request to be
|
||||
reviewed and eventually merged.
|
||||
|
||||
Triaging issues and pull requests
|
||||
---------------------------------
|
||||
Anyone can help the project maintainers triage issues and review pull requests.
|
||||
|
||||
### Handling new issues
|
||||
|
||||
Select2 regularly receives new issues which need to be tested and organized.
|
||||
|
||||
When a new issue that comes in that is similar to another existing issue, it
|
||||
should be checked to make sure it is not a duplicate. Duplicates issues should
|
||||
be marked by replying to the issue with "Duplicate of #[issue number]" where
|
||||
`[issue number]` is the url or issue number for the existing issue. This will
|
||||
allow the project maintainers to quickly close off additional issues and keep
|
||||
the discussion focused within a single issue.
|
||||
|
||||
If you can test issues that are reported to Select2 that contain test cases and
|
||||
confirm under what conditions bugs happen, that will allow others to identify
|
||||
what causes a bug quicker.
|
||||
|
||||
### Reviewing pull requests
|
||||
|
||||
It is very common for pull requests to be opened for issues that contain a clear
|
||||
solution to the problem. These pull requests should be rigorously reviewed by
|
||||
the community before being accepted. If you are not sure about a piece of
|
||||
submitted code, or know of a better way to do something, do not hesitate to make
|
||||
a comment on the pull request.
|
||||
|
||||
### Reviving old tickets
|
||||
|
||||
If you come across tickets which have not been updated for a while, you are encouraged to revive them. If you do, please include more information in your comment on the issue. Common bugs and feature requests are more likely to be fixed, whether it is by the community or the
|
||||
developers, so keeping tickets up to date is encouraged.
|
||||
|
||||
Licensing
|
||||
---------
|
||||
|
||||
It should also be made clear that **all code contributed to Select** must be
|
||||
licensable under the [MIT license][licensing]. Code that cannot be released
|
||||
under this license **cannot be accepted** into the project.
|
||||
|
||||
[grunt]: http://gruntjs.com/
|
||||
[isolated-case]: http://css-tricks.com/6263-reduced-test-cases/
|
||||
[issue-search]: https://github.com/select2/select2/search?q=&type=Issues
|
||||
[issue-tracker]: https://github.com/select2/select2/issues
|
||||
[licensing]: https://github.com/select2/select2/blob/master/LICENSE.md
|
||||
[nodejs]: https://nodejs.org/
|
||||
[npm]: https://www.npmjs.com/
|
2
.github/FUNDING.yml
vendored
Normal file
2
.github/FUNDING.yml
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
github: kevin-brown
|
||||
open_collective: select2
|
20
.github/ISSUE_TEMPLATE.md
vendored
Normal file
20
.github/ISSUE_TEMPLATE.md
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
|
||||
STOP!
|
||||
|
||||
Before you open an issue:
|
||||
|
||||
1. Make sure that your issue is a BUG or FEATURE REQUEST. General usage and troubleshooting questions should be directed to the [forums](https://forums.select2.org) or [Stack Overflow](https://stackoverflow.com/questions/tagged/jquery-select2). Issues asking for general support WILL BE CLOSED automatically.
|
||||
2. Search the current issues, both open and closed, for a similar issue. If the bug is still present but the relevant issue has been closed, you may ask us to reopen the issue. Duplicate issues will be closed automatically.
|
||||
3. Make sure that you are using the latest stable version of Select2 (see the [release history](https://github.com/select2/select2/releases)). Old minor/patch versions will not be supported.
|
||||
|
||||
If you are CERTAIN that it is appropriate to open a new issue, you must:
|
||||
|
||||
1. Create and link to a [minimal, complete, and verifiable](https://stackoverflow.com/help/mcve) example by cloning our [JSBin template](http://jsbin.com/goqagokoye/edit?html,js,output). Code dumps, zip files, etc are NOT acceptable.
|
||||
2. Any additional code snippets should be formatted using [Markdown code fences](https://learn.userfrosting.com/troubleshooting/getting-help#use-markdown-to-format-blocks-of-code) and properly indented. Poorly formatted code is difficult to read and reflects badly on you as a programmer.
|
||||
3. Include relevant screenshots or animations, if possible. Drag your screenshots directly into this text box. They will automatically be uploaded and the Markdown to display them will be generated. Avoid third-party image hosts, or links which require extra clicks to view the image.
|
||||
4. If you are not conversationally proficient in English, do NOT just post a machine translation (e.g. Google Translate) to GitHub. Get help in crafting your question, either via the [forums](https://forums.select2.org) or in [chat](https://webchat.freenode.net/?channels=select2). If all else fails, you may post your bug report or feature request in your native language, with a machine translation below that. We will tag it with `translation-needed` so that others who speak your language can find it.
|
||||
5. State the steps needed to reproduce the problem.
|
||||
6. Mention your version of Select2, as well as the browser(s) and operating system(s) in which the problem occurs.
|
||||
7. Clear out this placeholder text.
|
||||
|
||||
Issues that ignore these rules will be closed without further comment!
|
13
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
13
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
This pull request includes a
|
||||
|
||||
- [ ] Bug fix
|
||||
- [ ] New feature
|
||||
- [ ] Translation
|
||||
|
||||
The following changes were made
|
||||
|
||||
-
|
||||
-
|
||||
-
|
||||
|
||||
If this is related to an existing ticket, include a link to it as well.
|
14
.github/stale.yml
vendored
Normal file
14
.github/stale.yml
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Number of days of inactivity before an issue becomes stale
|
||||
daysUntilStale: 60
|
||||
# Number of days of inactivity before a stale issue is closed
|
||||
daysUntilClose: 7
|
||||
# Issues with these labels will never be considered stale
|
||||
# Label to use when marking an issue as stale
|
||||
staleLabel: "status: stale"
|
||||
# Comment to post when marking an issue as stale. Set to `false` to disable
|
||||
markComment: >
|
||||
This issue has been automatically marked as stale because it has not had
|
||||
recent activity. It will be closed if no further activity occurs. Thank you
|
||||
for your contributions.
|
||||
# Comment to post when closing a stale issue. Set to `false` to disable
|
||||
closeComment: false
|
24
.github/workflows/docs-deploy.yml
vendored
Normal file
24
.github/workflows/docs-deploy.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
name: Documentation Deployment
|
||||
|
||||
on: release
|
||||
|
||||
jobs:
|
||||
grav:
|
||||
name: Deploy Grav
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: maddox/actions/sleep@master
|
||||
with:
|
||||
args: "60"
|
||||
- uses: actions/checkout@v1
|
||||
- name: Copy to documentation server
|
||||
uses: maxheld83/rsync@v0.1.0
|
||||
env:
|
||||
USERNAME: ${{ secrets.DOCUMENTATION_SSH_USERNAME }}
|
||||
SSH_PRIVATE_KEY: ${{ secrets.DOCUMENTATION_SSH_KEY }}
|
||||
HOST_NAME: ${{ secrets.DOCUMENTATION_SSH_HOST }}
|
||||
SSH_PUBLIC_KEY: not-needed
|
||||
HOST_IP: not-needed
|
||||
HOST_FINGERPRINT: not-needed
|
||||
with:
|
||||
args: "docs/ $USERNAME@$HOST_NAME:/var/www/select2-docs/user/"
|
44
.github/workflows/main.yml
vendored
Normal file
44
.github/workflows/main.yml
vendored
Normal file
|
@ -0,0 +1,44 @@
|
|||
name: CI
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
linting:
|
||||
name: Linting
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Use Node.js 8
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 8
|
||||
- name: npm install
|
||||
run: npm install
|
||||
- name: Run linting
|
||||
run: grunt compile lint
|
||||
tests:
|
||||
name: Tests
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Use Node.js 8
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 8
|
||||
- name: npm install
|
||||
run: npm install
|
||||
- name: Run tests
|
||||
run: grunt compile test
|
||||
minification:
|
||||
name: Minification
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Use Node.js 8
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 8
|
||||
- name: npm install
|
||||
run: npm install
|
||||
- name: Run minification
|
||||
run: grunt compile minify
|
57
.github/workflows/package-deploy.yml
vendored
Normal file
57
.github/workflows/package-deploy.yml
vendored
Normal file
|
@ -0,0 +1,57 @@
|
|||
name: Package Deployment
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
- master
|
||||
release: ~
|
||||
|
||||
jobs:
|
||||
deploy_github:
|
||||
name: GitHub Package Registry
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Use Node.js 8
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 8
|
||||
registry-url: https://npm.pkg.github.com/
|
||||
scope: '@select2'
|
||||
- name: Rename package to include private scope
|
||||
run: "sed -i -e 's#\"name\": \"select2\"#\"name\": \"@select2/select2\"#' package.json"
|
||||
- name: npm install
|
||||
run: npm install
|
||||
- name: Run linting, tests, minify
|
||||
run: grunt
|
||||
- name: Deploy (release)
|
||||
if: github.event_name == 'release'
|
||||
run: npm publish
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
- name: Deploy (release candidate)
|
||||
if: github.event_name == 'push'
|
||||
run: 'sed -i -E "s/\"version\": \"(.+)\",/\"version\": \"\1-commit-$GITHUB_SHA\",/" package.json && npm publish --tag next'
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
GITHUB_SHA: ${{github.sha}}
|
||||
deploy_npm:
|
||||
name: NPM
|
||||
if: github.event_name == 'release'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Use Node.js 8
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 8
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
- name: npm install
|
||||
run: npm install
|
||||
- name: Run linting, tests, minify
|
||||
run: grunt
|
||||
- name: Deploy (release)
|
||||
run: npm publish
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
.idea
|
||||
|
||||
node_modules
|
||||
dist/js/i18n/build.txt
|
||||
.sass-cache
|
||||
|
|
4
.jshintignore
Normal file
4
.jshintignore
Normal file
|
@ -0,0 +1,4 @@
|
|||
src/js/banner.*.js
|
||||
src/js/wrapper.*.js
|
||||
tests/vendor/*.js
|
||||
tests/helpers.js
|
25
.jshintrc
Normal file
25
.jshintrc
Normal file
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"bitwise": true,
|
||||
"camelcase": true,
|
||||
"curly": true,
|
||||
"es3": true,
|
||||
"eqnull": true,
|
||||
"freeze": true,
|
||||
"globals": {
|
||||
"console": false,
|
||||
"define": false,
|
||||
"document": false,
|
||||
"MockContainer": false,
|
||||
"module": false,
|
||||
"QUnit": false,
|
||||
"require": false,
|
||||
"test": false,
|
||||
"window": false
|
||||
},
|
||||
"indent": 2,
|
||||
"maxlen": 80,
|
||||
"noarg": true,
|
||||
"nonew": true,
|
||||
"quotmark": "single",
|
||||
"undef": true
|
||||
}
|
407
CHANGELOG.md
Normal file
407
CHANGELOG.md
Normal file
|
@ -0,0 +1,407 @@
|
|||
# Change Log
|
||||
|
||||
## 4.0.12
|
||||
|
||||
### Bug fixes
|
||||
|
||||
* Fixes incorrect offset when using the Shadow DOM and styling the `<html>` element (#5682)
|
||||
|
||||
### Miscellaneous
|
||||
|
||||
* Replace cdnjs with jsDelivr in the documentation (#5687)
|
||||
* Fix incorrect provider for the automated NPM deployment (#5686)
|
||||
|
||||
## 4.0.11
|
||||
|
||||
### Bug fixes
|
||||
|
||||
* Fixes jQuery migrate error when getting offset when dropdownParent not in document (#5584)
|
||||
|
||||
### Miscellaneous
|
||||
|
||||
* Enable GitHub actions for CI (#5591)
|
||||
* Documentation has been moved into and is deployed from the code repository (#5638)
|
||||
* Remove Travis CI integration (#5665)
|
||||
|
||||
## 4.0.10
|
||||
|
||||
### New features / improvements
|
||||
|
||||
* Support passing in a selector for `dropdownParent` option (#5622)
|
||||
|
||||
### Bug fixes
|
||||
|
||||
* Fix bug where dropdowns pointing upwards were incorrectly positioned (#5621)
|
||||
|
||||
## 4.0.9
|
||||
|
||||
### New features / improvements
|
||||
|
||||
* Mirror disabled state through aria-disabled on selection (#5579)
|
||||
* Select2 now clears the internal ID when it is destroyed (#5587)
|
||||
* Set the main ARIA 1.1 roles and properties for comboboxes (#5582)
|
||||
* The `language` option now has a clearly defined fallback chain (#5602)
|
||||
|
||||
### Bug fixes
|
||||
|
||||
* Do not propagate click when search box is not empty (#5580)
|
||||
* Fix `maximumSelectionLength` being ignored by `closeOnSelect` (#5581)
|
||||
* Fix generated options not receiving result IDs (#5586)
|
||||
* Remove selection title attribute if text is empty (#5589)
|
||||
* Reposition dropdown whenever items are selected (#5590)
|
||||
* Fix dropdown positioning when displayed above with messages (#5592)
|
||||
* Fix search box expanding width of container (#5595)
|
||||
* `allowClear` no longer shifts selections to a new line (#5603)
|
||||
|
||||
### Translations
|
||||
|
||||
* Fix error in German translations (#5604)
|
||||
|
||||
### Miscellaneous
|
||||
|
||||
* Updated development grunt version so it no longer shows as vulnerable (#5597)
|
||||
* Remove unused variables (#5554)
|
||||
|
||||
## 4.0.8
|
||||
|
||||
### New features / improvements
|
||||
|
||||
* Test against and fix compatibility with jQuery 3.4.1 (#5531)
|
||||
* Results respect disabled state of `<option>` (#5560)
|
||||
* Add `computedstyle` option for calculating the width (#5559)
|
||||
|
||||
### Bug fixes
|
||||
|
||||
* Fix tag creation being broken in 4.0.7 (#5558)
|
||||
* Fix infinite scroll when the scrollbar is not visible (#5575)
|
||||
* Revert change to focusing behaviour in 4.0.6 (#5576)
|
||||
|
||||
### Translations
|
||||
|
||||
* Fix wording in French translations (#5521)
|
||||
|
||||
### Miscellaneous
|
||||
|
||||
* Update grunt-contrib-qunit to latest version (#5530)
|
||||
* Removed unused `.select2-selection__placeholder` CSS definitions for multiple selects (#5508)
|
||||
* Remove deprecated jQuery shorthand (#5564)
|
||||
|
||||
## 4.0.7
|
||||
|
||||
### New features/improvements
|
||||
- Do not close on select if Ctrl or Meta (Cmd) keys being held (#5222)
|
||||
|
||||
### Bug fixes
|
||||
- Fixed issue where single select boxes would automatically reopen when they were closed (#5490, #5492)
|
||||
|
||||
### Miscellaneous
|
||||
- Move almost and jquery-mousewheel to devDependencies (#5489)
|
||||
|
||||
## 4.0.6
|
||||
|
||||
### New features/improvements
|
||||
- Add style property to package.json (#5019)
|
||||
- Implement `clear` and `clearing` events (#5058)
|
||||
- Add `scrollAfterSelect` option (#5150)
|
||||
- Add missing diacritics (#4118, #4337, #5464)
|
||||
|
||||
### Bug fixes
|
||||
- Fix up arrow error when there are no options in dropdown (#5127)
|
||||
- Add `;` before beginning of factory wrapper (#5089)
|
||||
- Fix IE11 issue with select losing focus after selecting an item (#4860)
|
||||
- Clear tooltip from `select2-selection__rendered` when selection is cleared (#4640, #4746)
|
||||
- Fix keyboard not closing when closing dropdown on iOS 10 (#4680)
|
||||
- User-defined types not normalized properly when passed in as data (#4632)
|
||||
- Perform deep merge for `Defaults.set()` (#4364)
|
||||
- Fix "the results could not be loaded" displaying during AJAX request (#4356)
|
||||
- Cache objects in `Utils.__cache` instead of using `$.data` (#4346, #5486)
|
||||
- Removing the double event binding registration of `selection:update` (#4306)
|
||||
|
||||
#### Accessibility
|
||||
- Improve `.select2-hidden-accessible` (#4908)
|
||||
- Add role and aria-readonly attributes to single selection dropdown value (#4881)
|
||||
|
||||
### Translations
|
||||
- Add Turkmen translations (`tk`) (#5125)
|
||||
- Fix error in French translations (#5122)
|
||||
- Add Albanian translation (`sq`) (#5199)
|
||||
- Add Georgian translation (`ka`) (#5179)
|
||||
- Add Nepali translation (`ne`) (#5295)
|
||||
- Add Bangla translation (`bn`) (#5248)
|
||||
- Add `removeAllItems` translation for clear "x" title (#5291)
|
||||
- Fix wording in Vietnamese translations (#5387)
|
||||
- Fix error in Russian translation (#5401)
|
||||
|
||||
### Miscellaneous
|
||||
- Remove duplicate CSS selector in classic theme (#5115)
|
||||
|
||||
## 4.0.5
|
||||
|
||||
### Bug fixes
|
||||
- Replace `autocapitalize=off` with `autocapitalize=none` (#4994)
|
||||
|
||||
### Translations
|
||||
- Vietnamese: remove an unnecessary quote mark (#5059)
|
||||
- Czech: Add missing commas and periods (#5052)
|
||||
- Spanish: Update the 'errorLoading' message (#5032)
|
||||
- Fix typo in Romanian (#5005)
|
||||
- Improve French translation (#4988)
|
||||
- Add Pashto translation (`ps`) (#4960)
|
||||
- Add translations for lower and upper Sorbian (`dsb` and `hsb`) (#4949)
|
||||
- Updates to Slovak (#4915)
|
||||
- Fixed Norwegian `inputTooShort` message (#4817, 4896)
|
||||
- Add Afrikaans translation (`af`) (#4850)
|
||||
- Add Bosnian translation (`bs`) (#4504)
|
||||
|
||||
## 4.0.4
|
||||
|
||||
### New features / Improvements
|
||||
- Make tag matching case insensitive [https://github.com/select2/select2/commit/cb9a90457867ffb14c7b1550bb67e872e0a5c2dd, https://github.com/select2/select2/commit/1167bace78cd3b1a918c1b04f3bac54674eab62b]
|
||||
- Support selecting options with blank or `0` option values [https://github.com/select2/select2/commit/16b4840c0e2df0461998e3b464ee0a546173950d, https://github.com/select2/select2/commit/0358ee528765157234643d289bce6b8ca5889c72]
|
||||
|
||||
### Bug fixes
|
||||
- Fix issue with entire form losing focus when tabbing away from a Select2 control (#4419)
|
||||
- Fix UMD support for CommonJS [https://github.com/select2/select2/commit/45a877345482956021161203ac789c25f40a7d5e]
|
||||
|
||||
### Documentation
|
||||
- Github Pages documentation has been deprecated, replaced with https://github.com/select2/docs
|
||||
- Add django-autocomplete-light to integrations [https://github.com/select2/select2/pull/4597]
|
||||
- Correct typo in options page [https://github.com/select2/select2/pull/4389]
|
||||
- Correct misspelling in AJAX query parameters example [https://github.com/select2/select2/pull/4435]
|
||||
- "highlight" should be "focus" in focus example [https://github.com/select2/select2/pull/4441]
|
||||
- Correct misspelling in `<select>` serialization example [https://github.com/select2/select2/pull/4538]
|
||||
- Correct typos in documentation [https://github.com/select2/select2/pull/4663]
|
||||
|
||||
### Translations
|
||||
- Add `errorLoading` Hungarian translation [https://github.com/select2/select2/commit/7d1d13352321e21670ff1c6cba7413aa264fd57a]
|
||||
- Add `errorLoading` German translation [https://github.com/select2/select2/commit/4df965219ea4c39147fde9335bc260840465933a]
|
||||
- Add Slovene language [https://github.com/select2/select2/commit/8e6422c570a87da8d89c45daf0d253695a943c84]
|
||||
- Add `errorLoading` Galician translation [https://github.com/select2/select2/commit/8fcc6202c37f4e06d951342bf142a3b906b6b8e3]
|
||||
- Add `errorLoading` Thai translation [https://github.com/select2/select2/commit/625fc78ee616baedf64aa37357403b4b72c7363c]
|
||||
- Add `searching` and `errorLoading` Finnish translations [https://github.com/select2/select2/pull/4730]
|
||||
- Add `errorLoading` Turkish translation [https://github.com/select2/select2/commit/fd4a0825315c7055347726d5818c999279f96ff8, https://github.com/select2/select2/commit/751b36767f9f28b9de9428d5e8035c9a404915d9]
|
||||
- Add Armenian language [https://github.com/select2/select2/commit/f6fa52dcc02341df1523f50348f2effc54ee2911]
|
||||
|
||||
## 4.0.3
|
||||
|
||||
This is the third bugfix release of Select2 4.0.0. It builds upon the [second bugfix release](https://github.com/select2/select2/releases/tag/4.0.2) and fixes many common issues.
|
||||
|
||||
### New features / Improvements
|
||||
- The old `dropdownAutoWidth` option now properly works [https://github.com/select2/select2/commit/fe26b083eb830836061de1458e483782cefef424]
|
||||
- A `focus` event on the original `<select>` is now handled [https://github.com/select2/select2/commit/31e7a1d4c52ed7477769fcad5d15166ae3c9b4d0]
|
||||
- Adding and removing options now refreshes the selection automatically [https://github.com/select2/select2/commit/ea79a197e0ffe55aa600eed6d18cbd1c804c3176]
|
||||
|
||||
### Bug fixes
|
||||
- `select2('option')` no longer mutate the arguments when working on multiple elements [https://github.com/select2/select2/commit/c2c1aeef31c95c6df5545c900a4e1782d712497c]
|
||||
- Better detect aborted requests [https://github.com/select2/select2/commit/cfb66f5e4f71a56c46a6890c5dde4b7f24f11fa8]
|
||||
- New options are now properly created during tokenization [https://github.com/select2/select2/commit/3b8cd2e36990e695e4cb4b966c8658e7ca1574dc]
|
||||
- Fix positioning bug with non-static parents for the dropdown [https://github.com/select2/select2/pull/4267]
|
||||
- Infinite scrolling no longer resets the keyboard focus [https://github.com/select2/select2/commit/e897d008a672da262ba84cee2a144578696ada29, https://github.com/select2/select2/commit/9f581285d88128b29a01fc1e5fd2d445d610b553]
|
||||
- `selectOnClose` now works properly with `closeOnSelect` [https://github.com/select2/select2/commit/481c43883e23874e9c35879d173eb8cc5b994b12]
|
||||
- Apply `ajax.delay` to empty search terms as well [https://github.com/select2/select2/commit/4b9e02f02211248be25ac4c16d4635cf38237bb9]
|
||||
|
||||
### Documentation
|
||||
- Added example for attaching event listeners [https://github.com/select2/select2/commit/84d6b5d840f7f4e6b7a2fb3f08424bf5495c876d]
|
||||
- Correct link to the [Select2 Bootstrap Theme](https://github.com/select2/select2-bootstrap-theme) [https://github.com/select2/select2/pull/4318]
|
||||
- Added example for using a `<label>` [https://github.com/select2/select2/commit/3bc7f4ac78b58eff8cd17b3273596638c3c9c5c1]
|
||||
- Add documentation for `ajax.url` [https://github.com/select2/select2/commit/5a831afb9a7d46e8f20aec21164cfbfd182024de]
|
||||
- Added favicon [https://github.com/select2/select2/pull/4379]
|
||||
|
||||
### Translations
|
||||
- Add Khmer translation [https://github.com/select2/select2/pull/4246]
|
||||
- Added Norwegian bokmaal for `errorLoading` [https://github.com/select2/select2/pull/4259]
|
||||
- Fixed pluralization in Lithuanian translation [https://github.com/select2/select2/commit/5b5eddd183c87bf43165b3a98e03eabe10e9fa58]
|
||||
- Add French translation for `errorLoading` [https://github.com/select2/select2/commit/b1ea28bb7d8c02b3b352f558031ccfc8041122eb]
|
||||
- Add Greek translation [https://github.com/select2/select2/pull/4139]
|
||||
|
||||
## 4.0.2
|
||||
|
||||
This is the second bugfix release of Select2 4.0.0. It builds upon the [first release candidate of Select2 4.0.2](https://github.com/select2/select2/releases/tag/4.0.2-rc.1) with some minor improvements.
|
||||
|
||||
### New features / Improvements
|
||||
|
||||
- Added `insertTag` option to control the placement of the `tags` option [https://github.com/select2/select2/pull/4008]
|
||||
- Added handler for AJAX errors [https://github.com/select2/select2/issues/3501]
|
||||
- Added insertTag to control the tag position [https://github.com/select2/select2/pull/4008]
|
||||
|
||||
### Bug fixes
|
||||
|
||||
- Fixed positioning issues with static dropdown parents [https://github.com/select2/select2/issues/3970]
|
||||
- Fixed existing selections not always being respected with array data [https://github.com/select2/select2/issues/3990]
|
||||
- Sanitize automatically generated ids so CSS identifiers can be used [https://github.com/select2/select2/issues/3618]
|
||||
- Recursively apply defaults so AJAX defaults can be set [https://github.com/select2/select2/commit/983cd8e765c5345bfe7d3bdcc3b0c882a35461ca]
|
||||
- No need to recalculate the top of the dropdown twice [https://github.com/select2/select2/pull/4155]
|
||||
|
||||
### Documentation
|
||||
|
||||
- Updated Bootstrap and Font Awesome dependencies [https://github.com/select2/select2/commit/a5e539b509778eabeb8ce79e191b3ee1e81f6deb, https://github.com/select2/select2/commit/81a4a68b113e0d3e0fb1d0f8b1c33ae1b48ba04f, https://github.com/select2/select2/commit/6369f5f173fb81ec692213782945cc737e248da5]
|
||||
- Use Jekyll's highlighting instead of prettify [https://github.com/select2/select2/commit/54441e6a22be3969dd934ccb769f5d7dde684bfb, https://github.com/select2/select2/commit/74387b98632c75b06d15d83ad5359b9daf0f5dcb, https://github.com/select2/select2/commit/a126b53b4c90fac33b5d855894647cd8bcac3558, https://github.com/select2/select2/commit/75163d67cb80e4279965a97e9eeda5b171806085]
|
||||
- Corrected responsive width example to properly show it working [https://github.com/select2/select2/commit/63d531a9c0ab51f05327492a56f3245777762b45]
|
||||
- Replaced protocol-relative URLs with HTTPS protocol [https://github.com/select2/select2/pull/4127]
|
||||
- Code snippets for mapping `id` and `text` [https://github.com/select2/select2/issues/4086]
|
||||
- Document how to trigger `change` just for Select2 [https://github.com/select2/select2/issues/3620]
|
||||
- Added notes about DOM events [https://github.com/select2/select2/commit/37dbe059fce4578b46b7561e6243b7fdc63ac002]
|
||||
|
||||
### Translations
|
||||
- Correct Romanian translation [https://github.com/select2/select2/commit/72d905f9e026d49e7c600f37a1ce742c404654d7]
|
||||
|
||||
## 4.0.1
|
||||
|
||||
This is the first bugfix release of Select2 4.0.0. It builds upon the [first release candidate of Select2 4.0.1](https://github.com/select2/select2/releases/tag/4.0.1-rc.1) with some minor improvements.
|
||||
|
||||
### New features / improvements
|
||||
- The option container is now passed in as the second argument when templating selections using `templateResult` [https://github.com/select2/select2/commit/dc516e7073605723be59bc727b96a3b3dea1ae5a]
|
||||
- The option container is now passed in as the second argument when templating selections using `templateSelection` [https://github.com/select2/select2/pull/3324]
|
||||
- You can immediately start typing to search when tabbing into a multiple select [https://github.com/select2/select2/commit/02cca7baa7b78e73cdcf393172ee3a54be387167, https://github.com/select2/select2/commit/79cdcc0956e242c1ce642bbaa93e538c54f4be0]
|
||||
- All parameters passed in for AJAX requests are now set as query string parameters by default [https://github.com/select2/select2/issues/3548]
|
||||
|
||||
### Bug fixes
|
||||
- The search box will now be properly sized after removing a selection [https://github.com/select2/select2/commit/5f80c5d9f81f3c5398c3e6e3e84fd6c67c8873f1]
|
||||
- Dropdown results will now be spoken by screen readers [https://github.com/select2/select2/commit/9fae3d74e373fc646da4e39a0c2ab11efa808c3f]
|
||||
- Options are now properly cloned when initializing multiple instances at once [https://github.com/select2/select2/commit/3c8366e8769233a6b20ade934fe629279e7be6ff]
|
||||
- `selectOnClose` and now be used with `closeOnSelect` without getting a stack overflow [https://github.com/select2/select2/commit/393ca4cf7f7f7097d3a994bda3dbf195e945eba1]
|
||||
- Fixed positioning with non-static parents [https://github.com/select2/select2/commit/c9216b4b966653dd63a67e815b47899ef5325298]
|
||||
- Fixed bug where multiple selects with placeholders were buggy in IE [https://github.com/select2/select2/issues/3300]
|
||||
- Fixed bug where AJAX selects could not be initialized with array data [https://github.com/select2/select2/pull/3375]
|
||||
- `:all:` is now correctly removed when used in `containerCss` and `dropdownCss` options [https://github.com/select2/select2/pull/3464]
|
||||
- Fixed bug where the multiple select search box would appear on the left in RTL mode [https://github.com/select2/select2/pull/3502]
|
||||
- Change ALT + UP to close the dropdown instead of opening it [https://github.com/select2/select2/commit/d2346cc33186c2a00fa2dad29e8e559c42bfea00]
|
||||
- Fix focus issue with the multiple select search box when the `change` event was triggered [https://github.com/select2/select2/commit/698fe7b9e187e182f679aa679eb8b0ecb64a846b, https://github.com/select2/select2/commit/88503d2c67dc7f4fb9395a17f17edfe4948cf738, https://github.com/select2/select2/commit/dd2990adead92593a2dffff6ae004ea8b647d130]
|
||||
- Fix bug in `ArrayAdapter` where the existing `<option>` data would be used instead of the array data [https://github.com/select2/select2/pull/3565]
|
||||
- Remove random call to `$dropdownContainer.width()` in the `AttachBody` decorator [https://github.com/select2/select2/pull/3654]
|
||||
- Fix memory leak in `AttachBody` decorator [https://github.com/select2/select2/commit/671f5a2ce21005090e0b69059799cd3dd1fbbf84]
|
||||
- Selections can no longer be removed when Select2 is in a disabled state [https://github.com/select2/select2/commit/68d068f1d2c7722d011d285a291d1f974bf09772, https://github.com/select2/select2/commit/7d8f86cbf85ebd2179195ff6a2a7a1c5dcb9da58]
|
||||
- Remove redundant `open` event trigger [https://github.com/select2/select2/pull/3507]
|
||||
- Correct references to `this` in `ajax.data` and `ajax.url` callback functions [https://github.com/select2/select2/issues/3361]
|
||||
- Apply select2('option') calls on all elements [https://github.com/select2/select2/pull/3495]
|
||||
|
||||
### Design
|
||||
|
||||
- Fixed original `<select>` not always being hidden correctly in some cases [https://github.com/select2/select2/pull/3301]
|
||||
- Fix potential issue with Bootstrap's gradients in Internet Explorer [https://github.com/select2/select2/pull/3307]
|
||||
- Improve compatibility with Zurb Foundation [https://github.com/select2/select2/pull/3290]
|
||||
- Remove padding on mobile safari search field in multiple selects [https://github.com/select2/select2/pull/3605]
|
||||
- Fix the clear button appearing beneath long text [https://github.com/select2/select2/issues/3306]
|
||||
- Migrate the CSS classes for the "Loading more results" message to BEM [https://github.com/select2/select2/issues/3889]
|
||||
- Fix inline search not displaying properly in Safari [https://github.com/select2/select2/issues/3459]
|
||||
|
||||
### Documentation
|
||||
|
||||
- New documentation theme designed by @fk [https://github.com/select2/select2/pull/3376, https://github.com/select2/select2/pull/3467, https://github.com/select2/select2/pull/3488]
|
||||
- Update ajax example to reflect pagination [https://github.com/select2/select2/pull/3357]
|
||||
- Fix incorrect option name in `maxiumSelectionLength` example [https://github.com/select2/select2/pull/3454]
|
||||
- Fix typos in the disabled mode/results examples [https://github.com/select2/select2/pull/3665]
|
||||
- Fix `Option` parameters in the 4.0 announcement [https://github.com/select2/select2/pull/3547]
|
||||
- Fix invalid JSON in the tags example within the 4.0 announcement [https://github.com/select2/select2/pull/3637]
|
||||
|
||||
### Translations
|
||||
- Added Cyrillic variant of the Serbian language [https://github.com/select2/select2/pull/3943]
|
||||
- Corrected Thai "no results found" translation [https://github.com/select2/select2/pull/3782]
|
||||
- Swapped the `inputTooLong` and `inputTooShort` messages in the Galician translation [https://github.com/select2/select2/pull/3291]
|
||||
- Fix improper grammar in Dutch translation [https://github.com/select2/select2/pull/3692]
|
||||
- Add Japanese translation [https://github.com/select2/select2/pull/3477]
|
||||
- Polish translation: Fixed typo in maximum selected message [https://github.com/select2/select2/pull/3587]
|
||||
- Add Malay translation [https://github.com/select2/select2/pull/3635]
|
||||
- Add `errorLoading` for Indonesian translation [https://github.com/select2/select2/pull/3635]
|
||||
- Correct grammar issues in Hebrew translation [https://github.com/select2/select2/pull/3911]
|
||||
- Add `errorLoading` for Danish translation [https://github.com/select2/select2/pull/3870]
|
||||
- Add Arabic translation [https://github.com/select2/select2/pull/3859]
|
||||
|
||||
## 4.0.0
|
||||
|
||||
|
||||
This builds upon [the second release candidate](https://github.com/select2/select2/tree/4.0.0-rc.2), **so review all previous release notes** before upgrading from previous versions of Select2.
|
||||
|
||||
### Supported environments
|
||||
- jQuery 1.7.2+
|
||||
- Modern browsers (Chrome, Firefox, Safari)
|
||||
- Internet Explorer 8+
|
||||
|
||||
### New features
|
||||
- Fully compatible with AMD and UMD based loaders.
|
||||
- Advanced plugin system that [uses custom adapters](https://select2.org/advanced/adapters-and-decorators).
|
||||
- Full support for `jQuery.noConflict`.
|
||||
- A `<select>` is the recommended element and [can be used for all options](https://select2.org/upgrading/migrating-from-35#no-more-hidden-input-tags). There is limited backwards-compatible support for the `<input>` element in [full builds](https://select2.org/getting-started/builds-and-modules).
|
||||
- [Declarative configuration through `data-*` attributes](https://select2.org/configuration/data-attributes)
|
||||
- Easy to configure theme system and new default theme
|
||||
- You can use more specific locales (like `en-US`) and Select2 will be able to determine what translation files to load.
|
||||
|
||||
### Breaking changes
|
||||
- Select2 now uses the MIT license
|
||||
- [The full build](https://select2.org/getting-started/builds-and-modules) of Select2 no longer includes jQuery - You must include jQuery separately on your page.
|
||||
- Select2 will prevent the inner scrolling of modals (and other scrollable containers) when it is open to prevent the UI from breaking. [Read more at the commit.](https://github.com/select2/select2/commit/003d6053a9fff587c688008397e7d5824463fe99)
|
||||
- jQuery is no longer listed as a dependency in the `bower.json`/`component.json` files.
|
||||
- [`<select>` has replaced `<input type="hidden" />`](https://select2.org/upgrading/migrating-from-35#no-more-hidden-input-tags) for **all options** (_including remote data_)
|
||||
- The [`matcher` has been revamped](https://select2.org/upgrading/migrating-from-35#advanced-matching-of-searches) to include full context, a compatibility module (`select2/compat/matcher`) has been created
|
||||
- The [display always reflects the order](https://select2.org/upgrading/migrating-from-35#display-reflects-the-actual-order-of-the-values) data is sent to the server
|
||||
- The click mask is no longer the default (again). You can get back the old functionality by wrapping your `selectionAdapter` with the `ClickMask` (`select2/selection/clickMask`) decorator.
|
||||
- Select2 no longer stops the propagation of events happening within the dropdown and selection. You can use the `StopPropagation` modules available in the [full builds](https://select2.org/getting-started/builds-and-modules) to prevent this. [https://github.com/select2/select2/commit/8f8140e3b00c5d5bb232455137c4c633d7da4275]
|
||||
- The enter key no longer toggles the state of multiple select items in the results, but instead will only select them. Use CTRL + Space instead to toggle the state. [https://github.com/select2/select2/commit/017c20109471fa5b835603faf5dc37f7c2c2ea45]
|
||||
- Warnings will now be triggered in the developer console if Select2 detects an unsupported configuration.
|
||||
|
||||
#### Options
|
||||
|
||||
- The default value of the `width` option has been changed from `style` to `resolve`.
|
||||
- The `copy` value for the `width` option has been renamed to `style`.
|
||||
|
||||
##### Renamed
|
||||
- `formatSelection` -> `templateSelection`
|
||||
- `formatResult` -> `templateResult`
|
||||
- `sortResults` -> `sorter`
|
||||
- `createSearchChoice` -> `createTag`
|
||||
- `selectOnBlur` -> `selectOnClose`
|
||||
- `ajax.jsonpCallback` -> `ajax.jsonp`
|
||||
- `ajax.results` -> `ajax.processResults`
|
||||
- `tags: [array,of,data]` -> `data: [array,of,data], tags: true`
|
||||
- `placeholderOption` has been replaced by `placeholder.id` (`placeholder` -> `placeholder.text`)
|
||||
|
||||
##### [Internationalization](https://select2.org/i18n)
|
||||
- `formatNoMatches` -> `language.noMatches`
|
||||
- `formatSearching` -> `language.searching`
|
||||
- `formatInputTooShort` -> `language.inputTooShort`
|
||||
- `formatInputTooLong` -> `language.inputTooLong`
|
||||
- `formatAjaxError` -> `language.errorLoading`
|
||||
- `formatLoading` -> `language.loadingMore`
|
||||
- `formatSelectionTooBig` -> `language.maximumSelected`
|
||||
|
||||
##### Deprecated/Removed
|
||||
- `initSelection` - This is [no longer needed](https://select2.org/upgrading/migrating-from-35#removed-the-requirement-of-initselection) with `<select>` tags. Limited backwards compatibility in the [full build](https://select2.org/getting-started/builds-and-modules).
|
||||
- `id` - Data objects should now always have `id` and `text` attributes that are strings, use [`$.map`](https://api.jquery.com/jquery.map/) when migrating
|
||||
- `query` - Use a [custom data adapter](https://select2.org/upgrading/migrating-from-35#custom-data-adapters-instead-of-query) instead. Limited backwards compatibility in the [full build](https://select2.org/getting-started/builds-and-modules).
|
||||
- `ajax.params` - All parameters passed to `ajax` will be passed to the AJAX data transport function
|
||||
|
||||
#### Methods
|
||||
|
||||
##### Renamed
|
||||
- `.select2("val", [value])` -> `.val([value])`
|
||||
- `.select2("enable", !disabled)` -> `.prop("disabled", disabled)`
|
||||
|
||||
##### Removed
|
||||
- `.select2("onSortStart")` and `.select2("onSortEnd")` - A custom [selection adapter](https://select2.org/advanced/default-adapters/selection) should be created instead
|
||||
- `.select2("data", data)` - Create the `<option>` tags for the objects that you would like to set, and set the `.val` to select them
|
||||
- `.select2("readonly")` - There is [no way to make a `<select>` element read-only](http://stackoverflow.com/q/368813/359284), disable it instead
|
||||
|
||||
#### Events
|
||||
|
||||
##### New
|
||||
- `select2:closing` is triggered before the dropdown is closed
|
||||
- `select2:select` is triggered when an option is selected
|
||||
|
||||
##### Renamed
|
||||
- `select2-close` is now `select2:close`
|
||||
- `select2-open` is now `select2:open`
|
||||
- `select2-opening` is now `select2:opening`
|
||||
- `select2-selecting` is now `select2:selecting`
|
||||
- `select2-removed` is now `select2:unselect`
|
||||
- `select2-removing` is now `select2:unselecting`
|
||||
|
||||
##### Removed
|
||||
- `select2-clearing` has been removed in favor of `select2:unselecting`
|
||||
- `select2-highlight`
|
||||
- `select2-loaded`
|
||||
- `select2-focus` - Use the native `focus` event instead
|
||||
- `select2-blur` - Use the native `blur` event instead
|
||||
- All extra properties from the `change` event were removed
|
||||
- `val` can be retrieved with `$element.val()` instead
|
||||
- `added` can be retrieved by listening to `select2:select`
|
||||
- `removed` can be retrieved by listening to `select2:unselect`
|
263
Gruntfile.js
Normal file
263
Gruntfile.js
Normal file
|
@ -0,0 +1,263 @@
|
|||
const sass = require('node-sass');
|
||||
|
||||
module.exports = function (grunt) {
|
||||
// Full list of files that must be included by RequireJS
|
||||
includes = [
|
||||
'jquery.select2',
|
||||
'almond',
|
||||
|
||||
'jquery-mousewheel' // shimmed for non-full builds
|
||||
];
|
||||
|
||||
fullIncludes = [
|
||||
'jquery',
|
||||
|
||||
'select2/compat/containerCss',
|
||||
'select2/compat/dropdownCss',
|
||||
|
||||
'select2/compat/initSelection',
|
||||
'select2/compat/inputData',
|
||||
'select2/compat/matcher',
|
||||
'select2/compat/query',
|
||||
|
||||
'select2/dropdown/attachContainer',
|
||||
'select2/dropdown/stopPropagation',
|
||||
|
||||
'select2/selection/stopPropagation'
|
||||
].concat(includes);
|
||||
|
||||
var i18nModules = [];
|
||||
var i18nPaths = {};
|
||||
|
||||
var i18nFiles = grunt.file.expand({
|
||||
cwd: 'src/js'
|
||||
}, 'select2/i18n/*.js');
|
||||
|
||||
var testFiles = grunt.file.expand('tests/**/*.html');
|
||||
var testUrls = testFiles.map(function (filePath) {
|
||||
return 'http://localhost:9999/' + filePath;
|
||||
});
|
||||
|
||||
var testBuildNumber = "unknown";
|
||||
|
||||
if (process.env.TRAVIS_JOB_ID) {
|
||||
testBuildNumber = "travis-" + process.env.TRAVIS_JOB_ID;
|
||||
} else {
|
||||
var currentTime = new Date();
|
||||
|
||||
testBuildNumber = "manual-" + currentTime.getTime();
|
||||
}
|
||||
|
||||
for (var i = 0; i < i18nFiles.length; i++) {
|
||||
var file = i18nFiles[i];
|
||||
var name = file.split('.')[0];
|
||||
|
||||
i18nModules.push({
|
||||
name: name
|
||||
});
|
||||
|
||||
i18nPaths[name] = '../../' + name;
|
||||
}
|
||||
|
||||
var minifiedBanner = '/*! Select2 <%= package.version %> | https://github.com/select2/select2/blob/master/LICENSE.md */';
|
||||
|
||||
grunt.initConfig({
|
||||
package: grunt.file.readJSON('package.json'),
|
||||
|
||||
concat: {
|
||||
'dist': {
|
||||
options: {
|
||||
banner: grunt.file.read('src/js/wrapper.start.js'),
|
||||
},
|
||||
src: [
|
||||
'dist/js/select2.js',
|
||||
'src/js/wrapper.end.js'
|
||||
],
|
||||
dest: 'dist/js/select2.js'
|
||||
},
|
||||
'dist.full': {
|
||||
options: {
|
||||
banner: grunt.file.read('src/js/wrapper.start.js'),
|
||||
},
|
||||
src: [
|
||||
'dist/js/select2.full.js',
|
||||
'src/js/wrapper.end.js'
|
||||
],
|
||||
dest: 'dist/js/select2.full.js'
|
||||
}
|
||||
},
|
||||
|
||||
connect: {
|
||||
tests: {
|
||||
options: {
|
||||
base: '.',
|
||||
hostname: '127.0.0.1',
|
||||
port: 9999
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
uglify: {
|
||||
'dist': {
|
||||
src: 'dist/js/select2.js',
|
||||
dest: 'dist/js/select2.min.js',
|
||||
options: {
|
||||
banner: minifiedBanner
|
||||
}
|
||||
},
|
||||
'dist.full': {
|
||||
src: 'dist/js/select2.full.js',
|
||||
dest: 'dist/js/select2.full.min.js',
|
||||
options: {
|
||||
banner: minifiedBanner
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
qunit: {
|
||||
all: {
|
||||
options: {
|
||||
urls: testUrls
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
jshint: {
|
||||
options: {
|
||||
jshintrc: true,
|
||||
reporterOutput: ''
|
||||
},
|
||||
code: {
|
||||
src: ['src/js/**/*.js']
|
||||
},
|
||||
tests: {
|
||||
src: ['tests/**/*.js']
|
||||
}
|
||||
},
|
||||
|
||||
sass: {
|
||||
dist: {
|
||||
options: {
|
||||
implementation: sass,
|
||||
outputStyle: 'compressed'
|
||||
},
|
||||
files: {
|
||||
'dist/css/select2.min.css': [
|
||||
'src/scss/core.scss',
|
||||
'src/scss/theme/default/layout.css'
|
||||
]
|
||||
}
|
||||
},
|
||||
dev: {
|
||||
options: {
|
||||
implementation: sass,
|
||||
outputStyle: 'nested'
|
||||
},
|
||||
files: {
|
||||
'dist/css/select2.css': [
|
||||
'src/scss/core.scss',
|
||||
'src/scss/theme/default/layout.css'
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
requirejs: {
|
||||
'dist': {
|
||||
options: {
|
||||
baseUrl: 'src/js',
|
||||
optimize: 'none',
|
||||
name: 'select2/core',
|
||||
out: 'dist/js/select2.js',
|
||||
include: includes,
|
||||
namespace: 'S2',
|
||||
paths: {
|
||||
'almond': require.resolve('almond').slice(0, -3),
|
||||
'jquery': 'jquery.shim',
|
||||
'jquery-mousewheel': 'jquery.mousewheel.shim'
|
||||
},
|
||||
wrap: {
|
||||
startFile: 'src/js/banner.start.js',
|
||||
endFile: 'src/js/banner.end.js'
|
||||
}
|
||||
}
|
||||
},
|
||||
'dist.full': {
|
||||
options: {
|
||||
baseUrl: 'src/js',
|
||||
optimize: 'none',
|
||||
name: 'select2/core',
|
||||
out: 'dist/js/select2.full.js',
|
||||
include: fullIncludes,
|
||||
namespace: 'S2',
|
||||
paths: {
|
||||
'almond': require.resolve('almond').slice(0, -3),
|
||||
'jquery': 'jquery.shim',
|
||||
'jquery-mousewheel': require.resolve('jquery-mousewheel').slice(0, -3)
|
||||
},
|
||||
wrap: {
|
||||
startFile: 'src/js/banner.start.js',
|
||||
endFile: 'src/js/banner.end.js'
|
||||
}
|
||||
}
|
||||
},
|
||||
'i18n': {
|
||||
options: {
|
||||
baseUrl: 'src/js/select2/i18n',
|
||||
dir: 'dist/js/i18n',
|
||||
paths: i18nPaths,
|
||||
modules: i18nModules,
|
||||
namespace: 'S2',
|
||||
wrap: {
|
||||
start: minifiedBanner + grunt.file.read('src/js/banner.start.js'),
|
||||
end: grunt.file.read('src/js/banner.end.js')
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
watch: {
|
||||
js: {
|
||||
files: [
|
||||
'src/js/select2/**/*.js',
|
||||
'tests/**/*.js'
|
||||
],
|
||||
tasks: [
|
||||
'compile',
|
||||
'test',
|
||||
'minify'
|
||||
]
|
||||
},
|
||||
css: {
|
||||
files: [
|
||||
'src/scss/**/*.scss'
|
||||
],
|
||||
tasks: [
|
||||
'compile',
|
||||
'minify'
|
||||
]
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
grunt.loadNpmTasks('grunt-contrib-concat');
|
||||
grunt.loadNpmTasks('grunt-contrib-connect');
|
||||
grunt.loadNpmTasks('grunt-contrib-jshint');
|
||||
grunt.loadNpmTasks('grunt-contrib-qunit');
|
||||
grunt.loadNpmTasks('grunt-contrib-requirejs');
|
||||
grunt.loadNpmTasks('grunt-contrib-uglify');
|
||||
grunt.loadNpmTasks('grunt-contrib-watch');
|
||||
|
||||
grunt.loadNpmTasks('grunt-sass');
|
||||
|
||||
grunt.registerTask('default', ['compile', 'test', 'lint', 'minify']);
|
||||
|
||||
grunt.registerTask('compile', [
|
||||
'requirejs:dist', 'requirejs:dist.full', 'requirejs:i18n',
|
||||
'concat:dist', 'concat:dist.full',
|
||||
'sass:dev'
|
||||
]);
|
||||
grunt.registerTask('minify', ['uglify', 'sass:dist']);
|
||||
grunt.registerTask('lint', ['jshint']);
|
||||
grunt.registerTask('test', ['connect:tests', 'qunit']);
|
||||
};
|
18
LICENSE
18
LICENSE
|
@ -1,18 +0,0 @@
|
|||
Copyright 2014 Igor Vaynberg
|
||||
|
||||
Version: @@ver@@ Timestamp: @@timestamp@@
|
||||
|
||||
This software is licensed under the Apache License, Version 2.0 (the "Apache License") or the GNU
|
||||
General Public License version 2 (the "GPL License"). You may choose either license to govern your
|
||||
use of this software only upon the condition that you accept all of the terms of either the Apache
|
||||
License or the GPL License.
|
||||
|
||||
You may obtain a copy of the Apache License and the GPL License at:
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software distributed under the Apache License
|
||||
or the GPL Licesnse is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
either express or implied. See the Apache License and the GPL License for the specific language governing
|
||||
permissions and limitations under the Apache License and the GPL License.
|
21
LICENSE.md
Normal file
21
LICENSE.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2012-2017 Kevin Brown, Igor Vaynberg, and Select2 contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
148
README.md
148
README.md
|
@ -1,20 +1,28 @@
|
|||
Select2
|
||||
=======
|
||||
![Build Status][github-actions-image]
|
||||
[][cdnjs]
|
||||
[][jsdelivr]
|
||||
|
||||
Select2 is a jQuery-based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.
|
||||
Select2 is a jQuery-based replacement for select boxes. It supports searching,
|
||||
remote data sets, and pagination of results.
|
||||
|
||||
To get started, checkout examples and documentation at http://ivaynberg.github.com/select2
|
||||
To get started, checkout examples and documentation at
|
||||
https://select2.org/
|
||||
|
||||
Use cases
|
||||
---------
|
||||
|
||||
* Enhancing native selects with search.
|
||||
* Enhancing native selects with a better multi-select interface.
|
||||
* Loading data from JavaScript: easily load items via ajax and have them searchable.
|
||||
* Nesting optgroups: native selects only support one level of nested. Select2 does not have this restriction.
|
||||
* Loading data from JavaScript: easily load items via AJAX and have them
|
||||
searchable.
|
||||
* Nesting optgroups: native selects only support one level of nesting. Select2
|
||||
does not have this restriction.
|
||||
* Tagging: ability to add new items on the fly.
|
||||
* Working with large, remote datasets: ability to partially load a dataset based on the search term.
|
||||
* Paging of large datasets: easy support for loading more pages when the results are scrolled to the end.
|
||||
* Working with large, remote datasets: ability to partially load a dataset based
|
||||
on the search term.
|
||||
* Paging of large datasets: easy support for loading more pages when the results
|
||||
are scrolled to the end.
|
||||
* Templating: support for custom rendering of results and selections.
|
||||
|
||||
Browser compatibility
|
||||
|
@ -24,76 +32,96 @@ Browser compatibility
|
|||
* Firefox 10+
|
||||
* Safari 3+
|
||||
* Opera 10.6+
|
||||
|
||||
|
||||
Usage
|
||||
-----
|
||||
You can source Select2 directly from a [CDN like JSDliver](http://www.jsdelivr.com/#!select2), [download it from this GitHub repo](https://github.com/ivaynberg/select2/tags), or use one of the integrations below.
|
||||
You can source Select2 directly from a CDN like [jsDelivr][jsdelivr] or
|
||||
[cdnjs][cdnjs], [download it from this GitHub repo][releases], or use one of
|
||||
the integrations below.
|
||||
|
||||
Integrations
|
||||
------------
|
||||
Third party developers have created plugins for platforms which allow Select2 to be integrated more natively and quickly. For many platforms, additional plugins are not required because Select2 acts as a standard `<select>` box.
|
||||
|
||||
* [Wicket-Select2](https://github.com/ivaynberg/wicket-select2) (Java / [Apache Wicket](http://wicket.apache.org))
|
||||
* [select2-rails](https://github.com/argerim/select2-rails) (Ruby on Rails)
|
||||
* [AngularUI](http://angular-ui.github.com/#directives-select2) ([AngularJS](angularjs.org))
|
||||
* [Django](https://github.com/applegrew/django-select2)
|
||||
* [Symfony](https://github.com/19Gerhard85/sfSelect2WidgetsPlugin)
|
||||
* [Symfony2](https://github.com/avocode/FormExtensions)
|
||||
* [Bootstrap 2](https://github.com/t0m/select2-bootstrap-css) and [Bootstrap 3](https://github.com/t0m/select2-bootstrap-css/tree/bootstrap3) (CSS skins)
|
||||
* [Meteor](https://github.com/nate-strauser/meteor-select2) (modern reactive JavaScript framework; + [Bootstrap 3 skin](https://github.com/esperadomedia/meteor-select2-bootstrap3-css/))
|
||||
* [Meteor](https://jquery-select2.meteor.com)
|
||||
* [Yii 2.x](http://demos.krajee.com/widgets#select2)
|
||||
* [Yii 1.x](https://github.com/tonybolzan/yii-select2)
|
||||
* [AtmosphereJS](https://atmospherejs.com/package/jquery-select2)
|
||||
Plugins
|
||||
|
||||
### Example Integrations
|
||||
* [Django]
|
||||
- [django-autocomplete-light]
|
||||
- [django-easy-select2]
|
||||
- [django-select2]
|
||||
* [Drupal] - [drupal-select2]
|
||||
* [Meteor] - [meteor-select2]
|
||||
* [Ruby on Rails][ruby-on-rails] - [select2-rails]
|
||||
* [Wicket] - [wicketstuff-select2]
|
||||
* [Yii 2][yii2] - [yii2-widget-select2]
|
||||
* [Angularjs][angularjs] - [mdr-angular-select2]
|
||||
|
||||
* [Knockout.js](https://github.com/ivaynberg/select2/wiki/Knockout.js-Integration)
|
||||
* [Socket.IO](https://github.com/ivaynberg/select2/wiki/Socket.IO-Integration)
|
||||
* [PHP](https://github.com/ivaynberg/select2/wiki/PHP-Example)
|
||||
* [.Net MVC] (https://github.com/ivaynberg/select2/wiki/.Net-MVC-Example)
|
||||
Themes
|
||||
|
||||
- [Bootstrap 3][bootstrap3] - [select2-bootstrap-theme]
|
||||
- [Bootstrap 4][bootstrap4] - [select2-bootstrap4-theme]
|
||||
- [Flat UI][flat-ui] - [select2-flat-theme]
|
||||
- [Metro UI][metro-ui] - [select2-metro]
|
||||
|
||||
Missing an integration? Modify this `README` and make a pull request back here to Select2 on GitHub.
|
||||
|
||||
Internationalization (i18n)
|
||||
---------------------------
|
||||
|
||||
Select2 supports multiple languages by simply including the right language JS
|
||||
file (`select2_locale_it.js`, `select2_locale_nl.js`, etc.) after `select2.js`.
|
||||
file (`dist/js/i18n/it.js`, `dist/js/i18n/nl.js`, etc.) after
|
||||
`dist/js/select2.js`.
|
||||
|
||||
Missing a language? Just copy `select2_locale_en.js.template`, translate
|
||||
it, and make a pull request back to Select2 here on GitHub.
|
||||
Missing a language? Just copy `src/js/select2/i18n/en.js`, translate it, and
|
||||
make a pull request back to Select2 here on GitHub.
|
||||
|
||||
Bug tracker
|
||||
-----------
|
||||
|
||||
Have a bug? Please create an issue here on GitHub!
|
||||
|
||||
https://github.com/ivaynberg/select2/issues
|
||||
|
||||
Mailing list
|
||||
------------
|
||||
|
||||
Have a question? Ask on our mailing list!
|
||||
|
||||
select2@googlegroups.com
|
||||
|
||||
https://groups.google.com/d/forum/select2
|
||||
Documentation
|
||||
-------------
|
||||
The documentation for Select2 is available
|
||||
[online at the documentation website][documentation] and is located within the
|
||||
[`docs` directory of this repository][documentation-directory].
|
||||
|
||||
Community
|
||||
---------
|
||||
You can find out about the different ways to get in touch with the Select2
|
||||
community at the [Select2 community page][community].
|
||||
|
||||
Copyright and license
|
||||
---------------------
|
||||
The license is available within the repository in the [LICENSE][license] file.
|
||||
|
||||
Copyright 2012 Igor Vaynberg
|
||||
[cdnjs]: http://www.cdnjs.com/libraries/select2
|
||||
[community]: https://select2.org/getting-help
|
||||
[documentation]: https://select2.org
|
||||
[documentation-directory]: https://github.com/select2/select2/tree/develop/docs
|
||||
[freenode]: https://freenode.net/
|
||||
[github-actions-image]: https://github.com/select2/select2/workflows/CI/badge.svg
|
||||
[jsdelivr]: https://www.jsdelivr.com/package/npm/select2
|
||||
[license]: LICENSE.md
|
||||
[releases]: https://github.com/select2/select2/releases
|
||||
|
||||
This software is licensed under the Apache License, Version 2.0 (the "Apache License") or the GNU
|
||||
General Public License version 2 (the "GPL License"). You may choose either license to govern your
|
||||
use of this software only upon the condition that you accept all of the terms of either the Apache
|
||||
License or the GPL License.
|
||||
|
||||
You may obtain a copy of the Apache License and the GPL License in the LICENSE file, or at:
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software distributed under the Apache License
|
||||
or the GPL License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
either express or implied. See the Apache License and the GPL License for the specific language governing
|
||||
permissions and limitations under the Apache License and the GPL License.
|
||||
[angularjs]: https://angularjs.org/
|
||||
[bootstrap3]: https://getbootstrap.com/
|
||||
[bootstrap4]: https://getbootstrap.com/
|
||||
[django]: https://www.djangoproject.com/
|
||||
[django-autocomplete-light]: https://github.com/yourlabs/django-autocomplete-light
|
||||
[django-easy-select2]: https://github.com/asyncee/django-easy-select2
|
||||
[django-select2]: https://github.com/applegrew/django-select2
|
||||
[drupal]: https://www.drupal.org/
|
||||
[drupal-select2]: https://www.drupal.org/project/select2
|
||||
[flat-ui]: http://designmodo.github.io/Flat-UI/
|
||||
[mdr-angular-select2]: https://github.com/modulr/mdr-angular-select2
|
||||
[meteor]: https://www.meteor.com/
|
||||
[meteor-select2]: https://github.com/nate-strauser/meteor-select2
|
||||
[metro-ui]: http://metroui.org.ua/
|
||||
[select2-metro]: http://metroui.org.ua/select2.html
|
||||
[ruby-on-rails]: http://rubyonrails.org/
|
||||
[select2-bootstrap-theme]: https://github.com/select2/select2-bootstrap-theme
|
||||
[select2-bootstrap4-theme]: https://github.com/ttskch/select2-bootstrap4-theme
|
||||
[select2-flat-theme]: https://github.com/techhysahil/select2-Flat_Theme
|
||||
[select2-rails]: https://github.com/argerim/select2-rails
|
||||
[vue.js]: http://vuejs.org/
|
||||
[select2-vue]: http://vuejs.org/examples/select2.html
|
||||
[wicket]: https://wicket.apache.org/
|
||||
[wicketstuff-select2]: https://github.com/wicketstuff/core/tree/master/select2-parent
|
||||
[yii2]: http://www.yiiframework.com/
|
||||
[yii2-widget-select2]: https://github.com/kartik-v/yii2-widget-select2
|
||||
|
|
13
bower.json
13
bower.json
|
@ -1,8 +1,13 @@
|
|||
{
|
||||
"name": "select2",
|
||||
"version": "3.5.0",
|
||||
"main": ["select2.js", "select2.css", "select2.png", "select2x2.png", "select2-spinner.gif"],
|
||||
"dependencies": {
|
||||
"jquery": ">= 1.7.1"
|
||||
"description": "Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.",
|
||||
"main": [
|
||||
"dist/js/select2.js",
|
||||
"src/scss/core.scss"
|
||||
],
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git@github.com:select2/select2.git"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,66 +1,19 @@
|
|||
{
|
||||
"name": "select2",
|
||||
"repo": "ivaynberg/select2",
|
||||
"repo": "select/select2",
|
||||
"description": "Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.",
|
||||
"version": "3.5.0",
|
||||
"demo": "http://ivaynberg.github.io/select2/",
|
||||
"version": "4.0.12",
|
||||
"demo": "https://select2.org/",
|
||||
"keywords": [
|
||||
"jquery"
|
||||
],
|
||||
"main": "select2.js",
|
||||
"main": "dist/js/select2.js",
|
||||
"styles": [
|
||||
"select2.css",
|
||||
"select2-bootstrap.css"
|
||||
"dist/css/select2.css"
|
||||
],
|
||||
"scripts": [
|
||||
"select2.js",
|
||||
"select2_locale_ar.js",
|
||||
"select2_locale_bg.js",
|
||||
"select2_locale_ca.js",
|
||||
"select2_locale_cs.js",
|
||||
"select2_locale_da.js",
|
||||
"select2_locale_de.js",
|
||||
"select2_locale_el.js",
|
||||
"select2_locale_es.js",
|
||||
"select2_locale_et.js",
|
||||
"select2_locale_eu.js",
|
||||
"select2_locale_fa.js",
|
||||
"select2_locale_fi.js",
|
||||
"select2_locale_fr.js",
|
||||
"select2_locale_gl.js",
|
||||
"select2_locale_he.js",
|
||||
"select2_locale_hr.js",
|
||||
"select2_locale_hu.js",
|
||||
"select2_locale_id.js",
|
||||
"select2_locale_is.js",
|
||||
"select2_locale_it.js",
|
||||
"select2_locale_ja.js",
|
||||
"select2_locale_ka.js",
|
||||
"select2_locale_ko.js",
|
||||
"select2_locale_lt.js",
|
||||
"select2_locale_lv.js",
|
||||
"select2_locale_mk.js",
|
||||
"select2_locale_ms.js",
|
||||
"select2_locale_nl.js",
|
||||
"select2_locale_no.js",
|
||||
"select2_locale_pl.js",
|
||||
"select2_locale_pt-BR.js",
|
||||
"select2_locale_pt-PT.js",
|
||||
"select2_locale_ro.js",
|
||||
"select2_locale_ru.js",
|
||||
"select2_locale_sk.js",
|
||||
"select2_locale_sv.js",
|
||||
"select2_locale_th.js",
|
||||
"select2_locale_tr.js",
|
||||
"select2_locale_uk.js",
|
||||
"select2_locale_vi.js",
|
||||
"select2_locale_zh-CN.js",
|
||||
"select2_locale_zh-TW.js"
|
||||
],
|
||||
"images": [
|
||||
"select2-spinner.gif",
|
||||
"select2.png",
|
||||
"select2x2.png"
|
||||
"dist/js/select2.js",
|
||||
"dist/js/i18n/*.js"
|
||||
],
|
||||
"license": "MIT"
|
||||
}
|
||||
|
|
|
@ -1,28 +1,21 @@
|
|||
{
|
||||
"name":
|
||||
"ivaynberg/select2",
|
||||
"name": "select2/select2",
|
||||
"description": "Select2 is a jQuery based replacement for select boxes.",
|
||||
"version": "3.5.0",
|
||||
"type": "component",
|
||||
"homepage": "http://ivaynberg.github.io/select2/",
|
||||
"license": "Apache-2.0",
|
||||
"require": {
|
||||
"robloach/component-installer": "*",
|
||||
"components/jquery": ">=1.7.1"
|
||||
},
|
||||
"homepage": "https://select2.org/",
|
||||
"license": "MIT",
|
||||
"extra": {
|
||||
"component": {
|
||||
"scripts": [
|
||||
"select2.js"
|
||||
"dist/js/select2.js"
|
||||
],
|
||||
"styles": [
|
||||
"dist/css/select2.css"
|
||||
],
|
||||
"files": [
|
||||
"select2.js",
|
||||
"select2_locale_*.js",
|
||||
"select2.css",
|
||||
"select2-bootstrap.css",
|
||||
"select2-spinner.gif",
|
||||
"select2.png",
|
||||
"select2x2.png"
|
||||
"dist/js/select2.js",
|
||||
"dist/js/i18n/*.js",
|
||||
"dist/css/select2.css"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
481
dist/css/select2.css
vendored
Normal file
481
dist/css/select2.css
vendored
Normal file
|
@ -0,0 +1,481 @@
|
|||
.select2-container {
|
||||
box-sizing: border-box;
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
position: relative;
|
||||
vertical-align: middle; }
|
||||
.select2-container .select2-selection--single {
|
||||
box-sizing: border-box;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
height: 28px;
|
||||
user-select: none;
|
||||
-webkit-user-select: none; }
|
||||
.select2-container .select2-selection--single .select2-selection__rendered {
|
||||
display: block;
|
||||
padding-left: 8px;
|
||||
padding-right: 20px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap; }
|
||||
.select2-container .select2-selection--single .select2-selection__clear {
|
||||
position: relative; }
|
||||
.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
|
||||
padding-right: 8px;
|
||||
padding-left: 20px; }
|
||||
.select2-container .select2-selection--multiple {
|
||||
box-sizing: border-box;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
min-height: 32px;
|
||||
user-select: none;
|
||||
-webkit-user-select: none; }
|
||||
.select2-container .select2-selection--multiple .select2-selection__rendered {
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
padding-left: 8px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap; }
|
||||
.select2-container .select2-search--inline {
|
||||
float: left; }
|
||||
.select2-container .select2-search--inline .select2-search__field {
|
||||
box-sizing: border-box;
|
||||
border: none;
|
||||
font-size: 100%;
|
||||
margin-top: 5px;
|
||||
padding: 0; }
|
||||
.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
|
||||
-webkit-appearance: none; }
|
||||
|
||||
.select2-dropdown {
|
||||
background-color: white;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px;
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: -100000px;
|
||||
width: 100%;
|
||||
z-index: 1051; }
|
||||
|
||||
.select2-results {
|
||||
display: block; }
|
||||
|
||||
.select2-results__options {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0; }
|
||||
|
||||
.select2-results__option {
|
||||
padding: 6px;
|
||||
user-select: none;
|
||||
-webkit-user-select: none; }
|
||||
.select2-results__option[aria-selected] {
|
||||
cursor: pointer; }
|
||||
|
||||
.select2-container--open .select2-dropdown {
|
||||
left: 0; }
|
||||
|
||||
.select2-container--open .select2-dropdown--above {
|
||||
border-bottom: none;
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0; }
|
||||
|
||||
.select2-container--open .select2-dropdown--below {
|
||||
border-top: none;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0; }
|
||||
|
||||
.select2-search--dropdown {
|
||||
display: block;
|
||||
padding: 4px; }
|
||||
.select2-search--dropdown .select2-search__field {
|
||||
padding: 4px;
|
||||
width: 100%;
|
||||
box-sizing: border-box; }
|
||||
.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
|
||||
-webkit-appearance: none; }
|
||||
.select2-search--dropdown.select2-search--hide {
|
||||
display: none; }
|
||||
|
||||
.select2-close-mask {
|
||||
border: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: block;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
min-height: 100%;
|
||||
min-width: 100%;
|
||||
height: auto;
|
||||
width: auto;
|
||||
opacity: 0;
|
||||
z-index: 99;
|
||||
background-color: #fff;
|
||||
filter: alpha(opacity=0); }
|
||||
|
||||
.select2-hidden-accessible {
|
||||
border: 0 !important;
|
||||
clip: rect(0 0 0 0) !important;
|
||||
-webkit-clip-path: inset(50%) !important;
|
||||
clip-path: inset(50%) !important;
|
||||
height: 1px !important;
|
||||
overflow: hidden !important;
|
||||
padding: 0 !important;
|
||||
position: absolute !important;
|
||||
width: 1px !important;
|
||||
white-space: nowrap !important; }
|
||||
|
||||
.select2-container--default .select2-selection--single {
|
||||
background-color: #fff;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px; }
|
||||
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
||||
color: #444;
|
||||
line-height: 28px; }
|
||||
.select2-container--default .select2-selection--single .select2-selection__clear {
|
||||
cursor: pointer;
|
||||
float: right;
|
||||
font-weight: bold; }
|
||||
.select2-container--default .select2-selection--single .select2-selection__placeholder {
|
||||
color: #999; }
|
||||
.select2-container--default .select2-selection--single .select2-selection__arrow {
|
||||
height: 26px;
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
right: 1px;
|
||||
width: 20px; }
|
||||
.select2-container--default .select2-selection--single .select2-selection__arrow b {
|
||||
border-color: #888 transparent transparent transparent;
|
||||
border-style: solid;
|
||||
border-width: 5px 4px 0 4px;
|
||||
height: 0;
|
||||
left: 50%;
|
||||
margin-left: -4px;
|
||||
margin-top: -2px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: 0; }
|
||||
|
||||
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
|
||||
float: left; }
|
||||
|
||||
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
|
||||
left: 1px;
|
||||
right: auto; }
|
||||
|
||||
.select2-container--default.select2-container--disabled .select2-selection--single {
|
||||
background-color: #eee;
|
||||
cursor: default; }
|
||||
.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
|
||||
display: none; }
|
||||
|
||||
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
|
||||
border-color: transparent transparent #888 transparent;
|
||||
border-width: 0 4px 5px 4px; }
|
||||
|
||||
.select2-container--default .select2-selection--multiple {
|
||||
background-color: white;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px;
|
||||
cursor: text; }
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
|
||||
box-sizing: border-box;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0 5px;
|
||||
width: 100%; }
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
|
||||
list-style: none; }
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__clear {
|
||||
cursor: pointer;
|
||||
float: right;
|
||||
font-weight: bold;
|
||||
margin-top: 5px;
|
||||
margin-right: 10px;
|
||||
padding: 1px; }
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__choice {
|
||||
background-color: #e4e4e4;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px;
|
||||
cursor: default;
|
||||
float: left;
|
||||
margin-right: 5px;
|
||||
margin-top: 5px;
|
||||
padding: 0 5px; }
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
|
||||
color: #999;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
font-weight: bold;
|
||||
margin-right: 2px; }
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
|
||||
color: #333; }
|
||||
|
||||
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline {
|
||||
float: right; }
|
||||
|
||||
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
|
||||
margin-left: 5px;
|
||||
margin-right: auto; }
|
||||
|
||||
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
|
||||
margin-left: 2px;
|
||||
margin-right: auto; }
|
||||
|
||||
.select2-container--default.select2-container--focus .select2-selection--multiple {
|
||||
border: solid black 1px;
|
||||
outline: 0; }
|
||||
|
||||
.select2-container--default.select2-container--disabled .select2-selection--multiple {
|
||||
background-color: #eee;
|
||||
cursor: default; }
|
||||
|
||||
.select2-container--default.select2-container--disabled .select2-selection__choice__remove {
|
||||
display: none; }
|
||||
|
||||
.select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0; }
|
||||
|
||||
.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0; }
|
||||
|
||||
.select2-container--default .select2-search--dropdown .select2-search__field {
|
||||
border: 1px solid #aaa; }
|
||||
|
||||
.select2-container--default .select2-search--inline .select2-search__field {
|
||||
background: transparent;
|
||||
border: none;
|
||||
outline: 0;
|
||||
box-shadow: none;
|
||||
-webkit-appearance: textfield; }
|
||||
|
||||
.select2-container--default .select2-results > .select2-results__options {
|
||||
max-height: 200px;
|
||||
overflow-y: auto; }
|
||||
|
||||
.select2-container--default .select2-results__option[role=group] {
|
||||
padding: 0; }
|
||||
|
||||
.select2-container--default .select2-results__option[aria-disabled=true] {
|
||||
color: #999; }
|
||||
|
||||
.select2-container--default .select2-results__option[aria-selected=true] {
|
||||
background-color: #ddd; }
|
||||
|
||||
.select2-container--default .select2-results__option .select2-results__option {
|
||||
padding-left: 1em; }
|
||||
.select2-container--default .select2-results__option .select2-results__option .select2-results__group {
|
||||
padding-left: 0; }
|
||||
.select2-container--default .select2-results__option .select2-results__option .select2-results__option {
|
||||
margin-left: -1em;
|
||||
padding-left: 2em; }
|
||||
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
||||
margin-left: -2em;
|
||||
padding-left: 3em; }
|
||||
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
||||
margin-left: -3em;
|
||||
padding-left: 4em; }
|
||||
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
||||
margin-left: -4em;
|
||||
padding-left: 5em; }
|
||||
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
||||
margin-left: -5em;
|
||||
padding-left: 6em; }
|
||||
|
||||
.select2-container--default .select2-results__option--highlighted[aria-selected] {
|
||||
background-color: #5897fb;
|
||||
color: white; }
|
||||
|
||||
.select2-container--default .select2-results__group {
|
||||
cursor: default;
|
||||
display: block;
|
||||
padding: 6px; }
|
||||
|
||||
.select2-container--classic .select2-selection--single {
|
||||
background-color: #f7f7f7;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px;
|
||||
outline: 0;
|
||||
background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%);
|
||||
background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%);
|
||||
background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
|
||||
.select2-container--classic .select2-selection--single:focus {
|
||||
border: 1px solid #5897fb; }
|
||||
.select2-container--classic .select2-selection--single .select2-selection__rendered {
|
||||
color: #444;
|
||||
line-height: 28px; }
|
||||
.select2-container--classic .select2-selection--single .select2-selection__clear {
|
||||
cursor: pointer;
|
||||
float: right;
|
||||
font-weight: bold;
|
||||
margin-right: 10px; }
|
||||
.select2-container--classic .select2-selection--single .select2-selection__placeholder {
|
||||
color: #999; }
|
||||
.select2-container--classic .select2-selection--single .select2-selection__arrow {
|
||||
background-color: #ddd;
|
||||
border: none;
|
||||
border-left: 1px solid #aaa;
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
height: 26px;
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
right: 1px;
|
||||
width: 20px;
|
||||
background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
|
||||
background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
|
||||
background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0); }
|
||||
.select2-container--classic .select2-selection--single .select2-selection__arrow b {
|
||||
border-color: #888 transparent transparent transparent;
|
||||
border-style: solid;
|
||||
border-width: 5px 4px 0 4px;
|
||||
height: 0;
|
||||
left: 50%;
|
||||
margin-left: -4px;
|
||||
margin-top: -2px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: 0; }
|
||||
|
||||
.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear {
|
||||
float: left; }
|
||||
|
||||
.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow {
|
||||
border: none;
|
||||
border-right: 1px solid #aaa;
|
||||
border-radius: 0;
|
||||
border-top-left-radius: 4px;
|
||||
border-bottom-left-radius: 4px;
|
||||
left: 1px;
|
||||
right: auto; }
|
||||
|
||||
.select2-container--classic.select2-container--open .select2-selection--single {
|
||||
border: 1px solid #5897fb; }
|
||||
.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow {
|
||||
background: transparent;
|
||||
border: none; }
|
||||
.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
|
||||
border-color: transparent transparent #888 transparent;
|
||||
border-width: 0 4px 5px 4px; }
|
||||
|
||||
.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
|
||||
border-top: none;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%);
|
||||
background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%);
|
||||
background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
|
||||
|
||||
.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
|
||||
border-bottom: none;
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%);
|
||||
background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%);
|
||||
background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0); }
|
||||
|
||||
.select2-container--classic .select2-selection--multiple {
|
||||
background-color: white;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px;
|
||||
cursor: text;
|
||||
outline: 0; }
|
||||
.select2-container--classic .select2-selection--multiple:focus {
|
||||
border: 1px solid #5897fb; }
|
||||
.select2-container--classic .select2-selection--multiple .select2-selection__rendered {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0 5px; }
|
||||
.select2-container--classic .select2-selection--multiple .select2-selection__clear {
|
||||
display: none; }
|
||||
.select2-container--classic .select2-selection--multiple .select2-selection__choice {
|
||||
background-color: #e4e4e4;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px;
|
||||
cursor: default;
|
||||
float: left;
|
||||
margin-right: 5px;
|
||||
margin-top: 5px;
|
||||
padding: 0 5px; }
|
||||
.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
|
||||
color: #888;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
font-weight: bold;
|
||||
margin-right: 2px; }
|
||||
.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
|
||||
color: #555; }
|
||||
|
||||
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
|
||||
float: right;
|
||||
margin-left: 5px;
|
||||
margin-right: auto; }
|
||||
|
||||
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
|
||||
margin-left: 2px;
|
||||
margin-right: auto; }
|
||||
|
||||
.select2-container--classic.select2-container--open .select2-selection--multiple {
|
||||
border: 1px solid #5897fb; }
|
||||
|
||||
.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple {
|
||||
border-top: none;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0; }
|
||||
|
||||
.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple {
|
||||
border-bottom: none;
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0; }
|
||||
|
||||
.select2-container--classic .select2-search--dropdown .select2-search__field {
|
||||
border: 1px solid #aaa;
|
||||
outline: 0; }
|
||||
|
||||
.select2-container--classic .select2-search--inline .select2-search__field {
|
||||
outline: 0;
|
||||
box-shadow: none; }
|
||||
|
||||
.select2-container--classic .select2-dropdown {
|
||||
background-color: white;
|
||||
border: 1px solid transparent; }
|
||||
|
||||
.select2-container--classic .select2-dropdown--above {
|
||||
border-bottom: none; }
|
||||
|
||||
.select2-container--classic .select2-dropdown--below {
|
||||
border-top: none; }
|
||||
|
||||
.select2-container--classic .select2-results > .select2-results__options {
|
||||
max-height: 200px;
|
||||
overflow-y: auto; }
|
||||
|
||||
.select2-container--classic .select2-results__option[role=group] {
|
||||
padding: 0; }
|
||||
|
||||
.select2-container--classic .select2-results__option[aria-disabled=true] {
|
||||
color: grey; }
|
||||
|
||||
.select2-container--classic .select2-results__option--highlighted[aria-selected] {
|
||||
background-color: #3875d7;
|
||||
color: white; }
|
||||
|
||||
.select2-container--classic .select2-results__group {
|
||||
cursor: default;
|
||||
display: block;
|
||||
padding: 6px; }
|
||||
|
||||
.select2-container--classic.select2-container--open .select2-dropdown {
|
||||
border-color: #5897fb; }
|
1
dist/css/select2.min.css
vendored
Normal file
1
dist/css/select2.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
3
dist/js/i18n/af.js
vendored
Normal file
3
dist/js/i18n/af.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/af",[],function(){return{errorLoading:function(){return"Die resultate kon nie gelaai word nie."},inputTooLong:function(e){var n=e.input.length-e.maximum,r="Verwyders asseblief "+n+" character";return 1!=n&&(r+="s"),r},inputTooShort:function(e){return"Voer asseblief "+(e.minimum-e.input.length)+" of meer karakters"},loadingMore:function(){return"Meer resultate word gelaai…"},maximumSelected:function(e){var n="Kies asseblief net "+e.maximum+" item";return 1!=e.maximum&&(n+="s"),n},noResults:function(){return"Geen resultate gevind"},searching:function(){return"Besig…"},removeAllItems:function(){return"Verwyder alle items"}}}),e.define,e.require}();
|
3
dist/js/i18n/ar.js
vendored
Normal file
3
dist/js/i18n/ar.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/ar",[],function(){return{errorLoading:function(){return"لا يمكن تحميل النتائج"},inputTooLong:function(n){return"الرجاء حذف "+(n.input.length-n.maximum)+" عناصر"},inputTooShort:function(n){return"الرجاء إضافة "+(n.minimum-n.input.length)+" عناصر"},loadingMore:function(){return"جاري تحميل نتائج إضافية..."},maximumSelected:function(n){return"تستطيع إختيار "+n.maximum+" بنود فقط"},noResults:function(){return"لم يتم العثور على أي نتائج"},searching:function(){return"جاري البحث…"},removeAllItems:function(){return"قم بإزالة كل العناصر"}}}),n.define,n.require}();
|
3
dist/js/i18n/az.js
vendored
Normal file
3
dist/js/i18n/az.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/az",[],function(){return{inputTooLong:function(n){return n.input.length-n.maximum+" simvol silin"},inputTooShort:function(n){return n.minimum-n.input.length+" simvol daxil edin"},loadingMore:function(){return"Daha çox nəticə yüklənir…"},maximumSelected:function(n){return"Sadəcə "+n.maximum+" element seçə bilərsiniz"},noResults:function(){return"Nəticə tapılmadı"},searching:function(){return"Axtarılır…"},removeAllItems:function(){return"Bütün elementləri sil"}}}),n.define,n.require}();
|
3
dist/js/i18n/bg.js
vendored
Normal file
3
dist/js/i18n/bg.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/bg",[],function(){return{inputTooLong:function(n){var e=n.input.length-n.maximum,u="Моля въведете с "+e+" по-малко символ";return e>1&&(u+="a"),u},inputTooShort:function(n){var e=n.minimum-n.input.length,u="Моля въведете още "+e+" символ";return e>1&&(u+="a"),u},loadingMore:function(){return"Зареждат се още…"},maximumSelected:function(n){var e="Можете да направите до "+n.maximum+" ";return n.maximum>1?e+="избора":e+="избор",e},noResults:function(){return"Няма намерени съвпадения"},searching:function(){return"Търсене…"},removeAllItems:function(){return"Премахнете всички елементи"}}}),n.define,n.require}();
|
3
dist/js/i18n/bn.js
vendored
Normal file
3
dist/js/i18n/bn.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/bn",[],function(){return{errorLoading:function(){return"ফলাফলগুলি লোড করা যায়নি।"},inputTooLong:function(n){var e=n.input.length-n.maximum,u="অনুগ্রহ করে "+e+" টি অক্ষর মুছে দিন।";return 1!=e&&(u="অনুগ্রহ করে "+e+" টি অক্ষর মুছে দিন।"),u},inputTooShort:function(n){return n.minimum-n.input.length+" টি অক্ষর অথবা অধিক অক্ষর লিখুন।"},loadingMore:function(){return"আরো ফলাফল লোড হচ্ছে ..."},maximumSelected:function(n){var e=n.maximum+" টি আইটেম নির্বাচন করতে পারবেন।";return 1!=n.maximum&&(e=n.maximum+" টি আইটেম নির্বাচন করতে পারবেন।"),e},noResults:function(){return"কোন ফলাফল পাওয়া যায়নি।"},searching:function(){return"অনুসন্ধান করা হচ্ছে ..."}}}),n.define,n.require}();
|
3
dist/js/i18n/bs.js
vendored
Normal file
3
dist/js/i18n/bs.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/bs",[],function(){function e(e,n,r,t){return e%10==1&&e%100!=11?n:e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?r:t}return{errorLoading:function(){return"Preuzimanje nije uspijelo."},inputTooLong:function(n){var r=n.input.length-n.maximum,t="Obrišite "+r+" simbol";return t+=e(r,"","a","a")},inputTooShort:function(n){var r=n.minimum-n.input.length,t="Ukucajte bar još "+r+" simbol";return t+=e(r,"","a","a")},loadingMore:function(){return"Preuzimanje još rezultata…"},maximumSelected:function(n){var r="Možete izabrati samo "+n.maximum+" stavk";return r+=e(n.maximum,"u","e","i")},noResults:function(){return"Ništa nije pronađeno"},searching:function(){return"Pretraga…"},removeAllItems:function(){return"Uklonite sve stavke"}}}),e.define,e.require}();
|
3
dist/js/i18n/ca.js
vendored
Normal file
3
dist/js/i18n/ca.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/ca",[],function(){return{errorLoading:function(){return"La càrrega ha fallat"},inputTooLong:function(e){var n=e.input.length-e.maximum,r="Si us plau, elimina "+n+" car";return r+=1==n?"àcter":"àcters"},inputTooShort:function(e){var n=e.minimum-e.input.length,r="Si us plau, introdueix "+n+" car";return r+=1==n?"àcter":"àcters"},loadingMore:function(){return"Carregant més resultats…"},maximumSelected:function(e){var n="Només es pot seleccionar "+e.maximum+" element";return 1!=e.maximum&&(n+="s"),n},noResults:function(){return"No s'han trobat resultats"},searching:function(){return"Cercant…"},removeAllItems:function(){return"Treu tots els elements"}}}),e.define,e.require}();
|
3
dist/js/i18n/cs.js
vendored
Normal file
3
dist/js/i18n/cs.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/cs",[],function(){function e(e,n){switch(e){case 2:return n?"dva":"dvě";case 3:return"tři";case 4:return"čtyři"}return""}return{errorLoading:function(){return"Výsledky nemohly být načteny."},inputTooLong:function(n){var t=n.input.length-n.maximum;return 1==t?"Prosím, zadejte o jeden znak méně.":t<=4?"Prosím, zadejte o "+e(t,!0)+" znaky méně.":"Prosím, zadejte o "+t+" znaků méně."},inputTooShort:function(n){var t=n.minimum-n.input.length;return 1==t?"Prosím, zadejte ještě jeden znak.":t<=4?"Prosím, zadejte ještě další "+e(t,!0)+" znaky.":"Prosím, zadejte ještě dalších "+t+" znaků."},loadingMore:function(){return"Načítají se další výsledky…"},maximumSelected:function(n){var t=n.maximum;return 1==t?"Můžete zvolit jen jednu položku.":t<=4?"Můžete zvolit maximálně "+e(t,!1)+" položky.":"Můžete zvolit maximálně "+t+" položek."},noResults:function(){return"Nenalezeny žádné položky."},searching:function(){return"Vyhledávání…"},removeAllItems:function(){return"Odstraňte všechny položky"}}}),e.define,e.require}();
|
3
dist/js/i18n/da.js
vendored
Normal file
3
dist/js/i18n/da.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/da",[],function(){return{errorLoading:function(){return"Resultaterne kunne ikke indlæses."},inputTooLong:function(e){return"Angiv venligst "+(e.input.length-e.maximum)+" tegn mindre"},inputTooShort:function(e){return"Angiv venligst "+(e.minimum-e.input.length)+" tegn mere"},loadingMore:function(){return"Indlæser flere resultater…"},maximumSelected:function(e){var n="Du kan kun vælge "+e.maximum+" emne";return 1!=e.maximum&&(n+="r"),n},noResults:function(){return"Ingen resultater fundet"},searching:function(){return"Søger…"},removeAllItems:function(){return"Fjern alle elementer"}}}),e.define,e.require}();
|
3
dist/js/i18n/de.js
vendored
Normal file
3
dist/js/i18n/de.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/de",[],function(){return{errorLoading:function(){return"Die Ergebnisse konnten nicht geladen werden."},inputTooLong:function(e){return"Bitte "+(e.input.length-e.maximum)+" Zeichen weniger eingeben"},inputTooShort:function(e){return"Bitte "+(e.minimum-e.input.length)+" Zeichen mehr eingeben"},loadingMore:function(){return"Lade mehr Ergebnisse…"},maximumSelected:function(e){var n="Sie können nur "+e.maximum+" Element";return 1!=e.maximum&&(n+="e"),n+=" auswählen"},noResults:function(){return"Keine Übereinstimmungen gefunden"},searching:function(){return"Suche…"},removeAllItems:function(){return"Entferne alle Elemente"}}}),e.define,e.require}();
|
3
dist/js/i18n/dsb.js
vendored
Normal file
3
dist/js/i18n/dsb.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/dsb",[],function(){var n=["znamuško","znamušce","znamuška","znamuškow"],e=["zapisk","zapiska","zapiski","zapiskow"],u=function(n,e){return 1===n?e[0]:2===n?e[1]:n>2&&n<=4?e[2]:n>=5?e[3]:void 0};return{errorLoading:function(){return"Wuslědki njejsu se dali zacytaś."},inputTooLong:function(e){var a=e.input.length-e.maximum;return"Pšosym lašuj "+a+" "+u(a,n)},inputTooShort:function(e){var a=e.minimum-e.input.length;return"Pšosym zapódaj nanejmjenjej "+a+" "+u(a,n)},loadingMore:function(){return"Dalšne wuslědki se zacytaju…"},maximumSelected:function(n){return"Móžoš jano "+n.maximum+" "+u(n.maximum,e)+"wubraś."},noResults:function(){return"Žedne wuslědki namakane"},searching:function(){return"Pyta se…"},removeAllItems:function(){return"Remove all items"}}}),n.define,n.require}();
|
3
dist/js/i18n/el.js
vendored
Normal file
3
dist/js/i18n/el.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/el",[],function(){return{errorLoading:function(){return"Τα αποτελέσματα δεν μπόρεσαν να φορτώσουν."},inputTooLong:function(n){var e=n.input.length-n.maximum,u="Παρακαλώ διαγράψτε "+e+" χαρακτήρ";return 1==e&&(u+="α"),1!=e&&(u+="ες"),u},inputTooShort:function(n){return"Παρακαλώ συμπληρώστε "+(n.minimum-n.input.length)+" ή περισσότερους χαρακτήρες"},loadingMore:function(){return"Φόρτωση περισσότερων αποτελεσμάτων…"},maximumSelected:function(n){var e="Μπορείτε να επιλέξετε μόνο "+n.maximum+" επιλογ";return 1==n.maximum&&(e+="ή"),1!=n.maximum&&(e+="ές"),e},noResults:function(){return"Δεν βρέθηκαν αποτελέσματα"},searching:function(){return"Αναζήτηση…"},removeAllItems:function(){return"Καταργήστε όλα τα στοιχεία"}}}),n.define,n.require}();
|
3
dist/js/i18n/en.js
vendored
Normal file
3
dist/js/i18n/en.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var n=e.input.length-e.maximum,r="Please delete "+n+" character";return 1!=n&&(r+="s"),r},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var n="You can only select "+e.maximum+" item";return 1!=e.maximum&&(n+="s"),n},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}}),e.define,e.require}();
|
3
dist/js/i18n/es.js
vendored
Normal file
3
dist/js/i18n/es.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/es",[],function(){return{errorLoading:function(){return"No se pudieron cargar los resultados"},inputTooLong:function(e){var n=e.input.length-e.maximum,r="Por favor, elimine "+n+" car";return r+=1==n?"ácter":"acteres"},inputTooShort:function(e){var n=e.minimum-e.input.length,r="Por favor, introduzca "+n+" car";return r+=1==n?"ácter":"acteres"},loadingMore:function(){return"Cargando más resultados…"},maximumSelected:function(e){var n="Sólo puede seleccionar "+e.maximum+" elemento";return 1!=e.maximum&&(n+="s"),n},noResults:function(){return"No se encontraron resultados"},searching:function(){return"Buscando…"},removeAllItems:function(){return"Eliminar todos los elementos"}}}),e.define,e.require}();
|
3
dist/js/i18n/et.js
vendored
Normal file
3
dist/js/i18n/et.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/et",[],function(){return{inputTooLong:function(e){var n=e.input.length-e.maximum,t="Sisesta "+n+" täht";return 1!=n&&(t+="e"),t+=" vähem"},inputTooShort:function(e){var n=e.minimum-e.input.length,t="Sisesta "+n+" täht";return 1!=n&&(t+="e"),t+=" rohkem"},loadingMore:function(){return"Laen tulemusi…"},maximumSelected:function(e){var n="Saad vaid "+e.maximum+" tulemus";return 1==e.maximum?n+="e":n+="t",n+=" valida"},noResults:function(){return"Tulemused puuduvad"},searching:function(){return"Otsin…"},removeAllItems:function(){return"Eemalda kõik esemed"}}}),e.define,e.require}();
|
3
dist/js/i18n/eu.js
vendored
Normal file
3
dist/js/i18n/eu.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/eu",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Idatzi ";return n+=1==t?"karaktere bat":t+" karaktere",n+=" gutxiago"},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Idatzi ";return n+=1==t?"karaktere bat":t+" karaktere",n+=" gehiago"},loadingMore:function(){return"Emaitza gehiago kargatzen…"},maximumSelected:function(e){return 1===e.maximum?"Elementu bakarra hauta dezakezu":e.maximum+" elementu hauta ditzakezu soilik"},noResults:function(){return"Ez da bat datorrenik aurkitu"},searching:function(){return"Bilatzen…"},removeAllItems:function(){return"Kendu elementu guztiak"}}}),e.define,e.require}();
|
3
dist/js/i18n/fa.js
vendored
Normal file
3
dist/js/i18n/fa.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/fa",[],function(){return{errorLoading:function(){return"امکان بارگذاری نتایج وجود ندارد."},inputTooLong:function(n){return"لطفاً "+(n.input.length-n.maximum)+" کاراکتر را حذف نمایید"},inputTooShort:function(n){return"لطفاً تعداد "+(n.minimum-n.input.length)+" کاراکتر یا بیشتر وارد نمایید"},loadingMore:function(){return"در حال بارگذاری نتایج بیشتر..."},maximumSelected:function(n){return"شما تنها میتوانید "+n.maximum+" آیتم را انتخاب نمایید"},noResults:function(){return"هیچ نتیجهای یافت نشد"},searching:function(){return"در حال جستجو..."},removeAllItems:function(){return"همه موارد را حذف کنید"}}}),n.define,n.require}();
|
3
dist/js/i18n/fi.js
vendored
Normal file
3
dist/js/i18n/fi.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/fi",[],function(){return{errorLoading:function(){return"Tuloksia ei saatu ladattua."},inputTooLong:function(n){return"Ole hyvä ja anna "+(n.input.length-n.maximum)+" merkkiä vähemmän"},inputTooShort:function(n){return"Ole hyvä ja anna "+(n.minimum-n.input.length)+" merkkiä lisää"},loadingMore:function(){return"Ladataan lisää tuloksia…"},maximumSelected:function(n){return"Voit valita ainoastaan "+n.maximum+" kpl"},noResults:function(){return"Ei tuloksia"},searching:function(){return"Haetaan…"},removeAllItems:function(){return"Poista kaikki kohteet"}}}),n.define,n.require}();
|
3
dist/js/i18n/fr.js
vendored
Normal file
3
dist/js/i18n/fr.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/fr",[],function(){return{errorLoading:function(){return"Les résultats ne peuvent pas être chargés."},inputTooLong:function(e){var n=e.input.length-e.maximum;return"Supprimez "+n+" caractère"+(n>1?"s":"")},inputTooShort:function(e){var n=e.minimum-e.input.length;return"Saisissez au moins "+n+" caractère"+(n>1?"s":"")},loadingMore:function(){return"Chargement de résultats supplémentaires…"},maximumSelected:function(e){return"Vous pouvez seulement sélectionner "+e.maximum+" élément"+(e.maximum>1?"s":"")},noResults:function(){return"Aucun résultat trouvé"},searching:function(){return"Recherche en cours…"},removeAllItems:function(){return"Supprimer tous les éléments"}}}),e.define,e.require}();
|
3
dist/js/i18n/gl.js
vendored
Normal file
3
dist/js/i18n/gl.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/gl",[],function(){return{errorLoading:function(){return"Non foi posíbel cargar os resultados."},inputTooLong:function(e){var n=e.input.length-e.maximum;return 1===n?"Elimine un carácter":"Elimine "+n+" caracteres"},inputTooShort:function(e){var n=e.minimum-e.input.length;return 1===n?"Engada un carácter":"Engada "+n+" caracteres"},loadingMore:function(){return"Cargando máis resultados…"},maximumSelected:function(e){return 1===e.maximum?"Só pode seleccionar un elemento":"Só pode seleccionar "+e.maximum+" elementos"},noResults:function(){return"Non se atoparon resultados"},searching:function(){return"Buscando…"},removeAllItems:function(){return"Elimina todos os elementos"}}}),e.define,e.require}();
|
3
dist/js/i18n/he.js
vendored
Normal file
3
dist/js/i18n/he.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/he",[],function(){return{errorLoading:function(){return"שגיאה בטעינת התוצאות"},inputTooLong:function(n){var e=n.input.length-n.maximum,r="נא למחוק ";return r+=1===e?"תו אחד":e+" תווים"},inputTooShort:function(n){var e=n.minimum-n.input.length,r="נא להכניס ";return r+=1===e?"תו אחד":e+" תווים",r+=" או יותר"},loadingMore:function(){return"טוען תוצאות נוספות…"},maximumSelected:function(n){var e="באפשרותך לבחור עד ";return 1===n.maximum?e+="פריט אחד":e+=n.maximum+" פריטים",e},noResults:function(){return"לא נמצאו תוצאות"},searching:function(){return"מחפש…"},removeAllItems:function(){return"הסר את כל הפריטים"}}}),n.define,n.require}();
|
3
dist/js/i18n/hi.js
vendored
Normal file
3
dist/js/i18n/hi.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/hi",[],function(){return{errorLoading:function(){return"परिणामों को लोड नहीं किया जा सका।"},inputTooLong:function(n){var e=n.input.length-n.maximum,r=e+" अक्षर को हटा दें";return e>1&&(r=e+" अक्षरों को हटा दें "),r},inputTooShort:function(n){return"कृपया "+(n.minimum-n.input.length)+" या अधिक अक्षर दर्ज करें"},loadingMore:function(){return"अधिक परिणाम लोड हो रहे है..."},maximumSelected:function(n){return"आप केवल "+n.maximum+" आइटम का चयन कर सकते हैं"},noResults:function(){return"कोई परिणाम नहीं मिला"},searching:function(){return"खोज रहा है..."},removeAllItems:function(){return"सभी वस्तुओं को हटा दें"}}}),n.define,n.require}();
|
3
dist/js/i18n/hr.js
vendored
Normal file
3
dist/js/i18n/hr.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/hr",[],function(){function n(n){var e=" "+n+" znak";return n%10<5&&n%10>0&&(n%100<5||n%100>19)?n%10>1&&(e+="a"):e+="ova",e}return{errorLoading:function(){return"Preuzimanje nije uspjelo."},inputTooLong:function(e){return"Unesite "+n(e.input.length-e.maximum)},inputTooShort:function(e){return"Unesite još "+n(e.minimum-e.input.length)},loadingMore:function(){return"Učitavanje rezultata…"},maximumSelected:function(n){return"Maksimalan broj odabranih stavki je "+n.maximum},noResults:function(){return"Nema rezultata"},searching:function(){return"Pretraga…"},removeAllItems:function(){return"Ukloni sve stavke"}}}),n.define,n.require}();
|
3
dist/js/i18n/hsb.js
vendored
Normal file
3
dist/js/i18n/hsb.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/hsb",[],function(){var n=["znamješko","znamješce","znamješka","znamješkow"],e=["zapisk","zapiskaj","zapiski","zapiskow"],u=function(n,e){return 1===n?e[0]:2===n?e[1]:n>2&&n<=4?e[2]:n>=5?e[3]:void 0};return{errorLoading:function(){return"Wuslědki njedachu so začitać."},inputTooLong:function(e){var a=e.input.length-e.maximum;return"Prošu zhašej "+a+" "+u(a,n)},inputTooShort:function(e){var a=e.minimum-e.input.length;return"Prošu zapodaj znajmjeńša "+a+" "+u(a,n)},loadingMore:function(){return"Dalše wuslědki so začitaja…"},maximumSelected:function(n){return"Móžeš jenož "+n.maximum+" "+u(n.maximum,e)+"wubrać"},noResults:function(){return"Žane wuslědki namakane"},searching:function(){return"Pyta so…"},removeAllItems:function(){return"Remove all items"}}}),n.define,n.require}();
|
3
dist/js/i18n/hu.js
vendored
Normal file
3
dist/js/i18n/hu.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/hu",[],function(){return{errorLoading:function(){return"Az eredmények betöltése nem sikerült."},inputTooLong:function(e){return"Túl hosszú. "+(e.input.length-e.maximum)+" karakterrel több, mint kellene."},inputTooShort:function(e){return"Túl rövid. Még "+(e.minimum-e.input.length)+" karakter hiányzik."},loadingMore:function(){return"Töltés…"},maximumSelected:function(e){return"Csak "+e.maximum+" elemet lehet kiválasztani."},noResults:function(){return"Nincs találat."},searching:function(){return"Keresés…"},removeAllItems:function(){return"Távolítson el minden elemet"}}}),e.define,e.require}();
|
3
dist/js/i18n/hy.js
vendored
Normal file
3
dist/js/i18n/hy.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/hy",[],function(){return{errorLoading:function(){return"Արդյունքները հնարավոր չէ բեռնել։"},inputTooLong:function(n){return"Խնդրում ենք հեռացնել "+(n.input.length-n.maximum)+" նշան"},inputTooShort:function(n){return"Խնդրում ենք մուտքագրել "+(n.minimum-n.input.length)+" կամ ավել նշաններ"},loadingMore:function(){return"Բեռնվում են նոր արդյունքներ․․․"},maximumSelected:function(n){return"Դուք կարող եք ընտրել առավելագույնը "+n.maximum+" կետ"},noResults:function(){return"Արդյունքներ չեն գտնվել"},searching:function(){return"Որոնում․․․"},removeAllItems:function(){return"Հեռացնել բոլոր տարրերը"}}}),n.define,n.require}();
|
3
dist/js/i18n/id.js
vendored
Normal file
3
dist/js/i18n/id.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/id",[],function(){return{errorLoading:function(){return"Data tidak boleh diambil."},inputTooLong:function(n){return"Hapuskan "+(n.input.length-n.maximum)+" huruf"},inputTooShort:function(n){return"Masukkan "+(n.minimum-n.input.length)+" huruf lagi"},loadingMore:function(){return"Mengambil data…"},maximumSelected:function(n){return"Anda hanya dapat memilih "+n.maximum+" pilihan"},noResults:function(){return"Tidak ada data yang sesuai"},searching:function(){return"Mencari…"},removeAllItems:function(){return"Hapus semua item"}}}),n.define,n.require}();
|
3
dist/js/i18n/is.js
vendored
Normal file
3
dist/js/i18n/is.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/is",[],function(){return{inputTooLong:function(n){var t=n.input.length-n.maximum,e="Vinsamlegast styttið texta um "+t+" staf";return t<=1?e:e+"i"},inputTooShort:function(n){var t=n.minimum-n.input.length,e="Vinsamlegast skrifið "+t+" staf";return t>1&&(e+="i"),e+=" í viðbót"},loadingMore:function(){return"Sæki fleiri niðurstöður…"},maximumSelected:function(n){return"Þú getur aðeins valið "+n.maximum+" atriði"},noResults:function(){return"Ekkert fannst"},searching:function(){return"Leita…"},removeAllItems:function(){return"Fjarlægðu öll atriði"}}}),n.define,n.require}();
|
3
dist/js/i18n/it.js
vendored
Normal file
3
dist/js/i18n/it.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/it",[],function(){return{errorLoading:function(){return"I risultati non possono essere caricati."},inputTooLong:function(e){var n=e.input.length-e.maximum,t="Per favore cancella "+n+" caratter";return t+=1!==n?"i":"e"},inputTooShort:function(e){return"Per favore inserisci "+(e.minimum-e.input.length)+" o più caratteri"},loadingMore:function(){return"Caricando più risultati…"},maximumSelected:function(e){var n="Puoi selezionare solo "+e.maximum+" element";return 1!==e.maximum?n+="i":n+="o",n},noResults:function(){return"Nessun risultato trovato"},searching:function(){return"Sto cercando…"},removeAllItems:function(){return"Rimuovi tutti gli oggetti"}}}),e.define,e.require}();
|
3
dist/js/i18n/ja.js
vendored
Normal file
3
dist/js/i18n/ja.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/ja",[],function(){return{errorLoading:function(){return"結果が読み込まれませんでした"},inputTooLong:function(n){return n.input.length-n.maximum+" 文字を削除してください"},inputTooShort:function(n){return"少なくとも "+(n.minimum-n.input.length)+" 文字を入力してください"},loadingMore:function(){return"読み込み中…"},maximumSelected:function(n){return n.maximum+" 件しか選択できません"},noResults:function(){return"対象が見つかりません"},searching:function(){return"検索しています…"},removeAllItems:function(){return"すべてのアイテムを削除"}}}),n.define,n.require}();
|
3
dist/js/i18n/ka.js
vendored
Normal file
3
dist/js/i18n/ka.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/ka",[],function(){return{errorLoading:function(){return"მონაცემების ჩატვირთვა შეუძლებელია."},inputTooLong:function(n){return"გთხოვთ აკრიფეთ "+(n.input.length-n.maximum)+" სიმბოლოთი ნაკლები"},inputTooShort:function(n){return"გთხოვთ აკრიფეთ "+(n.minimum-n.input.length)+" სიმბოლო ან მეტი"},loadingMore:function(){return"მონაცემების ჩატვირთვა…"},maximumSelected:function(n){return"თქვენ შეგიძლიათ აირჩიოთ არაუმეტეს "+n.maximum+" ელემენტი"},noResults:function(){return"რეზულტატი არ მოიძებნა"},searching:function(){return"ძიება…"},removeAllItems:function(){return"ამოიღე ყველა ელემენტი"}}}),n.define,n.require}();
|
3
dist/js/i18n/km.js
vendored
Normal file
3
dist/js/i18n/km.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/km",[],function(){return{errorLoading:function(){return"មិនអាចទាញយកទិន្នន័យ"},inputTooLong:function(n){return"សូមលុបចេញ "+(n.input.length-n.maximum)+" អក្សរ"},inputTooShort:function(n){return"សូមបញ្ចូល"+(n.minimum-n.input.length)+" អក្សរ រឺ ច្រើនជាងនេះ"},loadingMore:function(){return"កំពុងទាញយកទិន្នន័យបន្ថែម..."},maximumSelected:function(n){return"អ្នកអាចជ្រើសរើសបានតែ "+n.maximum+" ជម្រើសប៉ុណ្ណោះ"},noResults:function(){return"មិនមានលទ្ធផល"},searching:function(){return"កំពុងស្វែងរក..."},removeAllItems:function(){return"លុបធាតុទាំងអស់"}}}),n.define,n.require}();
|
3
dist/js/i18n/ko.js
vendored
Normal file
3
dist/js/i18n/ko.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/ko",[],function(){return{errorLoading:function(){return"결과를 불러올 수 없습니다."},inputTooLong:function(n){return"너무 깁니다. "+(n.input.length-n.maximum)+" 글자 지워주세요."},inputTooShort:function(n){return"너무 짧습니다. "+(n.minimum-n.input.length)+" 글자 더 입력해주세요."},loadingMore:function(){return"불러오는 중…"},maximumSelected:function(n){return"최대 "+n.maximum+"개까지만 선택 가능합니다."},noResults:function(){return"결과가 없습니다."},searching:function(){return"검색 중…"},removeAllItems:function(){return"모든 항목 삭제"}}}),n.define,n.require}();
|
3
dist/js/i18n/lt.js
vendored
Normal file
3
dist/js/i18n/lt.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/lt",[],function(){function n(n,e,i,t){return n%10==1&&(n%100<11||n%100>19)?e:n%10>=2&&n%10<=9&&(n%100<11||n%100>19)?i:t}return{inputTooLong:function(e){var i=e.input.length-e.maximum,t="Pašalinkite "+i+" simbol";return t+=n(i,"į","ius","ių")},inputTooShort:function(e){var i=e.minimum-e.input.length,t="Įrašykite dar "+i+" simbol";return t+=n(i,"į","ius","ių")},loadingMore:function(){return"Kraunama daugiau rezultatų…"},maximumSelected:function(e){var i="Jūs galite pasirinkti tik "+e.maximum+" element";return i+=n(e.maximum,"ą","us","ų")},noResults:function(){return"Atitikmenų nerasta"},searching:function(){return"Ieškoma…"},removeAllItems:function(){return"Pašalinti visus elementus"}}}),n.define,n.require}();
|
3
dist/js/i18n/lv.js
vendored
Normal file
3
dist/js/i18n/lv.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/lv",[],function(){function e(e,n,u,i){return 11===e?n:e%10==1?u:i}return{inputTooLong:function(n){var u=n.input.length-n.maximum,i="Lūdzu ievadiet par "+u;return(i+=" simbol"+e(u,"iem","u","iem"))+" mazāk"},inputTooShort:function(n){var u=n.minimum-n.input.length,i="Lūdzu ievadiet vēl "+u;return i+=" simbol"+e(u,"us","u","us")},loadingMore:function(){return"Datu ielāde…"},maximumSelected:function(n){var u="Jūs varat izvēlēties ne vairāk kā "+n.maximum;return u+=" element"+e(n.maximum,"us","u","us")},noResults:function(){return"Sakritību nav"},searching:function(){return"Meklēšana…"},removeAllItems:function(){return"Noņemt visus vienumus"}}}),e.define,e.require}();
|
3
dist/js/i18n/mk.js
vendored
Normal file
3
dist/js/i18n/mk.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/mk",[],function(){return{inputTooLong:function(n){var e=(n.input.length,n.maximum,"Ве молиме внесете "+n.maximum+" помалку карактер");return 1!==n.maximum&&(e+="и"),e},inputTooShort:function(n){var e=(n.minimum,n.input.length,"Ве молиме внесете уште "+n.maximum+" карактер");return 1!==n.maximum&&(e+="и"),e},loadingMore:function(){return"Вчитување резултати…"},maximumSelected:function(n){var e="Можете да изберете само "+n.maximum+" ставк";return 1===n.maximum?e+="а":e+="и",e},noResults:function(){return"Нема пронајдено совпаѓања"},searching:function(){return"Пребарување…"},removeAllItems:function(){return"Отстрани ги сите предмети"}}}),n.define,n.require}();
|
3
dist/js/i18n/ms.js
vendored
Normal file
3
dist/js/i18n/ms.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/ms",[],function(){return{errorLoading:function(){return"Keputusan tidak berjaya dimuatkan."},inputTooLong:function(n){return"Sila hapuskan "+(n.input.length-n.maximum)+" aksara"},inputTooShort:function(n){return"Sila masukkan "+(n.minimum-n.input.length)+" atau lebih aksara"},loadingMore:function(){return"Sedang memuatkan keputusan…"},maximumSelected:function(n){return"Anda hanya boleh memilih "+n.maximum+" pilihan"},noResults:function(){return"Tiada padanan yang ditemui"},searching:function(){return"Mencari…"},removeAllItems:function(){return"Keluarkan semua item"}}}),n.define,n.require}();
|
3
dist/js/i18n/nb.js
vendored
Normal file
3
dist/js/i18n/nb.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/nb",[],function(){return{errorLoading:function(){return"Kunne ikke hente resultater."},inputTooLong:function(e){return"Vennligst fjern "+(e.input.length-e.maximum)+" tegn"},inputTooShort:function(e){return"Vennligst skriv inn "+(e.minimum-e.input.length)+" tegn til"},loadingMore:function(){return"Laster flere resultater…"},maximumSelected:function(e){return"Du kan velge maks "+e.maximum+" elementer"},noResults:function(){return"Ingen treff"},searching:function(){return"Søker…"},removeAllItems:function(){return"Fjern alle elementer"}}}),e.define,e.require}();
|
3
dist/js/i18n/ne.js
vendored
Normal file
3
dist/js/i18n/ne.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/ne",[],function(){return{errorLoading:function(){return"नतिजाहरु देखाउन सकिएन।"},inputTooLong:function(n){var e=n.input.length-n.maximum,u="कृपया "+e+" अक्षर मेटाउनुहोस्।";return 1!=e&&(u+="कृपया "+e+" अक्षरहरु मेटाउनुहोस्।"),u},inputTooShort:function(n){return"कृपया बाँकी रहेका "+(n.minimum-n.input.length)+" वा अरु धेरै अक्षरहरु भर्नुहोस्।"},loadingMore:function(){return"अरु नतिजाहरु भरिँदैछन् …"},maximumSelected:function(n){var e="तँपाई "+n.maximum+" वस्तु मात्र छान्न पाउँनुहुन्छ।";return 1!=n.maximum&&(e="तँपाई "+n.maximum+" वस्तुहरु मात्र छान्न पाउँनुहुन्छ।"),e},noResults:function(){return"कुनै पनि नतिजा भेटिएन।"},searching:function(){return"खोजि हुँदैछ…"}}}),n.define,n.require}();
|
3
dist/js/i18n/nl.js
vendored
Normal file
3
dist/js/i18n/nl.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/nl",[],function(){return{errorLoading:function(){return"De resultaten konden niet worden geladen."},inputTooLong:function(e){return"Gelieve "+(e.input.length-e.maximum)+" karakters te verwijderen"},inputTooShort:function(e){return"Gelieve "+(e.minimum-e.input.length)+" of meer karakters in te voeren"},loadingMore:function(){return"Meer resultaten laden…"},maximumSelected:function(e){var n=1==e.maximum?"kan":"kunnen",r="Er "+n+" maar "+e.maximum+" item";return 1!=e.maximum&&(r+="s"),r+=" worden geselecteerd"},noResults:function(){return"Geen resultaten gevonden…"},searching:function(){return"Zoeken…"},removeAllItems:function(){return"Verwijder alle items"}}}),e.define,e.require}();
|
3
dist/js/i18n/pl.js
vendored
Normal file
3
dist/js/i18n/pl.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/pl",[],function(){var n=["znak","znaki","znaków"],e=["element","elementy","elementów"],r=function(n,e){return 1===n?e[0]:n>1&&n<=4?e[1]:n>=5?e[2]:void 0};return{errorLoading:function(){return"Nie można załadować wyników."},inputTooLong:function(e){var t=e.input.length-e.maximum;return"Usuń "+t+" "+r(t,n)},inputTooShort:function(e){var t=e.minimum-e.input.length;return"Podaj przynajmniej "+t+" "+r(t,n)},loadingMore:function(){return"Trwa ładowanie…"},maximumSelected:function(n){return"Możesz zaznaczyć tylko "+n.maximum+" "+r(n.maximum,e)},noResults:function(){return"Brak wyników"},searching:function(){return"Trwa wyszukiwanie…"},removeAllItems:function(){return"Usuń wszystkie przedmioty"}}}),n.define,n.require}();
|
3
dist/js/i18n/ps.js
vendored
Normal file
3
dist/js/i18n/ps.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/ps",[],function(){return{errorLoading:function(){return"پايلي نه سي ترلاسه کېدای"},inputTooLong:function(n){var e=n.input.length-n.maximum,r="د مهربانۍ لمخي "+e+" توری ړنګ کړئ";return 1!=e&&(r=r.replace("توری","توري")),r},inputTooShort:function(n){return"لږ تر لږه "+(n.minimum-n.input.length)+" يا ډېر توري وليکئ"},loadingMore:function(){return"نوري پايلي ترلاسه کيږي..."},maximumSelected:function(n){var e="تاسو يوازي "+n.maximum+" قلم په نښه کولای سی";return 1!=n.maximum&&(e=e.replace("قلم","قلمونه")),e},noResults:function(){return"پايلي و نه موندل سوې"},searching:function(){return"لټول کيږي..."},removeAllItems:function(){return"ټول توکي لرې کړئ"}}}),n.define,n.require}();
|
3
dist/js/i18n/pt-BR.js
vendored
Normal file
3
dist/js/i18n/pt-BR.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/pt-BR",[],function(){return{errorLoading:function(){return"Os resultados não puderam ser carregados."},inputTooLong:function(e){var n=e.input.length-e.maximum,r="Apague "+n+" caracter";return 1!=n&&(r+="es"),r},inputTooShort:function(e){return"Digite "+(e.minimum-e.input.length)+" ou mais caracteres"},loadingMore:function(){return"Carregando mais resultados…"},maximumSelected:function(e){var n="Você só pode selecionar "+e.maximum+" ite";return 1==e.maximum?n+="m":n+="ns",n},noResults:function(){return"Nenhum resultado encontrado"},searching:function(){return"Buscando…"},removeAllItems:function(){return"Remover todos os itens"}}}),e.define,e.require}();
|
3
dist/js/i18n/pt.js
vendored
Normal file
3
dist/js/i18n/pt.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/pt",[],function(){return{errorLoading:function(){return"Os resultados não puderam ser carregados."},inputTooLong:function(e){var r=e.input.length-e.maximum,n="Por favor apague "+r+" ";return n+=1!=r?"caracteres":"caractere"},inputTooShort:function(e){return"Introduza "+(e.minimum-e.input.length)+" ou mais caracteres"},loadingMore:function(){return"A carregar mais resultados…"},maximumSelected:function(e){var r="Apenas pode seleccionar "+e.maximum+" ";return r+=1!=e.maximum?"itens":"item"},noResults:function(){return"Sem resultados"},searching:function(){return"A procurar…"},removeAllItems:function(){return"Remover todos os itens"}}}),e.define,e.require}();
|
3
dist/js/i18n/ro.js
vendored
Normal file
3
dist/js/i18n/ro.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/ro",[],function(){return{errorLoading:function(){return"Rezultatele nu au putut fi incărcate."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Vă rugăm să ștergeți"+t+" caracter";return 1!==t&&(n+="e"),n},inputTooShort:function(e){return"Vă rugăm să introduceți "+(e.minimum-e.input.length)+" sau mai multe caractere"},loadingMore:function(){return"Se încarcă mai multe rezultate…"},maximumSelected:function(e){var t="Aveți voie să selectați cel mult "+e.maximum;return t+=" element",1!==e.maximum&&(t+="e"),t},noResults:function(){return"Nu au fost găsite rezultate"},searching:function(){return"Căutare…"},removeAllItems:function(){return"Eliminați toate elementele"}}}),e.define,e.require}();
|
3
dist/js/i18n/ru.js
vendored
Normal file
3
dist/js/i18n/ru.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/ru",[],function(){function n(n,e,r,u){return n%10<5&&n%10>0&&n%100<5||n%100>20?n%10>1?r:e:u}return{errorLoading:function(){return"Невозможно загрузить результаты"},inputTooLong:function(e){var r=e.input.length-e.maximum,u="Пожалуйста, введите на "+r+" символ";return u+=n(r,"","a","ов"),u+=" меньше"},inputTooShort:function(e){var r=e.minimum-e.input.length,u="Пожалуйста, введите ещё хотя бы "+r+" символ";return u+=n(r,"","a","ов")},loadingMore:function(){return"Загрузка данных…"},maximumSelected:function(e){var r="Вы можете выбрать не более "+e.maximum+" элемент";return r+=n(e.maximum,"","a","ов")},noResults:function(){return"Совпадений не найдено"},searching:function(){return"Поиск…"},removeAllItems:function(){return"Удалить все элементы"}}}),n.define,n.require}();
|
3
dist/js/i18n/sk.js
vendored
Normal file
3
dist/js/i18n/sk.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/sk",[],function(){var e={2:function(e){return e?"dva":"dve"},3:function(){return"tri"},4:function(){return"štyri"}};return{errorLoading:function(){return"Výsledky sa nepodarilo načítať."},inputTooLong:function(n){var t=n.input.length-n.maximum;return 1==t?"Prosím, zadajte o jeden znak menej":t>=2&&t<=4?"Prosím, zadajte o "+e[t](!0)+" znaky menej":"Prosím, zadajte o "+t+" znakov menej"},inputTooShort:function(n){var t=n.minimum-n.input.length;return 1==t?"Prosím, zadajte ešte jeden znak":t<=4?"Prosím, zadajte ešte ďalšie "+e[t](!0)+" znaky":"Prosím, zadajte ešte ďalších "+t+" znakov"},loadingMore:function(){return"Načítanie ďalších výsledkov…"},maximumSelected:function(n){return 1==n.maximum?"Môžete zvoliť len jednu položku":n.maximum>=2&&n.maximum<=4?"Môžete zvoliť najviac "+e[n.maximum](!1)+" položky":"Môžete zvoliť najviac "+n.maximum+" položiek"},noResults:function(){return"Nenašli sa žiadne položky"},searching:function(){return"Vyhľadávanie…"},removeAllItems:function(){return"Odstráňte všetky položky"}}}),e.define,e.require}();
|
3
dist/js/i18n/sl.js
vendored
Normal file
3
dist/js/i18n/sl.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/sl",[],function(){return{errorLoading:function(){return"Zadetkov iskanja ni bilo mogoče naložiti."},inputTooLong:function(e){var n=e.input.length-e.maximum,t="Prosim zbrišite "+n+" znak";return 2==n?t+="a":1!=n&&(t+="e"),t},inputTooShort:function(e){var n=e.minimum-e.input.length,t="Prosim vpišite še "+n+" znak";return 2==n?t+="a":1!=n&&(t+="e"),t},loadingMore:function(){return"Nalagam več zadetkov…"},maximumSelected:function(e){var n="Označite lahko največ "+e.maximum+" predmet";return 2==e.maximum?n+="a":1!=e.maximum&&(n+="e"),n},noResults:function(){return"Ni zadetkov."},searching:function(){return"Iščem…"},removeAllItems:function(){return"Odstranite vse elemente"}}}),e.define,e.require}();
|
3
dist/js/i18n/sq.js
vendored
Normal file
3
dist/js/i18n/sq.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/sq",[],function(){return{errorLoading:function(){return"Rezultatet nuk mund të ngarkoheshin."},inputTooLong:function(e){var n=e.input.length-e.maximum,t="Të lutem fshi "+n+" karakter";return 1!=n&&(t+="e"),t},inputTooShort:function(e){return"Të lutem shkruaj "+(e.minimum-e.input.length)+" ose më shumë karaktere"},loadingMore:function(){return"Duke ngarkuar më shumë rezultate…"},maximumSelected:function(e){var n="Mund të zgjedhësh vetëm "+e.maximum+" element";return 1!=e.maximum&&(n+="e"),n},noResults:function(){return"Nuk u gjet asnjë rezultat"},searching:function(){return"Duke kërkuar…"},removeAllItems:function(){return"Hiq të gjitha sendet"}}}),e.define,e.require}();
|
3
dist/js/i18n/sr-Cyrl.js
vendored
Normal file
3
dist/js/i18n/sr-Cyrl.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/sr-Cyrl",[],function(){function n(n,e,r,u){return n%10==1&&n%100!=11?e:n%10>=2&&n%10<=4&&(n%100<12||n%100>14)?r:u}return{errorLoading:function(){return"Преузимање није успело."},inputTooLong:function(e){var r=e.input.length-e.maximum,u="Обришите "+r+" симбол";return u+=n(r,"","а","а")},inputTooShort:function(e){var r=e.minimum-e.input.length,u="Укуцајте бар још "+r+" симбол";return u+=n(r,"","а","а")},loadingMore:function(){return"Преузимање још резултата…"},maximumSelected:function(e){var r="Можете изабрати само "+e.maximum+" ставк";return r+=n(e.maximum,"у","е","и")},noResults:function(){return"Ништа није пронађено"},searching:function(){return"Претрага…"},removeAllItems:function(){return"Уклоните све ставке"}}}),n.define,n.require}();
|
3
dist/js/i18n/sr.js
vendored
Normal file
3
dist/js/i18n/sr.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/sr",[],function(){function n(n,e,r,t){return n%10==1&&n%100!=11?e:n%10>=2&&n%10<=4&&(n%100<12||n%100>14)?r:t}return{errorLoading:function(){return"Preuzimanje nije uspelo."},inputTooLong:function(e){var r=e.input.length-e.maximum,t="Obrišite "+r+" simbol";return t+=n(r,"","a","a")},inputTooShort:function(e){var r=e.minimum-e.input.length,t="Ukucajte bar još "+r+" simbol";return t+=n(r,"","a","a")},loadingMore:function(){return"Preuzimanje još rezultata…"},maximumSelected:function(e){var r="Možete izabrati samo "+e.maximum+" stavk";return r+=n(e.maximum,"u","e","i")},noResults:function(){return"Ništa nije pronađeno"},searching:function(){return"Pretraga…"},removeAllItems:function(){return"Уклоните све ставке"}}}),n.define,n.require}();
|
3
dist/js/i18n/sv.js
vendored
Normal file
3
dist/js/i18n/sv.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/sv",[],function(){return{errorLoading:function(){return"Resultat kunde inte laddas."},inputTooLong:function(n){return"Vänligen sudda ut "+(n.input.length-n.maximum)+" tecken"},inputTooShort:function(n){return"Vänligen skriv in "+(n.minimum-n.input.length)+" eller fler tecken"},loadingMore:function(){return"Laddar fler resultat…"},maximumSelected:function(n){return"Du kan max välja "+n.maximum+" element"},noResults:function(){return"Inga träffar"},searching:function(){return"Söker…"},removeAllItems:function(){return"Ta bort alla objekt"}}}),n.define,n.require}();
|
3
dist/js/i18n/th.js
vendored
Normal file
3
dist/js/i18n/th.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/th",[],function(){return{errorLoading:function(){return"ไม่สามารถค้นข้อมูลได้"},inputTooLong:function(n){return"โปรดลบออก "+(n.input.length-n.maximum)+" ตัวอักษร"},inputTooShort:function(n){return"โปรดพิมพ์เพิ่มอีก "+(n.minimum-n.input.length)+" ตัวอักษร"},loadingMore:function(){return"กำลังค้นข้อมูลเพิ่ม…"},maximumSelected:function(n){return"คุณสามารถเลือกได้ไม่เกิน "+n.maximum+" รายการ"},noResults:function(){return"ไม่พบข้อมูล"},searching:function(){return"กำลังค้นข้อมูล…"},removeAllItems:function(){return"ลบรายการทั้งหมด"}}}),n.define,n.require}();
|
3
dist/js/i18n/tk.js
vendored
Normal file
3
dist/js/i18n/tk.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/tk",[],function(){return{errorLoading:function(){return"Netije ýüklenmedi."},inputTooLong:function(e){return e.input.length-e.maximum+" harp bozuň."},inputTooShort:function(e){return"Ýene-de iň az "+(e.minimum-e.input.length)+" harp ýazyň."},loadingMore:function(){return"Köpräk netije görkezilýär…"},maximumSelected:function(e){return"Diňe "+e.maximum+" sanysyny saýlaň."},noResults:function(){return"Netije tapylmady."},searching:function(){return"Gözlenýär…"},removeAllItems:function(){return"Remove all items"}}}),e.define,e.require}();
|
3
dist/js/i18n/tr.js
vendored
Normal file
3
dist/js/i18n/tr.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/tr",[],function(){return{errorLoading:function(){return"Sonuç yüklenemedi"},inputTooLong:function(n){return n.input.length-n.maximum+" karakter daha girmelisiniz"},inputTooShort:function(n){return"En az "+(n.minimum-n.input.length)+" karakter daha girmelisiniz"},loadingMore:function(){return"Daha fazla…"},maximumSelected:function(n){return"Sadece "+n.maximum+" seçim yapabilirsiniz"},noResults:function(){return"Sonuç bulunamadı"},searching:function(){return"Aranıyor…"},removeAllItems:function(){return"Tüm öğeleri kaldır"}}}),n.define,n.require}();
|
3
dist/js/i18n/uk.js
vendored
Normal file
3
dist/js/i18n/uk.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/uk",[],function(){function n(n,e,u,r){return n%100>10&&n%100<15?r:n%10==1?e:n%10>1&&n%10<5?u:r}return{errorLoading:function(){return"Неможливо завантажити результати"},inputTooLong:function(e){return"Будь ласка, видаліть "+(e.input.length-e.maximum)+" "+n(e.maximum,"літеру","літери","літер")},inputTooShort:function(n){return"Будь ласка, введіть "+(n.minimum-n.input.length)+" або більше літер"},loadingMore:function(){return"Завантаження інших результатів…"},maximumSelected:function(e){return"Ви можете вибрати лише "+e.maximum+" "+n(e.maximum,"пункт","пункти","пунктів")},noResults:function(){return"Нічого не знайдено"},searching:function(){return"Пошук…"},removeAllItems:function(){return"Видалити всі елементи"}}}),n.define,n.require}();
|
3
dist/js/i18n/vi.js
vendored
Normal file
3
dist/js/i18n/vi.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/vi",[],function(){return{inputTooLong:function(n){return"Vui lòng xóa bớt "+(n.input.length-n.maximum)+" ký tự"},inputTooShort:function(n){return"Vui lòng nhập thêm từ "+(n.minimum-n.input.length)+" ký tự trở lên"},loadingMore:function(){return"Đang lấy thêm kết quả…"},maximumSelected:function(n){return"Chỉ có thể chọn được "+n.maximum+" lựa chọn"},noResults:function(){return"Không tìm thấy kết quả"},searching:function(){return"Đang tìm…"},removeAllItems:function(){return"Xóa tất cả các mục"}}}),n.define,n.require}();
|
3
dist/js/i18n/zh-CN.js
vendored
Normal file
3
dist/js/i18n/zh-CN.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/zh-CN",[],function(){return{errorLoading:function(){return"无法载入结果。"},inputTooLong:function(n){return"请删除"+(n.input.length-n.maximum)+"个字符"},inputTooShort:function(n){return"请再输入至少"+(n.minimum-n.input.length)+"个字符"},loadingMore:function(){return"载入更多结果…"},maximumSelected:function(n){return"最多只能选择"+n.maximum+"个项目"},noResults:function(){return"未找到结果"},searching:function(){return"搜索中…"},removeAllItems:function(){return"删除所有项目"}}}),n.define,n.require}();
|
3
dist/js/i18n/zh-TW.js
vendored
Normal file
3
dist/js/i18n/zh-TW.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/*! Select2 4.0.12 | https://github.com/select2/select2/blob/master/LICENSE.md */
|
||||
|
||||
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/zh-TW",[],function(){return{inputTooLong:function(n){return"請刪掉"+(n.input.length-n.maximum)+"個字元"},inputTooShort:function(n){return"請再輸入"+(n.minimum-n.input.length)+"個字元"},loadingMore:function(){return"載入中…"},maximumSelected:function(n){return"你只能選擇最多"+n.maximum+"項"},noResults:function(){return"沒有找到相符的項目"},searching:function(){return"搜尋中…"},removeAllItems:function(){return"刪除所有項目"}}}),n.define,n.require}();
|
6759
dist/js/select2.full.js
vendored
Normal file
6759
dist/js/select2.full.js
vendored
Normal file
File diff suppressed because it is too large
Load diff
2
dist/js/select2.full.min.js
vendored
Normal file
2
dist/js/select2.full.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
6047
dist/js/select2.js
vendored
Normal file
6047
dist/js/select2.js
vendored
Normal file
File diff suppressed because it is too large
Load diff
2
dist/js/select2.min.js
vendored
Normal file
2
dist/js/select2.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
395
docs/LICENSE.md
Normal file
395
docs/LICENSE.md
Normal file
|
@ -0,0 +1,395 @@
|
|||
Attribution 4.0 International
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons Corporation ("Creative Commons") is not a law firm and
|
||||
does not provide legal services or legal advice. Distribution of
|
||||
Creative Commons public licenses does not create a lawyer-client or
|
||||
other relationship. Creative Commons makes its licenses and related
|
||||
information available on an "as-is" basis. Creative Commons gives no
|
||||
warranties regarding its licenses, any material licensed under their
|
||||
terms and conditions, or any related information. Creative Commons
|
||||
disclaims all liability for damages resulting from their use to the
|
||||
fullest extent possible.
|
||||
|
||||
Using Creative Commons Public Licenses
|
||||
|
||||
Creative Commons public licenses provide a standard set of terms and
|
||||
conditions that creators and other rights holders may use to share
|
||||
original works of authorship and other material subject to copyright
|
||||
and certain other rights specified in the public license below. The
|
||||
following considerations are for informational purposes only, are not
|
||||
exhaustive, and do not form part of our licenses.
|
||||
|
||||
Considerations for licensors: Our public licenses are
|
||||
intended for use by those authorized to give the public
|
||||
permission to use material in ways otherwise restricted by
|
||||
copyright and certain other rights. Our licenses are
|
||||
irrevocable. Licensors should read and understand the terms
|
||||
and conditions of the license they choose before applying it.
|
||||
Licensors should also secure all rights necessary before
|
||||
applying our licenses so that the public can reuse the
|
||||
material as expected. Licensors should clearly mark any
|
||||
material not subject to the license. This includes other CC-
|
||||
licensed material, or material used under an exception or
|
||||
limitation to copyright. More considerations for licensors:
|
||||
wiki.creativecommons.org/Considerations_for_licensors
|
||||
|
||||
Considerations for the public: By using one of our public
|
||||
licenses, a licensor grants the public permission to use the
|
||||
licensed material under specified terms and conditions. If
|
||||
the licensor's permission is not necessary for any reason--for
|
||||
example, because of any applicable exception or limitation to
|
||||
copyright--then that use is not regulated by the license. Our
|
||||
licenses grant only permissions under copyright and certain
|
||||
other rights that a licensor has authority to grant. Use of
|
||||
the licensed material may still be restricted for other
|
||||
reasons, including because others have copyright or other
|
||||
rights in the material. A licensor may make special requests,
|
||||
such as asking that all changes be marked or described.
|
||||
Although not required by our licenses, you are encouraged to
|
||||
respect those requests where reasonable. More_considerations
|
||||
for the public:
|
||||
wiki.creativecommons.org/Considerations_for_licensees
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons Attribution 4.0 International Public License
|
||||
|
||||
By exercising the Licensed Rights (defined below), You accept and agree
|
||||
to be bound by the terms and conditions of this Creative Commons
|
||||
Attribution 4.0 International Public License ("Public License"). To the
|
||||
extent this Public License may be interpreted as a contract, You are
|
||||
granted the Licensed Rights in consideration of Your acceptance of
|
||||
these terms and conditions, and the Licensor grants You such rights in
|
||||
consideration of benefits the Licensor receives from making the
|
||||
Licensed Material available under these terms and conditions.
|
||||
|
||||
|
||||
Section 1 -- Definitions.
|
||||
|
||||
a. Adapted Material means material subject to Copyright and Similar
|
||||
Rights that is derived from or based upon the Licensed Material
|
||||
and in which the Licensed Material is translated, altered,
|
||||
arranged, transformed, or otherwise modified in a manner requiring
|
||||
permission under the Copyright and Similar Rights held by the
|
||||
Licensor. For purposes of this Public License, where the Licensed
|
||||
Material is a musical work, performance, or sound recording,
|
||||
Adapted Material is always produced where the Licensed Material is
|
||||
synched in timed relation with a moving image.
|
||||
|
||||
b. Adapter's License means the license You apply to Your Copyright
|
||||
and Similar Rights in Your contributions to Adapted Material in
|
||||
accordance with the terms and conditions of this Public License.
|
||||
|
||||
c. Copyright and Similar Rights means copyright and/or similar rights
|
||||
closely related to copyright including, without limitation,
|
||||
performance, broadcast, sound recording, and Sui Generis Database
|
||||
Rights, without regard to how the rights are labeled or
|
||||
categorized. For purposes of this Public License, the rights
|
||||
specified in Section 2(b)(1)-(2) are not Copyright and Similar
|
||||
Rights.
|
||||
|
||||
d. Effective Technological Measures means those measures that, in the
|
||||
absence of proper authority, may not be circumvented under laws
|
||||
fulfilling obligations under Article 11 of the WIPO Copyright
|
||||
Treaty adopted on December 20, 1996, and/or similar international
|
||||
agreements.
|
||||
|
||||
e. Exceptions and Limitations means fair use, fair dealing, and/or
|
||||
any other exception or limitation to Copyright and Similar Rights
|
||||
that applies to Your use of the Licensed Material.
|
||||
|
||||
f. Licensed Material means the artistic or literary work, database,
|
||||
or other material to which the Licensor applied this Public
|
||||
License.
|
||||
|
||||
g. Licensed Rights means the rights granted to You subject to the
|
||||
terms and conditions of this Public License, which are limited to
|
||||
all Copyright and Similar Rights that apply to Your use of the
|
||||
Licensed Material and that the Licensor has authority to license.
|
||||
|
||||
h. Licensor means the individual(s) or entity(ies) granting rights
|
||||
under this Public License.
|
||||
|
||||
i. Share means to provide material to the public by any means or
|
||||
process that requires permission under the Licensed Rights, such
|
||||
as reproduction, public display, public performance, distribution,
|
||||
dissemination, communication, or importation, and to make material
|
||||
available to the public including in ways that members of the
|
||||
public may access the material from a place and at a time
|
||||
individually chosen by them.
|
||||
|
||||
j. Sui Generis Database Rights means rights other than copyright
|
||||
resulting from Directive 96/9/EC of the European Parliament and of
|
||||
the Council of 11 March 1996 on the legal protection of databases,
|
||||
as amended and/or succeeded, as well as other essentially
|
||||
equivalent rights anywhere in the world.
|
||||
|
||||
k. You means the individual or entity exercising the Licensed Rights
|
||||
under this Public License. Your has a corresponding meaning.
|
||||
|
||||
|
||||
Section 2 -- Scope.
|
||||
|
||||
a. License grant.
|
||||
|
||||
1. Subject to the terms and conditions of this Public License,
|
||||
the Licensor hereby grants You a worldwide, royalty-free,
|
||||
non-sublicensable, non-exclusive, irrevocable license to
|
||||
exercise the Licensed Rights in the Licensed Material to:
|
||||
|
||||
a. reproduce and Share the Licensed Material, in whole or
|
||||
in part; and
|
||||
|
||||
b. produce, reproduce, and Share Adapted Material.
|
||||
|
||||
2. Exceptions and Limitations. For the avoidance of doubt, where
|
||||
Exceptions and Limitations apply to Your use, this Public
|
||||
License does not apply, and You do not need to comply with
|
||||
its terms and conditions.
|
||||
|
||||
3. Term. The term of this Public License is specified in Section
|
||||
6(a).
|
||||
|
||||
4. Media and formats; technical modifications allowed. The
|
||||
Licensor authorizes You to exercise the Licensed Rights in
|
||||
all media and formats whether now known or hereafter created,
|
||||
and to make technical modifications necessary to do so. The
|
||||
Licensor waives and/or agrees not to assert any right or
|
||||
authority to forbid You from making technical modifications
|
||||
necessary to exercise the Licensed Rights, including
|
||||
technical modifications necessary to circumvent Effective
|
||||
Technological Measures. For purposes of this Public License,
|
||||
simply making modifications authorized by this Section 2(a)
|
||||
(4) never produces Adapted Material.
|
||||
|
||||
5. Downstream recipients.
|
||||
|
||||
a. Offer from the Licensor -- Licensed Material. Every
|
||||
recipient of the Licensed Material automatically
|
||||
receives an offer from the Licensor to exercise the
|
||||
Licensed Rights under the terms and conditions of this
|
||||
Public License.
|
||||
|
||||
b. No downstream restrictions. You may not offer or impose
|
||||
any additional or different terms or conditions on, or
|
||||
apply any Effective Technological Measures to, the
|
||||
Licensed Material if doing so restricts exercise of the
|
||||
Licensed Rights by any recipient of the Licensed
|
||||
Material.
|
||||
|
||||
6. No endorsement. Nothing in this Public License constitutes or
|
||||
may be construed as permission to assert or imply that You
|
||||
are, or that Your use of the Licensed Material is, connected
|
||||
with, or sponsored, endorsed, or granted official status by,
|
||||
the Licensor or others designated to receive attribution as
|
||||
provided in Section 3(a)(1)(A)(i).
|
||||
|
||||
b. Other rights.
|
||||
|
||||
1. Moral rights, such as the right of integrity, are not
|
||||
licensed under this Public License, nor are publicity,
|
||||
privacy, and/or other similar personality rights; however, to
|
||||
the extent possible, the Licensor waives and/or agrees not to
|
||||
assert any such rights held by the Licensor to the limited
|
||||
extent necessary to allow You to exercise the Licensed
|
||||
Rights, but not otherwise.
|
||||
|
||||
2. Patent and trademark rights are not licensed under this
|
||||
Public License.
|
||||
|
||||
3. To the extent possible, the Licensor waives any right to
|
||||
collect royalties from You for the exercise of the Licensed
|
||||
Rights, whether directly or through a collecting society
|
||||
under any voluntary or waivable statutory or compulsory
|
||||
licensing scheme. In all other cases the Licensor expressly
|
||||
reserves any right to collect such royalties.
|
||||
|
||||
|
||||
Section 3 -- License Conditions.
|
||||
|
||||
Your exercise of the Licensed Rights is expressly made subject to the
|
||||
following conditions.
|
||||
|
||||
a. Attribution.
|
||||
|
||||
1. If You Share the Licensed Material (including in modified
|
||||
form), You must:
|
||||
|
||||
a. retain the following if it is supplied by the Licensor
|
||||
with the Licensed Material:
|
||||
|
||||
i. identification of the creator(s) of the Licensed
|
||||
Material and any others designated to receive
|
||||
attribution, in any reasonable manner requested by
|
||||
the Licensor (including by pseudonym if
|
||||
designated);
|
||||
|
||||
ii. a copyright notice;
|
||||
|
||||
iii. a notice that refers to this Public License;
|
||||
|
||||
iv. a notice that refers to the disclaimer of
|
||||
warranties;
|
||||
|
||||
v. a URI or hyperlink to the Licensed Material to the
|
||||
extent reasonably practicable;
|
||||
|
||||
b. indicate if You modified the Licensed Material and
|
||||
retain an indication of any previous modifications; and
|
||||
|
||||
c. indicate the Licensed Material is licensed under this
|
||||
Public License, and include the text of, or the URI or
|
||||
hyperlink to, this Public License.
|
||||
|
||||
2. You may satisfy the conditions in Section 3(a)(1) in any
|
||||
reasonable manner based on the medium, means, and context in
|
||||
which You Share the Licensed Material. For example, it may be
|
||||
reasonable to satisfy the conditions by providing a URI or
|
||||
hyperlink to a resource that includes the required
|
||||
information.
|
||||
|
||||
3. If requested by the Licensor, You must remove any of the
|
||||
information required by Section 3(a)(1)(A) to the extent
|
||||
reasonably practicable.
|
||||
|
||||
4. If You Share Adapted Material You produce, the Adapter's
|
||||
License You apply must not prevent recipients of the Adapted
|
||||
Material from complying with this Public License.
|
||||
|
||||
|
||||
Section 4 -- Sui Generis Database Rights.
|
||||
|
||||
Where the Licensed Rights include Sui Generis Database Rights that
|
||||
apply to Your use of the Licensed Material:
|
||||
|
||||
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
|
||||
to extract, reuse, reproduce, and Share all or a substantial
|
||||
portion of the contents of the database;
|
||||
|
||||
b. if You include all or a substantial portion of the database
|
||||
contents in a database in which You have Sui Generis Database
|
||||
Rights, then the database in which You have Sui Generis Database
|
||||
Rights (but not its individual contents) is Adapted Material; and
|
||||
|
||||
c. You must comply with the conditions in Section 3(a) if You Share
|
||||
all or a substantial portion of the contents of the database.
|
||||
|
||||
For the avoidance of doubt, this Section 4 supplements and does not
|
||||
replace Your obligations under this Public License where the Licensed
|
||||
Rights include other Copyright and Similar Rights.
|
||||
|
||||
|
||||
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
|
||||
|
||||
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
|
||||
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
|
||||
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
|
||||
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
|
||||
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
|
||||
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
|
||||
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
|
||||
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
|
||||
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
|
||||
|
||||
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
|
||||
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
|
||||
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
|
||||
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
|
||||
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
|
||||
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
|
||||
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
|
||||
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
|
||||
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
|
||||
|
||||
c. The disclaimer of warranties and limitation of liability provided
|
||||
above shall be interpreted in a manner that, to the extent
|
||||
possible, most closely approximates an absolute disclaimer and
|
||||
waiver of all liability.
|
||||
|
||||
|
||||
Section 6 -- Term and Termination.
|
||||
|
||||
a. This Public License applies for the term of the Copyright and
|
||||
Similar Rights licensed here. However, if You fail to comply with
|
||||
this Public License, then Your rights under this Public License
|
||||
terminate automatically.
|
||||
|
||||
b. Where Your right to use the Licensed Material has terminated under
|
||||
Section 6(a), it reinstates:
|
||||
|
||||
1. automatically as of the date the violation is cured, provided
|
||||
it is cured within 30 days of Your discovery of the
|
||||
violation; or
|
||||
|
||||
2. upon express reinstatement by the Licensor.
|
||||
|
||||
For the avoidance of doubt, this Section 6(b) does not affect any
|
||||
right the Licensor may have to seek remedies for Your violations
|
||||
of this Public License.
|
||||
|
||||
c. For the avoidance of doubt, the Licensor may also offer the
|
||||
Licensed Material under separate terms or conditions or stop
|
||||
distributing the Licensed Material at any time; however, doing so
|
||||
will not terminate this Public License.
|
||||
|
||||
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
|
||||
License.
|
||||
|
||||
|
||||
Section 7 -- Other Terms and Conditions.
|
||||
|
||||
a. The Licensor shall not be bound by any additional or different
|
||||
terms or conditions communicated by You unless expressly agreed.
|
||||
|
||||
b. Any arrangements, understandings, or agreements regarding the
|
||||
Licensed Material not stated herein are separate from and
|
||||
independent of the terms and conditions of this Public License.
|
||||
|
||||
|
||||
Section 8 -- Interpretation.
|
||||
|
||||
a. For the avoidance of doubt, this Public License does not, and
|
||||
shall not be interpreted to, reduce, limit, restrict, or impose
|
||||
conditions on any use of the Licensed Material that could lawfully
|
||||
be made without permission under this Public License.
|
||||
|
||||
b. To the extent possible, if any provision of this Public License is
|
||||
deemed unenforceable, it shall be automatically reformed to the
|
||||
minimum extent necessary to make it enforceable. If the provision
|
||||
cannot be reformed, it shall be severed from this Public License
|
||||
without affecting the enforceability of the remaining terms and
|
||||
conditions.
|
||||
|
||||
c. No term or condition of this Public License will be waived and no
|
||||
failure to comply consented to unless expressly agreed to by the
|
||||
Licensor.
|
||||
|
||||
d. Nothing in this Public License constitutes or may be interpreted
|
||||
as a limitation upon, or waiver of, any privileges and immunities
|
||||
that apply to the Licensor or You, including from the legal
|
||||
processes of any jurisdiction or authority.
|
||||
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons is not a party to its public
|
||||
licenses. Notwithstanding, Creative Commons may elect to apply one of
|
||||
its public licenses to material it publishes and in those instances
|
||||
will be considered the “Licensor.” The text of the Creative Commons
|
||||
public licenses is dedicated to the public domain under the CC0 Public
|
||||
Domain Dedication. Except for the limited purpose of indicating that
|
||||
material is shared under a Creative Commons public license or as
|
||||
otherwise permitted by the Creative Commons policies published at
|
||||
creativecommons.org/policies, Creative Commons does not authorize the
|
||||
use of the trademark "Creative Commons" or any other trademark or logo
|
||||
of Creative Commons without its prior written consent including,
|
||||
without limitation, in connection with any unauthorized modifications
|
||||
to any of its public licenses or any other arrangements,
|
||||
understandings, or agreements concerning use of licensed material. For
|
||||
the avoidance of doubt, this paragraph does not form part of the
|
||||
public licenses.
|
||||
|
||||
Creative Commons may be contacted at creativecommons.org.
|
47
docs/README.md
Normal file
47
docs/README.md
Normal file
|
@ -0,0 +1,47 @@
|
|||
# select2.org
|
||||
|
||||
https://select2.org
|
||||
|
||||
This is the repository for the documentation for Select2. It is built with the flat-file CMS [Grav](http://getgrav.org), using their [RTFM skeleton](https://github.com/getgrav/grav-skeleton-rtfm-site#rtfm-skeleton).
|
||||
|
||||
## Local installation
|
||||
|
||||
### Step 1 - Install Grav
|
||||
|
||||
This application uses the [Grav](https://learn.getgrav.org/) CMS. This repository does not contain a full Grav installation - rather, it just contains the contents of Grav's `user` directory, which is where all of our content, themes, and assets live. This was done as per the [recommendation on Grav's blog](https://getgrav.org/blog/developing-with-github-part-2), to make it easier to deploy changes to the live server.
|
||||
|
||||
To install this website on your computer, first [install grav core](https://getgrav.org/downloads) in a project folder called `select2-docs` under your webserver's document root folder. Then, find the `user` folder inside of your project folder. Delete the contents of the `user` folder and clone this repository directly into the user folder.
|
||||
|
||||
When you're done it might look something like this:
|
||||
|
||||
```
|
||||
htdocs/
|
||||
└── select2-docs/
|
||||
├── assets/
|
||||
├── ...
|
||||
├── user/
|
||||
├── .git
|
||||
├── accounts/
|
||||
├── assets/
|
||||
├── config/
|
||||
└── ...
|
||||
└── ...
|
||||
|
||||
```
|
||||
|
||||
### Step 2
|
||||
|
||||
Grav needs your webserver to be able to write to certain directories. In OSX with XAMPP installed, this won't work by default. To deal with this:
|
||||
|
||||
Add default webserver user `daemon` to OSX's `staff` group (which already has the necessary permissions for writing to files/directories):
|
||||
|
||||
`sudo dseditgroup -o edit -a daemon -t user staff`
|
||||
|
||||
### Step 3
|
||||
|
||||
Visit the local installation in your browser! For example, http://localhost/select2-docs.
|
||||
|
||||
## Credits
|
||||
|
||||
Favicons were generated with https://realfavicongenerator.net/
|
||||
|
0
docs/accounts/.gitkeep
Normal file
0
docs/accounts/.gitkeep
Normal file
BIN
docs/assets/rtfm-screenshot.png
Normal file
BIN
docs/assets/rtfm-screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 131 KiB |
13
docs/blueprints.yaml
Normal file
13
docs/blueprints.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
name: RTFM Site
|
||||
version: 1.0.2
|
||||
description: "RTFM is a sample documentation site using the `learn2` theme. This skeleton is used as the basis for the Grav official documentation: http://learn.getgrav.org"
|
||||
icon: book
|
||||
author:
|
||||
name: Team Grav
|
||||
email: devs@getgrav.org
|
||||
url: http://getgrav.org
|
||||
homepage: https://github.com/getgrav/grav-skeleton-rtfm-site
|
||||
demo: http://demo.getgrav.org/rtfm-skeleton
|
||||
keywords: rtfm, skeleton, documentation, docs
|
||||
bugs: https://github.com/getgrav/grav-skeleton-rtfm-site/issues
|
||||
license: MIT
|
1
docs/config/plugins/anchors.yaml
Normal file
1
docs/config/plugins/anchors.yaml
Normal file
|
@ -0,0 +1 @@
|
|||
selectors: '#body h2, #body h3, #body h4, #body h5'
|
1
docs/config/plugins/highlight.yaml
Normal file
1
docs/config/plugins/highlight.yaml
Normal file
|
@ -0,0 +1 @@
|
|||
theme: learn
|
6
docs/config/plugins/simplesearch.yaml
Normal file
6
docs/config/plugins/simplesearch.yaml
Normal file
|
@ -0,0 +1,6 @@
|
|||
enabled: true
|
||||
built_in_css: false
|
||||
route: /search
|
||||
template: simplesearch_results
|
||||
filters:
|
||||
category: docs
|
10
docs/config/site.yaml
Normal file
10
docs/config/site.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
title: Select2 - The jQuery replacement for select boxes
|
||||
metadata:
|
||||
description: Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and pagination (infinite scrolling) of results.
|
||||
|
||||
taxonomies: [category,tag]
|
||||
summary:
|
||||
size: 300
|
||||
|
||||
redirects:
|
||||
/getting-help: /troubleshooting/getting-help
|
35
docs/config/system.yaml
Normal file
35
docs/config/system.yaml
Normal file
|
@ -0,0 +1,35 @@
|
|||
home:
|
||||
alias: '/getting-started'
|
||||
|
||||
pages:
|
||||
theme: site
|
||||
markdown_extra: true
|
||||
process:
|
||||
markdown: true
|
||||
twig: false
|
||||
|
||||
cache:
|
||||
enabled: true
|
||||
check:
|
||||
method: file
|
||||
driver: auto
|
||||
prefix: 'g'
|
||||
|
||||
twig:
|
||||
cache: true
|
||||
debug: false
|
||||
auto_reload: true
|
||||
autoescape: false
|
||||
|
||||
assets:
|
||||
css_pipeline: true
|
||||
css_minify: true
|
||||
css_rewrite: true
|
||||
js_pipeline: true
|
||||
js_minify: true
|
||||
|
||||
debugger:
|
||||
enabled: false
|
||||
twig: true
|
||||
shutdown:
|
||||
close_connection: true
|
0
docs/data/.gitkeep
Normal file
0
docs/data/.gitkeep
Normal file
1
docs/localhost/config/security.yaml
Normal file
1
docs/localhost/config/security.yaml
Normal file
|
@ -0,0 +1 @@
|
|||
salt: dc7HfDXRG0WT48
|
10
docs/localhost/config/system.yaml
Normal file
10
docs/localhost/config/system.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
assets:
|
||||
css_pipeline: false
|
||||
js_pipeline: false
|
||||
|
||||
twig:
|
||||
cache: true
|
||||
debug: true
|
||||
|
||||
debugger:
|
||||
enabled: false
|
50
docs/pages/01.getting-started/01.installation/docs.md
Normal file
50
docs/pages/01.getting-started/01.installation/docs.md
Normal file
|
@ -0,0 +1,50 @@
|
|||
---
|
||||
title: Installation
|
||||
taxonomy:
|
||||
category: docs
|
||||
---
|
||||
|
||||
In order to use Select2, you must include the compiled JavaScript and CSS files on your website. There are multiple options for including these pre-compiled files, also known as a **distribution**, in your website or application.
|
||||
|
||||
## Using Select2 from a CDN
|
||||
|
||||
A CDN (content delivery network) is the fastest way to get up and running with Select2!
|
||||
|
||||
Select2 is hosted on both the [jsDelivr](https://www.jsdelivr.com/package/npm/select2) and [cdnjs](https://cdnjs.com/libraries/select2) CDNs. Simply include the following lines of code in the `<head>` section of your page:
|
||||
|
||||
```
|
||||
<link href="https://cdn.jsdelivr.net/npm/select2@4.0.12/dist/css/select2.min.css" rel="stylesheet" />
|
||||
<script src="https://cdn.jsdelivr.net/npm/select2@4.0.12/dist/js/select2.min.js"></script>
|
||||
```
|
||||
|
||||
>>> <i class="fa fa-info-circle"></i> Immediately following a new release, it takes some time for CDNs to catch up and get the new versions live on the CDN.
|
||||
|
||||
## Installing with Bower
|
||||
|
||||
Select2 is available on Bower. Add the following to your `bower.json` file and then run `bower install`:
|
||||
|
||||
```
|
||||
"dependencies": {
|
||||
"select2": "~4.0"
|
||||
}
|
||||
```
|
||||
|
||||
Or, run `bower install select2` from your project directory.
|
||||
|
||||
The precompiled distribution files will be available in `vendor/select2/dist/css/` and `vendor/select2/dist/js/`, relative to your project directory. Include them in your page:
|
||||
|
||||
```
|
||||
<link href="vendor/select2/dist/css/select2.min.css" rel="stylesheet" />
|
||||
<script src="vendor/select2/dist/js/select2.min.js"></script>
|
||||
```
|
||||
|
||||
## Manual installation
|
||||
|
||||
We strongly recommend that you use either a CDN or a package manager like Bower or npm. This will make it easier for you to deploy your project in different environments, and easily update Select2 when new versions are released. Nonetheless if you prefer to integrate Select2 into your project manually, you can [download the release of your choice](https://github.com/select2/select2/tags) from GitHub and copy the files from the `dist` directory into your project.
|
||||
|
||||
Include the compiled files in your page:
|
||||
|
||||
```
|
||||
<link href="path/to/select2.min.css" rel="stylesheet" />
|
||||
<script src="path/to/select2.min.js"></script>
|
||||
```
|
106
docs/pages/01.getting-started/02.basic-usage/docs.md
Normal file
106
docs/pages/01.getting-started/02.basic-usage/docs.md
Normal file
|
@ -0,0 +1,106 @@
|
|||
---
|
||||
title: Basic usage
|
||||
taxonomy:
|
||||
category: docs
|
||||
process:
|
||||
twig: true
|
||||
never_cache_twig: true
|
||||
---
|
||||
|
||||
## Single select boxes
|
||||
|
||||
Select2 was designed to be a replacement for the standard `<select>` box that is displayed by the browser. By default it supports all options and operations that are available in a standard select box, but with added flexibility.
|
||||
|
||||
Select2 can take a regular select box like this...
|
||||
|
||||
<select class="js-states form-control"></select>
|
||||
|
||||
and turn it into this...
|
||||
|
||||
<div class="s2-example">
|
||||
<select class="js-example-basic-single js-states form-control"></select>
|
||||
</div>
|
||||
|
||||
```
|
||||
<select class="js-example-basic-single" name="state">
|
||||
<option value="AL">Alabama</option>
|
||||
...
|
||||
<option value="WY">Wyoming</option>
|
||||
</select>
|
||||
```
|
||||
|
||||
<script type="text/javascript" class="js-code-example-basic-single">
|
||||
$(document).ready(function() {
|
||||
$('.js-example-basic-single').select2();
|
||||
});
|
||||
</script>
|
||||
|
||||
Select2 will register itself as a jQuery function if you use any of the distribution builds, so you can call `.select2()` on any jQuery selector where you would like to initialize Select2.
|
||||
|
||||
```
|
||||
// In your Javascript (external .js resource or <script> tag)
|
||||
$(document).ready(function() {
|
||||
$('.js-example-basic-single').select2();
|
||||
});
|
||||
```
|
||||
|
||||
>>>>>> The DOM cannot be safely manipulated until it is "ready". To make sure that your DOM is ready before the browser initializes the Select2 control, wrap your code in a [`$(document).ready()`](https://learn.jquery.com/using-jquery-core/document-ready/) block. Only one `$(document).ready()` block is needed per page.
|
||||
|
||||
## Multi-select boxes (pillbox)
|
||||
|
||||
Select2 also supports multi-value select boxes. The select below is declared with the `multiple` attribute.
|
||||
|
||||
<div class="s2-example">
|
||||
<p>
|
||||
<select class="js-example-basic-multiple js-states form-control" multiple="multiple"></select>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
**In your HTML:**
|
||||
|
||||
```
|
||||
<select class="js-example-basic-multiple" name="states[]" multiple="multiple">
|
||||
<option value="AL">Alabama</option>
|
||||
...
|
||||
<option value="WY">Wyoming</option>
|
||||
</select>
|
||||
```
|
||||
|
||||
**In your Javascript (external `.js` resource or `<script>` tag):**
|
||||
|
||||
```
|
||||
$(document).ready(function() {
|
||||
$('.js-example-basic-multiple').select2();
|
||||
});
|
||||
```
|
||||
|
||||
<script type="text/javascript">
|
||||
$.fn.select2.amd.require([
|
||||
"select2/core",
|
||||
"select2/utils"
|
||||
], function (Select2, Utils, oldMatcher) {
|
||||
var $basicSingle = $(".js-example-basic-single");
|
||||
var $basicMultiple = $(".js-example-basic-multiple");
|
||||
|
||||
$.fn.select2.defaults.set("width", "100%");
|
||||
|
||||
$basicSingle.select2();
|
||||
$basicMultiple.select2();
|
||||
|
||||
function formatState (state) {
|
||||
if (!state.id) {
|
||||
return state.text;
|
||||
}
|
||||
var $state = $(
|
||||
'<span>' +
|
||||
'<img src="vendor/images/flags/' +
|
||||
state.element.value.toLowerCase() +
|
||||
'.png" class="img-flag" /> ' +
|
||||
state.text +
|
||||
'</span>'
|
||||
);
|
||||
return $state;
|
||||
};
|
||||
});
|
||||
|
||||
</script>
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue