├── _config └── config.yml ├── .gitattributes ├── README.md ├── javascript ├── thirdparty │ └── bootstrap-select-1.10.0 │ │ ├── docs │ │ ├── custom_theme │ │ │ ├── img │ │ │ │ └── logos │ │ │ │ │ ├── thermofisher.png │ │ │ │ │ ├── membermeister.png │ │ │ │ │ └── snapappointments.png │ │ │ ├── js │ │ │ │ └── base.js │ │ │ ├── toc.html │ │ │ ├── nav.html │ │ │ ├── css │ │ │ │ └── base.css │ │ │ └── base.html │ │ ├── mkdocs.yml │ │ └── docs │ │ │ ├── dist │ │ │ └── js │ │ │ │ └── i18n │ │ │ │ ├── defaults-zh_CN.min.js │ │ │ │ ├── defaults-zh_TW.min.js │ │ │ │ ├── defaults-cs_CZ.min.js │ │ │ │ ├── defaults-ua_UA.min.js │ │ │ │ ├── defaults-de_DE.min.js │ │ │ │ ├── defaults-es_CL.min.js │ │ │ │ ├── defaults-eu.min.js │ │ │ │ ├── defaults-nl_NL.min.js │ │ │ │ ├── defaults-pt_BR.min.js │ │ │ │ ├── defaults-it_IT.min.js │ │ │ │ ├── defaults-ko_KR.min.js │ │ │ │ ├── defaults-pt_PT.min.js │ │ │ │ ├── defaults-ro_RO.min.js │ │ │ │ ├── defaults-id_ID.min.js │ │ │ │ ├── defaults-ru_RU.min.js │ │ │ │ ├── defaults-fa_IR.min.js │ │ │ │ ├── defaults-hu_HU.min.js │ │ │ │ ├── defaults-pl_PL.min.js │ │ │ │ ├── defaults-sl_SI.min.js │ │ │ │ ├── defaults-sk_SK.min.js │ │ │ │ ├── defaults-fi_FI.min.js │ │ │ │ ├── defaults-sv_SE.min.js │ │ │ │ ├── defaults-tr_TR.min.js │ │ │ │ ├── defaults-da_DK.min.js │ │ │ │ ├── defaults-en_US.min.js │ │ │ │ ├── defaults-fr_FR.min.js │ │ │ │ ├── defaults-bg_BG.min.js │ │ │ │ ├── defaults-cro_CRO.min.js │ │ │ │ ├── defaults-lt_LT.min.js │ │ │ │ ├── defaults-ar_AR.min.js │ │ │ │ ├── defaults-zh_CN.js │ │ │ │ ├── defaults-zh_TW.js │ │ │ │ ├── defaults-cs_CZ.js │ │ │ │ ├── defaults-pt_PT.js │ │ │ │ ├── defaults-nb_NO.min.js │ │ │ │ ├── defaults-de_DE.js │ │ │ │ ├── defaults-eu.js │ │ │ │ ├── defaults-pt_BR.js │ │ │ │ ├── defaults-ua_UA.js │ │ │ │ ├── defaults-es_CL.js │ │ │ │ ├── defaults-nl_NL.js │ │ │ │ ├── defaults-it_IT.js │ │ │ │ ├── defaults-ro_RO.js │ │ │ │ ├── defaults-ru_RU.js │ │ │ │ ├── defaults-id_ID.js │ │ │ │ ├── defaults-pl_PL.js │ │ │ │ ├── defaults-fa_IR.js │ │ │ │ ├── defaults-sk_SK.js │ │ │ │ ├── defaults-ko_KR.js │ │ │ │ ├── defaults-hu_HU.js │ │ │ │ ├── defaults-sl_SI.js │ │ │ │ ├── defaults-sv_SE.js │ │ │ │ ├── defaults-en_US.js │ │ │ │ ├── defaults-da_DK.js │ │ │ │ ├── defaults-fi_FI.js │ │ │ │ ├── defaults-tr_TR.js │ │ │ │ ├── defaults-fr_FR.js │ │ │ │ ├── defaults-bg_BG.js │ │ │ │ ├── defaults-cro_CRO.js │ │ │ │ ├── defaults-lt_LT.js │ │ │ │ ├── defaults-ar_AR.js │ │ │ │ └── defaults-nb_NO.js │ │ │ └── index.md │ │ ├── .gitignore │ │ ├── less │ │ └── variables.less │ │ ├── sass │ │ └── variables.scss │ │ ├── js │ │ ├── .jshintrc │ │ └── i18n │ │ │ ├── defaults-zh_CN.js │ │ │ ├── defaults-zh_TW.js │ │ │ ├── defaults-cs_CZ.js │ │ │ ├── defaults-eu.js │ │ │ ├── defaults-es_CL.js │ │ │ ├── defaults-ua_UA.js │ │ │ ├── defaults-de_DE.js │ │ │ ├── defaults-nl_NL.js │ │ │ ├── defaults-pt_PT.js │ │ │ ├── defaults-ro_RO.js │ │ │ ├── defaults-ru_RU.js │ │ │ ├── defaults-id_ID.js │ │ │ ├── defaults-it_IT.js │ │ │ ├── defaults-pt_BR.js │ │ │ ├── defaults-pl_PL.js │ │ │ ├── defaults-fa_IR.js │ │ │ ├── defaults-sk_SK.js │ │ │ ├── defaults-ko_KR.js │ │ │ ├── defaults-hu_HU.js │ │ │ ├── defaults-sl_SI.js │ │ │ ├── defaults-sv_SE.js │ │ │ ├── defaults-da_DK.js │ │ │ ├── defaults-en_US.js │ │ │ ├── defaults-fi_FI.js │ │ │ ├── defaults-fr_FR.js │ │ │ ├── defaults-tr_TR.js │ │ │ ├── defaults-bg_BG.js │ │ │ ├── defaults-ar_AR.js │ │ │ ├── defaults-cro_CRO.js │ │ │ ├── defaults-lt_LT.js │ │ │ └── defaults-nb_NO.js │ │ ├── composer.json │ │ ├── dist │ │ └── js │ │ │ └── i18n │ │ │ ├── defaults-zh_CN.min.js │ │ │ ├── defaults-zh_TW.min.js │ │ │ ├── defaults-cs_CZ.min.js │ │ │ ├── defaults-ua_UA.min.js │ │ │ ├── defaults-de_DE.min.js │ │ │ ├── defaults-es_CL.min.js │ │ │ ├── defaults-eu.min.js │ │ │ ├── defaults-nl_NL.min.js │ │ │ ├── defaults-pt_BR.min.js │ │ │ ├── defaults-it_IT.min.js │ │ │ ├── defaults-ko_KR.min.js │ │ │ ├── defaults-pt_PT.min.js │ │ │ ├── defaults-ro_RO.min.js │ │ │ ├── defaults-id_ID.min.js │ │ │ ├── defaults-ru_RU.min.js │ │ │ ├── defaults-fa_IR.min.js │ │ │ ├── defaults-hu_HU.min.js │ │ │ ├── defaults-pl_PL.min.js │ │ │ ├── defaults-sl_SI.min.js │ │ │ ├── defaults-fi_FI.min.js │ │ │ ├── defaults-sk_SK.min.js │ │ │ ├── defaults-sv_SE.min.js │ │ │ ├── defaults-tr_TR.min.js │ │ │ ├── defaults-da_DK.min.js │ │ │ ├── defaults-en_US.min.js │ │ │ ├── defaults-fr_FR.min.js │ │ │ ├── defaults-bg_BG.min.js │ │ │ ├── defaults-cro_CRO.min.js │ │ │ ├── defaults-lt_LT.min.js │ │ │ ├── defaults-ar_AR.min.js │ │ │ ├── defaults-zh_CN.js │ │ │ ├── defaults-zh_TW.js │ │ │ ├── defaults-nb_NO.min.js │ │ │ ├── defaults-cs_CZ.js │ │ │ ├── defaults-pt_PT.js │ │ │ ├── defaults-de_DE.js │ │ │ ├── defaults-ua_UA.js │ │ │ ├── defaults-es_CL.js │ │ │ ├── defaults-eu.js │ │ │ ├── defaults-nl_NL.js │ │ │ ├── defaults-pt_BR.js │ │ │ ├── defaults-it_IT.js │ │ │ ├── defaults-ro_RO.js │ │ │ ├── defaults-id_ID.js │ │ │ ├── defaults-ru_RU.js │ │ │ ├── defaults-pl_PL.js │ │ │ ├── defaults-fa_IR.js │ │ │ ├── defaults-sk_SK.js │ │ │ ├── defaults-ko_KR.js │ │ │ ├── defaults-hu_HU.js │ │ │ ├── defaults-sl_SI.js │ │ │ ├── defaults-sv_SE.js │ │ │ ├── defaults-fi_FI.js │ │ │ ├── defaults-en_US.js │ │ │ ├── defaults-da_DK.js │ │ │ ├── defaults-tr_TR.js │ │ │ ├── defaults-cro_CRO.js │ │ │ ├── defaults-fr_FR.js │ │ │ ├── defaults-bg_BG.js │ │ │ ├── defaults-lt_LT.js │ │ │ ├── defaults-ar_AR.js │ │ │ └── defaults-nb_NO.js │ │ ├── bower.json │ │ ├── LICENSE │ │ ├── package.json │ │ ├── README.md │ │ └── CONTRIBUTING.md └── bootstrap.select.field.js ├── _config.php ├── .editorconfig ├── composer.json └── code └── BootstrapSelectField.php /_config/config.yml: -------------------------------------------------------------------------------- 1 | --- 2 | name: bootstrap-select 3 | --- -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | /docs export-ignore 2 | /.gitignore export-ignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # silverstripe-bootstrap-select 2 | A form field utilizing the dropdown.js bootstrap component via https://github.com/silviomoreto/bootstrap-select 3 | -------------------------------------------------------------------------------- /javascript/thirdparty/bootstrap-select-1.10.0/docs/custom_theme/img/logos/thermofisher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/silverstripe-bootstrap-select/1.0/javascript/thirdparty/bootstrap-select-1.10.0/docs/custom_theme/img/logos/thermofisher.png -------------------------------------------------------------------------------- /javascript/thirdparty/bootstrap-select-1.10.0/docs/custom_theme/img/logos/membermeister.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/silverstripe-bootstrap-select/1.0/javascript/thirdparty/bootstrap-select-1.10.0/docs/custom_theme/img/logos/membermeister.png -------------------------------------------------------------------------------- /javascript/thirdparty/bootstrap-select-1.10.0/docs/custom_theme/img/logos/snapappointments.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dynamic/silverstripe-bootstrap-select/1.0/javascript/thirdparty/bootstrap-select-1.10.0/docs/custom_theme/img/logos/snapappointments.png -------------------------------------------------------------------------------- /javascript/thirdparty/bootstrap-select-1.10.0/.gitignore: -------------------------------------------------------------------------------- 1 | # OS or Editor folders 2 | .DS_Store 3 | .idea 4 | 5 | # Folders to ignore 6 | node_modules 7 | bower_components 8 | .sass-cache 9 | 10 | # Dist zip 11 | bootstrap-select-*.zip 12 | 13 | docs/site 14 | -------------------------------------------------------------------------------- /_config.php: -------------------------------------------------------------------------------- 1 | 2 | 14 | -------------------------------------------------------------------------------- /javascript/thirdparty/bootstrap-select-1.10.0/js/i18n/defaults-nl_NL.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for bootstrap-select. 3 | * Locale: NL (Dutch; Nederlands) 4 | * Region: NL (Europe) 5 | * Author: Daan Rosbergen (Badmuts) 6 | */ 7 | (function ($) { 8 | $.fn.selectpicker.defaults = { 9 | noneSelectedText: 'Niets geselecteerd', 10 | noneResultsText: 'Geen resultaten gevonden voor {0}', 11 | countSelectedText: '{0} van {1} geselecteerd', 12 | maxOptionsText: ['Limiet bereikt ({n} {var} max)', 'Groep limiet bereikt ({n} {var} max)', ['items', 'item']], 13 | multipleSeparator: ', ' 14 | }; 15 | })(jQuery); 16 | -------------------------------------------------------------------------------- /javascript/thirdparty/bootstrap-select-1.10.0/js/i18n/defaults-pt_PT.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for bootstrap-select. 3 | * Locale: PT (Portuguese; português) 4 | * Region: PT (Portugal; Portugal) 5 | * Author: Burnspirit 6 | */ 7 | (function ($) { 8 | $.fn.selectpicker.defaults = { 9 | noneSelectedText: 'Nenhum seleccionado', 10 | noneResultsText: 'Sem resultados contendo {0}', 11 | countSelectedText: 'Selecionado {0} de {1}', 12 | maxOptionsText: ['Limite ultrapassado (máx. {n} {var})', 'Limite de seleções ultrapassado (máx. {n} {var})', ['itens', 'item']], 13 | multipleSeparator: ', ' 14 | }; 15 | })(jQuery); 16 | -------------------------------------------------------------------------------- /javascript/thirdparty/bootstrap-select-1.10.0/js/i18n/defaults-ro_RO.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for bootstrap-select. 3 | * Locale: RO (Romanian) 4 | * Region: RO (Romania) 5 | * Alex Florea 6 | */ 7 | (function ($) { 8 | $.fn.selectpicker.defaults = { 9 | noneSelectedText: 'Nu a fost selectat nimic', 10 | noneResultsText: 'Nu exista niciun rezultat {0}', 11 | countSelectedText: '{0} din {1} selectat(e)', 12 | maxOptionsText: ['Limita a fost atinsa ({n} {var} max)', 'Limita de grup a fost atinsa ({n} {var} max)', ['iteme', 'item']], 13 | multipleSeparator: ', ' 14 | }; 15 | })(jQuery); 16 | -------------------------------------------------------------------------------- /javascript/thirdparty/bootstrap-select-1.10.0/js/i18n/defaults-ru_RU.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for bootstrap-select. 3 | * Locale: RU (Russian; Русский) 4 | * Region: RU (Russian Federation) 5 | */ 6 | (function ($) { 7 | $.fn.selectpicker.defaults = { 8 | noneSelectedText: 'Ничего не выбрано', 9 | noneResultsText: 'Совпадений не найдено {0}', 10 | countSelectedText: 'Выбрано {0} из {1}', 11 | maxOptionsText: ['Достигнут предел ({n} {var} максимум)', 'Достигнут предел в группе ({n} {var} максимум)', ['items', 'item']], 12 | doneButtonText: 'Закрыть', 13 | multipleSeparator: ', ' 14 | }; 15 | })(jQuery); 16 | -------------------------------------------------------------------------------- /javascript/thirdparty/bootstrap-select-1.10.0/js/i18n/defaults-id_ID.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for bootstrap-select. 3 | * Locale: ID (Indonesian; Bahasa Indonesia) 4 | * Region: ID (Indonesia) 5 | */ 6 | (function ($) { 7 | $.fn.selectpicker.defaults = { 8 | noneSelectedText: 'Tidak ada yang dipilih', 9 | noneResultsText: 'Tidak ada yang cocok {0}', 10 | countSelectedText: '{0} terpilih', 11 | maxOptionsText: ['Mencapai batas (maksimum {n})', 'Mencapai batas grup (maksimum {n})'], 12 | selectAllText: 'Pilih Semua', 13 | deselectAllText: 'Hapus Semua', 14 | multipleSeparator: ', ' 15 | }; 16 | })(jQuery); 17 | -------------------------------------------------------------------------------- /javascript/thirdparty/bootstrap-select-1.10.0/docs/mkdocs.yml: -------------------------------------------------------------------------------- 1 | site_name: bootstrap-select 2 | site_description: Bootstrap-select is a jQuery plugin that utilizes Bootstrap's dropdown.js to style and bring additional functionality to normal select boxes. 3 | repo_url: https://github.com/silviomoreto/bootstrap-select 4 | theme: bootstrap 5 | theme_dir: custom_theme 6 | extra_css: 7 | - css/custom.css 8 | - dist/css/bootstrap-select.min.css 9 | extra_javascript: 10 | - dist/js/bootstrap-select.min.js 11 | pages: 12 | - Bootstrap-select: index.md 13 | - Examples: examples.md 14 | - Options: options.md 15 | - Methods: methods.md 16 | extra: 17 | version: 1.10.0 18 | -------------------------------------------------------------------------------- /javascript/thirdparty/bootstrap-select-1.10.0/js/i18n/defaults-it_IT.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for bootstrap-select. 3 | * Locale: IT (Italian; italiano) 4 | * Region: IT (Italy; Italia) 5 | * Author: Michele Beltrame 6 | */ 7 | (function ($) { 8 | $.fn.selectpicker.defaults = { 9 | noneSelectedText: 'Nessuna selezione', 10 | noneResultsText: 'Nessun risultato per {0}', 11 | countSelectedText: 'Selezionati {0} di {1}', 12 | maxOptionsText: ['Limite raggiunto ({n} {var} max)', 'Limite del gruppo raggiunto ({n} {var} max)', ['elementi', 'elemento']], 13 | multipleSeparator: ', ' 14 | }; 15 | })(jQuery); 16 | -------------------------------------------------------------------------------- /javascript/thirdparty/bootstrap-select-1.10.0/js/i18n/defaults-pt_BR.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for bootstrap-select. 3 | * Locale: PT (Portuguese; português) 4 | * Region: BR (Brazil; Brasil) 5 | * Author: Rodrigo de Avila 6 | */ 7 | (function ($) { 8 | $.fn.selectpicker.defaults = { 9 | noneSelectedText: 'Nada selecionado', 10 | noneResultsText: 'Nada encontrado contendo {0}', 11 | countSelectedText: 'Selecionado {0} de {1}', 12 | maxOptionsText: ['Limite excedido (máx. {n} {var})', 'Limite do grupo excedido (máx. {n} {var})', ['itens', 'item']], 13 | multipleSeparator: ', ' 14 | }; 15 | })(jQuery); 16 | -------------------------------------------------------------------------------- /javascript/thirdparty/bootstrap-select-1.10.0/js/i18n/defaults-pl_PL.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Translated default messages for bootstrap-select. 3 | * Locale: PL (Polish) 4 | * Region: EU (Europe) 5 | */ 6 | (function ($) { 7 | $.fn.selectpicker.defaults = { 8 | noneSelectedText: 'Nic nie zaznaczono', 9 | noneResultsText: 'Brak wyników wyszukiwania {0}', 10 | countSelectedText: 'Zaznaczono {0} z {1}', 11 | maxOptionsText: ['Osiągnięto limit ({n} {var} max)', 'Limit grupy osiągnięty ({n} {var} max)', ['elementy', 'element']], 12 | selectAll: 'Zaznacz wszystkie', 13 | deselectAll: 'Odznacz wszystkie', 14 | multipleSeparator: ', ' 15 | }; 16 | })(jQuery); 17 | -------------------------------------------------------------------------------- /javascript/thirdparty/bootstrap-select-1.10.0/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bootstrap-select/bootstrap-select", 3 | "description": "A custom for Bootstrap using button dropdown as replacement", 6 | "version": "1.10.0", 7 | "homepage": "http://silviomoreto.github.io/bootstrap-select", 8 | "author": { 9 | "name": "Silvio Moreto", 10 | "url": "https://github.com/silviomoreto" 11 | }, 12 | "contributors": [ 13 | { 14 | "name": "Silvio Moreto", 15 | "url": "https://github.com/silviomoreto" 16 | }, 17 | { 18 | "name": "Ana Carolina", 19 | "url": "https://github.com/anacarolinats" 20 | }, 21 | { 22 | "name": "caseyjhol", 23 | "url": "https://github.com/caseyjhol" 24 | }, 25 | { 26 | "name": "Matt Bryson", 27 | "url": "https://github.com/mattbryson" 28 | }, 29 | { 30 | "name": "t0xicCode", 31 | "url": "https://github.com/t0xicCode" 32 | } 33 | ], 34 | "repository": { 35 | "type": "git", 36 | "url": "git://github.com/silviomoreto/bootstrap-select.git" 37 | }, 38 | "license": "MIT", 39 | "dependencies": { 40 | "jquery": ">=1.8" 41 | }, 42 | "devDependencies": { 43 | "grunt": "~0.4.5", 44 | "grunt-autoprefixer": "~1.0.0", 45 | "grunt-banner": "~0.3.1", 46 | "grunt-contrib-clean": "~0.6.0", 47 | "grunt-contrib-compress": "~0.13.0", 48 | "grunt-contrib-concat": "~0.5.0", 49 | "grunt-contrib-copy": "^0.8.2", 50 | "grunt-contrib-csslint": "~0.2.0", 51 | "grunt-contrib-cssmin": "~0.11.0", 52 | "grunt-contrib-jshint": "~0.10.0", 53 | "grunt-contrib-less": "~0.11.3", 54 | "grunt-contrib-uglify": "~0.7.0", 55 | "grunt-contrib-watch": "~0.6.1", 56 | "grunt-sed": "~0.1.1", 57 | "grunt-umd": "~2.3.3", 58 | "load-grunt-tasks": "~2.0.0" 59 | }, 60 | "keywords": [ 61 | "form", 62 | "bootstrap", 63 | "select", 64 | "replacement" 65 | ] 66 | } 67 | -------------------------------------------------------------------------------- /javascript/thirdparty/bootstrap-select-1.10.0/docs/custom_theme/nav.html: -------------------------------------------------------------------------------- 1 | 61 | -------------------------------------------------------------------------------- /code/BootstrapSelectField.php: -------------------------------------------------------------------------------- 1 | addExtraClass('bootstrap-select-field') 38 | ->setAttribute('data-bootstrapselectconfig', Convert::array2json($this->bootstrap_select_config)); 39 | 40 | //allow for not including default styles 41 | if ($this->config()->get('require_css') == true) { 42 | Requirements::css(BOOTSTRAP_DROPDOWN_FIELD_THIRDPARTY . 'bootstrap-select-1.10.0/dist/css/bootstrap-select.min.css'); 43 | } 44 | if ($this->config()->get('require_js') == true) { 45 | Requirements::javascript('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js'); 46 | } 47 | Requirements::javascript(BOOTSTRAP_DROPDOWN_FIELD_THIRDPARTY . 'bootstrap-select-1.10.0/dist/js/bootstrap-select.min.js'); 48 | Requirements::javascript(BOOTSTRAP_DROPDOWN_FIELD_JAVASCRIPT . 'bootstrap.select.field.js'); 49 | 50 | return parent::Field($properties); 51 | } 52 | 53 | /** 54 | * @param null $key 55 | * @param null $val 56 | * @return $this 57 | */ 58 | public function setBootstrapSelectConfig($key = null, $val = null) 59 | { 60 | if ($key === null || $val === null) { 61 | user_error('Both $key and $val need to have non-null values in setBootstrapSelectConfig()', E_USER_ERROR); 62 | } 63 | $this->bootstrap_select_config[$key] = $val; 64 | return $this; 65 | } 66 | 67 | /** 68 | * @return array 69 | */ 70 | public function getBootstrapSelectConfig() 71 | { 72 | return $this->bootstrap_select_config; 73 | } 74 | 75 | } -------------------------------------------------------------------------------- /javascript/thirdparty/bootstrap-select-1.10.0/dist/js/i18n/defaults-nb_NO.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.10.0 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2016 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof exports === 'object') { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(jQuery); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | /*! 25 | * Bootstrap-select v1.8.1 (http://silviomoreto.github.io/bootstrap-select) 26 | * 27 | * Copyright 2013-2015 bootstrap-select 28 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 29 | */ 30 | 31 | (function (root, factory) { 32 | if (typeof define === 'function' && define.amd) { 33 | // AMD. Register as an anonymous module unless amdModuleId is set 34 | define(["jquery"], function (a0) { 35 | return (factory(a0)); 36 | }); 37 | } else if (typeof exports === 'object') { 38 | // Node. Does not work with strict CommonJS, but 39 | // only CommonJS-like environments that support module.exports, 40 | // like Node. 41 | module.exports = factory(require("jquery")); 42 | } else { 43 | factory(jQuery); 44 | } 45 | }(this, function (jQuery) { 46 | 47 | (function ($) { 48 | $.fn.selectpicker.defaults = { 49 | noneSelectedText: 'Ingen valgt', 50 | noneResultsText: 'Søket gir ingen treff {0}', 51 | countSelectedText: function (numSelected, numTotal) { 52 | return (numSelected == 1) ? "{0} alternativ valgt" : "{0} alternativer valgt"; 53 | }, 54 | maxOptionsText: function (numAll, numGroup) { 55 | return [ 56 | (numAll == 1) ? 'Grense nådd (maks {n} valg)' : 'Grense nådd (maks {n} valg)', 57 | (numGroup == 1) ? 'Grense for grupper nådd (maks {n} grupper)' : 'Grense for grupper nådd (maks {n} grupper)' 58 | ]; 59 | }, 60 | selectAllText: 'Merk alle', 61 | deselectAllText: 'Fjern alle', 62 | multipleSeparator: ', ' 63 | }; 64 | })(jQuery); 65 | 66 | 67 | })); 68 | 69 | 70 | })); 71 | -------------------------------------------------------------------------------- /javascript/thirdparty/bootstrap-select-1.10.0/docs/docs/dist/js/i18n/defaults-nb_NO.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.10.0 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2016 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof exports === 'object') { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(jQuery); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | /*! 25 | * Bootstrap-select v1.8.1 (http://silviomoreto.github.io/bootstrap-select) 26 | * 27 | * Copyright 2013-2015 bootstrap-select 28 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 29 | */ 30 | 31 | (function (root, factory) { 32 | if (typeof define === 'function' && define.amd) { 33 | // AMD. Register as an anonymous module unless amdModuleId is set 34 | define(["jquery"], function (a0) { 35 | return (factory(a0)); 36 | }); 37 | } else if (typeof exports === 'object') { 38 | // Node. Does not work with strict CommonJS, but 39 | // only CommonJS-like environments that support module.exports, 40 | // like Node. 41 | module.exports = factory(require("jquery")); 42 | } else { 43 | factory(jQuery); 44 | } 45 | }(this, function (jQuery) { 46 | 47 | (function ($) { 48 | $.fn.selectpicker.defaults = { 49 | noneSelectedText: 'Ingen valgt', 50 | noneResultsText: 'Søket gir ingen treff {0}', 51 | countSelectedText: function (numSelected, numTotal) { 52 | return (numSelected == 1) ? "{0} alternativ valgt" : "{0} alternativer valgt"; 53 | }, 54 | maxOptionsText: function (numAll, numGroup) { 55 | return [ 56 | (numAll == 1) ? 'Grense nådd (maks {n} valg)' : 'Grense nådd (maks {n} valg)', 57 | (numGroup == 1) ? 'Grense for grupper nådd (maks {n} grupper)' : 'Grense for grupper nådd (maks {n} grupper)' 58 | ]; 59 | }, 60 | selectAllText: 'Merk alle', 61 | deselectAllText: 'Fjern alle', 62 | multipleSeparator: ', ' 63 | }; 64 | })(jQuery); 65 | 66 | 67 | })); 68 | 69 | 70 | })); 71 | -------------------------------------------------------------------------------- /javascript/thirdparty/bootstrap-select-1.10.0/docs/docs/index.md: -------------------------------------------------------------------------------- 1 | # Getting Started 2 | 3 | --- 4 | 5 | ## Dependencies 6 | 7 | Requires jQuery v1.8.0+, Bootstrap’s dropdown.js component, and Bootstrap's CSS. If you're not already using Bootstrap in your project, a precompiled version of the minimum requirements can be downloaded [here](http://getbootstrap.com/customize/?id=7830063837006f6fc84f). 8 | 9 | ## CDNJS 10 | 11 | The folks at CDNJS host a copy of the library. The CDN is updated after the release is made public, which means there is a delay between the publishing of a release and its availability on the CDN, so keep that in mind. Just use these links: 12 | 13 | ```html 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | ``` 23 | 24 | ## Install with Bower 25 | 26 | You can also install bootstrap-select using [Bower](http://bower.io): 27 | 28 | ```elixir 29 | $ bower install bootstrap-select 30 | ``` 31 | 32 | ## Install with npm 33 | 34 | You can also install bootstrap-select using [npm](https://www.npmjs.com/package/bootstrap-select): 35 | 36 | ```elixir 37 | $ npm install bootstrap-select 38 | ``` 39 | 40 | ## Install with NuGet 41 | 42 | You can also install bootstrap-select using [NuGet](https://www.nuget.org/packages/bootstrap-select): 43 | 44 | ```elixir 45 | $ Install-Package bootstrap-select 46 | ``` 47 | 48 | # Usage 49 | 50 | --- 51 | 52 | Create your ` 56 | 57 | 58 | 59 | 60 | ``` 61 | 62 | Options can be passed via data attributes or JavaScript. 63 | 64 | ```js 65 | $('.selectpicker').selectpicker({ 66 | style: 'btn-info', 67 | size: 4 68 | }); 69 | ``` 70 | 71 | # Used by 72 | 73 | --- 74 | 75 |
76 |
77 | SnapAppointments 78 |
79 |
80 | Thermo Fisher Scientific Inc. 81 |
82 |
83 | membermeister 84 |
85 |
86 | 87 |
Does your organization use bootstrap-select? Open an issue, and include a link and logo, and you'll be added to the list.
88 | 89 | 90 | -------------------------------------------------------------------------------- /javascript/thirdparty/bootstrap-select-1.10.0/docs/custom_theme/css/base.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding-top: 70px; 3 | } 4 | 5 | h1[id]:before, h2[id]:before, h3[id]:before, h4[id]:before, h5[id]:before, h6[id]:before { 6 | content: ""; 7 | display: block; 8 | margin-top: -75px; 9 | height: 75px; 10 | } 11 | 12 | h2 code, h3 code, h4 code { 13 | background-color: inherit; 14 | } 15 | 16 | ul.nav li.main { 17 | font-weight: bold; 18 | } 19 | 20 | .container > div.col-md-3 { 21 | padding-left: 0; 22 | } 23 | 24 | .container > div.col-md-9 { 25 | padding-bottom: 100px; 26 | } 27 | 28 | div.source-links { 29 | float: right; 30 | } 31 | 32 | /* 33 | * Side navigation 34 | * 35 | * Scrollspy and affixed enhanced navigation to highlight sections and secondary 36 | * sections of docs content. 37 | */ 38 | 39 | /* By default it's not affixed in mobile views, so undo that */ 40 | .bs-sidebar.affix { 41 | position: static; 42 | } 43 | 44 | .bs-sidebar.well { 45 | padding: 0; 46 | } 47 | 48 | /* First level of nav */ 49 | .bs-sidenav { 50 | margin-top: 30px; 51 | margin-bottom: 30px; 52 | padding-top: 10px; 53 | padding-bottom: 10px; 54 | border-radius: 5px; 55 | } 56 | 57 | /* All levels of nav */ 58 | .bs-sidebar .nav > li > a { 59 | display: block; 60 | padding: 5px 20px; 61 | z-index: 1; 62 | } 63 | .bs-sidebar .nav > li > a:hover, 64 | .bs-sidebar .nav > li > a:focus { 65 | text-decoration: none; 66 | border-right: 1px solid; 67 | } 68 | .bs-sidebar .nav > .active > a, 69 | .bs-sidebar .nav > .active:hover > a, 70 | .bs-sidebar .nav > .active:focus > a { 71 | font-weight: bold; 72 | background-color: transparent; 73 | border-right: 1px solid; 74 | } 75 | 76 | /* Nav: second level (shown on .active) */ 77 | .bs-sidebar .nav .nav { 78 | display: none; /* Hide by default, but at >768px, show it */ 79 | margin-bottom: 8px; 80 | } 81 | .bs-sidebar .nav .nav > li > a { 82 | padding-top: 3px; 83 | padding-bottom: 3px; 84 | padding-left: 30px; 85 | font-size: 90%; 86 | } 87 | 88 | /* Show and affix the side nav when space allows it */ 89 | @media (min-width: 992px) { 90 | .bs-sidebar .nav > .active > ul { 91 | display: block; 92 | } 93 | /* Widen the fixed sidebar */ 94 | .bs-sidebar.affix, 95 | .bs-sidebar.affix-bottom { 96 | width: 213px; 97 | } 98 | .bs-sidebar.affix { 99 | position: fixed; /* Undo the static from mobile first approach */ 100 | top: 80px; 101 | } 102 | .bs-sidebar.affix-bottom { 103 | position: absolute; /* Undo the static from mobile first approach */ 104 | } 105 | .bs-sidebar.affix-bottom .bs-sidenav, 106 | .bs-sidebar.affix .bs-sidenav { 107 | margin-top: 0; 108 | margin-bottom: 0; 109 | } 110 | } 111 | @media (min-width: 1200px) { 112 | /* Widen the fixed sidebar again */ 113 | .bs-sidebar.affix-bottom, 114 | .bs-sidebar.affix { 115 | width: 263px; 116 | } 117 | } -------------------------------------------------------------------------------- /javascript/thirdparty/bootstrap-select-1.10.0/README.md: -------------------------------------------------------------------------------- 1 | bootstrap-select 2 | ================ 3 | 4 | [![Latest release](https://img.shields.io/github/release/silviomoreto/bootstrap-select.svg)](https://github.com/silviomoreto/bootstrap-select/releases/latest) 5 | [![Bower](https://img.shields.io/bower/v/bootstrap-select.svg)]() 6 | [![npm](https://img.shields.io/npm/v/bootstrap-select.svg)](https://www.npmjs.com/package/bootstrap-select) 7 | [![NuGet](https://img.shields.io/nuget/v/bootstrap-select.svg)](https://www.nuget.org/packages/bootstrap-select/) 8 | 9 | [![License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE) 10 | [![Dependency Status](https://david-dm.org/silviomoreto/bootstrap-select.svg)](https://david-dm.org/silviomoreto/bootstrap-select) 11 | [![devDependency Status](https://david-dm.org/silviomoreto/bootstrap-select/dev-status.svg)](https://david-dm.org/silviomoreto/bootstrap-select#info=devDependencies) 12 | 13 | Bootstrap-select is a jQuery plugin that utilizes Bootstrap's dropdown.js to style and bring additional functionality to normal select boxes. 14 | 15 | ## Demo and Documentation 16 | 17 | See a Bootstrap 3 example [here](http://silviomoreto.github.io/bootstrap-select). 18 | 19 | ## Authors 20 | 21 | [Silvio Moreto](https://github.com/silviomoreto), 22 | [Ana Carolina](https://github.com/anacarolinats), 23 | [caseyjhol](https://github.com/caseyjhol), 24 | [Matt Bryson](https://github.com/mattbryson), and 25 | [t0xicCode](https://github.com/t0xicCode). 26 | 27 | ## Usage 28 | 29 | Create your ` 32 | 33 | 34 | 35 | 36 | ``` 37 | 38 | If you use a 1.6.3 or newer, you don't need to do anything else, as the data-api automatically picks up the `s with the selectpicker class 43 | $('.selectpicker').selectpicker(); 44 | ``` 45 | Or 46 | ```js 47 | // To style all