admin.js
2 months ago
admin.min.js
2 months ago
chart.js
2 years ago
chart.min.js
1 year ago
customize-controls.js
1 year ago
customize-controls.min.js
1 year ago
customize-preview.js
1 year ago
customize-preview.min.js
1 year ago
deactivation-feedback.js
2 years ago
deactivation-feedback.min.js
2 years ago
editor.js
8 years ago
editor.min.js
5 years ago
everest-forms-survey-polls-quiz-builder.js
2 years ago
everest-forms-survey-polls-quiz-builder.min.js
2 years ago
evf-admin-email.js
2 years ago
evf-admin-email.min.js
1 year ago
evf-clipboard.js
8 years ago
evf-clipboard.min.js
8 years ago
evf-enhanced-select.js
3 years ago
evf-enhanced-select.min.js
2 years ago
evf-file-uploader.js
2 years ago
evf-file-uploader.min.js
2 years ago
evf-setup.js
2 years ago
evf-setup.min.js
2 years ago
extensions.js
3 years ago
extensions.min.js
2 years ago
form-builder.js
2 days ago
form-builder.min.js
2 days ago
form-template-controller.js
3 years ago
form-template-controller.min.js
3 years ago
printThis.min.js
2 years ago
progressbar.js
2 years ago
progressbar.min.js
1 year ago
randomColor.js
2 years ago
randomColor.min.js
2 years ago
settings.js
1 week ago
settings.min.js
1 week ago
shortcode-form-embed.js
2 years ago
shortcode-form-embed.min.js
2 years ago
tool-import-entries.js
2 years ago
tool-import-entries.min.js
2 years ago
tools.js
2 months ago
tools.min.js
2 months ago
upgrade.js
2 months ago
upgrade.min.js
2 months ago
evf-enhanced-select.min.js
1 lines
| 1 | jQuery(function(h){function u(){return{language:{errorLoading:function(){return evf_enhanced_select_params.i18n_searching},inputTooLong:function(e){e=e.input.length-e.maximum;return 1==e?evf_enhanced_select_params.i18n_input_too_long_1:evf_enhanced_select_params.i18n_input_too_long_n.replace("%qty%",e)},inputTooShort:function(e){e=e.minimum-e.input.length;return 1==e?evf_enhanced_select_params.i18n_input_too_short_1:evf_enhanced_select_params.i18n_input_too_short_n.replace("%qty%",e)},loadingMore:function(){return evf_enhanced_select_params.i18n_load_more},maximumSelected:function(e){return 1===e.maximum?evf_enhanced_select_params.i18n_selection_too_long_1:evf_enhanced_select_params.i18n_selection_too_long_n.replace("%qty%",e.maximum)},noResults:function(){return evf_enhanced_select_params.i18n_no_matches},searching:function(){return evf_enhanced_select_params.i18n_searching}}}}try{h(document.body).on("evf-enhanced-select-init",function(){var s,d;h(":input.evf-enhanced-select").filter(":not(.enhanced)").each(function(){var e=h.extend({minimumResultsForSearch:10,allowClear:!!h(this).data("allow_clear"),placeholder:h(this).data("placeholder")},u());h(this).selectWoo(e).addClass("enhanced")}),h(":input.evf-enhanced-select-nostd").filter(":not(.enhanced)").each(function(){var e=h.extend({minimumResultsForSearch:10,allowClear:!0,placeholder:h(this).data("placeholder")},u());h(this).selectWoo(e).addClass("enhanced")}),h.fn.select2.amd.require(["select2/selection/single","select2/selection/placeholder","select2/dropdown","select2/dropdown/search","select2/dropdown/attachBody","select2/utils","select2/selection/eventRelay"],function(e,t,n,c,l,a,o){function i(){}function r(){}s=a.Decorate(e,t),s=a.Decorate(s,o),d=a.Decorate(n,c),d=a.Decorate(d,l),i.prototype.render=function(e){var t=this,e=e.call(this),n=h('<button class="btn btn-default evf-select2-unselect-all-btn" type="button">'+evf_enhanced_select_params.i18n_unselect_all+"</button>");return n.on("click",function(){t.$element.val([]),t.$element.trigger("change"),t.trigger("close")}),e.find(".select2-dropdown").prepend(n),e},d=a.Decorate(d,i),r.prototype.render=function(e){var n=this,e=e.call(this),t=h('<button class="btn btn-default evf-select2-select-all-btn" type="button">'+evf_enhanced_select_params.i18n_select_all+"</button>");return t.on("click",function(){var e=n.$element.find("option"),t=[];e.each(function(){t.push(h(this).val())}),n.$element.val(t),n.$element.trigger("change"),n.trigger("close")}),e.find(".select2-dropdown").prepend(t),e},d=a.Decorate(d,r);e=h("select.evf-select2-multiple");0!==e.length&&e.each(function(){var n=h(this);n.find("option").filter(function(){return 0==h(this).val().length}).remove();var e=h.extend({templateResult:function(e){return e.id?h("<div></div>").text(e.text).addClass("wrap"):e.text},closeOnSelect:!1,placeholder:h(this).data("placeholder")||"",selectionAdapter:s,dropdownAdapter:d,width:void 0!==h(this).attr("style")&&-1!==h(this).attr("style").indexOf("width")?h(this).css("width"):"100%",templateSelection:function(e){var t;return e.id?(t=(n.val()||[]).length,n.data("selected_msg")?n.data("selected_msg").replace("%qty%",t):""):e.text}},u());n.selectWoo(e)})})}).trigger("evf-enhanced-select-init"),h("html").on("click",function(e){this===e.target&&h(".evf-enhanced-select").filter(".select2-hidden-accessible").selectWoo("close")}),h(".evf-enhanced-normal-select").each(function(){h(this).select2()})}catch(e){window.console.log(e)}}); |