diff --git a/README.md b/README.md index f803826..0ab9345 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,17 @@ Options can be passed via data attributes or through the JavaScript options obje *** +#### options.minLength +> __Type:__ `Integer` +> +> __Default:__ `0` +> +> __Data Attribute:__ `data-abs-min-length="..."` +> +> Invoke a request for empty search values. + +*** + #### ~~options.ajaxSearchUrl~~ > __Deprecated:__ Since version `1.2.0`, see: [options.ajax](#optionsajax). > @@ -403,6 +414,15 @@ See: [options.locale](#optionslocale) *** +#### locale.statusToShort +> __Type:__ `String` +> +> __Default:__ `'Please enter more characters'` +> +> The text used in the status container when the request returns no results. + +*** + ### JSON Results diff --git a/api-docs/data-34ed6c40fb3d5bfc5f39b10386739f55.js b/api-docs/data-34ed6c40fb3d5bfc5f39b10386739f55.js new file mode 100644 index 0000000..020f687 --- /dev/null +++ b/api-docs/data-34ed6c40fb3d5bfc5f39b10386739f55.js @@ -0,0 +1 @@ +Docs = {"data":{"classes":[{"name":"AjaxBootstrapSelect","extends":null,"private":null,"icon":"icon-class"},{"name":"AjaxBootstrapSelectList","extends":null,"private":null,"icon":"icon-class"},{"name":"AjaxBootstrapSelectRequest","extends":null,"private":null,"icon":"icon-class"},{"name":"$.fn.ajaxSelectPicker","extends":null,"private":null,"icon":"icon-class"},{"name":"$.fn.ajaxSelectPicker.defaults","extends":null,"private":null,"icon":"icon-class"},{"name":"$.fn.ajaxSelectPicker.locale","extends":null,"private":null,"icon":"icon-class"}],"guides":[],"videos":[],"examples":[],"search":[{"name":"AjaxBootstrapSelect","fullName":"AjaxBootstrapSelect","icon":"icon-class","url":"#!/api/AjaxBootstrapSelect","meta":{},"sort":1},{"name":"$element","fullName":"AjaxBootstrapSelect.$element","icon":"icon-property","url":"#!/api/AjaxBootstrapSelect-property-S-element","meta":{},"sort":3},{"name":"options","fullName":"AjaxBootstrapSelect.options","icon":"icon-property","url":"#!/api/AjaxBootstrapSelect-property-options","meta":{},"sort":3},{"name":"LOG_ERROR","fullName":"AjaxBootstrapSelect.LOG_ERROR","icon":"icon-property","url":"#!/api/AjaxBootstrapSelect-property-LOG_ERROR","meta":{},"sort":3},{"name":"LOG_WARNING","fullName":"AjaxBootstrapSelect.LOG_WARNING","icon":"icon-property","url":"#!/api/AjaxBootstrapSelect-property-LOG_WARNING","meta":{},"sort":3},{"name":"LOG_INFO","fullName":"AjaxBootstrapSelect.LOG_INFO","icon":"icon-property","url":"#!/api/AjaxBootstrapSelect-property-LOG_INFO","meta":{},"sort":3},{"name":"LOG_DEBUG","fullName":"AjaxBootstrapSelect.LOG_DEBUG","icon":"icon-property","url":"#!/api/AjaxBootstrapSelect-property-LOG_DEBUG","meta":{},"sort":3},{"name":"lastRequest","fullName":"AjaxBootstrapSelect.lastRequest","icon":"icon-property","url":"#!/api/AjaxBootstrapSelect-property-lastRequest","meta":{},"sort":3},{"name":"previousQuery","fullName":"AjaxBootstrapSelect.previousQuery","icon":"icon-property","url":"#!/api/AjaxBootstrapSelect-property-previousQuery","meta":{},"sort":3},{"name":"query","fullName":"AjaxBootstrapSelect.query","icon":"icon-property","url":"#!/api/AjaxBootstrapSelect-property-query","meta":{},"sort":3},{"name":"request","fullName":"AjaxBootstrapSelect.request","icon":"icon-property","url":"#!/api/AjaxBootstrapSelect-property-request","meta":{},"sort":3},{"name":"selectpicker","fullName":"AjaxBootstrapSelect.selectpicker","icon":"icon-property","url":"#!/api/AjaxBootstrapSelect-property-selectpicker","meta":{},"sort":3},{"name":"list","fullName":"AjaxBootstrapSelect.list","icon":"icon-property","url":"#!/api/AjaxBootstrapSelect-property-list","meta":{},"sort":3},{"name":"init","fullName":"AjaxBootstrapSelect.init","icon":"icon-method","url":"#!/api/AjaxBootstrapSelect-method-init","meta":{},"sort":3},{"name":"log","fullName":"AjaxBootstrapSelect.log","icon":"icon-method","url":"#!/api/AjaxBootstrapSelect-method-log","meta":{},"sort":3},{"name":"replaceValue","fullName":"AjaxBootstrapSelect.replaceValue","icon":"icon-method","url":"#!/api/AjaxBootstrapSelect-method-replaceValue","meta":{},"sort":3},{"name":"t","fullName":"AjaxBootstrapSelect.t","icon":"icon-method","url":"#!/api/AjaxBootstrapSelect-method-t","meta":{},"sort":3},{"name":"AjaxBootstrapSelectList","fullName":"AjaxBootstrapSelectList","icon":"icon-class","url":"#!/api/AjaxBootstrapSelectList","meta":{},"sort":1},{"name":"$status","fullName":"AjaxBootstrapSelectList.$status","icon":"icon-property","url":"#!/api/AjaxBootstrapSelectList-property-S-status","meta":{},"sort":3},{"name":"cache","fullName":"AjaxBootstrapSelectList.cache","icon":"icon-property","url":"#!/api/AjaxBootstrapSelectList-property-cache","meta":{},"sort":3},{"name":"plugin","fullName":"AjaxBootstrapSelectList.plugin","icon":"icon-property","url":"#!/api/AjaxBootstrapSelectList-property-plugin","meta":{},"sort":3},{"name":"selected","fullName":"AjaxBootstrapSelectList.selected","icon":"icon-property","url":"#!/api/AjaxBootstrapSelectList-property-selected","meta":{},"sort":3},{"name":"title","fullName":"AjaxBootstrapSelectList.title","icon":"icon-property","url":"#!/api/AjaxBootstrapSelectList-property-title","meta":{},"sort":3},{"name":"build","fullName":"AjaxBootstrapSelectList.build","icon":"icon-method","url":"#!/api/AjaxBootstrapSelectList-method-build","meta":{},"sort":3},{"name":"cacheGet","fullName":"AjaxBootstrapSelectList.cacheGet","icon":"icon-method","url":"#!/api/AjaxBootstrapSelectList-method-cacheGet","meta":{},"sort":3},{"name":"cacheSet","fullName":"AjaxBootstrapSelectList.cacheSet","icon":"icon-method","url":"#!/api/AjaxBootstrapSelectList-method-cacheSet","meta":{},"sort":3},{"name":"destroy","fullName":"AjaxBootstrapSelectList.destroy","icon":"icon-method","url":"#!/api/AjaxBootstrapSelectList-method-destroy","meta":{},"sort":3},{"name":"refresh","fullName":"AjaxBootstrapSelectList.refresh","icon":"icon-method","url":"#!/api/AjaxBootstrapSelectList-method-refresh","meta":{},"sort":3},{"name":"replaceOptions","fullName":"AjaxBootstrapSelectList.replaceOptions","icon":"icon-method","url":"#!/api/AjaxBootstrapSelectList-method-replaceOptions","meta":{},"sort":3},{"name":"restore","fullName":"AjaxBootstrapSelectList.restore","icon":"icon-method","url":"#!/api/AjaxBootstrapSelectList-method-restore","meta":{},"sort":3},{"name":"restoreTitle","fullName":"AjaxBootstrapSelectList.restoreTitle","icon":"icon-method","url":"#!/api/AjaxBootstrapSelectList-method-restoreTitle","meta":{},"sort":3},{"name":"setTitle","fullName":"AjaxBootstrapSelectList.setTitle","icon":"icon-method","url":"#!/api/AjaxBootstrapSelectList-method-setTitle","meta":{},"sort":3},{"name":"setStatus","fullName":"AjaxBootstrapSelectList.setStatus","icon":"icon-method","url":"#!/api/AjaxBootstrapSelectList-method-setStatus","meta":{},"sort":3},{"name":"AjaxBootstrapSelectRequest","fullName":"AjaxBootstrapSelectRequest","icon":"icon-class","url":"#!/api/AjaxBootstrapSelectRequest","meta":{},"sort":1},{"name":"beforeSend","fullName":"AjaxBootstrapSelectRequest.beforeSend","icon":"icon-event","url":"#!/api/AjaxBootstrapSelectRequest-event-beforeSend","meta":{},"sort":3},{"name":"complete","fullName":"AjaxBootstrapSelectRequest.complete","icon":"icon-event","url":"#!/api/AjaxBootstrapSelectRequest-event-complete","meta":{},"sort":3},{"name":"error","fullName":"AjaxBootstrapSelectRequest.error","icon":"icon-event","url":"#!/api/AjaxBootstrapSelectRequest-event-error","meta":{},"sort":3},{"name":"process","fullName":"AjaxBootstrapSelectRequest.process","icon":"icon-method","url":"#!/api/AjaxBootstrapSelectRequest-method-process","meta":{},"sort":3},{"name":"success","fullName":"AjaxBootstrapSelectRequest.success","icon":"icon-event","url":"#!/api/AjaxBootstrapSelectRequest-event-success","meta":{},"sort":3},{"name":"ajaxSelectPicker","fullName":"$.fn.ajaxSelectPicker","icon":"icon-class","url":"#!/api/$.fn.ajaxSelectPicker","meta":{"chainable":true},"sort":1},{"name":"locale","fullName":"$.fn.ajaxSelectPicker.locale","icon":"icon-property","url":"#!/api/$.fn.ajaxSelectPicker-property-locale","meta":{},"sort":3},{"name":"defaults","fullName":"$.fn.ajaxSelectPicker.defaults","icon":"icon-property","url":"#!/api/$.fn.ajaxSelectPicker-property-defaults","meta":{},"sort":3},{"name":"defaults","fullName":"$.fn.ajaxSelectPicker.defaults","icon":"icon-class","url":"#!/api/$.fn.ajaxSelectPicker.defaults","meta":{},"sort":1},{"name":"ajaxResultsPreHook","fullName":"$.fn.ajaxSelectPicker.defaults.ajaxResultsPreHook","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-ajaxResultsPreHook","meta":{"deprecated":{"text":"Since version `1.2.0`, see: {@link $.fn.ajaxSelectPicker.defaults#preprocessData}."}},"sort":3},{"name":"ajax","fullName":"$.fn.ajaxSelectPicker.defaults.ajax","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-ajax","meta":{"required":true},"sort":3},{"name":"minLength","fullName":"$.fn.ajaxSelectPicker.defaults.minLength","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-minLength","meta":{},"sort":3},{"name":"ajaxSearchUrl","fullName":"$.fn.ajaxSelectPicker.defaults.ajaxSearchUrl","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-ajaxSearchUrl","meta":{"deprecated":{"text":"Since version `1.2.0`, see: {@link $.fn.ajaxSelectPicker.defaults#ajax}."}},"sort":3},{"name":"bindEvent","fullName":"$.fn.ajaxSelectPicker.defaults.bindEvent","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-bindEvent","meta":{},"sort":3},{"name":"cache","fullName":"$.fn.ajaxSelectPicker.defaults.cache","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-cache","meta":{},"sort":3},{"name":"clearOnEmpty","fullName":"$.fn.ajaxSelectPicker.defaults.clearOnEmpty","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-clearOnEmpty","meta":{},"sort":3},{"name":"clearOnError","fullName":"$.fn.ajaxSelectPicker.defaults.clearOnError","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-clearOnError","meta":{},"sort":3},{"name":"debug","fullName":"$.fn.ajaxSelectPicker.defaults.debug","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-debug","meta":{"deprecated":{"text":"Since version `1.2.0`, see: {@link $.fn.ajaxSelectPicker.defaults#log}."}},"sort":3},{"name":"emptyRequest","fullName":"$.fn.ajaxSelectPicker.defaults.emptyRequest","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-emptyRequest","meta":{},"sort":3},{"name":"ignoredKeys","fullName":"$.fn.ajaxSelectPicker.defaults.ignoredKeys","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-ignoredKeys","meta":{},"sort":3},{"name":"langCode","fullName":"$.fn.ajaxSelectPicker.defaults.langCode","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-langCode","meta":{},"sort":3},{"name":"locale","fullName":"$.fn.ajaxSelectPicker.defaults.locale","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-locale","meta":{},"sort":3},{"name":"log","fullName":"$.fn.ajaxSelectPicker.defaults.log","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-log","meta":{},"sort":3},{"name":"mixWithCurrents","fullName":"$.fn.ajaxSelectPicker.defaults.mixWithCurrents","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-mixWithCurrents","meta":{"deprecated":{"text":"Since version `1.2.0`, see: {@link $.fn.ajaxSelectPicker.defaults#preserveSelected}."}},"sort":3},{"name":"placeHolderOption","fullName":"$.fn.ajaxSelectPicker.defaults.placeHolderOption","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-placeHolderOption","meta":{"deprecated":{"text":"Since version `1.2.0`, see: {@link $.fn.ajaxSelectPicker.locale#emptyTitle}."}},"sort":3},{"name":"preprocessData","fullName":"$.fn.ajaxSelectPicker.defaults.preprocessData","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-preprocessData","meta":{},"sort":3},{"name":"preserveSelected","fullName":"$.fn.ajaxSelectPicker.defaults.preserveSelected","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-preserveSelected","meta":{},"sort":3},{"name":"preserveSelectedPosition","fullName":"$.fn.ajaxSelectPicker.defaults.preserveSelectedPosition","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-preserveSelectedPosition","meta":{},"sort":3},{"name":"processData","fullName":"$.fn.ajaxSelectPicker.defaults.processData","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-processData","meta":{},"sort":3},{"name":"requestDelay","fullName":"$.fn.ajaxSelectPicker.defaults.requestDelay","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-requestDelay","meta":{},"sort":3},{"name":"restoreOnError","fullName":"$.fn.ajaxSelectPicker.defaults.restoreOnError","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-restoreOnError","meta":{},"sort":3},{"name":"templates","fullName":"$.fn.ajaxSelectPicker.defaults.templates","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-templates","meta":{},"sort":3},{"name":"locale","fullName":"$.fn.ajaxSelectPicker.locale","icon":"icon-class","url":"#!/api/$.fn.ajaxSelectPicker.locale","meta":{},"sort":1},{"name":"currentlySelected","fullName":"$.fn.ajaxSelectPicker.locale.currentlySelected","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.locale-cfg-currentlySelected","meta":{},"sort":3},{"name":"emptyTitle","fullName":"$.fn.ajaxSelectPicker.locale.emptyTitle","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.locale-cfg-emptyTitle","meta":{},"sort":3},{"name":"errorText","fullName":"$.fn.ajaxSelectPicker.locale.errorText","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.locale-cfg-errorText","meta":{},"sort":3},{"name":"searchPlaceholder","fullName":"$.fn.ajaxSelectPicker.locale.searchPlaceholder","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.locale-cfg-searchPlaceholder","meta":{},"sort":3},{"name":"statusInitialized","fullName":"$.fn.ajaxSelectPicker.locale.statusInitialized","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.locale-cfg-statusInitialized","meta":{},"sort":3},{"name":"statusNoResults","fullName":"$.fn.ajaxSelectPicker.locale.statusNoResults","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.locale-cfg-statusNoResults","meta":{},"sort":3},{"name":"statusSearching","fullName":"$.fn.ajaxSelectPicker.locale.statusSearching","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.locale-cfg-statusSearching","meta":{},"sort":3},{"name":"statusToShort","fullName":"$.fn.ajaxSelectPicker.locale.statusToShort","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.locale-cfg-statusToShort","meta":{},"sort":3}],"guideSearch":{},"tests":false,"signatures":[{"long":"abstract","short":"ABS","tagname":"abstract"},{"long":"chainable","short":">","tagname":"chainable"},{"long":"deprecated","short":"DEP","tagname":"deprecated"},{"long":"experimental","short":"EXP","tagname":"experimental"},{"long":"★","short":"★","tagname":"new"},{"long":"preventable","short":"PREV","tagname":"preventable"},{"long":"private","short":"PRI","tagname":"private"},{"long":"protected","short":"PRO","tagname":"protected"},{"long":"readonly","short":"R O","tagname":"readonly"},{"long":"removed","short":"REM","tagname":"removed"},{"long":"required","short":"REQ","tagname":"required"},{"long":"static","short":"STA","tagname":"static"},{"long":"template","short":"TMP","tagname":"template"}],"memberTypes":[{"title":"Config options","toolbar_title":"Configs","position":1,"icon":"/var/lib/gems/1.9.1/gems/jsduck-5.3.4/lib/jsduck/tag/icons/cfg.png","subsections":[{"title":"Required config options","filter":{"required":true}},{"title":"Optional config options","filter":{"required":false},"default":true}],"name":"cfg"},{"title":"Properties","position":2,"icon":"/var/lib/gems/1.9.1/gems/jsduck-5.3.4/lib/jsduck/tag/icons/property.png","subsections":[{"title":"Instance properties","filter":{"static":false},"default":true},{"title":"Static properties","filter":{"static":true}}],"name":"property"},{"title":"Methods","position":3,"icon":"/var/lib/gems/1.9.1/gems/jsduck-5.3.4/lib/jsduck/tag/icons/method.png","subsections":[{"title":"Instance methods","filter":{"static":false},"default":true},{"title":"Static methods","filter":{"static":true}}],"name":"method"},{"title":"Events","position":4,"icon":"/var/lib/gems/1.9.1/gems/jsduck-5.3.4/lib/jsduck/tag/icons/event.png","name":"event"},{"title":"CSS Variables","toolbar_title":"CSS Vars","position":5,"icon":"/var/lib/gems/1.9.1/gems/jsduck-5.3.4/lib/jsduck/tag/icons/css_var.png","name":"css_var"},{"title":"CSS Mixins","position":6,"icon":"/var/lib/gems/1.9.1/gems/jsduck-5.3.4/lib/jsduck/tag/icons/css_mixin.png","name":"css_mixin"}],"localStorageDb":"docs","showPrintButton":false,"touchExamplesUi":false,"source":false,"commentsUrl":null,"commentsDomain":null,"message":""}}; diff --git a/api-docs/data-8405c1216eacb56883f5df43aeebe5e3.js b/api-docs/data-8405c1216eacb56883f5df43aeebe5e3.js deleted file mode 100644 index a85fe22..0000000 --- a/api-docs/data-8405c1216eacb56883f5df43aeebe5e3.js +++ /dev/null @@ -1 +0,0 @@ -Docs = {"data":{"classes":[{"name":"AjaxBootstrapSelect","extends":null,"private":null,"icon":"icon-class"},{"name":"AjaxBootstrapSelectList","extends":null,"private":null,"icon":"icon-class"},{"name":"AjaxBootstrapSelectRequest","extends":null,"private":null,"icon":"icon-class"},{"name":"$.fn.ajaxSelectPicker","extends":null,"private":null,"icon":"icon-class"},{"name":"$.fn.ajaxSelectPicker.defaults","extends":null,"private":null,"icon":"icon-class"},{"name":"$.fn.ajaxSelectPicker.locale","extends":null,"private":null,"icon":"icon-class"}],"guides":[],"videos":[],"examples":[],"search":[{"name":"AjaxBootstrapSelect","fullName":"AjaxBootstrapSelect","icon":"icon-class","url":"#!/api/AjaxBootstrapSelect","meta":{},"sort":1},{"name":"$element","fullName":"AjaxBootstrapSelect.$element","icon":"icon-property","url":"#!/api/AjaxBootstrapSelect-property-S-element","meta":{},"sort":3},{"name":"options","fullName":"AjaxBootstrapSelect.options","icon":"icon-property","url":"#!/api/AjaxBootstrapSelect-property-options","meta":{},"sort":3},{"name":"LOG_ERROR","fullName":"AjaxBootstrapSelect.LOG_ERROR","icon":"icon-property","url":"#!/api/AjaxBootstrapSelect-property-LOG_ERROR","meta":{},"sort":3},{"name":"LOG_WARNING","fullName":"AjaxBootstrapSelect.LOG_WARNING","icon":"icon-property","url":"#!/api/AjaxBootstrapSelect-property-LOG_WARNING","meta":{},"sort":3},{"name":"LOG_INFO","fullName":"AjaxBootstrapSelect.LOG_INFO","icon":"icon-property","url":"#!/api/AjaxBootstrapSelect-property-LOG_INFO","meta":{},"sort":3},{"name":"LOG_DEBUG","fullName":"AjaxBootstrapSelect.LOG_DEBUG","icon":"icon-property","url":"#!/api/AjaxBootstrapSelect-property-LOG_DEBUG","meta":{},"sort":3},{"name":"lastRequest","fullName":"AjaxBootstrapSelect.lastRequest","icon":"icon-property","url":"#!/api/AjaxBootstrapSelect-property-lastRequest","meta":{},"sort":3},{"name":"previousQuery","fullName":"AjaxBootstrapSelect.previousQuery","icon":"icon-property","url":"#!/api/AjaxBootstrapSelect-property-previousQuery","meta":{},"sort":3},{"name":"query","fullName":"AjaxBootstrapSelect.query","icon":"icon-property","url":"#!/api/AjaxBootstrapSelect-property-query","meta":{},"sort":3},{"name":"request","fullName":"AjaxBootstrapSelect.request","icon":"icon-property","url":"#!/api/AjaxBootstrapSelect-property-request","meta":{},"sort":3},{"name":"selectpicker","fullName":"AjaxBootstrapSelect.selectpicker","icon":"icon-property","url":"#!/api/AjaxBootstrapSelect-property-selectpicker","meta":{},"sort":3},{"name":"list","fullName":"AjaxBootstrapSelect.list","icon":"icon-property","url":"#!/api/AjaxBootstrapSelect-property-list","meta":{},"sort":3},{"name":"init","fullName":"AjaxBootstrapSelect.init","icon":"icon-method","url":"#!/api/AjaxBootstrapSelect-method-init","meta":{},"sort":3},{"name":"log","fullName":"AjaxBootstrapSelect.log","icon":"icon-method","url":"#!/api/AjaxBootstrapSelect-method-log","meta":{},"sort":3},{"name":"replaceValue","fullName":"AjaxBootstrapSelect.replaceValue","icon":"icon-method","url":"#!/api/AjaxBootstrapSelect-method-replaceValue","meta":{},"sort":3},{"name":"t","fullName":"AjaxBootstrapSelect.t","icon":"icon-method","url":"#!/api/AjaxBootstrapSelect-method-t","meta":{},"sort":3},{"name":"AjaxBootstrapSelectList","fullName":"AjaxBootstrapSelectList","icon":"icon-class","url":"#!/api/AjaxBootstrapSelectList","meta":{},"sort":1},{"name":"$status","fullName":"AjaxBootstrapSelectList.$status","icon":"icon-property","url":"#!/api/AjaxBootstrapSelectList-property-S-status","meta":{},"sort":3},{"name":"cache","fullName":"AjaxBootstrapSelectList.cache","icon":"icon-property","url":"#!/api/AjaxBootstrapSelectList-property-cache","meta":{},"sort":3},{"name":"plugin","fullName":"AjaxBootstrapSelectList.plugin","icon":"icon-property","url":"#!/api/AjaxBootstrapSelectList-property-plugin","meta":{},"sort":3},{"name":"selected","fullName":"AjaxBootstrapSelectList.selected","icon":"icon-property","url":"#!/api/AjaxBootstrapSelectList-property-selected","meta":{},"sort":3},{"name":"title","fullName":"AjaxBootstrapSelectList.title","icon":"icon-property","url":"#!/api/AjaxBootstrapSelectList-property-title","meta":{},"sort":3},{"name":"build","fullName":"AjaxBootstrapSelectList.build","icon":"icon-method","url":"#!/api/AjaxBootstrapSelectList-method-build","meta":{},"sort":3},{"name":"cacheGet","fullName":"AjaxBootstrapSelectList.cacheGet","icon":"icon-method","url":"#!/api/AjaxBootstrapSelectList-method-cacheGet","meta":{},"sort":3},{"name":"cacheSet","fullName":"AjaxBootstrapSelectList.cacheSet","icon":"icon-method","url":"#!/api/AjaxBootstrapSelectList-method-cacheSet","meta":{},"sort":3},{"name":"destroy","fullName":"AjaxBootstrapSelectList.destroy","icon":"icon-method","url":"#!/api/AjaxBootstrapSelectList-method-destroy","meta":{},"sort":3},{"name":"refresh","fullName":"AjaxBootstrapSelectList.refresh","icon":"icon-method","url":"#!/api/AjaxBootstrapSelectList-method-refresh","meta":{},"sort":3},{"name":"replaceOptions","fullName":"AjaxBootstrapSelectList.replaceOptions","icon":"icon-method","url":"#!/api/AjaxBootstrapSelectList-method-replaceOptions","meta":{},"sort":3},{"name":"restore","fullName":"AjaxBootstrapSelectList.restore","icon":"icon-method","url":"#!/api/AjaxBootstrapSelectList-method-restore","meta":{},"sort":3},{"name":"restoreTitle","fullName":"AjaxBootstrapSelectList.restoreTitle","icon":"icon-method","url":"#!/api/AjaxBootstrapSelectList-method-restoreTitle","meta":{},"sort":3},{"name":"setTitle","fullName":"AjaxBootstrapSelectList.setTitle","icon":"icon-method","url":"#!/api/AjaxBootstrapSelectList-method-setTitle","meta":{},"sort":3},{"name":"setStatus","fullName":"AjaxBootstrapSelectList.setStatus","icon":"icon-method","url":"#!/api/AjaxBootstrapSelectList-method-setStatus","meta":{},"sort":3},{"name":"AjaxBootstrapSelectRequest","fullName":"AjaxBootstrapSelectRequest","icon":"icon-class","url":"#!/api/AjaxBootstrapSelectRequest","meta":{},"sort":1},{"name":"beforeSend","fullName":"AjaxBootstrapSelectRequest.beforeSend","icon":"icon-event","url":"#!/api/AjaxBootstrapSelectRequest-event-beforeSend","meta":{},"sort":3},{"name":"complete","fullName":"AjaxBootstrapSelectRequest.complete","icon":"icon-event","url":"#!/api/AjaxBootstrapSelectRequest-event-complete","meta":{},"sort":3},{"name":"error","fullName":"AjaxBootstrapSelectRequest.error","icon":"icon-event","url":"#!/api/AjaxBootstrapSelectRequest-event-error","meta":{},"sort":3},{"name":"process","fullName":"AjaxBootstrapSelectRequest.process","icon":"icon-method","url":"#!/api/AjaxBootstrapSelectRequest-method-process","meta":{},"sort":3},{"name":"success","fullName":"AjaxBootstrapSelectRequest.success","icon":"icon-event","url":"#!/api/AjaxBootstrapSelectRequest-event-success","meta":{},"sort":3},{"name":"ajaxSelectPicker","fullName":"$.fn.ajaxSelectPicker","icon":"icon-class","url":"#!/api/$.fn.ajaxSelectPicker","meta":{"chainable":true},"sort":1},{"name":"locale","fullName":"$.fn.ajaxSelectPicker.locale","icon":"icon-property","url":"#!/api/$.fn.ajaxSelectPicker-property-locale","meta":{},"sort":3},{"name":"defaults","fullName":"$.fn.ajaxSelectPicker.defaults","icon":"icon-property","url":"#!/api/$.fn.ajaxSelectPicker-property-defaults","meta":{},"sort":3},{"name":"defaults","fullName":"$.fn.ajaxSelectPicker.defaults","icon":"icon-class","url":"#!/api/$.fn.ajaxSelectPicker.defaults","meta":{},"sort":1},{"name":"ajaxResultsPreHook","fullName":"$.fn.ajaxSelectPicker.defaults.ajaxResultsPreHook","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-ajaxResultsPreHook","meta":{"deprecated":{"text":"Since version `1.2.0`, see: {@link $.fn.ajaxSelectPicker.defaults#preprocessData}."}},"sort":3},{"name":"ajax","fullName":"$.fn.ajaxSelectPicker.defaults.ajax","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-ajax","meta":{"required":true},"sort":3},{"name":"ajaxSearchUrl","fullName":"$.fn.ajaxSelectPicker.defaults.ajaxSearchUrl","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-ajaxSearchUrl","meta":{"deprecated":{"text":"Since version `1.2.0`, see: {@link $.fn.ajaxSelectPicker.defaults#ajax}."}},"sort":3},{"name":"bindEvent","fullName":"$.fn.ajaxSelectPicker.defaults.bindEvent","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-bindEvent","meta":{},"sort":3},{"name":"cache","fullName":"$.fn.ajaxSelectPicker.defaults.cache","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-cache","meta":{},"sort":3},{"name":"clearOnEmpty","fullName":"$.fn.ajaxSelectPicker.defaults.clearOnEmpty","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-clearOnEmpty","meta":{},"sort":3},{"name":"clearOnError","fullName":"$.fn.ajaxSelectPicker.defaults.clearOnError","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-clearOnError","meta":{},"sort":3},{"name":"debug","fullName":"$.fn.ajaxSelectPicker.defaults.debug","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-debug","meta":{"deprecated":{"text":"Since version `1.2.0`, see: {@link $.fn.ajaxSelectPicker.defaults#log}."}},"sort":3},{"name":"emptyRequest","fullName":"$.fn.ajaxSelectPicker.defaults.emptyRequest","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-emptyRequest","meta":{},"sort":3},{"name":"ignoredKeys","fullName":"$.fn.ajaxSelectPicker.defaults.ignoredKeys","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-ignoredKeys","meta":{},"sort":3},{"name":"langCode","fullName":"$.fn.ajaxSelectPicker.defaults.langCode","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-langCode","meta":{},"sort":3},{"name":"locale","fullName":"$.fn.ajaxSelectPicker.defaults.locale","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-locale","meta":{},"sort":3},{"name":"log","fullName":"$.fn.ajaxSelectPicker.defaults.log","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-log","meta":{},"sort":3},{"name":"mixWithCurrents","fullName":"$.fn.ajaxSelectPicker.defaults.mixWithCurrents","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-mixWithCurrents","meta":{"deprecated":{"text":"Since version `1.2.0`, see: {@link $.fn.ajaxSelectPicker.defaults#preserveSelected}."}},"sort":3},{"name":"placeHolderOption","fullName":"$.fn.ajaxSelectPicker.defaults.placeHolderOption","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-placeHolderOption","meta":{"deprecated":{"text":"Since version `1.2.0`, see: {@link $.fn.ajaxSelectPicker.locale#emptyTitle}."}},"sort":3},{"name":"preprocessData","fullName":"$.fn.ajaxSelectPicker.defaults.preprocessData","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-preprocessData","meta":{},"sort":3},{"name":"preserveSelected","fullName":"$.fn.ajaxSelectPicker.defaults.preserveSelected","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-preserveSelected","meta":{},"sort":3},{"name":"preserveSelectedPosition","fullName":"$.fn.ajaxSelectPicker.defaults.preserveSelectedPosition","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-preserveSelectedPosition","meta":{},"sort":3},{"name":"processData","fullName":"$.fn.ajaxSelectPicker.defaults.processData","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-processData","meta":{},"sort":3},{"name":"requestDelay","fullName":"$.fn.ajaxSelectPicker.defaults.requestDelay","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-requestDelay","meta":{},"sort":3},{"name":"restoreOnError","fullName":"$.fn.ajaxSelectPicker.defaults.restoreOnError","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-restoreOnError","meta":{},"sort":3},{"name":"templates","fullName":"$.fn.ajaxSelectPicker.defaults.templates","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.defaults-cfg-templates","meta":{},"sort":3},{"name":"locale","fullName":"$.fn.ajaxSelectPicker.locale","icon":"icon-class","url":"#!/api/$.fn.ajaxSelectPicker.locale","meta":{},"sort":1},{"name":"currentlySelected","fullName":"$.fn.ajaxSelectPicker.locale.currentlySelected","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.locale-cfg-currentlySelected","meta":{},"sort":3},{"name":"emptyTitle","fullName":"$.fn.ajaxSelectPicker.locale.emptyTitle","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.locale-cfg-emptyTitle","meta":{},"sort":3},{"name":"errorText","fullName":"$.fn.ajaxSelectPicker.locale.errorText","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.locale-cfg-errorText","meta":{},"sort":3},{"name":"searchPlaceholder","fullName":"$.fn.ajaxSelectPicker.locale.searchPlaceholder","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.locale-cfg-searchPlaceholder","meta":{},"sort":3},{"name":"statusInitialized","fullName":"$.fn.ajaxSelectPicker.locale.statusInitialized","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.locale-cfg-statusInitialized","meta":{},"sort":3},{"name":"statusNoResults","fullName":"$.fn.ajaxSelectPicker.locale.statusNoResults","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.locale-cfg-statusNoResults","meta":{},"sort":3},{"name":"statusSearching","fullName":"$.fn.ajaxSelectPicker.locale.statusSearching","icon":"icon-cfg","url":"#!/api/$.fn.ajaxSelectPicker.locale-cfg-statusSearching","meta":{},"sort":3}],"guideSearch":{},"tests":false,"signatures":[{"long":"abstract","short":"ABS","tagname":"abstract"},{"long":"chainable","short":">","tagname":"chainable"},{"long":"deprecated","short":"DEP","tagname":"deprecated"},{"long":"experimental","short":"EXP","tagname":"experimental"},{"long":"★","short":"★","tagname":"new"},{"long":"preventable","short":"PREV","tagname":"preventable"},{"long":"private","short":"PRI","tagname":"private"},{"long":"protected","short":"PRO","tagname":"protected"},{"long":"readonly","short":"R O","tagname":"readonly"},{"long":"removed","short":"REM","tagname":"removed"},{"long":"required","short":"REQ","tagname":"required"},{"long":"static","short":"STA","tagname":"static"},{"long":"template","short":"TMP","tagname":"template"}],"memberTypes":[{"title":"Config options","toolbar_title":"Configs","position":1,"icon":"/Library/Ruby/Gems/2.0.0/gems/jsduck-5.3.4/lib/jsduck/tag/icons/cfg.png","subsections":[{"title":"Required config options","filter":{"required":true}},{"title":"Optional config options","filter":{"required":false},"default":true}],"name":"cfg"},{"title":"Properties","position":2,"icon":"/Library/Ruby/Gems/2.0.0/gems/jsduck-5.3.4/lib/jsduck/tag/icons/property.png","subsections":[{"title":"Instance properties","filter":{"static":false},"default":true},{"title":"Static properties","filter":{"static":true}}],"name":"property"},{"title":"Methods","position":3,"icon":"/Library/Ruby/Gems/2.0.0/gems/jsduck-5.3.4/lib/jsduck/tag/icons/method.png","subsections":[{"title":"Instance methods","filter":{"static":false},"default":true},{"title":"Static methods","filter":{"static":true}}],"name":"method"},{"title":"Events","position":4,"icon":"/Library/Ruby/Gems/2.0.0/gems/jsduck-5.3.4/lib/jsduck/tag/icons/event.png","name":"event"},{"title":"CSS Variables","toolbar_title":"CSS Vars","position":5,"icon":"/Library/Ruby/Gems/2.0.0/gems/jsduck-5.3.4/lib/jsduck/tag/icons/css_var.png","name":"css_var"},{"title":"CSS Mixins","position":6,"icon":"/Library/Ruby/Gems/2.0.0/gems/jsduck-5.3.4/lib/jsduck/tag/icons/css_mixin.png","name":"css_mixin"}],"localStorageDb":"docs","showPrintButton":false,"touchExamplesUi":false,"source":false,"commentsUrl":null,"commentsDomain":null,"message":""}}; diff --git a/api-docs/index.html b/api-docs/index.html index c8bc828..93345c6 100644 --- a/api-docs/index.html +++ b/api-docs/index.html @@ -13,7 +13,7 @@ - + @@ -53,7 +53,7 @@

