diff --git a/www/js/zui/picker/zui.picker.min.js b/www/js/zui/picker/zui.picker.min.js
index 6d01179538..aac752a8f8 100644
--- a/www/js/zui/picker/zui.picker.min.js
+++ b/www/js/zui/picker/zui.picker.min.js
@@ -1,7 +1,7 @@
/*!
- * ZUI: 选择器 - v1.9.2 - 2021-03-10
+ * ZUI: 选择器 - v1.9.2 - 2021-07-09
* http://openzui.com
* GitHub: https://github.com/easysoft/zui.git
* Copyright (c) 2021 cnezsoft.com; Licensed MIT
*/
-!function(e,t,i){"use strict";var o="zui.picker",r={},n={lang:null,remote:null,remoteConverter:null,remoteOnly:!1,onRemoteError:null,disableEmptySearch:!1,textKey:"text",valueKey:"value",keysKey:"keys",multi:"auto",formItem:"auto",list:null,allowSingleDeselect:null,showMultiSelectedOptions:!1,autoSelectFirst:!1,optionItemFormatter:null,maxSelectedCount:0,maxListCount:50,hideEmptyTextOption:!0,searchValueKey:!0,emptyResultHint:null,hideOnWindowScroll:!0,inheritFormItemClasses:!1,emptySearchResultHint:null,accurateSearchHint:null,remoteErrorHint:null,deleteByBackspace:!0,disableScrollOnShow:!0,maxDropHeight:250,dropDirection:"auto",dropWidth:"100%",maxAutoDropWidth:450,multiValueSplitter:",",searchDelay:200,autoClearDrop:6e4,fixLabelFor:!0,hotkey:!0,onSelect:null,onDeselect:null,beforeChange:null,onChange:null,onReady:null,onNoResults:null,onShowingDrop:null,onHidingDrop:null,onShowedDrop:null,onHiddenDrop:null,valueMustInList:!0},s={zh_cn:{emptyResultHint:"没有可选项",emptySearchResultHint:"没有找到 “{0}”",accurateSearchHint:"请提供更多关键词缩小匹配范围",remoteErrorHint:"无法从服务器获取结果 - {0}"},zh_tw:{emptyResultHint:"沒有可選項",emptySearchResultHint:"沒有找到 “{0}”",accurateSearchHint:"請提供更多關鍵詞縮小匹配範圍",remoteErrorHint:"無法從服務器獲取結果 - {0}"},en:{emptyResultHint:"No options",emptySearchResultHint:'Cannot found "{0}"',accurateSearchHint:"Suggest to provide more keywords",remoteErrorHint:"Unable to get result from server: {0}"}},l=function(t,i){var r=this;r.name=o,r.$=e(t),r.id="pk_"+(r.$.attr("id")||e.zui.uuid()),i=r.options=e.extend({},l.DEFAULTS,this.$.data(),i);var n=e.zui.clientLang?e.zui.clientLang():"en",a=i.lang||n;r.lang=e.zui.getLangData?e.zui.getLangData(o,a,s):s[a]||s[n];var p,c,u=i.formItem,d='.form-item,input[type="hidden"],select,input[type="text"]';if(p="self"===u?r.$:"auto"!==u&&u?r.$.find(u):r.$.is(d)?r.$:r.$.find(d).first(),!p.length)return console.error&&console.error("Cannot found form item for picker.");if(p.is('input[type="hidden"]'))c="hidden";else if(p.is("select"))c="select";else{if(!p.is('input[type="text"]'))return console.error&&console.error("Unknown form type for picker.");c="text"}i.inheritFormItemClasses&&f.addClass(p.attr("class")),r.formType=c,r.$formItem=p.removeClass("picker").hide(),r.selfFormItem=p.is(r.$);var h=i.multi;h&&"auto"!==h||(h="select"===c&&"multiple"===p.attr("multiple")),h=!!h,r.multi=h;var v=i.list;v?r.setList("function"==typeof v?v({search:r.search,limit:i.maxListCount}):v,!0):"select"===c?r.updateFromSelect():r.setList([],!0);var f;f=!r.selfFormItem&&r.$.hasClass("picker")?r.$:e('
').insertAfter(r.$),f.addClass("picker").toggleClass("picker-multi",h).toggleClass("picker-single",!h);var g=f.children(".picker-selections");g.length?g.empty():g=e('');var m=r.id+"-search",y=e('').appendTo(g);if(!h){var k=e('
');i.allowSingleDeselect&&k.append(''),k.appendTo(g),r.$singleSelection=k}f.toggleClass("picker-input-empty",!y.val().length).append(g),r.$container=f,r.$selections=g,r.$search=y,r.search="";var S=i.placeholder;if(void 0===S&&(S=p.attr("placeholder")),"string"==typeof S&&S.length&&g.append(e('').text(S)),i.placeholder=S,i.fixLabelFor){var L=p.attr("id");L&&e('label[for="'+L+'"]').attr("for",m)}var x=void 0!==i.defaultValue?i.defaultValue:p.val();if(r.setValue(x,!0),y.on("focus",function(){f.addClass("picker-focus"),r.showDropList()}).on("blur",function(){f.removeClass("picker-focus")}).on("input change",function(){var e=y.val();h&&y.width(14*e.length),f.toggleClass("picker-input-empty",!e.length),r.tryUpdateList(e)}),i.hotkey&&y.on("keydown",function(e){var t=e.key||e.which;if(r.dropListShowed){var o=r.activeValue,n="string"==typeof o;if("Enter"===t||13===t)n&&(r.select(o,h),h||y.blur(),e.preventDefault());else if("ArrowDown"===t||40===t){var s,l=r.$activeOption;if(l&&(s=l.next(".picker-option"),h))for(;s.length&&s.hasClass("picker-option-selected");)s=s.next(".picker-option");s&&s.length||(s=r.$optionsList.children(h?".picker-option:not(.picker-option-selected)":".picker-option").first()),s.length&&r.activeOption(s),e.preventDefault()}else if("ArrowUp"===t||30===t){var a,l=r.$activeOption;if(l&&(a=l.prev(".picker-option"),h))for(;a.length&&a.hasClass("picker-option-selected");)a=a.prev(".picker-option");a&&a.length||(a=r.$optionsList.children(h?".picker-option:not(.picker-option-selected)":".picker-option").last()),a.length&&r.activeOption(a),e.preventDefault()}else i.deleteByBackspace&&h&&("Backspace"===t||8===t)&&r.value&&r.value.length&&!y.val().length&&r.deselect(r.value[r.value.length-1])}}),h){g.on("mousedown",function(e){if(r.dropListShowed)return e.preventDefault(),void e.stopPropagation()}).on("mouseup",function(t){g.hasClass("sortable-sorting")||e(t.target).closest(".picker-selection-remove").length||r.dropListShowed||r.focus()});var w=i.sortValuesByDnd;if(w&&e.fn.sortable){f.addClass("picker-sortable");var C={selector:".picker-selection",stopPropagation:!0,start:function(){r.hideDropList()},finish:function(t){var i=[];e.each(t.list,function(e,t){i.push(t.item.data("value"))}),r.setValue(i.slice(),!1,!0)}};"object"==typeof w&&e.extend(C,w),g.sortable(C)}}g.on("click",".picker-selection-remove",function(t){if(r.multi){var i=e(this).closest(".picker-selection");r.deselect(i.data("value"))}else r.deselect();t.stopPropagation()}),p.on("chosen:updated",function(){r.updateFromSelect(),r.setValue(p.val()),r.updateList()}).on("chosen:activate",r.focus).on("chosen:open",r.showDropList).on("chosen:close",r.hideDropList),f.addClass("picker-ready"),setTimeout(function(){r.triggerEvent("ready",{picker:r},"","chosen:ready")},0)};l.prototype.destroy=function(){var t=this,i=t.options;t.hideDropList();var r=t.$search;r.off("focus blur input change"),i.hotkey&&r.off("keydown"),r.remove();var n=t.$selections;n.off("click"),t.multi&&n.off("mousedown mouseup"),n.remove();var s=t.$formItem;t.selectOptionsBackup&&(s.empty(),e.each(t.selectOptionsBackup,function(t,o){var r={value:o[i.valueKey]},n=o[i.keysKey];void 0!==n&&(r["data-"+i.keysKey]=n),s.append(e("").attr(r).text(o[i.textKey]))})),s.off("chosen:updated chosen:activate chosen:open chosen:close").val(t.value).show(),!t.selfFormItem&&t.$.hasClass("picker")||t.$container.remove(),this.destroyDropList(0),t.$.data(o,null)},l.prototype.focus=function(){this.$search.focus()},l.prototype.select=function(e,t){var i=this;if(!i.isSelectedValue(e)){if(i.triggerEvent("select",{value:e,picker:i})===!1)return;if(i.multi){var o=i.value;o=o?o.slice():[],o.push(e),i.setValue(o)}else i.setValue(e)}t||i.hideDropList()},l.prototype.deselect=function(e){var t=this;if(t.multi){if(!t.isSelectedValue(e))return;if(t.triggerEvent("deselect",{value:e,picker:t})===!1)return;var i=t.value;if(i&&i.length)for(var o=0;o-1&&(l.url=l.url.replace(/\{search\}/g,s),p=!0),l.url.indexOf("{limit}")>-1&&(l.url=l.url.replace(/\{limit\}/g,limit),p=!0),o.updateMessage(""),o.$container.addClass("picker-loading"),o.remoteXhr&&o.remoteXhr.abort(),o.remoteXhr=e.ajax(e.extend({dataType:"json",dataFilter:n.remoteConverter,data:p?null:a},l)).done(function(i,r,s){var l=!1;if(i){if(e.isPlainObject(i))if("success"!==i.result&&"ok"!==i.result||!Array.isArray(i.data))if("fail"===i.result)o.updateMessage(i.message||JSON.stringify(i),"danger");else{var a=[];e.each(i,function(t,i){var o={};o[n.valueKey]=t,"object"==typeof i?e.extend(o,i):o[n.textKey]=i,a.push(o)}),i=a}else i=i.data;Array.isArray(i)&&(l=i.length,o.setList(i,n.remoteOnly))}t&&t(l)}).fail(function(e,t){var r,s=n.onRemoteError;r="function"==typeof s?s(e,t):"string"==typeof s?s:(n.remoteErrorHint||o.lang.remoteErrorHint).format(t||""),o.updateMessage(r,"danger"),i&&i()}).always(function(){o.remoteXhr=null,o.$container.removeClass("picker-loading")})}},l.prototype.layoutDropList=function(i,o,r){var n=this;if(n.$dropMenu){var s=n.options,l=s.maxDropHeight||Number.MAX_VALUE,a=n.$dropMenu,p=n.$optionsList;i||a.css({opacity:0,width:"auto","max-width":"none"}),p.css({"max-height":l}),setTimeout(function(){var i=n.$selections[0].getBoundingClientRect(),c=o?s.dropDirection:n.dropDirection||s.dropDirection;"function"==typeof c&&(c=c(i,n));var u=s.maxAutoDropWidth,d=e(t),h=d.height(),v=n.hasMessage?n.$message.outerHeight():0,f=Math.max(v,a.height()),g=s.dropWidth||"auto",m={left:i.left,opacity:1};"auto"===c&&(c=i.top+i.height+f>h&&i.top>h-i.top-i.height?"top":"bottom"),n.dropDirection=c;var y=Math.min(l,"bottom"===c?h-i.top-i.height:i.top);if(f=Math.min(f,y),m.top="bottom"===c?i.top+i.height:i.top-f,"100%"===g)m.width=i.width;else if("auto"===g){if(m.width="auto",m.maxWidth="auto"===u?i.width:u,n.multi){var k=n.$search[0].getBoundingClientRect();m.left=k.left}}else m.width=g;f>v&&p.css("max-height",f-v),a.css(m),r&&r()},0)}},l.prototype.tryUpdateList=function(e){var t=this;t.search!==e&&(t.search=e,t.updateListTimer&&clearTimeout(t.updateListTimer),t.updateListTimer=setTimeout(function(){t.updateListTimer=null,t.updateList()},t.options.searchDelay))},l.prototype.renderOptionsList=function(t,o){var r=this,n=r.$optionsList;if(void 0===t?t=r.optionsList:r.optionsList=t,n){var s="",l=r.options,a=r.search,p="string"==typeof a&&a.length,c=0;if(t.length){for(var u,d,h,v=l.maxListCount,f=l.valueKey,g=l.textKey,m=l.showMultiSelectedOptions,y=v?Math.min(t.length,v):t.length,k=a.toLowerCase(),S=n.children(".picker-option").addClass("picker-expired"),L=r.activeValue,x=void 0!==L&&null!==L,w=0;w'),_.attr("title",D).removeClass(".picker-option-active").toggleClass("picker-option-selected",b);var O=_.find(".picker-option-text");if(p){var V=D.toLowerCase(),I=V.split(k);if(I.length>1){O.empty();var E=0,T=I[0].length;T&&(O.append(e("").text(D.substr(E,T))),E+=T);for(var K=1;K').text(D.substr(E,a.length))),E+=a.length,T=I[K].length,T&&(O.append(e("").text(D.substr(E,T))),E+=T)}else O.text(D)}else O.text(D);_.appendTo(n),r.multi?b||d||(d=C):!h&&x&&$===L?h=C:b?u=C:d||(d=C)}}}S.filter(".picker-expired").remove(),!o&&y-1&&(f+=0===m?20:10)}if(!f){var y=h[l];if(null!==y&&void 0!==y&&""!==y){y=y.toLowerCase();var m=y.indexOf(e);m>-1&&(f+=0===m?8:4)}}if(!f&&c&&null!==v&&void 0!==v&&""!==v){v=v.toLowerCase();var m=v.indexOf(e);m>-1&&(f+=0===m?3:1)}if(f&&(u[v]=f+(o.list.length-d)/o.list.length,n.push(h)),s&&n.length>=s)break}}n.length&&(n=n.sort(function(e,t){return u[t[p]]-u[e[p]]}))}o.renderOptionsList(n,!1,i)}t||o.getRemoteList(function(t){r?o.renderOptionsList(o.list,!1,i):o.updateList(e,!0)},r?function(){o.renderOptionsList([],!0,i)}:null)},l.prototype.destroyDropList=function(e){var t=this;t._clearTimer&&clearTimeout(t._clearTimer),t.$dropMenu&&(e?t._clearTimer=setTimeout(t.destroyDropList.bind(t,0),e):(t.$optionsList.off("click mouseenter"),t.$optionsList=null,t.$dropMenu.remove(),t.$dropMenu=null,t.$message=null))},l.prototype.showDropList=function(){var t=this;if(t.triggerEvent("showingDrop",{picker:t})!==!1){if(t._clearTimer&&clearTimeout(t._clearTimer),t.dropListShowed=!0,t.dropDirection=null,t.listRendered=!1,t.activeValue=null,r[t.id]=t,t.options.disableScrollOnShow&&e.zui.fixBodyScrollbar(),!t.$dropMenu){var i=e('').attr("data-id",t.id),n=e('').appendTo(i);i.data(o,t).toggleClass("picker-multi",t.multi).toggleClass("picker-single",!t.multi).appendTo("body"),t.options.chosenMode&&i.addClass("chosen-up"),n.on("click",".picker-option",function(){t.select(e(this).attr("data-value"))}).on("mouseenter",".picker-option",function(){t.activeOption(e(this),!0)});var s=e('').appendTo(i);t.$dropMenu=i,t.$message=s,t.$optionsList=n}t.updateList(t.search,!1,function(){t.triggerEvent("showedDrop",{picker:t},"","chosen:showing_dropdown")}),t.$dropMenu.addClass("picker-drop-show")}},l.prototype.hideDropList=function(){var t=this;if(t.triggerEvent("hidingDrop",{picker:t})!==!1){t.dropListShowed=!1,t.$activeOption=null,t.activeValue=null,t.$search.val(""),t.search="",delete r[t.id],t.$dropMenu&&t.$dropMenu.removeClass("picker-drop-show"),t.options.disableScrollOnShow&&e.zui.resetBodyScrollbar(),t.triggerEvent("hiddenDrop",{picker:t},"","chosen:hiding_dropdown");var i=t.options.autoClearDrop;i&&t.destroyDropList(i)}},l.prototype.updateFromSelect=function(t){var i=this,o=i.options,r=[];void 0===t&&(t=!0),i.$formItem.children("option").each(function(){var t=e(this),i=t.text(),n=t.val();if(i.length||n.length){var s={};s[o.valueKey]=n,s[o.textKey]=i,s[o.keysKey]=t.data(o.keysKey),r.push(s)}null!==o.allowSingleDeselect&&void 0!==o.allowSingleDeselect||n.length||(o.allowSingleDeselect=!0)}),i.selectOptionsBackup=r.slice(),i.setList(r,t)},l.prototype.setList=function(e,t){var i=this,o=i.options,r=t?[]:i.list||[],n=t?{}:i.listMap||{};"string"==typeof e&&(e=e.split(o.multiValueSplitter));for(var s=0;s')}):h&&d.find('option[value="'+t+'"]').length||d.append('").attr(r).text(o[i.textKey]))})),s.off("chosen:updated chosen:activate chosen:open chosen:close").val(t.value).show(),!t.selfFormItem&&t.$.hasClass("picker")||t.$container.remove(),this.destroyDropList(0),t.$.data(o,null)},l.prototype.focus=function(){this.$search.focus()},l.prototype.select=function(e,t){var i=this;if(!i.isSelectedValue(e)){if(i.triggerEvent("select",{value:e,picker:i})===!1)return;if(i.multi){var o=i.value;o=o?o.slice():[],o.push(e),i.setValue(o)}else i.setValue(e)}t||i.hideDropList()},l.prototype.deselect=function(e){var t=this;if(t.multi){if(!t.isSelectedValue(e))return;if(t.triggerEvent("deselect",{value:e,picker:t})===!1)return;var i=t.value;if(i&&i.length)for(var o=0;o-1&&(l.url=l.url.replace(/\{search\}/g,s),p=!0),l.url.indexOf("{limit}")>-1&&(l.url=l.url.replace(/\{limit\}/g,limit),p=!0),o.updateMessage(""),o.$container.addClass("picker-loading"),o.remoteXhr&&o.remoteXhr.abort(),o.remoteXhr=e.ajax(e.extend({dataType:"json",dataFilter:n.remoteConverter,data:p?null:a},l)).done(function(i,r,s){var l=!1;if(i){if(e.isPlainObject(i))if("success"!==i.result&&"ok"!==i.result||!Array.isArray(i.data))if("fail"===i.result)o.updateMessage(i.message||JSON.stringify(i),"danger");else{var a=[];e.each(i,function(t,i){var o={};o[n.valueKey]=t,"object"==typeof i?e.extend(o,i):o[n.textKey]=i,a.push(o)}),i=a}else i=i.data;Array.isArray(i)&&(l=i.length,o.setList(i,n.remoteOnly))}t&&t(l)}).fail(function(e,t){var r,s=n.onRemoteError;r="function"==typeof s?s(e,t):"string"==typeof s?s:(n.remoteErrorHint||o.lang.remoteErrorHint).format(t||""),o.updateMessage(r,"danger"),i&&i()}).always(function(){o.remoteXhr=null,o.$container.removeClass("picker-loading")})}},l.prototype.layoutDropList=function(i,o,r){var n=this;if(n.$dropMenu){var s=n.options,l=s.maxDropHeight||Number.MAX_VALUE,a=n.$dropMenu,p=n.$optionsList;i||a.css({opacity:0,width:"auto","max-width":"none"}),p.css({"max-height":l}),setTimeout(function(){var i=n.$selections[0].getBoundingClientRect(),c=o?s.dropDirection:n.dropDirection||s.dropDirection;"function"==typeof c&&(c=c(i,n));var u=s.maxAutoDropWidth,d=e(t),h=d.height(),v=n.hasMessage?n.$message.outerHeight():0,f=Math.max(v,a.height()),g=s.dropWidth||"auto",m={left:i.left,opacity:1};"auto"===c&&(c=i.top+i.height+f>h&&i.top>h-i.top-i.height?"top":"bottom"),n.dropDirection=c;var y=Math.min(l,"bottom"===c?h-i.top-i.height:i.top);if(f=Math.min(f,y),m.top="bottom"===c?i.top+i.height:i.top-f,"100%"===g)m.width=i.width;else if("auto"===g){if(m.width="auto",m.maxWidth="auto"===u?i.width:u,n.multi){var k=n.$search[0].getBoundingClientRect();m.left=k.left}}else m.width=g;f>v&&p.css("max-height",f-v),a.css(m),r&&r()},0)}},l.prototype.tryUpdateList=function(e){var t=this;t.search!==e&&(t.search=e,t.updateListTimer&&clearTimeout(t.updateListTimer),t.updateListTimer=setTimeout(function(){t.updateListTimer=null,t.updateList()},t.options.searchDelay))},l.prototype.renderOptionsList=function(t,o){var r=this,n=r.$optionsList;if(void 0===t?t=r.optionsList:r.optionsList=t,n){var s="",l=r.options,a=r.search,p="string"==typeof a&&a.length,c=0;if(t.length){for(var u,d,h,v=l.maxListCount,f=l.valueKey,g=l.textKey,m=l.showMultiSelectedOptions,y=v?Math.min(t.length,v):t.length,k=a.toLowerCase(),S=n.children(".picker-option").addClass("picker-expired"),L=r.activeValue,x=void 0!==L&&null!==L,w=0;w'),_.attr("title",D).removeClass(".picker-option-active").toggleClass("picker-option-selected",b);var O=_.find(".picker-option-text");if(p){var V=D.toLowerCase(),I=V.split(k);if(I.length>1){O.empty();var E=0,T=I[0].length;T&&(O.append(e("").text(D.substr(E,T))),E+=T);for(var K=1;K').text(D.substr(E,a.length))),E+=a.length,T=I[K].length,T&&(O.append(e("").text(D.substr(E,T))),E+=T)}else O.text(D)}else O.text(D);_.appendTo(n),r.multi?b||d||(d=C):!h&&x&&$===L?h=C:b?u=C:d||(d=C)}}}S.filter(".picker-expired").remove(),!o&&y-1&&(f+=0===m?20:10)}if(!f){var y=h[l];if(null!==y&&void 0!==y&&""!==y){y=y.toLowerCase();var m=y.indexOf(e);m>-1&&(f+=0===m?8:4)}}if(!f&&c&&null!==v&&void 0!==v&&""!==v){v=v.toLowerCase();var m=v.indexOf(e);m>-1&&(f+=0===m?3:1)}if(f&&(u[v]=f+(o.list.length-d)/o.list.length,n.push(h)),s&&n.length>=s)break}}n.length&&(n=n.sort(function(e,t){return u[t[p]]-u[e[p]]}))}o.renderOptionsList(n,!1,i)}t||o.getRemoteList(function(t){r?o.renderOptionsList(o.list,!1,i):o.updateList(e,!0)},r?function(){o.renderOptionsList([],!0,i)}:null)},l.prototype.destroyDropList=function(e){var t=this;t._clearTimer&&clearTimeout(t._clearTimer),t.$dropMenu&&(e?t._clearTimer=setTimeout(t.destroyDropList.bind(t,0),e):(t.$optionsList.off("click mouseenter"),t.$optionsList=null,t.$dropMenu.remove(),t.$dropMenu=null,t.$message=null))},l.prototype.showDropList=function(){var t=this;if(t.triggerEvent("showingDrop",{picker:t})!==!1){if(t._clearTimer&&clearTimeout(t._clearTimer),t.dropListShowed=!0,t.dropDirection=null,t.listRendered=!1,t.activeValue=null,r[t.id]=t,t.options.disableScrollOnShow&&e.zui.fixBodyScrollbar(),!t.$dropMenu){var i=e('').attr("data-id",t.id),n=e('').appendTo(i);i.data(o,t).toggleClass("picker-multi",t.multi).toggleClass("picker-single",!t.multi).appendTo("body"),t.options.chosenMode&&i.addClass("chosen-up"),n.on("click",".picker-option",function(){t.select(e(this).attr("data-value"))}).on("mouseenter",".picker-option",function(){t.activeOption(e(this),!0)});var s=e('').appendTo(i);t.$dropMenu=i,t.$message=s,t.$optionsList=n}t.updateList(t.search,!1,function(){t.triggerEvent("showedDrop",{picker:t},"","chosen:showing_dropdown")}),t.$dropMenu.addClass("picker-drop-show")}},l.prototype.hideDropList=function(){var t=this;if(t.triggerEvent("hidingDrop",{picker:t})!==!1){t.dropListShowed=!1,t.$activeOption=null,t.activeValue=null,t.$search.val(""),t.search="",delete r[t.id],t.$dropMenu&&t.$dropMenu.removeClass("picker-drop-show"),t.options.disableScrollOnShow&&e.zui.resetBodyScrollbar(),t.triggerEvent("hiddenDrop",{picker:t},"","chosen:hiding_dropdown");var i=t.options.autoClearDrop;i&&t.destroyDropList(i)}},l.prototype.updateFromSelect=function(t){var i=this,o=i.options,r=[];void 0===t&&(t=!0),i.$formItem.children("option").each(function(){var t=e(this),i=t.text(),n=t.val();if(i.length||n.length){var s={};s[o.valueKey]=n,s[o.textKey]=i,s[o.keysKey]=t.data(o.keysKey),r.push(s)}null!==o.allowSingleDeselect&&void 0!==o.allowSingleDeselect||n.length||(o.allowSingleDeselect=!0)}),i.selectOptionsBackup=r.slice(),i.setList(r,t)},l.prototype.setList=function(e,t){var i=this,o=i.options,r=t?[]:i.list||[],n=t?{}:i.listMap||{};"string"==typeof e&&(e=e.split(o.multiValueSplitter));for(var s=0;s')}):h&&d.find('option[value="'+t+'"]').length||d.append('