Classes

- + diff --git a/api-docs/output/$.fn.ajaxSelectPicker.defaults.js b/api-docs/output/$.fn.ajaxSelectPicker.defaults.js index 5e9aacb..866016c 100644 --- a/api-docs/output/$.fn.ajaxSelectPicker.defaults.js +++ b/api-docs/output/$.fn.ajaxSelectPicker.defaults.js @@ -1 +1 @@ -Ext.data.JsonP.$_fn_ajaxSelectPicker_defaults({"tagname":"class","name":"$.fn.ajaxSelectPicker.defaults","alternateClassNames":[],"members":[{"name":"ajax","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-ajax","meta":{"required":true}},{"name":"ajaxResultsPreHook","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-ajaxResultsPreHook","meta":{"deprecated":{"text":"

Since version 1.2.0, see: preprocessData.

\n"}}},{"name":"ajaxSearchUrl","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-ajaxSearchUrl","meta":{"deprecated":{"text":"

Since version 1.2.0, see: ajax.

\n"}}},{"name":"bindEvent","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-bindEvent","meta":{}},{"name":"cache","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-cache","meta":{}},{"name":"clearOnEmpty","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-clearOnEmpty","meta":{}},{"name":"clearOnError","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-clearOnError","meta":{}},{"name":"debug","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-debug","meta":{"deprecated":{"text":"

Since version 1.2.0, see: log.

\n"}}},{"name":"emptyRequest","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-emptyRequest","meta":{}},{"name":"ignoredKeys","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-ignoredKeys","meta":{}},{"name":"langCode","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-langCode","meta":{}},{"name":"locale","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-locale","meta":{}},{"name":"log","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-log","meta":{}},{"name":"mixWithCurrents","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-mixWithCurrents","meta":{"deprecated":{"text":"

Since version 1.2.0, see: preserveSelected.

\n"}}},{"name":"placeHolderOption","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-placeHolderOption","meta":{"deprecated":{"text":"

Since version 1.2.0, see: $.fn.ajaxSelectPicker.locale.emptyTitle.

\n"}}},{"name":"preprocessData","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-preprocessData","meta":{}},{"name":"preserveSelected","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-preserveSelected","meta":{}},{"name":"preserveSelectedPosition","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-preserveSelectedPosition","meta":{}},{"name":"processData","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-processData","meta":{}},{"name":"requestDelay","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-requestDelay","meta":{}},{"name":"restoreOnError","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-restoreOnError","meta":{}},{"name":"templates","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-templates","meta":{}}],"aliases":{},"files":[{"filename":"","href":""}],"component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"
\n

Config options

Defined By

Required config options

$.fn.ajaxSelectPicker.defaults
: Objectrequired
The options to pass to the jQuery AJAX request. ...

The options to pass to the jQuery AJAX request.

\n\n
{\n    url: null, // Required.\n    type: 'POST',\n    dataType: 'json',\n    data: {\n        q: '{{{q}}}'\n    }\n}\n
\n

Defaults to: {url: null, type: 'POST', dataType: 'json', data: {q: '{{{q}}}'}}

Defined By

Optional config options

$.fn.ajaxSelectPicker.defaults
: Functiondeprecated
...
\n
\n

This cfg has been deprected

\n

Since version 1.2.0, see: preprocessData.

\n\n
\n
$.fn.ajaxSelectPicker.defaults
: Stringdeprecated
...
\n
\n

This cfg has been deprected

\n

Since version 1.2.0, see: ajax.

\n\n
\n
$.fn.ajaxSelectPicker.defaults
: String
The event to bind on the search input element to fire a request. ...

The event to bind on the search input element to fire a request.

\n

Defaults to: "keyup"

$.fn.ajaxSelectPicker.defaults
: Boolean
Cache previous requests. ...

Cache previous requests. If enabled, the \"enter\" key (13) is enabled to\nallow users to force a refresh of the request.

\n

Defaults to: true

$.fn.ajaxSelectPicker.defaults
: Boolean
Clears the previous results when the search input has no value. ...

Clears the previous results when the search input has no value.

\n

Defaults to: true

$.fn.ajaxSelectPicker.defaults
: Boolean
Clears the select list when the request returned with an error. ...

Clears the select list when the request returned with an error.

\n

Defaults to: true

$.fn.ajaxSelectPicker.defaults
: Booleandeprecated
...
\n
\n

This cfg has been deprected

\n

Since version 1.2.0, see: log.

\n\n
\n
$.fn.ajaxSelectPicker.defaults
: Boolean
Invoke a request for empty search values. ...

Invoke a request for empty search values.

\n

Defaults to: false

$.fn.ajaxSelectPicker.defaults
: Object
Key codes to ignore so a request is not invoked with bindEvent. ...

Key codes to ignore so a request is not invoked with bindEvent. The\n\"enter\" key (13) will always be dynamically added to any list provided\nunless the \"cache\" option above is set to \"true\".

\n\n
{\n    9: \"tab\",\n    16: \"shift\",\n    17: \"ctrl\",\n    18: \"alt\",\n    27: \"esc\",\n    37: \"left\",\n    39: \"right\",\n    38: \"up\",\n    40: \"down\",\n    91: \"meta\"\n}\n
\n

Defaults to: {9: "tab", 16: "shift", 17: "ctrl", 18: "alt", 27: "esc", 37: "left", 39: "right", 38: "up", 40: "down", 91: "meta"}

$.fn.ajaxSelectPicker.defaults
: String
The language code to use for string translation. ...

The language code to use for string translation. By default this value\nis determined by the browser, however it is not entirely reliable. If\nyou encounter inconsistencies, you may need to manually set this option.

\n

Defaults to: null

$.fn.ajaxSelectPicker.defaults
: Object
Provide specific overrides for locale string translations. ...

Provide specific overrides for locale string translations. Values\nset here will cause the plugin to completely ignore defined locale string\ntranslations provided by the set language code. This is useful when\nneeding to change a single value or when being used in a system that\nprovides its own translations, like a CMS.

\n\n
locale: {\n    searchPlaceholder: Drupal.t('Find...')\n}\n
\n

Defaults to: null

$.fn.ajaxSelectPicker.defaults
: String|Number|Number
Determines the amount of logging that is displayed:\n\n\n0, false: Display no information from the plugin. ...

Determines the amount of logging that is displayed:

\n\n
    \n
  • 0, false: Display no information from the plugin.
  • \n
  • 1, 'error': Fatal errors that prevent the plugin from working.
  • \n
  • 2, 'warn': Warnings that may impact the display of request data, but does not prevent the plugin from functioning.
  • \n
  • 3, 'info': Provides additional information, generally regarding the from request data and callbacks.
  • \n
  • 4, true, 'debug': Display all possible information. This will likely be highly verbose and is only recommended for development purposes or tracing an error with a request.
  • \n
\n\n

Defaults to: 'error'

$.fn.ajaxSelectPicker.defaults
: Booleandeprecated
...
\n
\n

This cfg has been deprected

\n

Since version 1.2.0, see: preserveSelected.

\n\n
\n
$.fn.ajaxSelectPicker.defaults
: Objectdeprecated
...
\n
\n

This cfg has been deprected

\n

Since version 1.2.0, see: $.fn.ajaxSelectPicker.locale.emptyTitle.

\n\n
\n
$.fn.ajaxSelectPicker.defaults
: Function|null
Process the raw data returned from a request. ...

Process the raw data returned from a request.

\n\n

The following arguments are passed to this callback:

\n\n
    \n
  • data - Array The raw data returned from the request, passed by reference.
  • \n
\n\n\n

This callback must return one of the following:

\n\n
    \n
  • Array - A new array of items. This will replace the passed data.
  • \n
  • undefined|null|false - Stops the callback and will use whatever modifications have been made to data.
  • \n
\n\n\n
function (data) {\n    var new = [], old = [], other = [];\n    for (var i = 0; i < data.length; i++) {\n        // Add items flagged as \"new\" to the correct array.\n        if (data[i].new) {\n            new.push(data[i]);\n        }\n        // Add items flagged as \"old\" to the correct array.\n        else if (data[i].old) {\n            old.push(data[i]);\n        }\n        // Something out of the ordinary happened, put these last.\n        else {\n            other.push(data[i]);\n        }\n    }\n    // Sort the data according to the order of these arrays.\n    return [].concat(new, old, other).\n}\n
\n

Defaults to: function(){}

$.fn.ajaxSelectPicker.defaults
: Boolean
Preserve selected items(s) between requests. ...

Preserve selected items(s) between requests. When enabled, they will be\nplaced in an <optgroup> with the label Currently Selected. Disable\nthis option if you send your currently selected items along with your\nrequest and let the server handle this responsibility.

\n

Defaults to: true

$.fn.ajaxSelectPicker.defaults
: String
Place the currently selected options 'before' or 'after' the options\nreturned from the request. ...

Place the currently selected options 'before' or 'after' the options\nreturned from the request.

\n

Defaults to: 'after'

$.fn.ajaxSelectPicker.defaults
: Function|null
Process the data returned after this plugin, but before the list is built. ...

Process the data returned after this plugin, but before the list is built.

\n

Defaults to: function(){}

$.fn.ajaxSelectPicker.defaults
: Number
The amount of time, in milliseconds, that must pass before a request\nis initiated. ...

The amount of time, in milliseconds, that must pass before a request\nis initiated. Each time the bindEvent is fired, it will cancel the\ncurrent delayed request and start a new one.

\n

Defaults to: 300

$.fn.ajaxSelectPicker.defaults
: Boolean
Restores the select list with the previous results when the request\nreturns with an error. ...

Restores the select list with the previous results when the request\nreturns with an error.

\n

Defaults to: false

$.fn.ajaxSelectPicker.defaults
: Object
The DOM templates used in this plugin. ...

The DOM templates used in this plugin.

\n\n
templates: {\n    // The placeholder for status updates pertaining to the list and request.\n    status: '<div class=\"status\"></div>',\n}\n
\n

Defaults to: {status: '<div class="status"></div>'}

","meta":{}}); \ No newline at end of file +Ext.data.JsonP.$_fn_ajaxSelectPicker_defaults({"tagname":"class","name":"$.fn.ajaxSelectPicker.defaults","alternateClassNames":[],"members":[{"name":"ajax","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-ajax","meta":{"required":true}},{"name":"ajaxResultsPreHook","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-ajaxResultsPreHook","meta":{"deprecated":{"text":"

Since version 1.2.0, see: preprocessData.

\n"}}},{"name":"ajaxSearchUrl","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-ajaxSearchUrl","meta":{"deprecated":{"text":"

Since version 1.2.0, see: ajax.

\n"}}},{"name":"bindEvent","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-bindEvent","meta":{}},{"name":"cache","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-cache","meta":{}},{"name":"clearOnEmpty","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-clearOnEmpty","meta":{}},{"name":"clearOnError","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-clearOnError","meta":{}},{"name":"debug","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-debug","meta":{"deprecated":{"text":"

Since version 1.2.0, see: log.

\n"}}},{"name":"emptyRequest","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-emptyRequest","meta":{}},{"name":"ignoredKeys","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-ignoredKeys","meta":{}},{"name":"langCode","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-langCode","meta":{}},{"name":"locale","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-locale","meta":{}},{"name":"log","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-log","meta":{}},{"name":"minLength","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-minLength","meta":{}},{"name":"mixWithCurrents","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-mixWithCurrents","meta":{"deprecated":{"text":"

Since version 1.2.0, see: preserveSelected.

\n"}}},{"name":"placeHolderOption","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-placeHolderOption","meta":{"deprecated":{"text":"

Since version 1.2.0, see: $.fn.ajaxSelectPicker.locale.emptyTitle.

\n"}}},{"name":"preprocessData","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-preprocessData","meta":{}},{"name":"preserveSelected","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-preserveSelected","meta":{}},{"name":"preserveSelectedPosition","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-preserveSelectedPosition","meta":{}},{"name":"processData","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-processData","meta":{}},{"name":"requestDelay","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-requestDelay","meta":{}},{"name":"restoreOnError","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-restoreOnError","meta":{}},{"name":"templates","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.defaults","id":"cfg-templates","meta":{}}],"aliases":{},"files":[{"filename":"","href":""}],"component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"
\n

Config options

Defined By

Required config options

$.fn.ajaxSelectPicker.defaults
: Objectrequired
The options to pass to the jQuery AJAX request. ...

The options to pass to the jQuery AJAX request.

\n\n
{\n    url: null, // Required.\n    type: 'POST',\n    dataType: 'json',\n    data: {\n        q: '{{{q}}}'\n    }\n}\n
\n

Defaults to: {url: null, type: 'POST', dataType: 'json', data: {q: '{{{q}}}'}}

Defined By

Optional config options

$.fn.ajaxSelectPicker.defaults
: Functiondeprecated
...
\n
\n

This cfg has been deprected

\n

Since version 1.2.0, see: preprocessData.

\n\n
\n
$.fn.ajaxSelectPicker.defaults
: Stringdeprecated
...
\n
\n

This cfg has been deprected

\n

Since version 1.2.0, see: ajax.

\n\n
\n
$.fn.ajaxSelectPicker.defaults
: String
The event to bind on the search input element to fire a request. ...

The event to bind on the search input element to fire a request.

\n

Defaults to: "keyup"

$.fn.ajaxSelectPicker.defaults
: Boolean
Cache previous requests. ...

Cache previous requests. If enabled, the \"enter\" key (13) is enabled to\nallow users to force a refresh of the request.

\n

Defaults to: true

$.fn.ajaxSelectPicker.defaults
: Boolean
Clears the previous results when the search input has no value. ...

Clears the previous results when the search input has no value.

\n

Defaults to: true

$.fn.ajaxSelectPicker.defaults
: Boolean
Clears the select list when the request returned with an error. ...

Clears the select list when the request returned with an error.

\n

Defaults to: true

$.fn.ajaxSelectPicker.defaults
: Booleandeprecated
...
\n
\n

This cfg has been deprected

\n

Since version 1.2.0, see: log.

\n\n
\n
$.fn.ajaxSelectPicker.defaults
: Boolean
Invoke a request for empty search values. ...

Invoke a request for empty search values.

\n

Defaults to: false

$.fn.ajaxSelectPicker.defaults
: Object
Key codes to ignore so a request is not invoked with bindEvent. ...

Key codes to ignore so a request is not invoked with bindEvent. The\n\"enter\" key (13) will always be dynamically added to any list provided\nunless the \"cache\" option above is set to \"true\".

\n\n
{\n    9: \"tab\",\n    16: \"shift\",\n    17: \"ctrl\",\n    18: \"alt\",\n    27: \"esc\",\n    37: \"left\",\n    39: \"right\",\n    38: \"up\",\n    40: \"down\",\n    91: \"meta\"\n}\n
\n

Defaults to: {9: "tab", 16: "shift", 17: "ctrl", 18: "alt", 27: "esc", 37: "left", 39: "right", 38: "up", 40: "down", 91: "meta"}

$.fn.ajaxSelectPicker.defaults
: String
The language code to use for string translation. ...

The language code to use for string translation. By default this value\nis determined by the browser, however it is not entirely reliable. If\nyou encounter inconsistencies, you may need to manually set this option.

\n

Defaults to: null

$.fn.ajaxSelectPicker.defaults
: Object
Provide specific overrides for locale string translations. ...

Provide specific overrides for locale string translations. Values\nset here will cause the plugin to completely ignore defined locale string\ntranslations provided by the set language code. This is useful when\nneeding to change a single value or when being used in a system that\nprovides its own translations, like a CMS.

\n\n
locale: {\n    searchPlaceholder: Drupal.t('Find...')\n}\n
\n

Defaults to: null

$.fn.ajaxSelectPicker.defaults
: String|Number|Number
Determines the amount of logging that is displayed:\n\n\n0, false: Display no information from the plugin. ...

Determines the amount of logging that is displayed:

\n\n
    \n
  • 0, false: Display no information from the plugin.
  • \n
  • 1, 'error': Fatal errors that prevent the plugin from working.
  • \n
  • 2, 'warn': Warnings that may impact the display of request data, but does not prevent the plugin from functioning.
  • \n
  • 3, 'info': Provides additional information, generally regarding the from request data and callbacks.
  • \n
  • 4, true, 'debug': Display all possible information. This will likely be highly verbose and is only recommended for development purposes or tracing an error with a request.
  • \n
\n\n

Defaults to: 'error'

$.fn.ajaxSelectPicker.defaults
: Integer
Invoke a request for empty search values. ...

Invoke a request for empty search values.

\n

Defaults to: 0

$.fn.ajaxSelectPicker.defaults
: Booleandeprecated
...
\n
\n

This cfg has been deprected

\n

Since version 1.2.0, see: preserveSelected.

\n\n
\n
$.fn.ajaxSelectPicker.defaults
: Objectdeprecated
...
\n
\n

This cfg has been deprected

\n

Since version 1.2.0, see: $.fn.ajaxSelectPicker.locale.emptyTitle.

\n\n
\n
$.fn.ajaxSelectPicker.defaults
: Function|null
Process the raw data returned from a request. ...

Process the raw data returned from a request.

\n\n

The following arguments are passed to this callback:

\n\n
    \n
  • data - Array The raw data returned from the request, passed by reference.
  • \n
\n\n\n

This callback must return one of the following:

\n\n
    \n
  • Array - A new array of items. This will replace the passed data.
  • \n
  • undefined|null|false - Stops the callback and will use whatever modifications have been made to data.
  • \n
\n\n\n
function (data) {\n    var new = [], old = [], other = [];\n    for (var i = 0; i < data.length; i++) {\n        // Add items flagged as \"new\" to the correct array.\n        if (data[i].new) {\n            new.push(data[i]);\n        }\n        // Add items flagged as \"old\" to the correct array.\n        else if (data[i].old) {\n            old.push(data[i]);\n        }\n        // Something out of the ordinary happened, put these last.\n        else {\n            other.push(data[i]);\n        }\n    }\n    // Sort the data according to the order of these arrays.\n    return [].concat(new, old, other).\n}\n
\n

Defaults to: function(){}

$.fn.ajaxSelectPicker.defaults
: Boolean
Preserve selected items(s) between requests. ...

Preserve selected items(s) between requests. When enabled, they will be\nplaced in an <optgroup> with the label Currently Selected. Disable\nthis option if you send your currently selected items along with your\nrequest and let the server handle this responsibility.

\n

Defaults to: true

$.fn.ajaxSelectPicker.defaults
: String
Place the currently selected options 'before' or 'after' the options\nreturned from the request. ...

Place the currently selected options 'before' or 'after' the options\nreturned from the request.

\n

Defaults to: 'after'

$.fn.ajaxSelectPicker.defaults
: Function|null
Process the data returned after this plugin, but before the list is built. ...

Process the data returned after this plugin, but before the list is built.

\n

Defaults to: function(){}

$.fn.ajaxSelectPicker.defaults
: Number
The amount of time, in milliseconds, that must pass before a request\nis initiated. ...

The amount of time, in milliseconds, that must pass before a request\nis initiated. Each time the bindEvent is fired, it will cancel the\ncurrent delayed request and start a new one.

\n

Defaults to: 300

$.fn.ajaxSelectPicker.defaults
: Boolean
Restores the select list with the previous results when the request\nreturns with an error. ...

Restores the select list with the previous results when the request\nreturns with an error.

\n

Defaults to: false

$.fn.ajaxSelectPicker.defaults
: Object
The DOM templates used in this plugin. ...

The DOM templates used in this plugin.

\n\n
templates: {\n    // The placeholder for status updates pertaining to the list and request.\n    status: '<div class=\"status\"></div>',\n}\n
\n

Defaults to: {status: '<div class="status"></div>'}

","meta":{}}); \ No newline at end of file diff --git a/api-docs/output/$.fn.ajaxSelectPicker.locale.js b/api-docs/output/$.fn.ajaxSelectPicker.locale.js index c7617c8..8da5c94 100644 --- a/api-docs/output/$.fn.ajaxSelectPicker.locale.js +++ b/api-docs/output/$.fn.ajaxSelectPicker.locale.js @@ -1 +1 @@ -Ext.data.JsonP.$_fn_ajaxSelectPicker_locale({"tagname":"class","name":"$.fn.ajaxSelectPicker.locale","alternateClassNames":[],"members":[{"name":"currentlySelected","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.locale","id":"cfg-currentlySelected","meta":{}},{"name":"emptyTitle","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.locale","id":"cfg-emptyTitle","meta":{}},{"name":"errorText","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.locale","id":"cfg-errorText","meta":{}},{"name":"searchPlaceholder","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.locale","id":"cfg-searchPlaceholder","meta":{}},{"name":"statusInitialized","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.locale","id":"cfg-statusInitialized","meta":{}},{"name":"statusNoResults","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.locale","id":"cfg-statusNoResults","meta":{}},{"name":"statusSearching","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.locale","id":"cfg-statusSearching","meta":{}}],"aliases":{},"files":[{"filename":"","href":""}],"component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"
\n
Defined By

Config options

$.fn.ajaxSelectPicker.locale
: String
The text to use for the label of the option group when currently selected options are preserved. ...

The text to use for the label of the option group when currently selected options are preserved.

\n

Defaults to: 'Currently Selected'

$.fn.ajaxSelectPicker.locale
: String
The text to use as the title for the select element when there are no items to display. ...

The text to use as the title for the select element when there are no items to display.

\n

Defaults to: 'Select and begin typing'

$.fn.ajaxSelectPicker.locale
: String
to retrieve results'\nThe text to use in the status container when a request returns with an error. ...

to retrieve results'\nThe text to use in the status container when a request returns with an error.

\n

Defaults to: ''Unable

$.fn.ajaxSelectPicker.locale
: String
The text to use for the search input placeholder attribute. ...

The text to use for the search input placeholder attribute.

\n

Defaults to: 'Search...'

$.fn.ajaxSelectPicker.locale
: String
The text used in the status container when it is initialized. ...

The text used in the status container when it is initialized.

\n

Defaults to: 'Start typing a search query'

$.fn.ajaxSelectPicker.locale
: String
The text used in the status container when the request returns no results. ...

The text used in the status container when the request returns no results.

\n

Defaults to: 'No Results'

$.fn.ajaxSelectPicker.locale
: String
The text to use in the status container when a request is being initiated. ...

The text to use in the status container when a request is being initiated.

\n

Defaults to: 'Searching...'

","meta":{}}); \ No newline at end of file +Ext.data.JsonP.$_fn_ajaxSelectPicker_locale({"tagname":"class","name":"$.fn.ajaxSelectPicker.locale","alternateClassNames":[],"members":[{"name":"currentlySelected","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.locale","id":"cfg-currentlySelected","meta":{}},{"name":"emptyTitle","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.locale","id":"cfg-emptyTitle","meta":{}},{"name":"errorText","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.locale","id":"cfg-errorText","meta":{}},{"name":"searchPlaceholder","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.locale","id":"cfg-searchPlaceholder","meta":{}},{"name":"statusInitialized","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.locale","id":"cfg-statusInitialized","meta":{}},{"name":"statusNoResults","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.locale","id":"cfg-statusNoResults","meta":{}},{"name":"statusSearching","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.locale","id":"cfg-statusSearching","meta":{}},{"name":"statusToShort","tagname":"cfg","owner":"$.fn.ajaxSelectPicker.locale","id":"cfg-statusToShort","meta":{}}],"aliases":{},"files":[{"filename":"","href":""}],"component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"
\n
Defined By

Config options

$.fn.ajaxSelectPicker.locale
: String
The text to use for the label of the option group when currently selected options are preserved. ...

The text to use for the label of the option group when currently selected options are preserved.

\n

Defaults to: 'Currently Selected'

$.fn.ajaxSelectPicker.locale
: String
The text to use as the title for the select element when there are no items to display. ...

The text to use as the title for the select element when there are no items to display.

\n

Defaults to: 'Select and begin typing'

$.fn.ajaxSelectPicker.locale
: String
to retrieve results'\nThe text to use in the status container when a request returns with an error. ...

to retrieve results'\nThe text to use in the status container when a request returns with an error.

\n

Defaults to: ''Unable

$.fn.ajaxSelectPicker.locale
: String
The text to use for the search input placeholder attribute. ...

The text to use for the search input placeholder attribute.

\n

Defaults to: 'Search...'

$.fn.ajaxSelectPicker.locale
: String
The text used in the status container when it is initialized. ...

The text used in the status container when it is initialized.

\n

Defaults to: 'Start typing a search query'

$.fn.ajaxSelectPicker.locale
: String
The text used in the status container when the request returns no results. ...

The text used in the status container when the request returns no results.

\n

Defaults to: 'No Results'

$.fn.ajaxSelectPicker.locale
: String
The text to use in the status container when a request is being initiated. ...

The text to use in the status container when a request is being initiated.

\n

Defaults to: 'Searching...'

$.fn.ajaxSelectPicker.locale
: String
The text used in the status container when the request returns no results. ...

The text used in the status container when the request returns no results.

\n

Defaults to: 'Please enter more characters'

","meta":{}}); \ No newline at end of file diff --git a/api-docs/output/AjaxBootstrapSelect.js b/api-docs/output/AjaxBootstrapSelect.js index 0b26978..e7e8d4c 100644 --- a/api-docs/output/AjaxBootstrapSelect.js +++ b/api-docs/output/AjaxBootstrapSelect.js @@ -1 +1 @@ -Ext.data.JsonP.AjaxBootstrapSelect({"tagname":"class","name":"AjaxBootstrapSelect","autodetected":{},"files":[{"filename":"AjaxBootstrapSelect.js","href":null}],"params":[{"tagname":"params","type":"jQuery|HTMLElement","name":"element","doc":"

The select element this plugin is to affect.

\n","html_type":"jQuery|HTMLElement"},{"tagname":"params","type":"Object","name":"options","default":"{}","optional":true,"doc":"

The options used to affect the desired functionality of this plugin.

\n","html_type":"Object"}],"return":{"type":"AjaxBootstrapSelect|null","name":"return","doc":"

A new instance of this class or null if unable to instantiate.

\n","properties":null,"html_type":"AjaxBootstrapSelect|null"},"members":[{"name":"$element","tagname":"property","owner":"AjaxBootstrapSelect","id":"property-S-element","meta":{}},{"name":"LOG_DEBUG","tagname":"property","owner":"AjaxBootstrapSelect","id":"property-LOG_DEBUG","meta":{}},{"name":"LOG_ERROR","tagname":"property","owner":"AjaxBootstrapSelect","id":"property-LOG_ERROR","meta":{}},{"name":"LOG_INFO","tagname":"property","owner":"AjaxBootstrapSelect","id":"property-LOG_INFO","meta":{}},{"name":"LOG_WARNING","tagname":"property","owner":"AjaxBootstrapSelect","id":"property-LOG_WARNING","meta":{}},{"name":"lastRequest","tagname":"property","owner":"AjaxBootstrapSelect","id":"property-lastRequest","meta":{}},{"name":"list","tagname":"property","owner":"AjaxBootstrapSelect","id":"property-list","meta":{}},{"name":"options","tagname":"property","owner":"AjaxBootstrapSelect","id":"property-options","meta":{}},{"name":"previousQuery","tagname":"property","owner":"AjaxBootstrapSelect","id":"property-previousQuery","meta":{}},{"name":"query","tagname":"property","owner":"AjaxBootstrapSelect","id":"property-query","meta":{}},{"name":"request","tagname":"property","owner":"AjaxBootstrapSelect","id":"property-request","meta":{}},{"name":"selectpicker","tagname":"property","owner":"AjaxBootstrapSelect","id":"property-selectpicker","meta":{}},{"name":"init","tagname":"method","owner":"AjaxBootstrapSelect","id":"method-init","meta":{}},{"name":"log","tagname":"method","owner":"AjaxBootstrapSelect","id":"method-log","meta":{}},{"name":"replaceValue","tagname":"method","owner":"AjaxBootstrapSelect","id":"method-replaceValue","meta":{}},{"name":"t","tagname":"method","owner":"AjaxBootstrapSelect","id":"method-t","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-AjaxBootstrapSelect","short_doc":" ...","component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"
\n

Parameters

Returns

Defined By

Properties

AjaxBootstrapSelect
: jQuery

The select element this plugin is being attached to.

\n

The select element this plugin is being attached to.

\n
AjaxBootstrapSelect
: Number

Used for logging debug messages.

\n

Used for logging debug messages.

\n
AjaxBootstrapSelect
: Number

Used for logging error messages.

\n

Used for logging error messages.

\n
AjaxBootstrapSelect
: Number

Used for logging informational messages.

\n

Used for logging informational messages.

\n
AjaxBootstrapSelect
: Number

Used for logging warning messages.

\n

Used for logging warning messages.

\n
AjaxBootstrapSelect
: jqXHR|Boolean
The jqXHR object of the last request, false if there was none. ...

The jqXHR object of the last request, false if there was none.

\n

Defaults to: false

AjaxBootstrapSelect
: AjaxBootstrapSelectList

The select list.

\n

The select list.

\n
AjaxBootstrapSelect
: Object

The merged default and passed options.

\n

The merged default and passed options.

\n
AjaxBootstrapSelect
: String
The previous query that was requested. ...

The previous query that was requested.

\n

Defaults to: ''

AjaxBootstrapSelect
: String
The current query being requested. ...

The current query being requested.

\n

Defaults to: ''

AjaxBootstrapSelect
: jqXHR|Boolean
The jqXHR object of the current request, false if there is none. ...

The jqXHR object of the current request, false if there is none.

\n

Defaults to: false

AjaxBootstrapSelect
: Selectpicker

Reference to the selectpicker instance.

\n

Reference to the selectpicker instance.

\n
Defined By

Methods

AjaxBootstrapSelect
( )
Initializes this plugin on a selectpicker instance. ...

Initializes this plugin on a selectpicker instance.

\n
AjaxBootstrapSelect
( type, message ) : void
Wrapper function for logging messages to window.console. ...

Wrapper function for logging messages to window.console.

\n

Parameters

Returns

  • void
    \n
AjaxBootstrapSelect
( obj, needle, value, [options] ) : void
Replaces an old value in an object or array with a new value. ...

Replaces an old value in an object or array with a new value.

\n

Parameters

  • obj : Object|Array

    The object (or array) to iterate over.

    \n
  • needle : *

    The value to search for.

    \n
  • value : *

    The value to replace with.

    \n
  • options : Object (optional)

    Additional options for restricting replacement:\n - recursive: {boolean} Whether or not to iterate over the entire\n object or array, defaults to true.\n - depth: {int} The number of level this method is to search\n down into child elements, defaults to false (no limit).\n - limit: {int} The number of times a replacement should happen,\n defaults to false (no limit).

    \n

Returns

  • void
    \n
AjaxBootstrapSelect
( key, [langCode] ) : Object
Generates a translated locale string for a given locale key. ...

Generates a translated locale string for a given locale key.

\n

Parameters

  • key : String

    The translation key to use.

    \n
  • langCode : String (optional)

    Overrides the currently set langCode option.

    \n

Returns

  • Object

    The translated string.

    \n
","meta":{}}); \ No newline at end of file +Ext.data.JsonP.AjaxBootstrapSelect({"tagname":"class","name":"AjaxBootstrapSelect","autodetected":{},"files":[{"filename":"AjaxBootstrapSelect.js","href":null}],"params":[{"tagname":"params","type":"jQuery|HTMLElement","name":"element","doc":"

The select element this plugin is to affect.

\n","html_type":"jQuery|HTMLElement"},{"tagname":"params","type":"Object","name":"options","default":"{}","optional":true,"doc":"

The options used to affect the desired functionality of this plugin.

\n","html_type":"Object"}],"return":{"type":"AjaxBootstrapSelect|null","name":"return","doc":"

A new instance of this class or null if unable to instantiate.

\n","properties":null,"html_type":"AjaxBootstrapSelect|null"},"members":[{"name":"$element","tagname":"property","owner":"AjaxBootstrapSelect","id":"property-S-element","meta":{}},{"name":"LOG_DEBUG","tagname":"property","owner":"AjaxBootstrapSelect","id":"property-LOG_DEBUG","meta":{}},{"name":"LOG_ERROR","tagname":"property","owner":"AjaxBootstrapSelect","id":"property-LOG_ERROR","meta":{}},{"name":"LOG_INFO","tagname":"property","owner":"AjaxBootstrapSelect","id":"property-LOG_INFO","meta":{}},{"name":"LOG_WARNING","tagname":"property","owner":"AjaxBootstrapSelect","id":"property-LOG_WARNING","meta":{}},{"name":"lastRequest","tagname":"property","owner":"AjaxBootstrapSelect","id":"property-lastRequest","meta":{}},{"name":"list","tagname":"property","owner":"AjaxBootstrapSelect","id":"property-list","meta":{}},{"name":"options","tagname":"property","owner":"AjaxBootstrapSelect","id":"property-options","meta":{}},{"name":"previousQuery","tagname":"property","owner":"AjaxBootstrapSelect","id":"property-previousQuery","meta":{}},{"name":"query","tagname":"property","owner":"AjaxBootstrapSelect","id":"property-query","meta":{}},{"name":"request","tagname":"property","owner":"AjaxBootstrapSelect","id":"property-request","meta":{}},{"name":"selectpicker","tagname":"property","owner":"AjaxBootstrapSelect","id":"property-selectpicker","meta":{}},{"name":"init","tagname":"method","owner":"AjaxBootstrapSelect","id":"method-init","meta":{}},{"name":"log","tagname":"method","owner":"AjaxBootstrapSelect","id":"method-log","meta":{}},{"name":"replaceValue","tagname":"method","owner":"AjaxBootstrapSelect","id":"method-replaceValue","meta":{}},{"name":"t","tagname":"method","owner":"AjaxBootstrapSelect","id":"method-t","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-AjaxBootstrapSelect","short_doc":" ...","component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"
\n

Parameters

Returns

Defined By

Properties

AjaxBootstrapSelect
: jQuery

The select element this plugin is being attached to.

\n

The select element this plugin is being attached to.

\n
AjaxBootstrapSelect
: Number

Used for logging debug messages.

\n

Used for logging debug messages.

\n
AjaxBootstrapSelect
: Number

Used for logging error messages.

\n

Used for logging error messages.

\n
AjaxBootstrapSelect
: Number

Used for logging informational messages.

\n

Used for logging informational messages.

\n
AjaxBootstrapSelect
: Number

Used for logging warning messages.

\n

Used for logging warning messages.

\n
AjaxBootstrapSelect
: jqXHR|Boolean
The jqXHR object of the last request, false if there was none. ...

The jqXHR object of the last request, false if there was none.

\n

Defaults to: false

AjaxBootstrapSelect
: AjaxBootstrapSelectList

The select list.

\n

The select list.

\n
AjaxBootstrapSelect
: Object

The merged default and passed options.

\n

The merged default and passed options.

\n
AjaxBootstrapSelect
: String
The previous query that was requested. ...

The previous query that was requested.

\n

Defaults to: ''

AjaxBootstrapSelect
: String
The current query being requested. ...

The current query being requested.

\n

Defaults to: ''

AjaxBootstrapSelect
: jqXHR|Boolean
The jqXHR object of the current request, false if there is none. ...

The jqXHR object of the current request, false if there is none.

\n

Defaults to: false

AjaxBootstrapSelect
: Selectpicker

Reference to the selectpicker instance.

\n

Reference to the selectpicker instance.

\n
Defined By

Methods

AjaxBootstrapSelect
( )
Initializes this plugin on a selectpicker instance. ...

Initializes this plugin on a selectpicker instance.

\n
AjaxBootstrapSelect
( type, message ) : void
Wrapper function for logging messages to window.console. ...

Wrapper function for logging messages to window.console.

\n

Parameters

Returns

  • void
    \n
AjaxBootstrapSelect
( obj, needle, value, [options] ) : void
Replaces an old value in an object or array with a new value. ...

Replaces an old value in an object or array with a new value.

\n

Parameters

  • obj : Object|Array

    The object (or array) to iterate over.

    \n
  • needle : *

    The value to search for.

    \n
  • value : *

    The value to replace with.

    \n
  • options : Object (optional)

    Additional options for restricting replacement:\n - recursive: {boolean} Whether or not to iterate over the entire\n object or array, defaults to true.\n - depth: {int} The number of level this method is to search\n down into child elements, defaults to false (no limit).\n - limit: {int} The number of times a replacement should happen,\n defaults to false (no limit).

    \n

Returns

  • void
    \n
AjaxBootstrapSelect
( key, [langCode] ) : Object
Generates a translated locale string for a given locale key. ...

Generates a translated locale string for a given locale key.

\n

Parameters

  • key : String

    The translation key to use.

    \n
  • langCode : String (optional)

    Overrides the currently set langCode option.

    \n

Returns

  • Object

    The translated string.

    \n
","meta":{}}); \ No newline at end of file diff --git a/bower.json b/bower.json index d6d4446..43489ad 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "ajax-bootstrap-select", - "version": "1.3.8", + "version": "1.4.0", "description": "Extends existing [Bootstrap Select] implementations by adding the ability to search via AJAX requests as you type. Originally for CROSCON.", "repository": { "type": "git", diff --git a/dist/css/ajax-bootstrap-select.css b/dist/css/ajax-bootstrap-select.css index b6d1b49..87b451f 100644 --- a/dist/css/ajax-bootstrap-select.css +++ b/dist/css/ajax-bootstrap-select.css @@ -3,7 +3,7 @@ * * Extends existing [Bootstrap Select] implementations by adding the ability to search via AJAX requests as you type. Originally for CROSCON. * - * @version 1.3.8 + * @version 1.4.0 * @author Adam Heim - https://github.com/truckingsim * @link https://github.com/truckingsim/Ajax-Bootstrap-Select * @copyright 2017 Adam Heim @@ -12,7 +12,7 @@ * Contributors: * Mark Carver - https://github.com/markcarver * - * Last build: 2017-01-05 6:25:17 PM CST + * Last build: 2017-06-26 5:18:20 PM GMT-0400 */ .bootstrap-select .status { background: #f0f0f0; diff --git a/dist/css/ajax-bootstrap-select.min.css b/dist/css/ajax-bootstrap-select.min.css index 348534a..301396c 100644 --- a/dist/css/ajax-bootstrap-select.min.css +++ b/dist/css/ajax-bootstrap-select.min.css @@ -3,7 +3,7 @@ * * Extends existing [Bootstrap Select] implementations by adding the ability to search via AJAX requests as you type. Originally for CROSCON. * - * @version 1.3.8 + * @version 1.4.0 * @author Adam Heim - https://github.com/truckingsim * @link https://github.com/truckingsim/Ajax-Bootstrap-Select * @copyright 2017 Adam Heim @@ -12,5 +12,5 @@ * Contributors: * Mark Carver - https://github.com/markcarver * - * Last build: 2017-01-05 6:25:17 PM CST + * Last build: 2017-06-26 5:18:20 PM GMT-0400 */.bootstrap-select .status{background:#f0f0f0;clear:both;color:#999;font-size:11px;font-style:italic;font-weight:500;line-height:1;margin-bottom:-5px;padding:10px 20px} \ No newline at end of file diff --git a/dist/js/ajax-bootstrap-select.js b/dist/js/ajax-bootstrap-select.js index fe6746e..82c8420 100644 --- a/dist/js/ajax-bootstrap-select.js +++ b/dist/js/ajax-bootstrap-select.js @@ -3,7 +3,7 @@ * * Extends existing [Bootstrap Select] implementations by adding the ability to search via AJAX requests as you type. Originally for CROSCON. * - * @version 1.3.8 + * @version 1.4.0 * @author Adam Heim - https://github.com/truckingsim * @link https://github.com/truckingsim/Ajax-Bootstrap-Select * @copyright 2017 Adam Heim @@ -12,7 +12,7 @@ * Contributors: * Mark Carver - https://github.com/markcarver * - * Last build: 2017-01-05 6:25:16 PM CST + * Last build: 2017-06-26 5:18:16 PM GMT-0400 */ !(function ($, window) { @@ -330,6 +330,12 @@ AjaxBootstrapSelect.prototype.init = function () { plugin.log(plugin.LOG_DEBUG, 'Key ignored.'); return; } + + // Don't process if below minimum query length + if (query.length < plugin.options.minLength) { + plugin.list.setStatus(plugin.t('statusTooShort')); + return; + } // Clear out any existing timer. clearTimeout(requestDelayTimer); @@ -764,7 +770,13 @@ AjaxBootstrapSelectList.prototype.refresh = function (triggerChange) { if (!this.plugin.$element.find('option').length && emptyTitle && emptyTitle.length) { this.setTitle(emptyTitle); } - else if (this.title) { + else if ( + this.title || + ( + this.selectedTextFormat !== 'static' && + this.selectedTextFormat !== this.plugin.selectpicker.options.selectedTextFormat + ) + ) { this.restoreTitle(); } this.plugin.selectpicker.refresh(); @@ -1256,6 +1268,14 @@ $.fn.ajaxSelectPicker.defaults = { } }, + /** + * @member $.fn.ajaxSelectPicker.defaults + * @cfg {Integer} minLength = 0 + * @markdown + * Invoke a request for empty search values. + */ + minLength: 0, + /** * @member $.fn.ajaxSelectPicker.defaults * @cfg {String} ajaxSearchUrl @@ -1436,7 +1456,7 @@ $.fn.ajaxSelectPicker.defaults = { * } * ``` */ - preprocessData: function(){}, + preprocessData: function () { }, /** * @member $.fn.ajaxSelectPicker.defaults @@ -1464,7 +1484,7 @@ $.fn.ajaxSelectPicker.defaults = { * @markdown * Process the data returned after this plugin, but before the list is built. */ - processData: function(){}, + processData: function () { }, /** * @member $.fn.ajaxSelectPicker.defaults @@ -1577,7 +1597,15 @@ $.fn.ajaxSelectPicker.locale['en-US'] = { * @markdown * The text to use in the status container when a request is being initiated. */ - statusSearching: 'Searching...' + statusSearching: 'Searching...', + + /** + * @member $.fn.ajaxSelectPicker.locale + * @cfg {String} statusToShort = 'Please enter more characters' + * @markdown + * The text used in the status container when the request returns no results. + */ + statusTooShort: 'Please enter more characters' }; $.fn.ajaxSelectPicker.locale.en = $.fn.ajaxSelectPicker.locale['en-US']; diff --git a/dist/js/ajax-bootstrap-select.min.js b/dist/js/ajax-bootstrap-select.min.js index 6291a59..0e1e7d7 100644 --- a/dist/js/ajax-bootstrap-select.min.js +++ b/dist/js/ajax-bootstrap-select.min.js @@ -3,7 +3,7 @@ * * Extends existing [Bootstrap Select] implementations by adding the ability to search via AJAX requests as you type. Originally for CROSCON. * - * @version 1.3.8 + * @version 1.4.0 * @author Adam Heim - https://github.com/truckingsim * @link https://github.com/truckingsim/Ajax-Bootstrap-Select * @copyright 2017 Adam Heim @@ -12,10 +12,10 @@ * Contributors: * Mark Carver - https://github.com/markcarver * - * Last build: 2017-01-05 6:25:16 PM CST + * Last build: 2017-06-26 5:18:16 PM GMT-0400 */ -!function(a,b){var c=function(c,d){var e,f,g=this;d=d||{},this.$element=a(c),this.options=a.extend(!0,{},a.fn.ajaxSelectPicker.defaults,d),this.LOG_ERROR=1,this.LOG_WARNING=2,this.LOG_INFO=3,this.LOG_DEBUG=4,this.lastRequest=!1,this.previousQuery="",this.query="",this.request=!1;var h=[{from:"ajaxResultsPreHook",to:"preprocessData"},{from:"ajaxSearchUrl",to:{ajax:{url:"{{{value}}}"}}},{from:"ajaxOptions",to:"ajax"},{from:"debug",to:function(b){var c={};c.log=Boolean(g.options[b.from])?g.LOG_DEBUG:0,g.options=a.extend(!0,{},g.options,c),delete g.options[b.from],g.log(g.LOG_WARNING,'Deprecated option "'+b.from+'". Update code to use:',c)}},{from:"mixWithCurrents",to:"preserveSelected"},{from:"placeHolderOption",to:{locale:{emptyTitle:"{{{value}}}"}}}];h.length&&a.map(h,function(b){if(g.options[b.from])if(a.isPlainObject(b.to))g.replaceValue(b.to,"{{{value}}}",g.options[b.from]),g.options=a.extend(!0,{},g.options,b.to),g.log(g.LOG_WARNING,'Deprecated option "'+b.from+'". Update code to use:',b.to),delete g.options[b.from];else if(a.isFunction(b.to))b.to.apply(g,[b]);else{var c={};c[b.to]=g.options[b.from],g.options=a.extend(!0,{},g.options,c),g.log(g.LOG_WARNING,'Deprecated option "'+b.from+'". Update code to use:',c),delete g.options[b.from]}});var i=this.$element.data();i.searchUrl&&(g.log(g.LOG_WARNING,'Deprecated attribute name: "data-search-url". Update markup to use: \' data-abs-ajax-url="'+i.searchUrl+"\" '"),this.options.ajax.url=i.searchUrl);var j=function(a,b){return b.toLowerCase()},k=function(a,b,c){var d=[].concat(a),e=d.length,f=c||{};if(e){var g=d.shift();f[g]=k(d,b,f[g])}return e?f:b},l=Object.keys(i).filter(/./.test.bind(new RegExp("^abs[A-Z]")));if(l.length){var m={},n=["locale"];for(e=0,f=l.length;e1&&n.indexOf(p[0])!==-1){for(var q=[p.shift()],r="",s=0;s0)&&f.replaceValue(b[g],c,d,e):h===c&&(e.limit!==!1&&"number"==typeof e.limit&&e.limit--,b[g]=d))})},c.prototype.t=function(a,b){return b=b||this.options.langCode,this.locale[b]&&this.locale[b].hasOwnProperty(a)?this.locale[b][a]:(this.log(this.LOG_WARNING,"Unknown translation key:",a),a)},b.AjaxBootstrapSelect=b.AjaxBootstrapSelect||c;var d=function(b){var c=this;this.$status=a(b.options.templates.status).hide().appendTo(b.selectpicker.$menu);var d=b.t("statusInitialized");d&&d.length&&this.setStatus(d),this.cache={},this.plugin=b,this.selected=[],this.title=null,this.selectedTextFormat=b.selectpicker.options.selectedTextFormat;var e=[];b.$element.find("option").each(function(){var c=a(this),d=c.attr("value");e.push({value:d,text:c.text(),class:c.attr("class")||"",data:c.data()||{},preserved:b.options.preserveSelected,selected:!!c.attr("selected")})}),this.cacheSet("",e),b.options.preserveSelected&&(c.selected=e,b.$element.on("change.abs.preserveSelected",function(d){var e=b.$element.find(":selected");c.selected=[],b.selectpicker.multiple||(e=e.last()),e.each(function(){var b=a(this),d=b.attr("value");c.selected.push({value:d,text:b.text(),class:b.attr("class")||"",data:b.data()||{},preserved:!0,selected:!0})}),c.replaceOptions(c.cacheGet(c.plugin.query))}))};d.prototype.build=function(b){var c,d,e=b.length,f=a(""),g=a("").attr("label",this.plugin.t("currentlySelected"));for(this.plugin.log(this.plugin.LOG_DEBUG,"Building the select list options from data:",b),d=0;d").appendTo(h.preserved?g:f);if(h.hasOwnProperty("divider"))i.attr("data-divider","true");else{i.val(h.value).text(h.text).attr("title",h.text),h.class.length&&i.attr("class",h.class),h.disabled&&i.attr("disabled",!0),h.selected&&!this.plugin.selectpicker.multiple&&f.find(":selected").prop("selected",!1),h.selected&&i.attr("selected",!0);for(c in h.data)h.data.hasOwnProperty(c)&&i.attr("data-"+c,h.data[c])}}g.find("option").length&&g["before"===this.plugin.options.preserveSelectedPosition?"prependTo":"appendTo"](f);var j=f.html();return this.plugin.log(this.plugin.LOG_DEBUG,j),j},d.prototype.cacheGet=function(a,b){var c=this.cache[a]||b;return this.plugin.log(this.LOG_DEBUG,"Retrieving cache:",a,c),c},d.prototype.cacheSet=function(a,b){this.cache[a]=b,this.plugin.log(this.LOG_DEBUG,"Saving to cache:",a,b)},d.prototype.destroy=function(){this.replaceOptions(),this.plugin.list.setStatus(),this.plugin.log(this.plugin.LOG_DEBUG,"Destroyed select list.")},d.prototype.refresh=function(a){this.plugin.selectpicker.$menu.css("minHeight",0),this.plugin.selectpicker.$menu.find("> .inner").css("minHeight",0);var b=this.plugin.t("emptyTitle");!this.plugin.$element.find("option").length&&b&&b.length?this.setTitle(b):(this.title||"static"!==this.selectedTextFormat&&this.selectedTextFormat!==this.plugin.selectpicker.options.selectedTextFormat)&&this.restoreTitle(),this.plugin.selectpicker.refresh(),this.plugin.selectpicker.findLis(),a&&(this.plugin.log(this.plugin.LOG_DEBUG,"Triggering Change"),this.plugin.$element.trigger("change.$")),this.plugin.log(this.plugin.LOG_DEBUG,"Refreshed select list.")},d.prototype.replaceOptions=function(a){var b,c,d,e="",f=[],g=[],h=[];if(a=a||[],this.selected&&this.selected.length){for(this.plugin.log(this.plugin.LOG_INFO,"Processing preserved selections:",this.selected),g=[].concat(this.selected,a),c=g.length,b=0;b'}},/*! * English translation for the "en-US" and "en" language codes. * Mark Carver */ -a.fn.ajaxSelectPicker.locale["en-US"]={currentlySelected:"Currently Selected",emptyTitle:"Select and begin typing",errorText:"Unable to retrieve results",searchPlaceholder:"Search...",statusInitialized:"Start typing a search query",statusNoResults:"No Results",statusSearching:"Searching..."},a.fn.ajaxSelectPicker.locale.en=a.fn.ajaxSelectPicker.locale["en-US"]}(jQuery,window); \ No newline at end of file +a.fn.ajaxSelectPicker.locale["en-US"]={currentlySelected:"Currently Selected",emptyTitle:"Select and begin typing",errorText:"Unable to retrieve results",searchPlaceholder:"Search...",statusInitialized:"Start typing a search query",statusNoResults:"No Results",statusSearching:"Searching...",statusTooShort:"Please enter more characters"},a.fn.ajaxSelectPicker.locale.en=a.fn.ajaxSelectPicker.locale["en-US"]}(jQuery,window); \ No newline at end of file diff --git a/dist/js/locale/ajax-bootstrap-select.en-US.js b/dist/js/locale/ajax-bootstrap-select.en-US.js index 375b065..57edd64 100644 --- a/dist/js/locale/ajax-bootstrap-select.en-US.js +++ b/dist/js/locale/ajax-bootstrap-select.en-US.js @@ -3,7 +3,7 @@ * * Extends existing [Bootstrap Select] implementations by adding the ability to search via AJAX requests as you type. Originally for CROSCON. * - * @version 1.3.8 + * @version 1.4.0 * @author Adam Heim - https://github.com/truckingsim * @link https://github.com/truckingsim/Ajax-Bootstrap-Select * @copyright 2017 Adam Heim @@ -12,7 +12,7 @@ * Contributors: * Mark Carver - https://github.com/markcarver * - * Last build: 2017-01-05 6:25:15 PM CST + * Last build: 2017-06-26 5:18:16 PM GMT-0400 */ !(function ($) { /* @@ -89,7 +89,15 @@ $.fn.ajaxSelectPicker.locale['en-US'] = { * @markdown * The text to use in the status container when a request is being initiated. */ - statusSearching: 'Searching...' + statusSearching: 'Searching...', + + /** + * @member $.fn.ajaxSelectPicker.locale + * @cfg {String} statusToShort = 'Please enter more characters' + * @markdown + * The text used in the status container when the request returns no results. + */ + statusTooShort: 'Please enter more characters' }; $.fn.ajaxSelectPicker.locale.en = $.fn.ajaxSelectPicker.locale['en-US']; })(jQuery); diff --git a/dist/js/locale/ajax-bootstrap-select.en-US.min.js b/dist/js/locale/ajax-bootstrap-select.en-US.min.js index d76ea7a..c66b4ed 100644 --- a/dist/js/locale/ajax-bootstrap-select.en-US.min.js +++ b/dist/js/locale/ajax-bootstrap-select.en-US.min.js @@ -3,7 +3,7 @@ * * Extends existing [Bootstrap Select] implementations by adding the ability to search via AJAX requests as you type. Originally for CROSCON. * - * @version 1.3.8 + * @version 1.4.0 * @author Adam Heim - https://github.com/truckingsim * @link https://github.com/truckingsim/Ajax-Bootstrap-Select * @copyright 2017 Adam Heim @@ -12,11 +12,12 @@ * Contributors: * Mark Carver - https://github.com/markcarver * - * Last build: 2017-01-05 6:25:15 PM CST + * Last build: 2017-06-26 5:18:16 PM GMT-0400 */ !(function ($) { + /*! * English translation for the "en-US" and "en" language codes. * Mark Carver */ -$.fn.ajaxSelectPicker.locale["en-US"]={currentlySelected:"Currently Selected",emptyTitle:"Select and begin typing",errorText:"Unable to retrieve results",searchPlaceholder:"Search...",statusInitialized:"Start typing a search query",statusNoResults:"No Results",statusSearching:"Searching..."},$.fn.ajaxSelectPicker.locale.en=$.fn.ajaxSelectPicker.locale["en-US"];})(jQuery); +$.fn.ajaxSelectPicker.locale["en-US"]={currentlySelected:"Currently Selected",emptyTitle:"Select and begin typing",errorText:"Unable to retrieve results",searchPlaceholder:"Search...",statusInitialized:"Start typing a search query",statusNoResults:"No Results",statusSearching:"Searching...",statusTooShort:"Please enter more characters"},$.fn.ajaxSelectPicker.locale.en=$.fn.ajaxSelectPicker.locale["en-US"];})(jQuery); diff --git a/dist/js/locale/ajax-bootstrap-select.es-ES.js b/dist/js/locale/ajax-bootstrap-select.es-ES.js index a95ab93..c4d95cc 100644 --- a/dist/js/locale/ajax-bootstrap-select.es-ES.js +++ b/dist/js/locale/ajax-bootstrap-select.es-ES.js @@ -3,7 +3,7 @@ * * Extends existing [Bootstrap Select] implementations by adding the ability to search via AJAX requests as you type. Originally for CROSCON. * - * @version 1.3.8 + * @version 1.4.0 * @author Adam Heim - https://github.com/truckingsim * @link https://github.com/truckingsim/Ajax-Bootstrap-Select * @copyright 2017 Adam Heim @@ -12,7 +12,7 @@ * Contributors: * Mark Carver - https://github.com/markcarver * - * Last build: 2017-01-05 6:25:15 PM CST + * Last build: 2017-06-26 5:18:16 PM GMT-0400 */ !(function ($) { /*! @@ -74,7 +74,15 @@ $.fn.ajaxSelectPicker.locale["es-ES"] = { * @markdown * El texto que se utilizan en el contenedor de estado cuando se está iniciando una solicitud. */ - statusSearching: "Buscando..." + statusSearching: "Buscando...", + + /** + * @member $.fn.ajaxSelectPicker.locale + * @cfg {String} statusToShort = 'Please enter more characters' + * @markdown + * The text used in the status container when the request returns no results. + */ + statusTooShort: 'Introduzca más caracteres' }; $.fn.ajaxSelectPicker.locale.es = $.fn.ajaxSelectPicker.locale["es-ES"]; })(jQuery); diff --git a/dist/js/locale/ajax-bootstrap-select.es-ES.min.js b/dist/js/locale/ajax-bootstrap-select.es-ES.min.js index c7f2610..51c6f5f 100644 --- a/dist/js/locale/ajax-bootstrap-select.es-ES.min.js +++ b/dist/js/locale/ajax-bootstrap-select.es-ES.min.js @@ -3,7 +3,7 @@ * * Extends existing [Bootstrap Select] implementations by adding the ability to search via AJAX requests as you type. Originally for CROSCON. * - * @version 1.3.8 + * @version 1.4.0 * @author Adam Heim - https://github.com/truckingsim * @link https://github.com/truckingsim/Ajax-Bootstrap-Select * @copyright 2017 Adam Heim @@ -12,11 +12,12 @@ * Contributors: * Mark Carver - https://github.com/markcarver * - * Last build: 2017-01-05 6:25:15 PM CST + * Last build: 2017-06-26 5:18:16 PM GMT-0400 */ !(function ($) { + /*! * Spanish translation for the "es-ES" and "es" language codes. * Diomedes Domínguez */ -$.fn.ajaxSelectPicker.locale["es-ES"]={currentlySelected:"Seleccionado",emptyTitle:"Seleccione y comience a escribir",errorText:"No se puede recuperar resultados",searchPlaceholder:"Buscar...",statusInitialized:"Empieza a escribir una consulta de búsqueda",statusNoResults:"Sin Resultados",statusSearching:"Buscando..."},$.fn.ajaxSelectPicker.locale.es=$.fn.ajaxSelectPicker.locale["es-ES"];})(jQuery); +$.fn.ajaxSelectPicker.locale["es-ES"]={currentlySelected:"Seleccionado",emptyTitle:"Seleccione y comience a escribir",errorText:"No se puede recuperar resultados",searchPlaceholder:"Buscar...",statusInitialized:"Empieza a escribir una consulta de búsqueda",statusNoResults:"Sin Resultados",statusSearching:"Buscando...",statusTooShort:"Introduzca más caracteres"},$.fn.ajaxSelectPicker.locale.es=$.fn.ajaxSelectPicker.locale["es-ES"];})(jQuery); diff --git a/dist/js/locale/ajax-bootstrap-select.fr-FR.js b/dist/js/locale/ajax-bootstrap-select.fr-FR.js index 1fdb91a..7038d67 100644 --- a/dist/js/locale/ajax-bootstrap-select.fr-FR.js +++ b/dist/js/locale/ajax-bootstrap-select.fr-FR.js @@ -3,7 +3,7 @@ * * Extends existing [Bootstrap Select] implementations by adding the ability to search via AJAX requests as you type. Originally for CROSCON. * - * @version 1.3.8 + * @version 1.4.0 * @author Adam Heim - https://github.com/truckingsim * @link https://github.com/truckingsim/Ajax-Bootstrap-Select * @copyright 2017 Adam Heim @@ -12,69 +12,77 @@ * Contributors: * Mark Carver - https://github.com/markcarver * - * Last build: 2017-01-05 6:25:15 PM CST + * Last build: 2017-06-26 5:18:16 PM GMT-0400 */ !(function ($) { -/*! - * French translation for the "fr-FR" and "fr" language codes. - * Bastien (https://github.com/lisurc) - */ -$.fn.ajaxSelectPicker.locale['fr-FR'] = { - /** - * @member $.fn.ajaxSelectPicker.locale - * @cfg {String} currentlySelected = 'Currently Selected' - * @markdown - * The text to use for the label of the option group when currently selected options are preserved. - */ - currentlySelected: 'Actuellement sélectionné', - - /** - * @member $.fn.ajaxSelectPicker.locale - * @cfg {String} emptyTitle = 'Select and begin typing' - * @markdown - * The text to use as the title for the select element when there are no items to display. - */ - emptyTitle: 'Sélectionner et commencer à taper', - - /** - * @member $.fn.ajaxSelectPicker.locale - * @cfg {String} errorText = 'Unable to retrieve results' - * @markdown - * The text to use in the status container when a request returns with an error. - */ - errorText: 'Impossible de récupérer les résultats', - - /** - * @member $.fn.ajaxSelectPicker.locale - * @cfg {String} searchPlaceholder = 'Search...' - * @markdown - * The text to use for the search input placeholder attribute. - */ - searchPlaceholder: 'Rechercher...', - - /** - * @member $.fn.ajaxSelectPicker.locale - * @cfg {String} statusInitialized = 'Start typing a search query' - * @markdown - * The text used in the status container when it is initialized. - */ - statusInitialized: 'Commencer à taper une recherche', - - /** - * @member $.fn.ajaxSelectPicker.locale - * @cfg {String} statusNoResults = 'No Results' - * @markdown - * The text used in the status container when the request returns no results. - */ - statusNoResults: 'Aucun résultat', - - /** - * @member $.fn.ajaxSelectPicker.locale - * @cfg {String} statusSearching = 'Searching...' - * @markdown - * The text to use in the status container when a request is being initiated. - */ - statusSearching: 'Recherche en cours...' -}; -$.fn.ajaxSelectPicker.locale.fr = $.fn.ajaxSelectPicker.locale['fr-FR']; +/*! + * French translation for the "fr-FR" and "fr" language codes. + * Bastien (https://github.com/lisurc) + */ +$.fn.ajaxSelectPicker.locale['fr-FR'] = { + /** + * @member $.fn.ajaxSelectPicker.locale + * @cfg {String} currentlySelected = 'Currently Selected' + * @markdown + * The text to use for the label of the option group when currently selected options are preserved. + */ + currentlySelected: 'Actuellement sélectionné', + + /** + * @member $.fn.ajaxSelectPicker.locale + * @cfg {String} emptyTitle = 'Select and begin typing' + * @markdown + * The text to use as the title for the select element when there are no items to display. + */ + emptyTitle: 'Sélectionner et commencer à taper', + + /** + * @member $.fn.ajaxSelectPicker.locale + * @cfg {String} errorText = 'Unable to retrieve results' + * @markdown + * The text to use in the status container when a request returns with an error. + */ + errorText: 'Impossible de récupérer les résultats', + + /** + * @member $.fn.ajaxSelectPicker.locale + * @cfg {String} searchPlaceholder = 'Search...' + * @markdown + * The text to use for the search input placeholder attribute. + */ + searchPlaceholder: 'Rechercher...', + + /** + * @member $.fn.ajaxSelectPicker.locale + * @cfg {String} statusInitialized = 'Start typing a search query' + * @markdown + * The text used in the status container when it is initialized. + */ + statusInitialized: 'Commencer à taper une recherche', + + /** + * @member $.fn.ajaxSelectPicker.locale + * @cfg {String} statusNoResults = 'No Results' + * @markdown + * The text used in the status container when the request returns no results. + */ + statusNoResults: 'Aucun résultat', + + /** + * @member $.fn.ajaxSelectPicker.locale + * @cfg {String} statusSearching = 'Searching...' + * @markdown + * The text to use in the status container when a request is being initiated. + */ + statusSearching: 'Recherche en cours...', + + /** + * @member $.fn.ajaxSelectPicker.locale + * @cfg {String} statusToShort = 'Please enter more characters' + * @markdown + * The text used in the status container when the request returns no results. + */ + statusTooShort: 'Entrez plus de caractères' +}; +$.fn.ajaxSelectPicker.locale.fr = $.fn.ajaxSelectPicker.locale['fr-FR']; })(jQuery); diff --git a/dist/js/locale/ajax-bootstrap-select.fr-FR.min.js b/dist/js/locale/ajax-bootstrap-select.fr-FR.min.js index 9fd8ff4..0d43ff8 100644 --- a/dist/js/locale/ajax-bootstrap-select.fr-FR.min.js +++ b/dist/js/locale/ajax-bootstrap-select.fr-FR.min.js @@ -3,7 +3,7 @@ * * Extends existing [Bootstrap Select] implementations by adding the ability to search via AJAX requests as you type. Originally for CROSCON. * - * @version 1.3.8 + * @version 1.4.0 * @author Adam Heim - https://github.com/truckingsim * @link https://github.com/truckingsim/Ajax-Bootstrap-Select * @copyright 2017 Adam Heim @@ -12,11 +12,12 @@ * Contributors: * Mark Carver - https://github.com/markcarver * - * Last build: 2017-01-05 6:25:15 PM CST + * Last build: 2017-06-26 5:18:16 PM GMT-0400 */ !(function ($) { + /*! * French translation for the "fr-FR" and "fr" language codes. * Bastien (https://github.com/lisurc) */ -$.fn.ajaxSelectPicker.locale["fr-FR"]={currentlySelected:"Actuellement sélectionné",emptyTitle:"Sélectionner et commencer à taper",errorText:"Impossible de récupérer les résultats",searchPlaceholder:"Rechercher...",statusInitialized:"Commencer à taper une recherche",statusNoResults:"Aucun résultat",statusSearching:"Recherche en cours..."},$.fn.ajaxSelectPicker.locale.fr=$.fn.ajaxSelectPicker.locale["fr-FR"];})(jQuery); +$.fn.ajaxSelectPicker.locale["fr-FR"]={currentlySelected:"Actuellement sélectionné",emptyTitle:"Sélectionner et commencer à taper",errorText:"Impossible de récupérer les résultats",searchPlaceholder:"Rechercher...",statusInitialized:"Commencer à taper une recherche",statusNoResults:"Aucun résultat",statusSearching:"Recherche en cours...",statusTooShort:"Entrez plus de caractères"},$.fn.ajaxSelectPicker.locale.fr=$.fn.ajaxSelectPicker.locale["fr-FR"];})(jQuery); diff --git a/dist/js/locale/ajax-bootstrap-select.it-IT.js b/dist/js/locale/ajax-bootstrap-select.it-IT.js index 079bacb..61a9844 100644 --- a/dist/js/locale/ajax-bootstrap-select.it-IT.js +++ b/dist/js/locale/ajax-bootstrap-select.it-IT.js @@ -3,7 +3,7 @@ * * Extends existing [Bootstrap Select] implementations by adding the ability to search via AJAX requests as you type. Originally for CROSCON. * - * @version 1.3.8 + * @version 1.4.0 * @author Adam Heim - https://github.com/truckingsim * @link https://github.com/truckingsim/Ajax-Bootstrap-Select * @copyright 2017 Adam Heim @@ -12,7 +12,7 @@ * Contributors: * Mark Carver - https://github.com/markcarver * - * Last build: 2017-01-05 6:25:15 PM CST + * Last build: 2017-06-26 5:18:16 PM GMT-0400 */ !(function ($) { /*! @@ -74,7 +74,15 @@ $.fn.ajaxSelectPicker.locale['it-IT'] = { * @markdown * The text to use in the status container when a request is being initiated. */ - statusSearching: 'Ricerca in corso...' + statusSearching: 'Ricerca in corso...', + + /** + * @member $.fn.ajaxSelectPicker.locale + * @cfg {String} statusToShort = 'Please enter more characters' + * @markdown + * The text used in the status container when the request returns no results. + */ + statusTooShort: 'Inserisci altri caratteri' }; $.fn.ajaxSelectPicker.locale.it = $.fn.ajaxSelectPicker.locale['it-IT']; })(jQuery); diff --git a/dist/js/locale/ajax-bootstrap-select.it-IT.min.js b/dist/js/locale/ajax-bootstrap-select.it-IT.min.js index 5f7ea3a..f8dc94e 100644 --- a/dist/js/locale/ajax-bootstrap-select.it-IT.min.js +++ b/dist/js/locale/ajax-bootstrap-select.it-IT.min.js @@ -3,7 +3,7 @@ * * Extends existing [Bootstrap Select] implementations by adding the ability to search via AJAX requests as you type. Originally for CROSCON. * - * @version 1.3.8 + * @version 1.4.0 * @author Adam Heim - https://github.com/truckingsim * @link https://github.com/truckingsim/Ajax-Bootstrap-Select * @copyright 2017 Adam Heim @@ -12,11 +12,12 @@ * Contributors: * Mark Carver - https://github.com/markcarver * - * Last build: 2017-01-05 6:25:15 PM CST + * Last build: 2017-06-26 5:18:16 PM GMT-0400 */ !(function ($) { + /*! * Italian translation for the "it-IT" and "it" language codes. * Luca Longo */ -$.fn.ajaxSelectPicker.locale["it-IT"]={currentlySelected:"Selezionati",emptyTitle:"Clicca qui e scrivi...",errorText:"Impossibile recuperare dei risultati",searchPlaceholder:"Cerca...",statusInitialized:"Inizia a digitare...",statusNoResults:"Non ci sono risultati",statusSearching:"Ricerca in corso..."},$.fn.ajaxSelectPicker.locale.it=$.fn.ajaxSelectPicker.locale["it-IT"];})(jQuery); +$.fn.ajaxSelectPicker.locale["it-IT"]={currentlySelected:"Selezionati",emptyTitle:"Clicca qui e scrivi...",errorText:"Impossibile recuperare dei risultati",searchPlaceholder:"Cerca...",statusInitialized:"Inizia a digitare...",statusNoResults:"Non ci sono risultati",statusSearching:"Ricerca in corso...",statusTooShort:"Inserisci altri caratteri"},$.fn.ajaxSelectPicker.locale.it=$.fn.ajaxSelectPicker.locale["it-IT"];})(jQuery); diff --git a/dist/js/locale/ajax-bootstrap-select.ko-KR.js b/dist/js/locale/ajax-bootstrap-select.ko-KR.js index ba3c2a8..f9d2e4b 100644 --- a/dist/js/locale/ajax-bootstrap-select.ko-KR.js +++ b/dist/js/locale/ajax-bootstrap-select.ko-KR.js @@ -3,7 +3,7 @@ * * Extends existing [Bootstrap Select] implementations by adding the ability to search via AJAX requests as you type. Originally for CROSCON. * - * @version 1.3.8 + * @version 1.4.0 * @author Adam Heim - https://github.com/truckingsim * @link https://github.com/truckingsim/Ajax-Bootstrap-Select * @copyright 2017 Adam Heim @@ -12,7 +12,7 @@ * Contributors: * Mark Carver - https://github.com/markcarver * - * Last build: 2017-01-05 6:25:15 PM CST + * Last build: 2017-06-26 5:18:16 PM GMT-0400 */ !(function ($) { /*! @@ -74,7 +74,15 @@ $.fn.ajaxSelectPicker.locale['ko-KR'] = { * @markdown * The text to use in the status container when a request is being initiated. */ - statusSearching: '검색중' + statusSearching: '검색중', + + /** + * @member $.fn.ajaxSelectPicker.locale + * @cfg {String} statusToShort = 'Please enter more characters' + * @markdown + * The text used in the status container when the request returns no results. + */ + statusTooShort: '추가 문자를 입력하십시오.' }; $.fn.ajaxSelectPicker.locale.ko = $.fn.ajaxSelectPicker.locale['ko-KR']; })(jQuery); diff --git a/dist/js/locale/ajax-bootstrap-select.ko-KR.min.js b/dist/js/locale/ajax-bootstrap-select.ko-KR.min.js index 855e78a..a09699b 100644 --- a/dist/js/locale/ajax-bootstrap-select.ko-KR.min.js +++ b/dist/js/locale/ajax-bootstrap-select.ko-KR.min.js @@ -3,7 +3,7 @@ * * Extends existing [Bootstrap Select] implementations by adding the ability to search via AJAX requests as you type. Originally for CROSCON. * - * @version 1.3.8 + * @version 1.4.0 * @author Adam Heim - https://github.com/truckingsim * @link https://github.com/truckingsim/Ajax-Bootstrap-Select * @copyright 2017 Adam Heim @@ -12,11 +12,12 @@ * Contributors: * Mark Carver - https://github.com/markcarver * - * Last build: 2017-01-05 6:25:15 PM CST + * Last build: 2017-06-26 5:18:16 PM GMT-0400 */ !(function ($) { + /*! * Korean translation for the "ko-KR" and "ko" language codes. * Jo JungLae */ -$.fn.ajaxSelectPicker.locale["ko-KR"]={currentlySelected:"현재 선택된 항목",emptyTitle:"클릭하고 입력 시작",errorText:"결과를 검색할 수 없습니다",searchPlaceholder:"검색",statusInitialized:"검색어를 입력",statusNoResults:"검색결과가 없습니다",statusSearching:"검색중"},$.fn.ajaxSelectPicker.locale.ko=$.fn.ajaxSelectPicker.locale["ko-KR"];})(jQuery); +$.fn.ajaxSelectPicker.locale["ko-KR"]={currentlySelected:"현재 선택된 항목",emptyTitle:"클릭하고 입력 시작",errorText:"결과를 검색할 수 없습니다",searchPlaceholder:"검색",statusInitialized:"검색어를 입력",statusNoResults:"검색결과가 없습니다",statusSearching:"검색중",statusTooShort:"추가 문자를 입력하십시오."},$.fn.ajaxSelectPicker.locale.ko=$.fn.ajaxSelectPicker.locale["ko-KR"];})(jQuery); diff --git a/dist/js/locale/ajax-bootstrap-select.pt-BR.js b/dist/js/locale/ajax-bootstrap-select.pt-BR.js index d67d11f..0d06b33 100644 --- a/dist/js/locale/ajax-bootstrap-select.pt-BR.js +++ b/dist/js/locale/ajax-bootstrap-select.pt-BR.js @@ -3,7 +3,7 @@ * * Extends existing [Bootstrap Select] implementations by adding the ability to search via AJAX requests as you type. Originally for CROSCON. * - * @version 1.3.8 + * @version 1.4.0 * @author Adam Heim - https://github.com/truckingsim * @link https://github.com/truckingsim/Ajax-Bootstrap-Select * @copyright 2017 Adam Heim @@ -12,7 +12,7 @@ * Contributors: * Mark Carver - https://github.com/markcarver * - * Last build: 2017-01-05 6:25:15 PM CST + * Last build: 2017-06-26 5:18:16 PM GMT-0400 */ !(function ($) { /*! @@ -74,7 +74,15 @@ $.fn.ajaxSelectPicker.locale['pt-BR'] = { * @markdown * The text to use in the status container when a request is being initiated. */ - statusSearching: 'Buscando...' + statusSearching: 'Buscando...', + + /** + * @member $.fn.ajaxSelectPicker.locale + * @cfg {String} statusToShort = 'Please enter more characters' + * @markdown + * The text used in the status container when the request returns no results. + */ + statusTooShort: 'Digite mais caracteres' }; $.fn.ajaxSelectPicker.locale.pt = $.fn.ajaxSelectPicker.locale['pt-BR']; })(jQuery); diff --git a/dist/js/locale/ajax-bootstrap-select.pt-BR.min.js b/dist/js/locale/ajax-bootstrap-select.pt-BR.min.js index f5dd1cd..166fef4 100644 --- a/dist/js/locale/ajax-bootstrap-select.pt-BR.min.js +++ b/dist/js/locale/ajax-bootstrap-select.pt-BR.min.js @@ -3,7 +3,7 @@ * * Extends existing [Bootstrap Select] implementations by adding the ability to search via AJAX requests as you type. Originally for CROSCON. * - * @version 1.3.8 + * @version 1.4.0 * @author Adam Heim - https://github.com/truckingsim * @link https://github.com/truckingsim/Ajax-Bootstrap-Select * @copyright 2017 Adam Heim @@ -12,11 +12,12 @@ * Contributors: * Mark Carver - https://github.com/markcarver * - * Last build: 2017-01-05 6:25:15 PM CST + * Last build: 2017-06-26 5:18:16 PM GMT-0400 */ !(function ($) { + /*! * Brazilian portuguese translation for the "pt-BR" and "pt" language codes. * Luan Fonseca */ -$.fn.ajaxSelectPicker.locale["pt-BR"]={currentlySelected:"Selecionado Atualmente",emptyTitle:"Clique e comece a digitar",errorText:"Incapaz de encontrar resultados",searchPlaceholder:"Buscar...",statusInitialized:"Comece a digitar",statusNoResults:"Sem Resultados",statusSearching:"Buscando..."},$.fn.ajaxSelectPicker.locale.pt=$.fn.ajaxSelectPicker.locale["pt-BR"];})(jQuery); +$.fn.ajaxSelectPicker.locale["pt-BR"]={currentlySelected:"Selecionado Atualmente",emptyTitle:"Clique e comece a digitar",errorText:"Incapaz de encontrar resultados",searchPlaceholder:"Buscar...",statusInitialized:"Comece a digitar",statusNoResults:"Sem Resultados",statusSearching:"Buscando...",statusTooShort:"Digite mais caracteres"},$.fn.ajaxSelectPicker.locale.pt=$.fn.ajaxSelectPicker.locale["pt-BR"];})(jQuery); diff --git a/dist/js/locale/ajax-bootstrap-select.ru-RU.js b/dist/js/locale/ajax-bootstrap-select.ru-RU.js new file mode 100644 index 0000000..89910c1 --- /dev/null +++ b/dist/js/locale/ajax-bootstrap-select.ru-RU.js @@ -0,0 +1,88 @@ +/*! + * Ajax Bootstrap Select + * + * Extends existing [Bootstrap Select] implementations by adding the ability to search via AJAX requests as you type. Originally for CROSCON. + * + * @version 1.4.0 + * @author Adam Heim - https://github.com/truckingsim + * @link https://github.com/truckingsim/Ajax-Bootstrap-Select + * @copyright 2017 Adam Heim + * @license Released under the MIT license. + * + * Contributors: + * Mark Carver - https://github.com/markcarver + * + * Last build: 2017-06-26 5:18:16 PM GMT-0400 + */ +!(function ($) { +/*! + * Russian translation for the "ru-RU" and "ru" language codes. + * Bercut Stray + */ +$.fn.ajaxSelectPicker.locale['ru-RU'] = { + /** + * @member $.fn.ajaxSelectPicker.locale + * @cfg {String} currentlySelected = 'Currently Selected' + * @markdown + * The text to use for the label of the option group when currently selected options are preserved. + */ + currentlySelected: 'Выбрано', + + /** + * @member $.fn.ajaxSelectPicker.locale + * @cfg {String} emptyTitle = 'Select and begin typing' + * @markdown + * The text to use as the title for the select element when there are no items to display. + */ + emptyTitle: 'Выделите и начните печатать', + + /** + * @member $.fn.ajaxSelectPicker.locale + * @cfg {String} errorText = ''Unable to retrieve results' + * @markdown + * The text to use in the status container when a request returns with an error. + */ + errorText: 'Невозможно получить результат', + + /** + * @member $.fn.ajaxSelectPicker.locale + * @cfg {String} searchPlaceholder = 'Search...' + * @markdown + * The text to use for the search input placeholder attribute. + */ + searchPlaceholder: 'Искать...', + + /** + * @member $.fn.ajaxSelectPicker.locale + * @cfg {String} statusInitialized = 'Start typing a search query' + * @markdown + * The text used in the status container when it is initialized. + */ + statusInitialized: 'Начните печатать запрос для поиска', + + /** + * @member $.fn.ajaxSelectPicker.locale + * @cfg {String} statusNoResults = 'No Results' + * @markdown + * The text used in the status container when the request returns no results. + */ + statusNoResults: 'Нет результатов', + + /** + * @member $.fn.ajaxSelectPicker.locale + * @cfg {String} statusSearching = 'Searching...' + * @markdown + * The text to use in the status container when a request is being initiated. + */ + statusSearching: 'Поиск...', + + /** + * @member $.fn.ajaxSelectPicker.locale + * @cfg {String} statusToShort = 'Please enter more characters' + * @markdown + * The text used in the status container when the request returns no results. + */ + statusTooShort: 'Введите еще несколько символов' +}; +$.fn.ajaxSelectPicker.locale.ru = $.fn.ajaxSelectPicker.locale['ru-RU']; +})(jQuery); diff --git a/dist/js/locale/ajax-bootstrap-select.ru-RU.min.js b/dist/js/locale/ajax-bootstrap-select.ru-RU.min.js new file mode 100644 index 0000000..2cf6be6 --- /dev/null +++ b/dist/js/locale/ajax-bootstrap-select.ru-RU.min.js @@ -0,0 +1,23 @@ +/*! + * Ajax Bootstrap Select + * + * Extends existing [Bootstrap Select] implementations by adding the ability to search via AJAX requests as you type. Originally for CROSCON. + * + * @version 1.4.0 + * @author Adam Heim - https://github.com/truckingsim + * @link https://github.com/truckingsim/Ajax-Bootstrap-Select + * @copyright 2017 Adam Heim + * @license Released under the MIT license. + * + * Contributors: + * Mark Carver - https://github.com/markcarver + * + * Last build: 2017-06-26 5:18:16 PM GMT-0400 + */ +!(function ($) { + +/*! + * Russian translation for the "ru-RU" and "ru" language codes. + * Bercut Stray + */ +$.fn.ajaxSelectPicker.locale["ru-RU"]={currentlySelected:"Выбрано",emptyTitle:"Выделите и начните печатать",errorText:"Невозможно получить результат",searchPlaceholder:"Искать...",statusInitialized:"Начните печатать запрос для поиска",statusNoResults:"Нет результатов",statusSearching:"Поиск...",statusTooShort:"Введите еще несколько символов"},$.fn.ajaxSelectPicker.locale.ru=$.fn.ajaxSelectPicker.locale["ru-RU"];})(jQuery); diff --git a/dist/js/locale/ajax-bootstrap-select.tr-TR.js b/dist/js/locale/ajax-bootstrap-select.tr-TR.js index 01027fe..03f27b8 100644 --- a/dist/js/locale/ajax-bootstrap-select.tr-TR.js +++ b/dist/js/locale/ajax-bootstrap-select.tr-TR.js @@ -3,7 +3,7 @@ * * Extends existing [Bootstrap Select] implementations by adding the ability to search via AJAX requests as you type. Originally for CROSCON. * - * @version 1.3.8 + * @version 1.4.0 * @author Adam Heim - https://github.com/truckingsim * @link https://github.com/truckingsim/Ajax-Bootstrap-Select * @copyright 2017 Adam Heim @@ -12,7 +12,7 @@ * Contributors: * Mark Carver - https://github.com/markcarver * - * Last build: 2017-01-05 6:25:15 PM CST + * Last build: 2017-06-26 5:18:16 PM GMT-0400 */ !(function ($) { /*! diff --git a/dist/js/locale/ajax-bootstrap-select.tr-TR.min.js b/dist/js/locale/ajax-bootstrap-select.tr-TR.min.js index 23a29ff..c7e49a5 100644 --- a/dist/js/locale/ajax-bootstrap-select.tr-TR.min.js +++ b/dist/js/locale/ajax-bootstrap-select.tr-TR.min.js @@ -3,7 +3,7 @@ * * Extends existing [Bootstrap Select] implementations by adding the ability to search via AJAX requests as you type. Originally for CROSCON. * - * @version 1.3.8 + * @version 1.4.0 * @author Adam Heim - https://github.com/truckingsim * @link https://github.com/truckingsim/Ajax-Bootstrap-Select * @copyright 2017 Adam Heim @@ -12,9 +12,10 @@ * Contributors: * Mark Carver - https://github.com/markcarver * - * Last build: 2017-01-05 6:25:15 PM CST + * Last build: 2017-06-26 5:18:16 PM GMT-0400 */ !(function ($) { + /*! * Turkish translation for the "tr-TR" and "tr" language codes. * Burak Çakırel diff --git a/docs/options.md b/docs/options.md index a20fde8..f1f991b 100644 --- a/docs/options.md +++ b/docs/options.md @@ -31,6 +31,17 @@ Options can be passed via data attributes or through the JavaScript options obje *** +### options.minLength +> __Type:__ `Integer` +> +> __Default:__ `0` +> +> __Data Attribute:__ `data-abs-min-length="..."` +> +> Invoke a request for empty search values. + +*** + ### ~~options.ajaxSearchUrl~~ > __Deprecated:__ Since version `1.2.0`, see: [options.ajax](#optionsajax). > @@ -369,4 +380,13 @@ See: [options.locale](#optionslocale) *** +### locale.statusToShort +> __Type:__ `String` +> +> __Default:__ `'Please enter more characters'` +> +> The text used in the status container when the request returns no results. + +*** + diff --git a/package.json b/package.json index 32a04dd..4b52a8a 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "ajax-bootstrap-select", "title": "Ajax Bootstrap Select", "description": "Extends existing [Bootstrap Select] implementations by adding the ability to search via AJAX requests as you type. Originally for CROSCON.", - "version": "1.3.8", + "version": "1.4.0", "engines": { "node": ">=6" },